diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-23 18:08:35 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-23 18:08:35 +0000 |
commit | d59fd3e421aa81b8e5e118f3f806081df2aca879 (patch) | |
tree | 356a4e607edc979c625bb33db63c656d771478bd /configure | |
parent | 7505658c58e96b8d270f1928a0e1fa7f3e0c266b (diff) | |
parent | 45431c9b4677608680cd071768cbf156b316a7e8 (diff) |
Merge 3.7.1p2 to the trunk. I have absolutely no idea yet whether this will
work.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12980 |
1 files changed, 5405 insertions, 7575 deletions
@@ -1,81 +1,12 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.57. | 3 | # Generated by Autoconf 2.52. |
4 | # | 4 | # |
5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6 | # Free Software Foundation, Inc. | 6 | # Free Software Foundation, Inc. |
7 | # This configure script is free software; the Free Software Foundation | 7 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. | 8 | # gives unlimited permission to copy, distribute and modify it. |
9 | ## --------------------- ## | ||
10 | ## M4sh Initialization. ## | ||
11 | ## --------------------- ## | ||
12 | 9 | ||
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. | 10 | # Avoid depending upon Character Ranges. |
80 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 11 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
81 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 12 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
@@ -83,113 +14,22 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |||
83 | as_cr_digits='0123456789' | 14 | as_cr_digits='0123456789' |
84 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 15 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
85 | 16 | ||
86 | # The user is always right. | 17 | # Sed expression to map a string onto a valid variable name. |
87 | if test "${PATH_SEPARATOR+set}" != set; then | 18 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
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 | 19 | ||
178 | # Don't try to exec as it changes $[0], causing all sort of problems | 20 | # Sed expression to map a string onto a valid CPP name. |
179 | # (the dirname of $[0] is not the place where we might find the | 21 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
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 | 22 | ||
23 | # Be Bourne compatible | ||
24 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
25 | emulate sh | ||
26 | NULLCMD=: | ||
27 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | ||
28 | set -o posix | ||
29 | fi | ||
186 | 30 | ||
187 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 31 | # Name of the executable. |
188 | *c*,-n*) ECHO_N= ECHO_C=' | 32 | as_me=`echo "$0" |sed 's,.*[\\/],,'` |
189 | ' ECHO_T=' ' ;; | ||
190 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
191 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
192 | esac | ||
193 | 33 | ||
194 | if expr a : '\(a\)' >/dev/null 2>&1; then | 34 | if expr a : '\(a\)' >/dev/null 2>&1; then |
195 | as_expr=expr | 35 | as_expr=expr |
@@ -215,20 +55,24 @@ else | |||
215 | fi | 55 | fi |
216 | rm -f conf$$ conf$$.exe conf$$.file | 56 | rm -f conf$$ conf$$.exe conf$$.file |
217 | 57 | ||
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" | 58 | as_executable_p="test -f" |
225 | 59 | ||
226 | # Sed expression to map a string onto a valid CPP name. | 60 | # Support unset when possible. |
227 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 61 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
228 | 62 | as_unset=unset | |
229 | # Sed expression to map a string onto a valid variable name. | 63 | else |
230 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 64 | as_unset=false |
65 | fi | ||
231 | 66 | ||
67 | # NLS nuisances. | ||
68 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | ||
69 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | ||
70 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | ||
71 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | ||
72 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | ||
73 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | ||
74 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | ||
75 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | ||
232 | 76 | ||
233 | # IFS | 77 | # IFS |
234 | # We need space, tab and new line, in precisely that order. | 78 | # We need space, tab and new line, in precisely that order. |
@@ -237,8 +81,7 @@ as_nl=' | |||
237 | IFS=" $as_nl" | 81 | IFS=" $as_nl" |
238 | 82 | ||
239 | # CDPATH. | 83 | # CDPATH. |
240 | $as_unset CDPATH | 84 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
241 | |||
242 | 85 | ||
243 | # Name of the host. | 86 | # Name of the host. |
244 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 87 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
@@ -251,11 +94,9 @@ exec 6>&1 | |||
251 | # Initializations. | 94 | # Initializations. |
252 | # | 95 | # |
253 | ac_default_prefix=/usr/local | 96 | ac_default_prefix=/usr/local |
254 | ac_config_libobj_dir=. | ||
255 | cross_compiling=no | 97 | cross_compiling=no |
256 | subdirs= | 98 | subdirs= |
257 | MFLAGS= | 99 | MFLAGS= MAKEFLAGS= |
258 | MAKEFLAGS= | ||
259 | SHELL=${CONFIG_SHELL-/bin/sh} | 100 | SHELL=${CONFIG_SHELL-/bin/sh} |
260 | 101 | ||
261 | # Maximum number of lines to put in a shell here document. | 102 | # Maximum number of lines to put in a shell here document. |
@@ -263,13 +104,6 @@ SHELL=${CONFIG_SHELL-/bin/sh} | |||
263 | # only ac_max_sed_lines should be used. | 104 | # only ac_max_sed_lines should be used. |
264 | : ${ac_max_here_lines=38} | 105 | : ${ac_max_here_lines=38} |
265 | 106 | ||
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" | 107 | ac_unique_file="ssh.c" |
274 | # Factoring default headers for most tests. | 108 | # Factoring default headers for most tests. |
275 | ac_includes_default="\ | 109 | ac_includes_default="\ |
@@ -308,9 +142,6 @@ ac_includes_default="\ | |||
308 | # include <unistd.h> | 142 | # include <unistd.h> |
309 | #endif" | 143 | #endif" |
310 | 144 | ||
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 LIBOBJS LTLIBOBJS' | ||
312 | ac_subst_files='' | ||
313 | |||
314 | # Initialize some variables set by options. | 145 | # Initialize some variables set by options. |
315 | ac_init_help= | 146 | ac_init_help= |
316 | ac_init_version=false | 147 | ac_init_version=false |
@@ -349,6 +180,13 @@ oldincludedir='/usr/include' | |||
349 | infodir='${prefix}/info' | 180 | infodir='${prefix}/info' |
350 | mandir='${prefix}/man' | 181 | mandir='${prefix}/man' |
351 | 182 | ||
183 | # Identity of this package. | ||
184 | PACKAGE_NAME= | ||
185 | PACKAGE_TARNAME= | ||
186 | PACKAGE_VERSION= | ||
187 | PACKAGE_STRING= | ||
188 | PACKAGE_BUGREPORT= | ||
189 | |||
352 | ac_prev= | 190 | ac_prev= |
353 | for ac_option | 191 | for ac_option |
354 | do | 192 | do |
@@ -481,7 +319,7 @@ do | |||
481 | with_fp=no ;; | 319 | with_fp=no ;; |
482 | 320 | ||
483 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 321 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
484 | | --no-cr | --no-c | -n) | 322 | | --no-cr | --no-c) |
485 | no_create=yes ;; | 323 | no_create=yes ;; |
486 | 324 | ||
487 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 325 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
@@ -660,7 +498,7 @@ do | |||
660 | eval ac_val=$`echo $ac_var` | 498 | eval ac_val=$`echo $ac_var` |
661 | case $ac_val in | 499 | case $ac_val in |
662 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 500 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
663 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 501 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
664 | { (exit 1); exit 1; }; };; | 502 | { (exit 1); exit 1; }; };; |
665 | esac | 503 | esac |
666 | done | 504 | done |
@@ -672,19 +510,18 @@ do | |||
672 | eval ac_val=$`echo $ac_var` | 510 | eval ac_val=$`echo $ac_var` |
673 | case $ac_val in | 511 | case $ac_val in |
674 | [\\/$]* | ?:[\\/]* ) ;; | 512 | [\\/$]* | ?:[\\/]* ) ;; |
675 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 513 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 |
676 | { (exit 1); exit 1; }; };; | 514 | { (exit 1); exit 1; }; };; |
677 | esac | 515 | esac |
678 | done | 516 | done |
679 | 517 | ||
680 | # There might be people who depend on the old broken behavior: `$host' | 518 | # There might be people who depend on the old broken behavior: `$host' |
681 | # used to hold the argument of --host etc. | 519 | # used to hold the argument of --host etc. |
682 | # FIXME: To remove some day. | ||
683 | build=$build_alias | 520 | build=$build_alias |
684 | host=$host_alias | 521 | host=$host_alias |
685 | target=$target_alias | 522 | target=$target_alias |
686 | 523 | ||
687 | # FIXME: To remove some day. | 524 | # FIXME: should be removed in autoconf 3.0. |
688 | if test "x$host_alias" != x; then | 525 | if test "x$host_alias" != x; then |
689 | if test "x$build_alias" = x; then | 526 | if test "x$build_alias" = x; then |
690 | cross_compiling=maybe | 527 | cross_compiling=maybe |
@@ -700,23 +537,13 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias- | |||
700 | 537 | ||
701 | test "$silent" = yes && exec 6>/dev/null | 538 | test "$silent" = yes && exec 6>/dev/null |
702 | 539 | ||
703 | |||
704 | # Find the source files, if location was not specified. | 540 | # Find the source files, if location was not specified. |
705 | if test -z "$srcdir"; then | 541 | if test -z "$srcdir"; then |
706 | ac_srcdir_defaulted=yes | 542 | ac_srcdir_defaulted=yes |
707 | # Try the directory containing this script, then its parent. | 543 | # Try the directory containing this script, then its parent. |
708 | ac_confdir=`(dirname "$0") 2>/dev/null || | 544 | ac_prog=$0 |
709 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 545 | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` |
710 | X"$0" : 'X\(//\)[^/]' \| \ | 546 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
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 | 547 | srcdir=$ac_confdir |
721 | if test ! -r $srcdir/$ac_unique_file; then | 548 | if test ! -r $srcdir/$ac_unique_file; then |
722 | srcdir=.. | 549 | srcdir=.. |
@@ -726,16 +553,13 @@ else | |||
726 | fi | 553 | fi |
727 | if test ! -r $srcdir/$ac_unique_file; then | 554 | if test ! -r $srcdir/$ac_unique_file; then |
728 | if test "$ac_srcdir_defaulted" = yes; then | 555 | if test "$ac_srcdir_defaulted" = yes; then |
729 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 556 | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
730 | { (exit 1); exit 1; }; } | 557 | { (exit 1); exit 1; }; } |
731 | else | 558 | else |
732 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 559 | { echo "$as_me: error: cannot find sources in $srcdir" >&2 |
733 | { (exit 1); exit 1; }; } | 560 | { (exit 1); exit 1; }; } |
734 | fi | 561 | fi |
735 | fi | 562 | 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%'` | 563 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
740 | ac_env_build_alias_set=${build_alias+set} | 564 | ac_env_build_alias_set=${build_alias+set} |
741 | ac_env_build_alias_value=$build_alias | 565 | ac_env_build_alias_value=$build_alias |
@@ -776,7 +600,7 @@ ac_cv_env_CPP_value=$CPP | |||
776 | if test "$ac_init_help" = "long"; then | 600 | if test "$ac_init_help" = "long"; then |
777 | # Omit some internal or obsolete options to make the list less imposing. | 601 | # 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. | 602 | # This message is too long to be a string in the A/UX 3.1 sh. |
779 | cat <<_ACEOF | 603 | cat <<EOF |
780 | \`configure' configures this package to adapt to many kinds of systems. | 604 | \`configure' configures this package to adapt to many kinds of systems. |
781 | 605 | ||
782 | Usage: $0 [OPTION]... [VAR=VALUE]... | 606 | Usage: $0 [OPTION]... [VAR=VALUE]... |
@@ -797,9 +621,9 @@ Configuration: | |||
797 | -n, --no-create do not create output files | 621 | -n, --no-create do not create output files |
798 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 622 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
799 | 623 | ||
800 | _ACEOF | 624 | EOF |
801 | 625 | ||
802 | cat <<_ACEOF | 626 | cat <<EOF |
803 | Installation directories: | 627 | Installation directories: |
804 | --prefix=PREFIX install architecture-independent files in PREFIX | 628 | --prefix=PREFIX install architecture-independent files in PREFIX |
805 | [$ac_default_prefix] | 629 | [$ac_default_prefix] |
@@ -826,19 +650,19 @@ Fine tuning of the installation directories: | |||
826 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 650 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
827 | --infodir=DIR info documentation [PREFIX/info] | 651 | --infodir=DIR info documentation [PREFIX/info] |
828 | --mandir=DIR man documentation [PREFIX/man] | 652 | --mandir=DIR man documentation [PREFIX/man] |
829 | _ACEOF | 653 | EOF |
830 | 654 | ||
831 | cat <<\_ACEOF | 655 | cat <<\EOF |
832 | 656 | ||
833 | System types: | 657 | System types: |
834 | --build=BUILD configure for building on BUILD [guessed] | 658 | --build=BUILD configure for building on BUILD [guessed] |
835 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | 659 | --host=HOST build programs to run on HOST [BUILD] |
836 | _ACEOF | 660 | EOF |
837 | fi | 661 | fi |
838 | 662 | ||
839 | if test -n "$ac_init_help"; then | 663 | if test -n "$ac_init_help"; then |
840 | 664 | ||
841 | cat <<\_ACEOF | 665 | cat <<\EOF |
842 | 666 | ||
843 | Optional Features: | 667 | Optional Features: |
844 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 668 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
@@ -877,9 +701,8 @@ Optional Packages: | |||
877 | --with-privsep-user=user Specify non-privileged user for privilege separation | 701 | --with-privsep-user=user Specify non-privileged user for privilege separation |
878 | --with-sectok Enable smartcard support using libsectok | 702 | --with-sectok Enable smartcard support using libsectok |
879 | --with-opensc=PFX Enable smartcard support using OpenSC | 703 | --with-opensc=PFX Enable smartcard support using OpenSC |
704 | --with-dns Support for fetching keys from DNS (experimental) | ||
880 | --with-kerberos5=PATH Enable Kerberos 5 support | 705 | --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) | 706 | --with-privsep-path=xxx Path for privilege separation chroot (default=/var/empty) |
884 | --with-xauth=PATH Specify path to xauth program | 707 | --with-xauth=PATH Specify path to xauth program |
885 | --with-mantype=man|cat|doc Set man page type | 708 | --with-mantype=man|cat|doc Set man page type |
@@ -888,7 +711,6 @@ Optional Packages: | |||
888 | --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY | 711 | --with-ipaddr-display Use ip address instead of hostname in \$DISPLAY |
889 | --with-default-path= Specify default \$PATH environment for server | 712 | --with-default-path= Specify default \$PATH environment for server |
890 | --with-superuser-path= Specify different path for super-user | 713 | --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 | 714 | --with-4in6 Check for and convert IPv4 in IPv6 mapped addresses |
893 | --with-bsd-auth Enable BSD auth support | 715 | --with-bsd-auth Enable BSD auth support |
894 | --with-pid-dir=PATH Specify location of ssh.pid file | 716 | --with-pid-dir=PATH Specify location of ssh.pid file |
@@ -906,60 +728,40 @@ Some influential environment variables: | |||
906 | Use these variables to override the choices made by `configure' or to help | 728 | Use these variables to override the choices made by `configure' or to help |
907 | it to find libraries and programs with nonstandard names/locations. | 729 | it to find libraries and programs with nonstandard names/locations. |
908 | 730 | ||
909 | _ACEOF | 731 | EOF |
910 | fi | 732 | fi |
911 | 733 | ||
912 | if test "$ac_init_help" = "recursive"; then | 734 | if test "$ac_init_help" = "recursive"; then |
913 | # If there are subdirs, report their specific --help. | 735 | # If there are subdirs, report their specific --help. |
914 | ac_popdir=`pwd` | 736 | ac_popdir=`pwd` |
915 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 737 | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
916 | test -d $ac_dir || continue | 738 | cd $ac_subdir |
917 | ac_builddir=. | 739 | # A "../" for each directory in /$ac_subdir. |
918 | 740 | ac_dots=`echo $ac_subdir | | |
919 | if test "$ac_dir" != .; then | 741 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` |
920 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 742 | |
921 | # A "../" for each directory in $ac_dir_suffix. | 743 | case $srcdir in |
922 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 744 | .) # No --srcdir option. We are building in place. |
923 | else | 745 | ac_sub_srcdir=$srcdir ;; |
924 | ac_dir_suffix= ac_top_builddir= | 746 | [\\/]* | ?:[\\/]* ) # Absolute path. |
925 | fi | 747 | ac_sub_srcdir=$srcdir/$ac_subdir ;; |
748 | *) # Relative path. | ||
749 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; | ||
750 | esac | ||
926 | 751 | ||
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. | 752 | # Check for guested configure; otherwise get Cygnus style configure. |
951 | if test -f $ac_srcdir/configure.gnu; then | 753 | if test -f $ac_sub_srcdir/configure.gnu; then |
952 | echo | 754 | echo |
953 | $SHELL $ac_srcdir/configure.gnu --help=recursive | 755 | $SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
954 | elif test -f $ac_srcdir/configure; then | 756 | elif test -f $ac_sub_srcdir/configure; then |
955 | echo | 757 | echo |
956 | $SHELL $ac_srcdir/configure --help=recursive | 758 | $SHELL $ac_sub_srcdir/configure --help=recursive |
957 | elif test -f $ac_srcdir/configure.ac || | 759 | elif test -f $ac_sub_srcdir/configure.ac || |
958 | test -f $ac_srcdir/configure.in; then | 760 | test -f $ac_sub_srcdir/configure.in; then |
959 | echo | 761 | echo |
960 | $ac_configure --help | 762 | $ac_configure --help |
961 | else | 763 | else |
962 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 764 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
963 | fi | 765 | fi |
964 | cd $ac_popdir | 766 | cd $ac_popdir |
965 | done | 767 | done |
@@ -967,31 +769,31 @@ fi | |||
967 | 769 | ||
968 | test -n "$ac_init_help" && exit 0 | 770 | test -n "$ac_init_help" && exit 0 |
969 | if $ac_init_version; then | 771 | if $ac_init_version; then |
970 | cat <<\_ACEOF | 772 | cat <<\EOF |
971 | 773 | ||
972 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 774 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
973 | Free Software Foundation, Inc. | 775 | Free Software Foundation, Inc. |
974 | This configure script is free software; the Free Software Foundation | 776 | This configure script is free software; the Free Software Foundation |
975 | gives unlimited permission to copy, distribute and modify it. | 777 | gives unlimited permission to copy, distribute and modify it. |
976 | _ACEOF | 778 | EOF |
977 | exit 0 | 779 | exit 0 |
978 | fi | 780 | fi |
979 | exec 5>config.log | 781 | exec 5>config.log |
980 | cat >&5 <<_ACEOF | 782 | cat >&5 <<EOF |
981 | This file contains any messages produced by compilers while | 783 | This file contains any messages produced by compilers while |
982 | running configure, to aid debugging if configure makes a mistake. | 784 | running configure, to aid debugging if configure makes a mistake. |
983 | 785 | ||
984 | It was created by $as_me, which was | 786 | It was created by $as_me, which was |
985 | generated by GNU Autoconf 2.57. Invocation command line was | 787 | generated by GNU Autoconf 2.52. Invocation command line was |
986 | 788 | ||
987 | $ $0 $@ | 789 | $ $0 $@ |
988 | 790 | ||
989 | _ACEOF | 791 | EOF |
990 | { | 792 | { |
991 | cat <<_ASUNAME | 793 | cat <<_ASUNAME |
992 | ## --------- ## | 794 | ## ---------- ## |
993 | ## Platform. ## | 795 | ## Platform. ## |
994 | ## --------- ## | 796 | ## ---------- ## |
995 | 797 | ||
996 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 798 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
997 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 799 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
@@ -1010,96 +812,51 @@ hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |||
1010 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 812 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1011 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 813 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1012 | 814 | ||
1013 | _ASUNAME | 815 | PATH = $PATH |
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 | 816 | ||
817 | _ASUNAME | ||
1023 | } >&5 | 818 | } >&5 |
1024 | 819 | ||
1025 | cat >&5 <<_ACEOF | 820 | cat >&5 <<EOF |
1026 | 821 | ## ------------ ## | |
1027 | 822 | ## Core tests. ## | |
1028 | ## ----------- ## | 823 | ## ------------ ## |
1029 | ## Core tests. ## | ||
1030 | ## ----------- ## | ||
1031 | |||
1032 | _ACEOF | ||
1033 | 824 | ||
825 | EOF | ||
1034 | 826 | ||
1035 | # Keep a trace of the command line. | 827 | # Keep a trace of the command line. |
1036 | # Strip out --no-create and --no-recursion so they do not pile up. | 828 | # 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. | 829 | # Also quote any args containing shell meta-characters. |
1039 | # Make two passes to allow for proper duplicate-argument suppression. | ||
1040 | ac_configure_args= | 830 | ac_configure_args= |
1041 | ac_configure_args0= | ||
1042 | ac_configure_args1= | ||
1043 | ac_sep= | 831 | ac_sep= |
1044 | ac_must_keep_next=false | 832 | for ac_arg |
1045 | for ac_pass in 1 2 | ||
1046 | do | 833 | do |
1047 | for ac_arg | 834 | case $ac_arg in |
1048 | do | 835 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1049 | case $ac_arg in | 836 | | --no-cr | --no-c) ;; |
1050 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 837 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1051 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 838 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
1052 | | -silent | --silent | --silen | --sile | --sil) | 839 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1053 | continue ;; | 840 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` |
1054 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 841 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1055 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 842 | ac_sep=" " ;; |
1056 | esac | 843 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" |
1057 | case $ac_pass in | 844 | ac_sep=" " ;; |
1058 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 845 | esac |
1059 | 2) | 846 | # Get rid of the leading space. |
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 | 847 | 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 | 848 | ||
1086 | # When interrupted or exit'd, cleanup temporary files, and complete | 849 | # When interrupted or exit'd, cleanup temporary files, and complete |
1087 | # config.log. We remove comments because anyway the quotes in there | 850 | # config.log. We remove comments because anyway the quotes in there |
1088 | # would cause problems or look ugly. | 851 | # 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=$? | 852 | trap 'exit_status=$? |
1092 | # Save into config.log some information that might help in debugging. | 853 | # Save into config.log some information that might help in debugging. |
1093 | { | 854 | echo >&5 |
1094 | echo | 855 | echo "## ----------------- ##" >&5 |
1095 | 856 | echo "## Cache variables. ##" >&5 | |
1096 | cat <<\_ASBOX | 857 | echo "## ----------------- ##" >&5 |
1097 | ## ---------------- ## | 858 | echo >&5 |
1098 | ## Cache variables. ## | 859 | # The following way of writing the cache mishandles newlines in values, |
1099 | ## ---------------- ## | ||
1100 | _ASBOX | ||
1101 | echo | ||
1102 | # The following way of writing the cache mishandles newlines in values, | ||
1103 | { | 860 | { |
1104 | (set) 2>&1 | | 861 | (set) 2>&1 | |
1105 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 862 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
@@ -1113,53 +870,21 @@ _ASBOX | |||
1113 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 870 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1114 | ;; | 871 | ;; |
1115 | esac; | 872 | esac; |
1116 | } | 873 | } >&5 |
1117 | echo | 874 | sed "/^$/d" confdefs.h >conftest.log |
1118 | 875 | if test -s conftest.log; then | |
1119 | cat <<\_ASBOX | 876 | echo >&5 |
1120 | ## ----------------- ## | 877 | echo "## ------------ ##" >&5 |
1121 | ## Output variables. ## | 878 | echo "## confdefs.h. ##" >&5 |
1122 | ## ----------------- ## | 879 | echo "## ------------ ##" >&5 |
1123 | _ASBOX | 880 | echo >&5 |
1124 | echo | 881 | cat conftest.log >&5 |
1125 | for ac_var in $ac_subst_vars | 882 | fi |
1126 | do | 883 | (echo; echo) >&5 |
1127 | eval ac_val=$`echo $ac_var` | 884 | test "$ac_signal" != 0 && |
1128 | echo "$ac_var='"'"'$ac_val'"'"'" | 885 | echo "$as_me: caught signal $ac_signal" >&5 |
1129 | done | sort | 886 | echo "$as_me: exit $exit_status" >&5 |
1130 | echo | 887 | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
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 | 888 | exit $exit_status |
1164 | ' 0 | 889 | ' 0 |
1165 | for ac_signal in 1 2 13 15; do | 890 | for ac_signal in 1 2 13 15; do |
@@ -1172,33 +897,6 @@ rm -rf conftest* confdefs.h | |||
1172 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 897 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1173 | echo >confdefs.h | 898 | echo >confdefs.h |
1174 | 899 | ||
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. | 900 | # Let the site file select an alternate cache file if it wants to. |
1203 | # Prefer explicitly selected file to automatically selected ones. | 901 | # Prefer explicitly selected file to automatically selected ones. |
1204 | if test -z "$CONFIG_SITE"; then | 902 | if test -z "$CONFIG_SITE"; then |
@@ -1210,9 +908,9 @@ if test -z "$CONFIG_SITE"; then | |||
1210 | fi | 908 | fi |
1211 | for ac_site_file in $CONFIG_SITE; do | 909 | for ac_site_file in $CONFIG_SITE; do |
1212 | if test -r "$ac_site_file"; then | 910 | if test -r "$ac_site_file"; then |
1213 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 911 | { echo "$as_me:911: loading site script $ac_site_file" >&5 |
1214 | echo "$as_me: loading site script $ac_site_file" >&6;} | 912 | echo "$as_me: loading site script $ac_site_file" >&6;} |
1215 | sed 's/^/| /' "$ac_site_file" >&5 | 913 | cat "$ac_site_file" >&5 |
1216 | . "$ac_site_file" | 914 | . "$ac_site_file" |
1217 | fi | 915 | fi |
1218 | done | 916 | done |
@@ -1221,7 +919,7 @@ if test -r "$cache_file"; then | |||
1221 | # Some versions of bash will fail to source /dev/null (special | 919 | # Some versions of bash will fail to source /dev/null (special |
1222 | # files actually), so we avoid doing that. | 920 | # files actually), so we avoid doing that. |
1223 | if test -f "$cache_file"; then | 921 | if test -f "$cache_file"; then |
1224 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 922 | { echo "$as_me:922: loading cache $cache_file" >&5 |
1225 | echo "$as_me: loading cache $cache_file" >&6;} | 923 | echo "$as_me: loading cache $cache_file" >&6;} |
1226 | case $cache_file in | 924 | case $cache_file in |
1227 | [\\/]* | ?:[\\/]* ) . $cache_file;; | 925 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
@@ -1229,7 +927,7 @@ echo "$as_me: loading cache $cache_file" >&6;} | |||
1229 | esac | 927 | esac |
1230 | fi | 928 | fi |
1231 | else | 929 | else |
1232 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 930 | { echo "$as_me:930: creating cache $cache_file" >&5 |
1233 | echo "$as_me: creating cache $cache_file" >&6;} | 931 | echo "$as_me: creating cache $cache_file" >&6;} |
1234 | >$cache_file | 932 | >$cache_file |
1235 | fi | 933 | fi |
@@ -1245,42 +943,42 @@ for ac_var in `(set) 2>&1 | | |||
1245 | eval ac_new_val="\$ac_env_${ac_var}_value" | 943 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1246 | case $ac_old_set,$ac_new_set in | 944 | case $ac_old_set,$ac_new_set in |
1247 | set,) | 945 | set,) |
1248 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 946 | { echo "$as_me:946: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1249 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 947 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1250 | ac_cache_corrupted=: ;; | 948 | ac_cache_corrupted=: ;; |
1251 | ,set) | 949 | ,set) |
1252 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 950 | { echo "$as_me:950: error: \`$ac_var' was not set in the previous run" >&5 |
1253 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 951 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1254 | ac_cache_corrupted=: ;; | 952 | ac_cache_corrupted=: ;; |
1255 | ,);; | 953 | ,);; |
1256 | *) | 954 | *) |
1257 | if test "x$ac_old_val" != "x$ac_new_val"; then | 955 | 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 | 956 | { echo "$as_me:956: error: \`$ac_var' has changed since the previous run:" >&5 |
1259 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 957 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1260 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 958 | { echo "$as_me:958: former value: $ac_old_val" >&5 |
1261 | echo "$as_me: former value: $ac_old_val" >&2;} | 959 | echo "$as_me: former value: $ac_old_val" >&2;} |
1262 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 960 | { echo "$as_me:960: current value: $ac_new_val" >&5 |
1263 | echo "$as_me: current value: $ac_new_val" >&2;} | 961 | echo "$as_me: current value: $ac_new_val" >&2;} |
1264 | ac_cache_corrupted=: | 962 | ac_cache_corrupted=: |
1265 | fi;; | 963 | fi;; |
1266 | esac | 964 | esac |
1267 | # Pass precious variables to config.status. | 965 | # Pass precious variables to config.status. It doesn't matter if |
966 | # we pass some twice (in addition to the command line arguments). | ||
1268 | if test "$ac_new_set" = set; then | 967 | if test "$ac_new_set" = set; then |
1269 | case $ac_new_val in | 968 | case $ac_new_val in |
1270 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 969 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1271 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 970 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` |
1272 | *) ac_arg=$ac_var=$ac_new_val ;; | 971 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1273 | esac | 972 | ;; |
1274 | case " $ac_configure_args " in | 973 | *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" |
1275 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 974 | ;; |
1276 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | ||
1277 | esac | 975 | esac |
1278 | fi | 976 | fi |
1279 | done | 977 | done |
1280 | if $ac_cache_corrupted; then | 978 | if $ac_cache_corrupted; then |
1281 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 979 | { echo "$as_me:979: error: changes in the environment can compromise the build" >&5 |
1282 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 980 | 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 | 981 | { { echo "$as_me:981: 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;} | 982 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1285 | { (exit 1); exit 1; }; } | 983 | { (exit 1); exit 1; }; } |
1286 | fi | 984 | fi |
@@ -1291,27 +989,28 @@ 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' | 989 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1292 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 990 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1293 | 991 | ||
992 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | ||
993 | *c*,-n*) ECHO_N= ECHO_C=' | ||
994 | ' ECHO_T=' ' ;; | ||
995 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | ||
996 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | ||
997 | esac | ||
998 | echo "#! $SHELL" >conftest.sh | ||
999 | echo "exit 0" >>conftest.sh | ||
1000 | chmod +x conftest.sh | ||
1001 | if { (echo "$as_me:1001: PATH=\".;.\"; conftest.sh") >&5 | ||
1002 | (PATH=".;."; conftest.sh) 2>&5 | ||
1003 | ac_status=$? | ||
1004 | echo "$as_me:1004: \$? = $ac_status" >&5 | ||
1005 | (exit $ac_status); }; then | ||
1006 | ac_path_separator=';' | ||
1007 | else | ||
1008 | ac_path_separator=: | ||
1009 | fi | ||
1010 | PATH_SEPARATOR="$ac_path_separator" | ||
1011 | rm -f conftest.sh | ||
1294 | 1012 | ||
1295 | 1013 | ac_config_headers="$ac_config_headers config.h" | |
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 | 1014 | ||
1316 | ac_ext=c | 1015 | ac_ext=c |
1317 | ac_cpp='$CPP $CPPFLAGS' | 1016 | ac_cpp='$CPP $CPPFLAGS' |
@@ -1321,7 +1020,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1321 | if test -n "$ac_tool_prefix"; then | 1020 | 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. | 1021 | # 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 | 1022 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1324 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1023 | echo "$as_me:1023: checking for $ac_word" >&5 |
1325 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1024 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1326 | if test "${ac_cv_prog_CC+set}" = set; then | 1025 | if test "${ac_cv_prog_CC+set}" = set; then |
1327 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1026 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1329,28 +1028,25 @@ else | |||
1329 | if test -n "$CC"; then | 1028 | if test -n "$CC"; then |
1330 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1029 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1331 | else | 1030 | else |
1332 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1031 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1333 | for as_dir in $PATH | 1032 | ac_dummy="$PATH" |
1334 | do | 1033 | for ac_dir in $ac_dummy; do |
1335 | IFS=$as_save_IFS | 1034 | IFS=$ac_save_IFS |
1336 | test -z "$as_dir" && as_dir=. | 1035 | test -z "$ac_dir" && ac_dir=. |
1337 | for ac_exec_ext in '' $ac_executable_extensions; do | 1036 | $as_executable_p "$ac_dir/$ac_word" || continue |
1338 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1037 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1339 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 1038 | echo "$as_me:1038: found $ac_dir/$ac_word" >&5 |
1340 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1039 | break |
1341 | break 2 | ||
1342 | fi | ||
1343 | done | ||
1344 | done | 1040 | done |
1345 | 1041 | ||
1346 | fi | 1042 | fi |
1347 | fi | 1043 | fi |
1348 | CC=$ac_cv_prog_CC | 1044 | CC=$ac_cv_prog_CC |
1349 | if test -n "$CC"; then | 1045 | if test -n "$CC"; then |
1350 | echo "$as_me:$LINENO: result: $CC" >&5 | 1046 | echo "$as_me:1046: result: $CC" >&5 |
1351 | echo "${ECHO_T}$CC" >&6 | 1047 | echo "${ECHO_T}$CC" >&6 |
1352 | else | 1048 | else |
1353 | echo "$as_me:$LINENO: result: no" >&5 | 1049 | echo "$as_me:1049: result: no" >&5 |
1354 | echo "${ECHO_T}no" >&6 | 1050 | echo "${ECHO_T}no" >&6 |
1355 | fi | 1051 | fi |
1356 | 1052 | ||
@@ -1359,7 +1055,7 @@ if test -z "$ac_cv_prog_CC"; then | |||
1359 | ac_ct_CC=$CC | 1055 | ac_ct_CC=$CC |
1360 | # Extract the first word of "gcc", so it can be a program name with args. | 1056 | # Extract the first word of "gcc", so it can be a program name with args. |
1361 | set dummy gcc; ac_word=$2 | 1057 | set dummy gcc; ac_word=$2 |
1362 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1058 | echo "$as_me:1058: checking for $ac_word" >&5 |
1363 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1059 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1364 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1060 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1061 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1367,28 +1063,25 @@ else | |||
1367 | if test -n "$ac_ct_CC"; then | 1063 | if test -n "$ac_ct_CC"; then |
1368 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1064 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1369 | else | 1065 | else |
1370 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1066 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1371 | for as_dir in $PATH | 1067 | ac_dummy="$PATH" |
1372 | do | 1068 | for ac_dir in $ac_dummy; do |
1373 | IFS=$as_save_IFS | 1069 | IFS=$ac_save_IFS |
1374 | test -z "$as_dir" && as_dir=. | 1070 | test -z "$ac_dir" && ac_dir=. |
1375 | for ac_exec_ext in '' $ac_executable_extensions; do | 1071 | $as_executable_p "$ac_dir/$ac_word" || continue |
1376 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1072 | ac_cv_prog_ac_ct_CC="gcc" |
1377 | ac_cv_prog_ac_ct_CC="gcc" | 1073 | echo "$as_me:1073: found $ac_dir/$ac_word" >&5 |
1378 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1074 | break |
1379 | break 2 | ||
1380 | fi | ||
1381 | done | ||
1382 | done | 1075 | done |
1383 | 1076 | ||
1384 | fi | 1077 | fi |
1385 | fi | 1078 | fi |
1386 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1079 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1387 | if test -n "$ac_ct_CC"; then | 1080 | if test -n "$ac_ct_CC"; then |
1388 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 1081 | echo "$as_me:1081: result: $ac_ct_CC" >&5 |
1389 | echo "${ECHO_T}$ac_ct_CC" >&6 | 1082 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1390 | else | 1083 | else |
1391 | echo "$as_me:$LINENO: result: no" >&5 | 1084 | echo "$as_me:1084: result: no" >&5 |
1392 | echo "${ECHO_T}no" >&6 | 1085 | echo "${ECHO_T}no" >&6 |
1393 | fi | 1086 | fi |
1394 | 1087 | ||
@@ -1401,7 +1094,7 @@ if test -z "$CC"; then | |||
1401 | if test -n "$ac_tool_prefix"; then | 1094 | 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. | 1095 | # 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 | 1096 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1404 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1097 | echo "$as_me:1097: checking for $ac_word" >&5 |
1405 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1098 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1406 | if test "${ac_cv_prog_CC+set}" = set; then | 1099 | if test "${ac_cv_prog_CC+set}" = set; then |
1407 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1100 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1409,28 +1102,25 @@ else | |||
1409 | if test -n "$CC"; then | 1102 | if test -n "$CC"; then |
1410 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1103 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1411 | else | 1104 | else |
1412 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1105 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1413 | for as_dir in $PATH | 1106 | ac_dummy="$PATH" |
1414 | do | 1107 | for ac_dir in $ac_dummy; do |
1415 | IFS=$as_save_IFS | 1108 | IFS=$ac_save_IFS |
1416 | test -z "$as_dir" && as_dir=. | 1109 | test -z "$ac_dir" && ac_dir=. |
1417 | for ac_exec_ext in '' $ac_executable_extensions; do | 1110 | $as_executable_p "$ac_dir/$ac_word" || continue |
1418 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1111 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1419 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 1112 | echo "$as_me:1112: found $ac_dir/$ac_word" >&5 |
1420 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1113 | break |
1421 | break 2 | ||
1422 | fi | ||
1423 | done | ||
1424 | done | 1114 | done |
1425 | 1115 | ||
1426 | fi | 1116 | fi |
1427 | fi | 1117 | fi |
1428 | CC=$ac_cv_prog_CC | 1118 | CC=$ac_cv_prog_CC |
1429 | if test -n "$CC"; then | 1119 | if test -n "$CC"; then |
1430 | echo "$as_me:$LINENO: result: $CC" >&5 | 1120 | echo "$as_me:1120: result: $CC" >&5 |
1431 | echo "${ECHO_T}$CC" >&6 | 1121 | echo "${ECHO_T}$CC" >&6 |
1432 | else | 1122 | else |
1433 | echo "$as_me:$LINENO: result: no" >&5 | 1123 | echo "$as_me:1123: result: no" >&5 |
1434 | echo "${ECHO_T}no" >&6 | 1124 | echo "${ECHO_T}no" >&6 |
1435 | fi | 1125 | fi |
1436 | 1126 | ||
@@ -1439,7 +1129,7 @@ if test -z "$ac_cv_prog_CC"; then | |||
1439 | ac_ct_CC=$CC | 1129 | ac_ct_CC=$CC |
1440 | # Extract the first word of "cc", so it can be a program name with args. | 1130 | # Extract the first word of "cc", so it can be a program name with args. |
1441 | set dummy cc; ac_word=$2 | 1131 | set dummy cc; ac_word=$2 |
1442 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1132 | echo "$as_me:1132: checking for $ac_word" >&5 |
1443 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1133 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1444 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1134 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1445 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1135 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1447,28 +1137,25 @@ else | |||
1447 | if test -n "$ac_ct_CC"; then | 1137 | if test -n "$ac_ct_CC"; then |
1448 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1138 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1449 | else | 1139 | else |
1450 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1140 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1451 | for as_dir in $PATH | 1141 | ac_dummy="$PATH" |
1452 | do | 1142 | for ac_dir in $ac_dummy; do |
1453 | IFS=$as_save_IFS | 1143 | IFS=$ac_save_IFS |
1454 | test -z "$as_dir" && as_dir=. | 1144 | test -z "$ac_dir" && ac_dir=. |
1455 | for ac_exec_ext in '' $ac_executable_extensions; do | 1145 | $as_executable_p "$ac_dir/$ac_word" || continue |
1456 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1146 | ac_cv_prog_ac_ct_CC="cc" |
1457 | ac_cv_prog_ac_ct_CC="cc" | 1147 | echo "$as_me:1147: found $ac_dir/$ac_word" >&5 |
1458 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1148 | break |
1459 | break 2 | ||
1460 | fi | ||
1461 | done | ||
1462 | done | 1149 | done |
1463 | 1150 | ||
1464 | fi | 1151 | fi |
1465 | fi | 1152 | fi |
1466 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1153 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1467 | if test -n "$ac_ct_CC"; then | 1154 | if test -n "$ac_ct_CC"; then |
1468 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 1155 | echo "$as_me:1155: result: $ac_ct_CC" >&5 |
1469 | echo "${ECHO_T}$ac_ct_CC" >&6 | 1156 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1470 | else | 1157 | else |
1471 | echo "$as_me:$LINENO: result: no" >&5 | 1158 | echo "$as_me:1158: result: no" >&5 |
1472 | echo "${ECHO_T}no" >&6 | 1159 | echo "${ECHO_T}no" >&6 |
1473 | fi | 1160 | fi |
1474 | 1161 | ||
@@ -1481,7 +1168,7 @@ fi | |||
1481 | if test -z "$CC"; then | 1168 | if test -z "$CC"; then |
1482 | # Extract the first word of "cc", so it can be a program name with args. | 1169 | # Extract the first word of "cc", so it can be a program name with args. |
1483 | set dummy cc; ac_word=$2 | 1170 | set dummy cc; ac_word=$2 |
1484 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1171 | echo "$as_me:1171: checking for $ac_word" >&5 |
1485 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1172 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1486 | if test "${ac_cv_prog_CC+set}" = set; then | 1173 | if test "${ac_cv_prog_CC+set}" = set; then |
1487 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1174 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1490,22 +1177,19 @@ else | |||
1490 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1177 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1491 | else | 1178 | else |
1492 | ac_prog_rejected=no | 1179 | ac_prog_rejected=no |
1493 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1180 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1494 | for as_dir in $PATH | 1181 | ac_dummy="$PATH" |
1495 | do | 1182 | for ac_dir in $ac_dummy; do |
1496 | IFS=$as_save_IFS | 1183 | IFS=$ac_save_IFS |
1497 | test -z "$as_dir" && as_dir=. | 1184 | test -z "$ac_dir" && ac_dir=. |
1498 | for ac_exec_ext in '' $ac_executable_extensions; do | 1185 | $as_executable_p "$ac_dir/$ac_word" || continue |
1499 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1186 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
1500 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 1187 | ac_prog_rejected=yes |
1501 | ac_prog_rejected=yes | 1188 | continue |
1502 | continue | 1189 | fi |
1503 | fi | 1190 | ac_cv_prog_CC="cc" |
1504 | ac_cv_prog_CC="cc" | 1191 | echo "$as_me:1191: found $ac_dir/$ac_word" >&5 |
1505 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1192 | break |
1506 | break 2 | ||
1507 | fi | ||
1508 | done | ||
1509 | done | 1193 | done |
1510 | 1194 | ||
1511 | if test $ac_prog_rejected = yes; then | 1195 | if test $ac_prog_rejected = yes; then |
@@ -1517,17 +1201,19 @@ if test $ac_prog_rejected = yes; then | |||
1517 | # However, it has the same basename, so the bogon will be chosen | 1201 | # 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. | 1202 | # first if we set CC to just the basename; use the full file name. |
1519 | shift | 1203 | shift |
1520 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 1204 | set dummy "$ac_dir/$ac_word" ${1+"$@"} |
1205 | shift | ||
1206 | ac_cv_prog_CC="$@" | ||
1521 | fi | 1207 | fi |
1522 | fi | 1208 | fi |
1523 | fi | 1209 | fi |
1524 | fi | 1210 | fi |
1525 | CC=$ac_cv_prog_CC | 1211 | CC=$ac_cv_prog_CC |
1526 | if test -n "$CC"; then | 1212 | if test -n "$CC"; then |
1527 | echo "$as_me:$LINENO: result: $CC" >&5 | 1213 | echo "$as_me:1213: result: $CC" >&5 |
1528 | echo "${ECHO_T}$CC" >&6 | 1214 | echo "${ECHO_T}$CC" >&6 |
1529 | else | 1215 | else |
1530 | echo "$as_me:$LINENO: result: no" >&5 | 1216 | echo "$as_me:1216: result: no" >&5 |
1531 | echo "${ECHO_T}no" >&6 | 1217 | echo "${ECHO_T}no" >&6 |
1532 | fi | 1218 | fi |
1533 | 1219 | ||
@@ -1538,7 +1224,7 @@ if test -z "$CC"; then | |||
1538 | do | 1224 | do |
1539 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 1225 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1540 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 1226 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1541 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1227 | echo "$as_me:1227: checking for $ac_word" >&5 |
1542 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1228 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1543 | if test "${ac_cv_prog_CC+set}" = set; then | 1229 | if test "${ac_cv_prog_CC+set}" = set; then |
1544 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1230 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1546,28 +1232,25 @@ else | |||
1546 | if test -n "$CC"; then | 1232 | if test -n "$CC"; then |
1547 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1233 | ac_cv_prog_CC="$CC" # Let the user override the test. |
1548 | else | 1234 | else |
1549 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1235 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1550 | for as_dir in $PATH | 1236 | ac_dummy="$PATH" |
1551 | do | 1237 | for ac_dir in $ac_dummy; do |
1552 | IFS=$as_save_IFS | 1238 | IFS=$ac_save_IFS |
1553 | test -z "$as_dir" && as_dir=. | 1239 | test -z "$ac_dir" && ac_dir=. |
1554 | for ac_exec_ext in '' $ac_executable_extensions; do | 1240 | $as_executable_p "$ac_dir/$ac_word" || continue |
1555 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1241 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1556 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 1242 | echo "$as_me:1242: found $ac_dir/$ac_word" >&5 |
1557 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1243 | break |
1558 | break 2 | ||
1559 | fi | ||
1560 | done | ||
1561 | done | 1244 | done |
1562 | 1245 | ||
1563 | fi | 1246 | fi |
1564 | fi | 1247 | fi |
1565 | CC=$ac_cv_prog_CC | 1248 | CC=$ac_cv_prog_CC |
1566 | if test -n "$CC"; then | 1249 | if test -n "$CC"; then |
1567 | echo "$as_me:$LINENO: result: $CC" >&5 | 1250 | echo "$as_me:1250: result: $CC" >&5 |
1568 | echo "${ECHO_T}$CC" >&6 | 1251 | echo "${ECHO_T}$CC" >&6 |
1569 | else | 1252 | else |
1570 | echo "$as_me:$LINENO: result: no" >&5 | 1253 | echo "$as_me:1253: result: no" >&5 |
1571 | echo "${ECHO_T}no" >&6 | 1254 | echo "${ECHO_T}no" >&6 |
1572 | fi | 1255 | fi |
1573 | 1256 | ||
@@ -1580,7 +1263,7 @@ if test -z "$CC"; then | |||
1580 | do | 1263 | do |
1581 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 1264 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1582 | set dummy $ac_prog; ac_word=$2 | 1265 | set dummy $ac_prog; ac_word=$2 |
1583 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 1266 | echo "$as_me:1266: checking for $ac_word" >&5 |
1584 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 1267 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1585 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 1268 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -1588,28 +1271,25 @@ else | |||
1588 | if test -n "$ac_ct_CC"; then | 1271 | if test -n "$ac_ct_CC"; then |
1589 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1272 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1590 | else | 1273 | else |
1591 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1274 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1592 | for as_dir in $PATH | 1275 | ac_dummy="$PATH" |
1593 | do | 1276 | for ac_dir in $ac_dummy; do |
1594 | IFS=$as_save_IFS | 1277 | IFS=$ac_save_IFS |
1595 | test -z "$as_dir" && as_dir=. | 1278 | test -z "$ac_dir" && ac_dir=. |
1596 | for ac_exec_ext in '' $ac_executable_extensions; do | 1279 | $as_executable_p "$ac_dir/$ac_word" || continue |
1597 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 1280 | ac_cv_prog_ac_ct_CC="$ac_prog" |
1598 | ac_cv_prog_ac_ct_CC="$ac_prog" | 1281 | echo "$as_me:1281: found $ac_dir/$ac_word" >&5 |
1599 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1282 | break |
1600 | break 2 | ||
1601 | fi | ||
1602 | done | ||
1603 | done | 1283 | done |
1604 | 1284 | ||
1605 | fi | 1285 | fi |
1606 | fi | 1286 | fi |
1607 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1287 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1608 | if test -n "$ac_ct_CC"; then | 1288 | if test -n "$ac_ct_CC"; then |
1609 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 1289 | echo "$as_me:1289: result: $ac_ct_CC" >&5 |
1610 | echo "${ECHO_T}$ac_ct_CC" >&6 | 1290 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1611 | else | 1291 | else |
1612 | echo "$as_me:$LINENO: result: no" >&5 | 1292 | echo "$as_me:1292: result: no" >&5 |
1613 | echo "${ECHO_T}no" >&6 | 1293 | echo "${ECHO_T}no" >&6 |
1614 | fi | 1294 | fi |
1615 | 1295 | ||
@@ -1621,40 +1301,33 @@ fi | |||
1621 | 1301 | ||
1622 | fi | 1302 | fi |
1623 | 1303 | ||
1624 | 1304 | test -z "$CC" && { { echo "$as_me:1304: error: no acceptable cc found in \$PATH" >&5 | |
1625 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 1305 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
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; }; } | 1306 | { (exit 1); exit 1; }; } |
1630 | 1307 | ||
1631 | # Provide some information about the compiler. | 1308 | # Provide some information about the compiler. |
1632 | echo "$as_me:$LINENO:" \ | 1309 | echo "$as_me:1309:" \ |
1633 | "checking for C compiler version" >&5 | 1310 | "checking for C compiler version" >&5 |
1634 | ac_compiler=`set X $ac_compile; echo $2` | 1311 | ac_compiler=`set X $ac_compile; echo $2` |
1635 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 1312 | { (eval echo "$as_me:1312: \"$ac_compiler --version </dev/null >&5\"") >&5 |
1636 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 1313 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
1637 | ac_status=$? | 1314 | ac_status=$? |
1638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1315 | echo "$as_me:1315: \$? = $ac_status" >&5 |
1639 | (exit $ac_status); } | 1316 | (exit $ac_status); } |
1640 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 1317 | { (eval echo "$as_me:1317: \"$ac_compiler -v </dev/null >&5\"") >&5 |
1641 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 1318 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
1642 | ac_status=$? | 1319 | ac_status=$? |
1643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1320 | echo "$as_me:1320: \$? = $ac_status" >&5 |
1644 | (exit $ac_status); } | 1321 | (exit $ac_status); } |
1645 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 1322 | { (eval echo "$as_me:1322: \"$ac_compiler -V </dev/null >&5\"") >&5 |
1646 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 1323 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
1647 | ac_status=$? | 1324 | ac_status=$? |
1648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1325 | echo "$as_me:1325: \$? = $ac_status" >&5 |
1649 | (exit $ac_status); } | 1326 | (exit $ac_status); } |
1650 | 1327 | ||
1651 | cat >conftest.$ac_ext <<_ACEOF | 1328 | cat >conftest.$ac_ext <<_ACEOF |
1652 | #line $LINENO "configure" | 1329 | #line 1329 "configure" |
1653 | /* confdefs.h. */ | 1330 | #include "confdefs.h" |
1654 | _ACEOF | ||
1655 | cat confdefs.h >>conftest.$ac_ext | ||
1656 | cat >>conftest.$ac_ext <<_ACEOF | ||
1657 | /* end confdefs.h. */ | ||
1658 | 1331 | ||
1659 | int | 1332 | int |
1660 | main () | 1333 | main () |
@@ -1665,120 +1338,100 @@ main () | |||
1665 | } | 1338 | } |
1666 | _ACEOF | 1339 | _ACEOF |
1667 | ac_clean_files_save=$ac_clean_files | 1340 | ac_clean_files_save=$ac_clean_files |
1668 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 1341 | ac_clean_files="$ac_clean_files a.out a.exe" |
1669 | # Try to create an executable without -o first, disregard a.out. | 1342 | # Try to create an executable without -o first, disregard a.out. |
1670 | # It will help us diagnose broken compilers, and finding out an intuition | 1343 | # It will help us diagnose broken compilers, and finding out an intuition |
1671 | # of exeext. | 1344 | # of exeext. |
1672 | echo "$as_me:$LINENO: checking for C compiler default output" >&5 | 1345 | echo "$as_me:1345: checking for C compiler default output" >&5 |
1673 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 1346 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1674 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 1347 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
1675 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 1348 | if { (eval echo "$as_me:1348: \"$ac_link_default\"") >&5 |
1676 | (eval $ac_link_default) 2>&5 | 1349 | (eval $ac_link_default) 2>&5 |
1677 | ac_status=$? | 1350 | ac_status=$? |
1678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1351 | echo "$as_me:1351: \$? = $ac_status" >&5 |
1679 | (exit $ac_status); }; then | 1352 | (exit $ac_status); }; then |
1680 | # Find the output, starting from the most likely. This scheme is | 1353 | # 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 | 1354 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
1682 | # resort. | 1355 | # resort. |
1683 | 1356 | for ac_file in `ls a.exe conftest.exe 2>/dev/null; | |
1684 | # Be careful to initialize this variable, since it used to be cached. | 1357 | ls a.out conftest 2>/dev/null; |
1685 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 1358 | ls a.* conftest.* 2>/dev/null`; do |
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 | 1359 | case $ac_file in |
1692 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 1360 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1693 | ;; | 1361 | a.out ) # We found the default executable, but exeext='' is most |
1694 | conftest.$ac_ext ) | 1362 | # certainly right. |
1695 | # This is the source file. | 1363 | break;; |
1696 | ;; | 1364 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1697 | [ab].out ) | 1365 | # FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
1698 | # We found the default executable, but exeext='' is most | 1366 | export ac_cv_exeext |
1699 | # certainly right. | 1367 | break;; |
1700 | break;; | 1368 | * ) 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 | 1369 | esac |
1711 | done | 1370 | done |
1712 | else | 1371 | else |
1713 | echo "$as_me: failed program was:" >&5 | 1372 | echo "$as_me: failed program was:" >&5 |
1714 | sed 's/^/| /' conftest.$ac_ext >&5 | 1373 | cat conftest.$ac_ext >&5 |
1715 | 1374 | { { echo "$as_me:1374: error: C compiler cannot create executables" >&5 | |
1716 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 1375 | echo "$as_me: error: C compiler cannot create executables" >&2;} |
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; }; } | 1376 | { (exit 77); exit 77; }; } |
1721 | fi | 1377 | fi |
1722 | 1378 | ||
1723 | ac_exeext=$ac_cv_exeext | 1379 | ac_exeext=$ac_cv_exeext |
1724 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 1380 | echo "$as_me:1380: result: $ac_file" >&5 |
1725 | echo "${ECHO_T}$ac_file" >&6 | 1381 | echo "${ECHO_T}$ac_file" >&6 |
1726 | 1382 | ||
1727 | # Check the compiler produces executables we can run. If not, either | 1383 | # Check the compiler produces executables we can run. If not, either |
1728 | # the compiler is broken, or we cross compile. | 1384 | # the compiler is broken, or we cross compile. |
1729 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 1385 | echo "$as_me:1385: checking whether the C compiler works" >&5 |
1730 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 1386 | 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 | 1387 | # 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. | 1388 | # If not cross compiling, check that we can run a simple program. |
1733 | if test "$cross_compiling" != yes; then | 1389 | if test "$cross_compiling" != yes; then |
1734 | if { ac_try='./$ac_file' | 1390 | if { ac_try='./$ac_file' |
1735 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1391 | { (eval echo "$as_me:1391: \"$ac_try\"") >&5 |
1736 | (eval $ac_try) 2>&5 | 1392 | (eval $ac_try) 2>&5 |
1737 | ac_status=$? | 1393 | ac_status=$? |
1738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1394 | echo "$as_me:1394: \$? = $ac_status" >&5 |
1739 | (exit $ac_status); }; }; then | 1395 | (exit $ac_status); }; }; then |
1740 | cross_compiling=no | 1396 | cross_compiling=no |
1741 | else | 1397 | else |
1742 | if test "$cross_compiling" = maybe; then | 1398 | if test "$cross_compiling" = maybe; then |
1743 | cross_compiling=yes | 1399 | cross_compiling=yes |
1744 | else | 1400 | else |
1745 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | 1401 | { { echo "$as_me:1401: error: cannot run C compiled programs. |
1746 | If you meant to cross compile, use \`--host'. | 1402 | If you meant to cross compile, use \`--host'." >&5 |
1747 | See \`config.log' for more details." >&5 | ||
1748 | echo "$as_me: error: cannot run C compiled programs. | 1403 | echo "$as_me: error: cannot run C compiled programs. |
1749 | If you meant to cross compile, use \`--host'. | 1404 | If you meant to cross compile, use \`--host'." >&2;} |
1750 | See \`config.log' for more details." >&2;} | ||
1751 | { (exit 1); exit 1; }; } | 1405 | { (exit 1); exit 1; }; } |
1752 | fi | 1406 | fi |
1753 | fi | 1407 | fi |
1754 | fi | 1408 | fi |
1755 | echo "$as_me:$LINENO: result: yes" >&5 | 1409 | echo "$as_me:1409: result: yes" >&5 |
1756 | echo "${ECHO_T}yes" >&6 | 1410 | echo "${ECHO_T}yes" >&6 |
1757 | 1411 | ||
1758 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 1412 | rm -f a.out a.exe conftest$ac_cv_exeext |
1759 | ac_clean_files=$ac_clean_files_save | 1413 | ac_clean_files=$ac_clean_files_save |
1760 | # Check the compiler produces executables we can run. If not, either | 1414 | # Check the compiler produces executables we can run. If not, either |
1761 | # the compiler is broken, or we cross compile. | 1415 | # the compiler is broken, or we cross compile. |
1762 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 1416 | echo "$as_me:1416: checking whether we are cross compiling" >&5 |
1763 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 1417 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1764 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 1418 | echo "$as_me:1418: result: $cross_compiling" >&5 |
1765 | echo "${ECHO_T}$cross_compiling" >&6 | 1419 | echo "${ECHO_T}$cross_compiling" >&6 |
1766 | 1420 | ||
1767 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 1421 | echo "$as_me:1421: checking for executable suffix" >&5 |
1768 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 1422 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
1769 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 1423 | if { (eval echo "$as_me:1423: \"$ac_link\"") >&5 |
1770 | (eval $ac_link) 2>&5 | 1424 | (eval $ac_link) 2>&5 |
1771 | ac_status=$? | 1425 | ac_status=$? |
1772 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1426 | echo "$as_me:1426: \$? = $ac_status" >&5 |
1773 | (exit $ac_status); }; then | 1427 | (exit $ac_status); }; then |
1774 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 1428 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
1775 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 1429 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
1776 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 1430 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
1777 | # `rm'. | 1431 | # `rm'. |
1778 | for ac_file in conftest.exe conftest conftest.*; do | 1432 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
1779 | test -f "$ac_file" || continue | ||
1780 | case $ac_file in | 1433 | case $ac_file in |
1781 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 1434 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1782 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 1435 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1783 | export ac_cv_exeext | 1436 | export ac_cv_exeext |
1784 | break;; | 1437 | break;; |
@@ -1786,32 +1439,26 @@ for ac_file in conftest.exe conftest conftest.*; do | |||
1786 | esac | 1439 | esac |
1787 | done | 1440 | done |
1788 | else | 1441 | else |
1789 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 1442 | { { echo "$as_me:1442: error: cannot compute EXEEXT: cannot compile and link" >&5 |
1790 | See \`config.log' for more details." >&5 | 1443 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
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; }; } | 1444 | { (exit 1); exit 1; }; } |
1794 | fi | 1445 | fi |
1795 | 1446 | ||
1796 | rm -f conftest$ac_cv_exeext | 1447 | rm -f conftest$ac_cv_exeext |
1797 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 1448 | echo "$as_me:1448: result: $ac_cv_exeext" >&5 |
1798 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 1449 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
1799 | 1450 | ||
1800 | rm -f conftest.$ac_ext | 1451 | rm -f conftest.$ac_ext |
1801 | EXEEXT=$ac_cv_exeext | 1452 | EXEEXT=$ac_cv_exeext |
1802 | ac_exeext=$EXEEXT | 1453 | ac_exeext=$EXEEXT |
1803 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 1454 | echo "$as_me:1454: checking for object suffix" >&5 |
1804 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 1455 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
1805 | if test "${ac_cv_objext+set}" = set; then | 1456 | if test "${ac_cv_objext+set}" = set; then |
1806 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1457 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1807 | else | 1458 | else |
1808 | cat >conftest.$ac_ext <<_ACEOF | 1459 | cat >conftest.$ac_ext <<_ACEOF |
1809 | #line $LINENO "configure" | 1460 | #line 1460 "configure" |
1810 | /* confdefs.h. */ | 1461 | #include "confdefs.h" |
1811 | _ACEOF | ||
1812 | cat confdefs.h >>conftest.$ac_ext | ||
1813 | cat >>conftest.$ac_ext <<_ACEOF | ||
1814 | /* end confdefs.h. */ | ||
1815 | 1462 | ||
1816 | int | 1463 | int |
1817 | main () | 1464 | main () |
@@ -1822,47 +1469,40 @@ main () | |||
1822 | } | 1469 | } |
1823 | _ACEOF | 1470 | _ACEOF |
1824 | rm -f conftest.o conftest.obj | 1471 | rm -f conftest.o conftest.obj |
1825 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1472 | if { (eval echo "$as_me:1472: \"$ac_compile\"") >&5 |
1826 | (eval $ac_compile) 2>&5 | 1473 | (eval $ac_compile) 2>&5 |
1827 | ac_status=$? | 1474 | ac_status=$? |
1828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1475 | echo "$as_me:1475: \$? = $ac_status" >&5 |
1829 | (exit $ac_status); }; then | 1476 | (exit $ac_status); }; then |
1830 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 1477 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
1831 | case $ac_file in | 1478 | case $ac_file in |
1832 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 1479 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; |
1833 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 1480 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
1834 | break;; | 1481 | break;; |
1835 | esac | 1482 | esac |
1836 | done | 1483 | done |
1837 | else | 1484 | else |
1838 | echo "$as_me: failed program was:" >&5 | 1485 | echo "$as_me: failed program was:" >&5 |
1839 | sed 's/^/| /' conftest.$ac_ext >&5 | 1486 | cat conftest.$ac_ext >&5 |
1840 | 1487 | { { echo "$as_me:1487: error: cannot compute OBJEXT: cannot compile" >&5 | |
1841 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 1488 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
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; }; } | 1489 | { (exit 1); exit 1; }; } |
1846 | fi | 1490 | fi |
1847 | 1491 | ||
1848 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 1492 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
1849 | fi | 1493 | fi |
1850 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 1494 | echo "$as_me:1494: result: $ac_cv_objext" >&5 |
1851 | echo "${ECHO_T}$ac_cv_objext" >&6 | 1495 | echo "${ECHO_T}$ac_cv_objext" >&6 |
1852 | OBJEXT=$ac_cv_objext | 1496 | OBJEXT=$ac_cv_objext |
1853 | ac_objext=$OBJEXT | 1497 | ac_objext=$OBJEXT |
1854 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 1498 | echo "$as_me:1498: 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 | 1499 | 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 | 1500 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
1857 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1501 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1858 | else | 1502 | else |
1859 | cat >conftest.$ac_ext <<_ACEOF | 1503 | cat >conftest.$ac_ext <<_ACEOF |
1860 | #line $LINENO "configure" | 1504 | #line 1504 "configure" |
1861 | /* confdefs.h. */ | 1505 | #include "confdefs.h" |
1862 | _ACEOF | ||
1863 | cat confdefs.h >>conftest.$ac_ext | ||
1864 | cat >>conftest.$ac_ext <<_ACEOF | ||
1865 | /* end confdefs.h. */ | ||
1866 | 1506 | ||
1867 | int | 1507 | int |
1868 | main () | 1508 | main () |
@@ -1876,46 +1516,41 @@ main () | |||
1876 | } | 1516 | } |
1877 | _ACEOF | 1517 | _ACEOF |
1878 | rm -f conftest.$ac_objext | 1518 | rm -f conftest.$ac_objext |
1879 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1519 | if { (eval echo "$as_me:1519: \"$ac_compile\"") >&5 |
1880 | (eval $ac_compile) 2>&5 | 1520 | (eval $ac_compile) 2>&5 |
1881 | ac_status=$? | 1521 | ac_status=$? |
1882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1522 | echo "$as_me:1522: \$? = $ac_status" >&5 |
1883 | (exit $ac_status); } && | 1523 | (exit $ac_status); } && |
1884 | { ac_try='test -s conftest.$ac_objext' | 1524 | { ac_try='test -s conftest.$ac_objext' |
1885 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1525 | { (eval echo "$as_me:1525: \"$ac_try\"") >&5 |
1886 | (eval $ac_try) 2>&5 | 1526 | (eval $ac_try) 2>&5 |
1887 | ac_status=$? | 1527 | ac_status=$? |
1888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1528 | echo "$as_me:1528: \$? = $ac_status" >&5 |
1889 | (exit $ac_status); }; }; then | 1529 | (exit $ac_status); }; }; then |
1890 | ac_compiler_gnu=yes | 1530 | ac_compiler_gnu=yes |
1891 | else | 1531 | else |
1892 | echo "$as_me: failed program was:" >&5 | 1532 | echo "$as_me: failed program was:" >&5 |
1893 | sed 's/^/| /' conftest.$ac_ext >&5 | 1533 | cat conftest.$ac_ext >&5 |
1894 | |||
1895 | ac_compiler_gnu=no | 1534 | ac_compiler_gnu=no |
1896 | fi | 1535 | fi |
1897 | rm -f conftest.$ac_objext conftest.$ac_ext | 1536 | rm -f conftest.$ac_objext conftest.$ac_ext |
1898 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 1537 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
1899 | 1538 | ||
1900 | fi | 1539 | fi |
1901 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 1540 | echo "$as_me:1540: result: $ac_cv_c_compiler_gnu" >&5 |
1902 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 1541 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1903 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 1542 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
1904 | ac_test_CFLAGS=${CFLAGS+set} | 1543 | ac_test_CFLAGS=${CFLAGS+set} |
1905 | ac_save_CFLAGS=$CFLAGS | 1544 | ac_save_CFLAGS=$CFLAGS |
1906 | CFLAGS="-g" | 1545 | CFLAGS="-g" |
1907 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 1546 | echo "$as_me:1546: checking whether $CC accepts -g" >&5 |
1908 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 1547 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1909 | if test "${ac_cv_prog_cc_g+set}" = set; then | 1548 | if test "${ac_cv_prog_cc_g+set}" = set; then |
1910 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1549 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1911 | else | 1550 | else |
1912 | cat >conftest.$ac_ext <<_ACEOF | 1551 | cat >conftest.$ac_ext <<_ACEOF |
1913 | #line $LINENO "configure" | 1552 | #line 1552 "configure" |
1914 | /* confdefs.h. */ | 1553 | #include "confdefs.h" |
1915 | _ACEOF | ||
1916 | cat confdefs.h >>conftest.$ac_ext | ||
1917 | cat >>conftest.$ac_ext <<_ACEOF | ||
1918 | /* end confdefs.h. */ | ||
1919 | 1554 | ||
1920 | int | 1555 | int |
1921 | main () | 1556 | main () |
@@ -1926,27 +1561,26 @@ main () | |||
1926 | } | 1561 | } |
1927 | _ACEOF | 1562 | _ACEOF |
1928 | rm -f conftest.$ac_objext | 1563 | rm -f conftest.$ac_objext |
1929 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1564 | if { (eval echo "$as_me:1564: \"$ac_compile\"") >&5 |
1930 | (eval $ac_compile) 2>&5 | 1565 | (eval $ac_compile) 2>&5 |
1931 | ac_status=$? | 1566 | ac_status=$? |
1932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1567 | echo "$as_me:1567: \$? = $ac_status" >&5 |
1933 | (exit $ac_status); } && | 1568 | (exit $ac_status); } && |
1934 | { ac_try='test -s conftest.$ac_objext' | 1569 | { ac_try='test -s conftest.$ac_objext' |
1935 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1570 | { (eval echo "$as_me:1570: \"$ac_try\"") >&5 |
1936 | (eval $ac_try) 2>&5 | 1571 | (eval $ac_try) 2>&5 |
1937 | ac_status=$? | 1572 | ac_status=$? |
1938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1573 | echo "$as_me:1573: \$? = $ac_status" >&5 |
1939 | (exit $ac_status); }; }; then | 1574 | (exit $ac_status); }; }; then |
1940 | ac_cv_prog_cc_g=yes | 1575 | ac_cv_prog_cc_g=yes |
1941 | else | 1576 | else |
1942 | echo "$as_me: failed program was:" >&5 | 1577 | echo "$as_me: failed program was:" >&5 |
1943 | sed 's/^/| /' conftest.$ac_ext >&5 | 1578 | cat conftest.$ac_ext >&5 |
1944 | |||
1945 | ac_cv_prog_cc_g=no | 1579 | ac_cv_prog_cc_g=no |
1946 | fi | 1580 | fi |
1947 | rm -f conftest.$ac_objext conftest.$ac_ext | 1581 | rm -f conftest.$ac_objext conftest.$ac_ext |
1948 | fi | 1582 | fi |
1949 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 1583 | echo "$as_me:1583: result: $ac_cv_prog_cc_g" >&5 |
1950 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 1584 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1951 | if test "$ac_test_CFLAGS" = set; then | 1585 | if test "$ac_test_CFLAGS" = set; then |
1952 | CFLAGS=$ac_save_CFLAGS | 1586 | CFLAGS=$ac_save_CFLAGS |
@@ -1963,102 +1597,6 @@ else | |||
1963 | CFLAGS= | 1597 | CFLAGS= |
1964 | fi | 1598 | fi |
1965 | fi | 1599 | 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', | 1600 | # 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 | 1601 | # 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 | 1602 | # for both compiling C and C++ we need to have the C++ compiler decide |
@@ -2069,16 +1607,16 @@ cat >conftest.$ac_ext <<_ACEOF | |||
2069 | #endif | 1607 | #endif |
2070 | _ACEOF | 1608 | _ACEOF |
2071 | rm -f conftest.$ac_objext | 1609 | rm -f conftest.$ac_objext |
2072 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1610 | if { (eval echo "$as_me:1610: \"$ac_compile\"") >&5 |
2073 | (eval $ac_compile) 2>&5 | 1611 | (eval $ac_compile) 2>&5 |
2074 | ac_status=$? | 1612 | ac_status=$? |
2075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1613 | echo "$as_me:1613: \$? = $ac_status" >&5 |
2076 | (exit $ac_status); } && | 1614 | (exit $ac_status); } && |
2077 | { ac_try='test -s conftest.$ac_objext' | 1615 | { ac_try='test -s conftest.$ac_objext' |
2078 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1616 | { (eval echo "$as_me:1616: \"$ac_try\"") >&5 |
2079 | (eval $ac_try) 2>&5 | 1617 | (eval $ac_try) 2>&5 |
2080 | ac_status=$? | 1618 | ac_status=$? |
2081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1619 | echo "$as_me:1619: \$? = $ac_status" >&5 |
2082 | (exit $ac_status); }; }; then | 1620 | (exit $ac_status); }; }; then |
2083 | for ac_declaration in \ | 1621 | for ac_declaration in \ |
2084 | ''\ | 1622 | ''\ |
@@ -2090,12 +1628,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
2090 | 'void exit (int);' | 1628 | 'void exit (int);' |
2091 | do | 1629 | do |
2092 | cat >conftest.$ac_ext <<_ACEOF | 1630 | cat >conftest.$ac_ext <<_ACEOF |
2093 | #line $LINENO "configure" | 1631 | #line 1631 "configure" |
2094 | /* confdefs.h. */ | 1632 | #include "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> | 1633 | #include <stdlib.h> |
2100 | $ac_declaration | 1634 | $ac_declaration |
2101 | int | 1635 | int |
@@ -2107,32 +1641,27 @@ exit (42); | |||
2107 | } | 1641 | } |
2108 | _ACEOF | 1642 | _ACEOF |
2109 | rm -f conftest.$ac_objext | 1643 | rm -f conftest.$ac_objext |
2110 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1644 | if { (eval echo "$as_me:1644: \"$ac_compile\"") >&5 |
2111 | (eval $ac_compile) 2>&5 | 1645 | (eval $ac_compile) 2>&5 |
2112 | ac_status=$? | 1646 | ac_status=$? |
2113 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1647 | echo "$as_me:1647: \$? = $ac_status" >&5 |
2114 | (exit $ac_status); } && | 1648 | (exit $ac_status); } && |
2115 | { ac_try='test -s conftest.$ac_objext' | 1649 | { ac_try='test -s conftest.$ac_objext' |
2116 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1650 | { (eval echo "$as_me:1650: \"$ac_try\"") >&5 |
2117 | (eval $ac_try) 2>&5 | 1651 | (eval $ac_try) 2>&5 |
2118 | ac_status=$? | 1652 | ac_status=$? |
2119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1653 | echo "$as_me:1653: \$? = $ac_status" >&5 |
2120 | (exit $ac_status); }; }; then | 1654 | (exit $ac_status); }; }; then |
2121 | : | 1655 | : |
2122 | else | 1656 | else |
2123 | echo "$as_me: failed program was:" >&5 | 1657 | echo "$as_me: failed program was:" >&5 |
2124 | sed 's/^/| /' conftest.$ac_ext >&5 | 1658 | cat conftest.$ac_ext >&5 |
2125 | |||
2126 | continue | 1659 | continue |
2127 | fi | 1660 | fi |
2128 | rm -f conftest.$ac_objext conftest.$ac_ext | 1661 | rm -f conftest.$ac_objext conftest.$ac_ext |
2129 | cat >conftest.$ac_ext <<_ACEOF | 1662 | cat >conftest.$ac_ext <<_ACEOF |
2130 | #line $LINENO "configure" | 1663 | #line 1663 "configure" |
2131 | /* confdefs.h. */ | 1664 | #include "confdefs.h" |
2132 | _ACEOF | ||
2133 | cat confdefs.h >>conftest.$ac_ext | ||
2134 | cat >>conftest.$ac_ext <<_ACEOF | ||
2135 | /* end confdefs.h. */ | ||
2136 | $ac_declaration | 1665 | $ac_declaration |
2137 | int | 1666 | int |
2138 | main () | 1667 | main () |
@@ -2143,22 +1672,21 @@ exit (42); | |||
2143 | } | 1672 | } |
2144 | _ACEOF | 1673 | _ACEOF |
2145 | rm -f conftest.$ac_objext | 1674 | rm -f conftest.$ac_objext |
2146 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1675 | if { (eval echo "$as_me:1675: \"$ac_compile\"") >&5 |
2147 | (eval $ac_compile) 2>&5 | 1676 | (eval $ac_compile) 2>&5 |
2148 | ac_status=$? | 1677 | ac_status=$? |
2149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1678 | echo "$as_me:1678: \$? = $ac_status" >&5 |
2150 | (exit $ac_status); } && | 1679 | (exit $ac_status); } && |
2151 | { ac_try='test -s conftest.$ac_objext' | 1680 | { ac_try='test -s conftest.$ac_objext' |
2152 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1681 | { (eval echo "$as_me:1681: \"$ac_try\"") >&5 |
2153 | (eval $ac_try) 2>&5 | 1682 | (eval $ac_try) 2>&5 |
2154 | ac_status=$? | 1683 | ac_status=$? |
2155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1684 | echo "$as_me:1684: \$? = $ac_status" >&5 |
2156 | (exit $ac_status); }; }; then | 1685 | (exit $ac_status); }; }; then |
2157 | break | 1686 | break |
2158 | else | 1687 | else |
2159 | echo "$as_me: failed program was:" >&5 | 1688 | echo "$as_me: failed program was:" >&5 |
2160 | sed 's/^/| /' conftest.$ac_ext >&5 | 1689 | cat conftest.$ac_ext >&5 |
2161 | |||
2162 | fi | 1690 | fi |
2163 | rm -f conftest.$ac_objext conftest.$ac_ext | 1691 | rm -f conftest.$ac_objext conftest.$ac_ext |
2164 | done | 1692 | done |
@@ -2171,8 +1699,7 @@ fi | |||
2171 | 1699 | ||
2172 | else | 1700 | else |
2173 | echo "$as_me: failed program was:" >&5 | 1701 | echo "$as_me: failed program was:" >&5 |
2174 | sed 's/^/| /' conftest.$ac_ext >&5 | 1702 | cat conftest.$ac_ext >&5 |
2175 | |||
2176 | fi | 1703 | fi |
2177 | rm -f conftest.$ac_objext conftest.$ac_ext | 1704 | rm -f conftest.$ac_objext conftest.$ac_ext |
2178 | ac_ext=c | 1705 | ac_ext=c |
@@ -2198,7 +1725,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | |||
2198 | fi | 1725 | fi |
2199 | done | 1726 | done |
2200 | if test -z "$ac_aux_dir"; then | 1727 | 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 | 1728 | { { echo "$as_me:1728: 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;} | 1729 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2203 | { (exit 1); exit 1; }; } | 1730 | { (exit 1); exit 1; }; } |
2204 | fi | 1731 | fi |
@@ -2208,11 +1735,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | |||
2208 | 1735 | ||
2209 | # Make sure we can run config.sub. | 1736 | # Make sure we can run config.sub. |
2210 | $ac_config_sub sun4 >/dev/null 2>&1 || | 1737 | $ac_config_sub sun4 >/dev/null 2>&1 || |
2211 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 1738 | { { echo "$as_me:1738: error: cannot run $ac_config_sub" >&5 |
2212 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 1739 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
2213 | { (exit 1); exit 1; }; } | 1740 | { (exit 1); exit 1; }; } |
2214 | 1741 | ||
2215 | echo "$as_me:$LINENO: checking build system type" >&5 | 1742 | echo "$as_me:1742: checking build system type" >&5 |
2216 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 1743 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
2217 | if test "${ac_cv_build+set}" = set; then | 1744 | if test "${ac_cv_build+set}" = set; then |
2218 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1745 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2221,24 +1748,23 @@ else | |||
2221 | test -z "$ac_cv_build_alias" && | 1748 | test -z "$ac_cv_build_alias" && |
2222 | ac_cv_build_alias=`$ac_config_guess` | 1749 | ac_cv_build_alias=`$ac_config_guess` |
2223 | test -z "$ac_cv_build_alias" && | 1750 | test -z "$ac_cv_build_alias" && |
2224 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 1751 | { { echo "$as_me:1751: error: cannot guess build type; you must specify one" >&5 |
2225 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 1752 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
2226 | { (exit 1); exit 1; }; } | 1753 | { (exit 1); exit 1; }; } |
2227 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 1754 | 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 | 1755 | { { echo "$as_me:1755: error: $ac_config_sub $ac_cv_build_alias failed." >&5 |
2229 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 1756 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} |
2230 | { (exit 1); exit 1; }; } | 1757 | { (exit 1); exit 1; }; } |
2231 | 1758 | ||
2232 | fi | 1759 | fi |
2233 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 1760 | echo "$as_me:1760: result: $ac_cv_build" >&5 |
2234 | echo "${ECHO_T}$ac_cv_build" >&6 | 1761 | echo "${ECHO_T}$ac_cv_build" >&6 |
2235 | build=$ac_cv_build | 1762 | build=$ac_cv_build |
2236 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1763 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2237 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1764 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2238 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1765 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2239 | 1766 | ||
2240 | 1767 | echo "$as_me:1767: checking host system type" >&5 | |
2241 | echo "$as_me:$LINENO: checking host system type" >&5 | ||
2242 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 1768 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
2243 | if test "${ac_cv_host+set}" = set; then | 1769 | if test "${ac_cv_host+set}" = set; then |
2244 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1770 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2247,33 +1773,28 @@ else | |||
2247 | test -z "$ac_cv_host_alias" && | 1773 | test -z "$ac_cv_host_alias" && |
2248 | ac_cv_host_alias=$ac_cv_build_alias | 1774 | ac_cv_host_alias=$ac_cv_build_alias |
2249 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 1775 | 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 | 1776 | { { echo "$as_me:1776: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
2251 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 1777 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
2252 | { (exit 1); exit 1; }; } | 1778 | { (exit 1); exit 1; }; } |
2253 | 1779 | ||
2254 | fi | 1780 | fi |
2255 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 1781 | echo "$as_me:1781: result: $ac_cv_host" >&5 |
2256 | echo "${ECHO_T}$ac_cv_host" >&6 | 1782 | echo "${ECHO_T}$ac_cv_host" >&6 |
2257 | host=$ac_cv_host | 1783 | host=$ac_cv_host |
2258 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 1784 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
2259 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 1785 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
2260 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 1786 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
2261 | 1787 | ||
2262 | 1788 | echo "$as_me:1788: checking whether byte ordering is bigendian" >&5 | |
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 | 1789 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
2266 | if test "${ac_cv_c_bigendian+set}" = set; then | 1790 | if test "${ac_cv_c_bigendian+set}" = set; then |
2267 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 1791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2268 | else | 1792 | else |
2269 | # See if sys/param.h defines the BYTE_ORDER macro. | 1793 | ac_cv_c_bigendian=unknown |
1794 | # See if sys/param.h defines the BYTE_ORDER macro. | ||
2270 | cat >conftest.$ac_ext <<_ACEOF | 1795 | cat >conftest.$ac_ext <<_ACEOF |
2271 | #line $LINENO "configure" | 1796 | #line 1796 "configure" |
2272 | /* confdefs.h. */ | 1797 | #include "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> | 1798 | #include <sys/types.h> |
2278 | #include <sys/param.h> | 1799 | #include <sys/param.h> |
2279 | 1800 | ||
@@ -2289,25 +1810,21 @@ main () | |||
2289 | } | 1810 | } |
2290 | _ACEOF | 1811 | _ACEOF |
2291 | rm -f conftest.$ac_objext | 1812 | rm -f conftest.$ac_objext |
2292 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1813 | if { (eval echo "$as_me:1813: \"$ac_compile\"") >&5 |
2293 | (eval $ac_compile) 2>&5 | 1814 | (eval $ac_compile) 2>&5 |
2294 | ac_status=$? | 1815 | ac_status=$? |
2295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1816 | echo "$as_me:1816: \$? = $ac_status" >&5 |
2296 | (exit $ac_status); } && | 1817 | (exit $ac_status); } && |
2297 | { ac_try='test -s conftest.$ac_objext' | 1818 | { ac_try='test -s conftest.$ac_objext' |
2298 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1819 | { (eval echo "$as_me:1819: \"$ac_try\"") >&5 |
2299 | (eval $ac_try) 2>&5 | 1820 | (eval $ac_try) 2>&5 |
2300 | ac_status=$? | 1821 | ac_status=$? |
2301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1822 | echo "$as_me:1822: \$? = $ac_status" >&5 |
2302 | (exit $ac_status); }; }; then | 1823 | (exit $ac_status); }; }; then |
2303 | # It does; now see whether it defined to BIG_ENDIAN or not. | 1824 | # It does; now see whether it defined to BIG_ENDIAN or not. |
2304 | cat >conftest.$ac_ext <<_ACEOF | 1825 | cat >conftest.$ac_ext <<_ACEOF |
2305 | #line $LINENO "configure" | 1826 | #line 1826 "configure" |
2306 | /* confdefs.h. */ | 1827 | #include "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> | 1828 | #include <sys/types.h> |
2312 | #include <sys/param.h> | 1829 | #include <sys/param.h> |
2313 | 1830 | ||
@@ -2323,91 +1840,38 @@ main () | |||
2323 | } | 1840 | } |
2324 | _ACEOF | 1841 | _ACEOF |
2325 | rm -f conftest.$ac_objext | 1842 | rm -f conftest.$ac_objext |
2326 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 1843 | if { (eval echo "$as_me:1843: \"$ac_compile\"") >&5 |
2327 | (eval $ac_compile) 2>&5 | 1844 | (eval $ac_compile) 2>&5 |
2328 | ac_status=$? | 1845 | ac_status=$? |
2329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1846 | echo "$as_me:1846: \$? = $ac_status" >&5 |
2330 | (exit $ac_status); } && | 1847 | (exit $ac_status); } && |
2331 | { ac_try='test -s conftest.$ac_objext' | 1848 | { ac_try='test -s conftest.$ac_objext' |
2332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1849 | { (eval echo "$as_me:1849: \"$ac_try\"") >&5 |
2333 | (eval $ac_try) 2>&5 | 1850 | (eval $ac_try) 2>&5 |
2334 | ac_status=$? | 1851 | ac_status=$? |
2335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1852 | echo "$as_me:1852: \$? = $ac_status" >&5 |
2336 | (exit $ac_status); }; }; then | 1853 | (exit $ac_status); }; }; then |
2337 | ac_cv_c_bigendian=yes | 1854 | ac_cv_c_bigendian=yes |
2338 | else | 1855 | else |
2339 | echo "$as_me: failed program was:" >&5 | 1856 | echo "$as_me: failed program was:" >&5 |
2340 | sed 's/^/| /' conftest.$ac_ext >&5 | 1857 | cat conftest.$ac_ext >&5 |
2341 | |||
2342 | ac_cv_c_bigendian=no | 1858 | ac_cv_c_bigendian=no |
2343 | fi | 1859 | fi |
2344 | rm -f conftest.$ac_objext conftest.$ac_ext | 1860 | rm -f conftest.$ac_objext conftest.$ac_ext |
2345 | else | 1861 | else |
2346 | echo "$as_me: failed program was:" >&5 | 1862 | echo "$as_me: failed program was:" >&5 |
2347 | sed 's/^/| /' conftest.$ac_ext >&5 | 1863 | cat 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 | 1864 | fi |
2402 | rm -f conftest.$ac_objext conftest.$ac_ext | 1865 | rm -f conftest.$ac_objext conftest.$ac_ext |
1866 | if test $ac_cv_c_bigendian = unknown; then | ||
1867 | if test "$cross_compiling" = yes; then | ||
1868 | { { echo "$as_me:1868: error: cannot run test program while cross compiling" >&5 | ||
1869 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
1870 | { (exit 1); exit 1; }; } | ||
2403 | else | 1871 | else |
2404 | cat >conftest.$ac_ext <<_ACEOF | 1872 | cat >conftest.$ac_ext <<_ACEOF |
2405 | #line $LINENO "configure" | 1873 | #line 1873 "configure" |
2406 | /* confdefs.h. */ | 1874 | #include "confdefs.h" |
2407 | _ACEOF | ||
2408 | cat confdefs.h >>conftest.$ac_ext | ||
2409 | cat >>conftest.$ac_ext <<_ACEOF | ||
2410 | /* end confdefs.h. */ | ||
2411 | int | 1875 | int |
2412 | main () | 1876 | main () |
2413 | { | 1877 | { |
@@ -2422,57 +1886,81 @@ main () | |||
2422 | } | 1886 | } |
2423 | _ACEOF | 1887 | _ACEOF |
2424 | rm -f conftest$ac_exeext | 1888 | rm -f conftest$ac_exeext |
2425 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 1889 | if { (eval echo "$as_me:1889: \"$ac_link\"") >&5 |
2426 | (eval $ac_link) 2>&5 | 1890 | (eval $ac_link) 2>&5 |
2427 | ac_status=$? | 1891 | ac_status=$? |
2428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1892 | echo "$as_me:1892: \$? = $ac_status" >&5 |
2429 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 1893 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
2430 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 1894 | { (eval echo "$as_me:1894: \"$ac_try\"") >&5 |
2431 | (eval $ac_try) 2>&5 | 1895 | (eval $ac_try) 2>&5 |
2432 | ac_status=$? | 1896 | ac_status=$? |
2433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1897 | echo "$as_me:1897: \$? = $ac_status" >&5 |
2434 | (exit $ac_status); }; }; then | 1898 | (exit $ac_status); }; }; then |
2435 | ac_cv_c_bigendian=no | 1899 | ac_cv_c_bigendian=no |
2436 | else | 1900 | else |
2437 | echo "$as_me: program exited with status $ac_status" >&5 | 1901 | echo "$as_me: program exited with status $ac_status" >&5 |
2438 | echo "$as_me: failed program was:" >&5 | 1902 | echo "$as_me: failed program was:" >&5 |
2439 | sed 's/^/| /' conftest.$ac_ext >&5 | 1903 | cat conftest.$ac_ext >&5 |
2440 | |||
2441 | ( exit $ac_status ) | ||
2442 | ac_cv_c_bigendian=yes | 1904 | ac_cv_c_bigendian=yes |
2443 | fi | 1905 | fi |
2444 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 1906 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2445 | fi | 1907 | fi |
2446 | fi | 1908 | fi |
2447 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
2448 | fi | 1909 | fi |
2449 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 1910 | echo "$as_me:1910: result: $ac_cv_c_bigendian" >&5 |
2450 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 1911 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
2451 | case $ac_cv_c_bigendian in | 1912 | if test $ac_cv_c_bigendian = yes; then |
2452 | yes) | ||
2453 | 1913 | ||
2454 | cat >>confdefs.h <<\_ACEOF | 1914 | cat >>confdefs.h <<\EOF |
2455 | #define WORDS_BIGENDIAN 1 | 1915 | #define WORDS_BIGENDIAN 1 |
2456 | _ACEOF | 1916 | EOF |
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 | 1917 | ||
1918 | fi | ||
2468 | 1919 | ||
2469 | # Checks for programs. | 1920 | # Checks for programs. |
1921 | for ac_prog in mawk gawk nawk awk | ||
1922 | do | ||
1923 | # Extract the first word of "$ac_prog", so it can be a program name with args. | ||
1924 | set dummy $ac_prog; ac_word=$2 | ||
1925 | echo "$as_me:1925: checking for $ac_word" >&5 | ||
1926 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | ||
1927 | if test "${ac_cv_prog_AWK+set}" = set; then | ||
1928 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
1929 | else | ||
1930 | if test -n "$AWK"; then | ||
1931 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | ||
1932 | else | ||
1933 | ac_save_IFS=$IFS; IFS=$ac_path_separator | ||
1934 | ac_dummy="$PATH" | ||
1935 | for ac_dir in $ac_dummy; do | ||
1936 | IFS=$ac_save_IFS | ||
1937 | test -z "$ac_dir" && ac_dir=. | ||
1938 | $as_executable_p "$ac_dir/$ac_word" || continue | ||
1939 | ac_cv_prog_AWK="$ac_prog" | ||
1940 | echo "$as_me:1940: found $ac_dir/$ac_word" >&5 | ||
1941 | break | ||
1942 | done | ||
1943 | |||
1944 | fi | ||
1945 | fi | ||
1946 | AWK=$ac_cv_prog_AWK | ||
1947 | if test -n "$AWK"; then | ||
1948 | echo "$as_me:1948: result: $AWK" >&5 | ||
1949 | echo "${ECHO_T}$AWK" >&6 | ||
1950 | else | ||
1951 | echo "$as_me:1951: result: no" >&5 | ||
1952 | echo "${ECHO_T}no" >&6 | ||
1953 | fi | ||
1954 | |||
1955 | test -n "$AWK" && break | ||
1956 | done | ||
1957 | |||
2470 | ac_ext=c | 1958 | ac_ext=c |
2471 | ac_cpp='$CPP $CPPFLAGS' | 1959 | ac_cpp='$CPP $CPPFLAGS' |
2472 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1960 | 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' | 1961 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2474 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1962 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2475 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 1963 | echo "$as_me:1963: checking how to run the C preprocessor" >&5 |
2476 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 1964 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
2477 | # On Suns, sometimes $CPP names a directory. | 1965 | # On Suns, sometimes $CPP names a directory. |
2478 | if test -n "$CPP" && test -d "$CPP"; then | 1966 | if test -n "$CPP" && test -d "$CPP"; then |
@@ -2490,31 +1978,21 @@ for ac_c_preproc_warn_flag in '' yes | |||
2490 | do | 1978 | do |
2491 | # Use a header file that comes with gcc, so configuring glibc | 1979 | # Use a header file that comes with gcc, so configuring glibc |
2492 | # with a fresh cross-compiler works. | 1980 | # 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, | 1981 | # 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. | 1982 | # not just through cpp. "Syntax error" is here to catch this case. |
2497 | cat >conftest.$ac_ext <<_ACEOF | 1983 | cat >conftest.$ac_ext <<_ACEOF |
2498 | #line $LINENO "configure" | 1984 | #line 1984 "configure" |
2499 | /* confdefs.h. */ | 1985 | #include "confdefs.h" |
2500 | _ACEOF | 1986 | #include <assert.h> |
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 | 1987 | Syntax error |
2510 | _ACEOF | 1988 | _ACEOF |
2511 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 1989 | if { (eval echo "$as_me:1989: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2512 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 1990 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2513 | ac_status=$? | 1991 | ac_status=$? |
2514 | grep -v '^ *+' conftest.er1 >conftest.err | 1992 | egrep -v '^ *\+' conftest.er1 >conftest.err |
2515 | rm -f conftest.er1 | 1993 | rm -f conftest.er1 |
2516 | cat conftest.err >&5 | 1994 | cat conftest.err >&5 |
2517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 1995 | echo "$as_me:1995: \$? = $ac_status" >&5 |
2518 | (exit $ac_status); } >/dev/null; then | 1996 | (exit $ac_status); } >/dev/null; then |
2519 | if test -s conftest.err; then | 1997 | if test -s conftest.err; then |
2520 | ac_cpp_err=$ac_c_preproc_warn_flag | 1998 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -2528,8 +2006,7 @@ if test -z "$ac_cpp_err"; then | |||
2528 | : | 2006 | : |
2529 | else | 2007 | else |
2530 | echo "$as_me: failed program was:" >&5 | 2008 | echo "$as_me: failed program was:" >&5 |
2531 | sed 's/^/| /' conftest.$ac_ext >&5 | 2009 | cat conftest.$ac_ext >&5 |
2532 | |||
2533 | # Broken: fails on valid input. | 2010 | # Broken: fails on valid input. |
2534 | continue | 2011 | continue |
2535 | fi | 2012 | fi |
@@ -2538,21 +2015,17 @@ rm -f conftest.err conftest.$ac_ext | |||
2538 | # OK, works on sane cases. Now check whether non-existent headers | 2015 | # OK, works on sane cases. Now check whether non-existent headers |
2539 | # can be detected and how. | 2016 | # can be detected and how. |
2540 | cat >conftest.$ac_ext <<_ACEOF | 2017 | cat >conftest.$ac_ext <<_ACEOF |
2541 | #line $LINENO "configure" | 2018 | #line 2018 "configure" |
2542 | /* confdefs.h. */ | 2019 | #include "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> | 2020 | #include <ac_nonexistent.h> |
2548 | _ACEOF | 2021 | _ACEOF |
2549 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2022 | if { (eval echo "$as_me:2022: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2550 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2023 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2551 | ac_status=$? | 2024 | ac_status=$? |
2552 | grep -v '^ *+' conftest.er1 >conftest.err | 2025 | egrep -v '^ *\+' conftest.er1 >conftest.err |
2553 | rm -f conftest.er1 | 2026 | rm -f conftest.er1 |
2554 | cat conftest.err >&5 | 2027 | cat conftest.err >&5 |
2555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2028 | echo "$as_me:2028: \$? = $ac_status" >&5 |
2556 | (exit $ac_status); } >/dev/null; then | 2029 | (exit $ac_status); } >/dev/null; then |
2557 | if test -s conftest.err; then | 2030 | if test -s conftest.err; then |
2558 | ac_cpp_err=$ac_c_preproc_warn_flag | 2031 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -2567,8 +2040,7 @@ if test -z "$ac_cpp_err"; then | |||
2567 | continue | 2040 | continue |
2568 | else | 2041 | else |
2569 | echo "$as_me: failed program was:" >&5 | 2042 | echo "$as_me: failed program was:" >&5 |
2570 | sed 's/^/| /' conftest.$ac_ext >&5 | 2043 | cat conftest.$ac_ext >&5 |
2571 | |||
2572 | # Passes both tests. | 2044 | # Passes both tests. |
2573 | ac_preproc_ok=: | 2045 | ac_preproc_ok=: |
2574 | break | 2046 | break |
@@ -2590,38 +2062,28 @@ fi | |||
2590 | else | 2062 | else |
2591 | ac_cv_prog_CPP=$CPP | 2063 | ac_cv_prog_CPP=$CPP |
2592 | fi | 2064 | fi |
2593 | echo "$as_me:$LINENO: result: $CPP" >&5 | 2065 | echo "$as_me:2065: result: $CPP" >&5 |
2594 | echo "${ECHO_T}$CPP" >&6 | 2066 | echo "${ECHO_T}$CPP" >&6 |
2595 | ac_preproc_ok=false | 2067 | ac_preproc_ok=false |
2596 | for ac_c_preproc_warn_flag in '' yes | 2068 | for ac_c_preproc_warn_flag in '' yes |
2597 | do | 2069 | do |
2598 | # Use a header file that comes with gcc, so configuring glibc | 2070 | # Use a header file that comes with gcc, so configuring glibc |
2599 | # with a fresh cross-compiler works. | 2071 | # 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, | 2072 | # 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. | 2073 | # not just through cpp. "Syntax error" is here to catch this case. |
2604 | cat >conftest.$ac_ext <<_ACEOF | 2074 | cat >conftest.$ac_ext <<_ACEOF |
2605 | #line $LINENO "configure" | 2075 | #line 2075 "configure" |
2606 | /* confdefs.h. */ | 2076 | #include "confdefs.h" |
2607 | _ACEOF | 2077 | #include <assert.h> |
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 | 2078 | Syntax error |
2617 | _ACEOF | 2079 | _ACEOF |
2618 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2080 | if { (eval echo "$as_me:2080: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2619 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2081 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2620 | ac_status=$? | 2082 | ac_status=$? |
2621 | grep -v '^ *+' conftest.er1 >conftest.err | 2083 | egrep -v '^ *\+' conftest.er1 >conftest.err |
2622 | rm -f conftest.er1 | 2084 | rm -f conftest.er1 |
2623 | cat conftest.err >&5 | 2085 | cat conftest.err >&5 |
2624 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2086 | echo "$as_me:2086: \$? = $ac_status" >&5 |
2625 | (exit $ac_status); } >/dev/null; then | 2087 | (exit $ac_status); } >/dev/null; then |
2626 | if test -s conftest.err; then | 2088 | if test -s conftest.err; then |
2627 | ac_cpp_err=$ac_c_preproc_warn_flag | 2089 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -2635,8 +2097,7 @@ if test -z "$ac_cpp_err"; then | |||
2635 | : | 2097 | : |
2636 | else | 2098 | else |
2637 | echo "$as_me: failed program was:" >&5 | 2099 | echo "$as_me: failed program was:" >&5 |
2638 | sed 's/^/| /' conftest.$ac_ext >&5 | 2100 | cat conftest.$ac_ext >&5 |
2639 | |||
2640 | # Broken: fails on valid input. | 2101 | # Broken: fails on valid input. |
2641 | continue | 2102 | continue |
2642 | fi | 2103 | fi |
@@ -2645,21 +2106,17 @@ rm -f conftest.err conftest.$ac_ext | |||
2645 | # OK, works on sane cases. Now check whether non-existent headers | 2106 | # OK, works on sane cases. Now check whether non-existent headers |
2646 | # can be detected and how. | 2107 | # can be detected and how. |
2647 | cat >conftest.$ac_ext <<_ACEOF | 2108 | cat >conftest.$ac_ext <<_ACEOF |
2648 | #line $LINENO "configure" | 2109 | #line 2109 "configure" |
2649 | /* confdefs.h. */ | 2110 | #include "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> | 2111 | #include <ac_nonexistent.h> |
2655 | _ACEOF | 2112 | _ACEOF |
2656 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 2113 | if { (eval echo "$as_me:2113: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2657 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 2114 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2658 | ac_status=$? | 2115 | ac_status=$? |
2659 | grep -v '^ *+' conftest.er1 >conftest.err | 2116 | egrep -v '^ *\+' conftest.er1 >conftest.err |
2660 | rm -f conftest.er1 | 2117 | rm -f conftest.er1 |
2661 | cat conftest.err >&5 | 2118 | cat conftest.err >&5 |
2662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2119 | echo "$as_me:2119: \$? = $ac_status" >&5 |
2663 | (exit $ac_status); } >/dev/null; then | 2120 | (exit $ac_status); } >/dev/null; then |
2664 | if test -s conftest.err; then | 2121 | if test -s conftest.err; then |
2665 | ac_cpp_err=$ac_c_preproc_warn_flag | 2122 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -2674,8 +2131,7 @@ if test -z "$ac_cpp_err"; then | |||
2674 | continue | 2131 | continue |
2675 | else | 2132 | else |
2676 | echo "$as_me: failed program was:" >&5 | 2133 | echo "$as_me: failed program was:" >&5 |
2677 | sed 's/^/| /' conftest.$ac_ext >&5 | 2134 | cat conftest.$ac_ext >&5 |
2678 | |||
2679 | # Passes both tests. | 2135 | # Passes both tests. |
2680 | ac_preproc_ok=: | 2136 | ac_preproc_ok=: |
2681 | break | 2137 | break |
@@ -2688,10 +2144,8 @@ rm -f conftest.err conftest.$ac_ext | |||
2688 | if $ac_preproc_ok; then | 2144 | if $ac_preproc_ok; then |
2689 | : | 2145 | : |
2690 | else | 2146 | else |
2691 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 2147 | { { echo "$as_me:2147: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
2692 | See \`config.log' for more details." >&5 | 2148 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
2693 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | ||
2694 | See \`config.log' for more details." >&2;} | ||
2695 | { (exit 1); exit 1; }; } | 2149 | { (exit 1); exit 1; }; } |
2696 | fi | 2150 | fi |
2697 | 2151 | ||
@@ -2704,7 +2158,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
2704 | if test -n "$ac_tool_prefix"; then | 2158 | 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. | 2159 | # 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 | 2160 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
2707 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2161 | echo "$as_me:2161: checking for $ac_word" >&5 |
2708 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2162 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2709 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 2163 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
2710 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2712,28 +2166,25 @@ else | |||
2712 | if test -n "$RANLIB"; then | 2166 | if test -n "$RANLIB"; then |
2713 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2167 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2714 | else | 2168 | else |
2715 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2169 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2716 | for as_dir in $PATH | 2170 | ac_dummy="$PATH" |
2717 | do | 2171 | for ac_dir in $ac_dummy; do |
2718 | IFS=$as_save_IFS | 2172 | IFS=$ac_save_IFS |
2719 | test -z "$as_dir" && as_dir=. | 2173 | test -z "$ac_dir" && ac_dir=. |
2720 | for ac_exec_ext in '' $ac_executable_extensions; do | 2174 | $as_executable_p "$ac_dir/$ac_word" || continue |
2721 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2175 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
2722 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 2176 | echo "$as_me:2176: found $ac_dir/$ac_word" >&5 |
2723 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2177 | break |
2724 | break 2 | ||
2725 | fi | ||
2726 | done | ||
2727 | done | 2178 | done |
2728 | 2179 | ||
2729 | fi | 2180 | fi |
2730 | fi | 2181 | fi |
2731 | RANLIB=$ac_cv_prog_RANLIB | 2182 | RANLIB=$ac_cv_prog_RANLIB |
2732 | if test -n "$RANLIB"; then | 2183 | if test -n "$RANLIB"; then |
2733 | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 2184 | echo "$as_me:2184: result: $RANLIB" >&5 |
2734 | echo "${ECHO_T}$RANLIB" >&6 | 2185 | echo "${ECHO_T}$RANLIB" >&6 |
2735 | else | 2186 | else |
2736 | echo "$as_me:$LINENO: result: no" >&5 | 2187 | echo "$as_me:2187: result: no" >&5 |
2737 | echo "${ECHO_T}no" >&6 | 2188 | echo "${ECHO_T}no" >&6 |
2738 | fi | 2189 | fi |
2739 | 2190 | ||
@@ -2742,7 +2193,7 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
2742 | ac_ct_RANLIB=$RANLIB | 2193 | ac_ct_RANLIB=$RANLIB |
2743 | # Extract the first word of "ranlib", so it can be a program name with args. | 2194 | # Extract the first word of "ranlib", so it can be a program name with args. |
2744 | set dummy ranlib; ac_word=$2 | 2195 | set dummy ranlib; ac_word=$2 |
2745 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2196 | echo "$as_me:2196: checking for $ac_word" >&5 |
2746 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2197 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2747 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 2198 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
2748 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2750,18 +2201,15 @@ else | |||
2750 | if test -n "$ac_ct_RANLIB"; then | 2201 | if test -n "$ac_ct_RANLIB"; then |
2751 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 2202 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
2752 | else | 2203 | else |
2753 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2204 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2754 | for as_dir in $PATH | 2205 | ac_dummy="$PATH" |
2755 | do | 2206 | for ac_dir in $ac_dummy; do |
2756 | IFS=$as_save_IFS | 2207 | IFS=$ac_save_IFS |
2757 | test -z "$as_dir" && as_dir=. | 2208 | test -z "$ac_dir" && ac_dir=. |
2758 | for ac_exec_ext in '' $ac_executable_extensions; do | 2209 | $as_executable_p "$ac_dir/$ac_word" || continue |
2759 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2210 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
2760 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 2211 | echo "$as_me:2211: found $ac_dir/$ac_word" >&5 |
2761 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2212 | break |
2762 | break 2 | ||
2763 | fi | ||
2764 | done | ||
2765 | done | 2213 | done |
2766 | 2214 | ||
2767 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 2215 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
@@ -2769,10 +2217,10 @@ fi | |||
2769 | fi | 2217 | fi |
2770 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 2218 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
2771 | if test -n "$ac_ct_RANLIB"; then | 2219 | if test -n "$ac_ct_RANLIB"; then |
2772 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 2220 | echo "$as_me:2220: result: $ac_ct_RANLIB" >&5 |
2773 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 2221 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
2774 | else | 2222 | else |
2775 | echo "$as_me:$LINENO: result: no" >&5 | 2223 | echo "$as_me:2223: result: no" >&5 |
2776 | echo "${ECHO_T}no" >&6 | 2224 | echo "${ECHO_T}no" >&6 |
2777 | fi | 2225 | fi |
2778 | 2226 | ||
@@ -2793,48 +2241,43 @@ fi | |||
2793 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2241 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2794 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2242 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2795 | # ./install, which can be erroneously created by make from ./install.sh. | 2243 | # ./install, which can be erroneously created by make from ./install.sh. |
2796 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 2244 | echo "$as_me:2244: checking for a BSD compatible install" >&5 |
2797 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 2245 | echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 |
2798 | if test -z "$INSTALL"; then | 2246 | if test -z "$INSTALL"; then |
2799 | if test "${ac_cv_path_install+set}" = set; then | 2247 | if test "${ac_cv_path_install+set}" = set; then |
2800 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2248 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2801 | else | 2249 | else |
2802 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2250 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2803 | for as_dir in $PATH | 2251 | for ac_dir in $PATH; do |
2804 | do | 2252 | IFS=$ac_save_IFS |
2805 | IFS=$as_save_IFS | 2253 | # Account for people who put trailing slashes in PATH elements. |
2806 | test -z "$as_dir" && as_dir=. | 2254 | case $ac_dir/ in |
2807 | # Account for people who put trailing slashes in PATH elements. | 2255 | / | ./ | .// | /cC/* \ |
2808 | case $as_dir/ in | 2256 | | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ |
2809 | ./ | .// | /cC/* | \ | 2257 | | /usr/ucb/* ) ;; |
2810 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2258 | *) |
2811 | /usr/ucb/* ) ;; | 2259 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2812 | *) | 2260 | # Don't use installbsd from OSF since it installs stuff as root |
2813 | # OSF1 and SCO ODT 3.0 have their own names for install. | 2261 | # by default. |
2814 | # Don't use installbsd from OSF since it installs stuff as root | 2262 | for ac_prog in ginstall scoinst install; do |
2815 | # by default. | 2263 | if $as_executable_p "$ac_dir/$ac_prog"; then |
2816 | for ac_prog in ginstall scoinst install; do | 2264 | if test $ac_prog = install && |
2817 | for ac_exec_ext in '' $ac_executable_extensions; do | 2265 | grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
2818 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 2266 | # AIX install. It has an incompatible calling convention. |
2819 | if test $ac_prog = install && | 2267 | : |
2820 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2268 | elif test $ac_prog = install && |
2821 | # AIX install. It has an incompatible calling convention. | 2269 | grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then |
2822 | : | 2270 | # program-specific install script used by HP pwplus--don't use. |
2823 | elif test $ac_prog = install && | 2271 | : |
2824 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2272 | else |
2825 | # program-specific install script used by HP pwplus--don't use. | 2273 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
2826 | : | 2274 | break 2 |
2827 | else | 2275 | fi |
2828 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 2276 | fi |
2829 | break 3 | ||
2830 | fi | ||
2831 | fi | ||
2832 | done | 2277 | done |
2833 | done | 2278 | ;; |
2834 | ;; | 2279 | esac |
2835 | esac | 2280 | done |
2836 | done | ||
2837 | |||
2838 | 2281 | ||
2839 | fi | 2282 | fi |
2840 | if test "${ac_cv_path_install+set}" = set; then | 2283 | if test "${ac_cv_path_install+set}" = set; then |
@@ -2847,7 +2290,7 @@ fi | |||
2847 | INSTALL=$ac_install_sh | 2290 | INSTALL=$ac_install_sh |
2848 | fi | 2291 | fi |
2849 | fi | 2292 | fi |
2850 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 2293 | echo "$as_me:2293: result: $INSTALL" >&5 |
2851 | echo "${ECHO_T}$INSTALL" >&6 | 2294 | echo "${ECHO_T}$INSTALL" >&6 |
2852 | 2295 | ||
2853 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2296 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
@@ -2860,7 +2303,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | |||
2860 | 2303 | ||
2861 | # Extract the first word of "ar", so it can be a program name with args. | 2304 | # Extract the first word of "ar", so it can be a program name with args. |
2862 | set dummy ar; ac_word=$2 | 2305 | set dummy ar; ac_word=$2 |
2863 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2306 | echo "$as_me:2306: checking for $ac_word" >&5 |
2864 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2307 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2865 | if test "${ac_cv_path_AR+set}" = set; then | 2308 | if test "${ac_cv_path_AR+set}" = set; then |
2866 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2309 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2870,18 +2313,16 @@ else | |||
2870 | ac_cv_path_AR="$AR" # Let the user override the test with a path. | 2313 | ac_cv_path_AR="$AR" # Let the user override the test with a path. |
2871 | ;; | 2314 | ;; |
2872 | *) | 2315 | *) |
2873 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2316 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2874 | for as_dir in $PATH | 2317 | ac_dummy="$PATH" |
2875 | do | 2318 | for ac_dir in $ac_dummy; do |
2876 | IFS=$as_save_IFS | 2319 | IFS=$ac_save_IFS |
2877 | test -z "$as_dir" && as_dir=. | 2320 | test -z "$ac_dir" && ac_dir=. |
2878 | for ac_exec_ext in '' $ac_executable_extensions; do | 2321 | if $as_executable_p "$ac_dir/$ac_word"; then |
2879 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2322 | ac_cv_path_AR="$ac_dir/$ac_word" |
2880 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 2323 | echo "$as_me:2323: found $ac_dir/$ac_word" >&5 |
2881 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2324 | break |
2882 | break 2 | 2325 | fi |
2883 | fi | ||
2884 | done | ||
2885 | done | 2326 | done |
2886 | 2327 | ||
2887 | ;; | 2328 | ;; |
@@ -2890,10 +2331,10 @@ fi | |||
2890 | AR=$ac_cv_path_AR | 2331 | AR=$ac_cv_path_AR |
2891 | 2332 | ||
2892 | if test -n "$AR"; then | 2333 | if test -n "$AR"; then |
2893 | echo "$as_me:$LINENO: result: $AR" >&5 | 2334 | echo "$as_me:2334: result: $AR" >&5 |
2894 | echo "${ECHO_T}$AR" >&6 | 2335 | echo "${ECHO_T}$AR" >&6 |
2895 | else | 2336 | else |
2896 | echo "$as_me:$LINENO: result: no" >&5 | 2337 | echo "$as_me:2337: result: no" >&5 |
2897 | echo "${ECHO_T}no" >&6 | 2338 | echo "${ECHO_T}no" >&6 |
2898 | fi | 2339 | fi |
2899 | 2340 | ||
@@ -2901,7 +2342,7 @@ for ac_prog in perl5 perl | |||
2901 | do | 2342 | do |
2902 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2343 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2903 | set dummy $ac_prog; ac_word=$2 | 2344 | set dummy $ac_prog; ac_word=$2 |
2904 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2345 | echo "$as_me:2345: checking for $ac_word" >&5 |
2905 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2346 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2906 | if test "${ac_cv_path_PERL+set}" = set; then | 2347 | if test "${ac_cv_path_PERL+set}" = set; then |
2907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2348 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2911,18 +2352,16 @@ else | |||
2911 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. | 2352 | ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
2912 | ;; | 2353 | ;; |
2913 | *) | 2354 | *) |
2914 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2355 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2915 | for as_dir in $PATH | 2356 | ac_dummy="$PATH" |
2916 | do | 2357 | for ac_dir in $ac_dummy; do |
2917 | IFS=$as_save_IFS | 2358 | IFS=$ac_save_IFS |
2918 | test -z "$as_dir" && as_dir=. | 2359 | test -z "$ac_dir" && ac_dir=. |
2919 | for ac_exec_ext in '' $ac_executable_extensions; do | 2360 | if $as_executable_p "$ac_dir/$ac_word"; then |
2920 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2361 | ac_cv_path_PERL="$ac_dir/$ac_word" |
2921 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | 2362 | echo "$as_me:2362: found $ac_dir/$ac_word" >&5 |
2922 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2363 | break |
2923 | break 2 | 2364 | fi |
2924 | fi | ||
2925 | done | ||
2926 | done | 2365 | done |
2927 | 2366 | ||
2928 | ;; | 2367 | ;; |
@@ -2931,10 +2370,10 @@ fi | |||
2931 | PERL=$ac_cv_path_PERL | 2370 | PERL=$ac_cv_path_PERL |
2932 | 2371 | ||
2933 | if test -n "$PERL"; then | 2372 | if test -n "$PERL"; then |
2934 | echo "$as_me:$LINENO: result: $PERL" >&5 | 2373 | echo "$as_me:2373: result: $PERL" >&5 |
2935 | echo "${ECHO_T}$PERL" >&6 | 2374 | echo "${ECHO_T}$PERL" >&6 |
2936 | else | 2375 | else |
2937 | echo "$as_me:$LINENO: result: no" >&5 | 2376 | echo "$as_me:2376: result: no" >&5 |
2938 | echo "${ECHO_T}no" >&6 | 2377 | echo "${ECHO_T}no" >&6 |
2939 | fi | 2378 | fi |
2940 | 2379 | ||
@@ -2943,7 +2382,7 @@ done | |||
2943 | 2382 | ||
2944 | # Extract the first word of "sed", so it can be a program name with args. | 2383 | # Extract the first word of "sed", so it can be a program name with args. |
2945 | set dummy sed; ac_word=$2 | 2384 | set dummy sed; ac_word=$2 |
2946 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2385 | echo "$as_me:2385: checking for $ac_word" >&5 |
2947 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2386 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2948 | if test "${ac_cv_path_SED+set}" = set; then | 2387 | if test "${ac_cv_path_SED+set}" = set; then |
2949 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2388 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2953,18 +2392,16 @@ else | |||
2953 | ac_cv_path_SED="$SED" # Let the user override the test with a path. | 2392 | ac_cv_path_SED="$SED" # Let the user override the test with a path. |
2954 | ;; | 2393 | ;; |
2955 | *) | 2394 | *) |
2956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2395 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2957 | for as_dir in $PATH | 2396 | ac_dummy="$PATH" |
2958 | do | 2397 | for ac_dir in $ac_dummy; do |
2959 | IFS=$as_save_IFS | 2398 | IFS=$ac_save_IFS |
2960 | test -z "$as_dir" && as_dir=. | 2399 | test -z "$ac_dir" && ac_dir=. |
2961 | for ac_exec_ext in '' $ac_executable_extensions; do | 2400 | if $as_executable_p "$ac_dir/$ac_word"; then |
2962 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2401 | ac_cv_path_SED="$ac_dir/$ac_word" |
2963 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 2402 | echo "$as_me:2402: found $ac_dir/$ac_word" >&5 |
2964 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2403 | break |
2965 | break 2 | 2404 | fi |
2966 | fi | ||
2967 | done | ||
2968 | done | 2405 | done |
2969 | 2406 | ||
2970 | ;; | 2407 | ;; |
@@ -2973,17 +2410,16 @@ fi | |||
2973 | SED=$ac_cv_path_SED | 2410 | SED=$ac_cv_path_SED |
2974 | 2411 | ||
2975 | if test -n "$SED"; then | 2412 | if test -n "$SED"; then |
2976 | echo "$as_me:$LINENO: result: $SED" >&5 | 2413 | echo "$as_me:2413: result: $SED" >&5 |
2977 | echo "${ECHO_T}$SED" >&6 | 2414 | echo "${ECHO_T}$SED" >&6 |
2978 | else | 2415 | else |
2979 | echo "$as_me:$LINENO: result: no" >&5 | 2416 | echo "$as_me:2416: result: no" >&5 |
2980 | echo "${ECHO_T}no" >&6 | 2417 | echo "${ECHO_T}no" >&6 |
2981 | fi | 2418 | fi |
2982 | 2419 | ||
2983 | |||
2984 | # Extract the first word of "ent", so it can be a program name with args. | 2420 | # Extract the first word of "ent", so it can be a program name with args. |
2985 | set dummy ent; ac_word=$2 | 2421 | set dummy ent; ac_word=$2 |
2986 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2422 | echo "$as_me:2422: checking for $ac_word" >&5 |
2987 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2423 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2988 | if test "${ac_cv_path_ENT+set}" = set; then | 2424 | if test "${ac_cv_path_ENT+set}" = set; then |
2989 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2425 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -2993,18 +2429,16 @@ else | |||
2993 | ac_cv_path_ENT="$ENT" # Let the user override the test with a path. | 2429 | ac_cv_path_ENT="$ENT" # Let the user override the test with a path. |
2994 | ;; | 2430 | ;; |
2995 | *) | 2431 | *) |
2996 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2432 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
2997 | for as_dir in $PATH | 2433 | ac_dummy="$PATH" |
2998 | do | 2434 | for ac_dir in $ac_dummy; do |
2999 | IFS=$as_save_IFS | 2435 | IFS=$ac_save_IFS |
3000 | test -z "$as_dir" && as_dir=. | 2436 | test -z "$ac_dir" && ac_dir=. |
3001 | for ac_exec_ext in '' $ac_executable_extensions; do | 2437 | if $as_executable_p "$ac_dir/$ac_word"; then |
3002 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2438 | ac_cv_path_ENT="$ac_dir/$ac_word" |
3003 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" | 2439 | echo "$as_me:2439: found $ac_dir/$ac_word" >&5 |
3004 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2440 | break |
3005 | break 2 | 2441 | fi |
3006 | fi | ||
3007 | done | ||
3008 | done | 2442 | done |
3009 | 2443 | ||
3010 | ;; | 2444 | ;; |
@@ -3013,17 +2447,16 @@ fi | |||
3013 | ENT=$ac_cv_path_ENT | 2447 | ENT=$ac_cv_path_ENT |
3014 | 2448 | ||
3015 | if test -n "$ENT"; then | 2449 | if test -n "$ENT"; then |
3016 | echo "$as_me:$LINENO: result: $ENT" >&5 | 2450 | echo "$as_me:2450: result: $ENT" >&5 |
3017 | echo "${ECHO_T}$ENT" >&6 | 2451 | echo "${ECHO_T}$ENT" >&6 |
3018 | else | 2452 | else |
3019 | echo "$as_me:$LINENO: result: no" >&5 | 2453 | echo "$as_me:2453: result: no" >&5 |
3020 | echo "${ECHO_T}no" >&6 | 2454 | echo "${ECHO_T}no" >&6 |
3021 | fi | 2455 | fi |
3022 | 2456 | ||
3023 | |||
3024 | # Extract the first word of "bash", so it can be a program name with args. | 2457 | # Extract the first word of "bash", so it can be a program name with args. |
3025 | set dummy bash; ac_word=$2 | 2458 | set dummy bash; ac_word=$2 |
3026 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2459 | echo "$as_me:2459: checking for $ac_word" >&5 |
3027 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2460 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3028 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 2461 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
3029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2462 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3033,18 +2466,16 @@ else | |||
3033 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | 2466 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. |
3034 | ;; | 2467 | ;; |
3035 | *) | 2468 | *) |
3036 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2469 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
3037 | for as_dir in $PATH | 2470 | ac_dummy="$PATH" |
3038 | do | 2471 | for ac_dir in $ac_dummy; do |
3039 | IFS=$as_save_IFS | 2472 | IFS=$ac_save_IFS |
3040 | test -z "$as_dir" && as_dir=. | 2473 | test -z "$ac_dir" && ac_dir=. |
3041 | for ac_exec_ext in '' $ac_executable_extensions; do | 2474 | if $as_executable_p "$ac_dir/$ac_word"; then |
3042 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2475 | ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" |
3043 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 2476 | echo "$as_me:2476: found $ac_dir/$ac_word" >&5 |
3044 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2477 | break |
3045 | break 2 | 2478 | fi |
3046 | fi | ||
3047 | done | ||
3048 | done | 2479 | done |
3049 | 2480 | ||
3050 | ;; | 2481 | ;; |
@@ -3053,16 +2484,16 @@ fi | |||
3053 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 2484 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
3054 | 2485 | ||
3055 | if test -n "$TEST_MINUS_S_SH"; then | 2486 | if test -n "$TEST_MINUS_S_SH"; then |
3056 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 2487 | echo "$as_me:2487: result: $TEST_MINUS_S_SH" >&5 |
3057 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | 2488 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 |
3058 | else | 2489 | else |
3059 | echo "$as_me:$LINENO: result: no" >&5 | 2490 | echo "$as_me:2490: result: no" >&5 |
3060 | echo "${ECHO_T}no" >&6 | 2491 | echo "${ECHO_T}no" >&6 |
3061 | fi | 2492 | fi |
3062 | 2493 | ||
3063 | # Extract the first word of "ksh", so it can be a program name with args. | 2494 | # Extract the first word of "ksh", so it can be a program name with args. |
3064 | set dummy ksh; ac_word=$2 | 2495 | set dummy ksh; ac_word=$2 |
3065 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2496 | echo "$as_me:2496: checking for $ac_word" >&5 |
3066 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2497 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3067 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 2498 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
3068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2499 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3072,18 +2503,16 @@ else | |||
3072 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | 2503 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. |
3073 | ;; | 2504 | ;; |
3074 | *) | 2505 | *) |
3075 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2506 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
3076 | for as_dir in $PATH | 2507 | ac_dummy="$PATH" |
3077 | do | 2508 | for ac_dir in $ac_dummy; do |
3078 | IFS=$as_save_IFS | 2509 | IFS=$ac_save_IFS |
3079 | test -z "$as_dir" && as_dir=. | 2510 | test -z "$ac_dir" && ac_dir=. |
3080 | for ac_exec_ext in '' $ac_executable_extensions; do | 2511 | if $as_executable_p "$ac_dir/$ac_word"; then |
3081 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2512 | ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" |
3082 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 2513 | echo "$as_me:2513: found $ac_dir/$ac_word" >&5 |
3083 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2514 | break |
3084 | break 2 | 2515 | fi |
3085 | fi | ||
3086 | done | ||
3087 | done | 2516 | done |
3088 | 2517 | ||
3089 | ;; | 2518 | ;; |
@@ -3092,16 +2521,16 @@ fi | |||
3092 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 2521 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
3093 | 2522 | ||
3094 | if test -n "$TEST_MINUS_S_SH"; then | 2523 | if test -n "$TEST_MINUS_S_SH"; then |
3095 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 2524 | echo "$as_me:2524: result: $TEST_MINUS_S_SH" >&5 |
3096 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | 2525 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 |
3097 | else | 2526 | else |
3098 | echo "$as_me:$LINENO: result: no" >&5 | 2527 | echo "$as_me:2527: result: no" >&5 |
3099 | echo "${ECHO_T}no" >&6 | 2528 | echo "${ECHO_T}no" >&6 |
3100 | fi | 2529 | fi |
3101 | 2530 | ||
3102 | # Extract the first word of "sh", so it can be a program name with args. | 2531 | # Extract the first word of "sh", so it can be a program name with args. |
3103 | set dummy sh; ac_word=$2 | 2532 | set dummy sh; ac_word=$2 |
3104 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2533 | echo "$as_me:2533: checking for $ac_word" >&5 |
3105 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2534 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3106 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 2535 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
3107 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2536 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3111,18 +2540,16 @@ else | |||
3111 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. | 2540 | ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. |
3112 | ;; | 2541 | ;; |
3113 | *) | 2542 | *) |
3114 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2543 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
3115 | for as_dir in $PATH | 2544 | ac_dummy="$PATH" |
3116 | do | 2545 | for ac_dir in $ac_dummy; do |
3117 | IFS=$as_save_IFS | 2546 | IFS=$ac_save_IFS |
3118 | test -z "$as_dir" && as_dir=. | 2547 | test -z "$ac_dir" && ac_dir=. |
3119 | for ac_exec_ext in '' $ac_executable_extensions; do | 2548 | if $as_executable_p "$ac_dir/$ac_word"; then |
3120 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2549 | ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" |
3121 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 2550 | echo "$as_me:2550: found $ac_dir/$ac_word" >&5 |
3122 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2551 | break |
3123 | break 2 | 2552 | fi |
3124 | fi | ||
3125 | done | ||
3126 | done | 2553 | done |
3127 | 2554 | ||
3128 | ;; | 2555 | ;; |
@@ -3131,16 +2558,16 @@ fi | |||
3131 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 2558 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
3132 | 2559 | ||
3133 | if test -n "$TEST_MINUS_S_SH"; then | 2560 | if test -n "$TEST_MINUS_S_SH"; then |
3134 | echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 2561 | echo "$as_me:2561: result: $TEST_MINUS_S_SH" >&5 |
3135 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 | 2562 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 |
3136 | else | 2563 | else |
3137 | echo "$as_me:$LINENO: result: no" >&5 | 2564 | echo "$as_me:2564: result: no" >&5 |
3138 | echo "${ECHO_T}no" >&6 | 2565 | echo "${ECHO_T}no" >&6 |
3139 | fi | 2566 | fi |
3140 | 2567 | ||
3141 | # Extract the first word of "sh", so it can be a program name with args. | 2568 | # Extract the first word of "sh", so it can be a program name with args. |
3142 | set dummy sh; ac_word=$2 | 2569 | set dummy sh; ac_word=$2 |
3143 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2570 | echo "$as_me:2570: checking for $ac_word" >&5 |
3144 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2571 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3145 | if test "${ac_cv_path_SH+set}" = set; then | 2572 | if test "${ac_cv_path_SH+set}" = set; then |
3146 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2573 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3150,18 +2577,16 @@ else | |||
3150 | ac_cv_path_SH="$SH" # Let the user override the test with a path. | 2577 | ac_cv_path_SH="$SH" # Let the user override the test with a path. |
3151 | ;; | 2578 | ;; |
3152 | *) | 2579 | *) |
3153 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2580 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
3154 | for as_dir in $PATH | 2581 | ac_dummy="$PATH" |
3155 | do | 2582 | for ac_dir in $ac_dummy; do |
3156 | IFS=$as_save_IFS | 2583 | IFS=$ac_save_IFS |
3157 | test -z "$as_dir" && as_dir=. | 2584 | test -z "$ac_dir" && ac_dir=. |
3158 | for ac_exec_ext in '' $ac_executable_extensions; do | 2585 | if $as_executable_p "$ac_dir/$ac_word"; then |
3159 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2586 | ac_cv_path_SH="$ac_dir/$ac_word" |
3160 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" | 2587 | echo "$as_me:2587: found $ac_dir/$ac_word" >&5 |
3161 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2588 | break |
3162 | break 2 | 2589 | fi |
3163 | fi | ||
3164 | done | ||
3165 | done | 2590 | done |
3166 | 2591 | ||
3167 | ;; | 2592 | ;; |
@@ -3170,14 +2595,13 @@ fi | |||
3170 | SH=$ac_cv_path_SH | 2595 | SH=$ac_cv_path_SH |
3171 | 2596 | ||
3172 | if test -n "$SH"; then | 2597 | if test -n "$SH"; then |
3173 | echo "$as_me:$LINENO: result: $SH" >&5 | 2598 | echo "$as_me:2598: result: $SH" >&5 |
3174 | echo "${ECHO_T}$SH" >&6 | 2599 | echo "${ECHO_T}$SH" >&6 |
3175 | else | 2600 | else |
3176 | echo "$as_me:$LINENO: result: no" >&5 | 2601 | echo "$as_me:2601: result: no" >&5 |
3177 | echo "${ECHO_T}no" >&6 | 2602 | echo "${ECHO_T}no" >&6 |
3178 | fi | 2603 | fi |
3179 | 2604 | ||
3180 | |||
3181 | # System features | 2605 | # System features |
3182 | # Check whether --enable-largefile or --disable-largefile was given. | 2606 | # Check whether --enable-largefile or --disable-largefile was given. |
3183 | if test "${enable_largefile+set}" = set; then | 2607 | if test "${enable_largefile+set}" = set; then |
@@ -3186,7 +2610,7 @@ if test "${enable_largefile+set}" = set; then | |||
3186 | fi; | 2610 | fi; |
3187 | if test "$enable_largefile" != no; then | 2611 | if test "$enable_largefile" != no; then |
3188 | 2612 | ||
3189 | echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 2613 | echo "$as_me:2613: checking for special C compiler options needed for large files" >&5 |
3190 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | 2614 | 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 | 2615 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
3192 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2616 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3198,12 +2622,8 @@ else | |||
3198 | # IRIX 6.2 and later do not support large files by default, | 2622 | # IRIX 6.2 and later do not support large files by default, |
3199 | # so use the C compiler's -n32 option if that helps. | 2623 | # so use the C compiler's -n32 option if that helps. |
3200 | cat >conftest.$ac_ext <<_ACEOF | 2624 | cat >conftest.$ac_ext <<_ACEOF |
3201 | #line $LINENO "configure" | 2625 | #line 2625 "configure" |
3202 | /* confdefs.h. */ | 2626 | #include "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> | 2627 | #include <sys/types.h> |
3208 | /* Check that off_t can represent 2**63 - 1 correctly. | 2628 | /* Check that off_t can represent 2**63 - 1 correctly. |
3209 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | 2629 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
@@ -3222,42 +2642,40 @@ main () | |||
3222 | } | 2642 | } |
3223 | _ACEOF | 2643 | _ACEOF |
3224 | rm -f conftest.$ac_objext | 2644 | rm -f conftest.$ac_objext |
3225 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2645 | if { (eval echo "$as_me:2645: \"$ac_compile\"") >&5 |
3226 | (eval $ac_compile) 2>&5 | 2646 | (eval $ac_compile) 2>&5 |
3227 | ac_status=$? | 2647 | ac_status=$? |
3228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2648 | echo "$as_me:2648: \$? = $ac_status" >&5 |
3229 | (exit $ac_status); } && | 2649 | (exit $ac_status); } && |
3230 | { ac_try='test -s conftest.$ac_objext' | 2650 | { ac_try='test -s conftest.$ac_objext' |
3231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2651 | { (eval echo "$as_me:2651: \"$ac_try\"") >&5 |
3232 | (eval $ac_try) 2>&5 | 2652 | (eval $ac_try) 2>&5 |
3233 | ac_status=$? | 2653 | ac_status=$? |
3234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2654 | echo "$as_me:2654: \$? = $ac_status" >&5 |
3235 | (exit $ac_status); }; }; then | 2655 | (exit $ac_status); }; }; then |
3236 | break | 2656 | break |
3237 | else | 2657 | else |
3238 | echo "$as_me: failed program was:" >&5 | 2658 | echo "$as_me: failed program was:" >&5 |
3239 | sed 's/^/| /' conftest.$ac_ext >&5 | 2659 | cat conftest.$ac_ext >&5 |
3240 | |||
3241 | fi | 2660 | fi |
3242 | rm -f conftest.$ac_objext | 2661 | rm -f conftest.$ac_objext |
3243 | CC="$CC -n32" | 2662 | CC="$CC -n32" |
3244 | rm -f conftest.$ac_objext | 2663 | rm -f conftest.$ac_objext |
3245 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2664 | if { (eval echo "$as_me:2664: \"$ac_compile\"") >&5 |
3246 | (eval $ac_compile) 2>&5 | 2665 | (eval $ac_compile) 2>&5 |
3247 | ac_status=$? | 2666 | ac_status=$? |
3248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2667 | echo "$as_me:2667: \$? = $ac_status" >&5 |
3249 | (exit $ac_status); } && | 2668 | (exit $ac_status); } && |
3250 | { ac_try='test -s conftest.$ac_objext' | 2669 | { ac_try='test -s conftest.$ac_objext' |
3251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2670 | { (eval echo "$as_me:2670: \"$ac_try\"") >&5 |
3252 | (eval $ac_try) 2>&5 | 2671 | (eval $ac_try) 2>&5 |
3253 | ac_status=$? | 2672 | ac_status=$? |
3254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2673 | echo "$as_me:2673: \$? = $ac_status" >&5 |
3255 | (exit $ac_status); }; }; then | 2674 | (exit $ac_status); }; }; then |
3256 | ac_cv_sys_largefile_CC=' -n32'; break | 2675 | ac_cv_sys_largefile_CC=' -n32'; break |
3257 | else | 2676 | else |
3258 | echo "$as_me: failed program was:" >&5 | 2677 | echo "$as_me: failed program was:" >&5 |
3259 | sed 's/^/| /' conftest.$ac_ext >&5 | 2678 | cat conftest.$ac_ext >&5 |
3260 | |||
3261 | fi | 2679 | fi |
3262 | rm -f conftest.$ac_objext | 2680 | rm -f conftest.$ac_objext |
3263 | break | 2681 | break |
@@ -3266,13 +2684,13 @@ rm -f conftest.$ac_objext | |||
3266 | rm -f conftest.$ac_ext | 2684 | rm -f conftest.$ac_ext |
3267 | fi | 2685 | fi |
3268 | fi | 2686 | fi |
3269 | echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 2687 | echo "$as_me:2687: result: $ac_cv_sys_largefile_CC" >&5 |
3270 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | 2688 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 |
3271 | if test "$ac_cv_sys_largefile_CC" != no; then | 2689 | if test "$ac_cv_sys_largefile_CC" != no; then |
3272 | CC=$CC$ac_cv_sys_largefile_CC | 2690 | CC=$CC$ac_cv_sys_largefile_CC |
3273 | fi | 2691 | fi |
3274 | 2692 | ||
3275 | echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 2693 | echo "$as_me:2693: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
3276 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | 2694 | 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 | 2695 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
3278 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2696 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3280,12 +2698,8 @@ else | |||
3280 | while :; do | 2698 | while :; do |
3281 | ac_cv_sys_file_offset_bits=no | 2699 | ac_cv_sys_file_offset_bits=no |
3282 | cat >conftest.$ac_ext <<_ACEOF | 2700 | cat >conftest.$ac_ext <<_ACEOF |
3283 | #line $LINENO "configure" | 2701 | #line 2701 "configure" |
3284 | /* confdefs.h. */ | 2702 | #include "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> | 2703 | #include <sys/types.h> |
3290 | /* Check that off_t can represent 2**63 - 1 correctly. | 2704 | /* Check that off_t can represent 2**63 - 1 correctly. |
3291 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | 2705 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
@@ -3304,31 +2718,26 @@ main () | |||
3304 | } | 2718 | } |
3305 | _ACEOF | 2719 | _ACEOF |
3306 | rm -f conftest.$ac_objext | 2720 | rm -f conftest.$ac_objext |
3307 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2721 | if { (eval echo "$as_me:2721: \"$ac_compile\"") >&5 |
3308 | (eval $ac_compile) 2>&5 | 2722 | (eval $ac_compile) 2>&5 |
3309 | ac_status=$? | 2723 | ac_status=$? |
3310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2724 | echo "$as_me:2724: \$? = $ac_status" >&5 |
3311 | (exit $ac_status); } && | 2725 | (exit $ac_status); } && |
3312 | { ac_try='test -s conftest.$ac_objext' | 2726 | { ac_try='test -s conftest.$ac_objext' |
3313 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2727 | { (eval echo "$as_me:2727: \"$ac_try\"") >&5 |
3314 | (eval $ac_try) 2>&5 | 2728 | (eval $ac_try) 2>&5 |
3315 | ac_status=$? | 2729 | ac_status=$? |
3316 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2730 | echo "$as_me:2730: \$? = $ac_status" >&5 |
3317 | (exit $ac_status); }; }; then | 2731 | (exit $ac_status); }; }; then |
3318 | break | 2732 | break |
3319 | else | 2733 | else |
3320 | echo "$as_me: failed program was:" >&5 | 2734 | echo "$as_me: failed program was:" >&5 |
3321 | sed 's/^/| /' conftest.$ac_ext >&5 | 2735 | cat conftest.$ac_ext >&5 |
3322 | |||
3323 | fi | 2736 | fi |
3324 | rm -f conftest.$ac_objext conftest.$ac_ext | 2737 | rm -f conftest.$ac_objext conftest.$ac_ext |
3325 | cat >conftest.$ac_ext <<_ACEOF | 2738 | cat >conftest.$ac_ext <<_ACEOF |
3326 | #line $LINENO "configure" | 2739 | #line 2739 "configure" |
3327 | /* confdefs.h. */ | 2740 | #include "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 | 2741 | #define _FILE_OFFSET_BITS 64 |
3333 | #include <sys/types.h> | 2742 | #include <sys/types.h> |
3334 | /* Check that off_t can represent 2**63 - 1 correctly. | 2743 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -3348,38 +2757,37 @@ main () | |||
3348 | } | 2757 | } |
3349 | _ACEOF | 2758 | _ACEOF |
3350 | rm -f conftest.$ac_objext | 2759 | rm -f conftest.$ac_objext |
3351 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2760 | if { (eval echo "$as_me:2760: \"$ac_compile\"") >&5 |
3352 | (eval $ac_compile) 2>&5 | 2761 | (eval $ac_compile) 2>&5 |
3353 | ac_status=$? | 2762 | ac_status=$? |
3354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2763 | echo "$as_me:2763: \$? = $ac_status" >&5 |
3355 | (exit $ac_status); } && | 2764 | (exit $ac_status); } && |
3356 | { ac_try='test -s conftest.$ac_objext' | 2765 | { ac_try='test -s conftest.$ac_objext' |
3357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2766 | { (eval echo "$as_me:2766: \"$ac_try\"") >&5 |
3358 | (eval $ac_try) 2>&5 | 2767 | (eval $ac_try) 2>&5 |
3359 | ac_status=$? | 2768 | ac_status=$? |
3360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2769 | echo "$as_me:2769: \$? = $ac_status" >&5 |
3361 | (exit $ac_status); }; }; then | 2770 | (exit $ac_status); }; }; then |
3362 | ac_cv_sys_file_offset_bits=64; break | 2771 | ac_cv_sys_file_offset_bits=64; break |
3363 | else | 2772 | else |
3364 | echo "$as_me: failed program was:" >&5 | 2773 | echo "$as_me: failed program was:" >&5 |
3365 | sed 's/^/| /' conftest.$ac_ext >&5 | 2774 | cat conftest.$ac_ext >&5 |
3366 | |||
3367 | fi | 2775 | fi |
3368 | rm -f conftest.$ac_objext conftest.$ac_ext | 2776 | rm -f conftest.$ac_objext conftest.$ac_ext |
3369 | break | 2777 | break |
3370 | done | 2778 | done |
3371 | fi | 2779 | fi |
3372 | echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 2780 | echo "$as_me:2780: result: $ac_cv_sys_file_offset_bits" >&5 |
3373 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | 2781 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 |
3374 | if test "$ac_cv_sys_file_offset_bits" != no; then | 2782 | if test "$ac_cv_sys_file_offset_bits" != no; then |
3375 | 2783 | ||
3376 | cat >>confdefs.h <<_ACEOF | 2784 | cat >>confdefs.h <<EOF |
3377 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 2785 | #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
3378 | _ACEOF | 2786 | EOF |
3379 | 2787 | ||
3380 | fi | 2788 | fi |
3381 | rm -f conftest* | 2789 | rm -f conftest* |
3382 | echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 2790 | echo "$as_me:2790: checking for _LARGE_FILES value needed for large files" >&5 |
3383 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | 2791 | 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 | 2792 | if test "${ac_cv_sys_large_files+set}" = set; then |
3385 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2793 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3387,12 +2795,8 @@ else | |||
3387 | while :; do | 2795 | while :; do |
3388 | ac_cv_sys_large_files=no | 2796 | ac_cv_sys_large_files=no |
3389 | cat >conftest.$ac_ext <<_ACEOF | 2797 | cat >conftest.$ac_ext <<_ACEOF |
3390 | #line $LINENO "configure" | 2798 | #line 2798 "configure" |
3391 | /* confdefs.h. */ | 2799 | #include "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> | 2800 | #include <sys/types.h> |
3397 | /* Check that off_t can represent 2**63 - 1 correctly. | 2801 | /* Check that off_t can represent 2**63 - 1 correctly. |
3398 | We can't simply define LARGE_OFF_T to be 9223372036854775807, | 2802 | We can't simply define LARGE_OFF_T to be 9223372036854775807, |
@@ -3411,31 +2815,26 @@ main () | |||
3411 | } | 2815 | } |
3412 | _ACEOF | 2816 | _ACEOF |
3413 | rm -f conftest.$ac_objext | 2817 | rm -f conftest.$ac_objext |
3414 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2818 | if { (eval echo "$as_me:2818: \"$ac_compile\"") >&5 |
3415 | (eval $ac_compile) 2>&5 | 2819 | (eval $ac_compile) 2>&5 |
3416 | ac_status=$? | 2820 | ac_status=$? |
3417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2821 | echo "$as_me:2821: \$? = $ac_status" >&5 |
3418 | (exit $ac_status); } && | 2822 | (exit $ac_status); } && |
3419 | { ac_try='test -s conftest.$ac_objext' | 2823 | { ac_try='test -s conftest.$ac_objext' |
3420 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2824 | { (eval echo "$as_me:2824: \"$ac_try\"") >&5 |
3421 | (eval $ac_try) 2>&5 | 2825 | (eval $ac_try) 2>&5 |
3422 | ac_status=$? | 2826 | ac_status=$? |
3423 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2827 | echo "$as_me:2827: \$? = $ac_status" >&5 |
3424 | (exit $ac_status); }; }; then | 2828 | (exit $ac_status); }; }; then |
3425 | break | 2829 | break |
3426 | else | 2830 | else |
3427 | echo "$as_me: failed program was:" >&5 | 2831 | echo "$as_me: failed program was:" >&5 |
3428 | sed 's/^/| /' conftest.$ac_ext >&5 | 2832 | cat conftest.$ac_ext >&5 |
3429 | |||
3430 | fi | 2833 | fi |
3431 | rm -f conftest.$ac_objext conftest.$ac_ext | 2834 | rm -f conftest.$ac_objext conftest.$ac_ext |
3432 | cat >conftest.$ac_ext <<_ACEOF | 2835 | cat >conftest.$ac_ext <<_ACEOF |
3433 | #line $LINENO "configure" | 2836 | #line 2836 "configure" |
3434 | /* confdefs.h. */ | 2837 | #include "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 | 2838 | #define _LARGE_FILES 1 |
3440 | #include <sys/types.h> | 2839 | #include <sys/types.h> |
3441 | /* Check that off_t can represent 2**63 - 1 correctly. | 2840 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -3455,57 +2854,55 @@ main () | |||
3455 | } | 2854 | } |
3456 | _ACEOF | 2855 | _ACEOF |
3457 | rm -f conftest.$ac_objext | 2856 | rm -f conftest.$ac_objext |
3458 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2857 | if { (eval echo "$as_me:2857: \"$ac_compile\"") >&5 |
3459 | (eval $ac_compile) 2>&5 | 2858 | (eval $ac_compile) 2>&5 |
3460 | ac_status=$? | 2859 | ac_status=$? |
3461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2860 | echo "$as_me:2860: \$? = $ac_status" >&5 |
3462 | (exit $ac_status); } && | 2861 | (exit $ac_status); } && |
3463 | { ac_try='test -s conftest.$ac_objext' | 2862 | { ac_try='test -s conftest.$ac_objext' |
3464 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 2863 | { (eval echo "$as_me:2863: \"$ac_try\"") >&5 |
3465 | (eval $ac_try) 2>&5 | 2864 | (eval $ac_try) 2>&5 |
3466 | ac_status=$? | 2865 | ac_status=$? |
3467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2866 | echo "$as_me:2866: \$? = $ac_status" >&5 |
3468 | (exit $ac_status); }; }; then | 2867 | (exit $ac_status); }; }; then |
3469 | ac_cv_sys_large_files=1; break | 2868 | ac_cv_sys_large_files=1; break |
3470 | else | 2869 | else |
3471 | echo "$as_me: failed program was:" >&5 | 2870 | echo "$as_me: failed program was:" >&5 |
3472 | sed 's/^/| /' conftest.$ac_ext >&5 | 2871 | cat conftest.$ac_ext >&5 |
3473 | |||
3474 | fi | 2872 | fi |
3475 | rm -f conftest.$ac_objext conftest.$ac_ext | 2873 | rm -f conftest.$ac_objext conftest.$ac_ext |
3476 | break | 2874 | break |
3477 | done | 2875 | done |
3478 | fi | 2876 | fi |
3479 | echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 2877 | echo "$as_me:2877: result: $ac_cv_sys_large_files" >&5 |
3480 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | 2878 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6 |
3481 | if test "$ac_cv_sys_large_files" != no; then | 2879 | if test "$ac_cv_sys_large_files" != no; then |
3482 | 2880 | ||
3483 | cat >>confdefs.h <<_ACEOF | 2881 | cat >>confdefs.h <<EOF |
3484 | #define _LARGE_FILES $ac_cv_sys_large_files | 2882 | #define _LARGE_FILES $ac_cv_sys_large_files |
3485 | _ACEOF | 2883 | EOF |
3486 | 2884 | ||
3487 | fi | 2885 | fi |
3488 | rm -f conftest* | 2886 | rm -f conftest* |
3489 | fi | 2887 | fi |
3490 | 2888 | ||
3491 | |||
3492 | if test -z "$AR" ; then | 2889 | if test -z "$AR" ; then |
3493 | { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 | 2890 | { { echo "$as_me:2890: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 |
3494 | echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} | 2891 | echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} |
3495 | { (exit 1); exit 1; }; } | 2892 | { (exit 1); exit 1; }; } |
3496 | fi | 2893 | fi |
3497 | 2894 | ||
3498 | # Use LOGIN_PROGRAM from environment if possible | 2895 | # Use LOGIN_PROGRAM from environment if possible |
3499 | if test ! -z "$LOGIN_PROGRAM" ; then | 2896 | if test ! -z "$LOGIN_PROGRAM" ; then |
3500 | cat >>confdefs.h <<_ACEOF | 2897 | cat >>confdefs.h <<EOF |
3501 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" | 2898 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" |
3502 | _ACEOF | 2899 | EOF |
3503 | 2900 | ||
3504 | else | 2901 | else |
3505 | # Search for login | 2902 | # Search for login |
3506 | # Extract the first word of "login", so it can be a program name with args. | 2903 | # Extract the first word of "login", so it can be a program name with args. |
3507 | set dummy login; ac_word=$2 | 2904 | set dummy login; ac_word=$2 |
3508 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2905 | echo "$as_me:2905: checking for $ac_word" >&5 |
3509 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 2906 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3510 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then | 2907 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then |
3511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2908 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3515,18 +2912,16 @@ else | |||
3515 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. | 2912 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. |
3516 | ;; | 2913 | ;; |
3517 | *) | 2914 | *) |
3518 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2915 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
3519 | for as_dir in $PATH | 2916 | ac_dummy="$PATH" |
3520 | do | 2917 | for ac_dir in $ac_dummy; do |
3521 | IFS=$as_save_IFS | 2918 | IFS=$ac_save_IFS |
3522 | test -z "$as_dir" && as_dir=. | 2919 | test -z "$ac_dir" && ac_dir=. |
3523 | for ac_exec_ext in '' $ac_executable_extensions; do | 2920 | if $as_executable_p "$ac_dir/$ac_word"; then |
3524 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 2921 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word" |
3525 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" | 2922 | echo "$as_me:2922: found $ac_dir/$ac_word" >&5 |
3526 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2923 | break |
3527 | break 2 | 2924 | fi |
3528 | fi | ||
3529 | done | ||
3530 | done | 2925 | done |
3531 | 2926 | ||
3532 | ;; | 2927 | ;; |
@@ -3535,17 +2930,17 @@ fi | |||
3535 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | 2930 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK |
3536 | 2931 | ||
3537 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | 2932 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then |
3538 | echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 | 2933 | echo "$as_me:2933: result: $LOGIN_PROGRAM_FALLBACK" >&5 |
3539 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 | 2934 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 |
3540 | else | 2935 | else |
3541 | echo "$as_me:$LINENO: result: no" >&5 | 2936 | echo "$as_me:2936: result: no" >&5 |
3542 | echo "${ECHO_T}no" >&6 | 2937 | echo "${ECHO_T}no" >&6 |
3543 | fi | 2938 | fi |
3544 | 2939 | ||
3545 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then | 2940 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then |
3546 | cat >>confdefs.h <<_ACEOF | 2941 | cat >>confdefs.h <<EOF |
3547 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" | 2942 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" |
3548 | _ACEOF | 2943 | EOF |
3549 | 2944 | ||
3550 | fi | 2945 | fi |
3551 | fi | 2946 | fi |
@@ -3554,8 +2949,98 @@ if test -z "$LD" ; then | |||
3554 | LD=$CC | 2949 | LD=$CC |
3555 | fi | 2950 | fi |
3556 | 2951 | ||
2952 | echo "$as_me:2952: checking for $CC option to accept ANSI C" >&5 | ||
2953 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | ||
2954 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | ||
2955 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
2956 | else | ||
2957 | ac_cv_prog_cc_stdc=no | ||
2958 | ac_save_CC=$CC | ||
2959 | cat >conftest.$ac_ext <<_ACEOF | ||
2960 | #line 2960 "configure" | ||
2961 | #include "confdefs.h" | ||
2962 | #include <stdarg.h> | ||
2963 | #include <stdio.h> | ||
2964 | #include <sys/types.h> | ||
2965 | #include <sys/stat.h> | ||
2966 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | ||
2967 | struct buf { int x; }; | ||
2968 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | ||
2969 | static char *e (p, i) | ||
2970 | char **p; | ||
2971 | int i; | ||
2972 | { | ||
2973 | return p[i]; | ||
2974 | } | ||
2975 | static char *f (char * (*g) (char **, int), char **p, ...) | ||
2976 | { | ||
2977 | char *s; | ||
2978 | va_list v; | ||
2979 | va_start (v,p); | ||
2980 | s = g (p, va_arg (v,int)); | ||
2981 | va_end (v); | ||
2982 | return s; | ||
2983 | } | ||
2984 | int test (int i, double x); | ||
2985 | struct s1 {int (*f) (int a);}; | ||
2986 | struct s2 {int (*f) (double a);}; | ||
2987 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | ||
2988 | int argc; | ||
2989 | char **argv; | ||
2990 | int | ||
2991 | main () | ||
2992 | { | ||
2993 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ||
2994 | ; | ||
2995 | return 0; | ||
2996 | } | ||
2997 | _ACEOF | ||
2998 | # Don't try gcc -ansi; that turns off useful extensions and | ||
2999 | # breaks some systems' header files. | ||
3000 | # AIX -qlanglvl=ansi | ||
3001 | # Ultrix and OSF/1 -std1 | ||
3002 | # HP-UX 10.20 and later -Ae | ||
3003 | # HP-UX older versions -Aa -D_HPUX_SOURCE | ||
3004 | # SVR4 -Xc -D__EXTENSIONS__ | ||
3005 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | ||
3006 | do | ||
3007 | CC="$ac_save_CC $ac_arg" | ||
3008 | rm -f conftest.$ac_objext | ||
3009 | if { (eval echo "$as_me:3009: \"$ac_compile\"") >&5 | ||
3010 | (eval $ac_compile) 2>&5 | ||
3011 | ac_status=$? | ||
3012 | echo "$as_me:3012: \$? = $ac_status" >&5 | ||
3013 | (exit $ac_status); } && | ||
3014 | { ac_try='test -s conftest.$ac_objext' | ||
3015 | { (eval echo "$as_me:3015: \"$ac_try\"") >&5 | ||
3016 | (eval $ac_try) 2>&5 | ||
3017 | ac_status=$? | ||
3018 | echo "$as_me:3018: \$? = $ac_status" >&5 | ||
3019 | (exit $ac_status); }; }; then | ||
3020 | ac_cv_prog_cc_stdc=$ac_arg | ||
3021 | break | ||
3022 | else | ||
3023 | echo "$as_me: failed program was:" >&5 | ||
3024 | cat conftest.$ac_ext >&5 | ||
3025 | fi | ||
3026 | rm -f conftest.$ac_objext | ||
3027 | done | ||
3028 | rm -f conftest.$ac_ext conftest.$ac_objext | ||
3029 | CC=$ac_save_CC | ||
3030 | |||
3031 | fi | ||
3032 | |||
3033 | case "x$ac_cv_prog_cc_stdc" in | ||
3034 | x|xno) | ||
3035 | echo "$as_me:3035: result: none needed" >&5 | ||
3036 | echo "${ECHO_T}none needed" >&6 ;; | ||
3037 | *) | ||
3038 | echo "$as_me:3038: result: $ac_cv_prog_cc_stdc" >&5 | ||
3039 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | ||
3040 | CC="$CC $ac_cv_prog_cc_stdc" ;; | ||
3041 | esac | ||
3557 | 3042 | ||
3558 | echo "$as_me:$LINENO: checking for inline" >&5 | 3043 | echo "$as_me:3043: checking for inline" >&5 |
3559 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 3044 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
3560 | if test "${ac_cv_c_inline+set}" = set; then | 3045 | if test "${ac_cv_c_inline+set}" = set; then |
3561 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3046 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3563,53 +3048,47 @@ else | |||
3563 | ac_cv_c_inline=no | 3048 | ac_cv_c_inline=no |
3564 | for ac_kw in inline __inline__ __inline; do | 3049 | for ac_kw in inline __inline__ __inline; do |
3565 | cat >conftest.$ac_ext <<_ACEOF | 3050 | cat >conftest.$ac_ext <<_ACEOF |
3566 | #line $LINENO "configure" | 3051 | #line 3051 "configure" |
3567 | /* confdefs.h. */ | 3052 | #include "confdefs.h" |
3568 | _ACEOF | ||
3569 | cat confdefs.h >>conftest.$ac_ext | ||
3570 | cat >>conftest.$ac_ext <<_ACEOF | ||
3571 | /* end confdefs.h. */ | ||
3572 | #ifndef __cplusplus | 3053 | #ifndef __cplusplus |
3573 | typedef int foo_t; | 3054 | static $ac_kw int static_foo () {return 0; } |
3574 | static $ac_kw foo_t static_foo () {return 0; } | 3055 | $ac_kw int foo () {return 0; } |
3575 | $ac_kw foo_t foo () {return 0; } | ||
3576 | #endif | 3056 | #endif |
3577 | 3057 | ||
3578 | _ACEOF | 3058 | _ACEOF |
3579 | rm -f conftest.$ac_objext | 3059 | rm -f conftest.$ac_objext |
3580 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3060 | if { (eval echo "$as_me:3060: \"$ac_compile\"") >&5 |
3581 | (eval $ac_compile) 2>&5 | 3061 | (eval $ac_compile) 2>&5 |
3582 | ac_status=$? | 3062 | ac_status=$? |
3583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3063 | echo "$as_me:3063: \$? = $ac_status" >&5 |
3584 | (exit $ac_status); } && | 3064 | (exit $ac_status); } && |
3585 | { ac_try='test -s conftest.$ac_objext' | 3065 | { ac_try='test -s conftest.$ac_objext' |
3586 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3066 | { (eval echo "$as_me:3066: \"$ac_try\"") >&5 |
3587 | (eval $ac_try) 2>&5 | 3067 | (eval $ac_try) 2>&5 |
3588 | ac_status=$? | 3068 | ac_status=$? |
3589 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3069 | echo "$as_me:3069: \$? = $ac_status" >&5 |
3590 | (exit $ac_status); }; }; then | 3070 | (exit $ac_status); }; }; then |
3591 | ac_cv_c_inline=$ac_kw; break | 3071 | ac_cv_c_inline=$ac_kw; break |
3592 | else | 3072 | else |
3593 | echo "$as_me: failed program was:" >&5 | 3073 | echo "$as_me: failed program was:" >&5 |
3594 | sed 's/^/| /' conftest.$ac_ext >&5 | 3074 | cat conftest.$ac_ext >&5 |
3595 | |||
3596 | fi | 3075 | fi |
3597 | rm -f conftest.$ac_objext conftest.$ac_ext | 3076 | rm -f conftest.$ac_objext conftest.$ac_ext |
3598 | done | 3077 | done |
3599 | 3078 | ||
3600 | fi | 3079 | fi |
3601 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 3080 | echo "$as_me:3080: result: $ac_cv_c_inline" >&5 |
3602 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 3081 | echo "${ECHO_T}$ac_cv_c_inline" >&6 |
3603 | case $ac_cv_c_inline in | 3082 | case $ac_cv_c_inline in |
3604 | inline | yes) ;; | 3083 | inline | yes) ;; |
3605 | no) | 3084 | no) |
3606 | cat >>confdefs.h <<\_ACEOF | 3085 | cat >>confdefs.h <<\EOF |
3607 | #define inline | 3086 | #define inline |
3608 | _ACEOF | 3087 | EOF |
3609 | ;; | 3088 | ;; |
3610 | *) cat >>confdefs.h <<_ACEOF | 3089 | *) cat >>confdefs.h <<EOF |
3611 | #define inline $ac_cv_c_inline | 3090 | #define inline $ac_cv_c_inline |
3612 | _ACEOF | 3091 | EOF |
3613 | ;; | 3092 | ;; |
3614 | esac | 3093 | esac |
3615 | 3094 | ||
@@ -3620,10 +3099,9 @@ fi | |||
3620 | # Check for some target-specific stuff | 3099 | # Check for some target-specific stuff |
3621 | case "$host" in | 3100 | case "$host" in |
3622 | *-*-aix*) | 3101 | *-*-aix*) |
3623 | AFS_LIBS="-lld" | ||
3624 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 3102 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
3625 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 3103 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
3626 | echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 | 3104 | echo "$as_me:3104: checking how to specify blibpath for linker ($LD)" >&5 |
3627 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 | 3105 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 |
3628 | if (test -z "$blibpath"); then | 3106 | if (test -z "$blibpath"); then |
3629 | blibpath="/usr/lib:/lib:/usr/local/lib" | 3107 | blibpath="/usr/lib:/lib:/usr/local/lib" |
@@ -3633,12 +3111,8 @@ echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 | |||
3633 | if (test -z "$blibflags"); then | 3111 | if (test -z "$blibflags"); then |
3634 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" | 3112 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" |
3635 | cat >conftest.$ac_ext <<_ACEOF | 3113 | cat >conftest.$ac_ext <<_ACEOF |
3636 | #line $LINENO "configure" | 3114 | #line 3114 "configure" |
3637 | /* confdefs.h. */ | 3115 | #include "confdefs.h" |
3638 | _ACEOF | ||
3639 | cat confdefs.h >>conftest.$ac_ext | ||
3640 | cat >>conftest.$ac_ext <<_ACEOF | ||
3641 | /* end confdefs.h. */ | ||
3642 | 3116 | ||
3643 | int | 3117 | int |
3644 | main () | 3118 | main () |
@@ -3649,116 +3123,101 @@ main () | |||
3649 | } | 3123 | } |
3650 | _ACEOF | 3124 | _ACEOF |
3651 | rm -f conftest.$ac_objext conftest$ac_exeext | 3125 | rm -f conftest.$ac_objext conftest$ac_exeext |
3652 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3126 | if { (eval echo "$as_me:3126: \"$ac_link\"") >&5 |
3653 | (eval $ac_link) 2>&5 | 3127 | (eval $ac_link) 2>&5 |
3654 | ac_status=$? | 3128 | ac_status=$? |
3655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3129 | echo "$as_me:3129: \$? = $ac_status" >&5 |
3656 | (exit $ac_status); } && | 3130 | (exit $ac_status); } && |
3657 | { ac_try='test -s conftest$ac_exeext' | 3131 | { ac_try='test -s conftest$ac_exeext' |
3658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3132 | { (eval echo "$as_me:3132: \"$ac_try\"") >&5 |
3659 | (eval $ac_try) 2>&5 | 3133 | (eval $ac_try) 2>&5 |
3660 | ac_status=$? | 3134 | ac_status=$? |
3661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3135 | echo "$as_me:3135: \$? = $ac_status" >&5 |
3662 | (exit $ac_status); }; }; then | 3136 | (exit $ac_status); }; }; then |
3663 | blibflags=$tryflags | 3137 | blibflags=$tryflags |
3664 | else | 3138 | else |
3665 | echo "$as_me: failed program was:" >&5 | 3139 | echo "$as_me: failed program was:" >&5 |
3666 | sed 's/^/| /' conftest.$ac_ext >&5 | 3140 | cat conftest.$ac_ext >&5 |
3667 | |||
3668 | fi | 3141 | fi |
3669 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3142 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3670 | fi | 3143 | fi |
3671 | done | 3144 | done |
3672 | if (test -z "$blibflags"); then | 3145 | if (test -z "$blibflags"); then |
3673 | echo "$as_me:$LINENO: result: not found" >&5 | 3146 | echo "$as_me:3146: result: not found" >&5 |
3674 | echo "${ECHO_T}not found" >&6 | 3147 | echo "${ECHO_T}not found" >&6 |
3675 | { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 | 3148 | { { echo "$as_me:3148: error: *** must be able to specify blibpath on AIX - check config.log" >&5 |
3676 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} | 3149 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} |
3677 | { (exit 1); exit 1; }; } | 3150 | { (exit 1); exit 1; }; } |
3678 | else | 3151 | else |
3679 | echo "$as_me:$LINENO: result: $blibflags" >&5 | 3152 | echo "$as_me:3152: result: $blibflags" >&5 |
3680 | echo "${ECHO_T}$blibflags" >&6 | 3153 | echo "${ECHO_T}$blibflags" >&6 |
3681 | fi | 3154 | fi |
3682 | LDFLAGS="$saved_LDFLAGS" | 3155 | LDFLAGS="$saved_LDFLAGS" |
3683 | echo "$as_me:$LINENO: checking for authenticate" >&5 | 3156 | echo "$as_me:3156: checking for authenticate" >&5 |
3684 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 | 3157 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 |
3685 | if test "${ac_cv_func_authenticate+set}" = set; then | 3158 | if test "${ac_cv_func_authenticate+set}" = set; then |
3686 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3159 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3687 | else | 3160 | else |
3688 | cat >conftest.$ac_ext <<_ACEOF | 3161 | cat >conftest.$ac_ext <<_ACEOF |
3689 | #line $LINENO "configure" | 3162 | #line 3162 "configure" |
3690 | /* confdefs.h. */ | 3163 | #include "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, | 3164 | /* System header to define __stub macros and hopefully few prototypes, |
3696 | which can conflict with char authenticate (); below. | 3165 | which can conflict with char authenticate (); below. */ |
3697 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3166 | #include <assert.h> |
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. */ | 3167 | /* Override any gcc2 internal prototype to avoid an error. */ |
3705 | #ifdef __cplusplus | 3168 | #ifdef __cplusplus |
3706 | extern "C" | 3169 | extern "C" |
3707 | { | ||
3708 | #endif | 3170 | #endif |
3709 | /* We use char because int might match the return type of a gcc2 | 3171 | /* We use char because int might match the return type of a gcc2 |
3710 | builtin and then its argument prototype would still apply. */ | 3172 | builtin and then its argument prototype would still apply. */ |
3711 | char authenticate (); | 3173 | char authenticate (); |
3174 | char (*f) (); | ||
3175 | |||
3176 | int | ||
3177 | main () | ||
3178 | { | ||
3712 | /* The GNU C library defines this for functions which it implements | 3179 | /* The GNU C library defines this for functions which it implements |
3713 | to always fail with ENOSYS. Some functions are actually named | 3180 | to always fail with ENOSYS. Some functions are actually named |
3714 | something starting with __ and the normal name is an alias. */ | 3181 | something starting with __ and the normal name is an alias. */ |
3715 | #if defined (__stub_authenticate) || defined (__stub___authenticate) | 3182 | #if defined (__stub_authenticate) || defined (__stub___authenticate) |
3716 | choke me | 3183 | choke me |
3717 | #else | 3184 | #else |
3718 | char (*f) () = authenticate; | 3185 | f = authenticate; |
3719 | #endif | ||
3720 | #ifdef __cplusplus | ||
3721 | } | ||
3722 | #endif | 3186 | #endif |
3723 | 3187 | ||
3724 | int | ||
3725 | main () | ||
3726 | { | ||
3727 | return f != authenticate; | ||
3728 | ; | 3188 | ; |
3729 | return 0; | 3189 | return 0; |
3730 | } | 3190 | } |
3731 | _ACEOF | 3191 | _ACEOF |
3732 | rm -f conftest.$ac_objext conftest$ac_exeext | 3192 | rm -f conftest.$ac_objext conftest$ac_exeext |
3733 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3193 | if { (eval echo "$as_me:3193: \"$ac_link\"") >&5 |
3734 | (eval $ac_link) 2>&5 | 3194 | (eval $ac_link) 2>&5 |
3735 | ac_status=$? | 3195 | ac_status=$? |
3736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3196 | echo "$as_me:3196: \$? = $ac_status" >&5 |
3737 | (exit $ac_status); } && | 3197 | (exit $ac_status); } && |
3738 | { ac_try='test -s conftest$ac_exeext' | 3198 | { ac_try='test -s conftest$ac_exeext' |
3739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3199 | { (eval echo "$as_me:3199: \"$ac_try\"") >&5 |
3740 | (eval $ac_try) 2>&5 | 3200 | (eval $ac_try) 2>&5 |
3741 | ac_status=$? | 3201 | ac_status=$? |
3742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3202 | echo "$as_me:3202: \$? = $ac_status" >&5 |
3743 | (exit $ac_status); }; }; then | 3203 | (exit $ac_status); }; }; then |
3744 | ac_cv_func_authenticate=yes | 3204 | ac_cv_func_authenticate=yes |
3745 | else | 3205 | else |
3746 | echo "$as_me: failed program was:" >&5 | 3206 | echo "$as_me: failed program was:" >&5 |
3747 | sed 's/^/| /' conftest.$ac_ext >&5 | 3207 | cat conftest.$ac_ext >&5 |
3748 | |||
3749 | ac_cv_func_authenticate=no | 3208 | ac_cv_func_authenticate=no |
3750 | fi | 3209 | fi |
3751 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3210 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3752 | fi | 3211 | fi |
3753 | echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | 3212 | echo "$as_me:3212: result: $ac_cv_func_authenticate" >&5 |
3754 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 | 3213 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6 |
3755 | if test $ac_cv_func_authenticate = yes; then | 3214 | if test $ac_cv_func_authenticate = yes; then |
3756 | cat >>confdefs.h <<\_ACEOF | 3215 | cat >>confdefs.h <<\EOF |
3757 | #define WITH_AIXAUTHENTICATE 1 | 3216 | #define WITH_AIXAUTHENTICATE 1 |
3758 | _ACEOF | 3217 | EOF |
3759 | 3218 | ||
3760 | else | 3219 | else |
3761 | echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 | 3220 | echo "$as_me:3220: checking for authenticate in -ls" >&5 |
3762 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 | 3221 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 |
3763 | if test "${ac_cv_lib_s_authenticate+set}" = set; then | 3222 | if test "${ac_cv_lib_s_authenticate+set}" = set; then |
3764 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3223 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3766,12 +3225,8 @@ else | |||
3766 | ac_check_lib_save_LIBS=$LIBS | 3225 | ac_check_lib_save_LIBS=$LIBS |
3767 | LIBS="-ls $LIBS" | 3226 | LIBS="-ls $LIBS" |
3768 | cat >conftest.$ac_ext <<_ACEOF | 3227 | cat >conftest.$ac_ext <<_ACEOF |
3769 | #line $LINENO "configure" | 3228 | #line 3228 "configure" |
3770 | /* confdefs.h. */ | 3229 | #include "confdefs.h" |
3771 | _ACEOF | ||
3772 | cat confdefs.h >>conftest.$ac_ext | ||
3773 | cat >>conftest.$ac_ext <<_ACEOF | ||
3774 | /* end confdefs.h. */ | ||
3775 | 3230 | ||
3776 | /* Override any gcc2 internal prototype to avoid an error. */ | 3231 | /* Override any gcc2 internal prototype to avoid an error. */ |
3777 | #ifdef __cplusplus | 3232 | #ifdef __cplusplus |
@@ -3789,126 +3244,279 @@ authenticate (); | |||
3789 | } | 3244 | } |
3790 | _ACEOF | 3245 | _ACEOF |
3791 | rm -f conftest.$ac_objext conftest$ac_exeext | 3246 | rm -f conftest.$ac_objext conftest$ac_exeext |
3792 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3247 | if { (eval echo "$as_me:3247: \"$ac_link\"") >&5 |
3793 | (eval $ac_link) 2>&5 | 3248 | (eval $ac_link) 2>&5 |
3794 | ac_status=$? | 3249 | ac_status=$? |
3795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3250 | echo "$as_me:3250: \$? = $ac_status" >&5 |
3796 | (exit $ac_status); } && | 3251 | (exit $ac_status); } && |
3797 | { ac_try='test -s conftest$ac_exeext' | 3252 | { ac_try='test -s conftest$ac_exeext' |
3798 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3253 | { (eval echo "$as_me:3253: \"$ac_try\"") >&5 |
3799 | (eval $ac_try) 2>&5 | 3254 | (eval $ac_try) 2>&5 |
3800 | ac_status=$? | 3255 | ac_status=$? |
3801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3256 | echo "$as_me:3256: \$? = $ac_status" >&5 |
3802 | (exit $ac_status); }; }; then | 3257 | (exit $ac_status); }; }; then |
3803 | ac_cv_lib_s_authenticate=yes | 3258 | ac_cv_lib_s_authenticate=yes |
3804 | else | 3259 | else |
3805 | echo "$as_me: failed program was:" >&5 | 3260 | echo "$as_me: failed program was:" >&5 |
3806 | sed 's/^/| /' conftest.$ac_ext >&5 | 3261 | cat conftest.$ac_ext >&5 |
3807 | |||
3808 | ac_cv_lib_s_authenticate=no | 3262 | ac_cv_lib_s_authenticate=no |
3809 | fi | 3263 | fi |
3810 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3264 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3811 | LIBS=$ac_check_lib_save_LIBS | 3265 | LIBS=$ac_check_lib_save_LIBS |
3812 | fi | 3266 | fi |
3813 | echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 | 3267 | echo "$as_me:3267: result: $ac_cv_lib_s_authenticate" >&5 |
3814 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 | 3268 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 |
3815 | if test $ac_cv_lib_s_authenticate = yes; then | 3269 | if test $ac_cv_lib_s_authenticate = yes; then |
3816 | cat >>confdefs.h <<\_ACEOF | 3270 | cat >>confdefs.h <<\EOF |
3817 | #define WITH_AIXAUTHENTICATE 1 | 3271 | #define WITH_AIXAUTHENTICATE 1 |
3818 | _ACEOF | 3272 | EOF |
3819 | 3273 | ||
3820 | LIBS="$LIBS -ls" | 3274 | LIBS="$LIBS -ls" |
3821 | 3275 | ||
3822 | fi | 3276 | fi |
3823 | 3277 | ||
3278 | fi | ||
3279 | |||
3280 | echo "$as_me:3280: checking whether loginfailed is declared" >&5 | ||
3281 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 | ||
3282 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then | ||
3283 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3284 | else | ||
3285 | cat >conftest.$ac_ext <<_ACEOF | ||
3286 | #line 3286 "configure" | ||
3287 | #include "confdefs.h" | ||
3288 | #include <usersec.h> | ||
3289 | |||
3290 | int | ||
3291 | main () | ||
3292 | { | ||
3293 | #ifndef loginfailed | ||
3294 | char *p = (char *) loginfailed; | ||
3295 | #endif | ||
3824 | 3296 | ||
3297 | ; | ||
3298 | return 0; | ||
3299 | } | ||
3300 | _ACEOF | ||
3301 | rm -f conftest.$ac_objext | ||
3302 | if { (eval echo "$as_me:3302: \"$ac_compile\"") >&5 | ||
3303 | (eval $ac_compile) 2>&5 | ||
3304 | ac_status=$? | ||
3305 | echo "$as_me:3305: \$? = $ac_status" >&5 | ||
3306 | (exit $ac_status); } && | ||
3307 | { ac_try='test -s conftest.$ac_objext' | ||
3308 | { (eval echo "$as_me:3308: \"$ac_try\"") >&5 | ||
3309 | (eval $ac_try) 2>&5 | ||
3310 | ac_status=$? | ||
3311 | echo "$as_me:3311: \$? = $ac_status" >&5 | ||
3312 | (exit $ac_status); }; }; then | ||
3313 | ac_cv_have_decl_loginfailed=yes | ||
3314 | else | ||
3315 | echo "$as_me: failed program was:" >&5 | ||
3316 | cat conftest.$ac_ext >&5 | ||
3317 | ac_cv_have_decl_loginfailed=no | ||
3318 | fi | ||
3319 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3825 | fi | 3320 | fi |
3321 | echo "$as_me:3321: result: $ac_cv_have_decl_loginfailed" >&5 | ||
3322 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 | ||
3323 | if test $ac_cv_have_decl_loginfailed = yes; then | ||
3324 | echo "$as_me:3324: checking if loginfailed takes 4 arguments" >&5 | ||
3325 | echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6 | ||
3326 | cat >conftest.$ac_ext <<_ACEOF | ||
3327 | #line 3327 "configure" | ||
3328 | #include "confdefs.h" | ||
3329 | #include <usersec.h> | ||
3330 | int | ||
3331 | main () | ||
3332 | { | ||
3333 | (void)loginfailed("user","host","tty",0); | ||
3334 | ; | ||
3335 | return 0; | ||
3336 | } | ||
3337 | _ACEOF | ||
3338 | rm -f conftest.$ac_objext | ||
3339 | if { (eval echo "$as_me:3339: \"$ac_compile\"") >&5 | ||
3340 | (eval $ac_compile) 2>&5 | ||
3341 | ac_status=$? | ||
3342 | echo "$as_me:3342: \$? = $ac_status" >&5 | ||
3343 | (exit $ac_status); } && | ||
3344 | { ac_try='test -s conftest.$ac_objext' | ||
3345 | { (eval echo "$as_me:3345: \"$ac_try\"") >&5 | ||
3346 | (eval $ac_try) 2>&5 | ||
3347 | ac_status=$? | ||
3348 | echo "$as_me:3348: \$? = $ac_status" >&5 | ||
3349 | (exit $ac_status); }; }; then | ||
3350 | echo "$as_me:3350: result: yes" >&5 | ||
3351 | echo "${ECHO_T}yes" >&6 | ||
3352 | cat >>confdefs.h <<\EOF | ||
3353 | #define AIX_LOGINFAILED_4ARG 1 | ||
3354 | EOF | ||
3826 | 3355 | ||
3827 | cat >>confdefs.h <<\_ACEOF | 3356 | else |
3828 | #define BROKEN_GETADDRINFO 1 | 3357 | echo "$as_me: failed program was:" >&5 |
3358 | cat conftest.$ac_ext >&5 | ||
3359 | echo "$as_me:3359: result: no" >&5 | ||
3360 | echo "${ECHO_T}no" >&6 | ||
3361 | |||
3362 | fi | ||
3363 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
3364 | fi | ||
3365 | |||
3366 | for ac_func in setauthdb | ||
3367 | do | ||
3368 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
3369 | echo "$as_me:3369: checking for $ac_func" >&5 | ||
3370 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
3371 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
3372 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3373 | else | ||
3374 | cat >conftest.$ac_ext <<_ACEOF | ||
3375 | #line 3375 "configure" | ||
3376 | #include "confdefs.h" | ||
3377 | /* System header to define __stub macros and hopefully few prototypes, | ||
3378 | which can conflict with char $ac_func (); below. */ | ||
3379 | #include <assert.h> | ||
3380 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
3381 | #ifdef __cplusplus | ||
3382 | extern "C" | ||
3383 | #endif | ||
3384 | /* We use char because int might match the return type of a gcc2 | ||
3385 | builtin and then its argument prototype would still apply. */ | ||
3386 | char $ac_func (); | ||
3387 | char (*f) (); | ||
3388 | |||
3389 | int | ||
3390 | main () | ||
3391 | { | ||
3392 | /* The GNU C library defines this for functions which it implements | ||
3393 | to always fail with ENOSYS. Some functions are actually named | ||
3394 | something starting with __ and the normal name is an alias. */ | ||
3395 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
3396 | choke me | ||
3397 | #else | ||
3398 | f = $ac_func; | ||
3399 | #endif | ||
3400 | |||
3401 | ; | ||
3402 | return 0; | ||
3403 | } | ||
3829 | _ACEOF | 3404 | _ACEOF |
3405 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
3406 | if { (eval echo "$as_me:3406: \"$ac_link\"") >&5 | ||
3407 | (eval $ac_link) 2>&5 | ||
3408 | ac_status=$? | ||
3409 | echo "$as_me:3409: \$? = $ac_status" >&5 | ||
3410 | (exit $ac_status); } && | ||
3411 | { ac_try='test -s conftest$ac_exeext' | ||
3412 | { (eval echo "$as_me:3412: \"$ac_try\"") >&5 | ||
3413 | (eval $ac_try) 2>&5 | ||
3414 | ac_status=$? | ||
3415 | echo "$as_me:3415: \$? = $ac_status" >&5 | ||
3416 | (exit $ac_status); }; }; then | ||
3417 | eval "$as_ac_var=yes" | ||
3418 | else | ||
3419 | echo "$as_me: failed program was:" >&5 | ||
3420 | cat conftest.$ac_ext >&5 | ||
3421 | eval "$as_ac_var=no" | ||
3422 | fi | ||
3423 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
3424 | fi | ||
3425 | echo "$as_me:3425: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
3426 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
3427 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
3428 | cat >>confdefs.h <<EOF | ||
3429 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
3430 | EOF | ||
3431 | |||
3432 | fi | ||
3433 | done | ||
3830 | 3434 | ||
3831 | cat >>confdefs.h <<\_ACEOF | 3435 | cat >>confdefs.h <<\EOF |
3436 | #define BROKEN_GETADDRINFO 1 | ||
3437 | EOF | ||
3438 | |||
3439 | cat >>confdefs.h <<\EOF | ||
3832 | #define BROKEN_REALPATH 1 | 3440 | #define BROKEN_REALPATH 1 |
3833 | _ACEOF | 3441 | EOF |
3442 | |||
3443 | cat >>confdefs.h <<\EOF | ||
3444 | #define SETEUID_BREAKS_SETUID 1 | ||
3445 | EOF | ||
3834 | 3446 | ||
3835 | cat >>confdefs.h <<\_ACEOF | 3447 | cat >>confdefs.h <<\EOF |
3448 | #define BROKEN_SETREUID 1 | ||
3449 | EOF | ||
3450 | |||
3451 | cat >>confdefs.h <<\EOF | ||
3452 | #define BROKEN_SETREGID 1 | ||
3453 | EOF | ||
3454 | |||
3455 | cat >>confdefs.h <<\EOF | ||
3836 | #define DISABLE_LASTLOG 1 | 3456 | #define DISABLE_LASTLOG 1 |
3837 | _ACEOF | 3457 | EOF |
3838 | 3458 | ||
3839 | cat >>confdefs.h <<\_ACEOF | 3459 | cat >>confdefs.h <<\EOF |
3840 | #define LOGIN_NEEDS_UTMPX 1 | 3460 | #define LOGIN_NEEDS_UTMPX 1 |
3841 | _ACEOF | 3461 | EOF |
3842 | 3462 | ||
3843 | cat >>confdefs.h <<\_ACEOF | 3463 | cat >>confdefs.h <<\EOF |
3844 | #define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV | 3464 | #define SPT_TYPE SPT_REUSEARGV |
3845 | _ACEOF | 3465 | EOF |
3846 | |||
3847 | cat >>confdefs.h <<\_ACEOF | ||
3848 | #define SETPROCTITLE_PS_PADDING '\0' | ||
3849 | _ACEOF | ||
3850 | 3466 | ||
3851 | ;; | 3467 | ;; |
3852 | *-*-cygwin*) | 3468 | *-*-cygwin*) |
3853 | check_for_libcrypt_later=1 | 3469 | check_for_libcrypt_later=1 |
3854 | LIBS="$LIBS /usr/lib/textmode.o" | 3470 | LIBS="$LIBS /usr/lib/textmode.o" |
3855 | cat >>confdefs.h <<\_ACEOF | 3471 | cat >>confdefs.h <<\EOF |
3856 | #define HAVE_CYGWIN 1 | 3472 | #define HAVE_CYGWIN 1 |
3857 | _ACEOF | 3473 | EOF |
3858 | 3474 | ||
3859 | cat >>confdefs.h <<\_ACEOF | 3475 | cat >>confdefs.h <<\EOF |
3860 | #define USE_PIPES 1 | 3476 | #define USE_PIPES 1 |
3861 | _ACEOF | 3477 | EOF |
3862 | 3478 | ||
3863 | cat >>confdefs.h <<\_ACEOF | 3479 | cat >>confdefs.h <<\EOF |
3864 | #define DISABLE_SHADOW 1 | 3480 | #define DISABLE_SHADOW 1 |
3865 | _ACEOF | 3481 | EOF |
3866 | |||
3867 | cat >>confdefs.h <<\_ACEOF | ||
3868 | #define IPV4_DEFAULT 1 | ||
3869 | _ACEOF | ||
3870 | 3482 | ||
3871 | cat >>confdefs.h <<\_ACEOF | 3483 | cat >>confdefs.h <<\EOF |
3872 | #define IP_TOS_IS_BROKEN 1 | 3484 | #define IP_TOS_IS_BROKEN 1 |
3873 | _ACEOF | 3485 | EOF |
3874 | 3486 | ||
3875 | cat >>confdefs.h <<\_ACEOF | 3487 | cat >>confdefs.h <<\EOF |
3876 | #define NO_X11_UNIX_SOCKETS 1 | 3488 | #define NO_X11_UNIX_SOCKETS 1 |
3877 | _ACEOF | 3489 | EOF |
3878 | 3490 | ||
3879 | cat >>confdefs.h <<\_ACEOF | 3491 | cat >>confdefs.h <<\EOF |
3880 | #define NO_IPPORT_RESERVED_CONCEPT 1 | 3492 | #define NO_IPPORT_RESERVED_CONCEPT 1 |
3881 | _ACEOF | 3493 | EOF |
3882 | 3494 | ||
3883 | cat >>confdefs.h <<\_ACEOF | 3495 | cat >>confdefs.h <<\EOF |
3884 | #define DISABLE_FD_PASSING 1 | 3496 | #define DISABLE_FD_PASSING 1 |
3885 | _ACEOF | 3497 | EOF |
3886 | 3498 | ||
3887 | cat >>confdefs.h <<\_ACEOF | 3499 | cat >>confdefs.h <<\EOF |
3888 | #define SETGROUPS_NOOP 1 | 3500 | #define SETGROUPS_NOOP 1 |
3889 | _ACEOF | 3501 | EOF |
3890 | 3502 | ||
3891 | ;; | 3503 | ;; |
3892 | *-*-dgux*) | 3504 | *-*-dgux*) |
3893 | cat >>confdefs.h <<\_ACEOF | 3505 | cat >>confdefs.h <<\EOF |
3894 | #define IP_TOS_IS_BROKEN 1 | 3506 | #define IP_TOS_IS_BROKEN 1 |
3895 | _ACEOF | 3507 | EOF |
3896 | 3508 | ||
3897 | ;; | 3509 | ;; |
3898 | *-*-darwin*) | 3510 | *-*-darwin*) |
3899 | echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 | 3511 | echo "$as_me:3511: checking if we have working getaddrinfo" >&5 |
3900 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 | 3512 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 |
3901 | if test "$cross_compiling" = yes; then | 3513 | if test "$cross_compiling" = yes; then |
3902 | echo "$as_me:$LINENO: result: assume it is working" >&5 | 3514 | echo "$as_me:3514: result: assume it is working" >&5 |
3903 | echo "${ECHO_T}assume it is working" >&6 | 3515 | echo "${ECHO_T}assume it is working" >&6 |
3904 | else | 3516 | else |
3905 | cat >conftest.$ac_ext <<_ACEOF | 3517 | cat >conftest.$ac_ext <<_ACEOF |
3906 | #line $LINENO "configure" | 3518 | #line 3518 "configure" |
3907 | /* confdefs.h. */ | 3519 | #include "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> | 3520 | #include <mach-o/dyld.h> |
3913 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | 3521 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) |
3914 | exit(0); | 3522 | exit(0); |
@@ -3917,32 +3525,30 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
3917 | } | 3525 | } |
3918 | _ACEOF | 3526 | _ACEOF |
3919 | rm -f conftest$ac_exeext | 3527 | rm -f conftest$ac_exeext |
3920 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3528 | if { (eval echo "$as_me:3528: \"$ac_link\"") >&5 |
3921 | (eval $ac_link) 2>&5 | 3529 | (eval $ac_link) 2>&5 |
3922 | ac_status=$? | 3530 | ac_status=$? |
3923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3531 | echo "$as_me:3531: \$? = $ac_status" >&5 |
3924 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 3532 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3533 | { (eval echo "$as_me:3533: \"$ac_try\"") >&5 |
3926 | (eval $ac_try) 2>&5 | 3534 | (eval $ac_try) 2>&5 |
3927 | ac_status=$? | 3535 | ac_status=$? |
3928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3536 | echo "$as_me:3536: \$? = $ac_status" >&5 |
3929 | (exit $ac_status); }; }; then | 3537 | (exit $ac_status); }; }; then |
3930 | echo "$as_me:$LINENO: result: working" >&5 | 3538 | echo "$as_me:3538: result: working" >&5 |
3931 | echo "${ECHO_T}working" >&6 | 3539 | echo "${ECHO_T}working" >&6 |
3932 | else | 3540 | else |
3933 | echo "$as_me: program exited with status $ac_status" >&5 | 3541 | echo "$as_me: program exited with status $ac_status" >&5 |
3934 | echo "$as_me: failed program was:" >&5 | 3542 | echo "$as_me: failed program was:" >&5 |
3935 | sed 's/^/| /' conftest.$ac_ext >&5 | 3543 | cat conftest.$ac_ext >&5 |
3936 | 3544 | echo "$as_me:3544: result: buggy" >&5 | |
3937 | ( exit $ac_status ) | ||
3938 | echo "$as_me:$LINENO: result: buggy" >&5 | ||
3939 | echo "${ECHO_T}buggy" >&6 | 3545 | echo "${ECHO_T}buggy" >&6 |
3940 | cat >>confdefs.h <<\_ACEOF | 3546 | cat >>confdefs.h <<\EOF |
3941 | #define BROKEN_GETADDRINFO 1 | 3547 | #define BROKEN_GETADDRINFO 1 |
3942 | _ACEOF | 3548 | EOF |
3943 | 3549 | ||
3944 | fi | 3550 | fi |
3945 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3551 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3946 | fi | 3552 | fi |
3947 | ;; | 3553 | ;; |
3948 | *-*-hpux10.26) | 3554 | *-*-hpux10.26) |
@@ -3951,37 +3557,41 @@ fi | |||
3951 | fi | 3557 | fi |
3952 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 3558 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
3953 | IPADDR_IN_DISPLAY=yes | 3559 | IPADDR_IN_DISPLAY=yes |
3954 | cat >>confdefs.h <<\_ACEOF | 3560 | cat >>confdefs.h <<\EOF |
3955 | #define HAVE_SECUREWARE 1 | 3561 | #define HAVE_SECUREWARE 1 |
3956 | _ACEOF | 3562 | EOF |
3957 | 3563 | ||
3958 | cat >>confdefs.h <<\_ACEOF | 3564 | cat >>confdefs.h <<\EOF |
3959 | #define USE_PIPES 1 | 3565 | #define USE_PIPES 1 |
3960 | _ACEOF | 3566 | EOF |
3961 | 3567 | ||
3962 | cat >>confdefs.h <<\_ACEOF | 3568 | cat >>confdefs.h <<\EOF |
3963 | #define LOGIN_NO_ENDOPT 1 | 3569 | #define LOGIN_NO_ENDOPT 1 |
3964 | _ACEOF | 3570 | EOF |
3965 | 3571 | ||
3966 | cat >>confdefs.h <<\_ACEOF | 3572 | cat >>confdefs.h <<\EOF |
3967 | #define LOGIN_NEEDS_UTMPX 1 | 3573 | #define LOGIN_NEEDS_UTMPX 1 |
3968 | _ACEOF | 3574 | EOF |
3969 | 3575 | ||
3970 | cat >>confdefs.h <<\_ACEOF | 3576 | cat >>confdefs.h <<\EOF |
3971 | #define DISABLE_SHADOW 1 | 3577 | #define DISABLE_SHADOW 1 |
3972 | _ACEOF | 3578 | EOF |
3973 | 3579 | ||
3974 | cat >>confdefs.h <<\_ACEOF | 3580 | cat >>confdefs.h <<\EOF |
3975 | #define DISABLE_UTMP 1 | 3581 | #define DISABLE_UTMP 1 |
3976 | _ACEOF | 3582 | EOF |
3977 | 3583 | ||
3978 | cat >>confdefs.h <<\_ACEOF | 3584 | cat >>confdefs.h <<\EOF |
3979 | #define SETPROCTITLE_STRATEGY PS_USE_PSTAT | 3585 | #define LOCKED_PASSWD_STRING "*" |
3980 | _ACEOF | 3586 | EOF |
3587 | |||
3588 | cat >>confdefs.h <<\EOF | ||
3589 | #define SPT_TYPE SPT_PSTAT | ||
3590 | EOF | ||
3981 | 3591 | ||
3982 | LIBS="$LIBS -lsec -lsecpw" | 3592 | LIBS="$LIBS -lsec -lsecpw" |
3983 | 3593 | ||
3984 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 3594 | echo "$as_me:3594: checking for t_error in -lxnet" >&5 |
3985 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | 3595 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 |
3986 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 3596 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
3987 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3597 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -3989,12 +3599,8 @@ else | |||
3989 | ac_check_lib_save_LIBS=$LIBS | 3599 | ac_check_lib_save_LIBS=$LIBS |
3990 | LIBS="-lxnet $LIBS" | 3600 | LIBS="-lxnet $LIBS" |
3991 | cat >conftest.$ac_ext <<_ACEOF | 3601 | cat >conftest.$ac_ext <<_ACEOF |
3992 | #line $LINENO "configure" | 3602 | #line 3602 "configure" |
3993 | /* confdefs.h. */ | 3603 | #include "confdefs.h" |
3994 | _ACEOF | ||
3995 | cat confdefs.h >>conftest.$ac_ext | ||
3996 | cat >>conftest.$ac_ext <<_ACEOF | ||
3997 | /* end confdefs.h. */ | ||
3998 | 3604 | ||
3999 | /* Override any gcc2 internal prototype to avoid an error. */ | 3605 | /* Override any gcc2 internal prototype to avoid an error. */ |
4000 | #ifdef __cplusplus | 3606 | #ifdef __cplusplus |
@@ -4012,38 +3618,37 @@ t_error (); | |||
4012 | } | 3618 | } |
4013 | _ACEOF | 3619 | _ACEOF |
4014 | rm -f conftest.$ac_objext conftest$ac_exeext | 3620 | rm -f conftest.$ac_objext conftest$ac_exeext |
4015 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3621 | if { (eval echo "$as_me:3621: \"$ac_link\"") >&5 |
4016 | (eval $ac_link) 2>&5 | 3622 | (eval $ac_link) 2>&5 |
4017 | ac_status=$? | 3623 | ac_status=$? |
4018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3624 | echo "$as_me:3624: \$? = $ac_status" >&5 |
4019 | (exit $ac_status); } && | 3625 | (exit $ac_status); } && |
4020 | { ac_try='test -s conftest$ac_exeext' | 3626 | { ac_try='test -s conftest$ac_exeext' |
4021 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3627 | { (eval echo "$as_me:3627: \"$ac_try\"") >&5 |
4022 | (eval $ac_try) 2>&5 | 3628 | (eval $ac_try) 2>&5 |
4023 | ac_status=$? | 3629 | ac_status=$? |
4024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3630 | echo "$as_me:3630: \$? = $ac_status" >&5 |
4025 | (exit $ac_status); }; }; then | 3631 | (exit $ac_status); }; }; then |
4026 | ac_cv_lib_xnet_t_error=yes | 3632 | ac_cv_lib_xnet_t_error=yes |
4027 | else | 3633 | else |
4028 | echo "$as_me: failed program was:" >&5 | 3634 | echo "$as_me: failed program was:" >&5 |
4029 | sed 's/^/| /' conftest.$ac_ext >&5 | 3635 | cat conftest.$ac_ext >&5 |
4030 | |||
4031 | ac_cv_lib_xnet_t_error=no | 3636 | ac_cv_lib_xnet_t_error=no |
4032 | fi | 3637 | fi |
4033 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3638 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4034 | LIBS=$ac_check_lib_save_LIBS | 3639 | LIBS=$ac_check_lib_save_LIBS |
4035 | fi | 3640 | fi |
4036 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | 3641 | echo "$as_me:3641: result: $ac_cv_lib_xnet_t_error" >&5 |
4037 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | 3642 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 |
4038 | if test $ac_cv_lib_xnet_t_error = yes; then | 3643 | if test $ac_cv_lib_xnet_t_error = yes; then |
4039 | cat >>confdefs.h <<_ACEOF | 3644 | cat >>confdefs.h <<EOF |
4040 | #define HAVE_LIBXNET 1 | 3645 | #define HAVE_LIBXNET 1 |
4041 | _ACEOF | 3646 | EOF |
4042 | 3647 | ||
4043 | LIBS="-lxnet $LIBS" | 3648 | LIBS="-lxnet $LIBS" |
4044 | 3649 | ||
4045 | else | 3650 | else |
4046 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 3651 | { { echo "$as_me:3651: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 |
4047 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | 3652 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} |
4048 | { (exit 1); exit 1; }; } | 3653 | { (exit 1); exit 1; }; } |
4049 | fi | 3654 | fi |
@@ -4056,33 +3661,37 @@ fi | |||
4056 | fi | 3661 | fi |
4057 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 3662 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
4058 | IPADDR_IN_DISPLAY=yes | 3663 | IPADDR_IN_DISPLAY=yes |
4059 | cat >>confdefs.h <<\_ACEOF | 3664 | cat >>confdefs.h <<\EOF |
4060 | #define USE_PIPES 1 | 3665 | #define USE_PIPES 1 |
4061 | _ACEOF | 3666 | EOF |
4062 | 3667 | ||
4063 | cat >>confdefs.h <<\_ACEOF | 3668 | cat >>confdefs.h <<\EOF |
4064 | #define LOGIN_NO_ENDOPT 1 | 3669 | #define LOGIN_NO_ENDOPT 1 |
4065 | _ACEOF | 3670 | EOF |
4066 | 3671 | ||
4067 | cat >>confdefs.h <<\_ACEOF | 3672 | cat >>confdefs.h <<\EOF |
4068 | #define LOGIN_NEEDS_UTMPX 1 | 3673 | #define LOGIN_NEEDS_UTMPX 1 |
4069 | _ACEOF | 3674 | EOF |
4070 | 3675 | ||
4071 | cat >>confdefs.h <<\_ACEOF | 3676 | cat >>confdefs.h <<\EOF |
4072 | #define DISABLE_SHADOW 1 | 3677 | #define DISABLE_SHADOW 1 |
4073 | _ACEOF | 3678 | EOF |
4074 | 3679 | ||
4075 | cat >>confdefs.h <<\_ACEOF | 3680 | cat >>confdefs.h <<\EOF |
4076 | #define DISABLE_UTMP 1 | 3681 | #define DISABLE_UTMP 1 |
4077 | _ACEOF | 3682 | EOF |
4078 | 3683 | ||
4079 | cat >>confdefs.h <<\_ACEOF | 3684 | cat >>confdefs.h <<\EOF |
4080 | #define SETPROCTITLE_STRATEGY PS_USE_PSTAT | 3685 | #define LOCKED_PASSWD_STRING "*" |
4081 | _ACEOF | 3686 | EOF |
3687 | |||
3688 | cat >>confdefs.h <<\EOF | ||
3689 | #define SPT_TYPE SPT_PSTAT | ||
3690 | EOF | ||
4082 | 3691 | ||
4083 | LIBS="$LIBS -lsec" | 3692 | LIBS="$LIBS -lsec" |
4084 | 3693 | ||
4085 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 3694 | echo "$as_me:3694: checking for t_error in -lxnet" >&5 |
4086 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | 3695 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 |
4087 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 3696 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
4088 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3697 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -4090,12 +3699,8 @@ else | |||
4090 | ac_check_lib_save_LIBS=$LIBS | 3699 | ac_check_lib_save_LIBS=$LIBS |
4091 | LIBS="-lxnet $LIBS" | 3700 | LIBS="-lxnet $LIBS" |
4092 | cat >conftest.$ac_ext <<_ACEOF | 3701 | cat >conftest.$ac_ext <<_ACEOF |
4093 | #line $LINENO "configure" | 3702 | #line 3702 "configure" |
4094 | /* confdefs.h. */ | 3703 | #include "confdefs.h" |
4095 | _ACEOF | ||
4096 | cat confdefs.h >>conftest.$ac_ext | ||
4097 | cat >>conftest.$ac_ext <<_ACEOF | ||
4098 | /* end confdefs.h. */ | ||
4099 | 3704 | ||
4100 | /* Override any gcc2 internal prototype to avoid an error. */ | 3705 | /* Override any gcc2 internal prototype to avoid an error. */ |
4101 | #ifdef __cplusplus | 3706 | #ifdef __cplusplus |
@@ -4113,38 +3718,37 @@ t_error (); | |||
4113 | } | 3718 | } |
4114 | _ACEOF | 3719 | _ACEOF |
4115 | rm -f conftest.$ac_objext conftest$ac_exeext | 3720 | rm -f conftest.$ac_objext conftest$ac_exeext |
4116 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3721 | if { (eval echo "$as_me:3721: \"$ac_link\"") >&5 |
4117 | (eval $ac_link) 2>&5 | 3722 | (eval $ac_link) 2>&5 |
4118 | ac_status=$? | 3723 | ac_status=$? |
4119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3724 | echo "$as_me:3724: \$? = $ac_status" >&5 |
4120 | (exit $ac_status); } && | 3725 | (exit $ac_status); } && |
4121 | { ac_try='test -s conftest$ac_exeext' | 3726 | { ac_try='test -s conftest$ac_exeext' |
4122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3727 | { (eval echo "$as_me:3727: \"$ac_try\"") >&5 |
4123 | (eval $ac_try) 2>&5 | 3728 | (eval $ac_try) 2>&5 |
4124 | ac_status=$? | 3729 | ac_status=$? |
4125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3730 | echo "$as_me:3730: \$? = $ac_status" >&5 |
4126 | (exit $ac_status); }; }; then | 3731 | (exit $ac_status); }; }; then |
4127 | ac_cv_lib_xnet_t_error=yes | 3732 | ac_cv_lib_xnet_t_error=yes |
4128 | else | 3733 | else |
4129 | echo "$as_me: failed program was:" >&5 | 3734 | echo "$as_me: failed program was:" >&5 |
4130 | sed 's/^/| /' conftest.$ac_ext >&5 | 3735 | cat conftest.$ac_ext >&5 |
4131 | |||
4132 | ac_cv_lib_xnet_t_error=no | 3736 | ac_cv_lib_xnet_t_error=no |
4133 | fi | 3737 | fi |
4134 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3738 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4135 | LIBS=$ac_check_lib_save_LIBS | 3739 | LIBS=$ac_check_lib_save_LIBS |
4136 | fi | 3740 | fi |
4137 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | 3741 | echo "$as_me:3741: result: $ac_cv_lib_xnet_t_error" >&5 |
4138 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | 3742 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 |
4139 | if test $ac_cv_lib_xnet_t_error = yes; then | 3743 | if test $ac_cv_lib_xnet_t_error = yes; then |
4140 | cat >>confdefs.h <<_ACEOF | 3744 | cat >>confdefs.h <<EOF |
4141 | #define HAVE_LIBXNET 1 | 3745 | #define HAVE_LIBXNET 1 |
4142 | _ACEOF | 3746 | EOF |
4143 | 3747 | ||
4144 | LIBS="-lxnet $LIBS" | 3748 | LIBS="-lxnet $LIBS" |
4145 | 3749 | ||
4146 | else | 3750 | else |
4147 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 3751 | { { echo "$as_me:3751: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 |
4148 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | 3752 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} |
4149 | { (exit 1); exit 1; }; } | 3753 | { (exit 1); exit 1; }; } |
4150 | fi | 3754 | fi |
@@ -4153,37 +3757,41 @@ fi | |||
4153 | *-*-hpux11*) | 3757 | *-*-hpux11*) |
4154 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 3758 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
4155 | IPADDR_IN_DISPLAY=yes | 3759 | IPADDR_IN_DISPLAY=yes |
4156 | cat >>confdefs.h <<\_ACEOF | 3760 | cat >>confdefs.h <<\EOF |
4157 | #define PAM_SUN_CODEBASE 1 | 3761 | #define PAM_SUN_CODEBASE 1 |
4158 | _ACEOF | 3762 | EOF |
4159 | 3763 | ||
4160 | cat >>confdefs.h <<\_ACEOF | 3764 | cat >>confdefs.h <<\EOF |
4161 | #define USE_PIPES 1 | 3765 | #define USE_PIPES 1 |
4162 | _ACEOF | 3766 | EOF |
4163 | 3767 | ||
4164 | cat >>confdefs.h <<\_ACEOF | 3768 | cat >>confdefs.h <<\EOF |
4165 | #define LOGIN_NO_ENDOPT 1 | 3769 | #define LOGIN_NO_ENDOPT 1 |
4166 | _ACEOF | 3770 | EOF |
4167 | 3771 | ||
4168 | cat >>confdefs.h <<\_ACEOF | 3772 | cat >>confdefs.h <<\EOF |
4169 | #define LOGIN_NEEDS_UTMPX 1 | 3773 | #define LOGIN_NEEDS_UTMPX 1 |
4170 | _ACEOF | 3774 | EOF |
4171 | 3775 | ||
4172 | cat >>confdefs.h <<\_ACEOF | 3776 | cat >>confdefs.h <<\EOF |
4173 | #define DISABLE_SHADOW 1 | 3777 | #define DISABLE_SHADOW 1 |
4174 | _ACEOF | 3778 | EOF |
4175 | 3779 | ||
4176 | cat >>confdefs.h <<\_ACEOF | 3780 | cat >>confdefs.h <<\EOF |
4177 | #define DISABLE_UTMP 1 | 3781 | #define DISABLE_UTMP 1 |
4178 | _ACEOF | 3782 | EOF |
4179 | 3783 | ||
4180 | cat >>confdefs.h <<\_ACEOF | 3784 | cat >>confdefs.h <<\EOF |
4181 | #define SETPROCTITLE_STRATEGY PS_USE_PSTAT | 3785 | #define LOCKED_PASSWD_STRING "*" |
4182 | _ACEOF | 3786 | EOF |
3787 | |||
3788 | cat >>confdefs.h <<\EOF | ||
3789 | #define SPT_TYPE SPT_PSTAT | ||
3790 | EOF | ||
4183 | 3791 | ||
4184 | LIBS="$LIBS -lsec" | 3792 | LIBS="$LIBS -lsec" |
4185 | 3793 | ||
4186 | echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 3794 | echo "$as_me:3794: checking for t_error in -lxnet" >&5 |
4187 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 | 3795 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 |
4188 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 3796 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
4189 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3797 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -4191,12 +3799,8 @@ else | |||
4191 | ac_check_lib_save_LIBS=$LIBS | 3799 | ac_check_lib_save_LIBS=$LIBS |
4192 | LIBS="-lxnet $LIBS" | 3800 | LIBS="-lxnet $LIBS" |
4193 | cat >conftest.$ac_ext <<_ACEOF | 3801 | cat >conftest.$ac_ext <<_ACEOF |
4194 | #line $LINENO "configure" | 3802 | #line 3802 "configure" |
4195 | /* confdefs.h. */ | 3803 | #include "confdefs.h" |
4196 | _ACEOF | ||
4197 | cat confdefs.h >>conftest.$ac_ext | ||
4198 | cat >>conftest.$ac_ext <<_ACEOF | ||
4199 | /* end confdefs.h. */ | ||
4200 | 3804 | ||
4201 | /* Override any gcc2 internal prototype to avoid an error. */ | 3805 | /* Override any gcc2 internal prototype to avoid an error. */ |
4202 | #ifdef __cplusplus | 3806 | #ifdef __cplusplus |
@@ -4214,38 +3818,37 @@ t_error (); | |||
4214 | } | 3818 | } |
4215 | _ACEOF | 3819 | _ACEOF |
4216 | rm -f conftest.$ac_objext conftest$ac_exeext | 3820 | rm -f conftest.$ac_objext conftest$ac_exeext |
4217 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3821 | if { (eval echo "$as_me:3821: \"$ac_link\"") >&5 |
4218 | (eval $ac_link) 2>&5 | 3822 | (eval $ac_link) 2>&5 |
4219 | ac_status=$? | 3823 | ac_status=$? |
4220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3824 | echo "$as_me:3824: \$? = $ac_status" >&5 |
4221 | (exit $ac_status); } && | 3825 | (exit $ac_status); } && |
4222 | { ac_try='test -s conftest$ac_exeext' | 3826 | { ac_try='test -s conftest$ac_exeext' |
4223 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3827 | { (eval echo "$as_me:3827: \"$ac_try\"") >&5 |
4224 | (eval $ac_try) 2>&5 | 3828 | (eval $ac_try) 2>&5 |
4225 | ac_status=$? | 3829 | ac_status=$? |
4226 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3830 | echo "$as_me:3830: \$? = $ac_status" >&5 |
4227 | (exit $ac_status); }; }; then | 3831 | (exit $ac_status); }; }; then |
4228 | ac_cv_lib_xnet_t_error=yes | 3832 | ac_cv_lib_xnet_t_error=yes |
4229 | else | 3833 | else |
4230 | echo "$as_me: failed program was:" >&5 | 3834 | echo "$as_me: failed program was:" >&5 |
4231 | sed 's/^/| /' conftest.$ac_ext >&5 | 3835 | cat conftest.$ac_ext >&5 |
4232 | |||
4233 | ac_cv_lib_xnet_t_error=no | 3836 | ac_cv_lib_xnet_t_error=no |
4234 | fi | 3837 | fi |
4235 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3838 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4236 | LIBS=$ac_check_lib_save_LIBS | 3839 | LIBS=$ac_check_lib_save_LIBS |
4237 | fi | 3840 | fi |
4238 | echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | 3841 | echo "$as_me:3841: result: $ac_cv_lib_xnet_t_error" >&5 |
4239 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 | 3842 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 |
4240 | if test $ac_cv_lib_xnet_t_error = yes; then | 3843 | if test $ac_cv_lib_xnet_t_error = yes; then |
4241 | cat >>confdefs.h <<_ACEOF | 3844 | cat >>confdefs.h <<EOF |
4242 | #define HAVE_LIBXNET 1 | 3845 | #define HAVE_LIBXNET 1 |
4243 | _ACEOF | 3846 | EOF |
4244 | 3847 | ||
4245 | LIBS="-lxnet $LIBS" | 3848 | LIBS="-lxnet $LIBS" |
4246 | 3849 | ||
4247 | else | 3850 | else |
4248 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 3851 | { { echo "$as_me:3851: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 |
4249 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | 3852 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} |
4250 | { (exit 1); exit 1; }; } | 3853 | { (exit 1); exit 1; }; } |
4251 | fi | 3854 | fi |
@@ -4255,144 +3858,147 @@ fi | |||
4255 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 3858 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4256 | LDFLAGS="$LDFLAGS" | 3859 | LDFLAGS="$LDFLAGS" |
4257 | PATH="$PATH:/usr/etc" | 3860 | PATH="$PATH:/usr/etc" |
4258 | cat >>confdefs.h <<\_ACEOF | 3861 | cat >>confdefs.h <<\EOF |
4259 | #define BROKEN_INET_NTOA 1 | 3862 | #define BROKEN_INET_NTOA 1 |
4260 | _ACEOF | 3863 | EOF |
4261 | 3864 | ||
4262 | cat >>confdefs.h <<\_ACEOF | 3865 | cat >>confdefs.h <<\EOF |
4263 | #define WITH_ABBREV_NO_TTY 1 | 3866 | #define WITH_ABBREV_NO_TTY 1 |
4264 | _ACEOF | 3867 | EOF |
3868 | |||
3869 | cat >>confdefs.h <<\EOF | ||
3870 | #define LOCKED_PASSWD_STRING "*LK*" | ||
3871 | EOF | ||
4265 | 3872 | ||
4266 | ;; | 3873 | ;; |
4267 | *-*-irix6*) | 3874 | *-*-irix6*) |
4268 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 3875 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4269 | LDFLAGS="$LDFLAGS" | 3876 | LDFLAGS="$LDFLAGS" |
4270 | PATH="$PATH:/usr/etc" | 3877 | PATH="$PATH:/usr/etc" |
4271 | cat >>confdefs.h <<\_ACEOF | 3878 | cat >>confdefs.h <<\EOF |
4272 | #define WITH_IRIX_ARRAY 1 | 3879 | #define WITH_IRIX_ARRAY 1 |
4273 | _ACEOF | 3880 | EOF |
4274 | 3881 | ||
4275 | cat >>confdefs.h <<\_ACEOF | 3882 | cat >>confdefs.h <<\EOF |
4276 | #define WITH_IRIX_PROJECT 1 | 3883 | #define WITH_IRIX_PROJECT 1 |
4277 | _ACEOF | 3884 | EOF |
4278 | 3885 | ||
4279 | cat >>confdefs.h <<\_ACEOF | 3886 | cat >>confdefs.h <<\EOF |
4280 | #define WITH_IRIX_AUDIT 1 | 3887 | #define WITH_IRIX_AUDIT 1 |
4281 | _ACEOF | 3888 | EOF |
4282 | 3889 | ||
4283 | echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 | 3890 | echo "$as_me:3890: checking for jlimit_startjob" >&5 |
4284 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 | 3891 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 |
4285 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | 3892 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then |
4286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4287 | else | 3894 | else |
4288 | cat >conftest.$ac_ext <<_ACEOF | 3895 | cat >conftest.$ac_ext <<_ACEOF |
4289 | #line $LINENO "configure" | 3896 | #line 3896 "configure" |
4290 | /* confdefs.h. */ | 3897 | #include "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, | 3898 | /* System header to define __stub macros and hopefully few prototypes, |
4296 | which can conflict with char jlimit_startjob (); below. | 3899 | which can conflict with char jlimit_startjob (); below. */ |
4297 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3900 | #include <assert.h> |
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. */ | 3901 | /* Override any gcc2 internal prototype to avoid an error. */ |
4305 | #ifdef __cplusplus | 3902 | #ifdef __cplusplus |
4306 | extern "C" | 3903 | extern "C" |
4307 | { | ||
4308 | #endif | 3904 | #endif |
4309 | /* We use char because int might match the return type of a gcc2 | 3905 | /* We use char because int might match the return type of a gcc2 |
4310 | builtin and then its argument prototype would still apply. */ | 3906 | builtin and then its argument prototype would still apply. */ |
4311 | char jlimit_startjob (); | 3907 | char jlimit_startjob (); |
3908 | char (*f) (); | ||
3909 | |||
3910 | int | ||
3911 | main () | ||
3912 | { | ||
4312 | /* The GNU C library defines this for functions which it implements | 3913 | /* The GNU C library defines this for functions which it implements |
4313 | to always fail with ENOSYS. Some functions are actually named | 3914 | to always fail with ENOSYS. Some functions are actually named |
4314 | something starting with __ and the normal name is an alias. */ | 3915 | something starting with __ and the normal name is an alias. */ |
4315 | #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) | 3916 | #if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) |
4316 | choke me | 3917 | choke me |
4317 | #else | 3918 | #else |
4318 | char (*f) () = jlimit_startjob; | 3919 | f = jlimit_startjob; |
4319 | #endif | ||
4320 | #ifdef __cplusplus | ||
4321 | } | ||
4322 | #endif | 3920 | #endif |
4323 | 3921 | ||
4324 | int | ||
4325 | main () | ||
4326 | { | ||
4327 | return f != jlimit_startjob; | ||
4328 | ; | 3922 | ; |
4329 | return 0; | 3923 | return 0; |
4330 | } | 3924 | } |
4331 | _ACEOF | 3925 | _ACEOF |
4332 | rm -f conftest.$ac_objext conftest$ac_exeext | 3926 | rm -f conftest.$ac_objext conftest$ac_exeext |
4333 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3927 | if { (eval echo "$as_me:3927: \"$ac_link\"") >&5 |
4334 | (eval $ac_link) 2>&5 | 3928 | (eval $ac_link) 2>&5 |
4335 | ac_status=$? | 3929 | ac_status=$? |
4336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3930 | echo "$as_me:3930: \$? = $ac_status" >&5 |
4337 | (exit $ac_status); } && | 3931 | (exit $ac_status); } && |
4338 | { ac_try='test -s conftest$ac_exeext' | 3932 | { ac_try='test -s conftest$ac_exeext' |
4339 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3933 | { (eval echo "$as_me:3933: \"$ac_try\"") >&5 |
4340 | (eval $ac_try) 2>&5 | 3934 | (eval $ac_try) 2>&5 |
4341 | ac_status=$? | 3935 | ac_status=$? |
4342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3936 | echo "$as_me:3936: \$? = $ac_status" >&5 |
4343 | (exit $ac_status); }; }; then | 3937 | (exit $ac_status); }; }; then |
4344 | ac_cv_func_jlimit_startjob=yes | 3938 | ac_cv_func_jlimit_startjob=yes |
4345 | else | 3939 | else |
4346 | echo "$as_me: failed program was:" >&5 | 3940 | echo "$as_me: failed program was:" >&5 |
4347 | sed 's/^/| /' conftest.$ac_ext >&5 | 3941 | cat conftest.$ac_ext >&5 |
4348 | |||
4349 | ac_cv_func_jlimit_startjob=no | 3942 | ac_cv_func_jlimit_startjob=no |
4350 | fi | 3943 | fi |
4351 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 3944 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4352 | fi | 3945 | fi |
4353 | echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | 3946 | echo "$as_me:3946: result: $ac_cv_func_jlimit_startjob" >&5 |
4354 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 | 3947 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 |
4355 | if test $ac_cv_func_jlimit_startjob = yes; then | 3948 | if test $ac_cv_func_jlimit_startjob = yes; then |
4356 | cat >>confdefs.h <<\_ACEOF | 3949 | cat >>confdefs.h <<\EOF |
4357 | #define WITH_IRIX_JOBS 1 | 3950 | #define WITH_IRIX_JOBS 1 |
4358 | _ACEOF | 3951 | EOF |
4359 | 3952 | ||
4360 | fi | 3953 | fi |
4361 | 3954 | ||
4362 | cat >>confdefs.h <<\_ACEOF | 3955 | cat >>confdefs.h <<\EOF |
4363 | #define BROKEN_INET_NTOA 1 | 3956 | #define BROKEN_INET_NTOA 1 |
4364 | _ACEOF | 3957 | EOF |
4365 | 3958 | ||
4366 | cat >>confdefs.h <<\_ACEOF | 3959 | cat >>confdefs.h <<\EOF |
4367 | #define WITH_ABBREV_NO_TTY 1 | 3960 | #define WITH_ABBREV_NO_TTY 1 |
4368 | _ACEOF | 3961 | EOF |
3962 | |||
3963 | cat >>confdefs.h <<\EOF | ||
3964 | #define LOCKED_PASSWD_STRING "*LK*" | ||
3965 | EOF | ||
4369 | 3966 | ||
4370 | ;; | 3967 | ;; |
4371 | *-*-linux*) | 3968 | *-*-linux*) |
4372 | no_dev_ptmx=1 | 3969 | no_dev_ptmx=1 |
4373 | check_for_libcrypt_later=1 | 3970 | check_for_libcrypt_later=1 |
4374 | cat >>confdefs.h <<\_ACEOF | 3971 | check_for_openpty_ctty_bug=1 |
3972 | cat >>confdefs.h <<\EOF | ||
4375 | #define DONT_TRY_OTHER_AF 1 | 3973 | #define DONT_TRY_OTHER_AF 1 |
4376 | _ACEOF | 3974 | EOF |
4377 | 3975 | ||
4378 | cat >>confdefs.h <<\_ACEOF | 3976 | cat >>confdefs.h <<\EOF |
4379 | #define PAM_TTY_KLUDGE 1 | 3977 | #define PAM_TTY_KLUDGE 1 |
4380 | _ACEOF | 3978 | EOF |
4381 | 3979 | ||
4382 | cat >>confdefs.h <<\_ACEOF | 3980 | cat >>confdefs.h <<\EOF |
4383 | #define SETPROCTITLE_STRATEGY PS_USE_CLOBBER_ARGV | 3981 | #define LOCKED_PASSWD_PREFIX "!!" |
4384 | _ACEOF | 3982 | EOF |
4385 | 3983 | ||
4386 | cat >>confdefs.h <<\_ACEOF | 3984 | cat >>confdefs.h <<\EOF |
4387 | #define SETPROCTITLE_PS_PADDING '\0' | 3985 | #define SPT_TYPE SPT_REUSEARGV |
4388 | _ACEOF | 3986 | EOF |
4389 | 3987 | ||
4390 | inet6_default_4in6=yes | 3988 | inet6_default_4in6=yes |
3989 | case `uname -r` in | ||
3990 | 1.*|2.0.*) | ||
3991 | cat >>confdefs.h <<\EOF | ||
3992 | #define BROKEN_CMSG_TYPE 1 | ||
3993 | EOF | ||
3994 | |||
3995 | ;; | ||
3996 | esac | ||
4391 | ;; | 3997 | ;; |
4392 | mips-sony-bsd|mips-sony-newsos4) | 3998 | mips-sony-bsd|mips-sony-newsos4) |
4393 | cat >>confdefs.h <<\_ACEOF | 3999 | cat >>confdefs.h <<\EOF |
4394 | #define HAVE_NEWS4 1 | 4000 | #define HAVE_NEWS4 1 |
4395 | _ACEOF | 4001 | EOF |
4396 | 4002 | ||
4397 | SONY=1 | 4003 | SONY=1 |
4398 | ;; | 4004 | ;; |
@@ -4408,21 +4014,21 @@ _ACEOF | |||
4408 | conf_utmp_location=/etc/utmp | 4014 | conf_utmp_location=/etc/utmp |
4409 | conf_wtmp_location=/usr/adm/wtmp | 4015 | conf_wtmp_location=/usr/adm/wtmp |
4410 | MAIL=/usr/spool/mail | 4016 | MAIL=/usr/spool/mail |
4411 | cat >>confdefs.h <<\_ACEOF | 4017 | cat >>confdefs.h <<\EOF |
4412 | #define HAVE_NEXT 1 | 4018 | #define HAVE_NEXT 1 |
4413 | _ACEOF | 4019 | EOF |
4414 | 4020 | ||
4415 | cat >>confdefs.h <<\_ACEOF | 4021 | cat >>confdefs.h <<\EOF |
4416 | #define BROKEN_REALPATH 1 | 4022 | #define BROKEN_REALPATH 1 |
4417 | _ACEOF | 4023 | EOF |
4418 | 4024 | ||
4419 | cat >>confdefs.h <<\_ACEOF | 4025 | cat >>confdefs.h <<\EOF |
4420 | #define USE_PIPES 1 | 4026 | #define USE_PIPES 1 |
4421 | _ACEOF | 4027 | EOF |
4422 | 4028 | ||
4423 | cat >>confdefs.h <<\_ACEOF | 4029 | cat >>confdefs.h <<\EOF |
4424 | #define BROKEN_SAVED_UIDS 1 | 4030 | #define BROKEN_SAVED_UIDS 1 |
4425 | _ACEOF | 4031 | EOF |
4426 | 4032 | ||
4427 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 4033 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4428 | CFLAGS="$CFLAGS" | 4034 | CFLAGS="$CFLAGS" |
@@ -4431,44 +4037,50 @@ _ACEOF | |||
4431 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 4037 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4432 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" | 4038 | LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib" |
4433 | need_dash_r=1 | 4039 | need_dash_r=1 |
4434 | cat >>confdefs.h <<\_ACEOF | 4040 | cat >>confdefs.h <<\EOF |
4435 | #define PAM_SUN_CODEBASE 1 | 4041 | #define PAM_SUN_CODEBASE 1 |
4436 | _ACEOF | 4042 | EOF |
4437 | 4043 | ||
4438 | cat >>confdefs.h <<\_ACEOF | 4044 | cat >>confdefs.h <<\EOF |
4439 | #define LOGIN_NEEDS_UTMPX 1 | 4045 | #define LOGIN_NEEDS_UTMPX 1 |
4440 | _ACEOF | 4046 | EOF |
4441 | 4047 | ||
4442 | cat >>confdefs.h <<\_ACEOF | 4048 | cat >>confdefs.h <<\EOF |
4443 | #define LOGIN_NEEDS_TERM 1 | 4049 | #define LOGIN_NEEDS_TERM 1 |
4444 | _ACEOF | 4050 | EOF |
4445 | 4051 | ||
4446 | cat >>confdefs.h <<\_ACEOF | 4052 | cat >>confdefs.h <<\EOF |
4447 | #define PAM_TTY_KLUDGE 1 | 4053 | #define PAM_TTY_KLUDGE 1 |
4448 | _ACEOF | 4054 | EOF |
4449 | 4055 | ||
4450 | cat >>confdefs.h <<\_ACEOF | 4056 | cat >>confdefs.h <<\EOF |
4451 | #define STREAMS_PUSH_ACQUIRES_CTTY 1 | 4057 | #define LOCKED_PASSWD_STRING "*LK*" |
4452 | _ACEOF | 4058 | EOF |
4453 | 4059 | ||
4060 | # Pushing STREAMS modules will cause sshd to acquire a controlling tty. | ||
4061 | cat >>confdefs.h <<\EOF | ||
4062 | #define SSHD_ACQUIRES_CTTY 1 | ||
4063 | EOF | ||
4064 | |||
4065 | external_path_file=/etc/default/login | ||
4454 | # hardwire lastlog location (can't detect it on some versions) | 4066 | # hardwire lastlog location (can't detect it on some versions) |
4455 | conf_lastlog_location="/var/adm/lastlog" | 4067 | conf_lastlog_location="/var/adm/lastlog" |
4456 | echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 | 4068 | echo "$as_me:4068: checking for obsolete utmp and wtmp in solaris2.x" >&5 |
4457 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 | 4069 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 |
4458 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | 4070 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` |
4459 | if test "$sol2ver" -ge 8; then | 4071 | if test "$sol2ver" -ge 8; then |
4460 | echo "$as_me:$LINENO: result: yes" >&5 | 4072 | echo "$as_me:4072: result: yes" >&5 |
4461 | echo "${ECHO_T}yes" >&6 | 4073 | echo "${ECHO_T}yes" >&6 |
4462 | cat >>confdefs.h <<\_ACEOF | 4074 | cat >>confdefs.h <<\EOF |
4463 | #define DISABLE_UTMP 1 | 4075 | #define DISABLE_UTMP 1 |
4464 | _ACEOF | 4076 | EOF |
4465 | 4077 | ||
4466 | cat >>confdefs.h <<\_ACEOF | 4078 | cat >>confdefs.h <<\EOF |
4467 | #define DISABLE_WTMP 1 | 4079 | #define DISABLE_WTMP 1 |
4468 | _ACEOF | 4080 | EOF |
4469 | 4081 | ||
4470 | else | 4082 | else |
4471 | echo "$as_me:$LINENO: result: no" >&5 | 4083 | echo "$as_me:4083: result: no" >&5 |
4472 | echo "${ECHO_T}no" >&6 | 4084 | echo "${ECHO_T}no" >&6 |
4473 | fi | 4085 | fi |
4474 | ;; | 4086 | ;; |
@@ -4478,105 +4090,95 @@ echo "${ECHO_T}no" >&6 | |||
4478 | for ac_func in getpwanam | 4090 | for ac_func in getpwanam |
4479 | do | 4091 | do |
4480 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4092 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4481 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4093 | echo "$as_me:4093: checking for $ac_func" >&5 |
4482 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 4094 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4483 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 4095 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
4484 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4096 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4485 | else | 4097 | else |
4486 | cat >conftest.$ac_ext <<_ACEOF | 4098 | cat >conftest.$ac_ext <<_ACEOF |
4487 | #line $LINENO "configure" | 4099 | #line 4099 "configure" |
4488 | /* confdefs.h. */ | 4100 | #include "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, | 4101 | /* System header to define __stub macros and hopefully few prototypes, |
4494 | which can conflict with char $ac_func (); below. | 4102 | which can conflict with char $ac_func (); below. */ |
4495 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4103 | #include <assert.h> |
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. */ | 4104 | /* Override any gcc2 internal prototype to avoid an error. */ |
4503 | #ifdef __cplusplus | 4105 | #ifdef __cplusplus |
4504 | extern "C" | 4106 | extern "C" |
4505 | { | ||
4506 | #endif | 4107 | #endif |
4507 | /* We use char because int might match the return type of a gcc2 | 4108 | /* We use char because int might match the return type of a gcc2 |
4508 | builtin and then its argument prototype would still apply. */ | 4109 | builtin and then its argument prototype would still apply. */ |
4509 | char $ac_func (); | 4110 | char $ac_func (); |
4111 | char (*f) (); | ||
4112 | |||
4113 | int | ||
4114 | main () | ||
4115 | { | ||
4510 | /* The GNU C library defines this for functions which it implements | 4116 | /* The GNU C library defines this for functions which it implements |
4511 | to always fail with ENOSYS. Some functions are actually named | 4117 | to always fail with ENOSYS. Some functions are actually named |
4512 | something starting with __ and the normal name is an alias. */ | 4118 | something starting with __ and the normal name is an alias. */ |
4513 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 4119 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4514 | choke me | 4120 | choke me |
4515 | #else | 4121 | #else |
4516 | char (*f) () = $ac_func; | 4122 | f = $ac_func; |
4517 | #endif | ||
4518 | #ifdef __cplusplus | ||
4519 | } | ||
4520 | #endif | 4123 | #endif |
4521 | 4124 | ||
4522 | int | ||
4523 | main () | ||
4524 | { | ||
4525 | return f != $ac_func; | ||
4526 | ; | 4125 | ; |
4527 | return 0; | 4126 | return 0; |
4528 | } | 4127 | } |
4529 | _ACEOF | 4128 | _ACEOF |
4530 | rm -f conftest.$ac_objext conftest$ac_exeext | 4129 | rm -f conftest.$ac_objext conftest$ac_exeext |
4531 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4130 | if { (eval echo "$as_me:4130: \"$ac_link\"") >&5 |
4532 | (eval $ac_link) 2>&5 | 4131 | (eval $ac_link) 2>&5 |
4533 | ac_status=$? | 4132 | ac_status=$? |
4534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4133 | echo "$as_me:4133: \$? = $ac_status" >&5 |
4535 | (exit $ac_status); } && | 4134 | (exit $ac_status); } && |
4536 | { ac_try='test -s conftest$ac_exeext' | 4135 | { ac_try='test -s conftest$ac_exeext' |
4537 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4136 | { (eval echo "$as_me:4136: \"$ac_try\"") >&5 |
4538 | (eval $ac_try) 2>&5 | 4137 | (eval $ac_try) 2>&5 |
4539 | ac_status=$? | 4138 | ac_status=$? |
4540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4139 | echo "$as_me:4139: \$? = $ac_status" >&5 |
4541 | (exit $ac_status); }; }; then | 4140 | (exit $ac_status); }; }; then |
4542 | eval "$as_ac_var=yes" | 4141 | eval "$as_ac_var=yes" |
4543 | else | 4142 | else |
4544 | echo "$as_me: failed program was:" >&5 | 4143 | echo "$as_me: failed program was:" >&5 |
4545 | sed 's/^/| /' conftest.$ac_ext >&5 | 4144 | cat conftest.$ac_ext >&5 |
4546 | |||
4547 | eval "$as_ac_var=no" | 4145 | eval "$as_ac_var=no" |
4548 | fi | 4146 | fi |
4549 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4147 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4550 | fi | 4148 | fi |
4551 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4149 | echo "$as_me:4149: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4552 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4150 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4553 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 4151 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
4554 | cat >>confdefs.h <<_ACEOF | 4152 | cat >>confdefs.h <<EOF |
4555 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4153 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4556 | _ACEOF | 4154 | EOF |
4557 | 4155 | ||
4558 | fi | 4156 | fi |
4559 | done | 4157 | done |
4560 | 4158 | ||
4561 | cat >>confdefs.h <<\_ACEOF | 4159 | cat >>confdefs.h <<\EOF |
4562 | #define PAM_SUN_CODEBASE 1 | 4160 | #define PAM_SUN_CODEBASE 1 |
4563 | _ACEOF | 4161 | EOF |
4564 | 4162 | ||
4565 | conf_utmp_location=/etc/utmp | 4163 | conf_utmp_location=/etc/utmp |
4566 | conf_wtmp_location=/var/adm/wtmp | 4164 | conf_wtmp_location=/var/adm/wtmp |
4567 | conf_lastlog_location=/var/adm/lastlog | 4165 | conf_lastlog_location=/var/adm/lastlog |
4568 | cat >>confdefs.h <<\_ACEOF | 4166 | cat >>confdefs.h <<\EOF |
4569 | #define USE_PIPES 1 | 4167 | #define USE_PIPES 1 |
4570 | _ACEOF | 4168 | EOF |
4571 | 4169 | ||
4572 | ;; | 4170 | ;; |
4573 | *-ncr-sysv*) | 4171 | *-ncr-sysv*) |
4574 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 4172 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4575 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 4173 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
4576 | LIBS="$LIBS -lc89" | 4174 | LIBS="$LIBS -lc89" |
4577 | cat >>confdefs.h <<\_ACEOF | 4175 | cat >>confdefs.h <<\EOF |
4578 | #define USE_PIPES 1 | 4176 | #define USE_PIPES 1 |
4579 | _ACEOF | 4177 | EOF |
4178 | |||
4179 | cat >>confdefs.h <<\EOF | ||
4180 | #define SSHD_ACQUIRES_CTTY 1 | ||
4181 | EOF | ||
4580 | 4182 | ||
4581 | ;; | 4183 | ;; |
4582 | *-sni-sysv*) | 4184 | *-sni-sysv*) |
@@ -4584,14 +4186,19 @@ _ACEOF | |||
4584 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | 4186 | # /usr/ucblib MUST NOT be searched on ReliantUNIX |
4585 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 4187 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
4586 | IPADDR_IN_DISPLAY=yes | 4188 | IPADDR_IN_DISPLAY=yes |
4587 | cat >>confdefs.h <<\_ACEOF | 4189 | cat >>confdefs.h <<\EOF |
4588 | #define USE_PIPES 1 | 4190 | #define USE_PIPES 1 |
4589 | _ACEOF | 4191 | EOF |
4590 | 4192 | ||
4591 | cat >>confdefs.h <<\_ACEOF | 4193 | cat >>confdefs.h <<\EOF |
4592 | #define IP_TOS_IS_BROKEN 1 | 4194 | #define IP_TOS_IS_BROKEN 1 |
4593 | _ACEOF | 4195 | EOF |
4196 | |||
4197 | cat >>confdefs.h <<\EOF | ||
4198 | #define SSHD_ACQUIRES_CTTY 1 | ||
4199 | EOF | ||
4594 | 4200 | ||
4201 | external_path_file=/etc/default/login | ||
4595 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX | 4202 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX |
4596 | # Attention: always take care to bind libsocket and libnsl before libc, | 4203 | # Attention: always take care to bind libsocket and libnsl before libc, |
4597 | # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog | 4204 | # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog |
@@ -4599,17 +4206,41 @@ _ACEOF | |||
4599 | *-*-sysv4.2*) | 4206 | *-*-sysv4.2*) |
4600 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 4207 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4601 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 4208 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
4602 | cat >>confdefs.h <<\_ACEOF | 4209 | cat >>confdefs.h <<\EOF |
4603 | #define USE_PIPES 1 | 4210 | #define USE_PIPES 1 |
4604 | _ACEOF | 4211 | EOF |
4212 | |||
4213 | cat >>confdefs.h <<\EOF | ||
4214 | #define SETEUID_BREAKS_SETUID 1 | ||
4215 | EOF | ||
4216 | |||
4217 | cat >>confdefs.h <<\EOF | ||
4218 | #define BROKEN_SETREUID 1 | ||
4219 | EOF | ||
4220 | |||
4221 | cat >>confdefs.h <<\EOF | ||
4222 | #define BROKEN_SETREGID 1 | ||
4223 | EOF | ||
4605 | 4224 | ||
4606 | ;; | 4225 | ;; |
4607 | *-*-sysv5*) | 4226 | *-*-sysv5*) |
4608 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 4227 | CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
4609 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 4228 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
4610 | cat >>confdefs.h <<\_ACEOF | 4229 | cat >>confdefs.h <<\EOF |
4611 | #define USE_PIPES 1 | 4230 | #define USE_PIPES 1 |
4612 | _ACEOF | 4231 | EOF |
4232 | |||
4233 | cat >>confdefs.h <<\EOF | ||
4234 | #define SETEUID_BREAKS_SETUID 1 | ||
4235 | EOF | ||
4236 | |||
4237 | cat >>confdefs.h <<\EOF | ||
4238 | #define BROKEN_SETREUID 1 | ||
4239 | EOF | ||
4240 | |||
4241 | cat >>confdefs.h <<\EOF | ||
4242 | #define BROKEN_SETREGID 1 | ||
4243 | EOF | ||
4613 | 4244 | ||
4614 | ;; | 4245 | ;; |
4615 | *-*-sysv*) | 4246 | *-*-sysv*) |
@@ -4622,107 +4253,95 @@ _ACEOF | |||
4622 | LIBS="$LIBS -los -lprot -lx -ltinfo -lm" | 4253 | LIBS="$LIBS -los -lprot -lx -ltinfo -lm" |
4623 | RANLIB=true | 4254 | RANLIB=true |
4624 | no_dev_ptmx=1 | 4255 | no_dev_ptmx=1 |
4625 | cat >>confdefs.h <<\_ACEOF | 4256 | cat >>confdefs.h <<\EOF |
4626 | #define BROKEN_SYS_TERMIO_H 1 | 4257 | #define BROKEN_SYS_TERMIO_H 1 |
4627 | _ACEOF | 4258 | EOF |
4628 | 4259 | ||
4629 | cat >>confdefs.h <<\_ACEOF | 4260 | cat >>confdefs.h <<\EOF |
4630 | #define USE_PIPES 1 | 4261 | #define USE_PIPES 1 |
4631 | _ACEOF | 4262 | EOF |
4632 | 4263 | ||
4633 | cat >>confdefs.h <<\_ACEOF | 4264 | cat >>confdefs.h <<\EOF |
4634 | #define HAVE_SECUREWARE 1 | 4265 | #define HAVE_SECUREWARE 1 |
4635 | _ACEOF | 4266 | EOF |
4636 | 4267 | ||
4637 | cat >>confdefs.h <<\_ACEOF | 4268 | cat >>confdefs.h <<\EOF |
4638 | #define DISABLE_SHADOW 1 | 4269 | #define DISABLE_SHADOW 1 |
4639 | _ACEOF | 4270 | EOF |
4640 | 4271 | ||
4641 | cat >>confdefs.h <<\_ACEOF | 4272 | cat >>confdefs.h <<\EOF |
4642 | #define BROKEN_SAVED_UIDS 1 | 4273 | #define BROKEN_SAVED_UIDS 1 |
4643 | _ACEOF | 4274 | EOF |
4644 | |||
4645 | 4275 | ||
4276 | cat >>confdefs.h <<\EOF | ||
4277 | #define WITH_ABBREV_NO_TTY 1 | ||
4278 | EOF | ||
4646 | 4279 | ||
4647 | for ac_func in getluid setluid | 4280 | for ac_func in getluid setluid |
4648 | do | 4281 | do |
4649 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4282 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4650 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4283 | echo "$as_me:4283: checking for $ac_func" >&5 |
4651 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 4284 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4652 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 4285 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
4653 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4286 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4654 | else | 4287 | else |
4655 | cat >conftest.$ac_ext <<_ACEOF | 4288 | cat >conftest.$ac_ext <<_ACEOF |
4656 | #line $LINENO "configure" | 4289 | #line 4289 "configure" |
4657 | /* confdefs.h. */ | 4290 | #include "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, | 4291 | /* System header to define __stub macros and hopefully few prototypes, |
4663 | which can conflict with char $ac_func (); below. | 4292 | which can conflict with char $ac_func (); below. */ |
4664 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4293 | #include <assert.h> |
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. */ | 4294 | /* Override any gcc2 internal prototype to avoid an error. */ |
4672 | #ifdef __cplusplus | 4295 | #ifdef __cplusplus |
4673 | extern "C" | 4296 | extern "C" |
4674 | { | ||
4675 | #endif | 4297 | #endif |
4676 | /* We use char because int might match the return type of a gcc2 | 4298 | /* We use char because int might match the return type of a gcc2 |
4677 | builtin and then its argument prototype would still apply. */ | 4299 | builtin and then its argument prototype would still apply. */ |
4678 | char $ac_func (); | 4300 | char $ac_func (); |
4301 | char (*f) (); | ||
4302 | |||
4303 | int | ||
4304 | main () | ||
4305 | { | ||
4679 | /* The GNU C library defines this for functions which it implements | 4306 | /* The GNU C library defines this for functions which it implements |
4680 | to always fail with ENOSYS. Some functions are actually named | 4307 | to always fail with ENOSYS. Some functions are actually named |
4681 | something starting with __ and the normal name is an alias. */ | 4308 | something starting with __ and the normal name is an alias. */ |
4682 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 4309 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4683 | choke me | 4310 | choke me |
4684 | #else | 4311 | #else |
4685 | char (*f) () = $ac_func; | 4312 | f = $ac_func; |
4686 | #endif | ||
4687 | #ifdef __cplusplus | ||
4688 | } | ||
4689 | #endif | 4313 | #endif |
4690 | 4314 | ||
4691 | int | ||
4692 | main () | ||
4693 | { | ||
4694 | return f != $ac_func; | ||
4695 | ; | 4315 | ; |
4696 | return 0; | 4316 | return 0; |
4697 | } | 4317 | } |
4698 | _ACEOF | 4318 | _ACEOF |
4699 | rm -f conftest.$ac_objext conftest$ac_exeext | 4319 | rm -f conftest.$ac_objext conftest$ac_exeext |
4700 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4320 | if { (eval echo "$as_me:4320: \"$ac_link\"") >&5 |
4701 | (eval $ac_link) 2>&5 | 4321 | (eval $ac_link) 2>&5 |
4702 | ac_status=$? | 4322 | ac_status=$? |
4703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4323 | echo "$as_me:4323: \$? = $ac_status" >&5 |
4704 | (exit $ac_status); } && | 4324 | (exit $ac_status); } && |
4705 | { ac_try='test -s conftest$ac_exeext' | 4325 | { ac_try='test -s conftest$ac_exeext' |
4706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4326 | { (eval echo "$as_me:4326: \"$ac_try\"") >&5 |
4707 | (eval $ac_try) 2>&5 | 4327 | (eval $ac_try) 2>&5 |
4708 | ac_status=$? | 4328 | ac_status=$? |
4709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4329 | echo "$as_me:4329: \$? = $ac_status" >&5 |
4710 | (exit $ac_status); }; }; then | 4330 | (exit $ac_status); }; }; then |
4711 | eval "$as_ac_var=yes" | 4331 | eval "$as_ac_var=yes" |
4712 | else | 4332 | else |
4713 | echo "$as_me: failed program was:" >&5 | 4333 | echo "$as_me: failed program was:" >&5 |
4714 | sed 's/^/| /' conftest.$ac_ext >&5 | 4334 | cat conftest.$ac_ext >&5 |
4715 | |||
4716 | eval "$as_ac_var=no" | 4335 | eval "$as_ac_var=no" |
4717 | fi | 4336 | fi |
4718 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4337 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4719 | fi | 4338 | fi |
4720 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4339 | echo "$as_me:4339: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4721 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4340 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4722 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 4341 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
4723 | cat >>confdefs.h <<_ACEOF | 4342 | cat >>confdefs.h <<EOF |
4724 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4343 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4725 | _ACEOF | 4344 | EOF |
4726 | 4345 | ||
4727 | fi | 4346 | fi |
4728 | done | 4347 | done |
@@ -4738,103 +4357,103 @@ done | |||
4738 | LDFLAGS="$LDFLAGS -L/usr/local/lib" | 4357 | LDFLAGS="$LDFLAGS -L/usr/local/lib" |
4739 | LIBS="$LIBS -lprot -lx -ltinfo -lm" | 4358 | LIBS="$LIBS -lprot -lx -ltinfo -lm" |
4740 | no_dev_ptmx=1 | 4359 | no_dev_ptmx=1 |
4741 | cat >>confdefs.h <<\_ACEOF | 4360 | cat >>confdefs.h <<\EOF |
4742 | #define USE_PIPES 1 | 4361 | #define USE_PIPES 1 |
4743 | _ACEOF | 4362 | EOF |
4744 | 4363 | ||
4745 | cat >>confdefs.h <<\_ACEOF | 4364 | cat >>confdefs.h <<\EOF |
4746 | #define HAVE_SECUREWARE 1 | 4365 | #define HAVE_SECUREWARE 1 |
4747 | _ACEOF | 4366 | EOF |
4748 | 4367 | ||
4749 | cat >>confdefs.h <<\_ACEOF | 4368 | cat >>confdefs.h <<\EOF |
4750 | #define DISABLE_SHADOW 1 | 4369 | #define DISABLE_SHADOW 1 |
4751 | _ACEOF | 4370 | EOF |
4752 | 4371 | ||
4753 | cat >>confdefs.h <<\_ACEOF | 4372 | cat >>confdefs.h <<\EOF |
4754 | #define DISABLE_FD_PASSING 1 | 4373 | #define DISABLE_FD_PASSING 1 |
4755 | _ACEOF | 4374 | EOF |
4375 | |||
4376 | cat >>confdefs.h <<\EOF | ||
4377 | #define SETEUID_BREAKS_SETUID 1 | ||
4378 | EOF | ||
4756 | 4379 | ||
4380 | cat >>confdefs.h <<\EOF | ||
4381 | #define BROKEN_SETREUID 1 | ||
4382 | EOF | ||
4757 | 4383 | ||
4384 | cat >>confdefs.h <<\EOF | ||
4385 | #define BROKEN_SETREGID 1 | ||
4386 | EOF | ||
4387 | |||
4388 | cat >>confdefs.h <<\EOF | ||
4389 | #define WITH_ABBREV_NO_TTY 1 | ||
4390 | EOF | ||
4758 | 4391 | ||
4759 | for ac_func in getluid setluid | 4392 | for ac_func in getluid setluid |
4760 | do | 4393 | do |
4761 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 4394 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
4762 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 4395 | echo "$as_me:4395: checking for $ac_func" >&5 |
4763 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 4396 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
4764 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 4397 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
4765 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4398 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4766 | else | 4399 | else |
4767 | cat >conftest.$ac_ext <<_ACEOF | 4400 | cat >conftest.$ac_ext <<_ACEOF |
4768 | #line $LINENO "configure" | 4401 | #line 4401 "configure" |
4769 | /* confdefs.h. */ | 4402 | #include "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, | 4403 | /* System header to define __stub macros and hopefully few prototypes, |
4775 | which can conflict with char $ac_func (); below. | 4404 | which can conflict with char $ac_func (); below. */ |
4776 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4405 | #include <assert.h> |
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. */ | 4406 | /* Override any gcc2 internal prototype to avoid an error. */ |
4784 | #ifdef __cplusplus | 4407 | #ifdef __cplusplus |
4785 | extern "C" | 4408 | extern "C" |
4786 | { | ||
4787 | #endif | 4409 | #endif |
4788 | /* We use char because int might match the return type of a gcc2 | 4410 | /* We use char because int might match the return type of a gcc2 |
4789 | builtin and then its argument prototype would still apply. */ | 4411 | builtin and then its argument prototype would still apply. */ |
4790 | char $ac_func (); | 4412 | char $ac_func (); |
4413 | char (*f) (); | ||
4414 | |||
4415 | int | ||
4416 | main () | ||
4417 | { | ||
4791 | /* The GNU C library defines this for functions which it implements | 4418 | /* The GNU C library defines this for functions which it implements |
4792 | to always fail with ENOSYS. Some functions are actually named | 4419 | to always fail with ENOSYS. Some functions are actually named |
4793 | something starting with __ and the normal name is an alias. */ | 4420 | something starting with __ and the normal name is an alias. */ |
4794 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 4421 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
4795 | choke me | 4422 | choke me |
4796 | #else | 4423 | #else |
4797 | char (*f) () = $ac_func; | 4424 | f = $ac_func; |
4798 | #endif | ||
4799 | #ifdef __cplusplus | ||
4800 | } | ||
4801 | #endif | 4425 | #endif |
4802 | 4426 | ||
4803 | int | ||
4804 | main () | ||
4805 | { | ||
4806 | return f != $ac_func; | ||
4807 | ; | 4427 | ; |
4808 | return 0; | 4428 | return 0; |
4809 | } | 4429 | } |
4810 | _ACEOF | 4430 | _ACEOF |
4811 | rm -f conftest.$ac_objext conftest$ac_exeext | 4431 | rm -f conftest.$ac_objext conftest$ac_exeext |
4812 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4432 | if { (eval echo "$as_me:4432: \"$ac_link\"") >&5 |
4813 | (eval $ac_link) 2>&5 | 4433 | (eval $ac_link) 2>&5 |
4814 | ac_status=$? | 4434 | ac_status=$? |
4815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4435 | echo "$as_me:4435: \$? = $ac_status" >&5 |
4816 | (exit $ac_status); } && | 4436 | (exit $ac_status); } && |
4817 | { ac_try='test -s conftest$ac_exeext' | 4437 | { ac_try='test -s conftest$ac_exeext' |
4818 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4438 | { (eval echo "$as_me:4438: \"$ac_try\"") >&5 |
4819 | (eval $ac_try) 2>&5 | 4439 | (eval $ac_try) 2>&5 |
4820 | ac_status=$? | 4440 | ac_status=$? |
4821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4441 | echo "$as_me:4441: \$? = $ac_status" >&5 |
4822 | (exit $ac_status); }; }; then | 4442 | (exit $ac_status); }; }; then |
4823 | eval "$as_ac_var=yes" | 4443 | eval "$as_ac_var=yes" |
4824 | else | 4444 | else |
4825 | echo "$as_me: failed program was:" >&5 | 4445 | echo "$as_me: failed program was:" >&5 |
4826 | sed 's/^/| /' conftest.$ac_ext >&5 | 4446 | cat conftest.$ac_ext >&5 |
4827 | |||
4828 | eval "$as_ac_var=no" | 4447 | eval "$as_ac_var=no" |
4829 | fi | 4448 | fi |
4830 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4449 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
4831 | fi | 4450 | fi |
4832 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 4451 | echo "$as_me:4451: result: `eval echo '${'$as_ac_var'}'`" >&5 |
4833 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 4452 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
4834 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 4453 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
4835 | cat >>confdefs.h <<_ACEOF | 4454 | cat >>confdefs.h <<EOF |
4836 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 4455 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
4837 | _ACEOF | 4456 | EOF |
4838 | 4457 | ||
4839 | fi | 4458 | fi |
4840 | done | 4459 | done |
@@ -4842,37 +4461,54 @@ done | |||
4842 | MANTYPE=man | 4461 | MANTYPE=man |
4843 | ;; | 4462 | ;; |
4844 | *-*-unicosmk*) | 4463 | *-*-unicosmk*) |
4845 | cat >>confdefs.h <<\_ACEOF | 4464 | cat >>confdefs.h <<\EOF |
4846 | #define USE_PIPES 1 | 4465 | #define USE_PIPES 1 |
4847 | _ACEOF | 4466 | EOF |
4848 | 4467 | ||
4849 | cat >>confdefs.h <<\_ACEOF | 4468 | cat >>confdefs.h <<\EOF |
4850 | #define DISABLE_FD_PASSING 1 | 4469 | #define DISABLE_FD_PASSING 1 |
4851 | _ACEOF | 4470 | EOF |
4852 | 4471 | ||
4853 | LDFLAGS="$LDFLAGS" | 4472 | LDFLAGS="$LDFLAGS" |
4854 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | 4473 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" |
4855 | MANTYPE=cat | 4474 | MANTYPE=cat |
4856 | ;; | 4475 | ;; |
4476 | *-*-unicosmp*) | ||
4477 | cat >>confdefs.h <<\EOF | ||
4478 | #define WITH_ABBREV_NO_TTY 1 | ||
4479 | EOF | ||
4480 | |||
4481 | cat >>confdefs.h <<\EOF | ||
4482 | #define USE_PIPES 1 | ||
4483 | EOF | ||
4484 | |||
4485 | cat >>confdefs.h <<\EOF | ||
4486 | #define DISABLE_FD_PASSING 1 | ||
4487 | EOF | ||
4488 | |||
4489 | LDFLAGS="$LDFLAGS" | ||
4490 | LIBS="$LIBS -lgen -lacid" | ||
4491 | MANTYPE=cat | ||
4492 | ;; | ||
4857 | *-*-unicos*) | 4493 | *-*-unicos*) |
4858 | cat >>confdefs.h <<\_ACEOF | 4494 | cat >>confdefs.h <<\EOF |
4859 | #define USE_PIPES 1 | 4495 | #define USE_PIPES 1 |
4860 | _ACEOF | 4496 | EOF |
4861 | 4497 | ||
4862 | cat >>confdefs.h <<\_ACEOF | 4498 | cat >>confdefs.h <<\EOF |
4863 | #define DISABLE_FD_PASSING 1 | 4499 | #define DISABLE_FD_PASSING 1 |
4864 | _ACEOF | 4500 | EOF |
4865 | 4501 | ||
4866 | cat >>confdefs.h <<\_ACEOF | 4502 | cat >>confdefs.h <<\EOF |
4867 | #define NO_SSH_LASTLOG 1 | 4503 | #define NO_SSH_LASTLOG 1 |
4868 | _ACEOF | 4504 | EOF |
4869 | 4505 | ||
4870 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" | 4506 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" |
4871 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | 4507 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" |
4872 | MANTYPE=cat | 4508 | MANTYPE=cat |
4873 | ;; | 4509 | ;; |
4874 | *-dec-osf*) | 4510 | *-dec-osf*) |
4875 | echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 | 4511 | echo "$as_me:4511: checking for Digital Unix SIA" >&5 |
4876 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 | 4512 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 |
4877 | no_osfsia="" | 4513 | no_osfsia="" |
4878 | 4514 | ||
@@ -4881,7 +4517,7 @@ if test "${with_osfsia+set}" = set; then | |||
4881 | withval="$with_osfsia" | 4517 | withval="$with_osfsia" |
4882 | 4518 | ||
4883 | if test "x$withval" = "xno" ; then | 4519 | if test "x$withval" = "xno" ; then |
4884 | echo "$as_me:$LINENO: result: disabled" >&5 | 4520 | echo "$as_me:4520: result: disabled" >&5 |
4885 | echo "${ECHO_T}disabled" >&6 | 4521 | echo "${ECHO_T}disabled" >&6 |
4886 | no_osfsia=1 | 4522 | no_osfsia=1 |
4887 | fi | 4523 | fi |
@@ -4889,52 +4525,60 @@ echo "${ECHO_T}disabled" >&6 | |||
4889 | fi; | 4525 | fi; |
4890 | if test -z "$no_osfsia" ; then | 4526 | if test -z "$no_osfsia" ; then |
4891 | if test -f /etc/sia/matrix.conf; then | 4527 | if test -f /etc/sia/matrix.conf; then |
4892 | echo "$as_me:$LINENO: result: yes" >&5 | 4528 | echo "$as_me:4528: result: yes" >&5 |
4893 | echo "${ECHO_T}yes" >&6 | 4529 | echo "${ECHO_T}yes" >&6 |
4894 | cat >>confdefs.h <<\_ACEOF | 4530 | cat >>confdefs.h <<\EOF |
4895 | #define HAVE_OSF_SIA 1 | 4531 | #define HAVE_OSF_SIA 1 |
4896 | _ACEOF | 4532 | EOF |
4897 | 4533 | ||
4898 | cat >>confdefs.h <<\_ACEOF | 4534 | cat >>confdefs.h <<\EOF |
4899 | #define DISABLE_LOGIN 1 | 4535 | #define DISABLE_LOGIN 1 |
4900 | _ACEOF | 4536 | EOF |
4901 | 4537 | ||
4902 | cat >>confdefs.h <<\_ACEOF | 4538 | cat >>confdefs.h <<\EOF |
4903 | #define DISABLE_FD_PASSING 1 | 4539 | #define DISABLE_FD_PASSING 1 |
4904 | _ACEOF | 4540 | EOF |
4905 | 4541 | ||
4906 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | 4542 | LIBS="$LIBS -lsecurity -ldb -lm -laud" |
4907 | else | 4543 | else |
4908 | echo "$as_me:$LINENO: result: no" >&5 | 4544 | echo "$as_me:4544: result: no" >&5 |
4909 | echo "${ECHO_T}no" >&6 | 4545 | echo "${ECHO_T}no" >&6 |
4910 | fi | 4546 | fi |
4911 | fi | 4547 | fi |
4912 | cat >>confdefs.h <<\_ACEOF | 4548 | cat >>confdefs.h <<\EOF |
4913 | #define DISABLE_FD_PASSING 1 | 4549 | #define DISABLE_FD_PASSING 1 |
4914 | _ACEOF | 4550 | EOF |
4551 | |||
4552 | cat >>confdefs.h <<\EOF | ||
4553 | #define BROKEN_GETADDRINFO 1 | ||
4554 | EOF | ||
4555 | |||
4556 | cat >>confdefs.h <<\EOF | ||
4557 | #define LOCKED_PASSWD_SUBSTR "Nologin" | ||
4558 | EOF | ||
4915 | 4559 | ||
4916 | ;; | 4560 | ;; |
4917 | 4561 | ||
4918 | *-*-nto-qnx) | 4562 | *-*-nto-qnx) |
4919 | cat >>confdefs.h <<\_ACEOF | 4563 | cat >>confdefs.h <<\EOF |
4920 | #define USE_PIPES 1 | 4564 | #define USE_PIPES 1 |
4921 | _ACEOF | 4565 | EOF |
4922 | 4566 | ||
4923 | cat >>confdefs.h <<\_ACEOF | 4567 | cat >>confdefs.h <<\EOF |
4924 | #define NO_X11_UNIX_SOCKETS 1 | 4568 | #define NO_X11_UNIX_SOCKETS 1 |
4925 | _ACEOF | 4569 | EOF |
4926 | 4570 | ||
4927 | cat >>confdefs.h <<\_ACEOF | 4571 | cat >>confdefs.h <<\EOF |
4928 | #define MISSING_NFDBITS 1 | 4572 | #define MISSING_NFDBITS 1 |
4929 | _ACEOF | 4573 | EOF |
4930 | 4574 | ||
4931 | cat >>confdefs.h <<\_ACEOF | 4575 | cat >>confdefs.h <<\EOF |
4932 | #define MISSING_HOWMANY 1 | 4576 | #define MISSING_HOWMANY 1 |
4933 | _ACEOF | 4577 | EOF |
4934 | 4578 | ||
4935 | cat >>confdefs.h <<\_ACEOF | 4579 | cat >>confdefs.h <<\EOF |
4936 | #define MISSING_FD_MASK 1 | 4580 | #define MISSING_FD_MASK 1 |
4937 | _ACEOF | 4581 | EOF |
4938 | 4582 | ||
4939 | ;; | 4583 | ;; |
4940 | esac | 4584 | esac |
@@ -4949,7 +4593,6 @@ if test "${with_cflags+set}" = set; then | |||
4949 | CFLAGS="$CFLAGS $withval" | 4593 | CFLAGS="$CFLAGS $withval" |
4950 | fi | 4594 | fi |
4951 | 4595 | ||
4952 | |||
4953 | fi; | 4596 | fi; |
4954 | 4597 | ||
4955 | # Check whether --with-cppflags or --without-cppflags was given. | 4598 | # Check whether --with-cppflags or --without-cppflags was given. |
@@ -4960,7 +4603,6 @@ if test "${with_cppflags+set}" = set; then | |||
4960 | CPPFLAGS="$CPPFLAGS $withval" | 4603 | CPPFLAGS="$CPPFLAGS $withval" |
4961 | fi | 4604 | fi |
4962 | 4605 | ||
4963 | |||
4964 | fi; | 4606 | fi; |
4965 | 4607 | ||
4966 | # Check whether --with-ldflags or --without-ldflags was given. | 4608 | # Check whether --with-ldflags or --without-ldflags was given. |
@@ -4971,7 +4613,6 @@ if test "${with_ldflags+set}" = set; then | |||
4971 | LDFLAGS="$LDFLAGS $withval" | 4613 | LDFLAGS="$LDFLAGS $withval" |
4972 | fi | 4614 | fi |
4973 | 4615 | ||
4974 | |||
4975 | fi; | 4616 | fi; |
4976 | 4617 | ||
4977 | # Check whether --with-libs or --without-libs was given. | 4618 | # Check whether --with-libs or --without-libs was given. |
@@ -4982,370 +4623,82 @@ if test "${with_libs+set}" = set; then | |||
4982 | LIBS="$LIBS $withval" | 4623 | LIBS="$LIBS $withval" |
4983 | fi | 4624 | fi |
4984 | 4625 | ||
4985 | |||
4986 | fi; | 4626 | fi; |
4987 | 4627 | ||
4988 | # Checks for header files. | 4628 | echo "$as_me:4628: checking compiler and flags for sanity" >&5 |
4989 | 4629 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 | |
4990 | echo "$as_me:$LINENO: checking for egrep" >&5 | 4630 | if test "$cross_compiling" = yes; then |
4991 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 4631 | { { echo "$as_me:4631: error: cannot run test program while cross compiling" >&5 |
4992 | if test "${ac_cv_prog_egrep+set}" = set; then | 4632 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
4993 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4633 | { (exit 1); exit 1; }; } |
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 | 4634 | 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 | 4635 | cat >conftest.$ac_ext <<_ACEOF |
5054 | #line $LINENO "configure" | 4636 | #line 4636 "configure" |
5055 | /* confdefs.h. */ | 4637 | #include "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 | 4638 | ||
5071 | fi | 4639 | #include <stdio.h> |
5072 | 4640 | int main(){exit(0);} | |
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 | 4641 | ||
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 | 4642 | _ACEOF |
5131 | rm -f conftest$ac_exeext | 4643 | rm -f conftest$ac_exeext |
5132 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4644 | if { (eval echo "$as_me:4644: \"$ac_link\"") >&5 |
5133 | (eval $ac_link) 2>&5 | 4645 | (eval $ac_link) 2>&5 |
5134 | ac_status=$? | 4646 | ac_status=$? |
5135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4647 | echo "$as_me:4647: \$? = $ac_status" >&5 |
5136 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 4648 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5137 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4649 | { (eval echo "$as_me:4649: \"$ac_try\"") >&5 |
5138 | (eval $ac_try) 2>&5 | 4650 | (eval $ac_try) 2>&5 |
5139 | ac_status=$? | 4651 | ac_status=$? |
5140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4652 | echo "$as_me:4652: \$? = $ac_status" >&5 |
5141 | (exit $ac_status); }; }; then | 4653 | (exit $ac_status); }; }; then |
5142 | : | 4654 | echo "$as_me:4654: result: yes" >&5 |
4655 | echo "${ECHO_T}yes" >&6 | ||
5143 | else | 4656 | else |
5144 | echo "$as_me: program exited with status $ac_status" >&5 | 4657 | echo "$as_me: program exited with status $ac_status" >&5 |
5145 | echo "$as_me: failed program was:" >&5 | 4658 | echo "$as_me: failed program was:" >&5 |
5146 | sed 's/^/| /' conftest.$ac_ext >&5 | 4659 | cat 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 | 4660 | ||
4661 | echo "$as_me:4661: result: no" >&5 | ||
4662 | echo "${ECHO_T}no" >&6 | ||
4663 | { { echo "$as_me:4663: error: *** compiler cannot create working executables, check config.log ***" >&5 | ||
4664 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} | ||
4665 | { (exit 1); exit 1; }; } | ||
5167 | 4666 | ||
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 | 4667 | fi |
5214 | rm -f conftest.$ac_objext conftest.$ac_ext | 4668 | rm -f core core.* *.core conftest$ac_exeext 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 | 4669 | fi |
5224 | 4670 | ||
5225 | done | 4671 | # Checks for header files. |
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 | 4672 | ||
5273 | for ac_header in bstring.h crypt.h endian.h floatingpoint.h \ | 4673 | for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \ |
5274 | getopt.h glob.h ia.h lastlog.h libgen.h limits.h login.h \ | 4674 | getopt.h glob.h ia.h lastlog.h limits.h login.h \ |
5275 | login_cap.h maillock.h netdb.h netgroup.h \ | 4675 | login_cap.h maillock.h netdb.h netgroup.h \ |
5276 | netinet/in_systm.h paths.h pty.h readpassphrase.h \ | 4676 | netinet/in_systm.h paths.h pty.h readpassphrase.h \ |
5277 | rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ | 4677 | 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 \ | 4678 | strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ |
5279 | sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ | 4679 | sys/cdefs.h sys/mman.h sys/pstat.h sys/select.h sys/stat.h \ |
5280 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ | 4680 | sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ |
5281 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ | 4681 | sys/un.h time.h tmpdir.h ttyent.h usersec.h \ |
5282 | util.h utime.h utmp.h utmpx.h | 4682 | util.h utime.h utmp.h utmpx.h |
5283 | do | 4683 | do |
5284 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4684 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5285 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4685 | echo "$as_me:4685: checking for $ac_header" >&5 |
5286 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
5287 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 4686 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5288 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 4687 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5289 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4688 | 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 | 4689 | else |
5321 | echo "$as_me: failed program was:" >&5 | 4690 | cat >conftest.$ac_ext <<_ACEOF |
5322 | sed 's/^/| /' conftest.$ac_ext >&5 | 4691 | #line 4691 "configure" |
5323 | 4692 | #include "confdefs.h" | |
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> | 4693 | #include <$ac_header> |
5341 | _ACEOF | 4694 | _ACEOF |
5342 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4695 | if { (eval echo "$as_me:4695: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5343 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4696 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5344 | ac_status=$? | 4697 | ac_status=$? |
5345 | grep -v '^ *+' conftest.er1 >conftest.err | 4698 | egrep -v '^ *\+' conftest.er1 >conftest.err |
5346 | rm -f conftest.er1 | 4699 | rm -f conftest.er1 |
5347 | cat conftest.err >&5 | 4700 | cat conftest.err >&5 |
5348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4701 | echo "$as_me:4701: \$? = $ac_status" >&5 |
5349 | (exit $ac_status); } >/dev/null; then | 4702 | (exit $ac_status); } >/dev/null; then |
5350 | if test -s conftest.err; then | 4703 | if test -s conftest.err; then |
5351 | ac_cpp_err=$ac_c_preproc_warn_flag | 4704 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -5356,149 +4709,88 @@ else | |||
5356 | ac_cpp_err=yes | 4709 | ac_cpp_err=yes |
5357 | fi | 4710 | fi |
5358 | if test -z "$ac_cpp_err"; then | 4711 | if test -z "$ac_cpp_err"; then |
5359 | ac_header_preproc=yes | 4712 | eval "$as_ac_Header=yes" |
5360 | else | 4713 | else |
5361 | echo "$as_me: failed program was:" >&5 | 4714 | echo "$as_me: failed program was:" >&5 |
5362 | sed 's/^/| /' conftest.$ac_ext >&5 | 4715 | cat conftest.$ac_ext >&5 |
5363 | 4716 | eval "$as_ac_Header=no" | |
5364 | ac_header_preproc=no | ||
5365 | fi | 4717 | fi |
5366 | rm -f conftest.err conftest.$ac_ext | 4718 | 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 | 4719 | fi |
5410 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 4720 | echo "$as_me:4720: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5411 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 4721 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5412 | |||
5413 | fi | ||
5414 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 4722 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5415 | cat >>confdefs.h <<_ACEOF | 4723 | cat >>confdefs.h <<EOF |
5416 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4724 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5417 | _ACEOF | 4725 | EOF |
5418 | 4726 | ||
5419 | fi | 4727 | fi |
5420 | |||
5421 | done | 4728 | done |
5422 | 4729 | ||
5423 | |||
5424 | # Checks for libraries. | 4730 | # Checks for libraries. |
5425 | echo "$as_me:$LINENO: checking for yp_match" >&5 | 4731 | echo "$as_me:4731: checking for yp_match" >&5 |
5426 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 | 4732 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 |
5427 | if test "${ac_cv_func_yp_match+set}" = set; then | 4733 | if test "${ac_cv_func_yp_match+set}" = set; then |
5428 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4734 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5429 | else | 4735 | else |
5430 | cat >conftest.$ac_ext <<_ACEOF | 4736 | cat >conftest.$ac_ext <<_ACEOF |
5431 | #line $LINENO "configure" | 4737 | #line 4737 "configure" |
5432 | /* confdefs.h. */ | 4738 | #include "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, | 4739 | /* System header to define __stub macros and hopefully few prototypes, |
5438 | which can conflict with char yp_match (); below. | 4740 | which can conflict with char yp_match (); below. */ |
5439 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4741 | #include <assert.h> |
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. */ | 4742 | /* Override any gcc2 internal prototype to avoid an error. */ |
5447 | #ifdef __cplusplus | 4743 | #ifdef __cplusplus |
5448 | extern "C" | 4744 | extern "C" |
5449 | { | ||
5450 | #endif | 4745 | #endif |
5451 | /* We use char because int might match the return type of a gcc2 | 4746 | /* We use char because int might match the return type of a gcc2 |
5452 | builtin and then its argument prototype would still apply. */ | 4747 | builtin and then its argument prototype would still apply. */ |
5453 | char yp_match (); | 4748 | char yp_match (); |
4749 | char (*f) (); | ||
4750 | |||
4751 | int | ||
4752 | main () | ||
4753 | { | ||
5454 | /* The GNU C library defines this for functions which it implements | 4754 | /* The GNU C library defines this for functions which it implements |
5455 | to always fail with ENOSYS. Some functions are actually named | 4755 | to always fail with ENOSYS. Some functions are actually named |
5456 | something starting with __ and the normal name is an alias. */ | 4756 | something starting with __ and the normal name is an alias. */ |
5457 | #if defined (__stub_yp_match) || defined (__stub___yp_match) | 4757 | #if defined (__stub_yp_match) || defined (__stub___yp_match) |
5458 | choke me | 4758 | choke me |
5459 | #else | 4759 | #else |
5460 | char (*f) () = yp_match; | 4760 | f = yp_match; |
5461 | #endif | ||
5462 | #ifdef __cplusplus | ||
5463 | } | ||
5464 | #endif | 4761 | #endif |
5465 | 4762 | ||
5466 | int | ||
5467 | main () | ||
5468 | { | ||
5469 | return f != yp_match; | ||
5470 | ; | 4763 | ; |
5471 | return 0; | 4764 | return 0; |
5472 | } | 4765 | } |
5473 | _ACEOF | 4766 | _ACEOF |
5474 | rm -f conftest.$ac_objext conftest$ac_exeext | 4767 | rm -f conftest.$ac_objext conftest$ac_exeext |
5475 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4768 | if { (eval echo "$as_me:4768: \"$ac_link\"") >&5 |
5476 | (eval $ac_link) 2>&5 | 4769 | (eval $ac_link) 2>&5 |
5477 | ac_status=$? | 4770 | ac_status=$? |
5478 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4771 | echo "$as_me:4771: \$? = $ac_status" >&5 |
5479 | (exit $ac_status); } && | 4772 | (exit $ac_status); } && |
5480 | { ac_try='test -s conftest$ac_exeext' | 4773 | { ac_try='test -s conftest$ac_exeext' |
5481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4774 | { (eval echo "$as_me:4774: \"$ac_try\"") >&5 |
5482 | (eval $ac_try) 2>&5 | 4775 | (eval $ac_try) 2>&5 |
5483 | ac_status=$? | 4776 | ac_status=$? |
5484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4777 | echo "$as_me:4777: \$? = $ac_status" >&5 |
5485 | (exit $ac_status); }; }; then | 4778 | (exit $ac_status); }; }; then |
5486 | ac_cv_func_yp_match=yes | 4779 | ac_cv_func_yp_match=yes |
5487 | else | 4780 | else |
5488 | echo "$as_me: failed program was:" >&5 | 4781 | echo "$as_me: failed program was:" >&5 |
5489 | sed 's/^/| /' conftest.$ac_ext >&5 | 4782 | cat conftest.$ac_ext >&5 |
5490 | |||
5491 | ac_cv_func_yp_match=no | 4783 | ac_cv_func_yp_match=no |
5492 | fi | 4784 | fi |
5493 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4785 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5494 | fi | 4786 | fi |
5495 | echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 | 4787 | echo "$as_me:4787: result: $ac_cv_func_yp_match" >&5 |
5496 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 | 4788 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6 |
5497 | if test $ac_cv_func_yp_match = yes; then | 4789 | if test $ac_cv_func_yp_match = yes; then |
5498 | : | 4790 | : |
5499 | else | 4791 | else |
5500 | 4792 | ||
5501 | echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 | 4793 | echo "$as_me:4793: checking for yp_match in -lnsl" >&5 |
5502 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 | 4794 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 |
5503 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then | 4795 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then |
5504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4796 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5506,12 +4798,8 @@ else | |||
5506 | ac_check_lib_save_LIBS=$LIBS | 4798 | ac_check_lib_save_LIBS=$LIBS |
5507 | LIBS="-lnsl $LIBS" | 4799 | LIBS="-lnsl $LIBS" |
5508 | cat >conftest.$ac_ext <<_ACEOF | 4800 | cat >conftest.$ac_ext <<_ACEOF |
5509 | #line $LINENO "configure" | 4801 | #line 4801 "configure" |
5510 | /* confdefs.h. */ | 4802 | #include "confdefs.h" |
5511 | _ACEOF | ||
5512 | cat confdefs.h >>conftest.$ac_ext | ||
5513 | cat >>conftest.$ac_ext <<_ACEOF | ||
5514 | /* end confdefs.h. */ | ||
5515 | 4803 | ||
5516 | /* Override any gcc2 internal prototype to avoid an error. */ | 4804 | /* Override any gcc2 internal prototype to avoid an error. */ |
5517 | #ifdef __cplusplus | 4805 | #ifdef __cplusplus |
@@ -5529,33 +4817,32 @@ yp_match (); | |||
5529 | } | 4817 | } |
5530 | _ACEOF | 4818 | _ACEOF |
5531 | rm -f conftest.$ac_objext conftest$ac_exeext | 4819 | rm -f conftest.$ac_objext conftest$ac_exeext |
5532 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4820 | if { (eval echo "$as_me:4820: \"$ac_link\"") >&5 |
5533 | (eval $ac_link) 2>&5 | 4821 | (eval $ac_link) 2>&5 |
5534 | ac_status=$? | 4822 | ac_status=$? |
5535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4823 | echo "$as_me:4823: \$? = $ac_status" >&5 |
5536 | (exit $ac_status); } && | 4824 | (exit $ac_status); } && |
5537 | { ac_try='test -s conftest$ac_exeext' | 4825 | { ac_try='test -s conftest$ac_exeext' |
5538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4826 | { (eval echo "$as_me:4826: \"$ac_try\"") >&5 |
5539 | (eval $ac_try) 2>&5 | 4827 | (eval $ac_try) 2>&5 |
5540 | ac_status=$? | 4828 | ac_status=$? |
5541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4829 | echo "$as_me:4829: \$? = $ac_status" >&5 |
5542 | (exit $ac_status); }; }; then | 4830 | (exit $ac_status); }; }; then |
5543 | ac_cv_lib_nsl_yp_match=yes | 4831 | ac_cv_lib_nsl_yp_match=yes |
5544 | else | 4832 | else |
5545 | echo "$as_me: failed program was:" >&5 | 4833 | echo "$as_me: failed program was:" >&5 |
5546 | sed 's/^/| /' conftest.$ac_ext >&5 | 4834 | cat conftest.$ac_ext >&5 |
5547 | |||
5548 | ac_cv_lib_nsl_yp_match=no | 4835 | ac_cv_lib_nsl_yp_match=no |
5549 | fi | 4836 | fi |
5550 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4837 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5551 | LIBS=$ac_check_lib_save_LIBS | 4838 | LIBS=$ac_check_lib_save_LIBS |
5552 | fi | 4839 | fi |
5553 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 | 4840 | echo "$as_me:4840: result: $ac_cv_lib_nsl_yp_match" >&5 |
5554 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 | 4841 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 |
5555 | if test $ac_cv_lib_nsl_yp_match = yes; then | 4842 | if test $ac_cv_lib_nsl_yp_match = yes; then |
5556 | cat >>confdefs.h <<_ACEOF | 4843 | cat >>confdefs.h <<EOF |
5557 | #define HAVE_LIBNSL 1 | 4844 | #define HAVE_LIBNSL 1 |
5558 | _ACEOF | 4845 | EOF |
5559 | 4846 | ||
5560 | LIBS="-lnsl $LIBS" | 4847 | LIBS="-lnsl $LIBS" |
5561 | 4848 | ||
@@ -5563,83 +4850,69 @@ fi | |||
5563 | 4850 | ||
5564 | fi | 4851 | fi |
5565 | 4852 | ||
5566 | echo "$as_me:$LINENO: checking for setsockopt" >&5 | 4853 | echo "$as_me:4853: checking for setsockopt" >&5 |
5567 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 | 4854 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 |
5568 | if test "${ac_cv_func_setsockopt+set}" = set; then | 4855 | if test "${ac_cv_func_setsockopt+set}" = set; then |
5569 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4856 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5570 | else | 4857 | else |
5571 | cat >conftest.$ac_ext <<_ACEOF | 4858 | cat >conftest.$ac_ext <<_ACEOF |
5572 | #line $LINENO "configure" | 4859 | #line 4859 "configure" |
5573 | /* confdefs.h. */ | 4860 | #include "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, | 4861 | /* System header to define __stub macros and hopefully few prototypes, |
5579 | which can conflict with char setsockopt (); below. | 4862 | which can conflict with char setsockopt (); below. */ |
5580 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 4863 | #include <assert.h> |
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. */ | 4864 | /* Override any gcc2 internal prototype to avoid an error. */ |
5588 | #ifdef __cplusplus | 4865 | #ifdef __cplusplus |
5589 | extern "C" | 4866 | extern "C" |
5590 | { | ||
5591 | #endif | 4867 | #endif |
5592 | /* We use char because int might match the return type of a gcc2 | 4868 | /* We use char because int might match the return type of a gcc2 |
5593 | builtin and then its argument prototype would still apply. */ | 4869 | builtin and then its argument prototype would still apply. */ |
5594 | char setsockopt (); | 4870 | char setsockopt (); |
4871 | char (*f) (); | ||
4872 | |||
4873 | int | ||
4874 | main () | ||
4875 | { | ||
5595 | /* The GNU C library defines this for functions which it implements | 4876 | /* The GNU C library defines this for functions which it implements |
5596 | to always fail with ENOSYS. Some functions are actually named | 4877 | to always fail with ENOSYS. Some functions are actually named |
5597 | something starting with __ and the normal name is an alias. */ | 4878 | something starting with __ and the normal name is an alias. */ |
5598 | #if defined (__stub_setsockopt) || defined (__stub___setsockopt) | 4879 | #if defined (__stub_setsockopt) || defined (__stub___setsockopt) |
5599 | choke me | 4880 | choke me |
5600 | #else | 4881 | #else |
5601 | char (*f) () = setsockopt; | 4882 | f = setsockopt; |
5602 | #endif | ||
5603 | #ifdef __cplusplus | ||
5604 | } | ||
5605 | #endif | 4883 | #endif |
5606 | 4884 | ||
5607 | int | ||
5608 | main () | ||
5609 | { | ||
5610 | return f != setsockopt; | ||
5611 | ; | 4885 | ; |
5612 | return 0; | 4886 | return 0; |
5613 | } | 4887 | } |
5614 | _ACEOF | 4888 | _ACEOF |
5615 | rm -f conftest.$ac_objext conftest$ac_exeext | 4889 | rm -f conftest.$ac_objext conftest$ac_exeext |
5616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4890 | if { (eval echo "$as_me:4890: \"$ac_link\"") >&5 |
5617 | (eval $ac_link) 2>&5 | 4891 | (eval $ac_link) 2>&5 |
5618 | ac_status=$? | 4892 | ac_status=$? |
5619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4893 | echo "$as_me:4893: \$? = $ac_status" >&5 |
5620 | (exit $ac_status); } && | 4894 | (exit $ac_status); } && |
5621 | { ac_try='test -s conftest$ac_exeext' | 4895 | { ac_try='test -s conftest$ac_exeext' |
5622 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4896 | { (eval echo "$as_me:4896: \"$ac_try\"") >&5 |
5623 | (eval $ac_try) 2>&5 | 4897 | (eval $ac_try) 2>&5 |
5624 | ac_status=$? | 4898 | ac_status=$? |
5625 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4899 | echo "$as_me:4899: \$? = $ac_status" >&5 |
5626 | (exit $ac_status); }; }; then | 4900 | (exit $ac_status); }; }; then |
5627 | ac_cv_func_setsockopt=yes | 4901 | ac_cv_func_setsockopt=yes |
5628 | else | 4902 | else |
5629 | echo "$as_me: failed program was:" >&5 | 4903 | echo "$as_me: failed program was:" >&5 |
5630 | sed 's/^/| /' conftest.$ac_ext >&5 | 4904 | cat conftest.$ac_ext >&5 |
5631 | |||
5632 | ac_cv_func_setsockopt=no | 4905 | ac_cv_func_setsockopt=no |
5633 | fi | 4906 | fi |
5634 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4907 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5635 | fi | 4908 | fi |
5636 | echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | 4909 | echo "$as_me:4909: result: $ac_cv_func_setsockopt" >&5 |
5637 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 | 4910 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 |
5638 | if test $ac_cv_func_setsockopt = yes; then | 4911 | if test $ac_cv_func_setsockopt = yes; then |
5639 | : | 4912 | : |
5640 | else | 4913 | else |
5641 | 4914 | ||
5642 | echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 | 4915 | echo "$as_me:4915: checking for setsockopt in -lsocket" >&5 |
5643 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 | 4916 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 |
5644 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | 4917 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then |
5645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4918 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5647,12 +4920,8 @@ else | |||
5647 | ac_check_lib_save_LIBS=$LIBS | 4920 | ac_check_lib_save_LIBS=$LIBS |
5648 | LIBS="-lsocket $LIBS" | 4921 | LIBS="-lsocket $LIBS" |
5649 | cat >conftest.$ac_ext <<_ACEOF | 4922 | cat >conftest.$ac_ext <<_ACEOF |
5650 | #line $LINENO "configure" | 4923 | #line 4923 "configure" |
5651 | /* confdefs.h. */ | 4924 | #include "confdefs.h" |
5652 | _ACEOF | ||
5653 | cat confdefs.h >>conftest.$ac_ext | ||
5654 | cat >>conftest.$ac_ext <<_ACEOF | ||
5655 | /* end confdefs.h. */ | ||
5656 | 4925 | ||
5657 | /* Override any gcc2 internal prototype to avoid an error. */ | 4926 | /* Override any gcc2 internal prototype to avoid an error. */ |
5658 | #ifdef __cplusplus | 4927 | #ifdef __cplusplus |
@@ -5670,33 +4939,32 @@ setsockopt (); | |||
5670 | } | 4939 | } |
5671 | _ACEOF | 4940 | _ACEOF |
5672 | rm -f conftest.$ac_objext conftest$ac_exeext | 4941 | rm -f conftest.$ac_objext conftest$ac_exeext |
5673 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4942 | if { (eval echo "$as_me:4942: \"$ac_link\"") >&5 |
5674 | (eval $ac_link) 2>&5 | 4943 | (eval $ac_link) 2>&5 |
5675 | ac_status=$? | 4944 | ac_status=$? |
5676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4945 | echo "$as_me:4945: \$? = $ac_status" >&5 |
5677 | (exit $ac_status); } && | 4946 | (exit $ac_status); } && |
5678 | { ac_try='test -s conftest$ac_exeext' | 4947 | { ac_try='test -s conftest$ac_exeext' |
5679 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4948 | { (eval echo "$as_me:4948: \"$ac_try\"") >&5 |
5680 | (eval $ac_try) 2>&5 | 4949 | (eval $ac_try) 2>&5 |
5681 | ac_status=$? | 4950 | ac_status=$? |
5682 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4951 | echo "$as_me:4951: \$? = $ac_status" >&5 |
5683 | (exit $ac_status); }; }; then | 4952 | (exit $ac_status); }; }; then |
5684 | ac_cv_lib_socket_setsockopt=yes | 4953 | ac_cv_lib_socket_setsockopt=yes |
5685 | else | 4954 | else |
5686 | echo "$as_me: failed program was:" >&5 | 4955 | echo "$as_me: failed program was:" >&5 |
5687 | sed 's/^/| /' conftest.$ac_ext >&5 | 4956 | cat conftest.$ac_ext >&5 |
5688 | |||
5689 | ac_cv_lib_socket_setsockopt=no | 4957 | ac_cv_lib_socket_setsockopt=no |
5690 | fi | 4958 | fi |
5691 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4959 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5692 | LIBS=$ac_check_lib_save_LIBS | 4960 | LIBS=$ac_check_lib_save_LIBS |
5693 | fi | 4961 | fi |
5694 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 | 4962 | echo "$as_me:4962: result: $ac_cv_lib_socket_setsockopt" >&5 |
5695 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 | 4963 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 |
5696 | if test $ac_cv_lib_socket_setsockopt = yes; then | 4964 | if test $ac_cv_lib_socket_setsockopt = yes; then |
5697 | cat >>confdefs.h <<_ACEOF | 4965 | cat >>confdefs.h <<EOF |
5698 | #define HAVE_LIBSOCKET 1 | 4966 | #define HAVE_LIBSOCKET 1 |
5699 | _ACEOF | 4967 | EOF |
5700 | 4968 | ||
5701 | LIBS="-lsocket $LIBS" | 4969 | LIBS="-lsocket $LIBS" |
5702 | 4970 | ||
@@ -5704,10 +4972,9 @@ fi | |||
5704 | 4972 | ||
5705 | fi | 4973 | fi |
5706 | 4974 | ||
5707 | |||
5708 | if test "x$with_tcp_wrappers" != "xno" ; then | 4975 | if test "x$with_tcp_wrappers" != "xno" ; then |
5709 | if test "x$do_sco3_extra_lib_check" = "xyes" ; then | 4976 | if test "x$do_sco3_extra_lib_check" = "xyes" ; then |
5710 | echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5 | 4977 | echo "$as_me:4977: checking for innetgr in -lrpc" >&5 |
5711 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 | 4978 | echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 |
5712 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then | 4979 | if test "${ac_cv_lib_rpc_innetgr+set}" = set; then |
5713 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4980 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5715,12 +4982,8 @@ else | |||
5715 | ac_check_lib_save_LIBS=$LIBS | 4982 | ac_check_lib_save_LIBS=$LIBS |
5716 | LIBS="-lrpc -lyp -lrpc $LIBS" | 4983 | LIBS="-lrpc -lyp -lrpc $LIBS" |
5717 | cat >conftest.$ac_ext <<_ACEOF | 4984 | cat >conftest.$ac_ext <<_ACEOF |
5718 | #line $LINENO "configure" | 4985 | #line 4985 "configure" |
5719 | /* confdefs.h. */ | 4986 | #include "confdefs.h" |
5720 | _ACEOF | ||
5721 | cat confdefs.h >>conftest.$ac_ext | ||
5722 | cat >>conftest.$ac_ext <<_ACEOF | ||
5723 | /* end confdefs.h. */ | ||
5724 | 4987 | ||
5725 | /* Override any gcc2 internal prototype to avoid an error. */ | 4988 | /* Override any gcc2 internal prototype to avoid an error. */ |
5726 | #ifdef __cplusplus | 4989 | #ifdef __cplusplus |
@@ -5738,28 +5001,27 @@ innetgr (); | |||
5738 | } | 5001 | } |
5739 | _ACEOF | 5002 | _ACEOF |
5740 | rm -f conftest.$ac_objext conftest$ac_exeext | 5003 | rm -f conftest.$ac_objext conftest$ac_exeext |
5741 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5004 | if { (eval echo "$as_me:5004: \"$ac_link\"") >&5 |
5742 | (eval $ac_link) 2>&5 | 5005 | (eval $ac_link) 2>&5 |
5743 | ac_status=$? | 5006 | ac_status=$? |
5744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5007 | echo "$as_me:5007: \$? = $ac_status" >&5 |
5745 | (exit $ac_status); } && | 5008 | (exit $ac_status); } && |
5746 | { ac_try='test -s conftest$ac_exeext' | 5009 | { ac_try='test -s conftest$ac_exeext' |
5747 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5010 | { (eval echo "$as_me:5010: \"$ac_try\"") >&5 |
5748 | (eval $ac_try) 2>&5 | 5011 | (eval $ac_try) 2>&5 |
5749 | ac_status=$? | 5012 | ac_status=$? |
5750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5013 | echo "$as_me:5013: \$? = $ac_status" >&5 |
5751 | (exit $ac_status); }; }; then | 5014 | (exit $ac_status); }; }; then |
5752 | ac_cv_lib_rpc_innetgr=yes | 5015 | ac_cv_lib_rpc_innetgr=yes |
5753 | else | 5016 | else |
5754 | echo "$as_me: failed program was:" >&5 | 5017 | echo "$as_me: failed program was:" >&5 |
5755 | sed 's/^/| /' conftest.$ac_ext >&5 | 5018 | cat conftest.$ac_ext >&5 |
5756 | |||
5757 | ac_cv_lib_rpc_innetgr=no | 5019 | ac_cv_lib_rpc_innetgr=no |
5758 | fi | 5020 | fi |
5759 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5021 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5760 | LIBS=$ac_check_lib_save_LIBS | 5022 | LIBS=$ac_check_lib_save_LIBS |
5761 | fi | 5023 | fi |
5762 | echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5 | 5024 | echo "$as_me:5024: result: $ac_cv_lib_rpc_innetgr" >&5 |
5763 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 | 5025 | echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 |
5764 | if test $ac_cv_lib_rpc_innetgr = yes; then | 5026 | if test $ac_cv_lib_rpc_innetgr = yes; then |
5765 | LIBS="-lrpc -lyp -lrpc $LIBS" | 5027 | LIBS="-lrpc -lyp -lrpc $LIBS" |
@@ -5768,82 +5030,355 @@ fi | |||
5768 | fi | 5030 | fi |
5769 | fi | 5031 | fi |
5770 | 5032 | ||
5771 | echo "$as_me:$LINENO: checking for getspnam" >&5 | 5033 | for ac_func in dirname |
5772 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 | 5034 | do |
5773 | if test "${ac_cv_func_getspnam+set}" = set; then | 5035 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5036 | echo "$as_me:5036: checking for $ac_func" >&5 | ||
5037 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
5038 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
5774 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5039 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5775 | else | 5040 | else |
5776 | cat >conftest.$ac_ext <<_ACEOF | 5041 | cat >conftest.$ac_ext <<_ACEOF |
5777 | #line $LINENO "configure" | 5042 | #line 5042 "configure" |
5778 | /* confdefs.h. */ | 5043 | #include "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, | 5044 | /* System header to define __stub macros and hopefully few prototypes, |
5784 | which can conflict with char getspnam (); below. | 5045 | which can conflict with char $ac_func (); below. */ |
5785 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5046 | #include <assert.h> |
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. */ | 5047 | /* Override any gcc2 internal prototype to avoid an error. */ |
5793 | #ifdef __cplusplus | 5048 | #ifdef __cplusplus |
5794 | extern "C" | 5049 | extern "C" |
5795 | { | ||
5796 | #endif | 5050 | #endif |
5797 | /* We use char because int might match the return type of a gcc2 | 5051 | /* We use char because int might match the return type of a gcc2 |
5798 | builtin and then its argument prototype would still apply. */ | 5052 | builtin and then its argument prototype would still apply. */ |
5799 | char getspnam (); | 5053 | char $ac_func (); |
5054 | char (*f) (); | ||
5055 | |||
5056 | int | ||
5057 | main () | ||
5058 | { | ||
5800 | /* The GNU C library defines this for functions which it implements | 5059 | /* The GNU C library defines this for functions which it implements |
5801 | to always fail with ENOSYS. Some functions are actually named | 5060 | to always fail with ENOSYS. Some functions are actually named |
5802 | something starting with __ and the normal name is an alias. */ | 5061 | something starting with __ and the normal name is an alias. */ |
5803 | #if defined (__stub_getspnam) || defined (__stub___getspnam) | 5062 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5804 | choke me | 5063 | choke me |
5805 | #else | 5064 | #else |
5806 | char (*f) () = getspnam; | 5065 | f = $ac_func; |
5807 | #endif | 5066 | #endif |
5067 | |||
5068 | ; | ||
5069 | return 0; | ||
5070 | } | ||
5071 | _ACEOF | ||
5072 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5073 | if { (eval echo "$as_me:5073: \"$ac_link\"") >&5 | ||
5074 | (eval $ac_link) 2>&5 | ||
5075 | ac_status=$? | ||
5076 | echo "$as_me:5076: \$? = $ac_status" >&5 | ||
5077 | (exit $ac_status); } && | ||
5078 | { ac_try='test -s conftest$ac_exeext' | ||
5079 | { (eval echo "$as_me:5079: \"$ac_try\"") >&5 | ||
5080 | (eval $ac_try) 2>&5 | ||
5081 | ac_status=$? | ||
5082 | echo "$as_me:5082: \$? = $ac_status" >&5 | ||
5083 | (exit $ac_status); }; }; then | ||
5084 | eval "$as_ac_var=yes" | ||
5085 | else | ||
5086 | echo "$as_me: failed program was:" >&5 | ||
5087 | cat conftest.$ac_ext >&5 | ||
5088 | eval "$as_ac_var=no" | ||
5089 | fi | ||
5090 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5091 | fi | ||
5092 | echo "$as_me:5092: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
5093 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
5094 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
5095 | cat >>confdefs.h <<EOF | ||
5096 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
5097 | EOF | ||
5098 | |||
5099 | for ac_header in libgen.h | ||
5100 | do | ||
5101 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5102 | echo "$as_me:5102: checking for $ac_header" >&5 | ||
5103 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5104 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5105 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5106 | else | ||
5107 | cat >conftest.$ac_ext <<_ACEOF | ||
5108 | #line 5108 "configure" | ||
5109 | #include "confdefs.h" | ||
5110 | #include <$ac_header> | ||
5111 | _ACEOF | ||
5112 | if { (eval echo "$as_me:5112: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
5113 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
5114 | ac_status=$? | ||
5115 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
5116 | rm -f conftest.er1 | ||
5117 | cat conftest.err >&5 | ||
5118 | echo "$as_me:5118: \$? = $ac_status" >&5 | ||
5119 | (exit $ac_status); } >/dev/null; then | ||
5120 | if test -s conftest.err; then | ||
5121 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
5122 | else | ||
5123 | ac_cpp_err= | ||
5124 | fi | ||
5125 | else | ||
5126 | ac_cpp_err=yes | ||
5127 | fi | ||
5128 | if test -z "$ac_cpp_err"; then | ||
5129 | eval "$as_ac_Header=yes" | ||
5130 | else | ||
5131 | echo "$as_me: failed program was:" >&5 | ||
5132 | cat conftest.$ac_ext >&5 | ||
5133 | eval "$as_ac_Header=no" | ||
5134 | fi | ||
5135 | rm -f conftest.err conftest.$ac_ext | ||
5136 | fi | ||
5137 | echo "$as_me:5137: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5138 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5139 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5140 | cat >>confdefs.h <<EOF | ||
5141 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5142 | EOF | ||
5143 | |||
5144 | fi | ||
5145 | done | ||
5146 | |||
5147 | else | ||
5148 | |||
5149 | echo "$as_me:5149: checking for dirname in -lgen" >&5 | ||
5150 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 | ||
5151 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | ||
5152 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5153 | else | ||
5154 | ac_check_lib_save_LIBS=$LIBS | ||
5155 | LIBS="-lgen $LIBS" | ||
5156 | cat >conftest.$ac_ext <<_ACEOF | ||
5157 | #line 5157 "configure" | ||
5158 | #include "confdefs.h" | ||
5159 | |||
5160 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5808 | #ifdef __cplusplus | 5161 | #ifdef __cplusplus |
5162 | extern "C" | ||
5163 | #endif | ||
5164 | /* We use char because int might match the return type of a gcc2 | ||
5165 | builtin and then its argument prototype would still apply. */ | ||
5166 | char dirname (); | ||
5167 | int | ||
5168 | main () | ||
5169 | { | ||
5170 | dirname (); | ||
5171 | ; | ||
5172 | return 0; | ||
5173 | } | ||
5174 | _ACEOF | ||
5175 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5176 | if { (eval echo "$as_me:5176: \"$ac_link\"") >&5 | ||
5177 | (eval $ac_link) 2>&5 | ||
5178 | ac_status=$? | ||
5179 | echo "$as_me:5179: \$? = $ac_status" >&5 | ||
5180 | (exit $ac_status); } && | ||
5181 | { ac_try='test -s conftest$ac_exeext' | ||
5182 | { (eval echo "$as_me:5182: \"$ac_try\"") >&5 | ||
5183 | (eval $ac_try) 2>&5 | ||
5184 | ac_status=$? | ||
5185 | echo "$as_me:5185: \$? = $ac_status" >&5 | ||
5186 | (exit $ac_status); }; }; then | ||
5187 | ac_cv_lib_gen_dirname=yes | ||
5188 | else | ||
5189 | echo "$as_me: failed program was:" >&5 | ||
5190 | cat conftest.$ac_ext >&5 | ||
5191 | ac_cv_lib_gen_dirname=no | ||
5192 | fi | ||
5193 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5194 | LIBS=$ac_check_lib_save_LIBS | ||
5195 | fi | ||
5196 | echo "$as_me:5196: result: $ac_cv_lib_gen_dirname" >&5 | ||
5197 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 | ||
5198 | if test $ac_cv_lib_gen_dirname = yes; then | ||
5199 | |||
5200 | echo "$as_me:5200: checking for broken dirname" >&5 | ||
5201 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 | ||
5202 | if test "${ac_cv_have_broken_dirname+set}" = set; then | ||
5203 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5204 | else | ||
5205 | |||
5206 | save_LIBS="$LIBS" | ||
5207 | LIBS="$LIBS -lgen" | ||
5208 | if test "$cross_compiling" = yes; then | ||
5209 | { { echo "$as_me:5209: error: cannot run test program while cross compiling" >&5 | ||
5210 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
5211 | { (exit 1); exit 1; }; } | ||
5212 | else | ||
5213 | cat >conftest.$ac_ext <<_ACEOF | ||
5214 | #line 5214 "configure" | ||
5215 | #include "confdefs.h" | ||
5216 | |||
5217 | #include <libgen.h> | ||
5218 | #include <string.h> | ||
5219 | |||
5220 | int main(int argc, char **argv) { | ||
5221 | char *s, buf[32]; | ||
5222 | |||
5223 | strncpy(buf,"/etc", 32); | ||
5224 | s = dirname(buf); | ||
5225 | if (!s || strncmp(s, "/", 32) != 0) { | ||
5226 | exit(1); | ||
5227 | } else { | ||
5228 | exit(0); | ||
5229 | } | ||
5809 | } | 5230 | } |
5231 | |||
5232 | _ACEOF | ||
5233 | rm -f conftest$ac_exeext | ||
5234 | if { (eval echo "$as_me:5234: \"$ac_link\"") >&5 | ||
5235 | (eval $ac_link) 2>&5 | ||
5236 | ac_status=$? | ||
5237 | echo "$as_me:5237: \$? = $ac_status" >&5 | ||
5238 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
5239 | { (eval echo "$as_me:5239: \"$ac_try\"") >&5 | ||
5240 | (eval $ac_try) 2>&5 | ||
5241 | ac_status=$? | ||
5242 | echo "$as_me:5242: \$? = $ac_status" >&5 | ||
5243 | (exit $ac_status); }; }; then | ||
5244 | ac_cv_have_broken_dirname="no" | ||
5245 | else | ||
5246 | echo "$as_me: program exited with status $ac_status" >&5 | ||
5247 | echo "$as_me: failed program was:" >&5 | ||
5248 | cat conftest.$ac_ext >&5 | ||
5249 | ac_cv_have_broken_dirname="yes" | ||
5250 | |||
5251 | fi | ||
5252 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
5253 | fi | ||
5254 | LIBS="$save_LIBS" | ||
5255 | |||
5256 | fi | ||
5257 | echo "$as_me:5257: result: $ac_cv_have_broken_dirname" >&5 | ||
5258 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 | ||
5259 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | ||
5260 | LIBS="$LIBS -lgen" | ||
5261 | cat >>confdefs.h <<\EOF | ||
5262 | #define HAVE_DIRNAME 1 | ||
5263 | EOF | ||
5264 | |||
5265 | for ac_header in libgen.h | ||
5266 | do | ||
5267 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
5268 | echo "$as_me:5268: checking for $ac_header" >&5 | ||
5269 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | ||
5270 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | ||
5271 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5272 | else | ||
5273 | cat >conftest.$ac_ext <<_ACEOF | ||
5274 | #line 5274 "configure" | ||
5275 | #include "confdefs.h" | ||
5276 | #include <$ac_header> | ||
5277 | _ACEOF | ||
5278 | if { (eval echo "$as_me:5278: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
5279 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
5280 | ac_status=$? | ||
5281 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
5282 | rm -f conftest.er1 | ||
5283 | cat conftest.err >&5 | ||
5284 | echo "$as_me:5284: \$? = $ac_status" >&5 | ||
5285 | (exit $ac_status); } >/dev/null; then | ||
5286 | if test -s conftest.err; then | ||
5287 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
5288 | else | ||
5289 | ac_cpp_err= | ||
5290 | fi | ||
5291 | else | ||
5292 | ac_cpp_err=yes | ||
5293 | fi | ||
5294 | if test -z "$ac_cpp_err"; then | ||
5295 | eval "$as_ac_Header=yes" | ||
5296 | else | ||
5297 | echo "$as_me: failed program was:" >&5 | ||
5298 | cat conftest.$ac_ext >&5 | ||
5299 | eval "$as_ac_Header=no" | ||
5300 | fi | ||
5301 | rm -f conftest.err conftest.$ac_ext | ||
5302 | fi | ||
5303 | echo "$as_me:5303: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
5304 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
5305 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
5306 | cat >>confdefs.h <<EOF | ||
5307 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
5308 | EOF | ||
5309 | |||
5310 | fi | ||
5311 | done | ||
5312 | |||
5313 | fi | ||
5314 | |||
5315 | fi | ||
5316 | |||
5317 | fi | ||
5318 | done | ||
5319 | |||
5320 | echo "$as_me:5320: checking for getspnam" >&5 | ||
5321 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 | ||
5322 | if test "${ac_cv_func_getspnam+set}" = set; then | ||
5323 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5324 | else | ||
5325 | cat >conftest.$ac_ext <<_ACEOF | ||
5326 | #line 5326 "configure" | ||
5327 | #include "confdefs.h" | ||
5328 | /* System header to define __stub macros and hopefully few prototypes, | ||
5329 | which can conflict with char getspnam (); below. */ | ||
5330 | #include <assert.h> | ||
5331 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5332 | #ifdef __cplusplus | ||
5333 | extern "C" | ||
5810 | #endif | 5334 | #endif |
5335 | /* We use char because int might match the return type of a gcc2 | ||
5336 | builtin and then its argument prototype would still apply. */ | ||
5337 | char getspnam (); | ||
5338 | char (*f) (); | ||
5811 | 5339 | ||
5812 | int | 5340 | int |
5813 | main () | 5341 | main () |
5814 | { | 5342 | { |
5815 | return f != getspnam; | 5343 | /* The GNU C library defines this for functions which it implements |
5344 | to always fail with ENOSYS. Some functions are actually named | ||
5345 | something starting with __ and the normal name is an alias. */ | ||
5346 | #if defined (__stub_getspnam) || defined (__stub___getspnam) | ||
5347 | choke me | ||
5348 | #else | ||
5349 | f = getspnam; | ||
5350 | #endif | ||
5351 | |||
5816 | ; | 5352 | ; |
5817 | return 0; | 5353 | return 0; |
5818 | } | 5354 | } |
5819 | _ACEOF | 5355 | _ACEOF |
5820 | rm -f conftest.$ac_objext conftest$ac_exeext | 5356 | rm -f conftest.$ac_objext conftest$ac_exeext |
5821 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5357 | if { (eval echo "$as_me:5357: \"$ac_link\"") >&5 |
5822 | (eval $ac_link) 2>&5 | 5358 | (eval $ac_link) 2>&5 |
5823 | ac_status=$? | 5359 | ac_status=$? |
5824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5360 | echo "$as_me:5360: \$? = $ac_status" >&5 |
5825 | (exit $ac_status); } && | 5361 | (exit $ac_status); } && |
5826 | { ac_try='test -s conftest$ac_exeext' | 5362 | { ac_try='test -s conftest$ac_exeext' |
5827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5363 | { (eval echo "$as_me:5363: \"$ac_try\"") >&5 |
5828 | (eval $ac_try) 2>&5 | 5364 | (eval $ac_try) 2>&5 |
5829 | ac_status=$? | 5365 | ac_status=$? |
5830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5366 | echo "$as_me:5366: \$? = $ac_status" >&5 |
5831 | (exit $ac_status); }; }; then | 5367 | (exit $ac_status); }; }; then |
5832 | ac_cv_func_getspnam=yes | 5368 | ac_cv_func_getspnam=yes |
5833 | else | 5369 | else |
5834 | echo "$as_me: failed program was:" >&5 | 5370 | echo "$as_me: failed program was:" >&5 |
5835 | sed 's/^/| /' conftest.$ac_ext >&5 | 5371 | cat conftest.$ac_ext >&5 |
5836 | |||
5837 | ac_cv_func_getspnam=no | 5372 | ac_cv_func_getspnam=no |
5838 | fi | 5373 | fi |
5839 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5374 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5840 | fi | 5375 | fi |
5841 | echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | 5376 | echo "$as_me:5376: result: $ac_cv_func_getspnam" >&5 |
5842 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 | 5377 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6 |
5843 | if test $ac_cv_func_getspnam = yes; then | 5378 | if test $ac_cv_func_getspnam = yes; then |
5844 | : | 5379 | : |
5845 | else | 5380 | else |
5846 | echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | 5381 | echo "$as_me:5381: checking for getspnam in -lgen" >&5 |
5847 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 | 5382 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 |
5848 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | 5383 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then |
5849 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5851,12 +5386,8 @@ else | |||
5851 | ac_check_lib_save_LIBS=$LIBS | 5386 | ac_check_lib_save_LIBS=$LIBS |
5852 | LIBS="-lgen $LIBS" | 5387 | LIBS="-lgen $LIBS" |
5853 | cat >conftest.$ac_ext <<_ACEOF | 5388 | cat >conftest.$ac_ext <<_ACEOF |
5854 | #line $LINENO "configure" | 5389 | #line 5389 "configure" |
5855 | /* confdefs.h. */ | 5390 | #include "confdefs.h" |
5856 | _ACEOF | ||
5857 | cat confdefs.h >>conftest.$ac_ext | ||
5858 | cat >>conftest.$ac_ext <<_ACEOF | ||
5859 | /* end confdefs.h. */ | ||
5860 | 5391 | ||
5861 | /* Override any gcc2 internal prototype to avoid an error. */ | 5392 | /* Override any gcc2 internal prototype to avoid an error. */ |
5862 | #ifdef __cplusplus | 5393 | #ifdef __cplusplus |
@@ -5874,28 +5405,27 @@ getspnam (); | |||
5874 | } | 5405 | } |
5875 | _ACEOF | 5406 | _ACEOF |
5876 | rm -f conftest.$ac_objext conftest$ac_exeext | 5407 | rm -f conftest.$ac_objext conftest$ac_exeext |
5877 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5408 | if { (eval echo "$as_me:5408: \"$ac_link\"") >&5 |
5878 | (eval $ac_link) 2>&5 | 5409 | (eval $ac_link) 2>&5 |
5879 | ac_status=$? | 5410 | ac_status=$? |
5880 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5411 | echo "$as_me:5411: \$? = $ac_status" >&5 |
5881 | (exit $ac_status); } && | 5412 | (exit $ac_status); } && |
5882 | { ac_try='test -s conftest$ac_exeext' | 5413 | { ac_try='test -s conftest$ac_exeext' |
5883 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5414 | { (eval echo "$as_me:5414: \"$ac_try\"") >&5 |
5884 | (eval $ac_try) 2>&5 | 5415 | (eval $ac_try) 2>&5 |
5885 | ac_status=$? | 5416 | ac_status=$? |
5886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5417 | echo "$as_me:5417: \$? = $ac_status" >&5 |
5887 | (exit $ac_status); }; }; then | 5418 | (exit $ac_status); }; }; then |
5888 | ac_cv_lib_gen_getspnam=yes | 5419 | ac_cv_lib_gen_getspnam=yes |
5889 | else | 5420 | else |
5890 | echo "$as_me: failed program was:" >&5 | 5421 | echo "$as_me: failed program was:" >&5 |
5891 | sed 's/^/| /' conftest.$ac_ext >&5 | 5422 | cat conftest.$ac_ext >&5 |
5892 | |||
5893 | ac_cv_lib_gen_getspnam=no | 5423 | ac_cv_lib_gen_getspnam=no |
5894 | fi | 5424 | fi |
5895 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5425 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5896 | LIBS=$ac_check_lib_save_LIBS | 5426 | LIBS=$ac_check_lib_save_LIBS |
5897 | fi | 5427 | fi |
5898 | echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 | 5428 | echo "$as_me:5428: result: $ac_cv_lib_gen_getspnam" >&5 |
5899 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 | 5429 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 |
5900 | if test $ac_cv_lib_gen_getspnam = yes; then | 5430 | if test $ac_cv_lib_gen_getspnam = yes; then |
5901 | LIBS="$LIBS -lgen" | 5431 | LIBS="$LIBS -lgen" |
@@ -5903,7 +5433,104 @@ fi | |||
5903 | 5433 | ||
5904 | fi | 5434 | fi |
5905 | 5435 | ||
5436 | echo "$as_me:5436: checking for library containing basename" >&5 | ||
5437 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 | ||
5438 | if test "${ac_cv_search_basename+set}" = set; then | ||
5439 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5440 | else | ||
5441 | ac_func_search_save_LIBS=$LIBS | ||
5442 | ac_cv_search_basename=no | ||
5443 | cat >conftest.$ac_ext <<_ACEOF | ||
5444 | #line 5444 "configure" | ||
5445 | #include "confdefs.h" | ||
5446 | |||
5447 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5448 | #ifdef __cplusplus | ||
5449 | extern "C" | ||
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 basename (); | ||
5454 | int | ||
5455 | main () | ||
5456 | { | ||
5457 | basename (); | ||
5458 | ; | ||
5459 | return 0; | ||
5460 | } | ||
5461 | _ACEOF | ||
5462 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5463 | if { (eval echo "$as_me:5463: \"$ac_link\"") >&5 | ||
5464 | (eval $ac_link) 2>&5 | ||
5465 | ac_status=$? | ||
5466 | echo "$as_me:5466: \$? = $ac_status" >&5 | ||
5467 | (exit $ac_status); } && | ||
5468 | { ac_try='test -s conftest$ac_exeext' | ||
5469 | { (eval echo "$as_me:5469: \"$ac_try\"") >&5 | ||
5470 | (eval $ac_try) 2>&5 | ||
5471 | ac_status=$? | ||
5472 | echo "$as_me:5472: \$? = $ac_status" >&5 | ||
5473 | (exit $ac_status); }; }; then | ||
5474 | ac_cv_search_basename="none required" | ||
5475 | else | ||
5476 | echo "$as_me: failed program was:" >&5 | ||
5477 | cat conftest.$ac_ext >&5 | ||
5478 | fi | ||
5479 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5480 | if test "$ac_cv_search_basename" = no; then | ||
5481 | for ac_lib in gen; do | ||
5482 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
5483 | cat >conftest.$ac_ext <<_ACEOF | ||
5484 | #line 5484 "configure" | ||
5485 | #include "confdefs.h" | ||
5486 | |||
5487 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
5488 | #ifdef __cplusplus | ||
5489 | extern "C" | ||
5490 | #endif | ||
5491 | /* We use char because int might match the return type of a gcc2 | ||
5492 | builtin and then its argument prototype would still apply. */ | ||
5493 | char basename (); | ||
5494 | int | ||
5495 | main () | ||
5496 | { | ||
5497 | basename (); | ||
5498 | ; | ||
5499 | return 0; | ||
5500 | } | ||
5501 | _ACEOF | ||
5502 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
5503 | if { (eval echo "$as_me:5503: \"$ac_link\"") >&5 | ||
5504 | (eval $ac_link) 2>&5 | ||
5505 | ac_status=$? | ||
5506 | echo "$as_me:5506: \$? = $ac_status" >&5 | ||
5507 | (exit $ac_status); } && | ||
5508 | { ac_try='test -s conftest$ac_exeext' | ||
5509 | { (eval echo "$as_me:5509: \"$ac_try\"") >&5 | ||
5510 | (eval $ac_try) 2>&5 | ||
5511 | ac_status=$? | ||
5512 | echo "$as_me:5512: \$? = $ac_status" >&5 | ||
5513 | (exit $ac_status); }; }; then | ||
5514 | ac_cv_search_basename="-l$ac_lib" | ||
5515 | break | ||
5516 | else | ||
5517 | echo "$as_me: failed program was:" >&5 | ||
5518 | cat conftest.$ac_ext >&5 | ||
5519 | fi | ||
5520 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
5521 | done | ||
5522 | fi | ||
5523 | LIBS=$ac_func_search_save_LIBS | ||
5524 | fi | ||
5525 | echo "$as_me:5525: result: $ac_cv_search_basename" >&5 | ||
5526 | echo "${ECHO_T}$ac_cv_search_basename" >&6 | ||
5527 | if test "$ac_cv_search_basename" != no; then | ||
5528 | test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" | ||
5529 | cat >>confdefs.h <<\EOF | ||
5530 | #define HAVE_BASENAME 1 | ||
5531 | EOF | ||
5906 | 5532 | ||
5533 | fi | ||
5907 | 5534 | ||
5908 | # Check whether --with-rpath or --without-rpath was given. | 5535 | # Check whether --with-rpath or --without-rpath was given. |
5909 | if test "${with_rpath+set}" = set; then | 5536 | if test "${with_rpath+set}" = set; then |
@@ -5916,16 +5543,14 @@ if test "${with_rpath+set}" = set; then | |||
5916 | need_dash_r=1 | 5543 | need_dash_r=1 |
5917 | fi | 5544 | fi |
5918 | 5545 | ||
5919 | |||
5920 | fi; | 5546 | fi; |
5921 | 5547 | ||
5922 | |||
5923 | # Check whether --with-zlib or --without-zlib was given. | 5548 | # Check whether --with-zlib or --without-zlib was given. |
5924 | if test "${with_zlib+set}" = set; then | 5549 | if test "${with_zlib+set}" = set; then |
5925 | withval="$with_zlib" | 5550 | withval="$with_zlib" |
5926 | 5551 | ||
5927 | if test "x$withval" = "xno" ; then | 5552 | if test "x$withval" = "xno" ; then |
5928 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 | 5553 | { { echo "$as_me:5553: error: *** zlib is required ***" >&5 |
5929 | echo "$as_me: error: *** zlib is required ***" >&2;} | 5554 | echo "$as_me: error: *** zlib is required ***" >&2;} |
5930 | { (exit 1); exit 1; }; } | 5555 | { (exit 1); exit 1; }; } |
5931 | fi | 5556 | fi |
@@ -5948,11 +5573,9 @@ echo "$as_me: error: *** zlib is required ***" >&2;} | |||
5948 | CPPFLAGS="-I${withval} ${CPPFLAGS}" | 5573 | CPPFLAGS="-I${withval} ${CPPFLAGS}" |
5949 | fi | 5574 | fi |
5950 | 5575 | ||
5951 | |||
5952 | fi; | 5576 | fi; |
5953 | 5577 | ||
5954 | 5578 | echo "$as_me:5578: checking for deflate in -lz" >&5 | |
5955 | echo "$as_me:$LINENO: checking for deflate in -lz" >&5 | ||
5956 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 | 5579 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 |
5957 | if test "${ac_cv_lib_z_deflate+set}" = set; then | 5580 | if test "${ac_cv_lib_z_deflate+set}" = set; then |
5958 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5581 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -5960,12 +5583,8 @@ else | |||
5960 | ac_check_lib_save_LIBS=$LIBS | 5583 | ac_check_lib_save_LIBS=$LIBS |
5961 | LIBS="-lz $LIBS" | 5584 | LIBS="-lz $LIBS" |
5962 | cat >conftest.$ac_ext <<_ACEOF | 5585 | cat >conftest.$ac_ext <<_ACEOF |
5963 | #line $LINENO "configure" | 5586 | #line 5586 "configure" |
5964 | /* confdefs.h. */ | 5587 | #include "confdefs.h" |
5965 | _ACEOF | ||
5966 | cat confdefs.h >>conftest.$ac_ext | ||
5967 | cat >>conftest.$ac_ext <<_ACEOF | ||
5968 | /* end confdefs.h. */ | ||
5969 | 5588 | ||
5970 | /* Override any gcc2 internal prototype to avoid an error. */ | 5589 | /* Override any gcc2 internal prototype to avoid an error. */ |
5971 | #ifdef __cplusplus | 5590 | #ifdef __cplusplus |
@@ -5983,119 +5602,103 @@ deflate (); | |||
5983 | } | 5602 | } |
5984 | _ACEOF | 5603 | _ACEOF |
5985 | rm -f conftest.$ac_objext conftest$ac_exeext | 5604 | rm -f conftest.$ac_objext conftest$ac_exeext |
5986 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5605 | if { (eval echo "$as_me:5605: \"$ac_link\"") >&5 |
5987 | (eval $ac_link) 2>&5 | 5606 | (eval $ac_link) 2>&5 |
5988 | ac_status=$? | 5607 | ac_status=$? |
5989 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5608 | echo "$as_me:5608: \$? = $ac_status" >&5 |
5990 | (exit $ac_status); } && | 5609 | (exit $ac_status); } && |
5991 | { ac_try='test -s conftest$ac_exeext' | 5610 | { ac_try='test -s conftest$ac_exeext' |
5992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5611 | { (eval echo "$as_me:5611: \"$ac_try\"") >&5 |
5993 | (eval $ac_try) 2>&5 | 5612 | (eval $ac_try) 2>&5 |
5994 | ac_status=$? | 5613 | ac_status=$? |
5995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5614 | echo "$as_me:5614: \$? = $ac_status" >&5 |
5996 | (exit $ac_status); }; }; then | 5615 | (exit $ac_status); }; }; then |
5997 | ac_cv_lib_z_deflate=yes | 5616 | ac_cv_lib_z_deflate=yes |
5998 | else | 5617 | else |
5999 | echo "$as_me: failed program was:" >&5 | 5618 | echo "$as_me: failed program was:" >&5 |
6000 | sed 's/^/| /' conftest.$ac_ext >&5 | 5619 | cat conftest.$ac_ext >&5 |
6001 | |||
6002 | ac_cv_lib_z_deflate=no | 5620 | ac_cv_lib_z_deflate=no |
6003 | fi | 5621 | fi |
6004 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5622 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6005 | LIBS=$ac_check_lib_save_LIBS | 5623 | LIBS=$ac_check_lib_save_LIBS |
6006 | fi | 5624 | fi |
6007 | echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 | 5625 | echo "$as_me:5625: result: $ac_cv_lib_z_deflate" >&5 |
6008 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 | 5626 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 |
6009 | if test $ac_cv_lib_z_deflate = yes; then | 5627 | if test $ac_cv_lib_z_deflate = yes; then |
6010 | cat >>confdefs.h <<_ACEOF | 5628 | cat >>confdefs.h <<EOF |
6011 | #define HAVE_LIBZ 1 | 5629 | #define HAVE_LIBZ 1 |
6012 | _ACEOF | 5630 | EOF |
6013 | 5631 | ||
6014 | LIBS="-lz $LIBS" | 5632 | LIBS="-lz $LIBS" |
6015 | 5633 | ||
6016 | else | 5634 | else |
6017 | { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 | 5635 | { { echo "$as_me:5635: error: *** zlib missing - please install first or check config.log ***" >&5 |
6018 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | 5636 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} |
6019 | { (exit 1); exit 1; }; } | 5637 | { (exit 1); exit 1; }; } |
6020 | fi | 5638 | fi |
6021 | 5639 | ||
6022 | 5640 | echo "$as_me:5640: checking for strcasecmp" >&5 | |
6023 | echo "$as_me:$LINENO: checking for strcasecmp" >&5 | ||
6024 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 | 5641 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 |
6025 | if test "${ac_cv_func_strcasecmp+set}" = set; then | 5642 | if test "${ac_cv_func_strcasecmp+set}" = set; then |
6026 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5643 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6027 | else | 5644 | else |
6028 | cat >conftest.$ac_ext <<_ACEOF | 5645 | cat >conftest.$ac_ext <<_ACEOF |
6029 | #line $LINENO "configure" | 5646 | #line 5646 "configure" |
6030 | /* confdefs.h. */ | 5647 | #include "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, | 5648 | /* System header to define __stub macros and hopefully few prototypes, |
6036 | which can conflict with char strcasecmp (); below. | 5649 | which can conflict with char strcasecmp (); below. */ |
6037 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5650 | #include <assert.h> |
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. */ | 5651 | /* Override any gcc2 internal prototype to avoid an error. */ |
6045 | #ifdef __cplusplus | 5652 | #ifdef __cplusplus |
6046 | extern "C" | 5653 | extern "C" |
6047 | { | ||
6048 | #endif | 5654 | #endif |
6049 | /* We use char because int might match the return type of a gcc2 | 5655 | /* We use char because int might match the return type of a gcc2 |
6050 | builtin and then its argument prototype would still apply. */ | 5656 | builtin and then its argument prototype would still apply. */ |
6051 | char strcasecmp (); | 5657 | char strcasecmp (); |
5658 | char (*f) (); | ||
5659 | |||
5660 | int | ||
5661 | main () | ||
5662 | { | ||
6052 | /* The GNU C library defines this for functions which it implements | 5663 | /* The GNU C library defines this for functions which it implements |
6053 | to always fail with ENOSYS. Some functions are actually named | 5664 | to always fail with ENOSYS. Some functions are actually named |
6054 | something starting with __ and the normal name is an alias. */ | 5665 | something starting with __ and the normal name is an alias. */ |
6055 | #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) | 5666 | #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) |
6056 | choke me | 5667 | choke me |
6057 | #else | 5668 | #else |
6058 | char (*f) () = strcasecmp; | 5669 | f = strcasecmp; |
6059 | #endif | ||
6060 | #ifdef __cplusplus | ||
6061 | } | ||
6062 | #endif | 5670 | #endif |
6063 | 5671 | ||
6064 | int | ||
6065 | main () | ||
6066 | { | ||
6067 | return f != strcasecmp; | ||
6068 | ; | 5672 | ; |
6069 | return 0; | 5673 | return 0; |
6070 | } | 5674 | } |
6071 | _ACEOF | 5675 | _ACEOF |
6072 | rm -f conftest.$ac_objext conftest$ac_exeext | 5676 | rm -f conftest.$ac_objext conftest$ac_exeext |
6073 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5677 | if { (eval echo "$as_me:5677: \"$ac_link\"") >&5 |
6074 | (eval $ac_link) 2>&5 | 5678 | (eval $ac_link) 2>&5 |
6075 | ac_status=$? | 5679 | ac_status=$? |
6076 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5680 | echo "$as_me:5680: \$? = $ac_status" >&5 |
6077 | (exit $ac_status); } && | 5681 | (exit $ac_status); } && |
6078 | { ac_try='test -s conftest$ac_exeext' | 5682 | { ac_try='test -s conftest$ac_exeext' |
6079 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5683 | { (eval echo "$as_me:5683: \"$ac_try\"") >&5 |
6080 | (eval $ac_try) 2>&5 | 5684 | (eval $ac_try) 2>&5 |
6081 | ac_status=$? | 5685 | ac_status=$? |
6082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5686 | echo "$as_me:5686: \$? = $ac_status" >&5 |
6083 | (exit $ac_status); }; }; then | 5687 | (exit $ac_status); }; }; then |
6084 | ac_cv_func_strcasecmp=yes | 5688 | ac_cv_func_strcasecmp=yes |
6085 | else | 5689 | else |
6086 | echo "$as_me: failed program was:" >&5 | 5690 | echo "$as_me: failed program was:" >&5 |
6087 | sed 's/^/| /' conftest.$ac_ext >&5 | 5691 | cat conftest.$ac_ext >&5 |
6088 | |||
6089 | ac_cv_func_strcasecmp=no | 5692 | ac_cv_func_strcasecmp=no |
6090 | fi | 5693 | fi |
6091 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5694 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6092 | fi | 5695 | fi |
6093 | echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | 5696 | echo "$as_me:5696: result: $ac_cv_func_strcasecmp" >&5 |
6094 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 | 5697 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 |
6095 | if test $ac_cv_func_strcasecmp = yes; then | 5698 | if test $ac_cv_func_strcasecmp = yes; then |
6096 | : | 5699 | : |
6097 | else | 5700 | else |
6098 | echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 | 5701 | echo "$as_me:5701: checking for strcasecmp in -lresolv" >&5 |
6099 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 | 5702 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 |
6100 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | 5703 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then |
6101 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5704 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6103,12 +5706,8 @@ else | |||
6103 | ac_check_lib_save_LIBS=$LIBS | 5706 | ac_check_lib_save_LIBS=$LIBS |
6104 | LIBS="-lresolv $LIBS" | 5707 | LIBS="-lresolv $LIBS" |
6105 | cat >conftest.$ac_ext <<_ACEOF | 5708 | cat >conftest.$ac_ext <<_ACEOF |
6106 | #line $LINENO "configure" | 5709 | #line 5709 "configure" |
6107 | /* confdefs.h. */ | 5710 | #include "confdefs.h" |
6108 | _ACEOF | ||
6109 | cat confdefs.h >>conftest.$ac_ext | ||
6110 | cat >>conftest.$ac_ext <<_ACEOF | ||
6111 | /* end confdefs.h. */ | ||
6112 | 5711 | ||
6113 | /* Override any gcc2 internal prototype to avoid an error. */ | 5712 | /* Override any gcc2 internal prototype to avoid an error. */ |
6114 | #ifdef __cplusplus | 5713 | #ifdef __cplusplus |
@@ -6126,112 +5725,96 @@ strcasecmp (); | |||
6126 | } | 5725 | } |
6127 | _ACEOF | 5726 | _ACEOF |
6128 | rm -f conftest.$ac_objext conftest$ac_exeext | 5727 | rm -f conftest.$ac_objext conftest$ac_exeext |
6129 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5728 | if { (eval echo "$as_me:5728: \"$ac_link\"") >&5 |
6130 | (eval $ac_link) 2>&5 | 5729 | (eval $ac_link) 2>&5 |
6131 | ac_status=$? | 5730 | ac_status=$? |
6132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5731 | echo "$as_me:5731: \$? = $ac_status" >&5 |
6133 | (exit $ac_status); } && | 5732 | (exit $ac_status); } && |
6134 | { ac_try='test -s conftest$ac_exeext' | 5733 | { ac_try='test -s conftest$ac_exeext' |
6135 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5734 | { (eval echo "$as_me:5734: \"$ac_try\"") >&5 |
6136 | (eval $ac_try) 2>&5 | 5735 | (eval $ac_try) 2>&5 |
6137 | ac_status=$? | 5736 | ac_status=$? |
6138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5737 | echo "$as_me:5737: \$? = $ac_status" >&5 |
6139 | (exit $ac_status); }; }; then | 5738 | (exit $ac_status); }; }; then |
6140 | ac_cv_lib_resolv_strcasecmp=yes | 5739 | ac_cv_lib_resolv_strcasecmp=yes |
6141 | else | 5740 | else |
6142 | echo "$as_me: failed program was:" >&5 | 5741 | echo "$as_me: failed program was:" >&5 |
6143 | sed 's/^/| /' conftest.$ac_ext >&5 | 5742 | cat conftest.$ac_ext >&5 |
6144 | |||
6145 | ac_cv_lib_resolv_strcasecmp=no | 5743 | ac_cv_lib_resolv_strcasecmp=no |
6146 | fi | 5744 | fi |
6147 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5745 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6148 | LIBS=$ac_check_lib_save_LIBS | 5746 | LIBS=$ac_check_lib_save_LIBS |
6149 | fi | 5747 | fi |
6150 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 | 5748 | echo "$as_me:5748: result: $ac_cv_lib_resolv_strcasecmp" >&5 |
6151 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 | 5749 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 |
6152 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | 5750 | if test $ac_cv_lib_resolv_strcasecmp = yes; then |
6153 | LIBS="$LIBS -lresolv" | 5751 | LIBS="$LIBS -lresolv" |
6154 | fi | 5752 | fi |
6155 | 5753 | ||
6156 | |||
6157 | fi | 5754 | fi |
6158 | 5755 | ||
6159 | echo "$as_me:$LINENO: checking for utimes" >&5 | 5756 | echo "$as_me:5756: checking for utimes" >&5 |
6160 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 | 5757 | echo $ECHO_N "checking for utimes... $ECHO_C" >&6 |
6161 | if test "${ac_cv_func_utimes+set}" = set; then | 5758 | if test "${ac_cv_func_utimes+set}" = set; then |
6162 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5759 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6163 | else | 5760 | else |
6164 | cat >conftest.$ac_ext <<_ACEOF | 5761 | cat >conftest.$ac_ext <<_ACEOF |
6165 | #line $LINENO "configure" | 5762 | #line 5762 "configure" |
6166 | /* confdefs.h. */ | 5763 | #include "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, | 5764 | /* System header to define __stub macros and hopefully few prototypes, |
6172 | which can conflict with char utimes (); below. | 5765 | which can conflict with char utimes (); below. */ |
6173 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5766 | #include <assert.h> |
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. */ | 5767 | /* Override any gcc2 internal prototype to avoid an error. */ |
6181 | #ifdef __cplusplus | 5768 | #ifdef __cplusplus |
6182 | extern "C" | 5769 | extern "C" |
6183 | { | ||
6184 | #endif | 5770 | #endif |
6185 | /* We use char because int might match the return type of a gcc2 | 5771 | /* We use char because int might match the return type of a gcc2 |
6186 | builtin and then its argument prototype would still apply. */ | 5772 | builtin and then its argument prototype would still apply. */ |
6187 | char utimes (); | 5773 | char utimes (); |
5774 | char (*f) (); | ||
5775 | |||
5776 | int | ||
5777 | main () | ||
5778 | { | ||
6188 | /* The GNU C library defines this for functions which it implements | 5779 | /* The GNU C library defines this for functions which it implements |
6189 | to always fail with ENOSYS. Some functions are actually named | 5780 | to always fail with ENOSYS. Some functions are actually named |
6190 | something starting with __ and the normal name is an alias. */ | 5781 | something starting with __ and the normal name is an alias. */ |
6191 | #if defined (__stub_utimes) || defined (__stub___utimes) | 5782 | #if defined (__stub_utimes) || defined (__stub___utimes) |
6192 | choke me | 5783 | choke me |
6193 | #else | 5784 | #else |
6194 | char (*f) () = utimes; | 5785 | f = utimes; |
6195 | #endif | ||
6196 | #ifdef __cplusplus | ||
6197 | } | ||
6198 | #endif | 5786 | #endif |
6199 | 5787 | ||
6200 | int | ||
6201 | main () | ||
6202 | { | ||
6203 | return f != utimes; | ||
6204 | ; | 5788 | ; |
6205 | return 0; | 5789 | return 0; |
6206 | } | 5790 | } |
6207 | _ACEOF | 5791 | _ACEOF |
6208 | rm -f conftest.$ac_objext conftest$ac_exeext | 5792 | rm -f conftest.$ac_objext conftest$ac_exeext |
6209 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5793 | if { (eval echo "$as_me:5793: \"$ac_link\"") >&5 |
6210 | (eval $ac_link) 2>&5 | 5794 | (eval $ac_link) 2>&5 |
6211 | ac_status=$? | 5795 | ac_status=$? |
6212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5796 | echo "$as_me:5796: \$? = $ac_status" >&5 |
6213 | (exit $ac_status); } && | 5797 | (exit $ac_status); } && |
6214 | { ac_try='test -s conftest$ac_exeext' | 5798 | { ac_try='test -s conftest$ac_exeext' |
6215 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5799 | { (eval echo "$as_me:5799: \"$ac_try\"") >&5 |
6216 | (eval $ac_try) 2>&5 | 5800 | (eval $ac_try) 2>&5 |
6217 | ac_status=$? | 5801 | ac_status=$? |
6218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5802 | echo "$as_me:5802: \$? = $ac_status" >&5 |
6219 | (exit $ac_status); }; }; then | 5803 | (exit $ac_status); }; }; then |
6220 | ac_cv_func_utimes=yes | 5804 | ac_cv_func_utimes=yes |
6221 | else | 5805 | else |
6222 | echo "$as_me: failed program was:" >&5 | 5806 | echo "$as_me: failed program was:" >&5 |
6223 | sed 's/^/| /' conftest.$ac_ext >&5 | 5807 | cat conftest.$ac_ext >&5 |
6224 | |||
6225 | ac_cv_func_utimes=no | 5808 | ac_cv_func_utimes=no |
6226 | fi | 5809 | fi |
6227 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5810 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6228 | fi | 5811 | fi |
6229 | echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5 | 5812 | echo "$as_me:5812: result: $ac_cv_func_utimes" >&5 |
6230 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 | 5813 | echo "${ECHO_T}$ac_cv_func_utimes" >&6 |
6231 | if test $ac_cv_func_utimes = yes; then | 5814 | if test $ac_cv_func_utimes = yes; then |
6232 | : | 5815 | : |
6233 | else | 5816 | else |
6234 | echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | 5817 | echo "$as_me:5817: checking for utimes in -lc89" >&5 |
6235 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 | 5818 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 |
6236 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | 5819 | if test "${ac_cv_lib_c89_utimes+set}" = set; then |
6237 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5820 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6239,12 +5822,8 @@ else | |||
6239 | ac_check_lib_save_LIBS=$LIBS | 5822 | ac_check_lib_save_LIBS=$LIBS |
6240 | LIBS="-lc89 $LIBS" | 5823 | LIBS="-lc89 $LIBS" |
6241 | cat >conftest.$ac_ext <<_ACEOF | 5824 | cat >conftest.$ac_ext <<_ACEOF |
6242 | #line $LINENO "configure" | 5825 | #line 5825 "configure" |
6243 | /* confdefs.h. */ | 5826 | #include "confdefs.h" |
6244 | _ACEOF | ||
6245 | cat confdefs.h >>conftest.$ac_ext | ||
6246 | cat >>conftest.$ac_ext <<_ACEOF | ||
6247 | /* end confdefs.h. */ | ||
6248 | 5827 | ||
6249 | /* Override any gcc2 internal prototype to avoid an error. */ | 5828 | /* Override any gcc2 internal prototype to avoid an error. */ |
6250 | #ifdef __cplusplus | 5829 | #ifdef __cplusplus |
@@ -6262,109 +5841,58 @@ utimes (); | |||
6262 | } | 5841 | } |
6263 | _ACEOF | 5842 | _ACEOF |
6264 | rm -f conftest.$ac_objext conftest$ac_exeext | 5843 | rm -f conftest.$ac_objext conftest$ac_exeext |
6265 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5844 | if { (eval echo "$as_me:5844: \"$ac_link\"") >&5 |
6266 | (eval $ac_link) 2>&5 | 5845 | (eval $ac_link) 2>&5 |
6267 | ac_status=$? | 5846 | ac_status=$? |
6268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5847 | echo "$as_me:5847: \$? = $ac_status" >&5 |
6269 | (exit $ac_status); } && | 5848 | (exit $ac_status); } && |
6270 | { ac_try='test -s conftest$ac_exeext' | 5849 | { ac_try='test -s conftest$ac_exeext' |
6271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5850 | { (eval echo "$as_me:5850: \"$ac_try\"") >&5 |
6272 | (eval $ac_try) 2>&5 | 5851 | (eval $ac_try) 2>&5 |
6273 | ac_status=$? | 5852 | ac_status=$? |
6274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5853 | echo "$as_me:5853: \$? = $ac_status" >&5 |
6275 | (exit $ac_status); }; }; then | 5854 | (exit $ac_status); }; }; then |
6276 | ac_cv_lib_c89_utimes=yes | 5855 | ac_cv_lib_c89_utimes=yes |
6277 | else | 5856 | else |
6278 | echo "$as_me: failed program was:" >&5 | 5857 | echo "$as_me: failed program was:" >&5 |
6279 | sed 's/^/| /' conftest.$ac_ext >&5 | 5858 | cat conftest.$ac_ext >&5 |
6280 | |||
6281 | ac_cv_lib_c89_utimes=no | 5859 | ac_cv_lib_c89_utimes=no |
6282 | fi | 5860 | fi |
6283 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5861 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6284 | LIBS=$ac_check_lib_save_LIBS | 5862 | LIBS=$ac_check_lib_save_LIBS |
6285 | fi | 5863 | fi |
6286 | echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 | 5864 | echo "$as_me:5864: result: $ac_cv_lib_c89_utimes" >&5 |
6287 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 | 5865 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 |
6288 | if test $ac_cv_lib_c89_utimes = yes; then | 5866 | if test $ac_cv_lib_c89_utimes = yes; then |
6289 | cat >>confdefs.h <<\_ACEOF | 5867 | cat >>confdefs.h <<\EOF |
6290 | #define HAVE_UTIMES 1 | 5868 | #define HAVE_UTIMES 1 |
6291 | _ACEOF | 5869 | EOF |
6292 | 5870 | ||
6293 | LIBS="$LIBS -lc89" | 5871 | LIBS="$LIBS -lc89" |
6294 | fi | 5872 | fi |
6295 | 5873 | ||
6296 | |||
6297 | fi | 5874 | fi |
6298 | 5875 | ||
6299 | |||
6300 | |||
6301 | for ac_header in libutil.h | 5876 | for ac_header in libutil.h |
6302 | do | 5877 | do |
6303 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5878 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6304 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5879 | echo "$as_me:5879: checking for $ac_header" >&5 |
6305 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
6306 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 5880 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
6307 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 5881 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
6308 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5882 | 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 | 5883 | else |
6340 | echo "$as_me: failed program was:" >&5 | 5884 | cat >conftest.$ac_ext <<_ACEOF |
6341 | sed 's/^/| /' conftest.$ac_ext >&5 | 5885 | #line 5885 "configure" |
6342 | 5886 | #include "confdefs.h" | |
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> | 5887 | #include <$ac_header> |
6360 | _ACEOF | 5888 | _ACEOF |
6361 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 5889 | if { (eval echo "$as_me:5889: \"$ac_cpp conftest.$ac_ext\"") >&5 |
6362 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 5890 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
6363 | ac_status=$? | 5891 | ac_status=$? |
6364 | grep -v '^ *+' conftest.er1 >conftest.err | 5892 | egrep -v '^ *\+' conftest.er1 >conftest.err |
6365 | rm -f conftest.er1 | 5893 | rm -f conftest.er1 |
6366 | cat conftest.err >&5 | 5894 | cat conftest.err >&5 |
6367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5895 | echo "$as_me:5895: \$? = $ac_status" >&5 |
6368 | (exit $ac_status); } >/dev/null; then | 5896 | (exit $ac_status); } >/dev/null; then |
6369 | if test -s conftest.err; then | 5897 | if test -s conftest.err; then |
6370 | ac_cpp_err=$ac_c_preproc_warn_flag | 5898 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -6375,71 +5903,25 @@ else | |||
6375 | ac_cpp_err=yes | 5903 | ac_cpp_err=yes |
6376 | fi | 5904 | fi |
6377 | if test -z "$ac_cpp_err"; then | 5905 | if test -z "$ac_cpp_err"; then |
6378 | ac_header_preproc=yes | 5906 | eval "$as_ac_Header=yes" |
6379 | else | 5907 | else |
6380 | echo "$as_me: failed program was:" >&5 | 5908 | echo "$as_me: failed program was:" >&5 |
6381 | sed 's/^/| /' conftest.$ac_ext >&5 | 5909 | cat conftest.$ac_ext >&5 |
6382 | 5910 | eval "$as_ac_Header=no" | |
6383 | ac_header_preproc=no | ||
6384 | fi | 5911 | fi |
6385 | rm -f conftest.err conftest.$ac_ext | 5912 | 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 | 5913 | fi |
6429 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 5914 | echo "$as_me:5914: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
6430 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 5915 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
6431 | |||
6432 | fi | ||
6433 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 5916 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6434 | cat >>confdefs.h <<_ACEOF | 5917 | cat >>confdefs.h <<EOF |
6435 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5918 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6436 | _ACEOF | 5919 | EOF |
6437 | 5920 | ||
6438 | fi | 5921 | fi |
6439 | |||
6440 | done | 5922 | done |
6441 | 5923 | ||
6442 | echo "$as_me:$LINENO: checking for library containing login" >&5 | 5924 | echo "$as_me:5924: checking for library containing login" >&5 |
6443 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 | 5925 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 |
6444 | if test "${ac_cv_search_login+set}" = set; then | 5926 | if test "${ac_cv_search_login+set}" = set; then |
6445 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6447,12 +5929,8 @@ else | |||
6447 | ac_func_search_save_LIBS=$LIBS | 5929 | ac_func_search_save_LIBS=$LIBS |
6448 | ac_cv_search_login=no | 5930 | ac_cv_search_login=no |
6449 | cat >conftest.$ac_ext <<_ACEOF | 5931 | cat >conftest.$ac_ext <<_ACEOF |
6450 | #line $LINENO "configure" | 5932 | #line 5932 "configure" |
6451 | /* confdefs.h. */ | 5933 | #include "confdefs.h" |
6452 | _ACEOF | ||
6453 | cat confdefs.h >>conftest.$ac_ext | ||
6454 | cat >>conftest.$ac_ext <<_ACEOF | ||
6455 | /* end confdefs.h. */ | ||
6456 | 5934 | ||
6457 | /* Override any gcc2 internal prototype to avoid an error. */ | 5935 | /* Override any gcc2 internal prototype to avoid an error. */ |
6458 | #ifdef __cplusplus | 5936 | #ifdef __cplusplus |
@@ -6470,34 +5948,29 @@ login (); | |||
6470 | } | 5948 | } |
6471 | _ACEOF | 5949 | _ACEOF |
6472 | rm -f conftest.$ac_objext conftest$ac_exeext | 5950 | rm -f conftest.$ac_objext conftest$ac_exeext |
6473 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5951 | if { (eval echo "$as_me:5951: \"$ac_link\"") >&5 |
6474 | (eval $ac_link) 2>&5 | 5952 | (eval $ac_link) 2>&5 |
6475 | ac_status=$? | 5953 | ac_status=$? |
6476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5954 | echo "$as_me:5954: \$? = $ac_status" >&5 |
6477 | (exit $ac_status); } && | 5955 | (exit $ac_status); } && |
6478 | { ac_try='test -s conftest$ac_exeext' | 5956 | { ac_try='test -s conftest$ac_exeext' |
6479 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5957 | { (eval echo "$as_me:5957: \"$ac_try\"") >&5 |
6480 | (eval $ac_try) 2>&5 | 5958 | (eval $ac_try) 2>&5 |
6481 | ac_status=$? | 5959 | ac_status=$? |
6482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5960 | echo "$as_me:5960: \$? = $ac_status" >&5 |
6483 | (exit $ac_status); }; }; then | 5961 | (exit $ac_status); }; }; then |
6484 | ac_cv_search_login="none required" | 5962 | ac_cv_search_login="none required" |
6485 | else | 5963 | else |
6486 | echo "$as_me: failed program was:" >&5 | 5964 | echo "$as_me: failed program was:" >&5 |
6487 | sed 's/^/| /' conftest.$ac_ext >&5 | 5965 | cat conftest.$ac_ext >&5 |
6488 | |||
6489 | fi | 5966 | fi |
6490 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5967 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6491 | if test "$ac_cv_search_login" = no; then | 5968 | if test "$ac_cv_search_login" = no; then |
6492 | for ac_lib in util bsd; do | 5969 | for ac_lib in util bsd; do |
6493 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 5970 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
6494 | cat >conftest.$ac_ext <<_ACEOF | 5971 | cat >conftest.$ac_ext <<_ACEOF |
6495 | #line $LINENO "configure" | 5972 | #line 5972 "configure" |
6496 | /* confdefs.h. */ | 5973 | #include "confdefs.h" |
6497 | _ACEOF | ||
6498 | cat confdefs.h >>conftest.$ac_ext | ||
6499 | cat >>conftest.$ac_ext <<_ACEOF | ||
6500 | /* end confdefs.h. */ | ||
6501 | 5974 | ||
6502 | /* Override any gcc2 internal prototype to avoid an error. */ | 5975 | /* Override any gcc2 internal prototype to avoid an error. */ |
6503 | #ifdef __cplusplus | 5976 | #ifdef __cplusplus |
@@ -6515,210 +5988,176 @@ login (); | |||
6515 | } | 5988 | } |
6516 | _ACEOF | 5989 | _ACEOF |
6517 | rm -f conftest.$ac_objext conftest$ac_exeext | 5990 | rm -f conftest.$ac_objext conftest$ac_exeext |
6518 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5991 | if { (eval echo "$as_me:5991: \"$ac_link\"") >&5 |
6519 | (eval $ac_link) 2>&5 | 5992 | (eval $ac_link) 2>&5 |
6520 | ac_status=$? | 5993 | ac_status=$? |
6521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5994 | echo "$as_me:5994: \$? = $ac_status" >&5 |
6522 | (exit $ac_status); } && | 5995 | (exit $ac_status); } && |
6523 | { ac_try='test -s conftest$ac_exeext' | 5996 | { ac_try='test -s conftest$ac_exeext' |
6524 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5997 | { (eval echo "$as_me:5997: \"$ac_try\"") >&5 |
6525 | (eval $ac_try) 2>&5 | 5998 | (eval $ac_try) 2>&5 |
6526 | ac_status=$? | 5999 | ac_status=$? |
6527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6000 | echo "$as_me:6000: \$? = $ac_status" >&5 |
6528 | (exit $ac_status); }; }; then | 6001 | (exit $ac_status); }; }; then |
6529 | ac_cv_search_login="-l$ac_lib" | 6002 | ac_cv_search_login="-l$ac_lib" |
6530 | break | 6003 | break |
6531 | else | 6004 | else |
6532 | echo "$as_me: failed program was:" >&5 | 6005 | echo "$as_me: failed program was:" >&5 |
6533 | sed 's/^/| /' conftest.$ac_ext >&5 | 6006 | cat conftest.$ac_ext >&5 |
6534 | |||
6535 | fi | 6007 | fi |
6536 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6008 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6537 | done | 6009 | done |
6538 | fi | 6010 | fi |
6539 | LIBS=$ac_func_search_save_LIBS | 6011 | LIBS=$ac_func_search_save_LIBS |
6540 | fi | 6012 | fi |
6541 | echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | 6013 | echo "$as_me:6013: result: $ac_cv_search_login" >&5 |
6542 | echo "${ECHO_T}$ac_cv_search_login" >&6 | 6014 | echo "${ECHO_T}$ac_cv_search_login" >&6 |
6543 | if test "$ac_cv_search_login" != no; then | 6015 | if test "$ac_cv_search_login" != no; then |
6544 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" | 6016 | test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" |
6545 | cat >>confdefs.h <<\_ACEOF | 6017 | cat >>confdefs.h <<\EOF |
6546 | #define HAVE_LOGIN 1 | 6018 | #define HAVE_LOGIN 1 |
6547 | _ACEOF | 6019 | EOF |
6548 | 6020 | ||
6549 | fi | 6021 | fi |
6550 | 6022 | ||
6551 | |||
6552 | |||
6553 | |||
6554 | for ac_func in logout updwtmp logwtmp | 6023 | for ac_func in logout updwtmp logwtmp |
6555 | do | 6024 | do |
6556 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6025 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6557 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6026 | echo "$as_me:6026: checking for $ac_func" >&5 |
6558 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6027 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6559 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6028 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
6560 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6029 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6561 | else | 6030 | else |
6562 | cat >conftest.$ac_ext <<_ACEOF | 6031 | cat >conftest.$ac_ext <<_ACEOF |
6563 | #line $LINENO "configure" | 6032 | #line 6032 "configure" |
6564 | /* confdefs.h. */ | 6033 | #include "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, | 6034 | /* System header to define __stub macros and hopefully few prototypes, |
6570 | which can conflict with char $ac_func (); below. | 6035 | which can conflict with char $ac_func (); below. */ |
6571 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 6036 | #include <assert.h> |
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. */ | 6037 | /* Override any gcc2 internal prototype to avoid an error. */ |
6579 | #ifdef __cplusplus | 6038 | #ifdef __cplusplus |
6580 | extern "C" | 6039 | extern "C" |
6581 | { | ||
6582 | #endif | 6040 | #endif |
6583 | /* We use char because int might match the return type of a gcc2 | 6041 | /* We use char because int might match the return type of a gcc2 |
6584 | builtin and then its argument prototype would still apply. */ | 6042 | builtin and then its argument prototype would still apply. */ |
6585 | char $ac_func (); | 6043 | char $ac_func (); |
6044 | char (*f) (); | ||
6045 | |||
6046 | int | ||
6047 | main () | ||
6048 | { | ||
6586 | /* The GNU C library defines this for functions which it implements | 6049 | /* The GNU C library defines this for functions which it implements |
6587 | to always fail with ENOSYS. Some functions are actually named | 6050 | to always fail with ENOSYS. Some functions are actually named |
6588 | something starting with __ and the normal name is an alias. */ | 6051 | something starting with __ and the normal name is an alias. */ |
6589 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 6052 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6590 | choke me | 6053 | choke me |
6591 | #else | 6054 | #else |
6592 | char (*f) () = $ac_func; | 6055 | f = $ac_func; |
6593 | #endif | ||
6594 | #ifdef __cplusplus | ||
6595 | } | ||
6596 | #endif | 6056 | #endif |
6597 | 6057 | ||
6598 | int | ||
6599 | main () | ||
6600 | { | ||
6601 | return f != $ac_func; | ||
6602 | ; | 6058 | ; |
6603 | return 0; | 6059 | return 0; |
6604 | } | 6060 | } |
6605 | _ACEOF | 6061 | _ACEOF |
6606 | rm -f conftest.$ac_objext conftest$ac_exeext | 6062 | rm -f conftest.$ac_objext conftest$ac_exeext |
6607 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6063 | if { (eval echo "$as_me:6063: \"$ac_link\"") >&5 |
6608 | (eval $ac_link) 2>&5 | 6064 | (eval $ac_link) 2>&5 |
6609 | ac_status=$? | 6065 | ac_status=$? |
6610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6066 | echo "$as_me:6066: \$? = $ac_status" >&5 |
6611 | (exit $ac_status); } && | 6067 | (exit $ac_status); } && |
6612 | { ac_try='test -s conftest$ac_exeext' | 6068 | { ac_try='test -s conftest$ac_exeext' |
6613 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6069 | { (eval echo "$as_me:6069: \"$ac_try\"") >&5 |
6614 | (eval $ac_try) 2>&5 | 6070 | (eval $ac_try) 2>&5 |
6615 | ac_status=$? | 6071 | ac_status=$? |
6616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6072 | echo "$as_me:6072: \$? = $ac_status" >&5 |
6617 | (exit $ac_status); }; }; then | 6073 | (exit $ac_status); }; }; then |
6618 | eval "$as_ac_var=yes" | 6074 | eval "$as_ac_var=yes" |
6619 | else | 6075 | else |
6620 | echo "$as_me: failed program was:" >&5 | 6076 | echo "$as_me: failed program was:" >&5 |
6621 | sed 's/^/| /' conftest.$ac_ext >&5 | 6077 | cat conftest.$ac_ext >&5 |
6622 | |||
6623 | eval "$as_ac_var=no" | 6078 | eval "$as_ac_var=no" |
6624 | fi | 6079 | fi |
6625 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6080 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6626 | fi | 6081 | fi |
6627 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6082 | echo "$as_me:6082: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6628 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6083 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6629 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6084 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
6630 | cat >>confdefs.h <<_ACEOF | 6085 | cat >>confdefs.h <<EOF |
6631 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6086 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6632 | _ACEOF | 6087 | EOF |
6633 | 6088 | ||
6634 | fi | 6089 | fi |
6635 | done | 6090 | done |
6636 | 6091 | ||
6637 | |||
6638 | |||
6639 | for ac_func in strftime | 6092 | for ac_func in strftime |
6640 | do | 6093 | do |
6641 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6094 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
6642 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6095 | echo "$as_me:6095: checking for $ac_func" >&5 |
6643 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6096 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
6644 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6097 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
6645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6098 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6646 | else | 6099 | else |
6647 | cat >conftest.$ac_ext <<_ACEOF | 6100 | cat >conftest.$ac_ext <<_ACEOF |
6648 | #line $LINENO "configure" | 6101 | #line 6101 "configure" |
6649 | /* confdefs.h. */ | 6102 | #include "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, | 6103 | /* System header to define __stub macros and hopefully few prototypes, |
6655 | which can conflict with char $ac_func (); below. | 6104 | which can conflict with char $ac_func (); below. */ |
6656 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 6105 | #include <assert.h> |
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. */ | 6106 | /* Override any gcc2 internal prototype to avoid an error. */ |
6664 | #ifdef __cplusplus | 6107 | #ifdef __cplusplus |
6665 | extern "C" | 6108 | extern "C" |
6666 | { | ||
6667 | #endif | 6109 | #endif |
6668 | /* We use char because int might match the return type of a gcc2 | 6110 | /* We use char because int might match the return type of a gcc2 |
6669 | builtin and then its argument prototype would still apply. */ | 6111 | builtin and then its argument prototype would still apply. */ |
6670 | char $ac_func (); | 6112 | char $ac_func (); |
6113 | char (*f) (); | ||
6114 | |||
6115 | int | ||
6116 | main () | ||
6117 | { | ||
6671 | /* The GNU C library defines this for functions which it implements | 6118 | /* The GNU C library defines this for functions which it implements |
6672 | to always fail with ENOSYS. Some functions are actually named | 6119 | to always fail with ENOSYS. Some functions are actually named |
6673 | something starting with __ and the normal name is an alias. */ | 6120 | something starting with __ and the normal name is an alias. */ |
6674 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 6121 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
6675 | choke me | 6122 | choke me |
6676 | #else | 6123 | #else |
6677 | char (*f) () = $ac_func; | 6124 | f = $ac_func; |
6678 | #endif | ||
6679 | #ifdef __cplusplus | ||
6680 | } | ||
6681 | #endif | 6125 | #endif |
6682 | 6126 | ||
6683 | int | ||
6684 | main () | ||
6685 | { | ||
6686 | return f != $ac_func; | ||
6687 | ; | 6127 | ; |
6688 | return 0; | 6128 | return 0; |
6689 | } | 6129 | } |
6690 | _ACEOF | 6130 | _ACEOF |
6691 | rm -f conftest.$ac_objext conftest$ac_exeext | 6131 | rm -f conftest.$ac_objext conftest$ac_exeext |
6692 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6132 | if { (eval echo "$as_me:6132: \"$ac_link\"") >&5 |
6693 | (eval $ac_link) 2>&5 | 6133 | (eval $ac_link) 2>&5 |
6694 | ac_status=$? | 6134 | ac_status=$? |
6695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6135 | echo "$as_me:6135: \$? = $ac_status" >&5 |
6696 | (exit $ac_status); } && | 6136 | (exit $ac_status); } && |
6697 | { ac_try='test -s conftest$ac_exeext' | 6137 | { ac_try='test -s conftest$ac_exeext' |
6698 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6138 | { (eval echo "$as_me:6138: \"$ac_try\"") >&5 |
6699 | (eval $ac_try) 2>&5 | 6139 | (eval $ac_try) 2>&5 |
6700 | ac_status=$? | 6140 | ac_status=$? |
6701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6141 | echo "$as_me:6141: \$? = $ac_status" >&5 |
6702 | (exit $ac_status); }; }; then | 6142 | (exit $ac_status); }; }; then |
6703 | eval "$as_ac_var=yes" | 6143 | eval "$as_ac_var=yes" |
6704 | else | 6144 | else |
6705 | echo "$as_me: failed program was:" >&5 | 6145 | echo "$as_me: failed program was:" >&5 |
6706 | sed 's/^/| /' conftest.$ac_ext >&5 | 6146 | cat conftest.$ac_ext >&5 |
6707 | |||
6708 | eval "$as_ac_var=no" | 6147 | eval "$as_ac_var=no" |
6709 | fi | 6148 | fi |
6710 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6149 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6711 | fi | 6150 | fi |
6712 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6151 | echo "$as_me:6151: result: `eval echo '${'$as_ac_var'}'`" >&5 |
6713 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6152 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
6714 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6153 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
6715 | cat >>confdefs.h <<_ACEOF | 6154 | cat >>confdefs.h <<EOF |
6716 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6155 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6717 | _ACEOF | 6156 | EOF |
6718 | 6157 | ||
6719 | else | 6158 | else |
6720 | # strftime is in -lintl on SCO UNIX. | 6159 | # strftime is in -lintl on SCO UNIX. |
6721 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 6160 | echo "$as_me:6160: checking for strftime in -lintl" >&5 |
6722 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | 6161 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
6723 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 6162 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
6724 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -6726,12 +6165,8 @@ else | |||
6726 | ac_check_lib_save_LIBS=$LIBS | 6165 | ac_check_lib_save_LIBS=$LIBS |
6727 | LIBS="-lintl $LIBS" | 6166 | LIBS="-lintl $LIBS" |
6728 | cat >conftest.$ac_ext <<_ACEOF | 6167 | cat >conftest.$ac_ext <<_ACEOF |
6729 | #line $LINENO "configure" | 6168 | #line 6168 "configure" |
6730 | /* confdefs.h. */ | 6169 | #include "confdefs.h" |
6731 | _ACEOF | ||
6732 | cat confdefs.h >>conftest.$ac_ext | ||
6733 | cat >>conftest.$ac_ext <<_ACEOF | ||
6734 | /* end confdefs.h. */ | ||
6735 | 6170 | ||
6736 | /* Override any gcc2 internal prototype to avoid an error. */ | 6171 | /* Override any gcc2 internal prototype to avoid an error. */ |
6737 | #ifdef __cplusplus | 6172 | #ifdef __cplusplus |
@@ -6749,33 +6184,32 @@ strftime (); | |||
6749 | } | 6184 | } |
6750 | _ACEOF | 6185 | _ACEOF |
6751 | rm -f conftest.$ac_objext conftest$ac_exeext | 6186 | rm -f conftest.$ac_objext conftest$ac_exeext |
6752 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6187 | if { (eval echo "$as_me:6187: \"$ac_link\"") >&5 |
6753 | (eval $ac_link) 2>&5 | 6188 | (eval $ac_link) 2>&5 |
6754 | ac_status=$? | 6189 | ac_status=$? |
6755 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6190 | echo "$as_me:6190: \$? = $ac_status" >&5 |
6756 | (exit $ac_status); } && | 6191 | (exit $ac_status); } && |
6757 | { ac_try='test -s conftest$ac_exeext' | 6192 | { ac_try='test -s conftest$ac_exeext' |
6758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6193 | { (eval echo "$as_me:6193: \"$ac_try\"") >&5 |
6759 | (eval $ac_try) 2>&5 | 6194 | (eval $ac_try) 2>&5 |
6760 | ac_status=$? | 6195 | ac_status=$? |
6761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6196 | echo "$as_me:6196: \$? = $ac_status" >&5 |
6762 | (exit $ac_status); }; }; then | 6197 | (exit $ac_status); }; }; then |
6763 | ac_cv_lib_intl_strftime=yes | 6198 | ac_cv_lib_intl_strftime=yes |
6764 | else | 6199 | else |
6765 | echo "$as_me: failed program was:" >&5 | 6200 | echo "$as_me: failed program was:" >&5 |
6766 | sed 's/^/| /' conftest.$ac_ext >&5 | 6201 | cat conftest.$ac_ext >&5 |
6767 | |||
6768 | ac_cv_lib_intl_strftime=no | 6202 | ac_cv_lib_intl_strftime=no |
6769 | fi | 6203 | fi |
6770 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6204 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
6771 | LIBS=$ac_check_lib_save_LIBS | 6205 | LIBS=$ac_check_lib_save_LIBS |
6772 | fi | 6206 | fi |
6773 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 6207 | echo "$as_me:6207: result: $ac_cv_lib_intl_strftime" >&5 |
6774 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | 6208 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
6775 | if test $ac_cv_lib_intl_strftime = yes; then | 6209 | if test $ac_cv_lib_intl_strftime = yes; then |
6776 | cat >>confdefs.h <<\_ACEOF | 6210 | cat >>confdefs.h <<\EOF |
6777 | #define HAVE_STRFTIME 1 | 6211 | #define HAVE_STRFTIME 1 |
6778 | _ACEOF | 6212 | EOF |
6779 | 6213 | ||
6780 | LIBS="-lintl $LIBS" | 6214 | LIBS="-lintl $LIBS" |
6781 | fi | 6215 | fi |
@@ -6783,17 +6217,12 @@ fi | |||
6783 | fi | 6217 | fi |
6784 | done | 6218 | done |
6785 | 6219 | ||
6786 | |||
6787 | # Check for ALTDIRFUNC glob() extension | 6220 | # Check for ALTDIRFUNC glob() extension |
6788 | echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 | 6221 | echo "$as_me:6221: checking for GLOB_ALTDIRFUNC support" >&5 |
6789 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 | 6222 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 |
6790 | cat >conftest.$ac_ext <<_ACEOF | 6223 | cat >conftest.$ac_ext <<_ACEOF |
6791 | #line $LINENO "configure" | 6224 | #line 6224 "configure" |
6792 | /* confdefs.h. */ | 6225 | #include "confdefs.h" |
6793 | _ACEOF | ||
6794 | cat confdefs.h >>conftest.$ac_ext | ||
6795 | cat >>conftest.$ac_ext <<_ACEOF | ||
6796 | /* end confdefs.h. */ | ||
6797 | 6226 | ||
6798 | #include <glob.h> | 6227 | #include <glob.h> |
6799 | #ifdef GLOB_ALTDIRFUNC | 6228 | #ifdef GLOB_ALTDIRFUNC |
@@ -6802,76 +6231,62 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
6802 | 6231 | ||
6803 | _ACEOF | 6232 | _ACEOF |
6804 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6233 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6805 | $EGREP "FOUNDIT" >/dev/null 2>&1; then | 6234 | egrep "FOUNDIT" >/dev/null 2>&1; then |
6806 | 6235 | ||
6807 | cat >>confdefs.h <<\_ACEOF | 6236 | cat >>confdefs.h <<\EOF |
6808 | #define GLOB_HAS_ALTDIRFUNC 1 | 6237 | #define GLOB_HAS_ALTDIRFUNC 1 |
6809 | _ACEOF | 6238 | EOF |
6810 | 6239 | ||
6811 | echo "$as_me:$LINENO: result: yes" >&5 | 6240 | echo "$as_me:6240: result: yes" >&5 |
6812 | echo "${ECHO_T}yes" >&6 | 6241 | echo "${ECHO_T}yes" >&6 |
6813 | 6242 | ||
6814 | else | 6243 | else |
6815 | 6244 | ||
6816 | echo "$as_me:$LINENO: result: no" >&5 | 6245 | echo "$as_me:6245: result: no" >&5 |
6817 | echo "${ECHO_T}no" >&6 | 6246 | echo "${ECHO_T}no" >&6 |
6818 | 6247 | ||
6819 | |||
6820 | fi | 6248 | fi |
6821 | rm -f conftest* | 6249 | rm -f conftest* |
6822 | 6250 | ||
6823 | |||
6824 | # Check for g.gl_matchc glob() extension | 6251 | # Check for g.gl_matchc glob() extension |
6825 | echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 | 6252 | echo "$as_me:6252: checking for gl_matchc field in glob_t" >&5 |
6826 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 | 6253 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 |
6827 | cat >conftest.$ac_ext <<_ACEOF | 6254 | cat >conftest.$ac_ext <<_ACEOF |
6828 | #line $LINENO "configure" | 6255 | #line 6255 "configure" |
6829 | /* confdefs.h. */ | 6256 | #include "confdefs.h" |
6830 | _ACEOF | ||
6831 | cat confdefs.h >>conftest.$ac_ext | ||
6832 | cat >>conftest.$ac_ext <<_ACEOF | ||
6833 | /* end confdefs.h. */ | ||
6834 | 6257 | ||
6835 | #include <glob.h> | 6258 | #include <glob.h> |
6836 | int main(void){glob_t g; g.gl_matchc = 1;} | 6259 | int main(void){glob_t g; g.gl_matchc = 1;} |
6837 | 6260 | ||
6838 | _ACEOF | 6261 | _ACEOF |
6839 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6262 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6840 | $EGREP "FOUNDIT" >/dev/null 2>&1; then | 6263 | egrep "FOUNDIT" >/dev/null 2>&1; then |
6841 | 6264 | ||
6842 | cat >>confdefs.h <<\_ACEOF | 6265 | cat >>confdefs.h <<\EOF |
6843 | #define GLOB_HAS_GL_MATCHC 1 | 6266 | #define GLOB_HAS_GL_MATCHC 1 |
6844 | _ACEOF | 6267 | EOF |
6845 | 6268 | ||
6846 | echo "$as_me:$LINENO: result: yes" >&5 | 6269 | echo "$as_me:6269: result: yes" >&5 |
6847 | echo "${ECHO_T}yes" >&6 | 6270 | echo "${ECHO_T}yes" >&6 |
6848 | 6271 | ||
6849 | else | 6272 | else |
6850 | 6273 | ||
6851 | echo "$as_me:$LINENO: result: no" >&5 | 6274 | echo "$as_me:6274: result: no" >&5 |
6852 | echo "${ECHO_T}no" >&6 | 6275 | echo "${ECHO_T}no" >&6 |
6853 | 6276 | ||
6854 | |||
6855 | fi | 6277 | fi |
6856 | rm -f conftest* | 6278 | rm -f conftest* |
6857 | 6279 | ||
6858 | 6280 | echo "$as_me:6280: checking whether struct dirent allocates space for d_name" >&5 | |
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 | 6281 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 |
6861 | if test "$cross_compiling" = yes; then | 6282 | if test "$cross_compiling" = yes; then |
6862 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 6283 | { { echo "$as_me:6283: error: cannot run test program while cross compiling" >&5 |
6863 | See \`config.log' for more details." >&5 | 6284 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 6285 | { (exit 1); exit 1; }; } |
6867 | else | 6286 | else |
6868 | cat >conftest.$ac_ext <<_ACEOF | 6287 | cat >conftest.$ac_ext <<_ACEOF |
6869 | #line $LINENO "configure" | 6288 | #line 6288 "configure" |
6870 | /* confdefs.h. */ | 6289 | #include "confdefs.h" |
6871 | _ACEOF | ||
6872 | cat confdefs.h >>conftest.$ac_ext | ||
6873 | cat >>conftest.$ac_ext <<_ACEOF | ||
6874 | /* end confdefs.h. */ | ||
6875 | 6290 | ||
6876 | #include <sys/types.h> | 6291 | #include <sys/types.h> |
6877 | #include <dirent.h> | 6292 | #include <dirent.h> |
@@ -6879,35 +6294,31 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));} | |||
6879 | 6294 | ||
6880 | _ACEOF | 6295 | _ACEOF |
6881 | rm -f conftest$ac_exeext | 6296 | rm -f conftest$ac_exeext |
6882 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6297 | if { (eval echo "$as_me:6297: \"$ac_link\"") >&5 |
6883 | (eval $ac_link) 2>&5 | 6298 | (eval $ac_link) 2>&5 |
6884 | ac_status=$? | 6299 | ac_status=$? |
6885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6300 | echo "$as_me:6300: \$? = $ac_status" >&5 |
6886 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6301 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6887 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6302 | { (eval echo "$as_me:6302: \"$ac_try\"") >&5 |
6888 | (eval $ac_try) 2>&5 | 6303 | (eval $ac_try) 2>&5 |
6889 | ac_status=$? | 6304 | ac_status=$? |
6890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6305 | echo "$as_me:6305: \$? = $ac_status" >&5 |
6891 | (exit $ac_status); }; }; then | 6306 | (exit $ac_status); }; }; then |
6892 | echo "$as_me:$LINENO: result: yes" >&5 | 6307 | echo "$as_me:6307: result: yes" >&5 |
6893 | echo "${ECHO_T}yes" >&6 | 6308 | echo "${ECHO_T}yes" >&6 |
6894 | else | 6309 | else |
6895 | echo "$as_me: program exited with status $ac_status" >&5 | 6310 | echo "$as_me: program exited with status $ac_status" >&5 |
6896 | echo "$as_me: failed program was:" >&5 | 6311 | echo "$as_me: failed program was:" >&5 |
6897 | sed 's/^/| /' conftest.$ac_ext >&5 | 6312 | cat conftest.$ac_ext >&5 |
6898 | 6313 | ||
6899 | ( exit $ac_status ) | 6314 | echo "$as_me:6314: result: no" >&5 |
6900 | |||
6901 | echo "$as_me:$LINENO: result: no" >&5 | ||
6902 | echo "${ECHO_T}no" >&6 | 6315 | echo "${ECHO_T}no" >&6 |
6903 | cat >>confdefs.h <<\_ACEOF | 6316 | cat >>confdefs.h <<\EOF |
6904 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | 6317 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 |
6905 | _ACEOF | 6318 | EOF |
6906 | |||
6907 | |||
6908 | 6319 | ||
6909 | fi | 6320 | fi |
6910 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6321 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6911 | fi | 6322 | fi |
6912 | 6323 | ||
6913 | # Check whether user wants S/Key support | 6324 | # Check whether user wants S/Key support |
@@ -6924,29 +6335,23 @@ if test "${with_skey+set}" = set; then | |||
6924 | LDFLAGS="$LDFLAGS -L${withval}/lib" | 6335 | LDFLAGS="$LDFLAGS -L${withval}/lib" |
6925 | fi | 6336 | fi |
6926 | 6337 | ||
6927 | cat >>confdefs.h <<\_ACEOF | 6338 | cat >>confdefs.h <<\EOF |
6928 | #define SKEY 1 | 6339 | #define SKEY 1 |
6929 | _ACEOF | 6340 | EOF |
6930 | 6341 | ||
6931 | LIBS="-lskey $LIBS" | 6342 | LIBS="-lskey $LIBS" |
6932 | SKEY_MSG="yes" | 6343 | SKEY_MSG="yes" |
6933 | 6344 | ||
6934 | echo "$as_me:$LINENO: checking for s/key support" >&5 | 6345 | echo "$as_me:6345: checking for s/key support" >&5 |
6935 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 | 6346 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 |
6936 | if test "$cross_compiling" = yes; then | 6347 | if test "$cross_compiling" = yes; then |
6937 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 6348 | { { echo "$as_me:6348: error: cannot run test program while cross compiling" >&5 |
6938 | See \`config.log' for more details." >&5 | 6349 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 6350 | { (exit 1); exit 1; }; } |
6942 | else | 6351 | else |
6943 | cat >conftest.$ac_ext <<_ACEOF | 6352 | cat >conftest.$ac_ext <<_ACEOF |
6944 | #line $LINENO "configure" | 6353 | #line 6353 "configure" |
6945 | /* confdefs.h. */ | 6354 | #include "confdefs.h" |
6946 | _ACEOF | ||
6947 | cat confdefs.h >>conftest.$ac_ext | ||
6948 | cat >>conftest.$ac_ext <<_ACEOF | ||
6949 | /* end confdefs.h. */ | ||
6950 | 6355 | ||
6951 | #include <stdio.h> | 6356 | #include <stdio.h> |
6952 | #include <skey.h> | 6357 | #include <skey.h> |
@@ -6954,37 +6359,34 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); } | |||
6954 | 6359 | ||
6955 | _ACEOF | 6360 | _ACEOF |
6956 | rm -f conftest$ac_exeext | 6361 | rm -f conftest$ac_exeext |
6957 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6362 | if { (eval echo "$as_me:6362: \"$ac_link\"") >&5 |
6958 | (eval $ac_link) 2>&5 | 6363 | (eval $ac_link) 2>&5 |
6959 | ac_status=$? | 6364 | ac_status=$? |
6960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6365 | echo "$as_me:6365: \$? = $ac_status" >&5 |
6961 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6366 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6367 | { (eval echo "$as_me:6367: \"$ac_try\"") >&5 |
6963 | (eval $ac_try) 2>&5 | 6368 | (eval $ac_try) 2>&5 |
6964 | ac_status=$? | 6369 | ac_status=$? |
6965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6370 | echo "$as_me:6370: \$? = $ac_status" >&5 |
6966 | (exit $ac_status); }; }; then | 6371 | (exit $ac_status); }; }; then |
6967 | echo "$as_me:$LINENO: result: yes" >&5 | 6372 | echo "$as_me:6372: result: yes" >&5 |
6968 | echo "${ECHO_T}yes" >&6 | 6373 | echo "${ECHO_T}yes" >&6 |
6969 | else | 6374 | else |
6970 | echo "$as_me: program exited with status $ac_status" >&5 | 6375 | echo "$as_me: program exited with status $ac_status" >&5 |
6971 | echo "$as_me: failed program was:" >&5 | 6376 | echo "$as_me: failed program was:" >&5 |
6972 | sed 's/^/| /' conftest.$ac_ext >&5 | 6377 | cat conftest.$ac_ext >&5 |
6973 | 6378 | ||
6974 | ( exit $ac_status ) | 6379 | echo "$as_me:6379: result: no" >&5 |
6975 | |||
6976 | echo "$as_me:$LINENO: result: no" >&5 | ||
6977 | echo "${ECHO_T}no" >&6 | 6380 | echo "${ECHO_T}no" >&6 |
6978 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 | 6381 | { { echo "$as_me:6381: error: ** Incomplete or missing s/key libraries." >&5 |
6979 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | 6382 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} |
6980 | { (exit 1); exit 1; }; } | 6383 | { (exit 1); exit 1; }; } |
6981 | 6384 | ||
6982 | fi | 6385 | fi |
6983 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6386 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6984 | fi | 6387 | fi |
6985 | fi | 6388 | fi |
6986 | 6389 | ||
6987 | |||
6988 | fi; | 6390 | fi; |
6989 | 6391 | ||
6990 | # Check whether user wants TCP wrappers support | 6392 | # Check whether user wants TCP wrappers support |
@@ -7020,15 +6422,11 @@ if test "${with_tcp_wrappers+set}" = set; then | |||
7020 | fi | 6422 | fi |
7021 | LIBWRAP="-lwrap" | 6423 | LIBWRAP="-lwrap" |
7022 | LIBS="$LIBWRAP $LIBS" | 6424 | LIBS="$LIBWRAP $LIBS" |
7023 | echo "$as_me:$LINENO: checking for libwrap" >&5 | 6425 | echo "$as_me:6425: checking for libwrap" >&5 |
7024 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 | 6426 | echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 |
7025 | cat >conftest.$ac_ext <<_ACEOF | 6427 | cat >conftest.$ac_ext <<_ACEOF |
7026 | #line $LINENO "configure" | 6428 | #line 6428 "configure" |
7027 | /* confdefs.h. */ | 6429 | #include "confdefs.h" |
7028 | _ACEOF | ||
7029 | cat confdefs.h >>conftest.$ac_ext | ||
7030 | cat >>conftest.$ac_ext <<_ACEOF | ||
7031 | /* end confdefs.h. */ | ||
7032 | 6430 | ||
7033 | #include <tcpd.h> | 6431 | #include <tcpd.h> |
7034 | int deny_severity = 0, allow_severity = 0; | 6432 | int deny_severity = 0, allow_severity = 0; |
@@ -7042,215 +6440,124 @@ hosts_access(0); | |||
7042 | } | 6440 | } |
7043 | _ACEOF | 6441 | _ACEOF |
7044 | rm -f conftest.$ac_objext conftest$ac_exeext | 6442 | rm -f conftest.$ac_objext conftest$ac_exeext |
7045 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6443 | if { (eval echo "$as_me:6443: \"$ac_link\"") >&5 |
7046 | (eval $ac_link) 2>&5 | 6444 | (eval $ac_link) 2>&5 |
7047 | ac_status=$? | 6445 | ac_status=$? |
7048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6446 | echo "$as_me:6446: \$? = $ac_status" >&5 |
7049 | (exit $ac_status); } && | 6447 | (exit $ac_status); } && |
7050 | { ac_try='test -s conftest$ac_exeext' | 6448 | { ac_try='test -s conftest$ac_exeext' |
7051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6449 | { (eval echo "$as_me:6449: \"$ac_try\"") >&5 |
7052 | (eval $ac_try) 2>&5 | 6450 | (eval $ac_try) 2>&5 |
7053 | ac_status=$? | 6451 | ac_status=$? |
7054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6452 | echo "$as_me:6452: \$? = $ac_status" >&5 |
7055 | (exit $ac_status); }; }; then | 6453 | (exit $ac_status); }; }; then |
7056 | 6454 | ||
7057 | echo "$as_me:$LINENO: result: yes" >&5 | 6455 | echo "$as_me:6455: result: yes" >&5 |
7058 | echo "${ECHO_T}yes" >&6 | 6456 | echo "${ECHO_T}yes" >&6 |
7059 | cat >>confdefs.h <<\_ACEOF | 6457 | cat >>confdefs.h <<\EOF |
7060 | #define LIBWRAP 1 | 6458 | #define LIBWRAP 1 |
7061 | _ACEOF | 6459 | EOF |
7062 | |||
7063 | 6460 | ||
7064 | TCPW_MSG="yes" | 6461 | TCPW_MSG="yes" |
7065 | 6462 | ||
7066 | else | 6463 | else |
7067 | echo "$as_me: failed program was:" >&5 | 6464 | echo "$as_me: failed program was:" >&5 |
7068 | sed 's/^/| /' conftest.$ac_ext >&5 | 6465 | cat conftest.$ac_ext >&5 |
7069 | |||
7070 | 6466 | ||
7071 | { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5 | 6467 | { { echo "$as_me:6467: error: *** libwrap missing" >&5 |
7072 | echo "$as_me: error: *** libwrap missing" >&2;} | 6468 | echo "$as_me: error: *** libwrap missing" >&2;} |
7073 | { (exit 1); exit 1; }; } | 6469 | { (exit 1); exit 1; }; } |
7074 | 6470 | ||
7075 | |||
7076 | fi | 6471 | fi |
7077 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6472 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7078 | LIBS="$saved_LIBS" | 6473 | LIBS="$saved_LIBS" |
7079 | fi | 6474 | fi |
7080 | 6475 | ||
7081 | |||
7082 | fi; | 6476 | fi; |
7083 | 6477 | ||
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 \ | 6478 | for ac_func in \ |
7158 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename bcopy \ | 6479 | arc4random __b64_ntop b64_ntop __b64_pton b64_pton basename \ |
7159 | bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ | 6480 | bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ |
7160 | gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ | 6481 | gai_strerror getaddrinfo getcwd getgrouplist getnameinfo getopt \ |
7161 | getpeereid _getpty getrlimit getrusage getttyent glob inet_aton \ | 6482 | getpeereid _getpty getrlimit getttyent glob inet_aton \ |
7162 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ | 6483 | inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ |
7163 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openpty pstat \ | 6484 | mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ |
7164 | readpassphrase realpath recvmsg rresvport_af sendmsg setdtablesize \ | 6485 | pstat readpassphrase realpath recvmsg rresvport_af sendmsg \ |
7165 | setegid setenv seteuid setgroups setlogin setpcred setproctitle \ | 6486 | setdtablesize setegid setenv seteuid setgroups setlogin setpcred \ |
7166 | setresgid setreuid setrlimit setsid setvbuf sigaction sigvec \ | 6487 | setproctitle setregid setresgid setresuid setreuid setrlimit \ |
7167 | snprintf socketpair strerror strlcat strlcpy strmode strnvis \ | 6488 | setsid setvbuf sigaction sigvec snprintf socketpair strerror \ |
7168 | sysconf tcgetpgrp truncate utimes vhangup vsnprintf waitpid \ | 6489 | strlcat strlcpy strmode strnvis sysconf tcgetpgrp \ |
6490 | truncate utimes vhangup vsnprintf waitpid \ | ||
7169 | 6491 | ||
7170 | do | 6492 | do |
7171 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6493 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7172 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6494 | echo "$as_me:6494: checking for $ac_func" >&5 |
7173 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6495 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7174 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6496 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7175 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6497 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7176 | else | 6498 | else |
7177 | cat >conftest.$ac_ext <<_ACEOF | 6499 | cat >conftest.$ac_ext <<_ACEOF |
7178 | #line $LINENO "configure" | 6500 | #line 6500 "configure" |
7179 | /* confdefs.h. */ | 6501 | #include "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, | 6502 | /* System header to define __stub macros and hopefully few prototypes, |
7185 | which can conflict with char $ac_func (); below. | 6503 | which can conflict with char $ac_func (); below. */ |
7186 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 6504 | #include <assert.h> |
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. */ | 6505 | /* Override any gcc2 internal prototype to avoid an error. */ |
7194 | #ifdef __cplusplus | 6506 | #ifdef __cplusplus |
7195 | extern "C" | 6507 | extern "C" |
7196 | { | ||
7197 | #endif | 6508 | #endif |
7198 | /* We use char because int might match the return type of a gcc2 | 6509 | /* We use char because int might match the return type of a gcc2 |
7199 | builtin and then its argument prototype would still apply. */ | 6510 | builtin and then its argument prototype would still apply. */ |
7200 | char $ac_func (); | 6511 | char $ac_func (); |
6512 | char (*f) (); | ||
6513 | |||
6514 | int | ||
6515 | main () | ||
6516 | { | ||
7201 | /* The GNU C library defines this for functions which it implements | 6517 | /* The GNU C library defines this for functions which it implements |
7202 | to always fail with ENOSYS. Some functions are actually named | 6518 | to always fail with ENOSYS. Some functions are actually named |
7203 | something starting with __ and the normal name is an alias. */ | 6519 | something starting with __ and the normal name is an alias. */ |
7204 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 6520 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7205 | choke me | 6521 | choke me |
7206 | #else | 6522 | #else |
7207 | char (*f) () = $ac_func; | 6523 | f = $ac_func; |
7208 | #endif | ||
7209 | #ifdef __cplusplus | ||
7210 | } | ||
7211 | #endif | 6524 | #endif |
7212 | 6525 | ||
7213 | int | ||
7214 | main () | ||
7215 | { | ||
7216 | return f != $ac_func; | ||
7217 | ; | 6526 | ; |
7218 | return 0; | 6527 | return 0; |
7219 | } | 6528 | } |
7220 | _ACEOF | 6529 | _ACEOF |
7221 | rm -f conftest.$ac_objext conftest$ac_exeext | 6530 | rm -f conftest.$ac_objext conftest$ac_exeext |
7222 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6531 | if { (eval echo "$as_me:6531: \"$ac_link\"") >&5 |
7223 | (eval $ac_link) 2>&5 | 6532 | (eval $ac_link) 2>&5 |
7224 | ac_status=$? | 6533 | ac_status=$? |
7225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6534 | echo "$as_me:6534: \$? = $ac_status" >&5 |
7226 | (exit $ac_status); } && | 6535 | (exit $ac_status); } && |
7227 | { ac_try='test -s conftest$ac_exeext' | 6536 | { ac_try='test -s conftest$ac_exeext' |
7228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6537 | { (eval echo "$as_me:6537: \"$ac_try\"") >&5 |
7229 | (eval $ac_try) 2>&5 | 6538 | (eval $ac_try) 2>&5 |
7230 | ac_status=$? | 6539 | ac_status=$? |
7231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6540 | echo "$as_me:6540: \$? = $ac_status" >&5 |
7232 | (exit $ac_status); }; }; then | 6541 | (exit $ac_status); }; }; then |
7233 | eval "$as_ac_var=yes" | 6542 | eval "$as_ac_var=yes" |
7234 | else | 6543 | else |
7235 | echo "$as_me: failed program was:" >&5 | 6544 | echo "$as_me: failed program was:" >&5 |
7236 | sed 's/^/| /' conftest.$ac_ext >&5 | 6545 | cat conftest.$ac_ext >&5 |
7237 | |||
7238 | eval "$as_ac_var=no" | 6546 | eval "$as_ac_var=no" |
7239 | fi | 6547 | fi |
7240 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6548 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7241 | fi | 6549 | fi |
7242 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6550 | echo "$as_me:6550: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7243 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6551 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7244 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6552 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7245 | cat >>confdefs.h <<_ACEOF | 6553 | cat >>confdefs.h <<EOF |
7246 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6554 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7247 | _ACEOF | 6555 | EOF |
7248 | 6556 | ||
7249 | fi | 6557 | fi |
7250 | done | 6558 | done |
7251 | 6559 | ||
7252 | 6560 | echo "$as_me:6560: checking for library containing nanosleep" >&5 | |
7253 | echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 | ||
7254 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 | 6561 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 |
7255 | if test "${ac_cv_search_nanosleep+set}" = set; then | 6562 | if test "${ac_cv_search_nanosleep+set}" = set; then |
7256 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6563 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -7258,12 +6565,8 @@ else | |||
7258 | ac_func_search_save_LIBS=$LIBS | 6565 | ac_func_search_save_LIBS=$LIBS |
7259 | ac_cv_search_nanosleep=no | 6566 | ac_cv_search_nanosleep=no |
7260 | cat >conftest.$ac_ext <<_ACEOF | 6567 | cat >conftest.$ac_ext <<_ACEOF |
7261 | #line $LINENO "configure" | 6568 | #line 6568 "configure" |
7262 | /* confdefs.h. */ | 6569 | #include "confdefs.h" |
7263 | _ACEOF | ||
7264 | cat confdefs.h >>conftest.$ac_ext | ||
7265 | cat >>conftest.$ac_ext <<_ACEOF | ||
7266 | /* end confdefs.h. */ | ||
7267 | 6570 | ||
7268 | /* Override any gcc2 internal prototype to avoid an error. */ | 6571 | /* Override any gcc2 internal prototype to avoid an error. */ |
7269 | #ifdef __cplusplus | 6572 | #ifdef __cplusplus |
@@ -7281,34 +6584,29 @@ nanosleep (); | |||
7281 | } | 6584 | } |
7282 | _ACEOF | 6585 | _ACEOF |
7283 | rm -f conftest.$ac_objext conftest$ac_exeext | 6586 | rm -f conftest.$ac_objext conftest$ac_exeext |
7284 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6587 | if { (eval echo "$as_me:6587: \"$ac_link\"") >&5 |
7285 | (eval $ac_link) 2>&5 | 6588 | (eval $ac_link) 2>&5 |
7286 | ac_status=$? | 6589 | ac_status=$? |
7287 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6590 | echo "$as_me:6590: \$? = $ac_status" >&5 |
7288 | (exit $ac_status); } && | 6591 | (exit $ac_status); } && |
7289 | { ac_try='test -s conftest$ac_exeext' | 6592 | { ac_try='test -s conftest$ac_exeext' |
7290 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6593 | { (eval echo "$as_me:6593: \"$ac_try\"") >&5 |
7291 | (eval $ac_try) 2>&5 | 6594 | (eval $ac_try) 2>&5 |
7292 | ac_status=$? | 6595 | ac_status=$? |
7293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6596 | echo "$as_me:6596: \$? = $ac_status" >&5 |
7294 | (exit $ac_status); }; }; then | 6597 | (exit $ac_status); }; }; then |
7295 | ac_cv_search_nanosleep="none required" | 6598 | ac_cv_search_nanosleep="none required" |
7296 | else | 6599 | else |
7297 | echo "$as_me: failed program was:" >&5 | 6600 | echo "$as_me: failed program was:" >&5 |
7298 | sed 's/^/| /' conftest.$ac_ext >&5 | 6601 | cat conftest.$ac_ext >&5 |
7299 | |||
7300 | fi | 6602 | fi |
7301 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6603 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7302 | if test "$ac_cv_search_nanosleep" = no; then | 6604 | if test "$ac_cv_search_nanosleep" = no; then |
7303 | for ac_lib in rt posix4; do | 6605 | for ac_lib in rt posix4; do |
7304 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 6606 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
7305 | cat >conftest.$ac_ext <<_ACEOF | 6607 | cat >conftest.$ac_ext <<_ACEOF |
7306 | #line $LINENO "configure" | 6608 | #line 6608 "configure" |
7307 | /* confdefs.h. */ | 6609 | #include "confdefs.h" |
7308 | _ACEOF | ||
7309 | cat confdefs.h >>conftest.$ac_ext | ||
7310 | cat >>conftest.$ac_ext <<_ACEOF | ||
7311 | /* end confdefs.h. */ | ||
7312 | 6610 | ||
7313 | /* Override any gcc2 internal prototype to avoid an error. */ | 6611 | /* Override any gcc2 internal prototype to avoid an error. */ |
7314 | #ifdef __cplusplus | 6612 | #ifdef __cplusplus |
@@ -7326,161 +6624,231 @@ nanosleep (); | |||
7326 | } | 6624 | } |
7327 | _ACEOF | 6625 | _ACEOF |
7328 | rm -f conftest.$ac_objext conftest$ac_exeext | 6626 | rm -f conftest.$ac_objext conftest$ac_exeext |
7329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6627 | if { (eval echo "$as_me:6627: \"$ac_link\"") >&5 |
7330 | (eval $ac_link) 2>&5 | 6628 | (eval $ac_link) 2>&5 |
7331 | ac_status=$? | 6629 | ac_status=$? |
7332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6630 | echo "$as_me:6630: \$? = $ac_status" >&5 |
7333 | (exit $ac_status); } && | 6631 | (exit $ac_status); } && |
7334 | { ac_try='test -s conftest$ac_exeext' | 6632 | { ac_try='test -s conftest$ac_exeext' |
7335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6633 | { (eval echo "$as_me:6633: \"$ac_try\"") >&5 |
7336 | (eval $ac_try) 2>&5 | 6634 | (eval $ac_try) 2>&5 |
7337 | ac_status=$? | 6635 | ac_status=$? |
7338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6636 | echo "$as_me:6636: \$? = $ac_status" >&5 |
7339 | (exit $ac_status); }; }; then | 6637 | (exit $ac_status); }; }; then |
7340 | ac_cv_search_nanosleep="-l$ac_lib" | 6638 | ac_cv_search_nanosleep="-l$ac_lib" |
7341 | break | 6639 | break |
7342 | else | 6640 | else |
7343 | echo "$as_me: failed program was:" >&5 | 6641 | echo "$as_me: failed program was:" >&5 |
7344 | sed 's/^/| /' conftest.$ac_ext >&5 | 6642 | cat conftest.$ac_ext >&5 |
7345 | |||
7346 | fi | 6643 | fi |
7347 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6644 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7348 | done | 6645 | done |
7349 | fi | 6646 | fi |
7350 | LIBS=$ac_func_search_save_LIBS | 6647 | LIBS=$ac_func_search_save_LIBS |
7351 | fi | 6648 | fi |
7352 | echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | 6649 | echo "$as_me:6649: result: $ac_cv_search_nanosleep" >&5 |
7353 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 | 6650 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 |
7354 | if test "$ac_cv_search_nanosleep" != no; then | 6651 | if test "$ac_cv_search_nanosleep" != no; then |
7355 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" | 6652 | test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" |
7356 | cat >>confdefs.h <<\_ACEOF | 6653 | cat >>confdefs.h <<\EOF |
7357 | #define HAVE_NANOSLEEP 1 | 6654 | #define HAVE_NANOSLEEP 1 |
7358 | _ACEOF | 6655 | EOF |
7359 | 6656 | ||
7360 | fi | 6657 | fi |
7361 | 6658 | ||
7362 | echo "$as_me:$LINENO: checking for library containing basename" >&5 | 6659 | echo "$as_me:6659: checking for ANSI C header files" >&5 |
7363 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 | 6660 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
7364 | if test "${ac_cv_search_basename+set}" = set; then | 6661 | if test "${ac_cv_header_stdc+set}" = set; then |
7365 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6662 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7366 | else | 6663 | else |
7367 | ac_func_search_save_LIBS=$LIBS | 6664 | cat >conftest.$ac_ext <<_ACEOF |
7368 | ac_cv_search_basename=no | 6665 | #line 6665 "configure" |
7369 | cat >conftest.$ac_ext <<_ACEOF | 6666 | #include "confdefs.h" |
7370 | #line $LINENO "configure" | 6667 | #include <stdlib.h> |
7371 | /* confdefs.h. */ | 6668 | #include <stdarg.h> |
6669 | #include <string.h> | ||
6670 | #include <float.h> | ||
6671 | |||
7372 | _ACEOF | 6672 | _ACEOF |
7373 | cat confdefs.h >>conftest.$ac_ext | 6673 | if { (eval echo "$as_me:6673: \"$ac_cpp conftest.$ac_ext\"") >&5 |
7374 | cat >>conftest.$ac_ext <<_ACEOF | 6674 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
7375 | /* end confdefs.h. */ | 6675 | ac_status=$? |
6676 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
6677 | rm -f conftest.er1 | ||
6678 | cat conftest.err >&5 | ||
6679 | echo "$as_me:6679: \$? = $ac_status" >&5 | ||
6680 | (exit $ac_status); } >/dev/null; then | ||
6681 | if test -s conftest.err; then | ||
6682 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
6683 | else | ||
6684 | ac_cpp_err= | ||
6685 | fi | ||
6686 | else | ||
6687 | ac_cpp_err=yes | ||
6688 | fi | ||
6689 | if test -z "$ac_cpp_err"; then | ||
6690 | ac_cv_header_stdc=yes | ||
6691 | else | ||
6692 | echo "$as_me: failed program was:" >&5 | ||
6693 | cat conftest.$ac_ext >&5 | ||
6694 | ac_cv_header_stdc=no | ||
6695 | fi | ||
6696 | rm -f conftest.err conftest.$ac_ext | ||
7376 | 6697 | ||
7377 | /* Override any gcc2 internal prototype to avoid an error. */ | 6698 | if test $ac_cv_header_stdc = yes; then |
7378 | #ifdef __cplusplus | 6699 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
7379 | extern "C" | 6700 | cat >conftest.$ac_ext <<_ACEOF |
6701 | #line 6701 "configure" | ||
6702 | #include "confdefs.h" | ||
6703 | #include <string.h> | ||
6704 | |||
6705 | _ACEOF | ||
6706 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6707 | egrep "memchr" >/dev/null 2>&1; then | ||
6708 | : | ||
6709 | else | ||
6710 | ac_cv_header_stdc=no | ||
6711 | fi | ||
6712 | rm -f conftest* | ||
6713 | |||
6714 | fi | ||
6715 | |||
6716 | if test $ac_cv_header_stdc = yes; then | ||
6717 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | ||
6718 | cat >conftest.$ac_ext <<_ACEOF | ||
6719 | #line 6719 "configure" | ||
6720 | #include "confdefs.h" | ||
6721 | #include <stdlib.h> | ||
6722 | |||
6723 | _ACEOF | ||
6724 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | ||
6725 | egrep "free" >/dev/null 2>&1; then | ||
6726 | : | ||
6727 | else | ||
6728 | ac_cv_header_stdc=no | ||
6729 | fi | ||
6730 | rm -f conftest* | ||
6731 | |||
6732 | fi | ||
6733 | |||
6734 | if test $ac_cv_header_stdc = yes; then | ||
6735 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | ||
6736 | if test "$cross_compiling" = yes; then | ||
6737 | : | ||
6738 | else | ||
6739 | cat >conftest.$ac_ext <<_ACEOF | ||
6740 | #line 6740 "configure" | ||
6741 | #include "confdefs.h" | ||
6742 | #include <ctype.h> | ||
6743 | #if ((' ' & 0x0FF) == 0x020) | ||
6744 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | ||
6745 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | ||
6746 | #else | ||
6747 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | ||
6748 | || ('j' <= (c) && (c) <= 'r') \ | ||
6749 | || ('s' <= (c) && (c) <= 'z')) | ||
6750 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | ||
7380 | #endif | 6751 | #endif |
7381 | /* We use char because int might match the return type of a gcc2 | 6752 | |
7382 | builtin and then its argument prototype would still apply. */ | 6753 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
7383 | char basename (); | ||
7384 | int | 6754 | int |
7385 | main () | 6755 | main () |
7386 | { | 6756 | { |
7387 | basename (); | 6757 | int i; |
7388 | ; | 6758 | for (i = 0; i < 256; i++) |
7389 | return 0; | 6759 | if (XOR (islower (i), ISLOWER (i)) |
6760 | || toupper (i) != TOUPPER (i)) | ||
6761 | exit(2); | ||
6762 | exit (0); | ||
7390 | } | 6763 | } |
7391 | _ACEOF | 6764 | _ACEOF |
7392 | rm -f conftest.$ac_objext conftest$ac_exeext | 6765 | rm -f conftest$ac_exeext |
7393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6766 | if { (eval echo "$as_me:6766: \"$ac_link\"") >&5 |
7394 | (eval $ac_link) 2>&5 | 6767 | (eval $ac_link) 2>&5 |
7395 | ac_status=$? | 6768 | ac_status=$? |
7396 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6769 | echo "$as_me:6769: \$? = $ac_status" >&5 |
7397 | (exit $ac_status); } && | 6770 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7398 | { ac_try='test -s conftest$ac_exeext' | 6771 | { (eval echo "$as_me:6771: \"$ac_try\"") >&5 |
7399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | ||
7400 | (eval $ac_try) 2>&5 | 6772 | (eval $ac_try) 2>&5 |
7401 | ac_status=$? | 6773 | ac_status=$? |
7402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6774 | echo "$as_me:6774: \$? = $ac_status" >&5 |
7403 | (exit $ac_status); }; }; then | 6775 | (exit $ac_status); }; }; then |
7404 | ac_cv_search_basename="none required" | 6776 | : |
7405 | else | 6777 | else |
7406 | echo "$as_me: failed program was:" >&5 | 6778 | echo "$as_me: program exited with status $ac_status" >&5 |
7407 | sed 's/^/| /' conftest.$ac_ext >&5 | 6779 | echo "$as_me: failed program was:" >&5 |
6780 | cat conftest.$ac_ext >&5 | ||
6781 | ac_cv_header_stdc=no | ||
6782 | fi | ||
6783 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
6784 | fi | ||
6785 | fi | ||
6786 | fi | ||
6787 | echo "$as_me:6787: result: $ac_cv_header_stdc" >&5 | ||
6788 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | ||
6789 | if test $ac_cv_header_stdc = yes; then | ||
6790 | |||
6791 | cat >>confdefs.h <<\EOF | ||
6792 | #define STDC_HEADERS 1 | ||
6793 | EOF | ||
7408 | 6794 | ||
7409 | fi | 6795 | 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 | 6796 | ||
7422 | /* Override any gcc2 internal prototype to avoid an error. */ | 6797 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
7423 | #ifdef __cplusplus | 6798 | |
7424 | extern "C" | 6799 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
7425 | #endif | 6800 | inttypes.h stdint.h unistd.h |
7426 | /* We use char because int might match the return type of a gcc2 | 6801 | do |
7427 | builtin and then its argument prototype would still apply. */ | 6802 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7428 | char basename (); | 6803 | echo "$as_me:6803: checking for $ac_header" >&5 |
7429 | int | 6804 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
7430 | main () | 6805 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
7431 | { | 6806 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7432 | basename (); | 6807 | else |
7433 | ; | 6808 | cat >conftest.$ac_ext <<_ACEOF |
7434 | return 0; | 6809 | #line 6809 "configure" |
7435 | } | 6810 | #include "confdefs.h" |
6811 | $ac_includes_default | ||
6812 | #include <$ac_header> | ||
7436 | _ACEOF | 6813 | _ACEOF |
7437 | rm -f conftest.$ac_objext conftest$ac_exeext | 6814 | rm -f conftest.$ac_objext |
7438 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6815 | if { (eval echo "$as_me:6815: \"$ac_compile\"") >&5 |
7439 | (eval $ac_link) 2>&5 | 6816 | (eval $ac_compile) 2>&5 |
7440 | ac_status=$? | 6817 | ac_status=$? |
7441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6818 | echo "$as_me:6818: \$? = $ac_status" >&5 |
7442 | (exit $ac_status); } && | 6819 | (exit $ac_status); } && |
7443 | { ac_try='test -s conftest$ac_exeext' | 6820 | { ac_try='test -s conftest.$ac_objext' |
7444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6821 | { (eval echo "$as_me:6821: \"$ac_try\"") >&5 |
7445 | (eval $ac_try) 2>&5 | 6822 | (eval $ac_try) 2>&5 |
7446 | ac_status=$? | 6823 | ac_status=$? |
7447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6824 | echo "$as_me:6824: \$? = $ac_status" >&5 |
7448 | (exit $ac_status); }; }; then | 6825 | (exit $ac_status); }; }; then |
7449 | ac_cv_search_basename="-l$ac_lib" | 6826 | eval "$as_ac_Header=yes" |
7450 | break | ||
7451 | else | 6827 | else |
7452 | echo "$as_me: failed program was:" >&5 | 6828 | echo "$as_me: failed program was:" >&5 |
7453 | sed 's/^/| /' conftest.$ac_ext >&5 | 6829 | cat conftest.$ac_ext >&5 |
7454 | 6830 | eval "$as_ac_Header=no" | |
7455 | fi | ||
7456 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
7457 | done | ||
7458 | fi | 6831 | fi |
7459 | LIBS=$ac_func_search_save_LIBS | 6832 | rm -f conftest.$ac_objext conftest.$ac_ext |
7460 | fi | 6833 | fi |
7461 | echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 | 6834 | echo "$as_me:6834: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
7462 | echo "${ECHO_T}$ac_cv_search_basename" >&6 | 6835 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
7463 | if test "$ac_cv_search_basename" != no; then | 6836 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7464 | test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" | 6837 | cat >>confdefs.h <<EOF |
7465 | cat >>confdefs.h <<\_ACEOF | 6838 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7466 | #define HAVE_BASENAME 1 | 6839 | EOF |
7467 | _ACEOF | ||
7468 | 6840 | ||
7469 | fi | 6841 | fi |
6842 | done | ||
7470 | 6843 | ||
7471 | 6844 | echo "$as_me:6844: checking whether strsep is declared" >&5 | |
7472 | echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | ||
7473 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 | 6845 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 |
7474 | if test "${ac_cv_have_decl_strsep+set}" = set; then | 6846 | if test "${ac_cv_have_decl_strsep+set}" = set; then |
7475 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7476 | else | 6848 | else |
7477 | cat >conftest.$ac_ext <<_ACEOF | 6849 | cat >conftest.$ac_ext <<_ACEOF |
7478 | #line $LINENO "configure" | 6850 | #line 6850 "configure" |
7479 | /* confdefs.h. */ | 6851 | #include "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 | 6852 | $ac_includes_default |
7485 | int | 6853 | int |
7486 | main () | 6854 | main () |
@@ -7494,1131 +6862,746 @@ main () | |||
7494 | } | 6862 | } |
7495 | _ACEOF | 6863 | _ACEOF |
7496 | rm -f conftest.$ac_objext | 6864 | rm -f conftest.$ac_objext |
7497 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6865 | if { (eval echo "$as_me:6865: \"$ac_compile\"") >&5 |
7498 | (eval $ac_compile) 2>&5 | 6866 | (eval $ac_compile) 2>&5 |
7499 | ac_status=$? | 6867 | ac_status=$? |
7500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6868 | echo "$as_me:6868: \$? = $ac_status" >&5 |
7501 | (exit $ac_status); } && | 6869 | (exit $ac_status); } && |
7502 | { ac_try='test -s conftest.$ac_objext' | 6870 | { ac_try='test -s conftest.$ac_objext' |
7503 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6871 | { (eval echo "$as_me:6871: \"$ac_try\"") >&5 |
7504 | (eval $ac_try) 2>&5 | 6872 | (eval $ac_try) 2>&5 |
7505 | ac_status=$? | 6873 | ac_status=$? |
7506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6874 | echo "$as_me:6874: \$? = $ac_status" >&5 |
7507 | (exit $ac_status); }; }; then | 6875 | (exit $ac_status); }; }; then |
7508 | ac_cv_have_decl_strsep=yes | 6876 | ac_cv_have_decl_strsep=yes |
7509 | else | 6877 | else |
7510 | echo "$as_me: failed program was:" >&5 | 6878 | echo "$as_me: failed program was:" >&5 |
7511 | sed 's/^/| /' conftest.$ac_ext >&5 | 6879 | cat conftest.$ac_ext >&5 |
7512 | |||
7513 | ac_cv_have_decl_strsep=no | 6880 | ac_cv_have_decl_strsep=no |
7514 | fi | 6881 | fi |
7515 | rm -f conftest.$ac_objext conftest.$ac_ext | 6882 | rm -f conftest.$ac_objext conftest.$ac_ext |
7516 | fi | 6883 | fi |
7517 | echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | 6884 | echo "$as_me:6884: result: $ac_cv_have_decl_strsep" >&5 |
7518 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 | 6885 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 |
7519 | if test $ac_cv_have_decl_strsep = yes; then | 6886 | if test $ac_cv_have_decl_strsep = yes; then |
7520 | 6887 | ||
7521 | for ac_func in strsep | 6888 | for ac_func in strsep |
7522 | do | 6889 | do |
7523 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 6890 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7524 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 6891 | echo "$as_me:6891: checking for $ac_func" >&5 |
7525 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 6892 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7526 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 6893 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6894 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7528 | else | 6895 | else |
7529 | cat >conftest.$ac_ext <<_ACEOF | 6896 | cat >conftest.$ac_ext <<_ACEOF |
7530 | #line $LINENO "configure" | 6897 | #line 6897 "configure" |
7531 | /* confdefs.h. */ | 6898 | #include "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, | 6899 | /* System header to define __stub macros and hopefully few prototypes, |
7537 | which can conflict with char $ac_func (); below. | 6900 | which can conflict with char $ac_func (); below. */ |
7538 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 6901 | #include <assert.h> |
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. */ | 6902 | /* Override any gcc2 internal prototype to avoid an error. */ |
7546 | #ifdef __cplusplus | 6903 | #ifdef __cplusplus |
7547 | extern "C" | 6904 | extern "C" |
7548 | { | ||
7549 | #endif | 6905 | #endif |
7550 | /* We use char because int might match the return type of a gcc2 | 6906 | /* We use char because int might match the return type of a gcc2 |
7551 | builtin and then its argument prototype would still apply. */ | 6907 | builtin and then its argument prototype would still apply. */ |
7552 | char $ac_func (); | 6908 | char $ac_func (); |
6909 | char (*f) (); | ||
6910 | |||
6911 | int | ||
6912 | main () | ||
6913 | { | ||
7553 | /* The GNU C library defines this for functions which it implements | 6914 | /* The GNU C library defines this for functions which it implements |
7554 | to always fail with ENOSYS. Some functions are actually named | 6915 | to always fail with ENOSYS. Some functions are actually named |
7555 | something starting with __ and the normal name is an alias. */ | 6916 | something starting with __ and the normal name is an alias. */ |
7556 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 6917 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7557 | choke me | 6918 | choke me |
7558 | #else | 6919 | #else |
7559 | char (*f) () = $ac_func; | 6920 | f = $ac_func; |
7560 | #endif | ||
7561 | #ifdef __cplusplus | ||
7562 | } | ||
7563 | #endif | 6921 | #endif |
7564 | 6922 | ||
7565 | int | ||
7566 | main () | ||
7567 | { | ||
7568 | return f != $ac_func; | ||
7569 | ; | 6923 | ; |
7570 | return 0; | 6924 | return 0; |
7571 | } | 6925 | } |
7572 | _ACEOF | 6926 | _ACEOF |
7573 | rm -f conftest.$ac_objext conftest$ac_exeext | 6927 | rm -f conftest.$ac_objext conftest$ac_exeext |
7574 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6928 | if { (eval echo "$as_me:6928: \"$ac_link\"") >&5 |
7575 | (eval $ac_link) 2>&5 | 6929 | (eval $ac_link) 2>&5 |
7576 | ac_status=$? | 6930 | ac_status=$? |
7577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6931 | echo "$as_me:6931: \$? = $ac_status" >&5 |
7578 | (exit $ac_status); } && | 6932 | (exit $ac_status); } && |
7579 | { ac_try='test -s conftest$ac_exeext' | 6933 | { ac_try='test -s conftest$ac_exeext' |
7580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6934 | { (eval echo "$as_me:6934: \"$ac_try\"") >&5 |
7581 | (eval $ac_try) 2>&5 | 6935 | (eval $ac_try) 2>&5 |
7582 | ac_status=$? | 6936 | ac_status=$? |
7583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6937 | echo "$as_me:6937: \$? = $ac_status" >&5 |
7584 | (exit $ac_status); }; }; then | 6938 | (exit $ac_status); }; }; then |
7585 | eval "$as_ac_var=yes" | 6939 | eval "$as_ac_var=yes" |
7586 | else | 6940 | else |
7587 | echo "$as_me: failed program was:" >&5 | 6941 | echo "$as_me: failed program was:" >&5 |
7588 | sed 's/^/| /' conftest.$ac_ext >&5 | 6942 | cat conftest.$ac_ext >&5 |
7589 | |||
7590 | eval "$as_ac_var=no" | 6943 | eval "$as_ac_var=no" |
7591 | fi | 6944 | fi |
7592 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6945 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7593 | fi | 6946 | fi |
7594 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 6947 | echo "$as_me:6947: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7595 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 6948 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7596 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 6949 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7597 | cat >>confdefs.h <<_ACEOF | 6950 | cat >>confdefs.h <<EOF |
7598 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 6951 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7599 | _ACEOF | 6952 | EOF |
7600 | 6953 | ||
7601 | fi | 6954 | fi |
7602 | done | 6955 | done |
7603 | 6956 | ||
7604 | fi | 6957 | fi |
7605 | 6958 | ||
6959 | echo "$as_me:6959: checking whether getrusage is declared" >&5 | ||
6960 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 | ||
6961 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | ||
6962 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6963 | else | ||
6964 | cat >conftest.$ac_ext <<_ACEOF | ||
6965 | #line 6965 "configure" | ||
6966 | #include "confdefs.h" | ||
6967 | $ac_includes_default | ||
6968 | int | ||
6969 | main () | ||
6970 | { | ||
6971 | #ifndef getrusage | ||
6972 | char *p = (char *) getrusage; | ||
6973 | #endif | ||
7606 | 6974 | ||
6975 | ; | ||
6976 | return 0; | ||
6977 | } | ||
6978 | _ACEOF | ||
6979 | rm -f conftest.$ac_objext | ||
6980 | if { (eval echo "$as_me:6980: \"$ac_compile\"") >&5 | ||
6981 | (eval $ac_compile) 2>&5 | ||
6982 | ac_status=$? | ||
6983 | echo "$as_me:6983: \$? = $ac_status" >&5 | ||
6984 | (exit $ac_status); } && | ||
6985 | { ac_try='test -s conftest.$ac_objext' | ||
6986 | { (eval echo "$as_me:6986: \"$ac_try\"") >&5 | ||
6987 | (eval $ac_try) 2>&5 | ||
6988 | ac_status=$? | ||
6989 | echo "$as_me:6989: \$? = $ac_status" >&5 | ||
6990 | (exit $ac_status); }; }; then | ||
6991 | ac_cv_have_decl_getrusage=yes | ||
6992 | else | ||
6993 | echo "$as_me: failed program was:" >&5 | ||
6994 | cat conftest.$ac_ext >&5 | ||
6995 | ac_cv_have_decl_getrusage=no | ||
6996 | fi | ||
6997 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
6998 | fi | ||
6999 | echo "$as_me:6999: result: $ac_cv_have_decl_getrusage" >&5 | ||
7000 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 | ||
7001 | if test $ac_cv_have_decl_getrusage = yes; then | ||
7607 | 7002 | ||
7608 | for ac_func in dirname | 7003 | for ac_func in getrusage |
7609 | do | 7004 | do |
7610 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7005 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7611 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7006 | echo "$as_me:7006: checking for $ac_func" >&5 |
7612 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7007 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
7613 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7008 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
7614 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7009 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7615 | else | 7010 | else |
7616 | cat >conftest.$ac_ext <<_ACEOF | 7011 | cat >conftest.$ac_ext <<_ACEOF |
7617 | #line $LINENO "configure" | 7012 | #line 7012 "configure" |
7618 | /* confdefs.h. */ | 7013 | #include "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, | 7014 | /* System header to define __stub macros and hopefully few prototypes, |
7624 | which can conflict with char $ac_func (); below. | 7015 | which can conflict with char $ac_func (); below. */ |
7625 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7016 | #include <assert.h> |
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. */ | 7017 | /* Override any gcc2 internal prototype to avoid an error. */ |
7633 | #ifdef __cplusplus | 7018 | #ifdef __cplusplus |
7634 | extern "C" | 7019 | extern "C" |
7635 | { | ||
7636 | #endif | 7020 | #endif |
7637 | /* We use char because int might match the return type of a gcc2 | 7021 | /* We use char because int might match the return type of a gcc2 |
7638 | builtin and then its argument prototype would still apply. */ | 7022 | builtin and then its argument prototype would still apply. */ |
7639 | char $ac_func (); | 7023 | char $ac_func (); |
7024 | char (*f) (); | ||
7025 | |||
7026 | int | ||
7027 | main () | ||
7028 | { | ||
7640 | /* The GNU C library defines this for functions which it implements | 7029 | /* The GNU C library defines this for functions which it implements |
7641 | to always fail with ENOSYS. Some functions are actually named | 7030 | to always fail with ENOSYS. Some functions are actually named |
7642 | something starting with __ and the normal name is an alias. */ | 7031 | something starting with __ and the normal name is an alias. */ |
7643 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7032 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
7644 | choke me | 7033 | choke me |
7645 | #else | 7034 | #else |
7646 | char (*f) () = $ac_func; | 7035 | f = $ac_func; |
7647 | #endif | ||
7648 | #ifdef __cplusplus | ||
7649 | } | ||
7650 | #endif | 7036 | #endif |
7651 | 7037 | ||
7652 | int | ||
7653 | main () | ||
7654 | { | ||
7655 | return f != $ac_func; | ||
7656 | ; | 7038 | ; |
7657 | return 0; | 7039 | return 0; |
7658 | } | 7040 | } |
7659 | _ACEOF | 7041 | _ACEOF |
7660 | rm -f conftest.$ac_objext conftest$ac_exeext | 7042 | rm -f conftest.$ac_objext conftest$ac_exeext |
7661 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7043 | if { (eval echo "$as_me:7043: \"$ac_link\"") >&5 |
7662 | (eval $ac_link) 2>&5 | 7044 | (eval $ac_link) 2>&5 |
7663 | ac_status=$? | 7045 | ac_status=$? |
7664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7046 | echo "$as_me:7046: \$? = $ac_status" >&5 |
7665 | (exit $ac_status); } && | 7047 | (exit $ac_status); } && |
7666 | { ac_try='test -s conftest$ac_exeext' | 7048 | { ac_try='test -s conftest$ac_exeext' |
7667 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7049 | { (eval echo "$as_me:7049: \"$ac_try\"") >&5 |
7668 | (eval $ac_try) 2>&5 | 7050 | (eval $ac_try) 2>&5 |
7669 | ac_status=$? | 7051 | ac_status=$? |
7670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7052 | echo "$as_me:7052: \$? = $ac_status" >&5 |
7671 | (exit $ac_status); }; }; then | 7053 | (exit $ac_status); }; }; then |
7672 | eval "$as_ac_var=yes" | 7054 | eval "$as_ac_var=yes" |
7673 | else | 7055 | else |
7674 | echo "$as_me: failed program was:" >&5 | 7056 | echo "$as_me: failed program was:" >&5 |
7675 | sed 's/^/| /' conftest.$ac_ext >&5 | 7057 | cat conftest.$ac_ext >&5 |
7676 | |||
7677 | eval "$as_ac_var=no" | 7058 | eval "$as_ac_var=no" |
7678 | fi | 7059 | fi |
7679 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7060 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
7680 | fi | 7061 | fi |
7681 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7062 | echo "$as_me:7062: result: `eval echo '${'$as_ac_var'}'`" >&5 |
7682 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7063 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
7683 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7064 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
7684 | cat >>confdefs.h <<_ACEOF | 7065 | cat >>confdefs.h <<EOF |
7685 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7066 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7686 | _ACEOF | 7067 | EOF |
7687 | 7068 | ||
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 | 7069 | fi |
7697 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7070 | done |
7698 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7071 | |
7072 | fi | ||
7073 | |||
7074 | echo "$as_me:7074: checking whether tcsendbreak is declared" >&5 | ||
7075 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 | ||
7076 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then | ||
7077 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7699 | else | 7078 | else |
7700 | # Is the header compilable? | 7079 | cat >conftest.$ac_ext <<_ACEOF |
7701 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 7080 | #line 7080 "configure" |
7702 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 7081 | #include "confdefs.h" |
7703 | cat >conftest.$ac_ext <<_ACEOF | 7082 | #include <termios.h> |
7704 | #line $LINENO "configure" | 7083 | |
7705 | /* confdefs.h. */ | 7084 | int |
7706 | _ACEOF | 7085 | main () |
7707 | cat confdefs.h >>conftest.$ac_ext | 7086 | { |
7708 | cat >>conftest.$ac_ext <<_ACEOF | 7087 | #ifndef tcsendbreak |
7709 | /* end confdefs.h. */ | 7088 | char *p = (char *) tcsendbreak; |
7710 | $ac_includes_default | 7089 | #endif |
7711 | #include <$ac_header> | 7090 | |
7091 | ; | ||
7092 | return 0; | ||
7093 | } | ||
7712 | _ACEOF | 7094 | _ACEOF |
7713 | rm -f conftest.$ac_objext | 7095 | rm -f conftest.$ac_objext |
7714 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7096 | if { (eval echo "$as_me:7096: \"$ac_compile\"") >&5 |
7715 | (eval $ac_compile) 2>&5 | 7097 | (eval $ac_compile) 2>&5 |
7716 | ac_status=$? | 7098 | ac_status=$? |
7717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7099 | echo "$as_me:7099: \$? = $ac_status" >&5 |
7718 | (exit $ac_status); } && | 7100 | (exit $ac_status); } && |
7719 | { ac_try='test -s conftest.$ac_objext' | 7101 | { ac_try='test -s conftest.$ac_objext' |
7720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7102 | { (eval echo "$as_me:7102: \"$ac_try\"") >&5 |
7721 | (eval $ac_try) 2>&5 | 7103 | (eval $ac_try) 2>&5 |
7722 | ac_status=$? | 7104 | ac_status=$? |
7723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7105 | echo "$as_me:7105: \$? = $ac_status" >&5 |
7724 | (exit $ac_status); }; }; then | 7106 | (exit $ac_status); }; }; then |
7725 | ac_header_compiler=yes | 7107 | ac_cv_have_decl_tcsendbreak=yes |
7726 | else | 7108 | else |
7727 | echo "$as_me: failed program was:" >&5 | 7109 | echo "$as_me: failed program was:" >&5 |
7728 | sed 's/^/| /' conftest.$ac_ext >&5 | 7110 | cat conftest.$ac_ext >&5 |
7729 | 7111 | ac_cv_have_decl_tcsendbreak=no | |
7730 | ac_header_compiler=no | ||
7731 | fi | 7112 | fi |
7732 | rm -f conftest.$ac_objext conftest.$ac_ext | 7113 | 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 | 7114 | fi |
7764 | if test -z "$ac_cpp_err"; then | 7115 | echo "$as_me:7115: result: $ac_cv_have_decl_tcsendbreak" >&5 |
7765 | ac_header_preproc=yes | 7116 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 |
7766 | else | 7117 | if test $ac_cv_have_decl_tcsendbreak = yes; then |
7767 | echo "$as_me: failed program was:" >&5 | 7118 | cat >>confdefs.h <<\EOF |
7768 | sed 's/^/| /' conftest.$ac_ext >&5 | 7119 | #define HAVE_TCSENDBREAK 1 |
7769 | 7120 | EOF | |
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 | 7121 | ||
7829 | else | 7122 | else |
7830 | 7123 | ||
7831 | echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 | 7124 | for ac_func in tcsendbreak |
7832 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 | 7125 | do |
7833 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | 7126 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
7127 | echo "$as_me:7127: checking for $ac_func" >&5 | ||
7128 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
7129 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
7834 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7130 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7835 | else | 7131 | else |
7836 | ac_check_lib_save_LIBS=$LIBS | 7132 | cat >conftest.$ac_ext <<_ACEOF |
7837 | LIBS="-lgen $LIBS" | 7133 | #line 7133 "configure" |
7838 | cat >conftest.$ac_ext <<_ACEOF | 7134 | #include "confdefs.h" |
7839 | #line $LINENO "configure" | 7135 | /* System header to define __stub macros and hopefully few prototypes, |
7840 | /* confdefs.h. */ | 7136 | which can conflict with char $ac_func (); below. */ |
7841 | _ACEOF | 7137 | #include <assert.h> |
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. */ | 7138 | /* Override any gcc2 internal prototype to avoid an error. */ |
7847 | #ifdef __cplusplus | 7139 | #ifdef __cplusplus |
7848 | extern "C" | 7140 | extern "C" |
7849 | #endif | 7141 | #endif |
7850 | /* We use char because int might match the return type of a gcc2 | 7142 | /* We use char because int might match the return type of a gcc2 |
7851 | builtin and then its argument prototype would still apply. */ | 7143 | builtin and then its argument prototype would still apply. */ |
7852 | char dirname (); | 7144 | char $ac_func (); |
7145 | char (*f) (); | ||
7146 | |||
7853 | int | 7147 | int |
7854 | main () | 7148 | main () |
7855 | { | 7149 | { |
7856 | dirname (); | 7150 | /* The GNU C library defines this for functions which it implements |
7151 | to always fail with ENOSYS. Some functions are actually named | ||
7152 | something starting with __ and the normal name is an alias. */ | ||
7153 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
7154 | choke me | ||
7155 | #else | ||
7156 | f = $ac_func; | ||
7157 | #endif | ||
7158 | |||
7857 | ; | 7159 | ; |
7858 | return 0; | 7160 | return 0; |
7859 | } | 7161 | } |
7860 | _ACEOF | 7162 | _ACEOF |
7861 | rm -f conftest.$ac_objext conftest$ac_exeext | 7163 | rm -f conftest.$ac_objext conftest$ac_exeext |
7862 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7164 | if { (eval echo "$as_me:7164: \"$ac_link\"") >&5 |
7863 | (eval $ac_link) 2>&5 | 7165 | (eval $ac_link) 2>&5 |
7864 | ac_status=$? | 7166 | ac_status=$? |
7865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7167 | echo "$as_me:7167: \$? = $ac_status" >&5 |
7866 | (exit $ac_status); } && | 7168 | (exit $ac_status); } && |
7867 | { ac_try='test -s conftest$ac_exeext' | 7169 | { ac_try='test -s conftest$ac_exeext' |
7868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7170 | { (eval echo "$as_me:7170: \"$ac_try\"") >&5 |
7869 | (eval $ac_try) 2>&5 | 7171 | (eval $ac_try) 2>&5 |
7870 | ac_status=$? | 7172 | ac_status=$? |
7871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7173 | echo "$as_me:7173: \$? = $ac_status" >&5 |
7872 | (exit $ac_status); }; }; then | 7174 | (exit $ac_status); }; }; then |
7873 | ac_cv_lib_gen_dirname=yes | 7175 | eval "$as_ac_var=yes" |
7874 | else | 7176 | else |
7875 | echo "$as_me: failed program was:" >&5 | 7177 | echo "$as_me: failed program was:" >&5 |
7876 | sed 's/^/| /' conftest.$ac_ext >&5 | 7178 | cat conftest.$ac_ext >&5 |
7877 | 7179 | eval "$as_ac_var=no" | |
7878 | ac_cv_lib_gen_dirname=no | ||
7879 | fi | 7180 | fi |
7880 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7181 | 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 | 7182 | fi |
8089 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7183 | echo "$as_me:7183: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8090 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7184 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8091 | 7185 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
8092 | fi | 7186 | cat >>confdefs.h <<EOF |
8093 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7187 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8094 | cat >>confdefs.h <<_ACEOF | 7188 | EOF |
8095 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
8096 | _ACEOF | ||
8097 | 7189 | ||
8098 | fi | 7190 | fi |
8099 | |||
8100 | done | 7191 | done |
8101 | 7192 | ||
8102 | fi | ||
8103 | |||
8104 | fi | 7193 | fi |
8105 | 7194 | ||
8106 | |||
8107 | fi | ||
8108 | done | ||
8109 | |||
8110 | |||
8111 | |||
8112 | |||
8113 | for ac_func in gettimeofday time | 7195 | for ac_func in gettimeofday time |
8114 | do | 7196 | do |
8115 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7197 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8116 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7198 | echo "$as_me:7198: checking for $ac_func" >&5 |
8117 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7199 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8118 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7200 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8119 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7201 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8120 | else | 7202 | else |
8121 | cat >conftest.$ac_ext <<_ACEOF | 7203 | cat >conftest.$ac_ext <<_ACEOF |
8122 | #line $LINENO "configure" | 7204 | #line 7204 "configure" |
8123 | /* confdefs.h. */ | 7205 | #include "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, | 7206 | /* System header to define __stub macros and hopefully few prototypes, |
8129 | which can conflict with char $ac_func (); below. | 7207 | which can conflict with char $ac_func (); below. */ |
8130 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7208 | #include <assert.h> |
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. */ | 7209 | /* Override any gcc2 internal prototype to avoid an error. */ |
8138 | #ifdef __cplusplus | 7210 | #ifdef __cplusplus |
8139 | extern "C" | 7211 | extern "C" |
8140 | { | ||
8141 | #endif | 7212 | #endif |
8142 | /* We use char because int might match the return type of a gcc2 | 7213 | /* We use char because int might match the return type of a gcc2 |
8143 | builtin and then its argument prototype would still apply. */ | 7214 | builtin and then its argument prototype would still apply. */ |
8144 | char $ac_func (); | 7215 | char $ac_func (); |
7216 | char (*f) (); | ||
7217 | |||
7218 | int | ||
7219 | main () | ||
7220 | { | ||
8145 | /* The GNU C library defines this for functions which it implements | 7221 | /* The GNU C library defines this for functions which it implements |
8146 | to always fail with ENOSYS. Some functions are actually named | 7222 | to always fail with ENOSYS. Some functions are actually named |
8147 | something starting with __ and the normal name is an alias. */ | 7223 | something starting with __ and the normal name is an alias. */ |
8148 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7224 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
8149 | choke me | 7225 | choke me |
8150 | #else | 7226 | #else |
8151 | char (*f) () = $ac_func; | 7227 | f = $ac_func; |
8152 | #endif | ||
8153 | #ifdef __cplusplus | ||
8154 | } | ||
8155 | #endif | 7228 | #endif |
8156 | 7229 | ||
8157 | int | ||
8158 | main () | ||
8159 | { | ||
8160 | return f != $ac_func; | ||
8161 | ; | 7230 | ; |
8162 | return 0; | 7231 | return 0; |
8163 | } | 7232 | } |
8164 | _ACEOF | 7233 | _ACEOF |
8165 | rm -f conftest.$ac_objext conftest$ac_exeext | 7234 | rm -f conftest.$ac_objext conftest$ac_exeext |
8166 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7235 | if { (eval echo "$as_me:7235: \"$ac_link\"") >&5 |
8167 | (eval $ac_link) 2>&5 | 7236 | (eval $ac_link) 2>&5 |
8168 | ac_status=$? | 7237 | ac_status=$? |
8169 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7238 | echo "$as_me:7238: \$? = $ac_status" >&5 |
8170 | (exit $ac_status); } && | 7239 | (exit $ac_status); } && |
8171 | { ac_try='test -s conftest$ac_exeext' | 7240 | { ac_try='test -s conftest$ac_exeext' |
8172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7241 | { (eval echo "$as_me:7241: \"$ac_try\"") >&5 |
8173 | (eval $ac_try) 2>&5 | 7242 | (eval $ac_try) 2>&5 |
8174 | ac_status=$? | 7243 | ac_status=$? |
8175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7244 | echo "$as_me:7244: \$? = $ac_status" >&5 |
8176 | (exit $ac_status); }; }; then | 7245 | (exit $ac_status); }; }; then |
8177 | eval "$as_ac_var=yes" | 7246 | eval "$as_ac_var=yes" |
8178 | else | 7247 | else |
8179 | echo "$as_me: failed program was:" >&5 | 7248 | echo "$as_me: failed program was:" >&5 |
8180 | sed 's/^/| /' conftest.$ac_ext >&5 | 7249 | cat conftest.$ac_ext >&5 |
8181 | |||
8182 | eval "$as_ac_var=no" | 7250 | eval "$as_ac_var=no" |
8183 | fi | 7251 | fi |
8184 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7252 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8185 | fi | 7253 | fi |
8186 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7254 | echo "$as_me:7254: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8187 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7255 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8188 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7256 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8189 | cat >>confdefs.h <<_ACEOF | 7257 | cat >>confdefs.h <<EOF |
8190 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7258 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8191 | _ACEOF | 7259 | EOF |
8192 | 7260 | ||
8193 | fi | 7261 | fi |
8194 | done | 7262 | done |
8195 | 7263 | ||
8196 | |||
8197 | |||
8198 | |||
8199 | |||
8200 | |||
8201 | |||
8202 | for ac_func in endutent getutent getutid getutline pututline setutent | 7264 | for ac_func in endutent getutent getutid getutline pututline setutent |
8203 | do | 7265 | do |
8204 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7266 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8205 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7267 | echo "$as_me:7267: checking for $ac_func" >&5 |
8206 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7268 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8207 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7269 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7270 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8209 | else | 7271 | else |
8210 | cat >conftest.$ac_ext <<_ACEOF | 7272 | cat >conftest.$ac_ext <<_ACEOF |
8211 | #line $LINENO "configure" | 7273 | #line 7273 "configure" |
8212 | /* confdefs.h. */ | 7274 | #include "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, | 7275 | /* System header to define __stub macros and hopefully few prototypes, |
8218 | which can conflict with char $ac_func (); below. | 7276 | which can conflict with char $ac_func (); below. */ |
8219 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7277 | #include <assert.h> |
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. */ | 7278 | /* Override any gcc2 internal prototype to avoid an error. */ |
8227 | #ifdef __cplusplus | 7279 | #ifdef __cplusplus |
8228 | extern "C" | 7280 | extern "C" |
8229 | { | ||
8230 | #endif | 7281 | #endif |
8231 | /* We use char because int might match the return type of a gcc2 | 7282 | /* We use char because int might match the return type of a gcc2 |
8232 | builtin and then its argument prototype would still apply. */ | 7283 | builtin and then its argument prototype would still apply. */ |
8233 | char $ac_func (); | 7284 | char $ac_func (); |
7285 | char (*f) (); | ||
7286 | |||
7287 | int | ||
7288 | main () | ||
7289 | { | ||
8234 | /* The GNU C library defines this for functions which it implements | 7290 | /* The GNU C library defines this for functions which it implements |
8235 | to always fail with ENOSYS. Some functions are actually named | 7291 | to always fail with ENOSYS. Some functions are actually named |
8236 | something starting with __ and the normal name is an alias. */ | 7292 | something starting with __ and the normal name is an alias. */ |
8237 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7293 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
8238 | choke me | 7294 | choke me |
8239 | #else | 7295 | #else |
8240 | char (*f) () = $ac_func; | 7296 | f = $ac_func; |
8241 | #endif | ||
8242 | #ifdef __cplusplus | ||
8243 | } | ||
8244 | #endif | 7297 | #endif |
8245 | 7298 | ||
8246 | int | ||
8247 | main () | ||
8248 | { | ||
8249 | return f != $ac_func; | ||
8250 | ; | 7299 | ; |
8251 | return 0; | 7300 | return 0; |
8252 | } | 7301 | } |
8253 | _ACEOF | 7302 | _ACEOF |
8254 | rm -f conftest.$ac_objext conftest$ac_exeext | 7303 | rm -f conftest.$ac_objext conftest$ac_exeext |
8255 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7304 | if { (eval echo "$as_me:7304: \"$ac_link\"") >&5 |
8256 | (eval $ac_link) 2>&5 | 7305 | (eval $ac_link) 2>&5 |
8257 | ac_status=$? | 7306 | ac_status=$? |
8258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7307 | echo "$as_me:7307: \$? = $ac_status" >&5 |
8259 | (exit $ac_status); } && | 7308 | (exit $ac_status); } && |
8260 | { ac_try='test -s conftest$ac_exeext' | 7309 | { ac_try='test -s conftest$ac_exeext' |
8261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7310 | { (eval echo "$as_me:7310: \"$ac_try\"") >&5 |
8262 | (eval $ac_try) 2>&5 | 7311 | (eval $ac_try) 2>&5 |
8263 | ac_status=$? | 7312 | ac_status=$? |
8264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7313 | echo "$as_me:7313: \$? = $ac_status" >&5 |
8265 | (exit $ac_status); }; }; then | 7314 | (exit $ac_status); }; }; then |
8266 | eval "$as_ac_var=yes" | 7315 | eval "$as_ac_var=yes" |
8267 | else | 7316 | else |
8268 | echo "$as_me: failed program was:" >&5 | 7317 | echo "$as_me: failed program was:" >&5 |
8269 | sed 's/^/| /' conftest.$ac_ext >&5 | 7318 | cat conftest.$ac_ext >&5 |
8270 | |||
8271 | eval "$as_ac_var=no" | 7319 | eval "$as_ac_var=no" |
8272 | fi | 7320 | fi |
8273 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7321 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8274 | fi | 7322 | fi |
8275 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7323 | echo "$as_me:7323: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8276 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7324 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8277 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7325 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8278 | cat >>confdefs.h <<_ACEOF | 7326 | cat >>confdefs.h <<EOF |
8279 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7327 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8280 | _ACEOF | 7328 | EOF |
8281 | 7329 | ||
8282 | fi | 7330 | fi |
8283 | done | 7331 | done |
8284 | 7332 | ||
8285 | |||
8286 | for ac_func in utmpname | 7333 | for ac_func in utmpname |
8287 | do | 7334 | do |
8288 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7335 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8289 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7336 | echo "$as_me:7336: checking for $ac_func" >&5 |
8290 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7337 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8291 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7338 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8292 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7339 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8293 | else | 7340 | else |
8294 | cat >conftest.$ac_ext <<_ACEOF | 7341 | cat >conftest.$ac_ext <<_ACEOF |
8295 | #line $LINENO "configure" | 7342 | #line 7342 "configure" |
8296 | /* confdefs.h. */ | 7343 | #include "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, | 7344 | /* System header to define __stub macros and hopefully few prototypes, |
8302 | which can conflict with char $ac_func (); below. | 7345 | which can conflict with char $ac_func (); below. */ |
8303 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7346 | #include <assert.h> |
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. */ | 7347 | /* Override any gcc2 internal prototype to avoid an error. */ |
8311 | #ifdef __cplusplus | 7348 | #ifdef __cplusplus |
8312 | extern "C" | 7349 | extern "C" |
8313 | { | ||
8314 | #endif | 7350 | #endif |
8315 | /* We use char because int might match the return type of a gcc2 | 7351 | /* We use char because int might match the return type of a gcc2 |
8316 | builtin and then its argument prototype would still apply. */ | 7352 | builtin and then its argument prototype would still apply. */ |
8317 | char $ac_func (); | 7353 | char $ac_func (); |
7354 | char (*f) (); | ||
7355 | |||
7356 | int | ||
7357 | main () | ||
7358 | { | ||
8318 | /* The GNU C library defines this for functions which it implements | 7359 | /* The GNU C library defines this for functions which it implements |
8319 | to always fail with ENOSYS. Some functions are actually named | 7360 | to always fail with ENOSYS. Some functions are actually named |
8320 | something starting with __ and the normal name is an alias. */ | 7361 | something starting with __ and the normal name is an alias. */ |
8321 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7362 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
8322 | choke me | 7363 | choke me |
8323 | #else | 7364 | #else |
8324 | char (*f) () = $ac_func; | 7365 | f = $ac_func; |
8325 | #endif | ||
8326 | #ifdef __cplusplus | ||
8327 | } | ||
8328 | #endif | 7366 | #endif |
8329 | 7367 | ||
8330 | int | ||
8331 | main () | ||
8332 | { | ||
8333 | return f != $ac_func; | ||
8334 | ; | 7368 | ; |
8335 | return 0; | 7369 | return 0; |
8336 | } | 7370 | } |
8337 | _ACEOF | 7371 | _ACEOF |
8338 | rm -f conftest.$ac_objext conftest$ac_exeext | 7372 | rm -f conftest.$ac_objext conftest$ac_exeext |
8339 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7373 | if { (eval echo "$as_me:7373: \"$ac_link\"") >&5 |
8340 | (eval $ac_link) 2>&5 | 7374 | (eval $ac_link) 2>&5 |
8341 | ac_status=$? | 7375 | ac_status=$? |
8342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7376 | echo "$as_me:7376: \$? = $ac_status" >&5 |
8343 | (exit $ac_status); } && | 7377 | (exit $ac_status); } && |
8344 | { ac_try='test -s conftest$ac_exeext' | 7378 | { ac_try='test -s conftest$ac_exeext' |
8345 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7379 | { (eval echo "$as_me:7379: \"$ac_try\"") >&5 |
8346 | (eval $ac_try) 2>&5 | 7380 | (eval $ac_try) 2>&5 |
8347 | ac_status=$? | 7381 | ac_status=$? |
8348 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7382 | echo "$as_me:7382: \$? = $ac_status" >&5 |
8349 | (exit $ac_status); }; }; then | 7383 | (exit $ac_status); }; }; then |
8350 | eval "$as_ac_var=yes" | 7384 | eval "$as_ac_var=yes" |
8351 | else | 7385 | else |
8352 | echo "$as_me: failed program was:" >&5 | 7386 | echo "$as_me: failed program was:" >&5 |
8353 | sed 's/^/| /' conftest.$ac_ext >&5 | 7387 | cat conftest.$ac_ext >&5 |
8354 | |||
8355 | eval "$as_ac_var=no" | 7388 | eval "$as_ac_var=no" |
8356 | fi | 7389 | fi |
8357 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7390 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8358 | fi | 7391 | fi |
8359 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7392 | echo "$as_me:7392: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8360 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7393 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8361 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7394 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8362 | cat >>confdefs.h <<_ACEOF | 7395 | cat >>confdefs.h <<EOF |
8363 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7396 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8364 | _ACEOF | 7397 | EOF |
8365 | 7398 | ||
8366 | fi | 7399 | fi |
8367 | done | 7400 | done |
8368 | 7401 | ||
8369 | |||
8370 | |||
8371 | |||
8372 | |||
8373 | |||
8374 | for ac_func in endutxent getutxent getutxid getutxline pututxline | 7402 | for ac_func in endutxent getutxent getutxid getutxline pututxline |
8375 | do | 7403 | do |
8376 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7404 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8377 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7405 | echo "$as_me:7405: checking for $ac_func" >&5 |
8378 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7406 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8379 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7407 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8380 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7408 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8381 | else | 7409 | else |
8382 | cat >conftest.$ac_ext <<_ACEOF | 7410 | cat >conftest.$ac_ext <<_ACEOF |
8383 | #line $LINENO "configure" | 7411 | #line 7411 "configure" |
8384 | /* confdefs.h. */ | 7412 | #include "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, | 7413 | /* System header to define __stub macros and hopefully few prototypes, |
8390 | which can conflict with char $ac_func (); below. | 7414 | which can conflict with char $ac_func (); below. */ |
8391 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7415 | #include <assert.h> |
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. */ | 7416 | /* Override any gcc2 internal prototype to avoid an error. */ |
8399 | #ifdef __cplusplus | 7417 | #ifdef __cplusplus |
8400 | extern "C" | 7418 | extern "C" |
8401 | { | ||
8402 | #endif | 7419 | #endif |
8403 | /* We use char because int might match the return type of a gcc2 | 7420 | /* We use char because int might match the return type of a gcc2 |
8404 | builtin and then its argument prototype would still apply. */ | 7421 | builtin and then its argument prototype would still apply. */ |
8405 | char $ac_func (); | 7422 | char $ac_func (); |
7423 | char (*f) (); | ||
7424 | |||
7425 | int | ||
7426 | main () | ||
7427 | { | ||
8406 | /* The GNU C library defines this for functions which it implements | 7428 | /* The GNU C library defines this for functions which it implements |
8407 | to always fail with ENOSYS. Some functions are actually named | 7429 | to always fail with ENOSYS. Some functions are actually named |
8408 | something starting with __ and the normal name is an alias. */ | 7430 | something starting with __ and the normal name is an alias. */ |
8409 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7431 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
8410 | choke me | 7432 | choke me |
8411 | #else | 7433 | #else |
8412 | char (*f) () = $ac_func; | 7434 | f = $ac_func; |
8413 | #endif | ||
8414 | #ifdef __cplusplus | ||
8415 | } | ||
8416 | #endif | 7435 | #endif |
8417 | 7436 | ||
8418 | int | ||
8419 | main () | ||
8420 | { | ||
8421 | return f != $ac_func; | ||
8422 | ; | 7437 | ; |
8423 | return 0; | 7438 | return 0; |
8424 | } | 7439 | } |
8425 | _ACEOF | 7440 | _ACEOF |
8426 | rm -f conftest.$ac_objext conftest$ac_exeext | 7441 | rm -f conftest.$ac_objext conftest$ac_exeext |
8427 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7442 | if { (eval echo "$as_me:7442: \"$ac_link\"") >&5 |
8428 | (eval $ac_link) 2>&5 | 7443 | (eval $ac_link) 2>&5 |
8429 | ac_status=$? | 7444 | ac_status=$? |
8430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7445 | echo "$as_me:7445: \$? = $ac_status" >&5 |
8431 | (exit $ac_status); } && | 7446 | (exit $ac_status); } && |
8432 | { ac_try='test -s conftest$ac_exeext' | 7447 | { ac_try='test -s conftest$ac_exeext' |
8433 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7448 | { (eval echo "$as_me:7448: \"$ac_try\"") >&5 |
8434 | (eval $ac_try) 2>&5 | 7449 | (eval $ac_try) 2>&5 |
8435 | ac_status=$? | 7450 | ac_status=$? |
8436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7451 | echo "$as_me:7451: \$? = $ac_status" >&5 |
8437 | (exit $ac_status); }; }; then | 7452 | (exit $ac_status); }; }; then |
8438 | eval "$as_ac_var=yes" | 7453 | eval "$as_ac_var=yes" |
8439 | else | 7454 | else |
8440 | echo "$as_me: failed program was:" >&5 | 7455 | echo "$as_me: failed program was:" >&5 |
8441 | sed 's/^/| /' conftest.$ac_ext >&5 | 7456 | cat conftest.$ac_ext >&5 |
8442 | |||
8443 | eval "$as_ac_var=no" | 7457 | eval "$as_ac_var=no" |
8444 | fi | 7458 | fi |
8445 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7459 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8446 | fi | 7460 | fi |
8447 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7461 | echo "$as_me:7461: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8448 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7462 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8449 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7463 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8450 | cat >>confdefs.h <<_ACEOF | 7464 | cat >>confdefs.h <<EOF |
8451 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7465 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8452 | _ACEOF | 7466 | EOF |
8453 | 7467 | ||
8454 | fi | 7468 | fi |
8455 | done | 7469 | done |
8456 | 7470 | ||
8457 | |||
8458 | |||
8459 | for ac_func in setutxent utmpxname | 7471 | for ac_func in setutxent utmpxname |
8460 | do | 7472 | do |
8461 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7473 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8462 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 7474 | echo "$as_me:7474: checking for $ac_func" >&5 |
8463 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 7475 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
8464 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 7476 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
8465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7477 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8466 | else | 7478 | else |
8467 | cat >conftest.$ac_ext <<_ACEOF | 7479 | cat >conftest.$ac_ext <<_ACEOF |
8468 | #line $LINENO "configure" | 7480 | #line 7480 "configure" |
8469 | /* confdefs.h. */ | 7481 | #include "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, | 7482 | /* System header to define __stub macros and hopefully few prototypes, |
8475 | which can conflict with char $ac_func (); below. | 7483 | which can conflict with char $ac_func (); below. */ |
8476 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7484 | #include <assert.h> |
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. */ | 7485 | /* Override any gcc2 internal prototype to avoid an error. */ |
8484 | #ifdef __cplusplus | 7486 | #ifdef __cplusplus |
8485 | extern "C" | 7487 | extern "C" |
8486 | { | ||
8487 | #endif | 7488 | #endif |
8488 | /* We use char because int might match the return type of a gcc2 | 7489 | /* We use char because int might match the return type of a gcc2 |
8489 | builtin and then its argument prototype would still apply. */ | 7490 | builtin and then its argument prototype would still apply. */ |
8490 | char $ac_func (); | 7491 | char $ac_func (); |
7492 | char (*f) (); | ||
7493 | |||
7494 | int | ||
7495 | main () | ||
7496 | { | ||
8491 | /* The GNU C library defines this for functions which it implements | 7497 | /* The GNU C library defines this for functions which it implements |
8492 | to always fail with ENOSYS. Some functions are actually named | 7498 | to always fail with ENOSYS. Some functions are actually named |
8493 | something starting with __ and the normal name is an alias. */ | 7499 | something starting with __ and the normal name is an alias. */ |
8494 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 7500 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
8495 | choke me | 7501 | choke me |
8496 | #else | 7502 | #else |
8497 | char (*f) () = $ac_func; | 7503 | f = $ac_func; |
8498 | #endif | ||
8499 | #ifdef __cplusplus | ||
8500 | } | ||
8501 | #endif | 7504 | #endif |
8502 | 7505 | ||
8503 | int | ||
8504 | main () | ||
8505 | { | ||
8506 | return f != $ac_func; | ||
8507 | ; | 7506 | ; |
8508 | return 0; | 7507 | return 0; |
8509 | } | 7508 | } |
8510 | _ACEOF | 7509 | _ACEOF |
8511 | rm -f conftest.$ac_objext conftest$ac_exeext | 7510 | rm -f conftest.$ac_objext conftest$ac_exeext |
8512 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7511 | if { (eval echo "$as_me:7511: \"$ac_link\"") >&5 |
8513 | (eval $ac_link) 2>&5 | 7512 | (eval $ac_link) 2>&5 |
8514 | ac_status=$? | 7513 | ac_status=$? |
8515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7514 | echo "$as_me:7514: \$? = $ac_status" >&5 |
8516 | (exit $ac_status); } && | 7515 | (exit $ac_status); } && |
8517 | { ac_try='test -s conftest$ac_exeext' | 7516 | { ac_try='test -s conftest$ac_exeext' |
8518 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7517 | { (eval echo "$as_me:7517: \"$ac_try\"") >&5 |
8519 | (eval $ac_try) 2>&5 | 7518 | (eval $ac_try) 2>&5 |
8520 | ac_status=$? | 7519 | ac_status=$? |
8521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7520 | echo "$as_me:7520: \$? = $ac_status" >&5 |
8522 | (exit $ac_status); }; }; then | 7521 | (exit $ac_status); }; }; then |
8523 | eval "$as_ac_var=yes" | 7522 | eval "$as_ac_var=yes" |
8524 | else | 7523 | else |
8525 | echo "$as_me: failed program was:" >&5 | 7524 | echo "$as_me: failed program was:" >&5 |
8526 | sed 's/^/| /' conftest.$ac_ext >&5 | 7525 | cat conftest.$ac_ext >&5 |
8527 | |||
8528 | eval "$as_ac_var=no" | 7526 | eval "$as_ac_var=no" |
8529 | fi | 7527 | fi |
8530 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7528 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8531 | fi | 7529 | fi |
8532 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 7530 | echo "$as_me:7530: result: `eval echo '${'$as_ac_var'}'`" >&5 |
8533 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 7531 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
8534 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 7532 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
8535 | cat >>confdefs.h <<_ACEOF | 7533 | cat >>confdefs.h <<EOF |
8536 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7534 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8537 | _ACEOF | 7535 | EOF |
8538 | 7536 | ||
8539 | fi | 7537 | fi |
8540 | done | 7538 | done |
8541 | 7539 | ||
8542 | 7540 | echo "$as_me:7540: checking for daemon" >&5 | |
8543 | echo "$as_me:$LINENO: checking for daemon" >&5 | ||
8544 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 | 7541 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6 |
8545 | if test "${ac_cv_func_daemon+set}" = set; then | 7542 | if test "${ac_cv_func_daemon+set}" = set; then |
8546 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7543 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8547 | else | 7544 | else |
8548 | cat >conftest.$ac_ext <<_ACEOF | 7545 | cat >conftest.$ac_ext <<_ACEOF |
8549 | #line $LINENO "configure" | 7546 | #line 7546 "configure" |
8550 | /* confdefs.h. */ | 7547 | #include "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, | 7548 | /* System header to define __stub macros and hopefully few prototypes, |
8556 | which can conflict with char daemon (); below. | 7549 | which can conflict with char daemon (); below. */ |
8557 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7550 | #include <assert.h> |
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. */ | 7551 | /* Override any gcc2 internal prototype to avoid an error. */ |
8565 | #ifdef __cplusplus | 7552 | #ifdef __cplusplus |
8566 | extern "C" | 7553 | extern "C" |
8567 | { | ||
8568 | #endif | 7554 | #endif |
8569 | /* We use char because int might match the return type of a gcc2 | 7555 | /* We use char because int might match the return type of a gcc2 |
8570 | builtin and then its argument prototype would still apply. */ | 7556 | builtin and then its argument prototype would still apply. */ |
8571 | char daemon (); | 7557 | char daemon (); |
7558 | char (*f) (); | ||
7559 | |||
7560 | int | ||
7561 | main () | ||
7562 | { | ||
8572 | /* The GNU C library defines this for functions which it implements | 7563 | /* The GNU C library defines this for functions which it implements |
8573 | to always fail with ENOSYS. Some functions are actually named | 7564 | to always fail with ENOSYS. Some functions are actually named |
8574 | something starting with __ and the normal name is an alias. */ | 7565 | something starting with __ and the normal name is an alias. */ |
8575 | #if defined (__stub_daemon) || defined (__stub___daemon) | 7566 | #if defined (__stub_daemon) || defined (__stub___daemon) |
8576 | choke me | 7567 | choke me |
8577 | #else | 7568 | #else |
8578 | char (*f) () = daemon; | 7569 | f = daemon; |
8579 | #endif | ||
8580 | #ifdef __cplusplus | ||
8581 | } | ||
8582 | #endif | 7570 | #endif |
8583 | 7571 | ||
8584 | int | ||
8585 | main () | ||
8586 | { | ||
8587 | return f != daemon; | ||
8588 | ; | 7572 | ; |
8589 | return 0; | 7573 | return 0; |
8590 | } | 7574 | } |
8591 | _ACEOF | 7575 | _ACEOF |
8592 | rm -f conftest.$ac_objext conftest$ac_exeext | 7576 | rm -f conftest.$ac_objext conftest$ac_exeext |
8593 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7577 | if { (eval echo "$as_me:7577: \"$ac_link\"") >&5 |
8594 | (eval $ac_link) 2>&5 | 7578 | (eval $ac_link) 2>&5 |
8595 | ac_status=$? | 7579 | ac_status=$? |
8596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7580 | echo "$as_me:7580: \$? = $ac_status" >&5 |
8597 | (exit $ac_status); } && | 7581 | (exit $ac_status); } && |
8598 | { ac_try='test -s conftest$ac_exeext' | 7582 | { ac_try='test -s conftest$ac_exeext' |
8599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7583 | { (eval echo "$as_me:7583: \"$ac_try\"") >&5 |
8600 | (eval $ac_try) 2>&5 | 7584 | (eval $ac_try) 2>&5 |
8601 | ac_status=$? | 7585 | ac_status=$? |
8602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7586 | echo "$as_me:7586: \$? = $ac_status" >&5 |
8603 | (exit $ac_status); }; }; then | 7587 | (exit $ac_status); }; }; then |
8604 | ac_cv_func_daemon=yes | 7588 | ac_cv_func_daemon=yes |
8605 | else | 7589 | else |
8606 | echo "$as_me: failed program was:" >&5 | 7590 | echo "$as_me: failed program was:" >&5 |
8607 | sed 's/^/| /' conftest.$ac_ext >&5 | 7591 | cat conftest.$ac_ext >&5 |
8608 | |||
8609 | ac_cv_func_daemon=no | 7592 | ac_cv_func_daemon=no |
8610 | fi | 7593 | fi |
8611 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7594 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8612 | fi | 7595 | fi |
8613 | echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | 7596 | echo "$as_me:7596: result: $ac_cv_func_daemon" >&5 |
8614 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 | 7597 | echo "${ECHO_T}$ac_cv_func_daemon" >&6 |
8615 | if test $ac_cv_func_daemon = yes; then | 7598 | if test $ac_cv_func_daemon = yes; then |
8616 | cat >>confdefs.h <<\_ACEOF | 7599 | cat >>confdefs.h <<\EOF |
8617 | #define HAVE_DAEMON 1 | 7600 | #define HAVE_DAEMON 1 |
8618 | _ACEOF | 7601 | EOF |
8619 | 7602 | ||
8620 | else | 7603 | else |
8621 | echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 | 7604 | echo "$as_me:7604: checking for daemon in -lbsd" >&5 |
8622 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 | 7605 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 |
8623 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | 7606 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then |
8624 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7607 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -8626,12 +7609,8 @@ else | |||
8626 | ac_check_lib_save_LIBS=$LIBS | 7609 | ac_check_lib_save_LIBS=$LIBS |
8627 | LIBS="-lbsd $LIBS" | 7610 | LIBS="-lbsd $LIBS" |
8628 | cat >conftest.$ac_ext <<_ACEOF | 7611 | cat >conftest.$ac_ext <<_ACEOF |
8629 | #line $LINENO "configure" | 7612 | #line 7612 "configure" |
8630 | /* confdefs.h. */ | 7613 | #include "confdefs.h" |
8631 | _ACEOF | ||
8632 | cat confdefs.h >>conftest.$ac_ext | ||
8633 | cat >>conftest.$ac_ext <<_ACEOF | ||
8634 | /* end confdefs.h. */ | ||
8635 | 7614 | ||
8636 | /* Override any gcc2 internal prototype to avoid an error. */ | 7615 | /* Override any gcc2 internal prototype to avoid an error. */ |
8637 | #ifdef __cplusplus | 7616 | #ifdef __cplusplus |
@@ -8649,119 +7628,102 @@ daemon (); | |||
8649 | } | 7628 | } |
8650 | _ACEOF | 7629 | _ACEOF |
8651 | rm -f conftest.$ac_objext conftest$ac_exeext | 7630 | rm -f conftest.$ac_objext conftest$ac_exeext |
8652 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7631 | if { (eval echo "$as_me:7631: \"$ac_link\"") >&5 |
8653 | (eval $ac_link) 2>&5 | 7632 | (eval $ac_link) 2>&5 |
8654 | ac_status=$? | 7633 | ac_status=$? |
8655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7634 | echo "$as_me:7634: \$? = $ac_status" >&5 |
8656 | (exit $ac_status); } && | 7635 | (exit $ac_status); } && |
8657 | { ac_try='test -s conftest$ac_exeext' | 7636 | { ac_try='test -s conftest$ac_exeext' |
8658 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7637 | { (eval echo "$as_me:7637: \"$ac_try\"") >&5 |
8659 | (eval $ac_try) 2>&5 | 7638 | (eval $ac_try) 2>&5 |
8660 | ac_status=$? | 7639 | ac_status=$? |
8661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7640 | echo "$as_me:7640: \$? = $ac_status" >&5 |
8662 | (exit $ac_status); }; }; then | 7641 | (exit $ac_status); }; }; then |
8663 | ac_cv_lib_bsd_daemon=yes | 7642 | ac_cv_lib_bsd_daemon=yes |
8664 | else | 7643 | else |
8665 | echo "$as_me: failed program was:" >&5 | 7644 | echo "$as_me: failed program was:" >&5 |
8666 | sed 's/^/| /' conftest.$ac_ext >&5 | 7645 | cat conftest.$ac_ext >&5 |
8667 | |||
8668 | ac_cv_lib_bsd_daemon=no | 7646 | ac_cv_lib_bsd_daemon=no |
8669 | fi | 7647 | fi |
8670 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7648 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8671 | LIBS=$ac_check_lib_save_LIBS | 7649 | LIBS=$ac_check_lib_save_LIBS |
8672 | fi | 7650 | fi |
8673 | echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 | 7651 | echo "$as_me:7651: result: $ac_cv_lib_bsd_daemon" >&5 |
8674 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 | 7652 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 |
8675 | if test $ac_cv_lib_bsd_daemon = yes; then | 7653 | if test $ac_cv_lib_bsd_daemon = yes; then |
8676 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF | 7654 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF |
8677 | #define HAVE_DAEMON 1 | 7655 | #define HAVE_DAEMON 1 |
8678 | _ACEOF | 7656 | EOF |
8679 | 7657 | ||
8680 | fi | 7658 | fi |
8681 | 7659 | ||
8682 | |||
8683 | fi | 7660 | fi |
8684 | 7661 | ||
8685 | 7662 | echo "$as_me:7662: checking for getpagesize" >&5 | |
8686 | echo "$as_me:$LINENO: checking for getpagesize" >&5 | ||
8687 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 | 7663 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 |
8688 | if test "${ac_cv_func_getpagesize+set}" = set; then | 7664 | if test "${ac_cv_func_getpagesize+set}" = set; then |
8689 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7665 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8690 | else | 7666 | else |
8691 | cat >conftest.$ac_ext <<_ACEOF | 7667 | cat >conftest.$ac_ext <<_ACEOF |
8692 | #line $LINENO "configure" | 7668 | #line 7668 "configure" |
8693 | /* confdefs.h. */ | 7669 | #include "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, | 7670 | /* System header to define __stub macros and hopefully few prototypes, |
8699 | which can conflict with char getpagesize (); below. | 7671 | which can conflict with char getpagesize (); below. */ |
8700 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 7672 | #include <assert.h> |
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. */ | 7673 | /* Override any gcc2 internal prototype to avoid an error. */ |
8708 | #ifdef __cplusplus | 7674 | #ifdef __cplusplus |
8709 | extern "C" | 7675 | extern "C" |
8710 | { | ||
8711 | #endif | 7676 | #endif |
8712 | /* We use char because int might match the return type of a gcc2 | 7677 | /* We use char because int might match the return type of a gcc2 |
8713 | builtin and then its argument prototype would still apply. */ | 7678 | builtin and then its argument prototype would still apply. */ |
8714 | char getpagesize (); | 7679 | char getpagesize (); |
7680 | char (*f) (); | ||
7681 | |||
7682 | int | ||
7683 | main () | ||
7684 | { | ||
8715 | /* The GNU C library defines this for functions which it implements | 7685 | /* The GNU C library defines this for functions which it implements |
8716 | to always fail with ENOSYS. Some functions are actually named | 7686 | to always fail with ENOSYS. Some functions are actually named |
8717 | something starting with __ and the normal name is an alias. */ | 7687 | something starting with __ and the normal name is an alias. */ |
8718 | #if defined (__stub_getpagesize) || defined (__stub___getpagesize) | 7688 | #if defined (__stub_getpagesize) || defined (__stub___getpagesize) |
8719 | choke me | 7689 | choke me |
8720 | #else | 7690 | #else |
8721 | char (*f) () = getpagesize; | 7691 | f = getpagesize; |
8722 | #endif | ||
8723 | #ifdef __cplusplus | ||
8724 | } | ||
8725 | #endif | 7692 | #endif |
8726 | 7693 | ||
8727 | int | ||
8728 | main () | ||
8729 | { | ||
8730 | return f != getpagesize; | ||
8731 | ; | 7694 | ; |
8732 | return 0; | 7695 | return 0; |
8733 | } | 7696 | } |
8734 | _ACEOF | 7697 | _ACEOF |
8735 | rm -f conftest.$ac_objext conftest$ac_exeext | 7698 | rm -f conftest.$ac_objext conftest$ac_exeext |
8736 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7699 | if { (eval echo "$as_me:7699: \"$ac_link\"") >&5 |
8737 | (eval $ac_link) 2>&5 | 7700 | (eval $ac_link) 2>&5 |
8738 | ac_status=$? | 7701 | ac_status=$? |
8739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7702 | echo "$as_me:7702: \$? = $ac_status" >&5 |
8740 | (exit $ac_status); } && | 7703 | (exit $ac_status); } && |
8741 | { ac_try='test -s conftest$ac_exeext' | 7704 | { ac_try='test -s conftest$ac_exeext' |
8742 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7705 | { (eval echo "$as_me:7705: \"$ac_try\"") >&5 |
8743 | (eval $ac_try) 2>&5 | 7706 | (eval $ac_try) 2>&5 |
8744 | ac_status=$? | 7707 | ac_status=$? |
8745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7708 | echo "$as_me:7708: \$? = $ac_status" >&5 |
8746 | (exit $ac_status); }; }; then | 7709 | (exit $ac_status); }; }; then |
8747 | ac_cv_func_getpagesize=yes | 7710 | ac_cv_func_getpagesize=yes |
8748 | else | 7711 | else |
8749 | echo "$as_me: failed program was:" >&5 | 7712 | echo "$as_me: failed program was:" >&5 |
8750 | sed 's/^/| /' conftest.$ac_ext >&5 | 7713 | cat conftest.$ac_ext >&5 |
8751 | |||
8752 | ac_cv_func_getpagesize=no | 7714 | ac_cv_func_getpagesize=no |
8753 | fi | 7715 | fi |
8754 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7716 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8755 | fi | 7717 | fi |
8756 | echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | 7718 | echo "$as_me:7718: result: $ac_cv_func_getpagesize" >&5 |
8757 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 | 7719 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 |
8758 | if test $ac_cv_func_getpagesize = yes; then | 7720 | if test $ac_cv_func_getpagesize = yes; then |
8759 | cat >>confdefs.h <<\_ACEOF | 7721 | cat >>confdefs.h <<\EOF |
8760 | #define HAVE_GETPAGESIZE 1 | 7722 | #define HAVE_GETPAGESIZE 1 |
8761 | _ACEOF | 7723 | EOF |
8762 | 7724 | ||
8763 | else | 7725 | else |
8764 | echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 | 7726 | echo "$as_me:7726: checking for getpagesize in -lucb" >&5 |
8765 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 | 7727 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 |
8766 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | 7728 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then |
8767 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7729 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -8769,12 +7731,8 @@ else | |||
8769 | ac_check_lib_save_LIBS=$LIBS | 7731 | ac_check_lib_save_LIBS=$LIBS |
8770 | LIBS="-lucb $LIBS" | 7732 | LIBS="-lucb $LIBS" |
8771 | cat >conftest.$ac_ext <<_ACEOF | 7733 | cat >conftest.$ac_ext <<_ACEOF |
8772 | #line $LINENO "configure" | 7734 | #line 7734 "configure" |
8773 | /* confdefs.h. */ | 7735 | #include "confdefs.h" |
8774 | _ACEOF | ||
8775 | cat confdefs.h >>conftest.$ac_ext | ||
8776 | cat >>conftest.$ac_ext <<_ACEOF | ||
8777 | /* end confdefs.h. */ | ||
8778 | 7736 | ||
8779 | /* Override any gcc2 internal prototype to avoid an error. */ | 7737 | /* Override any gcc2 internal prototype to avoid an error. */ |
8780 | #ifdef __cplusplus | 7738 | #ifdef __cplusplus |
@@ -8792,119 +7750,101 @@ getpagesize (); | |||
8792 | } | 7750 | } |
8793 | _ACEOF | 7751 | _ACEOF |
8794 | rm -f conftest.$ac_objext conftest$ac_exeext | 7752 | rm -f conftest.$ac_objext conftest$ac_exeext |
8795 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7753 | if { (eval echo "$as_me:7753: \"$ac_link\"") >&5 |
8796 | (eval $ac_link) 2>&5 | 7754 | (eval $ac_link) 2>&5 |
8797 | ac_status=$? | 7755 | ac_status=$? |
8798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7756 | echo "$as_me:7756: \$? = $ac_status" >&5 |
8799 | (exit $ac_status); } && | 7757 | (exit $ac_status); } && |
8800 | { ac_try='test -s conftest$ac_exeext' | 7758 | { ac_try='test -s conftest$ac_exeext' |
8801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7759 | { (eval echo "$as_me:7759: \"$ac_try\"") >&5 |
8802 | (eval $ac_try) 2>&5 | 7760 | (eval $ac_try) 2>&5 |
8803 | ac_status=$? | 7761 | ac_status=$? |
8804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7762 | echo "$as_me:7762: \$? = $ac_status" >&5 |
8805 | (exit $ac_status); }; }; then | 7763 | (exit $ac_status); }; }; then |
8806 | ac_cv_lib_ucb_getpagesize=yes | 7764 | ac_cv_lib_ucb_getpagesize=yes |
8807 | else | 7765 | else |
8808 | echo "$as_me: failed program was:" >&5 | 7766 | echo "$as_me: failed program was:" >&5 |
8809 | sed 's/^/| /' conftest.$ac_ext >&5 | 7767 | cat conftest.$ac_ext >&5 |
8810 | |||
8811 | ac_cv_lib_ucb_getpagesize=no | 7768 | ac_cv_lib_ucb_getpagesize=no |
8812 | fi | 7769 | fi |
8813 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7770 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
8814 | LIBS=$ac_check_lib_save_LIBS | 7771 | LIBS=$ac_check_lib_save_LIBS |
8815 | fi | 7772 | fi |
8816 | echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 | 7773 | echo "$as_me:7773: result: $ac_cv_lib_ucb_getpagesize" >&5 |
8817 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 | 7774 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 |
8818 | if test $ac_cv_lib_ucb_getpagesize = yes; then | 7775 | if test $ac_cv_lib_ucb_getpagesize = yes; then |
8819 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF | 7776 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF |
8820 | #define HAVE_GETPAGESIZE 1 | 7777 | #define HAVE_GETPAGESIZE 1 |
8821 | _ACEOF | 7778 | EOF |
8822 | 7779 | ||
8823 | fi | 7780 | fi |
8824 | 7781 | ||
8825 | |||
8826 | fi | 7782 | fi |
8827 | 7783 | ||
8828 | |||
8829 | # Check for broken snprintf | 7784 | # Check for broken snprintf |
8830 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | 7785 | if test "x$ac_cv_func_snprintf" = "xyes" ; then |
8831 | echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 | 7786 | echo "$as_me:7786: checking whether snprintf correctly terminates long strings" >&5 |
8832 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 | 7787 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 |
8833 | if test "$cross_compiling" = yes; then | 7788 | if test "$cross_compiling" = yes; then |
8834 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 7789 | { { echo "$as_me:7789: error: cannot run test program while cross compiling" >&5 |
8835 | See \`config.log' for more details." >&5 | 7790 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 7791 | { (exit 1); exit 1; }; } |
8839 | else | 7792 | else |
8840 | cat >conftest.$ac_ext <<_ACEOF | 7793 | cat >conftest.$ac_ext <<_ACEOF |
8841 | #line $LINENO "configure" | 7794 | #line 7794 "configure" |
8842 | /* confdefs.h. */ | 7795 | #include "confdefs.h" |
8843 | _ACEOF | ||
8844 | cat confdefs.h >>conftest.$ac_ext | ||
8845 | cat >>conftest.$ac_ext <<_ACEOF | ||
8846 | /* end confdefs.h. */ | ||
8847 | 7796 | ||
8848 | #include <stdio.h> | 7797 | #include <stdio.h> |
8849 | int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} | 7798 | int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} |
8850 | 7799 | ||
8851 | _ACEOF | 7800 | _ACEOF |
8852 | rm -f conftest$ac_exeext | 7801 | rm -f conftest$ac_exeext |
8853 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7802 | if { (eval echo "$as_me:7802: \"$ac_link\"") >&5 |
8854 | (eval $ac_link) 2>&5 | 7803 | (eval $ac_link) 2>&5 |
8855 | ac_status=$? | 7804 | ac_status=$? |
8856 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7805 | echo "$as_me:7805: \$? = $ac_status" >&5 |
8857 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7806 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7807 | { (eval echo "$as_me:7807: \"$ac_try\"") >&5 |
8859 | (eval $ac_try) 2>&5 | 7808 | (eval $ac_try) 2>&5 |
8860 | ac_status=$? | 7809 | ac_status=$? |
8861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7810 | echo "$as_me:7810: \$? = $ac_status" >&5 |
8862 | (exit $ac_status); }; }; then | 7811 | (exit $ac_status); }; }; then |
8863 | echo "$as_me:$LINENO: result: yes" >&5 | 7812 | echo "$as_me:7812: result: yes" >&5 |
8864 | echo "${ECHO_T}yes" >&6 | 7813 | echo "${ECHO_T}yes" >&6 |
8865 | else | 7814 | else |
8866 | echo "$as_me: program exited with status $ac_status" >&5 | 7815 | echo "$as_me: program exited with status $ac_status" >&5 |
8867 | echo "$as_me: failed program was:" >&5 | 7816 | echo "$as_me: failed program was:" >&5 |
8868 | sed 's/^/| /' conftest.$ac_ext >&5 | 7817 | cat conftest.$ac_ext >&5 |
8869 | |||
8870 | ( exit $ac_status ) | ||
8871 | 7818 | ||
8872 | echo "$as_me:$LINENO: result: no" >&5 | 7819 | echo "$as_me:7819: result: no" >&5 |
8873 | echo "${ECHO_T}no" >&6 | 7820 | echo "${ECHO_T}no" >&6 |
8874 | cat >>confdefs.h <<\_ACEOF | 7821 | cat >>confdefs.h <<\EOF |
8875 | #define BROKEN_SNPRINTF 1 | 7822 | #define BROKEN_SNPRINTF 1 |
8876 | _ACEOF | 7823 | EOF |
8877 | 7824 | ||
8878 | { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 | 7825 | { echo "$as_me:7825: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 |
8879 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | 7826 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} |
8880 | 7827 | ||
8881 | |||
8882 | fi | 7828 | fi |
8883 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7829 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8884 | fi | 7830 | fi |
8885 | fi | 7831 | fi |
8886 | 7832 | ||
8887 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | 7833 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then |
8888 | echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 | 7834 | echo "$as_me:7834: checking for (overly) strict mkstemp" >&5 |
8889 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 | 7835 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 |
8890 | if test "$cross_compiling" = yes; then | 7836 | if test "$cross_compiling" = yes; then |
8891 | 7837 | ||
8892 | echo "$as_me:$LINENO: result: yes" >&5 | 7838 | echo "$as_me:7838: result: yes" >&5 |
8893 | echo "${ECHO_T}yes" >&6 | 7839 | echo "${ECHO_T}yes" >&6 |
8894 | cat >>confdefs.h <<\_ACEOF | 7840 | cat >>confdefs.h <<\EOF |
8895 | #define HAVE_STRICT_MKSTEMP 1 | 7841 | #define HAVE_STRICT_MKSTEMP 1 |
8896 | _ACEOF | 7842 | EOF |
8897 | |||
8898 | |||
8899 | 7843 | ||
8900 | else | 7844 | else |
8901 | cat >conftest.$ac_ext <<_ACEOF | 7845 | cat >conftest.$ac_ext <<_ACEOF |
8902 | #line $LINENO "configure" | 7846 | #line 7846 "configure" |
8903 | /* confdefs.h. */ | 7847 | #include "confdefs.h" |
8904 | _ACEOF | ||
8905 | cat confdefs.h >>conftest.$ac_ext | ||
8906 | cat >>conftest.$ac_ext <<_ACEOF | ||
8907 | /* end confdefs.h. */ | ||
8908 | 7848 | ||
8909 | #include <stdlib.h> | 7849 | #include <stdlib.h> |
8910 | main() { char template[]="conftest.mkstemp-test"; | 7850 | main() { char template[]="conftest.mkstemp-test"; |
@@ -8915,52 +7855,121 @@ unlink(template); exit(0); | |||
8915 | 7855 | ||
8916 | _ACEOF | 7856 | _ACEOF |
8917 | rm -f conftest$ac_exeext | 7857 | rm -f conftest$ac_exeext |
8918 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7858 | if { (eval echo "$as_me:7858: \"$ac_link\"") >&5 |
8919 | (eval $ac_link) 2>&5 | 7859 | (eval $ac_link) 2>&5 |
8920 | ac_status=$? | 7860 | ac_status=$? |
8921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7861 | echo "$as_me:7861: \$? = $ac_status" >&5 |
8922 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7862 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8923 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7863 | { (eval echo "$as_me:7863: \"$ac_try\"") >&5 |
8924 | (eval $ac_try) 2>&5 | 7864 | (eval $ac_try) 2>&5 |
8925 | ac_status=$? | 7865 | ac_status=$? |
8926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7866 | echo "$as_me:7866: \$? = $ac_status" >&5 |
8927 | (exit $ac_status); }; }; then | 7867 | (exit $ac_status); }; }; then |
8928 | 7868 | ||
8929 | echo "$as_me:$LINENO: result: no" >&5 | 7869 | echo "$as_me:7869: result: no" >&5 |
8930 | echo "${ECHO_T}no" >&6 | 7870 | echo "${ECHO_T}no" >&6 |
8931 | 7871 | ||
8932 | else | 7872 | else |
8933 | echo "$as_me: program exited with status $ac_status" >&5 | 7873 | echo "$as_me: program exited with status $ac_status" >&5 |
8934 | echo "$as_me: failed program was:" >&5 | 7874 | echo "$as_me: failed program was:" >&5 |
8935 | sed 's/^/| /' conftest.$ac_ext >&5 | 7875 | cat conftest.$ac_ext >&5 |
8936 | 7876 | ||
8937 | ( exit $ac_status ) | 7877 | echo "$as_me:7877: result: yes" >&5 |
8938 | |||
8939 | echo "$as_me:$LINENO: result: yes" >&5 | ||
8940 | echo "${ECHO_T}yes" >&6 | 7878 | echo "${ECHO_T}yes" >&6 |
8941 | cat >>confdefs.h <<\_ACEOF | 7879 | cat >>confdefs.h <<\EOF |
8942 | #define HAVE_STRICT_MKSTEMP 1 | 7880 | #define HAVE_STRICT_MKSTEMP 1 |
7881 | EOF | ||
7882 | |||
7883 | fi | ||
7884 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
7885 | fi | ||
7886 | fi | ||
7887 | |||
7888 | if test ! -z "$check_for_openpty_ctty_bug"; then | ||
7889 | echo "$as_me:7889: checking if openpty correctly handles controlling tty" >&5 | ||
7890 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 | ||
7891 | if test "$cross_compiling" = yes; then | ||
7892 | { { echo "$as_me:7892: error: cannot run test program while cross compiling" >&5 | ||
7893 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | ||
7894 | { (exit 1); exit 1; }; } | ||
7895 | else | ||
7896 | cat >conftest.$ac_ext <<_ACEOF | ||
7897 | #line 7897 "configure" | ||
7898 | #include "confdefs.h" | ||
7899 | |||
7900 | #include <stdio.h> | ||
7901 | #include <sys/fcntl.h> | ||
7902 | #include <sys/types.h> | ||
7903 | #include <sys/wait.h> | ||
7904 | |||
7905 | int | ||
7906 | main() | ||
7907 | { | ||
7908 | pid_t pid; | ||
7909 | int fd, ptyfd, ttyfd, status; | ||
7910 | |||
7911 | pid = fork(); | ||
7912 | if (pid < 0) { /* failed */ | ||
7913 | exit(1); | ||
7914 | } else if (pid > 0) { /* parent */ | ||
7915 | waitpid(pid, &status, 0); | ||
7916 | if (WIFEXITED(status)) | ||
7917 | exit(WEXITSTATUS(status)); | ||
7918 | else | ||
7919 | exit(2); | ||
7920 | } else { /* child */ | ||
7921 | close(0); close(1); close(2); | ||
7922 | setsid(); | ||
7923 | openpty(&ptyfd, &ttyfd, NULL, NULL, NULL); | ||
7924 | fd = open("/dev/tty", O_RDWR | O_NOCTTY); | ||
7925 | if (fd >= 0) | ||
7926 | exit(3); /* Acquired ctty: broken */ | ||
7927 | else | ||
7928 | exit(0); /* Did not acquire ctty: OK */ | ||
7929 | } | ||
7930 | } | ||
7931 | |||
8943 | _ACEOF | 7932 | _ACEOF |
7933 | rm -f conftest$ac_exeext | ||
7934 | if { (eval echo "$as_me:7934: \"$ac_link\"") >&5 | ||
7935 | (eval $ac_link) 2>&5 | ||
7936 | ac_status=$? | ||
7937 | echo "$as_me:7937: \$? = $ac_status" >&5 | ||
7938 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
7939 | { (eval echo "$as_me:7939: \"$ac_try\"") >&5 | ||
7940 | (eval $ac_try) 2>&5 | ||
7941 | ac_status=$? | ||
7942 | echo "$as_me:7942: \$? = $ac_status" >&5 | ||
7943 | (exit $ac_status); }; }; then | ||
7944 | |||
7945 | echo "$as_me:7945: result: yes" >&5 | ||
7946 | echo "${ECHO_T}yes" >&6 | ||
8944 | 7947 | ||
7948 | else | ||
7949 | echo "$as_me: program exited with status $ac_status" >&5 | ||
7950 | echo "$as_me: failed program was:" >&5 | ||
7951 | cat conftest.$ac_ext >&5 | ||
7952 | |||
7953 | echo "$as_me:7953: result: no" >&5 | ||
7954 | echo "${ECHO_T}no" >&6 | ||
7955 | cat >>confdefs.h <<\EOF | ||
7956 | #define SSHD_ACQUIRES_CTTY 1 | ||
7957 | EOF | ||
8945 | 7958 | ||
8946 | fi | 7959 | fi |
8947 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7960 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8948 | fi | 7961 | fi |
8949 | fi | 7962 | fi |
8950 | 7963 | ||
8951 | echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 7964 | echo "$as_me:7964: checking whether getpgrp takes no argument" >&5 |
8952 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | 7965 | echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6 |
8953 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 7966 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
8954 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8955 | else | 7968 | else |
8956 | # Use it with a single arg. | 7969 | # Use it with a single arg. |
8957 | cat >conftest.$ac_ext <<_ACEOF | 7970 | cat >conftest.$ac_ext <<_ACEOF |
8958 | #line $LINENO "configure" | 7971 | #line 7971 "configure" |
8959 | /* confdefs.h. */ | 7972 | #include "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 | 7973 | $ac_includes_default |
8965 | int | 7974 | int |
8966 | main () | 7975 | main () |
@@ -8971,38 +7980,152 @@ getpgrp (0); | |||
8971 | } | 7980 | } |
8972 | _ACEOF | 7981 | _ACEOF |
8973 | rm -f conftest.$ac_objext | 7982 | rm -f conftest.$ac_objext |
8974 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7983 | if { (eval echo "$as_me:7983: \"$ac_compile\"") >&5 |
8975 | (eval $ac_compile) 2>&5 | 7984 | (eval $ac_compile) 2>&5 |
8976 | ac_status=$? | 7985 | ac_status=$? |
8977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7986 | echo "$as_me:7986: \$? = $ac_status" >&5 |
8978 | (exit $ac_status); } && | 7987 | (exit $ac_status); } && |
8979 | { ac_try='test -s conftest.$ac_objext' | 7988 | { ac_try='test -s conftest.$ac_objext' |
8980 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7989 | { (eval echo "$as_me:7989: \"$ac_try\"") >&5 |
8981 | (eval $ac_try) 2>&5 | 7990 | (eval $ac_try) 2>&5 |
8982 | ac_status=$? | 7991 | ac_status=$? |
8983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7992 | echo "$as_me:7992: \$? = $ac_status" >&5 |
8984 | (exit $ac_status); }; }; then | 7993 | (exit $ac_status); }; }; then |
8985 | ac_cv_func_getpgrp_void=no | 7994 | ac_func_getpgrp_1=yes |
8986 | else | 7995 | else |
8987 | echo "$as_me: failed program was:" >&5 | 7996 | echo "$as_me: failed program was:" >&5 |
8988 | sed 's/^/| /' conftest.$ac_ext >&5 | 7997 | cat conftest.$ac_ext >&5 |
8989 | 7998 | ac_func_getpgrp_1=no | |
8990 | ac_cv_func_getpgrp_void=yes | 7999 | fi |
8000 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
8001 | # Use it with no arg. | ||
8002 | cat >conftest.$ac_ext <<_ACEOF | ||
8003 | #line 8003 "configure" | ||
8004 | #include "confdefs.h" | ||
8005 | $ac_includes_default | ||
8006 | int | ||
8007 | main () | ||
8008 | { | ||
8009 | getpgrp (); | ||
8010 | ; | ||
8011 | return 0; | ||
8012 | } | ||
8013 | _ACEOF | ||
8014 | rm -f conftest.$ac_objext | ||
8015 | if { (eval echo "$as_me:8015: \"$ac_compile\"") >&5 | ||
8016 | (eval $ac_compile) 2>&5 | ||
8017 | ac_status=$? | ||
8018 | echo "$as_me:8018: \$? = $ac_status" >&5 | ||
8019 | (exit $ac_status); } && | ||
8020 | { ac_try='test -s conftest.$ac_objext' | ||
8021 | { (eval echo "$as_me:8021: \"$ac_try\"") >&5 | ||
8022 | (eval $ac_try) 2>&5 | ||
8023 | ac_status=$? | ||
8024 | echo "$as_me:8024: \$? = $ac_status" >&5 | ||
8025 | (exit $ac_status); }; }; then | ||
8026 | ac_func_getpgrp_0=yes | ||
8027 | else | ||
8028 | echo "$as_me: failed program was:" >&5 | ||
8029 | cat conftest.$ac_ext >&5 | ||
8030 | ac_func_getpgrp_0=no | ||
8991 | fi | 8031 | fi |
8992 | rm -f conftest.$ac_objext conftest.$ac_ext | 8032 | rm -f conftest.$ac_objext conftest.$ac_ext |
8033 | # If both static checks agree, we are done. | ||
8034 | case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in | ||
8035 | yes:no) ac_cv_func_getpgrp_void=yes;; | ||
8036 | no:yes) ac_cv_func_getpgrp_void=false;; | ||
8037 | *) if test "$cross_compiling" = yes; then | ||
8038 | { { echo "$as_me:8038: error: cannot check getpgrp if cross compiling" >&5 | ||
8039 | echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;} | ||
8040 | { (exit 1); exit 1; }; } | ||
8041 | else | ||
8042 | cat >conftest.$ac_ext <<_ACEOF | ||
8043 | #line 8043 "configure" | ||
8044 | #include "confdefs.h" | ||
8045 | $ac_includes_default | ||
8046 | |||
8047 | /* | ||
8048 | * If this system has a BSD-style getpgrp(), | ||
8049 | * which takes a pid argument, exit unsuccessfully. | ||
8050 | * | ||
8051 | * Snarfed from Chet Ramey's bash pgrp.c test program | ||
8052 | */ | ||
8053 | |||
8054 | int pid; | ||
8055 | int pg1, pg2, pg3, pg4; | ||
8056 | int ng, np, s, child; | ||
8057 | |||
8058 | int | ||
8059 | main () | ||
8060 | { | ||
8061 | pid = getpid (); | ||
8062 | pg1 = getpgrp (0); | ||
8063 | pg2 = getpgrp (); | ||
8064 | pg3 = getpgrp (pid); | ||
8065 | pg4 = getpgrp (1); | ||
8066 | |||
8067 | /* If all of these values are the same, it's pretty sure that we're | ||
8068 | on a system that ignores getpgrp's first argument. */ | ||
8069 | if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3) | ||
8070 | exit (0); | ||
8071 | |||
8072 | child = fork (); | ||
8073 | if (child < 0) | ||
8074 | exit(1); | ||
8075 | else if (child == 0) | ||
8076 | { | ||
8077 | np = getpid (); | ||
8078 | /* If this is Sys V, this will not work; pgrp will be set to np | ||
8079 | because setpgrp just changes a pgrp to be the same as the | ||
8080 | pid. */ | ||
8081 | setpgrp (np, pg1); | ||
8082 | ng = getpgrp (0); /* Same result for Sys V and BSD */ | ||
8083 | if (ng == pg1) | ||
8084 | exit (1); | ||
8085 | else | ||
8086 | exit (0); | ||
8087 | } | ||
8088 | else | ||
8089 | { | ||
8090 | wait (&s); | ||
8091 | exit (s>>8); | ||
8092 | } | ||
8093 | } | ||
8094 | |||
8095 | _ACEOF | ||
8096 | rm -f conftest$ac_exeext | ||
8097 | if { (eval echo "$as_me:8097: \"$ac_link\"") >&5 | ||
8098 | (eval $ac_link) 2>&5 | ||
8099 | ac_status=$? | ||
8100 | echo "$as_me:8100: \$? = $ac_status" >&5 | ||
8101 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
8102 | { (eval echo "$as_me:8102: \"$ac_try\"") >&5 | ||
8103 | (eval $ac_try) 2>&5 | ||
8104 | ac_status=$? | ||
8105 | echo "$as_me:8105: \$? = $ac_status" >&5 | ||
8106 | (exit $ac_status); }; }; then | ||
8107 | ac_cv_func_getpgrp_void=yes | ||
8108 | else | ||
8109 | echo "$as_me: program exited with status $ac_status" >&5 | ||
8110 | echo "$as_me: failed program was:" >&5 | ||
8111 | cat conftest.$ac_ext >&5 | ||
8112 | ac_cv_func_getpgrp_void=no | ||
8113 | fi | ||
8114 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | ||
8115 | fi;; | ||
8116 | esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1 | ||
8993 | 8117 | ||
8994 | fi | 8118 | fi |
8995 | echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 8119 | echo "$as_me:8119: result: $ac_cv_func_getpgrp_void" >&5 |
8996 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | 8120 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 |
8997 | if test $ac_cv_func_getpgrp_void = yes; then | 8121 | if test $ac_cv_func_getpgrp_void = yes; then |
8998 | 8122 | ||
8999 | cat >>confdefs.h <<\_ACEOF | 8123 | cat >>confdefs.h <<\EOF |
9000 | #define GETPGRP_VOID 1 | 8124 | #define GETPGRP_VOID 1 |
9001 | _ACEOF | 8125 | EOF |
9002 | 8126 | ||
9003 | fi | 8127 | fi |
9004 | 8128 | ||
9005 | |||
9006 | # Check for PAM libs | 8129 | # Check for PAM libs |
9007 | PAM_MSG="no" | 8130 | PAM_MSG="no" |
9008 | 8131 | ||
@@ -9012,13 +8135,12 @@ if test "${with_pam+set}" = set; then | |||
9012 | 8135 | ||
9013 | if test "x$withval" != "xno" ; then | 8136 | if test "x$withval" != "xno" ; then |
9014 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then | 8137 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" ; then |
9015 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 | 8138 | { { echo "$as_me:8138: error: PAM headers not found" >&5 |
9016 | echo "$as_me: error: PAM headers not found" >&2;} | 8139 | echo "$as_me: error: PAM headers not found" >&2;} |
9017 | { (exit 1); exit 1; }; } | 8140 | { (exit 1); exit 1; }; } |
9018 | fi | 8141 | fi |
9019 | 8142 | ||
9020 | 8143 | echo "$as_me:8143: checking for dlopen in -ldl" >&5 | |
9021 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | ||
9022 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 8144 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
9023 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 8145 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
9024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9026,12 +8148,8 @@ else | |||
9026 | ac_check_lib_save_LIBS=$LIBS | 8148 | ac_check_lib_save_LIBS=$LIBS |
9027 | LIBS="-ldl $LIBS" | 8149 | LIBS="-ldl $LIBS" |
9028 | cat >conftest.$ac_ext <<_ACEOF | 8150 | cat >conftest.$ac_ext <<_ACEOF |
9029 | #line $LINENO "configure" | 8151 | #line 8151 "configure" |
9030 | /* confdefs.h. */ | 8152 | #include "confdefs.h" |
9031 | _ACEOF | ||
9032 | cat confdefs.h >>conftest.$ac_ext | ||
9033 | cat >>conftest.$ac_ext <<_ACEOF | ||
9034 | /* end confdefs.h. */ | ||
9035 | 8153 | ||
9036 | /* Override any gcc2 internal prototype to avoid an error. */ | 8154 | /* Override any gcc2 internal prototype to avoid an error. */ |
9037 | #ifdef __cplusplus | 8155 | #ifdef __cplusplus |
@@ -9049,40 +8167,38 @@ dlopen (); | |||
9049 | } | 8167 | } |
9050 | _ACEOF | 8168 | _ACEOF |
9051 | rm -f conftest.$ac_objext conftest$ac_exeext | 8169 | rm -f conftest.$ac_objext conftest$ac_exeext |
9052 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8170 | if { (eval echo "$as_me:8170: \"$ac_link\"") >&5 |
9053 | (eval $ac_link) 2>&5 | 8171 | (eval $ac_link) 2>&5 |
9054 | ac_status=$? | 8172 | ac_status=$? |
9055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8173 | echo "$as_me:8173: \$? = $ac_status" >&5 |
9056 | (exit $ac_status); } && | 8174 | (exit $ac_status); } && |
9057 | { ac_try='test -s conftest$ac_exeext' | 8175 | { ac_try='test -s conftest$ac_exeext' |
9058 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8176 | { (eval echo "$as_me:8176: \"$ac_try\"") >&5 |
9059 | (eval $ac_try) 2>&5 | 8177 | (eval $ac_try) 2>&5 |
9060 | ac_status=$? | 8178 | ac_status=$? |
9061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8179 | echo "$as_me:8179: \$? = $ac_status" >&5 |
9062 | (exit $ac_status); }; }; then | 8180 | (exit $ac_status); }; }; then |
9063 | ac_cv_lib_dl_dlopen=yes | 8181 | ac_cv_lib_dl_dlopen=yes |
9064 | else | 8182 | else |
9065 | echo "$as_me: failed program was:" >&5 | 8183 | echo "$as_me: failed program was:" >&5 |
9066 | sed 's/^/| /' conftest.$ac_ext >&5 | 8184 | cat conftest.$ac_ext >&5 |
9067 | |||
9068 | ac_cv_lib_dl_dlopen=no | 8185 | ac_cv_lib_dl_dlopen=no |
9069 | fi | 8186 | fi |
9070 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8187 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9071 | LIBS=$ac_check_lib_save_LIBS | 8188 | LIBS=$ac_check_lib_save_LIBS |
9072 | fi | 8189 | fi |
9073 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 8190 | echo "$as_me:8190: result: $ac_cv_lib_dl_dlopen" >&5 |
9074 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 8191 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9075 | if test $ac_cv_lib_dl_dlopen = yes; then | 8192 | if test $ac_cv_lib_dl_dlopen = yes; then |
9076 | cat >>confdefs.h <<_ACEOF | 8193 | cat >>confdefs.h <<EOF |
9077 | #define HAVE_LIBDL 1 | 8194 | #define HAVE_LIBDL 1 |
9078 | _ACEOF | 8195 | EOF |
9079 | 8196 | ||
9080 | LIBS="-ldl $LIBS" | 8197 | LIBS="-ldl $LIBS" |
9081 | 8198 | ||
9082 | fi | 8199 | fi |
9083 | 8200 | ||
9084 | 8201 | echo "$as_me:8201: checking for pam_set_item in -lpam" >&5 | |
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 | 8202 | 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 | 8203 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then |
9088 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8204 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9090,12 +8206,8 @@ else | |||
9090 | ac_check_lib_save_LIBS=$LIBS | 8206 | ac_check_lib_save_LIBS=$LIBS |
9091 | LIBS="-lpam $LIBS" | 8207 | LIBS="-lpam $LIBS" |
9092 | cat >conftest.$ac_ext <<_ACEOF | 8208 | cat >conftest.$ac_ext <<_ACEOF |
9093 | #line $LINENO "configure" | 8209 | #line 8209 "configure" |
9094 | /* confdefs.h. */ | 8210 | #include "confdefs.h" |
9095 | _ACEOF | ||
9096 | cat confdefs.h >>conftest.$ac_ext | ||
9097 | cat >>conftest.$ac_ext <<_ACEOF | ||
9098 | /* end confdefs.h. */ | ||
9099 | 8211 | ||
9100 | /* Override any gcc2 internal prototype to avoid an error. */ | 8212 | /* Override any gcc2 internal prototype to avoid an error. */ |
9101 | #ifdef __cplusplus | 8213 | #ifdef __cplusplus |
@@ -9113,133 +8225,185 @@ pam_set_item (); | |||
9113 | } | 8225 | } |
9114 | _ACEOF | 8226 | _ACEOF |
9115 | rm -f conftest.$ac_objext conftest$ac_exeext | 8227 | rm -f conftest.$ac_objext conftest$ac_exeext |
9116 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8228 | if { (eval echo "$as_me:8228: \"$ac_link\"") >&5 |
9117 | (eval $ac_link) 2>&5 | 8229 | (eval $ac_link) 2>&5 |
9118 | ac_status=$? | 8230 | ac_status=$? |
9119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8231 | echo "$as_me:8231: \$? = $ac_status" >&5 |
9120 | (exit $ac_status); } && | 8232 | (exit $ac_status); } && |
9121 | { ac_try='test -s conftest$ac_exeext' | 8233 | { ac_try='test -s conftest$ac_exeext' |
9122 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8234 | { (eval echo "$as_me:8234: \"$ac_try\"") >&5 |
9123 | (eval $ac_try) 2>&5 | 8235 | (eval $ac_try) 2>&5 |
9124 | ac_status=$? | 8236 | ac_status=$? |
9125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8237 | echo "$as_me:8237: \$? = $ac_status" >&5 |
9126 | (exit $ac_status); }; }; then | 8238 | (exit $ac_status); }; }; then |
9127 | ac_cv_lib_pam_pam_set_item=yes | 8239 | ac_cv_lib_pam_pam_set_item=yes |
9128 | else | 8240 | else |
9129 | echo "$as_me: failed program was:" >&5 | 8241 | echo "$as_me: failed program was:" >&5 |
9130 | sed 's/^/| /' conftest.$ac_ext >&5 | 8242 | cat conftest.$ac_ext >&5 |
9131 | |||
9132 | ac_cv_lib_pam_pam_set_item=no | 8243 | ac_cv_lib_pam_pam_set_item=no |
9133 | fi | 8244 | fi |
9134 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8245 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9135 | LIBS=$ac_check_lib_save_LIBS | 8246 | LIBS=$ac_check_lib_save_LIBS |
9136 | fi | 8247 | fi |
9137 | echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | 8248 | echo "$as_me:8248: result: $ac_cv_lib_pam_pam_set_item" >&5 |
9138 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 | 8249 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 |
9139 | if test $ac_cv_lib_pam_pam_set_item = yes; then | 8250 | if test $ac_cv_lib_pam_pam_set_item = yes; then |
9140 | cat >>confdefs.h <<_ACEOF | 8251 | cat >>confdefs.h <<EOF |
9141 | #define HAVE_LIBPAM 1 | 8252 | #define HAVE_LIBPAM 1 |
9142 | _ACEOF | 8253 | EOF |
9143 | 8254 | ||
9144 | LIBS="-lpam $LIBS" | 8255 | LIBS="-lpam $LIBS" |
9145 | 8256 | ||
9146 | else | 8257 | else |
9147 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | 8258 | { { echo "$as_me:8258: error: *** libpam missing" >&5 |
9148 | echo "$as_me: error: *** libpam missing" >&2;} | 8259 | echo "$as_me: error: *** libpam missing" >&2;} |
9149 | { (exit 1); exit 1; }; } | 8260 | { (exit 1); exit 1; }; } |
9150 | fi | 8261 | fi |
9151 | 8262 | ||
9152 | |||
9153 | for ac_func in pam_getenvlist | 8263 | for ac_func in pam_getenvlist |
9154 | do | 8264 | do |
9155 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8265 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9156 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8266 | echo "$as_me:8266: checking for $ac_func" >&5 |
9157 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 8267 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9158 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 8268 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
9159 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8269 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9160 | else | 8270 | else |
9161 | cat >conftest.$ac_ext <<_ACEOF | 8271 | cat >conftest.$ac_ext <<_ACEOF |
9162 | #line $LINENO "configure" | 8272 | #line 8272 "configure" |
9163 | /* confdefs.h. */ | 8273 | #include "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, | 8274 | /* System header to define __stub macros and hopefully few prototypes, |
9169 | which can conflict with char $ac_func (); below. | 8275 | which can conflict with char $ac_func (); below. */ |
9170 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 8276 | #include <assert.h> |
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. */ | 8277 | /* Override any gcc2 internal prototype to avoid an error. */ |
9178 | #ifdef __cplusplus | 8278 | #ifdef __cplusplus |
9179 | extern "C" | 8279 | extern "C" |
9180 | { | ||
9181 | #endif | 8280 | #endif |
9182 | /* We use char because int might match the return type of a gcc2 | 8281 | /* We use char because int might match the return type of a gcc2 |
9183 | builtin and then its argument prototype would still apply. */ | 8282 | builtin and then its argument prototype would still apply. */ |
9184 | char $ac_func (); | 8283 | char $ac_func (); |
8284 | char (*f) (); | ||
8285 | |||
8286 | int | ||
8287 | main () | ||
8288 | { | ||
9185 | /* The GNU C library defines this for functions which it implements | 8289 | /* The GNU C library defines this for functions which it implements |
9186 | to always fail with ENOSYS. Some functions are actually named | 8290 | to always fail with ENOSYS. Some functions are actually named |
9187 | something starting with __ and the normal name is an alias. */ | 8291 | something starting with __ and the normal name is an alias. */ |
9188 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 8292 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9189 | choke me | 8293 | choke me |
9190 | #else | 8294 | #else |
9191 | char (*f) () = $ac_func; | 8295 | f = $ac_func; |
9192 | #endif | 8296 | #endif |
9193 | #ifdef __cplusplus | 8297 | |
8298 | ; | ||
8299 | return 0; | ||
9194 | } | 8300 | } |
8301 | _ACEOF | ||
8302 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8303 | if { (eval echo "$as_me:8303: \"$ac_link\"") >&5 | ||
8304 | (eval $ac_link) 2>&5 | ||
8305 | ac_status=$? | ||
8306 | echo "$as_me:8306: \$? = $ac_status" >&5 | ||
8307 | (exit $ac_status); } && | ||
8308 | { ac_try='test -s conftest$ac_exeext' | ||
8309 | { (eval echo "$as_me:8309: \"$ac_try\"") >&5 | ||
8310 | (eval $ac_try) 2>&5 | ||
8311 | ac_status=$? | ||
8312 | echo "$as_me:8312: \$? = $ac_status" >&5 | ||
8313 | (exit $ac_status); }; }; then | ||
8314 | eval "$as_ac_var=yes" | ||
8315 | else | ||
8316 | echo "$as_me: failed program was:" >&5 | ||
8317 | cat conftest.$ac_ext >&5 | ||
8318 | eval "$as_ac_var=no" | ||
8319 | fi | ||
8320 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
8321 | fi | ||
8322 | echo "$as_me:8322: result: `eval echo '${'$as_ac_var'}'`" >&5 | ||
8323 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | ||
8324 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8325 | cat >>confdefs.h <<EOF | ||
8326 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
8327 | EOF | ||
8328 | |||
8329 | fi | ||
8330 | done | ||
8331 | |||
8332 | for ac_func in pam_putenv | ||
8333 | do | ||
8334 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8335 | echo "$as_me:8335: checking for $ac_func" >&5 | ||
8336 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
8337 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
8338 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8339 | else | ||
8340 | cat >conftest.$ac_ext <<_ACEOF | ||
8341 | #line 8341 "configure" | ||
8342 | #include "confdefs.h" | ||
8343 | /* System header to define __stub macros and hopefully few prototypes, | ||
8344 | which can conflict with char $ac_func (); below. */ | ||
8345 | #include <assert.h> | ||
8346 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
8347 | #ifdef __cplusplus | ||
8348 | extern "C" | ||
9195 | #endif | 8349 | #endif |
8350 | /* We use char because int might match the return type of a gcc2 | ||
8351 | builtin and then its argument prototype would still apply. */ | ||
8352 | char $ac_func (); | ||
8353 | char (*f) (); | ||
9196 | 8354 | ||
9197 | int | 8355 | int |
9198 | main () | 8356 | main () |
9199 | { | 8357 | { |
9200 | return f != $ac_func; | 8358 | /* The GNU C library defines this for functions which it implements |
8359 | to always fail with ENOSYS. Some functions are actually named | ||
8360 | something starting with __ and the normal name is an alias. */ | ||
8361 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
8362 | choke me | ||
8363 | #else | ||
8364 | f = $ac_func; | ||
8365 | #endif | ||
8366 | |||
9201 | ; | 8367 | ; |
9202 | return 0; | 8368 | return 0; |
9203 | } | 8369 | } |
9204 | _ACEOF | 8370 | _ACEOF |
9205 | rm -f conftest.$ac_objext conftest$ac_exeext | 8371 | rm -f conftest.$ac_objext conftest$ac_exeext |
9206 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8372 | if { (eval echo "$as_me:8372: \"$ac_link\"") >&5 |
9207 | (eval $ac_link) 2>&5 | 8373 | (eval $ac_link) 2>&5 |
9208 | ac_status=$? | 8374 | ac_status=$? |
9209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8375 | echo "$as_me:8375: \$? = $ac_status" >&5 |
9210 | (exit $ac_status); } && | 8376 | (exit $ac_status); } && |
9211 | { ac_try='test -s conftest$ac_exeext' | 8377 | { ac_try='test -s conftest$ac_exeext' |
9212 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8378 | { (eval echo "$as_me:8378: \"$ac_try\"") >&5 |
9213 | (eval $ac_try) 2>&5 | 8379 | (eval $ac_try) 2>&5 |
9214 | ac_status=$? | 8380 | ac_status=$? |
9215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8381 | echo "$as_me:8381: \$? = $ac_status" >&5 |
9216 | (exit $ac_status); }; }; then | 8382 | (exit $ac_status); }; }; then |
9217 | eval "$as_ac_var=yes" | 8383 | eval "$as_ac_var=yes" |
9218 | else | 8384 | else |
9219 | echo "$as_me: failed program was:" >&5 | 8385 | echo "$as_me: failed program was:" >&5 |
9220 | sed 's/^/| /' conftest.$ac_ext >&5 | 8386 | cat conftest.$ac_ext >&5 |
9221 | |||
9222 | eval "$as_ac_var=no" | 8387 | eval "$as_ac_var=no" |
9223 | fi | 8388 | fi |
9224 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8389 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9225 | fi | 8390 | fi |
9226 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 8391 | echo "$as_me:8391: result: `eval echo '${'$as_ac_var'}'`" >&5 |
9227 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 8392 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
9228 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 8393 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
9229 | cat >>confdefs.h <<_ACEOF | 8394 | cat >>confdefs.h <<EOF |
9230 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8395 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9231 | _ACEOF | 8396 | EOF |
9232 | 8397 | ||
9233 | fi | 8398 | fi |
9234 | done | 8399 | done |
9235 | 8400 | ||
9236 | |||
9237 | disable_shadow=yes | 8401 | disable_shadow=yes |
9238 | PAM_MSG="yes" | 8402 | PAM_MSG="yes" |
9239 | 8403 | ||
9240 | cat >>confdefs.h <<\_ACEOF | 8404 | cat >>confdefs.h <<\EOF |
9241 | #define USE_PAM 1 | 8405 | #define USE_PAM 1 |
9242 | _ACEOF | 8406 | EOF |
9243 | 8407 | ||
9244 | if test $ac_cv_lib_dl_dlopen = yes; then | 8408 | if test $ac_cv_lib_dl_dlopen = yes; then |
9245 | LIBPAM="-lpam -ldl" | 8409 | LIBPAM="-lpam -ldl" |
@@ -9249,21 +8413,16 @@ _ACEOF | |||
9249 | 8413 | ||
9250 | fi | 8414 | fi |
9251 | 8415 | ||
9252 | |||
9253 | fi; | 8416 | fi; |
9254 | 8417 | ||
9255 | # Check for older PAM | 8418 | # Check for older PAM |
9256 | if test "x$PAM_MSG" = "xyes" ; then | 8419 | if test "x$PAM_MSG" = "xyes" ; then |
9257 | # Check PAM strerror arguments (old PAM) | 8420 | # Check PAM strerror arguments (old PAM) |
9258 | echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 | 8421 | echo "$as_me:8421: checking whether pam_strerror takes only one argument" >&5 |
9259 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 | 8422 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 |
9260 | cat >conftest.$ac_ext <<_ACEOF | 8423 | cat >conftest.$ac_ext <<_ACEOF |
9261 | #line $LINENO "configure" | 8424 | #line 8424 "configure" |
9262 | /* confdefs.h. */ | 8425 | #include "confdefs.h" |
9263 | _ACEOF | ||
9264 | cat confdefs.h >>conftest.$ac_ext | ||
9265 | cat >>conftest.$ac_ext <<_ACEOF | ||
9266 | /* end confdefs.h. */ | ||
9267 | 8426 | ||
9268 | #include <stdlib.h> | 8427 | #include <stdlib.h> |
9269 | #include <security/pam_appl.h> | 8428 | #include <security/pam_appl.h> |
@@ -9277,33 +8436,31 @@ main () | |||
9277 | } | 8436 | } |
9278 | _ACEOF | 8437 | _ACEOF |
9279 | rm -f conftest.$ac_objext | 8438 | rm -f conftest.$ac_objext |
9280 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8439 | if { (eval echo "$as_me:8439: \"$ac_compile\"") >&5 |
9281 | (eval $ac_compile) 2>&5 | 8440 | (eval $ac_compile) 2>&5 |
9282 | ac_status=$? | 8441 | ac_status=$? |
9283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8442 | echo "$as_me:8442: \$? = $ac_status" >&5 |
9284 | (exit $ac_status); } && | 8443 | (exit $ac_status); } && |
9285 | { ac_try='test -s conftest.$ac_objext' | 8444 | { ac_try='test -s conftest.$ac_objext' |
9286 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8445 | { (eval echo "$as_me:8445: \"$ac_try\"") >&5 |
9287 | (eval $ac_try) 2>&5 | 8446 | (eval $ac_try) 2>&5 |
9288 | ac_status=$? | 8447 | ac_status=$? |
9289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8448 | echo "$as_me:8448: \$? = $ac_status" >&5 |
9290 | (exit $ac_status); }; }; then | 8449 | (exit $ac_status); }; }; then |
9291 | echo "$as_me:$LINENO: result: no" >&5 | 8450 | echo "$as_me:8450: result: no" >&5 |
9292 | echo "${ECHO_T}no" >&6 | 8451 | echo "${ECHO_T}no" >&6 |
9293 | else | 8452 | else |
9294 | echo "$as_me: failed program was:" >&5 | 8453 | echo "$as_me: failed program was:" >&5 |
9295 | sed 's/^/| /' conftest.$ac_ext >&5 | 8454 | cat conftest.$ac_ext >&5 |
9296 | 8455 | ||
9297 | 8456 | cat >>confdefs.h <<\EOF | |
9298 | cat >>confdefs.h <<\_ACEOF | ||
9299 | #define HAVE_OLD_PAM 1 | 8457 | #define HAVE_OLD_PAM 1 |
9300 | _ACEOF | 8458 | EOF |
9301 | 8459 | ||
9302 | echo "$as_me:$LINENO: result: yes" >&5 | 8460 | echo "$as_me:8460: result: yes" >&5 |
9303 | echo "${ECHO_T}yes" >&6 | 8461 | echo "${ECHO_T}yes" >&6 |
9304 | PAM_MSG="yes (old library)" | 8462 | PAM_MSG="yes (old library)" |
9305 | 8463 | ||
9306 | |||
9307 | fi | 8464 | fi |
9308 | rm -f conftest.$ac_objext conftest.$ac_ext | 8465 | rm -f conftest.$ac_objext conftest.$ac_ext |
9309 | fi | 8466 | fi |
@@ -9312,7 +8469,7 @@ fi | |||
9312 | # because the system crypt() is more featureful. | 8469 | # because the system crypt() is more featureful. |
9313 | if test "x$check_for_libcrypt_before" = "x1"; then | 8470 | if test "x$check_for_libcrypt_before" = "x1"; then |
9314 | 8471 | ||
9315 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 8472 | echo "$as_me:8472: checking for crypt in -lcrypt" >&5 |
9316 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | 8473 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
9317 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 8474 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
9318 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8475 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9320,12 +8477,8 @@ else | |||
9320 | ac_check_lib_save_LIBS=$LIBS | 8477 | ac_check_lib_save_LIBS=$LIBS |
9321 | LIBS="-lcrypt $LIBS" | 8478 | LIBS="-lcrypt $LIBS" |
9322 | cat >conftest.$ac_ext <<_ACEOF | 8479 | cat >conftest.$ac_ext <<_ACEOF |
9323 | #line $LINENO "configure" | 8480 | #line 8480 "configure" |
9324 | /* confdefs.h. */ | 8481 | #include "confdefs.h" |
9325 | _ACEOF | ||
9326 | cat confdefs.h >>conftest.$ac_ext | ||
9327 | cat >>conftest.$ac_ext <<_ACEOF | ||
9328 | /* end confdefs.h. */ | ||
9329 | 8482 | ||
9330 | /* Override any gcc2 internal prototype to avoid an error. */ | 8483 | /* Override any gcc2 internal prototype to avoid an error. */ |
9331 | #ifdef __cplusplus | 8484 | #ifdef __cplusplus |
@@ -9343,33 +8496,32 @@ crypt (); | |||
9343 | } | 8496 | } |
9344 | _ACEOF | 8497 | _ACEOF |
9345 | rm -f conftest.$ac_objext conftest$ac_exeext | 8498 | rm -f conftest.$ac_objext conftest$ac_exeext |
9346 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8499 | if { (eval echo "$as_me:8499: \"$ac_link\"") >&5 |
9347 | (eval $ac_link) 2>&5 | 8500 | (eval $ac_link) 2>&5 |
9348 | ac_status=$? | 8501 | ac_status=$? |
9349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8502 | echo "$as_me:8502: \$? = $ac_status" >&5 |
9350 | (exit $ac_status); } && | 8503 | (exit $ac_status); } && |
9351 | { ac_try='test -s conftest$ac_exeext' | 8504 | { ac_try='test -s conftest$ac_exeext' |
9352 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8505 | { (eval echo "$as_me:8505: \"$ac_try\"") >&5 |
9353 | (eval $ac_try) 2>&5 | 8506 | (eval $ac_try) 2>&5 |
9354 | ac_status=$? | 8507 | ac_status=$? |
9355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8508 | echo "$as_me:8508: \$? = $ac_status" >&5 |
9356 | (exit $ac_status); }; }; then | 8509 | (exit $ac_status); }; }; then |
9357 | ac_cv_lib_crypt_crypt=yes | 8510 | ac_cv_lib_crypt_crypt=yes |
9358 | else | 8511 | else |
9359 | echo "$as_me: failed program was:" >&5 | 8512 | echo "$as_me: failed program was:" >&5 |
9360 | sed 's/^/| /' conftest.$ac_ext >&5 | 8513 | cat conftest.$ac_ext >&5 |
9361 | |||
9362 | ac_cv_lib_crypt_crypt=no | 8514 | ac_cv_lib_crypt_crypt=no |
9363 | fi | 8515 | fi |
9364 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8516 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9365 | LIBS=$ac_check_lib_save_LIBS | 8517 | LIBS=$ac_check_lib_save_LIBS |
9366 | fi | 8518 | fi |
9367 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 8519 | echo "$as_me:8519: result: $ac_cv_lib_crypt_crypt" >&5 |
9368 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | 8520 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
9369 | if test $ac_cv_lib_crypt_crypt = yes; then | 8521 | if test $ac_cv_lib_crypt_crypt = yes; then |
9370 | cat >>confdefs.h <<_ACEOF | 8522 | cat >>confdefs.h <<EOF |
9371 | #define HAVE_LIBCRYPT 1 | 8523 | #define HAVE_LIBCRYPT 1 |
9372 | _ACEOF | 8524 | EOF |
9373 | 8525 | ||
9374 | LIBS="-lcrypt $LIBS" | 8526 | LIBS="-lcrypt $LIBS" |
9375 | 8527 | ||
@@ -9406,16 +8558,11 @@ if test "${with_ssl_dir+set}" = set; then | |||
9406 | fi | 8558 | fi |
9407 | fi | 8559 | fi |
9408 | 8560 | ||
9409 | |||
9410 | fi; | 8561 | fi; |
9411 | LIBS="$LIBS -lcrypto" | 8562 | LIBS="$LIBS -lcrypto" |
9412 | cat >conftest.$ac_ext <<_ACEOF | 8563 | cat >conftest.$ac_ext <<_ACEOF |
9413 | #line $LINENO "configure" | 8564 | #line 8564 "configure" |
9414 | /* confdefs.h. */ | 8565 | #include "confdefs.h" |
9415 | _ACEOF | ||
9416 | cat confdefs.h >>conftest.$ac_ext | ||
9417 | cat >>conftest.$ac_ext <<_ACEOF | ||
9418 | /* end confdefs.h. */ | ||
9419 | 8566 | ||
9420 | /* Override any gcc2 internal prototype to avoid an error. */ | 8567 | /* Override any gcc2 internal prototype to avoid an error. */ |
9421 | #ifdef __cplusplus | 8568 | #ifdef __cplusplus |
@@ -9433,25 +8580,24 @@ RAND_add (); | |||
9433 | } | 8580 | } |
9434 | _ACEOF | 8581 | _ACEOF |
9435 | rm -f conftest.$ac_objext conftest$ac_exeext | 8582 | rm -f conftest.$ac_objext conftest$ac_exeext |
9436 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8583 | if { (eval echo "$as_me:8583: \"$ac_link\"") >&5 |
9437 | (eval $ac_link) 2>&5 | 8584 | (eval $ac_link) 2>&5 |
9438 | ac_status=$? | 8585 | ac_status=$? |
9439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8586 | echo "$as_me:8586: \$? = $ac_status" >&5 |
9440 | (exit $ac_status); } && | 8587 | (exit $ac_status); } && |
9441 | { ac_try='test -s conftest$ac_exeext' | 8588 | { ac_try='test -s conftest$ac_exeext' |
9442 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8589 | { (eval echo "$as_me:8589: \"$ac_try\"") >&5 |
9443 | (eval $ac_try) 2>&5 | 8590 | (eval $ac_try) 2>&5 |
9444 | ac_status=$? | 8591 | ac_status=$? |
9445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8592 | echo "$as_me:8592: \$? = $ac_status" >&5 |
9446 | (exit $ac_status); }; }; then | 8593 | (exit $ac_status); }; }; then |
9447 | cat >>confdefs.h <<\_ACEOF | 8594 | cat >>confdefs.h <<\EOF |
9448 | #define HAVE_OPENSSL 1 | 8595 | #define HAVE_OPENSSL 1 |
9449 | _ACEOF | 8596 | EOF |
9450 | 8597 | ||
9451 | else | 8598 | else |
9452 | echo "$as_me: failed program was:" >&5 | 8599 | echo "$as_me: failed program was:" >&5 |
9453 | sed 's/^/| /' conftest.$ac_ext >&5 | 8600 | cat conftest.$ac_ext >&5 |
9454 | |||
9455 | 8601 | ||
9456 | if test -n "${need_dash_r}"; then | 8602 | if test -n "${need_dash_r}"; then |
9457 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | 8603 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" |
@@ -9460,12 +8606,8 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
9460 | fi | 8606 | fi |
9461 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | 8607 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" |
9462 | cat >conftest.$ac_ext <<_ACEOF | 8608 | cat >conftest.$ac_ext <<_ACEOF |
9463 | #line $LINENO "configure" | 8609 | #line 8609 "configure" |
9464 | /* confdefs.h. */ | 8610 | #include "confdefs.h" |
9465 | _ACEOF | ||
9466 | cat confdefs.h >>conftest.$ac_ext | ||
9467 | cat >>conftest.$ac_ext <<_ACEOF | ||
9468 | /* end confdefs.h. */ | ||
9469 | 8611 | ||
9470 | /* Override any gcc2 internal prototype to avoid an error. */ | 8612 | /* Override any gcc2 internal prototype to avoid an error. */ |
9471 | #ifdef __cplusplus | 8613 | #ifdef __cplusplus |
@@ -9483,55 +8625,46 @@ RAND_add (); | |||
9483 | } | 8625 | } |
9484 | _ACEOF | 8626 | _ACEOF |
9485 | rm -f conftest.$ac_objext conftest$ac_exeext | 8627 | rm -f conftest.$ac_objext conftest$ac_exeext |
9486 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8628 | if { (eval echo "$as_me:8628: \"$ac_link\"") >&5 |
9487 | (eval $ac_link) 2>&5 | 8629 | (eval $ac_link) 2>&5 |
9488 | ac_status=$? | 8630 | ac_status=$? |
9489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8631 | echo "$as_me:8631: \$? = $ac_status" >&5 |
9490 | (exit $ac_status); } && | 8632 | (exit $ac_status); } && |
9491 | { ac_try='test -s conftest$ac_exeext' | 8633 | { ac_try='test -s conftest$ac_exeext' |
9492 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8634 | { (eval echo "$as_me:8634: \"$ac_try\"") >&5 |
9493 | (eval $ac_try) 2>&5 | 8635 | (eval $ac_try) 2>&5 |
9494 | ac_status=$? | 8636 | ac_status=$? |
9495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8637 | echo "$as_me:8637: \$? = $ac_status" >&5 |
9496 | (exit $ac_status); }; }; then | 8638 | (exit $ac_status); }; }; then |
9497 | cat >>confdefs.h <<\_ACEOF | 8639 | cat >>confdefs.h <<\EOF |
9498 | #define HAVE_OPENSSL 1 | 8640 | #define HAVE_OPENSSL 1 |
9499 | _ACEOF | 8641 | EOF |
9500 | 8642 | ||
9501 | else | 8643 | else |
9502 | echo "$as_me: failed program was:" >&5 | 8644 | echo "$as_me: failed program was:" >&5 |
9503 | sed 's/^/| /' conftest.$ac_ext >&5 | 8645 | cat conftest.$ac_ext >&5 |
9504 | 8646 | ||
9505 | 8647 | { { echo "$as_me:8647: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 | |
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;} | 8648 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} |
9508 | { (exit 1); exit 1; }; } | 8649 | { (exit 1); exit 1; }; } |
9509 | 8650 | ||
9510 | |||
9511 | fi | 8651 | fi |
9512 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8652 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9513 | 8653 | ||
9514 | |||
9515 | fi | 8654 | fi |
9516 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8655 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9517 | 8656 | ||
9518 | # Determine OpenSSL header version | 8657 | # Determine OpenSSL header version |
9519 | echo "$as_me:$LINENO: checking OpenSSL header version" >&5 | 8658 | echo "$as_me:8658: checking OpenSSL header version" >&5 |
9520 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 | 8659 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 |
9521 | if test "$cross_compiling" = yes; then | 8660 | if test "$cross_compiling" = yes; then |
9522 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 8661 | { { echo "$as_me:8661: error: cannot run test program while cross compiling" >&5 |
9523 | See \`config.log' for more details." >&5 | 8662 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 8663 | { (exit 1); exit 1; }; } |
9527 | else | 8664 | else |
9528 | cat >conftest.$ac_ext <<_ACEOF | 8665 | cat >conftest.$ac_ext <<_ACEOF |
9529 | #line $LINENO "configure" | 8666 | #line 8666 "configure" |
9530 | /* confdefs.h. */ | 8667 | #include "confdefs.h" |
9531 | _ACEOF | ||
9532 | cat confdefs.h >>conftest.$ac_ext | ||
9533 | cat >>conftest.$ac_ext <<_ACEOF | ||
9534 | /* end confdefs.h. */ | ||
9535 | 8668 | ||
9536 | #include <stdio.h> | 8669 | #include <stdio.h> |
9537 | #include <string.h> | 8670 | #include <string.h> |
@@ -9553,56 +8686,47 @@ int main(void) { | |||
9553 | 8686 | ||
9554 | _ACEOF | 8687 | _ACEOF |
9555 | rm -f conftest$ac_exeext | 8688 | rm -f conftest$ac_exeext |
9556 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8689 | if { (eval echo "$as_me:8689: \"$ac_link\"") >&5 |
9557 | (eval $ac_link) 2>&5 | 8690 | (eval $ac_link) 2>&5 |
9558 | ac_status=$? | 8691 | ac_status=$? |
9559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8692 | echo "$as_me:8692: \$? = $ac_status" >&5 |
9560 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8693 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9561 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8694 | { (eval echo "$as_me:8694: \"$ac_try\"") >&5 |
9562 | (eval $ac_try) 2>&5 | 8695 | (eval $ac_try) 2>&5 |
9563 | ac_status=$? | 8696 | ac_status=$? |
9564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8697 | echo "$as_me:8697: \$? = $ac_status" >&5 |
9565 | (exit $ac_status); }; }; then | 8698 | (exit $ac_status); }; }; then |
9566 | 8699 | ||
9567 | ssl_header_ver=`cat conftest.sslincver` | 8700 | ssl_header_ver=`cat conftest.sslincver` |
9568 | echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 | 8701 | echo "$as_me:8701: result: $ssl_header_ver" >&5 |
9569 | echo "${ECHO_T}$ssl_header_ver" >&6 | 8702 | echo "${ECHO_T}$ssl_header_ver" >&6 |
9570 | 8703 | ||
9571 | else | 8704 | else |
9572 | echo "$as_me: program exited with status $ac_status" >&5 | 8705 | echo "$as_me: program exited with status $ac_status" >&5 |
9573 | echo "$as_me: failed program was:" >&5 | 8706 | echo "$as_me: failed program was:" >&5 |
9574 | sed 's/^/| /' conftest.$ac_ext >&5 | 8707 | cat conftest.$ac_ext >&5 |
9575 | 8708 | ||
9576 | ( exit $ac_status ) | 8709 | echo "$as_me:8709: result: not found" >&5 |
9577 | |||
9578 | echo "$as_me:$LINENO: result: not found" >&5 | ||
9579 | echo "${ECHO_T}not found" >&6 | 8710 | echo "${ECHO_T}not found" >&6 |
9580 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 | 8711 | { { echo "$as_me:8711: error: OpenSSL version header not found." >&5 |
9581 | echo "$as_me: error: OpenSSL version header not found." >&2;} | 8712 | echo "$as_me: error: OpenSSL version header not found." >&2;} |
9582 | { (exit 1); exit 1; }; } | 8713 | { (exit 1); exit 1; }; } |
9583 | 8714 | ||
9584 | |||
9585 | fi | 8715 | fi |
9586 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8716 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9587 | fi | 8717 | fi |
9588 | 8718 | ||
9589 | # Determine OpenSSL library version | 8719 | # Determine OpenSSL library version |
9590 | echo "$as_me:$LINENO: checking OpenSSL library version" >&5 | 8720 | echo "$as_me:8720: checking OpenSSL library version" >&5 |
9591 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 | 8721 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 |
9592 | if test "$cross_compiling" = yes; then | 8722 | if test "$cross_compiling" = yes; then |
9593 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 8723 | { { echo "$as_me:8723: error: cannot run test program while cross compiling" >&5 |
9594 | See \`config.log' for more details." >&5 | 8724 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 8725 | { (exit 1); exit 1; }; } |
9598 | else | 8726 | else |
9599 | cat >conftest.$ac_ext <<_ACEOF | 8727 | cat >conftest.$ac_ext <<_ACEOF |
9600 | #line $LINENO "configure" | 8728 | #line 8728 "configure" |
9601 | /* confdefs.h. */ | 8729 | #include "confdefs.h" |
9602 | _ACEOF | ||
9603 | cat confdefs.h >>conftest.$ac_ext | ||
9604 | cat >>conftest.$ac_ext <<_ACEOF | ||
9605 | /* end confdefs.h. */ | ||
9606 | 8730 | ||
9607 | #include <stdio.h> | 8731 | #include <stdio.h> |
9608 | #include <string.h> | 8732 | #include <string.h> |
@@ -9625,56 +8749,47 @@ int main(void) { | |||
9625 | 8749 | ||
9626 | _ACEOF | 8750 | _ACEOF |
9627 | rm -f conftest$ac_exeext | 8751 | rm -f conftest$ac_exeext |
9628 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8752 | if { (eval echo "$as_me:8752: \"$ac_link\"") >&5 |
9629 | (eval $ac_link) 2>&5 | 8753 | (eval $ac_link) 2>&5 |
9630 | ac_status=$? | 8754 | ac_status=$? |
9631 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8755 | echo "$as_me:8755: \$? = $ac_status" >&5 |
9632 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8756 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9633 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8757 | { (eval echo "$as_me:8757: \"$ac_try\"") >&5 |
9634 | (eval $ac_try) 2>&5 | 8758 | (eval $ac_try) 2>&5 |
9635 | ac_status=$? | 8759 | ac_status=$? |
9636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8760 | echo "$as_me:8760: \$? = $ac_status" >&5 |
9637 | (exit $ac_status); }; }; then | 8761 | (exit $ac_status); }; }; then |
9638 | 8762 | ||
9639 | ssl_library_ver=`cat conftest.ssllibver` | 8763 | ssl_library_ver=`cat conftest.ssllibver` |
9640 | echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 | 8764 | echo "$as_me:8764: result: $ssl_library_ver" >&5 |
9641 | echo "${ECHO_T}$ssl_library_ver" >&6 | 8765 | echo "${ECHO_T}$ssl_library_ver" >&6 |
9642 | 8766 | ||
9643 | else | 8767 | else |
9644 | echo "$as_me: program exited with status $ac_status" >&5 | 8768 | echo "$as_me: program exited with status $ac_status" >&5 |
9645 | echo "$as_me: failed program was:" >&5 | 8769 | echo "$as_me: failed program was:" >&5 |
9646 | sed 's/^/| /' conftest.$ac_ext >&5 | 8770 | cat conftest.$ac_ext >&5 |
9647 | |||
9648 | ( exit $ac_status ) | ||
9649 | 8771 | ||
9650 | echo "$as_me:$LINENO: result: not found" >&5 | 8772 | echo "$as_me:8772: result: not found" >&5 |
9651 | echo "${ECHO_T}not found" >&6 | 8773 | echo "${ECHO_T}not found" >&6 |
9652 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 | 8774 | { { echo "$as_me:8774: error: OpenSSL library not found." >&5 |
9653 | echo "$as_me: error: OpenSSL library not found." >&2;} | 8775 | echo "$as_me: error: OpenSSL library not found." >&2;} |
9654 | { (exit 1); exit 1; }; } | 8776 | { (exit 1); exit 1; }; } |
9655 | 8777 | ||
9656 | |||
9657 | fi | 8778 | fi |
9658 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8779 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9659 | fi | 8780 | fi |
9660 | 8781 | ||
9661 | # Sanity check OpenSSL headers | 8782 | # Sanity check OpenSSL headers |
9662 | echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | 8783 | echo "$as_me:8783: checking whether OpenSSL's headers match the library" >&5 |
9663 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 | 8784 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 |
9664 | if test "$cross_compiling" = yes; then | 8785 | if test "$cross_compiling" = yes; then |
9665 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 8786 | { { echo "$as_me:8786: error: cannot run test program while cross compiling" >&5 |
9666 | See \`config.log' for more details." >&5 | 8787 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 8788 | { (exit 1); exit 1; }; } |
9670 | else | 8789 | else |
9671 | cat >conftest.$ac_ext <<_ACEOF | 8790 | cat >conftest.$ac_ext <<_ACEOF |
9672 | #line $LINENO "configure" | 8791 | #line 8791 "configure" |
9673 | /* confdefs.h. */ | 8792 | #include "confdefs.h" |
9674 | _ACEOF | ||
9675 | cat confdefs.h >>conftest.$ac_ext | ||
9676 | cat >>conftest.$ac_ext <<_ACEOF | ||
9677 | /* end confdefs.h. */ | ||
9678 | 8793 | ||
9679 | #include <string.h> | 8794 | #include <string.h> |
9680 | #include <openssl/opensslv.h> | 8795 | #include <openssl/opensslv.h> |
@@ -9682,42 +8797,43 @@ int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); } | |||
9682 | 8797 | ||
9683 | _ACEOF | 8798 | _ACEOF |
9684 | rm -f conftest$ac_exeext | 8799 | rm -f conftest$ac_exeext |
9685 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8800 | if { (eval echo "$as_me:8800: \"$ac_link\"") >&5 |
9686 | (eval $ac_link) 2>&5 | 8801 | (eval $ac_link) 2>&5 |
9687 | ac_status=$? | 8802 | ac_status=$? |
9688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8803 | echo "$as_me:8803: \$? = $ac_status" >&5 |
9689 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8804 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9690 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8805 | { (eval echo "$as_me:8805: \"$ac_try\"") >&5 |
9691 | (eval $ac_try) 2>&5 | 8806 | (eval $ac_try) 2>&5 |
9692 | ac_status=$? | 8807 | ac_status=$? |
9693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8808 | echo "$as_me:8808: \$? = $ac_status" >&5 |
9694 | (exit $ac_status); }; }; then | 8809 | (exit $ac_status); }; }; then |
9695 | 8810 | ||
9696 | echo "$as_me:$LINENO: result: yes" >&5 | 8811 | echo "$as_me:8811: result: yes" >&5 |
9697 | echo "${ECHO_T}yes" >&6 | 8812 | echo "${ECHO_T}yes" >&6 |
9698 | 8813 | ||
9699 | else | 8814 | else |
9700 | echo "$as_me: program exited with status $ac_status" >&5 | 8815 | echo "$as_me: program exited with status $ac_status" >&5 |
9701 | echo "$as_me: failed program was:" >&5 | 8816 | echo "$as_me: failed program was:" >&5 |
9702 | sed 's/^/| /' conftest.$ac_ext >&5 | 8817 | cat conftest.$ac_ext >&5 |
9703 | 8818 | ||
9704 | ( exit $ac_status ) | 8819 | echo "$as_me:8819: result: no" >&5 |
9705 | |||
9706 | echo "$as_me:$LINENO: result: no" >&5 | ||
9707 | echo "${ECHO_T}no" >&6 | 8820 | echo "${ECHO_T}no" >&6 |
9708 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library" >&5 | 8821 | { { echo "$as_me:8821: error: Your OpenSSL headers do not match your library. |
9709 | echo "$as_me: error: Your OpenSSL headers do not match your library" >&2;} | 8822 | Check config.log for details. |
8823 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | ||
8824 | echo "$as_me: error: Your OpenSSL headers do not match your library. | ||
8825 | Check config.log for details. | ||
8826 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | ||
9710 | { (exit 1); exit 1; }; } | 8827 | { (exit 1); exit 1; }; } |
9711 | 8828 | ||
9712 | |||
9713 | fi | 8829 | fi |
9714 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8830 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9715 | fi | 8831 | fi |
9716 | 8832 | ||
9717 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | 8833 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the |
9718 | # version in OpenSSL. Skip this for PAM | 8834 | # version in OpenSSL. Skip this for PAM |
9719 | if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then | 8835 | if test "x$check_for_libcrypt_later" = "x1"; then |
9720 | echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 8836 | echo "$as_me:8836: checking for crypt in -lcrypt" >&5 |
9721 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 | 8837 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 |
9722 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 8838 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
9723 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8839 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -9725,12 +8841,8 @@ else | |||
9725 | ac_check_lib_save_LIBS=$LIBS | 8841 | ac_check_lib_save_LIBS=$LIBS |
9726 | LIBS="-lcrypt $LIBS" | 8842 | LIBS="-lcrypt $LIBS" |
9727 | cat >conftest.$ac_ext <<_ACEOF | 8843 | cat >conftest.$ac_ext <<_ACEOF |
9728 | #line $LINENO "configure" | 8844 | #line 8844 "configure" |
9729 | /* confdefs.h. */ | 8845 | #include "confdefs.h" |
9730 | _ACEOF | ||
9731 | cat confdefs.h >>conftest.$ac_ext | ||
9732 | cat >>conftest.$ac_ext <<_ACEOF | ||
9733 | /* end confdefs.h. */ | ||
9734 | 8846 | ||
9735 | /* Override any gcc2 internal prototype to avoid an error. */ | 8847 | /* Override any gcc2 internal prototype to avoid an error. */ |
9736 | #ifdef __cplusplus | 8848 | #ifdef __cplusplus |
@@ -9748,28 +8860,27 @@ crypt (); | |||
9748 | } | 8860 | } |
9749 | _ACEOF | 8861 | _ACEOF |
9750 | rm -f conftest.$ac_objext conftest$ac_exeext | 8862 | rm -f conftest.$ac_objext conftest$ac_exeext |
9751 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8863 | if { (eval echo "$as_me:8863: \"$ac_link\"") >&5 |
9752 | (eval $ac_link) 2>&5 | 8864 | (eval $ac_link) 2>&5 |
9753 | ac_status=$? | 8865 | ac_status=$? |
9754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8866 | echo "$as_me:8866: \$? = $ac_status" >&5 |
9755 | (exit $ac_status); } && | 8867 | (exit $ac_status); } && |
9756 | { ac_try='test -s conftest$ac_exeext' | 8868 | { ac_try='test -s conftest$ac_exeext' |
9757 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8869 | { (eval echo "$as_me:8869: \"$ac_try\"") >&5 |
9758 | (eval $ac_try) 2>&5 | 8870 | (eval $ac_try) 2>&5 |
9759 | ac_status=$? | 8871 | ac_status=$? |
9760 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8872 | echo "$as_me:8872: \$? = $ac_status" >&5 |
9761 | (exit $ac_status); }; }; then | 8873 | (exit $ac_status); }; }; then |
9762 | ac_cv_lib_crypt_crypt=yes | 8874 | ac_cv_lib_crypt_crypt=yes |
9763 | else | 8875 | else |
9764 | echo "$as_me: failed program was:" >&5 | 8876 | echo "$as_me: failed program was:" >&5 |
9765 | sed 's/^/| /' conftest.$ac_ext >&5 | 8877 | cat conftest.$ac_ext >&5 |
9766 | |||
9767 | ac_cv_lib_crypt_crypt=no | 8878 | ac_cv_lib_crypt_crypt=no |
9768 | fi | 8879 | fi |
9769 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8880 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9770 | LIBS=$ac_check_lib_save_LIBS | 8881 | LIBS=$ac_check_lib_save_LIBS |
9771 | fi | 8882 | fi |
9772 | echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 8883 | echo "$as_me:8883: result: $ac_cv_lib_crypt_crypt" >&5 |
9773 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 | 8884 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 |
9774 | if test $ac_cv_lib_crypt_crypt = yes; then | 8885 | if test $ac_cv_lib_crypt_crypt = yes; then |
9775 | LIBS="$LIBS -lcrypt" | 8886 | LIBS="$LIBS -lcrypt" |
@@ -9777,26 +8888,19 @@ fi | |||
9777 | 8888 | ||
9778 | fi | 8889 | fi |
9779 | 8890 | ||
9780 | |||
9781 | ### Configure cryptographic random number support | 8891 | ### Configure cryptographic random number support |
9782 | 8892 | ||
9783 | # Check wheter OpenSSL seeds itself | 8893 | # Check wheter OpenSSL seeds itself |
9784 | echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 | 8894 | echo "$as_me:8894: checking whether OpenSSL's PRNG is internally seeded" >&5 |
9785 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 | 8895 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 |
9786 | if test "$cross_compiling" = yes; then | 8896 | if test "$cross_compiling" = yes; then |
9787 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 8897 | { { echo "$as_me:8897: error: cannot run test program while cross compiling" >&5 |
9788 | See \`config.log' for more details." >&5 | 8898 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 8899 | { (exit 1); exit 1; }; } |
9792 | else | 8900 | else |
9793 | cat >conftest.$ac_ext <<_ACEOF | 8901 | cat >conftest.$ac_ext <<_ACEOF |
9794 | #line $LINENO "configure" | 8902 | #line 8902 "configure" |
9795 | /* confdefs.h. */ | 8903 | #include "confdefs.h" |
9796 | _ACEOF | ||
9797 | cat confdefs.h >>conftest.$ac_ext | ||
9798 | cat >>conftest.$ac_ext <<_ACEOF | ||
9799 | /* end confdefs.h. */ | ||
9800 | 8904 | ||
9801 | #include <string.h> | 8905 | #include <string.h> |
9802 | #include <openssl/rand.h> | 8906 | #include <openssl/rand.h> |
@@ -9804,40 +8908,36 @@ int main(void) { exit(RAND_status() == 1 ? 0 : 1); } | |||
9804 | 8908 | ||
9805 | _ACEOF | 8909 | _ACEOF |
9806 | rm -f conftest$ac_exeext | 8910 | rm -f conftest$ac_exeext |
9807 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8911 | if { (eval echo "$as_me:8911: \"$ac_link\"") >&5 |
9808 | (eval $ac_link) 2>&5 | 8912 | (eval $ac_link) 2>&5 |
9809 | ac_status=$? | 8913 | ac_status=$? |
9810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8914 | echo "$as_me:8914: \$? = $ac_status" >&5 |
9811 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 8915 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9812 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8916 | { (eval echo "$as_me:8916: \"$ac_try\"") >&5 |
9813 | (eval $ac_try) 2>&5 | 8917 | (eval $ac_try) 2>&5 |
9814 | ac_status=$? | 8918 | ac_status=$? |
9815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8919 | echo "$as_me:8919: \$? = $ac_status" >&5 |
9816 | (exit $ac_status); }; }; then | 8920 | (exit $ac_status); }; }; then |
9817 | 8921 | ||
9818 | OPENSSL_SEEDS_ITSELF=yes | 8922 | OPENSSL_SEEDS_ITSELF=yes |
9819 | echo "$as_me:$LINENO: result: yes" >&5 | 8923 | echo "$as_me:8923: result: yes" >&5 |
9820 | echo "${ECHO_T}yes" >&6 | 8924 | echo "${ECHO_T}yes" >&6 |
9821 | 8925 | ||
9822 | else | 8926 | else |
9823 | echo "$as_me: program exited with status $ac_status" >&5 | 8927 | echo "$as_me: program exited with status $ac_status" >&5 |
9824 | echo "$as_me: failed program was:" >&5 | 8928 | echo "$as_me: failed program was:" >&5 |
9825 | sed 's/^/| /' conftest.$ac_ext >&5 | 8929 | cat conftest.$ac_ext >&5 |
9826 | 8930 | ||
9827 | ( exit $ac_status ) | 8931 | echo "$as_me:8931: result: no" >&5 |
9828 | |||
9829 | echo "$as_me:$LINENO: result: no" >&5 | ||
9830 | echo "${ECHO_T}no" >&6 | 8932 | echo "${ECHO_T}no" >&6 |
9831 | # Default to use of the rand helper if OpenSSL doesn't | 8933 | # Default to use of the rand helper if OpenSSL doesn't |
9832 | # seed itself | 8934 | # seed itself |
9833 | USE_RAND_HELPER=yes | 8935 | USE_RAND_HELPER=yes |
9834 | 8936 | ||
9835 | |||
9836 | fi | 8937 | fi |
9837 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8938 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9838 | fi | 8939 | fi |
9839 | 8940 | ||
9840 | |||
9841 | # Do we want to force the use of the rand helper? | 8941 | # Do we want to force the use of the rand helper? |
9842 | 8942 | ||
9843 | # Check whether --with-rand-helper or --without-rand-helper was given. | 8943 | # Check whether --with-rand-helper or --without-rand-helper was given. |
@@ -9848,7 +8948,7 @@ if test "${with_rand_helper+set}" = set; then | |||
9848 | # Force use of OpenSSL's internal RNG, even if | 8948 | # Force use of OpenSSL's internal RNG, even if |
9849 | # the previous test showed it to be unseeded. | 8949 | # the previous test showed it to be unseeded. |
9850 | if test -z "$OPENSSL_SEEDS_ITSELF" ; then | 8950 | if test -z "$OPENSSL_SEEDS_ITSELF" ; then |
9851 | { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 | 8951 | { echo "$as_me:8951: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 |
9852 | echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} | 8952 | echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} |
9853 | OPENSSL_SEEDS_ITSELF=yes | 8953 | OPENSSL_SEEDS_ITSELF=yes |
9854 | USE_RAND_HELPER="" | 8954 | USE_RAND_HELPER="" |
@@ -9862,9 +8962,9 @@ fi; | |||
9862 | # Which randomness source do we use? | 8962 | # Which randomness source do we use? |
9863 | if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then | 8963 | if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then |
9864 | # OpenSSL only | 8964 | # OpenSSL only |
9865 | cat >>confdefs.h <<\_ACEOF | 8965 | cat >>confdefs.h <<\EOF |
9866 | #define OPENSSL_PRNG_ONLY 1 | 8966 | #define OPENSSL_PRNG_ONLY 1 |
9867 | _ACEOF | 8967 | EOF |
9868 | 8968 | ||
9869 | RAND_MSG="OpenSSL internal ONLY" | 8969 | RAND_MSG="OpenSSL internal ONLY" |
9870 | INSTALL_SSH_RAND_HELPER="" | 8970 | INSTALL_SSH_RAND_HELPER="" |
@@ -9874,7 +8974,6 @@ elif test ! -z "$USE_RAND_HELPER" ; then | |||
9874 | INSTALL_SSH_RAND_HELPER="yes" | 8974 | INSTALL_SSH_RAND_HELPER="yes" |
9875 | fi | 8975 | fi |
9876 | 8976 | ||
9877 | |||
9878 | ### Configuration of ssh-rand-helper | 8977 | ### Configuration of ssh-rand-helper |
9879 | 8978 | ||
9880 | # PRNGD TCP socket | 8979 | # PRNGD TCP socket |
@@ -9890,20 +8989,19 @@ if test "${with_prngd_port+set}" = set; then | |||
9890 | [0-9]*) | 8989 | [0-9]*) |
9891 | ;; | 8990 | ;; |
9892 | *) | 8991 | *) |
9893 | { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 | 8992 | { { echo "$as_me:8992: error: You must specify a numeric port number for --with-prngd-port" >&5 |
9894 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} | 8993 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} |
9895 | { (exit 1); exit 1; }; } | 8994 | { (exit 1); exit 1; }; } |
9896 | ;; | 8995 | ;; |
9897 | esac | 8996 | esac |
9898 | if test ! -z "$withval" ; then | 8997 | if test ! -z "$withval" ; then |
9899 | PRNGD_PORT="$withval" | 8998 | PRNGD_PORT="$withval" |
9900 | cat >>confdefs.h <<_ACEOF | 8999 | cat >>confdefs.h <<EOF |
9901 | #define PRNGD_PORT $PRNGD_PORT | 9000 | #define PRNGD_PORT $PRNGD_PORT |
9902 | _ACEOF | 9001 | EOF |
9903 | 9002 | ||
9904 | fi | 9003 | fi |
9905 | 9004 | ||
9906 | |||
9907 | fi; | 9005 | fi; |
9908 | 9006 | ||
9909 | # PRNGD Unix domain socket | 9007 | # PRNGD Unix domain socket |
@@ -9922,7 +9020,7 @@ if test "${with_prngd_socket+set}" = set; then | |||
9922 | /*) | 9020 | /*) |
9923 | ;; | 9021 | ;; |
9924 | *) | 9022 | *) |
9925 | { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 | 9023 | { { echo "$as_me:9023: error: You must specify an absolute path to the entropy socket" >&5 |
9926 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} | 9024 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} |
9927 | { (exit 1); exit 1; }; } | 9025 | { (exit 1); exit 1; }; } |
9928 | ;; | 9026 | ;; |
@@ -9930,18 +9028,18 @@ echo "$as_me: error: You must specify an absolute path to the entropy socket" >& | |||
9930 | 9028 | ||
9931 | if test ! -z "$withval" ; then | 9029 | if test ! -z "$withval" ; then |
9932 | if test ! -z "$PRNGD_PORT" ; then | 9030 | if test ! -z "$PRNGD_PORT" ; then |
9933 | { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 | 9031 | { { echo "$as_me:9031: error: You may not specify both a PRNGD/EGD port and socket" >&5 |
9934 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} | 9032 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} |
9935 | { (exit 1); exit 1; }; } | 9033 | { (exit 1); exit 1; }; } |
9936 | fi | 9034 | fi |
9937 | if test ! -r "$withval" ; then | 9035 | if test ! -r "$withval" ; then |
9938 | { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 | 9036 | { echo "$as_me:9036: WARNING: Entropy socket is not readable" >&5 |
9939 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | 9037 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} |
9940 | fi | 9038 | fi |
9941 | PRNGD_SOCKET="$withval" | 9039 | PRNGD_SOCKET="$withval" |
9942 | cat >>confdefs.h <<_ACEOF | 9040 | cat >>confdefs.h <<EOF |
9943 | #define PRNGD_SOCKET "$PRNGD_SOCKET" | 9041 | #define PRNGD_SOCKET "$PRNGD_SOCKET" |
9944 | _ACEOF | 9042 | EOF |
9945 | 9043 | ||
9946 | fi | 9044 | fi |
9947 | 9045 | ||
@@ -9949,29 +9047,28 @@ else | |||
9949 | 9047 | ||
9950 | # Check for existing socket only if we don't have a random device already | 9048 | # Check for existing socket only if we don't have a random device already |
9951 | if test "$USE_RAND_HELPER" = yes ; then | 9049 | if test "$USE_RAND_HELPER" = yes ; then |
9952 | echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 | 9050 | echo "$as_me:9050: checking for PRNGD/EGD socket" >&5 |
9953 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 | 9051 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 |
9954 | # Insert other locations here | 9052 | # Insert other locations here |
9955 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | 9053 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do |
9956 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then | 9054 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then |
9957 | PRNGD_SOCKET="$sock" | 9055 | PRNGD_SOCKET="$sock" |
9958 | cat >>confdefs.h <<_ACEOF | 9056 | cat >>confdefs.h <<EOF |
9959 | #define PRNGD_SOCKET "$PRNGD_SOCKET" | 9057 | #define PRNGD_SOCKET "$PRNGD_SOCKET" |
9960 | _ACEOF | 9058 | EOF |
9961 | 9059 | ||
9962 | break; | 9060 | break; |
9963 | fi | 9061 | fi |
9964 | done | 9062 | done |
9965 | if test ! -z "$PRNGD_SOCKET" ; then | 9063 | if test ! -z "$PRNGD_SOCKET" ; then |
9966 | echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 | 9064 | echo "$as_me:9064: result: $PRNGD_SOCKET" >&5 |
9967 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 | 9065 | echo "${ECHO_T}$PRNGD_SOCKET" >&6 |
9968 | else | 9066 | else |
9969 | echo "$as_me:$LINENO: result: not found" >&5 | 9067 | echo "$as_me:9067: result: not found" >&5 |
9970 | echo "${ECHO_T}not found" >&6 | 9068 | echo "${ECHO_T}not found" >&6 |
9971 | fi | 9069 | fi |
9972 | fi | 9070 | fi |
9973 | 9071 | ||
9974 | |||
9975 | fi; | 9072 | fi; |
9976 | 9073 | ||
9977 | # Change default command timeout for hashing entropy source | 9074 | # Change default command timeout for hashing entropy source |
@@ -9985,12 +9082,10 @@ if test "${with_entropy_timeout+set}" = set; then | |||
9985 | entropy_timeout=$withval | 9082 | entropy_timeout=$withval |
9986 | fi | 9083 | fi |
9987 | 9084 | ||
9988 | |||
9989 | fi; | 9085 | fi; |
9990 | cat >>confdefs.h <<_ACEOF | 9086 | cat >>confdefs.h <<EOF |
9991 | #define ENTROPY_TIMEOUT_MSEC $entropy_timeout | 9087 | #define ENTROPY_TIMEOUT_MSEC $entropy_timeout |
9992 | _ACEOF | 9088 | EOF |
9993 | |||
9994 | 9089 | ||
9995 | SSH_PRIVSEP_USER=sshd | 9090 | SSH_PRIVSEP_USER=sshd |
9996 | 9091 | ||
@@ -10002,13 +9097,10 @@ if test "${with_privsep_user+set}" = set; then | |||
10002 | SSH_PRIVSEP_USER=$withval | 9097 | SSH_PRIVSEP_USER=$withval |
10003 | fi | 9098 | fi |
10004 | 9099 | ||
10005 | |||
10006 | fi; | 9100 | fi; |
10007 | cat >>confdefs.h <<_ACEOF | 9101 | cat >>confdefs.h <<EOF |
10008 | #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" | 9102 | #define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" |
10009 | _ACEOF | 9103 | EOF |
10010 | |||
10011 | |||
10012 | 9104 | ||
10013 | # We do this little dance with the search path to insure | 9105 | # We do this little dance with the search path to insure |
10014 | # that programs that we select for use by installed programs | 9106 | # that programs that we select for use by installed programs |
@@ -10028,7 +9120,7 @@ PATH=$PATH:/etc:$OPATH | |||
10028 | 9120 | ||
10029 | # Extract the first word of "ls", so it can be a program name with args. | 9121 | # Extract the first word of "ls", so it can be a program name with args. |
10030 | set dummy ls; ac_word=$2 | 9122 | set dummy ls; ac_word=$2 |
10031 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9123 | echo "$as_me:9123: checking for $ac_word" >&5 |
10032 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9124 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10033 | if test "${ac_cv_path_PROG_LS+set}" = set; then | 9125 | if test "${ac_cv_path_PROG_LS+set}" = set; then |
10034 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9126 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10038,18 +9130,16 @@ else | |||
10038 | ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path. | 9130 | ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path. |
10039 | ;; | 9131 | ;; |
10040 | *) | 9132 | *) |
10041 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9133 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10042 | for as_dir in $PATH | 9134 | ac_dummy="$PATH" |
10043 | do | 9135 | for ac_dir in $ac_dummy; do |
10044 | IFS=$as_save_IFS | 9136 | IFS=$ac_save_IFS |
10045 | test -z "$as_dir" && as_dir=. | 9137 | test -z "$ac_dir" && ac_dir=. |
10046 | for ac_exec_ext in '' $ac_executable_extensions; do | 9138 | if $as_executable_p "$ac_dir/$ac_word"; then |
10047 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9139 | ac_cv_path_PROG_LS="$ac_dir/$ac_word" |
10048 | ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" | 9140 | echo "$as_me:9140: found $ac_dir/$ac_word" >&5 |
10049 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9141 | break |
10050 | break 2 | 9142 | fi |
10051 | fi | ||
10052 | done | ||
10053 | done | 9143 | done |
10054 | 9144 | ||
10055 | ;; | 9145 | ;; |
@@ -10058,10 +9148,10 @@ fi | |||
10058 | PROG_LS=$ac_cv_path_PROG_LS | 9148 | PROG_LS=$ac_cv_path_PROG_LS |
10059 | 9149 | ||
10060 | if test -n "$PROG_LS"; then | 9150 | if test -n "$PROG_LS"; then |
10061 | echo "$as_me:$LINENO: result: $PROG_LS" >&5 | 9151 | echo "$as_me:9151: result: $PROG_LS" >&5 |
10062 | echo "${ECHO_T}$PROG_LS" >&6 | 9152 | echo "${ECHO_T}$PROG_LS" >&6 |
10063 | else | 9153 | else |
10064 | echo "$as_me:$LINENO: result: no" >&5 | 9154 | echo "$as_me:9154: result: no" >&5 |
10065 | echo "${ECHO_T}no" >&6 | 9155 | echo "${ECHO_T}no" >&6 |
10066 | fi | 9156 | fi |
10067 | 9157 | ||
@@ -10069,11 +9159,9 @@ fi | |||
10069 | PROG_LS="undef" | 9159 | PROG_LS="undef" |
10070 | fi | 9160 | fi |
10071 | 9161 | ||
10072 | |||
10073 | |||
10074 | # Extract the first word of "netstat", so it can be a program name with args. | 9162 | # Extract the first word of "netstat", so it can be a program name with args. |
10075 | set dummy netstat; ac_word=$2 | 9163 | set dummy netstat; ac_word=$2 |
10076 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9164 | echo "$as_me:9164: checking for $ac_word" >&5 |
10077 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9165 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10078 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then | 9166 | if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then |
10079 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9167 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10083,18 +9171,16 @@ else | |||
10083 | ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path. | 9171 | ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path. |
10084 | ;; | 9172 | ;; |
10085 | *) | 9173 | *) |
10086 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9174 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10087 | for as_dir in $PATH | 9175 | ac_dummy="$PATH" |
10088 | do | 9176 | for ac_dir in $ac_dummy; do |
10089 | IFS=$as_save_IFS | 9177 | IFS=$ac_save_IFS |
10090 | test -z "$as_dir" && as_dir=. | 9178 | test -z "$ac_dir" && ac_dir=. |
10091 | for ac_exec_ext in '' $ac_executable_extensions; do | 9179 | if $as_executable_p "$ac_dir/$ac_word"; then |
10092 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9180 | ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word" |
10093 | ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" | 9181 | echo "$as_me:9181: found $ac_dir/$ac_word" >&5 |
10094 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9182 | break |
10095 | break 2 | 9183 | fi |
10096 | fi | ||
10097 | done | ||
10098 | done | 9184 | done |
10099 | 9185 | ||
10100 | ;; | 9186 | ;; |
@@ -10103,10 +9189,10 @@ fi | |||
10103 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT | 9189 | PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT |
10104 | 9190 | ||
10105 | if test -n "$PROG_NETSTAT"; then | 9191 | if test -n "$PROG_NETSTAT"; then |
10106 | echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 | 9192 | echo "$as_me:9192: result: $PROG_NETSTAT" >&5 |
10107 | echo "${ECHO_T}$PROG_NETSTAT" >&6 | 9193 | echo "${ECHO_T}$PROG_NETSTAT" >&6 |
10108 | else | 9194 | else |
10109 | echo "$as_me:$LINENO: result: no" >&5 | 9195 | echo "$as_me:9195: result: no" >&5 |
10110 | echo "${ECHO_T}no" >&6 | 9196 | echo "${ECHO_T}no" >&6 |
10111 | fi | 9197 | fi |
10112 | 9198 | ||
@@ -10114,11 +9200,9 @@ fi | |||
10114 | PROG_NETSTAT="undef" | 9200 | PROG_NETSTAT="undef" |
10115 | fi | 9201 | fi |
10116 | 9202 | ||
10117 | |||
10118 | |||
10119 | # Extract the first word of "arp", so it can be a program name with args. | 9203 | # Extract the first word of "arp", so it can be a program name with args. |
10120 | set dummy arp; ac_word=$2 | 9204 | set dummy arp; ac_word=$2 |
10121 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9205 | echo "$as_me:9205: checking for $ac_word" >&5 |
10122 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9206 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10123 | if test "${ac_cv_path_PROG_ARP+set}" = set; then | 9207 | if test "${ac_cv_path_PROG_ARP+set}" = set; then |
10124 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9208 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10128,18 +9212,16 @@ else | |||
10128 | ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path. | 9212 | ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path. |
10129 | ;; | 9213 | ;; |
10130 | *) | 9214 | *) |
10131 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9215 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10132 | for as_dir in $PATH | 9216 | ac_dummy="$PATH" |
10133 | do | 9217 | for ac_dir in $ac_dummy; do |
10134 | IFS=$as_save_IFS | 9218 | IFS=$ac_save_IFS |
10135 | test -z "$as_dir" && as_dir=. | 9219 | test -z "$ac_dir" && ac_dir=. |
10136 | for ac_exec_ext in '' $ac_executable_extensions; do | 9220 | if $as_executable_p "$ac_dir/$ac_word"; then |
10137 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9221 | ac_cv_path_PROG_ARP="$ac_dir/$ac_word" |
10138 | ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" | 9222 | echo "$as_me:9222: found $ac_dir/$ac_word" >&5 |
10139 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9223 | break |
10140 | break 2 | 9224 | fi |
10141 | fi | ||
10142 | done | ||
10143 | done | 9225 | done |
10144 | 9226 | ||
10145 | ;; | 9227 | ;; |
@@ -10148,10 +9230,10 @@ fi | |||
10148 | PROG_ARP=$ac_cv_path_PROG_ARP | 9230 | PROG_ARP=$ac_cv_path_PROG_ARP |
10149 | 9231 | ||
10150 | if test -n "$PROG_ARP"; then | 9232 | if test -n "$PROG_ARP"; then |
10151 | echo "$as_me:$LINENO: result: $PROG_ARP" >&5 | 9233 | echo "$as_me:9233: result: $PROG_ARP" >&5 |
10152 | echo "${ECHO_T}$PROG_ARP" >&6 | 9234 | echo "${ECHO_T}$PROG_ARP" >&6 |
10153 | else | 9235 | else |
10154 | echo "$as_me:$LINENO: result: no" >&5 | 9236 | echo "$as_me:9236: result: no" >&5 |
10155 | echo "${ECHO_T}no" >&6 | 9237 | echo "${ECHO_T}no" >&6 |
10156 | fi | 9238 | fi |
10157 | 9239 | ||
@@ -10159,11 +9241,9 @@ fi | |||
10159 | PROG_ARP="undef" | 9241 | PROG_ARP="undef" |
10160 | fi | 9242 | fi |
10161 | 9243 | ||
10162 | |||
10163 | |||
10164 | # Extract the first word of "ifconfig", so it can be a program name with args. | 9244 | # Extract the first word of "ifconfig", so it can be a program name with args. |
10165 | set dummy ifconfig; ac_word=$2 | 9245 | set dummy ifconfig; ac_word=$2 |
10166 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9246 | echo "$as_me:9246: checking for $ac_word" >&5 |
10167 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9247 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10168 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then | 9248 | if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then |
10169 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9249 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10173,18 +9253,16 @@ else | |||
10173 | ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path. | 9253 | ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path. |
10174 | ;; | 9254 | ;; |
10175 | *) | 9255 | *) |
10176 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9256 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10177 | for as_dir in $PATH | 9257 | ac_dummy="$PATH" |
10178 | do | 9258 | for ac_dir in $ac_dummy; do |
10179 | IFS=$as_save_IFS | 9259 | IFS=$ac_save_IFS |
10180 | test -z "$as_dir" && as_dir=. | 9260 | test -z "$ac_dir" && ac_dir=. |
10181 | for ac_exec_ext in '' $ac_executable_extensions; do | 9261 | if $as_executable_p "$ac_dir/$ac_word"; then |
10182 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9262 | ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word" |
10183 | ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" | 9263 | echo "$as_me:9263: found $ac_dir/$ac_word" >&5 |
10184 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9264 | break |
10185 | break 2 | 9265 | fi |
10186 | fi | ||
10187 | done | ||
10188 | done | 9266 | done |
10189 | 9267 | ||
10190 | ;; | 9268 | ;; |
@@ -10193,10 +9271,10 @@ fi | |||
10193 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG | 9271 | PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG |
10194 | 9272 | ||
10195 | if test -n "$PROG_IFCONFIG"; then | 9273 | if test -n "$PROG_IFCONFIG"; then |
10196 | echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 | 9274 | echo "$as_me:9274: result: $PROG_IFCONFIG" >&5 |
10197 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 | 9275 | echo "${ECHO_T}$PROG_IFCONFIG" >&6 |
10198 | else | 9276 | else |
10199 | echo "$as_me:$LINENO: result: no" >&5 | 9277 | echo "$as_me:9277: result: no" >&5 |
10200 | echo "${ECHO_T}no" >&6 | 9278 | echo "${ECHO_T}no" >&6 |
10201 | fi | 9279 | fi |
10202 | 9280 | ||
@@ -10204,11 +9282,9 @@ fi | |||
10204 | PROG_IFCONFIG="undef" | 9282 | PROG_IFCONFIG="undef" |
10205 | fi | 9283 | fi |
10206 | 9284 | ||
10207 | |||
10208 | |||
10209 | # Extract the first word of "jstat", so it can be a program name with args. | 9285 | # Extract the first word of "jstat", so it can be a program name with args. |
10210 | set dummy jstat; ac_word=$2 | 9286 | set dummy jstat; ac_word=$2 |
10211 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9287 | echo "$as_me:9287: checking for $ac_word" >&5 |
10212 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9288 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10213 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then | 9289 | if test "${ac_cv_path_PROG_JSTAT+set}" = set; then |
10214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9290 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10218,18 +9294,16 @@ else | |||
10218 | ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path. | 9294 | ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path. |
10219 | ;; | 9295 | ;; |
10220 | *) | 9296 | *) |
10221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9297 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10222 | for as_dir in $PATH | 9298 | ac_dummy="$PATH" |
10223 | do | 9299 | for ac_dir in $ac_dummy; do |
10224 | IFS=$as_save_IFS | 9300 | IFS=$ac_save_IFS |
10225 | test -z "$as_dir" && as_dir=. | 9301 | test -z "$ac_dir" && ac_dir=. |
10226 | for ac_exec_ext in '' $ac_executable_extensions; do | 9302 | if $as_executable_p "$ac_dir/$ac_word"; then |
10227 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9303 | ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word" |
10228 | ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" | 9304 | echo "$as_me:9304: found $ac_dir/$ac_word" >&5 |
10229 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9305 | break |
10230 | break 2 | 9306 | fi |
10231 | fi | ||
10232 | done | ||
10233 | done | 9307 | done |
10234 | 9308 | ||
10235 | ;; | 9309 | ;; |
@@ -10238,10 +9312,10 @@ fi | |||
10238 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT | 9312 | PROG_JSTAT=$ac_cv_path_PROG_JSTAT |
10239 | 9313 | ||
10240 | if test -n "$PROG_JSTAT"; then | 9314 | if test -n "$PROG_JSTAT"; then |
10241 | echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 | 9315 | echo "$as_me:9315: result: $PROG_JSTAT" >&5 |
10242 | echo "${ECHO_T}$PROG_JSTAT" >&6 | 9316 | echo "${ECHO_T}$PROG_JSTAT" >&6 |
10243 | else | 9317 | else |
10244 | echo "$as_me:$LINENO: result: no" >&5 | 9318 | echo "$as_me:9318: result: no" >&5 |
10245 | echo "${ECHO_T}no" >&6 | 9319 | echo "${ECHO_T}no" >&6 |
10246 | fi | 9320 | fi |
10247 | 9321 | ||
@@ -10249,11 +9323,9 @@ fi | |||
10249 | PROG_JSTAT="undef" | 9323 | PROG_JSTAT="undef" |
10250 | fi | 9324 | fi |
10251 | 9325 | ||
10252 | |||
10253 | |||
10254 | # Extract the first word of "ps", so it can be a program name with args. | 9326 | # Extract the first word of "ps", so it can be a program name with args. |
10255 | set dummy ps; ac_word=$2 | 9327 | set dummy ps; ac_word=$2 |
10256 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9328 | echo "$as_me:9328: checking for $ac_word" >&5 |
10257 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9329 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10258 | if test "${ac_cv_path_PROG_PS+set}" = set; then | 9330 | if test "${ac_cv_path_PROG_PS+set}" = set; then |
10259 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9331 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10263,18 +9335,16 @@ else | |||
10263 | ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path. | 9335 | ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path. |
10264 | ;; | 9336 | ;; |
10265 | *) | 9337 | *) |
10266 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9338 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10267 | for as_dir in $PATH | 9339 | ac_dummy="$PATH" |
10268 | do | 9340 | for ac_dir in $ac_dummy; do |
10269 | IFS=$as_save_IFS | 9341 | IFS=$ac_save_IFS |
10270 | test -z "$as_dir" && as_dir=. | 9342 | test -z "$ac_dir" && ac_dir=. |
10271 | for ac_exec_ext in '' $ac_executable_extensions; do | 9343 | if $as_executable_p "$ac_dir/$ac_word"; then |
10272 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9344 | ac_cv_path_PROG_PS="$ac_dir/$ac_word" |
10273 | ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" | 9345 | echo "$as_me:9345: found $ac_dir/$ac_word" >&5 |
10274 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9346 | break |
10275 | break 2 | 9347 | fi |
10276 | fi | ||
10277 | done | ||
10278 | done | 9348 | done |
10279 | 9349 | ||
10280 | ;; | 9350 | ;; |
@@ -10283,10 +9353,10 @@ fi | |||
10283 | PROG_PS=$ac_cv_path_PROG_PS | 9353 | PROG_PS=$ac_cv_path_PROG_PS |
10284 | 9354 | ||
10285 | if test -n "$PROG_PS"; then | 9355 | if test -n "$PROG_PS"; then |
10286 | echo "$as_me:$LINENO: result: $PROG_PS" >&5 | 9356 | echo "$as_me:9356: result: $PROG_PS" >&5 |
10287 | echo "${ECHO_T}$PROG_PS" >&6 | 9357 | echo "${ECHO_T}$PROG_PS" >&6 |
10288 | else | 9358 | else |
10289 | echo "$as_me:$LINENO: result: no" >&5 | 9359 | echo "$as_me:9359: result: no" >&5 |
10290 | echo "${ECHO_T}no" >&6 | 9360 | echo "${ECHO_T}no" >&6 |
10291 | fi | 9361 | fi |
10292 | 9362 | ||
@@ -10294,11 +9364,9 @@ fi | |||
10294 | PROG_PS="undef" | 9364 | PROG_PS="undef" |
10295 | fi | 9365 | fi |
10296 | 9366 | ||
10297 | |||
10298 | |||
10299 | # Extract the first word of "sar", so it can be a program name with args. | 9367 | # Extract the first word of "sar", so it can be a program name with args. |
10300 | set dummy sar; ac_word=$2 | 9368 | set dummy sar; ac_word=$2 |
10301 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9369 | echo "$as_me:9369: checking for $ac_word" >&5 |
10302 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9370 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10303 | if test "${ac_cv_path_PROG_SAR+set}" = set; then | 9371 | if test "${ac_cv_path_PROG_SAR+set}" = set; then |
10304 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9372 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10308,18 +9376,16 @@ else | |||
10308 | ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path. | 9376 | ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path. |
10309 | ;; | 9377 | ;; |
10310 | *) | 9378 | *) |
10311 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9379 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10312 | for as_dir in $PATH | 9380 | ac_dummy="$PATH" |
10313 | do | 9381 | for ac_dir in $ac_dummy; do |
10314 | IFS=$as_save_IFS | 9382 | IFS=$ac_save_IFS |
10315 | test -z "$as_dir" && as_dir=. | 9383 | test -z "$ac_dir" && ac_dir=. |
10316 | for ac_exec_ext in '' $ac_executable_extensions; do | 9384 | if $as_executable_p "$ac_dir/$ac_word"; then |
10317 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9385 | ac_cv_path_PROG_SAR="$ac_dir/$ac_word" |
10318 | ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" | 9386 | echo "$as_me:9386: found $ac_dir/$ac_word" >&5 |
10319 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9387 | break |
10320 | break 2 | 9388 | fi |
10321 | fi | ||
10322 | done | ||
10323 | done | 9389 | done |
10324 | 9390 | ||
10325 | ;; | 9391 | ;; |
@@ -10328,10 +9394,10 @@ fi | |||
10328 | PROG_SAR=$ac_cv_path_PROG_SAR | 9394 | PROG_SAR=$ac_cv_path_PROG_SAR |
10329 | 9395 | ||
10330 | if test -n "$PROG_SAR"; then | 9396 | if test -n "$PROG_SAR"; then |
10331 | echo "$as_me:$LINENO: result: $PROG_SAR" >&5 | 9397 | echo "$as_me:9397: result: $PROG_SAR" >&5 |
10332 | echo "${ECHO_T}$PROG_SAR" >&6 | 9398 | echo "${ECHO_T}$PROG_SAR" >&6 |
10333 | else | 9399 | else |
10334 | echo "$as_me:$LINENO: result: no" >&5 | 9400 | echo "$as_me:9400: result: no" >&5 |
10335 | echo "${ECHO_T}no" >&6 | 9401 | echo "${ECHO_T}no" >&6 |
10336 | fi | 9402 | fi |
10337 | 9403 | ||
@@ -10339,11 +9405,9 @@ fi | |||
10339 | PROG_SAR="undef" | 9405 | PROG_SAR="undef" |
10340 | fi | 9406 | fi |
10341 | 9407 | ||
10342 | |||
10343 | |||
10344 | # Extract the first word of "w", so it can be a program name with args. | 9408 | # Extract the first word of "w", so it can be a program name with args. |
10345 | set dummy w; ac_word=$2 | 9409 | set dummy w; ac_word=$2 |
10346 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9410 | echo "$as_me:9410: checking for $ac_word" >&5 |
10347 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9411 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10348 | if test "${ac_cv_path_PROG_W+set}" = set; then | 9412 | if test "${ac_cv_path_PROG_W+set}" = set; then |
10349 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9413 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10353,18 +9417,16 @@ else | |||
10353 | ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path. | 9417 | ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path. |
10354 | ;; | 9418 | ;; |
10355 | *) | 9419 | *) |
10356 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9420 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10357 | for as_dir in $PATH | 9421 | ac_dummy="$PATH" |
10358 | do | 9422 | for ac_dir in $ac_dummy; do |
10359 | IFS=$as_save_IFS | 9423 | IFS=$ac_save_IFS |
10360 | test -z "$as_dir" && as_dir=. | 9424 | test -z "$ac_dir" && ac_dir=. |
10361 | for ac_exec_ext in '' $ac_executable_extensions; do | 9425 | if $as_executable_p "$ac_dir/$ac_word"; then |
10362 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9426 | ac_cv_path_PROG_W="$ac_dir/$ac_word" |
10363 | ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" | 9427 | echo "$as_me:9427: found $ac_dir/$ac_word" >&5 |
10364 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9428 | break |
10365 | break 2 | 9429 | fi |
10366 | fi | ||
10367 | done | ||
10368 | done | 9430 | done |
10369 | 9431 | ||
10370 | ;; | 9432 | ;; |
@@ -10373,10 +9435,10 @@ fi | |||
10373 | PROG_W=$ac_cv_path_PROG_W | 9435 | PROG_W=$ac_cv_path_PROG_W |
10374 | 9436 | ||
10375 | if test -n "$PROG_W"; then | 9437 | if test -n "$PROG_W"; then |
10376 | echo "$as_me:$LINENO: result: $PROG_W" >&5 | 9438 | echo "$as_me:9438: result: $PROG_W" >&5 |
10377 | echo "${ECHO_T}$PROG_W" >&6 | 9439 | echo "${ECHO_T}$PROG_W" >&6 |
10378 | else | 9440 | else |
10379 | echo "$as_me:$LINENO: result: no" >&5 | 9441 | echo "$as_me:9441: result: no" >&5 |
10380 | echo "${ECHO_T}no" >&6 | 9442 | echo "${ECHO_T}no" >&6 |
10381 | fi | 9443 | fi |
10382 | 9444 | ||
@@ -10384,11 +9446,9 @@ fi | |||
10384 | PROG_W="undef" | 9446 | PROG_W="undef" |
10385 | fi | 9447 | fi |
10386 | 9448 | ||
10387 | |||
10388 | |||
10389 | # Extract the first word of "who", so it can be a program name with args. | 9449 | # Extract the first word of "who", so it can be a program name with args. |
10390 | set dummy who; ac_word=$2 | 9450 | set dummy who; ac_word=$2 |
10391 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9451 | echo "$as_me:9451: checking for $ac_word" >&5 |
10392 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9452 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10393 | if test "${ac_cv_path_PROG_WHO+set}" = set; then | 9453 | if test "${ac_cv_path_PROG_WHO+set}" = set; then |
10394 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9454 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10398,18 +9458,16 @@ else | |||
10398 | ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path. | 9458 | ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path. |
10399 | ;; | 9459 | ;; |
10400 | *) | 9460 | *) |
10401 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9461 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10402 | for as_dir in $PATH | 9462 | ac_dummy="$PATH" |
10403 | do | 9463 | for ac_dir in $ac_dummy; do |
10404 | IFS=$as_save_IFS | 9464 | IFS=$ac_save_IFS |
10405 | test -z "$as_dir" && as_dir=. | 9465 | test -z "$ac_dir" && ac_dir=. |
10406 | for ac_exec_ext in '' $ac_executable_extensions; do | 9466 | if $as_executable_p "$ac_dir/$ac_word"; then |
10407 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9467 | ac_cv_path_PROG_WHO="$ac_dir/$ac_word" |
10408 | ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" | 9468 | echo "$as_me:9468: found $ac_dir/$ac_word" >&5 |
10409 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9469 | break |
10410 | break 2 | 9470 | fi |
10411 | fi | ||
10412 | done | ||
10413 | done | 9471 | done |
10414 | 9472 | ||
10415 | ;; | 9473 | ;; |
@@ -10418,10 +9476,10 @@ fi | |||
10418 | PROG_WHO=$ac_cv_path_PROG_WHO | 9476 | PROG_WHO=$ac_cv_path_PROG_WHO |
10419 | 9477 | ||
10420 | if test -n "$PROG_WHO"; then | 9478 | if test -n "$PROG_WHO"; then |
10421 | echo "$as_me:$LINENO: result: $PROG_WHO" >&5 | 9479 | echo "$as_me:9479: result: $PROG_WHO" >&5 |
10422 | echo "${ECHO_T}$PROG_WHO" >&6 | 9480 | echo "${ECHO_T}$PROG_WHO" >&6 |
10423 | else | 9481 | else |
10424 | echo "$as_me:$LINENO: result: no" >&5 | 9482 | echo "$as_me:9482: result: no" >&5 |
10425 | echo "${ECHO_T}no" >&6 | 9483 | echo "${ECHO_T}no" >&6 |
10426 | fi | 9484 | fi |
10427 | 9485 | ||
@@ -10429,11 +9487,9 @@ fi | |||
10429 | PROG_WHO="undef" | 9487 | PROG_WHO="undef" |
10430 | fi | 9488 | fi |
10431 | 9489 | ||
10432 | |||
10433 | |||
10434 | # Extract the first word of "last", so it can be a program name with args. | 9490 | # Extract the first word of "last", so it can be a program name with args. |
10435 | set dummy last; ac_word=$2 | 9491 | set dummy last; ac_word=$2 |
10436 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9492 | echo "$as_me:9492: checking for $ac_word" >&5 |
10437 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9493 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10438 | if test "${ac_cv_path_PROG_LAST+set}" = set; then | 9494 | if test "${ac_cv_path_PROG_LAST+set}" = set; then |
10439 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9495 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10443,18 +9499,16 @@ else | |||
10443 | ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path. | 9499 | ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path. |
10444 | ;; | 9500 | ;; |
10445 | *) | 9501 | *) |
10446 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9502 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10447 | for as_dir in $PATH | 9503 | ac_dummy="$PATH" |
10448 | do | 9504 | for ac_dir in $ac_dummy; do |
10449 | IFS=$as_save_IFS | 9505 | IFS=$ac_save_IFS |
10450 | test -z "$as_dir" && as_dir=. | 9506 | test -z "$ac_dir" && ac_dir=. |
10451 | for ac_exec_ext in '' $ac_executable_extensions; do | 9507 | if $as_executable_p "$ac_dir/$ac_word"; then |
10452 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9508 | ac_cv_path_PROG_LAST="$ac_dir/$ac_word" |
10453 | ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" | 9509 | echo "$as_me:9509: found $ac_dir/$ac_word" >&5 |
10454 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9510 | break |
10455 | break 2 | 9511 | fi |
10456 | fi | ||
10457 | done | ||
10458 | done | 9512 | done |
10459 | 9513 | ||
10460 | ;; | 9514 | ;; |
@@ -10463,10 +9517,10 @@ fi | |||
10463 | PROG_LAST=$ac_cv_path_PROG_LAST | 9517 | PROG_LAST=$ac_cv_path_PROG_LAST |
10464 | 9518 | ||
10465 | if test -n "$PROG_LAST"; then | 9519 | if test -n "$PROG_LAST"; then |
10466 | echo "$as_me:$LINENO: result: $PROG_LAST" >&5 | 9520 | echo "$as_me:9520: result: $PROG_LAST" >&5 |
10467 | echo "${ECHO_T}$PROG_LAST" >&6 | 9521 | echo "${ECHO_T}$PROG_LAST" >&6 |
10468 | else | 9522 | else |
10469 | echo "$as_me:$LINENO: result: no" >&5 | 9523 | echo "$as_me:9523: result: no" >&5 |
10470 | echo "${ECHO_T}no" >&6 | 9524 | echo "${ECHO_T}no" >&6 |
10471 | fi | 9525 | fi |
10472 | 9526 | ||
@@ -10474,11 +9528,9 @@ fi | |||
10474 | PROG_LAST="undef" | 9528 | PROG_LAST="undef" |
10475 | fi | 9529 | fi |
10476 | 9530 | ||
10477 | |||
10478 | |||
10479 | # Extract the first word of "lastlog", so it can be a program name with args. | 9531 | # Extract the first word of "lastlog", so it can be a program name with args. |
10480 | set dummy lastlog; ac_word=$2 | 9532 | set dummy lastlog; ac_word=$2 |
10481 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9533 | echo "$as_me:9533: checking for $ac_word" >&5 |
10482 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9534 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10483 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then | 9535 | if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then |
10484 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9536 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10488,18 +9540,16 @@ else | |||
10488 | ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path. | 9540 | ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path. |
10489 | ;; | 9541 | ;; |
10490 | *) | 9542 | *) |
10491 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9543 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10492 | for as_dir in $PATH | 9544 | ac_dummy="$PATH" |
10493 | do | 9545 | for ac_dir in $ac_dummy; do |
10494 | IFS=$as_save_IFS | 9546 | IFS=$ac_save_IFS |
10495 | test -z "$as_dir" && as_dir=. | 9547 | test -z "$ac_dir" && ac_dir=. |
10496 | for ac_exec_ext in '' $ac_executable_extensions; do | 9548 | if $as_executable_p "$ac_dir/$ac_word"; then |
10497 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9549 | ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word" |
10498 | ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" | 9550 | echo "$as_me:9550: found $ac_dir/$ac_word" >&5 |
10499 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9551 | break |
10500 | break 2 | 9552 | fi |
10501 | fi | ||
10502 | done | ||
10503 | done | 9553 | done |
10504 | 9554 | ||
10505 | ;; | 9555 | ;; |
@@ -10508,10 +9558,10 @@ fi | |||
10508 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG | 9558 | PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG |
10509 | 9559 | ||
10510 | if test -n "$PROG_LASTLOG"; then | 9560 | if test -n "$PROG_LASTLOG"; then |
10511 | echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 | 9561 | echo "$as_me:9561: result: $PROG_LASTLOG" >&5 |
10512 | echo "${ECHO_T}$PROG_LASTLOG" >&6 | 9562 | echo "${ECHO_T}$PROG_LASTLOG" >&6 |
10513 | else | 9563 | else |
10514 | echo "$as_me:$LINENO: result: no" >&5 | 9564 | echo "$as_me:9564: result: no" >&5 |
10515 | echo "${ECHO_T}no" >&6 | 9565 | echo "${ECHO_T}no" >&6 |
10516 | fi | 9566 | fi |
10517 | 9567 | ||
@@ -10519,11 +9569,9 @@ fi | |||
10519 | PROG_LASTLOG="undef" | 9569 | PROG_LASTLOG="undef" |
10520 | fi | 9570 | fi |
10521 | 9571 | ||
10522 | |||
10523 | |||
10524 | # Extract the first word of "df", so it can be a program name with args. | 9572 | # Extract the first word of "df", so it can be a program name with args. |
10525 | set dummy df; ac_word=$2 | 9573 | set dummy df; ac_word=$2 |
10526 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9574 | echo "$as_me:9574: checking for $ac_word" >&5 |
10527 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9575 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10528 | if test "${ac_cv_path_PROG_DF+set}" = set; then | 9576 | if test "${ac_cv_path_PROG_DF+set}" = set; then |
10529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9577 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10533,18 +9581,16 @@ else | |||
10533 | ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path. | 9581 | ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path. |
10534 | ;; | 9582 | ;; |
10535 | *) | 9583 | *) |
10536 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9584 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10537 | for as_dir in $PATH | 9585 | ac_dummy="$PATH" |
10538 | do | 9586 | for ac_dir in $ac_dummy; do |
10539 | IFS=$as_save_IFS | 9587 | IFS=$ac_save_IFS |
10540 | test -z "$as_dir" && as_dir=. | 9588 | test -z "$ac_dir" && ac_dir=. |
10541 | for ac_exec_ext in '' $ac_executable_extensions; do | 9589 | if $as_executable_p "$ac_dir/$ac_word"; then |
10542 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9590 | ac_cv_path_PROG_DF="$ac_dir/$ac_word" |
10543 | ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" | 9591 | echo "$as_me:9591: found $ac_dir/$ac_word" >&5 |
10544 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9592 | break |
10545 | break 2 | 9593 | fi |
10546 | fi | ||
10547 | done | ||
10548 | done | 9594 | done |
10549 | 9595 | ||
10550 | ;; | 9596 | ;; |
@@ -10553,10 +9599,10 @@ fi | |||
10553 | PROG_DF=$ac_cv_path_PROG_DF | 9599 | PROG_DF=$ac_cv_path_PROG_DF |
10554 | 9600 | ||
10555 | if test -n "$PROG_DF"; then | 9601 | if test -n "$PROG_DF"; then |
10556 | echo "$as_me:$LINENO: result: $PROG_DF" >&5 | 9602 | echo "$as_me:9602: result: $PROG_DF" >&5 |
10557 | echo "${ECHO_T}$PROG_DF" >&6 | 9603 | echo "${ECHO_T}$PROG_DF" >&6 |
10558 | else | 9604 | else |
10559 | echo "$as_me:$LINENO: result: no" >&5 | 9605 | echo "$as_me:9605: result: no" >&5 |
10560 | echo "${ECHO_T}no" >&6 | 9606 | echo "${ECHO_T}no" >&6 |
10561 | fi | 9607 | fi |
10562 | 9608 | ||
@@ -10564,11 +9610,9 @@ fi | |||
10564 | PROG_DF="undef" | 9610 | PROG_DF="undef" |
10565 | fi | 9611 | fi |
10566 | 9612 | ||
10567 | |||
10568 | |||
10569 | # Extract the first word of "vmstat", so it can be a program name with args. | 9613 | # Extract the first word of "vmstat", so it can be a program name with args. |
10570 | set dummy vmstat; ac_word=$2 | 9614 | set dummy vmstat; ac_word=$2 |
10571 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9615 | echo "$as_me:9615: checking for $ac_word" >&5 |
10572 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9616 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10573 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then | 9617 | if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then |
10574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10578,18 +9622,16 @@ else | |||
10578 | ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path. | 9622 | ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path. |
10579 | ;; | 9623 | ;; |
10580 | *) | 9624 | *) |
10581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9625 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10582 | for as_dir in $PATH | 9626 | ac_dummy="$PATH" |
10583 | do | 9627 | for ac_dir in $ac_dummy; do |
10584 | IFS=$as_save_IFS | 9628 | IFS=$ac_save_IFS |
10585 | test -z "$as_dir" && as_dir=. | 9629 | test -z "$ac_dir" && ac_dir=. |
10586 | for ac_exec_ext in '' $ac_executable_extensions; do | 9630 | if $as_executable_p "$ac_dir/$ac_word"; then |
10587 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9631 | ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word" |
10588 | ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" | 9632 | echo "$as_me:9632: found $ac_dir/$ac_word" >&5 |
10589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9633 | break |
10590 | break 2 | 9634 | fi |
10591 | fi | ||
10592 | done | ||
10593 | done | 9635 | done |
10594 | 9636 | ||
10595 | ;; | 9637 | ;; |
@@ -10598,10 +9640,10 @@ fi | |||
10598 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT | 9640 | PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT |
10599 | 9641 | ||
10600 | if test -n "$PROG_VMSTAT"; then | 9642 | if test -n "$PROG_VMSTAT"; then |
10601 | echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 | 9643 | echo "$as_me:9643: result: $PROG_VMSTAT" >&5 |
10602 | echo "${ECHO_T}$PROG_VMSTAT" >&6 | 9644 | echo "${ECHO_T}$PROG_VMSTAT" >&6 |
10603 | else | 9645 | else |
10604 | echo "$as_me:$LINENO: result: no" >&5 | 9646 | echo "$as_me:9646: result: no" >&5 |
10605 | echo "${ECHO_T}no" >&6 | 9647 | echo "${ECHO_T}no" >&6 |
10606 | fi | 9648 | fi |
10607 | 9649 | ||
@@ -10609,11 +9651,9 @@ fi | |||
10609 | PROG_VMSTAT="undef" | 9651 | PROG_VMSTAT="undef" |
10610 | fi | 9652 | fi |
10611 | 9653 | ||
10612 | |||
10613 | |||
10614 | # Extract the first word of "uptime", so it can be a program name with args. | 9654 | # Extract the first word of "uptime", so it can be a program name with args. |
10615 | set dummy uptime; ac_word=$2 | 9655 | set dummy uptime; ac_word=$2 |
10616 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9656 | echo "$as_me:9656: checking for $ac_word" >&5 |
10617 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9657 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10618 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then | 9658 | if test "${ac_cv_path_PROG_UPTIME+set}" = set; then |
10619 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9659 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10623,18 +9663,16 @@ else | |||
10623 | ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path. | 9663 | ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path. |
10624 | ;; | 9664 | ;; |
10625 | *) | 9665 | *) |
10626 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9666 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10627 | for as_dir in $PATH | 9667 | ac_dummy="$PATH" |
10628 | do | 9668 | for ac_dir in $ac_dummy; do |
10629 | IFS=$as_save_IFS | 9669 | IFS=$ac_save_IFS |
10630 | test -z "$as_dir" && as_dir=. | 9670 | test -z "$ac_dir" && ac_dir=. |
10631 | for ac_exec_ext in '' $ac_executable_extensions; do | 9671 | if $as_executable_p "$ac_dir/$ac_word"; then |
10632 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9672 | ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word" |
10633 | ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" | 9673 | echo "$as_me:9673: found $ac_dir/$ac_word" >&5 |
10634 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9674 | break |
10635 | break 2 | 9675 | fi |
10636 | fi | ||
10637 | done | ||
10638 | done | 9676 | done |
10639 | 9677 | ||
10640 | ;; | 9678 | ;; |
@@ -10643,10 +9681,10 @@ fi | |||
10643 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME | 9681 | PROG_UPTIME=$ac_cv_path_PROG_UPTIME |
10644 | 9682 | ||
10645 | if test -n "$PROG_UPTIME"; then | 9683 | if test -n "$PROG_UPTIME"; then |
10646 | echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 | 9684 | echo "$as_me:9684: result: $PROG_UPTIME" >&5 |
10647 | echo "${ECHO_T}$PROG_UPTIME" >&6 | 9685 | echo "${ECHO_T}$PROG_UPTIME" >&6 |
10648 | else | 9686 | else |
10649 | echo "$as_me:$LINENO: result: no" >&5 | 9687 | echo "$as_me:9687: result: no" >&5 |
10650 | echo "${ECHO_T}no" >&6 | 9688 | echo "${ECHO_T}no" >&6 |
10651 | fi | 9689 | fi |
10652 | 9690 | ||
@@ -10654,11 +9692,9 @@ fi | |||
10654 | PROG_UPTIME="undef" | 9692 | PROG_UPTIME="undef" |
10655 | fi | 9693 | fi |
10656 | 9694 | ||
10657 | |||
10658 | |||
10659 | # Extract the first word of "ipcs", so it can be a program name with args. | 9695 | # Extract the first word of "ipcs", so it can be a program name with args. |
10660 | set dummy ipcs; ac_word=$2 | 9696 | set dummy ipcs; ac_word=$2 |
10661 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9697 | echo "$as_me:9697: checking for $ac_word" >&5 |
10662 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9698 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10663 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then | 9699 | if test "${ac_cv_path_PROG_IPCS+set}" = set; then |
10664 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10668,18 +9704,16 @@ else | |||
10668 | ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path. | 9704 | ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path. |
10669 | ;; | 9705 | ;; |
10670 | *) | 9706 | *) |
10671 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9707 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10672 | for as_dir in $PATH | 9708 | ac_dummy="$PATH" |
10673 | do | 9709 | for ac_dir in $ac_dummy; do |
10674 | IFS=$as_save_IFS | 9710 | IFS=$ac_save_IFS |
10675 | test -z "$as_dir" && as_dir=. | 9711 | test -z "$ac_dir" && ac_dir=. |
10676 | for ac_exec_ext in '' $ac_executable_extensions; do | 9712 | if $as_executable_p "$ac_dir/$ac_word"; then |
10677 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9713 | ac_cv_path_PROG_IPCS="$ac_dir/$ac_word" |
10678 | ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" | 9714 | echo "$as_me:9714: found $ac_dir/$ac_word" >&5 |
10679 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9715 | break |
10680 | break 2 | 9716 | fi |
10681 | fi | ||
10682 | done | ||
10683 | done | 9717 | done |
10684 | 9718 | ||
10685 | ;; | 9719 | ;; |
@@ -10688,10 +9722,10 @@ fi | |||
10688 | PROG_IPCS=$ac_cv_path_PROG_IPCS | 9722 | PROG_IPCS=$ac_cv_path_PROG_IPCS |
10689 | 9723 | ||
10690 | if test -n "$PROG_IPCS"; then | 9724 | if test -n "$PROG_IPCS"; then |
10691 | echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 | 9725 | echo "$as_me:9725: result: $PROG_IPCS" >&5 |
10692 | echo "${ECHO_T}$PROG_IPCS" >&6 | 9726 | echo "${ECHO_T}$PROG_IPCS" >&6 |
10693 | else | 9727 | else |
10694 | echo "$as_me:$LINENO: result: no" >&5 | 9728 | echo "$as_me:9728: result: no" >&5 |
10695 | echo "${ECHO_T}no" >&6 | 9729 | echo "${ECHO_T}no" >&6 |
10696 | fi | 9730 | fi |
10697 | 9731 | ||
@@ -10699,11 +9733,9 @@ fi | |||
10699 | PROG_IPCS="undef" | 9733 | PROG_IPCS="undef" |
10700 | fi | 9734 | fi |
10701 | 9735 | ||
10702 | |||
10703 | |||
10704 | # Extract the first word of "tail", so it can be a program name with args. | 9736 | # Extract the first word of "tail", so it can be a program name with args. |
10705 | set dummy tail; ac_word=$2 | 9737 | set dummy tail; ac_word=$2 |
10706 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 9738 | echo "$as_me:9738: checking for $ac_word" >&5 |
10707 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 9739 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
10708 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then | 9740 | if test "${ac_cv_path_PROG_TAIL+set}" = set; then |
10709 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9741 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -10713,18 +9745,16 @@ else | |||
10713 | ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path. | 9745 | ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path. |
10714 | ;; | 9746 | ;; |
10715 | *) | 9747 | *) |
10716 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9748 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
10717 | for as_dir in $PATH | 9749 | ac_dummy="$PATH" |
10718 | do | 9750 | for ac_dir in $ac_dummy; do |
10719 | IFS=$as_save_IFS | 9751 | IFS=$ac_save_IFS |
10720 | test -z "$as_dir" && as_dir=. | 9752 | test -z "$ac_dir" && ac_dir=. |
10721 | for ac_exec_ext in '' $ac_executable_extensions; do | 9753 | if $as_executable_p "$ac_dir/$ac_word"; then |
10722 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 9754 | ac_cv_path_PROG_TAIL="$ac_dir/$ac_word" |
10723 | ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" | 9755 | echo "$as_me:9755: found $ac_dir/$ac_word" >&5 |
10724 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9756 | break |
10725 | break 2 | 9757 | fi |
10726 | fi | ||
10727 | done | ||
10728 | done | 9758 | done |
10729 | 9759 | ||
10730 | ;; | 9760 | ;; |
@@ -10733,10 +9763,10 @@ fi | |||
10733 | PROG_TAIL=$ac_cv_path_PROG_TAIL | 9763 | PROG_TAIL=$ac_cv_path_PROG_TAIL |
10734 | 9764 | ||
10735 | if test -n "$PROG_TAIL"; then | 9765 | if test -n "$PROG_TAIL"; then |
10736 | echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 | 9766 | echo "$as_me:9766: result: $PROG_TAIL" >&5 |
10737 | echo "${ECHO_T}$PROG_TAIL" >&6 | 9767 | echo "${ECHO_T}$PROG_TAIL" >&6 |
10738 | else | 9768 | else |
10739 | echo "$as_me:$LINENO: result: no" >&5 | 9769 | echo "$as_me:9769: result: no" >&5 |
10740 | echo "${ECHO_T}no" >&6 | 9770 | echo "${ECHO_T}no" >&6 |
10741 | fi | 9771 | fi |
10742 | 9772 | ||
@@ -10744,7 +9774,6 @@ fi | |||
10744 | PROG_TAIL="undef" | 9774 | PROG_TAIL="undef" |
10745 | fi | 9775 | fi |
10746 | 9776 | ||
10747 | |||
10748 | # restore PATH | 9777 | # restore PATH |
10749 | PATH=$OPATH | 9778 | PATH=$OPATH |
10750 | 9779 | ||
@@ -10762,26 +9791,20 @@ if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then | |||
10762 | fi | 9791 | fi |
10763 | fi | 9792 | fi |
10764 | 9793 | ||
10765 | |||
10766 | |||
10767 | # Cheap hack to ensure NEWS-OS libraries are arranged right. | 9794 | # Cheap hack to ensure NEWS-OS libraries are arranged right. |
10768 | if test ! -z "$SONY" ; then | 9795 | if test ! -z "$SONY" ; then |
10769 | LIBS="$LIBS -liberty"; | 9796 | LIBS="$LIBS -liberty"; |
10770 | fi | 9797 | fi |
10771 | 9798 | ||
10772 | # Checks for data types | 9799 | # Checks for data types |
10773 | echo "$as_me:$LINENO: checking for char" >&5 | 9800 | echo "$as_me:9800: checking for char" >&5 |
10774 | echo $ECHO_N "checking for char... $ECHO_C" >&6 | 9801 | echo $ECHO_N "checking for char... $ECHO_C" >&6 |
10775 | if test "${ac_cv_type_char+set}" = set; then | 9802 | if test "${ac_cv_type_char+set}" = set; then |
10776 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9803 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10777 | else | 9804 | else |
10778 | cat >conftest.$ac_ext <<_ACEOF | 9805 | cat >conftest.$ac_ext <<_ACEOF |
10779 | #line $LINENO "configure" | 9806 | #line 9806 "configure" |
10780 | /* confdefs.h. */ | 9807 | #include "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 | 9808 | $ac_includes_default |
10786 | int | 9809 | int |
10787 | main () | 9810 | main () |
@@ -10795,328 +9818,209 @@ if (sizeof (char)) | |||
10795 | } | 9818 | } |
10796 | _ACEOF | 9819 | _ACEOF |
10797 | rm -f conftest.$ac_objext | 9820 | rm -f conftest.$ac_objext |
10798 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9821 | if { (eval echo "$as_me:9821: \"$ac_compile\"") >&5 |
10799 | (eval $ac_compile) 2>&5 | 9822 | (eval $ac_compile) 2>&5 |
10800 | ac_status=$? | 9823 | ac_status=$? |
10801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9824 | echo "$as_me:9824: \$? = $ac_status" >&5 |
10802 | (exit $ac_status); } && | 9825 | (exit $ac_status); } && |
10803 | { ac_try='test -s conftest.$ac_objext' | 9826 | { ac_try='test -s conftest.$ac_objext' |
10804 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9827 | { (eval echo "$as_me:9827: \"$ac_try\"") >&5 |
10805 | (eval $ac_try) 2>&5 | 9828 | (eval $ac_try) 2>&5 |
10806 | ac_status=$? | 9829 | ac_status=$? |
10807 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9830 | echo "$as_me:9830: \$? = $ac_status" >&5 |
10808 | (exit $ac_status); }; }; then | 9831 | (exit $ac_status); }; }; then |
10809 | ac_cv_type_char=yes | 9832 | ac_cv_type_char=yes |
10810 | else | 9833 | else |
10811 | echo "$as_me: failed program was:" >&5 | 9834 | echo "$as_me: failed program was:" >&5 |
10812 | sed 's/^/| /' conftest.$ac_ext >&5 | 9835 | cat conftest.$ac_ext >&5 |
10813 | |||
10814 | ac_cv_type_char=no | 9836 | ac_cv_type_char=no |
10815 | fi | 9837 | fi |
10816 | rm -f conftest.$ac_objext conftest.$ac_ext | 9838 | rm -f conftest.$ac_objext conftest.$ac_ext |
10817 | fi | 9839 | fi |
10818 | echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 | 9840 | echo "$as_me:9840: result: $ac_cv_type_char" >&5 |
10819 | echo "${ECHO_T}$ac_cv_type_char" >&6 | 9841 | echo "${ECHO_T}$ac_cv_type_char" >&6 |
10820 | 9842 | ||
10821 | echo "$as_me:$LINENO: checking size of char" >&5 | 9843 | echo "$as_me:9843: checking size of char" >&5 |
10822 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 | 9844 | echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
10823 | if test "${ac_cv_sizeof_char+set}" = set; then | 9845 | if test "${ac_cv_sizeof_char+set}" = set; then |
10824 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10825 | else | 9847 | else |
10826 | if test "$ac_cv_type_char" = yes; then | 9848 | 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 | 9849 | if test "$cross_compiling" = yes; then |
10832 | # Depending upon the size, compute the lo and hi bounds. | 9850 | # Depending upon the size, compute the lo and hi bounds. |
10833 | cat >conftest.$ac_ext <<_ACEOF | 9851 | cat >conftest.$ac_ext <<_ACEOF |
10834 | #line $LINENO "configure" | 9852 | #line 9852 "configure" |
10835 | /* confdefs.h. */ | 9853 | #include "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 | 9854 | $ac_includes_default |
10841 | int | 9855 | int |
10842 | main () | 9856 | main () |
10843 | { | 9857 | { |
10844 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; | 9858 | int _array_ [1 - 2 * !((sizeof (char)) >= 0)] |
10845 | test_array [0] = 0 | ||
10846 | |||
10847 | ; | 9859 | ; |
10848 | return 0; | 9860 | return 0; |
10849 | } | 9861 | } |
10850 | _ACEOF | 9862 | _ACEOF |
10851 | rm -f conftest.$ac_objext | 9863 | rm -f conftest.$ac_objext |
10852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9864 | if { (eval echo "$as_me:9864: \"$ac_compile\"") >&5 |
10853 | (eval $ac_compile) 2>&5 | 9865 | (eval $ac_compile) 2>&5 |
10854 | ac_status=$? | 9866 | ac_status=$? |
10855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9867 | echo "$as_me:9867: \$? = $ac_status" >&5 |
10856 | (exit $ac_status); } && | 9868 | (exit $ac_status); } && |
10857 | { ac_try='test -s conftest.$ac_objext' | 9869 | { ac_try='test -s conftest.$ac_objext' |
10858 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9870 | { (eval echo "$as_me:9870: \"$ac_try\"") >&5 |
10859 | (eval $ac_try) 2>&5 | 9871 | (eval $ac_try) 2>&5 |
10860 | ac_status=$? | 9872 | ac_status=$? |
10861 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9873 | echo "$as_me:9873: \$? = $ac_status" >&5 |
10862 | (exit $ac_status); }; }; then | 9874 | (exit $ac_status); }; }; then |
10863 | ac_lo=0 ac_mid=0 | 9875 | ac_lo=0 ac_mid=0 |
10864 | while :; do | 9876 | while :; do |
10865 | cat >conftest.$ac_ext <<_ACEOF | 9877 | cat >conftest.$ac_ext <<_ACEOF |
10866 | #line $LINENO "configure" | 9878 | #line 9878 "configure" |
10867 | /* confdefs.h. */ | 9879 | #include "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 | 9880 | $ac_includes_default |
10873 | int | 9881 | int |
10874 | main () | 9882 | main () |
10875 | { | 9883 | { |
10876 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; | 9884 | int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] |
10877 | test_array [0] = 0 | ||
10878 | |||
10879 | ; | 9885 | ; |
10880 | return 0; | 9886 | return 0; |
10881 | } | 9887 | } |
10882 | _ACEOF | 9888 | _ACEOF |
10883 | rm -f conftest.$ac_objext | 9889 | rm -f conftest.$ac_objext |
10884 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9890 | if { (eval echo "$as_me:9890: \"$ac_compile\"") >&5 |
10885 | (eval $ac_compile) 2>&5 | 9891 | (eval $ac_compile) 2>&5 |
10886 | ac_status=$? | 9892 | ac_status=$? |
10887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9893 | echo "$as_me:9893: \$? = $ac_status" >&5 |
10888 | (exit $ac_status); } && | 9894 | (exit $ac_status); } && |
10889 | { ac_try='test -s conftest.$ac_objext' | 9895 | { ac_try='test -s conftest.$ac_objext' |
10890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9896 | { (eval echo "$as_me:9896: \"$ac_try\"") >&5 |
10891 | (eval $ac_try) 2>&5 | 9897 | (eval $ac_try) 2>&5 |
10892 | ac_status=$? | 9898 | ac_status=$? |
10893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9899 | echo "$as_me:9899: \$? = $ac_status" >&5 |
10894 | (exit $ac_status); }; }; then | 9900 | (exit $ac_status); }; }; then |
10895 | ac_hi=$ac_mid; break | 9901 | ac_hi=$ac_mid; break |
10896 | else | 9902 | else |
10897 | echo "$as_me: failed program was:" >&5 | 9903 | echo "$as_me: failed program was:" >&5 |
10898 | sed 's/^/| /' conftest.$ac_ext >&5 | 9904 | cat conftest.$ac_ext >&5 |
10899 | 9905 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | |
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 | 9906 | fi |
10907 | rm -f conftest.$ac_objext conftest.$ac_ext | 9907 | rm -f conftest.$ac_objext conftest.$ac_ext |
10908 | done | 9908 | done |
10909 | else | 9909 | else |
10910 | echo "$as_me: failed program was:" >&5 | 9910 | echo "$as_me: failed program was:" >&5 |
10911 | sed 's/^/| /' conftest.$ac_ext >&5 | 9911 | cat conftest.$ac_ext >&5 |
10912 | 9912 | ac_hi=-1 ac_mid=-1 | |
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 | 9913 | while :; do |
10945 | cat >conftest.$ac_ext <<_ACEOF | 9914 | cat >conftest.$ac_ext <<_ACEOF |
10946 | #line $LINENO "configure" | 9915 | #line 9915 "configure" |
10947 | /* confdefs.h. */ | 9916 | #include "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 | 9917 | $ac_includes_default |
10953 | int | 9918 | int |
10954 | main () | 9919 | main () |
10955 | { | 9920 | { |
10956 | static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; | 9921 | int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)] |
10957 | test_array [0] = 0 | ||
10958 | |||
10959 | ; | 9922 | ; |
10960 | return 0; | 9923 | return 0; |
10961 | } | 9924 | } |
10962 | _ACEOF | 9925 | _ACEOF |
10963 | rm -f conftest.$ac_objext | 9926 | rm -f conftest.$ac_objext |
10964 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9927 | if { (eval echo "$as_me:9927: \"$ac_compile\"") >&5 |
10965 | (eval $ac_compile) 2>&5 | 9928 | (eval $ac_compile) 2>&5 |
10966 | ac_status=$? | 9929 | ac_status=$? |
10967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9930 | echo "$as_me:9930: \$? = $ac_status" >&5 |
10968 | (exit $ac_status); } && | 9931 | (exit $ac_status); } && |
10969 | { ac_try='test -s conftest.$ac_objext' | 9932 | { ac_try='test -s conftest.$ac_objext' |
10970 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9933 | { (eval echo "$as_me:9933: \"$ac_try\"") >&5 |
10971 | (eval $ac_try) 2>&5 | 9934 | (eval $ac_try) 2>&5 |
10972 | ac_status=$? | 9935 | ac_status=$? |
10973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9936 | echo "$as_me:9936: \$? = $ac_status" >&5 |
10974 | (exit $ac_status); }; }; then | 9937 | (exit $ac_status); }; }; then |
10975 | ac_lo=$ac_mid; break | 9938 | ac_lo=$ac_mid; break |
10976 | else | 9939 | else |
10977 | echo "$as_me: failed program was:" >&5 | 9940 | echo "$as_me: failed program was:" >&5 |
10978 | sed 's/^/| /' conftest.$ac_ext >&5 | 9941 | cat conftest.$ac_ext >&5 |
10979 | 9942 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | |
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 | 9943 | fi |
10987 | rm -f conftest.$ac_objext conftest.$ac_ext | 9944 | rm -f conftest.$ac_objext conftest.$ac_ext |
10988 | done | 9945 | 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 | 9946 | fi |
10997 | rm -f conftest.$ac_objext conftest.$ac_ext | 9947 | rm -f conftest.$ac_objext conftest.$ac_ext |
10998 | # Binary search between lo and hi bounds. | 9948 | # Binary search between lo and hi bounds. |
10999 | while test "x$ac_lo" != "x$ac_hi"; do | 9949 | while test "x$ac_lo" != "x$ac_hi"; do |
11000 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 9950 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11001 | cat >conftest.$ac_ext <<_ACEOF | 9951 | cat >conftest.$ac_ext <<_ACEOF |
11002 | #line $LINENO "configure" | 9952 | #line 9952 "configure" |
11003 | /* confdefs.h. */ | 9953 | #include "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 | 9954 | $ac_includes_default |
11009 | int | 9955 | int |
11010 | main () | 9956 | main () |
11011 | { | 9957 | { |
11012 | static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; | 9958 | int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] |
11013 | test_array [0] = 0 | ||
11014 | |||
11015 | ; | 9959 | ; |
11016 | return 0; | 9960 | return 0; |
11017 | } | 9961 | } |
11018 | _ACEOF | 9962 | _ACEOF |
11019 | rm -f conftest.$ac_objext | 9963 | rm -f conftest.$ac_objext |
11020 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9964 | if { (eval echo "$as_me:9964: \"$ac_compile\"") >&5 |
11021 | (eval $ac_compile) 2>&5 | 9965 | (eval $ac_compile) 2>&5 |
11022 | ac_status=$? | 9966 | ac_status=$? |
11023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9967 | echo "$as_me:9967: \$? = $ac_status" >&5 |
11024 | (exit $ac_status); } && | 9968 | (exit $ac_status); } && |
11025 | { ac_try='test -s conftest.$ac_objext' | 9969 | { ac_try='test -s conftest.$ac_objext' |
11026 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9970 | { (eval echo "$as_me:9970: \"$ac_try\"") >&5 |
11027 | (eval $ac_try) 2>&5 | 9971 | (eval $ac_try) 2>&5 |
11028 | ac_status=$? | 9972 | ac_status=$? |
11029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9973 | echo "$as_me:9973: \$? = $ac_status" >&5 |
11030 | (exit $ac_status); }; }; then | 9974 | (exit $ac_status); }; }; then |
11031 | ac_hi=$ac_mid | 9975 | ac_hi=$ac_mid |
11032 | else | 9976 | else |
11033 | echo "$as_me: failed program was:" >&5 | 9977 | echo "$as_me: failed program was:" >&5 |
11034 | sed 's/^/| /' conftest.$ac_ext >&5 | 9978 | cat conftest.$ac_ext >&5 |
11035 | 9979 | ac_lo=`expr $ac_mid + 1` | |
11036 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11037 | fi | 9980 | fi |
11038 | rm -f conftest.$ac_objext conftest.$ac_ext | 9981 | rm -f conftest.$ac_objext conftest.$ac_ext |
11039 | done | 9982 | done |
11040 | case $ac_lo in | 9983 | ac_cv_sizeof_char=$ac_lo |
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 | 9984 | else |
11049 | if test "$cross_compiling" = yes; then | 9985 | if test "$cross_compiling" = yes; then |
11050 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 9986 | { { echo "$as_me:9986: error: cannot run test program while cross compiling" >&5 |
11051 | See \`config.log' for more details." >&5 | 9987 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 9988 | { (exit 1); exit 1; }; } |
11055 | else | 9989 | else |
11056 | cat >conftest.$ac_ext <<_ACEOF | 9990 | cat >conftest.$ac_ext <<_ACEOF |
11057 | #line $LINENO "configure" | 9991 | #line 9991 "configure" |
11058 | /* confdefs.h. */ | 9992 | #include "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 | 9993 | $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 | 9994 | int |
11069 | main () | 9995 | main () |
11070 | { | 9996 | { |
11071 | 9997 | FILE *f = fopen ("conftest.val", "w"); | |
11072 | FILE *f = fopen ("conftest.val", "w"); | 9998 | if (!f) |
11073 | if (! f) | 9999 | exit (1); |
11074 | exit (1); | 10000 | fprintf (f, "%d", (sizeof (char))); |
11075 | if (((long) (sizeof (char))) < 0) | 10001 | fclose (f); |
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 | ; | 10002 | ; |
11092 | return 0; | 10003 | return 0; |
11093 | } | 10004 | } |
11094 | _ACEOF | 10005 | _ACEOF |
11095 | rm -f conftest$ac_exeext | 10006 | rm -f conftest$ac_exeext |
11096 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10007 | if { (eval echo "$as_me:10007: \"$ac_link\"") >&5 |
11097 | (eval $ac_link) 2>&5 | 10008 | (eval $ac_link) 2>&5 |
11098 | ac_status=$? | 10009 | ac_status=$? |
11099 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10010 | echo "$as_me:10010: \$? = $ac_status" >&5 |
11100 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10011 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11101 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10012 | { (eval echo "$as_me:10012: \"$ac_try\"") >&5 |
11102 | (eval $ac_try) 2>&5 | 10013 | (eval $ac_try) 2>&5 |
11103 | ac_status=$? | 10014 | ac_status=$? |
11104 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10015 | echo "$as_me:10015: \$? = $ac_status" >&5 |
11105 | (exit $ac_status); }; }; then | 10016 | (exit $ac_status); }; }; then |
11106 | ac_cv_sizeof_char=`cat conftest.val` | 10017 | ac_cv_sizeof_char=`cat conftest.val` |
11107 | else | 10018 | else |
11108 | echo "$as_me: program exited with status $ac_status" >&5 | 10019 | echo "$as_me: program exited with status $ac_status" >&5 |
11109 | echo "$as_me: failed program was:" >&5 | 10020 | echo "$as_me: failed program was:" >&5 |
11110 | sed 's/^/| /' conftest.$ac_ext >&5 | 10021 | cat 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 | 10022 | fi |
11119 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10023 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11120 | fi | 10024 | fi |
11121 | fi | 10025 | fi |
11122 | rm -f conftest.val | 10026 | rm -f conftest.val |
@@ -11124,25 +10028,20 @@ else | |||
11124 | ac_cv_sizeof_char=0 | 10028 | ac_cv_sizeof_char=0 |
11125 | fi | 10029 | fi |
11126 | fi | 10030 | fi |
11127 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 | 10031 | echo "$as_me:10031: result: $ac_cv_sizeof_char" >&5 |
11128 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 | 10032 | echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
11129 | cat >>confdefs.h <<_ACEOF | 10033 | cat >>confdefs.h <<EOF |
11130 | #define SIZEOF_CHAR $ac_cv_sizeof_char | 10034 | #define SIZEOF_CHAR $ac_cv_sizeof_char |
11131 | _ACEOF | 10035 | EOF |
11132 | |||
11133 | 10036 | ||
11134 | echo "$as_me:$LINENO: checking for short int" >&5 | 10037 | echo "$as_me:10037: checking for short int" >&5 |
11135 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 | 10038 | echo $ECHO_N "checking for short int... $ECHO_C" >&6 |
11136 | if test "${ac_cv_type_short_int+set}" = set; then | 10039 | if test "${ac_cv_type_short_int+set}" = set; then |
11137 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10040 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11138 | else | 10041 | else |
11139 | cat >conftest.$ac_ext <<_ACEOF | 10042 | cat >conftest.$ac_ext <<_ACEOF |
11140 | #line $LINENO "configure" | 10043 | #line 10043 "configure" |
11141 | /* confdefs.h. */ | 10044 | #include "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 | 10045 | $ac_includes_default |
11147 | int | 10046 | int |
11148 | main () | 10047 | main () |
@@ -11156,328 +10055,209 @@ if (sizeof (short int)) | |||
11156 | } | 10055 | } |
11157 | _ACEOF | 10056 | _ACEOF |
11158 | rm -f conftest.$ac_objext | 10057 | rm -f conftest.$ac_objext |
11159 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10058 | if { (eval echo "$as_me:10058: \"$ac_compile\"") >&5 |
11160 | (eval $ac_compile) 2>&5 | 10059 | (eval $ac_compile) 2>&5 |
11161 | ac_status=$? | 10060 | ac_status=$? |
11162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10061 | echo "$as_me:10061: \$? = $ac_status" >&5 |
11163 | (exit $ac_status); } && | 10062 | (exit $ac_status); } && |
11164 | { ac_try='test -s conftest.$ac_objext' | 10063 | { ac_try='test -s conftest.$ac_objext' |
11165 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10064 | { (eval echo "$as_me:10064: \"$ac_try\"") >&5 |
11166 | (eval $ac_try) 2>&5 | 10065 | (eval $ac_try) 2>&5 |
11167 | ac_status=$? | 10066 | ac_status=$? |
11168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10067 | echo "$as_me:10067: \$? = $ac_status" >&5 |
11169 | (exit $ac_status); }; }; then | 10068 | (exit $ac_status); }; }; then |
11170 | ac_cv_type_short_int=yes | 10069 | ac_cv_type_short_int=yes |
11171 | else | 10070 | else |
11172 | echo "$as_me: failed program was:" >&5 | 10071 | echo "$as_me: failed program was:" >&5 |
11173 | sed 's/^/| /' conftest.$ac_ext >&5 | 10072 | cat conftest.$ac_ext >&5 |
11174 | |||
11175 | ac_cv_type_short_int=no | 10073 | ac_cv_type_short_int=no |
11176 | fi | 10074 | fi |
11177 | rm -f conftest.$ac_objext conftest.$ac_ext | 10075 | rm -f conftest.$ac_objext conftest.$ac_ext |
11178 | fi | 10076 | fi |
11179 | echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | 10077 | echo "$as_me:10077: result: $ac_cv_type_short_int" >&5 |
11180 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 | 10078 | echo "${ECHO_T}$ac_cv_type_short_int" >&6 |
11181 | 10079 | ||
11182 | echo "$as_me:$LINENO: checking size of short int" >&5 | 10080 | echo "$as_me:10080: checking size of short int" >&5 |
11183 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 | 10081 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6 |
11184 | if test "${ac_cv_sizeof_short_int+set}" = set; then | 10082 | if test "${ac_cv_sizeof_short_int+set}" = set; then |
11185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10083 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11186 | else | 10084 | else |
11187 | if test "$ac_cv_type_short_int" = yes; then | 10085 | 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 | 10086 | if test "$cross_compiling" = yes; then |
11193 | # Depending upon the size, compute the lo and hi bounds. | 10087 | # Depending upon the size, compute the lo and hi bounds. |
11194 | cat >conftest.$ac_ext <<_ACEOF | 10088 | cat >conftest.$ac_ext <<_ACEOF |
11195 | #line $LINENO "configure" | 10089 | #line 10089 "configure" |
11196 | /* confdefs.h. */ | 10090 | #include "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 | 10091 | $ac_includes_default |
11202 | int | 10092 | int |
11203 | main () | 10093 | main () |
11204 | { | 10094 | { |
11205 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)]; | 10095 | int _array_ [1 - 2 * !((sizeof (short int)) >= 0)] |
11206 | test_array [0] = 0 | ||
11207 | |||
11208 | ; | 10096 | ; |
11209 | return 0; | 10097 | return 0; |
11210 | } | 10098 | } |
11211 | _ACEOF | 10099 | _ACEOF |
11212 | rm -f conftest.$ac_objext | 10100 | rm -f conftest.$ac_objext |
11213 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10101 | if { (eval echo "$as_me:10101: \"$ac_compile\"") >&5 |
11214 | (eval $ac_compile) 2>&5 | 10102 | (eval $ac_compile) 2>&5 |
11215 | ac_status=$? | 10103 | ac_status=$? |
11216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10104 | echo "$as_me:10104: \$? = $ac_status" >&5 |
11217 | (exit $ac_status); } && | 10105 | (exit $ac_status); } && |
11218 | { ac_try='test -s conftest.$ac_objext' | 10106 | { ac_try='test -s conftest.$ac_objext' |
11219 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10107 | { (eval echo "$as_me:10107: \"$ac_try\"") >&5 |
11220 | (eval $ac_try) 2>&5 | 10108 | (eval $ac_try) 2>&5 |
11221 | ac_status=$? | 10109 | ac_status=$? |
11222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10110 | echo "$as_me:10110: \$? = $ac_status" >&5 |
11223 | (exit $ac_status); }; }; then | 10111 | (exit $ac_status); }; }; then |
11224 | ac_lo=0 ac_mid=0 | 10112 | ac_lo=0 ac_mid=0 |
11225 | while :; do | 10113 | while :; do |
11226 | cat >conftest.$ac_ext <<_ACEOF | 10114 | cat >conftest.$ac_ext <<_ACEOF |
11227 | #line $LINENO "configure" | 10115 | #line 10115 "configure" |
11228 | /* confdefs.h. */ | 10116 | #include "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 | 10117 | $ac_includes_default |
11234 | int | 10118 | int |
11235 | main () | 10119 | main () |
11236 | { | 10120 | { |
11237 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)]; | 10121 | int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] |
11238 | test_array [0] = 0 | ||
11239 | |||
11240 | ; | 10122 | ; |
11241 | return 0; | 10123 | return 0; |
11242 | } | 10124 | } |
11243 | _ACEOF | 10125 | _ACEOF |
11244 | rm -f conftest.$ac_objext | 10126 | rm -f conftest.$ac_objext |
11245 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10127 | if { (eval echo "$as_me:10127: \"$ac_compile\"") >&5 |
11246 | (eval $ac_compile) 2>&5 | 10128 | (eval $ac_compile) 2>&5 |
11247 | ac_status=$? | 10129 | ac_status=$? |
11248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10130 | echo "$as_me:10130: \$? = $ac_status" >&5 |
11249 | (exit $ac_status); } && | 10131 | (exit $ac_status); } && |
11250 | { ac_try='test -s conftest.$ac_objext' | 10132 | { ac_try='test -s conftest.$ac_objext' |
11251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10133 | { (eval echo "$as_me:10133: \"$ac_try\"") >&5 |
11252 | (eval $ac_try) 2>&5 | 10134 | (eval $ac_try) 2>&5 |
11253 | ac_status=$? | 10135 | ac_status=$? |
11254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10136 | echo "$as_me:10136: \$? = $ac_status" >&5 |
11255 | (exit $ac_status); }; }; then | 10137 | (exit $ac_status); }; }; then |
11256 | ac_hi=$ac_mid; break | 10138 | ac_hi=$ac_mid; break |
11257 | else | 10139 | else |
11258 | echo "$as_me: failed program was:" >&5 | 10140 | echo "$as_me: failed program was:" >&5 |
11259 | sed 's/^/| /' conftest.$ac_ext >&5 | 10141 | cat conftest.$ac_ext >&5 |
11260 | 10142 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | |
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 | 10143 | fi |
11268 | rm -f conftest.$ac_objext conftest.$ac_ext | 10144 | rm -f conftest.$ac_objext conftest.$ac_ext |
11269 | done | 10145 | done |
11270 | else | 10146 | else |
11271 | echo "$as_me: failed program was:" >&5 | 10147 | echo "$as_me: failed program was:" >&5 |
11272 | sed 's/^/| /' conftest.$ac_ext >&5 | 10148 | cat conftest.$ac_ext >&5 |
11273 | 10149 | ac_hi=-1 ac_mid=-1 | |
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 | 10150 | while :; do |
11306 | cat >conftest.$ac_ext <<_ACEOF | 10151 | cat >conftest.$ac_ext <<_ACEOF |
11307 | #line $LINENO "configure" | 10152 | #line 10152 "configure" |
11308 | /* confdefs.h. */ | 10153 | #include "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 | 10154 | $ac_includes_default |
11314 | int | 10155 | int |
11315 | main () | 10156 | main () |
11316 | { | 10157 | { |
11317 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)]; | 10158 | int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)] |
11318 | test_array [0] = 0 | ||
11319 | |||
11320 | ; | 10159 | ; |
11321 | return 0; | 10160 | return 0; |
11322 | } | 10161 | } |
11323 | _ACEOF | 10162 | _ACEOF |
11324 | rm -f conftest.$ac_objext | 10163 | rm -f conftest.$ac_objext |
11325 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10164 | if { (eval echo "$as_me:10164: \"$ac_compile\"") >&5 |
11326 | (eval $ac_compile) 2>&5 | 10165 | (eval $ac_compile) 2>&5 |
11327 | ac_status=$? | 10166 | ac_status=$? |
11328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10167 | echo "$as_me:10167: \$? = $ac_status" >&5 |
11329 | (exit $ac_status); } && | 10168 | (exit $ac_status); } && |
11330 | { ac_try='test -s conftest.$ac_objext' | 10169 | { ac_try='test -s conftest.$ac_objext' |
11331 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10170 | { (eval echo "$as_me:10170: \"$ac_try\"") >&5 |
11332 | (eval $ac_try) 2>&5 | 10171 | (eval $ac_try) 2>&5 |
11333 | ac_status=$? | 10172 | ac_status=$? |
11334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10173 | echo "$as_me:10173: \$? = $ac_status" >&5 |
11335 | (exit $ac_status); }; }; then | 10174 | (exit $ac_status); }; }; then |
11336 | ac_lo=$ac_mid; break | 10175 | ac_lo=$ac_mid; break |
11337 | else | 10176 | else |
11338 | echo "$as_me: failed program was:" >&5 | 10177 | echo "$as_me: failed program was:" >&5 |
11339 | sed 's/^/| /' conftest.$ac_ext >&5 | 10178 | cat conftest.$ac_ext >&5 |
11340 | 10179 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | |
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 | 10180 | fi |
11348 | rm -f conftest.$ac_objext conftest.$ac_ext | 10181 | rm -f conftest.$ac_objext conftest.$ac_ext |
11349 | done | 10182 | 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 | 10183 | fi |
11358 | rm -f conftest.$ac_objext conftest.$ac_ext | 10184 | rm -f conftest.$ac_objext conftest.$ac_ext |
11359 | # Binary search between lo and hi bounds. | 10185 | # Binary search between lo and hi bounds. |
11360 | while test "x$ac_lo" != "x$ac_hi"; do | 10186 | while test "x$ac_lo" != "x$ac_hi"; do |
11361 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 10187 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11362 | cat >conftest.$ac_ext <<_ACEOF | 10188 | cat >conftest.$ac_ext <<_ACEOF |
11363 | #line $LINENO "configure" | 10189 | #line 10189 "configure" |
11364 | /* confdefs.h. */ | 10190 | #include "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 | 10191 | $ac_includes_default |
11370 | int | 10192 | int |
11371 | main () | 10193 | main () |
11372 | { | 10194 | { |
11373 | static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)]; | 10195 | int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] |
11374 | test_array [0] = 0 | ||
11375 | |||
11376 | ; | 10196 | ; |
11377 | return 0; | 10197 | return 0; |
11378 | } | 10198 | } |
11379 | _ACEOF | 10199 | _ACEOF |
11380 | rm -f conftest.$ac_objext | 10200 | rm -f conftest.$ac_objext |
11381 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10201 | if { (eval echo "$as_me:10201: \"$ac_compile\"") >&5 |
11382 | (eval $ac_compile) 2>&5 | 10202 | (eval $ac_compile) 2>&5 |
11383 | ac_status=$? | 10203 | ac_status=$? |
11384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10204 | echo "$as_me:10204: \$? = $ac_status" >&5 |
11385 | (exit $ac_status); } && | 10205 | (exit $ac_status); } && |
11386 | { ac_try='test -s conftest.$ac_objext' | 10206 | { ac_try='test -s conftest.$ac_objext' |
11387 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10207 | { (eval echo "$as_me:10207: \"$ac_try\"") >&5 |
11388 | (eval $ac_try) 2>&5 | 10208 | (eval $ac_try) 2>&5 |
11389 | ac_status=$? | 10209 | ac_status=$? |
11390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10210 | echo "$as_me:10210: \$? = $ac_status" >&5 |
11391 | (exit $ac_status); }; }; then | 10211 | (exit $ac_status); }; }; then |
11392 | ac_hi=$ac_mid | 10212 | ac_hi=$ac_mid |
11393 | else | 10213 | else |
11394 | echo "$as_me: failed program was:" >&5 | 10214 | echo "$as_me: failed program was:" >&5 |
11395 | sed 's/^/| /' conftest.$ac_ext >&5 | 10215 | cat conftest.$ac_ext >&5 |
11396 | 10216 | ac_lo=`expr $ac_mid + 1` | |
11397 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11398 | fi | 10217 | fi |
11399 | rm -f conftest.$ac_objext conftest.$ac_ext | 10218 | rm -f conftest.$ac_objext conftest.$ac_ext |
11400 | done | 10219 | done |
11401 | case $ac_lo in | 10220 | ac_cv_sizeof_short_int=$ac_lo |
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 | 10221 | else |
11410 | if test "$cross_compiling" = yes; then | 10222 | if test "$cross_compiling" = yes; then |
11411 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 10223 | { { echo "$as_me:10223: error: cannot run test program while cross compiling" >&5 |
11412 | See \`config.log' for more details." >&5 | 10224 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 10225 | { (exit 1); exit 1; }; } |
11416 | else | 10226 | else |
11417 | cat >conftest.$ac_ext <<_ACEOF | 10227 | cat >conftest.$ac_ext <<_ACEOF |
11418 | #line $LINENO "configure" | 10228 | #line 10228 "configure" |
11419 | /* confdefs.h. */ | 10229 | #include "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 | 10230 | $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 | 10231 | int |
11430 | main () | 10232 | main () |
11431 | { | 10233 | { |
11432 | 10234 | FILE *f = fopen ("conftest.val", "w"); | |
11433 | FILE *f = fopen ("conftest.val", "w"); | 10235 | if (!f) |
11434 | if (! f) | 10236 | exit (1); |
11435 | exit (1); | 10237 | fprintf (f, "%d", (sizeof (short int))); |
11436 | if (((long) (sizeof (short int))) < 0) | 10238 | fclose (f); |
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 | ; | 10239 | ; |
11453 | return 0; | 10240 | return 0; |
11454 | } | 10241 | } |
11455 | _ACEOF | 10242 | _ACEOF |
11456 | rm -f conftest$ac_exeext | 10243 | rm -f conftest$ac_exeext |
11457 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10244 | if { (eval echo "$as_me:10244: \"$ac_link\"") >&5 |
11458 | (eval $ac_link) 2>&5 | 10245 | (eval $ac_link) 2>&5 |
11459 | ac_status=$? | 10246 | ac_status=$? |
11460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10247 | echo "$as_me:10247: \$? = $ac_status" >&5 |
11461 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10248 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11462 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10249 | { (eval echo "$as_me:10249: \"$ac_try\"") >&5 |
11463 | (eval $ac_try) 2>&5 | 10250 | (eval $ac_try) 2>&5 |
11464 | ac_status=$? | 10251 | ac_status=$? |
11465 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10252 | echo "$as_me:10252: \$? = $ac_status" >&5 |
11466 | (exit $ac_status); }; }; then | 10253 | (exit $ac_status); }; }; then |
11467 | ac_cv_sizeof_short_int=`cat conftest.val` | 10254 | ac_cv_sizeof_short_int=`cat conftest.val` |
11468 | else | 10255 | else |
11469 | echo "$as_me: program exited with status $ac_status" >&5 | 10256 | echo "$as_me: program exited with status $ac_status" >&5 |
11470 | echo "$as_me: failed program was:" >&5 | 10257 | echo "$as_me: failed program was:" >&5 |
11471 | sed 's/^/| /' conftest.$ac_ext >&5 | 10258 | cat 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 | 10259 | fi |
11480 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10260 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11481 | fi | 10261 | fi |
11482 | fi | 10262 | fi |
11483 | rm -f conftest.val | 10263 | rm -f conftest.val |
@@ -11485,25 +10265,20 @@ else | |||
11485 | ac_cv_sizeof_short_int=0 | 10265 | ac_cv_sizeof_short_int=0 |
11486 | fi | 10266 | fi |
11487 | fi | 10267 | fi |
11488 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 | 10268 | echo "$as_me:10268: result: $ac_cv_sizeof_short_int" >&5 |
11489 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 | 10269 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 |
11490 | cat >>confdefs.h <<_ACEOF | 10270 | cat >>confdefs.h <<EOF |
11491 | #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int | 10271 | #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int |
11492 | _ACEOF | 10272 | EOF |
11493 | |||
11494 | 10273 | ||
11495 | echo "$as_me:$LINENO: checking for int" >&5 | 10274 | echo "$as_me:10274: checking for int" >&5 |
11496 | echo $ECHO_N "checking for int... $ECHO_C" >&6 | 10275 | echo $ECHO_N "checking for int... $ECHO_C" >&6 |
11497 | if test "${ac_cv_type_int+set}" = set; then | 10276 | if test "${ac_cv_type_int+set}" = set; then |
11498 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10277 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11499 | else | 10278 | else |
11500 | cat >conftest.$ac_ext <<_ACEOF | 10279 | cat >conftest.$ac_ext <<_ACEOF |
11501 | #line $LINENO "configure" | 10280 | #line 10280 "configure" |
11502 | /* confdefs.h. */ | 10281 | #include "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 | 10282 | $ac_includes_default |
11508 | int | 10283 | int |
11509 | main () | 10284 | main () |
@@ -11517,328 +10292,209 @@ if (sizeof (int)) | |||
11517 | } | 10292 | } |
11518 | _ACEOF | 10293 | _ACEOF |
11519 | rm -f conftest.$ac_objext | 10294 | rm -f conftest.$ac_objext |
11520 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10295 | if { (eval echo "$as_me:10295: \"$ac_compile\"") >&5 |
11521 | (eval $ac_compile) 2>&5 | 10296 | (eval $ac_compile) 2>&5 |
11522 | ac_status=$? | 10297 | ac_status=$? |
11523 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10298 | echo "$as_me:10298: \$? = $ac_status" >&5 |
11524 | (exit $ac_status); } && | 10299 | (exit $ac_status); } && |
11525 | { ac_try='test -s conftest.$ac_objext' | 10300 | { ac_try='test -s conftest.$ac_objext' |
11526 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10301 | { (eval echo "$as_me:10301: \"$ac_try\"") >&5 |
11527 | (eval $ac_try) 2>&5 | 10302 | (eval $ac_try) 2>&5 |
11528 | ac_status=$? | 10303 | ac_status=$? |
11529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10304 | echo "$as_me:10304: \$? = $ac_status" >&5 |
11530 | (exit $ac_status); }; }; then | 10305 | (exit $ac_status); }; }; then |
11531 | ac_cv_type_int=yes | 10306 | ac_cv_type_int=yes |
11532 | else | 10307 | else |
11533 | echo "$as_me: failed program was:" >&5 | 10308 | echo "$as_me: failed program was:" >&5 |
11534 | sed 's/^/| /' conftest.$ac_ext >&5 | 10309 | cat conftest.$ac_ext >&5 |
11535 | |||
11536 | ac_cv_type_int=no | 10310 | ac_cv_type_int=no |
11537 | fi | 10311 | fi |
11538 | rm -f conftest.$ac_objext conftest.$ac_ext | 10312 | rm -f conftest.$ac_objext conftest.$ac_ext |
11539 | fi | 10313 | fi |
11540 | echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | 10314 | echo "$as_me:10314: result: $ac_cv_type_int" >&5 |
11541 | echo "${ECHO_T}$ac_cv_type_int" >&6 | 10315 | echo "${ECHO_T}$ac_cv_type_int" >&6 |
11542 | 10316 | ||
11543 | echo "$as_me:$LINENO: checking size of int" >&5 | 10317 | echo "$as_me:10317: checking size of int" >&5 |
11544 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 | 10318 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
11545 | if test "${ac_cv_sizeof_int+set}" = set; then | 10319 | if test "${ac_cv_sizeof_int+set}" = set; then |
11546 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11547 | else | 10321 | else |
11548 | if test "$ac_cv_type_int" = yes; then | 10322 | 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 | 10323 | if test "$cross_compiling" = yes; then |
11554 | # Depending upon the size, compute the lo and hi bounds. | 10324 | # Depending upon the size, compute the lo and hi bounds. |
11555 | cat >conftest.$ac_ext <<_ACEOF | 10325 | cat >conftest.$ac_ext <<_ACEOF |
11556 | #line $LINENO "configure" | 10326 | #line 10326 "configure" |
11557 | /* confdefs.h. */ | 10327 | #include "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 | 10328 | $ac_includes_default |
11563 | int | 10329 | int |
11564 | main () | 10330 | main () |
11565 | { | 10331 | { |
11566 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; | 10332 | int _array_ [1 - 2 * !((sizeof (int)) >= 0)] |
11567 | test_array [0] = 0 | ||
11568 | |||
11569 | ; | 10333 | ; |
11570 | return 0; | 10334 | return 0; |
11571 | } | 10335 | } |
11572 | _ACEOF | 10336 | _ACEOF |
11573 | rm -f conftest.$ac_objext | 10337 | rm -f conftest.$ac_objext |
11574 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10338 | if { (eval echo "$as_me:10338: \"$ac_compile\"") >&5 |
11575 | (eval $ac_compile) 2>&5 | 10339 | (eval $ac_compile) 2>&5 |
11576 | ac_status=$? | 10340 | ac_status=$? |
11577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10341 | echo "$as_me:10341: \$? = $ac_status" >&5 |
11578 | (exit $ac_status); } && | 10342 | (exit $ac_status); } && |
11579 | { ac_try='test -s conftest.$ac_objext' | 10343 | { ac_try='test -s conftest.$ac_objext' |
11580 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10344 | { (eval echo "$as_me:10344: \"$ac_try\"") >&5 |
11581 | (eval $ac_try) 2>&5 | 10345 | (eval $ac_try) 2>&5 |
11582 | ac_status=$? | 10346 | ac_status=$? |
11583 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10347 | echo "$as_me:10347: \$? = $ac_status" >&5 |
11584 | (exit $ac_status); }; }; then | 10348 | (exit $ac_status); }; }; then |
11585 | ac_lo=0 ac_mid=0 | 10349 | ac_lo=0 ac_mid=0 |
11586 | while :; do | 10350 | while :; do |
11587 | cat >conftest.$ac_ext <<_ACEOF | 10351 | cat >conftest.$ac_ext <<_ACEOF |
11588 | #line $LINENO "configure" | 10352 | #line 10352 "configure" |
11589 | /* confdefs.h. */ | 10353 | #include "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 | 10354 | $ac_includes_default |
11595 | int | 10355 | int |
11596 | main () | 10356 | main () |
11597 | { | 10357 | { |
11598 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; | 10358 | int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] |
11599 | test_array [0] = 0 | ||
11600 | |||
11601 | ; | 10359 | ; |
11602 | return 0; | 10360 | return 0; |
11603 | } | 10361 | } |
11604 | _ACEOF | 10362 | _ACEOF |
11605 | rm -f conftest.$ac_objext | 10363 | rm -f conftest.$ac_objext |
11606 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10364 | if { (eval echo "$as_me:10364: \"$ac_compile\"") >&5 |
11607 | (eval $ac_compile) 2>&5 | 10365 | (eval $ac_compile) 2>&5 |
11608 | ac_status=$? | 10366 | ac_status=$? |
11609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10367 | echo "$as_me:10367: \$? = $ac_status" >&5 |
11610 | (exit $ac_status); } && | 10368 | (exit $ac_status); } && |
11611 | { ac_try='test -s conftest.$ac_objext' | 10369 | { ac_try='test -s conftest.$ac_objext' |
11612 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10370 | { (eval echo "$as_me:10370: \"$ac_try\"") >&5 |
11613 | (eval $ac_try) 2>&5 | 10371 | (eval $ac_try) 2>&5 |
11614 | ac_status=$? | 10372 | ac_status=$? |
11615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10373 | echo "$as_me:10373: \$? = $ac_status" >&5 |
11616 | (exit $ac_status); }; }; then | 10374 | (exit $ac_status); }; }; then |
11617 | ac_hi=$ac_mid; break | 10375 | ac_hi=$ac_mid; break |
11618 | else | 10376 | else |
11619 | echo "$as_me: failed program was:" >&5 | 10377 | echo "$as_me: failed program was:" >&5 |
11620 | sed 's/^/| /' conftest.$ac_ext >&5 | 10378 | cat conftest.$ac_ext >&5 |
11621 | 10379 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | |
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 | 10380 | fi |
11629 | rm -f conftest.$ac_objext conftest.$ac_ext | 10381 | rm -f conftest.$ac_objext conftest.$ac_ext |
11630 | done | 10382 | done |
11631 | else | 10383 | else |
11632 | echo "$as_me: failed program was:" >&5 | 10384 | echo "$as_me: failed program was:" >&5 |
11633 | sed 's/^/| /' conftest.$ac_ext >&5 | 10385 | cat conftest.$ac_ext >&5 |
11634 | 10386 | ac_hi=-1 ac_mid=-1 | |
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 | 10387 | while :; do |
11667 | cat >conftest.$ac_ext <<_ACEOF | 10388 | cat >conftest.$ac_ext <<_ACEOF |
11668 | #line $LINENO "configure" | 10389 | #line 10389 "configure" |
11669 | /* confdefs.h. */ | 10390 | #include "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 | 10391 | $ac_includes_default |
11675 | int | 10392 | int |
11676 | main () | 10393 | main () |
11677 | { | 10394 | { |
11678 | static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; | 10395 | int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)] |
11679 | test_array [0] = 0 | ||
11680 | |||
11681 | ; | 10396 | ; |
11682 | return 0; | 10397 | return 0; |
11683 | } | 10398 | } |
11684 | _ACEOF | 10399 | _ACEOF |
11685 | rm -f conftest.$ac_objext | 10400 | rm -f conftest.$ac_objext |
11686 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10401 | if { (eval echo "$as_me:10401: \"$ac_compile\"") >&5 |
11687 | (eval $ac_compile) 2>&5 | 10402 | (eval $ac_compile) 2>&5 |
11688 | ac_status=$? | 10403 | ac_status=$? |
11689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10404 | echo "$as_me:10404: \$? = $ac_status" >&5 |
11690 | (exit $ac_status); } && | 10405 | (exit $ac_status); } && |
11691 | { ac_try='test -s conftest.$ac_objext' | 10406 | { ac_try='test -s conftest.$ac_objext' |
11692 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10407 | { (eval echo "$as_me:10407: \"$ac_try\"") >&5 |
11693 | (eval $ac_try) 2>&5 | 10408 | (eval $ac_try) 2>&5 |
11694 | ac_status=$? | 10409 | ac_status=$? |
11695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10410 | echo "$as_me:10410: \$? = $ac_status" >&5 |
11696 | (exit $ac_status); }; }; then | 10411 | (exit $ac_status); }; }; then |
11697 | ac_lo=$ac_mid; break | 10412 | ac_lo=$ac_mid; break |
11698 | else | 10413 | else |
11699 | echo "$as_me: failed program was:" >&5 | 10414 | echo "$as_me: failed program was:" >&5 |
11700 | sed 's/^/| /' conftest.$ac_ext >&5 | 10415 | cat conftest.$ac_ext >&5 |
11701 | 10416 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | |
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 | 10417 | fi |
11709 | rm -f conftest.$ac_objext conftest.$ac_ext | 10418 | rm -f conftest.$ac_objext conftest.$ac_ext |
11710 | done | 10419 | 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 | 10420 | fi |
11719 | rm -f conftest.$ac_objext conftest.$ac_ext | 10421 | rm -f conftest.$ac_objext conftest.$ac_ext |
11720 | # Binary search between lo and hi bounds. | 10422 | # Binary search between lo and hi bounds. |
11721 | while test "x$ac_lo" != "x$ac_hi"; do | 10423 | while test "x$ac_lo" != "x$ac_hi"; do |
11722 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 10424 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11723 | cat >conftest.$ac_ext <<_ACEOF | 10425 | cat >conftest.$ac_ext <<_ACEOF |
11724 | #line $LINENO "configure" | 10426 | #line 10426 "configure" |
11725 | /* confdefs.h. */ | 10427 | #include "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 | 10428 | $ac_includes_default |
11731 | int | 10429 | int |
11732 | main () | 10430 | main () |
11733 | { | 10431 | { |
11734 | static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; | 10432 | int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] |
11735 | test_array [0] = 0 | ||
11736 | |||
11737 | ; | 10433 | ; |
11738 | return 0; | 10434 | return 0; |
11739 | } | 10435 | } |
11740 | _ACEOF | 10436 | _ACEOF |
11741 | rm -f conftest.$ac_objext | 10437 | rm -f conftest.$ac_objext |
11742 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10438 | if { (eval echo "$as_me:10438: \"$ac_compile\"") >&5 |
11743 | (eval $ac_compile) 2>&5 | 10439 | (eval $ac_compile) 2>&5 |
11744 | ac_status=$? | 10440 | ac_status=$? |
11745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10441 | echo "$as_me:10441: \$? = $ac_status" >&5 |
11746 | (exit $ac_status); } && | 10442 | (exit $ac_status); } && |
11747 | { ac_try='test -s conftest.$ac_objext' | 10443 | { ac_try='test -s conftest.$ac_objext' |
11748 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10444 | { (eval echo "$as_me:10444: \"$ac_try\"") >&5 |
11749 | (eval $ac_try) 2>&5 | 10445 | (eval $ac_try) 2>&5 |
11750 | ac_status=$? | 10446 | ac_status=$? |
11751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10447 | echo "$as_me:10447: \$? = $ac_status" >&5 |
11752 | (exit $ac_status); }; }; then | 10448 | (exit $ac_status); }; }; then |
11753 | ac_hi=$ac_mid | 10449 | ac_hi=$ac_mid |
11754 | else | 10450 | else |
11755 | echo "$as_me: failed program was:" >&5 | 10451 | echo "$as_me: failed program was:" >&5 |
11756 | sed 's/^/| /' conftest.$ac_ext >&5 | 10452 | cat conftest.$ac_ext >&5 |
11757 | 10453 | ac_lo=`expr $ac_mid + 1` | |
11758 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
11759 | fi | 10454 | fi |
11760 | rm -f conftest.$ac_objext conftest.$ac_ext | 10455 | rm -f conftest.$ac_objext conftest.$ac_ext |
11761 | done | 10456 | done |
11762 | case $ac_lo in | 10457 | ac_cv_sizeof_int=$ac_lo |
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 | 10458 | else |
11771 | if test "$cross_compiling" = yes; then | 10459 | if test "$cross_compiling" = yes; then |
11772 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 10460 | { { echo "$as_me:10460: error: cannot run test program while cross compiling" >&5 |
11773 | See \`config.log' for more details." >&5 | 10461 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 10462 | { (exit 1); exit 1; }; } |
11777 | else | 10463 | else |
11778 | cat >conftest.$ac_ext <<_ACEOF | 10464 | cat >conftest.$ac_ext <<_ACEOF |
11779 | #line $LINENO "configure" | 10465 | #line 10465 "configure" |
11780 | /* confdefs.h. */ | 10466 | #include "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 | 10467 | $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 | 10468 | int |
11791 | main () | 10469 | main () |
11792 | { | 10470 | { |
11793 | 10471 | FILE *f = fopen ("conftest.val", "w"); | |
11794 | FILE *f = fopen ("conftest.val", "w"); | 10472 | if (!f) |
11795 | if (! f) | 10473 | exit (1); |
11796 | exit (1); | 10474 | fprintf (f, "%d", (sizeof (int))); |
11797 | if (((long) (sizeof (int))) < 0) | 10475 | fclose (f); |
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 | ; | 10476 | ; |
11814 | return 0; | 10477 | return 0; |
11815 | } | 10478 | } |
11816 | _ACEOF | 10479 | _ACEOF |
11817 | rm -f conftest$ac_exeext | 10480 | rm -f conftest$ac_exeext |
11818 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10481 | if { (eval echo "$as_me:10481: \"$ac_link\"") >&5 |
11819 | (eval $ac_link) 2>&5 | 10482 | (eval $ac_link) 2>&5 |
11820 | ac_status=$? | 10483 | ac_status=$? |
11821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10484 | echo "$as_me:10484: \$? = $ac_status" >&5 |
11822 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10485 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11823 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10486 | { (eval echo "$as_me:10486: \"$ac_try\"") >&5 |
11824 | (eval $ac_try) 2>&5 | 10487 | (eval $ac_try) 2>&5 |
11825 | ac_status=$? | 10488 | ac_status=$? |
11826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10489 | echo "$as_me:10489: \$? = $ac_status" >&5 |
11827 | (exit $ac_status); }; }; then | 10490 | (exit $ac_status); }; }; then |
11828 | ac_cv_sizeof_int=`cat conftest.val` | 10491 | ac_cv_sizeof_int=`cat conftest.val` |
11829 | else | 10492 | else |
11830 | echo "$as_me: program exited with status $ac_status" >&5 | 10493 | echo "$as_me: program exited with status $ac_status" >&5 |
11831 | echo "$as_me: failed program was:" >&5 | 10494 | echo "$as_me: failed program was:" >&5 |
11832 | sed 's/^/| /' conftest.$ac_ext >&5 | 10495 | cat 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 | 10496 | fi |
11841 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10497 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11842 | fi | 10498 | fi |
11843 | fi | 10499 | fi |
11844 | rm -f conftest.val | 10500 | rm -f conftest.val |
@@ -11846,25 +10502,20 @@ else | |||
11846 | ac_cv_sizeof_int=0 | 10502 | ac_cv_sizeof_int=0 |
11847 | fi | 10503 | fi |
11848 | fi | 10504 | fi |
11849 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | 10505 | echo "$as_me:10505: result: $ac_cv_sizeof_int" >&5 |
11850 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 | 10506 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
11851 | cat >>confdefs.h <<_ACEOF | 10507 | cat >>confdefs.h <<EOF |
11852 | #define SIZEOF_INT $ac_cv_sizeof_int | 10508 | #define SIZEOF_INT $ac_cv_sizeof_int |
11853 | _ACEOF | 10509 | EOF |
11854 | |||
11855 | 10510 | ||
11856 | echo "$as_me:$LINENO: checking for long int" >&5 | 10511 | echo "$as_me:10511: checking for long int" >&5 |
11857 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 | 10512 | echo $ECHO_N "checking for long int... $ECHO_C" >&6 |
11858 | if test "${ac_cv_type_long_int+set}" = set; then | 10513 | if test "${ac_cv_type_long_int+set}" = set; then |
11859 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11860 | else | 10515 | else |
11861 | cat >conftest.$ac_ext <<_ACEOF | 10516 | cat >conftest.$ac_ext <<_ACEOF |
11862 | #line $LINENO "configure" | 10517 | #line 10517 "configure" |
11863 | /* confdefs.h. */ | 10518 | #include "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 | 10519 | $ac_includes_default |
11869 | int | 10520 | int |
11870 | main () | 10521 | main () |
@@ -11878,328 +10529,209 @@ if (sizeof (long int)) | |||
11878 | } | 10529 | } |
11879 | _ACEOF | 10530 | _ACEOF |
11880 | rm -f conftest.$ac_objext | 10531 | rm -f conftest.$ac_objext |
11881 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10532 | if { (eval echo "$as_me:10532: \"$ac_compile\"") >&5 |
11882 | (eval $ac_compile) 2>&5 | 10533 | (eval $ac_compile) 2>&5 |
11883 | ac_status=$? | 10534 | ac_status=$? |
11884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10535 | echo "$as_me:10535: \$? = $ac_status" >&5 |
11885 | (exit $ac_status); } && | 10536 | (exit $ac_status); } && |
11886 | { ac_try='test -s conftest.$ac_objext' | 10537 | { ac_try='test -s conftest.$ac_objext' |
11887 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10538 | { (eval echo "$as_me:10538: \"$ac_try\"") >&5 |
11888 | (eval $ac_try) 2>&5 | 10539 | (eval $ac_try) 2>&5 |
11889 | ac_status=$? | 10540 | ac_status=$? |
11890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10541 | echo "$as_me:10541: \$? = $ac_status" >&5 |
11891 | (exit $ac_status); }; }; then | 10542 | (exit $ac_status); }; }; then |
11892 | ac_cv_type_long_int=yes | 10543 | ac_cv_type_long_int=yes |
11893 | else | 10544 | else |
11894 | echo "$as_me: failed program was:" >&5 | 10545 | echo "$as_me: failed program was:" >&5 |
11895 | sed 's/^/| /' conftest.$ac_ext >&5 | 10546 | cat conftest.$ac_ext >&5 |
11896 | |||
11897 | ac_cv_type_long_int=no | 10547 | ac_cv_type_long_int=no |
11898 | fi | 10548 | fi |
11899 | rm -f conftest.$ac_objext conftest.$ac_ext | 10549 | rm -f conftest.$ac_objext conftest.$ac_ext |
11900 | fi | 10550 | fi |
11901 | echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | 10551 | echo "$as_me:10551: result: $ac_cv_type_long_int" >&5 |
11902 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 | 10552 | echo "${ECHO_T}$ac_cv_type_long_int" >&6 |
11903 | 10553 | ||
11904 | echo "$as_me:$LINENO: checking size of long int" >&5 | 10554 | echo "$as_me:10554: checking size of long int" >&5 |
11905 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 | 10555 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6 |
11906 | if test "${ac_cv_sizeof_long_int+set}" = set; then | 10556 | if test "${ac_cv_sizeof_long_int+set}" = set; then |
11907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10557 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11908 | else | 10558 | else |
11909 | if test "$ac_cv_type_long_int" = yes; then | 10559 | 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 | 10560 | if test "$cross_compiling" = yes; then |
11915 | # Depending upon the size, compute the lo and hi bounds. | 10561 | # Depending upon the size, compute the lo and hi bounds. |
11916 | cat >conftest.$ac_ext <<_ACEOF | 10562 | cat >conftest.$ac_ext <<_ACEOF |
11917 | #line $LINENO "configure" | 10563 | #line 10563 "configure" |
11918 | /* confdefs.h. */ | 10564 | #include "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 | 10565 | $ac_includes_default |
11924 | int | 10566 | int |
11925 | main () | 10567 | main () |
11926 | { | 10568 | { |
11927 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)]; | 10569 | int _array_ [1 - 2 * !((sizeof (long int)) >= 0)] |
11928 | test_array [0] = 0 | ||
11929 | |||
11930 | ; | 10570 | ; |
11931 | return 0; | 10571 | return 0; |
11932 | } | 10572 | } |
11933 | _ACEOF | 10573 | _ACEOF |
11934 | rm -f conftest.$ac_objext | 10574 | rm -f conftest.$ac_objext |
11935 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10575 | if { (eval echo "$as_me:10575: \"$ac_compile\"") >&5 |
11936 | (eval $ac_compile) 2>&5 | 10576 | (eval $ac_compile) 2>&5 |
11937 | ac_status=$? | 10577 | ac_status=$? |
11938 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10578 | echo "$as_me:10578: \$? = $ac_status" >&5 |
11939 | (exit $ac_status); } && | 10579 | (exit $ac_status); } && |
11940 | { ac_try='test -s conftest.$ac_objext' | 10580 | { ac_try='test -s conftest.$ac_objext' |
11941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10581 | { (eval echo "$as_me:10581: \"$ac_try\"") >&5 |
11942 | (eval $ac_try) 2>&5 | 10582 | (eval $ac_try) 2>&5 |
11943 | ac_status=$? | 10583 | ac_status=$? |
11944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10584 | echo "$as_me:10584: \$? = $ac_status" >&5 |
11945 | (exit $ac_status); }; }; then | 10585 | (exit $ac_status); }; }; then |
11946 | ac_lo=0 ac_mid=0 | 10586 | ac_lo=0 ac_mid=0 |
11947 | while :; do | 10587 | while :; do |
11948 | cat >conftest.$ac_ext <<_ACEOF | 10588 | cat >conftest.$ac_ext <<_ACEOF |
11949 | #line $LINENO "configure" | 10589 | #line 10589 "configure" |
11950 | /* confdefs.h. */ | 10590 | #include "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 | 10591 | $ac_includes_default |
11956 | int | 10592 | int |
11957 | main () | 10593 | main () |
11958 | { | 10594 | { |
11959 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)]; | 10595 | int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] |
11960 | test_array [0] = 0 | ||
11961 | |||
11962 | ; | 10596 | ; |
11963 | return 0; | 10597 | return 0; |
11964 | } | 10598 | } |
11965 | _ACEOF | 10599 | _ACEOF |
11966 | rm -f conftest.$ac_objext | 10600 | rm -f conftest.$ac_objext |
11967 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10601 | if { (eval echo "$as_me:10601: \"$ac_compile\"") >&5 |
11968 | (eval $ac_compile) 2>&5 | 10602 | (eval $ac_compile) 2>&5 |
11969 | ac_status=$? | 10603 | ac_status=$? |
11970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10604 | echo "$as_me:10604: \$? = $ac_status" >&5 |
11971 | (exit $ac_status); } && | 10605 | (exit $ac_status); } && |
11972 | { ac_try='test -s conftest.$ac_objext' | 10606 | { ac_try='test -s conftest.$ac_objext' |
11973 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10607 | { (eval echo "$as_me:10607: \"$ac_try\"") >&5 |
11974 | (eval $ac_try) 2>&5 | 10608 | (eval $ac_try) 2>&5 |
11975 | ac_status=$? | 10609 | ac_status=$? |
11976 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10610 | echo "$as_me:10610: \$? = $ac_status" >&5 |
11977 | (exit $ac_status); }; }; then | 10611 | (exit $ac_status); }; }; then |
11978 | ac_hi=$ac_mid; break | 10612 | ac_hi=$ac_mid; break |
11979 | else | 10613 | else |
11980 | echo "$as_me: failed program was:" >&5 | 10614 | echo "$as_me: failed program was:" >&5 |
11981 | sed 's/^/| /' conftest.$ac_ext >&5 | 10615 | cat conftest.$ac_ext >&5 |
11982 | 10616 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | |
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 | 10617 | fi |
11990 | rm -f conftest.$ac_objext conftest.$ac_ext | 10618 | rm -f conftest.$ac_objext conftest.$ac_ext |
11991 | done | 10619 | done |
11992 | else | 10620 | else |
11993 | echo "$as_me: failed program was:" >&5 | 10621 | echo "$as_me: failed program was:" >&5 |
11994 | sed 's/^/| /' conftest.$ac_ext >&5 | 10622 | cat conftest.$ac_ext >&5 |
11995 | 10623 | ac_hi=-1 ac_mid=-1 | |
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 | 10624 | while :; do |
12028 | cat >conftest.$ac_ext <<_ACEOF | 10625 | cat >conftest.$ac_ext <<_ACEOF |
12029 | #line $LINENO "configure" | 10626 | #line 10626 "configure" |
12030 | /* confdefs.h. */ | 10627 | #include "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 | 10628 | $ac_includes_default |
12036 | int | 10629 | int |
12037 | main () | 10630 | main () |
12038 | { | 10631 | { |
12039 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)]; | 10632 | int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)] |
12040 | test_array [0] = 0 | ||
12041 | |||
12042 | ; | 10633 | ; |
12043 | return 0; | 10634 | return 0; |
12044 | } | 10635 | } |
12045 | _ACEOF | 10636 | _ACEOF |
12046 | rm -f conftest.$ac_objext | 10637 | rm -f conftest.$ac_objext |
12047 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10638 | if { (eval echo "$as_me:10638: \"$ac_compile\"") >&5 |
12048 | (eval $ac_compile) 2>&5 | 10639 | (eval $ac_compile) 2>&5 |
12049 | ac_status=$? | 10640 | ac_status=$? |
12050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10641 | echo "$as_me:10641: \$? = $ac_status" >&5 |
12051 | (exit $ac_status); } && | 10642 | (exit $ac_status); } && |
12052 | { ac_try='test -s conftest.$ac_objext' | 10643 | { ac_try='test -s conftest.$ac_objext' |
12053 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10644 | { (eval echo "$as_me:10644: \"$ac_try\"") >&5 |
12054 | (eval $ac_try) 2>&5 | 10645 | (eval $ac_try) 2>&5 |
12055 | ac_status=$? | 10646 | ac_status=$? |
12056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10647 | echo "$as_me:10647: \$? = $ac_status" >&5 |
12057 | (exit $ac_status); }; }; then | 10648 | (exit $ac_status); }; }; then |
12058 | ac_lo=$ac_mid; break | 10649 | ac_lo=$ac_mid; break |
12059 | else | 10650 | else |
12060 | echo "$as_me: failed program was:" >&5 | 10651 | echo "$as_me: failed program was:" >&5 |
12061 | sed 's/^/| /' conftest.$ac_ext >&5 | 10652 | cat conftest.$ac_ext >&5 |
12062 | 10653 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | |
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 | 10654 | fi |
12070 | rm -f conftest.$ac_objext conftest.$ac_ext | 10655 | rm -f conftest.$ac_objext conftest.$ac_ext |
12071 | done | 10656 | 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 | 10657 | fi |
12080 | rm -f conftest.$ac_objext conftest.$ac_ext | 10658 | rm -f conftest.$ac_objext conftest.$ac_ext |
12081 | # Binary search between lo and hi bounds. | 10659 | # Binary search between lo and hi bounds. |
12082 | while test "x$ac_lo" != "x$ac_hi"; do | 10660 | while test "x$ac_lo" != "x$ac_hi"; do |
12083 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 10661 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
12084 | cat >conftest.$ac_ext <<_ACEOF | 10662 | cat >conftest.$ac_ext <<_ACEOF |
12085 | #line $LINENO "configure" | 10663 | #line 10663 "configure" |
12086 | /* confdefs.h. */ | 10664 | #include "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 | 10665 | $ac_includes_default |
12092 | int | 10666 | int |
12093 | main () | 10667 | main () |
12094 | { | 10668 | { |
12095 | static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)]; | 10669 | int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] |
12096 | test_array [0] = 0 | ||
12097 | |||
12098 | ; | 10670 | ; |
12099 | return 0; | 10671 | return 0; |
12100 | } | 10672 | } |
12101 | _ACEOF | 10673 | _ACEOF |
12102 | rm -f conftest.$ac_objext | 10674 | rm -f conftest.$ac_objext |
12103 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10675 | if { (eval echo "$as_me:10675: \"$ac_compile\"") >&5 |
12104 | (eval $ac_compile) 2>&5 | 10676 | (eval $ac_compile) 2>&5 |
12105 | ac_status=$? | 10677 | ac_status=$? |
12106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10678 | echo "$as_me:10678: \$? = $ac_status" >&5 |
12107 | (exit $ac_status); } && | 10679 | (exit $ac_status); } && |
12108 | { ac_try='test -s conftest.$ac_objext' | 10680 | { ac_try='test -s conftest.$ac_objext' |
12109 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10681 | { (eval echo "$as_me:10681: \"$ac_try\"") >&5 |
12110 | (eval $ac_try) 2>&5 | 10682 | (eval $ac_try) 2>&5 |
12111 | ac_status=$? | 10683 | ac_status=$? |
12112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10684 | echo "$as_me:10684: \$? = $ac_status" >&5 |
12113 | (exit $ac_status); }; }; then | 10685 | (exit $ac_status); }; }; then |
12114 | ac_hi=$ac_mid | 10686 | ac_hi=$ac_mid |
12115 | else | 10687 | else |
12116 | echo "$as_me: failed program was:" >&5 | 10688 | echo "$as_me: failed program was:" >&5 |
12117 | sed 's/^/| /' conftest.$ac_ext >&5 | 10689 | cat conftest.$ac_ext >&5 |
12118 | 10690 | ac_lo=`expr $ac_mid + 1` | |
12119 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
12120 | fi | 10691 | fi |
12121 | rm -f conftest.$ac_objext conftest.$ac_ext | 10692 | rm -f conftest.$ac_objext conftest.$ac_ext |
12122 | done | 10693 | done |
12123 | case $ac_lo in | 10694 | ac_cv_sizeof_long_int=$ac_lo |
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 | 10695 | else |
12132 | if test "$cross_compiling" = yes; then | 10696 | if test "$cross_compiling" = yes; then |
12133 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 10697 | { { echo "$as_me:10697: error: cannot run test program while cross compiling" >&5 |
12134 | See \`config.log' for more details." >&5 | 10698 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 10699 | { (exit 1); exit 1; }; } |
12138 | else | 10700 | else |
12139 | cat >conftest.$ac_ext <<_ACEOF | 10701 | cat >conftest.$ac_ext <<_ACEOF |
12140 | #line $LINENO "configure" | 10702 | #line 10702 "configure" |
12141 | /* confdefs.h. */ | 10703 | #include "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 | 10704 | $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 | 10705 | int |
12152 | main () | 10706 | main () |
12153 | { | 10707 | { |
12154 | 10708 | FILE *f = fopen ("conftest.val", "w"); | |
12155 | FILE *f = fopen ("conftest.val", "w"); | 10709 | if (!f) |
12156 | if (! f) | 10710 | exit (1); |
12157 | exit (1); | 10711 | fprintf (f, "%d", (sizeof (long int))); |
12158 | if (((long) (sizeof (long int))) < 0) | 10712 | fclose (f); |
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 | ; | 10713 | ; |
12175 | return 0; | 10714 | return 0; |
12176 | } | 10715 | } |
12177 | _ACEOF | 10716 | _ACEOF |
12178 | rm -f conftest$ac_exeext | 10717 | rm -f conftest$ac_exeext |
12179 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10718 | if { (eval echo "$as_me:10718: \"$ac_link\"") >&5 |
12180 | (eval $ac_link) 2>&5 | 10719 | (eval $ac_link) 2>&5 |
12181 | ac_status=$? | 10720 | ac_status=$? |
12182 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10721 | echo "$as_me:10721: \$? = $ac_status" >&5 |
12183 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10722 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12184 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10723 | { (eval echo "$as_me:10723: \"$ac_try\"") >&5 |
12185 | (eval $ac_try) 2>&5 | 10724 | (eval $ac_try) 2>&5 |
12186 | ac_status=$? | 10725 | ac_status=$? |
12187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10726 | echo "$as_me:10726: \$? = $ac_status" >&5 |
12188 | (exit $ac_status); }; }; then | 10727 | (exit $ac_status); }; }; then |
12189 | ac_cv_sizeof_long_int=`cat conftest.val` | 10728 | ac_cv_sizeof_long_int=`cat conftest.val` |
12190 | else | 10729 | else |
12191 | echo "$as_me: program exited with status $ac_status" >&5 | 10730 | echo "$as_me: program exited with status $ac_status" >&5 |
12192 | echo "$as_me: failed program was:" >&5 | 10731 | echo "$as_me: failed program was:" >&5 |
12193 | sed 's/^/| /' conftest.$ac_ext >&5 | 10732 | cat 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 | 10733 | fi |
12202 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10734 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12203 | fi | 10735 | fi |
12204 | fi | 10736 | fi |
12205 | rm -f conftest.val | 10737 | rm -f conftest.val |
@@ -12207,25 +10739,20 @@ else | |||
12207 | ac_cv_sizeof_long_int=0 | 10739 | ac_cv_sizeof_long_int=0 |
12208 | fi | 10740 | fi |
12209 | fi | 10741 | fi |
12210 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 | 10742 | echo "$as_me:10742: result: $ac_cv_sizeof_long_int" >&5 |
12211 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 | 10743 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 |
12212 | cat >>confdefs.h <<_ACEOF | 10744 | cat >>confdefs.h <<EOF |
12213 | #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int | 10745 | #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int |
12214 | _ACEOF | 10746 | EOF |
12215 | |||
12216 | 10747 | ||
12217 | echo "$as_me:$LINENO: checking for long long int" >&5 | 10748 | echo "$as_me:10748: checking for long long int" >&5 |
12218 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 | 10749 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6 |
12219 | if test "${ac_cv_type_long_long_int+set}" = set; then | 10750 | if test "${ac_cv_type_long_long_int+set}" = set; then |
12220 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10751 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12221 | else | 10752 | else |
12222 | cat >conftest.$ac_ext <<_ACEOF | 10753 | cat >conftest.$ac_ext <<_ACEOF |
12223 | #line $LINENO "configure" | 10754 | #line 10754 "configure" |
12224 | /* confdefs.h. */ | 10755 | #include "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 | 10756 | $ac_includes_default |
12230 | int | 10757 | int |
12231 | main () | 10758 | main () |
@@ -12239,328 +10766,209 @@ if (sizeof (long long int)) | |||
12239 | } | 10766 | } |
12240 | _ACEOF | 10767 | _ACEOF |
12241 | rm -f conftest.$ac_objext | 10768 | rm -f conftest.$ac_objext |
12242 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10769 | if { (eval echo "$as_me:10769: \"$ac_compile\"") >&5 |
12243 | (eval $ac_compile) 2>&5 | 10770 | (eval $ac_compile) 2>&5 |
12244 | ac_status=$? | 10771 | ac_status=$? |
12245 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10772 | echo "$as_me:10772: \$? = $ac_status" >&5 |
12246 | (exit $ac_status); } && | 10773 | (exit $ac_status); } && |
12247 | { ac_try='test -s conftest.$ac_objext' | 10774 | { ac_try='test -s conftest.$ac_objext' |
12248 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10775 | { (eval echo "$as_me:10775: \"$ac_try\"") >&5 |
12249 | (eval $ac_try) 2>&5 | 10776 | (eval $ac_try) 2>&5 |
12250 | ac_status=$? | 10777 | ac_status=$? |
12251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10778 | echo "$as_me:10778: \$? = $ac_status" >&5 |
12252 | (exit $ac_status); }; }; then | 10779 | (exit $ac_status); }; }; then |
12253 | ac_cv_type_long_long_int=yes | 10780 | ac_cv_type_long_long_int=yes |
12254 | else | 10781 | else |
12255 | echo "$as_me: failed program was:" >&5 | 10782 | echo "$as_me: failed program was:" >&5 |
12256 | sed 's/^/| /' conftest.$ac_ext >&5 | 10783 | cat conftest.$ac_ext >&5 |
12257 | |||
12258 | ac_cv_type_long_long_int=no | 10784 | ac_cv_type_long_long_int=no |
12259 | fi | 10785 | fi |
12260 | rm -f conftest.$ac_objext conftest.$ac_ext | 10786 | rm -f conftest.$ac_objext conftest.$ac_ext |
12261 | fi | 10787 | fi |
12262 | echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | 10788 | echo "$as_me:10788: result: $ac_cv_type_long_long_int" >&5 |
12263 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 | 10789 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 |
12264 | 10790 | ||
12265 | echo "$as_me:$LINENO: checking size of long long int" >&5 | 10791 | echo "$as_me:10791: checking size of long long int" >&5 |
12266 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 | 10792 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 |
12267 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | 10793 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then |
12268 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10794 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12269 | else | 10795 | else |
12270 | if test "$ac_cv_type_long_long_int" = yes; then | 10796 | 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 | 10797 | if test "$cross_compiling" = yes; then |
12276 | # Depending upon the size, compute the lo and hi bounds. | 10798 | # Depending upon the size, compute the lo and hi bounds. |
12277 | cat >conftest.$ac_ext <<_ACEOF | 10799 | cat >conftest.$ac_ext <<_ACEOF |
12278 | #line $LINENO "configure" | 10800 | #line 10800 "configure" |
12279 | /* confdefs.h. */ | 10801 | #include "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 | 10802 | $ac_includes_default |
12285 | int | 10803 | int |
12286 | main () | 10804 | main () |
12287 | { | 10805 | { |
12288 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)]; | 10806 | int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)] |
12289 | test_array [0] = 0 | ||
12290 | |||
12291 | ; | 10807 | ; |
12292 | return 0; | 10808 | return 0; |
12293 | } | 10809 | } |
12294 | _ACEOF | 10810 | _ACEOF |
12295 | rm -f conftest.$ac_objext | 10811 | rm -f conftest.$ac_objext |
12296 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10812 | if { (eval echo "$as_me:10812: \"$ac_compile\"") >&5 |
12297 | (eval $ac_compile) 2>&5 | 10813 | (eval $ac_compile) 2>&5 |
12298 | ac_status=$? | 10814 | ac_status=$? |
12299 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10815 | echo "$as_me:10815: \$? = $ac_status" >&5 |
12300 | (exit $ac_status); } && | 10816 | (exit $ac_status); } && |
12301 | { ac_try='test -s conftest.$ac_objext' | 10817 | { ac_try='test -s conftest.$ac_objext' |
12302 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10818 | { (eval echo "$as_me:10818: \"$ac_try\"") >&5 |
12303 | (eval $ac_try) 2>&5 | 10819 | (eval $ac_try) 2>&5 |
12304 | ac_status=$? | 10820 | ac_status=$? |
12305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10821 | echo "$as_me:10821: \$? = $ac_status" >&5 |
12306 | (exit $ac_status); }; }; then | 10822 | (exit $ac_status); }; }; then |
12307 | ac_lo=0 ac_mid=0 | 10823 | ac_lo=0 ac_mid=0 |
12308 | while :; do | 10824 | while :; do |
12309 | cat >conftest.$ac_ext <<_ACEOF | 10825 | cat >conftest.$ac_ext <<_ACEOF |
12310 | #line $LINENO "configure" | 10826 | #line 10826 "configure" |
12311 | /* confdefs.h. */ | 10827 | #include "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 | 10828 | $ac_includes_default |
12317 | int | 10829 | int |
12318 | main () | 10830 | main () |
12319 | { | 10831 | { |
12320 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)]; | 10832 | int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] |
12321 | test_array [0] = 0 | ||
12322 | |||
12323 | ; | 10833 | ; |
12324 | return 0; | 10834 | return 0; |
12325 | } | 10835 | } |
12326 | _ACEOF | 10836 | _ACEOF |
12327 | rm -f conftest.$ac_objext | 10837 | rm -f conftest.$ac_objext |
12328 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10838 | if { (eval echo "$as_me:10838: \"$ac_compile\"") >&5 |
12329 | (eval $ac_compile) 2>&5 | 10839 | (eval $ac_compile) 2>&5 |
12330 | ac_status=$? | 10840 | ac_status=$? |
12331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10841 | echo "$as_me:10841: \$? = $ac_status" >&5 |
12332 | (exit $ac_status); } && | 10842 | (exit $ac_status); } && |
12333 | { ac_try='test -s conftest.$ac_objext' | 10843 | { ac_try='test -s conftest.$ac_objext' |
12334 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10844 | { (eval echo "$as_me:10844: \"$ac_try\"") >&5 |
12335 | (eval $ac_try) 2>&5 | 10845 | (eval $ac_try) 2>&5 |
12336 | ac_status=$? | 10846 | ac_status=$? |
12337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10847 | echo "$as_me:10847: \$? = $ac_status" >&5 |
12338 | (exit $ac_status); }; }; then | 10848 | (exit $ac_status); }; }; then |
12339 | ac_hi=$ac_mid; break | 10849 | ac_hi=$ac_mid; break |
12340 | else | 10850 | else |
12341 | echo "$as_me: failed program was:" >&5 | 10851 | echo "$as_me: failed program was:" >&5 |
12342 | sed 's/^/| /' conftest.$ac_ext >&5 | 10852 | cat conftest.$ac_ext >&5 |
12343 | 10853 | ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` | |
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 | 10854 | fi |
12351 | rm -f conftest.$ac_objext conftest.$ac_ext | 10855 | rm -f conftest.$ac_objext conftest.$ac_ext |
12352 | done | 10856 | done |
12353 | else | 10857 | else |
12354 | echo "$as_me: failed program was:" >&5 | 10858 | echo "$as_me: failed program was:" >&5 |
12355 | sed 's/^/| /' conftest.$ac_ext >&5 | 10859 | cat conftest.$ac_ext >&5 |
12356 | 10860 | ac_hi=-1 ac_mid=-1 | |
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 | 10861 | while :; do |
12389 | cat >conftest.$ac_ext <<_ACEOF | 10862 | cat >conftest.$ac_ext <<_ACEOF |
12390 | #line $LINENO "configure" | 10863 | #line 10863 "configure" |
12391 | /* confdefs.h. */ | 10864 | #include "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 | 10865 | $ac_includes_default |
12397 | int | 10866 | int |
12398 | main () | 10867 | main () |
12399 | { | 10868 | { |
12400 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)]; | 10869 | int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)] |
12401 | test_array [0] = 0 | ||
12402 | |||
12403 | ; | 10870 | ; |
12404 | return 0; | 10871 | return 0; |
12405 | } | 10872 | } |
12406 | _ACEOF | 10873 | _ACEOF |
12407 | rm -f conftest.$ac_objext | 10874 | rm -f conftest.$ac_objext |
12408 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10875 | if { (eval echo "$as_me:10875: \"$ac_compile\"") >&5 |
12409 | (eval $ac_compile) 2>&5 | 10876 | (eval $ac_compile) 2>&5 |
12410 | ac_status=$? | 10877 | ac_status=$? |
12411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10878 | echo "$as_me:10878: \$? = $ac_status" >&5 |
12412 | (exit $ac_status); } && | 10879 | (exit $ac_status); } && |
12413 | { ac_try='test -s conftest.$ac_objext' | 10880 | { ac_try='test -s conftest.$ac_objext' |
12414 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10881 | { (eval echo "$as_me:10881: \"$ac_try\"") >&5 |
12415 | (eval $ac_try) 2>&5 | 10882 | (eval $ac_try) 2>&5 |
12416 | ac_status=$? | 10883 | ac_status=$? |
12417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10884 | echo "$as_me:10884: \$? = $ac_status" >&5 |
12418 | (exit $ac_status); }; }; then | 10885 | (exit $ac_status); }; }; then |
12419 | ac_lo=$ac_mid; break | 10886 | ac_lo=$ac_mid; break |
12420 | else | 10887 | else |
12421 | echo "$as_me: failed program was:" >&5 | 10888 | echo "$as_me: failed program was:" >&5 |
12422 | sed 's/^/| /' conftest.$ac_ext >&5 | 10889 | cat conftest.$ac_ext >&5 |
12423 | 10890 | ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` | |
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 | 10891 | fi |
12431 | rm -f conftest.$ac_objext conftest.$ac_ext | 10892 | rm -f conftest.$ac_objext conftest.$ac_ext |
12432 | done | 10893 | 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 | 10894 | fi |
12441 | rm -f conftest.$ac_objext conftest.$ac_ext | 10895 | rm -f conftest.$ac_objext conftest.$ac_ext |
12442 | # Binary search between lo and hi bounds. | 10896 | # Binary search between lo and hi bounds. |
12443 | while test "x$ac_lo" != "x$ac_hi"; do | 10897 | while test "x$ac_lo" != "x$ac_hi"; do |
12444 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | 10898 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
12445 | cat >conftest.$ac_ext <<_ACEOF | 10899 | cat >conftest.$ac_ext <<_ACEOF |
12446 | #line $LINENO "configure" | 10900 | #line 10900 "configure" |
12447 | /* confdefs.h. */ | 10901 | #include "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 | 10902 | $ac_includes_default |
12453 | int | 10903 | int |
12454 | main () | 10904 | main () |
12455 | { | 10905 | { |
12456 | static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)]; | 10906 | int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] |
12457 | test_array [0] = 0 | ||
12458 | |||
12459 | ; | 10907 | ; |
12460 | return 0; | 10908 | return 0; |
12461 | } | 10909 | } |
12462 | _ACEOF | 10910 | _ACEOF |
12463 | rm -f conftest.$ac_objext | 10911 | rm -f conftest.$ac_objext |
12464 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10912 | if { (eval echo "$as_me:10912: \"$ac_compile\"") >&5 |
12465 | (eval $ac_compile) 2>&5 | 10913 | (eval $ac_compile) 2>&5 |
12466 | ac_status=$? | 10914 | ac_status=$? |
12467 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10915 | echo "$as_me:10915: \$? = $ac_status" >&5 |
12468 | (exit $ac_status); } && | 10916 | (exit $ac_status); } && |
12469 | { ac_try='test -s conftest.$ac_objext' | 10917 | { ac_try='test -s conftest.$ac_objext' |
12470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10918 | { (eval echo "$as_me:10918: \"$ac_try\"") >&5 |
12471 | (eval $ac_try) 2>&5 | 10919 | (eval $ac_try) 2>&5 |
12472 | ac_status=$? | 10920 | ac_status=$? |
12473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10921 | echo "$as_me:10921: \$? = $ac_status" >&5 |
12474 | (exit $ac_status); }; }; then | 10922 | (exit $ac_status); }; }; then |
12475 | ac_hi=$ac_mid | 10923 | ac_hi=$ac_mid |
12476 | else | 10924 | else |
12477 | echo "$as_me: failed program was:" >&5 | 10925 | echo "$as_me: failed program was:" >&5 |
12478 | sed 's/^/| /' conftest.$ac_ext >&5 | 10926 | cat conftest.$ac_ext >&5 |
12479 | 10927 | ac_lo=`expr $ac_mid + 1` | |
12480 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
12481 | fi | 10928 | fi |
12482 | rm -f conftest.$ac_objext conftest.$ac_ext | 10929 | rm -f conftest.$ac_objext conftest.$ac_ext |
12483 | done | 10930 | done |
12484 | case $ac_lo in | 10931 | ac_cv_sizeof_long_long_int=$ac_lo |
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 | 10932 | else |
12493 | if test "$cross_compiling" = yes; then | 10933 | if test "$cross_compiling" = yes; then |
12494 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 10934 | { { echo "$as_me:10934: error: cannot run test program while cross compiling" >&5 |
12495 | See \`config.log' for more details." >&5 | 10935 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 10936 | { (exit 1); exit 1; }; } |
12499 | else | 10937 | else |
12500 | cat >conftest.$ac_ext <<_ACEOF | 10938 | cat >conftest.$ac_ext <<_ACEOF |
12501 | #line $LINENO "configure" | 10939 | #line 10939 "configure" |
12502 | /* confdefs.h. */ | 10940 | #include "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 | 10941 | $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 | 10942 | int |
12513 | main () | 10943 | main () |
12514 | { | 10944 | { |
12515 | 10945 | FILE *f = fopen ("conftest.val", "w"); | |
12516 | FILE *f = fopen ("conftest.val", "w"); | 10946 | if (!f) |
12517 | if (! f) | 10947 | exit (1); |
12518 | exit (1); | 10948 | fprintf (f, "%d", (sizeof (long long int))); |
12519 | if (((long) (sizeof (long long int))) < 0) | 10949 | fclose (f); |
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 | ; | 10950 | ; |
12536 | return 0; | 10951 | return 0; |
12537 | } | 10952 | } |
12538 | _ACEOF | 10953 | _ACEOF |
12539 | rm -f conftest$ac_exeext | 10954 | rm -f conftest$ac_exeext |
12540 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10955 | if { (eval echo "$as_me:10955: \"$ac_link\"") >&5 |
12541 | (eval $ac_link) 2>&5 | 10956 | (eval $ac_link) 2>&5 |
12542 | ac_status=$? | 10957 | ac_status=$? |
12543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10958 | echo "$as_me:10958: \$? = $ac_status" >&5 |
12544 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 10959 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12545 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10960 | { (eval echo "$as_me:10960: \"$ac_try\"") >&5 |
12546 | (eval $ac_try) 2>&5 | 10961 | (eval $ac_try) 2>&5 |
12547 | ac_status=$? | 10962 | ac_status=$? |
12548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10963 | echo "$as_me:10963: \$? = $ac_status" >&5 |
12549 | (exit $ac_status); }; }; then | 10964 | (exit $ac_status); }; }; then |
12550 | ac_cv_sizeof_long_long_int=`cat conftest.val` | 10965 | ac_cv_sizeof_long_long_int=`cat conftest.val` |
12551 | else | 10966 | else |
12552 | echo "$as_me: program exited with status $ac_status" >&5 | 10967 | echo "$as_me: program exited with status $ac_status" >&5 |
12553 | echo "$as_me: failed program was:" >&5 | 10968 | echo "$as_me: failed program was:" >&5 |
12554 | sed 's/^/| /' conftest.$ac_ext >&5 | 10969 | cat 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 | 10970 | fi |
12563 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 10971 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12564 | fi | 10972 | fi |
12565 | fi | 10973 | fi |
12566 | rm -f conftest.val | 10974 | rm -f conftest.val |
@@ -12568,13 +10976,11 @@ else | |||
12568 | ac_cv_sizeof_long_long_int=0 | 10976 | ac_cv_sizeof_long_long_int=0 |
12569 | fi | 10977 | fi |
12570 | fi | 10978 | fi |
12571 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 | 10979 | echo "$as_me:10979: result: $ac_cv_sizeof_long_long_int" >&5 |
12572 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 | 10980 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 |
12573 | cat >>confdefs.h <<_ACEOF | 10981 | cat >>confdefs.h <<EOF |
12574 | #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int | 10982 | #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int |
12575 | _ACEOF | 10983 | EOF |
12576 | |||
12577 | |||
12578 | 10984 | ||
12579 | # Sanity check long long for some platforms (AIX) | 10985 | # Sanity check long long for some platforms (AIX) |
12580 | if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then | 10986 | if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then |
@@ -12582,19 +10988,15 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then | |||
12582 | fi | 10988 | fi |
12583 | 10989 | ||
12584 | # More checks for data types | 10990 | # More checks for data types |
12585 | echo "$as_me:$LINENO: checking for u_int type" >&5 | 10991 | echo "$as_me:10991: checking for u_int type" >&5 |
12586 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 | 10992 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 |
12587 | if test "${ac_cv_have_u_int+set}" = set; then | 10993 | if test "${ac_cv_have_u_int+set}" = set; then |
12588 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10994 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12589 | else | 10995 | else |
12590 | 10996 | ||
12591 | cat >conftest.$ac_ext <<_ACEOF | 10997 | cat >conftest.$ac_ext <<_ACEOF |
12592 | #line $LINENO "configure" | 10998 | #line 10998 "configure" |
12593 | /* confdefs.h. */ | 10999 | #include "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> | 11000 | #include <sys/types.h> |
12599 | int | 11001 | int |
12600 | main () | 11002 | main () |
@@ -12605,51 +11007,46 @@ main () | |||
12605 | } | 11007 | } |
12606 | _ACEOF | 11008 | _ACEOF |
12607 | rm -f conftest.$ac_objext | 11009 | rm -f conftest.$ac_objext |
12608 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11010 | if { (eval echo "$as_me:11010: \"$ac_compile\"") >&5 |
12609 | (eval $ac_compile) 2>&5 | 11011 | (eval $ac_compile) 2>&5 |
12610 | ac_status=$? | 11012 | ac_status=$? |
12611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11013 | echo "$as_me:11013: \$? = $ac_status" >&5 |
12612 | (exit $ac_status); } && | 11014 | (exit $ac_status); } && |
12613 | { ac_try='test -s conftest.$ac_objext' | 11015 | { ac_try='test -s conftest.$ac_objext' |
12614 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11016 | { (eval echo "$as_me:11016: \"$ac_try\"") >&5 |
12615 | (eval $ac_try) 2>&5 | 11017 | (eval $ac_try) 2>&5 |
12616 | ac_status=$? | 11018 | ac_status=$? |
12617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11019 | echo "$as_me:11019: \$? = $ac_status" >&5 |
12618 | (exit $ac_status); }; }; then | 11020 | (exit $ac_status); }; }; then |
12619 | ac_cv_have_u_int="yes" | 11021 | ac_cv_have_u_int="yes" |
12620 | else | 11022 | else |
12621 | echo "$as_me: failed program was:" >&5 | 11023 | echo "$as_me: failed program was:" >&5 |
12622 | sed 's/^/| /' conftest.$ac_ext >&5 | 11024 | cat conftest.$ac_ext >&5 |
12623 | |||
12624 | ac_cv_have_u_int="no" | 11025 | ac_cv_have_u_int="no" |
12625 | 11026 | ||
12626 | fi | 11027 | fi |
12627 | rm -f conftest.$ac_objext conftest.$ac_ext | 11028 | rm -f conftest.$ac_objext conftest.$ac_ext |
12628 | 11029 | ||
12629 | fi | 11030 | fi |
12630 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 | 11031 | echo "$as_me:11031: result: $ac_cv_have_u_int" >&5 |
12631 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 | 11032 | echo "${ECHO_T}$ac_cv_have_u_int" >&6 |
12632 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 11033 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
12633 | cat >>confdefs.h <<\_ACEOF | 11034 | cat >>confdefs.h <<\EOF |
12634 | #define HAVE_U_INT 1 | 11035 | #define HAVE_U_INT 1 |
12635 | _ACEOF | 11036 | EOF |
12636 | 11037 | ||
12637 | have_u_int=1 | 11038 | have_u_int=1 |
12638 | fi | 11039 | fi |
12639 | 11040 | ||
12640 | echo "$as_me:$LINENO: checking for intXX_t types" >&5 | 11041 | echo "$as_me:11041: checking for intXX_t types" >&5 |
12641 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 | 11042 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 |
12642 | if test "${ac_cv_have_intxx_t+set}" = set; then | 11043 | if test "${ac_cv_have_intxx_t+set}" = set; then |
12643 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11044 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12644 | else | 11045 | else |
12645 | 11046 | ||
12646 | cat >conftest.$ac_ext <<_ACEOF | 11047 | cat >conftest.$ac_ext <<_ACEOF |
12647 | #line $LINENO "configure" | 11048 | #line 11048 "configure" |
12648 | /* confdefs.h. */ | 11049 | #include "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> | 11050 | #include <sys/types.h> |
12654 | int | 11051 | int |
12655 | main () | 11052 | main () |
@@ -12660,34 +11057,33 @@ main () | |||
12660 | } | 11057 | } |
12661 | _ACEOF | 11058 | _ACEOF |
12662 | rm -f conftest.$ac_objext | 11059 | rm -f conftest.$ac_objext |
12663 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11060 | if { (eval echo "$as_me:11060: \"$ac_compile\"") >&5 |
12664 | (eval $ac_compile) 2>&5 | 11061 | (eval $ac_compile) 2>&5 |
12665 | ac_status=$? | 11062 | ac_status=$? |
12666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11063 | echo "$as_me:11063: \$? = $ac_status" >&5 |
12667 | (exit $ac_status); } && | 11064 | (exit $ac_status); } && |
12668 | { ac_try='test -s conftest.$ac_objext' | 11065 | { ac_try='test -s conftest.$ac_objext' |
12669 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11066 | { (eval echo "$as_me:11066: \"$ac_try\"") >&5 |
12670 | (eval $ac_try) 2>&5 | 11067 | (eval $ac_try) 2>&5 |
12671 | ac_status=$? | 11068 | ac_status=$? |
12672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11069 | echo "$as_me:11069: \$? = $ac_status" >&5 |
12673 | (exit $ac_status); }; }; then | 11070 | (exit $ac_status); }; }; then |
12674 | ac_cv_have_intxx_t="yes" | 11071 | ac_cv_have_intxx_t="yes" |
12675 | else | 11072 | else |
12676 | echo "$as_me: failed program was:" >&5 | 11073 | echo "$as_me: failed program was:" >&5 |
12677 | sed 's/^/| /' conftest.$ac_ext >&5 | 11074 | cat conftest.$ac_ext >&5 |
12678 | |||
12679 | ac_cv_have_intxx_t="no" | 11075 | ac_cv_have_intxx_t="no" |
12680 | 11076 | ||
12681 | fi | 11077 | fi |
12682 | rm -f conftest.$ac_objext conftest.$ac_ext | 11078 | rm -f conftest.$ac_objext conftest.$ac_ext |
12683 | 11079 | ||
12684 | fi | 11080 | fi |
12685 | echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 | 11081 | echo "$as_me:11081: result: $ac_cv_have_intxx_t" >&5 |
12686 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 | 11082 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 |
12687 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 11083 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
12688 | cat >>confdefs.h <<\_ACEOF | 11084 | cat >>confdefs.h <<\EOF |
12689 | #define HAVE_INTXX_T 1 | 11085 | #define HAVE_INTXX_T 1 |
12690 | _ACEOF | 11086 | EOF |
12691 | 11087 | ||
12692 | have_intxx_t=1 | 11088 | have_intxx_t=1 |
12693 | fi | 11089 | fi |
@@ -12695,15 +11091,11 @@ fi | |||
12695 | if (test -z "$have_intxx_t" && \ | 11091 | if (test -z "$have_intxx_t" && \ |
12696 | test "x$ac_cv_header_stdint_h" = "xyes") | 11092 | test "x$ac_cv_header_stdint_h" = "xyes") |
12697 | then | 11093 | then |
12698 | echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 | 11094 | echo "$as_me:11094: checking for intXX_t types in stdint.h" >&5 |
12699 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 | 11095 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 |
12700 | cat >conftest.$ac_ext <<_ACEOF | 11096 | cat >conftest.$ac_ext <<_ACEOF |
12701 | #line $LINENO "configure" | 11097 | #line 11097 "configure" |
12702 | /* confdefs.h. */ | 11098 | #include "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> | 11099 | #include <stdint.h> |
12708 | int | 11100 | int |
12709 | main () | 11101 | main () |
@@ -12714,49 +11106,44 @@ main () | |||
12714 | } | 11106 | } |
12715 | _ACEOF | 11107 | _ACEOF |
12716 | rm -f conftest.$ac_objext | 11108 | rm -f conftest.$ac_objext |
12717 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11109 | if { (eval echo "$as_me:11109: \"$ac_compile\"") >&5 |
12718 | (eval $ac_compile) 2>&5 | 11110 | (eval $ac_compile) 2>&5 |
12719 | ac_status=$? | 11111 | ac_status=$? |
12720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11112 | echo "$as_me:11112: \$? = $ac_status" >&5 |
12721 | (exit $ac_status); } && | 11113 | (exit $ac_status); } && |
12722 | { ac_try='test -s conftest.$ac_objext' | 11114 | { ac_try='test -s conftest.$ac_objext' |
12723 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11115 | { (eval echo "$as_me:11115: \"$ac_try\"") >&5 |
12724 | (eval $ac_try) 2>&5 | 11116 | (eval $ac_try) 2>&5 |
12725 | ac_status=$? | 11117 | ac_status=$? |
12726 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11118 | echo "$as_me:11118: \$? = $ac_status" >&5 |
12727 | (exit $ac_status); }; }; then | 11119 | (exit $ac_status); }; }; then |
12728 | 11120 | ||
12729 | cat >>confdefs.h <<\_ACEOF | 11121 | cat >>confdefs.h <<\EOF |
12730 | #define HAVE_INTXX_T 1 | 11122 | #define HAVE_INTXX_T 1 |
12731 | _ACEOF | 11123 | EOF |
12732 | 11124 | ||
12733 | echo "$as_me:$LINENO: result: yes" >&5 | 11125 | echo "$as_me:11125: result: yes" >&5 |
12734 | echo "${ECHO_T}yes" >&6 | 11126 | echo "${ECHO_T}yes" >&6 |
12735 | 11127 | ||
12736 | else | 11128 | else |
12737 | echo "$as_me: failed program was:" >&5 | 11129 | echo "$as_me: failed program was:" >&5 |
12738 | sed 's/^/| /' conftest.$ac_ext >&5 | 11130 | cat conftest.$ac_ext >&5 |
12739 | 11131 | echo "$as_me:11131: result: no" >&5 | |
12740 | echo "$as_me:$LINENO: result: no" >&5 | ||
12741 | echo "${ECHO_T}no" >&6 | 11132 | echo "${ECHO_T}no" >&6 |
12742 | 11133 | ||
12743 | fi | 11134 | fi |
12744 | rm -f conftest.$ac_objext conftest.$ac_ext | 11135 | rm -f conftest.$ac_objext conftest.$ac_ext |
12745 | fi | 11136 | fi |
12746 | 11137 | ||
12747 | echo "$as_me:$LINENO: checking for int64_t type" >&5 | 11138 | echo "$as_me:11138: checking for int64_t type" >&5 |
12748 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 | 11139 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 |
12749 | if test "${ac_cv_have_int64_t+set}" = set; then | 11140 | if test "${ac_cv_have_int64_t+set}" = set; then |
12750 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11141 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12751 | else | 11142 | else |
12752 | 11143 | ||
12753 | cat >conftest.$ac_ext <<_ACEOF | 11144 | cat >conftest.$ac_ext <<_ACEOF |
12754 | #line $LINENO "configure" | 11145 | #line 11145 "configure" |
12755 | /* confdefs.h. */ | 11146 | #include "confdefs.h" |
12756 | _ACEOF | ||
12757 | cat confdefs.h >>conftest.$ac_ext | ||
12758 | cat >>conftest.$ac_ext <<_ACEOF | ||
12759 | /* end confdefs.h. */ | ||
12760 | 11147 | ||
12761 | #include <sys/types.h> | 11148 | #include <sys/types.h> |
12762 | #ifdef HAVE_STDINT_H | 11149 | #ifdef HAVE_STDINT_H |
@@ -12776,50 +11163,45 @@ main () | |||
12776 | } | 11163 | } |
12777 | _ACEOF | 11164 | _ACEOF |
12778 | rm -f conftest.$ac_objext | 11165 | rm -f conftest.$ac_objext |
12779 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11166 | if { (eval echo "$as_me:11166: \"$ac_compile\"") >&5 |
12780 | (eval $ac_compile) 2>&5 | 11167 | (eval $ac_compile) 2>&5 |
12781 | ac_status=$? | 11168 | ac_status=$? |
12782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11169 | echo "$as_me:11169: \$? = $ac_status" >&5 |
12783 | (exit $ac_status); } && | 11170 | (exit $ac_status); } && |
12784 | { ac_try='test -s conftest.$ac_objext' | 11171 | { ac_try='test -s conftest.$ac_objext' |
12785 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11172 | { (eval echo "$as_me:11172: \"$ac_try\"") >&5 |
12786 | (eval $ac_try) 2>&5 | 11173 | (eval $ac_try) 2>&5 |
12787 | ac_status=$? | 11174 | ac_status=$? |
12788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11175 | echo "$as_me:11175: \$? = $ac_status" >&5 |
12789 | (exit $ac_status); }; }; then | 11176 | (exit $ac_status); }; }; then |
12790 | ac_cv_have_int64_t="yes" | 11177 | ac_cv_have_int64_t="yes" |
12791 | else | 11178 | else |
12792 | echo "$as_me: failed program was:" >&5 | 11179 | echo "$as_me: failed program was:" >&5 |
12793 | sed 's/^/| /' conftest.$ac_ext >&5 | 11180 | cat conftest.$ac_ext >&5 |
12794 | |||
12795 | ac_cv_have_int64_t="no" | 11181 | ac_cv_have_int64_t="no" |
12796 | 11182 | ||
12797 | fi | 11183 | fi |
12798 | rm -f conftest.$ac_objext conftest.$ac_ext | 11184 | rm -f conftest.$ac_objext conftest.$ac_ext |
12799 | 11185 | ||
12800 | fi | 11186 | fi |
12801 | echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 | 11187 | echo "$as_me:11187: result: $ac_cv_have_int64_t" >&5 |
12802 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 | 11188 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6 |
12803 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 11189 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
12804 | cat >>confdefs.h <<\_ACEOF | 11190 | cat >>confdefs.h <<\EOF |
12805 | #define HAVE_INT64_T 1 | 11191 | #define HAVE_INT64_T 1 |
12806 | _ACEOF | 11192 | EOF |
12807 | 11193 | ||
12808 | fi | 11194 | fi |
12809 | 11195 | ||
12810 | echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 | 11196 | echo "$as_me:11196: checking for u_intXX_t types" >&5 |
12811 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 | 11197 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 |
12812 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | 11198 | if test "${ac_cv_have_u_intxx_t+set}" = set; then |
12813 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12814 | else | 11200 | else |
12815 | 11201 | ||
12816 | cat >conftest.$ac_ext <<_ACEOF | 11202 | cat >conftest.$ac_ext <<_ACEOF |
12817 | #line $LINENO "configure" | 11203 | #line 11203 "configure" |
12818 | /* confdefs.h. */ | 11204 | #include "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> | 11205 | #include <sys/types.h> |
12824 | int | 11206 | int |
12825 | main () | 11207 | main () |
@@ -12830,48 +11212,43 @@ main () | |||
12830 | } | 11212 | } |
12831 | _ACEOF | 11213 | _ACEOF |
12832 | rm -f conftest.$ac_objext | 11214 | rm -f conftest.$ac_objext |
12833 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11215 | if { (eval echo "$as_me:11215: \"$ac_compile\"") >&5 |
12834 | (eval $ac_compile) 2>&5 | 11216 | (eval $ac_compile) 2>&5 |
12835 | ac_status=$? | 11217 | ac_status=$? |
12836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11218 | echo "$as_me:11218: \$? = $ac_status" >&5 |
12837 | (exit $ac_status); } && | 11219 | (exit $ac_status); } && |
12838 | { ac_try='test -s conftest.$ac_objext' | 11220 | { ac_try='test -s conftest.$ac_objext' |
12839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11221 | { (eval echo "$as_me:11221: \"$ac_try\"") >&5 |
12840 | (eval $ac_try) 2>&5 | 11222 | (eval $ac_try) 2>&5 |
12841 | ac_status=$? | 11223 | ac_status=$? |
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11224 | echo "$as_me:11224: \$? = $ac_status" >&5 |
12843 | (exit $ac_status); }; }; then | 11225 | (exit $ac_status); }; }; then |
12844 | ac_cv_have_u_intxx_t="yes" | 11226 | ac_cv_have_u_intxx_t="yes" |
12845 | else | 11227 | else |
12846 | echo "$as_me: failed program was:" >&5 | 11228 | echo "$as_me: failed program was:" >&5 |
12847 | sed 's/^/| /' conftest.$ac_ext >&5 | 11229 | cat conftest.$ac_ext >&5 |
12848 | |||
12849 | ac_cv_have_u_intxx_t="no" | 11230 | ac_cv_have_u_intxx_t="no" |
12850 | 11231 | ||
12851 | fi | 11232 | fi |
12852 | rm -f conftest.$ac_objext conftest.$ac_ext | 11233 | rm -f conftest.$ac_objext conftest.$ac_ext |
12853 | 11234 | ||
12854 | fi | 11235 | fi |
12855 | echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 | 11236 | echo "$as_me:11236: result: $ac_cv_have_u_intxx_t" >&5 |
12856 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 | 11237 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 |
12857 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 11238 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
12858 | cat >>confdefs.h <<\_ACEOF | 11239 | cat >>confdefs.h <<\EOF |
12859 | #define HAVE_U_INTXX_T 1 | 11240 | #define HAVE_U_INTXX_T 1 |
12860 | _ACEOF | 11241 | EOF |
12861 | 11242 | ||
12862 | have_u_intxx_t=1 | 11243 | have_u_intxx_t=1 |
12863 | fi | 11244 | fi |
12864 | 11245 | ||
12865 | if test -z "$have_u_intxx_t" ; then | 11246 | if test -z "$have_u_intxx_t" ; then |
12866 | echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 | 11247 | echo "$as_me:11247: checking for u_intXX_t types in sys/socket.h" >&5 |
12867 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 | 11248 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 |
12868 | cat >conftest.$ac_ext <<_ACEOF | 11249 | cat >conftest.$ac_ext <<_ACEOF |
12869 | #line $LINENO "configure" | 11250 | #line 11250 "configure" |
12870 | /* confdefs.h. */ | 11251 | #include "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> | 11252 | #include <sys/socket.h> |
12876 | int | 11253 | int |
12877 | main () | 11254 | main () |
@@ -12882,49 +11259,44 @@ main () | |||
12882 | } | 11259 | } |
12883 | _ACEOF | 11260 | _ACEOF |
12884 | rm -f conftest.$ac_objext | 11261 | rm -f conftest.$ac_objext |
12885 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11262 | if { (eval echo "$as_me:11262: \"$ac_compile\"") >&5 |
12886 | (eval $ac_compile) 2>&5 | 11263 | (eval $ac_compile) 2>&5 |
12887 | ac_status=$? | 11264 | ac_status=$? |
12888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11265 | echo "$as_me:11265: \$? = $ac_status" >&5 |
12889 | (exit $ac_status); } && | 11266 | (exit $ac_status); } && |
12890 | { ac_try='test -s conftest.$ac_objext' | 11267 | { ac_try='test -s conftest.$ac_objext' |
12891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11268 | { (eval echo "$as_me:11268: \"$ac_try\"") >&5 |
12892 | (eval $ac_try) 2>&5 | 11269 | (eval $ac_try) 2>&5 |
12893 | ac_status=$? | 11270 | ac_status=$? |
12894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11271 | echo "$as_me:11271: \$? = $ac_status" >&5 |
12895 | (exit $ac_status); }; }; then | 11272 | (exit $ac_status); }; }; then |
12896 | 11273 | ||
12897 | cat >>confdefs.h <<\_ACEOF | 11274 | cat >>confdefs.h <<\EOF |
12898 | #define HAVE_U_INTXX_T 1 | 11275 | #define HAVE_U_INTXX_T 1 |
12899 | _ACEOF | 11276 | EOF |
12900 | 11277 | ||
12901 | echo "$as_me:$LINENO: result: yes" >&5 | 11278 | echo "$as_me:11278: result: yes" >&5 |
12902 | echo "${ECHO_T}yes" >&6 | 11279 | echo "${ECHO_T}yes" >&6 |
12903 | 11280 | ||
12904 | else | 11281 | else |
12905 | echo "$as_me: failed program was:" >&5 | 11282 | echo "$as_me: failed program was:" >&5 |
12906 | sed 's/^/| /' conftest.$ac_ext >&5 | 11283 | cat conftest.$ac_ext >&5 |
12907 | 11284 | echo "$as_me:11284: result: no" >&5 | |
12908 | echo "$as_me:$LINENO: result: no" >&5 | ||
12909 | echo "${ECHO_T}no" >&6 | 11285 | echo "${ECHO_T}no" >&6 |
12910 | 11286 | ||
12911 | fi | 11287 | fi |
12912 | rm -f conftest.$ac_objext conftest.$ac_ext | 11288 | rm -f conftest.$ac_objext conftest.$ac_ext |
12913 | fi | 11289 | fi |
12914 | 11290 | ||
12915 | echo "$as_me:$LINENO: checking for u_int64_t types" >&5 | 11291 | echo "$as_me:11291: checking for u_int64_t types" >&5 |
12916 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 | 11292 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 |
12917 | if test "${ac_cv_have_u_int64_t+set}" = set; then | 11293 | if test "${ac_cv_have_u_int64_t+set}" = set; then |
12918 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11294 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12919 | else | 11295 | else |
12920 | 11296 | ||
12921 | cat >conftest.$ac_ext <<_ACEOF | 11297 | cat >conftest.$ac_ext <<_ACEOF |
12922 | #line $LINENO "configure" | 11298 | #line 11298 "configure" |
12923 | /* confdefs.h. */ | 11299 | #include "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> | 11300 | #include <sys/types.h> |
12929 | int | 11301 | int |
12930 | main () | 11302 | main () |
@@ -12935,48 +11307,43 @@ main () | |||
12935 | } | 11307 | } |
12936 | _ACEOF | 11308 | _ACEOF |
12937 | rm -f conftest.$ac_objext | 11309 | rm -f conftest.$ac_objext |
12938 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11310 | if { (eval echo "$as_me:11310: \"$ac_compile\"") >&5 |
12939 | (eval $ac_compile) 2>&5 | 11311 | (eval $ac_compile) 2>&5 |
12940 | ac_status=$? | 11312 | ac_status=$? |
12941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11313 | echo "$as_me:11313: \$? = $ac_status" >&5 |
12942 | (exit $ac_status); } && | 11314 | (exit $ac_status); } && |
12943 | { ac_try='test -s conftest.$ac_objext' | 11315 | { ac_try='test -s conftest.$ac_objext' |
12944 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11316 | { (eval echo "$as_me:11316: \"$ac_try\"") >&5 |
12945 | (eval $ac_try) 2>&5 | 11317 | (eval $ac_try) 2>&5 |
12946 | ac_status=$? | 11318 | ac_status=$? |
12947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11319 | echo "$as_me:11319: \$? = $ac_status" >&5 |
12948 | (exit $ac_status); }; }; then | 11320 | (exit $ac_status); }; }; then |
12949 | ac_cv_have_u_int64_t="yes" | 11321 | ac_cv_have_u_int64_t="yes" |
12950 | else | 11322 | else |
12951 | echo "$as_me: failed program was:" >&5 | 11323 | echo "$as_me: failed program was:" >&5 |
12952 | sed 's/^/| /' conftest.$ac_ext >&5 | 11324 | cat conftest.$ac_ext >&5 |
12953 | |||
12954 | ac_cv_have_u_int64_t="no" | 11325 | ac_cv_have_u_int64_t="no" |
12955 | 11326 | ||
12956 | fi | 11327 | fi |
12957 | rm -f conftest.$ac_objext conftest.$ac_ext | 11328 | rm -f conftest.$ac_objext conftest.$ac_ext |
12958 | 11329 | ||
12959 | fi | 11330 | fi |
12960 | echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 | 11331 | echo "$as_me:11331: result: $ac_cv_have_u_int64_t" >&5 |
12961 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 | 11332 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 |
12962 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 11333 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
12963 | cat >>confdefs.h <<\_ACEOF | 11334 | cat >>confdefs.h <<\EOF |
12964 | #define HAVE_U_INT64_T 1 | 11335 | #define HAVE_U_INT64_T 1 |
12965 | _ACEOF | 11336 | EOF |
12966 | 11337 | ||
12967 | have_u_int64_t=1 | 11338 | have_u_int64_t=1 |
12968 | fi | 11339 | fi |
12969 | 11340 | ||
12970 | if test -z "$have_u_int64_t" ; then | 11341 | if test -z "$have_u_int64_t" ; then |
12971 | echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 | 11342 | echo "$as_me:11342: checking for u_int64_t type in sys/bitypes.h" >&5 |
12972 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 | 11343 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 |
12973 | cat >conftest.$ac_ext <<_ACEOF | 11344 | cat >conftest.$ac_ext <<_ACEOF |
12974 | #line $LINENO "configure" | 11345 | #line 11345 "configure" |
12975 | /* confdefs.h. */ | 11346 | #include "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> | 11347 | #include <sys/bitypes.h> |
12981 | int | 11348 | int |
12982 | main () | 11349 | main () |
@@ -12987,30 +11354,29 @@ main () | |||
12987 | } | 11354 | } |
12988 | _ACEOF | 11355 | _ACEOF |
12989 | rm -f conftest.$ac_objext | 11356 | rm -f conftest.$ac_objext |
12990 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11357 | if { (eval echo "$as_me:11357: \"$ac_compile\"") >&5 |
12991 | (eval $ac_compile) 2>&5 | 11358 | (eval $ac_compile) 2>&5 |
12992 | ac_status=$? | 11359 | ac_status=$? |
12993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11360 | echo "$as_me:11360: \$? = $ac_status" >&5 |
12994 | (exit $ac_status); } && | 11361 | (exit $ac_status); } && |
12995 | { ac_try='test -s conftest.$ac_objext' | 11362 | { ac_try='test -s conftest.$ac_objext' |
12996 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11363 | { (eval echo "$as_me:11363: \"$ac_try\"") >&5 |
12997 | (eval $ac_try) 2>&5 | 11364 | (eval $ac_try) 2>&5 |
12998 | ac_status=$? | 11365 | ac_status=$? |
12999 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11366 | echo "$as_me:11366: \$? = $ac_status" >&5 |
13000 | (exit $ac_status); }; }; then | 11367 | (exit $ac_status); }; }; then |
13001 | 11368 | ||
13002 | cat >>confdefs.h <<\_ACEOF | 11369 | cat >>confdefs.h <<\EOF |
13003 | #define HAVE_U_INT64_T 1 | 11370 | #define HAVE_U_INT64_T 1 |
13004 | _ACEOF | 11371 | EOF |
13005 | 11372 | ||
13006 | echo "$as_me:$LINENO: result: yes" >&5 | 11373 | echo "$as_me:11373: result: yes" >&5 |
13007 | echo "${ECHO_T}yes" >&6 | 11374 | echo "${ECHO_T}yes" >&6 |
13008 | 11375 | ||
13009 | else | 11376 | else |
13010 | echo "$as_me: failed program was:" >&5 | 11377 | echo "$as_me: failed program was:" >&5 |
13011 | sed 's/^/| /' conftest.$ac_ext >&5 | 11378 | cat conftest.$ac_ext >&5 |
13012 | 11379 | echo "$as_me:11379: result: no" >&5 | |
13013 | echo "$as_me:$LINENO: result: no" >&5 | ||
13014 | echo "${ECHO_T}no" >&6 | 11380 | echo "${ECHO_T}no" >&6 |
13015 | 11381 | ||
13016 | fi | 11382 | fi |
@@ -13018,19 +11384,15 @@ rm -f conftest.$ac_objext conftest.$ac_ext | |||
13018 | fi | 11384 | fi |
13019 | 11385 | ||
13020 | if test -z "$have_u_intxx_t" ; then | 11386 | if test -z "$have_u_intxx_t" ; then |
13021 | echo "$as_me:$LINENO: checking for uintXX_t types" >&5 | 11387 | echo "$as_me:11387: checking for uintXX_t types" >&5 |
13022 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 | 11388 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 |
13023 | if test "${ac_cv_have_uintxx_t+set}" = set; then | 11389 | if test "${ac_cv_have_uintxx_t+set}" = set; then |
13024 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11390 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13025 | else | 11391 | else |
13026 | 11392 | ||
13027 | cat >conftest.$ac_ext <<_ACEOF | 11393 | cat >conftest.$ac_ext <<_ACEOF |
13028 | #line $LINENO "configure" | 11394 | #line 11394 "configure" |
13029 | /* confdefs.h. */ | 11395 | #include "confdefs.h" |
13030 | _ACEOF | ||
13031 | cat confdefs.h >>conftest.$ac_ext | ||
13032 | cat >>conftest.$ac_ext <<_ACEOF | ||
13033 | /* end confdefs.h. */ | ||
13034 | 11396 | ||
13035 | #include <sys/types.h> | 11397 | #include <sys/types.h> |
13036 | 11398 | ||
@@ -13043,48 +11405,43 @@ main () | |||
13043 | } | 11405 | } |
13044 | _ACEOF | 11406 | _ACEOF |
13045 | rm -f conftest.$ac_objext | 11407 | rm -f conftest.$ac_objext |
13046 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11408 | if { (eval echo "$as_me:11408: \"$ac_compile\"") >&5 |
13047 | (eval $ac_compile) 2>&5 | 11409 | (eval $ac_compile) 2>&5 |
13048 | ac_status=$? | 11410 | ac_status=$? |
13049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11411 | echo "$as_me:11411: \$? = $ac_status" >&5 |
13050 | (exit $ac_status); } && | 11412 | (exit $ac_status); } && |
13051 | { ac_try='test -s conftest.$ac_objext' | 11413 | { ac_try='test -s conftest.$ac_objext' |
13052 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11414 | { (eval echo "$as_me:11414: \"$ac_try\"") >&5 |
13053 | (eval $ac_try) 2>&5 | 11415 | (eval $ac_try) 2>&5 |
13054 | ac_status=$? | 11416 | ac_status=$? |
13055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11417 | echo "$as_me:11417: \$? = $ac_status" >&5 |
13056 | (exit $ac_status); }; }; then | 11418 | (exit $ac_status); }; }; then |
13057 | ac_cv_have_uintxx_t="yes" | 11419 | ac_cv_have_uintxx_t="yes" |
13058 | else | 11420 | else |
13059 | echo "$as_me: failed program was:" >&5 | 11421 | echo "$as_me: failed program was:" >&5 |
13060 | sed 's/^/| /' conftest.$ac_ext >&5 | 11422 | cat conftest.$ac_ext >&5 |
13061 | |||
13062 | ac_cv_have_uintxx_t="no" | 11423 | ac_cv_have_uintxx_t="no" |
13063 | 11424 | ||
13064 | fi | 11425 | fi |
13065 | rm -f conftest.$ac_objext conftest.$ac_ext | 11426 | rm -f conftest.$ac_objext conftest.$ac_ext |
13066 | 11427 | ||
13067 | fi | 11428 | fi |
13068 | echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 | 11429 | echo "$as_me:11429: result: $ac_cv_have_uintxx_t" >&5 |
13069 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 | 11430 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 |
13070 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | 11431 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then |
13071 | cat >>confdefs.h <<\_ACEOF | 11432 | cat >>confdefs.h <<\EOF |
13072 | #define HAVE_UINTXX_T 1 | 11433 | #define HAVE_UINTXX_T 1 |
13073 | _ACEOF | 11434 | EOF |
13074 | 11435 | ||
13075 | fi | 11436 | fi |
13076 | fi | 11437 | fi |
13077 | 11438 | ||
13078 | if test -z "$have_uintxx_t" ; then | 11439 | if test -z "$have_uintxx_t" ; then |
13079 | echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 | 11440 | echo "$as_me:11440: checking for uintXX_t types in stdint.h" >&5 |
13080 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 | 11441 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 |
13081 | cat >conftest.$ac_ext <<_ACEOF | 11442 | cat >conftest.$ac_ext <<_ACEOF |
13082 | #line $LINENO "configure" | 11443 | #line 11443 "configure" |
13083 | /* confdefs.h. */ | 11444 | #include "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> | 11445 | #include <stdint.h> |
13089 | int | 11446 | int |
13090 | main () | 11447 | main () |
@@ -13095,30 +11452,29 @@ main () | |||
13095 | } | 11452 | } |
13096 | _ACEOF | 11453 | _ACEOF |
13097 | rm -f conftest.$ac_objext | 11454 | rm -f conftest.$ac_objext |
13098 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11455 | if { (eval echo "$as_me:11455: \"$ac_compile\"") >&5 |
13099 | (eval $ac_compile) 2>&5 | 11456 | (eval $ac_compile) 2>&5 |
13100 | ac_status=$? | 11457 | ac_status=$? |
13101 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11458 | echo "$as_me:11458: \$? = $ac_status" >&5 |
13102 | (exit $ac_status); } && | 11459 | (exit $ac_status); } && |
13103 | { ac_try='test -s conftest.$ac_objext' | 11460 | { ac_try='test -s conftest.$ac_objext' |
13104 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11461 | { (eval echo "$as_me:11461: \"$ac_try\"") >&5 |
13105 | (eval $ac_try) 2>&5 | 11462 | (eval $ac_try) 2>&5 |
13106 | ac_status=$? | 11463 | ac_status=$? |
13107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11464 | echo "$as_me:11464: \$? = $ac_status" >&5 |
13108 | (exit $ac_status); }; }; then | 11465 | (exit $ac_status); }; }; then |
13109 | 11466 | ||
13110 | cat >>confdefs.h <<\_ACEOF | 11467 | cat >>confdefs.h <<\EOF |
13111 | #define HAVE_UINTXX_T 1 | 11468 | #define HAVE_UINTXX_T 1 |
13112 | _ACEOF | 11469 | EOF |
13113 | 11470 | ||
13114 | echo "$as_me:$LINENO: result: yes" >&5 | 11471 | echo "$as_me:11471: result: yes" >&5 |
13115 | echo "${ECHO_T}yes" >&6 | 11472 | echo "${ECHO_T}yes" >&6 |
13116 | 11473 | ||
13117 | else | 11474 | else |
13118 | echo "$as_me: failed program was:" >&5 | 11475 | echo "$as_me: failed program was:" >&5 |
13119 | sed 's/^/| /' conftest.$ac_ext >&5 | 11476 | cat conftest.$ac_ext >&5 |
13120 | 11477 | echo "$as_me:11477: result: no" >&5 | |
13121 | echo "$as_me:$LINENO: result: no" >&5 | ||
13122 | echo "${ECHO_T}no" >&6 | 11478 | echo "${ECHO_T}no" >&6 |
13123 | 11479 | ||
13124 | fi | 11480 | fi |
@@ -13128,15 +11484,11 @@ fi | |||
13128 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 11484 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ |
13129 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 11485 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
13130 | then | 11486 | then |
13131 | echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | 11487 | echo "$as_me:11487: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 |
13132 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 | 11488 | 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 | 11489 | cat >conftest.$ac_ext <<_ACEOF |
13134 | #line $LINENO "configure" | 11490 | #line 11490 "configure" |
13135 | /* confdefs.h. */ | 11491 | #include "confdefs.h" |
13136 | _ACEOF | ||
13137 | cat confdefs.h >>conftest.$ac_ext | ||
13138 | cat >>conftest.$ac_ext <<_ACEOF | ||
13139 | /* end confdefs.h. */ | ||
13140 | 11492 | ||
13141 | #include <sys/bitypes.h> | 11493 | #include <sys/bitypes.h> |
13142 | 11494 | ||
@@ -13153,54 +11505,48 @@ main () | |||
13153 | } | 11505 | } |
13154 | _ACEOF | 11506 | _ACEOF |
13155 | rm -f conftest.$ac_objext | 11507 | rm -f conftest.$ac_objext |
13156 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11508 | if { (eval echo "$as_me:11508: \"$ac_compile\"") >&5 |
13157 | (eval $ac_compile) 2>&5 | 11509 | (eval $ac_compile) 2>&5 |
13158 | ac_status=$? | 11510 | ac_status=$? |
13159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11511 | echo "$as_me:11511: \$? = $ac_status" >&5 |
13160 | (exit $ac_status); } && | 11512 | (exit $ac_status); } && |
13161 | { ac_try='test -s conftest.$ac_objext' | 11513 | { ac_try='test -s conftest.$ac_objext' |
13162 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11514 | { (eval echo "$as_me:11514: \"$ac_try\"") >&5 |
13163 | (eval $ac_try) 2>&5 | 11515 | (eval $ac_try) 2>&5 |
13164 | ac_status=$? | 11516 | ac_status=$? |
13165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11517 | echo "$as_me:11517: \$? = $ac_status" >&5 |
13166 | (exit $ac_status); }; }; then | 11518 | (exit $ac_status); }; }; then |
13167 | 11519 | ||
13168 | cat >>confdefs.h <<\_ACEOF | 11520 | cat >>confdefs.h <<\EOF |
13169 | #define HAVE_U_INTXX_T 1 | 11521 | #define HAVE_U_INTXX_T 1 |
13170 | _ACEOF | 11522 | EOF |
13171 | 11523 | ||
13172 | cat >>confdefs.h <<\_ACEOF | 11524 | cat >>confdefs.h <<\EOF |
13173 | #define HAVE_INTXX_T 1 | 11525 | #define HAVE_INTXX_T 1 |
13174 | _ACEOF | 11526 | EOF |
13175 | 11527 | ||
13176 | echo "$as_me:$LINENO: result: yes" >&5 | 11528 | echo "$as_me:11528: result: yes" >&5 |
13177 | echo "${ECHO_T}yes" >&6 | 11529 | echo "${ECHO_T}yes" >&6 |
13178 | 11530 | ||
13179 | else | 11531 | else |
13180 | echo "$as_me: failed program was:" >&5 | 11532 | echo "$as_me: failed program was:" >&5 |
13181 | sed 's/^/| /' conftest.$ac_ext >&5 | 11533 | cat conftest.$ac_ext >&5 |
13182 | 11534 | echo "$as_me:11534: result: no" >&5 | |
13183 | echo "$as_me:$LINENO: result: no" >&5 | ||
13184 | echo "${ECHO_T}no" >&6 | 11535 | echo "${ECHO_T}no" >&6 |
13185 | 11536 | ||
13186 | fi | 11537 | fi |
13187 | rm -f conftest.$ac_objext conftest.$ac_ext | 11538 | rm -f conftest.$ac_objext conftest.$ac_ext |
13188 | fi | 11539 | fi |
13189 | 11540 | ||
13190 | 11541 | echo "$as_me:11541: checking for u_char" >&5 | |
13191 | echo "$as_me:$LINENO: checking for u_char" >&5 | ||
13192 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 | 11542 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 |
13193 | if test "${ac_cv_have_u_char+set}" = set; then | 11543 | if test "${ac_cv_have_u_char+set}" = set; then |
13194 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11544 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13195 | else | 11545 | else |
13196 | 11546 | ||
13197 | cat >conftest.$ac_ext <<_ACEOF | 11547 | cat >conftest.$ac_ext <<_ACEOF |
13198 | #line $LINENO "configure" | 11548 | #line 11548 "configure" |
13199 | /* confdefs.h. */ | 11549 | #include "confdefs.h" |
13200 | _ACEOF | ||
13201 | cat confdefs.h >>conftest.$ac_ext | ||
13202 | cat >>conftest.$ac_ext <<_ACEOF | ||
13203 | /* end confdefs.h. */ | ||
13204 | 11550 | ||
13205 | #include <sys/types.h> | 11551 | #include <sys/types.h> |
13206 | 11552 | ||
@@ -13213,50 +11559,44 @@ main () | |||
13213 | } | 11559 | } |
13214 | _ACEOF | 11560 | _ACEOF |
13215 | rm -f conftest.$ac_objext | 11561 | rm -f conftest.$ac_objext |
13216 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11562 | if { (eval echo "$as_me:11562: \"$ac_compile\"") >&5 |
13217 | (eval $ac_compile) 2>&5 | 11563 | (eval $ac_compile) 2>&5 |
13218 | ac_status=$? | 11564 | ac_status=$? |
13219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11565 | echo "$as_me:11565: \$? = $ac_status" >&5 |
13220 | (exit $ac_status); } && | 11566 | (exit $ac_status); } && |
13221 | { ac_try='test -s conftest.$ac_objext' | 11567 | { ac_try='test -s conftest.$ac_objext' |
13222 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11568 | { (eval echo "$as_me:11568: \"$ac_try\"") >&5 |
13223 | (eval $ac_try) 2>&5 | 11569 | (eval $ac_try) 2>&5 |
13224 | ac_status=$? | 11570 | ac_status=$? |
13225 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11571 | echo "$as_me:11571: \$? = $ac_status" >&5 |
13226 | (exit $ac_status); }; }; then | 11572 | (exit $ac_status); }; }; then |
13227 | ac_cv_have_u_char="yes" | 11573 | ac_cv_have_u_char="yes" |
13228 | else | 11574 | else |
13229 | echo "$as_me: failed program was:" >&5 | 11575 | echo "$as_me: failed program was:" >&5 |
13230 | sed 's/^/| /' conftest.$ac_ext >&5 | 11576 | cat conftest.$ac_ext >&5 |
13231 | |||
13232 | ac_cv_have_u_char="no" | 11577 | ac_cv_have_u_char="no" |
13233 | 11578 | ||
13234 | fi | 11579 | fi |
13235 | rm -f conftest.$ac_objext conftest.$ac_ext | 11580 | rm -f conftest.$ac_objext conftest.$ac_ext |
13236 | 11581 | ||
13237 | fi | 11582 | fi |
13238 | echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 | 11583 | echo "$as_me:11583: result: $ac_cv_have_u_char" >&5 |
13239 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 | 11584 | echo "${ECHO_T}$ac_cv_have_u_char" >&6 |
13240 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 11585 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
13241 | cat >>confdefs.h <<\_ACEOF | 11586 | cat >>confdefs.h <<\EOF |
13242 | #define HAVE_U_CHAR 1 | 11587 | #define HAVE_U_CHAR 1 |
13243 | _ACEOF | 11588 | EOF |
13244 | 11589 | ||
13245 | fi | 11590 | fi |
13246 | 11591 | ||
13247 | 11592 | echo "$as_me:11592: checking for socklen_t" >&5 | |
13248 | echo "$as_me:$LINENO: checking for socklen_t" >&5 | ||
13249 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 | 11593 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 |
13250 | if test "${ac_cv_type_socklen_t+set}" = set; then | 11594 | if test "${ac_cv_type_socklen_t+set}" = set; then |
13251 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11595 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13252 | else | 11596 | else |
13253 | cat >conftest.$ac_ext <<_ACEOF | 11597 | cat >conftest.$ac_ext <<_ACEOF |
13254 | #line $LINENO "configure" | 11598 | #line 11598 "configure" |
13255 | /* confdefs.h. */ | 11599 | #include "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> | 11600 | #include <sys/types.h> |
13261 | #include <sys/socket.h> | 11601 | #include <sys/socket.h> |
13262 | 11602 | ||
@@ -13272,33 +11612,32 @@ if (sizeof (socklen_t)) | |||
13272 | } | 11612 | } |
13273 | _ACEOF | 11613 | _ACEOF |
13274 | rm -f conftest.$ac_objext | 11614 | rm -f conftest.$ac_objext |
13275 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11615 | if { (eval echo "$as_me:11615: \"$ac_compile\"") >&5 |
13276 | (eval $ac_compile) 2>&5 | 11616 | (eval $ac_compile) 2>&5 |
13277 | ac_status=$? | 11617 | ac_status=$? |
13278 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11618 | echo "$as_me:11618: \$? = $ac_status" >&5 |
13279 | (exit $ac_status); } && | 11619 | (exit $ac_status); } && |
13280 | { ac_try='test -s conftest.$ac_objext' | 11620 | { ac_try='test -s conftest.$ac_objext' |
13281 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11621 | { (eval echo "$as_me:11621: \"$ac_try\"") >&5 |
13282 | (eval $ac_try) 2>&5 | 11622 | (eval $ac_try) 2>&5 |
13283 | ac_status=$? | 11623 | ac_status=$? |
13284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11624 | echo "$as_me:11624: \$? = $ac_status" >&5 |
13285 | (exit $ac_status); }; }; then | 11625 | (exit $ac_status); }; }; then |
13286 | ac_cv_type_socklen_t=yes | 11626 | ac_cv_type_socklen_t=yes |
13287 | else | 11627 | else |
13288 | echo "$as_me: failed program was:" >&5 | 11628 | echo "$as_me: failed program was:" >&5 |
13289 | sed 's/^/| /' conftest.$ac_ext >&5 | 11629 | cat conftest.$ac_ext >&5 |
13290 | |||
13291 | ac_cv_type_socklen_t=no | 11630 | ac_cv_type_socklen_t=no |
13292 | fi | 11631 | fi |
13293 | rm -f conftest.$ac_objext conftest.$ac_ext | 11632 | rm -f conftest.$ac_objext conftest.$ac_ext |
13294 | fi | 11633 | fi |
13295 | echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | 11634 | echo "$as_me:11634: result: $ac_cv_type_socklen_t" >&5 |
13296 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 | 11635 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 |
13297 | if test $ac_cv_type_socklen_t = yes; then | 11636 | if test $ac_cv_type_socklen_t = yes; then |
13298 | : | 11637 | : |
13299 | else | 11638 | else |
13300 | 11639 | ||
13301 | echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 | 11640 | echo "$as_me:11640: checking for socklen_t equivalent" >&5 |
13302 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 | 11641 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 |
13303 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | 11642 | if test "${curl_cv_socklen_t_equiv+set}" = set; then |
13304 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11643 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -13310,12 +11649,8 @@ else | |||
13310 | for arg2 in "struct sockaddr" void; do | 11649 | for arg2 in "struct sockaddr" void; do |
13311 | for t in int size_t unsigned long "unsigned long"; do | 11650 | for t in int size_t unsigned long "unsigned long"; do |
13312 | cat >conftest.$ac_ext <<_ACEOF | 11651 | cat >conftest.$ac_ext <<_ACEOF |
13313 | #line $LINENO "configure" | 11652 | #line 11652 "configure" |
13314 | /* confdefs.h. */ | 11653 | #include "confdefs.h" |
13315 | _ACEOF | ||
13316 | cat confdefs.h >>conftest.$ac_ext | ||
13317 | cat >>conftest.$ac_ext <<_ACEOF | ||
13318 | /* end confdefs.h. */ | ||
13319 | 11654 | ||
13320 | #include <sys/types.h> | 11655 | #include <sys/types.h> |
13321 | #include <sys/socket.h> | 11656 | #include <sys/socket.h> |
@@ -13334,16 +11669,16 @@ main () | |||
13334 | } | 11669 | } |
13335 | _ACEOF | 11670 | _ACEOF |
13336 | rm -f conftest.$ac_objext | 11671 | rm -f conftest.$ac_objext |
13337 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11672 | if { (eval echo "$as_me:11672: \"$ac_compile\"") >&5 |
13338 | (eval $ac_compile) 2>&5 | 11673 | (eval $ac_compile) 2>&5 |
13339 | ac_status=$? | 11674 | ac_status=$? |
13340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11675 | echo "$as_me:11675: \$? = $ac_status" >&5 |
13341 | (exit $ac_status); } && | 11676 | (exit $ac_status); } && |
13342 | { ac_try='test -s conftest.$ac_objext' | 11677 | { ac_try='test -s conftest.$ac_objext' |
13343 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11678 | { (eval echo "$as_me:11678: \"$ac_try\"") >&5 |
13344 | (eval $ac_try) 2>&5 | 11679 | (eval $ac_try) 2>&5 |
13345 | ac_status=$? | 11680 | ac_status=$? |
13346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11681 | echo "$as_me:11681: \$? = $ac_status" >&5 |
13347 | (exit $ac_status); }; }; then | 11682 | (exit $ac_status); }; }; then |
13348 | 11683 | ||
13349 | curl_cv_socklen_t_equiv="$t" | 11684 | curl_cv_socklen_t_equiv="$t" |
@@ -13351,44 +11686,37 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |||
13351 | 11686 | ||
13352 | else | 11687 | else |
13353 | echo "$as_me: failed program was:" >&5 | 11688 | echo "$as_me: failed program was:" >&5 |
13354 | sed 's/^/| /' conftest.$ac_ext >&5 | 11689 | cat conftest.$ac_ext >&5 |
13355 | |||
13356 | fi | 11690 | fi |
13357 | rm -f conftest.$ac_objext conftest.$ac_ext | 11691 | rm -f conftest.$ac_objext conftest.$ac_ext |
13358 | done | 11692 | done |
13359 | done | 11693 | done |
13360 | 11694 | ||
13361 | if test "x$curl_cv_socklen_t_equiv" = x; then | 11695 | 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 | 11696 | { { echo "$as_me:11696: 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;} | 11697 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} |
13364 | { (exit 1); exit 1; }; } | 11698 | { (exit 1); exit 1; }; } |
13365 | fi | 11699 | fi |
13366 | 11700 | ||
13367 | fi | 11701 | fi |
13368 | 11702 | ||
13369 | echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 | 11703 | echo "$as_me:11703: result: $curl_cv_socklen_t_equiv" >&5 |
13370 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 | 11704 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 |
13371 | 11705 | ||
13372 | cat >>confdefs.h <<_ACEOF | 11706 | cat >>confdefs.h <<EOF |
13373 | #define socklen_t $curl_cv_socklen_t_equiv | 11707 | #define socklen_t $curl_cv_socklen_t_equiv |
13374 | _ACEOF | 11708 | EOF |
13375 | 11709 | ||
13376 | fi | 11710 | fi |
13377 | 11711 | ||
13378 | 11712 | echo "$as_me:11712: checking for sig_atomic_t" >&5 | |
13379 | |||
13380 | echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 | ||
13381 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 | 11713 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 |
13382 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | 11714 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
13383 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11715 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13384 | else | 11716 | else |
13385 | cat >conftest.$ac_ext <<_ACEOF | 11717 | cat >conftest.$ac_ext <<_ACEOF |
13386 | #line $LINENO "configure" | 11718 | #line 11718 "configure" |
13387 | /* confdefs.h. */ | 11719 | #include "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> | 11720 | #include <signal.h> |
13393 | 11721 | ||
13394 | int | 11722 | int |
@@ -13403,51 +11731,44 @@ if (sizeof (sig_atomic_t)) | |||
13403 | } | 11731 | } |
13404 | _ACEOF | 11732 | _ACEOF |
13405 | rm -f conftest.$ac_objext | 11733 | rm -f conftest.$ac_objext |
13406 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11734 | if { (eval echo "$as_me:11734: \"$ac_compile\"") >&5 |
13407 | (eval $ac_compile) 2>&5 | 11735 | (eval $ac_compile) 2>&5 |
13408 | ac_status=$? | 11736 | ac_status=$? |
13409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11737 | echo "$as_me:11737: \$? = $ac_status" >&5 |
13410 | (exit $ac_status); } && | 11738 | (exit $ac_status); } && |
13411 | { ac_try='test -s conftest.$ac_objext' | 11739 | { ac_try='test -s conftest.$ac_objext' |
13412 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11740 | { (eval echo "$as_me:11740: \"$ac_try\"") >&5 |
13413 | (eval $ac_try) 2>&5 | 11741 | (eval $ac_try) 2>&5 |
13414 | ac_status=$? | 11742 | ac_status=$? |
13415 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11743 | echo "$as_me:11743: \$? = $ac_status" >&5 |
13416 | (exit $ac_status); }; }; then | 11744 | (exit $ac_status); }; }; then |
13417 | ac_cv_type_sig_atomic_t=yes | 11745 | ac_cv_type_sig_atomic_t=yes |
13418 | else | 11746 | else |
13419 | echo "$as_me: failed program was:" >&5 | 11747 | echo "$as_me: failed program was:" >&5 |
13420 | sed 's/^/| /' conftest.$ac_ext >&5 | 11748 | cat conftest.$ac_ext >&5 |
13421 | |||
13422 | ac_cv_type_sig_atomic_t=no | 11749 | ac_cv_type_sig_atomic_t=no |
13423 | fi | 11750 | fi |
13424 | rm -f conftest.$ac_objext conftest.$ac_ext | 11751 | rm -f conftest.$ac_objext conftest.$ac_ext |
13425 | fi | 11752 | fi |
13426 | echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | 11753 | echo "$as_me:11753: result: $ac_cv_type_sig_atomic_t" >&5 |
13427 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 | 11754 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 |
13428 | if test $ac_cv_type_sig_atomic_t = yes; then | 11755 | if test $ac_cv_type_sig_atomic_t = yes; then |
13429 | 11756 | ||
13430 | cat >>confdefs.h <<_ACEOF | 11757 | cat >>confdefs.h <<EOF |
13431 | #define HAVE_SIG_ATOMIC_T 1 | 11758 | #define HAVE_SIG_ATOMIC_T 1 |
13432 | _ACEOF | 11759 | EOF |
13433 | |||
13434 | 11760 | ||
13435 | fi | 11761 | fi |
13436 | 11762 | ||
13437 | 11763 | echo "$as_me:11763: checking for size_t" >&5 | |
13438 | echo "$as_me:$LINENO: checking for size_t" >&5 | ||
13439 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 11764 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
13440 | if test "${ac_cv_have_size_t+set}" = set; then | 11765 | if test "${ac_cv_have_size_t+set}" = set; then |
13441 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11766 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13442 | else | 11767 | else |
13443 | 11768 | ||
13444 | cat >conftest.$ac_ext <<_ACEOF | 11769 | cat >conftest.$ac_ext <<_ACEOF |
13445 | #line $LINENO "configure" | 11770 | #line 11770 "configure" |
13446 | /* confdefs.h. */ | 11771 | #include "confdefs.h" |
13447 | _ACEOF | ||
13448 | cat confdefs.h >>conftest.$ac_ext | ||
13449 | cat >>conftest.$ac_ext <<_ACEOF | ||
13450 | /* end confdefs.h. */ | ||
13451 | 11772 | ||
13452 | #include <sys/types.h> | 11773 | #include <sys/types.h> |
13453 | 11774 | ||
@@ -13460,50 +11781,45 @@ main () | |||
13460 | } | 11781 | } |
13461 | _ACEOF | 11782 | _ACEOF |
13462 | rm -f conftest.$ac_objext | 11783 | rm -f conftest.$ac_objext |
13463 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11784 | if { (eval echo "$as_me:11784: \"$ac_compile\"") >&5 |
13464 | (eval $ac_compile) 2>&5 | 11785 | (eval $ac_compile) 2>&5 |
13465 | ac_status=$? | 11786 | ac_status=$? |
13466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11787 | echo "$as_me:11787: \$? = $ac_status" >&5 |
13467 | (exit $ac_status); } && | 11788 | (exit $ac_status); } && |
13468 | { ac_try='test -s conftest.$ac_objext' | 11789 | { ac_try='test -s conftest.$ac_objext' |
13469 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11790 | { (eval echo "$as_me:11790: \"$ac_try\"") >&5 |
13470 | (eval $ac_try) 2>&5 | 11791 | (eval $ac_try) 2>&5 |
13471 | ac_status=$? | 11792 | ac_status=$? |
13472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11793 | echo "$as_me:11793: \$? = $ac_status" >&5 |
13473 | (exit $ac_status); }; }; then | 11794 | (exit $ac_status); }; }; then |
13474 | ac_cv_have_size_t="yes" | 11795 | ac_cv_have_size_t="yes" |
13475 | else | 11796 | else |
13476 | echo "$as_me: failed program was:" >&5 | 11797 | echo "$as_me: failed program was:" >&5 |
13477 | sed 's/^/| /' conftest.$ac_ext >&5 | 11798 | cat conftest.$ac_ext >&5 |
13478 | |||
13479 | ac_cv_have_size_t="no" | 11799 | ac_cv_have_size_t="no" |
13480 | 11800 | ||
13481 | fi | 11801 | fi |
13482 | rm -f conftest.$ac_objext conftest.$ac_ext | 11802 | rm -f conftest.$ac_objext conftest.$ac_ext |
13483 | 11803 | ||
13484 | fi | 11804 | fi |
13485 | echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 | 11805 | echo "$as_me:11805: result: $ac_cv_have_size_t" >&5 |
13486 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 | 11806 | echo "${ECHO_T}$ac_cv_have_size_t" >&6 |
13487 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 11807 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
13488 | cat >>confdefs.h <<\_ACEOF | 11808 | cat >>confdefs.h <<\EOF |
13489 | #define HAVE_SIZE_T 1 | 11809 | #define HAVE_SIZE_T 1 |
13490 | _ACEOF | 11810 | EOF |
13491 | 11811 | ||
13492 | fi | 11812 | fi |
13493 | 11813 | ||
13494 | echo "$as_me:$LINENO: checking for ssize_t" >&5 | 11814 | echo "$as_me:11814: checking for ssize_t" >&5 |
13495 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 | 11815 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 |
13496 | if test "${ac_cv_have_ssize_t+set}" = set; then | 11816 | if test "${ac_cv_have_ssize_t+set}" = set; then |
13497 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11817 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13498 | else | 11818 | else |
13499 | 11819 | ||
13500 | cat >conftest.$ac_ext <<_ACEOF | 11820 | cat >conftest.$ac_ext <<_ACEOF |
13501 | #line $LINENO "configure" | 11821 | #line 11821 "configure" |
13502 | /* confdefs.h. */ | 11822 | #include "confdefs.h" |
13503 | _ACEOF | ||
13504 | cat confdefs.h >>conftest.$ac_ext | ||
13505 | cat >>conftest.$ac_ext <<_ACEOF | ||
13506 | /* end confdefs.h. */ | ||
13507 | 11823 | ||
13508 | #include <sys/types.h> | 11824 | #include <sys/types.h> |
13509 | 11825 | ||
@@ -13516,50 +11832,45 @@ main () | |||
13516 | } | 11832 | } |
13517 | _ACEOF | 11833 | _ACEOF |
13518 | rm -f conftest.$ac_objext | 11834 | rm -f conftest.$ac_objext |
13519 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11835 | if { (eval echo "$as_me:11835: \"$ac_compile\"") >&5 |
13520 | (eval $ac_compile) 2>&5 | 11836 | (eval $ac_compile) 2>&5 |
13521 | ac_status=$? | 11837 | ac_status=$? |
13522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11838 | echo "$as_me:11838: \$? = $ac_status" >&5 |
13523 | (exit $ac_status); } && | 11839 | (exit $ac_status); } && |
13524 | { ac_try='test -s conftest.$ac_objext' | 11840 | { ac_try='test -s conftest.$ac_objext' |
13525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11841 | { (eval echo "$as_me:11841: \"$ac_try\"") >&5 |
13526 | (eval $ac_try) 2>&5 | 11842 | (eval $ac_try) 2>&5 |
13527 | ac_status=$? | 11843 | ac_status=$? |
13528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11844 | echo "$as_me:11844: \$? = $ac_status" >&5 |
13529 | (exit $ac_status); }; }; then | 11845 | (exit $ac_status); }; }; then |
13530 | ac_cv_have_ssize_t="yes" | 11846 | ac_cv_have_ssize_t="yes" |
13531 | else | 11847 | else |
13532 | echo "$as_me: failed program was:" >&5 | 11848 | echo "$as_me: failed program was:" >&5 |
13533 | sed 's/^/| /' conftest.$ac_ext >&5 | 11849 | cat conftest.$ac_ext >&5 |
13534 | |||
13535 | ac_cv_have_ssize_t="no" | 11850 | ac_cv_have_ssize_t="no" |
13536 | 11851 | ||
13537 | fi | 11852 | fi |
13538 | rm -f conftest.$ac_objext conftest.$ac_ext | 11853 | rm -f conftest.$ac_objext conftest.$ac_ext |
13539 | 11854 | ||
13540 | fi | 11855 | fi |
13541 | echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 | 11856 | echo "$as_me:11856: result: $ac_cv_have_ssize_t" >&5 |
13542 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 | 11857 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 |
13543 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 11858 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
13544 | cat >>confdefs.h <<\_ACEOF | 11859 | cat >>confdefs.h <<\EOF |
13545 | #define HAVE_SSIZE_T 1 | 11860 | #define HAVE_SSIZE_T 1 |
13546 | _ACEOF | 11861 | EOF |
13547 | 11862 | ||
13548 | fi | 11863 | fi |
13549 | 11864 | ||
13550 | echo "$as_me:$LINENO: checking for clock_t" >&5 | 11865 | echo "$as_me:11865: checking for clock_t" >&5 |
13551 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 | 11866 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 |
13552 | if test "${ac_cv_have_clock_t+set}" = set; then | 11867 | if test "${ac_cv_have_clock_t+set}" = set; then |
13553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11868 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13554 | else | 11869 | else |
13555 | 11870 | ||
13556 | cat >conftest.$ac_ext <<_ACEOF | 11871 | cat >conftest.$ac_ext <<_ACEOF |
13557 | #line $LINENO "configure" | 11872 | #line 11872 "configure" |
13558 | /* confdefs.h. */ | 11873 | #include "confdefs.h" |
13559 | _ACEOF | ||
13560 | cat confdefs.h >>conftest.$ac_ext | ||
13561 | cat >>conftest.$ac_ext <<_ACEOF | ||
13562 | /* end confdefs.h. */ | ||
13563 | 11874 | ||
13564 | #include <time.h> | 11875 | #include <time.h> |
13565 | 11876 | ||
@@ -13572,50 +11883,45 @@ main () | |||
13572 | } | 11883 | } |
13573 | _ACEOF | 11884 | _ACEOF |
13574 | rm -f conftest.$ac_objext | 11885 | rm -f conftest.$ac_objext |
13575 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11886 | if { (eval echo "$as_me:11886: \"$ac_compile\"") >&5 |
13576 | (eval $ac_compile) 2>&5 | 11887 | (eval $ac_compile) 2>&5 |
13577 | ac_status=$? | 11888 | ac_status=$? |
13578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11889 | echo "$as_me:11889: \$? = $ac_status" >&5 |
13579 | (exit $ac_status); } && | 11890 | (exit $ac_status); } && |
13580 | { ac_try='test -s conftest.$ac_objext' | 11891 | { ac_try='test -s conftest.$ac_objext' |
13581 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11892 | { (eval echo "$as_me:11892: \"$ac_try\"") >&5 |
13582 | (eval $ac_try) 2>&5 | 11893 | (eval $ac_try) 2>&5 |
13583 | ac_status=$? | 11894 | ac_status=$? |
13584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11895 | echo "$as_me:11895: \$? = $ac_status" >&5 |
13585 | (exit $ac_status); }; }; then | 11896 | (exit $ac_status); }; }; then |
13586 | ac_cv_have_clock_t="yes" | 11897 | ac_cv_have_clock_t="yes" |
13587 | else | 11898 | else |
13588 | echo "$as_me: failed program was:" >&5 | 11899 | echo "$as_me: failed program was:" >&5 |
13589 | sed 's/^/| /' conftest.$ac_ext >&5 | 11900 | cat conftest.$ac_ext >&5 |
13590 | |||
13591 | ac_cv_have_clock_t="no" | 11901 | ac_cv_have_clock_t="no" |
13592 | 11902 | ||
13593 | fi | 11903 | fi |
13594 | rm -f conftest.$ac_objext conftest.$ac_ext | 11904 | rm -f conftest.$ac_objext conftest.$ac_ext |
13595 | 11905 | ||
13596 | fi | 11906 | fi |
13597 | echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 | 11907 | echo "$as_me:11907: result: $ac_cv_have_clock_t" >&5 |
13598 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 | 11908 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6 |
13599 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 11909 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
13600 | cat >>confdefs.h <<\_ACEOF | 11910 | cat >>confdefs.h <<\EOF |
13601 | #define HAVE_CLOCK_T 1 | 11911 | #define HAVE_CLOCK_T 1 |
13602 | _ACEOF | 11912 | EOF |
13603 | 11913 | ||
13604 | fi | 11914 | fi |
13605 | 11915 | ||
13606 | echo "$as_me:$LINENO: checking for sa_family_t" >&5 | 11916 | echo "$as_me:11916: checking for sa_family_t" >&5 |
13607 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 | 11917 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 |
13608 | if test "${ac_cv_have_sa_family_t+set}" = set; then | 11918 | if test "${ac_cv_have_sa_family_t+set}" = set; then |
13609 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11919 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13610 | else | 11920 | else |
13611 | 11921 | ||
13612 | cat >conftest.$ac_ext <<_ACEOF | 11922 | cat >conftest.$ac_ext <<_ACEOF |
13613 | #line $LINENO "configure" | 11923 | #line 11923 "configure" |
13614 | /* confdefs.h. */ | 11924 | #include "confdefs.h" |
13615 | _ACEOF | ||
13616 | cat confdefs.h >>conftest.$ac_ext | ||
13617 | cat >>conftest.$ac_ext <<_ACEOF | ||
13618 | /* end confdefs.h. */ | ||
13619 | 11925 | ||
13620 | #include <sys/types.h> | 11926 | #include <sys/types.h> |
13621 | #include <sys/socket.h> | 11927 | #include <sys/socket.h> |
@@ -13629,29 +11935,24 @@ main () | |||
13629 | } | 11935 | } |
13630 | _ACEOF | 11936 | _ACEOF |
13631 | rm -f conftest.$ac_objext | 11937 | rm -f conftest.$ac_objext |
13632 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11938 | if { (eval echo "$as_me:11938: \"$ac_compile\"") >&5 |
13633 | (eval $ac_compile) 2>&5 | 11939 | (eval $ac_compile) 2>&5 |
13634 | ac_status=$? | 11940 | ac_status=$? |
13635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11941 | echo "$as_me:11941: \$? = $ac_status" >&5 |
13636 | (exit $ac_status); } && | 11942 | (exit $ac_status); } && |
13637 | { ac_try='test -s conftest.$ac_objext' | 11943 | { ac_try='test -s conftest.$ac_objext' |
13638 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11944 | { (eval echo "$as_me:11944: \"$ac_try\"") >&5 |
13639 | (eval $ac_try) 2>&5 | 11945 | (eval $ac_try) 2>&5 |
13640 | ac_status=$? | 11946 | ac_status=$? |
13641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11947 | echo "$as_me:11947: \$? = $ac_status" >&5 |
13642 | (exit $ac_status); }; }; then | 11948 | (exit $ac_status); }; }; then |
13643 | ac_cv_have_sa_family_t="yes" | 11949 | ac_cv_have_sa_family_t="yes" |
13644 | else | 11950 | else |
13645 | echo "$as_me: failed program was:" >&5 | 11951 | echo "$as_me: failed program was:" >&5 |
13646 | sed 's/^/| /' conftest.$ac_ext >&5 | 11952 | cat conftest.$ac_ext >&5 |
13647 | |||
13648 | cat >conftest.$ac_ext <<_ACEOF | 11953 | cat >conftest.$ac_ext <<_ACEOF |
13649 | #line $LINENO "configure" | 11954 | #line 11954 "configure" |
13650 | /* confdefs.h. */ | 11955 | #include "confdefs.h" |
13651 | _ACEOF | ||
13652 | cat confdefs.h >>conftest.$ac_ext | ||
13653 | cat >>conftest.$ac_ext <<_ACEOF | ||
13654 | /* end confdefs.h. */ | ||
13655 | 11956 | ||
13656 | #include <sys/types.h> | 11957 | #include <sys/types.h> |
13657 | #include <sys/socket.h> | 11958 | #include <sys/socket.h> |
@@ -13666,22 +11967,21 @@ main () | |||
13666 | } | 11967 | } |
13667 | _ACEOF | 11968 | _ACEOF |
13668 | rm -f conftest.$ac_objext | 11969 | rm -f conftest.$ac_objext |
13669 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 11970 | if { (eval echo "$as_me:11970: \"$ac_compile\"") >&5 |
13670 | (eval $ac_compile) 2>&5 | 11971 | (eval $ac_compile) 2>&5 |
13671 | ac_status=$? | 11972 | ac_status=$? |
13672 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11973 | echo "$as_me:11973: \$? = $ac_status" >&5 |
13673 | (exit $ac_status); } && | 11974 | (exit $ac_status); } && |
13674 | { ac_try='test -s conftest.$ac_objext' | 11975 | { ac_try='test -s conftest.$ac_objext' |
13675 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11976 | { (eval echo "$as_me:11976: \"$ac_try\"") >&5 |
13676 | (eval $ac_try) 2>&5 | 11977 | (eval $ac_try) 2>&5 |
13677 | ac_status=$? | 11978 | ac_status=$? |
13678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11979 | echo "$as_me:11979: \$? = $ac_status" >&5 |
13679 | (exit $ac_status); }; }; then | 11980 | (exit $ac_status); }; }; then |
13680 | ac_cv_have_sa_family_t="yes" | 11981 | ac_cv_have_sa_family_t="yes" |
13681 | else | 11982 | else |
13682 | echo "$as_me: failed program was:" >&5 | 11983 | echo "$as_me: failed program was:" >&5 |
13683 | sed 's/^/| /' conftest.$ac_ext >&5 | 11984 | cat conftest.$ac_ext >&5 |
13684 | |||
13685 | ac_cv_have_sa_family_t="no" | 11985 | ac_cv_have_sa_family_t="no" |
13686 | 11986 | ||
13687 | fi | 11987 | fi |
@@ -13691,28 +11991,24 @@ fi | |||
13691 | rm -f conftest.$ac_objext conftest.$ac_ext | 11991 | rm -f conftest.$ac_objext conftest.$ac_ext |
13692 | 11992 | ||
13693 | fi | 11993 | fi |
13694 | echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 | 11994 | echo "$as_me:11994: result: $ac_cv_have_sa_family_t" >&5 |
13695 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 | 11995 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 |
13696 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 11996 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
13697 | cat >>confdefs.h <<\_ACEOF | 11997 | cat >>confdefs.h <<\EOF |
13698 | #define HAVE_SA_FAMILY_T 1 | 11998 | #define HAVE_SA_FAMILY_T 1 |
13699 | _ACEOF | 11999 | EOF |
13700 | 12000 | ||
13701 | fi | 12001 | fi |
13702 | 12002 | ||
13703 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 12003 | echo "$as_me:12003: checking for pid_t" >&5 |
13704 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 12004 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 |
13705 | if test "${ac_cv_have_pid_t+set}" = set; then | 12005 | if test "${ac_cv_have_pid_t+set}" = set; then |
13706 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12006 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13707 | else | 12007 | else |
13708 | 12008 | ||
13709 | cat >conftest.$ac_ext <<_ACEOF | 12009 | cat >conftest.$ac_ext <<_ACEOF |
13710 | #line $LINENO "configure" | 12010 | #line 12010 "configure" |
13711 | /* confdefs.h. */ | 12011 | #include "confdefs.h" |
13712 | _ACEOF | ||
13713 | cat confdefs.h >>conftest.$ac_ext | ||
13714 | cat >>conftest.$ac_ext <<_ACEOF | ||
13715 | /* end confdefs.h. */ | ||
13716 | 12012 | ||
13717 | #include <sys/types.h> | 12013 | #include <sys/types.h> |
13718 | 12014 | ||
@@ -13725,50 +12021,45 @@ main () | |||
13725 | } | 12021 | } |
13726 | _ACEOF | 12022 | _ACEOF |
13727 | rm -f conftest.$ac_objext | 12023 | rm -f conftest.$ac_objext |
13728 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12024 | if { (eval echo "$as_me:12024: \"$ac_compile\"") >&5 |
13729 | (eval $ac_compile) 2>&5 | 12025 | (eval $ac_compile) 2>&5 |
13730 | ac_status=$? | 12026 | ac_status=$? |
13731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12027 | echo "$as_me:12027: \$? = $ac_status" >&5 |
13732 | (exit $ac_status); } && | 12028 | (exit $ac_status); } && |
13733 | { ac_try='test -s conftest.$ac_objext' | 12029 | { ac_try='test -s conftest.$ac_objext' |
13734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12030 | { (eval echo "$as_me:12030: \"$ac_try\"") >&5 |
13735 | (eval $ac_try) 2>&5 | 12031 | (eval $ac_try) 2>&5 |
13736 | ac_status=$? | 12032 | ac_status=$? |
13737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12033 | echo "$as_me:12033: \$? = $ac_status" >&5 |
13738 | (exit $ac_status); }; }; then | 12034 | (exit $ac_status); }; }; then |
13739 | ac_cv_have_pid_t="yes" | 12035 | ac_cv_have_pid_t="yes" |
13740 | else | 12036 | else |
13741 | echo "$as_me: failed program was:" >&5 | 12037 | echo "$as_me: failed program was:" >&5 |
13742 | sed 's/^/| /' conftest.$ac_ext >&5 | 12038 | cat conftest.$ac_ext >&5 |
13743 | |||
13744 | ac_cv_have_pid_t="no" | 12039 | ac_cv_have_pid_t="no" |
13745 | 12040 | ||
13746 | fi | 12041 | fi |
13747 | rm -f conftest.$ac_objext conftest.$ac_ext | 12042 | rm -f conftest.$ac_objext conftest.$ac_ext |
13748 | 12043 | ||
13749 | fi | 12044 | fi |
13750 | echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 | 12045 | echo "$as_me:12045: result: $ac_cv_have_pid_t" >&5 |
13751 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 | 12046 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6 |
13752 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 12047 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
13753 | cat >>confdefs.h <<\_ACEOF | 12048 | cat >>confdefs.h <<\EOF |
13754 | #define HAVE_PID_T 1 | 12049 | #define HAVE_PID_T 1 |
13755 | _ACEOF | 12050 | EOF |
13756 | 12051 | ||
13757 | fi | 12052 | fi |
13758 | 12053 | ||
13759 | echo "$as_me:$LINENO: checking for mode_t" >&5 | 12054 | echo "$as_me:12054: checking for mode_t" >&5 |
13760 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 | 12055 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 |
13761 | if test "${ac_cv_have_mode_t+set}" = set; then | 12056 | if test "${ac_cv_have_mode_t+set}" = set; then |
13762 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12057 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13763 | else | 12058 | else |
13764 | 12059 | ||
13765 | cat >conftest.$ac_ext <<_ACEOF | 12060 | cat >conftest.$ac_ext <<_ACEOF |
13766 | #line $LINENO "configure" | 12061 | #line 12061 "configure" |
13767 | /* confdefs.h. */ | 12062 | #include "confdefs.h" |
13768 | _ACEOF | ||
13769 | cat confdefs.h >>conftest.$ac_ext | ||
13770 | cat >>conftest.$ac_ext <<_ACEOF | ||
13771 | /* end confdefs.h. */ | ||
13772 | 12063 | ||
13773 | #include <sys/types.h> | 12064 | #include <sys/types.h> |
13774 | 12065 | ||
@@ -13781,51 +12072,45 @@ main () | |||
13781 | } | 12072 | } |
13782 | _ACEOF | 12073 | _ACEOF |
13783 | rm -f conftest.$ac_objext | 12074 | rm -f conftest.$ac_objext |
13784 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12075 | if { (eval echo "$as_me:12075: \"$ac_compile\"") >&5 |
13785 | (eval $ac_compile) 2>&5 | 12076 | (eval $ac_compile) 2>&5 |
13786 | ac_status=$? | 12077 | ac_status=$? |
13787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12078 | echo "$as_me:12078: \$? = $ac_status" >&5 |
13788 | (exit $ac_status); } && | 12079 | (exit $ac_status); } && |
13789 | { ac_try='test -s conftest.$ac_objext' | 12080 | { ac_try='test -s conftest.$ac_objext' |
13790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12081 | { (eval echo "$as_me:12081: \"$ac_try\"") >&5 |
13791 | (eval $ac_try) 2>&5 | 12082 | (eval $ac_try) 2>&5 |
13792 | ac_status=$? | 12083 | ac_status=$? |
13793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12084 | echo "$as_me:12084: \$? = $ac_status" >&5 |
13794 | (exit $ac_status); }; }; then | 12085 | (exit $ac_status); }; }; then |
13795 | ac_cv_have_mode_t="yes" | 12086 | ac_cv_have_mode_t="yes" |
13796 | else | 12087 | else |
13797 | echo "$as_me: failed program was:" >&5 | 12088 | echo "$as_me: failed program was:" >&5 |
13798 | sed 's/^/| /' conftest.$ac_ext >&5 | 12089 | cat conftest.$ac_ext >&5 |
13799 | |||
13800 | ac_cv_have_mode_t="no" | 12090 | ac_cv_have_mode_t="no" |
13801 | 12091 | ||
13802 | fi | 12092 | fi |
13803 | rm -f conftest.$ac_objext conftest.$ac_ext | 12093 | rm -f conftest.$ac_objext conftest.$ac_ext |
13804 | 12094 | ||
13805 | fi | 12095 | fi |
13806 | echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 | 12096 | echo "$as_me:12096: result: $ac_cv_have_mode_t" >&5 |
13807 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 | 12097 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6 |
13808 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 12098 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
13809 | cat >>confdefs.h <<\_ACEOF | 12099 | cat >>confdefs.h <<\EOF |
13810 | #define HAVE_MODE_T 1 | 12100 | #define HAVE_MODE_T 1 |
13811 | _ACEOF | 12101 | EOF |
13812 | 12102 | ||
13813 | fi | 12103 | fi |
13814 | 12104 | ||
13815 | 12105 | echo "$as_me:12105: checking for struct sockaddr_storage" >&5 | |
13816 | echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 | ||
13817 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 | 12106 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 |
13818 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | 12107 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then |
13819 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13820 | else | 12109 | else |
13821 | 12110 | ||
13822 | cat >conftest.$ac_ext <<_ACEOF | 12111 | cat >conftest.$ac_ext <<_ACEOF |
13823 | #line $LINENO "configure" | 12112 | #line 12112 "configure" |
13824 | /* confdefs.h. */ | 12113 | #include "confdefs.h" |
13825 | _ACEOF | ||
13826 | cat confdefs.h >>conftest.$ac_ext | ||
13827 | cat >>conftest.$ac_ext <<_ACEOF | ||
13828 | /* end confdefs.h. */ | ||
13829 | 12114 | ||
13830 | #include <sys/types.h> | 12115 | #include <sys/types.h> |
13831 | #include <sys/socket.h> | 12116 | #include <sys/socket.h> |
@@ -13839,50 +12124,45 @@ main () | |||
13839 | } | 12124 | } |
13840 | _ACEOF | 12125 | _ACEOF |
13841 | rm -f conftest.$ac_objext | 12126 | rm -f conftest.$ac_objext |
13842 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12127 | if { (eval echo "$as_me:12127: \"$ac_compile\"") >&5 |
13843 | (eval $ac_compile) 2>&5 | 12128 | (eval $ac_compile) 2>&5 |
13844 | ac_status=$? | 12129 | ac_status=$? |
13845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12130 | echo "$as_me:12130: \$? = $ac_status" >&5 |
13846 | (exit $ac_status); } && | 12131 | (exit $ac_status); } && |
13847 | { ac_try='test -s conftest.$ac_objext' | 12132 | { ac_try='test -s conftest.$ac_objext' |
13848 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12133 | { (eval echo "$as_me:12133: \"$ac_try\"") >&5 |
13849 | (eval $ac_try) 2>&5 | 12134 | (eval $ac_try) 2>&5 |
13850 | ac_status=$? | 12135 | ac_status=$? |
13851 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12136 | echo "$as_me:12136: \$? = $ac_status" >&5 |
13852 | (exit $ac_status); }; }; then | 12137 | (exit $ac_status); }; }; then |
13853 | ac_cv_have_struct_sockaddr_storage="yes" | 12138 | ac_cv_have_struct_sockaddr_storage="yes" |
13854 | else | 12139 | else |
13855 | echo "$as_me: failed program was:" >&5 | 12140 | echo "$as_me: failed program was:" >&5 |
13856 | sed 's/^/| /' conftest.$ac_ext >&5 | 12141 | cat conftest.$ac_ext >&5 |
13857 | |||
13858 | ac_cv_have_struct_sockaddr_storage="no" | 12142 | ac_cv_have_struct_sockaddr_storage="no" |
13859 | 12143 | ||
13860 | fi | 12144 | fi |
13861 | rm -f conftest.$ac_objext conftest.$ac_ext | 12145 | rm -f conftest.$ac_objext conftest.$ac_ext |
13862 | 12146 | ||
13863 | fi | 12147 | fi |
13864 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 | 12148 | echo "$as_me:12148: result: $ac_cv_have_struct_sockaddr_storage" >&5 |
13865 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 | 12149 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 |
13866 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 12150 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
13867 | cat >>confdefs.h <<\_ACEOF | 12151 | cat >>confdefs.h <<\EOF |
13868 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | 12152 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 |
13869 | _ACEOF | 12153 | EOF |
13870 | 12154 | ||
13871 | fi | 12155 | fi |
13872 | 12156 | ||
13873 | echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 | 12157 | echo "$as_me:12157: checking for struct sockaddr_in6" >&5 |
13874 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 | 12158 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 |
13875 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | 12159 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then |
13876 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12160 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13877 | else | 12161 | else |
13878 | 12162 | ||
13879 | cat >conftest.$ac_ext <<_ACEOF | 12163 | cat >conftest.$ac_ext <<_ACEOF |
13880 | #line $LINENO "configure" | 12164 | #line 12164 "configure" |
13881 | /* confdefs.h. */ | 12165 | #include "confdefs.h" |
13882 | _ACEOF | ||
13883 | cat confdefs.h >>conftest.$ac_ext | ||
13884 | cat >>conftest.$ac_ext <<_ACEOF | ||
13885 | /* end confdefs.h. */ | ||
13886 | 12166 | ||
13887 | #include <sys/types.h> | 12167 | #include <sys/types.h> |
13888 | #include <netinet/in.h> | 12168 | #include <netinet/in.h> |
@@ -13896,50 +12176,45 @@ main () | |||
13896 | } | 12176 | } |
13897 | _ACEOF | 12177 | _ACEOF |
13898 | rm -f conftest.$ac_objext | 12178 | rm -f conftest.$ac_objext |
13899 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12179 | if { (eval echo "$as_me:12179: \"$ac_compile\"") >&5 |
13900 | (eval $ac_compile) 2>&5 | 12180 | (eval $ac_compile) 2>&5 |
13901 | ac_status=$? | 12181 | ac_status=$? |
13902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12182 | echo "$as_me:12182: \$? = $ac_status" >&5 |
13903 | (exit $ac_status); } && | 12183 | (exit $ac_status); } && |
13904 | { ac_try='test -s conftest.$ac_objext' | 12184 | { ac_try='test -s conftest.$ac_objext' |
13905 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12185 | { (eval echo "$as_me:12185: \"$ac_try\"") >&5 |
13906 | (eval $ac_try) 2>&5 | 12186 | (eval $ac_try) 2>&5 |
13907 | ac_status=$? | 12187 | ac_status=$? |
13908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12188 | echo "$as_me:12188: \$? = $ac_status" >&5 |
13909 | (exit $ac_status); }; }; then | 12189 | (exit $ac_status); }; }; then |
13910 | ac_cv_have_struct_sockaddr_in6="yes" | 12190 | ac_cv_have_struct_sockaddr_in6="yes" |
13911 | else | 12191 | else |
13912 | echo "$as_me: failed program was:" >&5 | 12192 | echo "$as_me: failed program was:" >&5 |
13913 | sed 's/^/| /' conftest.$ac_ext >&5 | 12193 | cat conftest.$ac_ext >&5 |
13914 | |||
13915 | ac_cv_have_struct_sockaddr_in6="no" | 12194 | ac_cv_have_struct_sockaddr_in6="no" |
13916 | 12195 | ||
13917 | fi | 12196 | fi |
13918 | rm -f conftest.$ac_objext conftest.$ac_ext | 12197 | rm -f conftest.$ac_objext conftest.$ac_ext |
13919 | 12198 | ||
13920 | fi | 12199 | fi |
13921 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 | 12200 | echo "$as_me:12200: result: $ac_cv_have_struct_sockaddr_in6" >&5 |
13922 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 | 12201 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 |
13923 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 12202 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
13924 | cat >>confdefs.h <<\_ACEOF | 12203 | cat >>confdefs.h <<\EOF |
13925 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | 12204 | #define HAVE_STRUCT_SOCKADDR_IN6 1 |
13926 | _ACEOF | 12205 | EOF |
13927 | 12206 | ||
13928 | fi | 12207 | fi |
13929 | 12208 | ||
13930 | echo "$as_me:$LINENO: checking for struct in6_addr" >&5 | 12209 | echo "$as_me:12209: checking for struct in6_addr" >&5 |
13931 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 | 12210 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 |
13932 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | 12211 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then |
13933 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12212 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13934 | else | 12213 | else |
13935 | 12214 | ||
13936 | cat >conftest.$ac_ext <<_ACEOF | 12215 | cat >conftest.$ac_ext <<_ACEOF |
13937 | #line $LINENO "configure" | 12216 | #line 12216 "configure" |
13938 | /* confdefs.h. */ | 12217 | #include "confdefs.h" |
13939 | _ACEOF | ||
13940 | cat confdefs.h >>conftest.$ac_ext | ||
13941 | cat >>conftest.$ac_ext <<_ACEOF | ||
13942 | /* end confdefs.h. */ | ||
13943 | 12218 | ||
13944 | #include <sys/types.h> | 12219 | #include <sys/types.h> |
13945 | #include <netinet/in.h> | 12220 | #include <netinet/in.h> |
@@ -13953,50 +12228,45 @@ main () | |||
13953 | } | 12228 | } |
13954 | _ACEOF | 12229 | _ACEOF |
13955 | rm -f conftest.$ac_objext | 12230 | rm -f conftest.$ac_objext |
13956 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12231 | if { (eval echo "$as_me:12231: \"$ac_compile\"") >&5 |
13957 | (eval $ac_compile) 2>&5 | 12232 | (eval $ac_compile) 2>&5 |
13958 | ac_status=$? | 12233 | ac_status=$? |
13959 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12234 | echo "$as_me:12234: \$? = $ac_status" >&5 |
13960 | (exit $ac_status); } && | 12235 | (exit $ac_status); } && |
13961 | { ac_try='test -s conftest.$ac_objext' | 12236 | { ac_try='test -s conftest.$ac_objext' |
13962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12237 | { (eval echo "$as_me:12237: \"$ac_try\"") >&5 |
13963 | (eval $ac_try) 2>&5 | 12238 | (eval $ac_try) 2>&5 |
13964 | ac_status=$? | 12239 | ac_status=$? |
13965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12240 | echo "$as_me:12240: \$? = $ac_status" >&5 |
13966 | (exit $ac_status); }; }; then | 12241 | (exit $ac_status); }; }; then |
13967 | ac_cv_have_struct_in6_addr="yes" | 12242 | ac_cv_have_struct_in6_addr="yes" |
13968 | else | 12243 | else |
13969 | echo "$as_me: failed program was:" >&5 | 12244 | echo "$as_me: failed program was:" >&5 |
13970 | sed 's/^/| /' conftest.$ac_ext >&5 | 12245 | cat conftest.$ac_ext >&5 |
13971 | |||
13972 | ac_cv_have_struct_in6_addr="no" | 12246 | ac_cv_have_struct_in6_addr="no" |
13973 | 12247 | ||
13974 | fi | 12248 | fi |
13975 | rm -f conftest.$ac_objext conftest.$ac_ext | 12249 | rm -f conftest.$ac_objext conftest.$ac_ext |
13976 | 12250 | ||
13977 | fi | 12251 | fi |
13978 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 | 12252 | echo "$as_me:12252: result: $ac_cv_have_struct_in6_addr" >&5 |
13979 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 | 12253 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 |
13980 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 12254 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
13981 | cat >>confdefs.h <<\_ACEOF | 12255 | cat >>confdefs.h <<\EOF |
13982 | #define HAVE_STRUCT_IN6_ADDR 1 | 12256 | #define HAVE_STRUCT_IN6_ADDR 1 |
13983 | _ACEOF | 12257 | EOF |
13984 | 12258 | ||
13985 | fi | 12259 | fi |
13986 | 12260 | ||
13987 | echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | 12261 | echo "$as_me:12261: checking for struct addrinfo" >&5 |
13988 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 | 12262 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 |
13989 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | 12263 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then |
13990 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12264 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13991 | else | 12265 | else |
13992 | 12266 | ||
13993 | cat >conftest.$ac_ext <<_ACEOF | 12267 | cat >conftest.$ac_ext <<_ACEOF |
13994 | #line $LINENO "configure" | 12268 | #line 12268 "configure" |
13995 | /* confdefs.h. */ | 12269 | #include "confdefs.h" |
13996 | _ACEOF | ||
13997 | cat confdefs.h >>conftest.$ac_ext | ||
13998 | cat >>conftest.$ac_ext <<_ACEOF | ||
13999 | /* end confdefs.h. */ | ||
14000 | 12270 | ||
14001 | #include <sys/types.h> | 12271 | #include <sys/types.h> |
14002 | #include <sys/socket.h> | 12272 | #include <sys/socket.h> |
@@ -14011,50 +12281,45 @@ main () | |||
14011 | } | 12281 | } |
14012 | _ACEOF | 12282 | _ACEOF |
14013 | rm -f conftest.$ac_objext | 12283 | rm -f conftest.$ac_objext |
14014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12284 | if { (eval echo "$as_me:12284: \"$ac_compile\"") >&5 |
14015 | (eval $ac_compile) 2>&5 | 12285 | (eval $ac_compile) 2>&5 |
14016 | ac_status=$? | 12286 | ac_status=$? |
14017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12287 | echo "$as_me:12287: \$? = $ac_status" >&5 |
14018 | (exit $ac_status); } && | 12288 | (exit $ac_status); } && |
14019 | { ac_try='test -s conftest.$ac_objext' | 12289 | { ac_try='test -s conftest.$ac_objext' |
14020 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12290 | { (eval echo "$as_me:12290: \"$ac_try\"") >&5 |
14021 | (eval $ac_try) 2>&5 | 12291 | (eval $ac_try) 2>&5 |
14022 | ac_status=$? | 12292 | ac_status=$? |
14023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12293 | echo "$as_me:12293: \$? = $ac_status" >&5 |
14024 | (exit $ac_status); }; }; then | 12294 | (exit $ac_status); }; }; then |
14025 | ac_cv_have_struct_addrinfo="yes" | 12295 | ac_cv_have_struct_addrinfo="yes" |
14026 | else | 12296 | else |
14027 | echo "$as_me: failed program was:" >&5 | 12297 | echo "$as_me: failed program was:" >&5 |
14028 | sed 's/^/| /' conftest.$ac_ext >&5 | 12298 | cat conftest.$ac_ext >&5 |
14029 | |||
14030 | ac_cv_have_struct_addrinfo="no" | 12299 | ac_cv_have_struct_addrinfo="no" |
14031 | 12300 | ||
14032 | fi | 12301 | fi |
14033 | rm -f conftest.$ac_objext conftest.$ac_ext | 12302 | rm -f conftest.$ac_objext conftest.$ac_ext |
14034 | 12303 | ||
14035 | fi | 12304 | fi |
14036 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 | 12305 | echo "$as_me:12305: result: $ac_cv_have_struct_addrinfo" >&5 |
14037 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 | 12306 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 |
14038 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 12307 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
14039 | cat >>confdefs.h <<\_ACEOF | 12308 | cat >>confdefs.h <<\EOF |
14040 | #define HAVE_STRUCT_ADDRINFO 1 | 12309 | #define HAVE_STRUCT_ADDRINFO 1 |
14041 | _ACEOF | 12310 | EOF |
14042 | 12311 | ||
14043 | fi | 12312 | fi |
14044 | 12313 | ||
14045 | echo "$as_me:$LINENO: checking for struct timeval" >&5 | 12314 | echo "$as_me:12314: checking for struct timeval" >&5 |
14046 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 12315 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 |
14047 | if test "${ac_cv_have_struct_timeval+set}" = set; then | 12316 | if test "${ac_cv_have_struct_timeval+set}" = set; then |
14048 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12317 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14049 | else | 12318 | else |
14050 | 12319 | ||
14051 | cat >conftest.$ac_ext <<_ACEOF | 12320 | cat >conftest.$ac_ext <<_ACEOF |
14052 | #line $LINENO "configure" | 12321 | #line 12321 "configure" |
14053 | /* confdefs.h. */ | 12322 | #include "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> | 12323 | #include <sys/time.h> |
14059 | int | 12324 | int |
14060 | main () | 12325 | main () |
@@ -14065,50 +12330,45 @@ main () | |||
14065 | } | 12330 | } |
14066 | _ACEOF | 12331 | _ACEOF |
14067 | rm -f conftest.$ac_objext | 12332 | rm -f conftest.$ac_objext |
14068 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12333 | if { (eval echo "$as_me:12333: \"$ac_compile\"") >&5 |
14069 | (eval $ac_compile) 2>&5 | 12334 | (eval $ac_compile) 2>&5 |
14070 | ac_status=$? | 12335 | ac_status=$? |
14071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12336 | echo "$as_me:12336: \$? = $ac_status" >&5 |
14072 | (exit $ac_status); } && | 12337 | (exit $ac_status); } && |
14073 | { ac_try='test -s conftest.$ac_objext' | 12338 | { ac_try='test -s conftest.$ac_objext' |
14074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12339 | { (eval echo "$as_me:12339: \"$ac_try\"") >&5 |
14075 | (eval $ac_try) 2>&5 | 12340 | (eval $ac_try) 2>&5 |
14076 | ac_status=$? | 12341 | ac_status=$? |
14077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12342 | echo "$as_me:12342: \$? = $ac_status" >&5 |
14078 | (exit $ac_status); }; }; then | 12343 | (exit $ac_status); }; }; then |
14079 | ac_cv_have_struct_timeval="yes" | 12344 | ac_cv_have_struct_timeval="yes" |
14080 | else | 12345 | else |
14081 | echo "$as_me: failed program was:" >&5 | 12346 | echo "$as_me: failed program was:" >&5 |
14082 | sed 's/^/| /' conftest.$ac_ext >&5 | 12347 | cat conftest.$ac_ext >&5 |
14083 | |||
14084 | ac_cv_have_struct_timeval="no" | 12348 | ac_cv_have_struct_timeval="no" |
14085 | 12349 | ||
14086 | fi | 12350 | fi |
14087 | rm -f conftest.$ac_objext conftest.$ac_ext | 12351 | rm -f conftest.$ac_objext conftest.$ac_ext |
14088 | 12352 | ||
14089 | fi | 12353 | fi |
14090 | echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 | 12354 | echo "$as_me:12354: result: $ac_cv_have_struct_timeval" >&5 |
14091 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 | 12355 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 |
14092 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 12356 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
14093 | cat >>confdefs.h <<\_ACEOF | 12357 | cat >>confdefs.h <<\EOF |
14094 | #define HAVE_STRUCT_TIMEVAL 1 | 12358 | #define HAVE_STRUCT_TIMEVAL 1 |
14095 | _ACEOF | 12359 | EOF |
14096 | 12360 | ||
14097 | have_struct_timeval=1 | 12361 | have_struct_timeval=1 |
14098 | fi | 12362 | fi |
14099 | 12363 | ||
14100 | echo "$as_me:$LINENO: checking for struct timespec" >&5 | 12364 | echo "$as_me:12364: checking for struct timespec" >&5 |
14101 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 | 12365 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 |
14102 | if test "${ac_cv_type_struct_timespec+set}" = set; then | 12366 | if test "${ac_cv_type_struct_timespec+set}" = set; then |
14103 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12367 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14104 | else | 12368 | else |
14105 | cat >conftest.$ac_ext <<_ACEOF | 12369 | cat >conftest.$ac_ext <<_ACEOF |
14106 | #line $LINENO "configure" | 12370 | #line 12370 "configure" |
14107 | /* confdefs.h. */ | 12371 | #include "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 | 12372 | $ac_includes_default |
14113 | int | 12373 | int |
14114 | main () | 12374 | main () |
@@ -14122,38 +12382,35 @@ if (sizeof (struct timespec)) | |||
14122 | } | 12382 | } |
14123 | _ACEOF | 12383 | _ACEOF |
14124 | rm -f conftest.$ac_objext | 12384 | rm -f conftest.$ac_objext |
14125 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12385 | if { (eval echo "$as_me:12385: \"$ac_compile\"") >&5 |
14126 | (eval $ac_compile) 2>&5 | 12386 | (eval $ac_compile) 2>&5 |
14127 | ac_status=$? | 12387 | ac_status=$? |
14128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12388 | echo "$as_me:12388: \$? = $ac_status" >&5 |
14129 | (exit $ac_status); } && | 12389 | (exit $ac_status); } && |
14130 | { ac_try='test -s conftest.$ac_objext' | 12390 | { ac_try='test -s conftest.$ac_objext' |
14131 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12391 | { (eval echo "$as_me:12391: \"$ac_try\"") >&5 |
14132 | (eval $ac_try) 2>&5 | 12392 | (eval $ac_try) 2>&5 |
14133 | ac_status=$? | 12393 | ac_status=$? |
14134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12394 | echo "$as_me:12394: \$? = $ac_status" >&5 |
14135 | (exit $ac_status); }; }; then | 12395 | (exit $ac_status); }; }; then |
14136 | ac_cv_type_struct_timespec=yes | 12396 | ac_cv_type_struct_timespec=yes |
14137 | else | 12397 | else |
14138 | echo "$as_me: failed program was:" >&5 | 12398 | echo "$as_me: failed program was:" >&5 |
14139 | sed 's/^/| /' conftest.$ac_ext >&5 | 12399 | cat conftest.$ac_ext >&5 |
14140 | |||
14141 | ac_cv_type_struct_timespec=no | 12400 | ac_cv_type_struct_timespec=no |
14142 | fi | 12401 | fi |
14143 | rm -f conftest.$ac_objext conftest.$ac_ext | 12402 | rm -f conftest.$ac_objext conftest.$ac_ext |
14144 | fi | 12403 | fi |
14145 | echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 | 12404 | echo "$as_me:12404: result: $ac_cv_type_struct_timespec" >&5 |
14146 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 | 12405 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 |
14147 | if test $ac_cv_type_struct_timespec = yes; then | 12406 | if test $ac_cv_type_struct_timespec = yes; then |
14148 | 12407 | ||
14149 | cat >>confdefs.h <<_ACEOF | 12408 | cat >>confdefs.h <<EOF |
14150 | #define HAVE_STRUCT_TIMESPEC 1 | 12409 | #define HAVE_STRUCT_TIMESPEC 1 |
14151 | _ACEOF | 12410 | EOF |
14152 | |||
14153 | 12411 | ||
14154 | fi | 12412 | fi |
14155 | 12413 | ||
14156 | |||
14157 | # We need int64_t or else certian parts of the compile will fail. | 12414 | # We need int64_t or else certian parts of the compile will fail. |
14158 | if test "x$ac_cv_have_int64_t" = "xno" -a \ | 12415 | if test "x$ac_cv_have_int64_t" = "xno" -a \ |
14159 | "x$ac_cv_sizeof_long_int" != "x8" -a \ | 12416 | "x$ac_cv_sizeof_long_int" != "x8" -a \ |
@@ -14164,19 +12421,13 @@ if test "x$ac_cv_have_int64_t" = "xno" -a \ | |||
14164 | exit 1; | 12421 | exit 1; |
14165 | else | 12422 | else |
14166 | if test "$cross_compiling" = yes; then | 12423 | if test "$cross_compiling" = yes; then |
14167 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 12424 | { { echo "$as_me:12424: error: cannot run test program while cross compiling" >&5 |
14168 | See \`config.log' for more details." >&5 | 12425 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 12426 | { (exit 1); exit 1; }; } |
14172 | else | 12427 | else |
14173 | cat >conftest.$ac_ext <<_ACEOF | 12428 | cat >conftest.$ac_ext <<_ACEOF |
14174 | #line $LINENO "configure" | 12429 | #line 12429 "configure" |
14175 | /* confdefs.h. */ | 12430 | #include "confdefs.h" |
14176 | _ACEOF | ||
14177 | cat confdefs.h >>conftest.$ac_ext | ||
14178 | cat >>conftest.$ac_ext <<_ACEOF | ||
14179 | /* end confdefs.h. */ | ||
14180 | 12431 | ||
14181 | #include <stdio.h> | 12432 | #include <stdio.h> |
14182 | #include <string.h> | 12433 | #include <string.h> |
@@ -14203,55 +12454,47 @@ main() { exit(0); } | |||
14203 | 12454 | ||
14204 | _ACEOF | 12455 | _ACEOF |
14205 | rm -f conftest$ac_exeext | 12456 | rm -f conftest$ac_exeext |
14206 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12457 | if { (eval echo "$as_me:12457: \"$ac_link\"") >&5 |
14207 | (eval $ac_link) 2>&5 | 12458 | (eval $ac_link) 2>&5 |
14208 | ac_status=$? | 12459 | ac_status=$? |
14209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12460 | echo "$as_me:12460: \$? = $ac_status" >&5 |
14210 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 12461 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14211 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12462 | { (eval echo "$as_me:12462: \"$ac_try\"") >&5 |
14212 | (eval $ac_try) 2>&5 | 12463 | (eval $ac_try) 2>&5 |
14213 | ac_status=$? | 12464 | ac_status=$? |
14214 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12465 | echo "$as_me:12465: \$? = $ac_status" >&5 |
14215 | (exit $ac_status); }; }; then | 12466 | (exit $ac_status); }; }; then |
14216 | true | 12467 | true |
14217 | else | 12468 | else |
14218 | echo "$as_me: program exited with status $ac_status" >&5 | 12469 | echo "$as_me: program exited with status $ac_status" >&5 |
14219 | echo "$as_me: failed program was:" >&5 | 12470 | echo "$as_me: failed program was:" >&5 |
14220 | sed 's/^/| /' conftest.$ac_ext >&5 | 12471 | cat conftest.$ac_ext >&5 |
14221 | 12472 | cat >>confdefs.h <<\EOF | |
14222 | ( exit $ac_status ) | ||
14223 | cat >>confdefs.h <<\_ACEOF | ||
14224 | #define BROKEN_SNPRINTF 1 | 12473 | #define BROKEN_SNPRINTF 1 |
14225 | _ACEOF | 12474 | EOF |
14226 | |||
14227 | 12475 | ||
14228 | fi | 12476 | fi |
14229 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12477 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14230 | fi | 12478 | fi |
14231 | fi | 12479 | fi |
14232 | 12480 | ||
14233 | |||
14234 | # look for field 'ut_host' in header 'utmp.h' | 12481 | # look for field 'ut_host' in header 'utmp.h' |
14235 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12482 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14236 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 12483 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
14237 | echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 | 12484 | echo "$as_me:12484: checking for ut_host field in utmp.h" >&5 |
14238 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 | 12485 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 |
14239 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12486 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14240 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12487 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14241 | else | 12488 | else |
14242 | 12489 | ||
14243 | cat >conftest.$ac_ext <<_ACEOF | 12490 | cat >conftest.$ac_ext <<_ACEOF |
14244 | #line $LINENO "configure" | 12491 | #line 12491 "configure" |
14245 | /* confdefs.h. */ | 12492 | #include "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> | 12493 | #include <utmp.h> |
14251 | 12494 | ||
14252 | _ACEOF | 12495 | _ACEOF |
14253 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12496 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14254 | $EGREP "ut_host" >/dev/null 2>&1; then | 12497 | egrep "ut_host" >/dev/null 2>&1; then |
14255 | eval "$ossh_varname=yes" | 12498 | eval "$ossh_varname=yes" |
14256 | else | 12499 | else |
14257 | eval "$ossh_varname=no" | 12500 | eval "$ossh_varname=no" |
@@ -14262,41 +12505,36 @@ fi | |||
14262 | 12505 | ||
14263 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12506 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14264 | if test -n "`echo $ossh_varname`"; then | 12507 | if test -n "`echo $ossh_varname`"; then |
14265 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12508 | echo "$as_me:12508: result: $ossh_result" >&5 |
14266 | echo "${ECHO_T}$ossh_result" >&6 | 12509 | echo "${ECHO_T}$ossh_result" >&6 |
14267 | if test "x$ossh_result" = "xyes"; then | 12510 | if test "x$ossh_result" = "xyes"; then |
14268 | cat >>confdefs.h <<\_ACEOF | 12511 | cat >>confdefs.h <<\EOF |
14269 | #define HAVE_HOST_IN_UTMP 1 | 12512 | #define HAVE_HOST_IN_UTMP 1 |
14270 | _ACEOF | 12513 | EOF |
14271 | 12514 | ||
14272 | fi | 12515 | fi |
14273 | else | 12516 | else |
14274 | echo "$as_me:$LINENO: result: no" >&5 | 12517 | echo "$as_me:12517: result: no" >&5 |
14275 | echo "${ECHO_T}no" >&6 | 12518 | echo "${ECHO_T}no" >&6 |
14276 | fi | 12519 | fi |
14277 | 12520 | ||
14278 | |||
14279 | # look for field 'ut_host' in header 'utmpx.h' | 12521 | # look for field 'ut_host' in header 'utmpx.h' |
14280 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 12522 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14281 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 12523 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
14282 | echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 | 12524 | echo "$as_me:12524: checking for ut_host field in utmpx.h" >&5 |
14283 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 | 12525 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 |
14284 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12526 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12527 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14286 | else | 12528 | else |
14287 | 12529 | ||
14288 | cat >conftest.$ac_ext <<_ACEOF | 12530 | cat >conftest.$ac_ext <<_ACEOF |
14289 | #line $LINENO "configure" | 12531 | #line 12531 "configure" |
14290 | /* confdefs.h. */ | 12532 | #include "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> | 12533 | #include <utmpx.h> |
14296 | 12534 | ||
14297 | _ACEOF | 12535 | _ACEOF |
14298 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12536 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14299 | $EGREP "ut_host" >/dev/null 2>&1; then | 12537 | egrep "ut_host" >/dev/null 2>&1; then |
14300 | eval "$ossh_varname=yes" | 12538 | eval "$ossh_varname=yes" |
14301 | else | 12539 | else |
14302 | eval "$ossh_varname=no" | 12540 | eval "$ossh_varname=no" |
@@ -14307,41 +12545,36 @@ fi | |||
14307 | 12545 | ||
14308 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12546 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14309 | if test -n "`echo $ossh_varname`"; then | 12547 | if test -n "`echo $ossh_varname`"; then |
14310 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12548 | echo "$as_me:12548: result: $ossh_result" >&5 |
14311 | echo "${ECHO_T}$ossh_result" >&6 | 12549 | echo "${ECHO_T}$ossh_result" >&6 |
14312 | if test "x$ossh_result" = "xyes"; then | 12550 | if test "x$ossh_result" = "xyes"; then |
14313 | cat >>confdefs.h <<\_ACEOF | 12551 | cat >>confdefs.h <<\EOF |
14314 | #define HAVE_HOST_IN_UTMPX 1 | 12552 | #define HAVE_HOST_IN_UTMPX 1 |
14315 | _ACEOF | 12553 | EOF |
14316 | 12554 | ||
14317 | fi | 12555 | fi |
14318 | else | 12556 | else |
14319 | echo "$as_me:$LINENO: result: no" >&5 | 12557 | echo "$as_me:12557: result: no" >&5 |
14320 | echo "${ECHO_T}no" >&6 | 12558 | echo "${ECHO_T}no" >&6 |
14321 | fi | 12559 | fi |
14322 | 12560 | ||
14323 | |||
14324 | # look for field 'syslen' in header 'utmpx.h' | 12561 | # look for field 'syslen' in header 'utmpx.h' |
14325 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 12562 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14326 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | 12563 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen |
14327 | echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 | 12564 | echo "$as_me:12564: checking for syslen field in utmpx.h" >&5 |
14328 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 | 12565 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 |
14329 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12566 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14330 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12567 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14331 | else | 12568 | else |
14332 | 12569 | ||
14333 | cat >conftest.$ac_ext <<_ACEOF | 12570 | cat >conftest.$ac_ext <<_ACEOF |
14334 | #line $LINENO "configure" | 12571 | #line 12571 "configure" |
14335 | /* confdefs.h. */ | 12572 | #include "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> | 12573 | #include <utmpx.h> |
14341 | 12574 | ||
14342 | _ACEOF | 12575 | _ACEOF |
14343 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12576 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14344 | $EGREP "syslen" >/dev/null 2>&1; then | 12577 | egrep "syslen" >/dev/null 2>&1; then |
14345 | eval "$ossh_varname=yes" | 12578 | eval "$ossh_varname=yes" |
14346 | else | 12579 | else |
14347 | eval "$ossh_varname=no" | 12580 | eval "$ossh_varname=no" |
@@ -14352,41 +12585,36 @@ fi | |||
14352 | 12585 | ||
14353 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12586 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14354 | if test -n "`echo $ossh_varname`"; then | 12587 | if test -n "`echo $ossh_varname`"; then |
14355 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12588 | echo "$as_me:12588: result: $ossh_result" >&5 |
14356 | echo "${ECHO_T}$ossh_result" >&6 | 12589 | echo "${ECHO_T}$ossh_result" >&6 |
14357 | if test "x$ossh_result" = "xyes"; then | 12590 | if test "x$ossh_result" = "xyes"; then |
14358 | cat >>confdefs.h <<\_ACEOF | 12591 | cat >>confdefs.h <<\EOF |
14359 | #define HAVE_SYSLEN_IN_UTMPX 1 | 12592 | #define HAVE_SYSLEN_IN_UTMPX 1 |
14360 | _ACEOF | 12593 | EOF |
14361 | 12594 | ||
14362 | fi | 12595 | fi |
14363 | else | 12596 | else |
14364 | echo "$as_me:$LINENO: result: no" >&5 | 12597 | echo "$as_me:12597: result: no" >&5 |
14365 | echo "${ECHO_T}no" >&6 | 12598 | echo "${ECHO_T}no" >&6 |
14366 | fi | 12599 | fi |
14367 | 12600 | ||
14368 | |||
14369 | # look for field 'ut_pid' in header 'utmp.h' | 12601 | # look for field 'ut_pid' in header 'utmp.h' |
14370 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12602 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14371 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | 12603 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid |
14372 | echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 | 12604 | echo "$as_me:12604: checking for ut_pid field in utmp.h" >&5 |
14373 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 | 12605 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 |
14374 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12606 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14375 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12607 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14376 | else | 12608 | else |
14377 | 12609 | ||
14378 | cat >conftest.$ac_ext <<_ACEOF | 12610 | cat >conftest.$ac_ext <<_ACEOF |
14379 | #line $LINENO "configure" | 12611 | #line 12611 "configure" |
14380 | /* confdefs.h. */ | 12612 | #include "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> | 12613 | #include <utmp.h> |
14386 | 12614 | ||
14387 | _ACEOF | 12615 | _ACEOF |
14388 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12616 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14389 | $EGREP "ut_pid" >/dev/null 2>&1; then | 12617 | egrep "ut_pid" >/dev/null 2>&1; then |
14390 | eval "$ossh_varname=yes" | 12618 | eval "$ossh_varname=yes" |
14391 | else | 12619 | else |
14392 | eval "$ossh_varname=no" | 12620 | eval "$ossh_varname=no" |
@@ -14397,41 +12625,36 @@ fi | |||
14397 | 12625 | ||
14398 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12626 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14399 | if test -n "`echo $ossh_varname`"; then | 12627 | if test -n "`echo $ossh_varname`"; then |
14400 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12628 | echo "$as_me:12628: result: $ossh_result" >&5 |
14401 | echo "${ECHO_T}$ossh_result" >&6 | 12629 | echo "${ECHO_T}$ossh_result" >&6 |
14402 | if test "x$ossh_result" = "xyes"; then | 12630 | if test "x$ossh_result" = "xyes"; then |
14403 | cat >>confdefs.h <<\_ACEOF | 12631 | cat >>confdefs.h <<\EOF |
14404 | #define HAVE_PID_IN_UTMP 1 | 12632 | #define HAVE_PID_IN_UTMP 1 |
14405 | _ACEOF | 12633 | EOF |
14406 | 12634 | ||
14407 | fi | 12635 | fi |
14408 | else | 12636 | else |
14409 | echo "$as_me:$LINENO: result: no" >&5 | 12637 | echo "$as_me:12637: result: no" >&5 |
14410 | echo "${ECHO_T}no" >&6 | 12638 | echo "${ECHO_T}no" >&6 |
14411 | fi | 12639 | fi |
14412 | 12640 | ||
14413 | |||
14414 | # look for field 'ut_type' in header 'utmp.h' | 12641 | # look for field 'ut_type' in header 'utmp.h' |
14415 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12642 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14416 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 12643 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
14417 | echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 | 12644 | echo "$as_me:12644: checking for ut_type field in utmp.h" >&5 |
14418 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 | 12645 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 |
14419 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12646 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14420 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12647 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14421 | else | 12648 | else |
14422 | 12649 | ||
14423 | cat >conftest.$ac_ext <<_ACEOF | 12650 | cat >conftest.$ac_ext <<_ACEOF |
14424 | #line $LINENO "configure" | 12651 | #line 12651 "configure" |
14425 | /* confdefs.h. */ | 12652 | #include "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> | 12653 | #include <utmp.h> |
14431 | 12654 | ||
14432 | _ACEOF | 12655 | _ACEOF |
14433 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12656 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14434 | $EGREP "ut_type" >/dev/null 2>&1; then | 12657 | egrep "ut_type" >/dev/null 2>&1; then |
14435 | eval "$ossh_varname=yes" | 12658 | eval "$ossh_varname=yes" |
14436 | else | 12659 | else |
14437 | eval "$ossh_varname=no" | 12660 | eval "$ossh_varname=no" |
@@ -14442,41 +12665,36 @@ fi | |||
14442 | 12665 | ||
14443 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12666 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14444 | if test -n "`echo $ossh_varname`"; then | 12667 | if test -n "`echo $ossh_varname`"; then |
14445 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12668 | echo "$as_me:12668: result: $ossh_result" >&5 |
14446 | echo "${ECHO_T}$ossh_result" >&6 | 12669 | echo "${ECHO_T}$ossh_result" >&6 |
14447 | if test "x$ossh_result" = "xyes"; then | 12670 | if test "x$ossh_result" = "xyes"; then |
14448 | cat >>confdefs.h <<\_ACEOF | 12671 | cat >>confdefs.h <<\EOF |
14449 | #define HAVE_TYPE_IN_UTMP 1 | 12672 | #define HAVE_TYPE_IN_UTMP 1 |
14450 | _ACEOF | 12673 | EOF |
14451 | 12674 | ||
14452 | fi | 12675 | fi |
14453 | else | 12676 | else |
14454 | echo "$as_me:$LINENO: result: no" >&5 | 12677 | echo "$as_me:12677: result: no" >&5 |
14455 | echo "${ECHO_T}no" >&6 | 12678 | echo "${ECHO_T}no" >&6 |
14456 | fi | 12679 | fi |
14457 | 12680 | ||
14458 | |||
14459 | # look for field 'ut_type' in header 'utmpx.h' | 12681 | # look for field 'ut_type' in header 'utmpx.h' |
14460 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 12682 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14461 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 12683 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
14462 | echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 | 12684 | echo "$as_me:12684: checking for ut_type field in utmpx.h" >&5 |
14463 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 | 12685 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 |
14464 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12686 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12687 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14466 | else | 12688 | else |
14467 | 12689 | ||
14468 | cat >conftest.$ac_ext <<_ACEOF | 12690 | cat >conftest.$ac_ext <<_ACEOF |
14469 | #line $LINENO "configure" | 12691 | #line 12691 "configure" |
14470 | /* confdefs.h. */ | 12692 | #include "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> | 12693 | #include <utmpx.h> |
14476 | 12694 | ||
14477 | _ACEOF | 12695 | _ACEOF |
14478 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12696 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14479 | $EGREP "ut_type" >/dev/null 2>&1; then | 12697 | egrep "ut_type" >/dev/null 2>&1; then |
14480 | eval "$ossh_varname=yes" | 12698 | eval "$ossh_varname=yes" |
14481 | else | 12699 | else |
14482 | eval "$ossh_varname=no" | 12700 | eval "$ossh_varname=no" |
@@ -14487,41 +12705,36 @@ fi | |||
14487 | 12705 | ||
14488 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12706 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14489 | if test -n "`echo $ossh_varname`"; then | 12707 | if test -n "`echo $ossh_varname`"; then |
14490 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12708 | echo "$as_me:12708: result: $ossh_result" >&5 |
14491 | echo "${ECHO_T}$ossh_result" >&6 | 12709 | echo "${ECHO_T}$ossh_result" >&6 |
14492 | if test "x$ossh_result" = "xyes"; then | 12710 | if test "x$ossh_result" = "xyes"; then |
14493 | cat >>confdefs.h <<\_ACEOF | 12711 | cat >>confdefs.h <<\EOF |
14494 | #define HAVE_TYPE_IN_UTMPX 1 | 12712 | #define HAVE_TYPE_IN_UTMPX 1 |
14495 | _ACEOF | 12713 | EOF |
14496 | 12714 | ||
14497 | fi | 12715 | fi |
14498 | else | 12716 | else |
14499 | echo "$as_me:$LINENO: result: no" >&5 | 12717 | echo "$as_me:12717: result: no" >&5 |
14500 | echo "${ECHO_T}no" >&6 | 12718 | echo "${ECHO_T}no" >&6 |
14501 | fi | 12719 | fi |
14502 | 12720 | ||
14503 | |||
14504 | # look for field 'ut_tv' in header 'utmp.h' | 12721 | # look for field 'ut_tv' in header 'utmp.h' |
14505 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12722 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14506 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 12723 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
14507 | echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 | 12724 | echo "$as_me:12724: checking for ut_tv field in utmp.h" >&5 |
14508 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 | 12725 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 |
14509 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12726 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14510 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12727 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14511 | else | 12728 | else |
14512 | 12729 | ||
14513 | cat >conftest.$ac_ext <<_ACEOF | 12730 | cat >conftest.$ac_ext <<_ACEOF |
14514 | #line $LINENO "configure" | 12731 | #line 12731 "configure" |
14515 | /* confdefs.h. */ | 12732 | #include "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> | 12733 | #include <utmp.h> |
14521 | 12734 | ||
14522 | _ACEOF | 12735 | _ACEOF |
14523 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12736 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14524 | $EGREP "ut_tv" >/dev/null 2>&1; then | 12737 | egrep "ut_tv" >/dev/null 2>&1; then |
14525 | eval "$ossh_varname=yes" | 12738 | eval "$ossh_varname=yes" |
14526 | else | 12739 | else |
14527 | eval "$ossh_varname=no" | 12740 | eval "$ossh_varname=no" |
@@ -14532,41 +12745,36 @@ fi | |||
14532 | 12745 | ||
14533 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12746 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14534 | if test -n "`echo $ossh_varname`"; then | 12747 | if test -n "`echo $ossh_varname`"; then |
14535 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12748 | echo "$as_me:12748: result: $ossh_result" >&5 |
14536 | echo "${ECHO_T}$ossh_result" >&6 | 12749 | echo "${ECHO_T}$ossh_result" >&6 |
14537 | if test "x$ossh_result" = "xyes"; then | 12750 | if test "x$ossh_result" = "xyes"; then |
14538 | cat >>confdefs.h <<\_ACEOF | 12751 | cat >>confdefs.h <<\EOF |
14539 | #define HAVE_TV_IN_UTMP 1 | 12752 | #define HAVE_TV_IN_UTMP 1 |
14540 | _ACEOF | 12753 | EOF |
14541 | 12754 | ||
14542 | fi | 12755 | fi |
14543 | else | 12756 | else |
14544 | echo "$as_me:$LINENO: result: no" >&5 | 12757 | echo "$as_me:12757: result: no" >&5 |
14545 | echo "${ECHO_T}no" >&6 | 12758 | echo "${ECHO_T}no" >&6 |
14546 | fi | 12759 | fi |
14547 | 12760 | ||
14548 | |||
14549 | # look for field 'ut_id' in header 'utmp.h' | 12761 | # look for field 'ut_id' in header 'utmp.h' |
14550 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12762 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14551 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 12763 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
14552 | echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 | 12764 | echo "$as_me:12764: checking for ut_id field in utmp.h" >&5 |
14553 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 | 12765 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 |
14554 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12766 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14555 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12767 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14556 | else | 12768 | else |
14557 | 12769 | ||
14558 | cat >conftest.$ac_ext <<_ACEOF | 12770 | cat >conftest.$ac_ext <<_ACEOF |
14559 | #line $LINENO "configure" | 12771 | #line 12771 "configure" |
14560 | /* confdefs.h. */ | 12772 | #include "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> | 12773 | #include <utmp.h> |
14566 | 12774 | ||
14567 | _ACEOF | 12775 | _ACEOF |
14568 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12776 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14569 | $EGREP "ut_id" >/dev/null 2>&1; then | 12777 | egrep "ut_id" >/dev/null 2>&1; then |
14570 | eval "$ossh_varname=yes" | 12778 | eval "$ossh_varname=yes" |
14571 | else | 12779 | else |
14572 | eval "$ossh_varname=no" | 12780 | eval "$ossh_varname=no" |
@@ -14577,41 +12785,36 @@ fi | |||
14577 | 12785 | ||
14578 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12786 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14579 | if test -n "`echo $ossh_varname`"; then | 12787 | if test -n "`echo $ossh_varname`"; then |
14580 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12788 | echo "$as_me:12788: result: $ossh_result" >&5 |
14581 | echo "${ECHO_T}$ossh_result" >&6 | 12789 | echo "${ECHO_T}$ossh_result" >&6 |
14582 | if test "x$ossh_result" = "xyes"; then | 12790 | if test "x$ossh_result" = "xyes"; then |
14583 | cat >>confdefs.h <<\_ACEOF | 12791 | cat >>confdefs.h <<\EOF |
14584 | #define HAVE_ID_IN_UTMP 1 | 12792 | #define HAVE_ID_IN_UTMP 1 |
14585 | _ACEOF | 12793 | EOF |
14586 | 12794 | ||
14587 | fi | 12795 | fi |
14588 | else | 12796 | else |
14589 | echo "$as_me:$LINENO: result: no" >&5 | 12797 | echo "$as_me:12797: result: no" >&5 |
14590 | echo "${ECHO_T}no" >&6 | 12798 | echo "${ECHO_T}no" >&6 |
14591 | fi | 12799 | fi |
14592 | 12800 | ||
14593 | |||
14594 | # look for field 'ut_id' in header 'utmpx.h' | 12801 | # look for field 'ut_id' in header 'utmpx.h' |
14595 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 12802 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14596 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 12803 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
14597 | echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 | 12804 | echo "$as_me:12804: checking for ut_id field in utmpx.h" >&5 |
14598 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 | 12805 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 |
14599 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12806 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12807 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14601 | else | 12808 | else |
14602 | 12809 | ||
14603 | cat >conftest.$ac_ext <<_ACEOF | 12810 | cat >conftest.$ac_ext <<_ACEOF |
14604 | #line $LINENO "configure" | 12811 | #line 12811 "configure" |
14605 | /* confdefs.h. */ | 12812 | #include "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> | 12813 | #include <utmpx.h> |
14611 | 12814 | ||
14612 | _ACEOF | 12815 | _ACEOF |
14613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12816 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14614 | $EGREP "ut_id" >/dev/null 2>&1; then | 12817 | egrep "ut_id" >/dev/null 2>&1; then |
14615 | eval "$ossh_varname=yes" | 12818 | eval "$ossh_varname=yes" |
14616 | else | 12819 | else |
14617 | eval "$ossh_varname=no" | 12820 | eval "$ossh_varname=no" |
@@ -14622,41 +12825,36 @@ fi | |||
14622 | 12825 | ||
14623 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12826 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14624 | if test -n "`echo $ossh_varname`"; then | 12827 | if test -n "`echo $ossh_varname`"; then |
14625 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12828 | echo "$as_me:12828: result: $ossh_result" >&5 |
14626 | echo "${ECHO_T}$ossh_result" >&6 | 12829 | echo "${ECHO_T}$ossh_result" >&6 |
14627 | if test "x$ossh_result" = "xyes"; then | 12830 | if test "x$ossh_result" = "xyes"; then |
14628 | cat >>confdefs.h <<\_ACEOF | 12831 | cat >>confdefs.h <<\EOF |
14629 | #define HAVE_ID_IN_UTMPX 1 | 12832 | #define HAVE_ID_IN_UTMPX 1 |
14630 | _ACEOF | 12833 | EOF |
14631 | 12834 | ||
14632 | fi | 12835 | fi |
14633 | else | 12836 | else |
14634 | echo "$as_me:$LINENO: result: no" >&5 | 12837 | echo "$as_me:12837: result: no" >&5 |
14635 | echo "${ECHO_T}no" >&6 | 12838 | echo "${ECHO_T}no" >&6 |
14636 | fi | 12839 | fi |
14637 | 12840 | ||
14638 | |||
14639 | # look for field 'ut_addr' in header 'utmp.h' | 12841 | # look for field 'ut_addr' in header 'utmp.h' |
14640 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12842 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14641 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 12843 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
14642 | echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 | 12844 | echo "$as_me:12844: checking for ut_addr field in utmp.h" >&5 |
14643 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 | 12845 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 |
14644 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12846 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12847 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14646 | else | 12848 | else |
14647 | 12849 | ||
14648 | cat >conftest.$ac_ext <<_ACEOF | 12850 | cat >conftest.$ac_ext <<_ACEOF |
14649 | #line $LINENO "configure" | 12851 | #line 12851 "configure" |
14650 | /* confdefs.h. */ | 12852 | #include "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> | 12853 | #include <utmp.h> |
14656 | 12854 | ||
14657 | _ACEOF | 12855 | _ACEOF |
14658 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12856 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14659 | $EGREP "ut_addr" >/dev/null 2>&1; then | 12857 | egrep "ut_addr" >/dev/null 2>&1; then |
14660 | eval "$ossh_varname=yes" | 12858 | eval "$ossh_varname=yes" |
14661 | else | 12859 | else |
14662 | eval "$ossh_varname=no" | 12860 | eval "$ossh_varname=no" |
@@ -14667,41 +12865,36 @@ fi | |||
14667 | 12865 | ||
14668 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12866 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14669 | if test -n "`echo $ossh_varname`"; then | 12867 | if test -n "`echo $ossh_varname`"; then |
14670 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12868 | echo "$as_me:12868: result: $ossh_result" >&5 |
14671 | echo "${ECHO_T}$ossh_result" >&6 | 12869 | echo "${ECHO_T}$ossh_result" >&6 |
14672 | if test "x$ossh_result" = "xyes"; then | 12870 | if test "x$ossh_result" = "xyes"; then |
14673 | cat >>confdefs.h <<\_ACEOF | 12871 | cat >>confdefs.h <<\EOF |
14674 | #define HAVE_ADDR_IN_UTMP 1 | 12872 | #define HAVE_ADDR_IN_UTMP 1 |
14675 | _ACEOF | 12873 | EOF |
14676 | 12874 | ||
14677 | fi | 12875 | fi |
14678 | else | 12876 | else |
14679 | echo "$as_me:$LINENO: result: no" >&5 | 12877 | echo "$as_me:12877: result: no" >&5 |
14680 | echo "${ECHO_T}no" >&6 | 12878 | echo "${ECHO_T}no" >&6 |
14681 | fi | 12879 | fi |
14682 | 12880 | ||
14683 | |||
14684 | # look for field 'ut_addr' in header 'utmpx.h' | 12881 | # look for field 'ut_addr' in header 'utmpx.h' |
14685 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 12882 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14686 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 12883 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
14687 | echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 | 12884 | echo "$as_me:12884: checking for ut_addr field in utmpx.h" >&5 |
14688 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 | 12885 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 |
14689 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12886 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14690 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12887 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14691 | else | 12888 | else |
14692 | 12889 | ||
14693 | cat >conftest.$ac_ext <<_ACEOF | 12890 | cat >conftest.$ac_ext <<_ACEOF |
14694 | #line $LINENO "configure" | 12891 | #line 12891 "configure" |
14695 | /* confdefs.h. */ | 12892 | #include "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> | 12893 | #include <utmpx.h> |
14701 | 12894 | ||
14702 | _ACEOF | 12895 | _ACEOF |
14703 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12896 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14704 | $EGREP "ut_addr" >/dev/null 2>&1; then | 12897 | egrep "ut_addr" >/dev/null 2>&1; then |
14705 | eval "$ossh_varname=yes" | 12898 | eval "$ossh_varname=yes" |
14706 | else | 12899 | else |
14707 | eval "$ossh_varname=no" | 12900 | eval "$ossh_varname=no" |
@@ -14712,41 +12905,36 @@ fi | |||
14712 | 12905 | ||
14713 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12906 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14714 | if test -n "`echo $ossh_varname`"; then | 12907 | if test -n "`echo $ossh_varname`"; then |
14715 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12908 | echo "$as_me:12908: result: $ossh_result" >&5 |
14716 | echo "${ECHO_T}$ossh_result" >&6 | 12909 | echo "${ECHO_T}$ossh_result" >&6 |
14717 | if test "x$ossh_result" = "xyes"; then | 12910 | if test "x$ossh_result" = "xyes"; then |
14718 | cat >>confdefs.h <<\_ACEOF | 12911 | cat >>confdefs.h <<\EOF |
14719 | #define HAVE_ADDR_IN_UTMPX 1 | 12912 | #define HAVE_ADDR_IN_UTMPX 1 |
14720 | _ACEOF | 12913 | EOF |
14721 | 12914 | ||
14722 | fi | 12915 | fi |
14723 | else | 12916 | else |
14724 | echo "$as_me:$LINENO: result: no" >&5 | 12917 | echo "$as_me:12917: result: no" >&5 |
14725 | echo "${ECHO_T}no" >&6 | 12918 | echo "${ECHO_T}no" >&6 |
14726 | fi | 12919 | fi |
14727 | 12920 | ||
14728 | |||
14729 | # look for field 'ut_addr_v6' in header 'utmp.h' | 12921 | # look for field 'ut_addr_v6' in header 'utmp.h' |
14730 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 12922 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14731 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 12923 | 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 | 12924 | echo "$as_me:12924: 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 | 12925 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 |
14734 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12926 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14735 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14736 | else | 12928 | else |
14737 | 12929 | ||
14738 | cat >conftest.$ac_ext <<_ACEOF | 12930 | cat >conftest.$ac_ext <<_ACEOF |
14739 | #line $LINENO "configure" | 12931 | #line 12931 "configure" |
14740 | /* confdefs.h. */ | 12932 | #include "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> | 12933 | #include <utmp.h> |
14746 | 12934 | ||
14747 | _ACEOF | 12935 | _ACEOF |
14748 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12936 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14749 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then | 12937 | egrep "ut_addr_v6" >/dev/null 2>&1; then |
14750 | eval "$ossh_varname=yes" | 12938 | eval "$ossh_varname=yes" |
14751 | else | 12939 | else |
14752 | eval "$ossh_varname=no" | 12940 | eval "$ossh_varname=no" |
@@ -14757,41 +12945,36 @@ fi | |||
14757 | 12945 | ||
14758 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12946 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14759 | if test -n "`echo $ossh_varname`"; then | 12947 | if test -n "`echo $ossh_varname`"; then |
14760 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12948 | echo "$as_me:12948: result: $ossh_result" >&5 |
14761 | echo "${ECHO_T}$ossh_result" >&6 | 12949 | echo "${ECHO_T}$ossh_result" >&6 |
14762 | if test "x$ossh_result" = "xyes"; then | 12950 | if test "x$ossh_result" = "xyes"; then |
14763 | cat >>confdefs.h <<\_ACEOF | 12951 | cat >>confdefs.h <<\EOF |
14764 | #define HAVE_ADDR_V6_IN_UTMP 1 | 12952 | #define HAVE_ADDR_V6_IN_UTMP 1 |
14765 | _ACEOF | 12953 | EOF |
14766 | 12954 | ||
14767 | fi | 12955 | fi |
14768 | else | 12956 | else |
14769 | echo "$as_me:$LINENO: result: no" >&5 | 12957 | echo "$as_me:12957: result: no" >&5 |
14770 | echo "${ECHO_T}no" >&6 | 12958 | echo "${ECHO_T}no" >&6 |
14771 | fi | 12959 | fi |
14772 | 12960 | ||
14773 | |||
14774 | # look for field 'ut_addr_v6' in header 'utmpx.h' | 12961 | # look for field 'ut_addr_v6' in header 'utmpx.h' |
14775 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 12962 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14776 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 12963 | 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 | 12964 | echo "$as_me:12964: 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 | 12965 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 |
14779 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 12966 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14780 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14781 | else | 12968 | else |
14782 | 12969 | ||
14783 | cat >conftest.$ac_ext <<_ACEOF | 12970 | cat >conftest.$ac_ext <<_ACEOF |
14784 | #line $LINENO "configure" | 12971 | #line 12971 "configure" |
14785 | /* confdefs.h. */ | 12972 | #include "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> | 12973 | #include <utmpx.h> |
14791 | 12974 | ||
14792 | _ACEOF | 12975 | _ACEOF |
14793 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12976 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14794 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then | 12977 | egrep "ut_addr_v6" >/dev/null 2>&1; then |
14795 | eval "$ossh_varname=yes" | 12978 | eval "$ossh_varname=yes" |
14796 | else | 12979 | else |
14797 | eval "$ossh_varname=no" | 12980 | eval "$ossh_varname=no" |
@@ -14802,41 +12985,36 @@ fi | |||
14802 | 12985 | ||
14803 | ossh_result=`eval 'echo $'"$ossh_varname"` | 12986 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14804 | if test -n "`echo $ossh_varname`"; then | 12987 | if test -n "`echo $ossh_varname`"; then |
14805 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 12988 | echo "$as_me:12988: result: $ossh_result" >&5 |
14806 | echo "${ECHO_T}$ossh_result" >&6 | 12989 | echo "${ECHO_T}$ossh_result" >&6 |
14807 | if test "x$ossh_result" = "xyes"; then | 12990 | if test "x$ossh_result" = "xyes"; then |
14808 | cat >>confdefs.h <<\_ACEOF | 12991 | cat >>confdefs.h <<\EOF |
14809 | #define HAVE_ADDR_V6_IN_UTMPX 1 | 12992 | #define HAVE_ADDR_V6_IN_UTMPX 1 |
14810 | _ACEOF | 12993 | EOF |
14811 | 12994 | ||
14812 | fi | 12995 | fi |
14813 | else | 12996 | else |
14814 | echo "$as_me:$LINENO: result: no" >&5 | 12997 | echo "$as_me:12997: result: no" >&5 |
14815 | echo "${ECHO_T}no" >&6 | 12998 | echo "${ECHO_T}no" >&6 |
14816 | fi | 12999 | fi |
14817 | 13000 | ||
14818 | |||
14819 | # look for field 'ut_exit' in header 'utmp.h' | 13001 | # look for field 'ut_exit' in header 'utmp.h' |
14820 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13002 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14821 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | 13003 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit |
14822 | echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 | 13004 | echo "$as_me:13004: checking for ut_exit field in utmp.h" >&5 |
14823 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 | 13005 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 |
14824 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13006 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14825 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13007 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14826 | else | 13008 | else |
14827 | 13009 | ||
14828 | cat >conftest.$ac_ext <<_ACEOF | 13010 | cat >conftest.$ac_ext <<_ACEOF |
14829 | #line $LINENO "configure" | 13011 | #line 13011 "configure" |
14830 | /* confdefs.h. */ | 13012 | #include "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> | 13013 | #include <utmp.h> |
14836 | 13014 | ||
14837 | _ACEOF | 13015 | _ACEOF |
14838 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13016 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14839 | $EGREP "ut_exit" >/dev/null 2>&1; then | 13017 | egrep "ut_exit" >/dev/null 2>&1; then |
14840 | eval "$ossh_varname=yes" | 13018 | eval "$ossh_varname=yes" |
14841 | else | 13019 | else |
14842 | eval "$ossh_varname=no" | 13020 | eval "$ossh_varname=no" |
@@ -14847,41 +13025,36 @@ fi | |||
14847 | 13025 | ||
14848 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13026 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14849 | if test -n "`echo $ossh_varname`"; then | 13027 | if test -n "`echo $ossh_varname`"; then |
14850 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 13028 | echo "$as_me:13028: result: $ossh_result" >&5 |
14851 | echo "${ECHO_T}$ossh_result" >&6 | 13029 | echo "${ECHO_T}$ossh_result" >&6 |
14852 | if test "x$ossh_result" = "xyes"; then | 13030 | if test "x$ossh_result" = "xyes"; then |
14853 | cat >>confdefs.h <<\_ACEOF | 13031 | cat >>confdefs.h <<\EOF |
14854 | #define HAVE_EXIT_IN_UTMP 1 | 13032 | #define HAVE_EXIT_IN_UTMP 1 |
14855 | _ACEOF | 13033 | EOF |
14856 | 13034 | ||
14857 | fi | 13035 | fi |
14858 | else | 13036 | else |
14859 | echo "$as_me:$LINENO: result: no" >&5 | 13037 | echo "$as_me:13037: result: no" >&5 |
14860 | echo "${ECHO_T}no" >&6 | 13038 | echo "${ECHO_T}no" >&6 |
14861 | fi | 13039 | fi |
14862 | 13040 | ||
14863 | |||
14864 | # look for field 'ut_time' in header 'utmp.h' | 13041 | # look for field 'ut_time' in header 'utmp.h' |
14865 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 13042 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14866 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 13043 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
14867 | echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 | 13044 | echo "$as_me:13044: checking for ut_time field in utmp.h" >&5 |
14868 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 | 13045 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 |
14869 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13046 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14870 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13047 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14871 | else | 13048 | else |
14872 | 13049 | ||
14873 | cat >conftest.$ac_ext <<_ACEOF | 13050 | cat >conftest.$ac_ext <<_ACEOF |
14874 | #line $LINENO "configure" | 13051 | #line 13051 "configure" |
14875 | /* confdefs.h. */ | 13052 | #include "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> | 13053 | #include <utmp.h> |
14881 | 13054 | ||
14882 | _ACEOF | 13055 | _ACEOF |
14883 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13056 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14884 | $EGREP "ut_time" >/dev/null 2>&1; then | 13057 | egrep "ut_time" >/dev/null 2>&1; then |
14885 | eval "$ossh_varname=yes" | 13058 | eval "$ossh_varname=yes" |
14886 | else | 13059 | else |
14887 | eval "$ossh_varname=no" | 13060 | eval "$ossh_varname=no" |
@@ -14892,41 +13065,36 @@ fi | |||
14892 | 13065 | ||
14893 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13066 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14894 | if test -n "`echo $ossh_varname`"; then | 13067 | if test -n "`echo $ossh_varname`"; then |
14895 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 13068 | echo "$as_me:13068: result: $ossh_result" >&5 |
14896 | echo "${ECHO_T}$ossh_result" >&6 | 13069 | echo "${ECHO_T}$ossh_result" >&6 |
14897 | if test "x$ossh_result" = "xyes"; then | 13070 | if test "x$ossh_result" = "xyes"; then |
14898 | cat >>confdefs.h <<\_ACEOF | 13071 | cat >>confdefs.h <<\EOF |
14899 | #define HAVE_TIME_IN_UTMP 1 | 13072 | #define HAVE_TIME_IN_UTMP 1 |
14900 | _ACEOF | 13073 | EOF |
14901 | 13074 | ||
14902 | fi | 13075 | fi |
14903 | else | 13076 | else |
14904 | echo "$as_me:$LINENO: result: no" >&5 | 13077 | echo "$as_me:13077: result: no" >&5 |
14905 | echo "${ECHO_T}no" >&6 | 13078 | echo "${ECHO_T}no" >&6 |
14906 | fi | 13079 | fi |
14907 | 13080 | ||
14908 | |||
14909 | # look for field 'ut_time' in header 'utmpx.h' | 13081 | # look for field 'ut_time' in header 'utmpx.h' |
14910 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13082 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14911 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 13083 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
14912 | echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 | 13084 | echo "$as_me:13084: checking for ut_time field in utmpx.h" >&5 |
14913 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 | 13085 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 |
14914 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13086 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14915 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14916 | else | 13088 | else |
14917 | 13089 | ||
14918 | cat >conftest.$ac_ext <<_ACEOF | 13090 | cat >conftest.$ac_ext <<_ACEOF |
14919 | #line $LINENO "configure" | 13091 | #line 13091 "configure" |
14920 | /* confdefs.h. */ | 13092 | #include "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> | 13093 | #include <utmpx.h> |
14926 | 13094 | ||
14927 | _ACEOF | 13095 | _ACEOF |
14928 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13096 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14929 | $EGREP "ut_time" >/dev/null 2>&1; then | 13097 | egrep "ut_time" >/dev/null 2>&1; then |
14930 | eval "$ossh_varname=yes" | 13098 | eval "$ossh_varname=yes" |
14931 | else | 13099 | else |
14932 | eval "$ossh_varname=no" | 13100 | eval "$ossh_varname=no" |
@@ -14937,41 +13105,36 @@ fi | |||
14937 | 13105 | ||
14938 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13106 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14939 | if test -n "`echo $ossh_varname`"; then | 13107 | if test -n "`echo $ossh_varname`"; then |
14940 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 13108 | echo "$as_me:13108: result: $ossh_result" >&5 |
14941 | echo "${ECHO_T}$ossh_result" >&6 | 13109 | echo "${ECHO_T}$ossh_result" >&6 |
14942 | if test "x$ossh_result" = "xyes"; then | 13110 | if test "x$ossh_result" = "xyes"; then |
14943 | cat >>confdefs.h <<\_ACEOF | 13111 | cat >>confdefs.h <<\EOF |
14944 | #define HAVE_TIME_IN_UTMPX 1 | 13112 | #define HAVE_TIME_IN_UTMPX 1 |
14945 | _ACEOF | 13113 | EOF |
14946 | 13114 | ||
14947 | fi | 13115 | fi |
14948 | else | 13116 | else |
14949 | echo "$as_me:$LINENO: result: no" >&5 | 13117 | echo "$as_me:13117: result: no" >&5 |
14950 | echo "${ECHO_T}no" >&6 | 13118 | echo "${ECHO_T}no" >&6 |
14951 | fi | 13119 | fi |
14952 | 13120 | ||
14953 | |||
14954 | # look for field 'ut_tv' in header 'utmpx.h' | 13121 | # look for field 'ut_tv' in header 'utmpx.h' |
14955 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 13122 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14956 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 13123 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
14957 | echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 | 13124 | echo "$as_me:13124: checking for ut_tv field in utmpx.h" >&5 |
14958 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 | 13125 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 |
14959 | if eval "test \"\${$ossh_varname+set}\" = set"; then | 13126 | if eval "test \"\${$ossh_varname+set}\" = set"; then |
14960 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14961 | else | 13128 | else |
14962 | 13129 | ||
14963 | cat >conftest.$ac_ext <<_ACEOF | 13130 | cat >conftest.$ac_ext <<_ACEOF |
14964 | #line $LINENO "configure" | 13131 | #line 13131 "configure" |
14965 | /* confdefs.h. */ | 13132 | #include "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> | 13133 | #include <utmpx.h> |
14971 | 13134 | ||
14972 | _ACEOF | 13135 | _ACEOF |
14973 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13136 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14974 | $EGREP "ut_tv" >/dev/null 2>&1; then | 13137 | egrep "ut_tv" >/dev/null 2>&1; then |
14975 | eval "$ossh_varname=yes" | 13138 | eval "$ossh_varname=yes" |
14976 | else | 13139 | else |
14977 | eval "$ossh_varname=no" | 13140 | eval "$ossh_varname=no" |
@@ -14982,32 +13145,27 @@ fi | |||
14982 | 13145 | ||
14983 | ossh_result=`eval 'echo $'"$ossh_varname"` | 13146 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14984 | if test -n "`echo $ossh_varname`"; then | 13147 | if test -n "`echo $ossh_varname`"; then |
14985 | echo "$as_me:$LINENO: result: $ossh_result" >&5 | 13148 | echo "$as_me:13148: result: $ossh_result" >&5 |
14986 | echo "${ECHO_T}$ossh_result" >&6 | 13149 | echo "${ECHO_T}$ossh_result" >&6 |
14987 | if test "x$ossh_result" = "xyes"; then | 13150 | if test "x$ossh_result" = "xyes"; then |
14988 | cat >>confdefs.h <<\_ACEOF | 13151 | cat >>confdefs.h <<\EOF |
14989 | #define HAVE_TV_IN_UTMPX 1 | 13152 | #define HAVE_TV_IN_UTMPX 1 |
14990 | _ACEOF | 13153 | EOF |
14991 | 13154 | ||
14992 | fi | 13155 | fi |
14993 | else | 13156 | else |
14994 | echo "$as_me:$LINENO: result: no" >&5 | 13157 | echo "$as_me:13157: result: no" >&5 |
14995 | echo "${ECHO_T}no" >&6 | 13158 | echo "${ECHO_T}no" >&6 |
14996 | fi | 13159 | fi |
14997 | 13160 | ||
14998 | 13161 | echo "$as_me:13161: checking for struct stat.st_blksize" >&5 | |
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 | 13162 | 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 | 13163 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then |
15002 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15003 | else | 13165 | else |
15004 | cat >conftest.$ac_ext <<_ACEOF | 13166 | cat >conftest.$ac_ext <<_ACEOF |
15005 | #line $LINENO "configure" | 13167 | #line 13167 "configure" |
15006 | /* confdefs.h. */ | 13168 | #include "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 | 13169 | $ac_includes_default |
15012 | int | 13170 | int |
15013 | main () | 13171 | main () |
@@ -15020,88 +13178,44 @@ return 0; | |||
15020 | } | 13178 | } |
15021 | _ACEOF | 13179 | _ACEOF |
15022 | rm -f conftest.$ac_objext | 13180 | rm -f conftest.$ac_objext |
15023 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13181 | if { (eval echo "$as_me:13181: \"$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 | 13182 | (eval $ac_compile) 2>&5 |
15060 | ac_status=$? | 13183 | ac_status=$? |
15061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13184 | echo "$as_me:13184: \$? = $ac_status" >&5 |
15062 | (exit $ac_status); } && | 13185 | (exit $ac_status); } && |
15063 | { ac_try='test -s conftest.$ac_objext' | 13186 | { ac_try='test -s conftest.$ac_objext' |
15064 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13187 | { (eval echo "$as_me:13187: \"$ac_try\"") >&5 |
15065 | (eval $ac_try) 2>&5 | 13188 | (eval $ac_try) 2>&5 |
15066 | ac_status=$? | 13189 | ac_status=$? |
15067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13190 | echo "$as_me:13190: \$? = $ac_status" >&5 |
15068 | (exit $ac_status); }; }; then | 13191 | (exit $ac_status); }; }; then |
15069 | ac_cv_member_struct_stat_st_blksize=yes | 13192 | ac_cv_member_struct_stat_st_blksize=yes |
15070 | else | 13193 | else |
15071 | echo "$as_me: failed program was:" >&5 | 13194 | echo "$as_me: failed program was:" >&5 |
15072 | sed 's/^/| /' conftest.$ac_ext >&5 | 13195 | cat conftest.$ac_ext >&5 |
15073 | |||
15074 | ac_cv_member_struct_stat_st_blksize=no | 13196 | ac_cv_member_struct_stat_st_blksize=no |
15075 | fi | 13197 | fi |
15076 | rm -f conftest.$ac_objext conftest.$ac_ext | 13198 | rm -f conftest.$ac_objext conftest.$ac_ext |
15077 | fi | 13199 | fi |
15078 | rm -f conftest.$ac_objext conftest.$ac_ext | 13200 | echo "$as_me:13200: result: $ac_cv_member_struct_stat_st_blksize" >&5 |
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 | 13201 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 |
15082 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | 13202 | if test $ac_cv_member_struct_stat_st_blksize = yes; then |
15083 | 13203 | ||
15084 | cat >>confdefs.h <<_ACEOF | 13204 | cat >>confdefs.h <<EOF |
15085 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | 13205 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 |
15086 | _ACEOF | 13206 | EOF |
15087 | |||
15088 | 13207 | ||
15089 | fi | 13208 | fi |
15090 | 13209 | ||
15091 | 13210 | echo "$as_me:13210: checking for ss_family field in struct sockaddr_storage" >&5 | |
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 | 13211 | 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 | 13212 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then |
15095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13213 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15096 | else | 13214 | else |
15097 | 13215 | ||
15098 | cat >conftest.$ac_ext <<_ACEOF | 13216 | cat >conftest.$ac_ext <<_ACEOF |
15099 | #line $LINENO "configure" | 13217 | #line 13217 "configure" |
15100 | /* confdefs.h. */ | 13218 | #include "confdefs.h" |
15101 | _ACEOF | ||
15102 | cat confdefs.h >>conftest.$ac_ext | ||
15103 | cat >>conftest.$ac_ext <<_ACEOF | ||
15104 | /* end confdefs.h. */ | ||
15105 | 13219 | ||
15106 | #include <sys/types.h> | 13220 | #include <sys/types.h> |
15107 | #include <sys/socket.h> | 13221 | #include <sys/socket.h> |
@@ -15115,49 +13229,44 @@ main () | |||
15115 | } | 13229 | } |
15116 | _ACEOF | 13230 | _ACEOF |
15117 | rm -f conftest.$ac_objext | 13231 | rm -f conftest.$ac_objext |
15118 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13232 | if { (eval echo "$as_me:13232: \"$ac_compile\"") >&5 |
15119 | (eval $ac_compile) 2>&5 | 13233 | (eval $ac_compile) 2>&5 |
15120 | ac_status=$? | 13234 | ac_status=$? |
15121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13235 | echo "$as_me:13235: \$? = $ac_status" >&5 |
15122 | (exit $ac_status); } && | 13236 | (exit $ac_status); } && |
15123 | { ac_try='test -s conftest.$ac_objext' | 13237 | { ac_try='test -s conftest.$ac_objext' |
15124 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13238 | { (eval echo "$as_me:13238: \"$ac_try\"") >&5 |
15125 | (eval $ac_try) 2>&5 | 13239 | (eval $ac_try) 2>&5 |
15126 | ac_status=$? | 13240 | ac_status=$? |
15127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13241 | echo "$as_me:13241: \$? = $ac_status" >&5 |
15128 | (exit $ac_status); }; }; then | 13242 | (exit $ac_status); }; }; then |
15129 | ac_cv_have_ss_family_in_struct_ss="yes" | 13243 | ac_cv_have_ss_family_in_struct_ss="yes" |
15130 | else | 13244 | else |
15131 | echo "$as_me: failed program was:" >&5 | 13245 | echo "$as_me: failed program was:" >&5 |
15132 | sed 's/^/| /' conftest.$ac_ext >&5 | 13246 | cat conftest.$ac_ext >&5 |
15133 | |||
15134 | ac_cv_have_ss_family_in_struct_ss="no" | 13247 | ac_cv_have_ss_family_in_struct_ss="no" |
15135 | fi | 13248 | fi |
15136 | rm -f conftest.$ac_objext conftest.$ac_ext | 13249 | rm -f conftest.$ac_objext conftest.$ac_ext |
15137 | 13250 | ||
15138 | fi | 13251 | fi |
15139 | echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | 13252 | echo "$as_me:13252: result: $ac_cv_have_ss_family_in_struct_ss" >&5 |
15140 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 | 13253 | 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 | 13254 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
15142 | cat >>confdefs.h <<\_ACEOF | 13255 | cat >>confdefs.h <<\EOF |
15143 | #define HAVE_SS_FAMILY_IN_SS 1 | 13256 | #define HAVE_SS_FAMILY_IN_SS 1 |
15144 | _ACEOF | 13257 | EOF |
15145 | 13258 | ||
15146 | fi | 13259 | fi |
15147 | 13260 | ||
15148 | echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 | 13261 | echo "$as_me:13261: 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 | 13262 | 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 | 13263 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then |
15151 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13264 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15152 | else | 13265 | else |
15153 | 13266 | ||
15154 | cat >conftest.$ac_ext <<_ACEOF | 13267 | cat >conftest.$ac_ext <<_ACEOF |
15155 | #line $LINENO "configure" | 13268 | #line 13268 "configure" |
15156 | /* confdefs.h. */ | 13269 | #include "confdefs.h" |
15157 | _ACEOF | ||
15158 | cat confdefs.h >>conftest.$ac_ext | ||
15159 | cat >>conftest.$ac_ext <<_ACEOF | ||
15160 | /* end confdefs.h. */ | ||
15161 | 13270 | ||
15162 | #include <sys/types.h> | 13271 | #include <sys/types.h> |
15163 | #include <sys/socket.h> | 13272 | #include <sys/socket.h> |
@@ -15171,50 +13280,45 @@ main () | |||
15171 | } | 13280 | } |
15172 | _ACEOF | 13281 | _ACEOF |
15173 | rm -f conftest.$ac_objext | 13282 | rm -f conftest.$ac_objext |
15174 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13283 | if { (eval echo "$as_me:13283: \"$ac_compile\"") >&5 |
15175 | (eval $ac_compile) 2>&5 | 13284 | (eval $ac_compile) 2>&5 |
15176 | ac_status=$? | 13285 | ac_status=$? |
15177 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13286 | echo "$as_me:13286: \$? = $ac_status" >&5 |
15178 | (exit $ac_status); } && | 13287 | (exit $ac_status); } && |
15179 | { ac_try='test -s conftest.$ac_objext' | 13288 | { ac_try='test -s conftest.$ac_objext' |
15180 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13289 | { (eval echo "$as_me:13289: \"$ac_try\"") >&5 |
15181 | (eval $ac_try) 2>&5 | 13290 | (eval $ac_try) 2>&5 |
15182 | ac_status=$? | 13291 | ac_status=$? |
15183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13292 | echo "$as_me:13292: \$? = $ac_status" >&5 |
15184 | (exit $ac_status); }; }; then | 13293 | (exit $ac_status); }; }; then |
15185 | ac_cv_have___ss_family_in_struct_ss="yes" | 13294 | ac_cv_have___ss_family_in_struct_ss="yes" |
15186 | else | 13295 | else |
15187 | echo "$as_me: failed program was:" >&5 | 13296 | echo "$as_me: failed program was:" >&5 |
15188 | sed 's/^/| /' conftest.$ac_ext >&5 | 13297 | cat conftest.$ac_ext >&5 |
15189 | |||
15190 | ac_cv_have___ss_family_in_struct_ss="no" | 13298 | ac_cv_have___ss_family_in_struct_ss="no" |
15191 | 13299 | ||
15192 | fi | 13300 | fi |
15193 | rm -f conftest.$ac_objext conftest.$ac_ext | 13301 | rm -f conftest.$ac_objext conftest.$ac_ext |
15194 | 13302 | ||
15195 | fi | 13303 | fi |
15196 | echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | 13304 | echo "$as_me:13304: result: $ac_cv_have___ss_family_in_struct_ss" >&5 |
15197 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 | 13305 | 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 | 13306 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
15199 | cat >>confdefs.h <<\_ACEOF | 13307 | cat >>confdefs.h <<\EOF |
15200 | #define HAVE___SS_FAMILY_IN_SS 1 | 13308 | #define HAVE___SS_FAMILY_IN_SS 1 |
15201 | _ACEOF | 13309 | EOF |
15202 | 13310 | ||
15203 | fi | 13311 | fi |
15204 | 13312 | ||
15205 | echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 | 13313 | echo "$as_me:13313: checking for pw_class field in struct passwd" >&5 |
15206 | echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 | 13314 | 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 | 13315 | if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then |
15208 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13316 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15209 | else | 13317 | else |
15210 | 13318 | ||
15211 | cat >conftest.$ac_ext <<_ACEOF | 13319 | cat >conftest.$ac_ext <<_ACEOF |
15212 | #line $LINENO "configure" | 13320 | #line 13320 "configure" |
15213 | /* confdefs.h. */ | 13321 | #include "confdefs.h" |
15214 | _ACEOF | ||
15215 | cat confdefs.h >>conftest.$ac_ext | ||
15216 | cat >>conftest.$ac_ext <<_ACEOF | ||
15217 | /* end confdefs.h. */ | ||
15218 | 13322 | ||
15219 | #include <pwd.h> | 13323 | #include <pwd.h> |
15220 | 13324 | ||
@@ -15227,50 +13331,45 @@ main () | |||
15227 | } | 13331 | } |
15228 | _ACEOF | 13332 | _ACEOF |
15229 | rm -f conftest.$ac_objext | 13333 | rm -f conftest.$ac_objext |
15230 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13334 | if { (eval echo "$as_me:13334: \"$ac_compile\"") >&5 |
15231 | (eval $ac_compile) 2>&5 | 13335 | (eval $ac_compile) 2>&5 |
15232 | ac_status=$? | 13336 | ac_status=$? |
15233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13337 | echo "$as_me:13337: \$? = $ac_status" >&5 |
15234 | (exit $ac_status); } && | 13338 | (exit $ac_status); } && |
15235 | { ac_try='test -s conftest.$ac_objext' | 13339 | { ac_try='test -s conftest.$ac_objext' |
15236 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13340 | { (eval echo "$as_me:13340: \"$ac_try\"") >&5 |
15237 | (eval $ac_try) 2>&5 | 13341 | (eval $ac_try) 2>&5 |
15238 | ac_status=$? | 13342 | ac_status=$? |
15239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13343 | echo "$as_me:13343: \$? = $ac_status" >&5 |
15240 | (exit $ac_status); }; }; then | 13344 | (exit $ac_status); }; }; then |
15241 | ac_cv_have_pw_class_in_struct_passwd="yes" | 13345 | ac_cv_have_pw_class_in_struct_passwd="yes" |
15242 | else | 13346 | else |
15243 | echo "$as_me: failed program was:" >&5 | 13347 | echo "$as_me: failed program was:" >&5 |
15244 | sed 's/^/| /' conftest.$ac_ext >&5 | 13348 | cat conftest.$ac_ext >&5 |
15245 | |||
15246 | ac_cv_have_pw_class_in_struct_passwd="no" | 13349 | ac_cv_have_pw_class_in_struct_passwd="no" |
15247 | 13350 | ||
15248 | fi | 13351 | fi |
15249 | rm -f conftest.$ac_objext conftest.$ac_ext | 13352 | rm -f conftest.$ac_objext conftest.$ac_ext |
15250 | 13353 | ||
15251 | fi | 13354 | fi |
15252 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 | 13355 | echo "$as_me:13355: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 |
15253 | echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 | 13356 | 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 | 13357 | if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then |
15255 | cat >>confdefs.h <<\_ACEOF | 13358 | cat >>confdefs.h <<\EOF |
15256 | #define HAVE_PW_CLASS_IN_PASSWD 1 | 13359 | #define HAVE_PW_CLASS_IN_PASSWD 1 |
15257 | _ACEOF | 13360 | EOF |
15258 | 13361 | ||
15259 | fi | 13362 | fi |
15260 | 13363 | ||
15261 | echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 | 13364 | echo "$as_me:13364: checking for pw_expire field in struct passwd" >&5 |
15262 | echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 | 13365 | 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 | 13366 | if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then |
15264 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13367 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15265 | else | 13368 | else |
15266 | 13369 | ||
15267 | cat >conftest.$ac_ext <<_ACEOF | 13370 | cat >conftest.$ac_ext <<_ACEOF |
15268 | #line $LINENO "configure" | 13371 | #line 13371 "configure" |
15269 | /* confdefs.h. */ | 13372 | #include "confdefs.h" |
15270 | _ACEOF | ||
15271 | cat confdefs.h >>conftest.$ac_ext | ||
15272 | cat >>conftest.$ac_ext <<_ACEOF | ||
15273 | /* end confdefs.h. */ | ||
15274 | 13373 | ||
15275 | #include <pwd.h> | 13374 | #include <pwd.h> |
15276 | 13375 | ||
@@ -15283,50 +13382,45 @@ main () | |||
15283 | } | 13382 | } |
15284 | _ACEOF | 13383 | _ACEOF |
15285 | rm -f conftest.$ac_objext | 13384 | rm -f conftest.$ac_objext |
15286 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13385 | if { (eval echo "$as_me:13385: \"$ac_compile\"") >&5 |
15287 | (eval $ac_compile) 2>&5 | 13386 | (eval $ac_compile) 2>&5 |
15288 | ac_status=$? | 13387 | ac_status=$? |
15289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13388 | echo "$as_me:13388: \$? = $ac_status" >&5 |
15290 | (exit $ac_status); } && | 13389 | (exit $ac_status); } && |
15291 | { ac_try='test -s conftest.$ac_objext' | 13390 | { ac_try='test -s conftest.$ac_objext' |
15292 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13391 | { (eval echo "$as_me:13391: \"$ac_try\"") >&5 |
15293 | (eval $ac_try) 2>&5 | 13392 | (eval $ac_try) 2>&5 |
15294 | ac_status=$? | 13393 | ac_status=$? |
15295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13394 | echo "$as_me:13394: \$? = $ac_status" >&5 |
15296 | (exit $ac_status); }; }; then | 13395 | (exit $ac_status); }; }; then |
15297 | ac_cv_have_pw_expire_in_struct_passwd="yes" | 13396 | ac_cv_have_pw_expire_in_struct_passwd="yes" |
15298 | else | 13397 | else |
15299 | echo "$as_me: failed program was:" >&5 | 13398 | echo "$as_me: failed program was:" >&5 |
15300 | sed 's/^/| /' conftest.$ac_ext >&5 | 13399 | cat conftest.$ac_ext >&5 |
15301 | |||
15302 | ac_cv_have_pw_expire_in_struct_passwd="no" | 13400 | ac_cv_have_pw_expire_in_struct_passwd="no" |
15303 | 13401 | ||
15304 | fi | 13402 | fi |
15305 | rm -f conftest.$ac_objext conftest.$ac_ext | 13403 | rm -f conftest.$ac_objext conftest.$ac_ext |
15306 | 13404 | ||
15307 | fi | 13405 | fi |
15308 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 | 13406 | echo "$as_me:13406: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 |
15309 | echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 | 13407 | 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 | 13408 | if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then |
15311 | cat >>confdefs.h <<\_ACEOF | 13409 | cat >>confdefs.h <<\EOF |
15312 | #define HAVE_PW_EXPIRE_IN_PASSWD 1 | 13410 | #define HAVE_PW_EXPIRE_IN_PASSWD 1 |
15313 | _ACEOF | 13411 | EOF |
15314 | 13412 | ||
15315 | fi | 13413 | fi |
15316 | 13414 | ||
15317 | echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 | 13415 | echo "$as_me:13415: checking for pw_change field in struct passwd" >&5 |
15318 | echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 | 13416 | 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 | 13417 | if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then |
15320 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13418 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15321 | else | 13419 | else |
15322 | 13420 | ||
15323 | cat >conftest.$ac_ext <<_ACEOF | 13421 | cat >conftest.$ac_ext <<_ACEOF |
15324 | #line $LINENO "configure" | 13422 | #line 13422 "configure" |
15325 | /* confdefs.h. */ | 13423 | #include "confdefs.h" |
15326 | _ACEOF | ||
15327 | cat confdefs.h >>conftest.$ac_ext | ||
15328 | cat >>conftest.$ac_ext <<_ACEOF | ||
15329 | /* end confdefs.h. */ | ||
15330 | 13424 | ||
15331 | #include <pwd.h> | 13425 | #include <pwd.h> |
15332 | 13426 | ||
@@ -15339,57 +13433,50 @@ main () | |||
15339 | } | 13433 | } |
15340 | _ACEOF | 13434 | _ACEOF |
15341 | rm -f conftest.$ac_objext | 13435 | rm -f conftest.$ac_objext |
15342 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13436 | if { (eval echo "$as_me:13436: \"$ac_compile\"") >&5 |
15343 | (eval $ac_compile) 2>&5 | 13437 | (eval $ac_compile) 2>&5 |
15344 | ac_status=$? | 13438 | ac_status=$? |
15345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13439 | echo "$as_me:13439: \$? = $ac_status" >&5 |
15346 | (exit $ac_status); } && | 13440 | (exit $ac_status); } && |
15347 | { ac_try='test -s conftest.$ac_objext' | 13441 | { ac_try='test -s conftest.$ac_objext' |
15348 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13442 | { (eval echo "$as_me:13442: \"$ac_try\"") >&5 |
15349 | (eval $ac_try) 2>&5 | 13443 | (eval $ac_try) 2>&5 |
15350 | ac_status=$? | 13444 | ac_status=$? |
15351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13445 | echo "$as_me:13445: \$? = $ac_status" >&5 |
15352 | (exit $ac_status); }; }; then | 13446 | (exit $ac_status); }; }; then |
15353 | ac_cv_have_pw_change_in_struct_passwd="yes" | 13447 | ac_cv_have_pw_change_in_struct_passwd="yes" |
15354 | else | 13448 | else |
15355 | echo "$as_me: failed program was:" >&5 | 13449 | echo "$as_me: failed program was:" >&5 |
15356 | sed 's/^/| /' conftest.$ac_ext >&5 | 13450 | cat conftest.$ac_ext >&5 |
15357 | |||
15358 | ac_cv_have_pw_change_in_struct_passwd="no" | 13451 | ac_cv_have_pw_change_in_struct_passwd="no" |
15359 | 13452 | ||
15360 | fi | 13453 | fi |
15361 | rm -f conftest.$ac_objext conftest.$ac_ext | 13454 | rm -f conftest.$ac_objext conftest.$ac_ext |
15362 | 13455 | ||
15363 | fi | 13456 | fi |
15364 | echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 | 13457 | echo "$as_me:13457: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 |
15365 | echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 | 13458 | 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 | 13459 | if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then |
15367 | cat >>confdefs.h <<\_ACEOF | 13460 | cat >>confdefs.h <<\EOF |
15368 | #define HAVE_PW_CHANGE_IN_PASSWD 1 | 13461 | #define HAVE_PW_CHANGE_IN_PASSWD 1 |
15369 | _ACEOF | 13462 | EOF |
15370 | 13463 | ||
15371 | fi | 13464 | fi |
15372 | 13465 | ||
15373 | echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 | 13466 | echo "$as_me:13466: checking for msg_accrights field in struct msghdr" >&5 |
15374 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 | 13467 | 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 | 13468 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then |
15376 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13469 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15377 | else | 13470 | else |
15378 | 13471 | ||
15379 | if test "$cross_compiling" = yes; then | 13472 | if test "$cross_compiling" = yes; then |
15380 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 13473 | { { echo "$as_me:13473: error: cannot run test program while cross compiling" >&5 |
15381 | See \`config.log' for more details." >&5 | 13474 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 13475 | { (exit 1); exit 1; }; } |
15385 | else | 13476 | else |
15386 | cat >conftest.$ac_ext <<_ACEOF | 13477 | cat >conftest.$ac_ext <<_ACEOF |
15387 | #line $LINENO "configure" | 13478 | #line 13478 "configure" |
15388 | /* confdefs.h. */ | 13479 | #include "confdefs.h" |
15389 | _ACEOF | ||
15390 | cat confdefs.h >>conftest.$ac_ext | ||
15391 | cat >>conftest.$ac_ext <<_ACEOF | ||
15392 | /* end confdefs.h. */ | ||
15393 | 13480 | ||
15394 | #include <sys/types.h> | 13481 | #include <sys/types.h> |
15395 | #include <sys/socket.h> | 13482 | #include <sys/socket.h> |
@@ -15405,59 +13492,51 @@ exit(0); | |||
15405 | 13492 | ||
15406 | _ACEOF | 13493 | _ACEOF |
15407 | rm -f conftest$ac_exeext | 13494 | rm -f conftest$ac_exeext |
15408 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13495 | if { (eval echo "$as_me:13495: \"$ac_link\"") >&5 |
15409 | (eval $ac_link) 2>&5 | 13496 | (eval $ac_link) 2>&5 |
15410 | ac_status=$? | 13497 | ac_status=$? |
15411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13498 | echo "$as_me:13498: \$? = $ac_status" >&5 |
15412 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 13499 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15413 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13500 | { (eval echo "$as_me:13500: \"$ac_try\"") >&5 |
15414 | (eval $ac_try) 2>&5 | 13501 | (eval $ac_try) 2>&5 |
15415 | ac_status=$? | 13502 | ac_status=$? |
15416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13503 | echo "$as_me:13503: \$? = $ac_status" >&5 |
15417 | (exit $ac_status); }; }; then | 13504 | (exit $ac_status); }; }; then |
15418 | ac_cv_have_accrights_in_msghdr="yes" | 13505 | ac_cv_have_accrights_in_msghdr="yes" |
15419 | else | 13506 | else |
15420 | echo "$as_me: program exited with status $ac_status" >&5 | 13507 | echo "$as_me: program exited with status $ac_status" >&5 |
15421 | echo "$as_me: failed program was:" >&5 | 13508 | echo "$as_me: failed program was:" >&5 |
15422 | sed 's/^/| /' conftest.$ac_ext >&5 | 13509 | cat conftest.$ac_ext >&5 |
15423 | |||
15424 | ( exit $ac_status ) | ||
15425 | ac_cv_have_accrights_in_msghdr="no" | 13510 | ac_cv_have_accrights_in_msghdr="no" |
15426 | 13511 | ||
15427 | fi | 13512 | fi |
15428 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13513 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15429 | fi | 13514 | fi |
15430 | 13515 | ||
15431 | fi | 13516 | fi |
15432 | echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | 13517 | echo "$as_me:13517: result: $ac_cv_have_accrights_in_msghdr" >&5 |
15433 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 | 13518 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 |
15434 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 13519 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
15435 | cat >>confdefs.h <<\_ACEOF | 13520 | cat >>confdefs.h <<\EOF |
15436 | #define HAVE_ACCRIGHTS_IN_MSGHDR 1 | 13521 | #define HAVE_ACCRIGHTS_IN_MSGHDR 1 |
15437 | _ACEOF | 13522 | EOF |
15438 | 13523 | ||
15439 | fi | 13524 | fi |
15440 | 13525 | ||
15441 | echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 | 13526 | echo "$as_me:13526: checking for msg_control field in struct msghdr" >&5 |
15442 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 | 13527 | 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 | 13528 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then |
15444 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13529 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15445 | else | 13530 | else |
15446 | 13531 | ||
15447 | if test "$cross_compiling" = yes; then | 13532 | if test "$cross_compiling" = yes; then |
15448 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 13533 | { { echo "$as_me:13533: error: cannot run test program while cross compiling" >&5 |
15449 | See \`config.log' for more details." >&5 | 13534 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
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; }; } | 13535 | { (exit 1); exit 1; }; } |
15453 | else | 13536 | else |
15454 | cat >conftest.$ac_ext <<_ACEOF | 13537 | cat >conftest.$ac_ext <<_ACEOF |
15455 | #line $LINENO "configure" | 13538 | #line 13538 "configure" |
15456 | /* confdefs.h. */ | 13539 | #include "confdefs.h" |
15457 | _ACEOF | ||
15458 | cat confdefs.h >>conftest.$ac_ext | ||
15459 | cat >>conftest.$ac_ext <<_ACEOF | ||
15460 | /* end confdefs.h. */ | ||
15461 | 13540 | ||
15462 | #include <sys/types.h> | 13541 | #include <sys/types.h> |
15463 | #include <sys/socket.h> | 13542 | #include <sys/socket.h> |
@@ -15473,52 +13552,46 @@ exit(0); | |||
15473 | 13552 | ||
15474 | _ACEOF | 13553 | _ACEOF |
15475 | rm -f conftest$ac_exeext | 13554 | rm -f conftest$ac_exeext |
15476 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13555 | if { (eval echo "$as_me:13555: \"$ac_link\"") >&5 |
15477 | (eval $ac_link) 2>&5 | 13556 | (eval $ac_link) 2>&5 |
15478 | ac_status=$? | 13557 | ac_status=$? |
15479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13558 | echo "$as_me:13558: \$? = $ac_status" >&5 |
15480 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 13559 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13560 | { (eval echo "$as_me:13560: \"$ac_try\"") >&5 |
15482 | (eval $ac_try) 2>&5 | 13561 | (eval $ac_try) 2>&5 |
15483 | ac_status=$? | 13562 | ac_status=$? |
15484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13563 | echo "$as_me:13563: \$? = $ac_status" >&5 |
15485 | (exit $ac_status); }; }; then | 13564 | (exit $ac_status); }; }; then |
15486 | ac_cv_have_control_in_msghdr="yes" | 13565 | ac_cv_have_control_in_msghdr="yes" |
15487 | else | 13566 | else |
15488 | echo "$as_me: program exited with status $ac_status" >&5 | 13567 | echo "$as_me: program exited with status $ac_status" >&5 |
15489 | echo "$as_me: failed program was:" >&5 | 13568 | echo "$as_me: failed program was:" >&5 |
15490 | sed 's/^/| /' conftest.$ac_ext >&5 | 13569 | cat conftest.$ac_ext >&5 |
15491 | |||
15492 | ( exit $ac_status ) | ||
15493 | ac_cv_have_control_in_msghdr="no" | 13570 | ac_cv_have_control_in_msghdr="no" |
15494 | 13571 | ||
15495 | fi | 13572 | fi |
15496 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13573 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15497 | fi | 13574 | fi |
15498 | 13575 | ||
15499 | fi | 13576 | fi |
15500 | echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | 13577 | echo "$as_me:13577: result: $ac_cv_have_control_in_msghdr" >&5 |
15501 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 | 13578 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 |
15502 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 13579 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
15503 | cat >>confdefs.h <<\_ACEOF | 13580 | cat >>confdefs.h <<\EOF |
15504 | #define HAVE_CONTROL_IN_MSGHDR 1 | 13581 | #define HAVE_CONTROL_IN_MSGHDR 1 |
15505 | _ACEOF | 13582 | EOF |
15506 | 13583 | ||
15507 | fi | 13584 | fi |
15508 | 13585 | ||
15509 | echo "$as_me:$LINENO: checking if libc defines __progname" >&5 | 13586 | echo "$as_me:13586: checking if libc defines __progname" >&5 |
15510 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 | 13587 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 |
15511 | if test "${ac_cv_libc_defines___progname+set}" = set; then | 13588 | if test "${ac_cv_libc_defines___progname+set}" = set; then |
15512 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13589 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15513 | else | 13590 | else |
15514 | 13591 | ||
15515 | cat >conftest.$ac_ext <<_ACEOF | 13592 | cat >conftest.$ac_ext <<_ACEOF |
15516 | #line $LINENO "configure" | 13593 | #line 13593 "configure" |
15517 | /* confdefs.h. */ | 13594 | #include "confdefs.h" |
15518 | _ACEOF | ||
15519 | cat confdefs.h >>conftest.$ac_ext | ||
15520 | cat >>conftest.$ac_ext <<_ACEOF | ||
15521 | /* end confdefs.h. */ | ||
15522 | 13595 | ||
15523 | int | 13596 | int |
15524 | main () | 13597 | main () |
@@ -15529,50 +13602,45 @@ main () | |||
15529 | } | 13602 | } |
15530 | _ACEOF | 13603 | _ACEOF |
15531 | rm -f conftest.$ac_objext conftest$ac_exeext | 13604 | rm -f conftest.$ac_objext conftest$ac_exeext |
15532 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13605 | if { (eval echo "$as_me:13605: \"$ac_link\"") >&5 |
15533 | (eval $ac_link) 2>&5 | 13606 | (eval $ac_link) 2>&5 |
15534 | ac_status=$? | 13607 | ac_status=$? |
15535 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13608 | echo "$as_me:13608: \$? = $ac_status" >&5 |
15536 | (exit $ac_status); } && | 13609 | (exit $ac_status); } && |
15537 | { ac_try='test -s conftest$ac_exeext' | 13610 | { ac_try='test -s conftest$ac_exeext' |
15538 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13611 | { (eval echo "$as_me:13611: \"$ac_try\"") >&5 |
15539 | (eval $ac_try) 2>&5 | 13612 | (eval $ac_try) 2>&5 |
15540 | ac_status=$? | 13613 | ac_status=$? |
15541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13614 | echo "$as_me:13614: \$? = $ac_status" >&5 |
15542 | (exit $ac_status); }; }; then | 13615 | (exit $ac_status); }; }; then |
15543 | ac_cv_libc_defines___progname="yes" | 13616 | ac_cv_libc_defines___progname="yes" |
15544 | else | 13617 | else |
15545 | echo "$as_me: failed program was:" >&5 | 13618 | echo "$as_me: failed program was:" >&5 |
15546 | sed 's/^/| /' conftest.$ac_ext >&5 | 13619 | cat conftest.$ac_ext >&5 |
15547 | |||
15548 | ac_cv_libc_defines___progname="no" | 13620 | ac_cv_libc_defines___progname="no" |
15549 | 13621 | ||
15550 | fi | 13622 | fi |
15551 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 13623 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15552 | 13624 | ||
15553 | fi | 13625 | fi |
15554 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 | 13626 | echo "$as_me:13626: result: $ac_cv_libc_defines___progname" >&5 |
15555 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 | 13627 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 |
15556 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 13628 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
15557 | cat >>confdefs.h <<\_ACEOF | 13629 | cat >>confdefs.h <<\EOF |
15558 | #define HAVE___PROGNAME 1 | 13630 | #define HAVE___PROGNAME 1 |
15559 | _ACEOF | 13631 | EOF |
15560 | 13632 | ||
15561 | fi | 13633 | fi |
15562 | 13634 | ||
15563 | echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 | 13635 | echo "$as_me:13635: checking whether $CC implements __FUNCTION__" >&5 |
15564 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 | 13636 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 |
15565 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | 13637 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then |
15566 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13638 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15567 | else | 13639 | else |
15568 | 13640 | ||
15569 | cat >conftest.$ac_ext <<_ACEOF | 13641 | cat >conftest.$ac_ext <<_ACEOF |
15570 | #line $LINENO "configure" | 13642 | #line 13642 "configure" |
15571 | /* confdefs.h. */ | 13643 | #include "confdefs.h" |
15572 | _ACEOF | ||
15573 | cat confdefs.h >>conftest.$ac_ext | ||
15574 | cat >>conftest.$ac_ext <<_ACEOF | ||
15575 | /* end confdefs.h. */ | ||
15576 | 13644 | ||
15577 | #include <stdio.h> | 13645 | #include <stdio.h> |
15578 | 13646 | ||
@@ -15585,50 +13653,45 @@ main () | |||
15585 | } | 13653 | } |
15586 | _ACEOF | 13654 | _ACEOF |
15587 | rm -f conftest.$ac_objext conftest$ac_exeext | 13655 | rm -f conftest.$ac_objext conftest$ac_exeext |
15588 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13656 | if { (eval echo "$as_me:13656: \"$ac_link\"") >&5 |
15589 | (eval $ac_link) 2>&5 | 13657 | (eval $ac_link) 2>&5 |
15590 | ac_status=$? | 13658 | ac_status=$? |
15591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13659 | echo "$as_me:13659: \$? = $ac_status" >&5 |
15592 | (exit $ac_status); } && | 13660 | (exit $ac_status); } && |
15593 | { ac_try='test -s conftest$ac_exeext' | 13661 | { ac_try='test -s conftest$ac_exeext' |
15594 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13662 | { (eval echo "$as_me:13662: \"$ac_try\"") >&5 |
15595 | (eval $ac_try) 2>&5 | 13663 | (eval $ac_try) 2>&5 |
15596 | ac_status=$? | 13664 | ac_status=$? |
15597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13665 | echo "$as_me:13665: \$? = $ac_status" >&5 |
15598 | (exit $ac_status); }; }; then | 13666 | (exit $ac_status); }; }; then |
15599 | ac_cv_cc_implements___FUNCTION__="yes" | 13667 | ac_cv_cc_implements___FUNCTION__="yes" |
15600 | else | 13668 | else |
15601 | echo "$as_me: failed program was:" >&5 | 13669 | echo "$as_me: failed program was:" >&5 |
15602 | sed 's/^/| /' conftest.$ac_ext >&5 | 13670 | cat conftest.$ac_ext >&5 |
15603 | |||
15604 | ac_cv_cc_implements___FUNCTION__="no" | 13671 | ac_cv_cc_implements___FUNCTION__="no" |
15605 | 13672 | ||
15606 | fi | 13673 | fi |
15607 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 13674 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15608 | 13675 | ||
15609 | fi | 13676 | fi |
15610 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 | 13677 | echo "$as_me:13677: result: $ac_cv_cc_implements___FUNCTION__" >&5 |
15611 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 | 13678 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 |
15612 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 13679 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
15613 | cat >>confdefs.h <<\_ACEOF | 13680 | cat >>confdefs.h <<\EOF |
15614 | #define HAVE___FUNCTION__ 1 | 13681 | #define HAVE___FUNCTION__ 1 |
15615 | _ACEOF | 13682 | EOF |
15616 | 13683 | ||
15617 | fi | 13684 | fi |
15618 | 13685 | ||
15619 | echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 | 13686 | echo "$as_me:13686: checking whether $CC implements __func__" >&5 |
15620 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 | 13687 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 |
15621 | if test "${ac_cv_cc_implements___func__+set}" = set; then | 13688 | if test "${ac_cv_cc_implements___func__+set}" = set; then |
15622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13689 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15623 | else | 13690 | else |
15624 | 13691 | ||
15625 | cat >conftest.$ac_ext <<_ACEOF | 13692 | cat >conftest.$ac_ext <<_ACEOF |
15626 | #line $LINENO "configure" | 13693 | #line 13693 "configure" |
15627 | /* confdefs.h. */ | 13694 | #include "confdefs.h" |
15628 | _ACEOF | ||
15629 | cat confdefs.h >>conftest.$ac_ext | ||
15630 | cat >>conftest.$ac_ext <<_ACEOF | ||
15631 | /* end confdefs.h. */ | ||
15632 | 13695 | ||
15633 | #include <stdio.h> | 13696 | #include <stdio.h> |
15634 | 13697 | ||
@@ -15641,50 +13704,45 @@ main () | |||
15641 | } | 13704 | } |
15642 | _ACEOF | 13705 | _ACEOF |
15643 | rm -f conftest.$ac_objext conftest$ac_exeext | 13706 | rm -f conftest.$ac_objext conftest$ac_exeext |
15644 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13707 | if { (eval echo "$as_me:13707: \"$ac_link\"") >&5 |
15645 | (eval $ac_link) 2>&5 | 13708 | (eval $ac_link) 2>&5 |
15646 | ac_status=$? | 13709 | ac_status=$? |
15647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13710 | echo "$as_me:13710: \$? = $ac_status" >&5 |
15648 | (exit $ac_status); } && | 13711 | (exit $ac_status); } && |
15649 | { ac_try='test -s conftest$ac_exeext' | 13712 | { ac_try='test -s conftest$ac_exeext' |
15650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13713 | { (eval echo "$as_me:13713: \"$ac_try\"") >&5 |
15651 | (eval $ac_try) 2>&5 | 13714 | (eval $ac_try) 2>&5 |
15652 | ac_status=$? | 13715 | ac_status=$? |
15653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13716 | echo "$as_me:13716: \$? = $ac_status" >&5 |
15654 | (exit $ac_status); }; }; then | 13717 | (exit $ac_status); }; }; then |
15655 | ac_cv_cc_implements___func__="yes" | 13718 | ac_cv_cc_implements___func__="yes" |
15656 | else | 13719 | else |
15657 | echo "$as_me: failed program was:" >&5 | 13720 | echo "$as_me: failed program was:" >&5 |
15658 | sed 's/^/| /' conftest.$ac_ext >&5 | 13721 | cat conftest.$ac_ext >&5 |
15659 | |||
15660 | ac_cv_cc_implements___func__="no" | 13722 | ac_cv_cc_implements___func__="no" |
15661 | 13723 | ||
15662 | fi | 13724 | fi |
15663 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 13725 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15664 | 13726 | ||
15665 | fi | 13727 | fi |
15666 | echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 | 13728 | echo "$as_me:13728: result: $ac_cv_cc_implements___func__" >&5 |
15667 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 | 13729 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 |
15668 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 13730 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
15669 | cat >>confdefs.h <<\_ACEOF | 13731 | cat >>confdefs.h <<\EOF |
15670 | #define HAVE___func__ 1 | 13732 | #define HAVE___func__ 1 |
15671 | _ACEOF | 13733 | EOF |
15672 | 13734 | ||
15673 | fi | 13735 | fi |
15674 | 13736 | ||
15675 | echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 | 13737 | echo "$as_me:13737: checking whether getopt has optreset support" >&5 |
15676 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 | 13738 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 |
15677 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | 13739 | if test "${ac_cv_have_getopt_optreset+set}" = set; then |
15678 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13740 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15679 | else | 13741 | else |
15680 | 13742 | ||
15681 | cat >conftest.$ac_ext <<_ACEOF | 13743 | cat >conftest.$ac_ext <<_ACEOF |
15682 | #line $LINENO "configure" | 13744 | #line 13744 "configure" |
15683 | /* confdefs.h. */ | 13745 | #include "confdefs.h" |
15684 | _ACEOF | ||
15685 | cat confdefs.h >>conftest.$ac_ext | ||
15686 | cat >>conftest.$ac_ext <<_ACEOF | ||
15687 | /* end confdefs.h. */ | ||
15688 | 13746 | ||
15689 | #include <getopt.h> | 13747 | #include <getopt.h> |
15690 | 13748 | ||
@@ -15697,50 +13755,45 @@ main () | |||
15697 | } | 13755 | } |
15698 | _ACEOF | 13756 | _ACEOF |
15699 | rm -f conftest.$ac_objext conftest$ac_exeext | 13757 | rm -f conftest.$ac_objext conftest$ac_exeext |
15700 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13758 | if { (eval echo "$as_me:13758: \"$ac_link\"") >&5 |
15701 | (eval $ac_link) 2>&5 | 13759 | (eval $ac_link) 2>&5 |
15702 | ac_status=$? | 13760 | ac_status=$? |
15703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13761 | echo "$as_me:13761: \$? = $ac_status" >&5 |
15704 | (exit $ac_status); } && | 13762 | (exit $ac_status); } && |
15705 | { ac_try='test -s conftest$ac_exeext' | 13763 | { ac_try='test -s conftest$ac_exeext' |
15706 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13764 | { (eval echo "$as_me:13764: \"$ac_try\"") >&5 |
15707 | (eval $ac_try) 2>&5 | 13765 | (eval $ac_try) 2>&5 |
15708 | ac_status=$? | 13766 | ac_status=$? |
15709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13767 | echo "$as_me:13767: \$? = $ac_status" >&5 |
15710 | (exit $ac_status); }; }; then | 13768 | (exit $ac_status); }; }; then |
15711 | ac_cv_have_getopt_optreset="yes" | 13769 | ac_cv_have_getopt_optreset="yes" |
15712 | else | 13770 | else |
15713 | echo "$as_me: failed program was:" >&5 | 13771 | echo "$as_me: failed program was:" >&5 |
15714 | sed 's/^/| /' conftest.$ac_ext >&5 | 13772 | cat conftest.$ac_ext >&5 |
15715 | |||
15716 | ac_cv_have_getopt_optreset="no" | 13773 | ac_cv_have_getopt_optreset="no" |
15717 | 13774 | ||
15718 | fi | 13775 | fi |
15719 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 13776 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15720 | 13777 | ||
15721 | fi | 13778 | fi |
15722 | echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 | 13779 | echo "$as_me:13779: result: $ac_cv_have_getopt_optreset" >&5 |
15723 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 | 13780 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 |
15724 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 13781 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
15725 | cat >>confdefs.h <<\_ACEOF | 13782 | cat >>confdefs.h <<\EOF |
15726 | #define HAVE_GETOPT_OPTRESET 1 | 13783 | #define HAVE_GETOPT_OPTRESET 1 |
15727 | _ACEOF | 13784 | EOF |
15728 | 13785 | ||
15729 | fi | 13786 | fi |
15730 | 13787 | ||
15731 | echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 | 13788 | echo "$as_me:13788: checking if libc defines sys_errlist" >&5 |
15732 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 | 13789 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 |
15733 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | 13790 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then |
15734 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15735 | else | 13792 | else |
15736 | 13793 | ||
15737 | cat >conftest.$ac_ext <<_ACEOF | 13794 | cat >conftest.$ac_ext <<_ACEOF |
15738 | #line $LINENO "configure" | 13795 | #line 13795 "configure" |
15739 | /* confdefs.h. */ | 13796 | #include "confdefs.h" |
15740 | _ACEOF | ||
15741 | cat confdefs.h >>conftest.$ac_ext | ||
15742 | cat >>conftest.$ac_ext <<_ACEOF | ||
15743 | /* end confdefs.h. */ | ||
15744 | 13797 | ||
15745 | int | 13798 | int |
15746 | main () | 13799 | main () |
@@ -15751,51 +13804,45 @@ main () | |||
15751 | } | 13804 | } |
15752 | _ACEOF | 13805 | _ACEOF |
15753 | rm -f conftest.$ac_objext conftest$ac_exeext | 13806 | rm -f conftest.$ac_objext conftest$ac_exeext |
15754 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13807 | if { (eval echo "$as_me:13807: \"$ac_link\"") >&5 |
15755 | (eval $ac_link) 2>&5 | 13808 | (eval $ac_link) 2>&5 |
15756 | ac_status=$? | 13809 | ac_status=$? |
15757 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13810 | echo "$as_me:13810: \$? = $ac_status" >&5 |
15758 | (exit $ac_status); } && | 13811 | (exit $ac_status); } && |
15759 | { ac_try='test -s conftest$ac_exeext' | 13812 | { ac_try='test -s conftest$ac_exeext' |
15760 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13813 | { (eval echo "$as_me:13813: \"$ac_try\"") >&5 |
15761 | (eval $ac_try) 2>&5 | 13814 | (eval $ac_try) 2>&5 |
15762 | ac_status=$? | 13815 | ac_status=$? |
15763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13816 | echo "$as_me:13816: \$? = $ac_status" >&5 |
15764 | (exit $ac_status); }; }; then | 13817 | (exit $ac_status); }; }; then |
15765 | ac_cv_libc_defines_sys_errlist="yes" | 13818 | ac_cv_libc_defines_sys_errlist="yes" |
15766 | else | 13819 | else |
15767 | echo "$as_me: failed program was:" >&5 | 13820 | echo "$as_me: failed program was:" >&5 |
15768 | sed 's/^/| /' conftest.$ac_ext >&5 | 13821 | cat conftest.$ac_ext >&5 |
15769 | |||
15770 | ac_cv_libc_defines_sys_errlist="no" | 13822 | ac_cv_libc_defines_sys_errlist="no" |
15771 | 13823 | ||
15772 | fi | 13824 | fi |
15773 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 13825 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15774 | 13826 | ||
15775 | fi | 13827 | fi |
15776 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 | 13828 | echo "$as_me:13828: result: $ac_cv_libc_defines_sys_errlist" >&5 |
15777 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 | 13829 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 |
15778 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 13830 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
15779 | cat >>confdefs.h <<\_ACEOF | 13831 | cat >>confdefs.h <<\EOF |
15780 | #define HAVE_SYS_ERRLIST 1 | 13832 | #define HAVE_SYS_ERRLIST 1 |
15781 | _ACEOF | 13833 | EOF |
15782 | 13834 | ||
15783 | fi | 13835 | fi |
15784 | 13836 | ||
15785 | 13837 | echo "$as_me:13837: checking if libc defines sys_nerr" >&5 | |
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 | 13838 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 |
15788 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | 13839 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then |
15789 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15790 | else | 13841 | else |
15791 | 13842 | ||
15792 | cat >conftest.$ac_ext <<_ACEOF | 13843 | cat >conftest.$ac_ext <<_ACEOF |
15793 | #line $LINENO "configure" | 13844 | #line 13844 "configure" |
15794 | /* confdefs.h. */ | 13845 | #include "confdefs.h" |
15795 | _ACEOF | ||
15796 | cat confdefs.h >>conftest.$ac_ext | ||
15797 | cat >>conftest.$ac_ext <<_ACEOF | ||
15798 | /* end confdefs.h. */ | ||
15799 | 13846 | ||
15800 | int | 13847 | int |
15801 | main () | 13848 | main () |
@@ -15806,39 +13853,37 @@ main () | |||
15806 | } | 13853 | } |
15807 | _ACEOF | 13854 | _ACEOF |
15808 | rm -f conftest.$ac_objext conftest$ac_exeext | 13855 | rm -f conftest.$ac_objext conftest$ac_exeext |
15809 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13856 | if { (eval echo "$as_me:13856: \"$ac_link\"") >&5 |
15810 | (eval $ac_link) 2>&5 | 13857 | (eval $ac_link) 2>&5 |
15811 | ac_status=$? | 13858 | ac_status=$? |
15812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13859 | echo "$as_me:13859: \$? = $ac_status" >&5 |
15813 | (exit $ac_status); } && | 13860 | (exit $ac_status); } && |
15814 | { ac_try='test -s conftest$ac_exeext' | 13861 | { ac_try='test -s conftest$ac_exeext' |
15815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13862 | { (eval echo "$as_me:13862: \"$ac_try\"") >&5 |
15816 | (eval $ac_try) 2>&5 | 13863 | (eval $ac_try) 2>&5 |
15817 | ac_status=$? | 13864 | ac_status=$? |
15818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13865 | echo "$as_me:13865: \$? = $ac_status" >&5 |
15819 | (exit $ac_status); }; }; then | 13866 | (exit $ac_status); }; }; then |
15820 | ac_cv_libc_defines_sys_nerr="yes" | 13867 | ac_cv_libc_defines_sys_nerr="yes" |
15821 | else | 13868 | else |
15822 | echo "$as_me: failed program was:" >&5 | 13869 | echo "$as_me: failed program was:" >&5 |
15823 | sed 's/^/| /' conftest.$ac_ext >&5 | 13870 | cat conftest.$ac_ext >&5 |
15824 | |||
15825 | ac_cv_libc_defines_sys_nerr="no" | 13871 | ac_cv_libc_defines_sys_nerr="no" |
15826 | 13872 | ||
15827 | fi | 13873 | fi |
15828 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 13874 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
15829 | 13875 | ||
15830 | fi | 13876 | fi |
15831 | echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 | 13877 | echo "$as_me:13877: result: $ac_cv_libc_defines_sys_nerr" >&5 |
15832 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 | 13878 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 |
15833 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 13879 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
15834 | cat >>confdefs.h <<\_ACEOF | 13880 | cat >>confdefs.h <<\EOF |
15835 | #define HAVE_SYS_NERR 1 | 13881 | #define HAVE_SYS_NERR 1 |
15836 | _ACEOF | 13882 | EOF |
15837 | 13883 | ||
15838 | fi | 13884 | fi |
15839 | 13885 | ||
15840 | SCARD_MSG="no" | 13886 | SCARD_MSG="no" |
15841 | |||
15842 | # Check whether user wants sectok support | 13887 | # Check whether user wants sectok support |
15843 | 13888 | ||
15844 | # Check whether --with-sectok or --without-sectok was given. | 13889 | # Check whether --with-sectok or --without-sectok was given. |
@@ -15860,70 +13905,23 @@ if test "${with_sectok+set}" = set; then | |||
15860 | for ac_header in sectok.h | 13905 | for ac_header in sectok.h |
15861 | do | 13906 | do |
15862 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 13907 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15863 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 13908 | echo "$as_me:13908: checking for $ac_header" >&5 |
15864 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15865 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 13909 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
15866 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 13910 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
15867 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13911 | 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 | 13912 | else |
15899 | echo "$as_me: failed program was:" >&5 | 13913 | cat >conftest.$ac_ext <<_ACEOF |
15900 | sed 's/^/| /' conftest.$ac_ext >&5 | 13914 | #line 13914 "configure" |
15901 | 13915 | #include "confdefs.h" | |
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> | 13916 | #include <$ac_header> |
15919 | _ACEOF | 13917 | _ACEOF |
15920 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 13918 | if { (eval echo "$as_me:13918: \"$ac_cpp conftest.$ac_ext\"") >&5 |
15921 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 13919 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
15922 | ac_status=$? | 13920 | ac_status=$? |
15923 | grep -v '^ *+' conftest.er1 >conftest.err | 13921 | egrep -v '^ *\+' conftest.er1 >conftest.err |
15924 | rm -f conftest.er1 | 13922 | rm -f conftest.er1 |
15925 | cat conftest.err >&5 | 13923 | cat conftest.err >&5 |
15926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13924 | echo "$as_me:13924: \$? = $ac_status" >&5 |
15927 | (exit $ac_status); } >/dev/null; then | 13925 | (exit $ac_status); } >/dev/null; then |
15928 | if test -s conftest.err; then | 13926 | if test -s conftest.err; then |
15929 | ac_cpp_err=$ac_c_preproc_warn_flag | 13927 | ac_cpp_err=$ac_c_preproc_warn_flag |
@@ -15934,77 +13932,31 @@ else | |||
15934 | ac_cpp_err=yes | 13932 | ac_cpp_err=yes |
15935 | fi | 13933 | fi |
15936 | if test -z "$ac_cpp_err"; then | 13934 | if test -z "$ac_cpp_err"; then |
15937 | ac_header_preproc=yes | 13935 | eval "$as_ac_Header=yes" |
15938 | else | 13936 | else |
15939 | echo "$as_me: failed program was:" >&5 | 13937 | echo "$as_me: failed program was:" >&5 |
15940 | sed 's/^/| /' conftest.$ac_ext >&5 | 13938 | cat conftest.$ac_ext >&5 |
15941 | 13939 | eval "$as_ac_Header=no" | |
15942 | ac_header_preproc=no | ||
15943 | fi | 13940 | fi |
15944 | rm -f conftest.err conftest.$ac_ext | 13941 | 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 | 13942 | fi |
15988 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 13943 | echo "$as_me:13943: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
15989 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 13944 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
15990 | |||
15991 | fi | ||
15992 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 13945 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
15993 | cat >>confdefs.h <<_ACEOF | 13946 | cat >>confdefs.h <<EOF |
15994 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 13947 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
15995 | _ACEOF | 13948 | EOF |
15996 | 13949 | ||
15997 | fi | 13950 | fi |
15998 | |||
15999 | done | 13951 | done |
16000 | 13952 | ||
16001 | if test "$ac_cv_header_sectok_h" != yes; then | 13953 | if test "$ac_cv_header_sectok_h" != yes; then |
16002 | { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5 | 13954 | { { echo "$as_me:13954: error: Can't find sectok.h" >&5 |
16003 | echo "$as_me: error: Can't find sectok.h" >&2;} | 13955 | echo "$as_me: error: Can't find sectok.h" >&2;} |
16004 | { (exit 1); exit 1; }; } | 13956 | { (exit 1); exit 1; }; } |
16005 | fi | 13957 | fi |
16006 | 13958 | ||
16007 | echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 | 13959 | echo "$as_me:13959: checking for sectok_open in -lsectok" >&5 |
16008 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 | 13960 | echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 |
16009 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then | 13961 | if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then |
16010 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13962 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -16012,12 +13964,8 @@ else | |||
16012 | ac_check_lib_save_LIBS=$LIBS | 13964 | ac_check_lib_save_LIBS=$LIBS |
16013 | LIBS="-lsectok $LIBS" | 13965 | LIBS="-lsectok $LIBS" |
16014 | cat >conftest.$ac_ext <<_ACEOF | 13966 | cat >conftest.$ac_ext <<_ACEOF |
16015 | #line $LINENO "configure" | 13967 | #line 13967 "configure" |
16016 | /* confdefs.h. */ | 13968 | #include "confdefs.h" |
16017 | _ACEOF | ||
16018 | cat confdefs.h >>conftest.$ac_ext | ||
16019 | cat >>conftest.$ac_ext <<_ACEOF | ||
16020 | /* end confdefs.h. */ | ||
16021 | 13969 | ||
16022 | /* Override any gcc2 internal prototype to avoid an error. */ | 13970 | /* Override any gcc2 internal prototype to avoid an error. */ |
16023 | #ifdef __cplusplus | 13971 | #ifdef __cplusplus |
@@ -16035,55 +13983,53 @@ sectok_open (); | |||
16035 | } | 13983 | } |
16036 | _ACEOF | 13984 | _ACEOF |
16037 | rm -f conftest.$ac_objext conftest$ac_exeext | 13985 | rm -f conftest.$ac_objext conftest$ac_exeext |
16038 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13986 | if { (eval echo "$as_me:13986: \"$ac_link\"") >&5 |
16039 | (eval $ac_link) 2>&5 | 13987 | (eval $ac_link) 2>&5 |
16040 | ac_status=$? | 13988 | ac_status=$? |
16041 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13989 | echo "$as_me:13989: \$? = $ac_status" >&5 |
16042 | (exit $ac_status); } && | 13990 | (exit $ac_status); } && |
16043 | { ac_try='test -s conftest$ac_exeext' | 13991 | { ac_try='test -s conftest$ac_exeext' |
16044 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13992 | { (eval echo "$as_me:13992: \"$ac_try\"") >&5 |
16045 | (eval $ac_try) 2>&5 | 13993 | (eval $ac_try) 2>&5 |
16046 | ac_status=$? | 13994 | ac_status=$? |
16047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13995 | echo "$as_me:13995: \$? = $ac_status" >&5 |
16048 | (exit $ac_status); }; }; then | 13996 | (exit $ac_status); }; }; then |
16049 | ac_cv_lib_sectok_sectok_open=yes | 13997 | ac_cv_lib_sectok_sectok_open=yes |
16050 | else | 13998 | else |
16051 | echo "$as_me: failed program was:" >&5 | 13999 | echo "$as_me: failed program was:" >&5 |
16052 | sed 's/^/| /' conftest.$ac_ext >&5 | 14000 | cat conftest.$ac_ext >&5 |
16053 | |||
16054 | ac_cv_lib_sectok_sectok_open=no | 14001 | ac_cv_lib_sectok_sectok_open=no |
16055 | fi | 14002 | fi |
16056 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14003 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16057 | LIBS=$ac_check_lib_save_LIBS | 14004 | LIBS=$ac_check_lib_save_LIBS |
16058 | fi | 14005 | fi |
16059 | echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 | 14006 | echo "$as_me:14006: result: $ac_cv_lib_sectok_sectok_open" >&5 |
16060 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 | 14007 | echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 |
16061 | if test $ac_cv_lib_sectok_sectok_open = yes; then | 14008 | if test $ac_cv_lib_sectok_sectok_open = yes; then |
16062 | cat >>confdefs.h <<_ACEOF | 14009 | cat >>confdefs.h <<EOF |
16063 | #define HAVE_LIBSECTOK 1 | 14010 | #define HAVE_LIBSECTOK 1 |
16064 | _ACEOF | 14011 | EOF |
16065 | 14012 | ||
16066 | LIBS="-lsectok $LIBS" | 14013 | LIBS="-lsectok $LIBS" |
16067 | 14014 | ||
16068 | fi | 14015 | fi |
16069 | 14016 | ||
16070 | if test "$ac_cv_lib_sectok_sectok_open" != yes; then | 14017 | if test "$ac_cv_lib_sectok_sectok_open" != yes; then |
16071 | { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5 | 14018 | { { echo "$as_me:14018: error: Can't find libsectok" >&5 |
16072 | echo "$as_me: error: Can't find libsectok" >&2;} | 14019 | echo "$as_me: error: Can't find libsectok" >&2;} |
16073 | { (exit 1); exit 1; }; } | 14020 | { (exit 1); exit 1; }; } |
16074 | fi | 14021 | fi |
16075 | cat >>confdefs.h <<\_ACEOF | 14022 | cat >>confdefs.h <<\EOF |
16076 | #define SMARTCARD 1 | 14023 | #define SMARTCARD 1 |
16077 | _ACEOF | 14024 | EOF |
16078 | 14025 | ||
16079 | cat >>confdefs.h <<\_ACEOF | 14026 | cat >>confdefs.h <<\EOF |
16080 | #define USE_SECTOK 1 | 14027 | #define USE_SECTOK 1 |
16081 | _ACEOF | 14028 | EOF |
16082 | 14029 | ||
16083 | SCARD_MSG="yes, using sectok" | 14030 | SCARD_MSG="yes, using sectok" |
16084 | fi | 14031 | fi |
16085 | 14032 | ||
16086 | |||
16087 | fi; | 14033 | fi; |
16088 | 14034 | ||
16089 | # Check whether user wants OpenSC support | 14035 | # Check whether user wants OpenSC support |
@@ -16099,7 +14045,7 @@ if test x$opensc_config_prefix != x ; then | |||
16099 | OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config | 14045 | 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. | 14046 | # Extract the first word of "opensc-config", so it can be a program name with args. |
16101 | set dummy opensc-config; ac_word=$2 | 14047 | set dummy opensc-config; ac_word=$2 |
16102 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 14048 | echo "$as_me:14048: checking for $ac_word" >&5 |
16103 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 14049 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
16104 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then | 14050 | if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then |
16105 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -16109,18 +14055,16 @@ else | |||
16109 | ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path. | 14055 | ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path. |
16110 | ;; | 14056 | ;; |
16111 | *) | 14057 | *) |
16112 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 14058 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
16113 | for as_dir in $PATH | 14059 | ac_dummy="$PATH" |
16114 | do | 14060 | for ac_dir in $ac_dummy; do |
16115 | IFS=$as_save_IFS | 14061 | IFS=$ac_save_IFS |
16116 | test -z "$as_dir" && as_dir=. | 14062 | test -z "$ac_dir" && ac_dir=. |
16117 | for ac_exec_ext in '' $ac_executable_extensions; do | 14063 | if $as_executable_p "$ac_dir/$ac_word"; then |
16118 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 14064 | ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word" |
16119 | ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 14065 | echo "$as_me:14065: found $ac_dir/$ac_word" >&5 |
16120 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 14066 | break |
16121 | break 2 | 14067 | fi |
16122 | fi | ||
16123 | done | ||
16124 | done | 14068 | done |
16125 | 14069 | ||
16126 | test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" | 14070 | test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" |
@@ -16130,10 +14074,10 @@ fi | |||
16130 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG | 14074 | OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG |
16131 | 14075 | ||
16132 | if test -n "$OPENSC_CONFIG"; then | 14076 | if test -n "$OPENSC_CONFIG"; then |
16133 | echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 | 14077 | echo "$as_me:14077: result: $OPENSC_CONFIG" >&5 |
16134 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 | 14078 | echo "${ECHO_T}$OPENSC_CONFIG" >&6 |
16135 | else | 14079 | else |
16136 | echo "$as_me:$LINENO: result: no" >&5 | 14080 | echo "$as_me:14080: result: no" >&5 |
16137 | echo "${ECHO_T}no" >&6 | 14081 | echo "${ECHO_T}no" >&6 |
16138 | fi | 14082 | fi |
16139 | 14083 | ||
@@ -16142,108 +14086,81 @@ fi | |||
16142 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` | 14086 | LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` |
16143 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" | 14087 | CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" |
16144 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" | 14088 | LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" |
16145 | cat >>confdefs.h <<\_ACEOF | 14089 | cat >>confdefs.h <<\EOF |
16146 | #define SMARTCARD 1 | 14090 | #define SMARTCARD 1 |
16147 | _ACEOF | 14091 | EOF |
16148 | 14092 | ||
16149 | cat >>confdefs.h <<\_ACEOF | 14093 | cat >>confdefs.h <<\EOF |
16150 | #define USE_OPENSC 1 | 14094 | #define USE_OPENSC 1 |
16151 | _ACEOF | 14095 | EOF |
16152 | 14096 | ||
16153 | SCARD_MSG="yes, using OpenSC" | 14097 | SCARD_MSG="yes, using OpenSC" |
16154 | fi | 14098 | fi |
16155 | fi | 14099 | fi |
16156 | 14100 | ||
16157 | # Check whether user wants Kerberos 5 support | 14101 | # Check whether user wants DNS support |
16158 | KRB5_MSG="no" | 14102 | DNS_MSG="no" |
16159 | 14103 | ||
16160 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | 14104 | # Check whether --with-dns or --without-dns was given. |
16161 | if test "${with_kerberos5+set}" = set; then | 14105 | if test "${with_dns+set}" = set; then |
16162 | withval="$with_kerberos5" | 14106 | withval="$with_dns" |
16163 | 14107 | ||
16164 | if test "x$withval" != "xno" ; then | 14108 | if test "x$withval" != "xno" ; then |
16165 | if test "x$withval" = "xyes" ; then | 14109 | DNS_MSG="yes" |
16166 | KRB5ROOT="/usr/local" | 14110 | cat >>confdefs.h <<\EOF |
16167 | else | 14111 | #define DNS 1 |
16168 | KRB5ROOT=${withval} | 14112 | EOF |
16169 | fi | 14113 | |
16170 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | 14114 | echo "$as_me:14114: checking for library containing getrrsetbyname" >&5 |
16171 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | 14115 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 |
16172 | cat >>confdefs.h <<\_ACEOF | 14116 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
16173 | #define KRB5 1 | 14117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16174 | _ACEOF | 14118 | else |
14119 | ac_func_search_save_LIBS=$LIBS | ||
14120 | ac_cv_search_getrrsetbyname=no | ||
14121 | cat >conftest.$ac_ext <<_ACEOF | ||
14122 | #line 14122 "configure" | ||
14123 | #include "confdefs.h" | ||
16175 | 14124 | ||
16176 | KRB5_MSG="yes" | 14125 | /* Override any gcc2 internal prototype to avoid an error. */ |
16177 | echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | 14126 | #ifdef __cplusplus |
16178 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | 14127 | extern "C" |
16179 | cat >conftest.$ac_ext <<_ACEOF | 14128 | #endif |
16180 | #line $LINENO "configure" | 14129 | /* We use char because int might match the return type of a gcc2 |
16181 | /* confdefs.h. */ | 14130 | builtin and then its argument prototype would still apply. */ |
16182 | _ACEOF | 14131 | char getrrsetbyname (); |
16183 | cat confdefs.h >>conftest.$ac_ext | ||
16184 | cat >>conftest.$ac_ext <<_ACEOF | ||
16185 | /* end confdefs.h. */ | ||
16186 | #include <krb5.h> | ||
16187 | int | 14132 | int |
16188 | main () | 14133 | main () |
16189 | { | 14134 | { |
16190 | char *tmp = heimdal_version; | 14135 | getrrsetbyname (); |
16191 | ; | 14136 | ; |
16192 | return 0; | 14137 | return 0; |
16193 | } | 14138 | } |
16194 | _ACEOF | 14139 | _ACEOF |
16195 | rm -f conftest.$ac_objext | 14140 | rm -f conftest.$ac_objext conftest$ac_exeext |
16196 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14141 | if { (eval echo "$as_me:14141: \"$ac_link\"") >&5 |
16197 | (eval $ac_compile) 2>&5 | 14142 | (eval $ac_link) 2>&5 |
16198 | ac_status=$? | 14143 | ac_status=$? |
16199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14144 | echo "$as_me:14144: \$? = $ac_status" >&5 |
16200 | (exit $ac_status); } && | 14145 | (exit $ac_status); } && |
16201 | { ac_try='test -s conftest.$ac_objext' | 14146 | { ac_try='test -s conftest$ac_exeext' |
16202 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14147 | { (eval echo "$as_me:14147: \"$ac_try\"") >&5 |
16203 | (eval $ac_try) 2>&5 | 14148 | (eval $ac_try) 2>&5 |
16204 | ac_status=$? | 14149 | ac_status=$? |
16205 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14150 | echo "$as_me:14150: \$? = $ac_status" >&5 |
16206 | (exit $ac_status); }; }; then | 14151 | (exit $ac_status); }; }; then |
16207 | echo "$as_me:$LINENO: result: yes" >&5 | 14152 | ac_cv_search_getrrsetbyname="none required" |
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 | 14153 | else |
16216 | echo "$as_me: failed program was:" >&5 | 14154 | echo "$as_me: failed program was:" >&5 |
16217 | sed 's/^/| /' conftest.$ac_ext >&5 | 14155 | cat 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 | 14156 | fi |
16225 | rm -f conftest.$ac_objext conftest.$ac_ext | 14157 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16226 | if test ! -z "$need_dash_r" ; then | 14158 | if test "$ac_cv_search_getrrsetbyname" = no; then |
16227 | LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib" | 14159 | for ac_lib in resolv; do |
16228 | fi | 14160 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16229 | if test ! -z "$blibpath" ; then | 14161 | cat >conftest.$ac_ext <<_ACEOF |
16230 | blibpath="$blibpath:${KRB5ROOT}/lib" | 14162 | #line 14162 "configure" |
16231 | fi | 14163 | #include "confdefs.h" |
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 | 14164 | ||
16248 | /* Override any gcc2 internal prototype to avoid an error. */ | 14165 | /* Override any gcc2 internal prototype to avoid an error. */ |
16249 | #ifdef __cplusplus | 14166 | #ifdef __cplusplus |
@@ -16251,364 +14168,444 @@ extern "C" | |||
16251 | #endif | 14168 | #endif |
16252 | /* We use char because int might match the return type of a gcc2 | 14169 | /* We use char because int might match the return type of a gcc2 |
16253 | builtin and then its argument prototype would still apply. */ | 14170 | builtin and then its argument prototype would still apply. */ |
16254 | char dn_expand (); | 14171 | char getrrsetbyname (); |
16255 | int | 14172 | int |
16256 | main () | 14173 | main () |
16257 | { | 14174 | { |
16258 | dn_expand (); | 14175 | getrrsetbyname (); |
16259 | ; | 14176 | ; |
16260 | return 0; | 14177 | return 0; |
16261 | } | 14178 | } |
16262 | _ACEOF | 14179 | _ACEOF |
16263 | rm -f conftest.$ac_objext conftest$ac_exeext | 14180 | rm -f conftest.$ac_objext conftest$ac_exeext |
16264 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14181 | if { (eval echo "$as_me:14181: \"$ac_link\"") >&5 |
16265 | (eval $ac_link) 2>&5 | 14182 | (eval $ac_link) 2>&5 |
16266 | ac_status=$? | 14183 | ac_status=$? |
16267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14184 | echo "$as_me:14184: \$? = $ac_status" >&5 |
16268 | (exit $ac_status); } && | 14185 | (exit $ac_status); } && |
16269 | { ac_try='test -s conftest$ac_exeext' | 14186 | { ac_try='test -s conftest$ac_exeext' |
16270 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14187 | { (eval echo "$as_me:14187: \"$ac_try\"") >&5 |
16271 | (eval $ac_try) 2>&5 | 14188 | (eval $ac_try) 2>&5 |
16272 | ac_status=$? | 14189 | ac_status=$? |
16273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14190 | echo "$as_me:14190: \$? = $ac_status" >&5 |
16274 | (exit $ac_status); }; }; then | 14191 | (exit $ac_status); }; }; then |
16275 | ac_cv_lib_resolv_dn_expand=yes | 14192 | ac_cv_search_getrrsetbyname="-l$ac_lib" |
14193 | break | ||
16276 | else | 14194 | else |
16277 | echo "$as_me: failed program was:" >&5 | 14195 | echo "$as_me: failed program was:" >&5 |
16278 | sed 's/^/| /' conftest.$ac_ext >&5 | 14196 | cat conftest.$ac_ext >&5 |
16279 | |||
16280 | ac_cv_lib_resolv_dn_expand=no | ||
16281 | fi | 14197 | fi |
16282 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14198 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16283 | LIBS=$ac_check_lib_save_LIBS | 14199 | done |
16284 | fi | 14200 | fi |
16285 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5 | 14201 | LIBS=$ac_func_search_save_LIBS |
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 | 14202 | fi |
14203 | echo "$as_me:14203: result: $ac_cv_search_getrrsetbyname" >&5 | ||
14204 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 | ||
14205 | if test "$ac_cv_search_getrrsetbyname" != no; then | ||
14206 | test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" | ||
14207 | cat >>confdefs.h <<\EOF | ||
14208 | #define HAVE_GETRRSETBYNAME 1 | ||
14209 | EOF | ||
16295 | 14210 | ||
14211 | else | ||
16296 | 14212 | ||
16297 | KRB5=yes | 14213 | # Needed by our getrrsetbyname() |
16298 | fi | 14214 | echo "$as_me:14214: checking for library containing res_query" >&5 |
16299 | 14215 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 | |
16300 | 14216 | if test "${ac_cv_search_res_query+set}" = set; then | |
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 | 14217 | 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 | 14218 | else |
16338 | # Is the header compilable? | 14219 | ac_func_search_save_LIBS=$LIBS |
16339 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14220 | ac_cv_search_res_query=no |
16340 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | ||
16341 | cat >conftest.$ac_ext <<_ACEOF | 14221 | cat >conftest.$ac_ext <<_ACEOF |
16342 | #line $LINENO "configure" | 14222 | #line 14222 "configure" |
16343 | /* confdefs.h. */ | 14223 | #include "confdefs.h" |
16344 | _ACEOF | 14224 | |
16345 | cat confdefs.h >>conftest.$ac_ext | 14225 | /* Override any gcc2 internal prototype to avoid an error. */ |
16346 | cat >>conftest.$ac_ext <<_ACEOF | 14226 | #ifdef __cplusplus |
16347 | /* end confdefs.h. */ | 14227 | extern "C" |
16348 | $ac_includes_default | 14228 | #endif |
16349 | #include <$ac_header> | 14229 | /* We use char because int might match the return type of a gcc2 |
14230 | builtin and then its argument prototype would still apply. */ | ||
14231 | char res_query (); | ||
14232 | int | ||
14233 | main () | ||
14234 | { | ||
14235 | res_query (); | ||
14236 | ; | ||
14237 | return 0; | ||
14238 | } | ||
16350 | _ACEOF | 14239 | _ACEOF |
16351 | rm -f conftest.$ac_objext | 14240 | rm -f conftest.$ac_objext conftest$ac_exeext |
16352 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14241 | if { (eval echo "$as_me:14241: \"$ac_link\"") >&5 |
16353 | (eval $ac_compile) 2>&5 | 14242 | (eval $ac_link) 2>&5 |
16354 | ac_status=$? | 14243 | ac_status=$? |
16355 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14244 | echo "$as_me:14244: \$? = $ac_status" >&5 |
16356 | (exit $ac_status); } && | 14245 | (exit $ac_status); } && |
16357 | { ac_try='test -s conftest.$ac_objext' | 14246 | { ac_try='test -s conftest$ac_exeext' |
16358 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14247 | { (eval echo "$as_me:14247: \"$ac_try\"") >&5 |
16359 | (eval $ac_try) 2>&5 | 14248 | (eval $ac_try) 2>&5 |
16360 | ac_status=$? | 14249 | ac_status=$? |
16361 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14250 | echo "$as_me:14250: \$? = $ac_status" >&5 |
16362 | (exit $ac_status); }; }; then | 14251 | (exit $ac_status); }; }; then |
16363 | ac_header_compiler=yes | 14252 | ac_cv_search_res_query="none required" |
16364 | else | 14253 | else |
16365 | echo "$as_me: failed program was:" >&5 | 14254 | echo "$as_me: failed program was:" >&5 |
16366 | sed 's/^/| /' conftest.$ac_ext >&5 | 14255 | cat conftest.$ac_ext >&5 |
16367 | |||
16368 | ac_header_compiler=no | ||
16369 | fi | 14256 | fi |
16370 | rm -f conftest.$ac_objext conftest.$ac_ext | 14257 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16371 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14258 | if test "$ac_cv_search_res_query" = no; then |
16372 | echo "${ECHO_T}$ac_header_compiler" >&6 | 14259 | for ac_lib in resolv; do |
14260 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14261 | cat >conftest.$ac_ext <<_ACEOF | ||
14262 | #line 14262 "configure" | ||
14263 | #include "confdefs.h" | ||
16373 | 14264 | ||
16374 | # Is the header present? | 14265 | /* Override any gcc2 internal prototype to avoid an error. */ |
16375 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14266 | #ifdef __cplusplus |
16376 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 14267 | extern "C" |
16377 | cat >conftest.$ac_ext <<_ACEOF | 14268 | #endif |
16378 | #line $LINENO "configure" | 14269 | /* We use char because int might match the return type of a gcc2 |
16379 | /* confdefs.h. */ | 14270 | builtin and then its argument prototype would still apply. */ |
16380 | _ACEOF | 14271 | char res_query (); |
16381 | cat confdefs.h >>conftest.$ac_ext | 14272 | int |
16382 | cat >>conftest.$ac_ext <<_ACEOF | 14273 | main () |
16383 | /* end confdefs.h. */ | 14274 | { |
16384 | #include <$ac_header> | 14275 | res_query (); |
14276 | ; | ||
14277 | return 0; | ||
14278 | } | ||
16385 | _ACEOF | 14279 | _ACEOF |
16386 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14280 | rm -f conftest.$ac_objext conftest$ac_exeext |
16387 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14281 | if { (eval echo "$as_me:14281: \"$ac_link\"") >&5 |
14282 | (eval $ac_link) 2>&5 | ||
16388 | ac_status=$? | 14283 | ac_status=$? |
16389 | grep -v '^ *+' conftest.er1 >conftest.err | 14284 | echo "$as_me:14284: \$? = $ac_status" >&5 |
16390 | rm -f conftest.er1 | 14285 | (exit $ac_status); } && |
16391 | cat conftest.err >&5 | 14286 | { ac_try='test -s conftest$ac_exeext' |
16392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14287 | { (eval echo "$as_me:14287: \"$ac_try\"") >&5 |
16393 | (exit $ac_status); } >/dev/null; then | 14288 | (eval $ac_try) 2>&5 |
16394 | if test -s conftest.err; then | 14289 | ac_status=$? |
16395 | ac_cpp_err=$ac_c_preproc_warn_flag | 14290 | echo "$as_me:14290: \$? = $ac_status" >&5 |
16396 | else | 14291 | (exit $ac_status); }; }; then |
16397 | ac_cpp_err= | 14292 | ac_cv_search_res_query="-l$ac_lib" |
16398 | fi | 14293 | break |
16399 | else | ||
16400 | ac_cpp_err=yes | ||
16401 | fi | ||
16402 | if test -z "$ac_cpp_err"; then | ||
16403 | ac_header_preproc=yes | ||
16404 | else | 14294 | else |
16405 | echo "$as_me: failed program was:" >&5 | 14295 | echo "$as_me: failed program was:" >&5 |
16406 | sed 's/^/| /' conftest.$ac_ext >&5 | 14296 | cat conftest.$ac_ext >&5 |
16407 | |||
16408 | ac_header_preproc=no | ||
16409 | fi | 14297 | fi |
16410 | rm -f conftest.err conftest.$ac_ext | 14298 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16411 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14299 | done |
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 | 14300 | fi |
16454 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14301 | LIBS=$ac_func_search_save_LIBS |
16455 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
16456 | |||
16457 | fi | 14302 | fi |
16458 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14303 | echo "$as_me:14303: result: $ac_cv_search_res_query" >&5 |
16459 | cat >>confdefs.h <<_ACEOF | 14304 | echo "${ECHO_T}$ac_cv_search_res_query" >&6 |
16460 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 14305 | if test "$ac_cv_search_res_query" != no; then |
16461 | _ACEOF | 14306 | test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" |
16462 | 14307 | ||
16463 | fi | 14308 | fi |
16464 | 14309 | ||
16465 | done | 14310 | echo "$as_me:14310: checking for library containing dn_expand" >&5 |
16466 | 14311 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 | |
16467 | if test "$ac_cv_header_krb_h" != yes; then | 14312 | if test "${ac_cv_search_dn_expand+set}" = set; 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 | 14313 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16476 | else | 14314 | else |
16477 | ac_check_lib_save_LIBS=$LIBS | 14315 | ac_func_search_save_LIBS=$LIBS |
16478 | LIBS="-lkrb $LIBS" | 14316 | ac_cv_search_dn_expand=no |
16479 | cat >conftest.$ac_ext <<_ACEOF | 14317 | cat >conftest.$ac_ext <<_ACEOF |
16480 | #line $LINENO "configure" | 14318 | #line 14318 "configure" |
16481 | /* confdefs.h. */ | 14319 | #include "confdefs.h" |
16482 | _ACEOF | ||
16483 | cat confdefs.h >>conftest.$ac_ext | ||
16484 | cat >>conftest.$ac_ext <<_ACEOF | ||
16485 | /* end confdefs.h. */ | ||
16486 | |||
16487 | 14320 | ||
14321 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
14322 | #ifdef __cplusplus | ||
14323 | extern "C" | ||
14324 | #endif | ||
14325 | /* We use char because int might match the return type of a gcc2 | ||
14326 | builtin and then its argument prototype would still apply. */ | ||
14327 | char dn_expand (); | ||
16488 | int | 14328 | int |
16489 | main () | 14329 | main () |
16490 | { | 14330 | { |
16491 | main (); | 14331 | dn_expand (); |
16492 | ; | 14332 | ; |
16493 | return 0; | 14333 | return 0; |
16494 | } | 14334 | } |
16495 | _ACEOF | 14335 | _ACEOF |
16496 | rm -f conftest.$ac_objext conftest$ac_exeext | 14336 | rm -f conftest.$ac_objext conftest$ac_exeext |
16497 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14337 | if { (eval echo "$as_me:14337: \"$ac_link\"") >&5 |
16498 | (eval $ac_link) 2>&5 | 14338 | (eval $ac_link) 2>&5 |
16499 | ac_status=$? | 14339 | ac_status=$? |
16500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14340 | echo "$as_me:14340: \$? = $ac_status" >&5 |
16501 | (exit $ac_status); } && | 14341 | (exit $ac_status); } && |
16502 | { ac_try='test -s conftest$ac_exeext' | 14342 | { ac_try='test -s conftest$ac_exeext' |
16503 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14343 | { (eval echo "$as_me:14343: \"$ac_try\"") >&5 |
16504 | (eval $ac_try) 2>&5 | 14344 | (eval $ac_try) 2>&5 |
16505 | ac_status=$? | 14345 | ac_status=$? |
16506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14346 | echo "$as_me:14346: \$? = $ac_status" >&5 |
16507 | (exit $ac_status); }; }; then | 14347 | (exit $ac_status); }; }; then |
16508 | ac_cv_lib_krb_main=yes | 14348 | ac_cv_search_dn_expand="none required" |
16509 | else | 14349 | else |
16510 | echo "$as_me: failed program was:" >&5 | 14350 | echo "$as_me: failed program was:" >&5 |
16511 | sed 's/^/| /' conftest.$ac_ext >&5 | 14351 | cat conftest.$ac_ext >&5 |
14352 | fi | ||
14353 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
14354 | if test "$ac_cv_search_dn_expand" = no; then | ||
14355 | for ac_lib in resolv; do | ||
14356 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14357 | cat >conftest.$ac_ext <<_ACEOF | ||
14358 | #line 14358 "configure" | ||
14359 | #include "confdefs.h" | ||
16512 | 14360 | ||
16513 | ac_cv_lib_krb_main=no | 14361 | /* Override any gcc2 internal prototype to avoid an error. */ |
14362 | #ifdef __cplusplus | ||
14363 | extern "C" | ||
14364 | #endif | ||
14365 | /* We use char because int might match the return type of a gcc2 | ||
14366 | builtin and then its argument prototype would still apply. */ | ||
14367 | char dn_expand (); | ||
14368 | int | ||
14369 | main () | ||
14370 | { | ||
14371 | dn_expand (); | ||
14372 | ; | ||
14373 | return 0; | ||
14374 | } | ||
14375 | _ACEOF | ||
14376 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14377 | if { (eval echo "$as_me:14377: \"$ac_link\"") >&5 | ||
14378 | (eval $ac_link) 2>&5 | ||
14379 | ac_status=$? | ||
14380 | echo "$as_me:14380: \$? = $ac_status" >&5 | ||
14381 | (exit $ac_status); } && | ||
14382 | { ac_try='test -s conftest$ac_exeext' | ||
14383 | { (eval echo "$as_me:14383: \"$ac_try\"") >&5 | ||
14384 | (eval $ac_try) 2>&5 | ||
14385 | ac_status=$? | ||
14386 | echo "$as_me:14386: \$? = $ac_status" >&5 | ||
14387 | (exit $ac_status); }; }; then | ||
14388 | ac_cv_search_dn_expand="-l$ac_lib" | ||
14389 | break | ||
14390 | else | ||
14391 | echo "$as_me: failed program was:" >&5 | ||
14392 | cat conftest.$ac_ext >&5 | ||
16514 | fi | 14393 | fi |
16515 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14394 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16516 | LIBS=$ac_check_lib_save_LIBS | 14395 | done |
16517 | fi | 14396 | fi |
16518 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb_main" >&5 | 14397 | LIBS=$ac_func_search_save_LIBS |
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 | 14398 | fi |
14399 | echo "$as_me:14399: result: $ac_cv_search_dn_expand" >&5 | ||
14400 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 | ||
14401 | if test "$ac_cv_search_dn_expand" != no; then | ||
14402 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" | ||
16528 | 14403 | ||
16529 | if test "$ac_cv_lib_krb_main" != yes; then | 14404 | fi |
16530 | 14405 | ||
16531 | echo "$as_me:$LINENO: checking for main in -lkrb4" >&5 | 14406 | for ac_func in _getshort _getlong |
16532 | echo $ECHO_N "checking for main in -lkrb4... $ECHO_C" >&6 | 14407 | do |
16533 | if test "${ac_cv_lib_krb4_main+set}" = set; then | 14408 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14409 | echo "$as_me:14409: checking for $ac_func" >&5 | ||
14410 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | ||
14411 | if eval "test \"\${$as_ac_var+set}\" = set"; then | ||
16534 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14412 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16535 | else | 14413 | else |
16536 | ac_check_lib_save_LIBS=$LIBS | 14414 | cat >conftest.$ac_ext <<_ACEOF |
16537 | LIBS="-lkrb4 $LIBS" | 14415 | #line 14415 "configure" |
16538 | cat >conftest.$ac_ext <<_ACEOF | 14416 | #include "confdefs.h" |
16539 | #line $LINENO "configure" | 14417 | /* System header to define __stub macros and hopefully few prototypes, |
16540 | /* confdefs.h. */ | 14418 | which can conflict with char $ac_func (); below. */ |
16541 | _ACEOF | 14419 | #include <assert.h> |
16542 | cat confdefs.h >>conftest.$ac_ext | 14420 | /* Override any gcc2 internal prototype to avoid an error. */ |
16543 | cat >>conftest.$ac_ext <<_ACEOF | 14421 | #ifdef __cplusplus |
16544 | /* end confdefs.h. */ | 14422 | extern "C" |
16545 | 14423 | #endif | |
14424 | /* We use char because int might match the return type of a gcc2 | ||
14425 | builtin and then its argument prototype would still apply. */ | ||
14426 | char $ac_func (); | ||
14427 | char (*f) (); | ||
16546 | 14428 | ||
16547 | int | 14429 | int |
16548 | main () | 14430 | main () |
16549 | { | 14431 | { |
16550 | main (); | 14432 | /* The GNU C library defines this for functions which it implements |
14433 | to always fail with ENOSYS. Some functions are actually named | ||
14434 | something starting with __ and the normal name is an alias. */ | ||
14435 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | ||
14436 | choke me | ||
14437 | #else | ||
14438 | f = $ac_func; | ||
14439 | #endif | ||
14440 | |||
16551 | ; | 14441 | ; |
16552 | return 0; | 14442 | return 0; |
16553 | } | 14443 | } |
16554 | _ACEOF | 14444 | _ACEOF |
16555 | rm -f conftest.$ac_objext conftest$ac_exeext | 14445 | rm -f conftest.$ac_objext conftest$ac_exeext |
16556 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14446 | if { (eval echo "$as_me:14446: \"$ac_link\"") >&5 |
16557 | (eval $ac_link) 2>&5 | 14447 | (eval $ac_link) 2>&5 |
16558 | ac_status=$? | 14448 | ac_status=$? |
16559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14449 | echo "$as_me:14449: \$? = $ac_status" >&5 |
16560 | (exit $ac_status); } && | 14450 | (exit $ac_status); } && |
16561 | { ac_try='test -s conftest$ac_exeext' | 14451 | { ac_try='test -s conftest$ac_exeext' |
16562 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14452 | { (eval echo "$as_me:14452: \"$ac_try\"") >&5 |
16563 | (eval $ac_try) 2>&5 | 14453 | (eval $ac_try) 2>&5 |
16564 | ac_status=$? | 14454 | ac_status=$? |
16565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14455 | echo "$as_me:14455: \$? = $ac_status" >&5 |
16566 | (exit $ac_status); }; }; then | 14456 | (exit $ac_status); }; }; then |
16567 | ac_cv_lib_krb4_main=yes | 14457 | eval "$as_ac_var=yes" |
16568 | else | 14458 | else |
16569 | echo "$as_me: failed program was:" >&5 | 14459 | echo "$as_me: failed program was:" >&5 |
16570 | sed 's/^/| /' conftest.$ac_ext >&5 | 14460 | cat conftest.$ac_ext >&5 |
16571 | 14461 | eval "$as_ac_var=no" | |
16572 | ac_cv_lib_krb4_main=no | ||
16573 | fi | 14462 | fi |
16574 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14463 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16575 | LIBS=$ac_check_lib_save_LIBS | ||
16576 | fi | 14464 | fi |
16577 | echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_main" >&5 | 14465 | echo "$as_me:14465: result: `eval echo '${'$as_ac_var'}'`" >&5 |
16578 | echo "${ECHO_T}$ac_cv_lib_krb4_main" >&6 | 14466 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
16579 | if test $ac_cv_lib_krb4_main = yes; then | 14467 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
16580 | cat >>confdefs.h <<_ACEOF | 14468 | cat >>confdefs.h <<EOF |
16581 | #define HAVE_LIBKRB4 1 | 14469 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14470 | EOF | ||
14471 | |||
14472 | fi | ||
14473 | done | ||
14474 | |||
14475 | echo "$as_me:14475: checking for HEADER.ad" >&5 | ||
14476 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 | ||
14477 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | ||
14478 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14479 | else | ||
14480 | cat >conftest.$ac_ext <<_ACEOF | ||
14481 | #line 14481 "configure" | ||
14482 | #include "confdefs.h" | ||
14483 | #include <arpa/nameser.h> | ||
14484 | |||
14485 | int | ||
14486 | main () | ||
14487 | { | ||
14488 | static HEADER ac_aggr; | ||
14489 | if (ac_aggr.ad) | ||
14490 | return 0; | ||
14491 | ; | ||
14492 | return 0; | ||
14493 | } | ||
16582 | _ACEOF | 14494 | _ACEOF |
14495 | rm -f conftest.$ac_objext | ||
14496 | if { (eval echo "$as_me:14496: \"$ac_compile\"") >&5 | ||
14497 | (eval $ac_compile) 2>&5 | ||
14498 | ac_status=$? | ||
14499 | echo "$as_me:14499: \$? = $ac_status" >&5 | ||
14500 | (exit $ac_status); } && | ||
14501 | { ac_try='test -s conftest.$ac_objext' | ||
14502 | { (eval echo "$as_me:14502: \"$ac_try\"") >&5 | ||
14503 | (eval $ac_try) 2>&5 | ||
14504 | ac_status=$? | ||
14505 | echo "$as_me:14505: \$? = $ac_status" >&5 | ||
14506 | (exit $ac_status); }; }; then | ||
14507 | ac_cv_member_HEADER_ad=yes | ||
14508 | else | ||
14509 | echo "$as_me: failed program was:" >&5 | ||
14510 | cat conftest.$ac_ext >&5 | ||
14511 | ac_cv_member_HEADER_ad=no | ||
14512 | fi | ||
14513 | rm -f conftest.$ac_objext conftest.$ac_ext | ||
14514 | fi | ||
14515 | echo "$as_me:14515: result: $ac_cv_member_HEADER_ad" >&5 | ||
14516 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 | ||
14517 | if test $ac_cv_member_HEADER_ad = yes; then | ||
14518 | cat >>confdefs.h <<\EOF | ||
14519 | #define HAVE_HEADER_AD 1 | ||
14520 | EOF | ||
16583 | 14521 | ||
16584 | LIBS="-lkrb4 $LIBS" | 14522 | fi |
16585 | 14523 | ||
16586 | fi | 14524 | fi |
16587 | 14525 | ||
16588 | if test "$ac_cv_lib_krb4_main" != yes; then | 14526 | fi |
16589 | { echo "$as_me:$LINENO: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&5 | 14527 | |
16590 | echo "$as_me: WARNING: Cannot find libkrb nor libkrb4, build may fail" >&2;} | 14528 | fi; |
16591 | else | 14529 | |
16592 | KLIBS="-lkrb4" | 14530 | # Check whether user wants Kerberos 5 support |
16593 | fi | 14531 | KRB5_MSG="no" |
16594 | else | 14532 | |
16595 | KLIBS="-lkrb" | 14533 | # Check whether --with-kerberos5 or --without-kerberos5 was given. |
16596 | fi | 14534 | if test "${with_kerberos5+set}" = set; then |
14535 | withval="$with_kerberos5" | ||
14536 | |||
14537 | if test "x$withval" != "xno" ; then | ||
14538 | if test "x$withval" = "xyes" ; then | ||
14539 | KRB5ROOT="/usr/local" | ||
14540 | else | ||
14541 | KRB5ROOT=${withval} | ||
14542 | fi | ||
14543 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | ||
14544 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | ||
14545 | cat >>confdefs.h <<\EOF | ||
14546 | #define KRB5 1 | ||
14547 | EOF | ||
14548 | |||
14549 | KRB5_MSG="yes" | ||
14550 | echo "$as_me:14550: checking whether we are using Heimdal" >&5 | ||
14551 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 | ||
14552 | cat >conftest.$ac_ext <<_ACEOF | ||
14553 | #line 14553 "configure" | ||
14554 | #include "confdefs.h" | ||
14555 | #include <krb5.h> | ||
14556 | int | ||
14557 | main () | ||
14558 | { | ||
14559 | char *tmp = heimdal_version; | ||
14560 | ; | ||
14561 | return 0; | ||
14562 | } | ||
14563 | _ACEOF | ||
14564 | rm -f conftest.$ac_objext | ||
14565 | if { (eval echo "$as_me:14565: \"$ac_compile\"") >&5 | ||
14566 | (eval $ac_compile) 2>&5 | ||
14567 | ac_status=$? | ||
14568 | echo "$as_me:14568: \$? = $ac_status" >&5 | ||
14569 | (exit $ac_status); } && | ||
14570 | { ac_try='test -s conftest.$ac_objext' | ||
14571 | { (eval echo "$as_me:14571: \"$ac_try\"") >&5 | ||
14572 | (eval $ac_try) 2>&5 | ||
14573 | ac_status=$? | ||
14574 | echo "$as_me:14574: \$? = $ac_status" >&5 | ||
14575 | (exit $ac_status); }; }; then | ||
14576 | echo "$as_me:14576: result: yes" >&5 | ||
14577 | echo "${ECHO_T}yes" >&6 | ||
14578 | cat >>confdefs.h <<\EOF | ||
14579 | #define HEIMDAL 1 | ||
14580 | EOF | ||
14581 | |||
14582 | K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken" | ||
14583 | |||
14584 | else | ||
14585 | echo "$as_me: failed program was:" >&5 | ||
14586 | cat conftest.$ac_ext >&5 | ||
14587 | echo "$as_me:14587: result: no" >&5 | ||
14588 | echo "${ECHO_T}no" >&6 | ||
14589 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | ||
16597 | 14590 | ||
16598 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 14591 | fi |
16599 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | 14592 | rm -f conftest.$ac_objext conftest.$ac_ext |
16600 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 14593 | if test ! -z "$need_dash_r" ; then |
14594 | LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib" | ||
14595 | fi | ||
14596 | if test ! -z "$blibpath" ; then | ||
14597 | blibpath="$blibpath:${KRB5ROOT}/lib" | ||
14598 | fi | ||
14599 | echo "$as_me:14599: checking for library containing dn_expand" >&5 | ||
14600 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 | ||
14601 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
16601 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14602 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16602 | else | 14603 | else |
16603 | ac_check_lib_save_LIBS=$LIBS | 14604 | ac_func_search_save_LIBS=$LIBS |
16604 | LIBS="-ldes $LIBS" | 14605 | ac_cv_search_dn_expand=no |
16605 | cat >conftest.$ac_ext <<_ACEOF | 14606 | cat >conftest.$ac_ext <<_ACEOF |
16606 | #line $LINENO "configure" | 14607 | #line 14607 "configure" |
16607 | /* confdefs.h. */ | 14608 | #include "confdefs.h" |
16608 | _ACEOF | ||
16609 | cat confdefs.h >>conftest.$ac_ext | ||
16610 | cat >>conftest.$ac_ext <<_ACEOF | ||
16611 | /* end confdefs.h. */ | ||
16612 | 14609 | ||
16613 | /* Override any gcc2 internal prototype to avoid an error. */ | 14610 | /* Override any gcc2 internal prototype to avoid an error. */ |
16614 | #ifdef __cplusplus | 14611 | #ifdef __cplusplus |
@@ -16616,64 +14613,95 @@ extern "C" | |||
16616 | #endif | 14613 | #endif |
16617 | /* We use char because int might match the return type of a gcc2 | 14614 | /* We use char because int might match the return type of a gcc2 |
16618 | builtin and then its argument prototype would still apply. */ | 14615 | builtin and then its argument prototype would still apply. */ |
16619 | char des_cbc_encrypt (); | 14616 | char dn_expand (); |
16620 | int | 14617 | int |
16621 | main () | 14618 | main () |
16622 | { | 14619 | { |
16623 | des_cbc_encrypt (); | 14620 | dn_expand (); |
16624 | ; | 14621 | ; |
16625 | return 0; | 14622 | return 0; |
16626 | } | 14623 | } |
16627 | _ACEOF | 14624 | _ACEOF |
16628 | rm -f conftest.$ac_objext conftest$ac_exeext | 14625 | rm -f conftest.$ac_objext conftest$ac_exeext |
16629 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14626 | if { (eval echo "$as_me:14626: \"$ac_link\"") >&5 |
16630 | (eval $ac_link) 2>&5 | 14627 | (eval $ac_link) 2>&5 |
16631 | ac_status=$? | 14628 | ac_status=$? |
16632 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14629 | echo "$as_me:14629: \$? = $ac_status" >&5 |
16633 | (exit $ac_status); } && | 14630 | (exit $ac_status); } && |
16634 | { ac_try='test -s conftest$ac_exeext' | 14631 | { ac_try='test -s conftest$ac_exeext' |
16635 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14632 | { (eval echo "$as_me:14632: \"$ac_try\"") >&5 |
16636 | (eval $ac_try) 2>&5 | 14633 | (eval $ac_try) 2>&5 |
16637 | ac_status=$? | 14634 | ac_status=$? |
16638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14635 | echo "$as_me:14635: \$? = $ac_status" >&5 |
16639 | (exit $ac_status); }; }; then | 14636 | (exit $ac_status); }; }; then |
16640 | ac_cv_lib_des_des_cbc_encrypt=yes | 14637 | ac_cv_search_dn_expand="none required" |
16641 | else | 14638 | else |
16642 | echo "$as_me: failed program was:" >&5 | 14639 | echo "$as_me: failed program was:" >&5 |
16643 | sed 's/^/| /' conftest.$ac_ext >&5 | 14640 | cat conftest.$ac_ext >&5 |
14641 | fi | ||
14642 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | ||
14643 | if test "$ac_cv_search_dn_expand" = no; then | ||
14644 | for ac_lib in resolv; do | ||
14645 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | ||
14646 | cat >conftest.$ac_ext <<_ACEOF | ||
14647 | #line 14647 "configure" | ||
14648 | #include "confdefs.h" | ||
16644 | 14649 | ||
16645 | ac_cv_lib_des_des_cbc_encrypt=no | 14650 | /* Override any gcc2 internal prototype to avoid an error. */ |
14651 | #ifdef __cplusplus | ||
14652 | extern "C" | ||
14653 | #endif | ||
14654 | /* We use char because int might match the return type of a gcc2 | ||
14655 | builtin and then its argument prototype would still apply. */ | ||
14656 | char dn_expand (); | ||
14657 | int | ||
14658 | main () | ||
14659 | { | ||
14660 | dn_expand (); | ||
14661 | ; | ||
14662 | return 0; | ||
14663 | } | ||
14664 | _ACEOF | ||
14665 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14666 | if { (eval echo "$as_me:14666: \"$ac_link\"") >&5 | ||
14667 | (eval $ac_link) 2>&5 | ||
14668 | ac_status=$? | ||
14669 | echo "$as_me:14669: \$? = $ac_status" >&5 | ||
14670 | (exit $ac_status); } && | ||
14671 | { ac_try='test -s conftest$ac_exeext' | ||
14672 | { (eval echo "$as_me:14672: \"$ac_try\"") >&5 | ||
14673 | (eval $ac_try) 2>&5 | ||
14674 | ac_status=$? | ||
14675 | echo "$as_me:14675: \$? = $ac_status" >&5 | ||
14676 | (exit $ac_status); }; }; then | ||
14677 | ac_cv_search_dn_expand="-l$ac_lib" | ||
14678 | break | ||
14679 | else | ||
14680 | echo "$as_me: failed program was:" >&5 | ||
14681 | cat conftest.$ac_ext >&5 | ||
16646 | fi | 14682 | fi |
16647 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14683 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16648 | LIBS=$ac_check_lib_save_LIBS | 14684 | done |
16649 | fi | 14685 | fi |
16650 | echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 14686 | LIBS=$ac_func_search_save_LIBS |
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 | 14687 | fi |
14688 | echo "$as_me:14688: result: $ac_cv_search_dn_expand" >&5 | ||
14689 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 | ||
14690 | if test "$ac_cv_search_dn_expand" != no; then | ||
14691 | test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" | ||
16660 | 14692 | ||
16661 | if test "$ac_cv_lib_des_des_cbc_encrypt" != yes; then | 14693 | fi |
16662 | 14694 | ||
16663 | echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | 14695 | echo "$as_me:14695: checking for gss_init_sec_context in -lgssapi" >&5 |
16664 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | 14696 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 |
16665 | if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 14697 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then |
16666 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16667 | else | 14699 | else |
16668 | ac_check_lib_save_LIBS=$LIBS | 14700 | ac_check_lib_save_LIBS=$LIBS |
16669 | LIBS="-ldes425 $LIBS" | 14701 | LIBS="-lgssapi $K5LIBS $LIBS" |
16670 | cat >conftest.$ac_ext <<_ACEOF | 14702 | cat >conftest.$ac_ext <<_ACEOF |
16671 | #line $LINENO "configure" | 14703 | #line 14703 "configure" |
16672 | /* confdefs.h. */ | 14704 | #include "confdefs.h" |
16673 | _ACEOF | ||
16674 | cat confdefs.h >>conftest.$ac_ext | ||
16675 | cat >>conftest.$ac_ext <<_ACEOF | ||
16676 | /* end confdefs.h. */ | ||
16677 | 14705 | ||
16678 | /* Override any gcc2 internal prototype to avoid an error. */ | 14706 | /* Override any gcc2 internal prototype to avoid an error. */ |
16679 | #ifdef __cplusplus | 14707 | #ifdef __cplusplus |
@@ -16681,72 +14709,55 @@ extern "C" | |||
16681 | #endif | 14709 | #endif |
16682 | /* We use char because int might match the return type of a gcc2 | 14710 | /* We use char because int might match the return type of a gcc2 |
16683 | builtin and then its argument prototype would still apply. */ | 14711 | builtin and then its argument prototype would still apply. */ |
16684 | char des_cbc_encrypt (); | 14712 | char gss_init_sec_context (); |
16685 | int | 14713 | int |
16686 | main () | 14714 | main () |
16687 | { | 14715 | { |
16688 | des_cbc_encrypt (); | 14716 | gss_init_sec_context (); |
16689 | ; | 14717 | ; |
16690 | return 0; | 14718 | return 0; |
16691 | } | 14719 | } |
16692 | _ACEOF | 14720 | _ACEOF |
16693 | rm -f conftest.$ac_objext conftest$ac_exeext | 14721 | rm -f conftest.$ac_objext conftest$ac_exeext |
16694 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14722 | if { (eval echo "$as_me:14722: \"$ac_link\"") >&5 |
16695 | (eval $ac_link) 2>&5 | 14723 | (eval $ac_link) 2>&5 |
16696 | ac_status=$? | 14724 | ac_status=$? |
16697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14725 | echo "$as_me:14725: \$? = $ac_status" >&5 |
16698 | (exit $ac_status); } && | 14726 | (exit $ac_status); } && |
16699 | { ac_try='test -s conftest$ac_exeext' | 14727 | { ac_try='test -s conftest$ac_exeext' |
16700 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14728 | { (eval echo "$as_me:14728: \"$ac_try\"") >&5 |
16701 | (eval $ac_try) 2>&5 | 14729 | (eval $ac_try) 2>&5 |
16702 | ac_status=$? | 14730 | ac_status=$? |
16703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14731 | echo "$as_me:14731: \$? = $ac_status" >&5 |
16704 | (exit $ac_status); }; }; then | 14732 | (exit $ac_status); }; }; then |
16705 | ac_cv_lib_des425_des_cbc_encrypt=yes | 14733 | ac_cv_lib_gssapi_gss_init_sec_context=yes |
16706 | else | 14734 | else |
16707 | echo "$as_me: failed program was:" >&5 | 14735 | echo "$as_me: failed program was:" >&5 |
16708 | sed 's/^/| /' conftest.$ac_ext >&5 | 14736 | cat conftest.$ac_ext >&5 |
16709 | 14737 | ac_cv_lib_gssapi_gss_init_sec_context=no | |
16710 | ac_cv_lib_des425_des_cbc_encrypt=no | ||
16711 | fi | 14738 | fi |
16712 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14739 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16713 | LIBS=$ac_check_lib_save_LIBS | 14740 | LIBS=$ac_check_lib_save_LIBS |
16714 | fi | 14741 | fi |
16715 | echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 14742 | echo "$as_me:14742: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 |
16716 | echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | 14743 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 |
16717 | if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 14744 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then |
16718 | cat >>confdefs.h <<_ACEOF | 14745 | cat >>confdefs.h <<\EOF |
16719 | #define HAVE_LIBDES425 1 | 14746 | #define GSSAPI 1 |
16720 | _ACEOF | 14747 | EOF |
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 | 14748 | ||
16736 | echo "$as_me:$LINENO: checking for dn_expand in -lresolv" >&5 | 14749 | K5LIBS="-lgssapi $K5LIBS" |
16737 | echo $ECHO_N "checking for dn_expand in -lresolv... $ECHO_C" >&6 | 14750 | else |
16738 | if test "${ac_cv_lib_resolv_dn_expand+set}" = set; then | 14751 | echo "$as_me:14751: checking for gss_init_sec_context in -lgssapi_krb5" >&5 |
14752 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 | ||
14753 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then | ||
16739 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14754 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16740 | else | 14755 | else |
16741 | ac_check_lib_save_LIBS=$LIBS | 14756 | ac_check_lib_save_LIBS=$LIBS |
16742 | LIBS="-lresolv $LIBS" | 14757 | LIBS="-lgssapi_krb5 $K5LIBS $LIBS" |
16743 | cat >conftest.$ac_ext <<_ACEOF | 14758 | cat >conftest.$ac_ext <<_ACEOF |
16744 | #line $LINENO "configure" | 14759 | #line 14759 "configure" |
16745 | /* confdefs.h. */ | 14760 | #include "confdefs.h" |
16746 | _ACEOF | ||
16747 | cat confdefs.h >>conftest.$ac_ext | ||
16748 | cat >>conftest.$ac_ext <<_ACEOF | ||
16749 | /* end confdefs.h. */ | ||
16750 | 14761 | ||
16751 | /* Override any gcc2 internal prototype to avoid an error. */ | 14762 | /* Override any gcc2 internal prototype to avoid an error. */ |
16752 | #ifdef __cplusplus | 14763 | #ifdef __cplusplus |
@@ -16754,92 +14765,198 @@ extern "C" | |||
16754 | #endif | 14765 | #endif |
16755 | /* We use char because int might match the return type of a gcc2 | 14766 | /* We use char because int might match the return type of a gcc2 |
16756 | builtin and then its argument prototype would still apply. */ | 14767 | builtin and then its argument prototype would still apply. */ |
16757 | char dn_expand (); | 14768 | char gss_init_sec_context (); |
16758 | int | 14769 | int |
16759 | main () | 14770 | main () |
16760 | { | 14771 | { |
16761 | dn_expand (); | 14772 | gss_init_sec_context (); |
16762 | ; | 14773 | ; |
16763 | return 0; | 14774 | return 0; |
16764 | } | 14775 | } |
16765 | _ACEOF | 14776 | _ACEOF |
16766 | rm -f conftest.$ac_objext conftest$ac_exeext | 14777 | rm -f conftest.$ac_objext conftest$ac_exeext |
16767 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14778 | if { (eval echo "$as_me:14778: \"$ac_link\"") >&5 |
16768 | (eval $ac_link) 2>&5 | 14779 | (eval $ac_link) 2>&5 |
16769 | ac_status=$? | 14780 | ac_status=$? |
16770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14781 | echo "$as_me:14781: \$? = $ac_status" >&5 |
16771 | (exit $ac_status); } && | 14782 | (exit $ac_status); } && |
16772 | { ac_try='test -s conftest$ac_exeext' | 14783 | { ac_try='test -s conftest$ac_exeext' |
16773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14784 | { (eval echo "$as_me:14784: \"$ac_try\"") >&5 |
16774 | (eval $ac_try) 2>&5 | 14785 | (eval $ac_try) 2>&5 |
16775 | ac_status=$? | 14786 | ac_status=$? |
16776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14787 | echo "$as_me:14787: \$? = $ac_status" >&5 |
16777 | (exit $ac_status); }; }; then | 14788 | (exit $ac_status); }; }; then |
16778 | ac_cv_lib_resolv_dn_expand=yes | 14789 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes |
16779 | else | 14790 | else |
16780 | echo "$as_me: failed program was:" >&5 | 14791 | echo "$as_me: failed program was:" >&5 |
16781 | sed 's/^/| /' conftest.$ac_ext >&5 | 14792 | cat conftest.$ac_ext >&5 |
16782 | 14793 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no | |
16783 | ac_cv_lib_resolv_dn_expand=no | ||
16784 | fi | 14794 | fi |
16785 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 14795 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16786 | LIBS=$ac_check_lib_save_LIBS | 14796 | LIBS=$ac_check_lib_save_LIBS |
16787 | fi | 14797 | fi |
16788 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5 | 14798 | echo "$as_me:14798: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 |
16789 | echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6 | 14799 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 |
16790 | if test $ac_cv_lib_resolv_dn_expand = yes; then | 14800 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then |
16791 | cat >>confdefs.h <<_ACEOF | 14801 | cat >>confdefs.h <<\EOF |
16792 | #define HAVE_LIBRESOLV 1 | 14802 | #define GSSAPI 1 |
16793 | _ACEOF | 14803 | EOF |
16794 | 14804 | ||
16795 | LIBS="-lresolv $LIBS" | 14805 | K5LIBS="-lgssapi_krb5 $K5LIBS" |
14806 | else | ||
14807 | { echo "$as_me:14807: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 | ||
14808 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} | ||
14809 | fi | ||
16796 | 14810 | ||
16797 | fi | 14811 | fi |
16798 | 14812 | ||
16799 | KRB4=yes | 14813 | echo "$as_me:14813: checking for gssapi.h" >&5 |
16800 | KRB4_MSG="yes" | 14814 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 |
16801 | cat >>confdefs.h <<\_ACEOF | 14815 | if test "${ac_cv_header_gssapi_h+set}" = set; then |
16802 | #define KRB4 1 | 14816 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14817 | else | ||
14818 | cat >conftest.$ac_ext <<_ACEOF | ||
14819 | #line 14819 "configure" | ||
14820 | #include "confdefs.h" | ||
14821 | #include <gssapi.h> | ||
16803 | _ACEOF | 14822 | _ACEOF |
14823 | if { (eval echo "$as_me:14823: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
14824 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
14825 | ac_status=$? | ||
14826 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
14827 | rm -f conftest.er1 | ||
14828 | cat conftest.err >&5 | ||
14829 | echo "$as_me:14829: \$? = $ac_status" >&5 | ||
14830 | (exit $ac_status); } >/dev/null; then | ||
14831 | if test -s conftest.err; then | ||
14832 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
14833 | else | ||
14834 | ac_cpp_err= | ||
14835 | fi | ||
14836 | else | ||
14837 | ac_cpp_err=yes | ||
14838 | fi | ||
14839 | if test -z "$ac_cpp_err"; then | ||
14840 | ac_cv_header_gssapi_h=yes | ||
14841 | else | ||
14842 | echo "$as_me: failed program was:" >&5 | ||
14843 | cat conftest.$ac_ext >&5 | ||
14844 | ac_cv_header_gssapi_h=no | ||
14845 | fi | ||
14846 | rm -f conftest.err conftest.$ac_ext | ||
14847 | fi | ||
14848 | echo "$as_me:14848: result: $ac_cv_header_gssapi_h" >&5 | ||
14849 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 | ||
14850 | if test $ac_cv_header_gssapi_h = yes; then | ||
14851 | : | ||
14852 | else | ||
14853 | unset ac_cv_header_gssapi_h | ||
14854 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | ||
16804 | 14855 | ||
16805 | fi | 14856 | for ac_header in gssapi.h |
16806 | 14857 | do | |
16807 | 14858 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
16808 | fi; | 14859 | echo "$as_me:14859: checking for $ac_header" >&5 |
16809 | 14860 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
16810 | # Check whether user wants AFS support | 14861 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
16811 | AFS_MSG="no" | 14862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16812 | 14863 | else | |
16813 | # Check whether --with-afs or --without-afs was given. | 14864 | cat >conftest.$ac_ext <<_ACEOF |
16814 | if test "${with_afs+set}" = set; then | 14865 | #line 14865 "configure" |
16815 | withval="$with_afs" | 14866 | #include "confdefs.h" |
14867 | #include <$ac_header> | ||
14868 | _ACEOF | ||
14869 | if { (eval echo "$as_me:14869: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
14870 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
14871 | ac_status=$? | ||
14872 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
14873 | rm -f conftest.er1 | ||
14874 | cat conftest.err >&5 | ||
14875 | echo "$as_me:14875: \$? = $ac_status" >&5 | ||
14876 | (exit $ac_status); } >/dev/null; then | ||
14877 | if test -s conftest.err; then | ||
14878 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
14879 | else | ||
14880 | ac_cpp_err= | ||
14881 | fi | ||
14882 | else | ||
14883 | ac_cpp_err=yes | ||
14884 | fi | ||
14885 | if test -z "$ac_cpp_err"; then | ||
14886 | eval "$as_ac_Header=yes" | ||
14887 | else | ||
14888 | echo "$as_me: failed program was:" >&5 | ||
14889 | cat conftest.$ac_ext >&5 | ||
14890 | eval "$as_ac_Header=no" | ||
14891 | fi | ||
14892 | rm -f conftest.err conftest.$ac_ext | ||
14893 | fi | ||
14894 | echo "$as_me:14894: result: `eval echo '${'$as_ac_Header'}'`" >&5 | ||
14895 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | ||
14896 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
14897 | cat >>confdefs.h <<EOF | ||
14898 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | ||
14899 | EOF | ||
16816 | 14900 | ||
16817 | if test "x$withval" != "xno" ; then | 14901 | else |
14902 | { echo "$as_me:14902: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 | ||
14903 | echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} | ||
16818 | 14904 | ||
16819 | if test "x$withval" != "xyes" ; then | 14905 | fi |
16820 | CPPFLAGS="$CPPFLAGS -I${withval}/include" | 14906 | done |
16821 | LDFLAGS="$LDFLAGS -L${withval}/lib" | ||
16822 | fi | ||
16823 | 14907 | ||
16824 | if test -z "$KRB4" ; then | 14908 | fi |
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 | 14909 | ||
16829 | LIBS="-lkafs $LIBS" | 14910 | oldCPP="$CPPFLAGS" |
16830 | if test ! -z "$AFS_LIBS" ; then | 14911 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
16831 | LIBS="$LIBS $AFS_LIBS" | 14912 | echo "$as_me:14912: checking for gssapi_krb5.h" >&5 |
16832 | fi | 14913 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 |
16833 | cat >>confdefs.h <<\_ACEOF | 14914 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
16834 | #define AFS 1 | 14915 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14916 | else | ||
14917 | cat >conftest.$ac_ext <<_ACEOF | ||
14918 | #line 14918 "configure" | ||
14919 | #include "confdefs.h" | ||
14920 | #include <gssapi_krb5.h> | ||
16835 | _ACEOF | 14921 | _ACEOF |
14922 | if { (eval echo "$as_me:14922: \"$ac_cpp conftest.$ac_ext\"") >&5 | ||
14923 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | ||
14924 | ac_status=$? | ||
14925 | egrep -v '^ *\+' conftest.er1 >conftest.err | ||
14926 | rm -f conftest.er1 | ||
14927 | cat conftest.err >&5 | ||
14928 | echo "$as_me:14928: \$? = $ac_status" >&5 | ||
14929 | (exit $ac_status); } >/dev/null; then | ||
14930 | if test -s conftest.err; then | ||
14931 | ac_cpp_err=$ac_c_preproc_warn_flag | ||
14932 | else | ||
14933 | ac_cpp_err= | ||
14934 | fi | ||
14935 | else | ||
14936 | ac_cpp_err=yes | ||
14937 | fi | ||
14938 | if test -z "$ac_cpp_err"; then | ||
14939 | ac_cv_header_gssapi_krb5_h=yes | ||
14940 | else | ||
14941 | echo "$as_me: failed program was:" >&5 | ||
14942 | cat conftest.$ac_ext >&5 | ||
14943 | ac_cv_header_gssapi_krb5_h=no | ||
14944 | fi | ||
14945 | rm -f conftest.err conftest.$ac_ext | ||
14946 | fi | ||
14947 | echo "$as_me:14947: result: $ac_cv_header_gssapi_krb5_h" >&5 | ||
14948 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 | ||
14949 | if test $ac_cv_header_gssapi_krb5_h = yes; then | ||
14950 | : | ||
14951 | else | ||
14952 | CPPFLAGS="$oldCPP" | ||
14953 | fi | ||
16836 | 14954 | ||
16837 | AFS_MSG="yes" | 14955 | KRB5=yes |
16838 | fi | 14956 | fi |
16839 | |||
16840 | 14957 | ||
16841 | fi; | 14958 | fi; |
16842 | LIBS="$LIBS $KLIBS $K5LIBS" | 14959 | LIBS="$LIBS $K5LIBS" |
16843 | 14960 | ||
16844 | # Looking for programs, paths and files | 14961 | # Looking for programs, paths and files |
16845 | 14962 | ||
@@ -16853,11 +14970,8 @@ if test "${with_privsep_path+set}" = set; then | |||
16853 | PRIVSEP_PATH=$withval | 14970 | PRIVSEP_PATH=$withval |
16854 | fi | 14971 | fi |
16855 | 14972 | ||
16856 | |||
16857 | fi; | 14973 | fi; |
16858 | 14974 | ||
16859 | |||
16860 | |||
16861 | # Check whether --with-xauth or --without-xauth was given. | 14975 | # Check whether --with-xauth or --without-xauth was given. |
16862 | if test "${with_xauth+set}" = set; then | 14976 | if test "${with_xauth+set}" = set; then |
16863 | withval="$with_xauth" | 14977 | withval="$with_xauth" |
@@ -16875,7 +14989,7 @@ else | |||
16875 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | 14989 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" |
16876 | # Extract the first word of "xauth", so it can be a program name with args. | 14990 | # Extract the first word of "xauth", so it can be a program name with args. |
16877 | set dummy xauth; ac_word=$2 | 14991 | set dummy xauth; ac_word=$2 |
16878 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 14992 | echo "$as_me:14992: checking for $ac_word" >&5 |
16879 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 14993 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
16880 | if test "${ac_cv_path_xauth_path+set}" = set; then | 14994 | if test "${ac_cv_path_xauth_path+set}" = set; then |
16881 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14995 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -16885,18 +14999,16 @@ else | |||
16885 | ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path. | 14999 | ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path. |
16886 | ;; | 15000 | ;; |
16887 | *) | 15001 | *) |
16888 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 15002 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
16889 | for as_dir in $TestPath | 15003 | ac_dummy="$TestPath" |
16890 | do | 15004 | for ac_dir in $ac_dummy; do |
16891 | IFS=$as_save_IFS | 15005 | IFS=$ac_save_IFS |
16892 | test -z "$as_dir" && as_dir=. | 15006 | test -z "$ac_dir" && ac_dir=. |
16893 | for ac_exec_ext in '' $ac_executable_extensions; do | 15007 | if $as_executable_p "$ac_dir/$ac_word"; then |
16894 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 15008 | ac_cv_path_xauth_path="$ac_dir/$ac_word" |
16895 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" | 15009 | echo "$as_me:15009: found $ac_dir/$ac_word" >&5 |
16896 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 15010 | break |
16897 | break 2 | 15011 | fi |
16898 | fi | ||
16899 | done | ||
16900 | done | 15012 | done |
16901 | 15013 | ||
16902 | ;; | 15014 | ;; |
@@ -16905,10 +15017,10 @@ fi | |||
16905 | xauth_path=$ac_cv_path_xauth_path | 15017 | xauth_path=$ac_cv_path_xauth_path |
16906 | 15018 | ||
16907 | if test -n "$xauth_path"; then | 15019 | if test -n "$xauth_path"; then |
16908 | echo "$as_me:$LINENO: result: $xauth_path" >&5 | 15020 | echo "$as_me:15020: result: $xauth_path" >&5 |
16909 | echo "${ECHO_T}$xauth_path" >&6 | 15021 | echo "${ECHO_T}$xauth_path" >&6 |
16910 | else | 15022 | else |
16911 | echo "$as_me:$LINENO: result: no" >&5 | 15023 | echo "$as_me:15023: result: no" >&5 |
16912 | echo "${ECHO_T}no" >&6 | 15024 | echo "${ECHO_T}no" >&6 |
16913 | fi | 15025 | fi |
16914 | 15026 | ||
@@ -16916,7 +15028,6 @@ fi | |||
16916 | xauth_path="/usr/openwin/bin/xauth" | 15028 | xauth_path="/usr/openwin/bin/xauth" |
16917 | fi | 15029 | fi |
16918 | 15030 | ||
16919 | |||
16920 | fi; | 15031 | fi; |
16921 | 15032 | ||
16922 | STRIP_OPT=-s | 15033 | STRIP_OPT=-s |
@@ -16928,17 +15039,15 @@ if test "${enable_strip+set}" = set; then | |||
16928 | STRIP_OPT= | 15039 | STRIP_OPT= |
16929 | fi | 15040 | fi |
16930 | 15041 | ||
16931 | |||
16932 | fi; | 15042 | fi; |
16933 | 15043 | ||
16934 | |||
16935 | if test -z "$xauth_path" ; then | 15044 | if test -z "$xauth_path" ; then |
16936 | XAUTH_PATH="undefined" | 15045 | XAUTH_PATH="undefined" |
16937 | 15046 | ||
16938 | else | 15047 | else |
16939 | cat >>confdefs.h <<_ACEOF | 15048 | cat >>confdefs.h <<EOF |
16940 | #define XAUTH_PATH "$xauth_path" | 15049 | #define XAUTH_PATH "$xauth_path" |
16941 | _ACEOF | 15050 | EOF |
16942 | 15051 | ||
16943 | XAUTH_PATH=$xauth_path | 15052 | XAUTH_PATH=$xauth_path |
16944 | 15053 | ||
@@ -16947,21 +15056,21 @@ fi | |||
16947 | # Check for mail directory (last resort if we cannot get it from headers) | 15056 | # Check for mail directory (last resort if we cannot get it from headers) |
16948 | if test ! -z "$MAIL" ; then | 15057 | if test ! -z "$MAIL" ; then |
16949 | maildir=`dirname $MAIL` | 15058 | maildir=`dirname $MAIL` |
16950 | cat >>confdefs.h <<_ACEOF | 15059 | cat >>confdefs.h <<EOF |
16951 | #define MAIL_DIRECTORY "$maildir" | 15060 | #define MAIL_DIRECTORY "$maildir" |
16952 | _ACEOF | 15061 | EOF |
16953 | 15062 | ||
16954 | fi | 15063 | fi |
16955 | 15064 | ||
16956 | if test -z "$no_dev_ptmx" ; then | 15065 | if test -z "$no_dev_ptmx" ; then |
16957 | if test "x$disable_ptmx_check" != "xyes" ; then | 15066 | if test "x$disable_ptmx_check" != "xyes" ; then |
16958 | echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 | 15067 | echo "$as_me:15067: checking for \"/dev/ptmx\"" >&5 |
16959 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 | 15068 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 |
16960 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | 15069 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then |
16961 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15070 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16962 | else | 15071 | else |
16963 | test "$cross_compiling" = yes && | 15072 | test "$cross_compiling" = yes && |
16964 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | 15073 | { { echo "$as_me:15073: error: cannot check for file existence when cross compiling" >&5 |
16965 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | 15074 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
16966 | { (exit 1); exit 1; }; } | 15075 | { (exit 1); exit 1; }; } |
16967 | if test -r ""/dev/ptmx""; then | 15076 | if test -r ""/dev/ptmx""; then |
@@ -16970,28 +15079,27 @@ else | |||
16970 | ac_cv_file___dev_ptmx_=no | 15079 | ac_cv_file___dev_ptmx_=no |
16971 | fi | 15080 | fi |
16972 | fi | 15081 | fi |
16973 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 | 15082 | echo "$as_me:15082: result: $ac_cv_file___dev_ptmx_" >&5 |
16974 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 | 15083 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 |
16975 | if test $ac_cv_file___dev_ptmx_ = yes; then | 15084 | if test $ac_cv_file___dev_ptmx_ = yes; then |
16976 | 15085 | ||
16977 | cat >>confdefs.h <<_ACEOF | 15086 | cat >>confdefs.h <<EOF |
16978 | #define HAVE_DEV_PTMX 1 | 15087 | #define HAVE_DEV_PTMX 1 |
16979 | _ACEOF | 15088 | EOF |
16980 | 15089 | ||
16981 | have_dev_ptmx=1 | 15090 | have_dev_ptmx=1 |
16982 | 15091 | ||
16983 | |||
16984 | fi | 15092 | fi |
16985 | 15093 | ||
16986 | fi | 15094 | fi |
16987 | fi | 15095 | fi |
16988 | echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | 15096 | echo "$as_me:15096: checking for \"/dev/ptc\"" >&5 |
16989 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 | 15097 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 |
16990 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | 15098 | if test "${ac_cv_file___dev_ptc_+set}" = set; then |
16991 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15099 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16992 | else | 15100 | else |
16993 | test "$cross_compiling" = yes && | 15101 | test "$cross_compiling" = yes && |
16994 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | 15102 | { { echo "$as_me:15102: error: cannot check for file existence when cross compiling" >&5 |
16995 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | 15103 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} |
16996 | { (exit 1); exit 1; }; } | 15104 | { (exit 1); exit 1; }; } |
16997 | if test -r ""/dev/ptc""; then | 15105 | if test -r ""/dev/ptc""; then |
@@ -17000,20 +15108,18 @@ else | |||
17000 | ac_cv_file___dev_ptc_=no | 15108 | ac_cv_file___dev_ptc_=no |
17001 | fi | 15109 | fi |
17002 | fi | 15110 | fi |
17003 | echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 | 15111 | echo "$as_me:15111: result: $ac_cv_file___dev_ptc_" >&5 |
17004 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 | 15112 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 |
17005 | if test $ac_cv_file___dev_ptc_ = yes; then | 15113 | if test $ac_cv_file___dev_ptc_ = yes; then |
17006 | 15114 | ||
17007 | cat >>confdefs.h <<_ACEOF | 15115 | cat >>confdefs.h <<EOF |
17008 | #define HAVE_DEV_PTS_AND_PTC 1 | 15116 | #define HAVE_DEV_PTS_AND_PTC 1 |
17009 | _ACEOF | 15117 | EOF |
17010 | 15118 | ||
17011 | have_dev_ptc=1 | 15119 | have_dev_ptc=1 |
17012 | 15120 | ||
17013 | |||
17014 | fi | 15121 | fi |
17015 | 15122 | ||
17016 | |||
17017 | # Options from here on. Some of these are preset by platform above | 15123 | # Options from here on. Some of these are preset by platform above |
17018 | 15124 | ||
17019 | # Check whether --with-mantype or --without-mantype was given. | 15125 | # Check whether --with-mantype or --without-mantype was given. |
@@ -17025,13 +15131,12 @@ if test "${with_mantype+set}" = set; then | |||
17025 | MANTYPE=$withval | 15131 | MANTYPE=$withval |
17026 | ;; | 15132 | ;; |
17027 | *) | 15133 | *) |
17028 | { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 | 15134 | { { echo "$as_me:15134: error: invalid man type: $withval" >&5 |
17029 | echo "$as_me: error: invalid man type: $withval" >&2;} | 15135 | echo "$as_me: error: invalid man type: $withval" >&2;} |
17030 | { (exit 1); exit 1; }; } | 15136 | { (exit 1); exit 1; }; } |
17031 | ;; | 15137 | ;; |
17032 | esac | 15138 | esac |
17033 | 15139 | ||
17034 | |||
17035 | fi; | 15140 | fi; |
17036 | if test -z "$MANTYPE"; then | 15141 | if test -z "$MANTYPE"; then |
17037 | TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" | 15142 | TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" |
@@ -17039,7 +15144,7 @@ if test -z "$MANTYPE"; then | |||
17039 | do | 15144 | do |
17040 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 15145 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
17041 | set dummy $ac_prog; ac_word=$2 | 15146 | set dummy $ac_prog; ac_word=$2 |
17042 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 15147 | echo "$as_me:15147: checking for $ac_word" >&5 |
17043 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 15148 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
17044 | if test "${ac_cv_path_NROFF+set}" = set; then | 15149 | if test "${ac_cv_path_NROFF+set}" = set; then |
17045 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15150 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
@@ -17049,18 +15154,16 @@ else | |||
17049 | ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. | 15154 | ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. |
17050 | ;; | 15155 | ;; |
17051 | *) | 15156 | *) |
17052 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 15157 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
17053 | for as_dir in $TestPath | 15158 | ac_dummy="$TestPath" |
17054 | do | 15159 | for ac_dir in $ac_dummy; do |
17055 | IFS=$as_save_IFS | 15160 | IFS=$ac_save_IFS |
17056 | test -z "$as_dir" && as_dir=. | 15161 | test -z "$ac_dir" && ac_dir=. |
17057 | for ac_exec_ext in '' $ac_executable_extensions; do | 15162 | if $as_executable_p "$ac_dir/$ac_word"; then |
17058 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 15163 | ac_cv_path_NROFF="$ac_dir/$ac_word" |
17059 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | 15164 | echo "$as_me:15164: found $ac_dir/$ac_word" >&5 |
17060 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 15165 | break |
17061 | break 2 | 15166 | fi |
17062 | fi | ||
17063 | done | ||
17064 | done | 15167 | done |
17065 | 15168 | ||
17066 | ;; | 15169 | ;; |
@@ -17069,10 +15172,10 @@ fi | |||
17069 | NROFF=$ac_cv_path_NROFF | 15172 | NROFF=$ac_cv_path_NROFF |
17070 | 15173 | ||
17071 | if test -n "$NROFF"; then | 15174 | if test -n "$NROFF"; then |
17072 | echo "$as_me:$LINENO: result: $NROFF" >&5 | 15175 | echo "$as_me:15175: result: $NROFF" >&5 |
17073 | echo "${ECHO_T}$NROFF" >&6 | 15176 | echo "${ECHO_T}$NROFF" >&6 |
17074 | else | 15177 | else |
17075 | echo "$as_me:$LINENO: result: no" >&5 | 15178 | echo "$as_me:15178: result: no" >&5 |
17076 | echo "${ECHO_T}no" >&6 | 15179 | echo "${ECHO_T}no" >&6 |
17077 | fi | 15180 | fi |
17078 | 15181 | ||
@@ -17095,7 +15198,6 @@ else | |||
17095 | mansubdir=$MANTYPE; | 15198 | mansubdir=$MANTYPE; |
17096 | fi | 15199 | fi |
17097 | 15200 | ||
17098 | |||
17099 | # Check whether to enable MD5 passwords | 15201 | # Check whether to enable MD5 passwords |
17100 | MD5_MSG="no" | 15202 | MD5_MSG="no" |
17101 | 15203 | ||
@@ -17104,14 +15206,13 @@ if test "${with_md5_passwords+set}" = set; then | |||
17104 | withval="$with_md5_passwords" | 15206 | withval="$with_md5_passwords" |
17105 | 15207 | ||
17106 | if test "x$withval" != "xno" ; then | 15208 | if test "x$withval" != "xno" ; then |
17107 | cat >>confdefs.h <<\_ACEOF | 15209 | cat >>confdefs.h <<\EOF |
17108 | #define HAVE_MD5_PASSWORDS 1 | 15210 | #define HAVE_MD5_PASSWORDS 1 |
17109 | _ACEOF | 15211 | EOF |
17110 | 15212 | ||
17111 | MD5_MSG="yes" | 15213 | MD5_MSG="yes" |
17112 | fi | 15214 | fi |
17113 | 15215 | ||
17114 | |||
17115 | fi; | 15216 | fi; |
17116 | 15217 | ||
17117 | # Whether to disable shadow password support | 15218 | # Whether to disable shadow password support |
@@ -17121,26 +15222,21 @@ if test "${with_shadow+set}" = set; then | |||
17121 | withval="$with_shadow" | 15222 | withval="$with_shadow" |
17122 | 15223 | ||
17123 | if test "x$withval" = "xno" ; then | 15224 | if test "x$withval" = "xno" ; then |
17124 | cat >>confdefs.h <<\_ACEOF | 15225 | cat >>confdefs.h <<\EOF |
17125 | #define DISABLE_SHADOW 1 | 15226 | #define DISABLE_SHADOW 1 |
17126 | _ACEOF | 15227 | EOF |
17127 | 15228 | ||
17128 | disable_shadow=yes | 15229 | disable_shadow=yes |
17129 | fi | 15230 | fi |
17130 | 15231 | ||
17131 | |||
17132 | fi; | 15232 | fi; |
17133 | 15233 | ||
17134 | if test -z "$disable_shadow" ; then | 15234 | if test -z "$disable_shadow" ; then |
17135 | echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 | 15235 | echo "$as_me:15235: checking if the systems has expire shadow information" >&5 |
17136 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 | 15236 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 |
17137 | cat >conftest.$ac_ext <<_ACEOF | 15237 | cat >conftest.$ac_ext <<_ACEOF |
17138 | #line $LINENO "configure" | 15238 | #line 15238 "configure" |
17139 | /* confdefs.h. */ | 15239 | #include "confdefs.h" |
17140 | _ACEOF | ||
17141 | cat confdefs.h >>conftest.$ac_ext | ||
17142 | cat >>conftest.$ac_ext <<_ACEOF | ||
17143 | /* end confdefs.h. */ | ||
17144 | 15240 | ||
17145 | #include <sys/types.h> | 15241 | #include <sys/types.h> |
17146 | #include <shadow.h> | 15242 | #include <shadow.h> |
@@ -17155,36 +15251,34 @@ main () | |||
17155 | } | 15251 | } |
17156 | _ACEOF | 15252 | _ACEOF |
17157 | rm -f conftest.$ac_objext | 15253 | rm -f conftest.$ac_objext |
17158 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15254 | if { (eval echo "$as_me:15254: \"$ac_compile\"") >&5 |
17159 | (eval $ac_compile) 2>&5 | 15255 | (eval $ac_compile) 2>&5 |
17160 | ac_status=$? | 15256 | ac_status=$? |
17161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15257 | echo "$as_me:15257: \$? = $ac_status" >&5 |
17162 | (exit $ac_status); } && | 15258 | (exit $ac_status); } && |
17163 | { ac_try='test -s conftest.$ac_objext' | 15259 | { ac_try='test -s conftest.$ac_objext' |
17164 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15260 | { (eval echo "$as_me:15260: \"$ac_try\"") >&5 |
17165 | (eval $ac_try) 2>&5 | 15261 | (eval $ac_try) 2>&5 |
17166 | ac_status=$? | 15262 | ac_status=$? |
17167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15263 | echo "$as_me:15263: \$? = $ac_status" >&5 |
17168 | (exit $ac_status); }; }; then | 15264 | (exit $ac_status); }; }; then |
17169 | sp_expire_available=yes | 15265 | sp_expire_available=yes |
17170 | else | 15266 | else |
17171 | echo "$as_me: failed program was:" >&5 | 15267 | echo "$as_me: failed program was:" >&5 |
17172 | sed 's/^/| /' conftest.$ac_ext >&5 | 15268 | cat conftest.$ac_ext >&5 |
17173 | |||
17174 | |||
17175 | 15269 | ||
17176 | fi | 15270 | fi |
17177 | rm -f conftest.$ac_objext conftest.$ac_ext | 15271 | rm -f conftest.$ac_objext conftest.$ac_ext |
17178 | 15272 | ||
17179 | if test "x$sp_expire_available" = "xyes" ; then | 15273 | if test "x$sp_expire_available" = "xyes" ; then |
17180 | echo "$as_me:$LINENO: result: yes" >&5 | 15274 | echo "$as_me:15274: result: yes" >&5 |
17181 | echo "${ECHO_T}yes" >&6 | 15275 | echo "${ECHO_T}yes" >&6 |
17182 | cat >>confdefs.h <<\_ACEOF | 15276 | cat >>confdefs.h <<\EOF |
17183 | #define HAS_SHADOW_EXPIRE 1 | 15277 | #define HAS_SHADOW_EXPIRE 1 |
17184 | _ACEOF | 15278 | EOF |
17185 | 15279 | ||
17186 | else | 15280 | else |
17187 | echo "$as_me:$LINENO: result: no" >&5 | 15281 | echo "$as_me:15281: result: no" >&5 |
17188 | echo "${ECHO_T}no" >&6 | 15282 | echo "${ECHO_T}no" >&6 |
17189 | fi | 15283 | fi |
17190 | fi | 15284 | fi |
@@ -17192,9 +15286,9 @@ fi | |||
17192 | # Use ip address instead of hostname in $DISPLAY | 15286 | # Use ip address instead of hostname in $DISPLAY |
17193 | if test ! -z "$IPADDR_IN_DISPLAY" ; then | 15287 | if test ! -z "$IPADDR_IN_DISPLAY" ; then |
17194 | DISPLAY_HACK_MSG="yes" | 15288 | DISPLAY_HACK_MSG="yes" |
17195 | cat >>confdefs.h <<\_ACEOF | 15289 | cat >>confdefs.h <<\EOF |
17196 | #define IPADDR_IN_DISPLAY 1 | 15290 | #define IPADDR_IN_DISPLAY 1 |
17197 | _ACEOF | 15291 | EOF |
17198 | 15292 | ||
17199 | else | 15293 | else |
17200 | DISPLAY_HACK_MSG="no" | 15294 | DISPLAY_HACK_MSG="no" |
@@ -17204,21 +15298,50 @@ if test "${with_ipaddr_display+set}" = set; then | |||
17204 | withval="$with_ipaddr_display" | 15298 | withval="$with_ipaddr_display" |
17205 | 15299 | ||
17206 | if test "x$withval" != "xno" ; then | 15300 | if test "x$withval" != "xno" ; then |
17207 | cat >>confdefs.h <<\_ACEOF | 15301 | cat >>confdefs.h <<\EOF |
17208 | #define IPADDR_IN_DISPLAY 1 | 15302 | #define IPADDR_IN_DISPLAY 1 |
17209 | _ACEOF | 15303 | EOF |
17210 | 15304 | ||
17211 | DISPLAY_HACK_MSG="yes" | 15305 | DISPLAY_HACK_MSG="yes" |
17212 | fi | 15306 | fi |
17213 | 15307 | ||
17214 | |||
17215 | fi; | 15308 | fi; |
17216 | fi | 15309 | fi |
17217 | 15310 | ||
15311 | # check for /etc/default/login and use it if present. | ||
15312 | echo "$as_me:15312: checking for \"/etc/default/login\"" >&5 | ||
15313 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 | ||
15314 | if test "${ac_cv_file___etc_default_login_+set}" = set; then | ||
15315 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15316 | else | ||
15317 | test "$cross_compiling" = yes && | ||
15318 | { { echo "$as_me:15318: error: cannot check for file existence when cross compiling" >&5 | ||
15319 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
15320 | { (exit 1); exit 1; }; } | ||
15321 | if test -r ""/etc/default/login""; then | ||
15322 | ac_cv_file___etc_default_login_=yes | ||
15323 | else | ||
15324 | ac_cv_file___etc_default_login_=no | ||
15325 | fi | ||
15326 | fi | ||
15327 | echo "$as_me:15327: result: $ac_cv_file___etc_default_login_" >&5 | ||
15328 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6 | ||
15329 | if test $ac_cv_file___etc_default_login_ = yes; then | ||
15330 | external_path_file=/etc/default/login | ||
15331 | fi | ||
15332 | |||
15333 | if test "x$external_path_file" = "x/etc/default/login"; then | ||
15334 | cat >>confdefs.h <<\EOF | ||
15335 | #define HAVE_ETC_DEFAULT_LOGIN 1 | ||
15336 | EOF | ||
15337 | |||
15338 | fi | ||
15339 | |||
17218 | if test $ac_cv_func_login_getcapbool = "yes" -a \ | 15340 | if test $ac_cv_func_login_getcapbool = "yes" -a \ |
17219 | $ac_cv_header_login_cap_h = "yes" ; then | 15341 | $ac_cv_header_login_cap_h = "yes" ; then |
17220 | USES_LOGIN_CONF=yes | 15342 | external_path_file=/etc/login.conf |
17221 | fi | 15343 | fi |
15344 | |||
17222 | # Whether to mess with the default path | 15345 | # Whether to mess with the default path |
17223 | SERVER_PATH_MSG="(default)" | 15346 | SERVER_PATH_MSG="(default)" |
17224 | 15347 | ||
@@ -17226,34 +15349,46 @@ SERVER_PATH_MSG="(default)" | |||
17226 | if test "${with_default_path+set}" = set; then | 15349 | if test "${with_default_path+set}" = set; then |
17227 | withval="$with_default_path" | 15350 | withval="$with_default_path" |
17228 | 15351 | ||
17229 | if test "$USES_LOGIN_CONF" = "yes" ; then | 15352 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
17230 | { echo "$as_me:$LINENO: WARNING: | 15353 | { echo "$as_me:15353: WARNING: |
17231 | --with-default-path=PATH has no effect on this system. | 15354 | --with-default-path=PATH has no effect on this system. |
17232 | Edit /etc/login.conf instead." >&5 | 15355 | Edit /etc/login.conf instead." >&5 |
17233 | echo "$as_me: WARNING: | 15356 | echo "$as_me: WARNING: |
17234 | --with-default-path=PATH has no effect on this system. | 15357 | --with-default-path=PATH has no effect on this system. |
17235 | Edit /etc/login.conf instead." >&2;} | 15358 | Edit /etc/login.conf instead." >&2;} |
17236 | elif test "x$withval" != "xno" ; then | 15359 | elif test "x$withval" != "xno" ; then |
15360 | if test ! -z "$external_path_file" ; then | ||
15361 | { echo "$as_me:15361: WARNING: | ||
15362 | --with-default-path=PATH will only be used if PATH is not defined in | ||
15363 | $external_path_file ." >&5 | ||
15364 | echo "$as_me: WARNING: | ||
15365 | --with-default-path=PATH will only be used if PATH is not defined in | ||
15366 | $external_path_file ." >&2;} | ||
15367 | fi | ||
17237 | user_path="$withval" | 15368 | user_path="$withval" |
17238 | SERVER_PATH_MSG="$withval" | 15369 | SERVER_PATH_MSG="$withval" |
17239 | fi | 15370 | fi |
17240 | 15371 | ||
17241 | else | 15372 | else |
17242 | if test "$USES_LOGIN_CONF" = "yes" ; then | 15373 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
17243 | { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 | 15374 | { echo "$as_me:15374: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 |
17244 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} | 15375 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} |
17245 | else | 15376 | else |
17246 | if test "$cross_compiling" = yes; then | 15377 | if test ! -z "$external_path_file" ; then |
15378 | { echo "$as_me:15378: WARNING: | ||
15379 | If PATH is defined in $external_path_file, ensure the path to scp is included, | ||
15380 | otherwise scp will not work." >&5 | ||
15381 | echo "$as_me: WARNING: | ||
15382 | If PATH is defined in $external_path_file, ensure the path to scp is included, | ||
15383 | otherwise scp will not work." >&2;} | ||
15384 | fi | ||
15385 | if test "$cross_compiling" = yes; then | ||
17247 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | 15386 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" |
17248 | 15387 | ||
17249 | else | 15388 | else |
17250 | cat >conftest.$ac_ext <<_ACEOF | 15389 | cat >conftest.$ac_ext <<_ACEOF |
17251 | #line $LINENO "configure" | 15390 | #line 15390 "configure" |
17252 | /* confdefs.h. */ | 15391 | #include "confdefs.h" |
17253 | _ACEOF | ||
17254 | cat confdefs.h >>conftest.$ac_ext | ||
17255 | cat >>conftest.$ac_ext <<_ACEOF | ||
17256 | /* end confdefs.h. */ | ||
17257 | 15392 | ||
17258 | /* find out what STDPATH is */ | 15393 | /* find out what STDPATH is */ |
17259 | #include <stdio.h> | 15394 | #include <stdio.h> |
@@ -17289,26 +15424,24 @@ main() | |||
17289 | 15424 | ||
17290 | _ACEOF | 15425 | _ACEOF |
17291 | rm -f conftest$ac_exeext | 15426 | rm -f conftest$ac_exeext |
17292 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15427 | if { (eval echo "$as_me:15427: \"$ac_link\"") >&5 |
17293 | (eval $ac_link) 2>&5 | 15428 | (eval $ac_link) 2>&5 |
17294 | ac_status=$? | 15429 | ac_status=$? |
17295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15430 | echo "$as_me:15430: \$? = $ac_status" >&5 |
17296 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 15431 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17297 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15432 | { (eval echo "$as_me:15432: \"$ac_try\"") >&5 |
17298 | (eval $ac_try) 2>&5 | 15433 | (eval $ac_try) 2>&5 |
17299 | ac_status=$? | 15434 | ac_status=$? |
17300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15435 | echo "$as_me:15435: \$? = $ac_status" >&5 |
17301 | (exit $ac_status); }; }; then | 15436 | (exit $ac_status); }; }; then |
17302 | user_path=`cat conftest.stdpath` | 15437 | user_path=`cat conftest.stdpath` |
17303 | else | 15438 | else |
17304 | echo "$as_me: program exited with status $ac_status" >&5 | 15439 | echo "$as_me: program exited with status $ac_status" >&5 |
17305 | echo "$as_me: failed program was:" >&5 | 15440 | echo "$as_me: failed program was:" >&5 |
17306 | sed 's/^/| /' conftest.$ac_ext >&5 | 15441 | cat conftest.$ac_ext >&5 |
17307 | |||
17308 | ( exit $ac_status ) | ||
17309 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | 15442 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" |
17310 | fi | 15443 | fi |
17311 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15444 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17312 | fi | 15445 | fi |
17313 | # make sure $bindir is in USER_PATH so scp will work | 15446 | # make sure $bindir is in USER_PATH so scp will work |
17314 | t_bindir=`eval echo ${bindir}` | 15447 | t_bindir=`eval echo ${bindir}` |
@@ -17323,18 +15456,17 @@ fi | |||
17323 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | 15456 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |
17324 | if test $? -ne 0 ; then | 15457 | if test $? -ne 0 ; then |
17325 | user_path=$user_path:$t_bindir | 15458 | user_path=$user_path:$t_bindir |
17326 | echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | 15459 | echo "$as_me:15459: result: Adding $t_bindir to USER_PATH so scp will work" >&5 |
17327 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 | 15460 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 |
17328 | fi | 15461 | fi |
17329 | fi | 15462 | fi |
17330 | fi | 15463 | fi |
17331 | 15464 | ||
17332 | fi; | 15465 | fi; |
17333 | if test "$USES_LOGIN_CONF" != "yes" ; then | 15466 | if test "x$external_path_file" != "x/etc/login.conf" ; then |
17334 | cat >>confdefs.h <<_ACEOF | 15467 | cat >>confdefs.h <<EOF |
17335 | #define USER_PATH "$user_path" | 15468 | #define USER_PATH "$user_path" |
17336 | _ACEOF | 15469 | EOF |
17337 | |||
17338 | 15470 | ||
17339 | fi | 15471 | fi |
17340 | 15472 | ||
@@ -17345,36 +15477,16 @@ if test "${with_superuser_path+set}" = set; then | |||
17345 | withval="$with_superuser_path" | 15477 | withval="$with_superuser_path" |
17346 | 15478 | ||
17347 | if test "x$withval" != "xno" ; then | 15479 | if test "x$withval" != "xno" ; then |
17348 | cat >>confdefs.h <<_ACEOF | 15480 | cat >>confdefs.h <<EOF |
17349 | #define SUPERUSER_PATH "$withval" | 15481 | #define SUPERUSER_PATH "$withval" |
17350 | _ACEOF | 15482 | EOF |
17351 | 15483 | ||
17352 | superuser_path=$withval | 15484 | superuser_path=$withval |
17353 | fi | 15485 | fi |
17354 | 15486 | ||
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; | 15487 | fi; |
17376 | 15488 | ||
17377 | echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | 15489 | echo "$as_me:15489: 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 | 15490 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 |
17379 | IPV4_IN6_HACK_MSG="no" | 15491 | IPV4_IN6_HACK_MSG="no" |
17380 | 15492 | ||
@@ -17383,34 +15495,33 @@ if test "${with_4in6+set}" = set; then | |||
17383 | withval="$with_4in6" | 15495 | withval="$with_4in6" |
17384 | 15496 | ||
17385 | if test "x$withval" != "xno" ; then | 15497 | if test "x$withval" != "xno" ; then |
17386 | echo "$as_me:$LINENO: result: yes" >&5 | 15498 | echo "$as_me:15498: result: yes" >&5 |
17387 | echo "${ECHO_T}yes" >&6 | 15499 | echo "${ECHO_T}yes" >&6 |
17388 | cat >>confdefs.h <<\_ACEOF | 15500 | cat >>confdefs.h <<\EOF |
17389 | #define IPV4_IN_IPV6 1 | 15501 | #define IPV4_IN_IPV6 1 |
17390 | _ACEOF | 15502 | EOF |
17391 | 15503 | ||
17392 | IPV4_IN6_HACK_MSG="yes" | 15504 | IPV4_IN6_HACK_MSG="yes" |
17393 | else | 15505 | else |
17394 | echo "$as_me:$LINENO: result: no" >&5 | 15506 | echo "$as_me:15506: result: no" >&5 |
17395 | echo "${ECHO_T}no" >&6 | 15507 | echo "${ECHO_T}no" >&6 |
17396 | fi | 15508 | fi |
17397 | 15509 | ||
17398 | else | 15510 | else |
17399 | 15511 | ||
17400 | if test "x$inet6_default_4in6" = "xyes"; then | 15512 | if test "x$inet6_default_4in6" = "xyes"; then |
17401 | echo "$as_me:$LINENO: result: yes (default)" >&5 | 15513 | echo "$as_me:15513: result: yes (default)" >&5 |
17402 | echo "${ECHO_T}yes (default)" >&6 | 15514 | echo "${ECHO_T}yes (default)" >&6 |
17403 | cat >>confdefs.h <<\_ACEOF | 15515 | cat >>confdefs.h <<\EOF |
17404 | #define IPV4_IN_IPV6 1 | 15516 | #define IPV4_IN_IPV6 1 |
17405 | _ACEOF | 15517 | EOF |
17406 | 15518 | ||
17407 | IPV4_IN6_HACK_MSG="yes" | 15519 | IPV4_IN6_HACK_MSG="yes" |
17408 | else | 15520 | else |
17409 | echo "$as_me:$LINENO: result: no (default)" >&5 | 15521 | echo "$as_me:15521: result: no (default)" >&5 |
17410 | echo "${ECHO_T}no (default)" >&6 | 15522 | echo "${ECHO_T}no (default)" >&6 |
17411 | fi | 15523 | fi |
17412 | 15524 | ||
17413 | |||
17414 | fi; | 15525 | fi; |
17415 | 15526 | ||
17416 | # Whether to enable BSD auth support | 15527 | # Whether to enable BSD auth support |
@@ -17421,14 +15532,13 @@ if test "${with_bsd_auth+set}" = set; then | |||
17421 | withval="$with_bsd_auth" | 15532 | withval="$with_bsd_auth" |
17422 | 15533 | ||
17423 | if test "x$withval" != "xno" ; then | 15534 | if test "x$withval" != "xno" ; then |
17424 | cat >>confdefs.h <<\_ACEOF | 15535 | cat >>confdefs.h <<\EOF |
17425 | #define BSD_AUTH 1 | 15536 | #define BSD_AUTH 1 |
17426 | _ACEOF | 15537 | EOF |
17427 | 15538 | ||
17428 | BSD_AUTH_MSG=yes | 15539 | BSD_AUTH_MSG=yes |
17429 | fi | 15540 | fi |
17430 | 15541 | ||
17431 | |||
17432 | fi; | 15542 | fi; |
17433 | 15543 | ||
17434 | # Where to place sshd.pid | 15544 | # Where to place sshd.pid |
@@ -17441,7 +15551,6 @@ if test ! -d $piddir ; then | |||
17441 | esac | 15551 | esac |
17442 | fi | 15552 | fi |
17443 | 15553 | ||
17444 | |||
17445 | # Check whether --with-pid-dir or --without-pid-dir was given. | 15554 | # Check whether --with-pid-dir or --without-pid-dir was given. |
17446 | if test "${with_pid_dir+set}" = set; then | 15555 | if test "${with_pid_dir+set}" = set; then |
17447 | withval="$with_pid_dir" | 15556 | withval="$with_pid_dir" |
@@ -17449,90 +15558,111 @@ if test "${with_pid_dir+set}" = set; then | |||
17449 | if test "x$withval" != "xno" ; then | 15558 | if test "x$withval" != "xno" ; then |
17450 | piddir=$withval | 15559 | piddir=$withval |
17451 | if test ! -d $piddir ; then | 15560 | if test ! -d $piddir ; then |
17452 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 | 15561 | { echo "$as_me:15561: WARNING: ** no $piddir directory on this system **" >&5 |
17453 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | 15562 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} |
17454 | fi | 15563 | fi |
17455 | fi | 15564 | fi |
17456 | 15565 | ||
17457 | |||
17458 | fi; | 15566 | fi; |
17459 | 15567 | ||
17460 | cat >>confdefs.h <<_ACEOF | 15568 | cat >>confdefs.h <<EOF |
17461 | #define _PATH_SSH_PIDDIR "$piddir" | 15569 | #define _PATH_SSH_PIDDIR "$piddir" |
17462 | _ACEOF | 15570 | EOF |
17463 | |||
17464 | |||
17465 | 15571 | ||
17466 | # Check whether --enable-lastlog or --disable-lastlog was given. | 15572 | # Check whether --enable-lastlog or --disable-lastlog was given. |
17467 | if test "${enable_lastlog+set}" = set; then | 15573 | if test "${enable_lastlog+set}" = set; then |
17468 | enableval="$enable_lastlog" | 15574 | enableval="$enable_lastlog" |
17469 | cat >>confdefs.h <<\_ACEOF | 15575 | |
15576 | if test "x$enableval" = "xno" ; then | ||
15577 | cat >>confdefs.h <<\EOF | ||
17470 | #define DISABLE_LASTLOG 1 | 15578 | #define DISABLE_LASTLOG 1 |
17471 | _ACEOF | 15579 | EOF |
17472 | 15580 | ||
15581 | fi | ||
17473 | 15582 | ||
17474 | fi; | 15583 | fi; |
17475 | # Check whether --enable-utmp or --disable-utmp was given. | 15584 | # Check whether --enable-utmp or --disable-utmp was given. |
17476 | if test "${enable_utmp+set}" = set; then | 15585 | if test "${enable_utmp+set}" = set; then |
17477 | enableval="$enable_utmp" | 15586 | enableval="$enable_utmp" |
17478 | cat >>confdefs.h <<\_ACEOF | 15587 | |
15588 | if test "x$enableval" = "xno" ; then | ||
15589 | cat >>confdefs.h <<\EOF | ||
17479 | #define DISABLE_UTMP 1 | 15590 | #define DISABLE_UTMP 1 |
17480 | _ACEOF | 15591 | EOF |
17481 | 15592 | ||
15593 | fi | ||
17482 | 15594 | ||
17483 | fi; | 15595 | fi; |
17484 | # Check whether --enable-utmpx or --disable-utmpx was given. | 15596 | # Check whether --enable-utmpx or --disable-utmpx was given. |
17485 | if test "${enable_utmpx+set}" = set; then | 15597 | if test "${enable_utmpx+set}" = set; then |
17486 | enableval="$enable_utmpx" | 15598 | enableval="$enable_utmpx" |
17487 | cat >>confdefs.h <<\_ACEOF | 15599 | |
15600 | if test "x$enableval" = "xno" ; then | ||
15601 | cat >>confdefs.h <<\EOF | ||
17488 | #define DISABLE_UTMPX 1 | 15602 | #define DISABLE_UTMPX 1 |
17489 | _ACEOF | 15603 | EOF |
17490 | 15604 | ||
15605 | fi | ||
17491 | 15606 | ||
17492 | fi; | 15607 | fi; |
17493 | # Check whether --enable-wtmp or --disable-wtmp was given. | 15608 | # Check whether --enable-wtmp or --disable-wtmp was given. |
17494 | if test "${enable_wtmp+set}" = set; then | 15609 | if test "${enable_wtmp+set}" = set; then |
17495 | enableval="$enable_wtmp" | 15610 | enableval="$enable_wtmp" |
17496 | cat >>confdefs.h <<\_ACEOF | 15611 | |
15612 | if test "x$enableval" = "xno" ; then | ||
15613 | cat >>confdefs.h <<\EOF | ||
17497 | #define DISABLE_WTMP 1 | 15614 | #define DISABLE_WTMP 1 |
17498 | _ACEOF | 15615 | EOF |
17499 | 15616 | ||
15617 | fi | ||
17500 | 15618 | ||
17501 | fi; | 15619 | fi; |
17502 | # Check whether --enable-wtmpx or --disable-wtmpx was given. | 15620 | # Check whether --enable-wtmpx or --disable-wtmpx was given. |
17503 | if test "${enable_wtmpx+set}" = set; then | 15621 | if test "${enable_wtmpx+set}" = set; then |
17504 | enableval="$enable_wtmpx" | 15622 | enableval="$enable_wtmpx" |
17505 | cat >>confdefs.h <<\_ACEOF | 15623 | |
15624 | if test "x$enableval" = "xno" ; then | ||
15625 | cat >>confdefs.h <<\EOF | ||
17506 | #define DISABLE_WTMPX 1 | 15626 | #define DISABLE_WTMPX 1 |
17507 | _ACEOF | 15627 | EOF |
17508 | 15628 | ||
15629 | fi | ||
17509 | 15630 | ||
17510 | fi; | 15631 | fi; |
17511 | # Check whether --enable-libutil or --disable-libutil was given. | 15632 | # Check whether --enable-libutil or --disable-libutil was given. |
17512 | if test "${enable_libutil+set}" = set; then | 15633 | if test "${enable_libutil+set}" = set; then |
17513 | enableval="$enable_libutil" | 15634 | enableval="$enable_libutil" |
17514 | cat >>confdefs.h <<\_ACEOF | 15635 | |
15636 | if test "x$enableval" = "xno" ; then | ||
15637 | cat >>confdefs.h <<\EOF | ||
17515 | #define DISABLE_LOGIN 1 | 15638 | #define DISABLE_LOGIN 1 |
17516 | _ACEOF | 15639 | EOF |
17517 | 15640 | ||
15641 | fi | ||
17518 | 15642 | ||
17519 | fi; | 15643 | fi; |
17520 | # Check whether --enable-pututline or --disable-pututline was given. | 15644 | # Check whether --enable-pututline or --disable-pututline was given. |
17521 | if test "${enable_pututline+set}" = set; then | 15645 | if test "${enable_pututline+set}" = set; then |
17522 | enableval="$enable_pututline" | 15646 | enableval="$enable_pututline" |
17523 | cat >>confdefs.h <<\_ACEOF | 15647 | |
15648 | if test "x$enableval" = "xno" ; then | ||
15649 | cat >>confdefs.h <<\EOF | ||
17524 | #define DISABLE_PUTUTLINE 1 | 15650 | #define DISABLE_PUTUTLINE 1 |
17525 | _ACEOF | 15651 | EOF |
17526 | 15652 | ||
15653 | fi | ||
17527 | 15654 | ||
17528 | fi; | 15655 | fi; |
17529 | # Check whether --enable-pututxline or --disable-pututxline was given. | 15656 | # Check whether --enable-pututxline or --disable-pututxline was given. |
17530 | if test "${enable_pututxline+set}" = set; then | 15657 | if test "${enable_pututxline+set}" = set; then |
17531 | enableval="$enable_pututxline" | 15658 | enableval="$enable_pututxline" |
17532 | cat >>confdefs.h <<\_ACEOF | 15659 | |
15660 | if test "x$enableval" = "xno" ; then | ||
15661 | cat >>confdefs.h <<\EOF | ||
17533 | #define DISABLE_PUTUTXLINE 1 | 15662 | #define DISABLE_PUTUTXLINE 1 |
17534 | _ACEOF | 15663 | EOF |
17535 | 15664 | ||
15665 | fi | ||
17536 | 15666 | ||
17537 | fi; | 15667 | fi; |
17538 | 15668 | ||
@@ -17541,27 +15671,21 @@ if test "${with_lastlog+set}" = set; then | |||
17541 | withval="$with_lastlog" | 15671 | withval="$with_lastlog" |
17542 | 15672 | ||
17543 | if test "x$withval" = "xno" ; then | 15673 | if test "x$withval" = "xno" ; then |
17544 | cat >>confdefs.h <<\_ACEOF | 15674 | cat >>confdefs.h <<\EOF |
17545 | #define DISABLE_LASTLOG 1 | 15675 | #define DISABLE_LASTLOG 1 |
17546 | _ACEOF | 15676 | EOF |
17547 | 15677 | ||
17548 | else | 15678 | else |
17549 | conf_lastlog_location=$withval | 15679 | conf_lastlog_location=$withval |
17550 | fi | 15680 | fi |
17551 | 15681 | ||
17552 | |||
17553 | fi; | 15682 | fi; |
17554 | 15683 | ||
17555 | 15684 | echo "$as_me:15684: checking if your system defines LASTLOG_FILE" >&5 | |
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 | 15685 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 |
17558 | cat >conftest.$ac_ext <<_ACEOF | 15686 | cat >conftest.$ac_ext <<_ACEOF |
17559 | #line $LINENO "configure" | 15687 | #line 15687 "configure" |
17560 | /* confdefs.h. */ | 15688 | #include "confdefs.h" |
17561 | _ACEOF | ||
17562 | cat confdefs.h >>conftest.$ac_ext | ||
17563 | cat >>conftest.$ac_ext <<_ACEOF | ||
17564 | /* end confdefs.h. */ | ||
17565 | 15689 | ||
17566 | #include <sys/types.h> | 15690 | #include <sys/types.h> |
17567 | #include <utmp.h> | 15691 | #include <utmp.h> |
@@ -17584,35 +15708,30 @@ main () | |||
17584 | } | 15708 | } |
17585 | _ACEOF | 15709 | _ACEOF |
17586 | rm -f conftest.$ac_objext | 15710 | rm -f conftest.$ac_objext |
17587 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15711 | if { (eval echo "$as_me:15711: \"$ac_compile\"") >&5 |
17588 | (eval $ac_compile) 2>&5 | 15712 | (eval $ac_compile) 2>&5 |
17589 | ac_status=$? | 15713 | ac_status=$? |
17590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15714 | echo "$as_me:15714: \$? = $ac_status" >&5 |
17591 | (exit $ac_status); } && | 15715 | (exit $ac_status); } && |
17592 | { ac_try='test -s conftest.$ac_objext' | 15716 | { ac_try='test -s conftest.$ac_objext' |
17593 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15717 | { (eval echo "$as_me:15717: \"$ac_try\"") >&5 |
17594 | (eval $ac_try) 2>&5 | 15718 | (eval $ac_try) 2>&5 |
17595 | ac_status=$? | 15719 | ac_status=$? |
17596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15720 | echo "$as_me:15720: \$? = $ac_status" >&5 |
17597 | (exit $ac_status); }; }; then | 15721 | (exit $ac_status); }; }; then |
17598 | echo "$as_me:$LINENO: result: yes" >&5 | 15722 | echo "$as_me:15722: result: yes" >&5 |
17599 | echo "${ECHO_T}yes" >&6 | 15723 | echo "${ECHO_T}yes" >&6 |
17600 | else | 15724 | else |
17601 | echo "$as_me: failed program was:" >&5 | 15725 | echo "$as_me: failed program was:" >&5 |
17602 | sed 's/^/| /' conftest.$ac_ext >&5 | 15726 | cat conftest.$ac_ext >&5 |
17603 | 15727 | ||
17604 | 15728 | echo "$as_me:15728: result: no" >&5 | |
17605 | echo "$as_me:$LINENO: result: no" >&5 | ||
17606 | echo "${ECHO_T}no" >&6 | 15729 | echo "${ECHO_T}no" >&6 |
17607 | echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 | 15730 | echo "$as_me:15730: checking if your system defines _PATH_LASTLOG" >&5 |
17608 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 | 15731 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 |
17609 | cat >conftest.$ac_ext <<_ACEOF | 15732 | cat >conftest.$ac_ext <<_ACEOF |
17610 | #line $LINENO "configure" | 15733 | #line 15733 "configure" |
17611 | /* confdefs.h. */ | 15734 | #include "confdefs.h" |
17612 | _ACEOF | ||
17613 | cat confdefs.h >>conftest.$ac_ext | ||
17614 | cat >>conftest.$ac_ext <<_ACEOF | ||
17615 | /* end confdefs.h. */ | ||
17616 | 15735 | ||
17617 | #include <sys/types.h> | 15736 | #include <sys/types.h> |
17618 | #include <utmp.h> | 15737 | #include <utmp.h> |
@@ -17632,32 +15751,30 @@ main () | |||
17632 | } | 15751 | } |
17633 | _ACEOF | 15752 | _ACEOF |
17634 | rm -f conftest.$ac_objext | 15753 | rm -f conftest.$ac_objext |
17635 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15754 | if { (eval echo "$as_me:15754: \"$ac_compile\"") >&5 |
17636 | (eval $ac_compile) 2>&5 | 15755 | (eval $ac_compile) 2>&5 |
17637 | ac_status=$? | 15756 | ac_status=$? |
17638 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15757 | echo "$as_me:15757: \$? = $ac_status" >&5 |
17639 | (exit $ac_status); } && | 15758 | (exit $ac_status); } && |
17640 | { ac_try='test -s conftest.$ac_objext' | 15759 | { ac_try='test -s conftest.$ac_objext' |
17641 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15760 | { (eval echo "$as_me:15760: \"$ac_try\"") >&5 |
17642 | (eval $ac_try) 2>&5 | 15761 | (eval $ac_try) 2>&5 |
17643 | ac_status=$? | 15762 | ac_status=$? |
17644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15763 | echo "$as_me:15763: \$? = $ac_status" >&5 |
17645 | (exit $ac_status); }; }; then | 15764 | (exit $ac_status); }; }; then |
17646 | echo "$as_me:$LINENO: result: yes" >&5 | 15765 | echo "$as_me:15765: result: yes" >&5 |
17647 | echo "${ECHO_T}yes" >&6 | 15766 | echo "${ECHO_T}yes" >&6 |
17648 | else | 15767 | else |
17649 | echo "$as_me: failed program was:" >&5 | 15768 | echo "$as_me: failed program was:" >&5 |
17650 | sed 's/^/| /' conftest.$ac_ext >&5 | 15769 | cat conftest.$ac_ext >&5 |
17651 | 15770 | ||
17652 | 15771 | echo "$as_me:15771: result: no" >&5 | |
17653 | echo "$as_me:$LINENO: result: no" >&5 | ||
17654 | echo "${ECHO_T}no" >&6 | 15772 | echo "${ECHO_T}no" >&6 |
17655 | system_lastlog_path=no | 15773 | system_lastlog_path=no |
17656 | 15774 | ||
17657 | fi | 15775 | fi |
17658 | rm -f conftest.$ac_objext conftest.$ac_ext | 15776 | rm -f conftest.$ac_objext conftest.$ac_ext |
17659 | 15777 | ||
17660 | |||
17661 | fi | 15778 | fi |
17662 | rm -f conftest.$ac_objext conftest.$ac_ext | 15779 | rm -f conftest.$ac_objext conftest.$ac_ext |
17663 | 15780 | ||
@@ -17669,28 +15786,24 @@ if test -z "$conf_lastlog_location"; then | |||
17669 | fi | 15786 | fi |
17670 | done | 15787 | done |
17671 | if test -z "$conf_lastlog_location"; then | 15788 | if test -z "$conf_lastlog_location"; then |
17672 | { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 | 15789 | { echo "$as_me:15789: WARNING: ** Cannot find lastlog **" >&5 |
17673 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} | 15790 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} |
17674 | fi | 15791 | fi |
17675 | fi | 15792 | fi |
17676 | fi | 15793 | fi |
17677 | 15794 | ||
17678 | if test -n "$conf_lastlog_location"; then | 15795 | if test -n "$conf_lastlog_location"; then |
17679 | cat >>confdefs.h <<_ACEOF | 15796 | cat >>confdefs.h <<EOF |
17680 | #define CONF_LASTLOG_FILE "$conf_lastlog_location" | 15797 | #define CONF_LASTLOG_FILE "$conf_lastlog_location" |
17681 | _ACEOF | 15798 | EOF |
17682 | 15799 | ||
17683 | fi | 15800 | fi |
17684 | 15801 | ||
17685 | echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 | 15802 | echo "$as_me:15802: checking if your system defines UTMP_FILE" >&5 |
17686 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 | 15803 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 |
17687 | cat >conftest.$ac_ext <<_ACEOF | 15804 | cat >conftest.$ac_ext <<_ACEOF |
17688 | #line $LINENO "configure" | 15805 | #line 15805 "configure" |
17689 | /* confdefs.h. */ | 15806 | #include "confdefs.h" |
17690 | _ACEOF | ||
17691 | cat confdefs.h >>conftest.$ac_ext | ||
17692 | cat >>conftest.$ac_ext <<_ACEOF | ||
17693 | /* end confdefs.h. */ | ||
17694 | 15807 | ||
17695 | #include <sys/types.h> | 15808 | #include <sys/types.h> |
17696 | #include <utmp.h> | 15809 | #include <utmp.h> |
@@ -17707,24 +15820,23 @@ main () | |||
17707 | } | 15820 | } |
17708 | _ACEOF | 15821 | _ACEOF |
17709 | rm -f conftest.$ac_objext | 15822 | rm -f conftest.$ac_objext |
17710 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15823 | if { (eval echo "$as_me:15823: \"$ac_compile\"") >&5 |
17711 | (eval $ac_compile) 2>&5 | 15824 | (eval $ac_compile) 2>&5 |
17712 | ac_status=$? | 15825 | ac_status=$? |
17713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15826 | echo "$as_me:15826: \$? = $ac_status" >&5 |
17714 | (exit $ac_status); } && | 15827 | (exit $ac_status); } && |
17715 | { ac_try='test -s conftest.$ac_objext' | 15828 | { ac_try='test -s conftest.$ac_objext' |
17716 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15829 | { (eval echo "$as_me:15829: \"$ac_try\"") >&5 |
17717 | (eval $ac_try) 2>&5 | 15830 | (eval $ac_try) 2>&5 |
17718 | ac_status=$? | 15831 | ac_status=$? |
17719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15832 | echo "$as_me:15832: \$? = $ac_status" >&5 |
17720 | (exit $ac_status); }; }; then | 15833 | (exit $ac_status); }; }; then |
17721 | echo "$as_me:$LINENO: result: yes" >&5 | 15834 | echo "$as_me:15834: result: yes" >&5 |
17722 | echo "${ECHO_T}yes" >&6 | 15835 | echo "${ECHO_T}yes" >&6 |
17723 | else | 15836 | else |
17724 | echo "$as_me: failed program was:" >&5 | 15837 | echo "$as_me: failed program was:" >&5 |
17725 | sed 's/^/| /' conftest.$ac_ext >&5 | 15838 | cat conftest.$ac_ext >&5 |
17726 | 15839 | echo "$as_me:15839: result: no" >&5 | |
17727 | echo "$as_me:$LINENO: result: no" >&5 | ||
17728 | echo "${ECHO_T}no" >&6 | 15840 | echo "${ECHO_T}no" >&6 |
17729 | system_utmp_path=no | 15841 | system_utmp_path=no |
17730 | 15842 | ||
@@ -17738,29 +15850,25 @@ if test -z "$conf_utmp_location"; then | |||
17738 | fi | 15850 | fi |
17739 | done | 15851 | done |
17740 | if test -z "$conf_utmp_location"; then | 15852 | if test -z "$conf_utmp_location"; then |
17741 | cat >>confdefs.h <<\_ACEOF | 15853 | cat >>confdefs.h <<\EOF |
17742 | #define DISABLE_UTMP 1 | 15854 | #define DISABLE_UTMP 1 |
17743 | _ACEOF | 15855 | EOF |
17744 | 15856 | ||
17745 | fi | 15857 | fi |
17746 | fi | 15858 | fi |
17747 | fi | 15859 | fi |
17748 | if test -n "$conf_utmp_location"; then | 15860 | if test -n "$conf_utmp_location"; then |
17749 | cat >>confdefs.h <<_ACEOF | 15861 | cat >>confdefs.h <<EOF |
17750 | #define CONF_UTMP_FILE "$conf_utmp_location" | 15862 | #define CONF_UTMP_FILE "$conf_utmp_location" |
17751 | _ACEOF | 15863 | EOF |
17752 | 15864 | ||
17753 | fi | 15865 | fi |
17754 | 15866 | ||
17755 | echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 | 15867 | echo "$as_me:15867: checking if your system defines WTMP_FILE" >&5 |
17756 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 | 15868 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 |
17757 | cat >conftest.$ac_ext <<_ACEOF | 15869 | cat >conftest.$ac_ext <<_ACEOF |
17758 | #line $LINENO "configure" | 15870 | #line 15870 "configure" |
17759 | /* confdefs.h. */ | 15871 | #include "confdefs.h" |
17760 | _ACEOF | ||
17761 | cat confdefs.h >>conftest.$ac_ext | ||
17762 | cat >>conftest.$ac_ext <<_ACEOF | ||
17763 | /* end confdefs.h. */ | ||
17764 | 15872 | ||
17765 | #include <sys/types.h> | 15873 | #include <sys/types.h> |
17766 | #include <utmp.h> | 15874 | #include <utmp.h> |
@@ -17777,24 +15885,23 @@ main () | |||
17777 | } | 15885 | } |
17778 | _ACEOF | 15886 | _ACEOF |
17779 | rm -f conftest.$ac_objext | 15887 | rm -f conftest.$ac_objext |
17780 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15888 | if { (eval echo "$as_me:15888: \"$ac_compile\"") >&5 |
17781 | (eval $ac_compile) 2>&5 | 15889 | (eval $ac_compile) 2>&5 |
17782 | ac_status=$? | 15890 | ac_status=$? |
17783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15891 | echo "$as_me:15891: \$? = $ac_status" >&5 |
17784 | (exit $ac_status); } && | 15892 | (exit $ac_status); } && |
17785 | { ac_try='test -s conftest.$ac_objext' | 15893 | { ac_try='test -s conftest.$ac_objext' |
17786 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15894 | { (eval echo "$as_me:15894: \"$ac_try\"") >&5 |
17787 | (eval $ac_try) 2>&5 | 15895 | (eval $ac_try) 2>&5 |
17788 | ac_status=$? | 15896 | ac_status=$? |
17789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15897 | echo "$as_me:15897: \$? = $ac_status" >&5 |
17790 | (exit $ac_status); }; }; then | 15898 | (exit $ac_status); }; }; then |
17791 | echo "$as_me:$LINENO: result: yes" >&5 | 15899 | echo "$as_me:15899: result: yes" >&5 |
17792 | echo "${ECHO_T}yes" >&6 | 15900 | echo "${ECHO_T}yes" >&6 |
17793 | else | 15901 | else |
17794 | echo "$as_me: failed program was:" >&5 | 15902 | echo "$as_me: failed program was:" >&5 |
17795 | sed 's/^/| /' conftest.$ac_ext >&5 | 15903 | cat conftest.$ac_ext >&5 |
17796 | 15904 | echo "$as_me:15904: result: no" >&5 | |
17797 | echo "$as_me:$LINENO: result: no" >&5 | ||
17798 | echo "${ECHO_T}no" >&6 | 15905 | echo "${ECHO_T}no" >&6 |
17799 | system_wtmp_path=no | 15906 | system_wtmp_path=no |
17800 | 15907 | ||
@@ -17808,30 +15915,25 @@ if test -z "$conf_wtmp_location"; then | |||
17808 | fi | 15915 | fi |
17809 | done | 15916 | done |
17810 | if test -z "$conf_wtmp_location"; then | 15917 | if test -z "$conf_wtmp_location"; then |
17811 | cat >>confdefs.h <<\_ACEOF | 15918 | cat >>confdefs.h <<\EOF |
17812 | #define DISABLE_WTMP 1 | 15919 | #define DISABLE_WTMP 1 |
17813 | _ACEOF | 15920 | EOF |
17814 | 15921 | ||
17815 | fi | 15922 | fi |
17816 | fi | 15923 | fi |
17817 | fi | 15924 | fi |
17818 | if test -n "$conf_wtmp_location"; then | 15925 | if test -n "$conf_wtmp_location"; then |
17819 | cat >>confdefs.h <<_ACEOF | 15926 | cat >>confdefs.h <<EOF |
17820 | #define CONF_WTMP_FILE "$conf_wtmp_location" | 15927 | #define CONF_WTMP_FILE "$conf_wtmp_location" |
17821 | _ACEOF | 15928 | EOF |
17822 | 15929 | ||
17823 | fi | 15930 | fi |
17824 | 15931 | ||
17825 | 15932 | echo "$as_me:15932: checking if your system defines UTMPX_FILE" >&5 | |
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 | 15933 | echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 |
17828 | cat >conftest.$ac_ext <<_ACEOF | 15934 | cat >conftest.$ac_ext <<_ACEOF |
17829 | #line $LINENO "configure" | 15935 | #line 15935 "configure" |
17830 | /* confdefs.h. */ | 15936 | #include "confdefs.h" |
17831 | _ACEOF | ||
17832 | cat confdefs.h >>conftest.$ac_ext | ||
17833 | cat >>conftest.$ac_ext <<_ACEOF | ||
17834 | /* end confdefs.h. */ | ||
17835 | 15937 | ||
17836 | #include <sys/types.h> | 15938 | #include <sys/types.h> |
17837 | #include <utmp.h> | 15939 | #include <utmp.h> |
@@ -17851,24 +15953,23 @@ main () | |||
17851 | } | 15953 | } |
17852 | _ACEOF | 15954 | _ACEOF |
17853 | rm -f conftest.$ac_objext | 15955 | rm -f conftest.$ac_objext |
17854 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15956 | if { (eval echo "$as_me:15956: \"$ac_compile\"") >&5 |
17855 | (eval $ac_compile) 2>&5 | 15957 | (eval $ac_compile) 2>&5 |
17856 | ac_status=$? | 15958 | ac_status=$? |
17857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15959 | echo "$as_me:15959: \$? = $ac_status" >&5 |
17858 | (exit $ac_status); } && | 15960 | (exit $ac_status); } && |
17859 | { ac_try='test -s conftest.$ac_objext' | 15961 | { ac_try='test -s conftest.$ac_objext' |
17860 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15962 | { (eval echo "$as_me:15962: \"$ac_try\"") >&5 |
17861 | (eval $ac_try) 2>&5 | 15963 | (eval $ac_try) 2>&5 |
17862 | ac_status=$? | 15964 | ac_status=$? |
17863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15965 | echo "$as_me:15965: \$? = $ac_status" >&5 |
17864 | (exit $ac_status); }; }; then | 15966 | (exit $ac_status); }; }; then |
17865 | echo "$as_me:$LINENO: result: yes" >&5 | 15967 | echo "$as_me:15967: result: yes" >&5 |
17866 | echo "${ECHO_T}yes" >&6 | 15968 | echo "${ECHO_T}yes" >&6 |
17867 | else | 15969 | else |
17868 | echo "$as_me: failed program was:" >&5 | 15970 | echo "$as_me: failed program was:" >&5 |
17869 | sed 's/^/| /' conftest.$ac_ext >&5 | 15971 | cat conftest.$ac_ext >&5 |
17870 | 15972 | echo "$as_me:15972: result: no" >&5 | |
17871 | echo "$as_me:$LINENO: result: no" >&5 | ||
17872 | echo "${ECHO_T}no" >&6 | 15973 | echo "${ECHO_T}no" >&6 |
17873 | system_utmpx_path=no | 15974 | system_utmpx_path=no |
17874 | 15975 | ||
@@ -17876,27 +15977,23 @@ fi | |||
17876 | rm -f conftest.$ac_objext conftest.$ac_ext | 15977 | rm -f conftest.$ac_objext conftest.$ac_ext |
17877 | if test -z "$conf_utmpx_location"; then | 15978 | if test -z "$conf_utmpx_location"; then |
17878 | if test x"$system_utmpx_path" = x"no" ; then | 15979 | if test x"$system_utmpx_path" = x"no" ; then |
17879 | cat >>confdefs.h <<\_ACEOF | 15980 | cat >>confdefs.h <<\EOF |
17880 | #define DISABLE_UTMPX 1 | 15981 | #define DISABLE_UTMPX 1 |
17881 | _ACEOF | 15982 | EOF |
17882 | 15983 | ||
17883 | fi | 15984 | fi |
17884 | else | 15985 | else |
17885 | cat >>confdefs.h <<_ACEOF | 15986 | cat >>confdefs.h <<EOF |
17886 | #define CONF_UTMPX_FILE "$conf_utmpx_location" | 15987 | #define CONF_UTMPX_FILE "$conf_utmpx_location" |
17887 | _ACEOF | 15988 | EOF |
17888 | 15989 | ||
17889 | fi | 15990 | fi |
17890 | 15991 | ||
17891 | echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 | 15992 | echo "$as_me:15992: checking if your system defines WTMPX_FILE" >&5 |
17892 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 | 15993 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 |
17893 | cat >conftest.$ac_ext <<_ACEOF | 15994 | cat >conftest.$ac_ext <<_ACEOF |
17894 | #line $LINENO "configure" | 15995 | #line 15995 "configure" |
17895 | /* confdefs.h. */ | 15996 | #include "confdefs.h" |
17896 | _ACEOF | ||
17897 | cat confdefs.h >>conftest.$ac_ext | ||
17898 | cat >>conftest.$ac_ext <<_ACEOF | ||
17899 | /* end confdefs.h. */ | ||
17900 | 15997 | ||
17901 | #include <sys/types.h> | 15998 | #include <sys/types.h> |
17902 | #include <utmp.h> | 15999 | #include <utmp.h> |
@@ -17916,24 +16013,23 @@ main () | |||
17916 | } | 16013 | } |
17917 | _ACEOF | 16014 | _ACEOF |
17918 | rm -f conftest.$ac_objext | 16015 | rm -f conftest.$ac_objext |
17919 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16016 | if { (eval echo "$as_me:16016: \"$ac_compile\"") >&5 |
17920 | (eval $ac_compile) 2>&5 | 16017 | (eval $ac_compile) 2>&5 |
17921 | ac_status=$? | 16018 | ac_status=$? |
17922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16019 | echo "$as_me:16019: \$? = $ac_status" >&5 |
17923 | (exit $ac_status); } && | 16020 | (exit $ac_status); } && |
17924 | { ac_try='test -s conftest.$ac_objext' | 16021 | { ac_try='test -s conftest.$ac_objext' |
17925 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16022 | { (eval echo "$as_me:16022: \"$ac_try\"") >&5 |
17926 | (eval $ac_try) 2>&5 | 16023 | (eval $ac_try) 2>&5 |
17927 | ac_status=$? | 16024 | ac_status=$? |
17928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16025 | echo "$as_me:16025: \$? = $ac_status" >&5 |
17929 | (exit $ac_status); }; }; then | 16026 | (exit $ac_status); }; }; then |
17930 | echo "$as_me:$LINENO: result: yes" >&5 | 16027 | echo "$as_me:16027: result: yes" >&5 |
17931 | echo "${ECHO_T}yes" >&6 | 16028 | echo "${ECHO_T}yes" >&6 |
17932 | else | 16029 | else |
17933 | echo "$as_me: failed program was:" >&5 | 16030 | echo "$as_me: failed program was:" >&5 |
17934 | sed 's/^/| /' conftest.$ac_ext >&5 | 16031 | cat conftest.$ac_ext >&5 |
17935 | 16032 | echo "$as_me:16032: result: no" >&5 | |
17936 | echo "$as_me:$LINENO: result: no" >&5 | ||
17937 | echo "${ECHO_T}no" >&6 | 16033 | echo "${ECHO_T}no" >&6 |
17938 | system_wtmpx_path=no | 16034 | system_wtmpx_path=no |
17939 | 16035 | ||
@@ -17941,22 +16037,21 @@ fi | |||
17941 | rm -f conftest.$ac_objext conftest.$ac_ext | 16037 | rm -f conftest.$ac_objext conftest.$ac_ext |
17942 | if test -z "$conf_wtmpx_location"; then | 16038 | if test -z "$conf_wtmpx_location"; then |
17943 | if test x"$system_wtmpx_path" = x"no" ; then | 16039 | if test x"$system_wtmpx_path" = x"no" ; then |
17944 | cat >>confdefs.h <<\_ACEOF | 16040 | cat >>confdefs.h <<\EOF |
17945 | #define DISABLE_WTMPX 1 | 16041 | #define DISABLE_WTMPX 1 |
17946 | _ACEOF | 16042 | EOF |
17947 | 16043 | ||
17948 | fi | 16044 | fi |
17949 | else | 16045 | else |
17950 | cat >>confdefs.h <<_ACEOF | 16046 | cat >>confdefs.h <<EOF |
17951 | #define CONF_WTMPX_FILE "$conf_wtmpx_location" | 16047 | #define CONF_WTMPX_FILE "$conf_wtmpx_location" |
17952 | _ACEOF | 16048 | EOF |
17953 | 16049 | ||
17954 | fi | 16050 | fi |
17955 | 16051 | ||
17956 | |||
17957 | if test ! -z "$blibpath" ; then | 16052 | if test ! -z "$blibpath" ; then |
17958 | LDFLAGS="$LDFLAGS $blibflags$blibpath" | 16053 | LDFLAGS="$LDFLAGS $blibflags$blibpath" |
17959 | { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 | 16054 | { echo "$as_me:16054: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 |
17960 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} | 16055 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} |
17961 | fi | 16056 | fi |
17962 | 16057 | ||
@@ -17967,8 +16062,7 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then | |||
17967 | LIBS=`echo $LIBS | sed 's/-ldl //'` | 16062 | LIBS=`echo $LIBS | sed 's/-ldl //'` |
17968 | fi | 16063 | fi |
17969 | 16064 | ||
17970 | 16065 | ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" | |
17971 | ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" | ||
17972 | 16066 | ||
17973 | cat >confcache <<\_ACEOF | 16067 | cat >confcache <<\_ACEOF |
17974 | # This file is a shell script that caches the results of configure | 16068 | # This file is a shell script that caches the results of configure |
@@ -17980,7 +16074,7 @@ cat >confcache <<\_ACEOF | |||
17980 | # config.status only pays attention to the cache file if you give it | 16074 | # config.status only pays attention to the cache file if you give it |
17981 | # the --recheck option to rerun configure. | 16075 | # the --recheck option to rerun configure. |
17982 | # | 16076 | # |
17983 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 16077 | # `ac_cv_env_foo' variables (set or unset) will be overriden when |
17984 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 16078 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
17985 | # following values. | 16079 | # following values. |
17986 | 16080 | ||
@@ -18015,7 +16109,7 @@ _ACEOF | |||
18015 | t end | 16109 | t end |
18016 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 16110 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
18017 | : end' >>confcache | 16111 | : end' >>confcache |
18018 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 16112 | if cmp -s $cache_file confcache; then :; else |
18019 | if test -w $cache_file; then | 16113 | if test -w $cache_file; then |
18020 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 16114 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
18021 | cat confcache >$cache_file | 16115 | cat confcache >$cache_file |
@@ -18046,227 +16140,35 @@ fi | |||
18046 | 16140 | ||
18047 | DEFS=-DHAVE_CONFIG_H | 16141 | DEFS=-DHAVE_CONFIG_H |
18048 | 16142 | ||
18049 | ac_libobjs= | ||
18050 | ac_ltlibobjs= | ||
18051 | for ac_i in : $LIBOBJS; 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 | LIBOBJS=$ac_libobjs | ||
18060 | |||
18061 | LTLIBOBJS=$ac_ltlibobjs | ||
18062 | |||
18063 | |||
18064 | |||
18065 | : ${CONFIG_STATUS=./config.status} | 16143 | : ${CONFIG_STATUS=./config.status} |
18066 | ac_clean_files_save=$ac_clean_files | 16144 | ac_clean_files_save=$ac_clean_files |
18067 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 16145 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
18068 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 16146 | { echo "$as_me:16146: creating $CONFIG_STATUS" >&5 |
18069 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 16147 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
18070 | cat >$CONFIG_STATUS <<_ACEOF | 16148 | cat >$CONFIG_STATUS <<_ACEOF |
18071 | #! $SHELL | 16149 | #! $SHELL |
18072 | # Generated by $as_me. | 16150 | # Generated automatically by configure. |
18073 | # Run this file to recreate the current configuration. | 16151 | # Run this file to recreate the current configuration. |
18074 | # Compiler output produced by configure, useful for debugging | 16152 | # Compiler output produced by configure, useful for debugging |
18075 | # configure, is in config.log if it exists. | 16153 | # configure, is in config.log if it exists. |
18076 | 16154 | ||
18077 | debug=false | 16155 | debug=false |
18078 | ac_cs_recheck=false | ||
18079 | ac_cs_silent=false | ||
18080 | SHELL=\${CONFIG_SHELL-$SHELL} | 16156 | SHELL=\${CONFIG_SHELL-$SHELL} |
16157 | ac_cs_invocation="\$0 \$@" | ||
16158 | |||
18081 | _ACEOF | 16159 | _ACEOF |
18082 | 16160 | ||
18083 | cat >>$CONFIG_STATUS <<\_ACEOF | 16161 | cat >>$CONFIG_STATUS <<\_ACEOF |
18084 | ## --------------------- ## | ||
18085 | ## M4sh Initialization. ## | ||
18086 | ## --------------------- ## | ||
18087 | |||
18088 | # Be Bourne compatible | 16162 | # Be Bourne compatible |
18089 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 16163 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18090 | emulate sh | 16164 | emulate sh |
18091 | NULLCMD=: | 16165 | 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 | 16166 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
18096 | set -o posix | 16167 | set -o posix |
18097 | fi | 16168 | fi |
18098 | 16169 | ||
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. | 16170 | # Name of the executable. |
18141 | as_me=`$as_basename "$0" || | 16171 | as_me=`echo "$0" |sed 's,.*[\\/],,'` |
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 | 16172 | ||
18271 | if expr a : '\(a\)' >/dev/null 2>&1; then | 16173 | if expr a : '\(a\)' >/dev/null 2>&1; then |
18272 | as_expr=expr | 16174 | as_expr=expr |
@@ -18292,20 +16194,24 @@ else | |||
18292 | fi | 16194 | fi |
18293 | rm -f conf$$ conf$$.exe conf$$.file | 16195 | rm -f conf$$ conf$$.exe conf$$.file |
18294 | 16196 | ||
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" | 16197 | as_executable_p="test -f" |
18302 | 16198 | ||
18303 | # Sed expression to map a string onto a valid CPP name. | 16199 | # Support unset when possible. |
18304 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 16200 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
18305 | 16201 | as_unset=unset | |
18306 | # Sed expression to map a string onto a valid variable name. | 16202 | else |
18307 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 16203 | as_unset=false |
16204 | fi | ||
18308 | 16205 | ||
16206 | # NLS nuisances. | ||
16207 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | ||
16208 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | ||
16209 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | ||
16210 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | ||
16211 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | ||
16212 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | ||
16213 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | ||
16214 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | ||
18309 | 16215 | ||
18310 | # IFS | 16216 | # IFS |
18311 | # We need space, tab and new line, in precisely that order. | 16217 | # We need space, tab and new line, in precisely that order. |
@@ -18314,34 +16220,10 @@ as_nl=' | |||
18314 | IFS=" $as_nl" | 16220 | IFS=" $as_nl" |
18315 | 16221 | ||
18316 | # CDPATH. | 16222 | # CDPATH. |
18317 | $as_unset CDPATH | 16223 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
18318 | 16224 | ||
18319 | exec 6>&1 | 16225 | exec 6>&1 |
18320 | 16226 | ||
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 | 16227 | _ACEOF |
18346 | 16228 | ||
18347 | # Files that config.status was made for. | 16229 | # Files that config.status was made for. |
@@ -18361,7 +16243,7 @@ if test -n "$ac_config_commands"; then | |||
18361 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 16243 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
18362 | fi | 16244 | fi |
18363 | 16245 | ||
18364 | cat >>$CONFIG_STATUS <<\_ACEOF | 16246 | cat >>$CONFIG_STATUS <<\EOF |
18365 | 16247 | ||
18366 | ac_cs_usage="\ | 16248 | ac_cs_usage="\ |
18367 | \`$as_me' instantiates files from templates according to the | 16249 | \`$as_me' instantiates files from templates according to the |
@@ -18371,7 +16253,6 @@ Usage: $0 [OPTIONS] [FILE]... | |||
18371 | 16253 | ||
18372 | -h, --help print this help, then exit | 16254 | -h, --help print this help, then exit |
18373 | -V, --version print version number, then exit | 16255 | -V, --version print version number, then exit |
18374 | -q, --quiet do not print progress messages | ||
18375 | -d, --debug don't remove temporary files | 16256 | -d, --debug don't remove temporary files |
18376 | --recheck update $as_me by reconfiguring in the same conditions | 16257 | --recheck update $as_me by reconfiguring in the same conditions |
18377 | --file=FILE[:TEMPLATE] | 16258 | --file=FILE[:TEMPLATE] |
@@ -18386,12 +16267,12 @@ Configuration headers: | |||
18386 | $config_headers | 16267 | $config_headers |
18387 | 16268 | ||
18388 | Report bugs to <bug-autoconf@gnu.org>." | 16269 | Report bugs to <bug-autoconf@gnu.org>." |
18389 | _ACEOF | 16270 | EOF |
18390 | 16271 | ||
18391 | cat >>$CONFIG_STATUS <<_ACEOF | 16272 | cat >>$CONFIG_STATUS <<EOF |
18392 | ac_cs_version="\\ | 16273 | ac_cs_version="\\ |
18393 | config.status | 16274 | config.status |
18394 | configured by $0, generated by GNU Autoconf 2.57, | 16275 | configured by $0, generated by GNU Autoconf 2.52, |
18395 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 16276 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
18396 | 16277 | ||
18397 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 16278 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
@@ -18400,9 +16281,9 @@ This config.status script is free software; the Free Software Foundation | |||
18400 | gives unlimited permission to copy, distribute and modify it." | 16281 | gives unlimited permission to copy, distribute and modify it." |
18401 | srcdir=$srcdir | 16282 | srcdir=$srcdir |
18402 | INSTALL="$INSTALL" | 16283 | INSTALL="$INSTALL" |
18403 | _ACEOF | 16284 | EOF |
18404 | 16285 | ||
18405 | cat >>$CONFIG_STATUS <<\_ACEOF | 16286 | cat >>$CONFIG_STATUS <<\EOF |
18406 | # If no file are specified by the user, then we need to provide default | 16287 | # 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. | 16288 | # value. By we need to know if files were specified by the user. |
18408 | ac_need_defaults=: | 16289 | ac_need_defaults=: |
@@ -18412,30 +16293,30 @@ do | |||
18412 | --*=*) | 16293 | --*=*) |
18413 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | 16294 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
18414 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 16295 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
18415 | ac_shift=: | 16296 | shift |
18416 | ;; | 16297 | set dummy "$ac_option" "$ac_optarg" ${1+"$@"} |
18417 | -*) | 16298 | shift |
18418 | ac_option=$1 | ||
18419 | ac_optarg=$2 | ||
18420 | ac_shift=shift | ||
18421 | ;; | 16299 | ;; |
16300 | -*);; | ||
18422 | *) # This is not an option, so the user has probably given explicit | 16301 | *) # This is not an option, so the user has probably given explicit |
18423 | # arguments. | 16302 | # arguments. |
18424 | ac_option=$1 | ||
18425 | ac_need_defaults=false;; | 16303 | ac_need_defaults=false;; |
18426 | esac | 16304 | esac |
18427 | 16305 | ||
18428 | case $ac_option in | 16306 | case $1 in |
18429 | # Handling of the options. | 16307 | # Handling of the options. |
18430 | _ACEOF | 16308 | EOF |
18431 | cat >>$CONFIG_STATUS <<\_ACEOF | 16309 | cat >>$CONFIG_STATUS <<EOF |
18432 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 16310 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
18433 | ac_cs_recheck=: ;; | 16311 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
16312 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | ||
16313 | EOF | ||
16314 | cat >>$CONFIG_STATUS <<\EOF | ||
18434 | --version | --vers* | -V ) | 16315 | --version | --vers* | -V ) |
18435 | echo "$ac_cs_version"; exit 0 ;; | 16316 | echo "$ac_cs_version"; exit 0 ;; |
18436 | --he | --h) | 16317 | --he | --h) |
18437 | # Conflict between --help and --header | 16318 | # Conflict between --help and --header |
18438 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 16319 | { { echo "$as_me:16319: error: ambiguous option: $1 |
18439 | Try \`$0 --help' for more information." >&5 | 16320 | Try \`$0 --help' for more information." >&5 |
18440 | echo "$as_me: error: ambiguous option: $1 | 16321 | echo "$as_me: error: ambiguous option: $1 |
18441 | Try \`$0 --help' for more information." >&2;} | 16322 | Try \`$0 --help' for more information." >&2;} |
@@ -18445,19 +16326,16 @@ Try \`$0 --help' for more information." >&2;} | |||
18445 | --debug | --d* | -d ) | 16326 | --debug | --d* | -d ) |
18446 | debug=: ;; | 16327 | debug=: ;; |
18447 | --file | --fil | --fi | --f ) | 16328 | --file | --fil | --fi | --f ) |
18448 | $ac_shift | 16329 | shift |
18449 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 16330 | CONFIG_FILES="$CONFIG_FILES $1" |
18450 | ac_need_defaults=false;; | 16331 | ac_need_defaults=false;; |
18451 | --header | --heade | --head | --hea ) | 16332 | --header | --heade | --head | --hea ) |
18452 | $ac_shift | 16333 | shift |
18453 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 16334 | CONFIG_HEADERS="$CONFIG_HEADERS $1" |
18454 | ac_need_defaults=false;; | 16335 | 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 | 16336 | ||
18459 | # This is an error. | 16337 | # This is an error. |
18460 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 16338 | -*) { { echo "$as_me:16338: error: unrecognized option: $1 |
18461 | Try \`$0 --help' for more information." >&5 | 16339 | Try \`$0 --help' for more information." >&5 |
18462 | echo "$as_me: error: unrecognized option: $1 | 16340 | echo "$as_me: error: unrecognized option: $1 |
18463 | Try \`$0 --help' for more information." >&2;} | 16341 | Try \`$0 --help' for more information." >&2;} |
@@ -18469,27 +16347,25 @@ Try \`$0 --help' for more information." >&2;} | |||
18469 | shift | 16347 | shift |
18470 | done | 16348 | done |
18471 | 16349 | ||
18472 | ac_configure_extra_args= | 16350 | exec 5>>config.log |
16351 | cat >&5 << _ACEOF | ||
18473 | 16352 | ||
18474 | if $ac_cs_silent; then | 16353 | ## ----------------------- ## |
18475 | exec 6>/dev/null | 16354 | ## Running config.status. ## |
18476 | ac_configure_extra_args="$ac_configure_extra_args --silent" | 16355 | ## ----------------------- ## |
18477 | fi | ||
18478 | 16356 | ||
18479 | _ACEOF | 16357 | This file was extended by $as_me 2.52, executed with |
18480 | cat >>$CONFIG_STATUS <<_ACEOF | 16358 | CONFIG_FILES = $CONFIG_FILES |
18481 | if \$ac_cs_recheck; then | 16359 | CONFIG_HEADERS = $CONFIG_HEADERS |
18482 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 16360 | CONFIG_LINKS = $CONFIG_LINKS |
18483 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 16361 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
18484 | fi | 16362 | > $ac_cs_invocation |
16363 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
18485 | 16364 | ||
18486 | _ACEOF | 16365 | _ACEOF |
16366 | EOF | ||
18487 | 16367 | ||
18488 | 16368 | cat >>$CONFIG_STATUS <<\EOF | |
18489 | |||
18490 | |||
18491 | |||
18492 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
18493 | for ac_config_target in $ac_config_targets | 16369 | for ac_config_target in $ac_config_targets |
18494 | do | 16370 | do |
18495 | case "$ac_config_target" in | 16371 | case "$ac_config_target" in |
@@ -18499,7 +16375,7 @@ do | |||
18499 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; | 16375 | "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; |
18500 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; | 16376 | "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; |
18501 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; | 16377 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
18502 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 16378 | *) { { echo "$as_me:16378: error: invalid argument: $ac_config_target" >&5 |
18503 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 16379 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
18504 | { (exit 1); exit 1; }; };; | 16380 | { (exit 1); exit 1; }; };; |
18505 | esac | 16381 | esac |
@@ -18514,9 +16390,6 @@ if $ac_need_defaults; then | |||
18514 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 16390 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
18515 | fi | 16391 | fi |
18516 | 16392 | ||
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. | 16393 | # Create a temporary directory, and hook for its removal unless debugging. |
18521 | $debug || | 16394 | $debug || |
18522 | { | 16395 | { |
@@ -18525,23 +16398,23 @@ $debug || | |||
18525 | } | 16398 | } |
18526 | 16399 | ||
18527 | # Create a (secure) tmp directory for tmp files. | 16400 | # Create a (secure) tmp directory for tmp files. |
18528 | 16401 | : ${TMPDIR=/tmp} | |
18529 | { | 16402 | { |
18530 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 16403 | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
18531 | test -n "$tmp" && test -d "$tmp" | 16404 | test -n "$tmp" && test -d "$tmp" |
18532 | } || | 16405 | } || |
18533 | { | 16406 | { |
18534 | tmp=./confstat$$-$RANDOM | 16407 | tmp=$TMPDIR/cs$$-$RANDOM |
18535 | (umask 077 && mkdir $tmp) | 16408 | (umask 077 && mkdir $tmp) |
18536 | } || | 16409 | } || |
18537 | { | 16410 | { |
18538 | echo "$me: cannot create a temporary directory in ." >&2 | 16411 | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
18539 | { (exit 1); exit 1; } | 16412 | { (exit 1); exit 1; } |
18540 | } | 16413 | } |
18541 | 16414 | ||
18542 | _ACEOF | 16415 | EOF |
18543 | 16416 | ||
18544 | cat >>$CONFIG_STATUS <<_ACEOF | 16417 | cat >>$CONFIG_STATUS <<EOF |
18545 | 16418 | ||
18546 | # | 16419 | # |
18547 | # CONFIG_FILES section. | 16420 | # CONFIG_FILES section. |
@@ -18554,12 +16427,6 @@ if test -n "\$CONFIG_FILES"; then | |||
18554 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 16427 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
18555 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 16428 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
18556 | s,@SHELL@,$SHELL,;t t | 16429 | 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 | 16430 | s,@exec_prefix@,$exec_prefix,;t t |
18564 | s,@prefix@,$prefix,;t t | 16431 | s,@prefix@,$prefix,;t t |
18565 | s,@program_transform_name@,$program_transform_name,;t t | 16432 | s,@program_transform_name@,$program_transform_name,;t t |
@@ -18575,13 +16442,19 @@ s,@includedir@,$includedir,;t t | |||
18575 | s,@oldincludedir@,$oldincludedir,;t t | 16442 | s,@oldincludedir@,$oldincludedir,;t t |
18576 | s,@infodir@,$infodir,;t t | 16443 | s,@infodir@,$infodir,;t t |
18577 | s,@mandir@,$mandir,;t t | 16444 | s,@mandir@,$mandir,;t t |
16445 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | ||
16446 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | ||
16447 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | ||
16448 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | ||
16449 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | ||
18578 | s,@build_alias@,$build_alias,;t t | 16450 | s,@build_alias@,$build_alias,;t t |
18579 | s,@host_alias@,$host_alias,;t t | 16451 | s,@host_alias@,$host_alias,;t t |
18580 | s,@target_alias@,$target_alias,;t t | 16452 | s,@target_alias@,$target_alias,;t t |
18581 | s,@DEFS@,$DEFS,;t t | ||
18582 | s,@ECHO_C@,$ECHO_C,;t t | 16453 | s,@ECHO_C@,$ECHO_C,;t t |
18583 | s,@ECHO_N@,$ECHO_N,;t t | 16454 | s,@ECHO_N@,$ECHO_N,;t t |
18584 | s,@ECHO_T@,$ECHO_T,;t t | 16455 | s,@ECHO_T@,$ECHO_T,;t t |
16456 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | ||
16457 | s,@DEFS@,$DEFS,;t t | ||
18585 | s,@LIBS@,$LIBS,;t t | 16458 | s,@LIBS@,$LIBS,;t t |
18586 | s,@CC@,$CC,;t t | 16459 | s,@CC@,$CC,;t t |
18587 | s,@CFLAGS@,$CFLAGS,;t t | 16460 | s,@CFLAGS@,$CFLAGS,;t t |
@@ -18598,6 +16471,7 @@ s,@host@,$host,;t t | |||
18598 | s,@host_cpu@,$host_cpu,;t t | 16471 | s,@host_cpu@,$host_cpu,;t t |
18599 | s,@host_vendor@,$host_vendor,;t t | 16472 | s,@host_vendor@,$host_vendor,;t t |
18600 | s,@host_os@,$host_os,;t t | 16473 | s,@host_os@,$host_os,;t t |
16474 | s,@AWK@,$AWK,;t t | ||
18601 | s,@CPP@,$CPP,;t t | 16475 | s,@CPP@,$CPP,;t t |
18602 | s,@RANLIB@,$RANLIB,;t t | 16476 | s,@RANLIB@,$RANLIB,;t t |
18603 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 16477 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
@@ -18612,7 +16486,6 @@ s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t | |||
18612 | s,@SH@,$SH,;t t | 16486 | s,@SH@,$SH,;t t |
18613 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t | 16487 | s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t |
18614 | s,@LD@,$LD,;t t | 16488 | s,@LD@,$LD,;t t |
18615 | s,@EGREP@,$EGREP,;t t | ||
18616 | s,@LIBWRAP@,$LIBWRAP,;t t | 16489 | s,@LIBWRAP@,$LIBWRAP,;t t |
18617 | s,@LIBPAM@,$LIBPAM,;t t | 16490 | s,@LIBPAM@,$LIBPAM,;t t |
18618 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t | 16491 | s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t |
@@ -18644,13 +16517,11 @@ s,@MANTYPE@,$MANTYPE,;t t | |||
18644 | s,@mansubdir@,$mansubdir,;t t | 16517 | s,@mansubdir@,$mansubdir,;t t |
18645 | s,@user_path@,$user_path,;t t | 16518 | s,@user_path@,$user_path,;t t |
18646 | s,@piddir@,$piddir,;t t | 16519 | s,@piddir@,$piddir,;t t |
18647 | s,@LIBOBJS@,$LIBOBJS,;t t | ||
18648 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | ||
18649 | CEOF | 16520 | CEOF |
18650 | 16521 | ||
18651 | _ACEOF | 16522 | EOF |
18652 | 16523 | ||
18653 | cat >>$CONFIG_STATUS <<\_ACEOF | 16524 | cat >>$CONFIG_STATUS <<\EOF |
18654 | # Split the substitutions into bite-sized pieces for seds with | 16525 | # Split the substitutions into bite-sized pieces for seds with |
18655 | # small command number limits, like on Digital OSF/1 and HP-UX. | 16526 | # small command number limits, like on Digital OSF/1 and HP-UX. |
18656 | ac_max_sed_lines=48 | 16527 | ac_max_sed_lines=48 |
@@ -18689,8 +16560,8 @@ _ACEOF | |||
18689 | fi | 16560 | fi |
18690 | fi # test -n "$CONFIG_FILES" | 16561 | fi # test -n "$CONFIG_FILES" |
18691 | 16562 | ||
18692 | _ACEOF | 16563 | EOF |
18693 | cat >>$CONFIG_STATUS <<\_ACEOF | 16564 | cat >>$CONFIG_STATUS <<\EOF |
18694 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 16565 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
18695 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 16566 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
18696 | case $ac_file in | 16567 | case $ac_file in |
@@ -18704,8 +16575,7 @@ for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |||
18704 | esac | 16575 | esac |
18705 | 16576 | ||
18706 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 16577 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
18707 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | 16578 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
18708 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
18709 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 16579 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
18710 | X"$ac_file" : 'X\(//\)$' \| \ | 16580 | X"$ac_file" : 'X\(//\)$' \| \ |
18711 | X"$ac_file" : 'X\(/\)' \| \ | 16581 | X"$ac_file" : 'X\(/\)' \| \ |
@@ -18716,84 +16586,60 @@ echo X"$ac_file" | | |||
18716 | /^X\(\/\/\)$/{ s//\1/; q; } | 16586 | /^X\(\/\/\)$/{ s//\1/; q; } |
18717 | /^X\(\/\).*/{ s//\1/; q; } | 16587 | /^X\(\/\).*/{ s//\1/; q; } |
18718 | s/.*/./; q'` | 16588 | s/.*/./; q'` |
18719 | { if $as_mkdir_p; then | 16589 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
18720 | mkdir -p "$ac_dir" | 16590 | { case "$ac_dir" in |
18721 | else | 16591 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
18722 | as_dir="$ac_dir" | 16592 | *) as_incr_dir=.;; |
18723 | as_dirs= | 16593 | esac |
18724 | while test ! -d "$as_dir"; do | 16594 | as_dummy="$ac_dir" |
18725 | as_dirs="$as_dir $as_dirs" | 16595 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
18726 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 16596 | case $as_mkdir_dir in |
18727 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 16597 | # Skip DOS drivespec |
18728 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 16598 | ?:) as_incr_dir=$as_mkdir_dir ;; |
18729 | X"$as_dir" : 'X\(//\)$' \| \ | 16599 | *) |
18730 | X"$as_dir" : 'X\(/\)' \| \ | 16600 | as_incr_dir=$as_incr_dir/$as_mkdir_dir |
18731 | . : '\(.\)' 2>/dev/null || | 16601 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
18732 | echo X"$as_dir" | | 16602 | ;; |
18733 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 16603 | esac |
18734 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 16604 | done; } |
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 | 16605 | ||
18746 | if test "$ac_dir" != .; then | 16606 | ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
18747 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 16607 | # A "../" for each directory in $ac_dir_suffix. |
18748 | # A "../" for each directory in $ac_dir_suffix. | 16608 | ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` |
18749 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 16609 | else |
18750 | else | 16610 | ac_dir_suffix= ac_dots= |
18751 | ac_dir_suffix= ac_top_builddir= | 16611 | fi |
18752 | fi | ||
18753 | 16612 | ||
18754 | case $srcdir in | 16613 | case $srcdir in |
18755 | .) # No --srcdir option. We are building in place. | 16614 | .) ac_srcdir=. |
18756 | ac_srcdir=. | 16615 | if test -z "$ac_dots"; then |
18757 | if test -z "$ac_top_builddir"; then | 16616 | ac_top_srcdir=. |
18758 | ac_top_srcdir=. | 16617 | else |
18759 | else | 16618 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` |
18760 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 16619 | fi ;; |
18761 | fi ;; | 16620 | [\\/]* | ?:[\\/]* ) |
18762 | [\\/]* | ?:[\\/]* ) # Absolute path. | 16621 | ac_srcdir=$srcdir$ac_dir_suffix; |
18763 | ac_srcdir=$srcdir$ac_dir_suffix; | 16622 | ac_top_srcdir=$srcdir ;; |
18764 | ac_top_srcdir=$srcdir ;; | ||
18765 | *) # Relative path. | 16623 | *) # Relative path. |
18766 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 16624 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
18767 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 16625 | ac_top_srcdir=$ac_dots$srcdir ;; |
18768 | esac | 16626 | 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 | 16627 | ||
18777 | case $INSTALL in | 16628 | case $INSTALL in |
18778 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 16629 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
18779 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 16630 | *) ac_INSTALL=$ac_dots$INSTALL ;; |
18780 | esac | 16631 | esac |
18781 | 16632 | ||
18782 | if test x"$ac_file" != x-; then | 16633 | if test x"$ac_file" != x-; then |
18783 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | 16634 | { echo "$as_me:16634: creating $ac_file" >&5 |
18784 | echo "$as_me: creating $ac_file" >&6;} | 16635 | echo "$as_me: creating $ac_file" >&6;} |
18785 | rm -f "$ac_file" | 16636 | rm -f "$ac_file" |
18786 | fi | 16637 | fi |
18787 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 16638 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
18788 | # use $as_me), people would be surprised to read: | 16639 | # use $as_me), people would be surprised to read: |
18789 | # /* config.h. Generated by config.status. */ | 16640 | # /* config.h. Generated automatically by config.status. */ |
18790 | if test x"$ac_file" = x-; then | 16641 | configure_input="Generated automatically from `echo $ac_file_in | |
18791 | configure_input= | 16642 | sed 's,.*/,,'` by configure." |
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 | 16643 | ||
18798 | # First look for the input files in the build tree, otherwise in the | 16644 | # First look for the input files in the build tree, otherwise in the |
18799 | # src tree. | 16645 | # src tree. |
@@ -18803,7 +16649,7 @@ echo "$as_me: creating $ac_file" >&6;} | |||
18803 | -) echo $tmp/stdin ;; | 16649 | -) echo $tmp/stdin ;; |
18804 | [\\/$]*) | 16650 | [\\/$]*) |
18805 | # Absolute (can't be DOS-style, as IFS=:) | 16651 | # Absolute (can't be DOS-style, as IFS=:) |
18806 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 16652 | test -f "$f" || { { echo "$as_me:16652: error: cannot find input file: $f" >&5 |
18807 | echo "$as_me: error: cannot find input file: $f" >&2;} | 16653 | echo "$as_me: error: cannot find input file: $f" >&2;} |
18808 | { (exit 1); exit 1; }; } | 16654 | { (exit 1); exit 1; }; } |
18809 | echo $f;; | 16655 | echo $f;; |
@@ -18816,29 +16662,23 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | |||
18816 | echo $srcdir/$f | 16662 | echo $srcdir/$f |
18817 | else | 16663 | else |
18818 | # /dev/null tree | 16664 | # /dev/null tree |
18819 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 16665 | { { echo "$as_me:16665: error: cannot find input file: $f" >&5 |
18820 | echo "$as_me: error: cannot find input file: $f" >&2;} | 16666 | echo "$as_me: error: cannot find input file: $f" >&2;} |
18821 | { (exit 1); exit 1; }; } | 16667 | { (exit 1); exit 1; }; } |
18822 | fi;; | 16668 | fi;; |
18823 | esac | 16669 | esac |
18824 | done` || { (exit 1); exit 1; } | 16670 | done` || { (exit 1); exit 1; } |
18825 | _ACEOF | 16671 | EOF |
18826 | cat >>$CONFIG_STATUS <<_ACEOF | 16672 | cat >>$CONFIG_STATUS <<EOF |
18827 | sed "$ac_vpsub | 16673 | sed "$ac_vpsub |
18828 | $extrasub | 16674 | $extrasub |
18829 | _ACEOF | 16675 | EOF |
18830 | cat >>$CONFIG_STATUS <<\_ACEOF | 16676 | cat >>$CONFIG_STATUS <<\EOF |
18831 | :t | 16677 | :t |
18832 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 16678 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
18833 | s,@configure_input@,$configure_input,;t t | 16679 | s,@configure_input@,$configure_input,;t t |
18834 | s,@srcdir@,$ac_srcdir,;t t | 16680 | s,@srcdir@,$ac_srcdir,;t t |
18835 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | ||
18836 | s,@top_srcdir@,$ac_top_srcdir,;t t | 16681 | 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 | 16682 | s,@INSTALL@,$ac_INSTALL,;t t |
18843 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 16683 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
18844 | rm -f $tmp/stdin | 16684 | rm -f $tmp/stdin |
@@ -18850,8 +16690,8 @@ s,@INSTALL@,$ac_INSTALL,;t t | |||
18850 | fi | 16690 | fi |
18851 | 16691 | ||
18852 | done | 16692 | done |
18853 | _ACEOF | 16693 | EOF |
18854 | cat >>$CONFIG_STATUS <<\_ACEOF | 16694 | cat >>$CONFIG_STATUS <<\EOF |
18855 | 16695 | ||
18856 | # | 16696 | # |
18857 | # CONFIG_HEADER section. | 16697 | # CONFIG_HEADER section. |
@@ -18883,7 +16723,7 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |||
18883 | * ) ac_file_in=$ac_file.in ;; | 16723 | * ) ac_file_in=$ac_file.in ;; |
18884 | esac | 16724 | esac |
18885 | 16725 | ||
18886 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 16726 | test x"$ac_file" != x- && { echo "$as_me:16726: creating $ac_file" >&5 |
18887 | echo "$as_me: creating $ac_file" >&6;} | 16727 | echo "$as_me: creating $ac_file" >&6;} |
18888 | 16728 | ||
18889 | # First look for the input files in the build tree, otherwise in the | 16729 | # First look for the input files in the build tree, otherwise in the |
@@ -18894,7 +16734,7 @@ echo "$as_me: creating $ac_file" >&6;} | |||
18894 | -) echo $tmp/stdin ;; | 16734 | -) echo $tmp/stdin ;; |
18895 | [\\/$]*) | 16735 | [\\/$]*) |
18896 | # Absolute (can't be DOS-style, as IFS=:) | 16736 | # Absolute (can't be DOS-style, as IFS=:) |
18897 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 16737 | test -f "$f" || { { echo "$as_me:16737: error: cannot find input file: $f" >&5 |
18898 | echo "$as_me: error: cannot find input file: $f" >&2;} | 16738 | echo "$as_me: error: cannot find input file: $f" >&2;} |
18899 | { (exit 1); exit 1; }; } | 16739 | { (exit 1); exit 1; }; } |
18900 | echo $f;; | 16740 | echo $f;; |
@@ -18907,7 +16747,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | |||
18907 | echo $srcdir/$f | 16747 | echo $srcdir/$f |
18908 | else | 16748 | else |
18909 | # /dev/null tree | 16749 | # /dev/null tree |
18910 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 16750 | { { echo "$as_me:16750: error: cannot find input file: $f" >&5 |
18911 | echo "$as_me: error: cannot find input file: $f" >&2;} | 16751 | echo "$as_me: error: cannot find input file: $f" >&2;} |
18912 | { (exit 1); exit 1; }; } | 16752 | { (exit 1); exit 1; }; } |
18913 | fi;; | 16753 | fi;; |
@@ -18916,7 +16756,7 @@ echo "$as_me: error: cannot find input file: $f" >&2;} | |||
18916 | # Remove the trailing spaces. | 16756 | # Remove the trailing spaces. |
18917 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | 16757 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
18918 | 16758 | ||
18919 | _ACEOF | 16759 | EOF |
18920 | 16760 | ||
18921 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 16761 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
18922 | # `conftest.undefs', that substitutes the proper values into | 16762 | # `conftest.undefs', that substitutes the proper values into |
@@ -18932,7 +16772,7 @@ rm -f conftest.defines conftest.undefs | |||
18932 | # `end' is used to avoid that the second main sed command (meant for | 16772 | # `end' is used to avoid that the second main sed command (meant for |
18933 | # 0-ary CPP macros) applies to n-ary macro definitions. | 16773 | # 0-ary CPP macros) applies to n-ary macro definitions. |
18934 | # See the Autoconf documentation for `clear'. | 16774 | # See the Autoconf documentation for `clear'. |
18935 | cat >confdef2sed.sed <<\_ACEOF | 16775 | cat >confdef2sed.sed <<\EOF |
18936 | s/[\\&,]/\\&/g | 16776 | s/[\\&,]/\\&/g |
18937 | s,[\\$`],\\&,g | 16777 | s,[\\$`],\\&,g |
18938 | t clear | 16778 | t clear |
@@ -18941,7 +16781,7 @@ s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1 | |||
18941 | t end | 16781 | t end |
18942 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 16782 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
18943 | : end | 16783 | : end |
18944 | _ACEOF | 16784 | EOF |
18945 | # If some macros were called several times there might be several times | 16785 | # 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 | 16786 | # 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. | 16787 | # sort them, since we want the *last* AC-DEFINE to be honored. |
@@ -18952,14 +16792,14 @@ rm -f confdef2sed.sed | |||
18952 | # This sed command replaces #undef with comments. This is necessary, for | 16792 | # This sed command replaces #undef with comments. This is necessary, for |
18953 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 16793 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
18954 | # on some systems where configure will not decide to define it. | 16794 | # on some systems where configure will not decide to define it. |
18955 | cat >>conftest.undefs <<\_ACEOF | 16795 | cat >>conftest.undefs <<\EOF |
18956 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 16796 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
18957 | _ACEOF | 16797 | EOF |
18958 | 16798 | ||
18959 | # Break up conftest.defines because some shells have a limit on the size | 16799 | # 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). | 16800 | # of here documents, and old seds have small limits too (100 cmds). |
18961 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 16801 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
18962 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 16802 | echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
18963 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 16803 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
18964 | echo ' :' >>$CONFIG_STATUS | 16804 | echo ' :' >>$CONFIG_STATUS |
18965 | rm -f conftest.tail | 16805 | rm -f conftest.tail |
@@ -18983,7 +16823,7 @@ do | |||
18983 | mv conftest.tail conftest.defines | 16823 | mv conftest.tail conftest.defines |
18984 | done | 16824 | done |
18985 | rm -f conftest.defines | 16825 | rm -f conftest.defines |
18986 | echo ' fi # grep' >>$CONFIG_STATUS | 16826 | echo ' fi # egrep' >>$CONFIG_STATUS |
18987 | echo >>$CONFIG_STATUS | 16827 | echo >>$CONFIG_STATUS |
18988 | 16828 | ||
18989 | # Break up conftest.undefs because some shells have a limit on the size | 16829 | # Break up conftest.undefs because some shells have a limit on the size |
@@ -19011,24 +16851,23 @@ do | |||
19011 | done | 16851 | done |
19012 | rm -f conftest.undefs | 16852 | rm -f conftest.undefs |
19013 | 16853 | ||
19014 | cat >>$CONFIG_STATUS <<\_ACEOF | 16854 | cat >>$CONFIG_STATUS <<\EOF |
19015 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 16855 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
19016 | # use $as_me), people would be surprised to read: | 16856 | # use $as_me), people would be surprised to read: |
19017 | # /* config.h. Generated by config.status. */ | 16857 | # /* config.h. Generated automatically by config.status. */ |
19018 | if test x"$ac_file" = x-; then | 16858 | if test x"$ac_file" = x-; then |
19019 | echo "/* Generated by configure. */" >$tmp/config.h | 16859 | echo "/* Generated automatically by configure. */" >$tmp/config.h |
19020 | else | 16860 | else |
19021 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | 16861 | echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
19022 | fi | 16862 | fi |
19023 | cat $tmp/in >>$tmp/config.h | 16863 | cat $tmp/in >>$tmp/config.h |
19024 | rm -f $tmp/in | 16864 | rm -f $tmp/in |
19025 | if test x"$ac_file" != x-; then | 16865 | if test x"$ac_file" != x-; then |
19026 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 16866 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
19027 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 16867 | { echo "$as_me:16867: $ac_file is unchanged" >&5 |
19028 | echo "$as_me: $ac_file is unchanged" >&6;} | 16868 | echo "$as_me: $ac_file is unchanged" >&6;} |
19029 | else | 16869 | else |
19030 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | 16870 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
19031 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
19032 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 16871 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
19033 | X"$ac_file" : 'X\(//\)$' \| \ | 16872 | X"$ac_file" : 'X\(//\)$' \| \ |
19034 | X"$ac_file" : 'X\(/\)' \| \ | 16873 | X"$ac_file" : 'X\(/\)' \| \ |
@@ -19039,31 +16878,24 @@ echo X"$ac_file" | | |||
19039 | /^X\(\/\/\)$/{ s//\1/; q; } | 16878 | /^X\(\/\/\)$/{ s//\1/; q; } |
19040 | /^X\(\/\).*/{ s//\1/; q; } | 16879 | /^X\(\/\).*/{ s//\1/; q; } |
19041 | s/.*/./; q'` | 16880 | s/.*/./; q'` |
19042 | { if $as_mkdir_p; then | 16881 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
19043 | mkdir -p "$ac_dir" | 16882 | { case "$ac_dir" in |
19044 | else | 16883 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
19045 | as_dir="$ac_dir" | 16884 | *) as_incr_dir=.;; |
19046 | as_dirs= | 16885 | esac |
19047 | while test ! -d "$as_dir"; do | 16886 | as_dummy="$ac_dir" |
19048 | as_dirs="$as_dir $as_dirs" | 16887 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do |
19049 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 16888 | case $as_mkdir_dir in |
19050 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 16889 | # Skip DOS drivespec |
19051 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 16890 | ?:) as_incr_dir=$as_mkdir_dir ;; |
19052 | X"$as_dir" : 'X\(//\)$' \| \ | 16891 | *) |
19053 | X"$as_dir" : 'X\(/\)' \| \ | 16892 | as_incr_dir=$as_incr_dir/$as_mkdir_dir |
19054 | . : '\(.\)' 2>/dev/null || | 16893 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
19055 | echo X"$as_dir" | | 16894 | ;; |
19056 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 16895 | esac |
19057 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 16896 | done; } |
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 | 16897 | ||
16898 | fi | ||
19067 | rm -f $ac_file | 16899 | rm -f $ac_file |
19068 | mv $tmp/config.h $ac_file | 16900 | mv $tmp/config.h $ac_file |
19069 | fi | 16901 | fi |
@@ -19072,16 +16904,15 @@ echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |||
19072 | rm -f $tmp/config.h | 16904 | rm -f $tmp/config.h |
19073 | fi | 16905 | fi |
19074 | done | 16906 | done |
19075 | _ACEOF | 16907 | EOF |
19076 | 16908 | ||
19077 | cat >>$CONFIG_STATUS <<\_ACEOF | 16909 | cat >>$CONFIG_STATUS <<\EOF |
19078 | 16910 | ||
19079 | { (exit 0); exit 0; } | 16911 | { (exit 0); exit 0; } |
19080 | _ACEOF | 16912 | EOF |
19081 | chmod +x $CONFIG_STATUS | 16913 | chmod +x $CONFIG_STATUS |
19082 | ac_clean_files=$ac_clean_files_save | 16914 | ac_clean_files=$ac_clean_files_save |
19083 | 16915 | ||
19084 | |||
19085 | # configure is writing to config.log, and then calls config.status. | 16916 | # configure is writing to config.log, and then calls config.status. |
19086 | # config.status does its own redirection, appending to config.log. | 16917 | # config.status does its own redirection, appending to config.log. |
19087 | # Unfortunately, on DOS this fails, as config.log is still kept open | 16918 | # Unfortunately, on DOS this fails, as config.log is still kept open |
@@ -19092,18 +16923,14 @@ ac_clean_files=$ac_clean_files_save | |||
19092 | # need to make the FD available again. | 16923 | # need to make the FD available again. |
19093 | if test "$no_create" != yes; then | 16924 | if test "$no_create" != yes; then |
19094 | ac_cs_success=: | 16925 | 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 | 16926 | exec 5>/dev/null |
19099 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 16927 | $SHELL $CONFIG_STATUS || ac_cs_success=false |
19100 | exec 5>>config.log | 16928 | exec 5>>config.log |
19101 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 16929 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
19102 | # would make configure fail if this is the last instruction. | 16930 | # would make configure fail if this is the last instruction. |
19103 | $ac_cs_success || { (exit 1); exit 1; } | 16931 | $ac_cs_success || { (exit 1); exit 1; } |
19104 | fi | 16932 | fi |
19105 | 16933 | ||
19106 | |||
19107 | # Print summary of options | 16934 | # Print summary of options |
19108 | 16935 | ||
19109 | # Someone please show me a better way :) | 16936 | # Someone please show me a better way :) |
@@ -19127,25 +16954,28 @@ echo " Askpass program: $E" | |||
19127 | echo " Manual pages: $F" | 16954 | echo " Manual pages: $F" |
19128 | echo " PID file: $G" | 16955 | echo " PID file: $G" |
19129 | echo " Privilege separation chroot path: $H" | 16956 | echo " Privilege separation chroot path: $H" |
19130 | if test "$USES_LOGIN_CONF" = "yes" ; then | 16957 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
19131 | echo " At runtime, sshd will use the path defined in /etc/login.conf" | 16958 | echo " At runtime, sshd will use the path defined in $external_path_file" |
16959 | echo " Make sure the path to scp is present, otherwise scp will not work" | ||
19132 | else | 16960 | else |
19133 | echo " sshd default user PATH: $I" | 16961 | echo " sshd default user PATH: $I" |
16962 | if test ! -z "$external_path_file"; then | ||
16963 | echo " (If PATH is set in $external_path_file it will be used instead. If" | ||
16964 | echo " used, ensure the path to scp is present, otherwise scp will not work.)" | ||
16965 | fi | ||
19134 | fi | 16966 | fi |
19135 | if test ! -z "$superuser_path" ; then | 16967 | if test ! -z "$superuser_path" ; then |
19136 | echo " sshd superuser user PATH: $J" | 16968 | echo " sshd superuser user PATH: $J" |
19137 | fi | 16969 | fi |
19138 | echo " Manpage format: $MANTYPE" | 16970 | echo " Manpage format: $MANTYPE" |
19139 | echo " PAM support: ${PAM_MSG}" | 16971 | echo " DNS support: $DNS_MSG" |
19140 | echo " KerberosIV support: $KRB4_MSG" | 16972 | echo " PAM support: $PAM_MSG" |
19141 | echo " KerberosV support: $KRB5_MSG" | 16973 | echo " KerberosV support: $KRB5_MSG" |
19142 | echo " Smartcard support: $SCARD_MSG" | 16974 | echo " Smartcard support: $SCARD_MSG" |
19143 | echo " AFS support: $AFS_MSG" | ||
19144 | echo " S/KEY support: $SKEY_MSG" | 16975 | echo " S/KEY support: $SKEY_MSG" |
19145 | echo " TCP Wrappers support: $TCPW_MSG" | 16976 | echo " TCP Wrappers support: $TCPW_MSG" |
19146 | echo " MD5 password support: $MD5_MSG" | 16977 | echo " MD5 password support: $MD5_MSG" |
19147 | echo " IP address in \$DISPLAY hack: $DISPLAY_HACK_MSG" | 16978 | 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" | 16979 | echo " Translate v4 in v6 hack: $IPV4_IN6_HACK_MSG" |
19150 | echo " BSD Auth support: $BSD_AUTH_MSG" | 16980 | echo " BSD Auth support: $BSD_AUTH_MSG" |
19151 | echo " Random number source: $RAND_MSG" | 16981 | echo " Random number source: $RAND_MSG" |