diff options
author | Colin Watson <cjwatson@debian.org> | 2016-12-20 00:22:52 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-12-20 00:22:52 +0000 |
commit | 971a7653746a6972b907dfe0ce139c06e4a6f482 (patch) | |
tree | 70fb964265d57ae4967be55b75dbb2a122e9b969 /configure | |
parent | a8ed8d256b2e2c05b0c15565a7938028c5192277 (diff) | |
parent | 4a354fc231174901f2629437c2a6e924a2dd6772 (diff) |
Import openssh_7.4p1.orig.tar.gz
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 30608 |
1 files changed, 6686 insertions, 23922 deletions
@@ -1,63 +1,84 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # From configure.ac Revision: 1.583 . | 2 | # From configure.ac Revision: 1.583 . |
3 | # Guess values for system-dependent variables and create Makefiles. | 3 | # Guess values for system-dependent variables and create Makefiles. |
4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.69 for OpenSSH Portable. |
5 | # | 5 | # |
6 | # Report bugs to <openssh-unix-dev@mindrot.org>. | 6 | # Report bugs to <openssh-unix-dev@mindrot.org>. |
7 | # | 7 | # |
8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 8 | # |
9 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | 9 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
10 | # | ||
11 | # | ||
10 | # This configure script is free software; the Free Software Foundation | 12 | # This configure script is free software; the Free Software Foundation |
11 | # gives unlimited permission to copy, distribute and modify it. | 13 | # gives unlimited permission to copy, distribute and modify it. |
12 | ## --------------------- ## | 14 | ## -------------------- ## |
13 | ## M4sh Initialization. ## | 15 | ## M4sh Initialization. ## |
14 | ## --------------------- ## | 16 | ## -------------------- ## |
15 | 17 | ||
16 | # Be more Bourne compatible | 18 | # Be more Bourne compatible |
17 | DUALCASE=1; export DUALCASE # for MKS sh | 19 | DUALCASE=1; export DUALCASE # for MKS sh |
18 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 20 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
19 | emulate sh | 21 | emulate sh |
20 | NULLCMD=: | 22 | NULLCMD=: |
21 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 23 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
22 | # is contrary to our usage. Disable this feature. | 24 | # is contrary to our usage. Disable this feature. |
23 | alias -g '${1+"$@"}'='"$@"' | 25 | alias -g '${1+"$@"}'='"$@"' |
24 | setopt NO_GLOB_SUBST | 26 | setopt NO_GLOB_SUBST |
25 | else | 27 | else |
26 | case `(set -o) 2>/dev/null` in | 28 | case `(set -o) 2>/dev/null` in #( |
27 | *posix*) set -o posix ;; | 29 | *posix*) : |
30 | set -o posix ;; #( | ||
31 | *) : | ||
32 | ;; | ||
28 | esac | 33 | esac |
29 | |||
30 | fi | 34 | fi |
31 | 35 | ||
32 | 36 | ||
33 | 37 | as_nl=' | |
34 | 38 | ' | |
35 | # PATH needs CR | 39 | export as_nl |
36 | # Avoid depending upon Character Ranges. | 40 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
37 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 41 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
38 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
39 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
40 | as_cr_digits='0123456789' | 44 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
41 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 45 | # but without wasting forks for bash or zsh. |
42 | 46 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
43 | # The user is always right. | 47 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
44 | if test "${PATH_SEPARATOR+set}" != set; then | 48 | as_echo='print -r --' |
45 | echo "#! /bin/sh" >conf$$.sh | 49 | as_echo_n='print -rn --' |
46 | echo "exit 0" >>conf$$.sh | 50 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
47 | chmod +x conf$$.sh | 51 | as_echo='printf %s\n' |
48 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 52 | as_echo_n='printf %s' |
49 | PATH_SEPARATOR=';' | 53 | else |
54 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
55 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
56 | as_echo_n='/usr/ucb/echo -n' | ||
50 | else | 57 | else |
51 | PATH_SEPARATOR=: | 58 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
59 | as_echo_n_body='eval | ||
60 | arg=$1; | ||
61 | case $arg in #( | ||
62 | *"$as_nl"*) | ||
63 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
64 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
65 | esac; | ||
66 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
67 | ' | ||
68 | export as_echo_n_body | ||
69 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
52 | fi | 70 | fi |
53 | rm -f conf$$.sh | 71 | export as_echo_body |
72 | as_echo='sh -c $as_echo_body as_echo' | ||
54 | fi | 73 | fi |
55 | 74 | ||
56 | # Support unset when possible. | 75 | # The user is always right. |
57 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 76 | if test "${PATH_SEPARATOR+set}" != set; then |
58 | as_unset=unset | 77 | PATH_SEPARATOR=: |
59 | else | 78 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
60 | as_unset=false | 79 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
80 | PATH_SEPARATOR=';' | ||
81 | } | ||
61 | fi | 82 | fi |
62 | 83 | ||
63 | 84 | ||
@@ -66,20 +87,19 @@ fi | |||
66 | # there to prevent editors from complaining about space-tab. | 87 | # there to prevent editors from complaining about space-tab. |
67 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 88 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
68 | # splitting by setting IFS to empty value.) | 89 | # splitting by setting IFS to empty value.) |
69 | as_nl=' | ||
70 | ' | ||
71 | IFS=" "" $as_nl" | 90 | IFS=" "" $as_nl" |
72 | 91 | ||
73 | # Find who we are. Look in the path if we contain no directory separator. | 92 | # Find who we are. Look in the path if we contain no directory separator. |
74 | case $0 in | 93 | as_myself= |
94 | case $0 in #(( | ||
75 | *[\\/]* ) as_myself=$0 ;; | 95 | *[\\/]* ) as_myself=$0 ;; |
76 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
77 | for as_dir in $PATH | 97 | for as_dir in $PATH |
78 | do | 98 | do |
79 | IFS=$as_save_IFS | 99 | IFS=$as_save_IFS |
80 | test -z "$as_dir" && as_dir=. | 100 | test -z "$as_dir" && as_dir=. |
81 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 101 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
82 | done | 102 | done |
83 | IFS=$as_save_IFS | 103 | IFS=$as_save_IFS |
84 | 104 | ||
85 | ;; | 105 | ;; |
@@ -90,354 +110,367 @@ if test "x$as_myself" = x; then | |||
90 | as_myself=$0 | 110 | as_myself=$0 |
91 | fi | 111 | fi |
92 | if test ! -f "$as_myself"; then | 112 | if test ! -f "$as_myself"; then |
93 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 113 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
94 | { (exit 1); exit 1; } | 114 | exit 1 |
95 | fi | 115 | fi |
96 | 116 | ||
97 | # Work around bugs in pre-3.0 UWIN ksh. | 117 | # Unset variables that we do not need and which cause bugs (e.g. in |
98 | for as_var in ENV MAIL MAILPATH | 118 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
99 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 119 | # suppresses any "Segmentation fault" message there. '((' could |
120 | # trigger a bug in pdksh 5.2.14. | ||
121 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
122 | do eval test x\${$as_var+set} = xset \ | ||
123 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
100 | done | 124 | done |
101 | PS1='$ ' | 125 | PS1='$ ' |
102 | PS2='> ' | 126 | PS2='> ' |
103 | PS4='+ ' | 127 | PS4='+ ' |
104 | 128 | ||
105 | # NLS nuisances. | 129 | # NLS nuisances. |
106 | for as_var in \ | 130 | LC_ALL=C |
107 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 131 | export LC_ALL |
108 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 132 | LANGUAGE=C |
109 | LC_TELEPHONE LC_TIME | 133 | export LANGUAGE |
110 | do | ||
111 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | ||
112 | eval $as_var=C; export $as_var | ||
113 | else | ||
114 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
115 | fi | ||
116 | done | ||
117 | |||
118 | # Required to use basename. | ||
119 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
120 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
121 | as_expr=expr | ||
122 | else | ||
123 | as_expr=false | ||
124 | fi | ||
125 | |||
126 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
127 | as_basename=basename | ||
128 | else | ||
129 | as_basename=false | ||
130 | fi | ||
131 | |||
132 | |||
133 | # Name of the executable. | ||
134 | as_me=`$as_basename -- "$0" || | ||
135 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
136 | X"$0" : 'X\(//\)$' \| \ | ||
137 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
138 | echo X/"$0" | | ||
139 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
140 | s//\1/ | ||
141 | q | ||
142 | } | ||
143 | /^X\/\(\/\/\)$/{ | ||
144 | s//\1/ | ||
145 | q | ||
146 | } | ||
147 | /^X\/\(\/\).*/{ | ||
148 | s//\1/ | ||
149 | q | ||
150 | } | ||
151 | s/.*/./; q'` | ||
152 | 134 | ||
153 | # CDPATH. | 135 | # CDPATH. |
154 | $as_unset CDPATH | 136 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
155 | 137 | ||
156 | 138 | # Use a proper internal environment variable to ensure we don't fall | |
139 | # into an infinite loop, continuously re-executing ourselves. | ||
140 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | ||
141 | _as_can_reexec=no; export _as_can_reexec; | ||
142 | # We cannot yet assume a decent shell, so we have to provide a | ||
143 | # neutralization value for shells without unset; and this also | ||
144 | # works around shells that cannot unset nonexistent variables. | ||
145 | # Preserve -v and -x to the replacement shell. | ||
146 | BASH_ENV=/dev/null | ||
147 | ENV=/dev/null | ||
148 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
149 | case $- in # (((( | ||
150 | *v*x* | *x*v* ) as_opts=-vx ;; | ||
151 | *v* ) as_opts=-v ;; | ||
152 | *x* ) as_opts=-x ;; | ||
153 | * ) as_opts= ;; | ||
154 | esac | ||
155 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | ||
156 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
157 | # out after a failed `exec'. | ||
158 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
159 | as_fn_exit 255 | ||
160 | fi | ||
161 | # We don't want this to propagate to other subprocesses. | ||
162 | { _as_can_reexec=; unset _as_can_reexec;} | ||
157 | if test "x$CONFIG_SHELL" = x; then | 163 | if test "x$CONFIG_SHELL" = x; then |
158 | if (eval ":") 2>/dev/null; then | 164 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
159 | as_have_required=yes | 165 | emulate sh |
166 | NULLCMD=: | ||
167 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
168 | # is contrary to our usage. Disable this feature. | ||
169 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
170 | setopt NO_GLOB_SUBST | ||
160 | else | 171 | else |
161 | as_have_required=no | 172 | case \`(set -o) 2>/dev/null\` in #( |
173 | *posix*) : | ||
174 | set -o posix ;; #( | ||
175 | *) : | ||
176 | ;; | ||
177 | esac | ||
162 | fi | 178 | fi |
163 | 179 | " | |
164 | if test $as_have_required = yes && (eval ": | 180 | as_required="as_fn_return () { (exit \$1); } |
165 | (as_func_return () { | 181 | as_fn_success () { as_fn_return 0; } |
166 | (exit \$1) | 182 | as_fn_failure () { as_fn_return 1; } |
167 | } | 183 | as_fn_ret_success () { return 0; } |
168 | as_func_success () { | 184 | as_fn_ret_failure () { return 1; } |
169 | as_func_return 0 | ||
170 | } | ||
171 | as_func_failure () { | ||
172 | as_func_return 1 | ||
173 | } | ||
174 | as_func_ret_success () { | ||
175 | return 0 | ||
176 | } | ||
177 | as_func_ret_failure () { | ||
178 | return 1 | ||
179 | } | ||
180 | 185 | ||
181 | exitcode=0 | 186 | exitcode=0 |
182 | if as_func_success; then | 187 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
183 | : | 188 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
184 | else | 189 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
185 | exitcode=1 | 190 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
186 | echo as_func_success failed. | 191 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
187 | fi | 192 | |
188 | 193 | else | |
189 | if as_func_failure; then | 194 | exitcode=1; echo positional parameters were not saved. |
190 | exitcode=1 | 195 | fi |
191 | echo as_func_failure succeeded. | 196 | test x\$exitcode = x0 || exit 1 |
192 | fi | 197 | test -x / || exit 1" |
193 | 198 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
194 | if as_func_ret_success; then | 199 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
195 | : | 200 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
196 | else | 201 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
197 | exitcode=1 | 202 | test \$(( 1 + 1 )) = 2 || exit 1" |
198 | echo as_func_ret_success failed. | 203 | if (eval "$as_required") 2>/dev/null; then : |
199 | fi | 204 | as_have_required=yes |
200 | |||
201 | if as_func_ret_failure; then | ||
202 | exitcode=1 | ||
203 | echo as_func_ret_failure succeeded. | ||
204 | fi | ||
205 | |||
206 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
207 | : | ||
208 | else | 205 | else |
209 | exitcode=1 | 206 | as_have_required=no |
210 | echo positional parameters were not saved. | ||
211 | fi | 207 | fi |
208 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
212 | 209 | ||
213 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
214 | |||
215 | ( | ||
216 | as_lineno_1=\$LINENO | ||
217 | as_lineno_2=\$LINENO | ||
218 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
219 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
220 | ") 2> /dev/null; then | ||
221 | : | ||
222 | else | 210 | else |
223 | as_candidate_shells= | 211 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
224 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 212 | as_found=false |
225 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 213 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
226 | do | 214 | do |
227 | IFS=$as_save_IFS | 215 | IFS=$as_save_IFS |
228 | test -z "$as_dir" && as_dir=. | 216 | test -z "$as_dir" && as_dir=. |
229 | case $as_dir in | 217 | as_found=: |
218 | case $as_dir in #( | ||
230 | /*) | 219 | /*) |
231 | for as_base in sh bash ksh sh5; do | 220 | for as_base in sh bash ksh sh5; do |
232 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | 221 | # Try only shells that exist, to save several forks. |
222 | as_shell=$as_dir/$as_base | ||
223 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
224 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
225 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
226 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
227 | break 2 | ||
228 | fi | ||
229 | fi | ||
233 | done;; | 230 | done;; |
234 | esac | 231 | esac |
232 | as_found=false | ||
235 | done | 233 | done |
234 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
235 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
236 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
237 | fi; } | ||
236 | IFS=$as_save_IFS | 238 | IFS=$as_save_IFS |
237 | 239 | ||
238 | 240 | ||
239 | for as_shell in $as_candidate_shells $SHELL; do | 241 | if test "x$CONFIG_SHELL" != x; then : |
240 | # Try only shells that exist, to save several forks. | 242 | export CONFIG_SHELL |
241 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | 243 | # We cannot yet assume a decent shell, so we have to provide a |
242 | { ("$as_shell") 2> /dev/null <<\_ASEOF | 244 | # neutralization value for shells without unset; and this also |
243 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 245 | # works around shells that cannot unset nonexistent variables. |
244 | emulate sh | 246 | # Preserve -v and -x to the replacement shell. |
245 | NULLCMD=: | 247 | BASH_ENV=/dev/null |
246 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 248 | ENV=/dev/null |
247 | # is contrary to our usage. Disable this feature. | 249 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
248 | alias -g '${1+"$@"}'='"$@"' | 250 | case $- in # (((( |
249 | setopt NO_GLOB_SUBST | 251 | *v*x* | *x*v* ) as_opts=-vx ;; |
250 | else | 252 | *v* ) as_opts=-v ;; |
251 | case `(set -o) 2>/dev/null` in | 253 | *x* ) as_opts=-x ;; |
252 | *posix*) set -o posix ;; | 254 | * ) as_opts= ;; |
253 | esac | 255 | esac |
254 | 256 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
257 | # Admittedly, this is quite paranoid, since all the known shells bail | ||
258 | # out after a failed `exec'. | ||
259 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | ||
260 | exit 255 | ||
261 | fi | ||
262 | |||
263 | if test x$as_have_required = xno; then : | ||
264 | $as_echo "$0: This script requires a shell more modern than all" | ||
265 | $as_echo "$0: the shells that I found on your system." | ||
266 | if test x${ZSH_VERSION+set} = xset ; then | ||
267 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
268 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
269 | else | ||
270 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | ||
271 | $0: openssh-unix-dev@mindrot.org about your system, | ||
272 | $0: including any error possibly output before this | ||
273 | $0: message. Then install a modern shell, or manually run | ||
274 | $0: the script under such a shell if you do have one." | ||
275 | fi | ||
276 | exit 1 | ||
255 | fi | 277 | fi |
256 | |||
257 | |||
258 | : | ||
259 | _ASEOF | ||
260 | }; then | ||
261 | CONFIG_SHELL=$as_shell | ||
262 | as_have_required=yes | ||
263 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
264 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
265 | emulate sh | ||
266 | NULLCMD=: | ||
267 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
268 | # is contrary to our usage. Disable this feature. | ||
269 | alias -g '${1+"$@"}'='"$@"' | ||
270 | setopt NO_GLOB_SUBST | ||
271 | else | ||
272 | case `(set -o) 2>/dev/null` in | ||
273 | *posix*) set -o posix ;; | ||
274 | esac | ||
275 | |||
276 | fi | 278 | fi |
279 | fi | ||
280 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
281 | export SHELL | ||
282 | # Unset more variables known to interfere with behavior of common tools. | ||
283 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
284 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
277 | 285 | ||
278 | 286 | ## --------------------- ## | |
279 | : | 287 | ## M4sh Shell Functions. ## |
280 | (as_func_return () { | 288 | ## --------------------- ## |
281 | (exit $1) | 289 | # as_fn_unset VAR |
282 | } | 290 | # --------------- |
283 | as_func_success () { | 291 | # Portably unset VAR. |
284 | as_func_return 0 | 292 | as_fn_unset () |
285 | } | 293 | { |
286 | as_func_failure () { | 294 | { eval $1=; unset $1;} |
287 | as_func_return 1 | ||
288 | } | ||
289 | as_func_ret_success () { | ||
290 | return 0 | ||
291 | } | ||
292 | as_func_ret_failure () { | ||
293 | return 1 | ||
294 | } | 295 | } |
296 | as_unset=as_fn_unset | ||
295 | 297 | ||
296 | exitcode=0 | 298 | # as_fn_set_status STATUS |
297 | if as_func_success; then | 299 | # ----------------------- |
298 | : | 300 | # Set $? to STATUS, without forking. |
299 | else | 301 | as_fn_set_status () |
300 | exitcode=1 | 302 | { |
301 | echo as_func_success failed. | 303 | return $1 |
302 | fi | 304 | } # as_fn_set_status |
303 | |||
304 | if as_func_failure; then | ||
305 | exitcode=1 | ||
306 | echo as_func_failure succeeded. | ||
307 | fi | ||
308 | 305 | ||
309 | if as_func_ret_success; then | 306 | # as_fn_exit STATUS |
310 | : | 307 | # ----------------- |
311 | else | 308 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
312 | exitcode=1 | 309 | as_fn_exit () |
313 | echo as_func_ret_success failed. | 310 | { |
314 | fi | 311 | set +e |
312 | as_fn_set_status $1 | ||
313 | exit $1 | ||
314 | } # as_fn_exit | ||
315 | 315 | ||
316 | if as_func_ret_failure; then | 316 | # as_fn_mkdir_p |
317 | exitcode=1 | 317 | # ------------- |
318 | echo as_func_ret_failure succeeded. | 318 | # Create "$as_dir" as a directory, including parents if necessary. |
319 | fi | 319 | as_fn_mkdir_p () |
320 | { | ||
320 | 321 | ||
321 | if ( set x; as_func_ret_success y && test x = "$1" ); then | 322 | case $as_dir in #( |
322 | : | 323 | -*) as_dir=./$as_dir;; |
324 | esac | ||
325 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
326 | as_dirs= | ||
327 | while :; do | ||
328 | case $as_dir in #( | ||
329 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
330 | *) as_qdir=$as_dir;; | ||
331 | esac | ||
332 | as_dirs="'$as_qdir' $as_dirs" | ||
333 | as_dir=`$as_dirname -- "$as_dir" || | ||
334 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
335 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
336 | X"$as_dir" : 'X\(//\)$' \| \ | ||
337 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
338 | $as_echo X"$as_dir" | | ||
339 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
340 | s//\1/ | ||
341 | q | ||
342 | } | ||
343 | /^X\(\/\/\)[^/].*/{ | ||
344 | s//\1/ | ||
345 | q | ||
346 | } | ||
347 | /^X\(\/\/\)$/{ | ||
348 | s//\1/ | ||
349 | q | ||
350 | } | ||
351 | /^X\(\/\).*/{ | ||
352 | s//\1/ | ||
353 | q | ||
354 | } | ||
355 | s/.*/./; q'` | ||
356 | test -d "$as_dir" && break | ||
357 | done | ||
358 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
359 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
360 | |||
361 | |||
362 | } # as_fn_mkdir_p | ||
363 | |||
364 | # as_fn_executable_p FILE | ||
365 | # ----------------------- | ||
366 | # Test if FILE is an executable regular file. | ||
367 | as_fn_executable_p () | ||
368 | { | ||
369 | test -f "$1" && test -x "$1" | ||
370 | } # as_fn_executable_p | ||
371 | # as_fn_append VAR VALUE | ||
372 | # ---------------------- | ||
373 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
374 | # advantage of any shell optimizations that allow amortized linear growth over | ||
375 | # repeated appends, instead of the typical quadratic growth present in naive | ||
376 | # implementations. | ||
377 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
378 | eval 'as_fn_append () | ||
379 | { | ||
380 | eval $1+=\$2 | ||
381 | }' | ||
323 | else | 382 | else |
324 | exitcode=1 | 383 | as_fn_append () |
325 | echo positional parameters were not saved. | 384 | { |
326 | fi | 385 | eval $1=\$$1\$2 |
327 | 386 | } | |
328 | test $exitcode = 0) || { (exit 1); exit 1; } | 387 | fi # as_fn_append |
329 | 388 | ||
330 | ( | 389 | # as_fn_arith ARG... |
331 | as_lineno_1=$LINENO | 390 | # ------------------ |
332 | as_lineno_2=$LINENO | 391 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
333 | test "x$as_lineno_1" != "x$as_lineno_2" && | 392 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
334 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | 393 | # must be portable across $(()) and expr. |
335 | 394 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
336 | _ASEOF | 395 | eval 'as_fn_arith () |
337 | }; then | 396 | { |
338 | break | 397 | as_val=$(( $* )) |
339 | fi | 398 | }' |
340 | |||
341 | fi | ||
342 | |||
343 | done | ||
344 | |||
345 | if test "x$CONFIG_SHELL" != x; then | ||
346 | for as_var in BASH_ENV ENV | ||
347 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
348 | done | ||
349 | export CONFIG_SHELL | ||
350 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
351 | fi | ||
352 | |||
353 | |||
354 | if test $as_have_required = no; then | ||
355 | echo This script requires a shell more modern than all the | ||
356 | echo shells that I found on your system. Please install a | ||
357 | echo modern shell, or manually run the script under such a | ||
358 | echo shell if you do have one. | ||
359 | { (exit 1); exit 1; } | ||
360 | fi | ||
361 | |||
362 | |||
363 | fi | ||
364 | |||
365 | fi | ||
366 | |||
367 | |||
368 | |||
369 | (eval "as_func_return () { | ||
370 | (exit \$1) | ||
371 | } | ||
372 | as_func_success () { | ||
373 | as_func_return 0 | ||
374 | } | ||
375 | as_func_failure () { | ||
376 | as_func_return 1 | ||
377 | } | ||
378 | as_func_ret_success () { | ||
379 | return 0 | ||
380 | } | ||
381 | as_func_ret_failure () { | ||
382 | return 1 | ||
383 | } | ||
384 | |||
385 | exitcode=0 | ||
386 | if as_func_success; then | ||
387 | : | ||
388 | else | 399 | else |
389 | exitcode=1 | 400 | as_fn_arith () |
390 | echo as_func_success failed. | 401 | { |
391 | fi | 402 | as_val=`expr "$@" || test $? -eq 1` |
392 | 403 | } | |
393 | if as_func_failure; then | 404 | fi # as_fn_arith |
394 | exitcode=1 | 405 | |
395 | echo as_func_failure succeeded. | 406 | |
396 | fi | 407 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
408 | # ---------------------------------------- | ||
409 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
410 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
411 | # script with STATUS, using 1 if that was 0. | ||
412 | as_fn_error () | ||
413 | { | ||
414 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
415 | if test "$4"; then | ||
416 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
417 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
418 | fi | ||
419 | $as_echo "$as_me: error: $2" >&2 | ||
420 | as_fn_exit $as_status | ||
421 | } # as_fn_error | ||
397 | 422 | ||
398 | if as_func_ret_success; then | 423 | if expr a : '\(a\)' >/dev/null 2>&1 && |
399 | : | 424 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
425 | as_expr=expr | ||
400 | else | 426 | else |
401 | exitcode=1 | 427 | as_expr=false |
402 | echo as_func_ret_success failed. | ||
403 | fi | 428 | fi |
404 | 429 | ||
405 | if as_func_ret_failure; then | 430 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
406 | exitcode=1 | 431 | as_basename=basename |
407 | echo as_func_ret_failure succeeded. | 432 | else |
433 | as_basename=false | ||
408 | fi | 434 | fi |
409 | 435 | ||
410 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | 436 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
411 | : | 437 | as_dirname=dirname |
412 | else | 438 | else |
413 | exitcode=1 | 439 | as_dirname=false |
414 | echo positional parameters were not saved. | ||
415 | fi | 440 | fi |
416 | 441 | ||
417 | test \$exitcode = 0") || { | 442 | as_me=`$as_basename -- "$0" || |
418 | echo No shell found that supports shell functions. | 443 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
419 | echo Please tell autoconf@gnu.org about your system, | 444 | X"$0" : 'X\(//\)$' \| \ |
420 | echo including any error possibly output before this | 445 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
421 | echo message | 446 | $as_echo X/"$0" | |
422 | } | 447 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
423 | 448 | s//\1/ | |
449 | q | ||
450 | } | ||
451 | /^X\/\(\/\/\)$/{ | ||
452 | s//\1/ | ||
453 | q | ||
454 | } | ||
455 | /^X\/\(\/\).*/{ | ||
456 | s//\1/ | ||
457 | q | ||
458 | } | ||
459 | s/.*/./; q'` | ||
424 | 460 | ||
461 | # Avoid depending upon Character Ranges. | ||
462 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
463 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
464 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
465 | as_cr_digits='0123456789' | ||
466 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
425 | 467 | ||
426 | as_lineno_1=$LINENO | ||
427 | as_lineno_2=$LINENO | ||
428 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
429 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
430 | 468 | ||
431 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 469 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
432 | # uniformly replaced by the line number. The first 'sed' inserts a | 470 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
433 | # line-number line after each line using $LINENO; the second 'sed' | 471 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
434 | # does the real work. The second script uses 'N' to pair each | 472 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
435 | # line-number line with the line containing $LINENO, and appends | 473 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
436 | # trailing '-' during substitution so that $LINENO is not a special | ||
437 | # case at line end. | ||
438 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
439 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
440 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
441 | sed -n ' | 474 | sed -n ' |
442 | p | 475 | p |
443 | /[$]LINENO/= | 476 | /[$]LINENO/= |
@@ -454,9 +487,12 @@ test \$exitcode = 0") || { | |||
454 | s/-\n.*// | 487 | s/-\n.*// |
455 | ' >$as_me.lineno && | 488 | ' >$as_me.lineno && |
456 | chmod +x "$as_me.lineno" || | 489 | chmod +x "$as_me.lineno" || |
457 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 490 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
458 | { (exit 1); exit 1; }; } | ||
459 | 491 | ||
492 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | ||
493 | # already done that, so ensure we don't try to do so again and fall | ||
494 | # in an infinite loop. This has already happened in practice. | ||
495 | _as_can_reexec=no; export _as_can_reexec | ||
460 | # Don't try to exec as it changes $[0], causing all sort of problems | 496 | # Don't try to exec as it changes $[0], causing all sort of problems |
461 | # (the dirname of $[0] is not the place where we might find the | 497 | # (the dirname of $[0] is not the place where we might find the |
462 | # original and so on. Autoconf is especially sensitive to this). | 498 | # original and so on. Autoconf is especially sensitive to this). |
@@ -465,84 +501,55 @@ test \$exitcode = 0") || { | |||
465 | exit | 501 | exit |
466 | } | 502 | } |
467 | 503 | ||
468 | |||
469 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
470 | as_dirname=dirname | ||
471 | else | ||
472 | as_dirname=false | ||
473 | fi | ||
474 | |||
475 | ECHO_C= ECHO_N= ECHO_T= | 504 | ECHO_C= ECHO_N= ECHO_T= |
476 | case `echo -n x` in | 505 | case `echo -n x` in #((((( |
477 | -n*) | 506 | -n*) |
478 | case `echo 'x\c'` in | 507 | case `echo 'xy\c'` in |
479 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 508 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
480 | *) ECHO_C='\c';; | 509 | xy) ECHO_C='\c';; |
510 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
511 | ECHO_T=' ';; | ||
481 | esac;; | 512 | esac;; |
482 | *) | 513 | *) |
483 | ECHO_N='-n';; | 514 | ECHO_N='-n';; |
484 | esac | 515 | esac |
485 | 516 | ||
486 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
487 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
488 | as_expr=expr | ||
489 | else | ||
490 | as_expr=false | ||
491 | fi | ||
492 | |||
493 | rm -f conf$$ conf$$.exe conf$$.file | 517 | rm -f conf$$ conf$$.exe conf$$.file |
494 | if test -d conf$$.dir; then | 518 | if test -d conf$$.dir; then |
495 | rm -f conf$$.dir/conf$$.file | 519 | rm -f conf$$.dir/conf$$.file |
496 | else | 520 | else |
497 | rm -f conf$$.dir | 521 | rm -f conf$$.dir |
498 | mkdir conf$$.dir | 522 | mkdir conf$$.dir 2>/dev/null |
499 | fi | 523 | fi |
500 | echo >conf$$.file | 524 | if (echo >conf$$.file) 2>/dev/null; then |
501 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 525 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
502 | as_ln_s='ln -s' | 526 | as_ln_s='ln -s' |
503 | # ... but there are two gotchas: | 527 | # ... but there are two gotchas: |
504 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 528 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
505 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 529 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
506 | # In both cases, we have to default to `cp -p'. | 530 | # In both cases, we have to default to `cp -pR'. |
507 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 531 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
508 | as_ln_s='cp -p' | 532 | as_ln_s='cp -pR' |
509 | elif ln conf$$.file conf$$ 2>/dev/null; then | 533 | elif ln conf$$.file conf$$ 2>/dev/null; then |
510 | as_ln_s=ln | 534 | as_ln_s=ln |
511 | else | 535 | else |
512 | as_ln_s='cp -p' | 536 | as_ln_s='cp -pR' |
537 | fi | ||
538 | else | ||
539 | as_ln_s='cp -pR' | ||
513 | fi | 540 | fi |
514 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 541 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
515 | rmdir conf$$.dir 2>/dev/null | 542 | rmdir conf$$.dir 2>/dev/null |
516 | 543 | ||
517 | if mkdir -p . 2>/dev/null; then | 544 | if mkdir -p . 2>/dev/null; then |
518 | as_mkdir_p=: | 545 | as_mkdir_p='mkdir -p "$as_dir"' |
519 | else | 546 | else |
520 | test -d ./-p && rmdir ./-p | 547 | test -d ./-p && rmdir ./-p |
521 | as_mkdir_p=false | 548 | as_mkdir_p=false |
522 | fi | 549 | fi |
523 | 550 | ||
524 | if test -x / >/dev/null 2>&1; then | 551 | as_test_x='test -x' |
525 | as_test_x='test -x' | 552 | as_executable_p=as_fn_executable_p |
526 | else | ||
527 | if ls -dL / >/dev/null 2>&1; then | ||
528 | as_ls_L_option=L | ||
529 | else | ||
530 | as_ls_L_option= | ||
531 | fi | ||
532 | as_test_x=' | ||
533 | eval sh -c '\'' | ||
534 | if test -d "$1"; then | ||
535 | test -d "$1/."; | ||
536 | else | ||
537 | case $1 in | ||
538 | -*)set "./$1";; | ||
539 | esac; | ||
540 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
541 | ???[sx]*):;;*)false;;esac;fi | ||
542 | '\'' sh | ||
543 | ' | ||
544 | fi | ||
545 | as_executable_p=$as_test_x | ||
546 | 553 | ||
547 | # Sed expression to map a string onto a valid CPP name. | 554 | # Sed expression to map a string onto a valid CPP name. |
548 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 555 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
@@ -551,11 +558,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
551 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 558 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
552 | 559 | ||
553 | 560 | ||
554 | 561 | test -n "$DJDIR" || exec 7<&0 </dev/null | |
555 | exec 7<&0 </dev/null 6>&1 | 562 | exec 6>&1 |
556 | 563 | ||
557 | # Name of the host. | 564 | # Name of the host. |
558 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 565 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
559 | # so uname gets run too. | 566 | # so uname gets run too. |
560 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 567 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
561 | 568 | ||
@@ -570,7 +577,6 @@ cross_compiling=no | |||
570 | subdirs= | 577 | subdirs= |
571 | MFLAGS= | 578 | MFLAGS= |
572 | MAKEFLAGS= | 579 | MAKEFLAGS= |
573 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
574 | 580 | ||
575 | # Identity of this package. | 581 | # Identity of this package. |
576 | PACKAGE_NAME='OpenSSH' | 582 | PACKAGE_NAME='OpenSSH' |
@@ -578,6 +584,7 @@ PACKAGE_TARNAME='openssh' | |||
578 | PACKAGE_VERSION='Portable' | 584 | PACKAGE_VERSION='Portable' |
579 | PACKAGE_STRING='OpenSSH Portable' | 585 | PACKAGE_STRING='OpenSSH Portable' |
580 | PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org' | 586 | PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org' |
587 | PACKAGE_URL='' | ||
581 | 588 | ||
582 | ac_unique_file="ssh.c" | 589 | ac_unique_file="ssh.c" |
583 | # Factoring default headers for most tests. | 590 | # Factoring default headers for most tests. |
@@ -616,111 +623,173 @@ ac_includes_default="\ | |||
616 | # include <unistd.h> | 623 | # include <unistd.h> |
617 | #endif" | 624 | #endif" |
618 | 625 | ||
619 | ac_subst_vars='SHELL | 626 | ac_subst_vars='LTLIBOBJS |
620 | PATH_SEPARATOR | ||
621 | PACKAGE_NAME | ||
622 | PACKAGE_TARNAME | ||
623 | PACKAGE_VERSION | ||
624 | PACKAGE_STRING | ||
625 | PACKAGE_BUGREPORT | ||
626 | exec_prefix | ||
627 | prefix | ||
628 | program_transform_name | ||
629 | bindir | ||
630 | sbindir | ||
631 | libexecdir | ||
632 | datarootdir | ||
633 | datadir | ||
634 | sysconfdir | ||
635 | sharedstatedir | ||
636 | localstatedir | ||
637 | includedir | ||
638 | oldincludedir | ||
639 | docdir | ||
640 | infodir | ||
641 | htmldir | ||
642 | dvidir | ||
643 | pdfdir | ||
644 | psdir | ||
645 | libdir | ||
646 | localedir | ||
647 | mandir | ||
648 | DEFS | ||
649 | ECHO_C | ||
650 | ECHO_N | ||
651 | ECHO_T | ||
652 | LIBS | ||
653 | build_alias | ||
654 | host_alias | ||
655 | target_alias | ||
656 | CC | ||
657 | CFLAGS | ||
658 | LDFLAGS | ||
659 | CPPFLAGS | ||
660 | ac_ct_CC | ||
661 | EXEEXT | ||
662 | OBJEXT | ||
663 | build | ||
664 | build_cpu | ||
665 | build_vendor | ||
666 | build_os | ||
667 | host | ||
668 | host_cpu | ||
669 | host_vendor | ||
670 | host_os | ||
671 | CPP | ||
672 | GREP | ||
673 | EGREP | ||
674 | AWK | ||
675 | RANLIB | ||
676 | INSTALL_PROGRAM | ||
677 | INSTALL_SCRIPT | ||
678 | INSTALL_DATA | ||
679 | AR | ||
680 | ac_ct_AR | ||
681 | CAT | ||
682 | KILL | ||
683 | PERL | ||
684 | SED | ||
685 | ENT | ||
686 | TEST_MINUS_S_SH | ||
687 | SH | ||
688 | GROFF | ||
689 | NROFF | ||
690 | MANDOC | ||
691 | TEST_SHELL | ||
692 | MANFMT | ||
693 | PATH_GROUPADD_PROG | ||
694 | PATH_USERADD_PROG | ||
695 | MAKE_PACKAGE_SUPPORTED | ||
696 | STARTUP_SCRIPT_SHELL | ||
697 | LOGIN_PROGRAM_FALLBACK | ||
698 | PATH_PASSWD_PROG | ||
699 | LD | ||
700 | PKGCONFIG | ||
701 | LIBEDIT | ||
702 | TEST_SSH_ECC | ||
703 | COMMENT_OUT_ECC | ||
704 | SSH_PRIVSEP_USER | ||
705 | SSHLIBS | ||
706 | SSHDLIBS | ||
707 | KRB5CONF | ||
708 | GSSLIBS | ||
709 | K5LIBS | ||
710 | PRIVSEP_PATH | ||
711 | xauth_path | ||
712 | STRIP_OPT | ||
713 | XAUTH_PATH | ||
714 | MANTYPE | ||
715 | mansubdir | ||
716 | user_path | ||
717 | piddir | ||
718 | TEST_SSH_IPV6 | ||
719 | TEST_MALLOC_OPTIONS | ||
720 | UNSUPPORTED_ALGORITHMS | ||
721 | LIBOBJS | 627 | LIBOBJS |
722 | LTLIBOBJS' | 628 | UNSUPPORTED_ALGORITHMS |
629 | TEST_MALLOC_OPTIONS | ||
630 | TEST_SSH_UTF8 | ||
631 | TEST_SSH_IPV6 | ||
632 | piddir | ||
633 | user_path | ||
634 | mansubdir | ||
635 | MANTYPE | ||
636 | XAUTH_PATH | ||
637 | STRIP_OPT | ||
638 | xauth_path | ||
639 | PRIVSEP_PATH | ||
640 | K5LIBS | ||
641 | GSSLIBS | ||
642 | KRB5CONF | ||
643 | SSHDLIBS | ||
644 | SSHLIBS | ||
645 | SSH_PRIVSEP_USER | ||
646 | COMMENT_OUT_ECC | ||
647 | TEST_SSH_ECC | ||
648 | LIBEDIT | ||
649 | PKGCONFIG | ||
650 | COMMENT_OUT_RSA1 | ||
651 | LD | ||
652 | PATH_PASSWD_PROG | ||
653 | STARTUP_SCRIPT_SHELL | ||
654 | MAKE_PACKAGE_SUPPORTED | ||
655 | PATH_USERADD_PROG | ||
656 | PATH_GROUPADD_PROG | ||
657 | MANFMT | ||
658 | TEST_SHELL | ||
659 | MANDOC | ||
660 | NROFF | ||
661 | GROFF | ||
662 | SH | ||
663 | TEST_MINUS_S_SH | ||
664 | ENT | ||
665 | SED | ||
666 | PERL | ||
667 | KILL | ||
668 | CAT | ||
669 | ac_ct_AR | ||
670 | AR | ||
671 | INSTALL_DATA | ||
672 | INSTALL_SCRIPT | ||
673 | INSTALL_PROGRAM | ||
674 | RANLIB | ||
675 | AWK | ||
676 | EGREP | ||
677 | GREP | ||
678 | CPP | ||
679 | host_os | ||
680 | host_vendor | ||
681 | host_cpu | ||
682 | host | ||
683 | build_os | ||
684 | build_vendor | ||
685 | build_cpu | ||
686 | build | ||
687 | OBJEXT | ||
688 | EXEEXT | ||
689 | ac_ct_CC | ||
690 | CPPFLAGS | ||
691 | LDFLAGS | ||
692 | CFLAGS | ||
693 | CC | ||
694 | target_alias | ||
695 | host_alias | ||
696 | build_alias | ||
697 | LIBS | ||
698 | ECHO_T | ||
699 | ECHO_N | ||
700 | ECHO_C | ||
701 | DEFS | ||
702 | mandir | ||
703 | localedir | ||
704 | libdir | ||
705 | psdir | ||
706 | pdfdir | ||
707 | dvidir | ||
708 | htmldir | ||
709 | infodir | ||
710 | docdir | ||
711 | oldincludedir | ||
712 | includedir | ||
713 | localstatedir | ||
714 | sharedstatedir | ||
715 | sysconfdir | ||
716 | datadir | ||
717 | datarootdir | ||
718 | libexecdir | ||
719 | sbindir | ||
720 | bindir | ||
721 | program_transform_name | ||
722 | prefix | ||
723 | exec_prefix | ||
724 | PACKAGE_URL | ||
725 | PACKAGE_BUGREPORT | ||
726 | PACKAGE_STRING | ||
727 | PACKAGE_VERSION | ||
728 | PACKAGE_TARNAME | ||
729 | PACKAGE_NAME | ||
730 | PATH_SEPARATOR | ||
731 | SHELL' | ||
723 | ac_subst_files='' | 732 | ac_subst_files='' |
733 | ac_user_opts=' | ||
734 | enable_option_checking | ||
735 | enable_largefile | ||
736 | with_openssl | ||
737 | with_ssh1 | ||
738 | with_stackprotect | ||
739 | with_hardening | ||
740 | with_rpath | ||
741 | with_cflags | ||
742 | with_cppflags | ||
743 | with_ldflags | ||
744 | with_libs | ||
745 | with_Werror | ||
746 | with_solaris_contracts | ||
747 | with_solaris_projects | ||
748 | with_solaris_privs | ||
749 | with_osfsia | ||
750 | with_zlib | ||
751 | with_zlib_version_check | ||
752 | with_skey | ||
753 | with_ldns | ||
754 | with_libedit | ||
755 | with_audit | ||
756 | with_pie | ||
757 | enable_pkcs11 | ||
758 | with_ssl_dir | ||
759 | with_openssl_header_check | ||
760 | with_ssl_engine | ||
761 | with_prngd_port | ||
762 | with_prngd_socket | ||
763 | with_pam | ||
764 | with_pam_service | ||
765 | with_privsep_user | ||
766 | with_sandbox | ||
767 | with_selinux | ||
768 | with_kerberos5 | ||
769 | with_privsep_path | ||
770 | with_xauth | ||
771 | enable_strip | ||
772 | with_maildir | ||
773 | with_mantype | ||
774 | with_md5_passwords | ||
775 | with_shadow | ||
776 | with_ipaddr_display | ||
777 | enable_etc_default_login | ||
778 | with_default_path | ||
779 | with_superuser_path | ||
780 | with_4in6 | ||
781 | with_bsd_auth | ||
782 | with_pid_dir | ||
783 | enable_lastlog | ||
784 | enable_utmp | ||
785 | enable_utmpx | ||
786 | enable_wtmp | ||
787 | enable_wtmpx | ||
788 | enable_libutil | ||
789 | enable_pututline | ||
790 | enable_pututxline | ||
791 | with_lastlog | ||
792 | ' | ||
724 | ac_precious_vars='build_alias | 793 | ac_precious_vars='build_alias |
725 | host_alias | 794 | host_alias |
726 | target_alias | 795 | target_alias |
@@ -735,6 +804,8 @@ CPP' | |||
735 | # Initialize some variables set by options. | 804 | # Initialize some variables set by options. |
736 | ac_init_help= | 805 | ac_init_help= |
737 | ac_init_version=false | 806 | ac_init_version=false |
807 | ac_unrecognized_opts= | ||
808 | ac_unrecognized_sep= | ||
738 | # The variables have the same names as the options, with | 809 | # The variables have the same names as the options, with |
739 | # dashes changed to underlines. | 810 | # dashes changed to underlines. |
740 | cache_file=/dev/null | 811 | cache_file=/dev/null |
@@ -790,8 +861,9 @@ do | |||
790 | fi | 861 | fi |
791 | 862 | ||
792 | case $ac_option in | 863 | case $ac_option in |
793 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 864 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
794 | *) ac_optarg=yes ;; | 865 | *=) ac_optarg= ;; |
866 | *) ac_optarg=yes ;; | ||
795 | esac | 867 | esac |
796 | 868 | ||
797 | # Accept the important Cygnus configure options, so we can diagnose typos. | 869 | # Accept the important Cygnus configure options, so we can diagnose typos. |
@@ -833,13 +905,20 @@ do | |||
833 | datarootdir=$ac_optarg ;; | 905 | datarootdir=$ac_optarg ;; |
834 | 906 | ||
835 | -disable-* | --disable-*) | 907 | -disable-* | --disable-*) |
836 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 908 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
837 | # Reject names that are not valid shell variable names. | 909 | # Reject names that are not valid shell variable names. |
838 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 910 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
839 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 911 | as_fn_error $? "invalid feature name: $ac_useropt" |
840 | { (exit 1); exit 1; }; } | 912 | ac_useropt_orig=$ac_useropt |
841 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 913 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
842 | eval enable_$ac_feature=no ;; | 914 | case $ac_user_opts in |
915 | *" | ||
916 | "enable_$ac_useropt" | ||
917 | "*) ;; | ||
918 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
919 | ac_unrecognized_sep=', ';; | ||
920 | esac | ||
921 | eval enable_$ac_useropt=no ;; | ||
843 | 922 | ||
844 | -docdir | --docdir | --docdi | --doc | --do) | 923 | -docdir | --docdir | --docdi | --doc | --do) |
845 | ac_prev=docdir ;; | 924 | ac_prev=docdir ;; |
@@ -852,13 +931,20 @@ do | |||
852 | dvidir=$ac_optarg ;; | 931 | dvidir=$ac_optarg ;; |
853 | 932 | ||
854 | -enable-* | --enable-*) | 933 | -enable-* | --enable-*) |
855 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 934 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
856 | # Reject names that are not valid shell variable names. | 935 | # Reject names that are not valid shell variable names. |
857 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && | 936 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
858 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 937 | as_fn_error $? "invalid feature name: $ac_useropt" |
859 | { (exit 1); exit 1; }; } | 938 | ac_useropt_orig=$ac_useropt |
860 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` | 939 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
861 | eval enable_$ac_feature=\$ac_optarg ;; | 940 | case $ac_user_opts in |
941 | *" | ||
942 | "enable_$ac_useropt" | ||
943 | "*) ;; | ||
944 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
945 | ac_unrecognized_sep=', ';; | ||
946 | esac | ||
947 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
862 | 948 | ||
863 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 949 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
864 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 950 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
@@ -1049,22 +1135,36 @@ do | |||
1049 | ac_init_version=: ;; | 1135 | ac_init_version=: ;; |
1050 | 1136 | ||
1051 | -with-* | --with-*) | 1137 | -with-* | --with-*) |
1052 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1138 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1053 | # Reject names that are not valid shell variable names. | 1139 | # Reject names that are not valid shell variable names. |
1054 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1140 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1055 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1141 | as_fn_error $? "invalid package name: $ac_useropt" |
1056 | { (exit 1); exit 1; }; } | 1142 | ac_useropt_orig=$ac_useropt |
1057 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1143 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1058 | eval with_$ac_package=\$ac_optarg ;; | 1144 | case $ac_user_opts in |
1145 | *" | ||
1146 | "with_$ac_useropt" | ||
1147 | "*) ;; | ||
1148 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
1149 | ac_unrecognized_sep=', ';; | ||
1150 | esac | ||
1151 | eval with_$ac_useropt=\$ac_optarg ;; | ||
1059 | 1152 | ||
1060 | -without-* | --without-*) | 1153 | -without-* | --without-*) |
1061 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1154 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1062 | # Reject names that are not valid shell variable names. | 1155 | # Reject names that are not valid shell variable names. |
1063 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1156 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1064 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1157 | as_fn_error $? "invalid package name: $ac_useropt" |
1065 | { (exit 1); exit 1; }; } | 1158 | ac_useropt_orig=$ac_useropt |
1066 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` | 1159 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1067 | eval with_$ac_package=no ;; | 1160 | case $ac_user_opts in |
1161 | *" | ||
1162 | "with_$ac_useropt" | ||
1163 | "*) ;; | ||
1164 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
1165 | ac_unrecognized_sep=', ';; | ||
1166 | esac | ||
1167 | eval with_$ac_useropt=no ;; | ||
1068 | 1168 | ||
1069 | --x) | 1169 | --x) |
1070 | # Obsolete; use --with-x. | 1170 | # Obsolete; use --with-x. |
@@ -1084,26 +1184,26 @@ do | |||
1084 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1184 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1085 | x_libraries=$ac_optarg ;; | 1185 | x_libraries=$ac_optarg ;; |
1086 | 1186 | ||
1087 | -*) { echo "$as_me: error: unrecognized option: $ac_option | 1187 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1088 | Try \`$0 --help' for more information." >&2 | 1188 | Try \`$0 --help' for more information" |
1089 | { (exit 1); exit 1; }; } | ||
1090 | ;; | 1189 | ;; |
1091 | 1190 | ||
1092 | *=*) | 1191 | *=*) |
1093 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1192 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1094 | # Reject names that are not valid shell variable names. | 1193 | # Reject names that are not valid shell variable names. |
1095 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1194 | case $ac_envvar in #( |
1096 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1195 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1097 | { (exit 1); exit 1; }; } | 1196 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1197 | esac | ||
1098 | eval $ac_envvar=\$ac_optarg | 1198 | eval $ac_envvar=\$ac_optarg |
1099 | export $ac_envvar ;; | 1199 | export $ac_envvar ;; |
1100 | 1200 | ||
1101 | *) | 1201 | *) |
1102 | # FIXME: should be removed in autoconf 3.0. | 1202 | # FIXME: should be removed in autoconf 3.0. |
1103 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1203 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1104 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1204 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1105 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1205 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1106 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 1206 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1107 | ;; | 1207 | ;; |
1108 | 1208 | ||
1109 | esac | 1209 | esac |
@@ -1111,23 +1211,36 @@ done | |||
1111 | 1211 | ||
1112 | if test -n "$ac_prev"; then | 1212 | if test -n "$ac_prev"; then |
1113 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1213 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1114 | { echo "$as_me: error: missing argument to $ac_option" >&2 | 1214 | as_fn_error $? "missing argument to $ac_option" |
1115 | { (exit 1); exit 1; }; } | ||
1116 | fi | 1215 | fi |
1117 | 1216 | ||
1118 | # Be sure to have absolute directory names. | 1217 | if test -n "$ac_unrecognized_opts"; then |
1218 | case $enable_option_checking in | ||
1219 | no) ;; | ||
1220 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | ||
1221 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
1222 | esac | ||
1223 | fi | ||
1224 | |||
1225 | # Check all directory arguments for consistency. | ||
1119 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1226 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1120 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 1227 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1121 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1228 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1122 | libdir localedir mandir | 1229 | libdir localedir mandir |
1123 | do | 1230 | do |
1124 | eval ac_val=\$$ac_var | 1231 | eval ac_val=\$$ac_var |
1232 | # Remove trailing slashes. | ||
1233 | case $ac_val in | ||
1234 | */ ) | ||
1235 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
1236 | eval $ac_var=\$ac_val;; | ||
1237 | esac | ||
1238 | # Be sure to have absolute directory names. | ||
1125 | case $ac_val in | 1239 | case $ac_val in |
1126 | [\\/$]* | ?:[\\/]* ) continue;; | 1240 | [\\/$]* | ?:[\\/]* ) continue;; |
1127 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1241 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1128 | esac | 1242 | esac |
1129 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1243 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1130 | { (exit 1); exit 1; }; } | ||
1131 | done | 1244 | done |
1132 | 1245 | ||
1133 | # There might be people who depend on the old broken behavior: `$host' | 1246 | # There might be people who depend on the old broken behavior: `$host' |
@@ -1141,8 +1254,6 @@ target=$target_alias | |||
1141 | if test "x$host_alias" != x; then | 1254 | if test "x$host_alias" != x; then |
1142 | if test "x$build_alias" = x; then | 1255 | if test "x$build_alias" = x; then |
1143 | cross_compiling=maybe | 1256 | cross_compiling=maybe |
1144 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
1145 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
1146 | elif test "x$build_alias" != "x$host_alias"; then | 1257 | elif test "x$build_alias" != "x$host_alias"; then |
1147 | cross_compiling=yes | 1258 | cross_compiling=yes |
1148 | fi | 1259 | fi |
@@ -1157,23 +1268,21 @@ test "$silent" = yes && exec 6>/dev/null | |||
1157 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1268 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1158 | ac_ls_di=`ls -di .` && | 1269 | ac_ls_di=`ls -di .` && |
1159 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1270 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1160 | { echo "$as_me: error: Working directory cannot be determined" >&2 | 1271 | as_fn_error $? "working directory cannot be determined" |
1161 | { (exit 1); exit 1; }; } | ||
1162 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1272 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1163 | { echo "$as_me: error: pwd does not report name of working directory" >&2 | 1273 | as_fn_error $? "pwd does not report name of working directory" |
1164 | { (exit 1); exit 1; }; } | ||
1165 | 1274 | ||
1166 | 1275 | ||
1167 | # Find the source files, if location was not specified. | 1276 | # Find the source files, if location was not specified. |
1168 | if test -z "$srcdir"; then | 1277 | if test -z "$srcdir"; then |
1169 | ac_srcdir_defaulted=yes | 1278 | ac_srcdir_defaulted=yes |
1170 | # Try the directory containing this script, then the parent directory. | 1279 | # Try the directory containing this script, then the parent directory. |
1171 | ac_confdir=`$as_dirname -- "$0" || | 1280 | ac_confdir=`$as_dirname -- "$as_myself" || |
1172 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1281 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1173 | X"$0" : 'X\(//\)[^/]' \| \ | 1282 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1174 | X"$0" : 'X\(//\)$' \| \ | 1283 | X"$as_myself" : 'X\(//\)$' \| \ |
1175 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 1284 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1176 | echo X"$0" | | 1285 | $as_echo X"$as_myself" | |
1177 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1286 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1178 | s//\1/ | 1287 | s//\1/ |
1179 | q | 1288 | q |
@@ -1200,13 +1309,11 @@ else | |||
1200 | fi | 1309 | fi |
1201 | if test ! -r "$srcdir/$ac_unique_file"; then | 1310 | if test ! -r "$srcdir/$ac_unique_file"; then |
1202 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1311 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1203 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1312 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1204 | { (exit 1); exit 1; }; } | ||
1205 | fi | 1313 | fi |
1206 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1314 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1207 | ac_abs_confdir=`( | 1315 | ac_abs_confdir=`( |
1208 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | 1316 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1209 | { (exit 1); exit 1; }; } | ||
1210 | pwd)` | 1317 | pwd)` |
1211 | # When building in place, set srcdir=. | 1318 | # When building in place, set srcdir=. |
1212 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1319 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
@@ -1246,7 +1353,7 @@ Configuration: | |||
1246 | --help=short display options specific to this package | 1353 | --help=short display options specific to this package |
1247 | --help=recursive display the short help of all the included packages | 1354 | --help=recursive display the short help of all the included packages |
1248 | -V, --version display version information and exit | 1355 | -V, --version display version information and exit |
1249 | -q, --quiet, --silent do not print \`checking...' messages | 1356 | -q, --quiet, --silent do not print \`checking ...' messages |
1250 | --cache-file=FILE cache test results in FILE [disabled] | 1357 | --cache-file=FILE cache test results in FILE [disabled] |
1251 | -C, --config-cache alias for \`--cache-file=config.cache' | 1358 | -C, --config-cache alias for \`--cache-file=config.cache' |
1252 | -n, --no-create do not create output files | 1359 | -n, --no-create do not create output files |
@@ -1254,9 +1361,9 @@ Configuration: | |||
1254 | 1361 | ||
1255 | Installation directories: | 1362 | Installation directories: |
1256 | --prefix=PREFIX install architecture-independent files in PREFIX | 1363 | --prefix=PREFIX install architecture-independent files in PREFIX |
1257 | [$ac_default_prefix] | 1364 | [$ac_default_prefix] |
1258 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1365 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1259 | [PREFIX] | 1366 | [PREFIX] |
1260 | 1367 | ||
1261 | By default, \`make install' will install all the files in | 1368 | By default, \`make install' will install all the files in |
1262 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1369 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
@@ -1266,25 +1373,25 @@ for instance \`--prefix=\$HOME'. | |||
1266 | For better control, use the options below. | 1373 | For better control, use the options below. |
1267 | 1374 | ||
1268 | Fine tuning of the installation directories: | 1375 | Fine tuning of the installation directories: |
1269 | --bindir=DIR user executables [EPREFIX/bin] | 1376 | --bindir=DIR user executables [EPREFIX/bin] |
1270 | --sbindir=DIR system admin executables [EPREFIX/sbin] | 1377 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1271 | --libexecdir=DIR program executables [EPREFIX/libexec] | 1378 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1272 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1379 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1273 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1380 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1274 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1381 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1275 | --libdir=DIR object code libraries [EPREFIX/lib] | 1382 | --libdir=DIR object code libraries [EPREFIX/lib] |
1276 | --includedir=DIR C header files [PREFIX/include] | 1383 | --includedir=DIR C header files [PREFIX/include] |
1277 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1384 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1278 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1385 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1279 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1386 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1280 | --infodir=DIR info documentation [DATAROOTDIR/info] | 1387 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1281 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1388 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1282 | --mandir=DIR man documentation [DATAROOTDIR/man] | 1389 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1283 | --docdir=DIR documentation root [DATAROOTDIR/doc/openssh] | 1390 | --docdir=DIR documentation root [DATAROOTDIR/doc/openssh] |
1284 | --htmldir=DIR html documentation [DOCDIR] | 1391 | --htmldir=DIR html documentation [DOCDIR] |
1285 | --dvidir=DIR dvi documentation [DOCDIR] | 1392 | --dvidir=DIR dvi documentation [DOCDIR] |
1286 | --pdfdir=DIR pdf documentation [DOCDIR] | 1393 | --pdfdir=DIR pdf documentation [DOCDIR] |
1287 | --psdir=DIR ps documentation [DOCDIR] | 1394 | --psdir=DIR ps documentation [DOCDIR] |
1288 | _ACEOF | 1395 | _ACEOF |
1289 | 1396 | ||
1290 | cat <<\_ACEOF | 1397 | cat <<\_ACEOF |
@@ -1302,6 +1409,7 @@ if test -n "$ac_init_help"; then | |||
1302 | cat <<\_ACEOF | 1409 | cat <<\_ACEOF |
1303 | 1410 | ||
1304 | Optional Features: | 1411 | Optional Features: |
1412 | --disable-option-checking ignore unrecognized --enable/--with options | ||
1305 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1413 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1306 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1414 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1307 | --disable-largefile omit support for large files | 1415 | --disable-largefile omit support for large files |
@@ -1347,6 +1455,7 @@ Optional Packages: | |||
1347 | --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT | 1455 | --with-prngd-port=PORT read entropy from PRNGD/EGD TCP localhost:PORT |
1348 | --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool) | 1456 | --with-prngd-socket=FILE read entropy from PRNGD/EGD socket FILE (default=/var/run/egd-pool) |
1349 | --with-pam Enable PAM support | 1457 | --with-pam Enable PAM support |
1458 | --with-pam-service=name Specify PAM service name | ||
1350 | --with-privsep-user=user Specify non-privileged user for privilege separation | 1459 | --with-privsep-user=user Specify non-privileged user for privilege separation |
1351 | --with-sandbox=style Specify privilege separation sandbox (no, capsicum, darwin, rlimit, seccomp_filter, systrace, pledge) | 1460 | --with-sandbox=style Specify privilege separation sandbox (no, capsicum, darwin, rlimit, seccomp_filter, systrace, pledge) |
1352 | --with-selinux Enable SELinux support | 1461 | --with-selinux Enable SELinux support |
@@ -1371,7 +1480,7 @@ Some influential environment variables: | |||
1371 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1480 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1372 | nonstandard directory <lib dir> | 1481 | nonstandard directory <lib dir> |
1373 | LIBS libraries to pass to the linker, e.g. -l<library> | 1482 | LIBS libraries to pass to the linker, e.g. -l<library> |
1374 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if | 1483 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1375 | you have headers in a nonstandard directory <include dir> | 1484 | you have headers in a nonstandard directory <include dir> |
1376 | CPP C preprocessor | 1485 | CPP C preprocessor |
1377 | 1486 | ||
@@ -1386,15 +1495,17 @@ fi | |||
1386 | if test "$ac_init_help" = "recursive"; then | 1495 | if test "$ac_init_help" = "recursive"; then |
1387 | # If there are subdirs, report their specific --help. | 1496 | # If there are subdirs, report their specific --help. |
1388 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1497 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1389 | test -d "$ac_dir" || continue | 1498 | test -d "$ac_dir" || |
1499 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
1500 | continue | ||
1390 | ac_builddir=. | 1501 | ac_builddir=. |
1391 | 1502 | ||
1392 | case "$ac_dir" in | 1503 | case "$ac_dir" in |
1393 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1504 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1394 | *) | 1505 | *) |
1395 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1506 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1396 | # A ".." for each directory in $ac_dir_suffix. | 1507 | # A ".." for each directory in $ac_dir_suffix. |
1397 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 1508 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1398 | case $ac_top_builddir_sub in | 1509 | case $ac_top_builddir_sub in |
1399 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1510 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1400 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1511 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
@@ -1430,7 +1541,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |||
1430 | echo && | 1541 | echo && |
1431 | $SHELL "$ac_srcdir/configure" --help=recursive | 1542 | $SHELL "$ac_srcdir/configure" --help=recursive |
1432 | else | 1543 | else |
1433 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1544 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1434 | fi || ac_status=$? | 1545 | fi || ac_status=$? |
1435 | cd "$ac_pwd" || { ac_status=$?; break; } | 1546 | cd "$ac_pwd" || { ac_status=$?; break; } |
1436 | done | 1547 | done |
@@ -1440,21 +1551,716 @@ test -n "$ac_init_help" && exit $ac_status | |||
1440 | if $ac_init_version; then | 1551 | if $ac_init_version; then |
1441 | cat <<\_ACEOF | 1552 | cat <<\_ACEOF |
1442 | OpenSSH configure Portable | 1553 | OpenSSH configure Portable |
1443 | generated by GNU Autoconf 2.61 | 1554 | generated by GNU Autoconf 2.69 |
1444 | 1555 | ||
1445 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 1556 | Copyright (C) 2012 Free Software Foundation, Inc. |
1446 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
1447 | This configure script is free software; the Free Software Foundation | 1557 | This configure script is free software; the Free Software Foundation |
1448 | gives unlimited permission to copy, distribute and modify it. | 1558 | gives unlimited permission to copy, distribute and modify it. |
1449 | _ACEOF | 1559 | _ACEOF |
1450 | exit | 1560 | exit |
1451 | fi | 1561 | fi |
1562 | |||
1563 | ## ------------------------ ## | ||
1564 | ## Autoconf initialization. ## | ||
1565 | ## ------------------------ ## | ||
1566 | |||
1567 | # ac_fn_c_try_compile LINENO | ||
1568 | # -------------------------- | ||
1569 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
1570 | ac_fn_c_try_compile () | ||
1571 | { | ||
1572 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1573 | rm -f conftest.$ac_objext | ||
1574 | if { { ac_try="$ac_compile" | ||
1575 | case "(($ac_try" in | ||
1576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1577 | *) ac_try_echo=$ac_try;; | ||
1578 | esac | ||
1579 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1580 | $as_echo "$ac_try_echo"; } >&5 | ||
1581 | (eval "$ac_compile") 2>conftest.err | ||
1582 | ac_status=$? | ||
1583 | if test -s conftest.err; then | ||
1584 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1585 | cat conftest.er1 >&5 | ||
1586 | mv -f conftest.er1 conftest.err | ||
1587 | fi | ||
1588 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1589 | test $ac_status = 0; } && { | ||
1590 | test -z "$ac_c_werror_flag" || | ||
1591 | test ! -s conftest.err | ||
1592 | } && test -s conftest.$ac_objext; then : | ||
1593 | ac_retval=0 | ||
1594 | else | ||
1595 | $as_echo "$as_me: failed program was:" >&5 | ||
1596 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1597 | |||
1598 | ac_retval=1 | ||
1599 | fi | ||
1600 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1601 | as_fn_set_status $ac_retval | ||
1602 | |||
1603 | } # ac_fn_c_try_compile | ||
1604 | |||
1605 | # ac_fn_c_try_run LINENO | ||
1606 | # ---------------------- | ||
1607 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
1608 | # that executables *can* be run. | ||
1609 | ac_fn_c_try_run () | ||
1610 | { | ||
1611 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1612 | if { { ac_try="$ac_link" | ||
1613 | case "(($ac_try" in | ||
1614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1615 | *) ac_try_echo=$ac_try;; | ||
1616 | esac | ||
1617 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1618 | $as_echo "$ac_try_echo"; } >&5 | ||
1619 | (eval "$ac_link") 2>&5 | ||
1620 | ac_status=$? | ||
1621 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1622 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
1623 | { { case "(($ac_try" in | ||
1624 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1625 | *) ac_try_echo=$ac_try;; | ||
1626 | esac | ||
1627 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1628 | $as_echo "$ac_try_echo"; } >&5 | ||
1629 | (eval "$ac_try") 2>&5 | ||
1630 | ac_status=$? | ||
1631 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1632 | test $ac_status = 0; }; }; then : | ||
1633 | ac_retval=0 | ||
1634 | else | ||
1635 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
1636 | $as_echo "$as_me: failed program was:" >&5 | ||
1637 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1638 | |||
1639 | ac_retval=$ac_status | ||
1640 | fi | ||
1641 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1642 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1643 | as_fn_set_status $ac_retval | ||
1644 | |||
1645 | } # ac_fn_c_try_run | ||
1646 | |||
1647 | # ac_fn_c_try_cpp LINENO | ||
1648 | # ---------------------- | ||
1649 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
1650 | ac_fn_c_try_cpp () | ||
1651 | { | ||
1652 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1653 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
1654 | case "(($ac_try" in | ||
1655 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1656 | *) ac_try_echo=$ac_try;; | ||
1657 | esac | ||
1658 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1659 | $as_echo "$ac_try_echo"; } >&5 | ||
1660 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
1661 | ac_status=$? | ||
1662 | if test -s conftest.err; then | ||
1663 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1664 | cat conftest.er1 >&5 | ||
1665 | mv -f conftest.er1 conftest.err | ||
1666 | fi | ||
1667 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1668 | test $ac_status = 0; } > conftest.i && { | ||
1669 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
1670 | test ! -s conftest.err | ||
1671 | }; then : | ||
1672 | ac_retval=0 | ||
1673 | else | ||
1674 | $as_echo "$as_me: failed program was:" >&5 | ||
1675 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1676 | |||
1677 | ac_retval=1 | ||
1678 | fi | ||
1679 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1680 | as_fn_set_status $ac_retval | ||
1681 | |||
1682 | } # ac_fn_c_try_cpp | ||
1683 | |||
1684 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
1685 | # ------------------------------------------------------- | ||
1686 | # Tests whether HEADER exists and can be compiled using the include files in | ||
1687 | # INCLUDES, setting the cache variable VAR accordingly. | ||
1688 | ac_fn_c_check_header_compile () | ||
1689 | { | ||
1690 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1692 | $as_echo_n "checking for $2... " >&6; } | ||
1693 | if eval \${$3+:} false; then : | ||
1694 | $as_echo_n "(cached) " >&6 | ||
1695 | else | ||
1696 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1697 | /* end confdefs.h. */ | ||
1698 | $4 | ||
1699 | #include <$2> | ||
1700 | _ACEOF | ||
1701 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1702 | eval "$3=yes" | ||
1703 | else | ||
1704 | eval "$3=no" | ||
1705 | fi | ||
1706 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1707 | fi | ||
1708 | eval ac_res=\$$3 | ||
1709 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1710 | $as_echo "$ac_res" >&6; } | ||
1711 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1712 | |||
1713 | } # ac_fn_c_check_header_compile | ||
1714 | |||
1715 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES | ||
1716 | # --------------------------------------------- | ||
1717 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR | ||
1718 | # accordingly. | ||
1719 | ac_fn_c_check_decl () | ||
1720 | { | ||
1721 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1722 | as_decl_name=`echo $2|sed 's/ *(.*//'` | ||
1723 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | ||
1724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 | ||
1725 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | ||
1726 | if eval \${$3+:} false; then : | ||
1727 | $as_echo_n "(cached) " >&6 | ||
1728 | else | ||
1729 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1730 | /* end confdefs.h. */ | ||
1731 | $4 | ||
1732 | int | ||
1733 | main () | ||
1734 | { | ||
1735 | #ifndef $as_decl_name | ||
1736 | #ifdef __cplusplus | ||
1737 | (void) $as_decl_use; | ||
1738 | #else | ||
1739 | (void) $as_decl_name; | ||
1740 | #endif | ||
1741 | #endif | ||
1742 | |||
1743 | ; | ||
1744 | return 0; | ||
1745 | } | ||
1746 | _ACEOF | ||
1747 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1748 | eval "$3=yes" | ||
1749 | else | ||
1750 | eval "$3=no" | ||
1751 | fi | ||
1752 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1753 | fi | ||
1754 | eval ac_res=\$$3 | ||
1755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1756 | $as_echo "$ac_res" >&6; } | ||
1757 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1758 | |||
1759 | } # ac_fn_c_check_decl | ||
1760 | |||
1761 | # ac_fn_c_try_link LINENO | ||
1762 | # ----------------------- | ||
1763 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
1764 | ac_fn_c_try_link () | ||
1765 | { | ||
1766 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1767 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
1768 | if { { ac_try="$ac_link" | ||
1769 | case "(($ac_try" in | ||
1770 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1771 | *) ac_try_echo=$ac_try;; | ||
1772 | esac | ||
1773 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1774 | $as_echo "$ac_try_echo"; } >&5 | ||
1775 | (eval "$ac_link") 2>conftest.err | ||
1776 | ac_status=$? | ||
1777 | if test -s conftest.err; then | ||
1778 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1779 | cat conftest.er1 >&5 | ||
1780 | mv -f conftest.er1 conftest.err | ||
1781 | fi | ||
1782 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1783 | test $ac_status = 0; } && { | ||
1784 | test -z "$ac_c_werror_flag" || | ||
1785 | test ! -s conftest.err | ||
1786 | } && test -s conftest$ac_exeext && { | ||
1787 | test "$cross_compiling" = yes || | ||
1788 | test -x conftest$ac_exeext | ||
1789 | }; then : | ||
1790 | ac_retval=0 | ||
1791 | else | ||
1792 | $as_echo "$as_me: failed program was:" >&5 | ||
1793 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1794 | |||
1795 | ac_retval=1 | ||
1796 | fi | ||
1797 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
1798 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
1799 | # interfere with the next link command; also delete a directory that is | ||
1800 | # left behind by Apple's compiler. We do this before executing the actions. | ||
1801 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1802 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1803 | as_fn_set_status $ac_retval | ||
1804 | |||
1805 | } # ac_fn_c_try_link | ||
1806 | |||
1807 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
1808 | # ------------------------------------------------------- | ||
1809 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
1810 | # the include files in INCLUDES and setting the cache variable VAR | ||
1811 | # accordingly. | ||
1812 | ac_fn_c_check_header_mongrel () | ||
1813 | { | ||
1814 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1815 | if eval \${$3+:} false; then : | ||
1816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1817 | $as_echo_n "checking for $2... " >&6; } | ||
1818 | if eval \${$3+:} false; then : | ||
1819 | $as_echo_n "(cached) " >&6 | ||
1820 | fi | ||
1821 | eval ac_res=\$$3 | ||
1822 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1823 | $as_echo "$ac_res" >&6; } | ||
1824 | else | ||
1825 | # Is the header compilable? | ||
1826 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
1827 | $as_echo_n "checking $2 usability... " >&6; } | ||
1828 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1829 | /* end confdefs.h. */ | ||
1830 | $4 | ||
1831 | #include <$2> | ||
1832 | _ACEOF | ||
1833 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1834 | ac_header_compiler=yes | ||
1835 | else | ||
1836 | ac_header_compiler=no | ||
1837 | fi | ||
1838 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
1840 | $as_echo "$ac_header_compiler" >&6; } | ||
1841 | |||
1842 | # Is the header present? | ||
1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
1844 | $as_echo_n "checking $2 presence... " >&6; } | ||
1845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1846 | /* end confdefs.h. */ | ||
1847 | #include <$2> | ||
1848 | _ACEOF | ||
1849 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
1850 | ac_header_preproc=yes | ||
1851 | else | ||
1852 | ac_header_preproc=no | ||
1853 | fi | ||
1854 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
1855 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
1856 | $as_echo "$ac_header_preproc" >&6; } | ||
1857 | |||
1858 | # So? What about this header? | ||
1859 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
1860 | yes:no: ) | ||
1861 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
1862 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
1863 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1864 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1865 | ;; | ||
1866 | no:yes:* ) | ||
1867 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
1868 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
1869 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
1870 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
1871 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
1872 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
1873 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
1874 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
1875 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1876 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1877 | ( $as_echo "## ------------------------------------------- ## | ||
1878 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
1879 | ## ------------------------------------------- ##" | ||
1880 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
1881 | ;; | ||
1882 | esac | ||
1883 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1884 | $as_echo_n "checking for $2... " >&6; } | ||
1885 | if eval \${$3+:} false; then : | ||
1886 | $as_echo_n "(cached) " >&6 | ||
1887 | else | ||
1888 | eval "$3=\$ac_header_compiler" | ||
1889 | fi | ||
1890 | eval ac_res=\$$3 | ||
1891 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1892 | $as_echo "$ac_res" >&6; } | ||
1893 | fi | ||
1894 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1895 | |||
1896 | } # ac_fn_c_check_header_mongrel | ||
1897 | |||
1898 | # ac_fn_c_check_func LINENO FUNC VAR | ||
1899 | # ---------------------------------- | ||
1900 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
1901 | ac_fn_c_check_func () | ||
1902 | { | ||
1903 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1904 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1905 | $as_echo_n "checking for $2... " >&6; } | ||
1906 | if eval \${$3+:} false; then : | ||
1907 | $as_echo_n "(cached) " >&6 | ||
1908 | else | ||
1909 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1910 | /* end confdefs.h. */ | ||
1911 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
1912 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
1913 | #define $2 innocuous_$2 | ||
1914 | |||
1915 | /* System header to define __stub macros and hopefully few prototypes, | ||
1916 | which can conflict with char $2 (); below. | ||
1917 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
1918 | <limits.h> exists even on freestanding compilers. */ | ||
1919 | |||
1920 | #ifdef __STDC__ | ||
1921 | # include <limits.h> | ||
1922 | #else | ||
1923 | # include <assert.h> | ||
1924 | #endif | ||
1925 | |||
1926 | #undef $2 | ||
1927 | |||
1928 | /* Override any GCC internal prototype to avoid an error. | ||
1929 | Use char because int might match the return type of a GCC | ||
1930 | builtin and then its argument prototype would still apply. */ | ||
1931 | #ifdef __cplusplus | ||
1932 | extern "C" | ||
1933 | #endif | ||
1934 | char $2 (); | ||
1935 | /* The GNU C library defines this for functions which it implements | ||
1936 | to always fail with ENOSYS. Some functions are actually named | ||
1937 | something starting with __ and the normal name is an alias. */ | ||
1938 | #if defined __stub_$2 || defined __stub___$2 | ||
1939 | choke me | ||
1940 | #endif | ||
1941 | |||
1942 | int | ||
1943 | main () | ||
1944 | { | ||
1945 | return $2 (); | ||
1946 | ; | ||
1947 | return 0; | ||
1948 | } | ||
1949 | _ACEOF | ||
1950 | if ac_fn_c_try_link "$LINENO"; then : | ||
1951 | eval "$3=yes" | ||
1952 | else | ||
1953 | eval "$3=no" | ||
1954 | fi | ||
1955 | rm -f core conftest.err conftest.$ac_objext \ | ||
1956 | conftest$ac_exeext conftest.$ac_ext | ||
1957 | fi | ||
1958 | eval ac_res=\$$3 | ||
1959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1960 | $as_echo "$ac_res" >&6; } | ||
1961 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1962 | |||
1963 | } # ac_fn_c_check_func | ||
1964 | |||
1965 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
1966 | # ------------------------------------------- | ||
1967 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
1968 | # variable VAR accordingly. | ||
1969 | ac_fn_c_check_type () | ||
1970 | { | ||
1971 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1972 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1973 | $as_echo_n "checking for $2... " >&6; } | ||
1974 | if eval \${$3+:} false; then : | ||
1975 | $as_echo_n "(cached) " >&6 | ||
1976 | else | ||
1977 | eval "$3=no" | ||
1978 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1979 | /* end confdefs.h. */ | ||
1980 | $4 | ||
1981 | int | ||
1982 | main () | ||
1983 | { | ||
1984 | if (sizeof ($2)) | ||
1985 | return 0; | ||
1986 | ; | ||
1987 | return 0; | ||
1988 | } | ||
1989 | _ACEOF | ||
1990 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1991 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1992 | /* end confdefs.h. */ | ||
1993 | $4 | ||
1994 | int | ||
1995 | main () | ||
1996 | { | ||
1997 | if (sizeof (($2))) | ||
1998 | return 0; | ||
1999 | ; | ||
2000 | return 0; | ||
2001 | } | ||
2002 | _ACEOF | ||
2003 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2004 | |||
2005 | else | ||
2006 | eval "$3=yes" | ||
2007 | fi | ||
2008 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2009 | fi | ||
2010 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2011 | fi | ||
2012 | eval ac_res=\$$3 | ||
2013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2014 | $as_echo "$ac_res" >&6; } | ||
2015 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
2016 | |||
2017 | } # ac_fn_c_check_type | ||
2018 | |||
2019 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | ||
2020 | # -------------------------------------------- | ||
2021 | # Tries to find the compile-time value of EXPR in a program that includes | ||
2022 | # INCLUDES, setting VAR accordingly. Returns whether the value could be | ||
2023 | # computed | ||
2024 | ac_fn_c_compute_int () | ||
2025 | { | ||
2026 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2027 | if test "$cross_compiling" = yes; then | ||
2028 | # Depending upon the size, compute the lo and hi bounds. | ||
2029 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2030 | /* end confdefs.h. */ | ||
2031 | $4 | ||
2032 | int | ||
2033 | main () | ||
2034 | { | ||
2035 | static int test_array [1 - 2 * !(($2) >= 0)]; | ||
2036 | test_array [0] = 0; | ||
2037 | return test_array [0]; | ||
2038 | |||
2039 | ; | ||
2040 | return 0; | ||
2041 | } | ||
2042 | _ACEOF | ||
2043 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2044 | ac_lo=0 ac_mid=0 | ||
2045 | while :; do | ||
2046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2047 | /* end confdefs.h. */ | ||
2048 | $4 | ||
2049 | int | ||
2050 | main () | ||
2051 | { | ||
2052 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
2053 | test_array [0] = 0; | ||
2054 | return test_array [0]; | ||
2055 | |||
2056 | ; | ||
2057 | return 0; | ||
2058 | } | ||
2059 | _ACEOF | ||
2060 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2061 | ac_hi=$ac_mid; break | ||
2062 | else | ||
2063 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val | ||
2064 | if test $ac_lo -le $ac_mid; then | ||
2065 | ac_lo= ac_hi= | ||
2066 | break | ||
2067 | fi | ||
2068 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | ||
2069 | fi | ||
2070 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2071 | done | ||
2072 | else | ||
2073 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2074 | /* end confdefs.h. */ | ||
2075 | $4 | ||
2076 | int | ||
2077 | main () | ||
2078 | { | ||
2079 | static int test_array [1 - 2 * !(($2) < 0)]; | ||
2080 | test_array [0] = 0; | ||
2081 | return test_array [0]; | ||
2082 | |||
2083 | ; | ||
2084 | return 0; | ||
2085 | } | ||
2086 | _ACEOF | ||
2087 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2088 | ac_hi=-1 ac_mid=-1 | ||
2089 | while :; do | ||
2090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2091 | /* end confdefs.h. */ | ||
2092 | $4 | ||
2093 | int | ||
2094 | main () | ||
2095 | { | ||
2096 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | ||
2097 | test_array [0] = 0; | ||
2098 | return test_array [0]; | ||
2099 | |||
2100 | ; | ||
2101 | return 0; | ||
2102 | } | ||
2103 | _ACEOF | ||
2104 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2105 | ac_lo=$ac_mid; break | ||
2106 | else | ||
2107 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | ||
2108 | if test $ac_mid -le $ac_hi; then | ||
2109 | ac_lo= ac_hi= | ||
2110 | break | ||
2111 | fi | ||
2112 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | ||
2113 | fi | ||
2114 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2115 | done | ||
2116 | else | ||
2117 | ac_lo= ac_hi= | ||
2118 | fi | ||
2119 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2120 | fi | ||
2121 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2122 | # Binary search between lo and hi bounds. | ||
2123 | while test "x$ac_lo" != "x$ac_hi"; do | ||
2124 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | ||
2125 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2126 | /* end confdefs.h. */ | ||
2127 | $4 | ||
2128 | int | ||
2129 | main () | ||
2130 | { | ||
2131 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
2132 | test_array [0] = 0; | ||
2133 | return test_array [0]; | ||
2134 | |||
2135 | ; | ||
2136 | return 0; | ||
2137 | } | ||
2138 | _ACEOF | ||
2139 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2140 | ac_hi=$ac_mid | ||
2141 | else | ||
2142 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | ||
2143 | fi | ||
2144 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2145 | done | ||
2146 | case $ac_lo in #(( | ||
2147 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | ||
2148 | '') ac_retval=1 ;; | ||
2149 | esac | ||
2150 | else | ||
2151 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2152 | /* end confdefs.h. */ | ||
2153 | $4 | ||
2154 | static long int longval () { return $2; } | ||
2155 | static unsigned long int ulongval () { return $2; } | ||
2156 | #include <stdio.h> | ||
2157 | #include <stdlib.h> | ||
2158 | int | ||
2159 | main () | ||
2160 | { | ||
2161 | |||
2162 | FILE *f = fopen ("conftest.val", "w"); | ||
2163 | if (! f) | ||
2164 | return 1; | ||
2165 | if (($2) < 0) | ||
2166 | { | ||
2167 | long int i = longval (); | ||
2168 | if (i != ($2)) | ||
2169 | return 1; | ||
2170 | fprintf (f, "%ld", i); | ||
2171 | } | ||
2172 | else | ||
2173 | { | ||
2174 | unsigned long int i = ulongval (); | ||
2175 | if (i != ($2)) | ||
2176 | return 1; | ||
2177 | fprintf (f, "%lu", i); | ||
2178 | } | ||
2179 | /* Do not output a trailing newline, as this causes \r\n confusion | ||
2180 | on some platforms. */ | ||
2181 | return ferror (f) || fclose (f) != 0; | ||
2182 | |||
2183 | ; | ||
2184 | return 0; | ||
2185 | } | ||
2186 | _ACEOF | ||
2187 | if ac_fn_c_try_run "$LINENO"; then : | ||
2188 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | ||
2189 | else | ||
2190 | ac_retval=1 | ||
2191 | fi | ||
2192 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
2193 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
2194 | rm -f conftest.val | ||
2195 | |||
2196 | fi | ||
2197 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
2198 | as_fn_set_status $ac_retval | ||
2199 | |||
2200 | } # ac_fn_c_compute_int | ||
2201 | |||
2202 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
2203 | # ---------------------------------------------------- | ||
2204 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
2205 | # INCLUDES, setting cache variable VAR accordingly. | ||
2206 | ac_fn_c_check_member () | ||
2207 | { | ||
2208 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
2210 | $as_echo_n "checking for $2.$3... " >&6; } | ||
2211 | if eval \${$4+:} false; then : | ||
2212 | $as_echo_n "(cached) " >&6 | ||
2213 | else | ||
2214 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2215 | /* end confdefs.h. */ | ||
2216 | $5 | ||
2217 | int | ||
2218 | main () | ||
2219 | { | ||
2220 | static $2 ac_aggr; | ||
2221 | if (ac_aggr.$3) | ||
2222 | return 0; | ||
2223 | ; | ||
2224 | return 0; | ||
2225 | } | ||
2226 | _ACEOF | ||
2227 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2228 | eval "$4=yes" | ||
2229 | else | ||
2230 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2231 | /* end confdefs.h. */ | ||
2232 | $5 | ||
2233 | int | ||
2234 | main () | ||
2235 | { | ||
2236 | static $2 ac_aggr; | ||
2237 | if (sizeof ac_aggr.$3) | ||
2238 | return 0; | ||
2239 | ; | ||
2240 | return 0; | ||
2241 | } | ||
2242 | _ACEOF | ||
2243 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2244 | eval "$4=yes" | ||
2245 | else | ||
2246 | eval "$4=no" | ||
2247 | fi | ||
2248 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2249 | fi | ||
2250 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2251 | fi | ||
2252 | eval ac_res=\$$4 | ||
2253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2254 | $as_echo "$ac_res" >&6; } | ||
2255 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
2256 | |||
2257 | } # ac_fn_c_check_member | ||
1452 | cat >config.log <<_ACEOF | 2258 | cat >config.log <<_ACEOF |
1453 | This file contains any messages produced by compilers while | 2259 | This file contains any messages produced by compilers while |
1454 | running configure, to aid debugging if configure makes a mistake. | 2260 | running configure, to aid debugging if configure makes a mistake. |
1455 | 2261 | ||
1456 | It was created by OpenSSH $as_me Portable, which was | 2262 | It was created by OpenSSH $as_me Portable, which was |
1457 | generated by GNU Autoconf 2.61. Invocation command line was | 2263 | generated by GNU Autoconf 2.69. Invocation command line was |
1458 | 2264 | ||
1459 | $ $0 $@ | 2265 | $ $0 $@ |
1460 | 2266 | ||
@@ -1490,8 +2296,8 @@ for as_dir in $PATH | |||
1490 | do | 2296 | do |
1491 | IFS=$as_save_IFS | 2297 | IFS=$as_save_IFS |
1492 | test -z "$as_dir" && as_dir=. | 2298 | test -z "$as_dir" && as_dir=. |
1493 | echo "PATH: $as_dir" | 2299 | $as_echo "PATH: $as_dir" |
1494 | done | 2300 | done |
1495 | IFS=$as_save_IFS | 2301 | IFS=$as_save_IFS |
1496 | 2302 | ||
1497 | } >&5 | 2303 | } >&5 |
@@ -1525,12 +2331,12 @@ do | |||
1525 | | -silent | --silent | --silen | --sile | --sil) | 2331 | | -silent | --silent | --silen | --sile | --sil) |
1526 | continue ;; | 2332 | continue ;; |
1527 | *\'*) | 2333 | *\'*) |
1528 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 2334 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1529 | esac | 2335 | esac |
1530 | case $ac_pass in | 2336 | case $ac_pass in |
1531 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 2337 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1532 | 2) | 2338 | 2) |
1533 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 2339 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1534 | if test $ac_must_keep_next = true; then | 2340 | if test $ac_must_keep_next = true; then |
1535 | ac_must_keep_next=false # Got value, back to normal. | 2341 | ac_must_keep_next=false # Got value, back to normal. |
1536 | else | 2342 | else |
@@ -1546,13 +2352,13 @@ do | |||
1546 | -* ) ac_must_keep_next=true ;; | 2352 | -* ) ac_must_keep_next=true ;; |
1547 | esac | 2353 | esac |
1548 | fi | 2354 | fi |
1549 | ac_configure_args="$ac_configure_args '$ac_arg'" | 2355 | as_fn_append ac_configure_args " '$ac_arg'" |
1550 | ;; | 2356 | ;; |
1551 | esac | 2357 | esac |
1552 | done | 2358 | done |
1553 | done | 2359 | done |
1554 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 2360 | { ac_configure_args0=; unset ac_configure_args0;} |
1555 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 2361 | { ac_configure_args1=; unset ac_configure_args1;} |
1556 | 2362 | ||
1557 | # When interrupted or exit'd, cleanup temporary files, and complete | 2363 | # When interrupted or exit'd, cleanup temporary files, and complete |
1558 | # config.log. We remove comments because anyway the quotes in there | 2364 | # config.log. We remove comments because anyway the quotes in there |
@@ -1564,11 +2370,9 @@ trap 'exit_status=$? | |||
1564 | { | 2370 | { |
1565 | echo | 2371 | echo |
1566 | 2372 | ||
1567 | cat <<\_ASBOX | 2373 | $as_echo "## ---------------- ## |
1568 | ## ---------------- ## | ||
1569 | ## Cache variables. ## | 2374 | ## Cache variables. ## |
1570 | ## ---------------- ## | 2375 | ## ---------------- ##" |
1571 | _ASBOX | ||
1572 | echo | 2376 | echo |
1573 | # The following way of writing the cache mishandles newlines in values, | 2377 | # The following way of writing the cache mishandles newlines in values, |
1574 | ( | 2378 | ( |
@@ -1577,12 +2381,13 @@ _ASBOX | |||
1577 | case $ac_val in #( | 2381 | case $ac_val in #( |
1578 | *${as_nl}*) | 2382 | *${as_nl}*) |
1579 | case $ac_var in #( | 2383 | case $ac_var in #( |
1580 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 2384 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1581 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 2385 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1582 | esac | 2386 | esac |
1583 | case $ac_var in #( | 2387 | case $ac_var in #( |
1584 | _ | IFS | as_nl) ;; #( | 2388 | _ | IFS | as_nl) ;; #( |
1585 | *) $as_unset $ac_var ;; | 2389 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2390 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
1586 | esac ;; | 2391 | esac ;; |
1587 | esac | 2392 | esac |
1588 | done | 2393 | done |
@@ -1601,128 +2406,136 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |||
1601 | ) | 2406 | ) |
1602 | echo | 2407 | echo |
1603 | 2408 | ||
1604 | cat <<\_ASBOX | 2409 | $as_echo "## ----------------- ## |
1605 | ## ----------------- ## | ||
1606 | ## Output variables. ## | 2410 | ## Output variables. ## |
1607 | ## ----------------- ## | 2411 | ## ----------------- ##" |
1608 | _ASBOX | ||
1609 | echo | 2412 | echo |
1610 | for ac_var in $ac_subst_vars | 2413 | for ac_var in $ac_subst_vars |
1611 | do | 2414 | do |
1612 | eval ac_val=\$$ac_var | 2415 | eval ac_val=\$$ac_var |
1613 | case $ac_val in | 2416 | case $ac_val in |
1614 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2417 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1615 | esac | 2418 | esac |
1616 | echo "$ac_var='\''$ac_val'\''" | 2419 | $as_echo "$ac_var='\''$ac_val'\''" |
1617 | done | sort | 2420 | done | sort |
1618 | echo | 2421 | echo |
1619 | 2422 | ||
1620 | if test -n "$ac_subst_files"; then | 2423 | if test -n "$ac_subst_files"; then |
1621 | cat <<\_ASBOX | 2424 | $as_echo "## ------------------- ## |
1622 | ## ------------------- ## | ||
1623 | ## File substitutions. ## | 2425 | ## File substitutions. ## |
1624 | ## ------------------- ## | 2426 | ## ------------------- ##" |
1625 | _ASBOX | ||
1626 | echo | 2427 | echo |
1627 | for ac_var in $ac_subst_files | 2428 | for ac_var in $ac_subst_files |
1628 | do | 2429 | do |
1629 | eval ac_val=\$$ac_var | 2430 | eval ac_val=\$$ac_var |
1630 | case $ac_val in | 2431 | case $ac_val in |
1631 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2432 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
1632 | esac | 2433 | esac |
1633 | echo "$ac_var='\''$ac_val'\''" | 2434 | $as_echo "$ac_var='\''$ac_val'\''" |
1634 | done | sort | 2435 | done | sort |
1635 | echo | 2436 | echo |
1636 | fi | 2437 | fi |
1637 | 2438 | ||
1638 | if test -s confdefs.h; then | 2439 | if test -s confdefs.h; then |
1639 | cat <<\_ASBOX | 2440 | $as_echo "## ----------- ## |
1640 | ## ----------- ## | ||
1641 | ## confdefs.h. ## | 2441 | ## confdefs.h. ## |
1642 | ## ----------- ## | 2442 | ## ----------- ##" |
1643 | _ASBOX | ||
1644 | echo | 2443 | echo |
1645 | cat confdefs.h | 2444 | cat confdefs.h |
1646 | echo | 2445 | echo |
1647 | fi | 2446 | fi |
1648 | test "$ac_signal" != 0 && | 2447 | test "$ac_signal" != 0 && |
1649 | echo "$as_me: caught signal $ac_signal" | 2448 | $as_echo "$as_me: caught signal $ac_signal" |
1650 | echo "$as_me: exit $exit_status" | 2449 | $as_echo "$as_me: exit $exit_status" |
1651 | } >&5 | 2450 | } >&5 |
1652 | rm -f core *.core core.conftest.* && | 2451 | rm -f core *.core core.conftest.* && |
1653 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 2452 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1654 | exit $exit_status | 2453 | exit $exit_status |
1655 | ' 0 | 2454 | ' 0 |
1656 | for ac_signal in 1 2 13 15; do | 2455 | for ac_signal in 1 2 13 15; do |
1657 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 2456 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
1658 | done | 2457 | done |
1659 | ac_signal=0 | 2458 | ac_signal=0 |
1660 | 2459 | ||
1661 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2460 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1662 | rm -f -r conftest* confdefs.h | 2461 | rm -f -r conftest* confdefs.h |
1663 | 2462 | ||
2463 | $as_echo "/* confdefs.h */" > confdefs.h | ||
2464 | |||
1664 | # Predefined preprocessor variables. | 2465 | # Predefined preprocessor variables. |
1665 | 2466 | ||
1666 | cat >>confdefs.h <<_ACEOF | 2467 | cat >>confdefs.h <<_ACEOF |
1667 | #define PACKAGE_NAME "$PACKAGE_NAME" | 2468 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1668 | _ACEOF | 2469 | _ACEOF |
1669 | 2470 | ||
1670 | |||
1671 | cat >>confdefs.h <<_ACEOF | 2471 | cat >>confdefs.h <<_ACEOF |
1672 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2472 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1673 | _ACEOF | 2473 | _ACEOF |
1674 | 2474 | ||
1675 | |||
1676 | cat >>confdefs.h <<_ACEOF | 2475 | cat >>confdefs.h <<_ACEOF |
1677 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2476 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
1678 | _ACEOF | 2477 | _ACEOF |
1679 | 2478 | ||
1680 | |||
1681 | cat >>confdefs.h <<_ACEOF | 2479 | cat >>confdefs.h <<_ACEOF |
1682 | #define PACKAGE_STRING "$PACKAGE_STRING" | 2480 | #define PACKAGE_STRING "$PACKAGE_STRING" |
1683 | _ACEOF | 2481 | _ACEOF |
1684 | 2482 | ||
1685 | |||
1686 | cat >>confdefs.h <<_ACEOF | 2483 | cat >>confdefs.h <<_ACEOF |
1687 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2484 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1688 | _ACEOF | 2485 | _ACEOF |
1689 | 2486 | ||
2487 | cat >>confdefs.h <<_ACEOF | ||
2488 | #define PACKAGE_URL "$PACKAGE_URL" | ||
2489 | _ACEOF | ||
2490 | |||
1690 | 2491 | ||
1691 | # Let the site file select an alternate cache file if it wants to. | 2492 | # Let the site file select an alternate cache file if it wants to. |
1692 | # Prefer explicitly selected file to automatically selected ones. | 2493 | # Prefer an explicitly selected file to automatically selected ones. |
2494 | ac_site_file1=NONE | ||
2495 | ac_site_file2=NONE | ||
1693 | if test -n "$CONFIG_SITE"; then | 2496 | if test -n "$CONFIG_SITE"; then |
1694 | set x "$CONFIG_SITE" | 2497 | # We do not want a PATH search for config.site. |
2498 | case $CONFIG_SITE in #(( | ||
2499 | -*) ac_site_file1=./$CONFIG_SITE;; | ||
2500 | */*) ac_site_file1=$CONFIG_SITE;; | ||
2501 | *) ac_site_file1=./$CONFIG_SITE;; | ||
2502 | esac | ||
1695 | elif test "x$prefix" != xNONE; then | 2503 | elif test "x$prefix" != xNONE; then |
1696 | set x "$prefix/share/config.site" "$prefix/etc/config.site" | 2504 | ac_site_file1=$prefix/share/config.site |
2505 | ac_site_file2=$prefix/etc/config.site | ||
1697 | else | 2506 | else |
1698 | set x "$ac_default_prefix/share/config.site" \ | 2507 | ac_site_file1=$ac_default_prefix/share/config.site |
1699 | "$ac_default_prefix/etc/config.site" | 2508 | ac_site_file2=$ac_default_prefix/etc/config.site |
1700 | fi | 2509 | fi |
1701 | shift | 2510 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
1702 | for ac_site_file | ||
1703 | do | 2511 | do |
1704 | if test -r "$ac_site_file"; then | 2512 | test "x$ac_site_file" = xNONE && continue |
1705 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 2513 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
1706 | echo "$as_me: loading site script $ac_site_file" >&6;} | 2514 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2515 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
1707 | sed 's/^/| /' "$ac_site_file" >&5 | 2516 | sed 's/^/| /' "$ac_site_file" >&5 |
1708 | . "$ac_site_file" | 2517 | . "$ac_site_file" \ |
2518 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2519 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2520 | as_fn_error $? "failed to load site script $ac_site_file | ||
2521 | See \`config.log' for more details" "$LINENO" 5; } | ||
1709 | fi | 2522 | fi |
1710 | done | 2523 | done |
1711 | 2524 | ||
1712 | if test -r "$cache_file"; then | 2525 | if test -r "$cache_file"; then |
1713 | # Some versions of bash will fail to source /dev/null (special | 2526 | # Some versions of bash will fail to source /dev/null (special files |
1714 | # files actually), so we avoid doing that. | 2527 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
1715 | if test -f "$cache_file"; then | 2528 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
1716 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 2529 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
1717 | echo "$as_me: loading cache $cache_file" >&6;} | 2530 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
1718 | case $cache_file in | 2531 | case $cache_file in |
1719 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2532 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1720 | *) . "./$cache_file";; | 2533 | *) . "./$cache_file";; |
1721 | esac | 2534 | esac |
1722 | fi | 2535 | fi |
1723 | else | 2536 | else |
1724 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 2537 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
1725 | echo "$as_me: creating cache $cache_file" >&6;} | 2538 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
1726 | >$cache_file | 2539 | >$cache_file |
1727 | fi | 2540 | fi |
1728 | 2541 | ||
@@ -1736,68 +2549,56 @@ for ac_var in $ac_precious_vars; do | |||
1736 | eval ac_new_val=\$ac_env_${ac_var}_value | 2549 | eval ac_new_val=\$ac_env_${ac_var}_value |
1737 | case $ac_old_set,$ac_new_set in | 2550 | case $ac_old_set,$ac_new_set in |
1738 | set,) | 2551 | set,) |
1739 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2552 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1740 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2553 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1741 | ac_cache_corrupted=: ;; | 2554 | ac_cache_corrupted=: ;; |
1742 | ,set) | 2555 | ,set) |
1743 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 2556 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
1744 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2557 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1745 | ac_cache_corrupted=: ;; | 2558 | ac_cache_corrupted=: ;; |
1746 | ,);; | 2559 | ,);; |
1747 | *) | 2560 | *) |
1748 | if test "x$ac_old_val" != "x$ac_new_val"; then | 2561 | if test "x$ac_old_val" != "x$ac_new_val"; then |
1749 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 2562 | # differences in whitespace do not lead to failure. |
1750 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2563 | ac_old_val_w=`echo x $ac_old_val` |
1751 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 2564 | ac_new_val_w=`echo x $ac_new_val` |
1752 | echo "$as_me: former value: $ac_old_val" >&2;} | 2565 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
1753 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 2566 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
1754 | echo "$as_me: current value: $ac_new_val" >&2;} | 2567 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1755 | ac_cache_corrupted=: | 2568 | ac_cache_corrupted=: |
2569 | else | ||
2570 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
2571 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
2572 | eval $ac_var=\$ac_old_val | ||
2573 | fi | ||
2574 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
2575 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
2576 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
2577 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
1756 | fi;; | 2578 | fi;; |
1757 | esac | 2579 | esac |
1758 | # Pass precious variables to config.status. | 2580 | # Pass precious variables to config.status. |
1759 | if test "$ac_new_set" = set; then | 2581 | if test "$ac_new_set" = set; then |
1760 | case $ac_new_val in | 2582 | case $ac_new_val in |
1761 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 2583 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1762 | *) ac_arg=$ac_var=$ac_new_val ;; | 2584 | *) ac_arg=$ac_var=$ac_new_val ;; |
1763 | esac | 2585 | esac |
1764 | case " $ac_configure_args " in | 2586 | case " $ac_configure_args " in |
1765 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2587 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1766 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 2588 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
1767 | esac | 2589 | esac |
1768 | fi | 2590 | fi |
1769 | done | 2591 | done |
1770 | if $ac_cache_corrupted; then | 2592 | if $ac_cache_corrupted; then |
1771 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 2593 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
1772 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2594 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
1773 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 2595 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
1774 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 2596 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1775 | { (exit 1); exit 1; }; } | 2597 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
1776 | fi | 2598 | fi |
1777 | 2599 | ## -------------------- ## | |
1778 | 2600 | ## Main body of script. ## | |
1779 | 2601 | ## -------------------- ## | |
1780 | |||
1781 | |||
1782 | |||
1783 | |||
1784 | |||
1785 | |||
1786 | |||
1787 | |||
1788 | |||
1789 | |||
1790 | |||
1791 | |||
1792 | |||
1793 | |||
1794 | |||
1795 | |||
1796 | |||
1797 | |||
1798 | |||
1799 | |||
1800 | |||
1801 | 2602 | ||
1802 | ac_ext=c | 2603 | ac_ext=c |
1803 | ac_cpp='$CPP $CPPFLAGS' | 2604 | ac_cpp='$CPP $CPPFLAGS' |
@@ -1825,10 +2626,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
1825 | if test -n "$ac_tool_prefix"; then | 2626 | if test -n "$ac_tool_prefix"; then |
1826 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2627 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1827 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2628 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1828 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2629 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1829 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2630 | $as_echo_n "checking for $ac_word... " >&6; } |
1830 | if test "${ac_cv_prog_CC+set}" = set; then | 2631 | if ${ac_cv_prog_CC+:} false; then : |
1831 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2632 | $as_echo_n "(cached) " >&6 |
1832 | else | 2633 | else |
1833 | if test -n "$CC"; then | 2634 | if test -n "$CC"; then |
1834 | ac_cv_prog_CC="$CC" # Let the user override the test. | 2635 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -1838,25 +2639,25 @@ for as_dir in $PATH | |||
1838 | do | 2639 | do |
1839 | IFS=$as_save_IFS | 2640 | IFS=$as_save_IFS |
1840 | test -z "$as_dir" && as_dir=. | 2641 | test -z "$as_dir" && as_dir=. |
1841 | for ac_exec_ext in '' $ac_executable_extensions; do | 2642 | for ac_exec_ext in '' $ac_executable_extensions; do |
1842 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2643 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1843 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2644 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1844 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2645 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1845 | break 2 | 2646 | break 2 |
1846 | fi | 2647 | fi |
1847 | done | 2648 | done |
1848 | done | 2649 | done |
1849 | IFS=$as_save_IFS | 2650 | IFS=$as_save_IFS |
1850 | 2651 | ||
1851 | fi | 2652 | fi |
1852 | fi | 2653 | fi |
1853 | CC=$ac_cv_prog_CC | 2654 | CC=$ac_cv_prog_CC |
1854 | if test -n "$CC"; then | 2655 | if test -n "$CC"; then |
1855 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2656 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1856 | echo "${ECHO_T}$CC" >&6; } | 2657 | $as_echo "$CC" >&6; } |
1857 | else | 2658 | else |
1858 | { echo "$as_me:$LINENO: result: no" >&5 | 2659 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1859 | echo "${ECHO_T}no" >&6; } | 2660 | $as_echo "no" >&6; } |
1860 | fi | 2661 | fi |
1861 | 2662 | ||
1862 | 2663 | ||
@@ -1865,10 +2666,10 @@ if test -z "$ac_cv_prog_CC"; then | |||
1865 | ac_ct_CC=$CC | 2666 | ac_ct_CC=$CC |
1866 | # Extract the first word of "gcc", so it can be a program name with args. | 2667 | # Extract the first word of "gcc", so it can be a program name with args. |
1867 | set dummy gcc; ac_word=$2 | 2668 | set dummy gcc; ac_word=$2 |
1868 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1869 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2670 | $as_echo_n "checking for $ac_word... " >&6; } |
1870 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2671 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
1871 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2672 | $as_echo_n "(cached) " >&6 |
1872 | else | 2673 | else |
1873 | if test -n "$ac_ct_CC"; then | 2674 | if test -n "$ac_ct_CC"; then |
1874 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2675 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
@@ -1878,25 +2679,25 @@ for as_dir in $PATH | |||
1878 | do | 2679 | do |
1879 | IFS=$as_save_IFS | 2680 | IFS=$as_save_IFS |
1880 | test -z "$as_dir" && as_dir=. | 2681 | test -z "$as_dir" && as_dir=. |
1881 | for ac_exec_ext in '' $ac_executable_extensions; do | 2682 | for ac_exec_ext in '' $ac_executable_extensions; do |
1882 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2683 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1883 | ac_cv_prog_ac_ct_CC="gcc" | 2684 | ac_cv_prog_ac_ct_CC="gcc" |
1884 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2685 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1885 | break 2 | 2686 | break 2 |
1886 | fi | 2687 | fi |
1887 | done | 2688 | done |
1888 | done | 2689 | done |
1889 | IFS=$as_save_IFS | 2690 | IFS=$as_save_IFS |
1890 | 2691 | ||
1891 | fi | 2692 | fi |
1892 | fi | 2693 | fi |
1893 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2694 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1894 | if test -n "$ac_ct_CC"; then | 2695 | if test -n "$ac_ct_CC"; then |
1895 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
1896 | echo "${ECHO_T}$ac_ct_CC" >&6; } | 2697 | $as_echo "$ac_ct_CC" >&6; } |
1897 | else | 2698 | else |
1898 | { echo "$as_me:$LINENO: result: no" >&5 | 2699 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1899 | echo "${ECHO_T}no" >&6; } | 2700 | $as_echo "no" >&6; } |
1900 | fi | 2701 | fi |
1901 | 2702 | ||
1902 | if test "x$ac_ct_CC" = x; then | 2703 | if test "x$ac_ct_CC" = x; then |
@@ -1904,12 +2705,8 @@ fi | |||
1904 | else | 2705 | else |
1905 | case $cross_compiling:$ac_tool_warned in | 2706 | case $cross_compiling:$ac_tool_warned in |
1906 | yes:) | 2707 | yes:) |
1907 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 2708 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
1908 | whose name does not start with the host triplet. If you think this | 2709 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
1909 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
1910 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
1911 | whose name does not start with the host triplet. If you think this | ||
1912 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
1913 | ac_tool_warned=yes ;; | 2710 | ac_tool_warned=yes ;; |
1914 | esac | 2711 | esac |
1915 | CC=$ac_ct_CC | 2712 | CC=$ac_ct_CC |
@@ -1922,10 +2719,10 @@ if test -z "$CC"; then | |||
1922 | if test -n "$ac_tool_prefix"; then | 2719 | if test -n "$ac_tool_prefix"; then |
1923 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 2720 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1924 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 2721 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1925 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1926 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2723 | $as_echo_n "checking for $ac_word... " >&6; } |
1927 | if test "${ac_cv_prog_CC+set}" = set; then | 2724 | if ${ac_cv_prog_CC+:} false; then : |
1928 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2725 | $as_echo_n "(cached) " >&6 |
1929 | else | 2726 | else |
1930 | if test -n "$CC"; then | 2727 | if test -n "$CC"; then |
1931 | ac_cv_prog_CC="$CC" # Let the user override the test. | 2728 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -1935,25 +2732,25 @@ for as_dir in $PATH | |||
1935 | do | 2732 | do |
1936 | IFS=$as_save_IFS | 2733 | IFS=$as_save_IFS |
1937 | test -z "$as_dir" && as_dir=. | 2734 | test -z "$as_dir" && as_dir=. |
1938 | for ac_exec_ext in '' $ac_executable_extensions; do | 2735 | for ac_exec_ext in '' $ac_executable_extensions; do |
1939 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2736 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1940 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 2737 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
1941 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2738 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1942 | break 2 | 2739 | break 2 |
1943 | fi | 2740 | fi |
1944 | done | 2741 | done |
1945 | done | 2742 | done |
1946 | IFS=$as_save_IFS | 2743 | IFS=$as_save_IFS |
1947 | 2744 | ||
1948 | fi | 2745 | fi |
1949 | fi | 2746 | fi |
1950 | CC=$ac_cv_prog_CC | 2747 | CC=$ac_cv_prog_CC |
1951 | if test -n "$CC"; then | 2748 | if test -n "$CC"; then |
1952 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2749 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
1953 | echo "${ECHO_T}$CC" >&6; } | 2750 | $as_echo "$CC" >&6; } |
1954 | else | 2751 | else |
1955 | { echo "$as_me:$LINENO: result: no" >&5 | 2752 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
1956 | echo "${ECHO_T}no" >&6; } | 2753 | $as_echo "no" >&6; } |
1957 | fi | 2754 | fi |
1958 | 2755 | ||
1959 | 2756 | ||
@@ -1962,10 +2759,10 @@ fi | |||
1962 | if test -z "$CC"; then | 2759 | if test -z "$CC"; then |
1963 | # Extract the first word of "cc", so it can be a program name with args. | 2760 | # Extract the first word of "cc", so it can be a program name with args. |
1964 | set dummy cc; ac_word=$2 | 2761 | set dummy cc; ac_word=$2 |
1965 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2762 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
1966 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2763 | $as_echo_n "checking for $ac_word... " >&6; } |
1967 | if test "${ac_cv_prog_CC+set}" = set; then | 2764 | if ${ac_cv_prog_CC+:} false; then : |
1968 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2765 | $as_echo_n "(cached) " >&6 |
1969 | else | 2766 | else |
1970 | if test -n "$CC"; then | 2767 | if test -n "$CC"; then |
1971 | ac_cv_prog_CC="$CC" # Let the user override the test. | 2768 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -1976,18 +2773,18 @@ for as_dir in $PATH | |||
1976 | do | 2773 | do |
1977 | IFS=$as_save_IFS | 2774 | IFS=$as_save_IFS |
1978 | test -z "$as_dir" && as_dir=. | 2775 | test -z "$as_dir" && as_dir=. |
1979 | for ac_exec_ext in '' $ac_executable_extensions; do | 2776 | for ac_exec_ext in '' $ac_executable_extensions; do |
1980 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2777 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1981 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 2778 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
1982 | ac_prog_rejected=yes | 2779 | ac_prog_rejected=yes |
1983 | continue | 2780 | continue |
1984 | fi | 2781 | fi |
1985 | ac_cv_prog_CC="cc" | 2782 | ac_cv_prog_CC="cc" |
1986 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2783 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1987 | break 2 | 2784 | break 2 |
1988 | fi | 2785 | fi |
1989 | done | 2786 | done |
1990 | done | 2787 | done |
1991 | IFS=$as_save_IFS | 2788 | IFS=$as_save_IFS |
1992 | 2789 | ||
1993 | if test $ac_prog_rejected = yes; then | 2790 | if test $ac_prog_rejected = yes; then |
@@ -2006,11 +2803,11 @@ fi | |||
2006 | fi | 2803 | fi |
2007 | CC=$ac_cv_prog_CC | 2804 | CC=$ac_cv_prog_CC |
2008 | if test -n "$CC"; then | 2805 | if test -n "$CC"; then |
2009 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2010 | echo "${ECHO_T}$CC" >&6; } | 2807 | $as_echo "$CC" >&6; } |
2011 | else | 2808 | else |
2012 | { echo "$as_me:$LINENO: result: no" >&5 | 2809 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2013 | echo "${ECHO_T}no" >&6; } | 2810 | $as_echo "no" >&6; } |
2014 | fi | 2811 | fi |
2015 | 2812 | ||
2016 | 2813 | ||
@@ -2021,10 +2818,10 @@ if test -z "$CC"; then | |||
2021 | do | 2818 | do |
2022 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2819 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2023 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2820 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2024 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2821 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2025 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2822 | $as_echo_n "checking for $ac_word... " >&6; } |
2026 | if test "${ac_cv_prog_CC+set}" = set; then | 2823 | if ${ac_cv_prog_CC+:} false; then : |
2027 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2824 | $as_echo_n "(cached) " >&6 |
2028 | else | 2825 | else |
2029 | if test -n "$CC"; then | 2826 | if test -n "$CC"; then |
2030 | ac_cv_prog_CC="$CC" # Let the user override the test. | 2827 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -2034,25 +2831,25 @@ for as_dir in $PATH | |||
2034 | do | 2831 | do |
2035 | IFS=$as_save_IFS | 2832 | IFS=$as_save_IFS |
2036 | test -z "$as_dir" && as_dir=. | 2833 | test -z "$as_dir" && as_dir=. |
2037 | for ac_exec_ext in '' $ac_executable_extensions; do | 2834 | for ac_exec_ext in '' $ac_executable_extensions; do |
2038 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2835 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2039 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2836 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2040 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2837 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2041 | break 2 | 2838 | break 2 |
2042 | fi | 2839 | fi |
2043 | done | 2840 | done |
2044 | done | 2841 | done |
2045 | IFS=$as_save_IFS | 2842 | IFS=$as_save_IFS |
2046 | 2843 | ||
2047 | fi | 2844 | fi |
2048 | fi | 2845 | fi |
2049 | CC=$ac_cv_prog_CC | 2846 | CC=$ac_cv_prog_CC |
2050 | if test -n "$CC"; then | 2847 | if test -n "$CC"; then |
2051 | { echo "$as_me:$LINENO: result: $CC" >&5 | 2848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2052 | echo "${ECHO_T}$CC" >&6; } | 2849 | $as_echo "$CC" >&6; } |
2053 | else | 2850 | else |
2054 | { echo "$as_me:$LINENO: result: no" >&5 | 2851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2055 | echo "${ECHO_T}no" >&6; } | 2852 | $as_echo "no" >&6; } |
2056 | fi | 2853 | fi |
2057 | 2854 | ||
2058 | 2855 | ||
@@ -2065,10 +2862,10 @@ if test -z "$CC"; then | |||
2065 | do | 2862 | do |
2066 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2863 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2067 | set dummy $ac_prog; ac_word=$2 | 2864 | set dummy $ac_prog; ac_word=$2 |
2068 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 2865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2069 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 2866 | $as_echo_n "checking for $ac_word... " >&6; } |
2070 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 2867 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2071 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 2868 | $as_echo_n "(cached) " >&6 |
2072 | else | 2869 | else |
2073 | if test -n "$ac_ct_CC"; then | 2870 | if test -n "$ac_ct_CC"; then |
2074 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2871 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
@@ -2078,25 +2875,25 @@ for as_dir in $PATH | |||
2078 | do | 2875 | do |
2079 | IFS=$as_save_IFS | 2876 | IFS=$as_save_IFS |
2080 | test -z "$as_dir" && as_dir=. | 2877 | test -z "$as_dir" && as_dir=. |
2081 | for ac_exec_ext in '' $ac_executable_extensions; do | 2878 | for ac_exec_ext in '' $ac_executable_extensions; do |
2082 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2879 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2083 | ac_cv_prog_ac_ct_CC="$ac_prog" | 2880 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2084 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2881 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2085 | break 2 | 2882 | break 2 |
2086 | fi | 2883 | fi |
2087 | done | 2884 | done |
2088 | done | 2885 | done |
2089 | IFS=$as_save_IFS | 2886 | IFS=$as_save_IFS |
2090 | 2887 | ||
2091 | fi | 2888 | fi |
2092 | fi | 2889 | fi |
2093 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2890 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2094 | if test -n "$ac_ct_CC"; then | 2891 | if test -n "$ac_ct_CC"; then |
2095 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 2892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2096 | echo "${ECHO_T}$ac_ct_CC" >&6; } | 2893 | $as_echo "$ac_ct_CC" >&6; } |
2097 | else | 2894 | else |
2098 | { echo "$as_me:$LINENO: result: no" >&5 | 2895 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2099 | echo "${ECHO_T}no" >&6; } | 2896 | $as_echo "no" >&6; } |
2100 | fi | 2897 | fi |
2101 | 2898 | ||
2102 | 2899 | ||
@@ -2108,12 +2905,8 @@ done | |||
2108 | else | 2905 | else |
2109 | case $cross_compiling:$ac_tool_warned in | 2906 | case $cross_compiling:$ac_tool_warned in |
2110 | yes:) | 2907 | yes:) |
2111 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 2908 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2112 | whose name does not start with the host triplet. If you think this | 2909 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2113 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
2114 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
2115 | whose name does not start with the host triplet. If you think this | ||
2116 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2117 | ac_tool_warned=yes ;; | 2910 | ac_tool_warned=yes ;; |
2118 | esac | 2911 | esac |
2119 | CC=$ac_ct_CC | 2912 | CC=$ac_ct_CC |
@@ -2123,51 +2916,37 @@ fi | |||
2123 | fi | 2916 | fi |
2124 | 2917 | ||
2125 | 2918 | ||
2126 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 2919 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2127 | See \`config.log' for more details." >&5 | 2920 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2128 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 2921 | as_fn_error $? "no acceptable C compiler found in \$PATH |
2129 | See \`config.log' for more details." >&2;} | 2922 | See \`config.log' for more details" "$LINENO" 5; } |
2130 | { (exit 1); exit 1; }; } | ||
2131 | 2923 | ||
2132 | # Provide some information about the compiler. | 2924 | # Provide some information about the compiler. |
2133 | echo "$as_me:$LINENO: checking for C compiler version" >&5 | 2925 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
2134 | ac_compiler=`set X $ac_compile; echo $2` | 2926 | set X $ac_compile |
2135 | { (ac_try="$ac_compiler --version >&5" | 2927 | ac_compiler=$2 |
2136 | case "(($ac_try" in | 2928 | for ac_option in --version -v -V -qversion; do |
2137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2929 | { { ac_try="$ac_compiler $ac_option >&5" |
2138 | *) ac_try_echo=$ac_try;; | ||
2139 | esac | ||
2140 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2141 | (eval "$ac_compiler --version >&5") 2>&5 | ||
2142 | ac_status=$? | ||
2143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2144 | (exit $ac_status); } | ||
2145 | { (ac_try="$ac_compiler -v >&5" | ||
2146 | case "(($ac_try" in | ||
2147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2148 | *) ac_try_echo=$ac_try;; | ||
2149 | esac | ||
2150 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2151 | (eval "$ac_compiler -v >&5") 2>&5 | ||
2152 | ac_status=$? | ||
2153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2154 | (exit $ac_status); } | ||
2155 | { (ac_try="$ac_compiler -V >&5" | ||
2156 | case "(($ac_try" in | 2930 | case "(($ac_try" in |
2157 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2931 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2158 | *) ac_try_echo=$ac_try;; | 2932 | *) ac_try_echo=$ac_try;; |
2159 | esac | 2933 | esac |
2160 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2934 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2161 | (eval "$ac_compiler -V >&5") 2>&5 | 2935 | $as_echo "$ac_try_echo"; } >&5 |
2936 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||
2162 | ac_status=$? | 2937 | ac_status=$? |
2163 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2938 | if test -s conftest.err; then |
2164 | (exit $ac_status); } | 2939 | sed '10a\ |
2940 | ... rest of stderr output deleted ... | ||
2941 | 10q' conftest.err >conftest.er1 | ||
2942 | cat conftest.er1 >&5 | ||
2943 | fi | ||
2944 | rm -f conftest.er1 conftest.err | ||
2945 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2946 | test $ac_status = 0; } | ||
2947 | done | ||
2165 | 2948 | ||
2166 | cat >conftest.$ac_ext <<_ACEOF | 2949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2167 | /* confdefs.h. */ | ||
2168 | _ACEOF | ||
2169 | cat confdefs.h >>conftest.$ac_ext | ||
2170 | cat >>conftest.$ac_ext <<_ACEOF | ||
2171 | /* end confdefs.h. */ | 2950 | /* end confdefs.h. */ |
2172 | 2951 | ||
2173 | int | 2952 | int |
@@ -2179,42 +2958,38 @@ main () | |||
2179 | } | 2958 | } |
2180 | _ACEOF | 2959 | _ACEOF |
2181 | ac_clean_files_save=$ac_clean_files | 2960 | ac_clean_files_save=$ac_clean_files |
2182 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 2961 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
2183 | # Try to create an executable without -o first, disregard a.out. | 2962 | # Try to create an executable without -o first, disregard a.out. |
2184 | # It will help us diagnose broken compilers, and finding out an intuition | 2963 | # It will help us diagnose broken compilers, and finding out an intuition |
2185 | # of exeext. | 2964 | # of exeext. |
2186 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 2965 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
2187 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } | 2966 | $as_echo_n "checking whether the C compiler works... " >&6; } |
2188 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2967 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2189 | # | 2968 | |
2190 | # List of possible output files, starting from the most likely. | 2969 | # The possible output files: |
2191 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | 2970 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
2192 | # only as a last resort. b.out is created by i960 compilers. | 2971 | |
2193 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
2194 | # | ||
2195 | # The IRIX 6 linker writes into existing files which may not be | ||
2196 | # executable, retaining their permissions. Remove them first so a | ||
2197 | # subsequent execution test works. | ||
2198 | ac_rmfiles= | 2972 | ac_rmfiles= |
2199 | for ac_file in $ac_files | 2973 | for ac_file in $ac_files |
2200 | do | 2974 | do |
2201 | case $ac_file in | 2975 | case $ac_file in |
2202 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 2976 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2203 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 2977 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2204 | esac | 2978 | esac |
2205 | done | 2979 | done |
2206 | rm -f $ac_rmfiles | 2980 | rm -f $ac_rmfiles |
2207 | 2981 | ||
2208 | if { (ac_try="$ac_link_default" | 2982 | if { { ac_try="$ac_link_default" |
2209 | case "(($ac_try" in | 2983 | case "(($ac_try" in |
2210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2211 | *) ac_try_echo=$ac_try;; | 2985 | *) ac_try_echo=$ac_try;; |
2212 | esac | 2986 | esac |
2213 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 2987 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
2988 | $as_echo "$ac_try_echo"; } >&5 | ||
2214 | (eval "$ac_link_default") 2>&5 | 2989 | (eval "$ac_link_default") 2>&5 |
2215 | ac_status=$? | 2990 | ac_status=$? |
2216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2991 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2217 | (exit $ac_status); }; then | 2992 | test $ac_status = 0; }; then : |
2218 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 2993 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2219 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 2994 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2220 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 2995 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
@@ -2224,14 +2999,14 @@ for ac_file in $ac_files '' | |||
2224 | do | 2999 | do |
2225 | test -f "$ac_file" || continue | 3000 | test -f "$ac_file" || continue |
2226 | case $ac_file in | 3001 | case $ac_file in |
2227 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) | 3002 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
2228 | ;; | 3003 | ;; |
2229 | [ab].out ) | 3004 | [ab].out ) |
2230 | # We found the default executable, but exeext='' is most | 3005 | # We found the default executable, but exeext='' is most |
2231 | # certainly right. | 3006 | # certainly right. |
2232 | break;; | 3007 | break;; |
2233 | *.* ) | 3008 | *.* ) |
2234 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3009 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2235 | then :; else | 3010 | then :; else |
2236 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3011 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2237 | fi | 3012 | fi |
@@ -2250,78 +3025,41 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= | |||
2250 | else | 3025 | else |
2251 | ac_file='' | 3026 | ac_file='' |
2252 | fi | 3027 | fi |
2253 | 3028 | if test -z "$ac_file"; then : | |
2254 | { echo "$as_me:$LINENO: result: $ac_file" >&5 | 3029 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2255 | echo "${ECHO_T}$ac_file" >&6; } | 3030 | $as_echo "no" >&6; } |
2256 | if test -z "$ac_file"; then | 3031 | $as_echo "$as_me: failed program was:" >&5 |
2257 | echo "$as_me: failed program was:" >&5 | ||
2258 | sed 's/^/| /' conftest.$ac_ext >&5 | 3032 | sed 's/^/| /' conftest.$ac_ext >&5 |
2259 | 3033 | ||
2260 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 3034 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2261 | See \`config.log' for more details." >&5 | 3035 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2262 | echo "$as_me: error: C compiler cannot create executables | 3036 | as_fn_error 77 "C compiler cannot create executables |
2263 | See \`config.log' for more details." >&2;} | 3037 | See \`config.log' for more details" "$LINENO" 5; } |
2264 | { (exit 77); exit 77; }; } | 3038 | else |
3039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
3040 | $as_echo "yes" >&6; } | ||
2265 | fi | 3041 | fi |
2266 | 3042 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | |
3043 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
3044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
3045 | $as_echo "$ac_file" >&6; } | ||
2267 | ac_exeext=$ac_cv_exeext | 3046 | ac_exeext=$ac_cv_exeext |
2268 | 3047 | ||
2269 | # Check that the compiler produces executables we can run. If not, either | 3048 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
2270 | # the compiler is broken, or we cross compile. | ||
2271 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
2272 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | ||
2273 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
2274 | # If not cross compiling, check that we can run a simple program. | ||
2275 | if test "$cross_compiling" != yes; then | ||
2276 | if { ac_try='./$ac_file' | ||
2277 | { (case "(($ac_try" in | ||
2278 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2279 | *) ac_try_echo=$ac_try;; | ||
2280 | esac | ||
2281 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2282 | (eval "$ac_try") 2>&5 | ||
2283 | ac_status=$? | ||
2284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2285 | (exit $ac_status); }; }; then | ||
2286 | cross_compiling=no | ||
2287 | else | ||
2288 | if test "$cross_compiling" = maybe; then | ||
2289 | cross_compiling=yes | ||
2290 | else | ||
2291 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
2292 | If you meant to cross compile, use \`--host'. | ||
2293 | See \`config.log' for more details." >&5 | ||
2294 | echo "$as_me: error: cannot run C compiled programs. | ||
2295 | If you meant to cross compile, use \`--host'. | ||
2296 | See \`config.log' for more details." >&2;} | ||
2297 | { (exit 1); exit 1; }; } | ||
2298 | fi | ||
2299 | fi | ||
2300 | fi | ||
2301 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
2302 | echo "${ECHO_T}yes" >&6; } | ||
2303 | |||
2304 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
2305 | ac_clean_files=$ac_clean_files_save | 3049 | ac_clean_files=$ac_clean_files_save |
2306 | # Check that the compiler produces executables we can run. If not, either | 3050 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
2307 | # the compiler is broken, or we cross compile. | 3051 | $as_echo_n "checking for suffix of executables... " >&6; } |
2308 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 3052 | if { { ac_try="$ac_link" |
2309 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | ||
2310 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
2311 | echo "${ECHO_T}$cross_compiling" >&6; } | ||
2312 | |||
2313 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
2314 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | ||
2315 | if { (ac_try="$ac_link" | ||
2316 | case "(($ac_try" in | 3053 | case "(($ac_try" in |
2317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2318 | *) ac_try_echo=$ac_try;; | 3055 | *) ac_try_echo=$ac_try;; |
2319 | esac | 3056 | esac |
2320 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3057 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3058 | $as_echo "$ac_try_echo"; } >&5 | ||
2321 | (eval "$ac_link") 2>&5 | 3059 | (eval "$ac_link") 2>&5 |
2322 | ac_status=$? | 3060 | ac_status=$? |
2323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3061 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2324 | (exit $ac_status); }; then | 3062 | test $ac_status = 0; }; then : |
2325 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3063 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2326 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3064 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2327 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3065 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
@@ -2329,37 +3067,90 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |||
2329 | for ac_file in conftest.exe conftest conftest.*; do | 3067 | for ac_file in conftest.exe conftest conftest.*; do |
2330 | test -f "$ac_file" || continue | 3068 | test -f "$ac_file" || continue |
2331 | case $ac_file in | 3069 | case $ac_file in |
2332 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | 3070 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
2333 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3071 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2334 | break;; | 3072 | break;; |
2335 | * ) break;; | 3073 | * ) break;; |
2336 | esac | 3074 | esac |
2337 | done | 3075 | done |
2338 | else | 3076 | else |
2339 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 3077 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2340 | See \`config.log' for more details." >&5 | 3078 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2341 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 3079 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
2342 | See \`config.log' for more details." >&2;} | 3080 | See \`config.log' for more details" "$LINENO" 5; } |
2343 | { (exit 1); exit 1; }; } | ||
2344 | fi | 3081 | fi |
2345 | 3082 | rm -f conftest conftest$ac_cv_exeext | |
2346 | rm -f conftest$ac_cv_exeext | 3083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
2347 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 3084 | $as_echo "$ac_cv_exeext" >&6; } |
2348 | echo "${ECHO_T}$ac_cv_exeext" >&6; } | ||
2349 | 3085 | ||
2350 | rm -f conftest.$ac_ext | 3086 | rm -f conftest.$ac_ext |
2351 | EXEEXT=$ac_cv_exeext | 3087 | EXEEXT=$ac_cv_exeext |
2352 | ac_exeext=$EXEEXT | 3088 | ac_exeext=$EXEEXT |
2353 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3089 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2354 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } | 3090 | /* end confdefs.h. */ |
2355 | if test "${ac_cv_objext+set}" = set; then | 3091 | #include <stdio.h> |
2356 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3092 | int |
2357 | else | 3093 | main () |
2358 | cat >conftest.$ac_ext <<_ACEOF | 3094 | { |
2359 | /* confdefs.h. */ | 3095 | FILE *f = fopen ("conftest.out", "w"); |
3096 | return ferror (f) || fclose (f) != 0; | ||
3097 | |||
3098 | ; | ||
3099 | return 0; | ||
3100 | } | ||
2360 | _ACEOF | 3101 | _ACEOF |
2361 | cat confdefs.h >>conftest.$ac_ext | 3102 | ac_clean_files="$ac_clean_files conftest.out" |
2362 | cat >>conftest.$ac_ext <<_ACEOF | 3103 | # Check that the compiler produces executables we can run. If not, either |
3104 | # the compiler is broken, or we cross compile. | ||
3105 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
3106 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
3107 | if test "$cross_compiling" != yes; then | ||
3108 | { { ac_try="$ac_link" | ||
3109 | case "(($ac_try" in | ||
3110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3111 | *) ac_try_echo=$ac_try;; | ||
3112 | esac | ||
3113 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
3114 | $as_echo "$ac_try_echo"; } >&5 | ||
3115 | (eval "$ac_link") 2>&5 | ||
3116 | ac_status=$? | ||
3117 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
3118 | test $ac_status = 0; } | ||
3119 | if { ac_try='./conftest$ac_cv_exeext' | ||
3120 | { { case "(($ac_try" in | ||
3121 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3122 | *) ac_try_echo=$ac_try;; | ||
3123 | esac | ||
3124 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
3125 | $as_echo "$ac_try_echo"; } >&5 | ||
3126 | (eval "$ac_try") 2>&5 | ||
3127 | ac_status=$? | ||
3128 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
3129 | test $ac_status = 0; }; }; then | ||
3130 | cross_compiling=no | ||
3131 | else | ||
3132 | if test "$cross_compiling" = maybe; then | ||
3133 | cross_compiling=yes | ||
3134 | else | ||
3135 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
3136 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3137 | as_fn_error $? "cannot run C compiled programs. | ||
3138 | If you meant to cross compile, use \`--host'. | ||
3139 | See \`config.log' for more details" "$LINENO" 5; } | ||
3140 | fi | ||
3141 | fi | ||
3142 | fi | ||
3143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
3144 | $as_echo "$cross_compiling" >&6; } | ||
3145 | |||
3146 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
3147 | ac_clean_files=$ac_clean_files_save | ||
3148 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
3149 | $as_echo_n "checking for suffix of object files... " >&6; } | ||
3150 | if ${ac_cv_objext+:} false; then : | ||
3151 | $as_echo_n "(cached) " >&6 | ||
3152 | else | ||
3153 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2363 | /* end confdefs.h. */ | 3154 | /* end confdefs.h. */ |
2364 | 3155 | ||
2365 | int | 3156 | int |
@@ -2371,51 +3162,46 @@ main () | |||
2371 | } | 3162 | } |
2372 | _ACEOF | 3163 | _ACEOF |
2373 | rm -f conftest.o conftest.obj | 3164 | rm -f conftest.o conftest.obj |
2374 | if { (ac_try="$ac_compile" | 3165 | if { { ac_try="$ac_compile" |
2375 | case "(($ac_try" in | 3166 | case "(($ac_try" in |
2376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3167 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2377 | *) ac_try_echo=$ac_try;; | 3168 | *) ac_try_echo=$ac_try;; |
2378 | esac | 3169 | esac |
2379 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 3170 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3171 | $as_echo "$ac_try_echo"; } >&5 | ||
2380 | (eval "$ac_compile") 2>&5 | 3172 | (eval "$ac_compile") 2>&5 |
2381 | ac_status=$? | 3173 | ac_status=$? |
2382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3174 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2383 | (exit $ac_status); }; then | 3175 | test $ac_status = 0; }; then : |
2384 | for ac_file in conftest.o conftest.obj conftest.*; do | 3176 | for ac_file in conftest.o conftest.obj conftest.*; do |
2385 | test -f "$ac_file" || continue; | 3177 | test -f "$ac_file" || continue; |
2386 | case $ac_file in | 3178 | case $ac_file in |
2387 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; | 3179 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
2388 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3180 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2389 | break;; | 3181 | break;; |
2390 | esac | 3182 | esac |
2391 | done | 3183 | done |
2392 | else | 3184 | else |
2393 | echo "$as_me: failed program was:" >&5 | 3185 | $as_echo "$as_me: failed program was:" >&5 |
2394 | sed 's/^/| /' conftest.$ac_ext >&5 | 3186 | sed 's/^/| /' conftest.$ac_ext >&5 |
2395 | 3187 | ||
2396 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 3188 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2397 | See \`config.log' for more details." >&5 | 3189 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2398 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 3190 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
2399 | See \`config.log' for more details." >&2;} | 3191 | See \`config.log' for more details" "$LINENO" 5; } |
2400 | { (exit 1); exit 1; }; } | ||
2401 | fi | 3192 | fi |
2402 | |||
2403 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3193 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2404 | fi | 3194 | fi |
2405 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
2406 | echo "${ECHO_T}$ac_cv_objext" >&6; } | 3196 | $as_echo "$ac_cv_objext" >&6; } |
2407 | OBJEXT=$ac_cv_objext | 3197 | OBJEXT=$ac_cv_objext |
2408 | ac_objext=$OBJEXT | 3198 | ac_objext=$OBJEXT |
2409 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3199 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
2410 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } | 3200 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
2411 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3201 | if ${ac_cv_c_compiler_gnu+:} false; then : |
2412 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3202 | $as_echo_n "(cached) " >&6 |
2413 | else | 3203 | else |
2414 | cat >conftest.$ac_ext <<_ACEOF | 3204 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2415 | /* confdefs.h. */ | ||
2416 | _ACEOF | ||
2417 | cat confdefs.h >>conftest.$ac_ext | ||
2418 | cat >>conftest.$ac_ext <<_ACEOF | ||
2419 | /* end confdefs.h. */ | 3205 | /* end confdefs.h. */ |
2420 | 3206 | ||
2421 | int | 3207 | int |
@@ -2429,54 +3215,34 @@ main () | |||
2429 | return 0; | 3215 | return 0; |
2430 | } | 3216 | } |
2431 | _ACEOF | 3217 | _ACEOF |
2432 | rm -f conftest.$ac_objext | 3218 | if ac_fn_c_try_compile "$LINENO"; then : |
2433 | if { (ac_try="$ac_compile" | ||
2434 | case "(($ac_try" in | ||
2435 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2436 | *) ac_try_echo=$ac_try;; | ||
2437 | esac | ||
2438 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2439 | (eval "$ac_compile") 2>conftest.er1 | ||
2440 | ac_status=$? | ||
2441 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2442 | rm -f conftest.er1 | ||
2443 | cat conftest.err >&5 | ||
2444 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2445 | (exit $ac_status); } && { | ||
2446 | test -z "$ac_c_werror_flag" || | ||
2447 | test ! -s conftest.err | ||
2448 | } && test -s conftest.$ac_objext; then | ||
2449 | ac_compiler_gnu=yes | 3219 | ac_compiler_gnu=yes |
2450 | else | 3220 | else |
2451 | echo "$as_me: failed program was:" >&5 | 3221 | ac_compiler_gnu=no |
2452 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2453 | |||
2454 | ac_compiler_gnu=no | ||
2455 | fi | 3222 | fi |
2456 | |||
2457 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3223 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2458 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3224 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2459 | 3225 | ||
2460 | fi | 3226 | fi |
2461 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
2462 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } | 3228 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
2463 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 3229 | if test $ac_compiler_gnu = yes; then |
3230 | GCC=yes | ||
3231 | else | ||
3232 | GCC= | ||
3233 | fi | ||
2464 | ac_test_CFLAGS=${CFLAGS+set} | 3234 | ac_test_CFLAGS=${CFLAGS+set} |
2465 | ac_save_CFLAGS=$CFLAGS | 3235 | ac_save_CFLAGS=$CFLAGS |
2466 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3236 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
2467 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } | 3237 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
2468 | if test "${ac_cv_prog_cc_g+set}" = set; then | 3238 | if ${ac_cv_prog_cc_g+:} false; then : |
2469 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3239 | $as_echo_n "(cached) " >&6 |
2470 | else | 3240 | else |
2471 | ac_save_c_werror_flag=$ac_c_werror_flag | 3241 | ac_save_c_werror_flag=$ac_c_werror_flag |
2472 | ac_c_werror_flag=yes | 3242 | ac_c_werror_flag=yes |
2473 | ac_cv_prog_cc_g=no | 3243 | ac_cv_prog_cc_g=no |
2474 | CFLAGS="-g" | 3244 | CFLAGS="-g" |
2475 | cat >conftest.$ac_ext <<_ACEOF | 3245 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2476 | /* confdefs.h. */ | ||
2477 | _ACEOF | ||
2478 | cat confdefs.h >>conftest.$ac_ext | ||
2479 | cat >>conftest.$ac_ext <<_ACEOF | ||
2480 | /* end confdefs.h. */ | 3246 | /* end confdefs.h. */ |
2481 | 3247 | ||
2482 | int | 3248 | int |
@@ -2487,34 +3253,11 @@ main () | |||
2487 | return 0; | 3253 | return 0; |
2488 | } | 3254 | } |
2489 | _ACEOF | 3255 | _ACEOF |
2490 | rm -f conftest.$ac_objext | 3256 | if ac_fn_c_try_compile "$LINENO"; then : |
2491 | if { (ac_try="$ac_compile" | ||
2492 | case "(($ac_try" in | ||
2493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2494 | *) ac_try_echo=$ac_try;; | ||
2495 | esac | ||
2496 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2497 | (eval "$ac_compile") 2>conftest.er1 | ||
2498 | ac_status=$? | ||
2499 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2500 | rm -f conftest.er1 | ||
2501 | cat conftest.err >&5 | ||
2502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2503 | (exit $ac_status); } && { | ||
2504 | test -z "$ac_c_werror_flag" || | ||
2505 | test ! -s conftest.err | ||
2506 | } && test -s conftest.$ac_objext; then | ||
2507 | ac_cv_prog_cc_g=yes | 3257 | ac_cv_prog_cc_g=yes |
2508 | else | 3258 | else |
2509 | echo "$as_me: failed program was:" >&5 | 3259 | CFLAGS="" |
2510 | sed 's/^/| /' conftest.$ac_ext >&5 | 3260 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2511 | |||
2512 | CFLAGS="" | ||
2513 | cat >conftest.$ac_ext <<_ACEOF | ||
2514 | /* confdefs.h. */ | ||
2515 | _ACEOF | ||
2516 | cat confdefs.h >>conftest.$ac_ext | ||
2517 | cat >>conftest.$ac_ext <<_ACEOF | ||
2518 | /* end confdefs.h. */ | 3261 | /* end confdefs.h. */ |
2519 | 3262 | ||
2520 | int | 3263 | int |
@@ -2525,35 +3268,12 @@ main () | |||
2525 | return 0; | 3268 | return 0; |
2526 | } | 3269 | } |
2527 | _ACEOF | 3270 | _ACEOF |
2528 | rm -f conftest.$ac_objext | 3271 | if ac_fn_c_try_compile "$LINENO"; then : |
2529 | if { (ac_try="$ac_compile" | ||
2530 | case "(($ac_try" in | ||
2531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2532 | *) ac_try_echo=$ac_try;; | ||
2533 | esac | ||
2534 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2535 | (eval "$ac_compile") 2>conftest.er1 | ||
2536 | ac_status=$? | ||
2537 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2538 | rm -f conftest.er1 | ||
2539 | cat conftest.err >&5 | ||
2540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2541 | (exit $ac_status); } && { | ||
2542 | test -z "$ac_c_werror_flag" || | ||
2543 | test ! -s conftest.err | ||
2544 | } && test -s conftest.$ac_objext; then | ||
2545 | : | ||
2546 | else | ||
2547 | echo "$as_me: failed program was:" >&5 | ||
2548 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2549 | 3272 | ||
2550 | ac_c_werror_flag=$ac_save_c_werror_flag | 3273 | else |
3274 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
2551 | CFLAGS="-g" | 3275 | CFLAGS="-g" |
2552 | cat >conftest.$ac_ext <<_ACEOF | 3276 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2553 | /* confdefs.h. */ | ||
2554 | _ACEOF | ||
2555 | cat confdefs.h >>conftest.$ac_ext | ||
2556 | cat >>conftest.$ac_ext <<_ACEOF | ||
2557 | /* end confdefs.h. */ | 3277 | /* end confdefs.h. */ |
2558 | 3278 | ||
2559 | int | 3279 | int |
@@ -2564,42 +3284,18 @@ main () | |||
2564 | return 0; | 3284 | return 0; |
2565 | } | 3285 | } |
2566 | _ACEOF | 3286 | _ACEOF |
2567 | rm -f conftest.$ac_objext | 3287 | if ac_fn_c_try_compile "$LINENO"; then : |
2568 | if { (ac_try="$ac_compile" | ||
2569 | case "(($ac_try" in | ||
2570 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2571 | *) ac_try_echo=$ac_try;; | ||
2572 | esac | ||
2573 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2574 | (eval "$ac_compile") 2>conftest.er1 | ||
2575 | ac_status=$? | ||
2576 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2577 | rm -f conftest.er1 | ||
2578 | cat conftest.err >&5 | ||
2579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2580 | (exit $ac_status); } && { | ||
2581 | test -z "$ac_c_werror_flag" || | ||
2582 | test ! -s conftest.err | ||
2583 | } && test -s conftest.$ac_objext; then | ||
2584 | ac_cv_prog_cc_g=yes | 3288 | ac_cv_prog_cc_g=yes |
2585 | else | ||
2586 | echo "$as_me: failed program was:" >&5 | ||
2587 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2588 | |||
2589 | |||
2590 | fi | 3289 | fi |
2591 | |||
2592 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3290 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2593 | fi | 3291 | fi |
2594 | |||
2595 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3292 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2596 | fi | 3293 | fi |
2597 | |||
2598 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3294 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2599 | ac_c_werror_flag=$ac_save_c_werror_flag | 3295 | ac_c_werror_flag=$ac_save_c_werror_flag |
2600 | fi | 3296 | fi |
2601 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3297 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
2602 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | 3298 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
2603 | if test "$ac_test_CFLAGS" = set; then | 3299 | if test "$ac_test_CFLAGS" = set; then |
2604 | CFLAGS=$ac_save_CFLAGS | 3300 | CFLAGS=$ac_save_CFLAGS |
2605 | elif test $ac_cv_prog_cc_g = yes; then | 3301 | elif test $ac_cv_prog_cc_g = yes; then |
@@ -2615,23 +3311,18 @@ else | |||
2615 | CFLAGS= | 3311 | CFLAGS= |
2616 | fi | 3312 | fi |
2617 | fi | 3313 | fi |
2618 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 | 3314 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
2619 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } | 3315 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
2620 | if test "${ac_cv_prog_cc_c89+set}" = set; then | 3316 | if ${ac_cv_prog_cc_c89+:} false; then : |
2621 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3317 | $as_echo_n "(cached) " >&6 |
2622 | else | 3318 | else |
2623 | ac_cv_prog_cc_c89=no | 3319 | ac_cv_prog_cc_c89=no |
2624 | ac_save_CC=$CC | 3320 | ac_save_CC=$CC |
2625 | cat >conftest.$ac_ext <<_ACEOF | 3321 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2626 | /* confdefs.h. */ | ||
2627 | _ACEOF | ||
2628 | cat confdefs.h >>conftest.$ac_ext | ||
2629 | cat >>conftest.$ac_ext <<_ACEOF | ||
2630 | /* end confdefs.h. */ | 3322 | /* end confdefs.h. */ |
2631 | #include <stdarg.h> | 3323 | #include <stdarg.h> |
2632 | #include <stdio.h> | 3324 | #include <stdio.h> |
2633 | #include <sys/types.h> | 3325 | struct stat; |
2634 | #include <sys/stat.h> | ||
2635 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 3326 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2636 | struct buf { int x; }; | 3327 | struct buf { int x; }; |
2637 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 3328 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
@@ -2683,31 +3374,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |||
2683 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3374 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2684 | do | 3375 | do |
2685 | CC="$ac_save_CC $ac_arg" | 3376 | CC="$ac_save_CC $ac_arg" |
2686 | rm -f conftest.$ac_objext | 3377 | if ac_fn_c_try_compile "$LINENO"; then : |
2687 | if { (ac_try="$ac_compile" | ||
2688 | case "(($ac_try" in | ||
2689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2690 | *) ac_try_echo=$ac_try;; | ||
2691 | esac | ||
2692 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2693 | (eval "$ac_compile") 2>conftest.er1 | ||
2694 | ac_status=$? | ||
2695 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2696 | rm -f conftest.er1 | ||
2697 | cat conftest.err >&5 | ||
2698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2699 | (exit $ac_status); } && { | ||
2700 | test -z "$ac_c_werror_flag" || | ||
2701 | test ! -s conftest.err | ||
2702 | } && test -s conftest.$ac_objext; then | ||
2703 | ac_cv_prog_cc_c89=$ac_arg | 3378 | ac_cv_prog_cc_c89=$ac_arg |
2704 | else | ||
2705 | echo "$as_me: failed program was:" >&5 | ||
2706 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2707 | |||
2708 | |||
2709 | fi | 3379 | fi |
2710 | |||
2711 | rm -f core conftest.err conftest.$ac_objext | 3380 | rm -f core conftest.err conftest.$ac_objext |
2712 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 3381 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2713 | done | 3382 | done |
@@ -2718,17 +3387,19 @@ fi | |||
2718 | # AC_CACHE_VAL | 3387 | # AC_CACHE_VAL |
2719 | case "x$ac_cv_prog_cc_c89" in | 3388 | case "x$ac_cv_prog_cc_c89" in |
2720 | x) | 3389 | x) |
2721 | { echo "$as_me:$LINENO: result: none needed" >&5 | 3390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
2722 | echo "${ECHO_T}none needed" >&6; } ;; | 3391 | $as_echo "none needed" >&6; } ;; |
2723 | xno) | 3392 | xno) |
2724 | { echo "$as_me:$LINENO: result: unsupported" >&5 | 3393 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
2725 | echo "${ECHO_T}unsupported" >&6; } ;; | 3394 | $as_echo "unsupported" >&6; } ;; |
2726 | *) | 3395 | *) |
2727 | CC="$CC $ac_cv_prog_cc_c89" | 3396 | CC="$CC $ac_cv_prog_cc_c89" |
2728 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 | 3397 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
2729 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; | 3398 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
2730 | esac | 3399 | esac |
3400 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
2731 | 3401 | ||
3402 | fi | ||
2732 | 3403 | ||
2733 | ac_ext=c | 3404 | ac_ext=c |
2734 | ac_cpp='$CPP $CPPFLAGS' | 3405 | ac_cpp='$CPP $CPPFLAGS' |
@@ -2753,9 +3424,7 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |||
2753 | fi | 3424 | fi |
2754 | done | 3425 | done |
2755 | if test -z "$ac_aux_dir"; then | 3426 | if test -z "$ac_aux_dir"; then |
2756 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 | 3427 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
2757 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
2758 | { (exit 1); exit 1; }; } | ||
2759 | fi | 3428 | fi |
2760 | 3429 | ||
2761 | # These three variables are undocumented and unsupported, | 3430 | # These three variables are undocumented and unsupported, |
@@ -2769,35 +3438,27 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
2769 | 3438 | ||
2770 | # Make sure we can run config.sub. | 3439 | # Make sure we can run config.sub. |
2771 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3440 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2772 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 | 3441 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2773 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
2774 | { (exit 1); exit 1; }; } | ||
2775 | 3442 | ||
2776 | { echo "$as_me:$LINENO: checking build system type" >&5 | 3443 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2777 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } | 3444 | $as_echo_n "checking build system type... " >&6; } |
2778 | if test "${ac_cv_build+set}" = set; then | 3445 | if ${ac_cv_build+:} false; then : |
2779 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3446 | $as_echo_n "(cached) " >&6 |
2780 | else | 3447 | else |
2781 | ac_build_alias=$build_alias | 3448 | ac_build_alias=$build_alias |
2782 | test "x$ac_build_alias" = x && | 3449 | test "x$ac_build_alias" = x && |
2783 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3450 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2784 | test "x$ac_build_alias" = x && | 3451 | test "x$ac_build_alias" = x && |
2785 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 3452 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
2786 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2787 | { (exit 1); exit 1; }; } | ||
2788 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3453 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
2789 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 | 3454 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
2790 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
2791 | { (exit 1); exit 1; }; } | ||
2792 | 3455 | ||
2793 | fi | 3456 | fi |
2794 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 3457 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2795 | echo "${ECHO_T}$ac_cv_build" >&6; } | 3458 | $as_echo "$ac_cv_build" >&6; } |
2796 | case $ac_cv_build in | 3459 | case $ac_cv_build in |
2797 | *-*-*) ;; | 3460 | *-*-*) ;; |
2798 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | 3461 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2799 | echo "$as_me: error: invalid value of canonical build" >&2;} | ||
2800 | { (exit 1); exit 1; }; };; | ||
2801 | esac | 3462 | esac |
2802 | build=$ac_cv_build | 3463 | build=$ac_cv_build |
2803 | ac_save_IFS=$IFS; IFS='-' | 3464 | ac_save_IFS=$IFS; IFS='-' |
@@ -2813,28 +3474,24 @@ IFS=$ac_save_IFS | |||
2813 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 3474 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2814 | 3475 | ||
2815 | 3476 | ||
2816 | { echo "$as_me:$LINENO: checking host system type" >&5 | 3477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2817 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | 3478 | $as_echo_n "checking host system type... " >&6; } |
2818 | if test "${ac_cv_host+set}" = set; then | 3479 | if ${ac_cv_host+:} false; then : |
2819 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3480 | $as_echo_n "(cached) " >&6 |
2820 | else | 3481 | else |
2821 | if test "x$host_alias" = x; then | 3482 | if test "x$host_alias" = x; then |
2822 | ac_cv_host=$ac_cv_build | 3483 | ac_cv_host=$ac_cv_build |
2823 | else | 3484 | else |
2824 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3485 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
2825 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 | 3486 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
2826 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
2827 | { (exit 1); exit 1; }; } | ||
2828 | fi | 3487 | fi |
2829 | 3488 | ||
2830 | fi | 3489 | fi |
2831 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 3490 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2832 | echo "${ECHO_T}$ac_cv_host" >&6; } | 3491 | $as_echo "$ac_cv_host" >&6; } |
2833 | case $ac_cv_host in | 3492 | case $ac_cv_host in |
2834 | *-*-*) ;; | 3493 | *-*-*) ;; |
2835 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | 3494 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2836 | echo "$as_me: error: invalid value of canonical host" >&2;} | ||
2837 | { (exit 1); exit 1; }; };; | ||
2838 | esac | 3495 | esac |
2839 | host=$ac_cv_host | 3496 | host=$ac_cv_host |
2840 | ac_save_IFS=$IFS; IFS='-' | 3497 | ac_save_IFS=$IFS; IFS='-' |
@@ -2856,15 +3513,15 @@ ac_cpp='$CPP $CPPFLAGS' | |||
2856 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3513 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2857 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3514 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2858 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3515 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2859 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 3516 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
2860 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 3517 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
2861 | # On Suns, sometimes $CPP names a directory. | 3518 | # On Suns, sometimes $CPP names a directory. |
2862 | if test -n "$CPP" && test -d "$CPP"; then | 3519 | if test -n "$CPP" && test -d "$CPP"; then |
2863 | CPP= | 3520 | CPP= |
2864 | fi | 3521 | fi |
2865 | if test -z "$CPP"; then | 3522 | if test -z "$CPP"; then |
2866 | if test "${ac_cv_prog_CPP+set}" = set; then | 3523 | if ${ac_cv_prog_CPP+:} false; then : |
2867 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3524 | $as_echo_n "(cached) " >&6 |
2868 | else | 3525 | else |
2869 | # Double quotes because CPP needs to be expanded | 3526 | # Double quotes because CPP needs to be expanded |
2870 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3527 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
@@ -2878,11 +3535,7 @@ do | |||
2878 | # <limits.h> exists even on freestanding compilers. | 3535 | # <limits.h> exists even on freestanding compilers. |
2879 | # On the NeXT, cc -E runs the code through the compiler's parser, | 3536 | # On the NeXT, cc -E runs the code through the compiler's parser, |
2880 | # not just through cpp. "Syntax error" is here to catch this case. | 3537 | # not just through cpp. "Syntax error" is here to catch this case. |
2881 | cat >conftest.$ac_ext <<_ACEOF | 3538 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2882 | /* confdefs.h. */ | ||
2883 | _ACEOF | ||
2884 | cat confdefs.h >>conftest.$ac_ext | ||
2885 | cat >>conftest.$ac_ext <<_ACEOF | ||
2886 | /* end confdefs.h. */ | 3539 | /* end confdefs.h. */ |
2887 | #ifdef __STDC__ | 3540 | #ifdef __STDC__ |
2888 | # include <limits.h> | 3541 | # include <limits.h> |
@@ -2891,76 +3544,34 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2891 | #endif | 3544 | #endif |
2892 | Syntax error | 3545 | Syntax error |
2893 | _ACEOF | 3546 | _ACEOF |
2894 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 3547 | if ac_fn_c_try_cpp "$LINENO"; then : |
2895 | case "(($ac_try" in | ||
2896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2897 | *) ac_try_echo=$ac_try;; | ||
2898 | esac | ||
2899 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2900 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2901 | ac_status=$? | ||
2902 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2903 | rm -f conftest.er1 | ||
2904 | cat conftest.err >&5 | ||
2905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2906 | (exit $ac_status); } >/dev/null && { | ||
2907 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
2908 | test ! -s conftest.err | ||
2909 | }; then | ||
2910 | : | ||
2911 | else | ||
2912 | echo "$as_me: failed program was:" >&5 | ||
2913 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2914 | 3548 | ||
3549 | else | ||
2915 | # Broken: fails on valid input. | 3550 | # Broken: fails on valid input. |
2916 | continue | 3551 | continue |
2917 | fi | 3552 | fi |
2918 | 3553 | rm -f conftest.err conftest.i conftest.$ac_ext | |
2919 | rm -f conftest.err conftest.$ac_ext | ||
2920 | 3554 | ||
2921 | # OK, works on sane cases. Now check whether nonexistent headers | 3555 | # OK, works on sane cases. Now check whether nonexistent headers |
2922 | # can be detected and how. | 3556 | # can be detected and how. |
2923 | cat >conftest.$ac_ext <<_ACEOF | 3557 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2924 | /* confdefs.h. */ | ||
2925 | _ACEOF | ||
2926 | cat confdefs.h >>conftest.$ac_ext | ||
2927 | cat >>conftest.$ac_ext <<_ACEOF | ||
2928 | /* end confdefs.h. */ | 3558 | /* end confdefs.h. */ |
2929 | #include <ac_nonexistent.h> | 3559 | #include <ac_nonexistent.h> |
2930 | _ACEOF | 3560 | _ACEOF |
2931 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 3561 | if ac_fn_c_try_cpp "$LINENO"; then : |
2932 | case "(($ac_try" in | ||
2933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2934 | *) ac_try_echo=$ac_try;; | ||
2935 | esac | ||
2936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2937 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2938 | ac_status=$? | ||
2939 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2940 | rm -f conftest.er1 | ||
2941 | cat conftest.err >&5 | ||
2942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2943 | (exit $ac_status); } >/dev/null && { | ||
2944 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
2945 | test ! -s conftest.err | ||
2946 | }; then | ||
2947 | # Broken: success on invalid input. | 3562 | # Broken: success on invalid input. |
2948 | continue | 3563 | continue |
2949 | else | 3564 | else |
2950 | echo "$as_me: failed program was:" >&5 | ||
2951 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2952 | |||
2953 | # Passes both tests. | 3565 | # Passes both tests. |
2954 | ac_preproc_ok=: | 3566 | ac_preproc_ok=: |
2955 | break | 3567 | break |
2956 | fi | 3568 | fi |
2957 | 3569 | rm -f conftest.err conftest.i conftest.$ac_ext | |
2958 | rm -f conftest.err conftest.$ac_ext | ||
2959 | 3570 | ||
2960 | done | 3571 | done |
2961 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3572 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
2962 | rm -f conftest.err conftest.$ac_ext | 3573 | rm -f conftest.i conftest.err conftest.$ac_ext |
2963 | if $ac_preproc_ok; then | 3574 | if $ac_preproc_ok; then : |
2964 | break | 3575 | break |
2965 | fi | 3576 | fi |
2966 | 3577 | ||
@@ -2972,8 +3583,8 @@ fi | |||
2972 | else | 3583 | else |
2973 | ac_cv_prog_CPP=$CPP | 3584 | ac_cv_prog_CPP=$CPP |
2974 | fi | 3585 | fi |
2975 | { echo "$as_me:$LINENO: result: $CPP" >&5 | 3586 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
2976 | echo "${ECHO_T}$CPP" >&6; } | 3587 | $as_echo "$CPP" >&6; } |
2977 | ac_preproc_ok=false | 3588 | ac_preproc_ok=false |
2978 | for ac_c_preproc_warn_flag in '' yes | 3589 | for ac_c_preproc_warn_flag in '' yes |
2979 | do | 3590 | do |
@@ -2983,11 +3594,7 @@ do | |||
2983 | # <limits.h> exists even on freestanding compilers. | 3594 | # <limits.h> exists even on freestanding compilers. |
2984 | # On the NeXT, cc -E runs the code through the compiler's parser, | 3595 | # On the NeXT, cc -E runs the code through the compiler's parser, |
2985 | # not just through cpp. "Syntax error" is here to catch this case. | 3596 | # not just through cpp. "Syntax error" is here to catch this case. |
2986 | cat >conftest.$ac_ext <<_ACEOF | 3597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2987 | /* confdefs.h. */ | ||
2988 | _ACEOF | ||
2989 | cat confdefs.h >>conftest.$ac_ext | ||
2990 | cat >>conftest.$ac_ext <<_ACEOF | ||
2991 | /* end confdefs.h. */ | 3598 | /* end confdefs.h. */ |
2992 | #ifdef __STDC__ | 3599 | #ifdef __STDC__ |
2993 | # include <limits.h> | 3600 | # include <limits.h> |
@@ -2996,83 +3603,40 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
2996 | #endif | 3603 | #endif |
2997 | Syntax error | 3604 | Syntax error |
2998 | _ACEOF | 3605 | _ACEOF |
2999 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 3606 | if ac_fn_c_try_cpp "$LINENO"; then : |
3000 | case "(($ac_try" in | ||
3001 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3002 | *) ac_try_echo=$ac_try;; | ||
3003 | esac | ||
3004 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3005 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3006 | ac_status=$? | ||
3007 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3008 | rm -f conftest.er1 | ||
3009 | cat conftest.err >&5 | ||
3010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3011 | (exit $ac_status); } >/dev/null && { | ||
3012 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3013 | test ! -s conftest.err | ||
3014 | }; then | ||
3015 | : | ||
3016 | else | ||
3017 | echo "$as_me: failed program was:" >&5 | ||
3018 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3019 | 3607 | ||
3608 | else | ||
3020 | # Broken: fails on valid input. | 3609 | # Broken: fails on valid input. |
3021 | continue | 3610 | continue |
3022 | fi | 3611 | fi |
3023 | 3612 | rm -f conftest.err conftest.i conftest.$ac_ext | |
3024 | rm -f conftest.err conftest.$ac_ext | ||
3025 | 3613 | ||
3026 | # OK, works on sane cases. Now check whether nonexistent headers | 3614 | # OK, works on sane cases. Now check whether nonexistent headers |
3027 | # can be detected and how. | 3615 | # can be detected and how. |
3028 | cat >conftest.$ac_ext <<_ACEOF | 3616 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3029 | /* confdefs.h. */ | ||
3030 | _ACEOF | ||
3031 | cat confdefs.h >>conftest.$ac_ext | ||
3032 | cat >>conftest.$ac_ext <<_ACEOF | ||
3033 | /* end confdefs.h. */ | 3617 | /* end confdefs.h. */ |
3034 | #include <ac_nonexistent.h> | 3618 | #include <ac_nonexistent.h> |
3035 | _ACEOF | 3619 | _ACEOF |
3036 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 3620 | if ac_fn_c_try_cpp "$LINENO"; then : |
3037 | case "(($ac_try" in | ||
3038 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3039 | *) ac_try_echo=$ac_try;; | ||
3040 | esac | ||
3041 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3042 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3043 | ac_status=$? | ||
3044 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3045 | rm -f conftest.er1 | ||
3046 | cat conftest.err >&5 | ||
3047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3048 | (exit $ac_status); } >/dev/null && { | ||
3049 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3050 | test ! -s conftest.err | ||
3051 | }; then | ||
3052 | # Broken: success on invalid input. | 3621 | # Broken: success on invalid input. |
3053 | continue | 3622 | continue |
3054 | else | 3623 | else |
3055 | echo "$as_me: failed program was:" >&5 | ||
3056 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3057 | |||
3058 | # Passes both tests. | 3624 | # Passes both tests. |
3059 | ac_preproc_ok=: | 3625 | ac_preproc_ok=: |
3060 | break | 3626 | break |
3061 | fi | 3627 | fi |
3062 | 3628 | rm -f conftest.err conftest.i conftest.$ac_ext | |
3063 | rm -f conftest.err conftest.$ac_ext | ||
3064 | 3629 | ||
3065 | done | 3630 | done |
3066 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3631 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3067 | rm -f conftest.err conftest.$ac_ext | 3632 | rm -f conftest.i conftest.err conftest.$ac_ext |
3068 | if $ac_preproc_ok; then | 3633 | if $ac_preproc_ok; then : |
3069 | : | 3634 | |
3070 | else | 3635 | else |
3071 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 3636 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3072 | See \`config.log' for more details." >&5 | 3637 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3073 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 3638 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3074 | See \`config.log' for more details." >&2;} | 3639 | See \`config.log' for more details" "$LINENO" 5; } |
3075 | { (exit 1); exit 1; }; } | ||
3076 | fi | 3640 | fi |
3077 | 3641 | ||
3078 | ac_ext=c | 3642 | ac_ext=c |
@@ -3082,45 +3646,40 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
3082 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3646 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3083 | 3647 | ||
3084 | 3648 | ||
3085 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 | 3649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3086 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } | 3650 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3087 | if test "${ac_cv_path_GREP+set}" = set; then | 3651 | if ${ac_cv_path_GREP+:} false; then : |
3088 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3652 | $as_echo_n "(cached) " >&6 |
3089 | else | ||
3090 | # Extract the first word of "grep ggrep" to use in msg output | ||
3091 | if test -z "$GREP"; then | ||
3092 | set dummy grep ggrep; ac_prog_name=$2 | ||
3093 | if test "${ac_cv_path_GREP+set}" = set; then | ||
3094 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3095 | else | 3653 | else |
3654 | if test -z "$GREP"; then | ||
3096 | ac_path_GREP_found=false | 3655 | ac_path_GREP_found=false |
3097 | # Loop through the user's path and test for each of PROGNAME-LIST | 3656 | # Loop through the user's path and test for each of PROGNAME-LIST |
3098 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3657 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3099 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3658 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3100 | do | 3659 | do |
3101 | IFS=$as_save_IFS | 3660 | IFS=$as_save_IFS |
3102 | test -z "$as_dir" && as_dir=. | 3661 | test -z "$as_dir" && as_dir=. |
3103 | for ac_prog in grep ggrep; do | 3662 | for ac_prog in grep ggrep; do |
3104 | for ac_exec_ext in '' $ac_executable_extensions; do | 3663 | for ac_exec_ext in '' $ac_executable_extensions; do |
3105 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3664 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3106 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 3665 | as_fn_executable_p "$ac_path_GREP" || continue |
3107 | # Check for GNU ac_path_GREP and select it if it is found. | 3666 | # Check for GNU ac_path_GREP and select it if it is found. |
3108 | # Check for GNU $ac_path_GREP | 3667 | # Check for GNU $ac_path_GREP |
3109 | case `"$ac_path_GREP" --version 2>&1` in | 3668 | case `"$ac_path_GREP" --version 2>&1` in |
3110 | *GNU*) | 3669 | *GNU*) |
3111 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3670 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3112 | *) | 3671 | *) |
3113 | ac_count=0 | 3672 | ac_count=0 |
3114 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 3673 | $as_echo_n 0123456789 >"conftest.in" |
3115 | while : | 3674 | while : |
3116 | do | 3675 | do |
3117 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 3676 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3118 | mv "conftest.tmp" "conftest.in" | 3677 | mv "conftest.tmp" "conftest.in" |
3119 | cp "conftest.in" "conftest.nl" | 3678 | cp "conftest.in" "conftest.nl" |
3120 | echo 'GREP' >> "conftest.nl" | 3679 | $as_echo 'GREP' >> "conftest.nl" |
3121 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3680 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3122 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3681 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3123 | ac_count=`expr $ac_count + 1` | 3682 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3124 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 3683 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3125 | # Best one so far, save it but keep looking for a better one | 3684 | # Best one so far, save it but keep looking for a better one |
3126 | ac_cv_path_GREP="$ac_path_GREP" | 3685 | ac_cv_path_GREP="$ac_path_GREP" |
@@ -3132,77 +3691,61 @@ case `"$ac_path_GREP" --version 2>&1` in | |||
3132 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3691 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3133 | esac | 3692 | esac |
3134 | 3693 | ||
3135 | 3694 | $ac_path_GREP_found && break 3 | |
3136 | $ac_path_GREP_found && break 3 | 3695 | done |
3696 | done | ||
3137 | done | 3697 | done |
3138 | done | ||
3139 | |||
3140 | done | ||
3141 | IFS=$as_save_IFS | 3698 | IFS=$as_save_IFS |
3142 | 3699 | if test -z "$ac_cv_path_GREP"; then | |
3143 | 3700 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3144 | fi | 3701 | fi |
3145 | |||
3146 | GREP="$ac_cv_path_GREP" | ||
3147 | if test -z "$GREP"; then | ||
3148 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
3149 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
3150 | { (exit 1); exit 1; }; } | ||
3151 | fi | ||
3152 | |||
3153 | else | 3702 | else |
3154 | ac_cv_path_GREP=$GREP | 3703 | ac_cv_path_GREP=$GREP |
3155 | fi | 3704 | fi |
3156 | 3705 | ||
3157 | |||
3158 | fi | 3706 | fi |
3159 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | 3707 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
3160 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | 3708 | $as_echo "$ac_cv_path_GREP" >&6; } |
3161 | GREP="$ac_cv_path_GREP" | 3709 | GREP="$ac_cv_path_GREP" |
3162 | 3710 | ||
3163 | 3711 | ||
3164 | { echo "$as_me:$LINENO: checking for egrep" >&5 | 3712 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
3165 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 3713 | $as_echo_n "checking for egrep... " >&6; } |
3166 | if test "${ac_cv_path_EGREP+set}" = set; then | 3714 | if ${ac_cv_path_EGREP+:} false; then : |
3167 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3715 | $as_echo_n "(cached) " >&6 |
3168 | else | 3716 | else |
3169 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3717 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3170 | then ac_cv_path_EGREP="$GREP -E" | 3718 | then ac_cv_path_EGREP="$GREP -E" |
3171 | else | 3719 | else |
3172 | # Extract the first word of "egrep" to use in msg output | 3720 | if test -z "$EGREP"; then |
3173 | if test -z "$EGREP"; then | ||
3174 | set dummy egrep; ac_prog_name=$2 | ||
3175 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3176 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3177 | else | ||
3178 | ac_path_EGREP_found=false | 3721 | ac_path_EGREP_found=false |
3179 | # Loop through the user's path and test for each of PROGNAME-LIST | 3722 | # Loop through the user's path and test for each of PROGNAME-LIST |
3180 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3723 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3181 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3724 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3182 | do | 3725 | do |
3183 | IFS=$as_save_IFS | 3726 | IFS=$as_save_IFS |
3184 | test -z "$as_dir" && as_dir=. | 3727 | test -z "$as_dir" && as_dir=. |
3185 | for ac_prog in egrep; do | 3728 | for ac_prog in egrep; do |
3186 | for ac_exec_ext in '' $ac_executable_extensions; do | 3729 | for ac_exec_ext in '' $ac_executable_extensions; do |
3187 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3730 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3188 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 3731 | as_fn_executable_p "$ac_path_EGREP" || continue |
3189 | # Check for GNU ac_path_EGREP and select it if it is found. | 3732 | # Check for GNU ac_path_EGREP and select it if it is found. |
3190 | # Check for GNU $ac_path_EGREP | 3733 | # Check for GNU $ac_path_EGREP |
3191 | case `"$ac_path_EGREP" --version 2>&1` in | 3734 | case `"$ac_path_EGREP" --version 2>&1` in |
3192 | *GNU*) | 3735 | *GNU*) |
3193 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3736 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3194 | *) | 3737 | *) |
3195 | ac_count=0 | 3738 | ac_count=0 |
3196 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 3739 | $as_echo_n 0123456789 >"conftest.in" |
3197 | while : | 3740 | while : |
3198 | do | 3741 | do |
3199 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 3742 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3200 | mv "conftest.tmp" "conftest.in" | 3743 | mv "conftest.tmp" "conftest.in" |
3201 | cp "conftest.in" "conftest.nl" | 3744 | cp "conftest.in" "conftest.nl" |
3202 | echo 'EGREP' >> "conftest.nl" | 3745 | $as_echo 'EGREP' >> "conftest.nl" |
3203 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3746 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3204 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3747 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3205 | ac_count=`expr $ac_count + 1` | 3748 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
3206 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 3749 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3207 | # Best one so far, save it but keep looking for a better one | 3750 | # Best one so far, save it but keep looking for a better one |
3208 | ac_cv_path_EGREP="$ac_path_EGREP" | 3751 | ac_cv_path_EGREP="$ac_path_EGREP" |
@@ -3214,46 +3757,31 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
3214 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3757 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3215 | esac | 3758 | esac |
3216 | 3759 | ||
3217 | 3760 | $ac_path_EGREP_found && break 3 | |
3218 | $ac_path_EGREP_found && break 3 | 3761 | done |
3762 | done | ||
3219 | done | 3763 | done |
3220 | done | ||
3221 | |||
3222 | done | ||
3223 | IFS=$as_save_IFS | 3764 | IFS=$as_save_IFS |
3224 | 3765 | if test -z "$ac_cv_path_EGREP"; then | |
3225 | 3766 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
3226 | fi | 3767 | fi |
3227 | |||
3228 | EGREP="$ac_cv_path_EGREP" | ||
3229 | if test -z "$EGREP"; then | ||
3230 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
3231 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
3232 | { (exit 1); exit 1; }; } | ||
3233 | fi | ||
3234 | |||
3235 | else | 3768 | else |
3236 | ac_cv_path_EGREP=$EGREP | 3769 | ac_cv_path_EGREP=$EGREP |
3237 | fi | 3770 | fi |
3238 | 3771 | ||
3239 | |||
3240 | fi | 3772 | fi |
3241 | fi | 3773 | fi |
3242 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 3774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
3243 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | 3775 | $as_echo "$ac_cv_path_EGREP" >&6; } |
3244 | EGREP="$ac_cv_path_EGREP" | 3776 | EGREP="$ac_cv_path_EGREP" |
3245 | 3777 | ||
3246 | 3778 | ||
3247 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 3779 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
3248 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } | 3780 | $as_echo_n "checking for ANSI C header files... " >&6; } |
3249 | if test "${ac_cv_header_stdc+set}" = set; then | 3781 | if ${ac_cv_header_stdc+:} false; then : |
3250 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3782 | $as_echo_n "(cached) " >&6 |
3251 | else | 3783 | else |
3252 | cat >conftest.$ac_ext <<_ACEOF | 3784 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3253 | /* confdefs.h. */ | ||
3254 | _ACEOF | ||
3255 | cat confdefs.h >>conftest.$ac_ext | ||
3256 | cat >>conftest.$ac_ext <<_ACEOF | ||
3257 | /* end confdefs.h. */ | 3785 | /* end confdefs.h. */ |
3258 | #include <stdlib.h> | 3786 | #include <stdlib.h> |
3259 | #include <stdarg.h> | 3787 | #include <stdarg.h> |
@@ -3268,47 +3796,23 @@ main () | |||
3268 | return 0; | 3796 | return 0; |
3269 | } | 3797 | } |
3270 | _ACEOF | 3798 | _ACEOF |
3271 | rm -f conftest.$ac_objext | 3799 | if ac_fn_c_try_compile "$LINENO"; then : |
3272 | if { (ac_try="$ac_compile" | ||
3273 | case "(($ac_try" in | ||
3274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3275 | *) ac_try_echo=$ac_try;; | ||
3276 | esac | ||
3277 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3278 | (eval "$ac_compile") 2>conftest.er1 | ||
3279 | ac_status=$? | ||
3280 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3281 | rm -f conftest.er1 | ||
3282 | cat conftest.err >&5 | ||
3283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3284 | (exit $ac_status); } && { | ||
3285 | test -z "$ac_c_werror_flag" || | ||
3286 | test ! -s conftest.err | ||
3287 | } && test -s conftest.$ac_objext; then | ||
3288 | ac_cv_header_stdc=yes | 3800 | ac_cv_header_stdc=yes |
3289 | else | 3801 | else |
3290 | echo "$as_me: failed program was:" >&5 | 3802 | ac_cv_header_stdc=no |
3291 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3292 | |||
3293 | ac_cv_header_stdc=no | ||
3294 | fi | 3803 | fi |
3295 | |||
3296 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3804 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3297 | 3805 | ||
3298 | if test $ac_cv_header_stdc = yes; then | 3806 | if test $ac_cv_header_stdc = yes; then |
3299 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3807 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3300 | cat >conftest.$ac_ext <<_ACEOF | 3808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3301 | /* confdefs.h. */ | ||
3302 | _ACEOF | ||
3303 | cat confdefs.h >>conftest.$ac_ext | ||
3304 | cat >>conftest.$ac_ext <<_ACEOF | ||
3305 | /* end confdefs.h. */ | 3809 | /* end confdefs.h. */ |
3306 | #include <string.h> | 3810 | #include <string.h> |
3307 | 3811 | ||
3308 | _ACEOF | 3812 | _ACEOF |
3309 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3813 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3310 | $EGREP "memchr" >/dev/null 2>&1; then | 3814 | $EGREP "memchr" >/dev/null 2>&1; then : |
3311 | : | 3815 | |
3312 | else | 3816 | else |
3313 | ac_cv_header_stdc=no | 3817 | ac_cv_header_stdc=no |
3314 | fi | 3818 | fi |
@@ -3318,18 +3822,14 @@ fi | |||
3318 | 3822 | ||
3319 | if test $ac_cv_header_stdc = yes; then | 3823 | if test $ac_cv_header_stdc = yes; then |
3320 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3824 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3321 | cat >conftest.$ac_ext <<_ACEOF | 3825 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3322 | /* confdefs.h. */ | ||
3323 | _ACEOF | ||
3324 | cat confdefs.h >>conftest.$ac_ext | ||
3325 | cat >>conftest.$ac_ext <<_ACEOF | ||
3326 | /* end confdefs.h. */ | 3826 | /* end confdefs.h. */ |
3327 | #include <stdlib.h> | 3827 | #include <stdlib.h> |
3328 | 3828 | ||
3329 | _ACEOF | 3829 | _ACEOF |
3330 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3830 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3331 | $EGREP "free" >/dev/null 2>&1; then | 3831 | $EGREP "free" >/dev/null 2>&1; then : |
3332 | : | 3832 | |
3333 | else | 3833 | else |
3334 | ac_cv_header_stdc=no | 3834 | ac_cv_header_stdc=no |
3335 | fi | 3835 | fi |
@@ -3339,14 +3839,10 @@ fi | |||
3339 | 3839 | ||
3340 | if test $ac_cv_header_stdc = yes; then | 3840 | if test $ac_cv_header_stdc = yes; then |
3341 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3841 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3342 | if test "$cross_compiling" = yes; then | 3842 | if test "$cross_compiling" = yes; then : |
3343 | : | 3843 | : |
3344 | else | 3844 | else |
3345 | cat >conftest.$ac_ext <<_ACEOF | 3845 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3346 | /* confdefs.h. */ | ||
3347 | _ACEOF | ||
3348 | cat confdefs.h >>conftest.$ac_ext | ||
3349 | cat >>conftest.$ac_ext <<_ACEOF | ||
3350 | /* end confdefs.h. */ | 3846 | /* end confdefs.h. */ |
3351 | #include <ctype.h> | 3847 | #include <ctype.h> |
3352 | #include <stdlib.h> | 3848 | #include <stdlib.h> |
@@ -3373,113 +3869,35 @@ main () | |||
3373 | return 0; | 3869 | return 0; |
3374 | } | 3870 | } |
3375 | _ACEOF | 3871 | _ACEOF |
3376 | rm -f conftest$ac_exeext | 3872 | if ac_fn_c_try_run "$LINENO"; then : |
3377 | if { (ac_try="$ac_link" | ||
3378 | case "(($ac_try" in | ||
3379 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3380 | *) ac_try_echo=$ac_try;; | ||
3381 | esac | ||
3382 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3383 | (eval "$ac_link") 2>&5 | ||
3384 | ac_status=$? | ||
3385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3386 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3387 | { (case "(($ac_try" in | ||
3388 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3389 | *) ac_try_echo=$ac_try;; | ||
3390 | esac | ||
3391 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3392 | (eval "$ac_try") 2>&5 | ||
3393 | ac_status=$? | ||
3394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3395 | (exit $ac_status); }; }; then | ||
3396 | : | ||
3397 | else | ||
3398 | echo "$as_me: program exited with status $ac_status" >&5 | ||
3399 | echo "$as_me: failed program was:" >&5 | ||
3400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3401 | 3873 | ||
3402 | ( exit $ac_status ) | 3874 | else |
3403 | ac_cv_header_stdc=no | 3875 | ac_cv_header_stdc=no |
3404 | fi | 3876 | fi |
3405 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3877 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
3878 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
3406 | fi | 3879 | fi |
3407 | 3880 | ||
3408 | |||
3409 | fi | 3881 | fi |
3410 | fi | 3882 | fi |
3411 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 3883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
3412 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | 3884 | $as_echo "$ac_cv_header_stdc" >&6; } |
3413 | if test $ac_cv_header_stdc = yes; then | 3885 | if test $ac_cv_header_stdc = yes; then |
3414 | 3886 | ||
3415 | cat >>confdefs.h <<\_ACEOF | 3887 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
3416 | #define STDC_HEADERS 1 | ||
3417 | _ACEOF | ||
3418 | 3888 | ||
3419 | fi | 3889 | fi |
3420 | 3890 | ||
3421 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 3891 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3422 | |||
3423 | |||
3424 | |||
3425 | |||
3426 | |||
3427 | |||
3428 | |||
3429 | |||
3430 | |||
3431 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 3892 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3432 | inttypes.h stdint.h unistd.h | 3893 | inttypes.h stdint.h unistd.h |
3433 | do | 3894 | do : |
3434 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 3895 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3435 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 3896 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
3436 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | 3897 | " |
3437 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 3898 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
3438 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3439 | else | ||
3440 | cat >conftest.$ac_ext <<_ACEOF | ||
3441 | /* confdefs.h. */ | ||
3442 | _ACEOF | ||
3443 | cat confdefs.h >>conftest.$ac_ext | ||
3444 | cat >>conftest.$ac_ext <<_ACEOF | ||
3445 | /* end confdefs.h. */ | ||
3446 | $ac_includes_default | ||
3447 | |||
3448 | #include <$ac_header> | ||
3449 | _ACEOF | ||
3450 | rm -f conftest.$ac_objext | ||
3451 | if { (ac_try="$ac_compile" | ||
3452 | case "(($ac_try" in | ||
3453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3454 | *) ac_try_echo=$ac_try;; | ||
3455 | esac | ||
3456 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3457 | (eval "$ac_compile") 2>conftest.er1 | ||
3458 | ac_status=$? | ||
3459 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3460 | rm -f conftest.er1 | ||
3461 | cat conftest.err >&5 | ||
3462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3463 | (exit $ac_status); } && { | ||
3464 | test -z "$ac_c_werror_flag" || | ||
3465 | test ! -s conftest.err | ||
3466 | } && test -s conftest.$ac_objext; then | ||
3467 | eval "$as_ac_Header=yes" | ||
3468 | else | ||
3469 | echo "$as_me: failed program was:" >&5 | ||
3470 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3471 | |||
3472 | eval "$as_ac_Header=no" | ||
3473 | fi | ||
3474 | |||
3475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3476 | fi | ||
3477 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
3478 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
3479 | echo "${ECHO_T}$ac_res" >&6; } | ||
3480 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
3481 | cat >>confdefs.h <<_ACEOF | 3899 | cat >>confdefs.h <<_ACEOF |
3482 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3900 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3483 | _ACEOF | 3901 | _ACEOF |
3484 | 3902 | ||
3485 | fi | 3903 | fi |
@@ -3487,241 +3905,229 @@ fi | |||
3487 | done | 3905 | done |
3488 | 3906 | ||
3489 | 3907 | ||
3490 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 3908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 |
3491 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } | 3909 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; } |
3492 | if test "${ac_cv_c_bigendian+set}" = set; then | 3910 | if ${ac_cv_c_bigendian+:} false; then : |
3493 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 3911 | $as_echo_n "(cached) " >&6 |
3494 | else | 3912 | else |
3495 | # See if sys/param.h defines the BYTE_ORDER macro. | 3913 | ac_cv_c_bigendian=unknown |
3496 | cat >conftest.$ac_ext <<_ACEOF | 3914 | # See if we're dealing with a universal compiler. |
3497 | /* confdefs.h. */ | 3915 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3498 | _ACEOF | 3916 | /* end confdefs.h. */ |
3499 | cat confdefs.h >>conftest.$ac_ext | 3917 | #ifndef __APPLE_CC__ |
3500 | cat >>conftest.$ac_ext <<_ACEOF | 3918 | not a universal capable compiler |
3919 | #endif | ||
3920 | typedef int dummy; | ||
3921 | |||
3922 | _ACEOF | ||
3923 | if ac_fn_c_try_compile "$LINENO"; then : | ||
3924 | |||
3925 | # Check for potential -arch flags. It is not universal unless | ||
3926 | # there are at least two -arch flags with different values. | ||
3927 | ac_arch= | ||
3928 | ac_prev= | ||
3929 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | ||
3930 | if test -n "$ac_prev"; then | ||
3931 | case $ac_word in | ||
3932 | i?86 | x86_64 | ppc | ppc64) | ||
3933 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | ||
3934 | ac_arch=$ac_word | ||
3935 | else | ||
3936 | ac_cv_c_bigendian=universal | ||
3937 | break | ||
3938 | fi | ||
3939 | ;; | ||
3940 | esac | ||
3941 | ac_prev= | ||
3942 | elif test "x$ac_word" = "x-arch"; then | ||
3943 | ac_prev=arch | ||
3944 | fi | ||
3945 | done | ||
3946 | fi | ||
3947 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3948 | if test $ac_cv_c_bigendian = unknown; then | ||
3949 | # See if sys/param.h defines the BYTE_ORDER macro. | ||
3950 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3501 | /* end confdefs.h. */ | 3951 | /* end confdefs.h. */ |
3502 | #include <sys/types.h> | 3952 | #include <sys/types.h> |
3503 | #include <sys/param.h> | 3953 | #include <sys/param.h> |
3504 | 3954 | ||
3505 | int | 3955 | int |
3506 | main () | 3956 | main () |
3507 | { | 3957 | { |
3508 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ | 3958 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ |
3509 | && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) | 3959 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ |
3510 | bogus endian macros | 3960 | && LITTLE_ENDIAN) |
3511 | #endif | 3961 | bogus endian macros |
3962 | #endif | ||
3512 | 3963 | ||
3513 | ; | 3964 | ; |
3514 | return 0; | 3965 | return 0; |
3515 | } | 3966 | } |
3516 | _ACEOF | 3967 | _ACEOF |
3517 | rm -f conftest.$ac_objext | 3968 | if ac_fn_c_try_compile "$LINENO"; then : |
3518 | if { (ac_try="$ac_compile" | ||
3519 | case "(($ac_try" in | ||
3520 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3521 | *) ac_try_echo=$ac_try;; | ||
3522 | esac | ||
3523 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3524 | (eval "$ac_compile") 2>conftest.er1 | ||
3525 | ac_status=$? | ||
3526 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3527 | rm -f conftest.er1 | ||
3528 | cat conftest.err >&5 | ||
3529 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3530 | (exit $ac_status); } && { | ||
3531 | test -z "$ac_c_werror_flag" || | ||
3532 | test ! -s conftest.err | ||
3533 | } && test -s conftest.$ac_objext; then | ||
3534 | # It does; now see whether it defined to BIG_ENDIAN or not. | 3969 | # It does; now see whether it defined to BIG_ENDIAN or not. |
3535 | cat >conftest.$ac_ext <<_ACEOF | 3970 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3536 | /* confdefs.h. */ | ||
3537 | _ACEOF | ||
3538 | cat confdefs.h >>conftest.$ac_ext | ||
3539 | cat >>conftest.$ac_ext <<_ACEOF | ||
3540 | /* end confdefs.h. */ | 3971 | /* end confdefs.h. */ |
3541 | #include <sys/types.h> | 3972 | #include <sys/types.h> |
3542 | #include <sys/param.h> | 3973 | #include <sys/param.h> |
3543 | 3974 | ||
3544 | int | 3975 | int |
3545 | main () | 3976 | main () |
3546 | { | 3977 | { |
3547 | #if BYTE_ORDER != BIG_ENDIAN | 3978 | #if BYTE_ORDER != BIG_ENDIAN |
3548 | not big endian | 3979 | not big endian |
3549 | #endif | 3980 | #endif |
3550 | 3981 | ||
3551 | ; | 3982 | ; |
3552 | return 0; | 3983 | return 0; |
3553 | } | 3984 | } |
3554 | _ACEOF | 3985 | _ACEOF |
3555 | rm -f conftest.$ac_objext | 3986 | if ac_fn_c_try_compile "$LINENO"; then : |
3556 | if { (ac_try="$ac_compile" | ||
3557 | case "(($ac_try" in | ||
3558 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3559 | *) ac_try_echo=$ac_try;; | ||
3560 | esac | ||
3561 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3562 | (eval "$ac_compile") 2>conftest.er1 | ||
3563 | ac_status=$? | ||
3564 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3565 | rm -f conftest.er1 | ||
3566 | cat conftest.err >&5 | ||
3567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3568 | (exit $ac_status); } && { | ||
3569 | test -z "$ac_c_werror_flag" || | ||
3570 | test ! -s conftest.err | ||
3571 | } && test -s conftest.$ac_objext; then | ||
3572 | ac_cv_c_bigendian=yes | 3987 | ac_cv_c_bigendian=yes |
3573 | else | 3988 | else |
3574 | echo "$as_me: failed program was:" >&5 | 3989 | ac_cv_c_bigendian=no |
3575 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3576 | |||
3577 | ac_cv_c_bigendian=no | ||
3578 | fi | 3990 | fi |
3579 | |||
3580 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3991 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3581 | else | 3992 | fi |
3582 | echo "$as_me: failed program was:" >&5 | 3993 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3583 | sed 's/^/| /' conftest.$ac_ext >&5 | 3994 | fi |
3995 | if test $ac_cv_c_bigendian = unknown; then | ||
3996 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | ||
3997 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3998 | /* end confdefs.h. */ | ||
3999 | #include <limits.h> | ||
3584 | 4000 | ||
3585 | # It does not; compile a test program. | 4001 | int |
3586 | if test "$cross_compiling" = yes; then | 4002 | main () |
3587 | # try to guess the endianness by grepping values into an object file | 4003 | { |
3588 | ac_cv_c_bigendian=unknown | 4004 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) |
3589 | cat >conftest.$ac_ext <<_ACEOF | 4005 | bogus endian macros |
3590 | /* confdefs.h. */ | 4006 | #endif |
4007 | |||
4008 | ; | ||
4009 | return 0; | ||
4010 | } | ||
3591 | _ACEOF | 4011 | _ACEOF |
3592 | cat confdefs.h >>conftest.$ac_ext | 4012 | if ac_fn_c_try_compile "$LINENO"; then : |
3593 | cat >>conftest.$ac_ext <<_ACEOF | 4013 | # It does; now see whether it defined to _BIG_ENDIAN or not. |
4014 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3594 | /* end confdefs.h. */ | 4015 | /* end confdefs.h. */ |
3595 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 4016 | #include <limits.h> |
3596 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 4017 | |
3597 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | ||
3598 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
3599 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
3600 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | ||
3601 | int | 4018 | int |
3602 | main () | 4019 | main () |
3603 | { | 4020 | { |
3604 | _ascii (); _ebcdic (); | 4021 | #ifndef _BIG_ENDIAN |
4022 | not big endian | ||
4023 | #endif | ||
4024 | |||
3605 | ; | 4025 | ; |
3606 | return 0; | 4026 | return 0; |
3607 | } | 4027 | } |
3608 | _ACEOF | 4028 | _ACEOF |
3609 | rm -f conftest.$ac_objext | 4029 | if ac_fn_c_try_compile "$LINENO"; then : |
3610 | if { (ac_try="$ac_compile" | ||
3611 | case "(($ac_try" in | ||
3612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3613 | *) ac_try_echo=$ac_try;; | ||
3614 | esac | ||
3615 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3616 | (eval "$ac_compile") 2>conftest.er1 | ||
3617 | ac_status=$? | ||
3618 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3619 | rm -f conftest.er1 | ||
3620 | cat conftest.err >&5 | ||
3621 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3622 | (exit $ac_status); } && { | ||
3623 | test -z "$ac_c_werror_flag" || | ||
3624 | test ! -s conftest.err | ||
3625 | } && test -s conftest.$ac_objext; then | ||
3626 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | ||
3627 | ac_cv_c_bigendian=yes | 4030 | ac_cv_c_bigendian=yes |
4031 | else | ||
4032 | ac_cv_c_bigendian=no | ||
3628 | fi | 4033 | fi |
3629 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 4034 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3630 | if test "$ac_cv_c_bigendian" = unknown; then | ||
3631 | ac_cv_c_bigendian=no | ||
3632 | else | ||
3633 | # finding both strings is unlikely to happen, but who knows? | ||
3634 | ac_cv_c_bigendian=unknown | ||
3635 | fi | ||
3636 | fi | 4035 | fi |
3637 | else | 4036 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3638 | echo "$as_me: failed program was:" >&5 | 4037 | fi |
3639 | sed 's/^/| /' conftest.$ac_ext >&5 | 4038 | if test $ac_cv_c_bigendian = unknown; then |
3640 | 4039 | # Compile a test program. | |
4040 | if test "$cross_compiling" = yes; then : | ||
4041 | # Try to guess by grepping values from an object file. | ||
4042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
4043 | /* end confdefs.h. */ | ||
4044 | short int ascii_mm[] = | ||
4045 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | ||
4046 | short int ascii_ii[] = | ||
4047 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | ||
4048 | int use_ascii (int i) { | ||
4049 | return ascii_mm[i] + ascii_ii[i]; | ||
4050 | } | ||
4051 | short int ebcdic_ii[] = | ||
4052 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
4053 | short int ebcdic_mm[] = | ||
4054 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
4055 | int use_ebcdic (int i) { | ||
4056 | return ebcdic_mm[i] + ebcdic_ii[i]; | ||
4057 | } | ||
4058 | extern int foo; | ||
3641 | 4059 | ||
4060 | int | ||
4061 | main () | ||
4062 | { | ||
4063 | return use_ascii (foo) == use_ebcdic (foo); | ||
4064 | ; | ||
4065 | return 0; | ||
4066 | } | ||
4067 | _ACEOF | ||
4068 | if ac_fn_c_try_compile "$LINENO"; then : | ||
4069 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | ||
4070 | ac_cv_c_bigendian=yes | ||
4071 | fi | ||
4072 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | ||
4073 | if test "$ac_cv_c_bigendian" = unknown; then | ||
4074 | ac_cv_c_bigendian=no | ||
4075 | else | ||
4076 | # finding both strings is unlikely to happen, but who knows? | ||
4077 | ac_cv_c_bigendian=unknown | ||
4078 | fi | ||
4079 | fi | ||
3642 | fi | 4080 | fi |
3643 | |||
3644 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4081 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3645 | else | 4082 | else |
3646 | cat >conftest.$ac_ext <<_ACEOF | 4083 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3647 | /* confdefs.h. */ | ||
3648 | _ACEOF | ||
3649 | cat confdefs.h >>conftest.$ac_ext | ||
3650 | cat >>conftest.$ac_ext <<_ACEOF | ||
3651 | /* end confdefs.h. */ | 4084 | /* end confdefs.h. */ |
3652 | $ac_includes_default | 4085 | $ac_includes_default |
3653 | int | 4086 | int |
3654 | main () | 4087 | main () |
3655 | { | 4088 | { |
3656 | 4089 | ||
3657 | /* Are we little or big endian? From Harbison&Steele. */ | 4090 | /* Are we little or big endian? From Harbison&Steele. */ |
3658 | union | 4091 | union |
3659 | { | 4092 | { |
3660 | long int l; | 4093 | long int l; |
3661 | char c[sizeof (long int)]; | 4094 | char c[sizeof (long int)]; |
3662 | } u; | 4095 | } u; |
3663 | u.l = 1; | 4096 | u.l = 1; |
3664 | return u.c[sizeof (long int) - 1] == 1; | 4097 | return u.c[sizeof (long int) - 1] == 1; |
3665 | 4098 | ||
3666 | ; | 4099 | ; |
3667 | return 0; | 4100 | return 0; |
3668 | } | 4101 | } |
3669 | _ACEOF | 4102 | _ACEOF |
3670 | rm -f conftest$ac_exeext | 4103 | if ac_fn_c_try_run "$LINENO"; then : |
3671 | if { (ac_try="$ac_link" | ||
3672 | case "(($ac_try" in | ||
3673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3674 | *) ac_try_echo=$ac_try;; | ||
3675 | esac | ||
3676 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3677 | (eval "$ac_link") 2>&5 | ||
3678 | ac_status=$? | ||
3679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3680 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3681 | { (case "(($ac_try" in | ||
3682 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3683 | *) ac_try_echo=$ac_try;; | ||
3684 | esac | ||
3685 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3686 | (eval "$ac_try") 2>&5 | ||
3687 | ac_status=$? | ||
3688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3689 | (exit $ac_status); }; }; then | ||
3690 | ac_cv_c_bigendian=no | 4104 | ac_cv_c_bigendian=no |
3691 | else | 4105 | else |
3692 | echo "$as_me: program exited with status $ac_status" >&5 | 4106 | ac_cv_c_bigendian=yes |
3693 | echo "$as_me: failed program was:" >&5 | ||
3694 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3695 | |||
3696 | ( exit $ac_status ) | ||
3697 | ac_cv_c_bigendian=yes | ||
3698 | fi | 4107 | fi |
3699 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4108 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
4109 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
3700 | fi | 4110 | fi |
3701 | 4111 | ||
3702 | 4112 | fi | |
3703 | fi | 4113 | fi |
4114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | ||
4115 | $as_echo "$ac_cv_c_bigendian" >&6; } | ||
4116 | case $ac_cv_c_bigendian in #( | ||
4117 | yes) | ||
4118 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | ||
4119 | ;; #( | ||
4120 | no) | ||
4121 | ;; #( | ||
4122 | universal) | ||
3704 | 4123 | ||
3705 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4124 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
3706 | fi | ||
3707 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | ||
3708 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } | ||
3709 | case $ac_cv_c_bigendian in | ||
3710 | yes) | ||
3711 | 4125 | ||
3712 | cat >>confdefs.h <<\_ACEOF | 4126 | ;; #( |
3713 | #define WORDS_BIGENDIAN 1 | 4127 | *) |
3714 | _ACEOF | 4128 | as_fn_error $? "unknown endianness |
3715 | ;; | 4129 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
3716 | no) | 4130 | esac |
3717 | ;; | ||
3718 | *) | ||
3719 | { { echo "$as_me:$LINENO: error: unknown endianness | ||
3720 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | ||
3721 | echo "$as_me: error: unknown endianness | ||
3722 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | ||
3723 | { (exit 1); exit 1; }; } ;; | ||
3724 | esac | ||
3725 | 4131 | ||
3726 | 4132 | ||
3727 | # Checks for programs. | 4133 | # Checks for programs. |
@@ -3729,10 +4135,10 @@ for ac_prog in gawk mawk nawk awk | |||
3729 | do | 4135 | do |
3730 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 4136 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3731 | set dummy $ac_prog; ac_word=$2 | 4137 | set dummy $ac_prog; ac_word=$2 |
3732 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4138 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3733 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4139 | $as_echo_n "checking for $ac_word... " >&6; } |
3734 | if test "${ac_cv_prog_AWK+set}" = set; then | 4140 | if ${ac_cv_prog_AWK+:} false; then : |
3735 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4141 | $as_echo_n "(cached) " >&6 |
3736 | else | 4142 | else |
3737 | if test -n "$AWK"; then | 4143 | if test -n "$AWK"; then |
3738 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | 4144 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
@@ -3742,25 +4148,25 @@ for as_dir in $PATH | |||
3742 | do | 4148 | do |
3743 | IFS=$as_save_IFS | 4149 | IFS=$as_save_IFS |
3744 | test -z "$as_dir" && as_dir=. | 4150 | test -z "$as_dir" && as_dir=. |
3745 | for ac_exec_ext in '' $ac_executable_extensions; do | 4151 | for ac_exec_ext in '' $ac_executable_extensions; do |
3746 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4152 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3747 | ac_cv_prog_AWK="$ac_prog" | 4153 | ac_cv_prog_AWK="$ac_prog" |
3748 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4154 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3749 | break 2 | 4155 | break 2 |
3750 | fi | 4156 | fi |
3751 | done | 4157 | done |
3752 | done | 4158 | done |
3753 | IFS=$as_save_IFS | 4159 | IFS=$as_save_IFS |
3754 | 4160 | ||
3755 | fi | 4161 | fi |
3756 | fi | 4162 | fi |
3757 | AWK=$ac_cv_prog_AWK | 4163 | AWK=$ac_cv_prog_AWK |
3758 | if test -n "$AWK"; then | 4164 | if test -n "$AWK"; then |
3759 | { echo "$as_me:$LINENO: result: $AWK" >&5 | 4165 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
3760 | echo "${ECHO_T}$AWK" >&6; } | 4166 | $as_echo "$AWK" >&6; } |
3761 | else | 4167 | else |
3762 | { echo "$as_me:$LINENO: result: no" >&5 | 4168 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3763 | echo "${ECHO_T}no" >&6; } | 4169 | $as_echo "no" >&6; } |
3764 | fi | 4170 | fi |
3765 | 4171 | ||
3766 | 4172 | ||
@@ -3772,15 +4178,15 @@ ac_cpp='$CPP $CPPFLAGS' | |||
3772 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4178 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3773 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4179 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3774 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4180 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3775 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4181 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3776 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } | 4182 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3777 | # On Suns, sometimes $CPP names a directory. | 4183 | # On Suns, sometimes $CPP names a directory. |
3778 | if test -n "$CPP" && test -d "$CPP"; then | 4184 | if test -n "$CPP" && test -d "$CPP"; then |
3779 | CPP= | 4185 | CPP= |
3780 | fi | 4186 | fi |
3781 | if test -z "$CPP"; then | 4187 | if test -z "$CPP"; then |
3782 | if test "${ac_cv_prog_CPP+set}" = set; then | 4188 | if ${ac_cv_prog_CPP+:} false; then : |
3783 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4189 | $as_echo_n "(cached) " >&6 |
3784 | else | 4190 | else |
3785 | # Double quotes because CPP needs to be expanded | 4191 | # Double quotes because CPP needs to be expanded |
3786 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 4192 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
@@ -3794,11 +4200,7 @@ do | |||
3794 | # <limits.h> exists even on freestanding compilers. | 4200 | # <limits.h> exists even on freestanding compilers. |
3795 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4201 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3796 | # not just through cpp. "Syntax error" is here to catch this case. | 4202 | # not just through cpp. "Syntax error" is here to catch this case. |
3797 | cat >conftest.$ac_ext <<_ACEOF | 4203 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3798 | /* confdefs.h. */ | ||
3799 | _ACEOF | ||
3800 | cat confdefs.h >>conftest.$ac_ext | ||
3801 | cat >>conftest.$ac_ext <<_ACEOF | ||
3802 | /* end confdefs.h. */ | 4204 | /* end confdefs.h. */ |
3803 | #ifdef __STDC__ | 4205 | #ifdef __STDC__ |
3804 | # include <limits.h> | 4206 | # include <limits.h> |
@@ -3807,76 +4209,34 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
3807 | #endif | 4209 | #endif |
3808 | Syntax error | 4210 | Syntax error |
3809 | _ACEOF | 4211 | _ACEOF |
3810 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4212 | if ac_fn_c_try_cpp "$LINENO"; then : |
3811 | case "(($ac_try" in | ||
3812 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3813 | *) ac_try_echo=$ac_try;; | ||
3814 | esac | ||
3815 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3816 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3817 | ac_status=$? | ||
3818 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3819 | rm -f conftest.er1 | ||
3820 | cat conftest.err >&5 | ||
3821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3822 | (exit $ac_status); } >/dev/null && { | ||
3823 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3824 | test ! -s conftest.err | ||
3825 | }; then | ||
3826 | : | ||
3827 | else | ||
3828 | echo "$as_me: failed program was:" >&5 | ||
3829 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3830 | 4213 | ||
4214 | else | ||
3831 | # Broken: fails on valid input. | 4215 | # Broken: fails on valid input. |
3832 | continue | 4216 | continue |
3833 | fi | 4217 | fi |
3834 | 4218 | rm -f conftest.err conftest.i conftest.$ac_ext | |
3835 | rm -f conftest.err conftest.$ac_ext | ||
3836 | 4219 | ||
3837 | # OK, works on sane cases. Now check whether nonexistent headers | 4220 | # OK, works on sane cases. Now check whether nonexistent headers |
3838 | # can be detected and how. | 4221 | # can be detected and how. |
3839 | cat >conftest.$ac_ext <<_ACEOF | 4222 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3840 | /* confdefs.h. */ | ||
3841 | _ACEOF | ||
3842 | cat confdefs.h >>conftest.$ac_ext | ||
3843 | cat >>conftest.$ac_ext <<_ACEOF | ||
3844 | /* end confdefs.h. */ | 4223 | /* end confdefs.h. */ |
3845 | #include <ac_nonexistent.h> | 4224 | #include <ac_nonexistent.h> |
3846 | _ACEOF | 4225 | _ACEOF |
3847 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4226 | if ac_fn_c_try_cpp "$LINENO"; then : |
3848 | case "(($ac_try" in | ||
3849 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3850 | *) ac_try_echo=$ac_try;; | ||
3851 | esac | ||
3852 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3853 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3854 | ac_status=$? | ||
3855 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3856 | rm -f conftest.er1 | ||
3857 | cat conftest.err >&5 | ||
3858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3859 | (exit $ac_status); } >/dev/null && { | ||
3860 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3861 | test ! -s conftest.err | ||
3862 | }; then | ||
3863 | # Broken: success on invalid input. | 4227 | # Broken: success on invalid input. |
3864 | continue | 4228 | continue |
3865 | else | 4229 | else |
3866 | echo "$as_me: failed program was:" >&5 | ||
3867 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3868 | |||
3869 | # Passes both tests. | 4230 | # Passes both tests. |
3870 | ac_preproc_ok=: | 4231 | ac_preproc_ok=: |
3871 | break | 4232 | break |
3872 | fi | 4233 | fi |
3873 | 4234 | rm -f conftest.err conftest.i conftest.$ac_ext | |
3874 | rm -f conftest.err conftest.$ac_ext | ||
3875 | 4235 | ||
3876 | done | 4236 | done |
3877 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4237 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3878 | rm -f conftest.err conftest.$ac_ext | 4238 | rm -f conftest.i conftest.err conftest.$ac_ext |
3879 | if $ac_preproc_ok; then | 4239 | if $ac_preproc_ok; then : |
3880 | break | 4240 | break |
3881 | fi | 4241 | fi |
3882 | 4242 | ||
@@ -3888,8 +4248,8 @@ fi | |||
3888 | else | 4248 | else |
3889 | ac_cv_prog_CPP=$CPP | 4249 | ac_cv_prog_CPP=$CPP |
3890 | fi | 4250 | fi |
3891 | { echo "$as_me:$LINENO: result: $CPP" >&5 | 4251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3892 | echo "${ECHO_T}$CPP" >&6; } | 4252 | $as_echo "$CPP" >&6; } |
3893 | ac_preproc_ok=false | 4253 | ac_preproc_ok=false |
3894 | for ac_c_preproc_warn_flag in '' yes | 4254 | for ac_c_preproc_warn_flag in '' yes |
3895 | do | 4255 | do |
@@ -3899,11 +4259,7 @@ do | |||
3899 | # <limits.h> exists even on freestanding compilers. | 4259 | # <limits.h> exists even on freestanding compilers. |
3900 | # On the NeXT, cc -E runs the code through the compiler's parser, | 4260 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3901 | # not just through cpp. "Syntax error" is here to catch this case. | 4261 | # not just through cpp. "Syntax error" is here to catch this case. |
3902 | cat >conftest.$ac_ext <<_ACEOF | 4262 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3903 | /* confdefs.h. */ | ||
3904 | _ACEOF | ||
3905 | cat confdefs.h >>conftest.$ac_ext | ||
3906 | cat >>conftest.$ac_ext <<_ACEOF | ||
3907 | /* end confdefs.h. */ | 4263 | /* end confdefs.h. */ |
3908 | #ifdef __STDC__ | 4264 | #ifdef __STDC__ |
3909 | # include <limits.h> | 4265 | # include <limits.h> |
@@ -3912,83 +4268,40 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
3912 | #endif | 4268 | #endif |
3913 | Syntax error | 4269 | Syntax error |
3914 | _ACEOF | 4270 | _ACEOF |
3915 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4271 | if ac_fn_c_try_cpp "$LINENO"; then : |
3916 | case "(($ac_try" in | ||
3917 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3918 | *) ac_try_echo=$ac_try;; | ||
3919 | esac | ||
3920 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3921 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3922 | ac_status=$? | ||
3923 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3924 | rm -f conftest.er1 | ||
3925 | cat conftest.err >&5 | ||
3926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3927 | (exit $ac_status); } >/dev/null && { | ||
3928 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3929 | test ! -s conftest.err | ||
3930 | }; then | ||
3931 | : | ||
3932 | else | ||
3933 | echo "$as_me: failed program was:" >&5 | ||
3934 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3935 | 4272 | ||
4273 | else | ||
3936 | # Broken: fails on valid input. | 4274 | # Broken: fails on valid input. |
3937 | continue | 4275 | continue |
3938 | fi | 4276 | fi |
3939 | 4277 | rm -f conftest.err conftest.i conftest.$ac_ext | |
3940 | rm -f conftest.err conftest.$ac_ext | ||
3941 | 4278 | ||
3942 | # OK, works on sane cases. Now check whether nonexistent headers | 4279 | # OK, works on sane cases. Now check whether nonexistent headers |
3943 | # can be detected and how. | 4280 | # can be detected and how. |
3944 | cat >conftest.$ac_ext <<_ACEOF | 4281 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3945 | /* confdefs.h. */ | ||
3946 | _ACEOF | ||
3947 | cat confdefs.h >>conftest.$ac_ext | ||
3948 | cat >>conftest.$ac_ext <<_ACEOF | ||
3949 | /* end confdefs.h. */ | 4282 | /* end confdefs.h. */ |
3950 | #include <ac_nonexistent.h> | 4283 | #include <ac_nonexistent.h> |
3951 | _ACEOF | 4284 | _ACEOF |
3952 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 4285 | if ac_fn_c_try_cpp "$LINENO"; then : |
3953 | case "(($ac_try" in | ||
3954 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3955 | *) ac_try_echo=$ac_try;; | ||
3956 | esac | ||
3957 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3958 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3959 | ac_status=$? | ||
3960 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3961 | rm -f conftest.er1 | ||
3962 | cat conftest.err >&5 | ||
3963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3964 | (exit $ac_status); } >/dev/null && { | ||
3965 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3966 | test ! -s conftest.err | ||
3967 | }; then | ||
3968 | # Broken: success on invalid input. | 4286 | # Broken: success on invalid input. |
3969 | continue | 4287 | continue |
3970 | else | 4288 | else |
3971 | echo "$as_me: failed program was:" >&5 | ||
3972 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3973 | |||
3974 | # Passes both tests. | 4289 | # Passes both tests. |
3975 | ac_preproc_ok=: | 4290 | ac_preproc_ok=: |
3976 | break | 4291 | break |
3977 | fi | 4292 | fi |
3978 | 4293 | rm -f conftest.err conftest.i conftest.$ac_ext | |
3979 | rm -f conftest.err conftest.$ac_ext | ||
3980 | 4294 | ||
3981 | done | 4295 | done |
3982 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4296 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3983 | rm -f conftest.err conftest.$ac_ext | 4297 | rm -f conftest.i conftest.err conftest.$ac_ext |
3984 | if $ac_preproc_ok; then | 4298 | if $ac_preproc_ok; then : |
3985 | : | 4299 | |
3986 | else | 4300 | else |
3987 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 4301 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3988 | See \`config.log' for more details." >&5 | 4302 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3989 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 4303 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3990 | See \`config.log' for more details." >&2;} | 4304 | See \`config.log' for more details" "$LINENO" 5; } |
3991 | { (exit 1); exit 1; }; } | ||
3992 | fi | 4305 | fi |
3993 | 4306 | ||
3994 | ac_ext=c | 4307 | ac_ext=c |
@@ -4000,10 +4313,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
4000 | if test -n "$ac_tool_prefix"; then | 4313 | if test -n "$ac_tool_prefix"; then |
4001 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 4314 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4002 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 4315 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4003 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4316 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4004 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4317 | $as_echo_n "checking for $ac_word... " >&6; } |
4005 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 4318 | if ${ac_cv_prog_RANLIB+:} false; then : |
4006 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4319 | $as_echo_n "(cached) " >&6 |
4007 | else | 4320 | else |
4008 | if test -n "$RANLIB"; then | 4321 | if test -n "$RANLIB"; then |
4009 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 4322 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
@@ -4013,25 +4326,25 @@ for as_dir in $PATH | |||
4013 | do | 4326 | do |
4014 | IFS=$as_save_IFS | 4327 | IFS=$as_save_IFS |
4015 | test -z "$as_dir" && as_dir=. | 4328 | test -z "$as_dir" && as_dir=. |
4016 | for ac_exec_ext in '' $ac_executable_extensions; do | 4329 | for ac_exec_ext in '' $ac_executable_extensions; do |
4017 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4330 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4018 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4331 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
4019 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4332 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4020 | break 2 | 4333 | break 2 |
4021 | fi | 4334 | fi |
4022 | done | 4335 | done |
4023 | done | 4336 | done |
4024 | IFS=$as_save_IFS | 4337 | IFS=$as_save_IFS |
4025 | 4338 | ||
4026 | fi | 4339 | fi |
4027 | fi | 4340 | fi |
4028 | RANLIB=$ac_cv_prog_RANLIB | 4341 | RANLIB=$ac_cv_prog_RANLIB |
4029 | if test -n "$RANLIB"; then | 4342 | if test -n "$RANLIB"; then |
4030 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 | 4343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
4031 | echo "${ECHO_T}$RANLIB" >&6; } | 4344 | $as_echo "$RANLIB" >&6; } |
4032 | else | 4345 | else |
4033 | { echo "$as_me:$LINENO: result: no" >&5 | 4346 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4034 | echo "${ECHO_T}no" >&6; } | 4347 | $as_echo "no" >&6; } |
4035 | fi | 4348 | fi |
4036 | 4349 | ||
4037 | 4350 | ||
@@ -4040,10 +4353,10 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
4040 | ac_ct_RANLIB=$RANLIB | 4353 | ac_ct_RANLIB=$RANLIB |
4041 | # Extract the first word of "ranlib", so it can be a program name with args. | 4354 | # Extract the first word of "ranlib", so it can be a program name with args. |
4042 | set dummy ranlib; ac_word=$2 | 4355 | set dummy ranlib; ac_word=$2 |
4043 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4044 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4357 | $as_echo_n "checking for $ac_word... " >&6; } |
4045 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 4358 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
4046 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4359 | $as_echo_n "(cached) " >&6 |
4047 | else | 4360 | else |
4048 | if test -n "$ac_ct_RANLIB"; then | 4361 | if test -n "$ac_ct_RANLIB"; then |
4049 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 4362 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
@@ -4053,25 +4366,25 @@ for as_dir in $PATH | |||
4053 | do | 4366 | do |
4054 | IFS=$as_save_IFS | 4367 | IFS=$as_save_IFS |
4055 | test -z "$as_dir" && as_dir=. | 4368 | test -z "$as_dir" && as_dir=. |
4056 | for ac_exec_ext in '' $ac_executable_extensions; do | 4369 | for ac_exec_ext in '' $ac_executable_extensions; do |
4057 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4370 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4058 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 4371 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
4059 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4372 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4060 | break 2 | 4373 | break 2 |
4061 | fi | 4374 | fi |
4062 | done | 4375 | done |
4063 | done | 4376 | done |
4064 | IFS=$as_save_IFS | 4377 | IFS=$as_save_IFS |
4065 | 4378 | ||
4066 | fi | 4379 | fi |
4067 | fi | 4380 | fi |
4068 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 4381 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
4069 | if test -n "$ac_ct_RANLIB"; then | 4382 | if test -n "$ac_ct_RANLIB"; then |
4070 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 4383 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
4071 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } | 4384 | $as_echo "$ac_ct_RANLIB" >&6; } |
4072 | else | 4385 | else |
4073 | { echo "$as_me:$LINENO: result: no" >&5 | 4386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4074 | echo "${ECHO_T}no" >&6; } | 4387 | $as_echo "no" >&6; } |
4075 | fi | 4388 | fi |
4076 | 4389 | ||
4077 | if test "x$ac_ct_RANLIB" = x; then | 4390 | if test "x$ac_ct_RANLIB" = x; then |
@@ -4079,12 +4392,8 @@ fi | |||
4079 | else | 4392 | else |
4080 | case $cross_compiling:$ac_tool_warned in | 4393 | case $cross_compiling:$ac_tool_warned in |
4081 | yes:) | 4394 | yes:) |
4082 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 4395 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4083 | whose name does not start with the host triplet. If you think this | 4396 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4084 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
4085 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
4086 | whose name does not start with the host triplet. If you think this | ||
4087 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
4088 | ac_tool_warned=yes ;; | 4397 | ac_tool_warned=yes ;; |
4089 | esac | 4398 | esac |
4090 | RANLIB=$ac_ct_RANLIB | 4399 | RANLIB=$ac_ct_RANLIB |
@@ -4106,22 +4415,23 @@ fi | |||
4106 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4415 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4107 | # OS/2's system install, which has a completely different semantic | 4416 | # OS/2's system install, which has a completely different semantic |
4108 | # ./install, which can be erroneously created by make from ./install.sh. | 4417 | # ./install, which can be erroneously created by make from ./install.sh. |
4109 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 4418 | # Reject install programs that cannot install multiple files. |
4110 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } | 4419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
4420 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
4111 | if test -z "$INSTALL"; then | 4421 | if test -z "$INSTALL"; then |
4112 | if test "${ac_cv_path_install+set}" = set; then | 4422 | if ${ac_cv_path_install+:} false; then : |
4113 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4423 | $as_echo_n "(cached) " >&6 |
4114 | else | 4424 | else |
4115 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4425 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4116 | for as_dir in $PATH | 4426 | for as_dir in $PATH |
4117 | do | 4427 | do |
4118 | IFS=$as_save_IFS | 4428 | IFS=$as_save_IFS |
4119 | test -z "$as_dir" && as_dir=. | 4429 | test -z "$as_dir" && as_dir=. |
4120 | # Account for people who put trailing slashes in PATH elements. | 4430 | # Account for people who put trailing slashes in PATH elements. |
4121 | case $as_dir/ in | 4431 | case $as_dir/ in #(( |
4122 | ./ | .// | /cC/* | \ | 4432 | ./ | .// | /[cC]/* | \ |
4123 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 4433 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
4124 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | 4434 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
4125 | /usr/ucb/* ) ;; | 4435 | /usr/ucb/* ) ;; |
4126 | *) | 4436 | *) |
4127 | # OSF1 and SCO ODT 3.0 have their own names for install. | 4437 | # OSF1 and SCO ODT 3.0 have their own names for install. |
@@ -4129,7 +4439,7 @@ case $as_dir/ in | |||
4129 | # by default. | 4439 | # by default. |
4130 | for ac_prog in ginstall scoinst install; do | 4440 | for ac_prog in ginstall scoinst install; do |
4131 | for ac_exec_ext in '' $ac_executable_extensions; do | 4441 | for ac_exec_ext in '' $ac_executable_extensions; do |
4132 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | 4442 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
4133 | if test $ac_prog = install && | 4443 | if test $ac_prog = install && |
4134 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 4444 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
4135 | # AIX install. It has an incompatible calling convention. | 4445 | # AIX install. It has an incompatible calling convention. |
@@ -4139,17 +4449,29 @@ case $as_dir/ in | |||
4139 | # program-specific install script used by HP pwplus--don't use. | 4449 | # program-specific install script used by HP pwplus--don't use. |
4140 | : | 4450 | : |
4141 | else | 4451 | else |
4142 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 4452 | rm -rf conftest.one conftest.two conftest.dir |
4143 | break 3 | 4453 | echo one > conftest.one |
4454 | echo two > conftest.two | ||
4455 | mkdir conftest.dir | ||
4456 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
4457 | test -s conftest.one && test -s conftest.two && | ||
4458 | test -s conftest.dir/conftest.one && | ||
4459 | test -s conftest.dir/conftest.two | ||
4460 | then | ||
4461 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
4462 | break 3 | ||
4463 | fi | ||
4144 | fi | 4464 | fi |
4145 | fi | 4465 | fi |
4146 | done | 4466 | done |
4147 | done | 4467 | done |
4148 | ;; | 4468 | ;; |
4149 | esac | 4469 | esac |
4150 | done | 4470 | |
4471 | done | ||
4151 | IFS=$as_save_IFS | 4472 | IFS=$as_save_IFS |
4152 | 4473 | ||
4474 | rm -rf conftest.one conftest.two conftest.dir | ||
4153 | 4475 | ||
4154 | fi | 4476 | fi |
4155 | if test "${ac_cv_path_install+set}" = set; then | 4477 | if test "${ac_cv_path_install+set}" = set; then |
@@ -4162,8 +4484,8 @@ fi | |||
4162 | INSTALL=$ac_install_sh | 4484 | INSTALL=$ac_install_sh |
4163 | fi | 4485 | fi |
4164 | fi | 4486 | fi |
4165 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 | 4487 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
4166 | echo "${ECHO_T}$INSTALL" >&6; } | 4488 | $as_echo "$INSTALL" >&6; } |
4167 | 4489 | ||
4168 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 4490 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4169 | # It thinks the first close brace ends the variable substitution. | 4491 | # It thinks the first close brace ends the variable substitution. |
@@ -4173,48 +4495,43 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |||
4173 | 4495 | ||
4174 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 4496 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4175 | 4497 | ||
4176 | { echo "$as_me:$LINENO: checking for egrep" >&5 | 4498 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4177 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | 4499 | $as_echo_n "checking for egrep... " >&6; } |
4178 | if test "${ac_cv_path_EGREP+set}" = set; then | 4500 | if ${ac_cv_path_EGREP+:} false; then : |
4179 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4501 | $as_echo_n "(cached) " >&6 |
4180 | else | 4502 | else |
4181 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4503 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4182 | then ac_cv_path_EGREP="$GREP -E" | 4504 | then ac_cv_path_EGREP="$GREP -E" |
4183 | else | 4505 | else |
4184 | # Extract the first word of "egrep" to use in msg output | 4506 | if test -z "$EGREP"; then |
4185 | if test -z "$EGREP"; then | ||
4186 | set dummy egrep; ac_prog_name=$2 | ||
4187 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4188 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4189 | else | ||
4190 | ac_path_EGREP_found=false | 4507 | ac_path_EGREP_found=false |
4191 | # Loop through the user's path and test for each of PROGNAME-LIST | 4508 | # Loop through the user's path and test for each of PROGNAME-LIST |
4192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4509 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4193 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4510 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4194 | do | 4511 | do |
4195 | IFS=$as_save_IFS | 4512 | IFS=$as_save_IFS |
4196 | test -z "$as_dir" && as_dir=. | 4513 | test -z "$as_dir" && as_dir=. |
4197 | for ac_prog in egrep; do | 4514 | for ac_prog in egrep; do |
4198 | for ac_exec_ext in '' $ac_executable_extensions; do | 4515 | for ac_exec_ext in '' $ac_executable_extensions; do |
4199 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4516 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4200 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4517 | as_fn_executable_p "$ac_path_EGREP" || continue |
4201 | # Check for GNU ac_path_EGREP and select it if it is found. | 4518 | # Check for GNU ac_path_EGREP and select it if it is found. |
4202 | # Check for GNU $ac_path_EGREP | 4519 | # Check for GNU $ac_path_EGREP |
4203 | case `"$ac_path_EGREP" --version 2>&1` in | 4520 | case `"$ac_path_EGREP" --version 2>&1` in |
4204 | *GNU*) | 4521 | *GNU*) |
4205 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 4522 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4206 | *) | 4523 | *) |
4207 | ac_count=0 | 4524 | ac_count=0 |
4208 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | 4525 | $as_echo_n 0123456789 >"conftest.in" |
4209 | while : | 4526 | while : |
4210 | do | 4527 | do |
4211 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 4528 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
4212 | mv "conftest.tmp" "conftest.in" | 4529 | mv "conftest.tmp" "conftest.in" |
4213 | cp "conftest.in" "conftest.nl" | 4530 | cp "conftest.in" "conftest.nl" |
4214 | echo 'EGREP' >> "conftest.nl" | 4531 | $as_echo 'EGREP' >> "conftest.nl" |
4215 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4532 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4216 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4533 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4217 | ac_count=`expr $ac_count + 1` | 4534 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
4218 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4535 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4219 | # Best one so far, save it but keep looking for a better one | 4536 | # Best one so far, save it but keep looking for a better one |
4220 | ac_cv_path_EGREP="$ac_path_EGREP" | 4537 | ac_cv_path_EGREP="$ac_path_EGREP" |
@@ -4226,33 +4543,22 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
4226 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 4543 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4227 | esac | 4544 | esac |
4228 | 4545 | ||
4229 | 4546 | $ac_path_EGREP_found && break 3 | |
4230 | $ac_path_EGREP_found && break 3 | 4547 | done |
4548 | done | ||
4231 | done | 4549 | done |
4232 | done | ||
4233 | |||
4234 | done | ||
4235 | IFS=$as_save_IFS | 4550 | IFS=$as_save_IFS |
4236 | 4551 | if test -z "$ac_cv_path_EGREP"; then | |
4237 | 4552 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
4238 | fi | 4553 | fi |
4239 | |||
4240 | EGREP="$ac_cv_path_EGREP" | ||
4241 | if test -z "$EGREP"; then | ||
4242 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4243 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4244 | { (exit 1); exit 1; }; } | ||
4245 | fi | ||
4246 | |||
4247 | else | 4554 | else |
4248 | ac_cv_path_EGREP=$EGREP | 4555 | ac_cv_path_EGREP=$EGREP |
4249 | fi | 4556 | fi |
4250 | 4557 | ||
4251 | |||
4252 | fi | 4558 | fi |
4253 | fi | 4559 | fi |
4254 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | 4560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4255 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | 4561 | $as_echo "$ac_cv_path_EGREP" >&6; } |
4256 | EGREP="$ac_cv_path_EGREP" | 4562 | EGREP="$ac_cv_path_EGREP" |
4257 | 4563 | ||
4258 | 4564 | ||
@@ -4261,10 +4567,10 @@ if test -n "$ac_tool_prefix"; then | |||
4261 | do | 4567 | do |
4262 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 4568 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4263 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 4569 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4264 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4265 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4571 | $as_echo_n "checking for $ac_word... " >&6; } |
4266 | if test "${ac_cv_prog_AR+set}" = set; then | 4572 | if ${ac_cv_prog_AR+:} false; then : |
4267 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4573 | $as_echo_n "(cached) " >&6 |
4268 | else | 4574 | else |
4269 | if test -n "$AR"; then | 4575 | if test -n "$AR"; then |
4270 | ac_cv_prog_AR="$AR" # Let the user override the test. | 4576 | ac_cv_prog_AR="$AR" # Let the user override the test. |
@@ -4274,25 +4580,25 @@ for as_dir in $PATH | |||
4274 | do | 4580 | do |
4275 | IFS=$as_save_IFS | 4581 | IFS=$as_save_IFS |
4276 | test -z "$as_dir" && as_dir=. | 4582 | test -z "$as_dir" && as_dir=. |
4277 | for ac_exec_ext in '' $ac_executable_extensions; do | 4583 | for ac_exec_ext in '' $ac_executable_extensions; do |
4278 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4584 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4279 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" | 4585 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
4280 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4586 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4281 | break 2 | 4587 | break 2 |
4282 | fi | 4588 | fi |
4283 | done | 4589 | done |
4284 | done | 4590 | done |
4285 | IFS=$as_save_IFS | 4591 | IFS=$as_save_IFS |
4286 | 4592 | ||
4287 | fi | 4593 | fi |
4288 | fi | 4594 | fi |
4289 | AR=$ac_cv_prog_AR | 4595 | AR=$ac_cv_prog_AR |
4290 | if test -n "$AR"; then | 4596 | if test -n "$AR"; then |
4291 | { echo "$as_me:$LINENO: result: $AR" >&5 | 4597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
4292 | echo "${ECHO_T}$AR" >&6; } | 4598 | $as_echo "$AR" >&6; } |
4293 | else | 4599 | else |
4294 | { echo "$as_me:$LINENO: result: no" >&5 | 4600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4295 | echo "${ECHO_T}no" >&6; } | 4601 | $as_echo "no" >&6; } |
4296 | fi | 4602 | fi |
4297 | 4603 | ||
4298 | 4604 | ||
@@ -4305,10 +4611,10 @@ if test -z "$AR"; then | |||
4305 | do | 4611 | do |
4306 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 4612 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4307 | set dummy $ac_prog; ac_word=$2 | 4613 | set dummy $ac_prog; ac_word=$2 |
4308 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4614 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4309 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4615 | $as_echo_n "checking for $ac_word... " >&6; } |
4310 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then | 4616 | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
4311 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4617 | $as_echo_n "(cached) " >&6 |
4312 | else | 4618 | else |
4313 | if test -n "$ac_ct_AR"; then | 4619 | if test -n "$ac_ct_AR"; then |
4314 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 4620 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
@@ -4318,25 +4624,25 @@ for as_dir in $PATH | |||
4318 | do | 4624 | do |
4319 | IFS=$as_save_IFS | 4625 | IFS=$as_save_IFS |
4320 | test -z "$as_dir" && as_dir=. | 4626 | test -z "$as_dir" && as_dir=. |
4321 | for ac_exec_ext in '' $ac_executable_extensions; do | 4627 | for ac_exec_ext in '' $ac_executable_extensions; do |
4322 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4628 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4323 | ac_cv_prog_ac_ct_AR="$ac_prog" | 4629 | ac_cv_prog_ac_ct_AR="$ac_prog" |
4324 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4630 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4325 | break 2 | 4631 | break 2 |
4326 | fi | 4632 | fi |
4327 | done | 4633 | done |
4328 | done | 4634 | done |
4329 | IFS=$as_save_IFS | 4635 | IFS=$as_save_IFS |
4330 | 4636 | ||
4331 | fi | 4637 | fi |
4332 | fi | 4638 | fi |
4333 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | 4639 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
4334 | if test -n "$ac_ct_AR"; then | 4640 | if test -n "$ac_ct_AR"; then |
4335 | { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 | 4641 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
4336 | echo "${ECHO_T}$ac_ct_AR" >&6; } | 4642 | $as_echo "$ac_ct_AR" >&6; } |
4337 | else | 4643 | else |
4338 | { echo "$as_me:$LINENO: result: no" >&5 | 4644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4339 | echo "${ECHO_T}no" >&6; } | 4645 | $as_echo "no" >&6; } |
4340 | fi | 4646 | fi |
4341 | 4647 | ||
4342 | 4648 | ||
@@ -4348,12 +4654,8 @@ done | |||
4348 | else | 4654 | else |
4349 | case $cross_compiling:$ac_tool_warned in | 4655 | case $cross_compiling:$ac_tool_warned in |
4350 | yes:) | 4656 | yes:) |
4351 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 4657 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4352 | whose name does not start with the host triplet. If you think this | 4658 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4353 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
4354 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
4355 | whose name does not start with the host triplet. If you think this | ||
4356 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
4357 | ac_tool_warned=yes ;; | 4659 | ac_tool_warned=yes ;; |
4358 | esac | 4660 | esac |
4359 | AR=$ac_ct_AR | 4661 | AR=$ac_ct_AR |
@@ -4362,10 +4664,10 @@ fi | |||
4362 | 4664 | ||
4363 | # Extract the first word of "cat", so it can be a program name with args. | 4665 | # Extract the first word of "cat", so it can be a program name with args. |
4364 | set dummy cat; ac_word=$2 | 4666 | set dummy cat; ac_word=$2 |
4365 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4667 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4366 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4668 | $as_echo_n "checking for $ac_word... " >&6; } |
4367 | if test "${ac_cv_path_CAT+set}" = set; then | 4669 | if ${ac_cv_path_CAT+:} false; then : |
4368 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4670 | $as_echo_n "(cached) " >&6 |
4369 | else | 4671 | else |
4370 | case $CAT in | 4672 | case $CAT in |
4371 | [\\/]* | ?:[\\/]*) | 4673 | [\\/]* | ?:[\\/]*) |
@@ -4377,14 +4679,14 @@ for as_dir in $PATH | |||
4377 | do | 4679 | do |
4378 | IFS=$as_save_IFS | 4680 | IFS=$as_save_IFS |
4379 | test -z "$as_dir" && as_dir=. | 4681 | test -z "$as_dir" && as_dir=. |
4380 | for ac_exec_ext in '' $ac_executable_extensions; do | 4682 | for ac_exec_ext in '' $ac_executable_extensions; do |
4381 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4683 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4382 | ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" | 4684 | ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" |
4383 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4685 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4384 | break 2 | 4686 | break 2 |
4385 | fi | 4687 | fi |
4386 | done | 4688 | done |
4387 | done | 4689 | done |
4388 | IFS=$as_save_IFS | 4690 | IFS=$as_save_IFS |
4389 | 4691 | ||
4390 | ;; | 4692 | ;; |
@@ -4392,20 +4694,20 @@ esac | |||
4392 | fi | 4694 | fi |
4393 | CAT=$ac_cv_path_CAT | 4695 | CAT=$ac_cv_path_CAT |
4394 | if test -n "$CAT"; then | 4696 | if test -n "$CAT"; then |
4395 | { echo "$as_me:$LINENO: result: $CAT" >&5 | 4697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5 |
4396 | echo "${ECHO_T}$CAT" >&6; } | 4698 | $as_echo "$CAT" >&6; } |
4397 | else | 4699 | else |
4398 | { echo "$as_me:$LINENO: result: no" >&5 | 4700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4399 | echo "${ECHO_T}no" >&6; } | 4701 | $as_echo "no" >&6; } |
4400 | fi | 4702 | fi |
4401 | 4703 | ||
4402 | 4704 | ||
4403 | # Extract the first word of "kill", so it can be a program name with args. | 4705 | # Extract the first word of "kill", so it can be a program name with args. |
4404 | set dummy kill; ac_word=$2 | 4706 | set dummy kill; ac_word=$2 |
4405 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4707 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4406 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4708 | $as_echo_n "checking for $ac_word... " >&6; } |
4407 | if test "${ac_cv_path_KILL+set}" = set; then | 4709 | if ${ac_cv_path_KILL+:} false; then : |
4408 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4710 | $as_echo_n "(cached) " >&6 |
4409 | else | 4711 | else |
4410 | case $KILL in | 4712 | case $KILL in |
4411 | [\\/]* | ?:[\\/]*) | 4713 | [\\/]* | ?:[\\/]*) |
@@ -4417,14 +4719,14 @@ for as_dir in $PATH | |||
4417 | do | 4719 | do |
4418 | IFS=$as_save_IFS | 4720 | IFS=$as_save_IFS |
4419 | test -z "$as_dir" && as_dir=. | 4721 | test -z "$as_dir" && as_dir=. |
4420 | for ac_exec_ext in '' $ac_executable_extensions; do | 4722 | for ac_exec_ext in '' $ac_executable_extensions; do |
4421 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4723 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4422 | ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" | 4724 | ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" |
4423 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4725 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4424 | break 2 | 4726 | break 2 |
4425 | fi | 4727 | fi |
4426 | done | 4728 | done |
4427 | done | 4729 | done |
4428 | IFS=$as_save_IFS | 4730 | IFS=$as_save_IFS |
4429 | 4731 | ||
4430 | ;; | 4732 | ;; |
@@ -4432,11 +4734,11 @@ esac | |||
4432 | fi | 4734 | fi |
4433 | KILL=$ac_cv_path_KILL | 4735 | KILL=$ac_cv_path_KILL |
4434 | if test -n "$KILL"; then | 4736 | if test -n "$KILL"; then |
4435 | { echo "$as_me:$LINENO: result: $KILL" >&5 | 4737 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KILL" >&5 |
4436 | echo "${ECHO_T}$KILL" >&6; } | 4738 | $as_echo "$KILL" >&6; } |
4437 | else | 4739 | else |
4438 | { echo "$as_me:$LINENO: result: no" >&5 | 4740 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4439 | echo "${ECHO_T}no" >&6; } | 4741 | $as_echo "no" >&6; } |
4440 | fi | 4742 | fi |
4441 | 4743 | ||
4442 | 4744 | ||
@@ -4444,10 +4746,10 @@ for ac_prog in perl5 perl | |||
4444 | do | 4746 | do |
4445 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 4747 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4446 | set dummy $ac_prog; ac_word=$2 | 4748 | set dummy $ac_prog; ac_word=$2 |
4447 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4749 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4448 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4750 | $as_echo_n "checking for $ac_word... " >&6; } |
4449 | if test "${ac_cv_path_PERL+set}" = set; then | 4751 | if ${ac_cv_path_PERL+:} false; then : |
4450 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4752 | $as_echo_n "(cached) " >&6 |
4451 | else | 4753 | else |
4452 | case $PERL in | 4754 | case $PERL in |
4453 | [\\/]* | ?:[\\/]*) | 4755 | [\\/]* | ?:[\\/]*) |
@@ -4459,14 +4761,14 @@ for as_dir in $PATH | |||
4459 | do | 4761 | do |
4460 | IFS=$as_save_IFS | 4762 | IFS=$as_save_IFS |
4461 | test -z "$as_dir" && as_dir=. | 4763 | test -z "$as_dir" && as_dir=. |
4462 | for ac_exec_ext in '' $ac_executable_extensions; do | 4764 | for ac_exec_ext in '' $ac_executable_extensions; do |
4463 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4765 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4464 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | 4766 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
4465 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4767 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4466 | break 2 | 4768 | break 2 |
4467 | fi | 4769 | fi |
4468 | done | 4770 | done |
4469 | done | 4771 | done |
4470 | IFS=$as_save_IFS | 4772 | IFS=$as_save_IFS |
4471 | 4773 | ||
4472 | ;; | 4774 | ;; |
@@ -4474,11 +4776,11 @@ esac | |||
4474 | fi | 4776 | fi |
4475 | PERL=$ac_cv_path_PERL | 4777 | PERL=$ac_cv_path_PERL |
4476 | if test -n "$PERL"; then | 4778 | if test -n "$PERL"; then |
4477 | { echo "$as_me:$LINENO: result: $PERL" >&5 | 4779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
4478 | echo "${ECHO_T}$PERL" >&6; } | 4780 | $as_echo "$PERL" >&6; } |
4479 | else | 4781 | else |
4480 | { echo "$as_me:$LINENO: result: no" >&5 | 4782 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4481 | echo "${ECHO_T}no" >&6; } | 4783 | $as_echo "no" >&6; } |
4482 | fi | 4784 | fi |
4483 | 4785 | ||
4484 | 4786 | ||
@@ -4487,10 +4789,10 @@ done | |||
4487 | 4789 | ||
4488 | # Extract the first word of "sed", so it can be a program name with args. | 4790 | # Extract the first word of "sed", so it can be a program name with args. |
4489 | set dummy sed; ac_word=$2 | 4791 | set dummy sed; ac_word=$2 |
4490 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4792 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4491 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4793 | $as_echo_n "checking for $ac_word... " >&6; } |
4492 | if test "${ac_cv_path_SED+set}" = set; then | 4794 | if ${ac_cv_path_SED+:} false; then : |
4493 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4795 | $as_echo_n "(cached) " >&6 |
4494 | else | 4796 | else |
4495 | case $SED in | 4797 | case $SED in |
4496 | [\\/]* | ?:[\\/]*) | 4798 | [\\/]* | ?:[\\/]*) |
@@ -4502,14 +4804,14 @@ for as_dir in $PATH | |||
4502 | do | 4804 | do |
4503 | IFS=$as_save_IFS | 4805 | IFS=$as_save_IFS |
4504 | test -z "$as_dir" && as_dir=. | 4806 | test -z "$as_dir" && as_dir=. |
4505 | for ac_exec_ext in '' $ac_executable_extensions; do | 4807 | for ac_exec_ext in '' $ac_executable_extensions; do |
4506 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4808 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4507 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 4809 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
4508 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4810 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4509 | break 2 | 4811 | break 2 |
4510 | fi | 4812 | fi |
4511 | done | 4813 | done |
4512 | done | 4814 | done |
4513 | IFS=$as_save_IFS | 4815 | IFS=$as_save_IFS |
4514 | 4816 | ||
4515 | ;; | 4817 | ;; |
@@ -4517,21 +4819,21 @@ esac | |||
4517 | fi | 4819 | fi |
4518 | SED=$ac_cv_path_SED | 4820 | SED=$ac_cv_path_SED |
4519 | if test -n "$SED"; then | 4821 | if test -n "$SED"; then |
4520 | { echo "$as_me:$LINENO: result: $SED" >&5 | 4822 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 |
4521 | echo "${ECHO_T}$SED" >&6; } | 4823 | $as_echo "$SED" >&6; } |
4522 | else | 4824 | else |
4523 | { echo "$as_me:$LINENO: result: no" >&5 | 4825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4524 | echo "${ECHO_T}no" >&6; } | 4826 | $as_echo "no" >&6; } |
4525 | fi | 4827 | fi |
4526 | 4828 | ||
4527 | 4829 | ||
4528 | 4830 | ||
4529 | # Extract the first word of "ent", so it can be a program name with args. | 4831 | # Extract the first word of "ent", so it can be a program name with args. |
4530 | set dummy ent; ac_word=$2 | 4832 | set dummy ent; ac_word=$2 |
4531 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4833 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4532 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4834 | $as_echo_n "checking for $ac_word... " >&6; } |
4533 | if test "${ac_cv_path_ENT+set}" = set; then | 4835 | if ${ac_cv_path_ENT+:} false; then : |
4534 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4836 | $as_echo_n "(cached) " >&6 |
4535 | else | 4837 | else |
4536 | case $ENT in | 4838 | case $ENT in |
4537 | [\\/]* | ?:[\\/]*) | 4839 | [\\/]* | ?:[\\/]*) |
@@ -4543,14 +4845,14 @@ for as_dir in $PATH | |||
4543 | do | 4845 | do |
4544 | IFS=$as_save_IFS | 4846 | IFS=$as_save_IFS |
4545 | test -z "$as_dir" && as_dir=. | 4847 | test -z "$as_dir" && as_dir=. |
4546 | for ac_exec_ext in '' $ac_executable_extensions; do | 4848 | for ac_exec_ext in '' $ac_executable_extensions; do |
4547 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4849 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4548 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" | 4850 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" |
4549 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4851 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4550 | break 2 | 4852 | break 2 |
4551 | fi | 4853 | fi |
4552 | done | 4854 | done |
4553 | done | 4855 | done |
4554 | IFS=$as_save_IFS | 4856 | IFS=$as_save_IFS |
4555 | 4857 | ||
4556 | ;; | 4858 | ;; |
@@ -4558,21 +4860,21 @@ esac | |||
4558 | fi | 4860 | fi |
4559 | ENT=$ac_cv_path_ENT | 4861 | ENT=$ac_cv_path_ENT |
4560 | if test -n "$ENT"; then | 4862 | if test -n "$ENT"; then |
4561 | { echo "$as_me:$LINENO: result: $ENT" >&5 | 4863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENT" >&5 |
4562 | echo "${ECHO_T}$ENT" >&6; } | 4864 | $as_echo "$ENT" >&6; } |
4563 | else | 4865 | else |
4564 | { echo "$as_me:$LINENO: result: no" >&5 | 4866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4565 | echo "${ECHO_T}no" >&6; } | 4867 | $as_echo "no" >&6; } |
4566 | fi | 4868 | fi |
4567 | 4869 | ||
4568 | 4870 | ||
4569 | 4871 | ||
4570 | # Extract the first word of "bash", so it can be a program name with args. | 4872 | # Extract the first word of "bash", so it can be a program name with args. |
4571 | set dummy bash; ac_word=$2 | 4873 | set dummy bash; ac_word=$2 |
4572 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4573 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4875 | $as_echo_n "checking for $ac_word... " >&6; } |
4574 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4876 | if ${ac_cv_path_TEST_MINUS_S_SH+:} false; then : |
4575 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4877 | $as_echo_n "(cached) " >&6 |
4576 | else | 4878 | else |
4577 | case $TEST_MINUS_S_SH in | 4879 | case $TEST_MINUS_S_SH in |
4578 | [\\/]* | ?:[\\/]*) | 4880 | [\\/]* | ?:[\\/]*) |
@@ -4584,14 +4886,14 @@ for as_dir in $PATH | |||
4584 | do | 4886 | do |
4585 | IFS=$as_save_IFS | 4887 | IFS=$as_save_IFS |
4586 | test -z "$as_dir" && as_dir=. | 4888 | test -z "$as_dir" && as_dir=. |
4587 | for ac_exec_ext in '' $ac_executable_extensions; do | 4889 | for ac_exec_ext in '' $ac_executable_extensions; do |
4588 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4890 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4589 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4891 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
4590 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4892 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4591 | break 2 | 4893 | break 2 |
4592 | fi | 4894 | fi |
4593 | done | 4895 | done |
4594 | done | 4896 | done |
4595 | IFS=$as_save_IFS | 4897 | IFS=$as_save_IFS |
4596 | 4898 | ||
4597 | ;; | 4899 | ;; |
@@ -4599,20 +4901,20 @@ esac | |||
4599 | fi | 4901 | fi |
4600 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4902 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4601 | if test -n "$TEST_MINUS_S_SH"; then | 4903 | if test -n "$TEST_MINUS_S_SH"; then |
4602 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 4904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MINUS_S_SH" >&5 |
4603 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } | 4905 | $as_echo "$TEST_MINUS_S_SH" >&6; } |
4604 | else | 4906 | else |
4605 | { echo "$as_me:$LINENO: result: no" >&5 | 4907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4606 | echo "${ECHO_T}no" >&6; } | 4908 | $as_echo "no" >&6; } |
4607 | fi | 4909 | fi |
4608 | 4910 | ||
4609 | 4911 | ||
4610 | # Extract the first word of "ksh", so it can be a program name with args. | 4912 | # Extract the first word of "ksh", so it can be a program name with args. |
4611 | set dummy ksh; ac_word=$2 | 4913 | set dummy ksh; ac_word=$2 |
4612 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4613 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4915 | $as_echo_n "checking for $ac_word... " >&6; } |
4614 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4916 | if ${ac_cv_path_TEST_MINUS_S_SH+:} false; then : |
4615 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4917 | $as_echo_n "(cached) " >&6 |
4616 | else | 4918 | else |
4617 | case $TEST_MINUS_S_SH in | 4919 | case $TEST_MINUS_S_SH in |
4618 | [\\/]* | ?:[\\/]*) | 4920 | [\\/]* | ?:[\\/]*) |
@@ -4624,14 +4926,14 @@ for as_dir in $PATH | |||
4624 | do | 4926 | do |
4625 | IFS=$as_save_IFS | 4927 | IFS=$as_save_IFS |
4626 | test -z "$as_dir" && as_dir=. | 4928 | test -z "$as_dir" && as_dir=. |
4627 | for ac_exec_ext in '' $ac_executable_extensions; do | 4929 | for ac_exec_ext in '' $ac_executable_extensions; do |
4628 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4930 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4629 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4931 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
4630 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4932 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4631 | break 2 | 4933 | break 2 |
4632 | fi | 4934 | fi |
4633 | done | 4935 | done |
4634 | done | 4936 | done |
4635 | IFS=$as_save_IFS | 4937 | IFS=$as_save_IFS |
4636 | 4938 | ||
4637 | ;; | 4939 | ;; |
@@ -4639,20 +4941,20 @@ esac | |||
4639 | fi | 4941 | fi |
4640 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4942 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4641 | if test -n "$TEST_MINUS_S_SH"; then | 4943 | if test -n "$TEST_MINUS_S_SH"; then |
4642 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 4944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MINUS_S_SH" >&5 |
4643 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } | 4945 | $as_echo "$TEST_MINUS_S_SH" >&6; } |
4644 | else | 4946 | else |
4645 | { echo "$as_me:$LINENO: result: no" >&5 | 4947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4646 | echo "${ECHO_T}no" >&6; } | 4948 | $as_echo "no" >&6; } |
4647 | fi | 4949 | fi |
4648 | 4950 | ||
4649 | 4951 | ||
4650 | # Extract the first word of "sh", so it can be a program name with args. | 4952 | # Extract the first word of "sh", so it can be a program name with args. |
4651 | set dummy sh; ac_word=$2 | 4953 | set dummy sh; ac_word=$2 |
4652 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4954 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4653 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4955 | $as_echo_n "checking for $ac_word... " >&6; } |
4654 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then | 4956 | if ${ac_cv_path_TEST_MINUS_S_SH+:} false; then : |
4655 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4957 | $as_echo_n "(cached) " >&6 |
4656 | else | 4958 | else |
4657 | case $TEST_MINUS_S_SH in | 4959 | case $TEST_MINUS_S_SH in |
4658 | [\\/]* | ?:[\\/]*) | 4960 | [\\/]* | ?:[\\/]*) |
@@ -4664,14 +4966,14 @@ for as_dir in $PATH | |||
4664 | do | 4966 | do |
4665 | IFS=$as_save_IFS | 4967 | IFS=$as_save_IFS |
4666 | test -z "$as_dir" && as_dir=. | 4968 | test -z "$as_dir" && as_dir=. |
4667 | for ac_exec_ext in '' $ac_executable_extensions; do | 4969 | for ac_exec_ext in '' $ac_executable_extensions; do |
4668 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4970 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4669 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4971 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
4670 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4972 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4671 | break 2 | 4973 | break 2 |
4672 | fi | 4974 | fi |
4673 | done | 4975 | done |
4674 | done | 4976 | done |
4675 | IFS=$as_save_IFS | 4977 | IFS=$as_save_IFS |
4676 | 4978 | ||
4677 | ;; | 4979 | ;; |
@@ -4679,20 +4981,20 @@ esac | |||
4679 | fi | 4981 | fi |
4680 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4982 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4681 | if test -n "$TEST_MINUS_S_SH"; then | 4983 | if test -n "$TEST_MINUS_S_SH"; then |
4682 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 | 4984 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MINUS_S_SH" >&5 |
4683 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } | 4985 | $as_echo "$TEST_MINUS_S_SH" >&6; } |
4684 | else | 4986 | else |
4685 | { echo "$as_me:$LINENO: result: no" >&5 | 4987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4686 | echo "${ECHO_T}no" >&6; } | 4988 | $as_echo "no" >&6; } |
4687 | fi | 4989 | fi |
4688 | 4990 | ||
4689 | 4991 | ||
4690 | # Extract the first word of "sh", so it can be a program name with args. | 4992 | # Extract the first word of "sh", so it can be a program name with args. |
4691 | set dummy sh; ac_word=$2 | 4993 | set dummy sh; ac_word=$2 |
4692 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 4994 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4693 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 4995 | $as_echo_n "checking for $ac_word... " >&6; } |
4694 | if test "${ac_cv_path_SH+set}" = set; then | 4996 | if ${ac_cv_path_SH+:} false; then : |
4695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 4997 | $as_echo_n "(cached) " >&6 |
4696 | else | 4998 | else |
4697 | case $SH in | 4999 | case $SH in |
4698 | [\\/]* | ?:[\\/]*) | 5000 | [\\/]* | ?:[\\/]*) |
@@ -4704,14 +5006,14 @@ for as_dir in $PATH | |||
4704 | do | 5006 | do |
4705 | IFS=$as_save_IFS | 5007 | IFS=$as_save_IFS |
4706 | test -z "$as_dir" && as_dir=. | 5008 | test -z "$as_dir" && as_dir=. |
4707 | for ac_exec_ext in '' $ac_executable_extensions; do | 5009 | for ac_exec_ext in '' $ac_executable_extensions; do |
4708 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5010 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4709 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" | 5011 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" |
4710 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5012 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4711 | break 2 | 5013 | break 2 |
4712 | fi | 5014 | fi |
4713 | done | 5015 | done |
4714 | done | 5016 | done |
4715 | IFS=$as_save_IFS | 5017 | IFS=$as_save_IFS |
4716 | 5018 | ||
4717 | ;; | 5019 | ;; |
@@ -4719,20 +5021,20 @@ esac | |||
4719 | fi | 5021 | fi |
4720 | SH=$ac_cv_path_SH | 5022 | SH=$ac_cv_path_SH |
4721 | if test -n "$SH"; then | 5023 | if test -n "$SH"; then |
4722 | { echo "$as_me:$LINENO: result: $SH" >&5 | 5024 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 |
4723 | echo "${ECHO_T}$SH" >&6; } | 5025 | $as_echo "$SH" >&6; } |
4724 | else | 5026 | else |
4725 | { echo "$as_me:$LINENO: result: no" >&5 | 5027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4726 | echo "${ECHO_T}no" >&6; } | 5028 | $as_echo "no" >&6; } |
4727 | fi | 5029 | fi |
4728 | 5030 | ||
4729 | 5031 | ||
4730 | # Extract the first word of "groff", so it can be a program name with args. | 5032 | # Extract the first word of "groff", so it can be a program name with args. |
4731 | set dummy groff; ac_word=$2 | 5033 | set dummy groff; ac_word=$2 |
4732 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5034 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4733 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5035 | $as_echo_n "checking for $ac_word... " >&6; } |
4734 | if test "${ac_cv_path_GROFF+set}" = set; then | 5036 | if ${ac_cv_path_GROFF+:} false; then : |
4735 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5037 | $as_echo_n "(cached) " >&6 |
4736 | else | 5038 | else |
4737 | case $GROFF in | 5039 | case $GROFF in |
4738 | [\\/]* | ?:[\\/]*) | 5040 | [\\/]* | ?:[\\/]*) |
@@ -4744,14 +5046,14 @@ for as_dir in $PATH | |||
4744 | do | 5046 | do |
4745 | IFS=$as_save_IFS | 5047 | IFS=$as_save_IFS |
4746 | test -z "$as_dir" && as_dir=. | 5048 | test -z "$as_dir" && as_dir=. |
4747 | for ac_exec_ext in '' $ac_executable_extensions; do | 5049 | for ac_exec_ext in '' $ac_executable_extensions; do |
4748 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5050 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4749 | ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext" | 5051 | ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext" |
4750 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5052 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4751 | break 2 | 5053 | break 2 |
4752 | fi | 5054 | fi |
4753 | done | 5055 | done |
4754 | done | 5056 | done |
4755 | IFS=$as_save_IFS | 5057 | IFS=$as_save_IFS |
4756 | 5058 | ||
4757 | ;; | 5059 | ;; |
@@ -4759,20 +5061,20 @@ esac | |||
4759 | fi | 5061 | fi |
4760 | GROFF=$ac_cv_path_GROFF | 5062 | GROFF=$ac_cv_path_GROFF |
4761 | if test -n "$GROFF"; then | 5063 | if test -n "$GROFF"; then |
4762 | { echo "$as_me:$LINENO: result: $GROFF" >&5 | 5064 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5 |
4763 | echo "${ECHO_T}$GROFF" >&6; } | 5065 | $as_echo "$GROFF" >&6; } |
4764 | else | 5066 | else |
4765 | { echo "$as_me:$LINENO: result: no" >&5 | 5067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4766 | echo "${ECHO_T}no" >&6; } | 5068 | $as_echo "no" >&6; } |
4767 | fi | 5069 | fi |
4768 | 5070 | ||
4769 | 5071 | ||
4770 | # Extract the first word of "nroff", so it can be a program name with args. | 5072 | # Extract the first word of "nroff", so it can be a program name with args. |
4771 | set dummy nroff; ac_word=$2 | 5073 | set dummy nroff; ac_word=$2 |
4772 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4773 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5075 | $as_echo_n "checking for $ac_word... " >&6; } |
4774 | if test "${ac_cv_path_NROFF+set}" = set; then | 5076 | if ${ac_cv_path_NROFF+:} false; then : |
4775 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5077 | $as_echo_n "(cached) " >&6 |
4776 | else | 5078 | else |
4777 | case $NROFF in | 5079 | case $NROFF in |
4778 | [\\/]* | ?:[\\/]*) | 5080 | [\\/]* | ?:[\\/]*) |
@@ -4784,14 +5086,14 @@ for as_dir in $PATH | |||
4784 | do | 5086 | do |
4785 | IFS=$as_save_IFS | 5087 | IFS=$as_save_IFS |
4786 | test -z "$as_dir" && as_dir=. | 5088 | test -z "$as_dir" && as_dir=. |
4787 | for ac_exec_ext in '' $ac_executable_extensions; do | 5089 | for ac_exec_ext in '' $ac_executable_extensions; do |
4788 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5090 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4789 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | 5091 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" |
4790 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5092 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4791 | break 2 | 5093 | break 2 |
4792 | fi | 5094 | fi |
4793 | done | 5095 | done |
4794 | done | 5096 | done |
4795 | IFS=$as_save_IFS | 5097 | IFS=$as_save_IFS |
4796 | 5098 | ||
4797 | ;; | 5099 | ;; |
@@ -4799,20 +5101,20 @@ esac | |||
4799 | fi | 5101 | fi |
4800 | NROFF=$ac_cv_path_NROFF | 5102 | NROFF=$ac_cv_path_NROFF |
4801 | if test -n "$NROFF"; then | 5103 | if test -n "$NROFF"; then |
4802 | { echo "$as_me:$LINENO: result: $NROFF" >&5 | 5104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 |
4803 | echo "${ECHO_T}$NROFF" >&6; } | 5105 | $as_echo "$NROFF" >&6; } |
4804 | else | 5106 | else |
4805 | { echo "$as_me:$LINENO: result: no" >&5 | 5107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4806 | echo "${ECHO_T}no" >&6; } | 5108 | $as_echo "no" >&6; } |
4807 | fi | 5109 | fi |
4808 | 5110 | ||
4809 | 5111 | ||
4810 | # Extract the first word of "mandoc", so it can be a program name with args. | 5112 | # Extract the first word of "mandoc", so it can be a program name with args. |
4811 | set dummy mandoc; ac_word=$2 | 5113 | set dummy mandoc; ac_word=$2 |
4812 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4813 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5115 | $as_echo_n "checking for $ac_word... " >&6; } |
4814 | if test "${ac_cv_path_MANDOC+set}" = set; then | 5116 | if ${ac_cv_path_MANDOC+:} false; then : |
4815 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5117 | $as_echo_n "(cached) " >&6 |
4816 | else | 5118 | else |
4817 | case $MANDOC in | 5119 | case $MANDOC in |
4818 | [\\/]* | ?:[\\/]*) | 5120 | [\\/]* | ?:[\\/]*) |
@@ -4824,14 +5126,14 @@ for as_dir in $PATH | |||
4824 | do | 5126 | do |
4825 | IFS=$as_save_IFS | 5127 | IFS=$as_save_IFS |
4826 | test -z "$as_dir" && as_dir=. | 5128 | test -z "$as_dir" && as_dir=. |
4827 | for ac_exec_ext in '' $ac_executable_extensions; do | 5129 | for ac_exec_ext in '' $ac_executable_extensions; do |
4828 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5130 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4829 | ac_cv_path_MANDOC="$as_dir/$ac_word$ac_exec_ext" | 5131 | ac_cv_path_MANDOC="$as_dir/$ac_word$ac_exec_ext" |
4830 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5132 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4831 | break 2 | 5133 | break 2 |
4832 | fi | 5134 | fi |
4833 | done | 5135 | done |
4834 | done | 5136 | done |
4835 | IFS=$as_save_IFS | 5137 | IFS=$as_save_IFS |
4836 | 5138 | ||
4837 | ;; | 5139 | ;; |
@@ -4839,11 +5141,11 @@ esac | |||
4839 | fi | 5141 | fi |
4840 | MANDOC=$ac_cv_path_MANDOC | 5142 | MANDOC=$ac_cv_path_MANDOC |
4841 | if test -n "$MANDOC"; then | 5143 | if test -n "$MANDOC"; then |
4842 | { echo "$as_me:$LINENO: result: $MANDOC" >&5 | 5144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANDOC" >&5 |
4843 | echo "${ECHO_T}$MANDOC" >&6; } | 5145 | $as_echo "$MANDOC" >&6; } |
4844 | else | 5146 | else |
4845 | { echo "$as_me:$LINENO: result: no" >&5 | 5147 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4846 | echo "${ECHO_T}no" >&6; } | 5148 | $as_echo "no" >&6; } |
4847 | fi | 5149 | fi |
4848 | 5150 | ||
4849 | 5151 | ||
@@ -4857,18 +5159,18 @@ elif test "x$NROFF" != "x" ; then | |||
4857 | elif test "x$GROFF" != "x" ; then | 5159 | elif test "x$GROFF" != "x" ; then |
4858 | MANFMT="$GROFF -mandoc -Tascii" | 5160 | MANFMT="$GROFF -mandoc -Tascii" |
4859 | else | 5161 | else |
4860 | { echo "$as_me:$LINENO: WARNING: no manpage formatted found" >&5 | 5162 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no manpage formatted found" >&5 |
4861 | echo "$as_me: WARNING: no manpage formatted found" >&2;} | 5163 | $as_echo "$as_me: WARNING: no manpage formatted found" >&2;} |
4862 | MANFMT="false" | 5164 | MANFMT="false" |
4863 | fi | 5165 | fi |
4864 | 5166 | ||
4865 | 5167 | ||
4866 | # Extract the first word of "groupadd", so it can be a program name with args. | 5168 | # Extract the first word of "groupadd", so it can be a program name with args. |
4867 | set dummy groupadd; ac_word=$2 | 5169 | set dummy groupadd; ac_word=$2 |
4868 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4869 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5171 | $as_echo_n "checking for $ac_word... " >&6; } |
4870 | if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then | 5172 | if ${ac_cv_path_PATH_GROUPADD_PROG+:} false; then : |
4871 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5173 | $as_echo_n "(cached) " >&6 |
4872 | else | 5174 | else |
4873 | case $PATH_GROUPADD_PROG in | 5175 | case $PATH_GROUPADD_PROG in |
4874 | [\\/]* | ?:[\\/]*) | 5176 | [\\/]* | ?:[\\/]*) |
@@ -4880,14 +5182,14 @@ for as_dir in /usr/sbin${PATH_SEPARATOR}/etc | |||
4880 | do | 5182 | do |
4881 | IFS=$as_save_IFS | 5183 | IFS=$as_save_IFS |
4882 | test -z "$as_dir" && as_dir=. | 5184 | test -z "$as_dir" && as_dir=. |
4883 | for ac_exec_ext in '' $ac_executable_extensions; do | 5185 | for ac_exec_ext in '' $ac_executable_extensions; do |
4884 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5186 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4885 | ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" | 5187 | ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" |
4886 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5188 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4887 | break 2 | 5189 | break 2 |
4888 | fi | 5190 | fi |
4889 | done | 5191 | done |
4890 | done | 5192 | done |
4891 | IFS=$as_save_IFS | 5193 | IFS=$as_save_IFS |
4892 | 5194 | ||
4893 | test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd" | 5195 | test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd" |
@@ -4896,20 +5198,20 @@ esac | |||
4896 | fi | 5198 | fi |
4897 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG | 5199 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG |
4898 | if test -n "$PATH_GROUPADD_PROG"; then | 5200 | if test -n "$PATH_GROUPADD_PROG"; then |
4899 | { echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5 | 5201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_GROUPADD_PROG" >&5 |
4900 | echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6; } | 5202 | $as_echo "$PATH_GROUPADD_PROG" >&6; } |
4901 | else | 5203 | else |
4902 | { echo "$as_me:$LINENO: result: no" >&5 | 5204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4903 | echo "${ECHO_T}no" >&6; } | 5205 | $as_echo "no" >&6; } |
4904 | fi | 5206 | fi |
4905 | 5207 | ||
4906 | 5208 | ||
4907 | # Extract the first word of "useradd", so it can be a program name with args. | 5209 | # Extract the first word of "useradd", so it can be a program name with args. |
4908 | set dummy useradd; ac_word=$2 | 5210 | set dummy useradd; ac_word=$2 |
4909 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5211 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4910 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5212 | $as_echo_n "checking for $ac_word... " >&6; } |
4911 | if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then | 5213 | if ${ac_cv_path_PATH_USERADD_PROG+:} false; then : |
4912 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5214 | $as_echo_n "(cached) " >&6 |
4913 | else | 5215 | else |
4914 | case $PATH_USERADD_PROG in | 5216 | case $PATH_USERADD_PROG in |
4915 | [\\/]* | ?:[\\/]*) | 5217 | [\\/]* | ?:[\\/]*) |
@@ -4921,14 +5223,14 @@ for as_dir in /usr/sbin${PATH_SEPARATOR}/etc | |||
4921 | do | 5223 | do |
4922 | IFS=$as_save_IFS | 5224 | IFS=$as_save_IFS |
4923 | test -z "$as_dir" && as_dir=. | 5225 | test -z "$as_dir" && as_dir=. |
4924 | for ac_exec_ext in '' $ac_executable_extensions; do | 5226 | for ac_exec_ext in '' $ac_executable_extensions; do |
4925 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5227 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4926 | ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" | 5228 | ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" |
4927 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5229 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4928 | break 2 | 5230 | break 2 |
4929 | fi | 5231 | fi |
4930 | done | 5232 | done |
4931 | done | 5233 | done |
4932 | IFS=$as_save_IFS | 5234 | IFS=$as_save_IFS |
4933 | 5235 | ||
4934 | test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd" | 5236 | test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd" |
@@ -4937,20 +5239,20 @@ esac | |||
4937 | fi | 5239 | fi |
4938 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG | 5240 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG |
4939 | if test -n "$PATH_USERADD_PROG"; then | 5241 | if test -n "$PATH_USERADD_PROG"; then |
4940 | { echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5 | 5242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_USERADD_PROG" >&5 |
4941 | echo "${ECHO_T}$PATH_USERADD_PROG" >&6; } | 5243 | $as_echo "$PATH_USERADD_PROG" >&6; } |
4942 | else | 5244 | else |
4943 | { echo "$as_me:$LINENO: result: no" >&5 | 5245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4944 | echo "${ECHO_T}no" >&6; } | 5246 | $as_echo "no" >&6; } |
4945 | fi | 5247 | fi |
4946 | 5248 | ||
4947 | 5249 | ||
4948 | # Extract the first word of "pkgmk", so it can be a program name with args. | 5250 | # Extract the first word of "pkgmk", so it can be a program name with args. |
4949 | set dummy pkgmk; ac_word=$2 | 5251 | set dummy pkgmk; ac_word=$2 |
4950 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4951 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5253 | $as_echo_n "checking for $ac_word... " >&6; } |
4952 | if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then | 5254 | if ${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+:} false; then : |
4953 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5255 | $as_echo_n "(cached) " >&6 |
4954 | else | 5256 | else |
4955 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then | 5257 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then |
4956 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test. | 5258 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test. |
@@ -4960,14 +5262,14 @@ for as_dir in $PATH | |||
4960 | do | 5262 | do |
4961 | IFS=$as_save_IFS | 5263 | IFS=$as_save_IFS |
4962 | test -z "$as_dir" && as_dir=. | 5264 | test -z "$as_dir" && as_dir=. |
4963 | for ac_exec_ext in '' $ac_executable_extensions; do | 5265 | for ac_exec_ext in '' $ac_executable_extensions; do |
4964 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5266 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4965 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" | 5267 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" |
4966 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5268 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4967 | break 2 | 5269 | break 2 |
4968 | fi | 5270 | fi |
4969 | done | 5271 | done |
4970 | done | 5272 | done |
4971 | IFS=$as_save_IFS | 5273 | IFS=$as_save_IFS |
4972 | 5274 | ||
4973 | test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no" | 5275 | test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no" |
@@ -4975,11 +5277,11 @@ fi | |||
4975 | fi | 5277 | fi |
4976 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED | 5278 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED |
4977 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then | 5279 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then |
4978 | { echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5 | 5280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_PACKAGE_SUPPORTED" >&5 |
4979 | echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6; } | 5281 | $as_echo "$MAKE_PACKAGE_SUPPORTED" >&6; } |
4980 | else | 5282 | else |
4981 | { echo "$as_me:$LINENO: result: no" >&5 | 5283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4982 | echo "${ECHO_T}no" >&6; } | 5284 | $as_echo "no" >&6; } |
4983 | fi | 5285 | fi |
4984 | 5286 | ||
4985 | 5287 | ||
@@ -4993,16 +5295,16 @@ fi | |||
4993 | 5295 | ||
4994 | # System features | 5296 | # System features |
4995 | # Check whether --enable-largefile was given. | 5297 | # Check whether --enable-largefile was given. |
4996 | if test "${enable_largefile+set}" = set; then | 5298 | if test "${enable_largefile+set}" = set; then : |
4997 | enableval=$enable_largefile; | 5299 | enableval=$enable_largefile; |
4998 | fi | 5300 | fi |
4999 | 5301 | ||
5000 | if test "$enable_largefile" != no; then | 5302 | if test "$enable_largefile" != no; then |
5001 | 5303 | ||
5002 | { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 5304 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 |
5003 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } | 5305 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } |
5004 | if test "${ac_cv_sys_largefile_CC+set}" = set; then | 5306 | if ${ac_cv_sys_largefile_CC+:} false; then : |
5005 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5307 | $as_echo_n "(cached) " >&6 |
5006 | else | 5308 | else |
5007 | ac_cv_sys_largefile_CC=no | 5309 | ac_cv_sys_largefile_CC=no |
5008 | if test "$GCC" != yes; then | 5310 | if test "$GCC" != yes; then |
@@ -5010,11 +5312,7 @@ else | |||
5010 | while :; do | 5312 | while :; do |
5011 | # IRIX 6.2 and later do not support large files by default, | 5313 | # IRIX 6.2 and later do not support large files by default, |
5012 | # so use the C compiler's -n32 option if that helps. | 5314 | # so use the C compiler's -n32 option if that helps. |
5013 | cat >conftest.$ac_ext <<_ACEOF | 5315 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5014 | /* confdefs.h. */ | ||
5015 | _ACEOF | ||
5016 | cat confdefs.h >>conftest.$ac_ext | ||
5017 | cat >>conftest.$ac_ext <<_ACEOF | ||
5018 | /* end confdefs.h. */ | 5316 | /* end confdefs.h. */ |
5019 | #include <sys/types.h> | 5317 | #include <sys/types.h> |
5020 | /* Check that off_t can represent 2**63 - 1 correctly. | 5318 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -5033,58 +5331,14 @@ main () | |||
5033 | return 0; | 5331 | return 0; |
5034 | } | 5332 | } |
5035 | _ACEOF | 5333 | _ACEOF |
5036 | rm -f conftest.$ac_objext | 5334 | if ac_fn_c_try_compile "$LINENO"; then : |
5037 | if { (ac_try="$ac_compile" | ||
5038 | case "(($ac_try" in | ||
5039 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5040 | *) ac_try_echo=$ac_try;; | ||
5041 | esac | ||
5042 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5043 | (eval "$ac_compile") 2>conftest.er1 | ||
5044 | ac_status=$? | ||
5045 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5046 | rm -f conftest.er1 | ||
5047 | cat conftest.err >&5 | ||
5048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5049 | (exit $ac_status); } && { | ||
5050 | test -z "$ac_c_werror_flag" || | ||
5051 | test ! -s conftest.err | ||
5052 | } && test -s conftest.$ac_objext; then | ||
5053 | break | 5335 | break |
5054 | else | ||
5055 | echo "$as_me: failed program was:" >&5 | ||
5056 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5057 | |||
5058 | |||
5059 | fi | 5336 | fi |
5060 | |||
5061 | rm -f core conftest.err conftest.$ac_objext | 5337 | rm -f core conftest.err conftest.$ac_objext |
5062 | CC="$CC -n32" | 5338 | CC="$CC -n32" |
5063 | rm -f conftest.$ac_objext | 5339 | if ac_fn_c_try_compile "$LINENO"; then : |
5064 | if { (ac_try="$ac_compile" | ||
5065 | case "(($ac_try" in | ||
5066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5067 | *) ac_try_echo=$ac_try;; | ||
5068 | esac | ||
5069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5070 | (eval "$ac_compile") 2>conftest.er1 | ||
5071 | ac_status=$? | ||
5072 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5073 | rm -f conftest.er1 | ||
5074 | cat conftest.err >&5 | ||
5075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5076 | (exit $ac_status); } && { | ||
5077 | test -z "$ac_c_werror_flag" || | ||
5078 | test ! -s conftest.err | ||
5079 | } && test -s conftest.$ac_objext; then | ||
5080 | ac_cv_sys_largefile_CC=' -n32'; break | 5340 | ac_cv_sys_largefile_CC=' -n32'; break |
5081 | else | ||
5082 | echo "$as_me: failed program was:" >&5 | ||
5083 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5084 | |||
5085 | |||
5086 | fi | 5341 | fi |
5087 | |||
5088 | rm -f core conftest.err conftest.$ac_objext | 5342 | rm -f core conftest.err conftest.$ac_objext |
5089 | break | 5343 | break |
5090 | done | 5344 | done |
@@ -5092,23 +5346,19 @@ rm -f core conftest.err conftest.$ac_objext | |||
5092 | rm -f conftest.$ac_ext | 5346 | rm -f conftest.$ac_ext |
5093 | fi | 5347 | fi |
5094 | fi | 5348 | fi |
5095 | { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 5349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 |
5096 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } | 5350 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } |
5097 | if test "$ac_cv_sys_largefile_CC" != no; then | 5351 | if test "$ac_cv_sys_largefile_CC" != no; then |
5098 | CC=$CC$ac_cv_sys_largefile_CC | 5352 | CC=$CC$ac_cv_sys_largefile_CC |
5099 | fi | 5353 | fi |
5100 | 5354 | ||
5101 | { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5355 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5102 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } | 5356 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } |
5103 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 5357 | if ${ac_cv_sys_file_offset_bits+:} false; then : |
5104 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5358 | $as_echo_n "(cached) " >&6 |
5105 | else | 5359 | else |
5106 | while :; do | 5360 | while :; do |
5107 | cat >conftest.$ac_ext <<_ACEOF | 5361 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5108 | /* confdefs.h. */ | ||
5109 | _ACEOF | ||
5110 | cat confdefs.h >>conftest.$ac_ext | ||
5111 | cat >>conftest.$ac_ext <<_ACEOF | ||
5112 | /* end confdefs.h. */ | 5362 | /* end confdefs.h. */ |
5113 | #include <sys/types.h> | 5363 | #include <sys/types.h> |
5114 | /* Check that off_t can represent 2**63 - 1 correctly. | 5364 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -5127,37 +5377,11 @@ main () | |||
5127 | return 0; | 5377 | return 0; |
5128 | } | 5378 | } |
5129 | _ACEOF | 5379 | _ACEOF |
5130 | rm -f conftest.$ac_objext | 5380 | if ac_fn_c_try_compile "$LINENO"; then : |
5131 | if { (ac_try="$ac_compile" | ||
5132 | case "(($ac_try" in | ||
5133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5134 | *) ac_try_echo=$ac_try;; | ||
5135 | esac | ||
5136 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5137 | (eval "$ac_compile") 2>conftest.er1 | ||
5138 | ac_status=$? | ||
5139 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5140 | rm -f conftest.er1 | ||
5141 | cat conftest.err >&5 | ||
5142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5143 | (exit $ac_status); } && { | ||
5144 | test -z "$ac_c_werror_flag" || | ||
5145 | test ! -s conftest.err | ||
5146 | } && test -s conftest.$ac_objext; then | ||
5147 | ac_cv_sys_file_offset_bits=no; break | 5381 | ac_cv_sys_file_offset_bits=no; break |
5148 | else | ||
5149 | echo "$as_me: failed program was:" >&5 | ||
5150 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5151 | |||
5152 | |||
5153 | fi | 5382 | fi |
5154 | |||
5155 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5383 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5156 | cat >conftest.$ac_ext <<_ACEOF | 5384 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5157 | /* confdefs.h. */ | ||
5158 | _ACEOF | ||
5159 | cat confdefs.h >>conftest.$ac_ext | ||
5160 | cat >>conftest.$ac_ext <<_ACEOF | ||
5161 | /* end confdefs.h. */ | 5385 | /* end confdefs.h. */ |
5162 | #define _FILE_OFFSET_BITS 64 | 5386 | #define _FILE_OFFSET_BITS 64 |
5163 | #include <sys/types.h> | 5387 | #include <sys/types.h> |
@@ -5177,38 +5401,16 @@ main () | |||
5177 | return 0; | 5401 | return 0; |
5178 | } | 5402 | } |
5179 | _ACEOF | 5403 | _ACEOF |
5180 | rm -f conftest.$ac_objext | 5404 | if ac_fn_c_try_compile "$LINENO"; then : |
5181 | if { (ac_try="$ac_compile" | ||
5182 | case "(($ac_try" in | ||
5183 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5184 | *) ac_try_echo=$ac_try;; | ||
5185 | esac | ||
5186 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5187 | (eval "$ac_compile") 2>conftest.er1 | ||
5188 | ac_status=$? | ||
5189 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5190 | rm -f conftest.er1 | ||
5191 | cat conftest.err >&5 | ||
5192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5193 | (exit $ac_status); } && { | ||
5194 | test -z "$ac_c_werror_flag" || | ||
5195 | test ! -s conftest.err | ||
5196 | } && test -s conftest.$ac_objext; then | ||
5197 | ac_cv_sys_file_offset_bits=64; break | 5405 | ac_cv_sys_file_offset_bits=64; break |
5198 | else | ||
5199 | echo "$as_me: failed program was:" >&5 | ||
5200 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5201 | |||
5202 | |||
5203 | fi | 5406 | fi |
5204 | |||
5205 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5206 | ac_cv_sys_file_offset_bits=unknown | 5408 | ac_cv_sys_file_offset_bits=unknown |
5207 | break | 5409 | break |
5208 | done | 5410 | done |
5209 | fi | 5411 | fi |
5210 | { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5412 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 |
5211 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } | 5413 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } |
5212 | case $ac_cv_sys_file_offset_bits in #( | 5414 | case $ac_cv_sys_file_offset_bits in #( |
5213 | no | unknown) ;; | 5415 | no | unknown) ;; |
5214 | *) | 5416 | *) |
@@ -5217,19 +5419,15 @@ cat >>confdefs.h <<_ACEOF | |||
5217 | _ACEOF | 5419 | _ACEOF |
5218 | ;; | 5420 | ;; |
5219 | esac | 5421 | esac |
5220 | rm -f conftest* | 5422 | rm -rf conftest* |
5221 | if test $ac_cv_sys_file_offset_bits = unknown; then | 5423 | if test $ac_cv_sys_file_offset_bits = unknown; then |
5222 | { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 |
5223 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } | 5425 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } |
5224 | if test "${ac_cv_sys_large_files+set}" = set; then | 5426 | if ${ac_cv_sys_large_files+:} false; then : |
5225 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5427 | $as_echo_n "(cached) " >&6 |
5226 | else | 5428 | else |
5227 | while :; do | 5429 | while :; do |
5228 | cat >conftest.$ac_ext <<_ACEOF | 5430 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5229 | /* confdefs.h. */ | ||
5230 | _ACEOF | ||
5231 | cat confdefs.h >>conftest.$ac_ext | ||
5232 | cat >>conftest.$ac_ext <<_ACEOF | ||
5233 | /* end confdefs.h. */ | 5431 | /* end confdefs.h. */ |
5234 | #include <sys/types.h> | 5432 | #include <sys/types.h> |
5235 | /* Check that off_t can represent 2**63 - 1 correctly. | 5433 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -5248,37 +5446,11 @@ main () | |||
5248 | return 0; | 5446 | return 0; |
5249 | } | 5447 | } |
5250 | _ACEOF | 5448 | _ACEOF |
5251 | rm -f conftest.$ac_objext | 5449 | if ac_fn_c_try_compile "$LINENO"; then : |
5252 | if { (ac_try="$ac_compile" | ||
5253 | case "(($ac_try" in | ||
5254 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5255 | *) ac_try_echo=$ac_try;; | ||
5256 | esac | ||
5257 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5258 | (eval "$ac_compile") 2>conftest.er1 | ||
5259 | ac_status=$? | ||
5260 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5261 | rm -f conftest.er1 | ||
5262 | cat conftest.err >&5 | ||
5263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5264 | (exit $ac_status); } && { | ||
5265 | test -z "$ac_c_werror_flag" || | ||
5266 | test ! -s conftest.err | ||
5267 | } && test -s conftest.$ac_objext; then | ||
5268 | ac_cv_sys_large_files=no; break | 5450 | ac_cv_sys_large_files=no; break |
5269 | else | ||
5270 | echo "$as_me: failed program was:" >&5 | ||
5271 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5272 | |||
5273 | |||
5274 | fi | 5451 | fi |
5275 | |||
5276 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5452 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5277 | cat >conftest.$ac_ext <<_ACEOF | 5453 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5278 | /* confdefs.h. */ | ||
5279 | _ACEOF | ||
5280 | cat confdefs.h >>conftest.$ac_ext | ||
5281 | cat >>conftest.$ac_ext <<_ACEOF | ||
5282 | /* end confdefs.h. */ | 5454 | /* end confdefs.h. */ |
5283 | #define _LARGE_FILES 1 | 5455 | #define _LARGE_FILES 1 |
5284 | #include <sys/types.h> | 5456 | #include <sys/types.h> |
@@ -5298,38 +5470,16 @@ main () | |||
5298 | return 0; | 5470 | return 0; |
5299 | } | 5471 | } |
5300 | _ACEOF | 5472 | _ACEOF |
5301 | rm -f conftest.$ac_objext | 5473 | if ac_fn_c_try_compile "$LINENO"; then : |
5302 | if { (ac_try="$ac_compile" | ||
5303 | case "(($ac_try" in | ||
5304 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5305 | *) ac_try_echo=$ac_try;; | ||
5306 | esac | ||
5307 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5308 | (eval "$ac_compile") 2>conftest.er1 | ||
5309 | ac_status=$? | ||
5310 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5311 | rm -f conftest.er1 | ||
5312 | cat conftest.err >&5 | ||
5313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5314 | (exit $ac_status); } && { | ||
5315 | test -z "$ac_c_werror_flag" || | ||
5316 | test ! -s conftest.err | ||
5317 | } && test -s conftest.$ac_objext; then | ||
5318 | ac_cv_sys_large_files=1; break | 5474 | ac_cv_sys_large_files=1; break |
5319 | else | ||
5320 | echo "$as_me: failed program was:" >&5 | ||
5321 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5322 | |||
5323 | |||
5324 | fi | 5475 | fi |
5325 | |||
5326 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5476 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5327 | ac_cv_sys_large_files=unknown | 5477 | ac_cv_sys_large_files=unknown |
5328 | break | 5478 | break |
5329 | done | 5479 | done |
5330 | fi | 5480 | fi |
5331 | { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 5481 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 |
5332 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } | 5482 | $as_echo "$ac_cv_sys_large_files" >&6; } |
5333 | case $ac_cv_sys_large_files in #( | 5483 | case $ac_cv_sys_large_files in #( |
5334 | no | unknown) ;; | 5484 | no | unknown) ;; |
5335 | *) | 5485 | *) |
@@ -5338,80 +5488,23 @@ cat >>confdefs.h <<_ACEOF | |||
5338 | _ACEOF | 5488 | _ACEOF |
5339 | ;; | 5489 | ;; |
5340 | esac | 5490 | esac |
5341 | rm -f conftest* | 5491 | rm -rf conftest* |
5342 | fi | 5492 | fi |
5343 | fi | ||
5344 | 5493 | ||
5345 | 5494 | ||
5346 | if test -z "$AR" ; then | ||
5347 | { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 | ||
5348 | echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} | ||
5349 | { (exit 1); exit 1; }; } | ||
5350 | fi | 5495 | fi |
5351 | 5496 | ||
5352 | # Use LOGIN_PROGRAM from environment if possible | ||
5353 | if test ! -z "$LOGIN_PROGRAM" ; then | ||
5354 | |||
5355 | cat >>confdefs.h <<_ACEOF | ||
5356 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" | ||
5357 | _ACEOF | ||
5358 | 5497 | ||
5359 | else | 5498 | if test -z "$AR" ; then |
5360 | # Search for login | 5499 | as_fn_error $? "*** 'ar' missing, please install or fix your \$PATH ***" "$LINENO" 5 |
5361 | # Extract the first word of "login", so it can be a program name with args. | ||
5362 | set dummy login; ac_word=$2 | ||
5363 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | ||
5364 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | ||
5365 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then | ||
5366 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5367 | else | ||
5368 | case $LOGIN_PROGRAM_FALLBACK in | ||
5369 | [\\/]* | ?:[\\/]*) | ||
5370 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. | ||
5371 | ;; | ||
5372 | *) | ||
5373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
5374 | for as_dir in $PATH | ||
5375 | do | ||
5376 | IFS=$as_save_IFS | ||
5377 | test -z "$as_dir" && as_dir=. | ||
5378 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
5379 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | ||
5380 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" | ||
5381 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
5382 | break 2 | ||
5383 | fi | ||
5384 | done | ||
5385 | done | ||
5386 | IFS=$as_save_IFS | ||
5387 | |||
5388 | ;; | ||
5389 | esac | ||
5390 | fi | ||
5391 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | ||
5392 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | ||
5393 | { echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 | ||
5394 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6; } | ||
5395 | else | ||
5396 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5397 | echo "${ECHO_T}no" >&6; } | ||
5398 | fi | ||
5399 | |||
5400 | |||
5401 | if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then | ||
5402 | cat >>confdefs.h <<_ACEOF | ||
5403 | #define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" | ||
5404 | _ACEOF | ||
5405 | |||
5406 | fi | ||
5407 | fi | 5500 | fi |
5408 | 5501 | ||
5409 | # Extract the first word of "passwd", so it can be a program name with args. | 5502 | # Extract the first word of "passwd", so it can be a program name with args. |
5410 | set dummy passwd; ac_word=$2 | 5503 | set dummy passwd; ac_word=$2 |
5411 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5504 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
5412 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 5505 | $as_echo_n "checking for $ac_word... " >&6; } |
5413 | if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then | 5506 | if ${ac_cv_path_PATH_PASSWD_PROG+:} false; then : |
5414 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5507 | $as_echo_n "(cached) " >&6 |
5415 | else | 5508 | else |
5416 | case $PATH_PASSWD_PROG in | 5509 | case $PATH_PASSWD_PROG in |
5417 | [\\/]* | ?:[\\/]*) | 5510 | [\\/]* | ?:[\\/]*) |
@@ -5423,14 +5516,14 @@ for as_dir in $PATH | |||
5423 | do | 5516 | do |
5424 | IFS=$as_save_IFS | 5517 | IFS=$as_save_IFS |
5425 | test -z "$as_dir" && as_dir=. | 5518 | test -z "$as_dir" && as_dir=. |
5426 | for ac_exec_ext in '' $ac_executable_extensions; do | 5519 | for ac_exec_ext in '' $ac_executable_extensions; do |
5427 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5520 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5428 | ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" | 5521 | ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" |
5429 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5522 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5430 | break 2 | 5523 | break 2 |
5431 | fi | 5524 | fi |
5432 | done | 5525 | done |
5433 | done | 5526 | done |
5434 | IFS=$as_save_IFS | 5527 | IFS=$as_save_IFS |
5435 | 5528 | ||
5436 | ;; | 5529 | ;; |
@@ -5438,11 +5531,11 @@ esac | |||
5438 | fi | 5531 | fi |
5439 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG | 5532 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG |
5440 | if test -n "$PATH_PASSWD_PROG"; then | 5533 | if test -n "$PATH_PASSWD_PROG"; then |
5441 | { echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5 | 5534 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_PASSWD_PROG" >&5 |
5442 | echo "${ECHO_T}$PATH_PASSWD_PROG" >&6; } | 5535 | $as_echo "$PATH_PASSWD_PROG" >&6; } |
5443 | else | 5536 | else |
5444 | { echo "$as_me:$LINENO: result: no" >&5 | 5537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5445 | echo "${ECHO_T}no" >&6; } | 5538 | $as_echo "no" >&6; } |
5446 | fi | 5539 | fi |
5447 | 5540 | ||
5448 | 5541 | ||
@@ -5459,18 +5552,14 @@ if test -z "$LD" ; then | |||
5459 | fi | 5552 | fi |
5460 | 5553 | ||
5461 | 5554 | ||
5462 | { echo "$as_me:$LINENO: checking for inline" >&5 | 5555 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
5463 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } | 5556 | $as_echo_n "checking for inline... " >&6; } |
5464 | if test "${ac_cv_c_inline+set}" = set; then | 5557 | if ${ac_cv_c_inline+:} false; then : |
5465 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 5558 | $as_echo_n "(cached) " >&6 |
5466 | else | 5559 | else |
5467 | ac_cv_c_inline=no | 5560 | ac_cv_c_inline=no |
5468 | for ac_kw in inline __inline__ __inline; do | 5561 | for ac_kw in inline __inline__ __inline; do |
5469 | cat >conftest.$ac_ext <<_ACEOF | 5562 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5470 | /* confdefs.h. */ | ||
5471 | _ACEOF | ||
5472 | cat confdefs.h >>conftest.$ac_ext | ||
5473 | cat >>conftest.$ac_ext <<_ACEOF | ||
5474 | /* end confdefs.h. */ | 5563 | /* end confdefs.h. */ |
5475 | #ifndef __cplusplus | 5564 | #ifndef __cplusplus |
5476 | typedef int foo_t; | 5565 | typedef int foo_t; |
@@ -5479,39 +5568,16 @@ $ac_kw foo_t foo () {return 0; } | |||
5479 | #endif | 5568 | #endif |
5480 | 5569 | ||
5481 | _ACEOF | 5570 | _ACEOF |
5482 | rm -f conftest.$ac_objext | 5571 | if ac_fn_c_try_compile "$LINENO"; then : |
5483 | if { (ac_try="$ac_compile" | ||
5484 | case "(($ac_try" in | ||
5485 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5486 | *) ac_try_echo=$ac_try;; | ||
5487 | esac | ||
5488 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5489 | (eval "$ac_compile") 2>conftest.er1 | ||
5490 | ac_status=$? | ||
5491 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5492 | rm -f conftest.er1 | ||
5493 | cat conftest.err >&5 | ||
5494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5495 | (exit $ac_status); } && { | ||
5496 | test -z "$ac_c_werror_flag" || | ||
5497 | test ! -s conftest.err | ||
5498 | } && test -s conftest.$ac_objext; then | ||
5499 | ac_cv_c_inline=$ac_kw | 5572 | ac_cv_c_inline=$ac_kw |
5500 | else | ||
5501 | echo "$as_me: failed program was:" >&5 | ||
5502 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5503 | |||
5504 | |||
5505 | fi | 5573 | fi |
5506 | |||
5507 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5574 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5508 | test "$ac_cv_c_inline" != no && break | 5575 | test "$ac_cv_c_inline" != no && break |
5509 | done | 5576 | done |
5510 | 5577 | ||
5511 | fi | 5578 | fi |
5512 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 5579 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 |
5513 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } | 5580 | $as_echo "$ac_cv_c_inline" >&6; } |
5514 | |||
5515 | 5581 | ||
5516 | case $ac_cv_c_inline in | 5582 | case $ac_cv_c_inline in |
5517 | inline | yes) ;; | 5583 | inline | yes) ;; |
@@ -5529,254 +5595,49 @@ _ACEOF | |||
5529 | esac | 5595 | esac |
5530 | 5596 | ||
5531 | 5597 | ||
5532 | { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | 5598 | ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include <limits.h> |
5533 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } | 5599 | " |
5534 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | 5600 | if test "x$ac_cv_have_decl_LLONG_MAX" = xyes; then : |
5535 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5536 | else | ||
5537 | cat >conftest.$ac_ext <<_ACEOF | ||
5538 | /* confdefs.h. */ | ||
5539 | _ACEOF | ||
5540 | cat confdefs.h >>conftest.$ac_ext | ||
5541 | cat >>conftest.$ac_ext <<_ACEOF | ||
5542 | /* end confdefs.h. */ | ||
5543 | #include <limits.h> | ||
5544 | |||
5545 | int | ||
5546 | main () | ||
5547 | { | ||
5548 | #ifndef LLONG_MAX | ||
5549 | (void) LLONG_MAX; | ||
5550 | #endif | ||
5551 | |||
5552 | ; | ||
5553 | return 0; | ||
5554 | } | ||
5555 | _ACEOF | ||
5556 | rm -f conftest.$ac_objext | ||
5557 | if { (ac_try="$ac_compile" | ||
5558 | case "(($ac_try" in | ||
5559 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5560 | *) ac_try_echo=$ac_try;; | ||
5561 | esac | ||
5562 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5563 | (eval "$ac_compile") 2>conftest.er1 | ||
5564 | ac_status=$? | ||
5565 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5566 | rm -f conftest.er1 | ||
5567 | cat conftest.err >&5 | ||
5568 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5569 | (exit $ac_status); } && { | ||
5570 | test -z "$ac_c_werror_flag" || | ||
5571 | test ! -s conftest.err | ||
5572 | } && test -s conftest.$ac_objext; then | ||
5573 | ac_cv_have_decl_LLONG_MAX=yes | ||
5574 | else | ||
5575 | echo "$as_me: failed program was:" >&5 | ||
5576 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5577 | |||
5578 | ac_cv_have_decl_LLONG_MAX=no | ||
5579 | fi | ||
5580 | |||
5581 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5582 | fi | ||
5583 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
5584 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } | ||
5585 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
5586 | have_llong_max=1 | 5601 | have_llong_max=1 |
5587 | fi | 5602 | fi |
5588 | 5603 | ||
5589 | { echo "$as_me:$LINENO: checking whether SYSTR_POLICY_KILL is declared" >&5 | 5604 | ac_fn_c_check_decl "$LINENO" "SYSTR_POLICY_KILL" "ac_cv_have_decl_SYSTR_POLICY_KILL" " |
5590 | echo $ECHO_N "checking whether SYSTR_POLICY_KILL is declared... $ECHO_C" >&6; } | ||
5591 | if test "${ac_cv_have_decl_SYSTR_POLICY_KILL+set}" = set; then | ||
5592 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5593 | else | ||
5594 | cat >conftest.$ac_ext <<_ACEOF | ||
5595 | /* confdefs.h. */ | ||
5596 | _ACEOF | ||
5597 | cat confdefs.h >>conftest.$ac_ext | ||
5598 | cat >>conftest.$ac_ext <<_ACEOF | ||
5599 | /* end confdefs.h. */ | ||
5600 | |||
5601 | #include <sys/types.h> | 5605 | #include <sys/types.h> |
5602 | #include <sys/param.h> | 5606 | #include <sys/param.h> |
5603 | #include <dev/systrace.h> | 5607 | #include <dev/systrace.h> |
5604 | 5608 | ||
5605 | 5609 | " | |
5606 | int | 5610 | if test "x$ac_cv_have_decl_SYSTR_POLICY_KILL" = xyes; then : |
5607 | main () | ||
5608 | { | ||
5609 | #ifndef SYSTR_POLICY_KILL | ||
5610 | (void) SYSTR_POLICY_KILL; | ||
5611 | #endif | ||
5612 | |||
5613 | ; | ||
5614 | return 0; | ||
5615 | } | ||
5616 | _ACEOF | ||
5617 | rm -f conftest.$ac_objext | ||
5618 | if { (ac_try="$ac_compile" | ||
5619 | case "(($ac_try" in | ||
5620 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5621 | *) ac_try_echo=$ac_try;; | ||
5622 | esac | ||
5623 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5624 | (eval "$ac_compile") 2>conftest.er1 | ||
5625 | ac_status=$? | ||
5626 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5627 | rm -f conftest.er1 | ||
5628 | cat conftest.err >&5 | ||
5629 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5630 | (exit $ac_status); } && { | ||
5631 | test -z "$ac_c_werror_flag" || | ||
5632 | test ! -s conftest.err | ||
5633 | } && test -s conftest.$ac_objext; then | ||
5634 | ac_cv_have_decl_SYSTR_POLICY_KILL=yes | ||
5635 | else | ||
5636 | echo "$as_me: failed program was:" >&5 | ||
5637 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5638 | |||
5639 | ac_cv_have_decl_SYSTR_POLICY_KILL=no | ||
5640 | fi | ||
5641 | |||
5642 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5643 | fi | ||
5644 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SYSTR_POLICY_KILL" >&5 | ||
5645 | echo "${ECHO_T}$ac_cv_have_decl_SYSTR_POLICY_KILL" >&6; } | ||
5646 | if test $ac_cv_have_decl_SYSTR_POLICY_KILL = yes; then | ||
5647 | have_systr_policy_kill=1 | 5611 | have_systr_policy_kill=1 |
5648 | fi | 5612 | fi |
5649 | 5613 | ||
5650 | { echo "$as_me:$LINENO: checking whether RLIMIT_NPROC is declared" >&5 | 5614 | ac_fn_c_check_decl "$LINENO" "RLIMIT_NPROC" "ac_cv_have_decl_RLIMIT_NPROC" " |
5651 | echo $ECHO_N "checking whether RLIMIT_NPROC is declared... $ECHO_C" >&6; } | ||
5652 | if test "${ac_cv_have_decl_RLIMIT_NPROC+set}" = set; then | ||
5653 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5654 | else | ||
5655 | cat >conftest.$ac_ext <<_ACEOF | ||
5656 | /* confdefs.h. */ | ||
5657 | _ACEOF | ||
5658 | cat confdefs.h >>conftest.$ac_ext | ||
5659 | cat >>conftest.$ac_ext <<_ACEOF | ||
5660 | /* end confdefs.h. */ | ||
5661 | |||
5662 | #include <sys/types.h> | 5615 | #include <sys/types.h> |
5663 | #include <sys/resource.h> | 5616 | #include <sys/resource.h> |
5664 | 5617 | ||
5618 | " | ||
5619 | if test "x$ac_cv_have_decl_RLIMIT_NPROC" = xyes; then : | ||
5665 | 5620 | ||
5666 | int | 5621 | $as_echo "#define HAVE_RLIMIT_NPROC /**/" >>confdefs.h |
5667 | main () | ||
5668 | { | ||
5669 | #ifndef RLIMIT_NPROC | ||
5670 | (void) RLIMIT_NPROC; | ||
5671 | #endif | ||
5672 | |||
5673 | ; | ||
5674 | return 0; | ||
5675 | } | ||
5676 | _ACEOF | ||
5677 | rm -f conftest.$ac_objext | ||
5678 | if { (ac_try="$ac_compile" | ||
5679 | case "(($ac_try" in | ||
5680 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5681 | *) ac_try_echo=$ac_try;; | ||
5682 | esac | ||
5683 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5684 | (eval "$ac_compile") 2>conftest.er1 | ||
5685 | ac_status=$? | ||
5686 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5687 | rm -f conftest.er1 | ||
5688 | cat conftest.err >&5 | ||
5689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5690 | (exit $ac_status); } && { | ||
5691 | test -z "$ac_c_werror_flag" || | ||
5692 | test ! -s conftest.err | ||
5693 | } && test -s conftest.$ac_objext; then | ||
5694 | ac_cv_have_decl_RLIMIT_NPROC=yes | ||
5695 | else | ||
5696 | echo "$as_me: failed program was:" >&5 | ||
5697 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5698 | |||
5699 | ac_cv_have_decl_RLIMIT_NPROC=no | ||
5700 | fi | ||
5701 | |||
5702 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5703 | fi | ||
5704 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_RLIMIT_NPROC" >&5 | ||
5705 | echo "${ECHO_T}$ac_cv_have_decl_RLIMIT_NPROC" >&6; } | ||
5706 | if test $ac_cv_have_decl_RLIMIT_NPROC = yes; then | ||
5707 | |||
5708 | cat >>confdefs.h <<\_ACEOF | ||
5709 | #define HAVE_RLIMIT_NPROC | ||
5710 | _ACEOF | ||
5711 | 5622 | ||
5712 | fi | 5623 | fi |
5713 | 5624 | ||
5714 | { echo "$as_me:$LINENO: checking whether PR_SET_NO_NEW_PRIVS is declared" >&5 | 5625 | ac_fn_c_check_decl "$LINENO" "PR_SET_NO_NEW_PRIVS" "ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" " |
5715 | echo $ECHO_N "checking whether PR_SET_NO_NEW_PRIVS is declared... $ECHO_C" >&6; } | ||
5716 | if test "${ac_cv_have_decl_PR_SET_NO_NEW_PRIVS+set}" = set; then | ||
5717 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5718 | else | ||
5719 | cat >conftest.$ac_ext <<_ACEOF | ||
5720 | /* confdefs.h. */ | ||
5721 | _ACEOF | ||
5722 | cat confdefs.h >>conftest.$ac_ext | ||
5723 | cat >>conftest.$ac_ext <<_ACEOF | ||
5724 | /* end confdefs.h. */ | ||
5725 | |||
5726 | #include <sys/types.h> | 5626 | #include <sys/types.h> |
5727 | #include <linux/prctl.h> | 5627 | #include <linux/prctl.h> |
5728 | 5628 | ||
5729 | 5629 | " | |
5730 | int | 5630 | if test "x$ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" = xyes; then : |
5731 | main () | ||
5732 | { | ||
5733 | #ifndef PR_SET_NO_NEW_PRIVS | ||
5734 | (void) PR_SET_NO_NEW_PRIVS; | ||
5735 | #endif | ||
5736 | |||
5737 | ; | ||
5738 | return 0; | ||
5739 | } | ||
5740 | _ACEOF | ||
5741 | rm -f conftest.$ac_objext | ||
5742 | if { (ac_try="$ac_compile" | ||
5743 | case "(($ac_try" in | ||
5744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5745 | *) ac_try_echo=$ac_try;; | ||
5746 | esac | ||
5747 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5748 | (eval "$ac_compile") 2>conftest.er1 | ||
5749 | ac_status=$? | ||
5750 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5751 | rm -f conftest.er1 | ||
5752 | cat conftest.err >&5 | ||
5753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5754 | (exit $ac_status); } && { | ||
5755 | test -z "$ac_c_werror_flag" || | ||
5756 | test ! -s conftest.err | ||
5757 | } && test -s conftest.$ac_objext; then | ||
5758 | ac_cv_have_decl_PR_SET_NO_NEW_PRIVS=yes | ||
5759 | else | ||
5760 | echo "$as_me: failed program was:" >&5 | ||
5761 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5762 | |||
5763 | ac_cv_have_decl_PR_SET_NO_NEW_PRIVS=no | ||
5764 | fi | ||
5765 | |||
5766 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5767 | fi | ||
5768 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" >&5 | ||
5769 | echo "${ECHO_T}$ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" >&6; } | ||
5770 | if test $ac_cv_have_decl_PR_SET_NO_NEW_PRIVS = yes; then | ||
5771 | have_linux_no_new_privs=1 | 5631 | have_linux_no_new_privs=1 |
5772 | fi | 5632 | fi |
5773 | 5633 | ||
5774 | 5634 | ||
5775 | openssl=yes | 5635 | openssl=yes |
5776 | ssh1=no | 5636 | ssh1=no |
5637 | COMMENT_OUT_RSA1="#no ssh1#" | ||
5777 | 5638 | ||
5778 | # Check whether --with-openssl was given. | 5639 | # Check whether --with-openssl was given. |
5779 | if test "${with_openssl+set}" = set; then | 5640 | if test "${with_openssl+set}" = set; then : |
5780 | withval=$with_openssl; if test "x$withval" = "xno" ; then | 5641 | withval=$with_openssl; if test "x$withval" = "xno" ; then |
5781 | openssl=no | 5642 | openssl=no |
5782 | ssh1=no | 5643 | ssh1=no |
@@ -5785,63 +5646,61 @@ if test "${with_openssl+set}" = set; then | |||
5785 | 5646 | ||
5786 | fi | 5647 | fi |
5787 | 5648 | ||
5788 | { echo "$as_me:$LINENO: checking whether OpenSSL will be used for cryptography" >&5 | 5649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL will be used for cryptography" >&5 |
5789 | echo $ECHO_N "checking whether OpenSSL will be used for cryptography... $ECHO_C" >&6; } | 5650 | $as_echo_n "checking whether OpenSSL will be used for cryptography... " >&6; } |
5790 | if test "x$openssl" = "xyes" ; then | 5651 | if test "x$openssl" = "xyes" ; then |
5791 | { echo "$as_me:$LINENO: result: yes" >&5 | 5652 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5792 | echo "${ECHO_T}yes" >&6; } | 5653 | $as_echo "yes" >&6; } |
5793 | 5654 | ||
5794 | cat >>confdefs.h <<_ACEOF | 5655 | cat >>confdefs.h <<_ACEOF |
5795 | #define WITH_OPENSSL 1 | 5656 | #define WITH_OPENSSL 1 |
5796 | _ACEOF | 5657 | _ACEOF |
5797 | 5658 | ||
5798 | else | 5659 | else |
5799 | { echo "$as_me:$LINENO: result: no" >&5 | 5660 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5800 | echo "${ECHO_T}no" >&6; } | 5661 | $as_echo "no" >&6; } |
5801 | fi | 5662 | fi |
5802 | 5663 | ||
5803 | 5664 | ||
5804 | # Check whether --with-ssh1 was given. | 5665 | # Check whether --with-ssh1 was given. |
5805 | if test "${with_ssh1+set}" = set; then | 5666 | if test "${with_ssh1+set}" = set; then : |
5806 | withval=$with_ssh1; | 5667 | withval=$with_ssh1; |
5807 | if test "x$withval" = "xyes" ; then | 5668 | if test "x$withval" = "xyes" ; then |
5808 | if test "x$openssl" = "xno" ; then | 5669 | if test "x$openssl" = "xno" ; then |
5809 | { { echo "$as_me:$LINENO: error: Cannot enable SSH protocol 1 with OpenSSL disabled" >&5 | 5670 | as_fn_error $? "Cannot enable SSH protocol 1 with OpenSSL disabled" "$LINENO" 5 |
5810 | echo "$as_me: error: Cannot enable SSH protocol 1 with OpenSSL disabled" >&2;} | ||
5811 | { (exit 1); exit 1; }; } | ||
5812 | fi | 5671 | fi |
5813 | ssh1=yes | 5672 | ssh1=yes |
5673 | COMMENT_OUT_RSA1="" | ||
5814 | elif test "x$withval" = "xno" ; then | 5674 | elif test "x$withval" = "xno" ; then |
5815 | ssh1=no | 5675 | ssh1=no |
5816 | else | 5676 | else |
5817 | { { echo "$as_me:$LINENO: error: unknown --with-ssh1 argument" >&5 | 5677 | as_fn_error $? "unknown --with-ssh1 argument" "$LINENO" 5 |
5818 | echo "$as_me: error: unknown --with-ssh1 argument" >&2;} | ||
5819 | { (exit 1); exit 1; }; } | ||
5820 | fi | 5678 | fi |
5821 | 5679 | ||
5822 | 5680 | ||
5823 | fi | 5681 | fi |
5824 | 5682 | ||
5825 | { echo "$as_me:$LINENO: checking whether SSH protocol 1 support is enabled" >&5 | 5683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SSH protocol 1 support is enabled" >&5 |
5826 | echo $ECHO_N "checking whether SSH protocol 1 support is enabled... $ECHO_C" >&6; } | 5684 | $as_echo_n "checking whether SSH protocol 1 support is enabled... " >&6; } |
5827 | if test "x$ssh1" = "xyes" ; then | 5685 | if test "x$ssh1" = "xyes" ; then |
5828 | { echo "$as_me:$LINENO: result: yes" >&5 | 5686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5829 | echo "${ECHO_T}yes" >&6; } | 5687 | $as_echo "yes" >&6; } |
5830 | 5688 | ||
5831 | cat >>confdefs.h <<_ACEOF | 5689 | cat >>confdefs.h <<_ACEOF |
5832 | #define WITH_SSH1 1 | 5690 | #define WITH_SSH1 1 |
5833 | _ACEOF | 5691 | _ACEOF |
5834 | 5692 | ||
5693 | |||
5835 | else | 5694 | else |
5836 | { echo "$as_me:$LINENO: result: no" >&5 | 5695 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5837 | echo "${ECHO_T}no" >&6; } | 5696 | $as_echo "no" >&6; } |
5838 | fi | 5697 | fi |
5839 | 5698 | ||
5840 | use_stack_protector=1 | 5699 | use_stack_protector=1 |
5841 | use_toolchain_hardening=1 | 5700 | use_toolchain_hardening=1 |
5842 | 5701 | ||
5843 | # Check whether --with-stackprotect was given. | 5702 | # Check whether --with-stackprotect was given. |
5844 | if test "${with_stackprotect+set}" = set; then | 5703 | if test "${with_stackprotect+set}" = set; then : |
5845 | withval=$with_stackprotect; | 5704 | withval=$with_stackprotect; |
5846 | if test "x$withval" = "xno"; then | 5705 | if test "x$withval" = "xno"; then |
5847 | use_stack_protector=0 | 5706 | use_stack_protector=0 |
@@ -5850,7 +5709,7 @@ fi | |||
5850 | 5709 | ||
5851 | 5710 | ||
5852 | # Check whether --with-hardening was given. | 5711 | # Check whether --with-hardening was given. |
5853 | if test "${with_hardening+set}" = set; then | 5712 | if test "${with_hardening+set}" = set; then : |
5854 | withval=$with_hardening; | 5713 | withval=$with_hardening; |
5855 | if test "x$withval" = "xno"; then | 5714 | if test "x$withval" = "xno"; then |
5856 | use_toolchain_hardening=0 | 5715 | use_toolchain_hardening=0 |
@@ -5860,64 +5719,36 @@ fi | |||
5860 | 5719 | ||
5861 | # We use -Werror for the tests only so that we catch warnings like "this is | 5720 | # We use -Werror for the tests only so that we catch warnings like "this is |
5862 | # on by default" for things like -fPIE. | 5721 | # on by default" for things like -fPIE. |
5863 | { echo "$as_me:$LINENO: checking if $CC supports -Werror" >&5 | 5722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 |
5864 | echo $ECHO_N "checking if $CC supports -Werror... $ECHO_C" >&6; } | 5723 | $as_echo_n "checking if $CC supports -Werror... " >&6; } |
5865 | saved_CFLAGS="$CFLAGS" | 5724 | saved_CFLAGS="$CFLAGS" |
5866 | CFLAGS="$CFLAGS -Werror" | 5725 | CFLAGS="$CFLAGS -Werror" |
5867 | cat >conftest.$ac_ext <<_ACEOF | 5726 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5868 | /* confdefs.h. */ | ||
5869 | _ACEOF | ||
5870 | cat confdefs.h >>conftest.$ac_ext | ||
5871 | cat >>conftest.$ac_ext <<_ACEOF | ||
5872 | /* end confdefs.h. */ | 5727 | /* end confdefs.h. */ |
5873 | int main(void) { return 0; } | 5728 | int main(void) { return 0; } |
5874 | _ACEOF | 5729 | _ACEOF |
5875 | rm -f conftest.$ac_objext | 5730 | if ac_fn_c_try_compile "$LINENO"; then : |
5876 | if { (ac_try="$ac_compile" | 5731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5877 | case "(($ac_try" in | 5732 | $as_echo "yes" >&6; } |
5878 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5879 | *) ac_try_echo=$ac_try;; | ||
5880 | esac | ||
5881 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5882 | (eval "$ac_compile") 2>conftest.er1 | ||
5883 | ac_status=$? | ||
5884 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5885 | rm -f conftest.er1 | ||
5886 | cat conftest.err >&5 | ||
5887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5888 | (exit $ac_status); } && { | ||
5889 | test -z "$ac_c_werror_flag" || | ||
5890 | test ! -s conftest.err | ||
5891 | } && test -s conftest.$ac_objext; then | ||
5892 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5893 | echo "${ECHO_T}yes" >&6; } | ||
5894 | WERROR="-Werror" | 5733 | WERROR="-Werror" |
5895 | else | 5734 | else |
5896 | echo "$as_me: failed program was:" >&5 | 5735 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5897 | sed 's/^/| /' conftest.$ac_ext >&5 | 5736 | $as_echo "no" >&6; } |
5898 | |||
5899 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5900 | echo "${ECHO_T}no" >&6; } | ||
5901 | WERROR="" | 5737 | WERROR="" |
5902 | 5738 | ||
5903 | fi | 5739 | fi |
5904 | |||
5905 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5740 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5906 | CFLAGS="$saved_CFLAGS" | 5741 | CFLAGS="$saved_CFLAGS" |
5907 | 5742 | ||
5908 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 5743 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
5909 | { | 5744 | { |
5910 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Qunused-arguments" >&5 | 5745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Qunused-arguments" >&5 |
5911 | echo $ECHO_N "checking if $CC supports compile flag -Qunused-arguments... $ECHO_C" >&6; } | 5746 | $as_echo_n "checking if $CC supports compile flag -Qunused-arguments... " >&6; } |
5912 | saved_CFLAGS="$CFLAGS" | 5747 | saved_CFLAGS="$CFLAGS" |
5913 | CFLAGS="$CFLAGS $WERROR -Qunused-arguments" | 5748 | CFLAGS="$CFLAGS $WERROR -Qunused-arguments" |
5914 | _define_flag="" | 5749 | _define_flag="" |
5915 | test "x$_define_flag" = "x" && _define_flag="-Qunused-arguments" | 5750 | test "x$_define_flag" = "x" && _define_flag="-Qunused-arguments" |
5916 | cat >conftest.$ac_ext <<_ACEOF | 5751 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5917 | /* confdefs.h. */ | ||
5918 | _ACEOF | ||
5919 | cat confdefs.h >>conftest.$ac_ext | ||
5920 | cat >>conftest.$ac_ext <<_ACEOF | ||
5921 | /* end confdefs.h. */ | 5752 | /* end confdefs.h. */ |
5922 | 5753 | ||
5923 | #include <stdlib.h> | 5754 | #include <stdlib.h> |
@@ -5933,58 +5764,34 @@ int main(int argc, char **argv) { | |||
5933 | } | 5764 | } |
5934 | 5765 | ||
5935 | _ACEOF | 5766 | _ACEOF |
5936 | rm -f conftest.$ac_objext | 5767 | if ac_fn_c_try_compile "$LINENO"; then : |
5937 | if { (ac_try="$ac_compile" | ||
5938 | case "(($ac_try" in | ||
5939 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5940 | *) ac_try_echo=$ac_try;; | ||
5941 | esac | ||
5942 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5943 | (eval "$ac_compile") 2>conftest.er1 | ||
5944 | ac_status=$? | ||
5945 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5946 | rm -f conftest.er1 | ||
5947 | cat conftest.err >&5 | ||
5948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5949 | (exit $ac_status); } && { | ||
5950 | test -z "$ac_c_werror_flag" || | ||
5951 | test ! -s conftest.err | ||
5952 | } && test -s conftest.$ac_objext; then | ||
5953 | 5768 | ||
5954 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5769 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5955 | then | 5770 | then |
5956 | { echo "$as_me:$LINENO: result: no" >&5 | 5771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5957 | echo "${ECHO_T}no" >&6; } | 5772 | $as_echo "no" >&6; } |
5958 | CFLAGS="$saved_CFLAGS" | 5773 | CFLAGS="$saved_CFLAGS" |
5959 | else | 5774 | else |
5960 | { echo "$as_me:$LINENO: result: yes" >&5 | 5775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5961 | echo "${ECHO_T}yes" >&6; } | 5776 | $as_echo "yes" >&6; } |
5962 | CFLAGS="$saved_CFLAGS $_define_flag" | 5777 | CFLAGS="$saved_CFLAGS $_define_flag" |
5963 | fi | 5778 | fi |
5964 | else | 5779 | else |
5965 | echo "$as_me: failed program was:" >&5 | 5780 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5966 | sed 's/^/| /' conftest.$ac_ext >&5 | 5781 | $as_echo "no" >&6; } |
5967 | |||
5968 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5969 | echo "${ECHO_T}no" >&6; } | ||
5970 | CFLAGS="$saved_CFLAGS" | 5782 | CFLAGS="$saved_CFLAGS" |
5971 | 5783 | ||
5972 | fi | 5784 | fi |
5973 | |||
5974 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5785 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5975 | } | 5786 | } |
5976 | { | 5787 | { |
5977 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wunknown-warning-option" >&5 | 5788 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wunknown-warning-option" >&5 |
5978 | echo $ECHO_N "checking if $CC supports compile flag -Wunknown-warning-option... $ECHO_C" >&6; } | 5789 | $as_echo_n "checking if $CC supports compile flag -Wunknown-warning-option... " >&6; } |
5979 | saved_CFLAGS="$CFLAGS" | 5790 | saved_CFLAGS="$CFLAGS" |
5980 | CFLAGS="$CFLAGS $WERROR -Wunknown-warning-option" | 5791 | CFLAGS="$CFLAGS $WERROR -Wunknown-warning-option" |
5981 | _define_flag="" | 5792 | _define_flag="" |
5982 | test "x$_define_flag" = "x" && _define_flag="-Wunknown-warning-option" | 5793 | test "x$_define_flag" = "x" && _define_flag="-Wunknown-warning-option" |
5983 | cat >conftest.$ac_ext <<_ACEOF | 5794 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5984 | /* confdefs.h. */ | ||
5985 | _ACEOF | ||
5986 | cat confdefs.h >>conftest.$ac_ext | ||
5987 | cat >>conftest.$ac_ext <<_ACEOF | ||
5988 | /* end confdefs.h. */ | 5795 | /* end confdefs.h. */ |
5989 | 5796 | ||
5990 | #include <stdlib.h> | 5797 | #include <stdlib.h> |
@@ -6000,58 +5807,34 @@ int main(int argc, char **argv) { | |||
6000 | } | 5807 | } |
6001 | 5808 | ||
6002 | _ACEOF | 5809 | _ACEOF |
6003 | rm -f conftest.$ac_objext | 5810 | if ac_fn_c_try_compile "$LINENO"; then : |
6004 | if { (ac_try="$ac_compile" | ||
6005 | case "(($ac_try" in | ||
6006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6007 | *) ac_try_echo=$ac_try;; | ||
6008 | esac | ||
6009 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6010 | (eval "$ac_compile") 2>conftest.er1 | ||
6011 | ac_status=$? | ||
6012 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6013 | rm -f conftest.er1 | ||
6014 | cat conftest.err >&5 | ||
6015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6016 | (exit $ac_status); } && { | ||
6017 | test -z "$ac_c_werror_flag" || | ||
6018 | test ! -s conftest.err | ||
6019 | } && test -s conftest.$ac_objext; then | ||
6020 | 5811 | ||
6021 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5812 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6022 | then | 5813 | then |
6023 | { echo "$as_me:$LINENO: result: no" >&5 | 5814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6024 | echo "${ECHO_T}no" >&6; } | 5815 | $as_echo "no" >&6; } |
6025 | CFLAGS="$saved_CFLAGS" | 5816 | CFLAGS="$saved_CFLAGS" |
6026 | else | 5817 | else |
6027 | { echo "$as_me:$LINENO: result: yes" >&5 | 5818 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6028 | echo "${ECHO_T}yes" >&6; } | 5819 | $as_echo "yes" >&6; } |
6029 | CFLAGS="$saved_CFLAGS $_define_flag" | 5820 | CFLAGS="$saved_CFLAGS $_define_flag" |
6030 | fi | 5821 | fi |
6031 | else | 5822 | else |
6032 | echo "$as_me: failed program was:" >&5 | 5823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6033 | sed 's/^/| /' conftest.$ac_ext >&5 | 5824 | $as_echo "no" >&6; } |
6034 | |||
6035 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6036 | echo "${ECHO_T}no" >&6; } | ||
6037 | CFLAGS="$saved_CFLAGS" | 5825 | CFLAGS="$saved_CFLAGS" |
6038 | 5826 | ||
6039 | fi | 5827 | fi |
6040 | |||
6041 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5828 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6042 | } | 5829 | } |
6043 | { | 5830 | { |
6044 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wall" >&5 | 5831 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wall" >&5 |
6045 | echo $ECHO_N "checking if $CC supports compile flag -Wall... $ECHO_C" >&6; } | 5832 | $as_echo_n "checking if $CC supports compile flag -Wall... " >&6; } |
6046 | saved_CFLAGS="$CFLAGS" | 5833 | saved_CFLAGS="$CFLAGS" |
6047 | CFLAGS="$CFLAGS $WERROR -Wall" | 5834 | CFLAGS="$CFLAGS $WERROR -Wall" |
6048 | _define_flag="" | 5835 | _define_flag="" |
6049 | test "x$_define_flag" = "x" && _define_flag="-Wall" | 5836 | test "x$_define_flag" = "x" && _define_flag="-Wall" |
6050 | cat >conftest.$ac_ext <<_ACEOF | 5837 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6051 | /* confdefs.h. */ | ||
6052 | _ACEOF | ||
6053 | cat confdefs.h >>conftest.$ac_ext | ||
6054 | cat >>conftest.$ac_ext <<_ACEOF | ||
6055 | /* end confdefs.h. */ | 5838 | /* end confdefs.h. */ |
6056 | 5839 | ||
6057 | #include <stdlib.h> | 5840 | #include <stdlib.h> |
@@ -6067,58 +5850,34 @@ int main(int argc, char **argv) { | |||
6067 | } | 5850 | } |
6068 | 5851 | ||
6069 | _ACEOF | 5852 | _ACEOF |
6070 | rm -f conftest.$ac_objext | 5853 | if ac_fn_c_try_compile "$LINENO"; then : |
6071 | if { (ac_try="$ac_compile" | ||
6072 | case "(($ac_try" in | ||
6073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6074 | *) ac_try_echo=$ac_try;; | ||
6075 | esac | ||
6076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6077 | (eval "$ac_compile") 2>conftest.er1 | ||
6078 | ac_status=$? | ||
6079 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6080 | rm -f conftest.er1 | ||
6081 | cat conftest.err >&5 | ||
6082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6083 | (exit $ac_status); } && { | ||
6084 | test -z "$ac_c_werror_flag" || | ||
6085 | test ! -s conftest.err | ||
6086 | } && test -s conftest.$ac_objext; then | ||
6087 | 5854 | ||
6088 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5855 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6089 | then | 5856 | then |
6090 | { echo "$as_me:$LINENO: result: no" >&5 | 5857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6091 | echo "${ECHO_T}no" >&6; } | 5858 | $as_echo "no" >&6; } |
6092 | CFLAGS="$saved_CFLAGS" | 5859 | CFLAGS="$saved_CFLAGS" |
6093 | else | 5860 | else |
6094 | { echo "$as_me:$LINENO: result: yes" >&5 | 5861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6095 | echo "${ECHO_T}yes" >&6; } | 5862 | $as_echo "yes" >&6; } |
6096 | CFLAGS="$saved_CFLAGS $_define_flag" | 5863 | CFLAGS="$saved_CFLAGS $_define_flag" |
6097 | fi | 5864 | fi |
6098 | else | 5865 | else |
6099 | echo "$as_me: failed program was:" >&5 | 5866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6100 | sed 's/^/| /' conftest.$ac_ext >&5 | 5867 | $as_echo "no" >&6; } |
6101 | |||
6102 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6103 | echo "${ECHO_T}no" >&6; } | ||
6104 | CFLAGS="$saved_CFLAGS" | 5868 | CFLAGS="$saved_CFLAGS" |
6105 | 5869 | ||
6106 | fi | 5870 | fi |
6107 | |||
6108 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5871 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6109 | } | 5872 | } |
6110 | { | 5873 | { |
6111 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wpointer-arith" >&5 | 5874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wpointer-arith" >&5 |
6112 | echo $ECHO_N "checking if $CC supports compile flag -Wpointer-arith... $ECHO_C" >&6; } | 5875 | $as_echo_n "checking if $CC supports compile flag -Wpointer-arith... " >&6; } |
6113 | saved_CFLAGS="$CFLAGS" | 5876 | saved_CFLAGS="$CFLAGS" |
6114 | CFLAGS="$CFLAGS $WERROR -Wpointer-arith" | 5877 | CFLAGS="$CFLAGS $WERROR -Wpointer-arith" |
6115 | _define_flag="" | 5878 | _define_flag="" |
6116 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-arith" | 5879 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-arith" |
6117 | cat >conftest.$ac_ext <<_ACEOF | 5880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6118 | /* confdefs.h. */ | ||
6119 | _ACEOF | ||
6120 | cat confdefs.h >>conftest.$ac_ext | ||
6121 | cat >>conftest.$ac_ext <<_ACEOF | ||
6122 | /* end confdefs.h. */ | 5881 | /* end confdefs.h. */ |
6123 | 5882 | ||
6124 | #include <stdlib.h> | 5883 | #include <stdlib.h> |
@@ -6134,58 +5893,34 @@ int main(int argc, char **argv) { | |||
6134 | } | 5893 | } |
6135 | 5894 | ||
6136 | _ACEOF | 5895 | _ACEOF |
6137 | rm -f conftest.$ac_objext | 5896 | if ac_fn_c_try_compile "$LINENO"; then : |
6138 | if { (ac_try="$ac_compile" | ||
6139 | case "(($ac_try" in | ||
6140 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6141 | *) ac_try_echo=$ac_try;; | ||
6142 | esac | ||
6143 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6144 | (eval "$ac_compile") 2>conftest.er1 | ||
6145 | ac_status=$? | ||
6146 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6147 | rm -f conftest.er1 | ||
6148 | cat conftest.err >&5 | ||
6149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6150 | (exit $ac_status); } && { | ||
6151 | test -z "$ac_c_werror_flag" || | ||
6152 | test ! -s conftest.err | ||
6153 | } && test -s conftest.$ac_objext; then | ||
6154 | 5897 | ||
6155 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5898 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6156 | then | 5899 | then |
6157 | { echo "$as_me:$LINENO: result: no" >&5 | 5900 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6158 | echo "${ECHO_T}no" >&6; } | 5901 | $as_echo "no" >&6; } |
6159 | CFLAGS="$saved_CFLAGS" | 5902 | CFLAGS="$saved_CFLAGS" |
6160 | else | 5903 | else |
6161 | { echo "$as_me:$LINENO: result: yes" >&5 | 5904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6162 | echo "${ECHO_T}yes" >&6; } | 5905 | $as_echo "yes" >&6; } |
6163 | CFLAGS="$saved_CFLAGS $_define_flag" | 5906 | CFLAGS="$saved_CFLAGS $_define_flag" |
6164 | fi | 5907 | fi |
6165 | else | 5908 | else |
6166 | echo "$as_me: failed program was:" >&5 | 5909 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6167 | sed 's/^/| /' conftest.$ac_ext >&5 | 5910 | $as_echo "no" >&6; } |
6168 | |||
6169 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6170 | echo "${ECHO_T}no" >&6; } | ||
6171 | CFLAGS="$saved_CFLAGS" | 5911 | CFLAGS="$saved_CFLAGS" |
6172 | 5912 | ||
6173 | fi | 5913 | fi |
6174 | |||
6175 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5914 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6176 | } | 5915 | } |
6177 | { | 5916 | { |
6178 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wuninitialized" >&5 | 5917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wuninitialized" >&5 |
6179 | echo $ECHO_N "checking if $CC supports compile flag -Wuninitialized... $ECHO_C" >&6; } | 5918 | $as_echo_n "checking if $CC supports compile flag -Wuninitialized... " >&6; } |
6180 | saved_CFLAGS="$CFLAGS" | 5919 | saved_CFLAGS="$CFLAGS" |
6181 | CFLAGS="$CFLAGS $WERROR -Wuninitialized" | 5920 | CFLAGS="$CFLAGS $WERROR -Wuninitialized" |
6182 | _define_flag="" | 5921 | _define_flag="" |
6183 | test "x$_define_flag" = "x" && _define_flag="-Wuninitialized" | 5922 | test "x$_define_flag" = "x" && _define_flag="-Wuninitialized" |
6184 | cat >conftest.$ac_ext <<_ACEOF | 5923 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6185 | /* confdefs.h. */ | ||
6186 | _ACEOF | ||
6187 | cat confdefs.h >>conftest.$ac_ext | ||
6188 | cat >>conftest.$ac_ext <<_ACEOF | ||
6189 | /* end confdefs.h. */ | 5924 | /* end confdefs.h. */ |
6190 | 5925 | ||
6191 | #include <stdlib.h> | 5926 | #include <stdlib.h> |
@@ -6201,58 +5936,34 @@ int main(int argc, char **argv) { | |||
6201 | } | 5936 | } |
6202 | 5937 | ||
6203 | _ACEOF | 5938 | _ACEOF |
6204 | rm -f conftest.$ac_objext | 5939 | if ac_fn_c_try_compile "$LINENO"; then : |
6205 | if { (ac_try="$ac_compile" | ||
6206 | case "(($ac_try" in | ||
6207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6208 | *) ac_try_echo=$ac_try;; | ||
6209 | esac | ||
6210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6211 | (eval "$ac_compile") 2>conftest.er1 | ||
6212 | ac_status=$? | ||
6213 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6214 | rm -f conftest.er1 | ||
6215 | cat conftest.err >&5 | ||
6216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6217 | (exit $ac_status); } && { | ||
6218 | test -z "$ac_c_werror_flag" || | ||
6219 | test ! -s conftest.err | ||
6220 | } && test -s conftest.$ac_objext; then | ||
6221 | 5940 | ||
6222 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5941 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6223 | then | 5942 | then |
6224 | { echo "$as_me:$LINENO: result: no" >&5 | 5943 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6225 | echo "${ECHO_T}no" >&6; } | 5944 | $as_echo "no" >&6; } |
6226 | CFLAGS="$saved_CFLAGS" | 5945 | CFLAGS="$saved_CFLAGS" |
6227 | else | 5946 | else |
6228 | { echo "$as_me:$LINENO: result: yes" >&5 | 5947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6229 | echo "${ECHO_T}yes" >&6; } | 5948 | $as_echo "yes" >&6; } |
6230 | CFLAGS="$saved_CFLAGS $_define_flag" | 5949 | CFLAGS="$saved_CFLAGS $_define_flag" |
6231 | fi | 5950 | fi |
6232 | else | 5951 | else |
6233 | echo "$as_me: failed program was:" >&5 | 5952 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6234 | sed 's/^/| /' conftest.$ac_ext >&5 | 5953 | $as_echo "no" >&6; } |
6235 | |||
6236 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6237 | echo "${ECHO_T}no" >&6; } | ||
6238 | CFLAGS="$saved_CFLAGS" | 5954 | CFLAGS="$saved_CFLAGS" |
6239 | 5955 | ||
6240 | fi | 5956 | fi |
6241 | |||
6242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5957 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6243 | } | 5958 | } |
6244 | { | 5959 | { |
6245 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wsign-compare" >&5 | 5960 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wsign-compare" >&5 |
6246 | echo $ECHO_N "checking if $CC supports compile flag -Wsign-compare... $ECHO_C" >&6; } | 5961 | $as_echo_n "checking if $CC supports compile flag -Wsign-compare... " >&6; } |
6247 | saved_CFLAGS="$CFLAGS" | 5962 | saved_CFLAGS="$CFLAGS" |
6248 | CFLAGS="$CFLAGS $WERROR -Wsign-compare" | 5963 | CFLAGS="$CFLAGS $WERROR -Wsign-compare" |
6249 | _define_flag="" | 5964 | _define_flag="" |
6250 | test "x$_define_flag" = "x" && _define_flag="-Wsign-compare" | 5965 | test "x$_define_flag" = "x" && _define_flag="-Wsign-compare" |
6251 | cat >conftest.$ac_ext <<_ACEOF | 5966 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6252 | /* confdefs.h. */ | ||
6253 | _ACEOF | ||
6254 | cat confdefs.h >>conftest.$ac_ext | ||
6255 | cat >>conftest.$ac_ext <<_ACEOF | ||
6256 | /* end confdefs.h. */ | 5967 | /* end confdefs.h. */ |
6257 | 5968 | ||
6258 | #include <stdlib.h> | 5969 | #include <stdlib.h> |
@@ -6268,58 +5979,34 @@ int main(int argc, char **argv) { | |||
6268 | } | 5979 | } |
6269 | 5980 | ||
6270 | _ACEOF | 5981 | _ACEOF |
6271 | rm -f conftest.$ac_objext | 5982 | if ac_fn_c_try_compile "$LINENO"; then : |
6272 | if { (ac_try="$ac_compile" | ||
6273 | case "(($ac_try" in | ||
6274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6275 | *) ac_try_echo=$ac_try;; | ||
6276 | esac | ||
6277 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6278 | (eval "$ac_compile") 2>conftest.er1 | ||
6279 | ac_status=$? | ||
6280 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6281 | rm -f conftest.er1 | ||
6282 | cat conftest.err >&5 | ||
6283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6284 | (exit $ac_status); } && { | ||
6285 | test -z "$ac_c_werror_flag" || | ||
6286 | test ! -s conftest.err | ||
6287 | } && test -s conftest.$ac_objext; then | ||
6288 | 5983 | ||
6289 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5984 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6290 | then | 5985 | then |
6291 | { echo "$as_me:$LINENO: result: no" >&5 | 5986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6292 | echo "${ECHO_T}no" >&6; } | 5987 | $as_echo "no" >&6; } |
6293 | CFLAGS="$saved_CFLAGS" | 5988 | CFLAGS="$saved_CFLAGS" |
6294 | else | 5989 | else |
6295 | { echo "$as_me:$LINENO: result: yes" >&5 | 5990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6296 | echo "${ECHO_T}yes" >&6; } | 5991 | $as_echo "yes" >&6; } |
6297 | CFLAGS="$saved_CFLAGS $_define_flag" | 5992 | CFLAGS="$saved_CFLAGS $_define_flag" |
6298 | fi | 5993 | fi |
6299 | else | 5994 | else |
6300 | echo "$as_me: failed program was:" >&5 | 5995 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6301 | sed 's/^/| /' conftest.$ac_ext >&5 | 5996 | $as_echo "no" >&6; } |
6302 | |||
6303 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6304 | echo "${ECHO_T}no" >&6; } | ||
6305 | CFLAGS="$saved_CFLAGS" | 5997 | CFLAGS="$saved_CFLAGS" |
6306 | 5998 | ||
6307 | fi | 5999 | fi |
6308 | |||
6309 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6310 | } | 6001 | } |
6311 | { | 6002 | { |
6312 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wformat-security" >&5 | 6003 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wformat-security" >&5 |
6313 | echo $ECHO_N "checking if $CC supports compile flag -Wformat-security... $ECHO_C" >&6; } | 6004 | $as_echo_n "checking if $CC supports compile flag -Wformat-security... " >&6; } |
6314 | saved_CFLAGS="$CFLAGS" | 6005 | saved_CFLAGS="$CFLAGS" |
6315 | CFLAGS="$CFLAGS $WERROR -Wformat-security" | 6006 | CFLAGS="$CFLAGS $WERROR -Wformat-security" |
6316 | _define_flag="" | 6007 | _define_flag="" |
6317 | test "x$_define_flag" = "x" && _define_flag="-Wformat-security" | 6008 | test "x$_define_flag" = "x" && _define_flag="-Wformat-security" |
6318 | cat >conftest.$ac_ext <<_ACEOF | 6009 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6319 | /* confdefs.h. */ | ||
6320 | _ACEOF | ||
6321 | cat confdefs.h >>conftest.$ac_ext | ||
6322 | cat >>conftest.$ac_ext <<_ACEOF | ||
6323 | /* end confdefs.h. */ | 6010 | /* end confdefs.h. */ |
6324 | 6011 | ||
6325 | #include <stdlib.h> | 6012 | #include <stdlib.h> |
@@ -6335,58 +6022,34 @@ int main(int argc, char **argv) { | |||
6335 | } | 6022 | } |
6336 | 6023 | ||
6337 | _ACEOF | 6024 | _ACEOF |
6338 | rm -f conftest.$ac_objext | 6025 | if ac_fn_c_try_compile "$LINENO"; then : |
6339 | if { (ac_try="$ac_compile" | ||
6340 | case "(($ac_try" in | ||
6341 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6342 | *) ac_try_echo=$ac_try;; | ||
6343 | esac | ||
6344 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6345 | (eval "$ac_compile") 2>conftest.er1 | ||
6346 | ac_status=$? | ||
6347 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6348 | rm -f conftest.er1 | ||
6349 | cat conftest.err >&5 | ||
6350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6351 | (exit $ac_status); } && { | ||
6352 | test -z "$ac_c_werror_flag" || | ||
6353 | test ! -s conftest.err | ||
6354 | } && test -s conftest.$ac_objext; then | ||
6355 | 6026 | ||
6356 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6027 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6357 | then | 6028 | then |
6358 | { echo "$as_me:$LINENO: result: no" >&5 | 6029 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6359 | echo "${ECHO_T}no" >&6; } | 6030 | $as_echo "no" >&6; } |
6360 | CFLAGS="$saved_CFLAGS" | 6031 | CFLAGS="$saved_CFLAGS" |
6361 | else | 6032 | else |
6362 | { echo "$as_me:$LINENO: result: yes" >&5 | 6033 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6363 | echo "${ECHO_T}yes" >&6; } | 6034 | $as_echo "yes" >&6; } |
6364 | CFLAGS="$saved_CFLAGS $_define_flag" | 6035 | CFLAGS="$saved_CFLAGS $_define_flag" |
6365 | fi | 6036 | fi |
6366 | else | 6037 | else |
6367 | echo "$as_me: failed program was:" >&5 | 6038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6368 | sed 's/^/| /' conftest.$ac_ext >&5 | 6039 | $as_echo "no" >&6; } |
6369 | |||
6370 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6371 | echo "${ECHO_T}no" >&6; } | ||
6372 | CFLAGS="$saved_CFLAGS" | 6040 | CFLAGS="$saved_CFLAGS" |
6373 | 6041 | ||
6374 | fi | 6042 | fi |
6375 | |||
6376 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6043 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6377 | } | 6044 | } |
6378 | { | 6045 | { |
6379 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wsizeof-pointer-memaccess" >&5 | 6046 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wsizeof-pointer-memaccess" >&5 |
6380 | echo $ECHO_N "checking if $CC supports compile flag -Wsizeof-pointer-memaccess... $ECHO_C" >&6; } | 6047 | $as_echo_n "checking if $CC supports compile flag -Wsizeof-pointer-memaccess... " >&6; } |
6381 | saved_CFLAGS="$CFLAGS" | 6048 | saved_CFLAGS="$CFLAGS" |
6382 | CFLAGS="$CFLAGS $WERROR -Wsizeof-pointer-memaccess" | 6049 | CFLAGS="$CFLAGS $WERROR -Wsizeof-pointer-memaccess" |
6383 | _define_flag="" | 6050 | _define_flag="" |
6384 | test "x$_define_flag" = "x" && _define_flag="-Wsizeof-pointer-memaccess" | 6051 | test "x$_define_flag" = "x" && _define_flag="-Wsizeof-pointer-memaccess" |
6385 | cat >conftest.$ac_ext <<_ACEOF | 6052 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6386 | /* confdefs.h. */ | ||
6387 | _ACEOF | ||
6388 | cat confdefs.h >>conftest.$ac_ext | ||
6389 | cat >>conftest.$ac_ext <<_ACEOF | ||
6390 | /* end confdefs.h. */ | 6053 | /* end confdefs.h. */ |
6391 | 6054 | ||
6392 | #include <stdlib.h> | 6055 | #include <stdlib.h> |
@@ -6402,58 +6065,34 @@ int main(int argc, char **argv) { | |||
6402 | } | 6065 | } |
6403 | 6066 | ||
6404 | _ACEOF | 6067 | _ACEOF |
6405 | rm -f conftest.$ac_objext | 6068 | if ac_fn_c_try_compile "$LINENO"; then : |
6406 | if { (ac_try="$ac_compile" | ||
6407 | case "(($ac_try" in | ||
6408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6409 | *) ac_try_echo=$ac_try;; | ||
6410 | esac | ||
6411 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6412 | (eval "$ac_compile") 2>conftest.er1 | ||
6413 | ac_status=$? | ||
6414 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6415 | rm -f conftest.er1 | ||
6416 | cat conftest.err >&5 | ||
6417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6418 | (exit $ac_status); } && { | ||
6419 | test -z "$ac_c_werror_flag" || | ||
6420 | test ! -s conftest.err | ||
6421 | } && test -s conftest.$ac_objext; then | ||
6422 | 6069 | ||
6423 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6070 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6424 | then | 6071 | then |
6425 | { echo "$as_me:$LINENO: result: no" >&5 | 6072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6426 | echo "${ECHO_T}no" >&6; } | 6073 | $as_echo "no" >&6; } |
6427 | CFLAGS="$saved_CFLAGS" | 6074 | CFLAGS="$saved_CFLAGS" |
6428 | else | 6075 | else |
6429 | { echo "$as_me:$LINENO: result: yes" >&5 | 6076 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6430 | echo "${ECHO_T}yes" >&6; } | 6077 | $as_echo "yes" >&6; } |
6431 | CFLAGS="$saved_CFLAGS $_define_flag" | 6078 | CFLAGS="$saved_CFLAGS $_define_flag" |
6432 | fi | 6079 | fi |
6433 | else | 6080 | else |
6434 | echo "$as_me: failed program was:" >&5 | 6081 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6435 | sed 's/^/| /' conftest.$ac_ext >&5 | 6082 | $as_echo "no" >&6; } |
6436 | |||
6437 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6438 | echo "${ECHO_T}no" >&6; } | ||
6439 | CFLAGS="$saved_CFLAGS" | 6083 | CFLAGS="$saved_CFLAGS" |
6440 | 6084 | ||
6441 | fi | 6085 | fi |
6442 | |||
6443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6086 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6444 | } | 6087 | } |
6445 | { | 6088 | { |
6446 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wpointer-sign" >&5 | 6089 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wpointer-sign" >&5 |
6447 | echo $ECHO_N "checking if $CC supports compile flag -Wpointer-sign... $ECHO_C" >&6; } | 6090 | $as_echo_n "checking if $CC supports compile flag -Wpointer-sign... " >&6; } |
6448 | saved_CFLAGS="$CFLAGS" | 6091 | saved_CFLAGS="$CFLAGS" |
6449 | CFLAGS="$CFLAGS $WERROR -Wpointer-sign" | 6092 | CFLAGS="$CFLAGS $WERROR -Wpointer-sign" |
6450 | _define_flag="-Wno-pointer-sign" | 6093 | _define_flag="-Wno-pointer-sign" |
6451 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-sign" | 6094 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-sign" |
6452 | cat >conftest.$ac_ext <<_ACEOF | 6095 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6453 | /* confdefs.h. */ | ||
6454 | _ACEOF | ||
6455 | cat confdefs.h >>conftest.$ac_ext | ||
6456 | cat >>conftest.$ac_ext <<_ACEOF | ||
6457 | /* end confdefs.h. */ | 6096 | /* end confdefs.h. */ |
6458 | 6097 | ||
6459 | #include <stdlib.h> | 6098 | #include <stdlib.h> |
@@ -6469,58 +6108,34 @@ int main(int argc, char **argv) { | |||
6469 | } | 6108 | } |
6470 | 6109 | ||
6471 | _ACEOF | 6110 | _ACEOF |
6472 | rm -f conftest.$ac_objext | 6111 | if ac_fn_c_try_compile "$LINENO"; then : |
6473 | if { (ac_try="$ac_compile" | ||
6474 | case "(($ac_try" in | ||
6475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6476 | *) ac_try_echo=$ac_try;; | ||
6477 | esac | ||
6478 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6479 | (eval "$ac_compile") 2>conftest.er1 | ||
6480 | ac_status=$? | ||
6481 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6482 | rm -f conftest.er1 | ||
6483 | cat conftest.err >&5 | ||
6484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6485 | (exit $ac_status); } && { | ||
6486 | test -z "$ac_c_werror_flag" || | ||
6487 | test ! -s conftest.err | ||
6488 | } && test -s conftest.$ac_objext; then | ||
6489 | 6112 | ||
6490 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6113 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6491 | then | 6114 | then |
6492 | { echo "$as_me:$LINENO: result: no" >&5 | 6115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6493 | echo "${ECHO_T}no" >&6; } | 6116 | $as_echo "no" >&6; } |
6494 | CFLAGS="$saved_CFLAGS" | 6117 | CFLAGS="$saved_CFLAGS" |
6495 | else | 6118 | else |
6496 | { echo "$as_me:$LINENO: result: yes" >&5 | 6119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6497 | echo "${ECHO_T}yes" >&6; } | 6120 | $as_echo "yes" >&6; } |
6498 | CFLAGS="$saved_CFLAGS $_define_flag" | 6121 | CFLAGS="$saved_CFLAGS $_define_flag" |
6499 | fi | 6122 | fi |
6500 | else | 6123 | else |
6501 | echo "$as_me: failed program was:" >&5 | 6124 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6502 | sed 's/^/| /' conftest.$ac_ext >&5 | 6125 | $as_echo "no" >&6; } |
6503 | |||
6504 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6505 | echo "${ECHO_T}no" >&6; } | ||
6506 | CFLAGS="$saved_CFLAGS" | 6126 | CFLAGS="$saved_CFLAGS" |
6507 | 6127 | ||
6508 | fi | 6128 | fi |
6509 | |||
6510 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6129 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6511 | } | 6130 | } |
6512 | { | 6131 | { |
6513 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wunused-result" >&5 | 6132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wunused-result" >&5 |
6514 | echo $ECHO_N "checking if $CC supports compile flag -Wunused-result... $ECHO_C" >&6; } | 6133 | $as_echo_n "checking if $CC supports compile flag -Wunused-result... " >&6; } |
6515 | saved_CFLAGS="$CFLAGS" | 6134 | saved_CFLAGS="$CFLAGS" |
6516 | CFLAGS="$CFLAGS $WERROR -Wunused-result" | 6135 | CFLAGS="$CFLAGS $WERROR -Wunused-result" |
6517 | _define_flag="-Wno-unused-result" | 6136 | _define_flag="-Wno-unused-result" |
6518 | test "x$_define_flag" = "x" && _define_flag="-Wunused-result" | 6137 | test "x$_define_flag" = "x" && _define_flag="-Wunused-result" |
6519 | cat >conftest.$ac_ext <<_ACEOF | 6138 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6520 | /* confdefs.h. */ | ||
6521 | _ACEOF | ||
6522 | cat confdefs.h >>conftest.$ac_ext | ||
6523 | cat >>conftest.$ac_ext <<_ACEOF | ||
6524 | /* end confdefs.h. */ | 6139 | /* end confdefs.h. */ |
6525 | 6140 | ||
6526 | #include <stdlib.h> | 6141 | #include <stdlib.h> |
@@ -6536,58 +6151,34 @@ int main(int argc, char **argv) { | |||
6536 | } | 6151 | } |
6537 | 6152 | ||
6538 | _ACEOF | 6153 | _ACEOF |
6539 | rm -f conftest.$ac_objext | 6154 | if ac_fn_c_try_compile "$LINENO"; then : |
6540 | if { (ac_try="$ac_compile" | ||
6541 | case "(($ac_try" in | ||
6542 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6543 | *) ac_try_echo=$ac_try;; | ||
6544 | esac | ||
6545 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6546 | (eval "$ac_compile") 2>conftest.er1 | ||
6547 | ac_status=$? | ||
6548 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6549 | rm -f conftest.er1 | ||
6550 | cat conftest.err >&5 | ||
6551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6552 | (exit $ac_status); } && { | ||
6553 | test -z "$ac_c_werror_flag" || | ||
6554 | test ! -s conftest.err | ||
6555 | } && test -s conftest.$ac_objext; then | ||
6556 | 6155 | ||
6557 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6156 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6558 | then | 6157 | then |
6559 | { echo "$as_me:$LINENO: result: no" >&5 | 6158 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6560 | echo "${ECHO_T}no" >&6; } | 6159 | $as_echo "no" >&6; } |
6561 | CFLAGS="$saved_CFLAGS" | 6160 | CFLAGS="$saved_CFLAGS" |
6562 | else | 6161 | else |
6563 | { echo "$as_me:$LINENO: result: yes" >&5 | 6162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6564 | echo "${ECHO_T}yes" >&6; } | 6163 | $as_echo "yes" >&6; } |
6565 | CFLAGS="$saved_CFLAGS $_define_flag" | 6164 | CFLAGS="$saved_CFLAGS $_define_flag" |
6566 | fi | 6165 | fi |
6567 | else | 6166 | else |
6568 | echo "$as_me: failed program was:" >&5 | 6167 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6569 | sed 's/^/| /' conftest.$ac_ext >&5 | 6168 | $as_echo "no" >&6; } |
6570 | |||
6571 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6572 | echo "${ECHO_T}no" >&6; } | ||
6573 | CFLAGS="$saved_CFLAGS" | 6169 | CFLAGS="$saved_CFLAGS" |
6574 | 6170 | ||
6575 | fi | 6171 | fi |
6576 | |||
6577 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6172 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6578 | } | 6173 | } |
6579 | { | 6174 | { |
6580 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -fno-strict-aliasing" >&5 | 6175 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -fno-strict-aliasing" >&5 |
6581 | echo $ECHO_N "checking if $CC supports compile flag -fno-strict-aliasing... $ECHO_C" >&6; } | 6176 | $as_echo_n "checking if $CC supports compile flag -fno-strict-aliasing... " >&6; } |
6582 | saved_CFLAGS="$CFLAGS" | 6177 | saved_CFLAGS="$CFLAGS" |
6583 | CFLAGS="$CFLAGS $WERROR -fno-strict-aliasing" | 6178 | CFLAGS="$CFLAGS $WERROR -fno-strict-aliasing" |
6584 | _define_flag="" | 6179 | _define_flag="" |
6585 | test "x$_define_flag" = "x" && _define_flag="-fno-strict-aliasing" | 6180 | test "x$_define_flag" = "x" && _define_flag="-fno-strict-aliasing" |
6586 | cat >conftest.$ac_ext <<_ACEOF | 6181 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6587 | /* confdefs.h. */ | ||
6588 | _ACEOF | ||
6589 | cat confdefs.h >>conftest.$ac_ext | ||
6590 | cat >>conftest.$ac_ext <<_ACEOF | ||
6591 | /* end confdefs.h. */ | 6182 | /* end confdefs.h. */ |
6592 | 6183 | ||
6593 | #include <stdlib.h> | 6184 | #include <stdlib.h> |
@@ -6603,58 +6194,34 @@ int main(int argc, char **argv) { | |||
6603 | } | 6194 | } |
6604 | 6195 | ||
6605 | _ACEOF | 6196 | _ACEOF |
6606 | rm -f conftest.$ac_objext | 6197 | if ac_fn_c_try_compile "$LINENO"; then : |
6607 | if { (ac_try="$ac_compile" | ||
6608 | case "(($ac_try" in | ||
6609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6610 | *) ac_try_echo=$ac_try;; | ||
6611 | esac | ||
6612 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6613 | (eval "$ac_compile") 2>conftest.er1 | ||
6614 | ac_status=$? | ||
6615 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6616 | rm -f conftest.er1 | ||
6617 | cat conftest.err >&5 | ||
6618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6619 | (exit $ac_status); } && { | ||
6620 | test -z "$ac_c_werror_flag" || | ||
6621 | test ! -s conftest.err | ||
6622 | } && test -s conftest.$ac_objext; then | ||
6623 | 6198 | ||
6624 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6199 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6625 | then | 6200 | then |
6626 | { echo "$as_me:$LINENO: result: no" >&5 | 6201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6627 | echo "${ECHO_T}no" >&6; } | 6202 | $as_echo "no" >&6; } |
6628 | CFLAGS="$saved_CFLAGS" | 6203 | CFLAGS="$saved_CFLAGS" |
6629 | else | 6204 | else |
6630 | { echo "$as_me:$LINENO: result: yes" >&5 | 6205 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6631 | echo "${ECHO_T}yes" >&6; } | 6206 | $as_echo "yes" >&6; } |
6632 | CFLAGS="$saved_CFLAGS $_define_flag" | 6207 | CFLAGS="$saved_CFLAGS $_define_flag" |
6633 | fi | 6208 | fi |
6634 | else | 6209 | else |
6635 | echo "$as_me: failed program was:" >&5 | 6210 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6636 | sed 's/^/| /' conftest.$ac_ext >&5 | 6211 | $as_echo "no" >&6; } |
6637 | |||
6638 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6639 | echo "${ECHO_T}no" >&6; } | ||
6640 | CFLAGS="$saved_CFLAGS" | 6212 | CFLAGS="$saved_CFLAGS" |
6641 | 6213 | ||
6642 | fi | 6214 | fi |
6643 | |||
6644 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6645 | } | 6216 | } |
6646 | { | 6217 | { |
6647 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -D_FORTIFY_SOURCE=2" >&5 | 6218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -D_FORTIFY_SOURCE=2" >&5 |
6648 | echo $ECHO_N "checking if $CC supports compile flag -D_FORTIFY_SOURCE=2... $ECHO_C" >&6; } | 6219 | $as_echo_n "checking if $CC supports compile flag -D_FORTIFY_SOURCE=2... " >&6; } |
6649 | saved_CFLAGS="$CFLAGS" | 6220 | saved_CFLAGS="$CFLAGS" |
6650 | CFLAGS="$CFLAGS $WERROR -D_FORTIFY_SOURCE=2" | 6221 | CFLAGS="$CFLAGS $WERROR -D_FORTIFY_SOURCE=2" |
6651 | _define_flag="" | 6222 | _define_flag="" |
6652 | test "x$_define_flag" = "x" && _define_flag="-D_FORTIFY_SOURCE=2" | 6223 | test "x$_define_flag" = "x" && _define_flag="-D_FORTIFY_SOURCE=2" |
6653 | cat >conftest.$ac_ext <<_ACEOF | 6224 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6654 | /* confdefs.h. */ | ||
6655 | _ACEOF | ||
6656 | cat confdefs.h >>conftest.$ac_ext | ||
6657 | cat >>conftest.$ac_ext <<_ACEOF | ||
6658 | /* end confdefs.h. */ | 6225 | /* end confdefs.h. */ |
6659 | 6226 | ||
6660 | #include <stdlib.h> | 6227 | #include <stdlib.h> |
@@ -6670,59 +6237,35 @@ int main(int argc, char **argv) { | |||
6670 | } | 6237 | } |
6671 | 6238 | ||
6672 | _ACEOF | 6239 | _ACEOF |
6673 | rm -f conftest.$ac_objext | 6240 | if ac_fn_c_try_compile "$LINENO"; then : |
6674 | if { (ac_try="$ac_compile" | ||
6675 | case "(($ac_try" in | ||
6676 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6677 | *) ac_try_echo=$ac_try;; | ||
6678 | esac | ||
6679 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6680 | (eval "$ac_compile") 2>conftest.er1 | ||
6681 | ac_status=$? | ||
6682 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6683 | rm -f conftest.er1 | ||
6684 | cat conftest.err >&5 | ||
6685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6686 | (exit $ac_status); } && { | ||
6687 | test -z "$ac_c_werror_flag" || | ||
6688 | test ! -s conftest.err | ||
6689 | } && test -s conftest.$ac_objext; then | ||
6690 | 6241 | ||
6691 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6242 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6692 | then | 6243 | then |
6693 | { echo "$as_me:$LINENO: result: no" >&5 | 6244 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6694 | echo "${ECHO_T}no" >&6; } | 6245 | $as_echo "no" >&6; } |
6695 | CFLAGS="$saved_CFLAGS" | 6246 | CFLAGS="$saved_CFLAGS" |
6696 | else | 6247 | else |
6697 | { echo "$as_me:$LINENO: result: yes" >&5 | 6248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6698 | echo "${ECHO_T}yes" >&6; } | 6249 | $as_echo "yes" >&6; } |
6699 | CFLAGS="$saved_CFLAGS $_define_flag" | 6250 | CFLAGS="$saved_CFLAGS $_define_flag" |
6700 | fi | 6251 | fi |
6701 | else | 6252 | else |
6702 | echo "$as_me: failed program was:" >&5 | 6253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6703 | sed 's/^/| /' conftest.$ac_ext >&5 | 6254 | $as_echo "no" >&6; } |
6704 | |||
6705 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6706 | echo "${ECHO_T}no" >&6; } | ||
6707 | CFLAGS="$saved_CFLAGS" | 6255 | CFLAGS="$saved_CFLAGS" |
6708 | 6256 | ||
6709 | fi | 6257 | fi |
6710 | |||
6711 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6258 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6712 | } | 6259 | } |
6713 | if test "x$use_toolchain_hardening" = "x1"; then | 6260 | if test "x$use_toolchain_hardening" = "x1"; then |
6714 | { | 6261 | { |
6715 | { echo "$as_me:$LINENO: checking if $LD supports link flag -Wl,-z,relro" >&5 | 6262 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -Wl,-z,relro" >&5 |
6716 | echo $ECHO_N "checking if $LD supports link flag -Wl,-z,relro... $ECHO_C" >&6; } | 6263 | $as_echo_n "checking if $LD supports link flag -Wl,-z,relro... " >&6; } |
6717 | saved_LDFLAGS="$LDFLAGS" | 6264 | saved_LDFLAGS="$LDFLAGS" |
6718 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,relro" | 6265 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,relro" |
6719 | _define_flag="" | 6266 | _define_flag="" |
6720 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,relro" | 6267 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,relro" |
6721 | cat >conftest.$ac_ext <<_ACEOF | 6268 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6722 | /* confdefs.h. */ | ||
6723 | _ACEOF | ||
6724 | cat confdefs.h >>conftest.$ac_ext | ||
6725 | cat >>conftest.$ac_ext <<_ACEOF | ||
6726 | /* end confdefs.h. */ | 6269 | /* end confdefs.h. */ |
6727 | 6270 | ||
6728 | #include <stdlib.h> | 6271 | #include <stdlib.h> |
@@ -6733,57 +6276,33 @@ int main(int argc, char **argv) { | |||
6733 | float l = i * 2.1; | 6276 | float l = i * 2.1; |
6734 | double m = l / 0.5; | 6277 | double m = l / 0.5; |
6735 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; | 6278 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; |
6736 | printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); | 6279 | long long p = n * o; |
6280 | printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); | ||
6737 | exit(0); | 6281 | exit(0); |
6738 | } | 6282 | } |
6739 | 6283 | ||
6740 | _ACEOF | 6284 | _ACEOF |
6741 | rm -f conftest.$ac_objext conftest$ac_exeext | 6285 | if ac_fn_c_try_link "$LINENO"; then : |
6742 | if { (ac_try="$ac_link" | 6286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6743 | case "(($ac_try" in | 6287 | $as_echo "yes" >&6; } |
6744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6745 | *) ac_try_echo=$ac_try;; | ||
6746 | esac | ||
6747 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6748 | (eval "$ac_link") 2>conftest.er1 | ||
6749 | ac_status=$? | ||
6750 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6751 | rm -f conftest.er1 | ||
6752 | cat conftest.err >&5 | ||
6753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6754 | (exit $ac_status); } && { | ||
6755 | test -z "$ac_c_werror_flag" || | ||
6756 | test ! -s conftest.err | ||
6757 | } && test -s conftest$ac_exeext && | ||
6758 | $as_test_x conftest$ac_exeext; then | ||
6759 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6760 | echo "${ECHO_T}yes" >&6; } | ||
6761 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6288 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6762 | else | 6289 | else |
6763 | echo "$as_me: failed program was:" >&5 | 6290 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6764 | sed 's/^/| /' conftest.$ac_ext >&5 | 6291 | $as_echo "no" >&6; } |
6765 | |||
6766 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6767 | echo "${ECHO_T}no" >&6; } | ||
6768 | LDFLAGS="$saved_LDFLAGS" | 6292 | LDFLAGS="$saved_LDFLAGS" |
6769 | 6293 | ||
6770 | fi | 6294 | fi |
6771 | 6295 | rm -f core conftest.err conftest.$ac_objext \ | |
6772 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6296 | conftest$ac_exeext conftest.$ac_ext |
6773 | conftest$ac_exeext conftest.$ac_ext | ||
6774 | } | 6297 | } |
6775 | { | 6298 | { |
6776 | { echo "$as_me:$LINENO: checking if $LD supports link flag -Wl,-z,now" >&5 | 6299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -Wl,-z,now" >&5 |
6777 | echo $ECHO_N "checking if $LD supports link flag -Wl,-z,now... $ECHO_C" >&6; } | 6300 | $as_echo_n "checking if $LD supports link flag -Wl,-z,now... " >&6; } |
6778 | saved_LDFLAGS="$LDFLAGS" | 6301 | saved_LDFLAGS="$LDFLAGS" |
6779 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,now" | 6302 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,now" |
6780 | _define_flag="" | 6303 | _define_flag="" |
6781 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,now" | 6304 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,now" |
6782 | cat >conftest.$ac_ext <<_ACEOF | 6305 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6783 | /* confdefs.h. */ | ||
6784 | _ACEOF | ||
6785 | cat confdefs.h >>conftest.$ac_ext | ||
6786 | cat >>conftest.$ac_ext <<_ACEOF | ||
6787 | /* end confdefs.h. */ | 6306 | /* end confdefs.h. */ |
6788 | 6307 | ||
6789 | #include <stdlib.h> | 6308 | #include <stdlib.h> |
@@ -6794,57 +6313,33 @@ int main(int argc, char **argv) { | |||
6794 | float l = i * 2.1; | 6313 | float l = i * 2.1; |
6795 | double m = l / 0.5; | 6314 | double m = l / 0.5; |
6796 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; | 6315 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; |
6797 | printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); | 6316 | long long p = n * o; |
6317 | printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); | ||
6798 | exit(0); | 6318 | exit(0); |
6799 | } | 6319 | } |
6800 | 6320 | ||
6801 | _ACEOF | 6321 | _ACEOF |
6802 | rm -f conftest.$ac_objext conftest$ac_exeext | 6322 | if ac_fn_c_try_link "$LINENO"; then : |
6803 | if { (ac_try="$ac_link" | 6323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6804 | case "(($ac_try" in | 6324 | $as_echo "yes" >&6; } |
6805 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6806 | *) ac_try_echo=$ac_try;; | ||
6807 | esac | ||
6808 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6809 | (eval "$ac_link") 2>conftest.er1 | ||
6810 | ac_status=$? | ||
6811 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6812 | rm -f conftest.er1 | ||
6813 | cat conftest.err >&5 | ||
6814 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6815 | (exit $ac_status); } && { | ||
6816 | test -z "$ac_c_werror_flag" || | ||
6817 | test ! -s conftest.err | ||
6818 | } && test -s conftest$ac_exeext && | ||
6819 | $as_test_x conftest$ac_exeext; then | ||
6820 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6821 | echo "${ECHO_T}yes" >&6; } | ||
6822 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6325 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6823 | else | 6326 | else |
6824 | echo "$as_me: failed program was:" >&5 | 6327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6825 | sed 's/^/| /' conftest.$ac_ext >&5 | 6328 | $as_echo "no" >&6; } |
6826 | |||
6827 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6828 | echo "${ECHO_T}no" >&6; } | ||
6829 | LDFLAGS="$saved_LDFLAGS" | 6329 | LDFLAGS="$saved_LDFLAGS" |
6830 | 6330 | ||
6831 | fi | 6331 | fi |
6832 | 6332 | rm -f core conftest.err conftest.$ac_objext \ | |
6833 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6333 | conftest$ac_exeext conftest.$ac_ext |
6834 | conftest$ac_exeext conftest.$ac_ext | ||
6835 | } | 6334 | } |
6836 | { | 6335 | { |
6837 | { echo "$as_me:$LINENO: checking if $LD supports link flag -Wl,-z,noexecstack" >&5 | 6336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -Wl,-z,noexecstack" >&5 |
6838 | echo $ECHO_N "checking if $LD supports link flag -Wl,-z,noexecstack... $ECHO_C" >&6; } | 6337 | $as_echo_n "checking if $LD supports link flag -Wl,-z,noexecstack... " >&6; } |
6839 | saved_LDFLAGS="$LDFLAGS" | 6338 | saved_LDFLAGS="$LDFLAGS" |
6840 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,noexecstack" | 6339 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,noexecstack" |
6841 | _define_flag="" | 6340 | _define_flag="" |
6842 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,noexecstack" | 6341 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,noexecstack" |
6843 | cat >conftest.$ac_ext <<_ACEOF | 6342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6844 | /* confdefs.h. */ | ||
6845 | _ACEOF | ||
6846 | cat confdefs.h >>conftest.$ac_ext | ||
6847 | cat >>conftest.$ac_ext <<_ACEOF | ||
6848 | /* end confdefs.h. */ | 6343 | /* end confdefs.h. */ |
6849 | 6344 | ||
6850 | #include <stdlib.h> | 6345 | #include <stdlib.h> |
@@ -6855,44 +6350,24 @@ int main(int argc, char **argv) { | |||
6855 | float l = i * 2.1; | 6350 | float l = i * 2.1; |
6856 | double m = l / 0.5; | 6351 | double m = l / 0.5; |
6857 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; | 6352 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; |
6858 | printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); | 6353 | long long p = n * o; |
6354 | printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); | ||
6859 | exit(0); | 6355 | exit(0); |
6860 | } | 6356 | } |
6861 | 6357 | ||
6862 | _ACEOF | 6358 | _ACEOF |
6863 | rm -f conftest.$ac_objext conftest$ac_exeext | 6359 | if ac_fn_c_try_link "$LINENO"; then : |
6864 | if { (ac_try="$ac_link" | 6360 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6865 | case "(($ac_try" in | 6361 | $as_echo "yes" >&6; } |
6866 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6867 | *) ac_try_echo=$ac_try;; | ||
6868 | esac | ||
6869 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6870 | (eval "$ac_link") 2>conftest.er1 | ||
6871 | ac_status=$? | ||
6872 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6873 | rm -f conftest.er1 | ||
6874 | cat conftest.err >&5 | ||
6875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6876 | (exit $ac_status); } && { | ||
6877 | test -z "$ac_c_werror_flag" || | ||
6878 | test ! -s conftest.err | ||
6879 | } && test -s conftest$ac_exeext && | ||
6880 | $as_test_x conftest$ac_exeext; then | ||
6881 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6882 | echo "${ECHO_T}yes" >&6; } | ||
6883 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6362 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6884 | else | 6363 | else |
6885 | echo "$as_me: failed program was:" >&5 | 6364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6886 | sed 's/^/| /' conftest.$ac_ext >&5 | 6365 | $as_echo "no" >&6; } |
6887 | |||
6888 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6889 | echo "${ECHO_T}no" >&6; } | ||
6890 | LDFLAGS="$saved_LDFLAGS" | 6366 | LDFLAGS="$saved_LDFLAGS" |
6891 | 6367 | ||
6892 | fi | 6368 | fi |
6893 | 6369 | rm -f core conftest.err conftest.$ac_objext \ | |
6894 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6370 | conftest$ac_exeext conftest.$ac_ext |
6895 | conftest$ac_exeext conftest.$ac_ext | ||
6896 | } | 6371 | } |
6897 | # NB. -ftrapv expects certain support functions to be present in | 6372 | # NB. -ftrapv expects certain support functions to be present in |
6898 | # the compiler library (libgcc or similar) to detect integer operations | 6373 | # the compiler library (libgcc or similar) to detect integer operations |
@@ -6900,17 +6375,13 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
6900 | # actually links. The test program compiled/linked includes a number | 6375 | # actually links. The test program compiled/linked includes a number |
6901 | # of integer operations that should exercise this. | 6376 | # of integer operations that should exercise this. |
6902 | { | 6377 | { |
6903 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -ftrapv and linking succeeds" >&5 | 6378 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -ftrapv and linking succeeds" >&5 |
6904 | echo $ECHO_N "checking if $CC supports compile flag -ftrapv and linking succeeds... $ECHO_C" >&6; } | 6379 | $as_echo_n "checking if $CC supports compile flag -ftrapv and linking succeeds... " >&6; } |
6905 | saved_CFLAGS="$CFLAGS" | 6380 | saved_CFLAGS="$CFLAGS" |
6906 | CFLAGS="$CFLAGS $WERROR -ftrapv" | 6381 | CFLAGS="$CFLAGS $WERROR -ftrapv" |
6907 | _define_flag="" | 6382 | _define_flag="" |
6908 | test "x$_define_flag" = "x" && _define_flag="-ftrapv" | 6383 | test "x$_define_flag" = "x" && _define_flag="-ftrapv" |
6909 | cat >conftest.$ac_ext <<_ACEOF | 6384 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6910 | /* confdefs.h. */ | ||
6911 | _ACEOF | ||
6912 | cat confdefs.h >>conftest.$ac_ext | ||
6913 | cat >>conftest.$ac_ext <<_ACEOF | ||
6914 | /* end confdefs.h. */ | 6385 | /* end confdefs.h. */ |
6915 | 6386 | ||
6916 | #include <stdlib.h> | 6387 | #include <stdlib.h> |
@@ -6921,56 +6392,36 @@ int main(int argc, char **argv) { | |||
6921 | float l = i * 2.1; | 6392 | float l = i * 2.1; |
6922 | double m = l / 0.5; | 6393 | double m = l / 0.5; |
6923 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; | 6394 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; |
6924 | printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); | 6395 | long long int p = n * o; |
6396 | printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); | ||
6925 | exit(0); | 6397 | exit(0); |
6926 | } | 6398 | } |
6927 | 6399 | ||
6928 | _ACEOF | 6400 | _ACEOF |
6929 | rm -f conftest.$ac_objext conftest$ac_exeext | 6401 | if ac_fn_c_try_link "$LINENO"; then : |
6930 | if { (ac_try="$ac_link" | ||
6931 | case "(($ac_try" in | ||
6932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6933 | *) ac_try_echo=$ac_try;; | ||
6934 | esac | ||
6935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6936 | (eval "$ac_link") 2>conftest.er1 | ||
6937 | ac_status=$? | ||
6938 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6939 | rm -f conftest.er1 | ||
6940 | cat conftest.err >&5 | ||
6941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6942 | (exit $ac_status); } && { | ||
6943 | test -z "$ac_c_werror_flag" || | ||
6944 | test ! -s conftest.err | ||
6945 | } && test -s conftest$ac_exeext && | ||
6946 | $as_test_x conftest$ac_exeext; then | ||
6947 | 6402 | ||
6948 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6403 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6949 | then | 6404 | then |
6950 | { echo "$as_me:$LINENO: result: no" >&5 | 6405 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6951 | echo "${ECHO_T}no" >&6; } | 6406 | $as_echo "no" >&6; } |
6952 | CFLAGS="$saved_CFLAGS" | 6407 | CFLAGS="$saved_CFLAGS" |
6953 | else | 6408 | else |
6954 | { echo "$as_me:$LINENO: result: yes" >&5 | 6409 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6955 | echo "${ECHO_T}yes" >&6; } | 6410 | $as_echo "yes" >&6; } |
6956 | CFLAGS="$saved_CFLAGS $_define_flag" | 6411 | CFLAGS="$saved_CFLAGS $_define_flag" |
6957 | fi | 6412 | fi |
6958 | else | 6413 | else |
6959 | echo "$as_me: failed program was:" >&5 | 6414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6960 | sed 's/^/| /' conftest.$ac_ext >&5 | 6415 | $as_echo "no" >&6; } |
6961 | |||
6962 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6963 | echo "${ECHO_T}no" >&6; } | ||
6964 | CFLAGS="$saved_CFLAGS" | 6416 | CFLAGS="$saved_CFLAGS" |
6965 | 6417 | ||
6966 | fi | 6418 | fi |
6967 | 6419 | rm -f core conftest.err conftest.$ac_objext \ | |
6968 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6420 | conftest$ac_exeext conftest.$ac_ext |
6969 | conftest$ac_exeext conftest.$ac_ext | ||
6970 | } | 6421 | } |
6971 | fi | 6422 | fi |
6972 | { echo "$as_me:$LINENO: checking gcc version" >&5 | 6423 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5 |
6973 | echo $ECHO_N "checking gcc version... $ECHO_C" >&6; } | 6424 | $as_echo_n "checking gcc version... " >&6; } |
6974 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` | 6425 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` |
6975 | case $GCC_VER in | 6426 | case $GCC_VER in |
6976 | 1.*) no_attrib_nonnull=1 ;; | 6427 | 1.*) no_attrib_nonnull=1 ;; |
@@ -6980,18 +6431,14 @@ echo $ECHO_N "checking gcc version... $ECHO_C" >&6; } | |||
6980 | 2.*) no_attrib_nonnull=1 ;; | 6431 | 2.*) no_attrib_nonnull=1 ;; |
6981 | *) ;; | 6432 | *) ;; |
6982 | esac | 6433 | esac |
6983 | { echo "$as_me:$LINENO: result: $GCC_VER" >&5 | 6434 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VER" >&5 |
6984 | echo "${ECHO_T}$GCC_VER" >&6; } | 6435 | $as_echo "$GCC_VER" >&6; } |
6985 | 6436 | ||
6986 | { echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5 | 6437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-builtin-memset" >&5 |
6987 | echo $ECHO_N "checking if $CC accepts -fno-builtin-memset... $ECHO_C" >&6; } | 6438 | $as_echo_n "checking if $CC accepts -fno-builtin-memset... " >&6; } |
6988 | saved_CFLAGS="$CFLAGS" | 6439 | saved_CFLAGS="$CFLAGS" |
6989 | CFLAGS="$CFLAGS -fno-builtin-memset" | 6440 | CFLAGS="$CFLAGS -fno-builtin-memset" |
6990 | cat >conftest.$ac_ext <<_ACEOF | 6441 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6991 | /* confdefs.h. */ | ||
6992 | _ACEOF | ||
6993 | cat confdefs.h >>conftest.$ac_ext | ||
6994 | cat >>conftest.$ac_ext <<_ACEOF | ||
6995 | /* end confdefs.h. */ | 6442 | /* end confdefs.h. */ |
6996 | #include <string.h> | 6443 | #include <string.h> |
6997 | int | 6444 | int |
@@ -7002,38 +6449,17 @@ main () | |||
7002 | return 0; | 6449 | return 0; |
7003 | } | 6450 | } |
7004 | _ACEOF | 6451 | _ACEOF |
7005 | rm -f conftest.$ac_objext conftest$ac_exeext | 6452 | if ac_fn_c_try_link "$LINENO"; then : |
7006 | if { (ac_try="$ac_link" | 6453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7007 | case "(($ac_try" in | 6454 | $as_echo "yes" >&6; } |
7008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7009 | *) ac_try_echo=$ac_try;; | ||
7010 | esac | ||
7011 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7012 | (eval "$ac_link") 2>conftest.er1 | ||
7013 | ac_status=$? | ||
7014 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7015 | rm -f conftest.er1 | ||
7016 | cat conftest.err >&5 | ||
7017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7018 | (exit $ac_status); } && { | ||
7019 | test -z "$ac_c_werror_flag" || | ||
7020 | test ! -s conftest.err | ||
7021 | } && test -s conftest$ac_exeext && | ||
7022 | $as_test_x conftest$ac_exeext; then | ||
7023 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7024 | echo "${ECHO_T}yes" >&6; } | ||
7025 | else | 6455 | else |
7026 | echo "$as_me: failed program was:" >&5 | 6456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7027 | sed 's/^/| /' conftest.$ac_ext >&5 | 6457 | $as_echo "no" >&6; } |
7028 | |||
7029 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7030 | echo "${ECHO_T}no" >&6; } | ||
7031 | CFLAGS="$saved_CFLAGS" | 6458 | CFLAGS="$saved_CFLAGS" |
7032 | 6459 | ||
7033 | fi | 6460 | fi |
7034 | 6461 | rm -f core conftest.err conftest.$ac_objext \ | |
7035 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6462 | conftest$ac_exeext conftest.$ac_ext |
7036 | conftest$ac_exeext conftest.$ac_ext | ||
7037 | 6463 | ||
7038 | # -fstack-protector-all doesn't always work for some GCC versions | 6464 | # -fstack-protector-all doesn't always work for some GCC versions |
7039 | # and/or platforms, so we test if we can. If it's not supported | 6465 | # and/or platforms, so we test if we can. If it's not supported |
@@ -7041,17 +6467,13 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
7041 | if test "x$use_stack_protector" = "x1"; then | 6467 | if test "x$use_stack_protector" = "x1"; then |
7042 | for t in -fstack-protector-strong -fstack-protector-all \ | 6468 | for t in -fstack-protector-strong -fstack-protector-all \ |
7043 | -fstack-protector; do | 6469 | -fstack-protector; do |
7044 | { echo "$as_me:$LINENO: checking if $CC supports $t" >&5 | 6470 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $t" >&5 |
7045 | echo $ECHO_N "checking if $CC supports $t... $ECHO_C" >&6; } | 6471 | $as_echo_n "checking if $CC supports $t... " >&6; } |
7046 | saved_CFLAGS="$CFLAGS" | 6472 | saved_CFLAGS="$CFLAGS" |
7047 | saved_LDFLAGS="$LDFLAGS" | 6473 | saved_LDFLAGS="$LDFLAGS" |
7048 | CFLAGS="$CFLAGS $t -Werror" | 6474 | CFLAGS="$CFLAGS $t -Werror" |
7049 | LDFLAGS="$LDFLAGS $t -Werror" | 6475 | LDFLAGS="$LDFLAGS $t -Werror" |
7050 | cat >conftest.$ac_ext <<_ACEOF | 6476 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7051 | /* confdefs.h. */ | ||
7052 | _ACEOF | ||
7053 | cat confdefs.h >>conftest.$ac_ext | ||
7054 | cat >>conftest.$ac_ext <<_ACEOF | ||
7055 | /* end confdefs.h. */ | 6477 | /* end confdefs.h. */ |
7056 | #include <stdio.h> | 6478 | #include <stdio.h> |
7057 | int | 6479 | int |
@@ -7065,41 +6487,20 @@ main () | |||
7065 | return 0; | 6487 | return 0; |
7066 | } | 6488 | } |
7067 | _ACEOF | 6489 | _ACEOF |
7068 | rm -f conftest.$ac_objext conftest$ac_exeext | 6490 | if ac_fn_c_try_link "$LINENO"; then : |
7069 | if { (ac_try="$ac_link" | 6491 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7070 | case "(($ac_try" in | 6492 | $as_echo "yes" >&6; } |
7071 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7072 | *) ac_try_echo=$ac_try;; | ||
7073 | esac | ||
7074 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7075 | (eval "$ac_link") 2>conftest.er1 | ||
7076 | ac_status=$? | ||
7077 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7078 | rm -f conftest.er1 | ||
7079 | cat conftest.err >&5 | ||
7080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7081 | (exit $ac_status); } && { | ||
7082 | test -z "$ac_c_werror_flag" || | ||
7083 | test ! -s conftest.err | ||
7084 | } && test -s conftest$ac_exeext && | ||
7085 | $as_test_x conftest$ac_exeext; then | ||
7086 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7087 | echo "${ECHO_T}yes" >&6; } | ||
7088 | CFLAGS="$saved_CFLAGS $t" | 6493 | CFLAGS="$saved_CFLAGS $t" |
7089 | LDFLAGS="$saved_LDFLAGS $t" | 6494 | LDFLAGS="$saved_LDFLAGS $t" |
7090 | { echo "$as_me:$LINENO: checking if $t works" >&5 | 6495 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $t works" >&5 |
7091 | echo $ECHO_N "checking if $t works... $ECHO_C" >&6; } | 6496 | $as_echo_n "checking if $t works... " >&6; } |
7092 | if test "$cross_compiling" = yes; then | 6497 | if test "$cross_compiling" = yes; then : |
7093 | { echo "$as_me:$LINENO: WARNING: cross compiling: cannot test" >&5 | 6498 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: cannot test" >&5 |
7094 | echo "$as_me: WARNING: cross compiling: cannot test" >&2;} | 6499 | $as_echo "$as_me: WARNING: cross compiling: cannot test" >&2;} |
7095 | break | 6500 | break |
7096 | 6501 | ||
7097 | else | 6502 | else |
7098 | cat >conftest.$ac_ext <<_ACEOF | 6503 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7099 | /* confdefs.h. */ | ||
7100 | _ACEOF | ||
7101 | cat confdefs.h >>conftest.$ac_ext | ||
7102 | cat >>conftest.$ac_ext <<_ACEOF | ||
7103 | /* end confdefs.h. */ | 6504 | /* end confdefs.h. */ |
7104 | #include <stdio.h> | 6505 | #include <stdio.h> |
7105 | int | 6506 | int |
@@ -7113,54 +6514,26 @@ main () | |||
7113 | return 0; | 6514 | return 0; |
7114 | } | 6515 | } |
7115 | _ACEOF | 6516 | _ACEOF |
7116 | rm -f conftest$ac_exeext | 6517 | if ac_fn_c_try_run "$LINENO"; then : |
7117 | if { (ac_try="$ac_link" | 6518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7118 | case "(($ac_try" in | 6519 | $as_echo "yes" >&6; } |
7119 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7120 | *) ac_try_echo=$ac_try;; | ||
7121 | esac | ||
7122 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7123 | (eval "$ac_link") 2>&5 | ||
7124 | ac_status=$? | ||
7125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7126 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
7127 | { (case "(($ac_try" in | ||
7128 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7129 | *) ac_try_echo=$ac_try;; | ||
7130 | esac | ||
7131 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7132 | (eval "$ac_try") 2>&5 | ||
7133 | ac_status=$? | ||
7134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7135 | (exit $ac_status); }; }; then | ||
7136 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7137 | echo "${ECHO_T}yes" >&6; } | ||
7138 | break | 6520 | break |
7139 | else | 6521 | else |
7140 | echo "$as_me: program exited with status $ac_status" >&5 | 6522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7141 | echo "$as_me: failed program was:" >&5 | 6523 | $as_echo "no" >&6; } |
7142 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7143 | |||
7144 | ( exit $ac_status ) | ||
7145 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7146 | echo "${ECHO_T}no" >&6; } | ||
7147 | fi | 6524 | fi |
7148 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6525 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6526 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
7149 | fi | 6527 | fi |
7150 | 6528 | ||
7151 | 6529 | ||
7152 | |||
7153 | else | 6530 | else |
7154 | echo "$as_me: failed program was:" >&5 | 6531 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7155 | sed 's/^/| /' conftest.$ac_ext >&5 | 6532 | $as_echo "no" >&6; } |
7156 | |||
7157 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7158 | echo "${ECHO_T}no" >&6; } | ||
7159 | 6533 | ||
7160 | fi | 6534 | fi |
7161 | 6535 | rm -f core conftest.err conftest.$ac_objext \ | |
7162 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6536 | conftest$ac_exeext conftest.$ac_ext |
7163 | conftest$ac_exeext conftest.$ac_ext | ||
7164 | CFLAGS="$saved_CFLAGS" | 6537 | CFLAGS="$saved_CFLAGS" |
7165 | LDFLAGS="$saved_LDFLAGS" | 6538 | LDFLAGS="$saved_LDFLAGS" |
7166 | done | 6539 | done |
@@ -7171,61 +6544,10 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
7171 | unset ac_cv_have_decl_LLONG_MAX | 6544 | unset ac_cv_have_decl_LLONG_MAX |
7172 | saved_CFLAGS="$CFLAGS" | 6545 | saved_CFLAGS="$CFLAGS" |
7173 | CFLAGS="$CFLAGS -std=gnu99" | 6546 | CFLAGS="$CFLAGS -std=gnu99" |
7174 | { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 | 6547 | ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include <limits.h> |
7175 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } | ||
7176 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | ||
7177 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7178 | else | ||
7179 | cat >conftest.$ac_ext <<_ACEOF | ||
7180 | /* confdefs.h. */ | ||
7181 | _ACEOF | ||
7182 | cat confdefs.h >>conftest.$ac_ext | ||
7183 | cat >>conftest.$ac_ext <<_ACEOF | ||
7184 | /* end confdefs.h. */ | ||
7185 | #include <limits.h> | ||
7186 | |||
7187 | |||
7188 | int | ||
7189 | main () | ||
7190 | { | ||
7191 | #ifndef LLONG_MAX | ||
7192 | (void) LLONG_MAX; | ||
7193 | #endif | ||
7194 | |||
7195 | ; | ||
7196 | return 0; | ||
7197 | } | ||
7198 | _ACEOF | ||
7199 | rm -f conftest.$ac_objext | ||
7200 | if { (ac_try="$ac_compile" | ||
7201 | case "(($ac_try" in | ||
7202 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7203 | *) ac_try_echo=$ac_try;; | ||
7204 | esac | ||
7205 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7206 | (eval "$ac_compile") 2>conftest.er1 | ||
7207 | ac_status=$? | ||
7208 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7209 | rm -f conftest.er1 | ||
7210 | cat conftest.err >&5 | ||
7211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7212 | (exit $ac_status); } && { | ||
7213 | test -z "$ac_c_werror_flag" || | ||
7214 | test ! -s conftest.err | ||
7215 | } && test -s conftest.$ac_objext; then | ||
7216 | ac_cv_have_decl_LLONG_MAX=yes | ||
7217 | else | ||
7218 | echo "$as_me: failed program was:" >&5 | ||
7219 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7220 | |||
7221 | ac_cv_have_decl_LLONG_MAX=no | ||
7222 | fi | ||
7223 | 6548 | ||
7224 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6549 | " |
7225 | fi | 6550 | if test "x$ac_cv_have_decl_LLONG_MAX" = xyes; then : |
7226 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
7227 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } | ||
7228 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
7229 | have_llong_max=1 | 6551 | have_llong_max=1 |
7230 | else | 6552 | else |
7231 | CFLAGS="$saved_CFLAGS" | 6553 | CFLAGS="$saved_CFLAGS" |
@@ -7234,13 +6556,9 @@ fi | |||
7234 | fi | 6556 | fi |
7235 | fi | 6557 | fi |
7236 | 6558 | ||
7237 | { echo "$as_me:$LINENO: checking if compiler allows __attribute__ on return types" >&5 | 6559 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows __attribute__ on return types" >&5 |
7238 | echo $ECHO_N "checking if compiler allows __attribute__ on return types... $ECHO_C" >&6; } | 6560 | $as_echo_n "checking if compiler allows __attribute__ on return types... " >&6; } |
7239 | cat >conftest.$ac_ext <<_ACEOF | 6561 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7240 | /* confdefs.h. */ | ||
7241 | _ACEOF | ||
7242 | cat confdefs.h >>conftest.$ac_ext | ||
7243 | cat >>conftest.$ac_ext <<_ACEOF | ||
7244 | /* end confdefs.h. */ | 6562 | /* end confdefs.h. */ |
7245 | 6563 | ||
7246 | #include <stdlib.h> | 6564 | #include <stdlib.h> |
@@ -7253,52 +6571,28 @@ main () | |||
7253 | return 0; | 6571 | return 0; |
7254 | } | 6572 | } |
7255 | _ACEOF | 6573 | _ACEOF |
7256 | rm -f conftest.$ac_objext | 6574 | if ac_fn_c_try_compile "$LINENO"; then : |
7257 | if { (ac_try="$ac_compile" | 6575 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7258 | case "(($ac_try" in | 6576 | $as_echo "yes" >&6; } |
7259 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7260 | *) ac_try_echo=$ac_try;; | ||
7261 | esac | ||
7262 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7263 | (eval "$ac_compile") 2>conftest.er1 | ||
7264 | ac_status=$? | ||
7265 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7266 | rm -f conftest.er1 | ||
7267 | cat conftest.err >&5 | ||
7268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7269 | (exit $ac_status); } && { | ||
7270 | test -z "$ac_c_werror_flag" || | ||
7271 | test ! -s conftest.err | ||
7272 | } && test -s conftest.$ac_objext; then | ||
7273 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7274 | echo "${ECHO_T}yes" >&6; } | ||
7275 | else | 6577 | else |
7276 | echo "$as_me: failed program was:" >&5 | 6578 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7277 | sed 's/^/| /' conftest.$ac_ext >&5 | 6579 | $as_echo "no" >&6; } |
7278 | |||
7279 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7280 | echo "${ECHO_T}no" >&6; } | ||
7281 | 6580 | ||
7282 | cat >>confdefs.h <<\_ACEOF | 6581 | $as_echo "#define NO_ATTRIBUTE_ON_RETURN_TYPE 1" >>confdefs.h |
7283 | #define NO_ATTRIBUTE_ON_RETURN_TYPE 1 | ||
7284 | _ACEOF | ||
7285 | 6582 | ||
7286 | 6583 | ||
7287 | fi | 6584 | fi |
7288 | |||
7289 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6585 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7290 | 6586 | ||
7291 | if test "x$no_attrib_nonnull" != "x1" ; then | 6587 | if test "x$no_attrib_nonnull" != "x1" ; then |
7292 | 6588 | ||
7293 | cat >>confdefs.h <<\_ACEOF | 6589 | $as_echo "#define HAVE_ATTRIBUTE__NONNULL__ 1" >>confdefs.h |
7294 | #define HAVE_ATTRIBUTE__NONNULL__ 1 | ||
7295 | _ACEOF | ||
7296 | 6590 | ||
7297 | fi | 6591 | fi |
7298 | 6592 | ||
7299 | 6593 | ||
7300 | # Check whether --with-rpath was given. | 6594 | # Check whether --with-rpath was given. |
7301 | if test "${with_rpath+set}" = set; then | 6595 | if test "${with_rpath+set}" = set; then : |
7302 | withval=$with_rpath; | 6596 | withval=$with_rpath; |
7303 | if test "x$withval" = "xno" ; then | 6597 | if test "x$withval" = "xno" ; then |
7304 | need_dash_r="" | 6598 | need_dash_r="" |
@@ -7314,7 +6608,7 @@ fi | |||
7314 | # Allow user to specify flags | 6608 | # Allow user to specify flags |
7315 | 6609 | ||
7316 | # Check whether --with-cflags was given. | 6610 | # Check whether --with-cflags was given. |
7317 | if test "${with_cflags+set}" = set; then | 6611 | if test "${with_cflags+set}" = set; then : |
7318 | withval=$with_cflags; | 6612 | withval=$with_cflags; |
7319 | if test -n "$withval" && test "x$withval" != "xno" && \ | 6613 | if test -n "$withval" && test "x$withval" != "xno" && \ |
7320 | test "x${withval}" != "xyes"; then | 6614 | test "x${withval}" != "xyes"; then |
@@ -7326,7 +6620,7 @@ fi | |||
7326 | 6620 | ||
7327 | 6621 | ||
7328 | # Check whether --with-cppflags was given. | 6622 | # Check whether --with-cppflags was given. |
7329 | if test "${with_cppflags+set}" = set; then | 6623 | if test "${with_cppflags+set}" = set; then : |
7330 | withval=$with_cppflags; | 6624 | withval=$with_cppflags; |
7331 | if test -n "$withval" && test "x$withval" != "xno" && \ | 6625 | if test -n "$withval" && test "x$withval" != "xno" && \ |
7332 | test "x${withval}" != "xyes"; then | 6626 | test "x${withval}" != "xyes"; then |
@@ -7338,7 +6632,7 @@ fi | |||
7338 | 6632 | ||
7339 | 6633 | ||
7340 | # Check whether --with-ldflags was given. | 6634 | # Check whether --with-ldflags was given. |
7341 | if test "${with_ldflags+set}" = set; then | 6635 | if test "${with_ldflags+set}" = set; then : |
7342 | withval=$with_ldflags; | 6636 | withval=$with_ldflags; |
7343 | if test -n "$withval" && test "x$withval" != "xno" && \ | 6637 | if test -n "$withval" && test "x$withval" != "xno" && \ |
7344 | test "x${withval}" != "xyes"; then | 6638 | test "x${withval}" != "xyes"; then |
@@ -7350,7 +6644,7 @@ fi | |||
7350 | 6644 | ||
7351 | 6645 | ||
7352 | # Check whether --with-libs was given. | 6646 | # Check whether --with-libs was given. |
7353 | if test "${with_libs+set}" = set; then | 6647 | if test "${with_libs+set}" = set; then : |
7354 | withval=$with_libs; | 6648 | withval=$with_libs; |
7355 | if test -n "$withval" && test "x$withval" != "xno" && \ | 6649 | if test -n "$withval" && test "x$withval" != "xno" && \ |
7356 | test "x${withval}" != "xyes"; then | 6650 | test "x${withval}" != "xyes"; then |
@@ -7362,7 +6656,7 @@ fi | |||
7362 | 6656 | ||
7363 | 6657 | ||
7364 | # Check whether --with-Werror was given. | 6658 | # Check whether --with-Werror was given. |
7365 | if test "${with_Werror+set}" = set; then | 6659 | if test "${with_Werror+set}" = set; then : |
7366 | withval=$with_Werror; | 6660 | withval=$with_Werror; |
7367 | if test -n "$withval" && test "x$withval" != "xno"; then | 6661 | if test -n "$withval" && test "x$withval" != "xno"; then |
7368 | werror_flags="-Werror" | 6662 | werror_flags="-Werror" |
@@ -7375,76 +6669,6 @@ if test "${with_Werror+set}" = set; then | |||
7375 | fi | 6669 | fi |
7376 | 6670 | ||
7377 | 6671 | ||
7378 | |||
7379 | |||
7380 | |||
7381 | |||
7382 | |||
7383 | |||
7384 | |||
7385 | |||
7386 | |||
7387 | |||
7388 | |||
7389 | |||
7390 | |||
7391 | |||
7392 | |||
7393 | |||
7394 | |||
7395 | |||
7396 | |||
7397 | |||
7398 | |||
7399 | |||
7400 | |||
7401 | |||
7402 | |||
7403 | |||
7404 | |||
7405 | |||
7406 | |||
7407 | |||
7408 | |||
7409 | |||
7410 | |||
7411 | |||
7412 | |||
7413 | |||
7414 | |||
7415 | |||
7416 | |||
7417 | |||
7418 | |||
7419 | |||
7420 | |||
7421 | |||
7422 | |||
7423 | |||
7424 | |||
7425 | |||
7426 | |||
7427 | |||
7428 | |||
7429 | |||
7430 | |||
7431 | |||
7432 | |||
7433 | |||
7434 | |||
7435 | |||
7436 | |||
7437 | |||
7438 | |||
7439 | |||
7440 | |||
7441 | |||
7442 | |||
7443 | |||
7444 | |||
7445 | |||
7446 | |||
7447 | |||
7448 | for ac_header in \ | 6672 | for ac_header in \ |
7449 | blf.h \ | 6673 | blf.h \ |
7450 | bstring.h \ | 6674 | bstring.h \ |
@@ -7495,6 +6719,7 @@ for ac_header in \ | |||
7495 | sys/poll.h \ | 6719 | sys/poll.h \ |
7496 | sys/prctl.h \ | 6720 | sys/prctl.h \ |
7497 | sys/pstat.h \ | 6721 | sys/pstat.h \ |
6722 | sys/ptrace.h \ | ||
7498 | sys/select.h \ | 6723 | sys/select.h \ |
7499 | sys/stat.h \ | 6724 | sys/stat.h \ |
7500 | sys/stream.h \ | 6725 | sys/stream.h \ |
@@ -7517,143 +6742,12 @@ for ac_header in \ | |||
7517 | vis.h \ | 6742 | vis.h \ |
7518 | wchar.h \ | 6743 | wchar.h \ |
7519 | 6744 | ||
7520 | do | 6745 | do : |
7521 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6746 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7522 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 6747 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
7523 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6748 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
7524 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7525 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7526 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7527 | fi | ||
7528 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7529 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7530 | echo "${ECHO_T}$ac_res" >&6; } | ||
7531 | else | ||
7532 | # Is the header compilable? | ||
7533 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7534 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
7535 | cat >conftest.$ac_ext <<_ACEOF | ||
7536 | /* confdefs.h. */ | ||
7537 | _ACEOF | ||
7538 | cat confdefs.h >>conftest.$ac_ext | ||
7539 | cat >>conftest.$ac_ext <<_ACEOF | ||
7540 | /* end confdefs.h. */ | ||
7541 | $ac_includes_default | ||
7542 | #include <$ac_header> | ||
7543 | _ACEOF | ||
7544 | rm -f conftest.$ac_objext | ||
7545 | if { (ac_try="$ac_compile" | ||
7546 | case "(($ac_try" in | ||
7547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7548 | *) ac_try_echo=$ac_try;; | ||
7549 | esac | ||
7550 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7551 | (eval "$ac_compile") 2>conftest.er1 | ||
7552 | ac_status=$? | ||
7553 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7554 | rm -f conftest.er1 | ||
7555 | cat conftest.err >&5 | ||
7556 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7557 | (exit $ac_status); } && { | ||
7558 | test -z "$ac_c_werror_flag" || | ||
7559 | test ! -s conftest.err | ||
7560 | } && test -s conftest.$ac_objext; then | ||
7561 | ac_header_compiler=yes | ||
7562 | else | ||
7563 | echo "$as_me: failed program was:" >&5 | ||
7564 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7565 | |||
7566 | ac_header_compiler=no | ||
7567 | fi | ||
7568 | |||
7569 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7570 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
7571 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
7572 | |||
7573 | # Is the header present? | ||
7574 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
7575 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
7576 | cat >conftest.$ac_ext <<_ACEOF | ||
7577 | /* confdefs.h. */ | ||
7578 | _ACEOF | ||
7579 | cat confdefs.h >>conftest.$ac_ext | ||
7580 | cat >>conftest.$ac_ext <<_ACEOF | ||
7581 | /* end confdefs.h. */ | ||
7582 | #include <$ac_header> | ||
7583 | _ACEOF | ||
7584 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
7585 | case "(($ac_try" in | ||
7586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7587 | *) ac_try_echo=$ac_try;; | ||
7588 | esac | ||
7589 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7590 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
7591 | ac_status=$? | ||
7592 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7593 | rm -f conftest.er1 | ||
7594 | cat conftest.err >&5 | ||
7595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7596 | (exit $ac_status); } >/dev/null && { | ||
7597 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
7598 | test ! -s conftest.err | ||
7599 | }; then | ||
7600 | ac_header_preproc=yes | ||
7601 | else | ||
7602 | echo "$as_me: failed program was:" >&5 | ||
7603 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7604 | |||
7605 | ac_header_preproc=no | ||
7606 | fi | ||
7607 | |||
7608 | rm -f conftest.err conftest.$ac_ext | ||
7609 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
7610 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
7611 | |||
7612 | # So? What about this header? | ||
7613 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
7614 | yes:no: ) | ||
7615 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
7616 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
7617 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
7618 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
7619 | ac_header_preproc=yes | ||
7620 | ;; | ||
7621 | no:yes:* ) | ||
7622 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
7623 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
7624 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
7625 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
7626 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
7627 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
7628 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
7629 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
7630 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7631 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
7632 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
7633 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
7634 | ( cat <<\_ASBOX | ||
7635 | ## ------------------------------------------- ## | ||
7636 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
7637 | ## ------------------------------------------- ## | ||
7638 | _ASBOX | ||
7639 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
7640 | ;; | ||
7641 | esac | ||
7642 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7643 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7644 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7646 | else | ||
7647 | eval "$as_ac_Header=\$ac_header_preproc" | ||
7648 | fi | ||
7649 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7650 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7651 | echo "${ECHO_T}$ac_res" >&6; } | ||
7652 | |||
7653 | fi | ||
7654 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7655 | cat >>confdefs.h <<_ACEOF | 6749 | cat >>confdefs.h <<_ACEOF |
7656 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6750 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7657 | _ACEOF | 6751 | _ACEOF |
7658 | 6752 | ||
7659 | fi | 6753 | fi |
@@ -7662,62 +6756,17 @@ done | |||
7662 | 6756 | ||
7663 | 6757 | ||
7664 | # lastlog.h requires sys/time.h to be included first on Solaris | 6758 | # lastlog.h requires sys/time.h to be included first on Solaris |
7665 | |||
7666 | for ac_header in lastlog.h | 6759 | for ac_header in lastlog.h |
7667 | do | 6760 | do : |
7668 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6761 | ac_fn_c_check_header_compile "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" " |
7669 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7670 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7671 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7672 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7673 | else | ||
7674 | cat >conftest.$ac_ext <<_ACEOF | ||
7675 | /* confdefs.h. */ | ||
7676 | _ACEOF | ||
7677 | cat confdefs.h >>conftest.$ac_ext | ||
7678 | cat >>conftest.$ac_ext <<_ACEOF | ||
7679 | /* end confdefs.h. */ | ||
7680 | |||
7681 | #ifdef HAVE_SYS_TIME_H | 6762 | #ifdef HAVE_SYS_TIME_H |
7682 | # include <sys/time.h> | 6763 | # include <sys/time.h> |
7683 | #endif | 6764 | #endif |
7684 | 6765 | ||
7685 | 6766 | " | |
7686 | #include <$ac_header> | 6767 | if test "x$ac_cv_header_lastlog_h" = xyes; then : |
7687 | _ACEOF | ||
7688 | rm -f conftest.$ac_objext | ||
7689 | if { (ac_try="$ac_compile" | ||
7690 | case "(($ac_try" in | ||
7691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7692 | *) ac_try_echo=$ac_try;; | ||
7693 | esac | ||
7694 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7695 | (eval "$ac_compile") 2>conftest.er1 | ||
7696 | ac_status=$? | ||
7697 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7698 | rm -f conftest.er1 | ||
7699 | cat conftest.err >&5 | ||
7700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7701 | (exit $ac_status); } && { | ||
7702 | test -z "$ac_c_werror_flag" || | ||
7703 | test ! -s conftest.err | ||
7704 | } && test -s conftest.$ac_objext; then | ||
7705 | eval "$as_ac_Header=yes" | ||
7706 | else | ||
7707 | echo "$as_me: failed program was:" >&5 | ||
7708 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7709 | |||
7710 | eval "$as_ac_Header=no" | ||
7711 | fi | ||
7712 | |||
7713 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7714 | fi | ||
7715 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7716 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7717 | echo "${ECHO_T}$ac_res" >&6; } | ||
7718 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7719 | cat >>confdefs.h <<_ACEOF | 6768 | cat >>confdefs.h <<_ACEOF |
7720 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6769 | #define HAVE_LASTLOG_H 1 |
7721 | _ACEOF | 6770 | _ACEOF |
7722 | 6771 | ||
7723 | fi | 6772 | fi |
@@ -7726,62 +6775,17 @@ done | |||
7726 | 6775 | ||
7727 | 6776 | ||
7728 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | 6777 | # sys/ptms.h requires sys/stream.h to be included first on Solaris |
7729 | |||
7730 | for ac_header in sys/ptms.h | 6778 | for ac_header in sys/ptms.h |
7731 | do | 6779 | do : |
7732 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6780 | ac_fn_c_check_header_compile "$LINENO" "sys/ptms.h" "ac_cv_header_sys_ptms_h" " |
7733 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7734 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7735 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7736 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7737 | else | ||
7738 | cat >conftest.$ac_ext <<_ACEOF | ||
7739 | /* confdefs.h. */ | ||
7740 | _ACEOF | ||
7741 | cat confdefs.h >>conftest.$ac_ext | ||
7742 | cat >>conftest.$ac_ext <<_ACEOF | ||
7743 | /* end confdefs.h. */ | ||
7744 | |||
7745 | #ifdef HAVE_SYS_STREAM_H | 6781 | #ifdef HAVE_SYS_STREAM_H |
7746 | # include <sys/stream.h> | 6782 | # include <sys/stream.h> |
7747 | #endif | 6783 | #endif |
7748 | 6784 | ||
7749 | 6785 | " | |
7750 | #include <$ac_header> | 6786 | if test "x$ac_cv_header_sys_ptms_h" = xyes; then : |
7751 | _ACEOF | ||
7752 | rm -f conftest.$ac_objext | ||
7753 | if { (ac_try="$ac_compile" | ||
7754 | case "(($ac_try" in | ||
7755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7756 | *) ac_try_echo=$ac_try;; | ||
7757 | esac | ||
7758 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7759 | (eval "$ac_compile") 2>conftest.er1 | ||
7760 | ac_status=$? | ||
7761 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7762 | rm -f conftest.er1 | ||
7763 | cat conftest.err >&5 | ||
7764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7765 | (exit $ac_status); } && { | ||
7766 | test -z "$ac_c_werror_flag" || | ||
7767 | test ! -s conftest.err | ||
7768 | } && test -s conftest.$ac_objext; then | ||
7769 | eval "$as_ac_Header=yes" | ||
7770 | else | ||
7771 | echo "$as_me: failed program was:" >&5 | ||
7772 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7773 | |||
7774 | eval "$as_ac_Header=no" | ||
7775 | fi | ||
7776 | |||
7777 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7778 | fi | ||
7779 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7780 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7781 | echo "${ECHO_T}$ac_res" >&6; } | ||
7782 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7783 | cat >>confdefs.h <<_ACEOF | 6787 | cat >>confdefs.h <<_ACEOF |
7784 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6788 | #define HAVE_SYS_PTMS_H 1 |
7785 | _ACEOF | 6789 | _ACEOF |
7786 | 6790 | ||
7787 | fi | 6791 | fi |
@@ -7790,60 +6794,15 @@ done | |||
7790 | 6794 | ||
7791 | 6795 | ||
7792 | # login_cap.h requires sys/types.h on NetBSD | 6796 | # login_cap.h requires sys/types.h on NetBSD |
7793 | |||
7794 | for ac_header in login_cap.h | 6797 | for ac_header in login_cap.h |
7795 | do | 6798 | do : |
7796 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6799 | ac_fn_c_check_header_compile "$LINENO" "login_cap.h" "ac_cv_header_login_cap_h" " |
7797 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7798 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7799 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7800 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7801 | else | ||
7802 | cat >conftest.$ac_ext <<_ACEOF | ||
7803 | /* confdefs.h. */ | ||
7804 | _ACEOF | ||
7805 | cat confdefs.h >>conftest.$ac_ext | ||
7806 | cat >>conftest.$ac_ext <<_ACEOF | ||
7807 | /* end confdefs.h. */ | ||
7808 | |||
7809 | #include <sys/types.h> | 6800 | #include <sys/types.h> |
7810 | 6801 | ||
7811 | 6802 | " | |
7812 | #include <$ac_header> | 6803 | if test "x$ac_cv_header_login_cap_h" = xyes; then : |
7813 | _ACEOF | ||
7814 | rm -f conftest.$ac_objext | ||
7815 | if { (ac_try="$ac_compile" | ||
7816 | case "(($ac_try" in | ||
7817 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7818 | *) ac_try_echo=$ac_try;; | ||
7819 | esac | ||
7820 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7821 | (eval "$ac_compile") 2>conftest.er1 | ||
7822 | ac_status=$? | ||
7823 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7824 | rm -f conftest.er1 | ||
7825 | cat conftest.err >&5 | ||
7826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7827 | (exit $ac_status); } && { | ||
7828 | test -z "$ac_c_werror_flag" || | ||
7829 | test ! -s conftest.err | ||
7830 | } && test -s conftest.$ac_objext; then | ||
7831 | eval "$as_ac_Header=yes" | ||
7832 | else | ||
7833 | echo "$as_me: failed program was:" >&5 | ||
7834 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7835 | |||
7836 | eval "$as_ac_Header=no" | ||
7837 | fi | ||
7838 | |||
7839 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7840 | fi | ||
7841 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7842 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7843 | echo "${ECHO_T}$ac_res" >&6; } | ||
7844 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7845 | cat >>confdefs.h <<_ACEOF | 6804 | cat >>confdefs.h <<_ACEOF |
7846 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6805 | #define HAVE_LOGIN_CAP_H 1 |
7847 | _ACEOF | 6806 | _ACEOF |
7848 | 6807 | ||
7849 | fi | 6808 | fi |
@@ -7852,60 +6811,15 @@ done | |||
7852 | 6811 | ||
7853 | 6812 | ||
7854 | # older BSDs need sys/param.h before sys/mount.h | 6813 | # older BSDs need sys/param.h before sys/mount.h |
7855 | |||
7856 | for ac_header in sys/mount.h | 6814 | for ac_header in sys/mount.h |
7857 | do | 6815 | do : |
7858 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6816 | ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" " |
7859 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7860 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7861 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7862 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7863 | else | ||
7864 | cat >conftest.$ac_ext <<_ACEOF | ||
7865 | /* confdefs.h. */ | ||
7866 | _ACEOF | ||
7867 | cat confdefs.h >>conftest.$ac_ext | ||
7868 | cat >>conftest.$ac_ext <<_ACEOF | ||
7869 | /* end confdefs.h. */ | ||
7870 | |||
7871 | #include <sys/param.h> | 6817 | #include <sys/param.h> |
7872 | 6818 | ||
7873 | 6819 | " | |
7874 | #include <$ac_header> | 6820 | if test "x$ac_cv_header_sys_mount_h" = xyes; then : |
7875 | _ACEOF | ||
7876 | rm -f conftest.$ac_objext | ||
7877 | if { (ac_try="$ac_compile" | ||
7878 | case "(($ac_try" in | ||
7879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7880 | *) ac_try_echo=$ac_try;; | ||
7881 | esac | ||
7882 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7883 | (eval "$ac_compile") 2>conftest.er1 | ||
7884 | ac_status=$? | ||
7885 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7886 | rm -f conftest.er1 | ||
7887 | cat conftest.err >&5 | ||
7888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7889 | (exit $ac_status); } && { | ||
7890 | test -z "$ac_c_werror_flag" || | ||
7891 | test ! -s conftest.err | ||
7892 | } && test -s conftest.$ac_objext; then | ||
7893 | eval "$as_ac_Header=yes" | ||
7894 | else | ||
7895 | echo "$as_me: failed program was:" >&5 | ||
7896 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7897 | |||
7898 | eval "$as_ac_Header=no" | ||
7899 | fi | ||
7900 | |||
7901 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7902 | fi | ||
7903 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7904 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7905 | echo "${ECHO_T}$ac_res" >&6; } | ||
7906 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7907 | cat >>confdefs.h <<_ACEOF | 6821 | cat >>confdefs.h <<_ACEOF |
7908 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6822 | #define HAVE_SYS_MOUNT_H 1 |
7909 | _ACEOF | 6823 | _ACEOF |
7910 | 6824 | ||
7911 | fi | 6825 | fi |
@@ -7914,61 +6828,16 @@ done | |||
7914 | 6828 | ||
7915 | 6829 | ||
7916 | # Android requires sys/socket.h to be included before sys/un.h | 6830 | # Android requires sys/socket.h to be included before sys/un.h |
7917 | |||
7918 | for ac_header in sys/un.h | 6831 | for ac_header in sys/un.h |
7919 | do | 6832 | do : |
7920 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6833 | ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" " |
7921 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7922 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7923 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7924 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7925 | else | ||
7926 | cat >conftest.$ac_ext <<_ACEOF | ||
7927 | /* confdefs.h. */ | ||
7928 | _ACEOF | ||
7929 | cat confdefs.h >>conftest.$ac_ext | ||
7930 | cat >>conftest.$ac_ext <<_ACEOF | ||
7931 | /* end confdefs.h. */ | ||
7932 | |||
7933 | #include <sys/types.h> | 6834 | #include <sys/types.h> |
7934 | #include <sys/socket.h> | 6835 | #include <sys/socket.h> |
7935 | 6836 | ||
7936 | 6837 | " | |
7937 | #include <$ac_header> | 6838 | if test "x$ac_cv_header_sys_un_h" = xyes; then : |
7938 | _ACEOF | ||
7939 | rm -f conftest.$ac_objext | ||
7940 | if { (ac_try="$ac_compile" | ||
7941 | case "(($ac_try" in | ||
7942 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7943 | *) ac_try_echo=$ac_try;; | ||
7944 | esac | ||
7945 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7946 | (eval "$ac_compile") 2>conftest.er1 | ||
7947 | ac_status=$? | ||
7948 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7949 | rm -f conftest.er1 | ||
7950 | cat conftest.err >&5 | ||
7951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7952 | (exit $ac_status); } && { | ||
7953 | test -z "$ac_c_werror_flag" || | ||
7954 | test ! -s conftest.err | ||
7955 | } && test -s conftest.$ac_objext; then | ||
7956 | eval "$as_ac_Header=yes" | ||
7957 | else | ||
7958 | echo "$as_me: failed program was:" >&5 | ||
7959 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7960 | |||
7961 | eval "$as_ac_Header=no" | ||
7962 | fi | ||
7963 | |||
7964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7965 | fi | ||
7966 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7967 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7968 | echo "${ECHO_T}$ac_res" >&6; } | ||
7969 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7970 | cat >>confdefs.h <<_ACEOF | 6839 | cat >>confdefs.h <<_ACEOF |
7971 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6840 | #define HAVE_SYS_UN_H 1 |
7972 | _ACEOF | 6841 | _ACEOF |
7973 | 6842 | ||
7974 | fi | 6843 | fi |
@@ -7994,13 +6863,9 @@ case "$host" in | |||
7994 | # particularly with older versions of vac or xlc. | 6863 | # particularly with older versions of vac or xlc. |
7995 | # It also throws errors about null macro argments, but these are | 6864 | # It also throws errors about null macro argments, but these are |
7996 | # not fatal. | 6865 | # not fatal. |
7997 | { echo "$as_me:$LINENO: checking if compiler allows macro redefinitions" >&5 | 6866 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows macro redefinitions" >&5 |
7998 | echo $ECHO_N "checking if compiler allows macro redefinitions... $ECHO_C" >&6; } | 6867 | $as_echo_n "checking if compiler allows macro redefinitions... " >&6; } |
7999 | cat >conftest.$ac_ext <<_ACEOF | 6868 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8000 | /* confdefs.h. */ | ||
8001 | _ACEOF | ||
8002 | cat confdefs.h >>conftest.$ac_ext | ||
8003 | cat >>conftest.$ac_ext <<_ACEOF | ||
8004 | /* end confdefs.h. */ | 6869 | /* end confdefs.h. */ |
8005 | 6870 | ||
8006 | #define testmacro foo | 6871 | #define testmacro foo |
@@ -8013,31 +6878,12 @@ main () | |||
8013 | return 0; | 6878 | return 0; |
8014 | } | 6879 | } |
8015 | _ACEOF | 6880 | _ACEOF |
8016 | rm -f conftest.$ac_objext | 6881 | if ac_fn_c_try_compile "$LINENO"; then : |
8017 | if { (ac_try="$ac_compile" | 6882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8018 | case "(($ac_try" in | 6883 | $as_echo "yes" >&6; } |
8019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8020 | *) ac_try_echo=$ac_try;; | ||
8021 | esac | ||
8022 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8023 | (eval "$ac_compile") 2>conftest.er1 | ||
8024 | ac_status=$? | ||
8025 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8026 | rm -f conftest.er1 | ||
8027 | cat conftest.err >&5 | ||
8028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8029 | (exit $ac_status); } && { | ||
8030 | test -z "$ac_c_werror_flag" || | ||
8031 | test ! -s conftest.err | ||
8032 | } && test -s conftest.$ac_objext; then | ||
8033 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
8034 | echo "${ECHO_T}yes" >&6; } | ||
8035 | else | 6884 | else |
8036 | echo "$as_me: failed program was:" >&5 | 6885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8037 | sed 's/^/| /' conftest.$ac_ext >&5 | 6886 | $as_echo "no" >&6; } |
8038 | |||
8039 | { echo "$as_me:$LINENO: result: no" >&5 | ||
8040 | echo "${ECHO_T}no" >&6; } | ||
8041 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" | 6887 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" |
8042 | LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" | 6888 | LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" |
8043 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" | 6889 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" |
@@ -8045,11 +6891,10 @@ echo "${ECHO_T}no" >&6; } | |||
8045 | 6891 | ||
8046 | 6892 | ||
8047 | fi | 6893 | fi |
8048 | |||
8049 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6894 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8050 | 6895 | ||
8051 | { echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 | 6896 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to specify blibpath for linker ($LD)" >&5 |
8052 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6; } | 6897 | $as_echo_n "checking how to specify blibpath for linker ($LD)... " >&6; } |
8053 | if (test -z "$blibpath"); then | 6898 | if (test -z "$blibpath"); then |
8054 | blibpath="/usr/lib:/lib" | 6899 | blibpath="/usr/lib:/lib" |
8055 | fi | 6900 | fi |
@@ -8062,11 +6907,7 @@ echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6; | |||
8062 | for tryflags in $flags ;do | 6907 | for tryflags in $flags ;do |
8063 | if (test -z "$blibflags"); then | 6908 | if (test -z "$blibflags"); then |
8064 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" | 6909 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" |
8065 | cat >conftest.$ac_ext <<_ACEOF | 6910 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8066 | /* confdefs.h. */ | ||
8067 | _ACEOF | ||
8068 | cat confdefs.h >>conftest.$ac_ext | ||
8069 | cat >>conftest.$ac_ext <<_ACEOF | ||
8070 | /* end confdefs.h. */ | 6911 | /* end confdefs.h. */ |
8071 | 6912 | ||
8072 | int | 6913 | int |
@@ -8077,147 +6918,36 @@ main () | |||
8077 | return 0; | 6918 | return 0; |
8078 | } | 6919 | } |
8079 | _ACEOF | 6920 | _ACEOF |
8080 | rm -f conftest.$ac_objext conftest$ac_exeext | 6921 | if ac_fn_c_try_link "$LINENO"; then : |
8081 | if { (ac_try="$ac_link" | ||
8082 | case "(($ac_try" in | ||
8083 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8084 | *) ac_try_echo=$ac_try;; | ||
8085 | esac | ||
8086 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8087 | (eval "$ac_link") 2>conftest.er1 | ||
8088 | ac_status=$? | ||
8089 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8090 | rm -f conftest.er1 | ||
8091 | cat conftest.err >&5 | ||
8092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8093 | (exit $ac_status); } && { | ||
8094 | test -z "$ac_c_werror_flag" || | ||
8095 | test ! -s conftest.err | ||
8096 | } && test -s conftest$ac_exeext && | ||
8097 | $as_test_x conftest$ac_exeext; then | ||
8098 | blibflags=$tryflags | 6922 | blibflags=$tryflags |
8099 | else | ||
8100 | echo "$as_me: failed program was:" >&5 | ||
8101 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8102 | |||
8103 | |||
8104 | fi | 6923 | fi |
8105 | 6924 | rm -f core conftest.err conftest.$ac_objext \ | |
8106 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6925 | conftest$ac_exeext conftest.$ac_ext |
8107 | conftest$ac_exeext conftest.$ac_ext | ||
8108 | fi | 6926 | fi |
8109 | done | 6927 | done |
8110 | if (test -z "$blibflags"); then | 6928 | if (test -z "$blibflags"); then |
8111 | { echo "$as_me:$LINENO: result: not found" >&5 | 6929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
8112 | echo "${ECHO_T}not found" >&6; } | 6930 | $as_echo "not found" >&6; } |
8113 | { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 | 6931 | as_fn_error $? "*** must be able to specify blibpath on AIX - check config.log" "$LINENO" 5 |
8114 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} | ||
8115 | { (exit 1); exit 1; }; } | ||
8116 | else | 6932 | else |
8117 | { echo "$as_me:$LINENO: result: $blibflags" >&5 | 6933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $blibflags" >&5 |
8118 | echo "${ECHO_T}$blibflags" >&6; } | 6934 | $as_echo "$blibflags" >&6; } |
8119 | fi | 6935 | fi |
8120 | LDFLAGS="$saved_LDFLAGS" | 6936 | LDFLAGS="$saved_LDFLAGS" |
8121 | { echo "$as_me:$LINENO: checking for authenticate" >&5 | 6937 | ac_fn_c_check_func "$LINENO" "authenticate" "ac_cv_func_authenticate" |
8122 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6; } | 6938 | if test "x$ac_cv_func_authenticate" = xyes; then : |
8123 | if test "${ac_cv_func_authenticate+set}" = set; then | ||
8124 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8125 | else | ||
8126 | cat >conftest.$ac_ext <<_ACEOF | ||
8127 | /* confdefs.h. */ | ||
8128 | _ACEOF | ||
8129 | cat confdefs.h >>conftest.$ac_ext | ||
8130 | cat >>conftest.$ac_ext <<_ACEOF | ||
8131 | /* end confdefs.h. */ | ||
8132 | /* Define authenticate to an innocuous variant, in case <limits.h> declares authenticate. | ||
8133 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8134 | #define authenticate innocuous_authenticate | ||
8135 | |||
8136 | /* System header to define __stub macros and hopefully few prototypes, | ||
8137 | which can conflict with char authenticate (); below. | ||
8138 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8139 | <limits.h> exists even on freestanding compilers. */ | ||
8140 | 6939 | ||
8141 | #ifdef __STDC__ | 6940 | $as_echo "#define WITH_AIXAUTHENTICATE 1" >>confdefs.h |
8142 | # include <limits.h> | ||
8143 | #else | ||
8144 | # include <assert.h> | ||
8145 | #endif | ||
8146 | |||
8147 | #undef authenticate | ||
8148 | |||
8149 | /* Override any GCC internal prototype to avoid an error. | ||
8150 | Use char because int might match the return type of a GCC | ||
8151 | builtin and then its argument prototype would still apply. */ | ||
8152 | #ifdef __cplusplus | ||
8153 | extern "C" | ||
8154 | #endif | ||
8155 | char authenticate (); | ||
8156 | /* The GNU C library defines this for functions which it implements | ||
8157 | to always fail with ENOSYS. Some functions are actually named | ||
8158 | something starting with __ and the normal name is an alias. */ | ||
8159 | #if defined __stub_authenticate || defined __stub___authenticate | ||
8160 | choke me | ||
8161 | #endif | ||
8162 | |||
8163 | int | ||
8164 | main () | ||
8165 | { | ||
8166 | return authenticate (); | ||
8167 | ; | ||
8168 | return 0; | ||
8169 | } | ||
8170 | _ACEOF | ||
8171 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8172 | if { (ac_try="$ac_link" | ||
8173 | case "(($ac_try" in | ||
8174 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8175 | *) ac_try_echo=$ac_try;; | ||
8176 | esac | ||
8177 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8178 | (eval "$ac_link") 2>conftest.er1 | ||
8179 | ac_status=$? | ||
8180 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8181 | rm -f conftest.er1 | ||
8182 | cat conftest.err >&5 | ||
8183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8184 | (exit $ac_status); } && { | ||
8185 | test -z "$ac_c_werror_flag" || | ||
8186 | test ! -s conftest.err | ||
8187 | } && test -s conftest$ac_exeext && | ||
8188 | $as_test_x conftest$ac_exeext; then | ||
8189 | ac_cv_func_authenticate=yes | ||
8190 | else | ||
8191 | echo "$as_me: failed program was:" >&5 | ||
8192 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8193 | |||
8194 | ac_cv_func_authenticate=no | ||
8195 | fi | ||
8196 | |||
8197 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8198 | conftest$ac_exeext conftest.$ac_ext | ||
8199 | fi | ||
8200 | { echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | ||
8201 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6; } | ||
8202 | if test $ac_cv_func_authenticate = yes; then | ||
8203 | |||
8204 | cat >>confdefs.h <<\_ACEOF | ||
8205 | #define WITH_AIXAUTHENTICATE 1 | ||
8206 | _ACEOF | ||
8207 | 6941 | ||
8208 | else | 6942 | else |
8209 | { echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 | 6943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for authenticate in -ls" >&5 |
8210 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6; } | 6944 | $as_echo_n "checking for authenticate in -ls... " >&6; } |
8211 | if test "${ac_cv_lib_s_authenticate+set}" = set; then | 6945 | if ${ac_cv_lib_s_authenticate+:} false; then : |
8212 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6946 | $as_echo_n "(cached) " >&6 |
8213 | else | 6947 | else |
8214 | ac_check_lib_save_LIBS=$LIBS | 6948 | ac_check_lib_save_LIBS=$LIBS |
8215 | LIBS="-ls $LIBS" | 6949 | LIBS="-ls $LIBS" |
8216 | cat >conftest.$ac_ext <<_ACEOF | 6950 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8217 | /* confdefs.h. */ | ||
8218 | _ACEOF | ||
8219 | cat confdefs.h >>conftest.$ac_ext | ||
8220 | cat >>conftest.$ac_ext <<_ACEOF | ||
8221 | /* end confdefs.h. */ | 6951 | /* end confdefs.h. */ |
8222 | 6952 | ||
8223 | /* Override any GCC internal prototype to avoid an error. | 6953 | /* Override any GCC internal prototype to avoid an error. |
@@ -8235,42 +6965,19 @@ return authenticate (); | |||
8235 | return 0; | 6965 | return 0; |
8236 | } | 6966 | } |
8237 | _ACEOF | 6967 | _ACEOF |
8238 | rm -f conftest.$ac_objext conftest$ac_exeext | 6968 | if ac_fn_c_try_link "$LINENO"; then : |
8239 | if { (ac_try="$ac_link" | ||
8240 | case "(($ac_try" in | ||
8241 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8242 | *) ac_try_echo=$ac_try;; | ||
8243 | esac | ||
8244 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8245 | (eval "$ac_link") 2>conftest.er1 | ||
8246 | ac_status=$? | ||
8247 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8248 | rm -f conftest.er1 | ||
8249 | cat conftest.err >&5 | ||
8250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8251 | (exit $ac_status); } && { | ||
8252 | test -z "$ac_c_werror_flag" || | ||
8253 | test ! -s conftest.err | ||
8254 | } && test -s conftest$ac_exeext && | ||
8255 | $as_test_x conftest$ac_exeext; then | ||
8256 | ac_cv_lib_s_authenticate=yes | 6969 | ac_cv_lib_s_authenticate=yes |
8257 | else | 6970 | else |
8258 | echo "$as_me: failed program was:" >&5 | 6971 | ac_cv_lib_s_authenticate=no |
8259 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8260 | |||
8261 | ac_cv_lib_s_authenticate=no | ||
8262 | fi | 6972 | fi |
8263 | 6973 | rm -f core conftest.err conftest.$ac_objext \ | |
8264 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 6974 | conftest$ac_exeext conftest.$ac_ext |
8265 | conftest$ac_exeext conftest.$ac_ext | ||
8266 | LIBS=$ac_check_lib_save_LIBS | 6975 | LIBS=$ac_check_lib_save_LIBS |
8267 | fi | 6976 | fi |
8268 | { echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 | 6977 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_s_authenticate" >&5 |
8269 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6; } | 6978 | $as_echo "$ac_cv_lib_s_authenticate" >&6; } |
8270 | if test $ac_cv_lib_s_authenticate = yes; then | 6979 | if test "x$ac_cv_lib_s_authenticate" = xyes; then : |
8271 | cat >>confdefs.h <<\_ACEOF | 6980 | $as_echo "#define WITH_AIXAUTHENTICATE 1" >>confdefs.h |
8272 | #define WITH_AIXAUTHENTICATE 1 | ||
8273 | _ACEOF | ||
8274 | 6981 | ||
8275 | LIBS="$LIBS -ls" | 6982 | LIBS="$LIBS -ls" |
8276 | 6983 | ||
@@ -8279,410 +6986,78 @@ fi | |||
8279 | 6986 | ||
8280 | fi | 6987 | fi |
8281 | 6988 | ||
8282 | { echo "$as_me:$LINENO: checking whether authenticate is declared" >&5 | 6989 | ac_fn_c_check_decl "$LINENO" "authenticate" "ac_cv_have_decl_authenticate" "#include <usersec.h> |
8283 | echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6; } | 6990 | " |
8284 | if test "${ac_cv_have_decl_authenticate+set}" = set; then | 6991 | if test "x$ac_cv_have_decl_authenticate" = xyes; then : |
8285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 6992 | ac_have_decl=1 |
8286 | else | ||
8287 | cat >conftest.$ac_ext <<_ACEOF | ||
8288 | /* confdefs.h. */ | ||
8289 | _ACEOF | ||
8290 | cat confdefs.h >>conftest.$ac_ext | ||
8291 | cat >>conftest.$ac_ext <<_ACEOF | ||
8292 | /* end confdefs.h. */ | ||
8293 | #include <usersec.h> | ||
8294 | |||
8295 | int | ||
8296 | main () | ||
8297 | { | ||
8298 | #ifndef authenticate | ||
8299 | (void) authenticate; | ||
8300 | #endif | ||
8301 | |||
8302 | ; | ||
8303 | return 0; | ||
8304 | } | ||
8305 | _ACEOF | ||
8306 | rm -f conftest.$ac_objext | ||
8307 | if { (ac_try="$ac_compile" | ||
8308 | case "(($ac_try" in | ||
8309 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8310 | *) ac_try_echo=$ac_try;; | ||
8311 | esac | ||
8312 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8313 | (eval "$ac_compile") 2>conftest.er1 | ||
8314 | ac_status=$? | ||
8315 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8316 | rm -f conftest.er1 | ||
8317 | cat conftest.err >&5 | ||
8318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8319 | (exit $ac_status); } && { | ||
8320 | test -z "$ac_c_werror_flag" || | ||
8321 | test ! -s conftest.err | ||
8322 | } && test -s conftest.$ac_objext; then | ||
8323 | ac_cv_have_decl_authenticate=yes | ||
8324 | else | 6993 | else |
8325 | echo "$as_me: failed program was:" >&5 | 6994 | ac_have_decl=0 |
8326 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8327 | |||
8328 | ac_cv_have_decl_authenticate=no | ||
8329 | fi | ||
8330 | |||
8331 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8332 | fi | 6995 | fi |
8333 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5 | ||
8334 | echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6; } | ||
8335 | if test $ac_cv_have_decl_authenticate = yes; then | ||
8336 | 6996 | ||
8337 | cat >>confdefs.h <<_ACEOF | 6997 | cat >>confdefs.h <<_ACEOF |
8338 | #define HAVE_DECL_AUTHENTICATE 1 | 6998 | #define HAVE_DECL_AUTHENTICATE $ac_have_decl |
8339 | _ACEOF | ||
8340 | |||
8341 | |||
8342 | else | ||
8343 | cat >>confdefs.h <<_ACEOF | ||
8344 | #define HAVE_DECL_AUTHENTICATE 0 | ||
8345 | _ACEOF | 6999 | _ACEOF |
8346 | 7000 | ac_fn_c_check_decl "$LINENO" "loginrestrictions" "ac_cv_have_decl_loginrestrictions" "#include <usersec.h> | |
8347 | 7001 | " | |
8348 | fi | 7002 | if test "x$ac_cv_have_decl_loginrestrictions" = xyes; then : |
8349 | { echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 | 7003 | ac_have_decl=1 |
8350 | echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6; } | ||
8351 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then | ||
8352 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8353 | else | ||
8354 | cat >conftest.$ac_ext <<_ACEOF | ||
8355 | /* confdefs.h. */ | ||
8356 | _ACEOF | ||
8357 | cat confdefs.h >>conftest.$ac_ext | ||
8358 | cat >>conftest.$ac_ext <<_ACEOF | ||
8359 | /* end confdefs.h. */ | ||
8360 | #include <usersec.h> | ||
8361 | |||
8362 | int | ||
8363 | main () | ||
8364 | { | ||
8365 | #ifndef loginrestrictions | ||
8366 | (void) loginrestrictions; | ||
8367 | #endif | ||
8368 | |||
8369 | ; | ||
8370 | return 0; | ||
8371 | } | ||
8372 | _ACEOF | ||
8373 | rm -f conftest.$ac_objext | ||
8374 | if { (ac_try="$ac_compile" | ||
8375 | case "(($ac_try" in | ||
8376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8377 | *) ac_try_echo=$ac_try;; | ||
8378 | esac | ||
8379 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8380 | (eval "$ac_compile") 2>conftest.er1 | ||
8381 | ac_status=$? | ||
8382 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8383 | rm -f conftest.er1 | ||
8384 | cat conftest.err >&5 | ||
8385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8386 | (exit $ac_status); } && { | ||
8387 | test -z "$ac_c_werror_flag" || | ||
8388 | test ! -s conftest.err | ||
8389 | } && test -s conftest.$ac_objext; then | ||
8390 | ac_cv_have_decl_loginrestrictions=yes | ||
8391 | else | 7004 | else |
8392 | echo "$as_me: failed program was:" >&5 | 7005 | ac_have_decl=0 |
8393 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8394 | |||
8395 | ac_cv_have_decl_loginrestrictions=no | ||
8396 | fi | 7006 | fi |
8397 | 7007 | ||
8398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8399 | fi | ||
8400 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5 | ||
8401 | echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6; } | ||
8402 | if test $ac_cv_have_decl_loginrestrictions = yes; then | ||
8403 | |||
8404 | cat >>confdefs.h <<_ACEOF | 7008 | cat >>confdefs.h <<_ACEOF |
8405 | #define HAVE_DECL_LOGINRESTRICTIONS 1 | 7009 | #define HAVE_DECL_LOGINRESTRICTIONS $ac_have_decl |
8406 | _ACEOF | ||
8407 | |||
8408 | |||
8409 | else | ||
8410 | cat >>confdefs.h <<_ACEOF | ||
8411 | #define HAVE_DECL_LOGINRESTRICTIONS 0 | ||
8412 | _ACEOF | ||
8413 | |||
8414 | |||
8415 | fi | ||
8416 | { echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 | ||
8417 | echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6; } | ||
8418 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then | ||
8419 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8420 | else | ||
8421 | cat >conftest.$ac_ext <<_ACEOF | ||
8422 | /* confdefs.h. */ | ||
8423 | _ACEOF | ||
8424 | cat confdefs.h >>conftest.$ac_ext | ||
8425 | cat >>conftest.$ac_ext <<_ACEOF | ||
8426 | /* end confdefs.h. */ | ||
8427 | #include <usersec.h> | ||
8428 | |||
8429 | int | ||
8430 | main () | ||
8431 | { | ||
8432 | #ifndef loginsuccess | ||
8433 | (void) loginsuccess; | ||
8434 | #endif | ||
8435 | |||
8436 | ; | ||
8437 | return 0; | ||
8438 | } | ||
8439 | _ACEOF | 7010 | _ACEOF |
8440 | rm -f conftest.$ac_objext | 7011 | ac_fn_c_check_decl "$LINENO" "loginsuccess" "ac_cv_have_decl_loginsuccess" "#include <usersec.h> |
8441 | if { (ac_try="$ac_compile" | 7012 | " |
8442 | case "(($ac_try" in | 7013 | if test "x$ac_cv_have_decl_loginsuccess" = xyes; then : |
8443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7014 | ac_have_decl=1 |
8444 | *) ac_try_echo=$ac_try;; | ||
8445 | esac | ||
8446 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8447 | (eval "$ac_compile") 2>conftest.er1 | ||
8448 | ac_status=$? | ||
8449 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8450 | rm -f conftest.er1 | ||
8451 | cat conftest.err >&5 | ||
8452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8453 | (exit $ac_status); } && { | ||
8454 | test -z "$ac_c_werror_flag" || | ||
8455 | test ! -s conftest.err | ||
8456 | } && test -s conftest.$ac_objext; then | ||
8457 | ac_cv_have_decl_loginsuccess=yes | ||
8458 | else | 7015 | else |
8459 | echo "$as_me: failed program was:" >&5 | 7016 | ac_have_decl=0 |
8460 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8461 | |||
8462 | ac_cv_have_decl_loginsuccess=no | ||
8463 | fi | 7017 | fi |
8464 | 7018 | ||
8465 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8466 | fi | ||
8467 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5 | ||
8468 | echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6; } | ||
8469 | if test $ac_cv_have_decl_loginsuccess = yes; then | ||
8470 | |||
8471 | cat >>confdefs.h <<_ACEOF | 7019 | cat >>confdefs.h <<_ACEOF |
8472 | #define HAVE_DECL_LOGINSUCCESS 1 | 7020 | #define HAVE_DECL_LOGINSUCCESS $ac_have_decl |
8473 | _ACEOF | ||
8474 | |||
8475 | |||
8476 | else | ||
8477 | cat >>confdefs.h <<_ACEOF | ||
8478 | #define HAVE_DECL_LOGINSUCCESS 0 | ||
8479 | _ACEOF | ||
8480 | |||
8481 | |||
8482 | fi | ||
8483 | { echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 | ||
8484 | echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6; } | ||
8485 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then | ||
8486 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8487 | else | ||
8488 | cat >conftest.$ac_ext <<_ACEOF | ||
8489 | /* confdefs.h. */ | ||
8490 | _ACEOF | ||
8491 | cat confdefs.h >>conftest.$ac_ext | ||
8492 | cat >>conftest.$ac_ext <<_ACEOF | ||
8493 | /* end confdefs.h. */ | ||
8494 | #include <usersec.h> | ||
8495 | |||
8496 | int | ||
8497 | main () | ||
8498 | { | ||
8499 | #ifndef passwdexpired | ||
8500 | (void) passwdexpired; | ||
8501 | #endif | ||
8502 | |||
8503 | ; | ||
8504 | return 0; | ||
8505 | } | ||
8506 | _ACEOF | 7021 | _ACEOF |
8507 | rm -f conftest.$ac_objext | 7022 | ac_fn_c_check_decl "$LINENO" "passwdexpired" "ac_cv_have_decl_passwdexpired" "#include <usersec.h> |
8508 | if { (ac_try="$ac_compile" | 7023 | " |
8509 | case "(($ac_try" in | 7024 | if test "x$ac_cv_have_decl_passwdexpired" = xyes; then : |
8510 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7025 | ac_have_decl=1 |
8511 | *) ac_try_echo=$ac_try;; | ||
8512 | esac | ||
8513 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8514 | (eval "$ac_compile") 2>conftest.er1 | ||
8515 | ac_status=$? | ||
8516 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8517 | rm -f conftest.er1 | ||
8518 | cat conftest.err >&5 | ||
8519 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8520 | (exit $ac_status); } && { | ||
8521 | test -z "$ac_c_werror_flag" || | ||
8522 | test ! -s conftest.err | ||
8523 | } && test -s conftest.$ac_objext; then | ||
8524 | ac_cv_have_decl_passwdexpired=yes | ||
8525 | else | 7026 | else |
8526 | echo "$as_me: failed program was:" >&5 | 7027 | ac_have_decl=0 |
8527 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8528 | |||
8529 | ac_cv_have_decl_passwdexpired=no | ||
8530 | fi | 7028 | fi |
8531 | 7029 | ||
8532 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8533 | fi | ||
8534 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5 | ||
8535 | echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6; } | ||
8536 | if test $ac_cv_have_decl_passwdexpired = yes; then | ||
8537 | |||
8538 | cat >>confdefs.h <<_ACEOF | 7030 | cat >>confdefs.h <<_ACEOF |
8539 | #define HAVE_DECL_PASSWDEXPIRED 1 | 7031 | #define HAVE_DECL_PASSWDEXPIRED $ac_have_decl |
8540 | _ACEOF | ||
8541 | |||
8542 | |||
8543 | else | ||
8544 | cat >>confdefs.h <<_ACEOF | ||
8545 | #define HAVE_DECL_PASSWDEXPIRED 0 | ||
8546 | _ACEOF | ||
8547 | |||
8548 | |||
8549 | fi | ||
8550 | { echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 | ||
8551 | echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6; } | ||
8552 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then | ||
8553 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8554 | else | ||
8555 | cat >conftest.$ac_ext <<_ACEOF | ||
8556 | /* confdefs.h. */ | ||
8557 | _ACEOF | ||
8558 | cat confdefs.h >>conftest.$ac_ext | ||
8559 | cat >>conftest.$ac_ext <<_ACEOF | ||
8560 | /* end confdefs.h. */ | ||
8561 | #include <usersec.h> | ||
8562 | |||
8563 | int | ||
8564 | main () | ||
8565 | { | ||
8566 | #ifndef setauthdb | ||
8567 | (void) setauthdb; | ||
8568 | #endif | ||
8569 | |||
8570 | ; | ||
8571 | return 0; | ||
8572 | } | ||
8573 | _ACEOF | 7032 | _ACEOF |
8574 | rm -f conftest.$ac_objext | 7033 | ac_fn_c_check_decl "$LINENO" "setauthdb" "ac_cv_have_decl_setauthdb" "#include <usersec.h> |
8575 | if { (ac_try="$ac_compile" | 7034 | " |
8576 | case "(($ac_try" in | 7035 | if test "x$ac_cv_have_decl_setauthdb" = xyes; then : |
8577 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 7036 | ac_have_decl=1 |
8578 | *) ac_try_echo=$ac_try;; | ||
8579 | esac | ||
8580 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8581 | (eval "$ac_compile") 2>conftest.er1 | ||
8582 | ac_status=$? | ||
8583 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8584 | rm -f conftest.er1 | ||
8585 | cat conftest.err >&5 | ||
8586 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8587 | (exit $ac_status); } && { | ||
8588 | test -z "$ac_c_werror_flag" || | ||
8589 | test ! -s conftest.err | ||
8590 | } && test -s conftest.$ac_objext; then | ||
8591 | ac_cv_have_decl_setauthdb=yes | ||
8592 | else | 7037 | else |
8593 | echo "$as_me: failed program was:" >&5 | 7038 | ac_have_decl=0 |
8594 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8595 | |||
8596 | ac_cv_have_decl_setauthdb=no | ||
8597 | fi | 7039 | fi |
8598 | 7040 | ||
8599 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8600 | fi | ||
8601 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5 | ||
8602 | echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6; } | ||
8603 | if test $ac_cv_have_decl_setauthdb = yes; then | ||
8604 | |||
8605 | cat >>confdefs.h <<_ACEOF | 7041 | cat >>confdefs.h <<_ACEOF |
8606 | #define HAVE_DECL_SETAUTHDB 1 | 7042 | #define HAVE_DECL_SETAUTHDB $ac_have_decl |
8607 | _ACEOF | ||
8608 | |||
8609 | |||
8610 | else | ||
8611 | cat >>confdefs.h <<_ACEOF | ||
8612 | #define HAVE_DECL_SETAUTHDB 0 | ||
8613 | _ACEOF | ||
8614 | |||
8615 | |||
8616 | fi | ||
8617 | |||
8618 | |||
8619 | { echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 | ||
8620 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6; } | ||
8621 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then | ||
8622 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8623 | else | ||
8624 | cat >conftest.$ac_ext <<_ACEOF | ||
8625 | /* confdefs.h. */ | ||
8626 | _ACEOF | 7043 | _ACEOF |
8627 | cat confdefs.h >>conftest.$ac_ext | ||
8628 | cat >>conftest.$ac_ext <<_ACEOF | ||
8629 | /* end confdefs.h. */ | ||
8630 | #include <usersec.h> | ||
8631 | |||
8632 | 7044 | ||
8633 | int | 7045 | ac_fn_c_check_decl "$LINENO" "loginfailed" "ac_cv_have_decl_loginfailed" "#include <usersec.h> |
8634 | main () | ||
8635 | { | ||
8636 | #ifndef loginfailed | ||
8637 | (void) loginfailed; | ||
8638 | #endif | ||
8639 | 7046 | ||
8640 | ; | 7047 | " |
8641 | return 0; | 7048 | if test "x$ac_cv_have_decl_loginfailed" = xyes; then : |
8642 | } | 7049 | ac_have_decl=1 |
8643 | _ACEOF | ||
8644 | rm -f conftest.$ac_objext | ||
8645 | if { (ac_try="$ac_compile" | ||
8646 | case "(($ac_try" in | ||
8647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8648 | *) ac_try_echo=$ac_try;; | ||
8649 | esac | ||
8650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8651 | (eval "$ac_compile") 2>conftest.er1 | ||
8652 | ac_status=$? | ||
8653 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8654 | rm -f conftest.er1 | ||
8655 | cat conftest.err >&5 | ||
8656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8657 | (exit $ac_status); } && { | ||
8658 | test -z "$ac_c_werror_flag" || | ||
8659 | test ! -s conftest.err | ||
8660 | } && test -s conftest.$ac_objext; then | ||
8661 | ac_cv_have_decl_loginfailed=yes | ||
8662 | else | 7050 | else |
8663 | echo "$as_me: failed program was:" >&5 | 7051 | ac_have_decl=0 |
8664 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8665 | |||
8666 | ac_cv_have_decl_loginfailed=no | ||
8667 | fi | ||
8668 | |||
8669 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8670 | fi | 7052 | fi |
8671 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 | ||
8672 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6; } | ||
8673 | if test $ac_cv_have_decl_loginfailed = yes; then | ||
8674 | 7053 | ||
8675 | cat >>confdefs.h <<_ACEOF | 7054 | cat >>confdefs.h <<_ACEOF |
8676 | #define HAVE_DECL_LOGINFAILED 1 | 7055 | #define HAVE_DECL_LOGINFAILED $ac_have_decl |
8677 | _ACEOF | ||
8678 | |||
8679 | { echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 | ||
8680 | echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6; } | ||
8681 | cat >conftest.$ac_ext <<_ACEOF | ||
8682 | /* confdefs.h. */ | ||
8683 | _ACEOF | 7056 | _ACEOF |
8684 | cat confdefs.h >>conftest.$ac_ext | 7057 | if test $ac_have_decl = 1; then : |
8685 | cat >>conftest.$ac_ext <<_ACEOF | 7058 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if loginfailed takes 4 arguments" >&5 |
7059 | $as_echo_n "checking if loginfailed takes 4 arguments... " >&6; } | ||
7060 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
8686 | /* end confdefs.h. */ | 7061 | /* end confdefs.h. */ |
8687 | #include <usersec.h> | 7062 | #include <usersec.h> |
8688 | int | 7063 | int |
@@ -8693,328 +7068,119 @@ main () | |||
8693 | return 0; | 7068 | return 0; |
8694 | } | 7069 | } |
8695 | _ACEOF | 7070 | _ACEOF |
8696 | rm -f conftest.$ac_objext | 7071 | if ac_fn_c_try_compile "$LINENO"; then : |
8697 | if { (ac_try="$ac_compile" | 7072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8698 | case "(($ac_try" in | 7073 | $as_echo "yes" >&6; } |
8699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8700 | *) ac_try_echo=$ac_try;; | ||
8701 | esac | ||
8702 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8703 | (eval "$ac_compile") 2>conftest.er1 | ||
8704 | ac_status=$? | ||
8705 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8706 | rm -f conftest.er1 | ||
8707 | cat conftest.err >&5 | ||
8708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8709 | (exit $ac_status); } && { | ||
8710 | test -z "$ac_c_werror_flag" || | ||
8711 | test ! -s conftest.err | ||
8712 | } && test -s conftest.$ac_objext; then | ||
8713 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
8714 | echo "${ECHO_T}yes" >&6; } | ||
8715 | 7074 | ||
8716 | cat >>confdefs.h <<\_ACEOF | 7075 | $as_echo "#define AIX_LOGINFAILED_4ARG 1" >>confdefs.h |
8717 | #define AIX_LOGINFAILED_4ARG 1 | ||
8718 | _ACEOF | ||
8719 | 7076 | ||
8720 | else | 7077 | else |
8721 | echo "$as_me: failed program was:" >&5 | 7078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8722 | sed 's/^/| /' conftest.$ac_ext >&5 | 7079 | $as_echo "no" >&6; } |
8723 | |||
8724 | { echo "$as_me:$LINENO: result: no" >&5 | ||
8725 | echo "${ECHO_T}no" >&6; } | ||
8726 | 7080 | ||
8727 | fi | 7081 | fi |
8728 | |||
8729 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7082 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8730 | else | ||
8731 | cat >>confdefs.h <<_ACEOF | ||
8732 | #define HAVE_DECL_LOGINFAILED 0 | ||
8733 | _ACEOF | ||
8734 | |||
8735 | |||
8736 | fi | ||
8737 | |||
8738 | |||
8739 | |||
8740 | |||
8741 | for ac_func in getgrset setauthdb | ||
8742 | do | ||
8743 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8744 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8745 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
8746 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
8747 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8748 | else | ||
8749 | cat >conftest.$ac_ext <<_ACEOF | ||
8750 | /* confdefs.h. */ | ||
8751 | _ACEOF | ||
8752 | cat confdefs.h >>conftest.$ac_ext | ||
8753 | cat >>conftest.$ac_ext <<_ACEOF | ||
8754 | /* end confdefs.h. */ | ||
8755 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8756 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8757 | #define $ac_func innocuous_$ac_func | ||
8758 | |||
8759 | /* System header to define __stub macros and hopefully few prototypes, | ||
8760 | which can conflict with char $ac_func (); below. | ||
8761 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8762 | <limits.h> exists even on freestanding compilers. */ | ||
8763 | |||
8764 | #ifdef __STDC__ | ||
8765 | # include <limits.h> | ||
8766 | #else | ||
8767 | # include <assert.h> | ||
8768 | #endif | ||
8769 | |||
8770 | #undef $ac_func | ||
8771 | |||
8772 | /* Override any GCC internal prototype to avoid an error. | ||
8773 | Use char because int might match the return type of a GCC | ||
8774 | builtin and then its argument prototype would still apply. */ | ||
8775 | #ifdef __cplusplus | ||
8776 | extern "C" | ||
8777 | #endif | ||
8778 | char $ac_func (); | ||
8779 | /* The GNU C library defines this for functions which it implements | ||
8780 | to always fail with ENOSYS. Some functions are actually named | ||
8781 | something starting with __ and the normal name is an alias. */ | ||
8782 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
8783 | choke me | ||
8784 | #endif | ||
8785 | |||
8786 | int | ||
8787 | main () | ||
8788 | { | ||
8789 | return $ac_func (); | ||
8790 | ; | ||
8791 | return 0; | ||
8792 | } | ||
8793 | _ACEOF | ||
8794 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8795 | if { (ac_try="$ac_link" | ||
8796 | case "(($ac_try" in | ||
8797 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8798 | *) ac_try_echo=$ac_try;; | ||
8799 | esac | ||
8800 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8801 | (eval "$ac_link") 2>conftest.er1 | ||
8802 | ac_status=$? | ||
8803 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8804 | rm -f conftest.er1 | ||
8805 | cat conftest.err >&5 | ||
8806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8807 | (exit $ac_status); } && { | ||
8808 | test -z "$ac_c_werror_flag" || | ||
8809 | test ! -s conftest.err | ||
8810 | } && test -s conftest$ac_exeext && | ||
8811 | $as_test_x conftest$ac_exeext; then | ||
8812 | eval "$as_ac_var=yes" | ||
8813 | else | ||
8814 | echo "$as_me: failed program was:" >&5 | ||
8815 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8816 | |||
8817 | eval "$as_ac_var=no" | ||
8818 | fi | 7083 | fi |
8819 | 7084 | ||
8820 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7085 | for ac_func in getgrset setauthdb |
8821 | conftest$ac_exeext conftest.$ac_ext | 7086 | do : |
8822 | fi | 7087 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8823 | ac_res=`eval echo '${'$as_ac_var'}'` | 7088 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8824 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 7089 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
8825 | echo "${ECHO_T}$ac_res" >&6; } | ||
8826 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8827 | cat >>confdefs.h <<_ACEOF | 7090 | cat >>confdefs.h <<_ACEOF |
8828 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7091 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8829 | _ACEOF | 7092 | _ACEOF |
8830 | 7093 | ||
8831 | fi | 7094 | fi |
8832 | done | 7095 | done |
8833 | 7096 | ||
8834 | { echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5 | 7097 | ac_fn_c_check_decl "$LINENO" "F_CLOSEM" "ac_cv_have_decl_F_CLOSEM" " #include <limits.h> |
8835 | echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6; } | ||
8836 | if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then | ||
8837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8838 | else | ||
8839 | cat >conftest.$ac_ext <<_ACEOF | ||
8840 | /* confdefs.h. */ | ||
8841 | _ACEOF | ||
8842 | cat confdefs.h >>conftest.$ac_ext | ||
8843 | cat >>conftest.$ac_ext <<_ACEOF | ||
8844 | /* end confdefs.h. */ | ||
8845 | #include <limits.h> | ||
8846 | #include <fcntl.h> | 7098 | #include <fcntl.h> |
8847 | 7099 | ||
7100 | " | ||
7101 | if test "x$ac_cv_have_decl_F_CLOSEM" = xyes; then : | ||
8848 | 7102 | ||
8849 | int | 7103 | $as_echo "#define HAVE_FCNTL_CLOSEM 1" >>confdefs.h |
8850 | main () | ||
8851 | { | ||
8852 | #ifndef F_CLOSEM | ||
8853 | (void) F_CLOSEM; | ||
8854 | #endif | ||
8855 | |||
8856 | ; | ||
8857 | return 0; | ||
8858 | } | ||
8859 | _ACEOF | ||
8860 | rm -f conftest.$ac_objext | ||
8861 | if { (ac_try="$ac_compile" | ||
8862 | case "(($ac_try" in | ||
8863 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8864 | *) ac_try_echo=$ac_try;; | ||
8865 | esac | ||
8866 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8867 | (eval "$ac_compile") 2>conftest.er1 | ||
8868 | ac_status=$? | ||
8869 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8870 | rm -f conftest.er1 | ||
8871 | cat conftest.err >&5 | ||
8872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8873 | (exit $ac_status); } && { | ||
8874 | test -z "$ac_c_werror_flag" || | ||
8875 | test ! -s conftest.err | ||
8876 | } && test -s conftest.$ac_objext; then | ||
8877 | ac_cv_have_decl_F_CLOSEM=yes | ||
8878 | else | ||
8879 | echo "$as_me: failed program was:" >&5 | ||
8880 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8881 | |||
8882 | ac_cv_have_decl_F_CLOSEM=no | ||
8883 | fi | ||
8884 | |||
8885 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8886 | fi | ||
8887 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5 | ||
8888 | echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6; } | ||
8889 | if test $ac_cv_have_decl_F_CLOSEM = yes; then | ||
8890 | |||
8891 | cat >>confdefs.h <<\_ACEOF | ||
8892 | #define HAVE_FCNTL_CLOSEM 1 | ||
8893 | _ACEOF | ||
8894 | 7104 | ||
8895 | fi | 7105 | fi |
8896 | 7106 | ||
8897 | check_for_aix_broken_getaddrinfo=1 | 7107 | check_for_aix_broken_getaddrinfo=1 |
8898 | 7108 | ||
8899 | cat >>confdefs.h <<\_ACEOF | 7109 | $as_echo "#define BROKEN_REALPATH 1" >>confdefs.h |
8900 | #define BROKEN_REALPATH 1 | ||
8901 | _ACEOF | ||
8902 | 7110 | ||
8903 | 7111 | ||
8904 | cat >>confdefs.h <<\_ACEOF | 7112 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
8905 | #define SETEUID_BREAKS_SETUID 1 | ||
8906 | _ACEOF | ||
8907 | 7113 | ||
8908 | 7114 | ||
8909 | cat >>confdefs.h <<\_ACEOF | 7115 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
8910 | #define BROKEN_SETREUID 1 | ||
8911 | _ACEOF | ||
8912 | 7116 | ||
8913 | 7117 | ||
8914 | cat >>confdefs.h <<\_ACEOF | 7118 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
8915 | #define BROKEN_SETREGID 1 | ||
8916 | _ACEOF | ||
8917 | 7119 | ||
8918 | 7120 | ||
8919 | cat >>confdefs.h <<\_ACEOF | 7121 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h |
8920 | #define DISABLE_LASTLOG 1 | ||
8921 | _ACEOF | ||
8922 | 7122 | ||
8923 | 7123 | ||
8924 | cat >>confdefs.h <<\_ACEOF | 7124 | $as_echo "#define LOGIN_NEEDS_UTMPX 1" >>confdefs.h |
8925 | #define LOGIN_NEEDS_UTMPX 1 | ||
8926 | _ACEOF | ||
8927 | 7125 | ||
8928 | 7126 | ||
8929 | cat >>confdefs.h <<\_ACEOF | 7127 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h |
8930 | #define SPT_TYPE SPT_REUSEARGV | ||
8931 | _ACEOF | ||
8932 | 7128 | ||
8933 | 7129 | ||
8934 | cat >>confdefs.h <<\_ACEOF | 7130 | $as_echo "#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1" >>confdefs.h |
8935 | #define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 | ||
8936 | _ACEOF | ||
8937 | 7131 | ||
8938 | 7132 | ||
8939 | cat >>confdefs.h <<\_ACEOF | 7133 | $as_echo "#define PTY_ZEROREAD 1" >>confdefs.h |
8940 | #define PTY_ZEROREAD 1 | ||
8941 | _ACEOF | ||
8942 | 7134 | ||
8943 | 7135 | ||
8944 | cat >>confdefs.h <<\_ACEOF | 7136 | $as_echo "#define PLATFORM_SYS_DIR_UID 2" >>confdefs.h |
8945 | #define PLATFORM_SYS_DIR_UID 2 | ||
8946 | _ACEOF | ||
8947 | 7137 | ||
8948 | ;; | 7138 | ;; |
8949 | *-*-android*) | 7139 | *-*-android*) |
8950 | 7140 | ||
8951 | cat >>confdefs.h <<\_ACEOF | 7141 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h |
8952 | #define DISABLE_UTMP 1 | ||
8953 | _ACEOF | ||
8954 | 7142 | ||
8955 | 7143 | ||
8956 | cat >>confdefs.h <<\_ACEOF | 7144 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h |
8957 | #define DISABLE_WTMP 1 | ||
8958 | _ACEOF | ||
8959 | 7145 | ||
8960 | ;; | 7146 | ;; |
8961 | *-*-cygwin*) | 7147 | *-*-cygwin*) |
8962 | check_for_libcrypt_later=1 | 7148 | check_for_libcrypt_later=1 |
8963 | LIBS="$LIBS /usr/lib/textreadmode.o" | 7149 | LIBS="$LIBS /usr/lib/textreadmode.o" |
8964 | 7150 | ||
8965 | cat >>confdefs.h <<\_ACEOF | 7151 | $as_echo "#define HAVE_CYGWIN 1" >>confdefs.h |
8966 | #define HAVE_CYGWIN 1 | ||
8967 | _ACEOF | ||
8968 | 7152 | ||
8969 | 7153 | ||
8970 | cat >>confdefs.h <<\_ACEOF | 7154 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
8971 | #define USE_PIPES 1 | ||
8972 | _ACEOF | ||
8973 | 7155 | ||
8974 | 7156 | ||
8975 | cat >>confdefs.h <<\_ACEOF | 7157 | $as_echo "#define NO_UID_RESTORATION_TEST 1" >>confdefs.h |
8976 | #define NO_UID_RESTORATION_TEST 1 | ||
8977 | _ACEOF | ||
8978 | 7158 | ||
8979 | 7159 | ||
8980 | cat >>confdefs.h <<\_ACEOF | 7160 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h |
8981 | #define DISABLE_SHADOW 1 | ||
8982 | _ACEOF | ||
8983 | 7161 | ||
8984 | 7162 | ||
8985 | cat >>confdefs.h <<\_ACEOF | 7163 | $as_echo "#define NO_X11_UNIX_SOCKETS 1" >>confdefs.h |
8986 | #define NO_X11_UNIX_SOCKETS 1 | ||
8987 | _ACEOF | ||
8988 | 7164 | ||
8989 | 7165 | ||
8990 | cat >>confdefs.h <<\_ACEOF | 7166 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
8991 | #define DISABLE_FD_PASSING 1 | ||
8992 | _ACEOF | ||
8993 | 7167 | ||
8994 | 7168 | ||
8995 | cat >>confdefs.h <<\_ACEOF | 7169 | $as_echo "#define SSH_IOBUFSZ 65535" >>confdefs.h |
8996 | #define SSH_IOBUFSZ 65535 | ||
8997 | _ACEOF | ||
8998 | 7170 | ||
8999 | 7171 | ||
9000 | cat >>confdefs.h <<\_ACEOF | 7172 | $as_echo "#define FILESYSTEM_NO_BACKSLASH 1" >>confdefs.h |
9001 | #define FILESYSTEM_NO_BACKSLASH 1 | ||
9002 | _ACEOF | ||
9003 | 7173 | ||
9004 | # Cygwin defines optargs, optargs as declspec(dllimport) for historical | 7174 | # Cygwin defines optargs, optargs as declspec(dllimport) for historical |
9005 | # reasons which cause compile warnings, so we disable those warnings. | 7175 | # reasons which cause compile warnings, so we disable those warnings. |
9006 | { | 7176 | { |
9007 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wno-attributes" >&5 | 7177 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wno-attributes" >&5 |
9008 | echo $ECHO_N "checking if $CC supports compile flag -Wno-attributes... $ECHO_C" >&6; } | 7178 | $as_echo_n "checking if $CC supports compile flag -Wno-attributes... " >&6; } |
9009 | saved_CFLAGS="$CFLAGS" | 7179 | saved_CFLAGS="$CFLAGS" |
9010 | CFLAGS="$CFLAGS $WERROR -Wno-attributes" | 7180 | CFLAGS="$CFLAGS $WERROR -Wno-attributes" |
9011 | _define_flag="" | 7181 | _define_flag="" |
9012 | test "x$_define_flag" = "x" && _define_flag="-Wno-attributes" | 7182 | test "x$_define_flag" = "x" && _define_flag="-Wno-attributes" |
9013 | cat >conftest.$ac_ext <<_ACEOF | 7183 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9014 | /* confdefs.h. */ | ||
9015 | _ACEOF | ||
9016 | cat confdefs.h >>conftest.$ac_ext | ||
9017 | cat >>conftest.$ac_ext <<_ACEOF | ||
9018 | /* end confdefs.h. */ | 7184 | /* end confdefs.h. */ |
9019 | 7185 | ||
9020 | #include <stdlib.h> | 7186 | #include <stdlib.h> |
@@ -9030,79 +7196,47 @@ int main(int argc, char **argv) { | |||
9030 | } | 7196 | } |
9031 | 7197 | ||
9032 | _ACEOF | 7198 | _ACEOF |
9033 | rm -f conftest.$ac_objext | 7199 | if ac_fn_c_try_compile "$LINENO"; then : |
9034 | if { (ac_try="$ac_compile" | ||
9035 | case "(($ac_try" in | ||
9036 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9037 | *) ac_try_echo=$ac_try;; | ||
9038 | esac | ||
9039 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9040 | (eval "$ac_compile") 2>conftest.er1 | ||
9041 | ac_status=$? | ||
9042 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9043 | rm -f conftest.er1 | ||
9044 | cat conftest.err >&5 | ||
9045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9046 | (exit $ac_status); } && { | ||
9047 | test -z "$ac_c_werror_flag" || | ||
9048 | test ! -s conftest.err | ||
9049 | } && test -s conftest.$ac_objext; then | ||
9050 | 7200 | ||
9051 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 7201 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
9052 | then | 7202 | then |
9053 | { echo "$as_me:$LINENO: result: no" >&5 | 7203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9054 | echo "${ECHO_T}no" >&6; } | 7204 | $as_echo "no" >&6; } |
9055 | CFLAGS="$saved_CFLAGS" | 7205 | CFLAGS="$saved_CFLAGS" |
9056 | else | 7206 | else |
9057 | { echo "$as_me:$LINENO: result: yes" >&5 | 7207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
9058 | echo "${ECHO_T}yes" >&6; } | 7208 | $as_echo "yes" >&6; } |
9059 | CFLAGS="$saved_CFLAGS $_define_flag" | 7209 | CFLAGS="$saved_CFLAGS $_define_flag" |
9060 | fi | 7210 | fi |
9061 | else | 7211 | else |
9062 | echo "$as_me: failed program was:" >&5 | 7212 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9063 | sed 's/^/| /' conftest.$ac_ext >&5 | 7213 | $as_echo "no" >&6; } |
9064 | |||
9065 | { echo "$as_me:$LINENO: result: no" >&5 | ||
9066 | echo "${ECHO_T}no" >&6; } | ||
9067 | CFLAGS="$saved_CFLAGS" | 7214 | CFLAGS="$saved_CFLAGS" |
9068 | 7215 | ||
9069 | fi | 7216 | fi |
9070 | |||
9071 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7217 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9072 | } | 7218 | } |
9073 | ;; | 7219 | ;; |
9074 | *-*-dgux*) | 7220 | *-*-dgux*) |
9075 | 7221 | ||
9076 | cat >>confdefs.h <<\_ACEOF | 7222 | $as_echo "#define IP_TOS_IS_BROKEN 1" >>confdefs.h |
9077 | #define IP_TOS_IS_BROKEN 1 | ||
9078 | _ACEOF | ||
9079 | 7223 | ||
9080 | cat >>confdefs.h <<\_ACEOF | 7224 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
9081 | #define SETEUID_BREAKS_SETUID 1 | ||
9082 | _ACEOF | ||
9083 | 7225 | ||
9084 | cat >>confdefs.h <<\_ACEOF | 7226 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
9085 | #define BROKEN_SETREUID 1 | ||
9086 | _ACEOF | ||
9087 | 7227 | ||
9088 | cat >>confdefs.h <<\_ACEOF | 7228 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
9089 | #define BROKEN_SETREGID 1 | ||
9090 | _ACEOF | ||
9091 | 7229 | ||
9092 | ;; | 7230 | ;; |
9093 | *-*-darwin*) | 7231 | *-*-darwin*) |
9094 | use_pie=auto | 7232 | use_pie=auto |
9095 | { echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 | 7233 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have working getaddrinfo" >&5 |
9096 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6; } | 7234 | $as_echo_n "checking if we have working getaddrinfo... " >&6; } |
9097 | if test "$cross_compiling" = yes; then | 7235 | if test "$cross_compiling" = yes; then : |
9098 | { echo "$as_me:$LINENO: result: assume it is working" >&5 | 7236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: assume it is working" >&5 |
9099 | echo "${ECHO_T}assume it is working" >&6; } | 7237 | $as_echo "assume it is working" >&6; } |
9100 | else | 7238 | else |
9101 | cat >conftest.$ac_ext <<_ACEOF | 7239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9102 | /* confdefs.h. */ | ||
9103 | _ACEOF | ||
9104 | cat confdefs.h >>conftest.$ac_ext | ||
9105 | cat >>conftest.$ac_ext <<_ACEOF | ||
9106 | /* end confdefs.h. */ | 7240 | /* end confdefs.h. */ |
9107 | #include <mach-o/dyld.h> | 7241 | #include <mach-o/dyld.h> |
9108 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | 7242 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) |
@@ -9112,63 +7246,29 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
9112 | } | 7246 | } |
9113 | 7247 | ||
9114 | _ACEOF | 7248 | _ACEOF |
9115 | rm -f conftest$ac_exeext | 7249 | if ac_fn_c_try_run "$LINENO"; then : |
9116 | if { (ac_try="$ac_link" | 7250 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: working" >&5 |
9117 | case "(($ac_try" in | 7251 | $as_echo "working" >&6; } |
9118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9119 | *) ac_try_echo=$ac_try;; | ||
9120 | esac | ||
9121 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9122 | (eval "$ac_link") 2>&5 | ||
9123 | ac_status=$? | ||
9124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9125 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9126 | { (case "(($ac_try" in | ||
9127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9128 | *) ac_try_echo=$ac_try;; | ||
9129 | esac | ||
9130 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9131 | (eval "$ac_try") 2>&5 | ||
9132 | ac_status=$? | ||
9133 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9134 | (exit $ac_status); }; }; then | ||
9135 | { echo "$as_me:$LINENO: result: working" >&5 | ||
9136 | echo "${ECHO_T}working" >&6; } | ||
9137 | else | 7252 | else |
9138 | echo "$as_me: program exited with status $ac_status" >&5 | 7253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy" >&5 |
9139 | echo "$as_me: failed program was:" >&5 | 7254 | $as_echo "buggy" >&6; } |
9140 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9141 | |||
9142 | ( exit $ac_status ) | ||
9143 | { echo "$as_me:$LINENO: result: buggy" >&5 | ||
9144 | echo "${ECHO_T}buggy" >&6; } | ||
9145 | 7255 | ||
9146 | cat >>confdefs.h <<\_ACEOF | 7256 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h |
9147 | #define BROKEN_GETADDRINFO 1 | ||
9148 | _ACEOF | ||
9149 | 7257 | ||
9150 | 7258 | ||
9151 | fi | 7259 | fi |
9152 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7260 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
7261 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
9153 | fi | 7262 | fi |
9154 | 7263 | ||
7264 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | ||
9155 | 7265 | ||
9156 | cat >>confdefs.h <<\_ACEOF | 7266 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
9157 | #define SETEUID_BREAKS_SETUID 1 | ||
9158 | _ACEOF | ||
9159 | 7267 | ||
9160 | cat >>confdefs.h <<\_ACEOF | 7268 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
9161 | #define BROKEN_SETREUID 1 | ||
9162 | _ACEOF | ||
9163 | 7269 | ||
9164 | cat >>confdefs.h <<\_ACEOF | ||
9165 | #define BROKEN_SETREGID 1 | ||
9166 | _ACEOF | ||
9167 | 7270 | ||
9168 | 7271 | $as_echo "#define BROKEN_GLOB 1" >>confdefs.h | |
9169 | cat >>confdefs.h <<\_ACEOF | ||
9170 | #define BROKEN_GLOB 1 | ||
9171 | _ACEOF | ||
9172 | 7272 | ||
9173 | 7273 | ||
9174 | cat >>confdefs.h <<_ACEOF | 7274 | cat >>confdefs.h <<_ACEOF |
@@ -9176,346 +7276,63 @@ cat >>confdefs.h <<_ACEOF | |||
9176 | _ACEOF | 7276 | _ACEOF |
9177 | 7277 | ||
9178 | 7278 | ||
9179 | cat >>confdefs.h <<\_ACEOF | 7279 | $as_echo "#define SSH_TUN_FREEBSD 1" >>confdefs.h |
9180 | #define SSH_TUN_FREEBSD 1 | ||
9181 | _ACEOF | ||
9182 | |||
9183 | |||
9184 | cat >>confdefs.h <<\_ACEOF | ||
9185 | #define SSH_TUN_COMPAT_AF 1 | ||
9186 | _ACEOF | ||
9187 | 7280 | ||
9188 | 7281 | ||
9189 | cat >>confdefs.h <<\_ACEOF | 7282 | $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h |
9190 | #define SSH_TUN_PREPEND_AF 1 | ||
9191 | _ACEOF | ||
9192 | 7283 | ||
9193 | 7284 | ||
9194 | { echo "$as_me:$LINENO: checking whether AU_IPv4 is declared" >&5 | 7285 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
9195 | echo $ECHO_N "checking whether AU_IPv4 is declared... $ECHO_C" >&6; } | ||
9196 | if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then | ||
9197 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9198 | else | ||
9199 | cat >conftest.$ac_ext <<_ACEOF | ||
9200 | /* confdefs.h. */ | ||
9201 | _ACEOF | ||
9202 | cat confdefs.h >>conftest.$ac_ext | ||
9203 | cat >>conftest.$ac_ext <<_ACEOF | ||
9204 | /* end confdefs.h. */ | ||
9205 | $ac_includes_default | ||
9206 | int | ||
9207 | main () | ||
9208 | { | ||
9209 | #ifndef AU_IPv4 | ||
9210 | (void) AU_IPv4; | ||
9211 | #endif | ||
9212 | 7286 | ||
9213 | ; | ||
9214 | return 0; | ||
9215 | } | ||
9216 | _ACEOF | ||
9217 | rm -f conftest.$ac_objext | ||
9218 | if { (ac_try="$ac_compile" | ||
9219 | case "(($ac_try" in | ||
9220 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9221 | *) ac_try_echo=$ac_try;; | ||
9222 | esac | ||
9223 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9224 | (eval "$ac_compile") 2>conftest.er1 | ||
9225 | ac_status=$? | ||
9226 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9227 | rm -f conftest.er1 | ||
9228 | cat conftest.err >&5 | ||
9229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9230 | (exit $ac_status); } && { | ||
9231 | test -z "$ac_c_werror_flag" || | ||
9232 | test ! -s conftest.err | ||
9233 | } && test -s conftest.$ac_objext; then | ||
9234 | ac_cv_have_decl_AU_IPv4=yes | ||
9235 | else | ||
9236 | echo "$as_me: failed program was:" >&5 | ||
9237 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9238 | 7287 | ||
9239 | ac_cv_have_decl_AU_IPv4=no | 7288 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" |
9240 | fi | 7289 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |
9241 | 7290 | ||
9242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
9243 | fi | ||
9244 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_AU_IPv4" >&5 | ||
9245 | echo "${ECHO_T}$ac_cv_have_decl_AU_IPv4" >&6; } | ||
9246 | if test $ac_cv_have_decl_AU_IPv4 = yes; then | ||
9247 | : | ||
9248 | else | 7291 | else |
9249 | 7292 | ||
9250 | cat >>confdefs.h <<\_ACEOF | 7293 | $as_echo "#define AU_IPv4 0" >>confdefs.h |
9251 | #define AU_IPv4 0 | ||
9252 | _ACEOF | ||
9253 | 7294 | ||
9254 | #include <bsm/audit.h> | 7295 | #include <bsm/audit.h> |
9255 | 7296 | ||
9256 | cat >>confdefs.h <<\_ACEOF | 7297 | $as_echo "#define LASTLOG_WRITE_PUTUTXLINE 1" >>confdefs.h |
9257 | #define LASTLOG_WRITE_PUTUTXLINE 1 | ||
9258 | _ACEOF | ||
9259 | 7298 | ||
9260 | 7299 | ||
9261 | fi | 7300 | fi |
9262 | 7301 | ||
9263 | 7302 | ||
9264 | cat >>confdefs.h <<\_ACEOF | 7303 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h |
9265 | #define SPT_TYPE SPT_REUSEARGV | ||
9266 | _ACEOF | ||
9267 | |||
9268 | |||
9269 | for ac_func in sandbox_init | ||
9270 | do | ||
9271 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
9272 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
9273 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
9274 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9275 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9276 | else | ||
9277 | cat >conftest.$ac_ext <<_ACEOF | ||
9278 | /* confdefs.h. */ | ||
9279 | _ACEOF | ||
9280 | cat confdefs.h >>conftest.$ac_ext | ||
9281 | cat >>conftest.$ac_ext <<_ACEOF | ||
9282 | /* end confdefs.h. */ | ||
9283 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
9284 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
9285 | #define $ac_func innocuous_$ac_func | ||
9286 | |||
9287 | /* System header to define __stub macros and hopefully few prototypes, | ||
9288 | which can conflict with char $ac_func (); below. | ||
9289 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
9290 | <limits.h> exists even on freestanding compilers. */ | ||
9291 | 7304 | ||
9292 | #ifdef __STDC__ | 7305 | for ac_func in sandbox_init |
9293 | # include <limits.h> | 7306 | do : |
9294 | #else | 7307 | ac_fn_c_check_func "$LINENO" "sandbox_init" "ac_cv_func_sandbox_init" |
9295 | # include <assert.h> | 7308 | if test "x$ac_cv_func_sandbox_init" = xyes; then : |
9296 | #endif | ||
9297 | |||
9298 | #undef $ac_func | ||
9299 | |||
9300 | /* Override any GCC internal prototype to avoid an error. | ||
9301 | Use char because int might match the return type of a GCC | ||
9302 | builtin and then its argument prototype would still apply. */ | ||
9303 | #ifdef __cplusplus | ||
9304 | extern "C" | ||
9305 | #endif | ||
9306 | char $ac_func (); | ||
9307 | /* The GNU C library defines this for functions which it implements | ||
9308 | to always fail with ENOSYS. Some functions are actually named | ||
9309 | something starting with __ and the normal name is an alias. */ | ||
9310 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
9311 | choke me | ||
9312 | #endif | ||
9313 | |||
9314 | int | ||
9315 | main () | ||
9316 | { | ||
9317 | return $ac_func (); | ||
9318 | ; | ||
9319 | return 0; | ||
9320 | } | ||
9321 | _ACEOF | ||
9322 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9323 | if { (ac_try="$ac_link" | ||
9324 | case "(($ac_try" in | ||
9325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9326 | *) ac_try_echo=$ac_try;; | ||
9327 | esac | ||
9328 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9329 | (eval "$ac_link") 2>conftest.er1 | ||
9330 | ac_status=$? | ||
9331 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9332 | rm -f conftest.er1 | ||
9333 | cat conftest.err >&5 | ||
9334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9335 | (exit $ac_status); } && { | ||
9336 | test -z "$ac_c_werror_flag" || | ||
9337 | test ! -s conftest.err | ||
9338 | } && test -s conftest$ac_exeext && | ||
9339 | $as_test_x conftest$ac_exeext; then | ||
9340 | eval "$as_ac_var=yes" | ||
9341 | else | ||
9342 | echo "$as_me: failed program was:" >&5 | ||
9343 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9344 | |||
9345 | eval "$as_ac_var=no" | ||
9346 | fi | ||
9347 | |||
9348 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
9349 | conftest$ac_exeext conftest.$ac_ext | ||
9350 | fi | ||
9351 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
9352 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9353 | echo "${ECHO_T}$ac_res" >&6; } | ||
9354 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
9355 | cat >>confdefs.h <<_ACEOF | 7309 | cat >>confdefs.h <<_ACEOF |
9356 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7310 | #define HAVE_SANDBOX_INIT 1 |
9357 | _ACEOF | 7311 | _ACEOF |
9358 | 7312 | ||
9359 | fi | 7313 | fi |
9360 | done | 7314 | done |
9361 | 7315 | ||
9362 | 7316 | for ac_header in sandbox.h | |
9363 | for ac_header in sandbox.h | 7317 | do : |
9364 | do | 7318 | ac_fn_c_check_header_mongrel "$LINENO" "sandbox.h" "ac_cv_header_sandbox_h" "$ac_includes_default" |
9365 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7319 | if test "x$ac_cv_header_sandbox_h" = xyes; then : |
9366 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9367 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
9368 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
9369 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9370 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9371 | fi | ||
9372 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
9373 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9374 | echo "${ECHO_T}$ac_res" >&6; } | ||
9375 | else | ||
9376 | # Is the header compilable? | ||
9377 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
9378 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
9379 | cat >conftest.$ac_ext <<_ACEOF | ||
9380 | /* confdefs.h. */ | ||
9381 | _ACEOF | ||
9382 | cat confdefs.h >>conftest.$ac_ext | ||
9383 | cat >>conftest.$ac_ext <<_ACEOF | ||
9384 | /* end confdefs.h. */ | ||
9385 | $ac_includes_default | ||
9386 | #include <$ac_header> | ||
9387 | _ACEOF | ||
9388 | rm -f conftest.$ac_objext | ||
9389 | if { (ac_try="$ac_compile" | ||
9390 | case "(($ac_try" in | ||
9391 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9392 | *) ac_try_echo=$ac_try;; | ||
9393 | esac | ||
9394 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9395 | (eval "$ac_compile") 2>conftest.er1 | ||
9396 | ac_status=$? | ||
9397 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9398 | rm -f conftest.er1 | ||
9399 | cat conftest.err >&5 | ||
9400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9401 | (exit $ac_status); } && { | ||
9402 | test -z "$ac_c_werror_flag" || | ||
9403 | test ! -s conftest.err | ||
9404 | } && test -s conftest.$ac_objext; then | ||
9405 | ac_header_compiler=yes | ||
9406 | else | ||
9407 | echo "$as_me: failed program was:" >&5 | ||
9408 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9409 | |||
9410 | ac_header_compiler=no | ||
9411 | fi | ||
9412 | |||
9413 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
9414 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
9415 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
9416 | |||
9417 | # Is the header present? | ||
9418 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
9419 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
9420 | cat >conftest.$ac_ext <<_ACEOF | ||
9421 | /* confdefs.h. */ | ||
9422 | _ACEOF | ||
9423 | cat confdefs.h >>conftest.$ac_ext | ||
9424 | cat >>conftest.$ac_ext <<_ACEOF | ||
9425 | /* end confdefs.h. */ | ||
9426 | #include <$ac_header> | ||
9427 | _ACEOF | ||
9428 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
9429 | case "(($ac_try" in | ||
9430 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9431 | *) ac_try_echo=$ac_try;; | ||
9432 | esac | ||
9433 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9434 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
9435 | ac_status=$? | ||
9436 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9437 | rm -f conftest.er1 | ||
9438 | cat conftest.err >&5 | ||
9439 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9440 | (exit $ac_status); } >/dev/null && { | ||
9441 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
9442 | test ! -s conftest.err | ||
9443 | }; then | ||
9444 | ac_header_preproc=yes | ||
9445 | else | ||
9446 | echo "$as_me: failed program was:" >&5 | ||
9447 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9448 | |||
9449 | ac_header_preproc=no | ||
9450 | fi | ||
9451 | |||
9452 | rm -f conftest.err conftest.$ac_ext | ||
9453 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
9454 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
9455 | |||
9456 | # So? What about this header? | ||
9457 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
9458 | yes:no: ) | ||
9459 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
9460 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
9461 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
9462 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
9463 | ac_header_preproc=yes | ||
9464 | ;; | ||
9465 | no:yes:* ) | ||
9466 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
9467 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
9468 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
9469 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
9470 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
9471 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
9472 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
9473 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
9474 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
9475 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
9476 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
9477 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
9478 | ( cat <<\_ASBOX | ||
9479 | ## ------------------------------------------- ## | ||
9480 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
9481 | ## ------------------------------------------- ## | ||
9482 | _ASBOX | ||
9483 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
9484 | ;; | ||
9485 | esac | ||
9486 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
9487 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
9488 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9489 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9490 | else | ||
9491 | eval "$as_ac_Header=\$ac_header_preproc" | ||
9492 | fi | ||
9493 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
9494 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9495 | echo "${ECHO_T}$ac_res" >&6; } | ||
9496 | |||
9497 | fi | ||
9498 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
9499 | cat >>confdefs.h <<_ACEOF | 7320 | cat >>confdefs.h <<_ACEOF |
9500 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7321 | #define HAVE_SANDBOX_H 1 |
9501 | _ACEOF | 7322 | _ACEOF |
9502 | 7323 | ||
9503 | fi | 7324 | fi |
9504 | 7325 | ||
9505 | done | 7326 | done |
9506 | 7327 | ||
9507 | { echo "$as_me:$LINENO: checking for sandbox_apply in -lsandbox" >&5 | 7328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sandbox_apply in -lsandbox" >&5 |
9508 | echo $ECHO_N "checking for sandbox_apply in -lsandbox... $ECHO_C" >&6; } | 7329 | $as_echo_n "checking for sandbox_apply in -lsandbox... " >&6; } |
9509 | if test "${ac_cv_lib_sandbox_sandbox_apply+set}" = set; then | 7330 | if ${ac_cv_lib_sandbox_sandbox_apply+:} false; then : |
9510 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7331 | $as_echo_n "(cached) " >&6 |
9511 | else | 7332 | else |
9512 | ac_check_lib_save_LIBS=$LIBS | 7333 | ac_check_lib_save_LIBS=$LIBS |
9513 | LIBS="-lsandbox $LIBS" | 7334 | LIBS="-lsandbox $LIBS" |
9514 | cat >conftest.$ac_ext <<_ACEOF | 7335 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9515 | /* confdefs.h. */ | ||
9516 | _ACEOF | ||
9517 | cat confdefs.h >>conftest.$ac_ext | ||
9518 | cat >>conftest.$ac_ext <<_ACEOF | ||
9519 | /* end confdefs.h. */ | 7336 | /* end confdefs.h. */ |
9520 | 7337 | ||
9521 | /* Override any GCC internal prototype to avoid an error. | 7338 | /* Override any GCC internal prototype to avoid an error. |
@@ -9533,39 +7350,18 @@ return sandbox_apply (); | |||
9533 | return 0; | 7350 | return 0; |
9534 | } | 7351 | } |
9535 | _ACEOF | 7352 | _ACEOF |
9536 | rm -f conftest.$ac_objext conftest$ac_exeext | 7353 | if ac_fn_c_try_link "$LINENO"; then : |
9537 | if { (ac_try="$ac_link" | ||
9538 | case "(($ac_try" in | ||
9539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9540 | *) ac_try_echo=$ac_try;; | ||
9541 | esac | ||
9542 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9543 | (eval "$ac_link") 2>conftest.er1 | ||
9544 | ac_status=$? | ||
9545 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9546 | rm -f conftest.er1 | ||
9547 | cat conftest.err >&5 | ||
9548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9549 | (exit $ac_status); } && { | ||
9550 | test -z "$ac_c_werror_flag" || | ||
9551 | test ! -s conftest.err | ||
9552 | } && test -s conftest$ac_exeext && | ||
9553 | $as_test_x conftest$ac_exeext; then | ||
9554 | ac_cv_lib_sandbox_sandbox_apply=yes | 7354 | ac_cv_lib_sandbox_sandbox_apply=yes |
9555 | else | 7355 | else |
9556 | echo "$as_me: failed program was:" >&5 | 7356 | ac_cv_lib_sandbox_sandbox_apply=no |
9557 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9558 | |||
9559 | ac_cv_lib_sandbox_sandbox_apply=no | ||
9560 | fi | 7357 | fi |
9561 | 7358 | rm -f core conftest.err conftest.$ac_objext \ | |
9562 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7359 | conftest$ac_exeext conftest.$ac_ext |
9563 | conftest$ac_exeext conftest.$ac_ext | ||
9564 | LIBS=$ac_check_lib_save_LIBS | 7360 | LIBS=$ac_check_lib_save_LIBS |
9565 | fi | 7361 | fi |
9566 | { echo "$as_me:$LINENO: result: $ac_cv_lib_sandbox_sandbox_apply" >&5 | 7362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sandbox_sandbox_apply" >&5 |
9567 | echo "${ECHO_T}$ac_cv_lib_sandbox_sandbox_apply" >&6; } | 7363 | $as_echo "$ac_cv_lib_sandbox_sandbox_apply" >&6; } |
9568 | if test $ac_cv_lib_sandbox_sandbox_apply = yes; then | 7364 | if test "x$ac_cv_lib_sandbox_sandbox_apply" = xyes; then : |
9569 | 7365 | ||
9570 | SSHDLIBS="$SSHDLIBS -lsandbox" | 7366 | SSHDLIBS="$SSHDLIBS -lsandbox" |
9571 | 7367 | ||
@@ -9577,20 +7373,15 @@ fi | |||
9577 | TEST_MALLOC_OPTIONS="AFGJPRX" | 7373 | TEST_MALLOC_OPTIONS="AFGJPRX" |
9578 | ;; | 7374 | ;; |
9579 | *-*-haiku*) | 7375 | *-*-haiku*) |
9580 | LIBS="$LIBS -lbsd " | 7376 | LIBS="$LIBS -lbsd " |
9581 | 7377 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 | |
9582 | { echo "$as_me:$LINENO: checking for socket in -lnetwork" >&5 | 7378 | $as_echo_n "checking for socket in -lnetwork... " >&6; } |
9583 | echo $ECHO_N "checking for socket in -lnetwork... $ECHO_C" >&6; } | 7379 | if ${ac_cv_lib_network_socket+:} false; then : |
9584 | if test "${ac_cv_lib_network_socket+set}" = set; then | 7380 | $as_echo_n "(cached) " >&6 |
9585 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9586 | else | 7381 | else |
9587 | ac_check_lib_save_LIBS=$LIBS | 7382 | ac_check_lib_save_LIBS=$LIBS |
9588 | LIBS="-lnetwork $LIBS" | 7383 | LIBS="-lnetwork $LIBS" |
9589 | cat >conftest.$ac_ext <<_ACEOF | 7384 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9590 | /* confdefs.h. */ | ||
9591 | _ACEOF | ||
9592 | cat confdefs.h >>conftest.$ac_ext | ||
9593 | cat >>conftest.$ac_ext <<_ACEOF | ||
9594 | /* end confdefs.h. */ | 7385 | /* end confdefs.h. */ |
9595 | 7386 | ||
9596 | /* Override any GCC internal prototype to avoid an error. | 7387 | /* Override any GCC internal prototype to avoid an error. |
@@ -9608,39 +7399,18 @@ return socket (); | |||
9608 | return 0; | 7399 | return 0; |
9609 | } | 7400 | } |
9610 | _ACEOF | 7401 | _ACEOF |
9611 | rm -f conftest.$ac_objext conftest$ac_exeext | 7402 | if ac_fn_c_try_link "$LINENO"; then : |
9612 | if { (ac_try="$ac_link" | ||
9613 | case "(($ac_try" in | ||
9614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9615 | *) ac_try_echo=$ac_try;; | ||
9616 | esac | ||
9617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9618 | (eval "$ac_link") 2>conftest.er1 | ||
9619 | ac_status=$? | ||
9620 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9621 | rm -f conftest.er1 | ||
9622 | cat conftest.err >&5 | ||
9623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9624 | (exit $ac_status); } && { | ||
9625 | test -z "$ac_c_werror_flag" || | ||
9626 | test ! -s conftest.err | ||
9627 | } && test -s conftest$ac_exeext && | ||
9628 | $as_test_x conftest$ac_exeext; then | ||
9629 | ac_cv_lib_network_socket=yes | 7403 | ac_cv_lib_network_socket=yes |
9630 | else | 7404 | else |
9631 | echo "$as_me: failed program was:" >&5 | 7405 | ac_cv_lib_network_socket=no |
9632 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9633 | |||
9634 | ac_cv_lib_network_socket=no | ||
9635 | fi | 7406 | fi |
9636 | 7407 | rm -f core conftest.err conftest.$ac_objext \ | |
9637 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7408 | conftest$ac_exeext conftest.$ac_ext |
9638 | conftest$ac_exeext conftest.$ac_ext | ||
9639 | LIBS=$ac_check_lib_save_LIBS | 7409 | LIBS=$ac_check_lib_save_LIBS |
9640 | fi | 7410 | fi |
9641 | { echo "$as_me:$LINENO: result: $ac_cv_lib_network_socket" >&5 | 7411 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5 |
9642 | echo "${ECHO_T}$ac_cv_lib_network_socket" >&6; } | 7412 | $as_echo "$ac_cv_lib_network_socket" >&6; } |
9643 | if test $ac_cv_lib_network_socket = yes; then | 7413 | if test "x$ac_cv_lib_network_socket" = xyes; then : |
9644 | cat >>confdefs.h <<_ACEOF | 7414 | cat >>confdefs.h <<_ACEOF |
9645 | #define HAVE_LIBNETWORK 1 | 7415 | #define HAVE_LIBNETWORK 1 |
9646 | _ACEOF | 7416 | _ACEOF |
@@ -9649,58 +7419,36 @@ _ACEOF | |||
9649 | 7419 | ||
9650 | fi | 7420 | fi |
9651 | 7421 | ||
9652 | cat >>confdefs.h <<\_ACEOF | 7422 | $as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h |
9653 | #define HAVE_U_INT64_T 1 | ||
9654 | _ACEOF | ||
9655 | 7423 | ||
9656 | MANTYPE=man | 7424 | MANTYPE=man |
9657 | ;; | 7425 | ;; |
9658 | *-*-hpux*) | 7426 | *-*-hpux*) |
9659 | # first we define all of the options common to all HP-UX releases | 7427 | # first we define all of the options common to all HP-UX releases |
9660 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 7428 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
9661 | IPADDR_IN_DISPLAY=yes | 7429 | IPADDR_IN_DISPLAY=yes |
9662 | cat >>confdefs.h <<\_ACEOF | 7430 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
9663 | #define USE_PIPES 1 | ||
9664 | _ACEOF | ||
9665 | 7431 | ||
7432 | $as_echo "#define LOGIN_NEEDS_UTMPX 1" >>confdefs.h | ||
9666 | 7433 | ||
9667 | cat >>confdefs.h <<\_ACEOF | ||
9668 | #define LOGIN_NO_ENDOPT 1 | ||
9669 | _ACEOF | ||
9670 | 7434 | ||
9671 | cat >>confdefs.h <<\_ACEOF | 7435 | $as_echo "#define LOCKED_PASSWD_STRING \"*\"" >>confdefs.h |
9672 | #define LOGIN_NEEDS_UTMPX 1 | ||
9673 | _ACEOF | ||
9674 | 7436 | ||
7437 | $as_echo "#define SPT_TYPE SPT_PSTAT" >>confdefs.h | ||
9675 | 7438 | ||
9676 | cat >>confdefs.h <<\_ACEOF | ||
9677 | #define LOCKED_PASSWD_STRING "*" | ||
9678 | _ACEOF | ||
9679 | 7439 | ||
9680 | cat >>confdefs.h <<\_ACEOF | 7440 | $as_echo "#define PLATFORM_SYS_DIR_UID 2" >>confdefs.h |
9681 | #define SPT_TYPE SPT_PSTAT | ||
9682 | _ACEOF | ||
9683 | |||
9684 | |||
9685 | cat >>confdefs.h <<\_ACEOF | ||
9686 | #define PLATFORM_SYS_DIR_UID 2 | ||
9687 | _ACEOF | ||
9688 | 7441 | ||
9689 | maildir="/var/mail" | 7442 | maildir="/var/mail" |
9690 | LIBS="$LIBS -lsec" | 7443 | LIBS="$LIBS -lsec" |
9691 | 7444 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_error in -lxnet" >&5 | |
9692 | { echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 | 7445 | $as_echo_n "checking for t_error in -lxnet... " >&6; } |
9693 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6; } | 7446 | if ${ac_cv_lib_xnet_t_error+:} false; then : |
9694 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then | 7447 | $as_echo_n "(cached) " >&6 |
9695 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9696 | else | 7448 | else |
9697 | ac_check_lib_save_LIBS=$LIBS | 7449 | ac_check_lib_save_LIBS=$LIBS |
9698 | LIBS="-lxnet $LIBS" | 7450 | LIBS="-lxnet $LIBS" |
9699 | cat >conftest.$ac_ext <<_ACEOF | 7451 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9700 | /* confdefs.h. */ | ||
9701 | _ACEOF | ||
9702 | cat confdefs.h >>conftest.$ac_ext | ||
9703 | cat >>conftest.$ac_ext <<_ACEOF | ||
9704 | /* end confdefs.h. */ | 7452 | /* end confdefs.h. */ |
9705 | 7453 | ||
9706 | /* Override any GCC internal prototype to avoid an error. | 7454 | /* Override any GCC internal prototype to avoid an error. |
@@ -9718,39 +7466,18 @@ return t_error (); | |||
9718 | return 0; | 7466 | return 0; |
9719 | } | 7467 | } |
9720 | _ACEOF | 7468 | _ACEOF |
9721 | rm -f conftest.$ac_objext conftest$ac_exeext | 7469 | if ac_fn_c_try_link "$LINENO"; then : |
9722 | if { (ac_try="$ac_link" | ||
9723 | case "(($ac_try" in | ||
9724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9725 | *) ac_try_echo=$ac_try;; | ||
9726 | esac | ||
9727 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9728 | (eval "$ac_link") 2>conftest.er1 | ||
9729 | ac_status=$? | ||
9730 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9731 | rm -f conftest.er1 | ||
9732 | cat conftest.err >&5 | ||
9733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9734 | (exit $ac_status); } && { | ||
9735 | test -z "$ac_c_werror_flag" || | ||
9736 | test ! -s conftest.err | ||
9737 | } && test -s conftest$ac_exeext && | ||
9738 | $as_test_x conftest$ac_exeext; then | ||
9739 | ac_cv_lib_xnet_t_error=yes | 7470 | ac_cv_lib_xnet_t_error=yes |
9740 | else | 7471 | else |
9741 | echo "$as_me: failed program was:" >&5 | 7472 | ac_cv_lib_xnet_t_error=no |
9742 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9743 | |||
9744 | ac_cv_lib_xnet_t_error=no | ||
9745 | fi | 7473 | fi |
9746 | 7474 | rm -f core conftest.err conftest.$ac_objext \ | |
9747 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7475 | conftest$ac_exeext conftest.$ac_ext |
9748 | conftest$ac_exeext conftest.$ac_ext | ||
9749 | LIBS=$ac_check_lib_save_LIBS | 7476 | LIBS=$ac_check_lib_save_LIBS |
9750 | fi | 7477 | fi |
9751 | { echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 | 7478 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_t_error" >&5 |
9752 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6; } | 7479 | $as_echo "$ac_cv_lib_xnet_t_error" >&6; } |
9753 | if test $ac_cv_lib_xnet_t_error = yes; then | 7480 | if test "x$ac_cv_lib_xnet_t_error" = xyes; then : |
9754 | cat >>confdefs.h <<_ACEOF | 7481 | cat >>confdefs.h <<_ACEOF |
9755 | #define HAVE_LIBXNET 1 | 7482 | #define HAVE_LIBXNET 1 |
9756 | _ACEOF | 7483 | _ACEOF |
@@ -9758,9 +7485,7 @@ _ACEOF | |||
9758 | LIBS="-lxnet $LIBS" | 7485 | LIBS="-lxnet $LIBS" |
9759 | 7486 | ||
9760 | else | 7487 | else |
9761 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 | 7488 | as_fn_error $? "*** -lxnet needed on HP-UX - check config.log ***" "$LINENO" 5 |
9762 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
9763 | { (exit 1); exit 1; }; } | ||
9764 | fi | 7489 | fi |
9765 | 7490 | ||
9766 | 7491 | ||
@@ -9773,19 +7498,13 @@ fi | |||
9773 | ;; | 7498 | ;; |
9774 | *-*-hpux11*) | 7499 | *-*-hpux11*) |
9775 | 7500 | ||
9776 | cat >>confdefs.h <<\_ACEOF | 7501 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h |
9777 | #define PAM_SUN_CODEBASE 1 | ||
9778 | _ACEOF | ||
9779 | 7502 | ||
9780 | 7503 | ||
9781 | cat >>confdefs.h <<\_ACEOF | 7504 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h |
9782 | #define DISABLE_UTMP 1 | ||
9783 | _ACEOF | ||
9784 | 7505 | ||
9785 | 7506 | ||
9786 | cat >>confdefs.h <<\_ACEOF | 7507 | $as_echo "#define USE_BTMP 1" >>confdefs.h |
9787 | #define USE_BTMP 1 | ||
9788 | _ACEOF | ||
9789 | 7508 | ||
9790 | check_for_hpux_broken_getaddrinfo=1 | 7509 | check_for_hpux_broken_getaddrinfo=1 |
9791 | check_for_conflicting_getspnam=1 | 7510 | check_for_conflicting_getspnam=1 |
@@ -9796,9 +7515,7 @@ _ACEOF | |||
9796 | case "$host" in | 7515 | case "$host" in |
9797 | *-*-hpux10.26) | 7516 | *-*-hpux10.26) |
9798 | 7517 | ||
9799 | cat >>confdefs.h <<\_ACEOF | 7518 | $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h |
9800 | #define HAVE_SECUREWARE 1 | ||
9801 | _ACEOF | ||
9802 | 7519 | ||
9803 | disable_ptmx_check=yes | 7520 | disable_ptmx_check=yes |
9804 | LIBS="$LIBS -lsecpw" | 7521 | LIBS="$LIBS -lsecpw" |
@@ -9808,191 +7525,67 @@ _ACEOF | |||
9808 | *-*-irix5*) | 7525 | *-*-irix5*) |
9809 | PATH="$PATH:/usr/etc" | 7526 | PATH="$PATH:/usr/etc" |
9810 | 7527 | ||
9811 | cat >>confdefs.h <<\_ACEOF | 7528 | $as_echo "#define BROKEN_INET_NTOA 1" >>confdefs.h |
9812 | #define BROKEN_INET_NTOA 1 | ||
9813 | _ACEOF | ||
9814 | 7529 | ||
9815 | cat >>confdefs.h <<\_ACEOF | 7530 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
9816 | #define SETEUID_BREAKS_SETUID 1 | ||
9817 | _ACEOF | ||
9818 | 7531 | ||
9819 | cat >>confdefs.h <<\_ACEOF | 7532 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
9820 | #define BROKEN_SETREUID 1 | ||
9821 | _ACEOF | ||
9822 | 7533 | ||
9823 | cat >>confdefs.h <<\_ACEOF | 7534 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
9824 | #define BROKEN_SETREGID 1 | ||
9825 | _ACEOF | ||
9826 | 7535 | ||
9827 | 7536 | ||
9828 | cat >>confdefs.h <<\_ACEOF | 7537 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h |
9829 | #define WITH_ABBREV_NO_TTY 1 | ||
9830 | _ACEOF | ||
9831 | 7538 | ||
9832 | cat >>confdefs.h <<\_ACEOF | 7539 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h |
9833 | #define LOCKED_PASSWD_STRING "*LK*" | ||
9834 | _ACEOF | ||
9835 | 7540 | ||
9836 | ;; | 7541 | ;; |
9837 | *-*-irix6*) | 7542 | *-*-irix6*) |
9838 | PATH="$PATH:/usr/etc" | 7543 | PATH="$PATH:/usr/etc" |
9839 | 7544 | ||
9840 | cat >>confdefs.h <<\_ACEOF | 7545 | $as_echo "#define WITH_IRIX_ARRAY 1" >>confdefs.h |
9841 | #define WITH_IRIX_ARRAY 1 | ||
9842 | _ACEOF | ||
9843 | |||
9844 | 7546 | ||
9845 | cat >>confdefs.h <<\_ACEOF | ||
9846 | #define WITH_IRIX_PROJECT 1 | ||
9847 | _ACEOF | ||
9848 | |||
9849 | |||
9850 | cat >>confdefs.h <<\_ACEOF | ||
9851 | #define WITH_IRIX_AUDIT 1 | ||
9852 | _ACEOF | ||
9853 | |||
9854 | { echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 | ||
9855 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6; } | ||
9856 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | ||
9857 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9858 | else | ||
9859 | cat >conftest.$ac_ext <<_ACEOF | ||
9860 | /* confdefs.h. */ | ||
9861 | _ACEOF | ||
9862 | cat confdefs.h >>conftest.$ac_ext | ||
9863 | cat >>conftest.$ac_ext <<_ACEOF | ||
9864 | /* end confdefs.h. */ | ||
9865 | /* Define jlimit_startjob to an innocuous variant, in case <limits.h> declares jlimit_startjob. | ||
9866 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
9867 | #define jlimit_startjob innocuous_jlimit_startjob | ||
9868 | |||
9869 | /* System header to define __stub macros and hopefully few prototypes, | ||
9870 | which can conflict with char jlimit_startjob (); below. | ||
9871 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
9872 | <limits.h> exists even on freestanding compilers. */ | ||
9873 | 7547 | ||
9874 | #ifdef __STDC__ | 7548 | $as_echo "#define WITH_IRIX_PROJECT 1" >>confdefs.h |
9875 | # include <limits.h> | ||
9876 | #else | ||
9877 | # include <assert.h> | ||
9878 | #endif | ||
9879 | |||
9880 | #undef jlimit_startjob | ||
9881 | |||
9882 | /* Override any GCC internal prototype to avoid an error. | ||
9883 | Use char because int might match the return type of a GCC | ||
9884 | builtin and then its argument prototype would still apply. */ | ||
9885 | #ifdef __cplusplus | ||
9886 | extern "C" | ||
9887 | #endif | ||
9888 | char jlimit_startjob (); | ||
9889 | /* The GNU C library defines this for functions which it implements | ||
9890 | to always fail with ENOSYS. Some functions are actually named | ||
9891 | something starting with __ and the normal name is an alias. */ | ||
9892 | #if defined __stub_jlimit_startjob || defined __stub___jlimit_startjob | ||
9893 | choke me | ||
9894 | #endif | ||
9895 | 7549 | ||
9896 | int | ||
9897 | main () | ||
9898 | { | ||
9899 | return jlimit_startjob (); | ||
9900 | ; | ||
9901 | return 0; | ||
9902 | } | ||
9903 | _ACEOF | ||
9904 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9905 | if { (ac_try="$ac_link" | ||
9906 | case "(($ac_try" in | ||
9907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9908 | *) ac_try_echo=$ac_try;; | ||
9909 | esac | ||
9910 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9911 | (eval "$ac_link") 2>conftest.er1 | ||
9912 | ac_status=$? | ||
9913 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9914 | rm -f conftest.er1 | ||
9915 | cat conftest.err >&5 | ||
9916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9917 | (exit $ac_status); } && { | ||
9918 | test -z "$ac_c_werror_flag" || | ||
9919 | test ! -s conftest.err | ||
9920 | } && test -s conftest$ac_exeext && | ||
9921 | $as_test_x conftest$ac_exeext; then | ||
9922 | ac_cv_func_jlimit_startjob=yes | ||
9923 | else | ||
9924 | echo "$as_me: failed program was:" >&5 | ||
9925 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9926 | 7550 | ||
9927 | ac_cv_func_jlimit_startjob=no | 7551 | $as_echo "#define WITH_IRIX_AUDIT 1" >>confdefs.h |
9928 | fi | ||
9929 | 7552 | ||
9930 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7553 | ac_fn_c_check_func "$LINENO" "jlimit_startjob" "ac_cv_func_jlimit_startjob" |
9931 | conftest$ac_exeext conftest.$ac_ext | 7554 | if test "x$ac_cv_func_jlimit_startjob" = xyes; then : |
9932 | fi | ||
9933 | { echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | ||
9934 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6; } | ||
9935 | if test $ac_cv_func_jlimit_startjob = yes; then | ||
9936 | 7555 | ||
9937 | cat >>confdefs.h <<\_ACEOF | 7556 | $as_echo "#define WITH_IRIX_JOBS 1" >>confdefs.h |
9938 | #define WITH_IRIX_JOBS 1 | ||
9939 | _ACEOF | ||
9940 | 7557 | ||
9941 | fi | 7558 | fi |
9942 | 7559 | ||
9943 | cat >>confdefs.h <<\_ACEOF | 7560 | $as_echo "#define BROKEN_INET_NTOA 1" >>confdefs.h |
9944 | #define BROKEN_INET_NTOA 1 | ||
9945 | _ACEOF | ||
9946 | 7561 | ||
9947 | cat >>confdefs.h <<\_ACEOF | 7562 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
9948 | #define SETEUID_BREAKS_SETUID 1 | ||
9949 | _ACEOF | ||
9950 | 7563 | ||
9951 | cat >>confdefs.h <<\_ACEOF | 7564 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
9952 | #define BROKEN_SETREUID 1 | ||
9953 | _ACEOF | ||
9954 | 7565 | ||
9955 | cat >>confdefs.h <<\_ACEOF | 7566 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
9956 | #define BROKEN_SETREGID 1 | ||
9957 | _ACEOF | ||
9958 | 7567 | ||
9959 | 7568 | ||
9960 | cat >>confdefs.h <<\_ACEOF | 7569 | $as_echo "#define BROKEN_UPDWTMPX 1" >>confdefs.h |
9961 | #define BROKEN_UPDWTMPX 1 | ||
9962 | _ACEOF | ||
9963 | 7570 | ||
9964 | cat >>confdefs.h <<\_ACEOF | 7571 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h |
9965 | #define WITH_ABBREV_NO_TTY 1 | ||
9966 | _ACEOF | ||
9967 | 7572 | ||
9968 | cat >>confdefs.h <<\_ACEOF | 7573 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h |
9969 | #define LOCKED_PASSWD_STRING "*LK*" | ||
9970 | _ACEOF | ||
9971 | 7574 | ||
9972 | ;; | 7575 | ;; |
9973 | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) | 7576 | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) |
9974 | check_for_libcrypt_later=1 | 7577 | check_for_libcrypt_later=1 |
9975 | cat >>confdefs.h <<\_ACEOF | 7578 | $as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h |
9976 | #define PAM_TTY_KLUDGE 1 | ||
9977 | _ACEOF | ||
9978 | 7579 | ||
9979 | cat >>confdefs.h <<\_ACEOF | 7580 | $as_echo "#define LOCKED_PASSWD_PREFIX \"!\"" >>confdefs.h |
9980 | #define LOCKED_PASSWD_PREFIX "!" | ||
9981 | _ACEOF | ||
9982 | 7581 | ||
9983 | cat >>confdefs.h <<\_ACEOF | 7582 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h |
9984 | #define SPT_TYPE SPT_REUSEARGV | ||
9985 | _ACEOF | ||
9986 | 7583 | ||
9987 | 7584 | ||
9988 | cat >>confdefs.h <<\_ACEOF | 7585 | $as_echo "#define _PATH_BTMP \"/var/log/btmp\"" >>confdefs.h |
9989 | #define _PATH_BTMP "/var/log/btmp" | ||
9990 | _ACEOF | ||
9991 | 7586 | ||
9992 | 7587 | ||
9993 | cat >>confdefs.h <<\_ACEOF | 7588 | $as_echo "#define USE_BTMP 1" >>confdefs.h |
9994 | #define USE_BTMP 1 | ||
9995 | _ACEOF | ||
9996 | 7589 | ||
9997 | ;; | 7590 | ;; |
9998 | *-*-linux*) | 7591 | *-*-linux*) |
@@ -10001,188 +7594,39 @@ _ACEOF | |||
10001 | check_for_libcrypt_later=1 | 7594 | check_for_libcrypt_later=1 |
10002 | check_for_openpty_ctty_bug=1 | 7595 | check_for_openpty_ctty_bug=1 |
10003 | 7596 | ||
10004 | cat >>confdefs.h <<\_ACEOF | 7597 | $as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h |
10005 | #define PAM_TTY_KLUDGE 1 | ||
10006 | _ACEOF | ||
10007 | 7598 | ||
10008 | 7599 | ||
10009 | cat >>confdefs.h <<\_ACEOF | 7600 | $as_echo "#define LOCKED_PASSWD_PREFIX \"!\"" >>confdefs.h |
10010 | #define LOCKED_PASSWD_PREFIX "!" | ||
10011 | _ACEOF | ||
10012 | 7601 | ||
10013 | cat >>confdefs.h <<\_ACEOF | 7602 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h |
10014 | #define SPT_TYPE SPT_REUSEARGV | ||
10015 | _ACEOF | ||
10016 | 7603 | ||
10017 | 7604 | ||
10018 | cat >>confdefs.h <<\_ACEOF | 7605 | $as_echo "#define LINK_OPNOTSUPP_ERRNO EPERM" >>confdefs.h |
10019 | #define LINK_OPNOTSUPP_ERRNO EPERM | ||
10020 | _ACEOF | ||
10021 | 7606 | ||
10022 | 7607 | ||
10023 | cat >>confdefs.h <<\_ACEOF | 7608 | $as_echo "#define _PATH_BTMP \"/var/log/btmp\"" >>confdefs.h |
10024 | #define _PATH_BTMP "/var/log/btmp" | ||
10025 | _ACEOF | ||
10026 | 7609 | ||
10027 | cat >>confdefs.h <<\_ACEOF | 7610 | $as_echo "#define USE_BTMP 1" >>confdefs.h |
10028 | #define USE_BTMP 1 | ||
10029 | _ACEOF | ||
10030 | 7611 | ||
10031 | 7612 | ||
10032 | cat >>confdefs.h <<\_ACEOF | 7613 | $as_echo "#define LINUX_OOM_ADJUST 1" >>confdefs.h |
10033 | #define LINUX_OOM_ADJUST 1 | ||
10034 | _ACEOF | ||
10035 | 7614 | ||
10036 | inet6_default_4in6=yes | 7615 | inet6_default_4in6=yes |
10037 | case `uname -r` in | 7616 | case `uname -r` in |
10038 | 1.*|2.0.*) | 7617 | 1.*|2.0.*) |
10039 | 7618 | ||
10040 | cat >>confdefs.h <<\_ACEOF | 7619 | $as_echo "#define BROKEN_CMSG_TYPE 1" >>confdefs.h |
10041 | #define BROKEN_CMSG_TYPE 1 | ||
10042 | _ACEOF | ||
10043 | 7620 | ||
10044 | ;; | 7621 | ;; |
10045 | esac | 7622 | esac |
10046 | # tun(4) forwarding compat code | 7623 | # tun(4) forwarding compat code |
10047 | 7624 | for ac_header in linux/if_tun.h | |
10048 | for ac_header in linux/if_tun.h | 7625 | do : |
10049 | do | 7626 | ac_fn_c_check_header_mongrel "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default" |
10050 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7627 | if test "x$ac_cv_header_linux_if_tun_h" = xyes; then : |
10051 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10052 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
10053 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
10054 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10055 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10056 | fi | ||
10057 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
10058 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10059 | echo "${ECHO_T}$ac_res" >&6; } | ||
10060 | else | ||
10061 | # Is the header compilable? | ||
10062 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
10063 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
10064 | cat >conftest.$ac_ext <<_ACEOF | ||
10065 | /* confdefs.h. */ | ||
10066 | _ACEOF | ||
10067 | cat confdefs.h >>conftest.$ac_ext | ||
10068 | cat >>conftest.$ac_ext <<_ACEOF | ||
10069 | /* end confdefs.h. */ | ||
10070 | $ac_includes_default | ||
10071 | #include <$ac_header> | ||
10072 | _ACEOF | ||
10073 | rm -f conftest.$ac_objext | ||
10074 | if { (ac_try="$ac_compile" | ||
10075 | case "(($ac_try" in | ||
10076 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10077 | *) ac_try_echo=$ac_try;; | ||
10078 | esac | ||
10079 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10080 | (eval "$ac_compile") 2>conftest.er1 | ||
10081 | ac_status=$? | ||
10082 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10083 | rm -f conftest.er1 | ||
10084 | cat conftest.err >&5 | ||
10085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10086 | (exit $ac_status); } && { | ||
10087 | test -z "$ac_c_werror_flag" || | ||
10088 | test ! -s conftest.err | ||
10089 | } && test -s conftest.$ac_objext; then | ||
10090 | ac_header_compiler=yes | ||
10091 | else | ||
10092 | echo "$as_me: failed program was:" >&5 | ||
10093 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10094 | |||
10095 | ac_header_compiler=no | ||
10096 | fi | ||
10097 | |||
10098 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10099 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10100 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
10101 | |||
10102 | # Is the header present? | ||
10103 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
10104 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
10105 | cat >conftest.$ac_ext <<_ACEOF | ||
10106 | /* confdefs.h. */ | ||
10107 | _ACEOF | ||
10108 | cat confdefs.h >>conftest.$ac_ext | ||
10109 | cat >>conftest.$ac_ext <<_ACEOF | ||
10110 | /* end confdefs.h. */ | ||
10111 | #include <$ac_header> | ||
10112 | _ACEOF | ||
10113 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
10114 | case "(($ac_try" in | ||
10115 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10116 | *) ac_try_echo=$ac_try;; | ||
10117 | esac | ||
10118 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10119 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
10120 | ac_status=$? | ||
10121 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10122 | rm -f conftest.er1 | ||
10123 | cat conftest.err >&5 | ||
10124 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10125 | (exit $ac_status); } >/dev/null && { | ||
10126 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
10127 | test ! -s conftest.err | ||
10128 | }; then | ||
10129 | ac_header_preproc=yes | ||
10130 | else | ||
10131 | echo "$as_me: failed program was:" >&5 | ||
10132 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10133 | |||
10134 | ac_header_preproc=no | ||
10135 | fi | ||
10136 | |||
10137 | rm -f conftest.err conftest.$ac_ext | ||
10138 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
10139 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
10140 | |||
10141 | # So? What about this header? | ||
10142 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
10143 | yes:no: ) | ||
10144 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
10145 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
10146 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
10147 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
10148 | ac_header_preproc=yes | ||
10149 | ;; | ||
10150 | no:yes:* ) | ||
10151 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
10152 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
10153 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
10154 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
10155 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
10156 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
10157 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
10158 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
10159 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
10160 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
10161 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
10162 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
10163 | ( cat <<\_ASBOX | ||
10164 | ## ------------------------------------------- ## | ||
10165 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
10166 | ## ------------------------------------------- ## | ||
10167 | _ASBOX | ||
10168 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
10169 | ;; | ||
10170 | esac | ||
10171 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
10172 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
10173 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10174 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10175 | else | ||
10176 | eval "$as_ac_Header=\$ac_header_preproc" | ||
10177 | fi | ||
10178 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
10179 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10180 | echo "${ECHO_T}$ac_res" >&6; } | ||
10181 | |||
10182 | fi | ||
10183 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
10184 | cat >>confdefs.h <<_ACEOF | 7628 | cat >>confdefs.h <<_ACEOF |
10185 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7629 | #define HAVE_LINUX_IF_TUN_H 1 |
10186 | _ACEOF | 7630 | _ACEOF |
10187 | 7631 | ||
10188 | fi | 7632 | fi |
@@ -10191,177 +7635,31 @@ done | |||
10191 | 7635 | ||
10192 | if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then | 7636 | if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then |
10193 | 7637 | ||
10194 | cat >>confdefs.h <<\_ACEOF | 7638 | $as_echo "#define SSH_TUN_LINUX 1" >>confdefs.h |
10195 | #define SSH_TUN_LINUX 1 | ||
10196 | _ACEOF | ||
10197 | 7639 | ||
10198 | 7640 | ||
10199 | cat >>confdefs.h <<\_ACEOF | 7641 | $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h |
10200 | #define SSH_TUN_COMPAT_AF 1 | ||
10201 | _ACEOF | ||
10202 | 7642 | ||
10203 | 7643 | ||
10204 | cat >>confdefs.h <<\_ACEOF | 7644 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
10205 | #define SSH_TUN_PREPEND_AF 1 | ||
10206 | _ACEOF | ||
10207 | 7645 | ||
10208 | fi | 7646 | fi |
10209 | 7647 | for ac_header in linux/seccomp.h linux/filter.h linux/audit.h | |
10210 | 7648 | do : | |
10211 | 7649 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
10212 | for ac_header in linux/seccomp.h linux/filter.h linux/audit.h | 7650 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <linux/types.h> |
10213 | do | 7651 | " |
10214 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7652 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
10215 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
10216 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
10217 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10218 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10219 | else | ||
10220 | cat >conftest.$ac_ext <<_ACEOF | ||
10221 | /* confdefs.h. */ | ||
10222 | _ACEOF | ||
10223 | cat confdefs.h >>conftest.$ac_ext | ||
10224 | cat >>conftest.$ac_ext <<_ACEOF | ||
10225 | /* end confdefs.h. */ | ||
10226 | #include <linux/types.h> | ||
10227 | |||
10228 | #include <$ac_header> | ||
10229 | _ACEOF | ||
10230 | rm -f conftest.$ac_objext | ||
10231 | if { (ac_try="$ac_compile" | ||
10232 | case "(($ac_try" in | ||
10233 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10234 | *) ac_try_echo=$ac_try;; | ||
10235 | esac | ||
10236 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10237 | (eval "$ac_compile") 2>conftest.er1 | ||
10238 | ac_status=$? | ||
10239 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10240 | rm -f conftest.er1 | ||
10241 | cat conftest.err >&5 | ||
10242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10243 | (exit $ac_status); } && { | ||
10244 | test -z "$ac_c_werror_flag" || | ||
10245 | test ! -s conftest.err | ||
10246 | } && test -s conftest.$ac_objext; then | ||
10247 | eval "$as_ac_Header=yes" | ||
10248 | else | ||
10249 | echo "$as_me: failed program was:" >&5 | ||
10250 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10251 | |||
10252 | eval "$as_ac_Header=no" | ||
10253 | fi | ||
10254 | |||
10255 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10256 | fi | ||
10257 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
10258 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10259 | echo "${ECHO_T}$ac_res" >&6; } | ||
10260 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
10261 | cat >>confdefs.h <<_ACEOF | 7653 | cat >>confdefs.h <<_ACEOF |
10262 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7654 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10263 | _ACEOF | 7655 | _ACEOF |
10264 | 7656 | ||
10265 | fi | 7657 | fi |
10266 | 7658 | ||
10267 | done | 7659 | done |
10268 | 7660 | ||
10269 | 7661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seccomp architecture" >&5 | |
10270 | for ac_func in prctl | 7662 | $as_echo_n "checking for seccomp architecture... " >&6; } |
10271 | do | ||
10272 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
10273 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10274 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
10275 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10276 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10277 | else | ||
10278 | cat >conftest.$ac_ext <<_ACEOF | ||
10279 | /* confdefs.h. */ | ||
10280 | _ACEOF | ||
10281 | cat confdefs.h >>conftest.$ac_ext | ||
10282 | cat >>conftest.$ac_ext <<_ACEOF | ||
10283 | /* end confdefs.h. */ | ||
10284 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
10285 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
10286 | #define $ac_func innocuous_$ac_func | ||
10287 | |||
10288 | /* System header to define __stub macros and hopefully few prototypes, | ||
10289 | which can conflict with char $ac_func (); below. | ||
10290 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
10291 | <limits.h> exists even on freestanding compilers. */ | ||
10292 | |||
10293 | #ifdef __STDC__ | ||
10294 | # include <limits.h> | ||
10295 | #else | ||
10296 | # include <assert.h> | ||
10297 | #endif | ||
10298 | |||
10299 | #undef $ac_func | ||
10300 | |||
10301 | /* Override any GCC internal prototype to avoid an error. | ||
10302 | Use char because int might match the return type of a GCC | ||
10303 | builtin and then its argument prototype would still apply. */ | ||
10304 | #ifdef __cplusplus | ||
10305 | extern "C" | ||
10306 | #endif | ||
10307 | char $ac_func (); | ||
10308 | /* The GNU C library defines this for functions which it implements | ||
10309 | to always fail with ENOSYS. Some functions are actually named | ||
10310 | something starting with __ and the normal name is an alias. */ | ||
10311 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
10312 | choke me | ||
10313 | #endif | ||
10314 | |||
10315 | int | ||
10316 | main () | ||
10317 | { | ||
10318 | return $ac_func (); | ||
10319 | ; | ||
10320 | return 0; | ||
10321 | } | ||
10322 | _ACEOF | ||
10323 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10324 | if { (ac_try="$ac_link" | ||
10325 | case "(($ac_try" in | ||
10326 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10327 | *) ac_try_echo=$ac_try;; | ||
10328 | esac | ||
10329 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10330 | (eval "$ac_link") 2>conftest.er1 | ||
10331 | ac_status=$? | ||
10332 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10333 | rm -f conftest.er1 | ||
10334 | cat conftest.err >&5 | ||
10335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10336 | (exit $ac_status); } && { | ||
10337 | test -z "$ac_c_werror_flag" || | ||
10338 | test ! -s conftest.err | ||
10339 | } && test -s conftest$ac_exeext && | ||
10340 | $as_test_x conftest$ac_exeext; then | ||
10341 | eval "$as_ac_var=yes" | ||
10342 | else | ||
10343 | echo "$as_me: failed program was:" >&5 | ||
10344 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10345 | |||
10346 | eval "$as_ac_var=no" | ||
10347 | fi | ||
10348 | |||
10349 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10350 | conftest$ac_exeext conftest.$ac_ext | ||
10351 | fi | ||
10352 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
10353 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10354 | echo "${ECHO_T}$ac_res" >&6; } | ||
10355 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10356 | cat >>confdefs.h <<_ACEOF | ||
10357 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
10358 | _ACEOF | ||
10359 | |||
10360 | fi | ||
10361 | done | ||
10362 | |||
10363 | { echo "$as_me:$LINENO: checking for seccomp architecture" >&5 | ||
10364 | echo $ECHO_N "checking for seccomp architecture... $ECHO_C" >&6; } | ||
10365 | seccomp_audit_arch= | 7663 | seccomp_audit_arch= |
10366 | case "$host" in | 7664 | case "$host" in |
10367 | x86_64-*) | 7665 | x86_64-*) |
@@ -10402,23 +7700,21 @@ echo $ECHO_N "checking for seccomp architecture... $ECHO_C" >&6; } | |||
10402 | ;; | 7700 | ;; |
10403 | esac | 7701 | esac |
10404 | if test "x$seccomp_audit_arch" != "x" ; then | 7702 | if test "x$seccomp_audit_arch" != "x" ; then |
10405 | { echo "$as_me:$LINENO: result: \"$seccomp_audit_arch\"" >&5 | 7703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$seccomp_audit_arch\"" >&5 |
10406 | echo "${ECHO_T}\"$seccomp_audit_arch\"" >&6; } | 7704 | $as_echo "\"$seccomp_audit_arch\"" >&6; } |
10407 | 7705 | ||
10408 | cat >>confdefs.h <<_ACEOF | 7706 | cat >>confdefs.h <<_ACEOF |
10409 | #define SECCOMP_AUDIT_ARCH $seccomp_audit_arch | 7707 | #define SECCOMP_AUDIT_ARCH $seccomp_audit_arch |
10410 | _ACEOF | 7708 | _ACEOF |
10411 | 7709 | ||
10412 | else | 7710 | else |
10413 | { echo "$as_me:$LINENO: result: architecture not supported" >&5 | 7711 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: architecture not supported" >&5 |
10414 | echo "${ECHO_T}architecture not supported" >&6; } | 7712 | $as_echo "architecture not supported" >&6; } |
10415 | fi | 7713 | fi |
10416 | ;; | 7714 | ;; |
10417 | mips-sony-bsd|mips-sony-newsos4) | 7715 | mips-sony-bsd|mips-sony-newsos4) |
10418 | 7716 | ||
10419 | cat >>confdefs.h <<\_ACEOF | 7717 | $as_echo "#define NEED_SETPGRP 1" >>confdefs.h |
10420 | #define NEED_SETPGRP 1 | ||
10421 | _ACEOF | ||
10422 | 7718 | ||
10423 | SONY=1 | 7719 | SONY=1 |
10424 | ;; | 7720 | ;; |
@@ -10429,352 +7725,60 @@ _ACEOF | |||
10429 | fi | 7725 | fi |
10430 | CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" | 7726 | CPPFLAGS="$CPPFLAGS -D_OPENBSD_SOURCE" |
10431 | 7727 | ||
10432 | cat >>confdefs.h <<\_ACEOF | 7728 | $as_echo "#define SSH_TUN_FREEBSD 1" >>confdefs.h |
10433 | #define SSH_TUN_FREEBSD 1 | ||
10434 | _ACEOF | ||
10435 | |||
10436 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10437 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10438 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10439 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10440 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10441 | fi | ||
10442 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10443 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
10444 | else | ||
10445 | # Is the header compilable? | ||
10446 | { echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | ||
10447 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } | ||
10448 | cat >conftest.$ac_ext <<_ACEOF | ||
10449 | /* confdefs.h. */ | ||
10450 | _ACEOF | ||
10451 | cat confdefs.h >>conftest.$ac_ext | ||
10452 | cat >>conftest.$ac_ext <<_ACEOF | ||
10453 | /* end confdefs.h. */ | ||
10454 | $ac_includes_default | ||
10455 | #include <net/if_tap.h> | ||
10456 | _ACEOF | ||
10457 | rm -f conftest.$ac_objext | ||
10458 | if { (ac_try="$ac_compile" | ||
10459 | case "(($ac_try" in | ||
10460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10461 | *) ac_try_echo=$ac_try;; | ||
10462 | esac | ||
10463 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10464 | (eval "$ac_compile") 2>conftest.er1 | ||
10465 | ac_status=$? | ||
10466 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10467 | rm -f conftest.er1 | ||
10468 | cat conftest.err >&5 | ||
10469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10470 | (exit $ac_status); } && { | ||
10471 | test -z "$ac_c_werror_flag" || | ||
10472 | test ! -s conftest.err | ||
10473 | } && test -s conftest.$ac_objext; then | ||
10474 | ac_header_compiler=yes | ||
10475 | else | ||
10476 | echo "$as_me: failed program was:" >&5 | ||
10477 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10478 | |||
10479 | ac_header_compiler=no | ||
10480 | fi | ||
10481 | |||
10482 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10483 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10484 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
10485 | |||
10486 | # Is the header present? | ||
10487 | { echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | ||
10488 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } | ||
10489 | cat >conftest.$ac_ext <<_ACEOF | ||
10490 | /* confdefs.h. */ | ||
10491 | _ACEOF | ||
10492 | cat confdefs.h >>conftest.$ac_ext | ||
10493 | cat >>conftest.$ac_ext <<_ACEOF | ||
10494 | /* end confdefs.h. */ | ||
10495 | #include <net/if_tap.h> | ||
10496 | _ACEOF | ||
10497 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
10498 | case "(($ac_try" in | ||
10499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10500 | *) ac_try_echo=$ac_try;; | ||
10501 | esac | ||
10502 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10503 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
10504 | ac_status=$? | ||
10505 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10506 | rm -f conftest.er1 | ||
10507 | cat conftest.err >&5 | ||
10508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10509 | (exit $ac_status); } >/dev/null && { | ||
10510 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
10511 | test ! -s conftest.err | ||
10512 | }; then | ||
10513 | ac_header_preproc=yes | ||
10514 | else | ||
10515 | echo "$as_me: failed program was:" >&5 | ||
10516 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10517 | |||
10518 | ac_header_preproc=no | ||
10519 | fi | ||
10520 | |||
10521 | rm -f conftest.err conftest.$ac_ext | ||
10522 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
10523 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
10524 | 7729 | ||
10525 | # So? What about this header? | 7730 | ac_fn_c_check_header_mongrel "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default" |
10526 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 7731 | if test "x$ac_cv_header_net_if_tap_h" = xyes; then : |
10527 | yes:no: ) | ||
10528 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
10529 | echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
10530 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 | ||
10531 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} | ||
10532 | ac_header_preproc=yes | ||
10533 | ;; | ||
10534 | no:yes:* ) | ||
10535 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 | ||
10536 | echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} | ||
10537 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 | ||
10538 | echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} | ||
10539 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 | ||
10540 | echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} | ||
10541 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
10542 | echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
10543 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 | ||
10544 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} | ||
10545 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 | ||
10546 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} | ||
10547 | ( cat <<\_ASBOX | ||
10548 | ## ------------------------------------------- ## | ||
10549 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
10550 | ## ------------------------------------------- ## | ||
10551 | _ASBOX | ||
10552 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
10553 | ;; | ||
10554 | esac | ||
10555 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10556 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10557 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10558 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10559 | else | ||
10560 | ac_cv_header_net_if_tap_h=$ac_header_preproc | ||
10561 | fi | ||
10562 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10563 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
10564 | 7732 | ||
10565 | fi | ||
10566 | if test $ac_cv_header_net_if_tap_h = yes; then | ||
10567 | : | ||
10568 | else | 7733 | else |
10569 | 7734 | ||
10570 | cat >>confdefs.h <<\_ACEOF | 7735 | $as_echo "#define SSH_TUN_NO_L2 1" >>confdefs.h |
10571 | #define SSH_TUN_NO_L2 1 | ||
10572 | _ACEOF | ||
10573 | 7736 | ||
10574 | fi | 7737 | fi |
10575 | 7738 | ||
10576 | 7739 | ||
10577 | 7740 | ||
10578 | cat >>confdefs.h <<\_ACEOF | 7741 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
10579 | #define SSH_TUN_PREPEND_AF 1 | ||
10580 | _ACEOF | ||
10581 | 7742 | ||
10582 | TEST_MALLOC_OPTIONS="AJRX" | 7743 | TEST_MALLOC_OPTIONS="AJRX" |
10583 | 7744 | ||
10584 | cat >>confdefs.h <<\_ACEOF | 7745 | $as_echo "#define BROKEN_READ_COMPARISON 1" >>confdefs.h |
10585 | #define BROKEN_STRNVIS 1 | ||
10586 | _ACEOF | ||
10587 | |||
10588 | |||
10589 | cat >>confdefs.h <<\_ACEOF | ||
10590 | #define BROKEN_READ_COMPARISON 1 | ||
10591 | _ACEOF | ||
10592 | 7746 | ||
10593 | ;; | 7747 | ;; |
10594 | *-*-freebsd*) | 7748 | *-*-freebsd*) |
10595 | check_for_libcrypt_later=1 | 7749 | check_for_libcrypt_later=1 |
10596 | 7750 | ||
10597 | cat >>confdefs.h <<\_ACEOF | 7751 | $as_echo "#define LOCKED_PASSWD_PREFIX \"*LOCKED*\"" >>confdefs.h |
10598 | #define LOCKED_PASSWD_PREFIX "*LOCKED*" | ||
10599 | _ACEOF | ||
10600 | |||
10601 | |||
10602 | cat >>confdefs.h <<\_ACEOF | ||
10603 | #define SSH_TUN_FREEBSD 1 | ||
10604 | _ACEOF | ||
10605 | |||
10606 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10607 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10608 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10609 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10610 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10611 | fi | ||
10612 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10613 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
10614 | else | ||
10615 | # Is the header compilable? | ||
10616 | { echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | ||
10617 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } | ||
10618 | cat >conftest.$ac_ext <<_ACEOF | ||
10619 | /* confdefs.h. */ | ||
10620 | _ACEOF | ||
10621 | cat confdefs.h >>conftest.$ac_ext | ||
10622 | cat >>conftest.$ac_ext <<_ACEOF | ||
10623 | /* end confdefs.h. */ | ||
10624 | $ac_includes_default | ||
10625 | #include <net/if_tap.h> | ||
10626 | _ACEOF | ||
10627 | rm -f conftest.$ac_objext | ||
10628 | if { (ac_try="$ac_compile" | ||
10629 | case "(($ac_try" in | ||
10630 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10631 | *) ac_try_echo=$ac_try;; | ||
10632 | esac | ||
10633 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10634 | (eval "$ac_compile") 2>conftest.er1 | ||
10635 | ac_status=$? | ||
10636 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10637 | rm -f conftest.er1 | ||
10638 | cat conftest.err >&5 | ||
10639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10640 | (exit $ac_status); } && { | ||
10641 | test -z "$ac_c_werror_flag" || | ||
10642 | test ! -s conftest.err | ||
10643 | } && test -s conftest.$ac_objext; then | ||
10644 | ac_header_compiler=yes | ||
10645 | else | ||
10646 | echo "$as_me: failed program was:" >&5 | ||
10647 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10648 | |||
10649 | ac_header_compiler=no | ||
10650 | fi | ||
10651 | |||
10652 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10653 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10654 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
10655 | |||
10656 | # Is the header present? | ||
10657 | { echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | ||
10658 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } | ||
10659 | cat >conftest.$ac_ext <<_ACEOF | ||
10660 | /* confdefs.h. */ | ||
10661 | _ACEOF | ||
10662 | cat confdefs.h >>conftest.$ac_ext | ||
10663 | cat >>conftest.$ac_ext <<_ACEOF | ||
10664 | /* end confdefs.h. */ | ||
10665 | #include <net/if_tap.h> | ||
10666 | _ACEOF | ||
10667 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
10668 | case "(($ac_try" in | ||
10669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10670 | *) ac_try_echo=$ac_try;; | ||
10671 | esac | ||
10672 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10673 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
10674 | ac_status=$? | ||
10675 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10676 | rm -f conftest.er1 | ||
10677 | cat conftest.err >&5 | ||
10678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10679 | (exit $ac_status); } >/dev/null && { | ||
10680 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
10681 | test ! -s conftest.err | ||
10682 | }; then | ||
10683 | ac_header_preproc=yes | ||
10684 | else | ||
10685 | echo "$as_me: failed program was:" >&5 | ||
10686 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10687 | 7752 | ||
10688 | ac_header_preproc=no | ||
10689 | fi | ||
10690 | 7753 | ||
10691 | rm -f conftest.err conftest.$ac_ext | 7754 | $as_echo "#define SSH_TUN_FREEBSD 1" >>confdefs.h |
10692 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
10693 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
10694 | 7755 | ||
10695 | # So? What about this header? | 7756 | ac_fn_c_check_header_mongrel "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default" |
10696 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 7757 | if test "x$ac_cv_header_net_if_tap_h" = xyes; then : |
10697 | yes:no: ) | ||
10698 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
10699 | echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
10700 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 | ||
10701 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} | ||
10702 | ac_header_preproc=yes | ||
10703 | ;; | ||
10704 | no:yes:* ) | ||
10705 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 | ||
10706 | echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} | ||
10707 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 | ||
10708 | echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} | ||
10709 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 | ||
10710 | echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} | ||
10711 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
10712 | echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
10713 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 | ||
10714 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} | ||
10715 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 | ||
10716 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} | ||
10717 | ( cat <<\_ASBOX | ||
10718 | ## ------------------------------------------- ## | ||
10719 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
10720 | ## ------------------------------------------- ## | ||
10721 | _ASBOX | ||
10722 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
10723 | ;; | ||
10724 | esac | ||
10725 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10726 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10727 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10728 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10729 | else | ||
10730 | ac_cv_header_net_if_tap_h=$ac_header_preproc | ||
10731 | fi | ||
10732 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10733 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
10734 | 7758 | ||
10735 | fi | ||
10736 | if test $ac_cv_header_net_if_tap_h = yes; then | ||
10737 | : | ||
10738 | else | 7759 | else |
10739 | 7760 | ||
10740 | cat >>confdefs.h <<\_ACEOF | 7761 | $as_echo "#define SSH_TUN_NO_L2 1" >>confdefs.h |
10741 | #define SSH_TUN_NO_L2 1 | ||
10742 | _ACEOF | ||
10743 | 7762 | ||
10744 | fi | 7763 | fi |
10745 | 7764 | ||
10746 | 7765 | ||
10747 | 7766 | ||
10748 | cat >>confdefs.h <<\_ACEOF | 7767 | $as_echo "#define BROKEN_GLOB 1" >>confdefs.h |
10749 | #define BROKEN_GLOB 1 | ||
10750 | _ACEOF | ||
10751 | |||
10752 | |||
10753 | cat >>confdefs.h <<\_ACEOF | ||
10754 | #define BROKEN_STRNVIS 1 | ||
10755 | _ACEOF | ||
10756 | 7768 | ||
10757 | TEST_MALLOC_OPTIONS="AJRX" | 7769 | TEST_MALLOC_OPTIONS="AJRX" |
10758 | # Preauth crypto occasionally uses file descriptors for crypto offload | 7770 | # Preauth crypto occasionally uses file descriptors for crypto offload |
10759 | # and will crash if they cannot be opened. | 7771 | # and will crash if they cannot be opened. |
10760 | 7772 | ||
10761 | cat >>confdefs.h <<\_ACEOF | 7773 | $as_echo "#define SANDBOX_SKIP_RLIMIT_NOFILE 1" >>confdefs.h |
10762 | #define SANDBOX_SKIP_RLIMIT_NOFILE 1 | ||
10763 | _ACEOF | ||
10764 | 7774 | ||
10765 | ;; | 7775 | ;; |
10766 | *-*-bsdi*) | 7776 | *-*-bsdi*) |
10767 | cat >>confdefs.h <<\_ACEOF | 7777 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
10768 | #define SETEUID_BREAKS_SETUID 1 | ||
10769 | _ACEOF | ||
10770 | 7778 | ||
10771 | cat >>confdefs.h <<\_ACEOF | 7779 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
10772 | #define BROKEN_SETREUID 1 | ||
10773 | _ACEOF | ||
10774 | 7780 | ||
10775 | cat >>confdefs.h <<\_ACEOF | 7781 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
10776 | #define BROKEN_SETREGID 1 | ||
10777 | _ACEOF | ||
10778 | 7782 | ||
10779 | ;; | 7783 | ;; |
10780 | *-next-*) | 7784 | *-next-*) |
@@ -10783,45 +7787,29 @@ _ACEOF | |||
10783 | conf_wtmp_location=/usr/adm/wtmp | 7787 | conf_wtmp_location=/usr/adm/wtmp |
10784 | maildir=/usr/spool/mail | 7788 | maildir=/usr/spool/mail |
10785 | 7789 | ||
10786 | cat >>confdefs.h <<\_ACEOF | 7790 | $as_echo "#define HAVE_NEXT 1" >>confdefs.h |
10787 | #define HAVE_NEXT 1 | ||
10788 | _ACEOF | ||
10789 | 7791 | ||
10790 | cat >>confdefs.h <<\_ACEOF | 7792 | $as_echo "#define BROKEN_REALPATH 1" >>confdefs.h |
10791 | #define BROKEN_REALPATH 1 | ||
10792 | _ACEOF | ||
10793 | 7793 | ||
10794 | cat >>confdefs.h <<\_ACEOF | 7794 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
10795 | #define USE_PIPES 1 | ||
10796 | _ACEOF | ||
10797 | 7795 | ||
10798 | 7796 | ||
10799 | cat >>confdefs.h <<\_ACEOF | 7797 | $as_echo "#define BROKEN_SAVED_UIDS 1" >>confdefs.h |
10800 | #define BROKEN_SAVED_UIDS 1 | ||
10801 | _ACEOF | ||
10802 | 7798 | ||
10803 | ;; | 7799 | ;; |
10804 | *-*-openbsd*) | 7800 | *-*-openbsd*) |
10805 | use_pie=auto | 7801 | use_pie=auto |
10806 | 7802 | ||
10807 | cat >>confdefs.h <<\_ACEOF | 7803 | $as_echo "#define HAVE_ATTRIBUTE__SENTINEL__ 1" >>confdefs.h |
10808 | #define HAVE_ATTRIBUTE__SENTINEL__ 1 | ||
10809 | _ACEOF | ||
10810 | 7804 | ||
10811 | 7805 | ||
10812 | cat >>confdefs.h <<\_ACEOF | 7806 | $as_echo "#define HAVE_ATTRIBUTE__BOUNDED__ 1" >>confdefs.h |
10813 | #define HAVE_ATTRIBUTE__BOUNDED__ 1 | ||
10814 | _ACEOF | ||
10815 | 7807 | ||
10816 | 7808 | ||
10817 | cat >>confdefs.h <<\_ACEOF | 7809 | $as_echo "#define SSH_TUN_OPENBSD 1" >>confdefs.h |
10818 | #define SSH_TUN_OPENBSD 1 | ||
10819 | _ACEOF | ||
10820 | 7810 | ||
10821 | 7811 | ||
10822 | cat >>confdefs.h <<\_ACEOF | 7812 | $as_echo "#define SYSLOG_R_SAFE_IN_SIGHAND 1" >>confdefs.h |
10823 | #define SYSLOG_R_SAFE_IN_SIGHAND 1 | ||
10824 | _ACEOF | ||
10825 | 7813 | ||
10826 | TEST_MALLOC_OPTIONS="AFGJPRX" | 7814 | TEST_MALLOC_OPTIONS="AFGJPRX" |
10827 | ;; | 7815 | ;; |
@@ -10829,491 +7817,84 @@ _ACEOF | |||
10829 | if test "x$withval" != "xno" ; then | 7817 | if test "x$withval" != "xno" ; then |
10830 | need_dash_r=1 | 7818 | need_dash_r=1 |
10831 | fi | 7819 | fi |
10832 | cat >>confdefs.h <<\_ACEOF | 7820 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h |
10833 | #define PAM_SUN_CODEBASE 1 | ||
10834 | _ACEOF | ||
10835 | 7821 | ||
10836 | cat >>confdefs.h <<\_ACEOF | 7822 | $as_echo "#define LOGIN_NEEDS_UTMPX 1" >>confdefs.h |
10837 | #define LOGIN_NEEDS_UTMPX 1 | ||
10838 | _ACEOF | ||
10839 | 7823 | ||
7824 | $as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h | ||
10840 | 7825 | ||
10841 | cat >>confdefs.h <<\_ACEOF | ||
10842 | #define LOGIN_NEEDS_TERM 1 | ||
10843 | _ACEOF | ||
10844 | 7826 | ||
10845 | cat >>confdefs.h <<\_ACEOF | 7827 | $as_echo "#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1" >>confdefs.h |
10846 | #define PAM_TTY_KLUDGE 1 | ||
10847 | _ACEOF | ||
10848 | 7828 | ||
10849 | 7829 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | |
10850 | cat >>confdefs.h <<\_ACEOF | ||
10851 | #define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 | ||
10852 | _ACEOF | ||
10853 | |||
10854 | cat >>confdefs.h <<\_ACEOF | ||
10855 | #define LOCKED_PASSWD_STRING "*LK*" | ||
10856 | _ACEOF | ||
10857 | 7830 | ||
10858 | # Pushing STREAMS modules will cause sshd to acquire a controlling tty. | 7831 | # Pushing STREAMS modules will cause sshd to acquire a controlling tty. |
10859 | 7832 | ||
10860 | cat >>confdefs.h <<\_ACEOF | 7833 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h |
10861 | #define SSHD_ACQUIRES_CTTY 1 | ||
10862 | _ACEOF | ||
10863 | 7834 | ||
10864 | 7835 | ||
10865 | cat >>confdefs.h <<\_ACEOF | 7836 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h |
10866 | #define PASSWD_NEEDS_USERNAME 1 | ||
10867 | _ACEOF | ||
10868 | 7837 | ||
10869 | 7838 | ||
10870 | cat >>confdefs.h <<\_ACEOF | 7839 | $as_echo "#define BROKEN_TCGETATTR_ICANON 1" >>confdefs.h |
10871 | #define BROKEN_TCGETATTR_ICANON 1 | ||
10872 | _ACEOF | ||
10873 | 7840 | ||
10874 | external_path_file=/etc/default/login | 7841 | external_path_file=/etc/default/login |
10875 | # hardwire lastlog location (can't detect it on some versions) | 7842 | # hardwire lastlog location (can't detect it on some versions) |
10876 | conf_lastlog_location="/var/adm/lastlog" | 7843 | conf_lastlog_location="/var/adm/lastlog" |
10877 | { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 | 7844 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete utmp and wtmp in solaris2.x" >&5 |
10878 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; } | 7845 | $as_echo_n "checking for obsolete utmp and wtmp in solaris2.x... " >&6; } |
10879 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | 7846 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` |
10880 | if test "$sol2ver" -ge 8; then | 7847 | if test "$sol2ver" -ge 8; then |
10881 | { echo "$as_me:$LINENO: result: yes" >&5 | 7848 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
10882 | echo "${ECHO_T}yes" >&6; } | 7849 | $as_echo "yes" >&6; } |
10883 | cat >>confdefs.h <<\_ACEOF | 7850 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h |
10884 | #define DISABLE_UTMP 1 | ||
10885 | _ACEOF | ||
10886 | 7851 | ||
10887 | 7852 | ||
10888 | cat >>confdefs.h <<\_ACEOF | 7853 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h |
10889 | #define DISABLE_WTMP 1 | ||
10890 | _ACEOF | ||
10891 | 7854 | ||
10892 | else | 7855 | else |
10893 | { echo "$as_me:$LINENO: result: no" >&5 | 7856 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
10894 | echo "${ECHO_T}no" >&6; } | 7857 | $as_echo "no" >&6; } |
10895 | fi | 7858 | fi |
10896 | 7859 | for ac_func in setpflags | |
10897 | for ac_func in setpflags | 7860 | do : |
10898 | do | 7861 | ac_fn_c_check_func "$LINENO" "setpflags" "ac_cv_func_setpflags" |
10899 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7862 | if test "x$ac_cv_func_setpflags" = xyes; then : |
10900 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10901 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
10902 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10903 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10904 | else | ||
10905 | cat >conftest.$ac_ext <<_ACEOF | ||
10906 | /* confdefs.h. */ | ||
10907 | _ACEOF | ||
10908 | cat confdefs.h >>conftest.$ac_ext | ||
10909 | cat >>conftest.$ac_ext <<_ACEOF | ||
10910 | /* end confdefs.h. */ | ||
10911 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
10912 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
10913 | #define $ac_func innocuous_$ac_func | ||
10914 | |||
10915 | /* System header to define __stub macros and hopefully few prototypes, | ||
10916 | which can conflict with char $ac_func (); below. | ||
10917 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
10918 | <limits.h> exists even on freestanding compilers. */ | ||
10919 | |||
10920 | #ifdef __STDC__ | ||
10921 | # include <limits.h> | ||
10922 | #else | ||
10923 | # include <assert.h> | ||
10924 | #endif | ||
10925 | |||
10926 | #undef $ac_func | ||
10927 | |||
10928 | /* Override any GCC internal prototype to avoid an error. | ||
10929 | Use char because int might match the return type of a GCC | ||
10930 | builtin and then its argument prototype would still apply. */ | ||
10931 | #ifdef __cplusplus | ||
10932 | extern "C" | ||
10933 | #endif | ||
10934 | char $ac_func (); | ||
10935 | /* The GNU C library defines this for functions which it implements | ||
10936 | to always fail with ENOSYS. Some functions are actually named | ||
10937 | something starting with __ and the normal name is an alias. */ | ||
10938 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
10939 | choke me | ||
10940 | #endif | ||
10941 | |||
10942 | int | ||
10943 | main () | ||
10944 | { | ||
10945 | return $ac_func (); | ||
10946 | ; | ||
10947 | return 0; | ||
10948 | } | ||
10949 | _ACEOF | ||
10950 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10951 | if { (ac_try="$ac_link" | ||
10952 | case "(($ac_try" in | ||
10953 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10954 | *) ac_try_echo=$ac_try;; | ||
10955 | esac | ||
10956 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10957 | (eval "$ac_link") 2>conftest.er1 | ||
10958 | ac_status=$? | ||
10959 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10960 | rm -f conftest.er1 | ||
10961 | cat conftest.err >&5 | ||
10962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10963 | (exit $ac_status); } && { | ||
10964 | test -z "$ac_c_werror_flag" || | ||
10965 | test ! -s conftest.err | ||
10966 | } && test -s conftest$ac_exeext && | ||
10967 | $as_test_x conftest$ac_exeext; then | ||
10968 | eval "$as_ac_var=yes" | ||
10969 | else | ||
10970 | echo "$as_me: failed program was:" >&5 | ||
10971 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10972 | |||
10973 | eval "$as_ac_var=no" | ||
10974 | fi | ||
10975 | |||
10976 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10977 | conftest$ac_exeext conftest.$ac_ext | ||
10978 | fi | ||
10979 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
10980 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10981 | echo "${ECHO_T}$ac_res" >&6; } | ||
10982 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10983 | cat >>confdefs.h <<_ACEOF | 7863 | cat >>confdefs.h <<_ACEOF |
10984 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7864 | #define HAVE_SETPFLAGS 1 |
10985 | _ACEOF | 7865 | _ACEOF |
10986 | 7866 | ||
10987 | fi | 7867 | fi |
10988 | done | 7868 | done |
10989 | 7869 | ||
10990 | 7870 | for ac_func in setppriv | |
10991 | for ac_func in setppriv | 7871 | do : |
10992 | do | 7872 | ac_fn_c_check_func "$LINENO" "setppriv" "ac_cv_func_setppriv" |
10993 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7873 | if test "x$ac_cv_func_setppriv" = xyes; then : |
10994 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10995 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
10996 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10997 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10998 | else | ||
10999 | cat >conftest.$ac_ext <<_ACEOF | ||
11000 | /* confdefs.h. */ | ||
11001 | _ACEOF | ||
11002 | cat confdefs.h >>conftest.$ac_ext | ||
11003 | cat >>conftest.$ac_ext <<_ACEOF | ||
11004 | /* end confdefs.h. */ | ||
11005 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
11006 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11007 | #define $ac_func innocuous_$ac_func | ||
11008 | |||
11009 | /* System header to define __stub macros and hopefully few prototypes, | ||
11010 | which can conflict with char $ac_func (); below. | ||
11011 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11012 | <limits.h> exists even on freestanding compilers. */ | ||
11013 | |||
11014 | #ifdef __STDC__ | ||
11015 | # include <limits.h> | ||
11016 | #else | ||
11017 | # include <assert.h> | ||
11018 | #endif | ||
11019 | |||
11020 | #undef $ac_func | ||
11021 | |||
11022 | /* Override any GCC internal prototype to avoid an error. | ||
11023 | Use char because int might match the return type of a GCC | ||
11024 | builtin and then its argument prototype would still apply. */ | ||
11025 | #ifdef __cplusplus | ||
11026 | extern "C" | ||
11027 | #endif | ||
11028 | char $ac_func (); | ||
11029 | /* The GNU C library defines this for functions which it implements | ||
11030 | to always fail with ENOSYS. Some functions are actually named | ||
11031 | something starting with __ and the normal name is an alias. */ | ||
11032 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
11033 | choke me | ||
11034 | #endif | ||
11035 | |||
11036 | int | ||
11037 | main () | ||
11038 | { | ||
11039 | return $ac_func (); | ||
11040 | ; | ||
11041 | return 0; | ||
11042 | } | ||
11043 | _ACEOF | ||
11044 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11045 | if { (ac_try="$ac_link" | ||
11046 | case "(($ac_try" in | ||
11047 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11048 | *) ac_try_echo=$ac_try;; | ||
11049 | esac | ||
11050 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11051 | (eval "$ac_link") 2>conftest.er1 | ||
11052 | ac_status=$? | ||
11053 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11054 | rm -f conftest.er1 | ||
11055 | cat conftest.err >&5 | ||
11056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11057 | (exit $ac_status); } && { | ||
11058 | test -z "$ac_c_werror_flag" || | ||
11059 | test ! -s conftest.err | ||
11060 | } && test -s conftest$ac_exeext && | ||
11061 | $as_test_x conftest$ac_exeext; then | ||
11062 | eval "$as_ac_var=yes" | ||
11063 | else | ||
11064 | echo "$as_me: failed program was:" >&5 | ||
11065 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11066 | |||
11067 | eval "$as_ac_var=no" | ||
11068 | fi | ||
11069 | |||
11070 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11071 | conftest$ac_exeext conftest.$ac_ext | ||
11072 | fi | ||
11073 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
11074 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11075 | echo "${ECHO_T}$ac_res" >&6; } | ||
11076 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
11077 | cat >>confdefs.h <<_ACEOF | 7874 | cat >>confdefs.h <<_ACEOF |
11078 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7875 | #define HAVE_SETPPRIV 1 |
11079 | _ACEOF | 7876 | _ACEOF |
11080 | 7877 | ||
11081 | fi | 7878 | fi |
11082 | done | 7879 | done |
11083 | 7880 | ||
11084 | 7881 | for ac_func in priv_basicset | |
11085 | for ac_func in priv_basicset | 7882 | do : |
11086 | do | 7883 | ac_fn_c_check_func "$LINENO" "priv_basicset" "ac_cv_func_priv_basicset" |
11087 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 7884 | if test "x$ac_cv_func_priv_basicset" = xyes; then : |
11088 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
11089 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
11090 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11091 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11092 | else | ||
11093 | cat >conftest.$ac_ext <<_ACEOF | ||
11094 | /* confdefs.h. */ | ||
11095 | _ACEOF | ||
11096 | cat confdefs.h >>conftest.$ac_ext | ||
11097 | cat >>conftest.$ac_ext <<_ACEOF | ||
11098 | /* end confdefs.h. */ | ||
11099 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
11100 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11101 | #define $ac_func innocuous_$ac_func | ||
11102 | |||
11103 | /* System header to define __stub macros and hopefully few prototypes, | ||
11104 | which can conflict with char $ac_func (); below. | ||
11105 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11106 | <limits.h> exists even on freestanding compilers. */ | ||
11107 | |||
11108 | #ifdef __STDC__ | ||
11109 | # include <limits.h> | ||
11110 | #else | ||
11111 | # include <assert.h> | ||
11112 | #endif | ||
11113 | |||
11114 | #undef $ac_func | ||
11115 | |||
11116 | /* Override any GCC internal prototype to avoid an error. | ||
11117 | Use char because int might match the return type of a GCC | ||
11118 | builtin and then its argument prototype would still apply. */ | ||
11119 | #ifdef __cplusplus | ||
11120 | extern "C" | ||
11121 | #endif | ||
11122 | char $ac_func (); | ||
11123 | /* The GNU C library defines this for functions which it implements | ||
11124 | to always fail with ENOSYS. Some functions are actually named | ||
11125 | something starting with __ and the normal name is an alias. */ | ||
11126 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
11127 | choke me | ||
11128 | #endif | ||
11129 | |||
11130 | int | ||
11131 | main () | ||
11132 | { | ||
11133 | return $ac_func (); | ||
11134 | ; | ||
11135 | return 0; | ||
11136 | } | ||
11137 | _ACEOF | ||
11138 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11139 | if { (ac_try="$ac_link" | ||
11140 | case "(($ac_try" in | ||
11141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11142 | *) ac_try_echo=$ac_try;; | ||
11143 | esac | ||
11144 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11145 | (eval "$ac_link") 2>conftest.er1 | ||
11146 | ac_status=$? | ||
11147 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11148 | rm -f conftest.er1 | ||
11149 | cat conftest.err >&5 | ||
11150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11151 | (exit $ac_status); } && { | ||
11152 | test -z "$ac_c_werror_flag" || | ||
11153 | test ! -s conftest.err | ||
11154 | } && test -s conftest$ac_exeext && | ||
11155 | $as_test_x conftest$ac_exeext; then | ||
11156 | eval "$as_ac_var=yes" | ||
11157 | else | ||
11158 | echo "$as_me: failed program was:" >&5 | ||
11159 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11160 | |||
11161 | eval "$as_ac_var=no" | ||
11162 | fi | ||
11163 | |||
11164 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11165 | conftest$ac_exeext conftest.$ac_ext | ||
11166 | fi | ||
11167 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
11168 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11169 | echo "${ECHO_T}$ac_res" >&6; } | ||
11170 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
11171 | cat >>confdefs.h <<_ACEOF | 7885 | cat >>confdefs.h <<_ACEOF |
11172 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 7886 | #define HAVE_PRIV_BASICSET 1 |
11173 | _ACEOF | 7887 | _ACEOF |
11174 | 7888 | ||
11175 | fi | 7889 | fi |
11176 | done | 7890 | done |
11177 | 7891 | ||
11178 | 7892 | for ac_header in priv.h | |
11179 | for ac_header in priv.h | 7893 | do : |
11180 | do | 7894 | ac_fn_c_check_header_mongrel "$LINENO" "priv.h" "ac_cv_header_priv_h" "$ac_includes_default" |
11181 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7895 | if test "x$ac_cv_header_priv_h" = xyes; then : |
11182 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11183 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
11184 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
11185 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11186 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11187 | fi | ||
11188 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
11189 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11190 | echo "${ECHO_T}$ac_res" >&6; } | ||
11191 | else | ||
11192 | # Is the header compilable? | ||
11193 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
11194 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
11195 | cat >conftest.$ac_ext <<_ACEOF | ||
11196 | /* confdefs.h. */ | ||
11197 | _ACEOF | ||
11198 | cat confdefs.h >>conftest.$ac_ext | ||
11199 | cat >>conftest.$ac_ext <<_ACEOF | ||
11200 | /* end confdefs.h. */ | ||
11201 | $ac_includes_default | ||
11202 | #include <$ac_header> | ||
11203 | _ACEOF | ||
11204 | rm -f conftest.$ac_objext | ||
11205 | if { (ac_try="$ac_compile" | ||
11206 | case "(($ac_try" in | ||
11207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11208 | *) ac_try_echo=$ac_try;; | ||
11209 | esac | ||
11210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11211 | (eval "$ac_compile") 2>conftest.er1 | ||
11212 | ac_status=$? | ||
11213 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11214 | rm -f conftest.er1 | ||
11215 | cat conftest.err >&5 | ||
11216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11217 | (exit $ac_status); } && { | ||
11218 | test -z "$ac_c_werror_flag" || | ||
11219 | test ! -s conftest.err | ||
11220 | } && test -s conftest.$ac_objext; then | ||
11221 | ac_header_compiler=yes | ||
11222 | else | ||
11223 | echo "$as_me: failed program was:" >&5 | ||
11224 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11225 | |||
11226 | ac_header_compiler=no | ||
11227 | fi | ||
11228 | |||
11229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
11230 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
11231 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
11232 | |||
11233 | # Is the header present? | ||
11234 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
11235 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
11236 | cat >conftest.$ac_ext <<_ACEOF | ||
11237 | /* confdefs.h. */ | ||
11238 | _ACEOF | ||
11239 | cat confdefs.h >>conftest.$ac_ext | ||
11240 | cat >>conftest.$ac_ext <<_ACEOF | ||
11241 | /* end confdefs.h. */ | ||
11242 | #include <$ac_header> | ||
11243 | _ACEOF | ||
11244 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
11245 | case "(($ac_try" in | ||
11246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11247 | *) ac_try_echo=$ac_try;; | ||
11248 | esac | ||
11249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11250 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
11251 | ac_status=$? | ||
11252 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11253 | rm -f conftest.er1 | ||
11254 | cat conftest.err >&5 | ||
11255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11256 | (exit $ac_status); } >/dev/null && { | ||
11257 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
11258 | test ! -s conftest.err | ||
11259 | }; then | ||
11260 | ac_header_preproc=yes | ||
11261 | else | ||
11262 | echo "$as_me: failed program was:" >&5 | ||
11263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11264 | |||
11265 | ac_header_preproc=no | ||
11266 | fi | ||
11267 | |||
11268 | rm -f conftest.err conftest.$ac_ext | ||
11269 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
11270 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
11271 | |||
11272 | # So? What about this header? | ||
11273 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
11274 | yes:no: ) | ||
11275 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
11276 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
11277 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
11278 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
11279 | ac_header_preproc=yes | ||
11280 | ;; | ||
11281 | no:yes:* ) | ||
11282 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
11283 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
11284 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
11285 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
11286 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
11287 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
11288 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
11289 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
11290 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
11291 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
11292 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
11293 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
11294 | ( cat <<\_ASBOX | ||
11295 | ## ------------------------------------------- ## | ||
11296 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
11297 | ## ------------------------------------------- ## | ||
11298 | _ASBOX | ||
11299 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
11300 | ;; | ||
11301 | esac | ||
11302 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
11303 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
11304 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11306 | else | ||
11307 | eval "$as_ac_Header=\$ac_header_preproc" | ||
11308 | fi | ||
11309 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
11310 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11311 | echo "${ECHO_T}$ac_res" >&6; } | ||
11312 | |||
11313 | fi | ||
11314 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
11315 | cat >>confdefs.h <<_ACEOF | 7896 | cat >>confdefs.h <<_ACEOF |
11316 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7897 | #define HAVE_PRIV_H 1 |
11317 | _ACEOF | 7898 | _ACEOF |
11318 | 7899 | ||
11319 | fi | 7900 | fi |
@@ -11322,20 +7903,16 @@ done | |||
11322 | 7903 | ||
11323 | 7904 | ||
11324 | # Check whether --with-solaris-contracts was given. | 7905 | # Check whether --with-solaris-contracts was given. |
11325 | if test "${with_solaris_contracts+set}" = set; then | 7906 | if test "${with_solaris_contracts+set}" = set; then : |
11326 | withval=$with_solaris_contracts; | 7907 | withval=$with_solaris_contracts; |
11327 | { echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5 | 7908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ct_tmpl_activate in -lcontract" >&5 |
11328 | echo $ECHO_N "checking for ct_tmpl_activate in -lcontract... $ECHO_C" >&6; } | 7909 | $as_echo_n "checking for ct_tmpl_activate in -lcontract... " >&6; } |
11329 | if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then | 7910 | if ${ac_cv_lib_contract_ct_tmpl_activate+:} false; then : |
11330 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7911 | $as_echo_n "(cached) " >&6 |
11331 | else | 7912 | else |
11332 | ac_check_lib_save_LIBS=$LIBS | 7913 | ac_check_lib_save_LIBS=$LIBS |
11333 | LIBS="-lcontract $LIBS" | 7914 | LIBS="-lcontract $LIBS" |
11334 | cat >conftest.$ac_ext <<_ACEOF | 7915 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11335 | /* confdefs.h. */ | ||
11336 | _ACEOF | ||
11337 | cat confdefs.h >>conftest.$ac_ext | ||
11338 | cat >>conftest.$ac_ext <<_ACEOF | ||
11339 | /* end confdefs.h. */ | 7916 | /* end confdefs.h. */ |
11340 | 7917 | ||
11341 | /* Override any GCC internal prototype to avoid an error. | 7918 | /* Override any GCC internal prototype to avoid an error. |
@@ -11353,43 +7930,20 @@ return ct_tmpl_activate (); | |||
11353 | return 0; | 7930 | return 0; |
11354 | } | 7931 | } |
11355 | _ACEOF | 7932 | _ACEOF |
11356 | rm -f conftest.$ac_objext conftest$ac_exeext | 7933 | if ac_fn_c_try_link "$LINENO"; then : |
11357 | if { (ac_try="$ac_link" | ||
11358 | case "(($ac_try" in | ||
11359 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11360 | *) ac_try_echo=$ac_try;; | ||
11361 | esac | ||
11362 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11363 | (eval "$ac_link") 2>conftest.er1 | ||
11364 | ac_status=$? | ||
11365 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11366 | rm -f conftest.er1 | ||
11367 | cat conftest.err >&5 | ||
11368 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11369 | (exit $ac_status); } && { | ||
11370 | test -z "$ac_c_werror_flag" || | ||
11371 | test ! -s conftest.err | ||
11372 | } && test -s conftest$ac_exeext && | ||
11373 | $as_test_x conftest$ac_exeext; then | ||
11374 | ac_cv_lib_contract_ct_tmpl_activate=yes | 7934 | ac_cv_lib_contract_ct_tmpl_activate=yes |
11375 | else | 7935 | else |
11376 | echo "$as_me: failed program was:" >&5 | 7936 | ac_cv_lib_contract_ct_tmpl_activate=no |
11377 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11378 | |||
11379 | ac_cv_lib_contract_ct_tmpl_activate=no | ||
11380 | fi | 7937 | fi |
11381 | 7938 | rm -f core conftest.err conftest.$ac_objext \ | |
11382 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7939 | conftest$ac_exeext conftest.$ac_ext |
11383 | conftest$ac_exeext conftest.$ac_ext | ||
11384 | LIBS=$ac_check_lib_save_LIBS | 7940 | LIBS=$ac_check_lib_save_LIBS |
11385 | fi | 7941 | fi |
11386 | { echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 | 7942 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 |
11387 | echo "${ECHO_T}$ac_cv_lib_contract_ct_tmpl_activate" >&6; } | 7943 | $as_echo "$ac_cv_lib_contract_ct_tmpl_activate" >&6; } |
11388 | if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then | 7944 | if test "x$ac_cv_lib_contract_ct_tmpl_activate" = xyes; then : |
11389 | 7945 | ||
11390 | cat >>confdefs.h <<\_ACEOF | 7946 | $as_echo "#define USE_SOLARIS_PROCESS_CONTRACTS 1" >>confdefs.h |
11391 | #define USE_SOLARIS_PROCESS_CONTRACTS 1 | ||
11392 | _ACEOF | ||
11393 | 7947 | ||
11394 | LIBS="$LIBS -lcontract" | 7948 | LIBS="$LIBS -lcontract" |
11395 | SPC_MSG="yes" | 7949 | SPC_MSG="yes" |
@@ -11400,20 +7954,16 @@ fi | |||
11400 | 7954 | ||
11401 | 7955 | ||
11402 | # Check whether --with-solaris-projects was given. | 7956 | # Check whether --with-solaris-projects was given. |
11403 | if test "${with_solaris_projects+set}" = set; then | 7957 | if test "${with_solaris_projects+set}" = set; then : |
11404 | withval=$with_solaris_projects; | 7958 | withval=$with_solaris_projects; |
11405 | { echo "$as_me:$LINENO: checking for setproject in -lproject" >&5 | 7959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setproject in -lproject" >&5 |
11406 | echo $ECHO_N "checking for setproject in -lproject... $ECHO_C" >&6; } | 7960 | $as_echo_n "checking for setproject in -lproject... " >&6; } |
11407 | if test "${ac_cv_lib_project_setproject+set}" = set; then | 7961 | if ${ac_cv_lib_project_setproject+:} false; then : |
11408 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 7962 | $as_echo_n "(cached) " >&6 |
11409 | else | 7963 | else |
11410 | ac_check_lib_save_LIBS=$LIBS | 7964 | ac_check_lib_save_LIBS=$LIBS |
11411 | LIBS="-lproject $LIBS" | 7965 | LIBS="-lproject $LIBS" |
11412 | cat >conftest.$ac_ext <<_ACEOF | 7966 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11413 | /* confdefs.h. */ | ||
11414 | _ACEOF | ||
11415 | cat confdefs.h >>conftest.$ac_ext | ||
11416 | cat >>conftest.$ac_ext <<_ACEOF | ||
11417 | /* end confdefs.h. */ | 7967 | /* end confdefs.h. */ |
11418 | 7968 | ||
11419 | /* Override any GCC internal prototype to avoid an error. | 7969 | /* Override any GCC internal prototype to avoid an error. |
@@ -11431,43 +7981,20 @@ return setproject (); | |||
11431 | return 0; | 7981 | return 0; |
11432 | } | 7982 | } |
11433 | _ACEOF | 7983 | _ACEOF |
11434 | rm -f conftest.$ac_objext conftest$ac_exeext | 7984 | if ac_fn_c_try_link "$LINENO"; then : |
11435 | if { (ac_try="$ac_link" | ||
11436 | case "(($ac_try" in | ||
11437 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11438 | *) ac_try_echo=$ac_try;; | ||
11439 | esac | ||
11440 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11441 | (eval "$ac_link") 2>conftest.er1 | ||
11442 | ac_status=$? | ||
11443 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11444 | rm -f conftest.er1 | ||
11445 | cat conftest.err >&5 | ||
11446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11447 | (exit $ac_status); } && { | ||
11448 | test -z "$ac_c_werror_flag" || | ||
11449 | test ! -s conftest.err | ||
11450 | } && test -s conftest$ac_exeext && | ||
11451 | $as_test_x conftest$ac_exeext; then | ||
11452 | ac_cv_lib_project_setproject=yes | 7985 | ac_cv_lib_project_setproject=yes |
11453 | else | 7986 | else |
11454 | echo "$as_me: failed program was:" >&5 | 7987 | ac_cv_lib_project_setproject=no |
11455 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11456 | |||
11457 | ac_cv_lib_project_setproject=no | ||
11458 | fi | 7988 | fi |
11459 | 7989 | rm -f core conftest.err conftest.$ac_objext \ | |
11460 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 7990 | conftest$ac_exeext conftest.$ac_ext |
11461 | conftest$ac_exeext conftest.$ac_ext | ||
11462 | LIBS=$ac_check_lib_save_LIBS | 7991 | LIBS=$ac_check_lib_save_LIBS |
11463 | fi | 7992 | fi |
11464 | { echo "$as_me:$LINENO: result: $ac_cv_lib_project_setproject" >&5 | 7993 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_project_setproject" >&5 |
11465 | echo "${ECHO_T}$ac_cv_lib_project_setproject" >&6; } | 7994 | $as_echo "$ac_cv_lib_project_setproject" >&6; } |
11466 | if test $ac_cv_lib_project_setproject = yes; then | 7995 | if test "x$ac_cv_lib_project_setproject" = xyes; then : |
11467 | 7996 | ||
11468 | cat >>confdefs.h <<\_ACEOF | 7997 | $as_echo "#define USE_SOLARIS_PROJECTS 1" >>confdefs.h |
11469 | #define USE_SOLARIS_PROJECTS 1 | ||
11470 | _ACEOF | ||
11471 | 7998 | ||
11472 | LIBS="$LIBS -lproject" | 7999 | LIBS="$LIBS -lproject" |
11473 | SP_MSG="yes" | 8000 | SP_MSG="yes" |
@@ -11478,32 +8005,26 @@ fi | |||
11478 | 8005 | ||
11479 | 8006 | ||
11480 | # Check whether --with-solaris-privs was given. | 8007 | # Check whether --with-solaris-privs was given. |
11481 | if test "${with_solaris_privs+set}" = set; then | 8008 | if test "${with_solaris_privs+set}" = set; then : |
11482 | withval=$with_solaris_privs; | 8009 | withval=$with_solaris_privs; |
11483 | { echo "$as_me:$LINENO: checking for Solaris/Illumos privilege support" >&5 | 8010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris/Illumos privilege support" >&5 |
11484 | echo $ECHO_N "checking for Solaris/Illumos privilege support... $ECHO_C" >&6; } | 8011 | $as_echo_n "checking for Solaris/Illumos privilege support... " >&6; } |
11485 | if test "x$ac_cv_func_setppriv" = "xyes" -a \ | 8012 | if test "x$ac_cv_func_setppriv" = "xyes" -a \ |
11486 | "x$ac_cv_header_priv_h" = "xyes" ; then | 8013 | "x$ac_cv_header_priv_h" = "xyes" ; then |
11487 | SOLARIS_PRIVS=yes | 8014 | SOLARIS_PRIVS=yes |
11488 | { echo "$as_me:$LINENO: result: found" >&5 | 8015 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 |
11489 | echo "${ECHO_T}found" >&6; } | 8016 | $as_echo "found" >&6; } |
11490 | 8017 | ||
11491 | cat >>confdefs.h <<\_ACEOF | 8018 | $as_echo "#define NO_UID_RESTORATION_TEST 1" >>confdefs.h |
11492 | #define NO_UID_RESTORATION_TEST 1 | ||
11493 | _ACEOF | ||
11494 | 8019 | ||
11495 | 8020 | ||
11496 | cat >>confdefs.h <<\_ACEOF | 8021 | $as_echo "#define USE_SOLARIS_PRIVS 1" >>confdefs.h |
11497 | #define USE_SOLARIS_PRIVS 1 | ||
11498 | _ACEOF | ||
11499 | 8022 | ||
11500 | SPP_MSG="yes" | 8023 | SPP_MSG="yes" |
11501 | else | 8024 | else |
11502 | { echo "$as_me:$LINENO: result: not found" >&5 | 8025 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
11503 | echo "${ECHO_T}not found" >&6; } | 8026 | $as_echo "not found" >&6; } |
11504 | { { echo "$as_me:$LINENO: error: *** must have support for Solaris privileges to use --with-solaris-privs" >&5 | 8027 | as_fn_error $? "*** must have support for Solaris privileges to use --with-solaris-privs" "$LINENO" 5 |
11505 | echo "$as_me: error: *** must have support for Solaris privileges to use --with-solaris-privs" >&2;} | ||
11506 | { (exit 1); exit 1; }; } | ||
11507 | fi | 8028 | fi |
11508 | 8029 | ||
11509 | fi | 8030 | fi |
@@ -11512,150 +8033,48 @@ fi | |||
11512 | ;; | 8033 | ;; |
11513 | *-*-sunos4*) | 8034 | *-*-sunos4*) |
11514 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | 8035 | CPPFLAGS="$CPPFLAGS -DSUNOS4" |
11515 | 8036 | for ac_func in getpwanam | |
11516 | for ac_func in getpwanam | 8037 | do : |
11517 | do | 8038 | ac_fn_c_check_func "$LINENO" "getpwanam" "ac_cv_func_getpwanam" |
11518 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8039 | if test "x$ac_cv_func_getpwanam" = xyes; then : |
11519 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
11520 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
11521 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11522 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11523 | else | ||
11524 | cat >conftest.$ac_ext <<_ACEOF | ||
11525 | /* confdefs.h. */ | ||
11526 | _ACEOF | ||
11527 | cat confdefs.h >>conftest.$ac_ext | ||
11528 | cat >>conftest.$ac_ext <<_ACEOF | ||
11529 | /* end confdefs.h. */ | ||
11530 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
11531 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11532 | #define $ac_func innocuous_$ac_func | ||
11533 | |||
11534 | /* System header to define __stub macros and hopefully few prototypes, | ||
11535 | which can conflict with char $ac_func (); below. | ||
11536 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11537 | <limits.h> exists even on freestanding compilers. */ | ||
11538 | |||
11539 | #ifdef __STDC__ | ||
11540 | # include <limits.h> | ||
11541 | #else | ||
11542 | # include <assert.h> | ||
11543 | #endif | ||
11544 | |||
11545 | #undef $ac_func | ||
11546 | |||
11547 | /* Override any GCC internal prototype to avoid an error. | ||
11548 | Use char because int might match the return type of a GCC | ||
11549 | builtin and then its argument prototype would still apply. */ | ||
11550 | #ifdef __cplusplus | ||
11551 | extern "C" | ||
11552 | #endif | ||
11553 | char $ac_func (); | ||
11554 | /* The GNU C library defines this for functions which it implements | ||
11555 | to always fail with ENOSYS. Some functions are actually named | ||
11556 | something starting with __ and the normal name is an alias. */ | ||
11557 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
11558 | choke me | ||
11559 | #endif | ||
11560 | |||
11561 | int | ||
11562 | main () | ||
11563 | { | ||
11564 | return $ac_func (); | ||
11565 | ; | ||
11566 | return 0; | ||
11567 | } | ||
11568 | _ACEOF | ||
11569 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11570 | if { (ac_try="$ac_link" | ||
11571 | case "(($ac_try" in | ||
11572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11573 | *) ac_try_echo=$ac_try;; | ||
11574 | esac | ||
11575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11576 | (eval "$ac_link") 2>conftest.er1 | ||
11577 | ac_status=$? | ||
11578 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11579 | rm -f conftest.er1 | ||
11580 | cat conftest.err >&5 | ||
11581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11582 | (exit $ac_status); } && { | ||
11583 | test -z "$ac_c_werror_flag" || | ||
11584 | test ! -s conftest.err | ||
11585 | } && test -s conftest$ac_exeext && | ||
11586 | $as_test_x conftest$ac_exeext; then | ||
11587 | eval "$as_ac_var=yes" | ||
11588 | else | ||
11589 | echo "$as_me: failed program was:" >&5 | ||
11590 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11591 | |||
11592 | eval "$as_ac_var=no" | ||
11593 | fi | ||
11594 | |||
11595 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11596 | conftest$ac_exeext conftest.$ac_ext | ||
11597 | fi | ||
11598 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
11599 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11600 | echo "${ECHO_T}$ac_res" >&6; } | ||
11601 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
11602 | cat >>confdefs.h <<_ACEOF | 8040 | cat >>confdefs.h <<_ACEOF |
11603 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8041 | #define HAVE_GETPWANAM 1 |
11604 | _ACEOF | 8042 | _ACEOF |
11605 | 8043 | ||
11606 | fi | 8044 | fi |
11607 | done | 8045 | done |
11608 | 8046 | ||
11609 | cat >>confdefs.h <<\_ACEOF | 8047 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h |
11610 | #define PAM_SUN_CODEBASE 1 | ||
11611 | _ACEOF | ||
11612 | 8048 | ||
11613 | conf_utmp_location=/etc/utmp | 8049 | conf_utmp_location=/etc/utmp |
11614 | conf_wtmp_location=/var/adm/wtmp | 8050 | conf_wtmp_location=/var/adm/wtmp |
11615 | conf_lastlog_location=/var/adm/lastlog | 8051 | conf_lastlog_location=/var/adm/lastlog |
11616 | cat >>confdefs.h <<\_ACEOF | 8052 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
11617 | #define USE_PIPES 1 | ||
11618 | _ACEOF | ||
11619 | 8053 | ||
11620 | ;; | 8054 | ;; |
11621 | *-ncr-sysv*) | 8055 | *-ncr-sysv*) |
11622 | LIBS="$LIBS -lc89" | 8056 | LIBS="$LIBS -lc89" |
11623 | cat >>confdefs.h <<\_ACEOF | 8057 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
11624 | #define USE_PIPES 1 | ||
11625 | _ACEOF | ||
11626 | 8058 | ||
11627 | cat >>confdefs.h <<\_ACEOF | 8059 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h |
11628 | #define SSHD_ACQUIRES_CTTY 1 | ||
11629 | _ACEOF | ||
11630 | 8060 | ||
11631 | cat >>confdefs.h <<\_ACEOF | 8061 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
11632 | #define SETEUID_BREAKS_SETUID 1 | ||
11633 | _ACEOF | ||
11634 | 8062 | ||
11635 | cat >>confdefs.h <<\_ACEOF | 8063 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
11636 | #define BROKEN_SETREUID 1 | ||
11637 | _ACEOF | ||
11638 | 8064 | ||
11639 | cat >>confdefs.h <<\_ACEOF | 8065 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
11640 | #define BROKEN_SETREGID 1 | ||
11641 | _ACEOF | ||
11642 | 8066 | ||
11643 | ;; | 8067 | ;; |
11644 | *-sni-sysv*) | 8068 | *-sni-sysv*) |
11645 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | 8069 | # /usr/ucblib MUST NOT be searched on ReliantUNIX |
11646 | 8070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 | |
11647 | { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 | 8071 | $as_echo_n "checking for dlsym in -ldl... " >&6; } |
11648 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } | 8072 | if ${ac_cv_lib_dl_dlsym+:} false; then : |
11649 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then | 8073 | $as_echo_n "(cached) " >&6 |
11650 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11651 | else | 8074 | else |
11652 | ac_check_lib_save_LIBS=$LIBS | 8075 | ac_check_lib_save_LIBS=$LIBS |
11653 | LIBS="-ldl $LIBS" | 8076 | LIBS="-ldl $LIBS" |
11654 | cat >conftest.$ac_ext <<_ACEOF | 8077 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11655 | /* confdefs.h. */ | ||
11656 | _ACEOF | ||
11657 | cat confdefs.h >>conftest.$ac_ext | ||
11658 | cat >>conftest.$ac_ext <<_ACEOF | ||
11659 | /* end confdefs.h. */ | 8078 | /* end confdefs.h. */ |
11660 | 8079 | ||
11661 | /* Override any GCC internal prototype to avoid an error. | 8080 | /* Override any GCC internal prototype to avoid an error. |
@@ -11673,39 +8092,18 @@ return dlsym (); | |||
11673 | return 0; | 8092 | return 0; |
11674 | } | 8093 | } |
11675 | _ACEOF | 8094 | _ACEOF |
11676 | rm -f conftest.$ac_objext conftest$ac_exeext | 8095 | if ac_fn_c_try_link "$LINENO"; then : |
11677 | if { (ac_try="$ac_link" | ||
11678 | case "(($ac_try" in | ||
11679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11680 | *) ac_try_echo=$ac_try;; | ||
11681 | esac | ||
11682 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11683 | (eval "$ac_link") 2>conftest.er1 | ||
11684 | ac_status=$? | ||
11685 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11686 | rm -f conftest.er1 | ||
11687 | cat conftest.err >&5 | ||
11688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11689 | (exit $ac_status); } && { | ||
11690 | test -z "$ac_c_werror_flag" || | ||
11691 | test ! -s conftest.err | ||
11692 | } && test -s conftest$ac_exeext && | ||
11693 | $as_test_x conftest$ac_exeext; then | ||
11694 | ac_cv_lib_dl_dlsym=yes | 8096 | ac_cv_lib_dl_dlsym=yes |
11695 | else | 8097 | else |
11696 | echo "$as_me: failed program was:" >&5 | 8098 | ac_cv_lib_dl_dlsym=no |
11697 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11698 | |||
11699 | ac_cv_lib_dl_dlsym=no | ||
11700 | fi | 8099 | fi |
11701 | 8100 | rm -f core conftest.err conftest.$ac_objext \ | |
11702 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8101 | conftest$ac_exeext conftest.$ac_ext |
11703 | conftest$ac_exeext conftest.$ac_ext | ||
11704 | LIBS=$ac_check_lib_save_LIBS | 8102 | LIBS=$ac_check_lib_save_LIBS |
11705 | fi | 8103 | fi |
11706 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 | 8104 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 |
11707 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } | 8105 | $as_echo "$ac_cv_lib_dl_dlsym" >&6; } |
11708 | if test $ac_cv_lib_dl_dlsym = yes; then | 8106 | if test "x$ac_cv_lib_dl_dlsym" = xyes; then : |
11709 | cat >>confdefs.h <<_ACEOF | 8107 | cat >>confdefs.h <<_ACEOF |
11710 | #define HAVE_LIBDL 1 | 8108 | #define HAVE_LIBDL 1 |
11711 | _ACEOF | 8109 | _ACEOF |
@@ -11715,18 +8113,14 @@ _ACEOF | |||
11715 | fi | 8113 | fi |
11716 | 8114 | ||
11717 | # -lresolv needs to be at the end of LIBS or DNS lookups break | 8115 | # -lresolv needs to be at the end of LIBS or DNS lookups break |
11718 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 | 8116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 |
11719 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } | 8117 | $as_echo_n "checking for res_query in -lresolv... " >&6; } |
11720 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then | 8118 | if ${ac_cv_lib_resolv_res_query+:} false; then : |
11721 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8119 | $as_echo_n "(cached) " >&6 |
11722 | else | 8120 | else |
11723 | ac_check_lib_save_LIBS=$LIBS | 8121 | ac_check_lib_save_LIBS=$LIBS |
11724 | LIBS="-lresolv $LIBS" | 8122 | LIBS="-lresolv $LIBS" |
11725 | cat >conftest.$ac_ext <<_ACEOF | 8123 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11726 | /* confdefs.h. */ | ||
11727 | _ACEOF | ||
11728 | cat confdefs.h >>conftest.$ac_ext | ||
11729 | cat >>conftest.$ac_ext <<_ACEOF | ||
11730 | /* end confdefs.h. */ | 8124 | /* end confdefs.h. */ |
11731 | 8125 | ||
11732 | /* Override any GCC internal prototype to avoid an error. | 8126 | /* Override any GCC internal prototype to avoid an error. |
@@ -11744,66 +8138,33 @@ return res_query (); | |||
11744 | return 0; | 8138 | return 0; |
11745 | } | 8139 | } |
11746 | _ACEOF | 8140 | _ACEOF |
11747 | rm -f conftest.$ac_objext conftest$ac_exeext | 8141 | if ac_fn_c_try_link "$LINENO"; then : |
11748 | if { (ac_try="$ac_link" | ||
11749 | case "(($ac_try" in | ||
11750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11751 | *) ac_try_echo=$ac_try;; | ||
11752 | esac | ||
11753 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11754 | (eval "$ac_link") 2>conftest.er1 | ||
11755 | ac_status=$? | ||
11756 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11757 | rm -f conftest.er1 | ||
11758 | cat conftest.err >&5 | ||
11759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11760 | (exit $ac_status); } && { | ||
11761 | test -z "$ac_c_werror_flag" || | ||
11762 | test ! -s conftest.err | ||
11763 | } && test -s conftest$ac_exeext && | ||
11764 | $as_test_x conftest$ac_exeext; then | ||
11765 | ac_cv_lib_resolv_res_query=yes | 8142 | ac_cv_lib_resolv_res_query=yes |
11766 | else | 8143 | else |
11767 | echo "$as_me: failed program was:" >&5 | 8144 | ac_cv_lib_resolv_res_query=no |
11768 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11769 | |||
11770 | ac_cv_lib_resolv_res_query=no | ||
11771 | fi | 8145 | fi |
11772 | 8146 | rm -f core conftest.err conftest.$ac_objext \ | |
11773 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8147 | conftest$ac_exeext conftest.$ac_ext |
11774 | conftest$ac_exeext conftest.$ac_ext | ||
11775 | LIBS=$ac_check_lib_save_LIBS | 8148 | LIBS=$ac_check_lib_save_LIBS |
11776 | fi | 8149 | fi |
11777 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 | 8150 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 |
11778 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } | 8151 | $as_echo "$ac_cv_lib_resolv_res_query" >&6; } |
11779 | if test $ac_cv_lib_resolv_res_query = yes; then | 8152 | if test "x$ac_cv_lib_resolv_res_query" = xyes; then : |
11780 | LIBS="$LIBS -lresolv" | 8153 | LIBS="$LIBS -lresolv" |
11781 | fi | 8154 | fi |
11782 | 8155 | ||
11783 | IPADDR_IN_DISPLAY=yes | 8156 | IPADDR_IN_DISPLAY=yes |
11784 | cat >>confdefs.h <<\_ACEOF | 8157 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
11785 | #define USE_PIPES 1 | ||
11786 | _ACEOF | ||
11787 | 8158 | ||
11788 | cat >>confdefs.h <<\_ACEOF | 8159 | $as_echo "#define IP_TOS_IS_BROKEN 1" >>confdefs.h |
11789 | #define IP_TOS_IS_BROKEN 1 | ||
11790 | _ACEOF | ||
11791 | 8160 | ||
11792 | cat >>confdefs.h <<\_ACEOF | 8161 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
11793 | #define SETEUID_BREAKS_SETUID 1 | ||
11794 | _ACEOF | ||
11795 | 8162 | ||
11796 | cat >>confdefs.h <<\_ACEOF | 8163 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
11797 | #define BROKEN_SETREUID 1 | ||
11798 | _ACEOF | ||
11799 | 8164 | ||
11800 | cat >>confdefs.h <<\_ACEOF | 8165 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
11801 | #define BROKEN_SETREGID 1 | ||
11802 | _ACEOF | ||
11803 | 8166 | ||
11804 | cat >>confdefs.h <<\_ACEOF | 8167 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h |
11805 | #define SSHD_ACQUIRES_CTTY 1 | ||
11806 | _ACEOF | ||
11807 | 8168 | ||
11808 | external_path_file=/etc/default/login | 8169 | external_path_file=/etc/default/login |
11809 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX | 8170 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX |
@@ -11812,30 +8173,18 @@ _ACEOF | |||
11812 | ;; | 8173 | ;; |
11813 | # UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. | 8174 | # UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. |
11814 | *-*-sysv4.2*) | 8175 | *-*-sysv4.2*) |
11815 | cat >>confdefs.h <<\_ACEOF | 8176 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
11816 | #define USE_PIPES 1 | ||
11817 | _ACEOF | ||
11818 | 8177 | ||
11819 | cat >>confdefs.h <<\_ACEOF | 8178 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
11820 | #define SETEUID_BREAKS_SETUID 1 | ||
11821 | _ACEOF | ||
11822 | 8179 | ||
11823 | cat >>confdefs.h <<\_ACEOF | 8180 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
11824 | #define BROKEN_SETREUID 1 | ||
11825 | _ACEOF | ||
11826 | 8181 | ||
11827 | cat >>confdefs.h <<\_ACEOF | 8182 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
11828 | #define BROKEN_SETREGID 1 | ||
11829 | _ACEOF | ||
11830 | 8183 | ||
11831 | 8184 | ||
11832 | cat >>confdefs.h <<\_ACEOF | 8185 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h |
11833 | #define PASSWD_NEEDS_USERNAME 1 | ||
11834 | _ACEOF | ||
11835 | 8186 | ||
11836 | cat >>confdefs.h <<\_ACEOF | 8187 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h |
11837 | #define LOCKED_PASSWD_STRING "*LK*" | ||
11838 | _ACEOF | ||
11839 | 8188 | ||
11840 | TEST_SHELL=$SHELL # let configure find us a capable shell | 8189 | TEST_SHELL=$SHELL # let configure find us a capable shell |
11841 | ;; | 8190 | ;; |
@@ -11843,59 +8192,37 @@ _ACEOF | |||
11843 | *-*-sysv5*) | 8192 | *-*-sysv5*) |
11844 | CPPFLAGS="$CPPFLAGS -Dvsnprintf=_xvsnprintf -Dsnprintf=_xsnprintf" | 8193 | CPPFLAGS="$CPPFLAGS -Dvsnprintf=_xvsnprintf -Dsnprintf=_xsnprintf" |
11845 | 8194 | ||
11846 | cat >>confdefs.h <<\_ACEOF | 8195 | $as_echo "#define UNIXWARE_LONG_PASSWORDS 1" >>confdefs.h |
11847 | #define UNIXWARE_LONG_PASSWORDS 1 | ||
11848 | _ACEOF | ||
11849 | 8196 | ||
11850 | cat >>confdefs.h <<\_ACEOF | 8197 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
11851 | #define USE_PIPES 1 | ||
11852 | _ACEOF | ||
11853 | 8198 | ||
11854 | cat >>confdefs.h <<\_ACEOF | 8199 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
11855 | #define SETEUID_BREAKS_SETUID 1 | ||
11856 | _ACEOF | ||
11857 | 8200 | ||
11858 | cat >>confdefs.h <<\_ACEOF | 8201 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h |
11859 | #define BROKEN_GETADDRINFO 1 | ||
11860 | _ACEOF | ||
11861 | 8202 | ||
11862 | cat >>confdefs.h <<\_ACEOF | 8203 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
11863 | #define BROKEN_SETREUID 1 | ||
11864 | _ACEOF | ||
11865 | 8204 | ||
11866 | cat >>confdefs.h <<\_ACEOF | 8205 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
11867 | #define BROKEN_SETREGID 1 | ||
11868 | _ACEOF | ||
11869 | 8206 | ||
11870 | cat >>confdefs.h <<\_ACEOF | 8207 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h |
11871 | #define PASSWD_NEEDS_USERNAME 1 | ||
11872 | _ACEOF | ||
11873 | 8208 | ||
11874 | TEST_SHELL=$SHELL # let configure find us a capable shell | 8209 | TEST_SHELL=$SHELL # let configure find us a capable shell |
11875 | case "$host" in | 8210 | case "$host" in |
11876 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x | 8211 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x |
11877 | maildir=/var/spool/mail | 8212 | maildir=/var/spool/mail |
11878 | 8213 | ||
11879 | cat >>confdefs.h <<\_ACEOF | 8214 | $as_echo "#define BROKEN_LIBIAF 1" >>confdefs.h |
11880 | #define BROKEN_LIBIAF 1 | ||
11881 | _ACEOF | ||
11882 | 8215 | ||
11883 | cat >>confdefs.h <<\_ACEOF | 8216 | $as_echo "#define BROKEN_UPDWTMPX 1" >>confdefs.h |
11884 | #define BROKEN_UPDWTMPX 1 | ||
11885 | _ACEOF | ||
11886 | 8217 | ||
11887 | { echo "$as_me:$LINENO: checking for getluid in -lprot" >&5 | 8218 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getluid in -lprot" >&5 |
11888 | echo $ECHO_N "checking for getluid in -lprot... $ECHO_C" >&6; } | 8219 | $as_echo_n "checking for getluid in -lprot... " >&6; } |
11889 | if test "${ac_cv_lib_prot_getluid+set}" = set; then | 8220 | if ${ac_cv_lib_prot_getluid+:} false; then : |
11890 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8221 | $as_echo_n "(cached) " >&6 |
11891 | else | 8222 | else |
11892 | ac_check_lib_save_LIBS=$LIBS | 8223 | ac_check_lib_save_LIBS=$LIBS |
11893 | LIBS="-lprot $LIBS" | 8224 | LIBS="-lprot $LIBS" |
11894 | cat >conftest.$ac_ext <<_ACEOF | 8225 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11895 | /* confdefs.h. */ | ||
11896 | _ACEOF | ||
11897 | cat confdefs.h >>conftest.$ac_ext | ||
11898 | cat >>conftest.$ac_ext <<_ACEOF | ||
11899 | /* end confdefs.h. */ | 8226 | /* end confdefs.h. */ |
11900 | 8227 | ||
11901 | /* Override any GCC internal prototype to avoid an error. | 8228 | /* Override any GCC internal prototype to avoid an error. |
@@ -11913,150 +8240,40 @@ return getluid (); | |||
11913 | return 0; | 8240 | return 0; |
11914 | } | 8241 | } |
11915 | _ACEOF | 8242 | _ACEOF |
11916 | rm -f conftest.$ac_objext conftest$ac_exeext | 8243 | if ac_fn_c_try_link "$LINENO"; then : |
11917 | if { (ac_try="$ac_link" | ||
11918 | case "(($ac_try" in | ||
11919 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11920 | *) ac_try_echo=$ac_try;; | ||
11921 | esac | ||
11922 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11923 | (eval "$ac_link") 2>conftest.er1 | ||
11924 | ac_status=$? | ||
11925 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11926 | rm -f conftest.er1 | ||
11927 | cat conftest.err >&5 | ||
11928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11929 | (exit $ac_status); } && { | ||
11930 | test -z "$ac_c_werror_flag" || | ||
11931 | test ! -s conftest.err | ||
11932 | } && test -s conftest$ac_exeext && | ||
11933 | $as_test_x conftest$ac_exeext; then | ||
11934 | ac_cv_lib_prot_getluid=yes | 8244 | ac_cv_lib_prot_getluid=yes |
11935 | else | 8245 | else |
11936 | echo "$as_me: failed program was:" >&5 | 8246 | ac_cv_lib_prot_getluid=no |
11937 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11938 | |||
11939 | ac_cv_lib_prot_getluid=no | ||
11940 | fi | 8247 | fi |
11941 | 8248 | rm -f core conftest.err conftest.$ac_objext \ | |
11942 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8249 | conftest$ac_exeext conftest.$ac_ext |
11943 | conftest$ac_exeext conftest.$ac_ext | ||
11944 | LIBS=$ac_check_lib_save_LIBS | 8250 | LIBS=$ac_check_lib_save_LIBS |
11945 | fi | 8251 | fi |
11946 | { echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5 | 8252 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_prot_getluid" >&5 |
11947 | echo "${ECHO_T}$ac_cv_lib_prot_getluid" >&6; } | 8253 | $as_echo "$ac_cv_lib_prot_getluid" >&6; } |
11948 | if test $ac_cv_lib_prot_getluid = yes; then | 8254 | if test "x$ac_cv_lib_prot_getluid" = xyes; then : |
11949 | LIBS="$LIBS -lprot" | 8255 | LIBS="$LIBS -lprot" |
11950 | 8256 | for ac_func in getluid setluid | |
11951 | 8257 | do : | |
11952 | for ac_func in getluid setluid | 8258 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11953 | do | 8259 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11954 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8260 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
11955 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
11956 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
11957 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11958 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11959 | else | ||
11960 | cat >conftest.$ac_ext <<_ACEOF | ||
11961 | /* confdefs.h. */ | ||
11962 | _ACEOF | ||
11963 | cat confdefs.h >>conftest.$ac_ext | ||
11964 | cat >>conftest.$ac_ext <<_ACEOF | ||
11965 | /* end confdefs.h. */ | ||
11966 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
11967 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11968 | #define $ac_func innocuous_$ac_func | ||
11969 | |||
11970 | /* System header to define __stub macros and hopefully few prototypes, | ||
11971 | which can conflict with char $ac_func (); below. | ||
11972 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11973 | <limits.h> exists even on freestanding compilers. */ | ||
11974 | |||
11975 | #ifdef __STDC__ | ||
11976 | # include <limits.h> | ||
11977 | #else | ||
11978 | # include <assert.h> | ||
11979 | #endif | ||
11980 | |||
11981 | #undef $ac_func | ||
11982 | |||
11983 | /* Override any GCC internal prototype to avoid an error. | ||
11984 | Use char because int might match the return type of a GCC | ||
11985 | builtin and then its argument prototype would still apply. */ | ||
11986 | #ifdef __cplusplus | ||
11987 | extern "C" | ||
11988 | #endif | ||
11989 | char $ac_func (); | ||
11990 | /* The GNU C library defines this for functions which it implements | ||
11991 | to always fail with ENOSYS. Some functions are actually named | ||
11992 | something starting with __ and the normal name is an alias. */ | ||
11993 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
11994 | choke me | ||
11995 | #endif | ||
11996 | |||
11997 | int | ||
11998 | main () | ||
11999 | { | ||
12000 | return $ac_func (); | ||
12001 | ; | ||
12002 | return 0; | ||
12003 | } | ||
12004 | _ACEOF | ||
12005 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12006 | if { (ac_try="$ac_link" | ||
12007 | case "(($ac_try" in | ||
12008 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12009 | *) ac_try_echo=$ac_try;; | ||
12010 | esac | ||
12011 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12012 | (eval "$ac_link") 2>conftest.er1 | ||
12013 | ac_status=$? | ||
12014 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12015 | rm -f conftest.er1 | ||
12016 | cat conftest.err >&5 | ||
12017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12018 | (exit $ac_status); } && { | ||
12019 | test -z "$ac_c_werror_flag" || | ||
12020 | test ! -s conftest.err | ||
12021 | } && test -s conftest$ac_exeext && | ||
12022 | $as_test_x conftest$ac_exeext; then | ||
12023 | eval "$as_ac_var=yes" | ||
12024 | else | ||
12025 | echo "$as_me: failed program was:" >&5 | ||
12026 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12027 | |||
12028 | eval "$as_ac_var=no" | ||
12029 | fi | ||
12030 | |||
12031 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12032 | conftest$ac_exeext conftest.$ac_ext | ||
12033 | fi | ||
12034 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
12035 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12036 | echo "${ECHO_T}$ac_res" >&6; } | ||
12037 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12038 | cat >>confdefs.h <<_ACEOF | 8261 | cat >>confdefs.h <<_ACEOF |
12039 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8262 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12040 | _ACEOF | 8263 | _ACEOF |
12041 | 8264 | ||
12042 | fi | 8265 | fi |
12043 | done | 8266 | done |
12044 | 8267 | ||
12045 | cat >>confdefs.h <<\_ACEOF | 8268 | $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h |
12046 | #define HAVE_SECUREWARE 1 | ||
12047 | _ACEOF | ||
12048 | 8269 | ||
12049 | cat >>confdefs.h <<\_ACEOF | 8270 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h |
12050 | #define DISABLE_SHADOW 1 | ||
12051 | _ACEOF | ||
12052 | 8271 | ||
12053 | 8272 | ||
12054 | fi | 8273 | fi |
12055 | 8274 | ||
12056 | ;; | 8275 | ;; |
12057 | *) cat >>confdefs.h <<\_ACEOF | 8276 | *) $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h |
12058 | #define LOCKED_PASSWD_STRING "*LK*" | ||
12059 | _ACEOF | ||
12060 | 8277 | ||
12061 | check_for_libcrypt_later=1 | 8278 | check_for_libcrypt_later=1 |
12062 | ;; | 8279 | ;; |
@@ -12066,9 +8283,7 @@ _ACEOF | |||
12066 | ;; | 8283 | ;; |
12067 | # SCO UNIX and OEM versions of SCO UNIX | 8284 | # SCO UNIX and OEM versions of SCO UNIX |
12068 | *-*-sco3.2v4*) | 8285 | *-*-sco3.2v4*) |
12069 | { { echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5 | 8286 | as_fn_error $? "\"This Platform is no longer supported.\"" "$LINENO" 5 |
12070 | echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;} | ||
12071 | { (exit 1); exit 1; }; } | ||
12072 | ;; | 8287 | ;; |
12073 | # SCO OpenServer 5.x | 8288 | # SCO OpenServer 5.x |
12074 | *-*-sco3.2v5*) | 8289 | *-*-sco3.2v5*) |
@@ -12077,140 +8292,35 @@ echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;} | |||
12077 | fi | 8292 | fi |
12078 | LIBS="$LIBS -lprot -lx -ltinfo -lm" | 8293 | LIBS="$LIBS -lprot -lx -ltinfo -lm" |
12079 | no_dev_ptmx=1 | 8294 | no_dev_ptmx=1 |
12080 | cat >>confdefs.h <<\_ACEOF | 8295 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
12081 | #define USE_PIPES 1 | ||
12082 | _ACEOF | ||
12083 | 8296 | ||
12084 | cat >>confdefs.h <<\_ACEOF | 8297 | $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h |
12085 | #define HAVE_SECUREWARE 1 | ||
12086 | _ACEOF | ||
12087 | 8298 | ||
12088 | cat >>confdefs.h <<\_ACEOF | 8299 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h |
12089 | #define DISABLE_SHADOW 1 | ||
12090 | _ACEOF | ||
12091 | |||
12092 | cat >>confdefs.h <<\_ACEOF | ||
12093 | #define DISABLE_FD_PASSING 1 | ||
12094 | _ACEOF | ||
12095 | |||
12096 | cat >>confdefs.h <<\_ACEOF | ||
12097 | #define SETEUID_BREAKS_SETUID 1 | ||
12098 | _ACEOF | ||
12099 | 8300 | ||
12100 | cat >>confdefs.h <<\_ACEOF | 8301 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
12101 | #define BROKEN_GETADDRINFO 1 | ||
12102 | _ACEOF | ||
12103 | 8302 | ||
12104 | cat >>confdefs.h <<\_ACEOF | 8303 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
12105 | #define BROKEN_SETREUID 1 | ||
12106 | _ACEOF | ||
12107 | 8304 | ||
12108 | cat >>confdefs.h <<\_ACEOF | 8305 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h |
12109 | #define BROKEN_SETREGID 1 | ||
12110 | _ACEOF | ||
12111 | 8306 | ||
12112 | cat >>confdefs.h <<\_ACEOF | 8307 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
12113 | #define WITH_ABBREV_NO_TTY 1 | ||
12114 | _ACEOF | ||
12115 | 8308 | ||
12116 | cat >>confdefs.h <<\_ACEOF | 8309 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
12117 | #define BROKEN_UPDWTMPX 1 | ||
12118 | _ACEOF | ||
12119 | 8310 | ||
12120 | cat >>confdefs.h <<\_ACEOF | 8311 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h |
12121 | #define PASSWD_NEEDS_USERNAME 1 | ||
12122 | _ACEOF | ||
12123 | 8312 | ||
8313 | $as_echo "#define BROKEN_UPDWTMPX 1" >>confdefs.h | ||
12124 | 8314 | ||
8315 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | ||
12125 | 8316 | ||
12126 | for ac_func in getluid setluid | 8317 | for ac_func in getluid setluid |
12127 | do | 8318 | do : |
12128 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8319 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12129 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8320 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
12130 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 8321 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
12131 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12132 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12133 | else | ||
12134 | cat >conftest.$ac_ext <<_ACEOF | ||
12135 | /* confdefs.h. */ | ||
12136 | _ACEOF | ||
12137 | cat confdefs.h >>conftest.$ac_ext | ||
12138 | cat >>conftest.$ac_ext <<_ACEOF | ||
12139 | /* end confdefs.h. */ | ||
12140 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
12141 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
12142 | #define $ac_func innocuous_$ac_func | ||
12143 | |||
12144 | /* System header to define __stub macros and hopefully few prototypes, | ||
12145 | which can conflict with char $ac_func (); below. | ||
12146 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
12147 | <limits.h> exists even on freestanding compilers. */ | ||
12148 | |||
12149 | #ifdef __STDC__ | ||
12150 | # include <limits.h> | ||
12151 | #else | ||
12152 | # include <assert.h> | ||
12153 | #endif | ||
12154 | |||
12155 | #undef $ac_func | ||
12156 | |||
12157 | /* Override any GCC internal prototype to avoid an error. | ||
12158 | Use char because int might match the return type of a GCC | ||
12159 | builtin and then its argument prototype would still apply. */ | ||
12160 | #ifdef __cplusplus | ||
12161 | extern "C" | ||
12162 | #endif | ||
12163 | char $ac_func (); | ||
12164 | /* The GNU C library defines this for functions which it implements | ||
12165 | to always fail with ENOSYS. Some functions are actually named | ||
12166 | something starting with __ and the normal name is an alias. */ | ||
12167 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
12168 | choke me | ||
12169 | #endif | ||
12170 | |||
12171 | int | ||
12172 | main () | ||
12173 | { | ||
12174 | return $ac_func (); | ||
12175 | ; | ||
12176 | return 0; | ||
12177 | } | ||
12178 | _ACEOF | ||
12179 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12180 | if { (ac_try="$ac_link" | ||
12181 | case "(($ac_try" in | ||
12182 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12183 | *) ac_try_echo=$ac_try;; | ||
12184 | esac | ||
12185 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12186 | (eval "$ac_link") 2>conftest.er1 | ||
12187 | ac_status=$? | ||
12188 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12189 | rm -f conftest.er1 | ||
12190 | cat conftest.err >&5 | ||
12191 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12192 | (exit $ac_status); } && { | ||
12193 | test -z "$ac_c_werror_flag" || | ||
12194 | test ! -s conftest.err | ||
12195 | } && test -s conftest$ac_exeext && | ||
12196 | $as_test_x conftest$ac_exeext; then | ||
12197 | eval "$as_ac_var=yes" | ||
12198 | else | ||
12199 | echo "$as_me: failed program was:" >&5 | ||
12200 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12201 | |||
12202 | eval "$as_ac_var=no" | ||
12203 | fi | ||
12204 | |||
12205 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12206 | conftest$ac_exeext conftest.$ac_ext | ||
12207 | fi | ||
12208 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
12209 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12210 | echo "${ECHO_T}$ac_res" >&6; } | ||
12211 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12212 | cat >>confdefs.h <<_ACEOF | 8322 | cat >>confdefs.h <<_ACEOF |
12213 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8323 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12214 | _ACEOF | 8324 | _ACEOF |
12215 | 8325 | ||
12216 | fi | 8326 | fi |
@@ -12222,103 +8332,67 @@ done | |||
12222 | ;; | 8332 | ;; |
12223 | *-*-unicosmk*) | 8333 | *-*-unicosmk*) |
12224 | 8334 | ||
12225 | cat >>confdefs.h <<\_ACEOF | 8335 | $as_echo "#define NO_SSH_LASTLOG 1" >>confdefs.h |
12226 | #define NO_SSH_LASTLOG 1 | ||
12227 | _ACEOF | ||
12228 | 8336 | ||
12229 | cat >>confdefs.h <<\_ACEOF | 8337 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
12230 | #define SETEUID_BREAKS_SETUID 1 | ||
12231 | _ACEOF | ||
12232 | 8338 | ||
12233 | cat >>confdefs.h <<\_ACEOF | 8339 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
12234 | #define BROKEN_SETREUID 1 | ||
12235 | _ACEOF | ||
12236 | 8340 | ||
12237 | cat >>confdefs.h <<\_ACEOF | 8341 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
12238 | #define BROKEN_SETREGID 1 | ||
12239 | _ACEOF | ||
12240 | 8342 | ||
12241 | cat >>confdefs.h <<\_ACEOF | 8343 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
12242 | #define USE_PIPES 1 | ||
12243 | _ACEOF | ||
12244 | 8344 | ||
12245 | cat >>confdefs.h <<\_ACEOF | 8345 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
12246 | #define DISABLE_FD_PASSING 1 | ||
12247 | _ACEOF | ||
12248 | 8346 | ||
12249 | LDFLAGS="$LDFLAGS" | 8347 | LDFLAGS="$LDFLAGS" |
12250 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | 8348 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" |
12251 | MANTYPE=cat | 8349 | MANTYPE=cat |
12252 | ;; | 8350 | ;; |
12253 | *-*-unicosmp*) | 8351 | *-*-unicosmp*) |
12254 | cat >>confdefs.h <<\_ACEOF | 8352 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
12255 | #define SETEUID_BREAKS_SETUID 1 | ||
12256 | _ACEOF | ||
12257 | 8353 | ||
12258 | cat >>confdefs.h <<\_ACEOF | 8354 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
12259 | #define BROKEN_SETREUID 1 | ||
12260 | _ACEOF | ||
12261 | 8355 | ||
12262 | cat >>confdefs.h <<\_ACEOF | 8356 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
12263 | #define BROKEN_SETREGID 1 | ||
12264 | _ACEOF | ||
12265 | 8357 | ||
12266 | cat >>confdefs.h <<\_ACEOF | 8358 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h |
12267 | #define WITH_ABBREV_NO_TTY 1 | ||
12268 | _ACEOF | ||
12269 | 8359 | ||
12270 | cat >>confdefs.h <<\_ACEOF | 8360 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
12271 | #define USE_PIPES 1 | ||
12272 | _ACEOF | ||
12273 | 8361 | ||
12274 | cat >>confdefs.h <<\_ACEOF | 8362 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
12275 | #define DISABLE_FD_PASSING 1 | ||
12276 | _ACEOF | ||
12277 | 8363 | ||
12278 | LDFLAGS="$LDFLAGS" | 8364 | LDFLAGS="$LDFLAGS" |
12279 | LIBS="$LIBS -lgen -lacid -ldb" | 8365 | LIBS="$LIBS -lgen -lacid -ldb" |
12280 | MANTYPE=cat | 8366 | MANTYPE=cat |
12281 | ;; | 8367 | ;; |
12282 | *-*-unicos*) | 8368 | *-*-unicos*) |
12283 | cat >>confdefs.h <<\_ACEOF | 8369 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
12284 | #define SETEUID_BREAKS_SETUID 1 | ||
12285 | _ACEOF | ||
12286 | 8370 | ||
12287 | cat >>confdefs.h <<\_ACEOF | 8371 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
12288 | #define BROKEN_SETREUID 1 | ||
12289 | _ACEOF | ||
12290 | 8372 | ||
12291 | cat >>confdefs.h <<\_ACEOF | 8373 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
12292 | #define BROKEN_SETREGID 1 | ||
12293 | _ACEOF | ||
12294 | 8374 | ||
12295 | cat >>confdefs.h <<\_ACEOF | 8375 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
12296 | #define USE_PIPES 1 | ||
12297 | _ACEOF | ||
12298 | 8376 | ||
12299 | cat >>confdefs.h <<\_ACEOF | 8377 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
12300 | #define DISABLE_FD_PASSING 1 | ||
12301 | _ACEOF | ||
12302 | 8378 | ||
12303 | cat >>confdefs.h <<\_ACEOF | 8379 | $as_echo "#define NO_SSH_LASTLOG 1" >>confdefs.h |
12304 | #define NO_SSH_LASTLOG 1 | ||
12305 | _ACEOF | ||
12306 | 8380 | ||
12307 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" | 8381 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" |
12308 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | 8382 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" |
12309 | MANTYPE=cat | 8383 | MANTYPE=cat |
12310 | ;; | 8384 | ;; |
12311 | *-dec-osf*) | 8385 | *-dec-osf*) |
12312 | { echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 | 8386 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Digital Unix SIA" >&5 |
12313 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6; } | 8387 | $as_echo_n "checking for Digital Unix SIA... " >&6; } |
12314 | no_osfsia="" | 8388 | no_osfsia="" |
12315 | 8389 | ||
12316 | # Check whether --with-osfsia was given. | 8390 | # Check whether --with-osfsia was given. |
12317 | if test "${with_osfsia+set}" = set; then | 8391 | if test "${with_osfsia+set}" = set; then : |
12318 | withval=$with_osfsia; | 8392 | withval=$with_osfsia; |
12319 | if test "x$withval" = "xno" ; then | 8393 | if test "x$withval" = "xno" ; then |
12320 | { echo "$as_me:$LINENO: result: disabled" >&5 | 8394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 |
12321 | echo "${ECHO_T}disabled" >&6; } | 8395 | $as_echo "disabled" >&6; } |
12322 | no_osfsia=1 | 8396 | no_osfsia=1 |
12323 | fi | 8397 | fi |
12324 | 8398 | ||
@@ -12326,85 +8400,55 @@ fi | |||
12326 | 8400 | ||
12327 | if test -z "$no_osfsia" ; then | 8401 | if test -z "$no_osfsia" ; then |
12328 | if test -f /etc/sia/matrix.conf; then | 8402 | if test -f /etc/sia/matrix.conf; then |
12329 | { echo "$as_me:$LINENO: result: yes" >&5 | 8403 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12330 | echo "${ECHO_T}yes" >&6; } | 8404 | $as_echo "yes" >&6; } |
12331 | 8405 | ||
12332 | cat >>confdefs.h <<\_ACEOF | 8406 | $as_echo "#define HAVE_OSF_SIA 1" >>confdefs.h |
12333 | #define HAVE_OSF_SIA 1 | ||
12334 | _ACEOF | ||
12335 | 8407 | ||
12336 | 8408 | ||
12337 | cat >>confdefs.h <<\_ACEOF | 8409 | $as_echo "#define DISABLE_LOGIN 1" >>confdefs.h |
12338 | #define DISABLE_LOGIN 1 | ||
12339 | _ACEOF | ||
12340 | 8410 | ||
12341 | cat >>confdefs.h <<\_ACEOF | 8411 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
12342 | #define DISABLE_FD_PASSING 1 | ||
12343 | _ACEOF | ||
12344 | 8412 | ||
12345 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | 8413 | LIBS="$LIBS -lsecurity -ldb -lm -laud" |
12346 | SIA_MSG="yes" | 8414 | SIA_MSG="yes" |
12347 | else | 8415 | else |
12348 | { echo "$as_me:$LINENO: result: no" >&5 | 8416 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12349 | echo "${ECHO_T}no" >&6; } | 8417 | $as_echo "no" >&6; } |
12350 | 8418 | ||
12351 | cat >>confdefs.h <<\_ACEOF | 8419 | $as_echo "#define LOCKED_PASSWD_SUBSTR \"Nologin\"" >>confdefs.h |
12352 | #define LOCKED_PASSWD_SUBSTR "Nologin" | ||
12353 | _ACEOF | ||
12354 | 8420 | ||
12355 | fi | 8421 | fi |
12356 | fi | 8422 | fi |
12357 | cat >>confdefs.h <<\_ACEOF | 8423 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h |
12358 | #define BROKEN_GETADDRINFO 1 | ||
12359 | _ACEOF | ||
12360 | 8424 | ||
12361 | cat >>confdefs.h <<\_ACEOF | 8425 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h |
12362 | #define SETEUID_BREAKS_SETUID 1 | ||
12363 | _ACEOF | ||
12364 | 8426 | ||
12365 | cat >>confdefs.h <<\_ACEOF | 8427 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h |
12366 | #define BROKEN_SETREUID 1 | ||
12367 | _ACEOF | ||
12368 | 8428 | ||
12369 | cat >>confdefs.h <<\_ACEOF | 8429 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h |
12370 | #define BROKEN_SETREGID 1 | ||
12371 | _ACEOF | ||
12372 | 8430 | ||
12373 | 8431 | ||
12374 | cat >>confdefs.h <<\_ACEOF | 8432 | $as_echo "#define BROKEN_READV_COMPARISON 1" >>confdefs.h |
12375 | #define BROKEN_READV_COMPARISON 1 | ||
12376 | _ACEOF | ||
12377 | 8433 | ||
12378 | ;; | 8434 | ;; |
12379 | 8435 | ||
12380 | *-*-nto-qnx*) | 8436 | *-*-nto-qnx*) |
12381 | cat >>confdefs.h <<\_ACEOF | 8437 | $as_echo "#define USE_PIPES 1" >>confdefs.h |
12382 | #define USE_PIPES 1 | ||
12383 | _ACEOF | ||
12384 | 8438 | ||
12385 | cat >>confdefs.h <<\_ACEOF | 8439 | $as_echo "#define NO_X11_UNIX_SOCKETS 1" >>confdefs.h |
12386 | #define NO_X11_UNIX_SOCKETS 1 | ||
12387 | _ACEOF | ||
12388 | 8440 | ||
12389 | cat >>confdefs.h <<\_ACEOF | 8441 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h |
12390 | #define DISABLE_LASTLOG 1 | ||
12391 | _ACEOF | ||
12392 | 8442 | ||
12393 | cat >>confdefs.h <<\_ACEOF | 8443 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h |
12394 | #define SSHD_ACQUIRES_CTTY 1 | ||
12395 | _ACEOF | ||
12396 | 8444 | ||
12397 | 8445 | ||
12398 | cat >>confdefs.h <<\_ACEOF | 8446 | $as_echo "#define BROKEN_SHADOW_EXPIRE 1" >>confdefs.h |
12399 | #define BROKEN_SHADOW_EXPIRE 1 | ||
12400 | _ACEOF | ||
12401 | 8447 | ||
12402 | enable_etc_default_login=no # has incompatible /etc/default/login | 8448 | enable_etc_default_login=no # has incompatible /etc/default/login |
12403 | case "$host" in | 8449 | case "$host" in |
12404 | *-*-nto-qnx6*) | 8450 | *-*-nto-qnx6*) |
12405 | cat >>confdefs.h <<\_ACEOF | 8451 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h |
12406 | #define DISABLE_FD_PASSING 1 | ||
12407 | _ACEOF | ||
12408 | 8452 | ||
12409 | ;; | 8453 | ;; |
12410 | esac | 8454 | esac |
@@ -12412,48 +8456,31 @@ _ACEOF | |||
12412 | 8456 | ||
12413 | *-*-ultrix*) | 8457 | *-*-ultrix*) |
12414 | 8458 | ||
12415 | cat >>confdefs.h <<\_ACEOF | 8459 | $as_echo "#define BROKEN_GETGROUPS 1" >>confdefs.h |
12416 | #define BROKEN_GETGROUPS 1 | ||
12417 | _ACEOF | ||
12418 | |||
12419 | |||
12420 | cat >>confdefs.h <<\_ACEOF | ||
12421 | #define BROKEN_MMAP 1 | ||
12422 | _ACEOF | ||
12423 | 8460 | ||
12424 | cat >>confdefs.h <<\_ACEOF | 8461 | $as_echo "#define NEED_SETPGRP 1" >>confdefs.h |
12425 | #define NEED_SETPGRP 1 | ||
12426 | _ACEOF | ||
12427 | 8462 | ||
12428 | 8463 | ||
12429 | cat >>confdefs.h <<\_ACEOF | 8464 | $as_echo "#define HAVE_SYS_SYSLOG_H 1" >>confdefs.h |
12430 | #define HAVE_SYS_SYSLOG_H 1 | ||
12431 | _ACEOF | ||
12432 | 8465 | ||
12433 | ;; | 8466 | ;; |
12434 | 8467 | ||
12435 | *-*-lynxos) | 8468 | *-*-lynxos) |
12436 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" | 8469 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" |
12437 | 8470 | ||
12438 | cat >>confdefs.h <<\_ACEOF | 8471 | $as_echo "#define BROKEN_SETVBUF 1" >>confdefs.h |
12439 | #define BROKEN_SETVBUF 1 | ||
12440 | _ACEOF | ||
12441 | 8472 | ||
12442 | ;; | 8473 | ;; |
12443 | esac | 8474 | esac |
12444 | 8475 | ||
12445 | { echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 | 8476 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler and flags for sanity" >&5 |
12446 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6; } | 8477 | $as_echo_n "checking compiler and flags for sanity... " >&6; } |
12447 | if test "$cross_compiling" = yes; then | 8478 | if test "$cross_compiling" = yes; then : |
12448 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5 | 8479 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking compiler sanity" >&5 |
12449 | echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} | 8480 | $as_echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} |
12450 | 8481 | ||
12451 | else | 8482 | else |
12452 | cat >conftest.$ac_ext <<_ACEOF | 8483 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12453 | /* confdefs.h. */ | ||
12454 | _ACEOF | ||
12455 | cat confdefs.h >>conftest.$ac_ext | ||
12456 | cat >>conftest.$ac_ext <<_ACEOF | ||
12457 | /* end confdefs.h. */ | 8484 | /* end confdefs.h. */ |
12458 | #include <stdio.h> | 8485 | #include <stdio.h> |
12459 | int | 8486 | int |
@@ -12464,145 +8491,34 @@ main () | |||
12464 | return 0; | 8491 | return 0; |
12465 | } | 8492 | } |
12466 | _ACEOF | 8493 | _ACEOF |
12467 | rm -f conftest$ac_exeext | 8494 | if ac_fn_c_try_run "$LINENO"; then : |
12468 | if { (ac_try="$ac_link" | 8495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
12469 | case "(($ac_try" in | 8496 | $as_echo "yes" >&6; } |
12470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12471 | *) ac_try_echo=$ac_try;; | ||
12472 | esac | ||
12473 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12474 | (eval "$ac_link") 2>&5 | ||
12475 | ac_status=$? | ||
12476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12477 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
12478 | { (case "(($ac_try" in | ||
12479 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12480 | *) ac_try_echo=$ac_try;; | ||
12481 | esac | ||
12482 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12483 | (eval "$ac_try") 2>&5 | ||
12484 | ac_status=$? | ||
12485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12486 | (exit $ac_status); }; }; then | ||
12487 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
12488 | echo "${ECHO_T}yes" >&6; } | ||
12489 | else | 8497 | else |
12490 | echo "$as_me: program exited with status $ac_status" >&5 | ||
12491 | echo "$as_me: failed program was:" >&5 | ||
12492 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12493 | |||
12494 | ( exit $ac_status ) | ||
12495 | 8498 | ||
12496 | { echo "$as_me:$LINENO: result: no" >&5 | 8499 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
12497 | echo "${ECHO_T}no" >&6; } | 8500 | $as_echo "no" >&6; } |
12498 | { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5 | 8501 | as_fn_error $? "*** compiler cannot create working executables, check config.log ***" "$LINENO" 5 |
12499 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} | ||
12500 | { (exit 1); exit 1; }; } | ||
12501 | 8502 | ||
12502 | fi | 8503 | fi |
12503 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8504 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
8505 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
12504 | fi | 8506 | fi |
12505 | 8507 | ||
12506 | 8508 | ||
12507 | |||
12508 | # Checks for libraries. | 8509 | # Checks for libraries. |
12509 | { echo "$as_me:$LINENO: checking for setsockopt" >&5 | 8510 | ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" |
12510 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } | 8511 | if test "x$ac_cv_func_setsockopt" = xyes; then : |
12511 | if test "${ac_cv_func_setsockopt+set}" = set; then | ||
12512 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12513 | else | ||
12514 | cat >conftest.$ac_ext <<_ACEOF | ||
12515 | /* confdefs.h. */ | ||
12516 | _ACEOF | ||
12517 | cat confdefs.h >>conftest.$ac_ext | ||
12518 | cat >>conftest.$ac_ext <<_ACEOF | ||
12519 | /* end confdefs.h. */ | ||
12520 | /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. | ||
12521 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
12522 | #define setsockopt innocuous_setsockopt | ||
12523 | |||
12524 | /* System header to define __stub macros and hopefully few prototypes, | ||
12525 | which can conflict with char setsockopt (); below. | ||
12526 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
12527 | <limits.h> exists even on freestanding compilers. */ | ||
12528 | |||
12529 | #ifdef __STDC__ | ||
12530 | # include <limits.h> | ||
12531 | #else | ||
12532 | # include <assert.h> | ||
12533 | #endif | ||
12534 | |||
12535 | #undef setsockopt | ||
12536 | |||
12537 | /* Override any GCC internal prototype to avoid an error. | ||
12538 | Use char because int might match the return type of a GCC | ||
12539 | builtin and then its argument prototype would still apply. */ | ||
12540 | #ifdef __cplusplus | ||
12541 | extern "C" | ||
12542 | #endif | ||
12543 | char setsockopt (); | ||
12544 | /* The GNU C library defines this for functions which it implements | ||
12545 | to always fail with ENOSYS. Some functions are actually named | ||
12546 | something starting with __ and the normal name is an alias. */ | ||
12547 | #if defined __stub_setsockopt || defined __stub___setsockopt | ||
12548 | choke me | ||
12549 | #endif | ||
12550 | 8512 | ||
12551 | int | ||
12552 | main () | ||
12553 | { | ||
12554 | return setsockopt (); | ||
12555 | ; | ||
12556 | return 0; | ||
12557 | } | ||
12558 | _ACEOF | ||
12559 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12560 | if { (ac_try="$ac_link" | ||
12561 | case "(($ac_try" in | ||
12562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12563 | *) ac_try_echo=$ac_try;; | ||
12564 | esac | ||
12565 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12566 | (eval "$ac_link") 2>conftest.er1 | ||
12567 | ac_status=$? | ||
12568 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12569 | rm -f conftest.er1 | ||
12570 | cat conftest.err >&5 | ||
12571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12572 | (exit $ac_status); } && { | ||
12573 | test -z "$ac_c_werror_flag" || | ||
12574 | test ! -s conftest.err | ||
12575 | } && test -s conftest$ac_exeext && | ||
12576 | $as_test_x conftest$ac_exeext; then | ||
12577 | ac_cv_func_setsockopt=yes | ||
12578 | else | 8513 | else |
12579 | echo "$as_me: failed program was:" >&5 | 8514 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 |
12580 | sed 's/^/| /' conftest.$ac_ext >&5 | 8515 | $as_echo_n "checking for setsockopt in -lsocket... " >&6; } |
12581 | 8516 | if ${ac_cv_lib_socket_setsockopt+:} false; then : | |
12582 | ac_cv_func_setsockopt=no | 8517 | $as_echo_n "(cached) " >&6 |
12583 | fi | ||
12584 | |||
12585 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12586 | conftest$ac_exeext conftest.$ac_ext | ||
12587 | fi | ||
12588 | { echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | ||
12589 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } | ||
12590 | if test $ac_cv_func_setsockopt = yes; then | ||
12591 | : | ||
12592 | else | ||
12593 | |||
12594 | { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 | ||
12595 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } | ||
12596 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | ||
12597 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12598 | else | 8518 | else |
12599 | ac_check_lib_save_LIBS=$LIBS | 8519 | ac_check_lib_save_LIBS=$LIBS |
12600 | LIBS="-lsocket $LIBS" | 8520 | LIBS="-lsocket $LIBS" |
12601 | cat >conftest.$ac_ext <<_ACEOF | 8521 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12602 | /* confdefs.h. */ | ||
12603 | _ACEOF | ||
12604 | cat confdefs.h >>conftest.$ac_ext | ||
12605 | cat >>conftest.$ac_ext <<_ACEOF | ||
12606 | /* end confdefs.h. */ | 8522 | /* end confdefs.h. */ |
12607 | 8523 | ||
12608 | /* Override any GCC internal prototype to avoid an error. | 8524 | /* Override any GCC internal prototype to avoid an error. |
@@ -12620,39 +8536,18 @@ return setsockopt (); | |||
12620 | return 0; | 8536 | return 0; |
12621 | } | 8537 | } |
12622 | _ACEOF | 8538 | _ACEOF |
12623 | rm -f conftest.$ac_objext conftest$ac_exeext | 8539 | if ac_fn_c_try_link "$LINENO"; then : |
12624 | if { (ac_try="$ac_link" | ||
12625 | case "(($ac_try" in | ||
12626 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12627 | *) ac_try_echo=$ac_try;; | ||
12628 | esac | ||
12629 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12630 | (eval "$ac_link") 2>conftest.er1 | ||
12631 | ac_status=$? | ||
12632 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12633 | rm -f conftest.er1 | ||
12634 | cat conftest.err >&5 | ||
12635 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12636 | (exit $ac_status); } && { | ||
12637 | test -z "$ac_c_werror_flag" || | ||
12638 | test ! -s conftest.err | ||
12639 | } && test -s conftest$ac_exeext && | ||
12640 | $as_test_x conftest$ac_exeext; then | ||
12641 | ac_cv_lib_socket_setsockopt=yes | 8540 | ac_cv_lib_socket_setsockopt=yes |
12642 | else | 8541 | else |
12643 | echo "$as_me: failed program was:" >&5 | 8542 | ac_cv_lib_socket_setsockopt=no |
12644 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12645 | |||
12646 | ac_cv_lib_socket_setsockopt=no | ||
12647 | fi | 8543 | fi |
12648 | 8544 | rm -f core conftest.err conftest.$ac_objext \ | |
12649 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8545 | conftest$ac_exeext conftest.$ac_ext |
12650 | conftest$ac_exeext conftest.$ac_ext | ||
12651 | LIBS=$ac_check_lib_save_LIBS | 8546 | LIBS=$ac_check_lib_save_LIBS |
12652 | fi | 8547 | fi |
12653 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 | 8548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 |
12654 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } | 8549 | $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } |
12655 | if test $ac_cv_lib_socket_setsockopt = yes; then | 8550 | if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : |
12656 | cat >>confdefs.h <<_ACEOF | 8551 | cat >>confdefs.h <<_ACEOF |
12657 | #define HAVE_LIBSOCKET 1 | 8552 | #define HAVE_LIBSOCKET 1 |
12658 | _ACEOF | 8553 | _ACEOF |
@@ -12664,235 +8559,19 @@ fi | |||
12664 | fi | 8559 | fi |
12665 | 8560 | ||
12666 | 8561 | ||
12667 | |||
12668 | for ac_func in dirname | 8562 | for ac_func in dirname |
12669 | do | 8563 | do : |
12670 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8564 | ac_fn_c_check_func "$LINENO" "dirname" "ac_cv_func_dirname" |
12671 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 8565 | if test "x$ac_cv_func_dirname" = xyes; then : |
12672 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
12673 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12674 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12675 | else | ||
12676 | cat >conftest.$ac_ext <<_ACEOF | ||
12677 | /* confdefs.h. */ | ||
12678 | _ACEOF | ||
12679 | cat confdefs.h >>conftest.$ac_ext | ||
12680 | cat >>conftest.$ac_ext <<_ACEOF | ||
12681 | /* end confdefs.h. */ | ||
12682 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
12683 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
12684 | #define $ac_func innocuous_$ac_func | ||
12685 | |||
12686 | /* System header to define __stub macros and hopefully few prototypes, | ||
12687 | which can conflict with char $ac_func (); below. | ||
12688 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
12689 | <limits.h> exists even on freestanding compilers. */ | ||
12690 | |||
12691 | #ifdef __STDC__ | ||
12692 | # include <limits.h> | ||
12693 | #else | ||
12694 | # include <assert.h> | ||
12695 | #endif | ||
12696 | |||
12697 | #undef $ac_func | ||
12698 | |||
12699 | /* Override any GCC internal prototype to avoid an error. | ||
12700 | Use char because int might match the return type of a GCC | ||
12701 | builtin and then its argument prototype would still apply. */ | ||
12702 | #ifdef __cplusplus | ||
12703 | extern "C" | ||
12704 | #endif | ||
12705 | char $ac_func (); | ||
12706 | /* The GNU C library defines this for functions which it implements | ||
12707 | to always fail with ENOSYS. Some functions are actually named | ||
12708 | something starting with __ and the normal name is an alias. */ | ||
12709 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
12710 | choke me | ||
12711 | #endif | ||
12712 | |||
12713 | int | ||
12714 | main () | ||
12715 | { | ||
12716 | return $ac_func (); | ||
12717 | ; | ||
12718 | return 0; | ||
12719 | } | ||
12720 | _ACEOF | ||
12721 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12722 | if { (ac_try="$ac_link" | ||
12723 | case "(($ac_try" in | ||
12724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12725 | *) ac_try_echo=$ac_try;; | ||
12726 | esac | ||
12727 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12728 | (eval "$ac_link") 2>conftest.er1 | ||
12729 | ac_status=$? | ||
12730 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12731 | rm -f conftest.er1 | ||
12732 | cat conftest.err >&5 | ||
12733 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12734 | (exit $ac_status); } && { | ||
12735 | test -z "$ac_c_werror_flag" || | ||
12736 | test ! -s conftest.err | ||
12737 | } && test -s conftest$ac_exeext && | ||
12738 | $as_test_x conftest$ac_exeext; then | ||
12739 | eval "$as_ac_var=yes" | ||
12740 | else | ||
12741 | echo "$as_me: failed program was:" >&5 | ||
12742 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12743 | |||
12744 | eval "$as_ac_var=no" | ||
12745 | fi | ||
12746 | |||
12747 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12748 | conftest$ac_exeext conftest.$ac_ext | ||
12749 | fi | ||
12750 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
12751 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12752 | echo "${ECHO_T}$ac_res" >&6; } | ||
12753 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12754 | cat >>confdefs.h <<_ACEOF | 8566 | cat >>confdefs.h <<_ACEOF |
12755 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8567 | #define HAVE_DIRNAME 1 |
12756 | _ACEOF | ||
12757 | |||
12758 | for ac_header in libgen.h | ||
12759 | do | ||
12760 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
12761 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12762 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
12763 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
12764 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12765 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12766 | fi | ||
12767 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
12768 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12769 | echo "${ECHO_T}$ac_res" >&6; } | ||
12770 | else | ||
12771 | # Is the header compilable? | ||
12772 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
12773 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
12774 | cat >conftest.$ac_ext <<_ACEOF | ||
12775 | /* confdefs.h. */ | ||
12776 | _ACEOF | ||
12777 | cat confdefs.h >>conftest.$ac_ext | ||
12778 | cat >>conftest.$ac_ext <<_ACEOF | ||
12779 | /* end confdefs.h. */ | ||
12780 | $ac_includes_default | ||
12781 | #include <$ac_header> | ||
12782 | _ACEOF | ||
12783 | rm -f conftest.$ac_objext | ||
12784 | if { (ac_try="$ac_compile" | ||
12785 | case "(($ac_try" in | ||
12786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12787 | *) ac_try_echo=$ac_try;; | ||
12788 | esac | ||
12789 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12790 | (eval "$ac_compile") 2>conftest.er1 | ||
12791 | ac_status=$? | ||
12792 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12793 | rm -f conftest.er1 | ||
12794 | cat conftest.err >&5 | ||
12795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12796 | (exit $ac_status); } && { | ||
12797 | test -z "$ac_c_werror_flag" || | ||
12798 | test ! -s conftest.err | ||
12799 | } && test -s conftest.$ac_objext; then | ||
12800 | ac_header_compiler=yes | ||
12801 | else | ||
12802 | echo "$as_me: failed program was:" >&5 | ||
12803 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12804 | |||
12805 | ac_header_compiler=no | ||
12806 | fi | ||
12807 | |||
12808 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12809 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
12810 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
12811 | |||
12812 | # Is the header present? | ||
12813 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
12814 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
12815 | cat >conftest.$ac_ext <<_ACEOF | ||
12816 | /* confdefs.h. */ | ||
12817 | _ACEOF | ||
12818 | cat confdefs.h >>conftest.$ac_ext | ||
12819 | cat >>conftest.$ac_ext <<_ACEOF | ||
12820 | /* end confdefs.h. */ | ||
12821 | #include <$ac_header> | ||
12822 | _ACEOF | 8568 | _ACEOF |
12823 | if { (ac_try="$ac_cpp conftest.$ac_ext" | 8569 | for ac_header in libgen.h |
12824 | case "(($ac_try" in | 8570 | do : |
12825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 8571 | ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" |
12826 | *) ac_try_echo=$ac_try;; | 8572 | if test "x$ac_cv_header_libgen_h" = xyes; then : |
12827 | esac | ||
12828 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12829 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
12830 | ac_status=$? | ||
12831 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12832 | rm -f conftest.er1 | ||
12833 | cat conftest.err >&5 | ||
12834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12835 | (exit $ac_status); } >/dev/null && { | ||
12836 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
12837 | test ! -s conftest.err | ||
12838 | }; then | ||
12839 | ac_header_preproc=yes | ||
12840 | else | ||
12841 | echo "$as_me: failed program was:" >&5 | ||
12842 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12843 | |||
12844 | ac_header_preproc=no | ||
12845 | fi | ||
12846 | |||
12847 | rm -f conftest.err conftest.$ac_ext | ||
12848 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
12849 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
12850 | |||
12851 | # So? What about this header? | ||
12852 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
12853 | yes:no: ) | ||
12854 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
12855 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
12856 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
12857 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
12858 | ac_header_preproc=yes | ||
12859 | ;; | ||
12860 | no:yes:* ) | ||
12861 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
12862 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
12863 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
12864 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
12865 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
12866 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
12867 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
12868 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
12869 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
12870 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
12871 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
12872 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
12873 | ( cat <<\_ASBOX | ||
12874 | ## ------------------------------------------- ## | ||
12875 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
12876 | ## ------------------------------------------- ## | ||
12877 | _ASBOX | ||
12878 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
12879 | ;; | ||
12880 | esac | ||
12881 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
12882 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
12883 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12884 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12885 | else | ||
12886 | eval "$as_ac_Header=\$ac_header_preproc" | ||
12887 | fi | ||
12888 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
12889 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12890 | echo "${ECHO_T}$ac_res" >&6; } | ||
12891 | |||
12892 | fi | ||
12893 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
12894 | cat >>confdefs.h <<_ACEOF | 8573 | cat >>confdefs.h <<_ACEOF |
12895 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8574 | #define HAVE_LIBGEN_H 1 |
12896 | _ACEOF | 8575 | _ACEOF |
12897 | 8576 | ||
12898 | fi | 8577 | fi |
@@ -12901,18 +8580,14 @@ done | |||
12901 | 8580 | ||
12902 | else | 8581 | else |
12903 | 8582 | ||
12904 | { echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 | 8583 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirname in -lgen" >&5 |
12905 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6; } | 8584 | $as_echo_n "checking for dirname in -lgen... " >&6; } |
12906 | if test "${ac_cv_lib_gen_dirname+set}" = set; then | 8585 | if ${ac_cv_lib_gen_dirname+:} false; then : |
12907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8586 | $as_echo_n "(cached) " >&6 |
12908 | else | 8587 | else |
12909 | ac_check_lib_save_LIBS=$LIBS | 8588 | ac_check_lib_save_LIBS=$LIBS |
12910 | LIBS="-lgen $LIBS" | 8589 | LIBS="-lgen $LIBS" |
12911 | cat >conftest.$ac_ext <<_ACEOF | 8590 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12912 | /* confdefs.h. */ | ||
12913 | _ACEOF | ||
12914 | cat confdefs.h >>conftest.$ac_ext | ||
12915 | cat >>conftest.$ac_ext <<_ACEOF | ||
12916 | /* end confdefs.h. */ | 8591 | /* end confdefs.h. */ |
12917 | 8592 | ||
12918 | /* Override any GCC internal prototype to avoid an error. | 8593 | /* Override any GCC internal prototype to avoid an error. |
@@ -12930,56 +8605,31 @@ return dirname (); | |||
12930 | return 0; | 8605 | return 0; |
12931 | } | 8606 | } |
12932 | _ACEOF | 8607 | _ACEOF |
12933 | rm -f conftest.$ac_objext conftest$ac_exeext | 8608 | if ac_fn_c_try_link "$LINENO"; then : |
12934 | if { (ac_try="$ac_link" | ||
12935 | case "(($ac_try" in | ||
12936 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12937 | *) ac_try_echo=$ac_try;; | ||
12938 | esac | ||
12939 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12940 | (eval "$ac_link") 2>conftest.er1 | ||
12941 | ac_status=$? | ||
12942 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12943 | rm -f conftest.er1 | ||
12944 | cat conftest.err >&5 | ||
12945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12946 | (exit $ac_status); } && { | ||
12947 | test -z "$ac_c_werror_flag" || | ||
12948 | test ! -s conftest.err | ||
12949 | } && test -s conftest$ac_exeext && | ||
12950 | $as_test_x conftest$ac_exeext; then | ||
12951 | ac_cv_lib_gen_dirname=yes | 8609 | ac_cv_lib_gen_dirname=yes |
12952 | else | 8610 | else |
12953 | echo "$as_me: failed program was:" >&5 | 8611 | ac_cv_lib_gen_dirname=no |
12954 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12955 | |||
12956 | ac_cv_lib_gen_dirname=no | ||
12957 | fi | 8612 | fi |
12958 | 8613 | rm -f core conftest.err conftest.$ac_objext \ | |
12959 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8614 | conftest$ac_exeext conftest.$ac_ext |
12960 | conftest$ac_exeext conftest.$ac_ext | ||
12961 | LIBS=$ac_check_lib_save_LIBS | 8615 | LIBS=$ac_check_lib_save_LIBS |
12962 | fi | 8616 | fi |
12963 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 | 8617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_dirname" >&5 |
12964 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6; } | 8618 | $as_echo "$ac_cv_lib_gen_dirname" >&6; } |
12965 | if test $ac_cv_lib_gen_dirname = yes; then | 8619 | if test "x$ac_cv_lib_gen_dirname" = xyes; then : |
12966 | 8620 | ||
12967 | { echo "$as_me:$LINENO: checking for broken dirname" >&5 | 8621 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken dirname" >&5 |
12968 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6; } | 8622 | $as_echo_n "checking for broken dirname... " >&6; } |
12969 | if test "${ac_cv_have_broken_dirname+set}" = set; then | 8623 | if ${ac_cv_have_broken_dirname+:} false; then : |
12970 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8624 | $as_echo_n "(cached) " >&6 |
12971 | else | 8625 | else |
12972 | 8626 | ||
12973 | save_LIBS="$LIBS" | 8627 | save_LIBS="$LIBS" |
12974 | LIBS="$LIBS -lgen" | 8628 | LIBS="$LIBS -lgen" |
12975 | if test "$cross_compiling" = yes; then | 8629 | if test "$cross_compiling" = yes; then : |
12976 | ac_cv_have_broken_dirname="no" | 8630 | ac_cv_have_broken_dirname="no" |
12977 | else | 8631 | else |
12978 | cat >conftest.$ac_ext <<_ACEOF | 8632 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12979 | /* confdefs.h. */ | ||
12980 | _ACEOF | ||
12981 | cat confdefs.h >>conftest.$ac_ext | ||
12982 | cat >>conftest.$ac_ext <<_ACEOF | ||
12983 | /* end confdefs.h. */ | 8633 | /* end confdefs.h. */ |
12984 | 8634 | ||
12985 | #include <libgen.h> | 8635 | #include <libgen.h> |
@@ -12998,189 +8648,30 @@ int main(int argc, char **argv) { | |||
12998 | } | 8648 | } |
12999 | 8649 | ||
13000 | _ACEOF | 8650 | _ACEOF |
13001 | rm -f conftest$ac_exeext | 8651 | if ac_fn_c_try_run "$LINENO"; then : |
13002 | if { (ac_try="$ac_link" | ||
13003 | case "(($ac_try" in | ||
13004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13005 | *) ac_try_echo=$ac_try;; | ||
13006 | esac | ||
13007 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13008 | (eval "$ac_link") 2>&5 | ||
13009 | ac_status=$? | ||
13010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13011 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
13012 | { (case "(($ac_try" in | ||
13013 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13014 | *) ac_try_echo=$ac_try;; | ||
13015 | esac | ||
13016 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13017 | (eval "$ac_try") 2>&5 | ||
13018 | ac_status=$? | ||
13019 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13020 | (exit $ac_status); }; }; then | ||
13021 | ac_cv_have_broken_dirname="no" | 8652 | ac_cv_have_broken_dirname="no" |
13022 | else | 8653 | else |
13023 | echo "$as_me: program exited with status $ac_status" >&5 | 8654 | ac_cv_have_broken_dirname="yes" |
13024 | echo "$as_me: failed program was:" >&5 | ||
13025 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13026 | |||
13027 | ( exit $ac_status ) | ||
13028 | ac_cv_have_broken_dirname="yes" | ||
13029 | fi | 8655 | fi |
13030 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8656 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
8657 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
13031 | fi | 8658 | fi |
13032 | 8659 | ||
13033 | |||
13034 | LIBS="$save_LIBS" | 8660 | LIBS="$save_LIBS" |
13035 | 8661 | ||
13036 | fi | 8662 | fi |
13037 | { echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 | 8663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_broken_dirname" >&5 |
13038 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6; } | 8664 | $as_echo "$ac_cv_have_broken_dirname" >&6; } |
13039 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | 8665 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then |
13040 | LIBS="$LIBS -lgen" | 8666 | LIBS="$LIBS -lgen" |
13041 | cat >>confdefs.h <<\_ACEOF | 8667 | $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h |
13042 | #define HAVE_DIRNAME 1 | ||
13043 | _ACEOF | ||
13044 | |||
13045 | |||
13046 | for ac_header in libgen.h | ||
13047 | do | ||
13048 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
13049 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
13050 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
13051 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
13052 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
13053 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13054 | fi | ||
13055 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
13056 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
13057 | echo "${ECHO_T}$ac_res" >&6; } | ||
13058 | else | ||
13059 | # Is the header compilable? | ||
13060 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
13061 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
13062 | cat >conftest.$ac_ext <<_ACEOF | ||
13063 | /* confdefs.h. */ | ||
13064 | _ACEOF | ||
13065 | cat confdefs.h >>conftest.$ac_ext | ||
13066 | cat >>conftest.$ac_ext <<_ACEOF | ||
13067 | /* end confdefs.h. */ | ||
13068 | $ac_includes_default | ||
13069 | #include <$ac_header> | ||
13070 | _ACEOF | ||
13071 | rm -f conftest.$ac_objext | ||
13072 | if { (ac_try="$ac_compile" | ||
13073 | case "(($ac_try" in | ||
13074 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13075 | *) ac_try_echo=$ac_try;; | ||
13076 | esac | ||
13077 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13078 | (eval "$ac_compile") 2>conftest.er1 | ||
13079 | ac_status=$? | ||
13080 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13081 | rm -f conftest.er1 | ||
13082 | cat conftest.err >&5 | ||
13083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13084 | (exit $ac_status); } && { | ||
13085 | test -z "$ac_c_werror_flag" || | ||
13086 | test ! -s conftest.err | ||
13087 | } && test -s conftest.$ac_objext; then | ||
13088 | ac_header_compiler=yes | ||
13089 | else | ||
13090 | echo "$as_me: failed program was:" >&5 | ||
13091 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13092 | 8668 | ||
13093 | ac_header_compiler=no | 8669 | for ac_header in libgen.h |
13094 | fi | 8670 | do : |
13095 | 8671 | ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" | |
13096 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8672 | if test "x$ac_cv_header_libgen_h" = xyes; then : |
13097 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
13098 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
13099 | |||
13100 | # Is the header present? | ||
13101 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
13102 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
13103 | cat >conftest.$ac_ext <<_ACEOF | ||
13104 | /* confdefs.h. */ | ||
13105 | _ACEOF | ||
13106 | cat confdefs.h >>conftest.$ac_ext | ||
13107 | cat >>conftest.$ac_ext <<_ACEOF | ||
13108 | /* end confdefs.h. */ | ||
13109 | #include <$ac_header> | ||
13110 | _ACEOF | ||
13111 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
13112 | case "(($ac_try" in | ||
13113 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13114 | *) ac_try_echo=$ac_try;; | ||
13115 | esac | ||
13116 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13117 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
13118 | ac_status=$? | ||
13119 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13120 | rm -f conftest.er1 | ||
13121 | cat conftest.err >&5 | ||
13122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13123 | (exit $ac_status); } >/dev/null && { | ||
13124 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
13125 | test ! -s conftest.err | ||
13126 | }; then | ||
13127 | ac_header_preproc=yes | ||
13128 | else | ||
13129 | echo "$as_me: failed program was:" >&5 | ||
13130 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13131 | |||
13132 | ac_header_preproc=no | ||
13133 | fi | ||
13134 | |||
13135 | rm -f conftest.err conftest.$ac_ext | ||
13136 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
13137 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
13138 | |||
13139 | # So? What about this header? | ||
13140 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
13141 | yes:no: ) | ||
13142 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
13143 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
13144 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
13145 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
13146 | ac_header_preproc=yes | ||
13147 | ;; | ||
13148 | no:yes:* ) | ||
13149 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
13150 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
13151 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
13152 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
13153 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
13154 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
13155 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
13156 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
13157 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
13158 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
13159 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
13160 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
13161 | ( cat <<\_ASBOX | ||
13162 | ## ------------------------------------------- ## | ||
13163 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
13164 | ## ------------------------------------------- ## | ||
13165 | _ASBOX | ||
13166 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
13167 | ;; | ||
13168 | esac | ||
13169 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
13170 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
13171 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
13172 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13173 | else | ||
13174 | eval "$as_ac_Header=\$ac_header_preproc" | ||
13175 | fi | ||
13176 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
13177 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
13178 | echo "${ECHO_T}$ac_res" >&6; } | ||
13179 | |||
13180 | fi | ||
13181 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
13182 | cat >>confdefs.h <<_ACEOF | 8673 | cat >>confdefs.h <<_ACEOF |
13183 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8674 | #define HAVE_LIBGEN_H 1 |
13184 | _ACEOF | 8675 | _ACEOF |
13185 | 8676 | ||
13186 | fi | 8677 | fi |
@@ -13196,102 +8687,18 @@ fi | |||
13196 | done | 8687 | done |
13197 | 8688 | ||
13198 | 8689 | ||
13199 | { echo "$as_me:$LINENO: checking for getspnam" >&5 | 8690 | ac_fn_c_check_func "$LINENO" "getspnam" "ac_cv_func_getspnam" |
13200 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; } | 8691 | if test "x$ac_cv_func_getspnam" = xyes; then : |
13201 | if test "${ac_cv_func_getspnam+set}" = set; then | ||
13202 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13203 | else | ||
13204 | cat >conftest.$ac_ext <<_ACEOF | ||
13205 | /* confdefs.h. */ | ||
13206 | _ACEOF | ||
13207 | cat confdefs.h >>conftest.$ac_ext | ||
13208 | cat >>conftest.$ac_ext <<_ACEOF | ||
13209 | /* end confdefs.h. */ | ||
13210 | /* Define getspnam to an innocuous variant, in case <limits.h> declares getspnam. | ||
13211 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
13212 | #define getspnam innocuous_getspnam | ||
13213 | |||
13214 | /* System header to define __stub macros and hopefully few prototypes, | ||
13215 | which can conflict with char getspnam (); below. | ||
13216 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
13217 | <limits.h> exists even on freestanding compilers. */ | ||
13218 | |||
13219 | #ifdef __STDC__ | ||
13220 | # include <limits.h> | ||
13221 | #else | ||
13222 | # include <assert.h> | ||
13223 | #endif | ||
13224 | |||
13225 | #undef getspnam | ||
13226 | |||
13227 | /* Override any GCC internal prototype to avoid an error. | ||
13228 | Use char because int might match the return type of a GCC | ||
13229 | builtin and then its argument prototype would still apply. */ | ||
13230 | #ifdef __cplusplus | ||
13231 | extern "C" | ||
13232 | #endif | ||
13233 | char getspnam (); | ||
13234 | /* The GNU C library defines this for functions which it implements | ||
13235 | to always fail with ENOSYS. Some functions are actually named | ||
13236 | something starting with __ and the normal name is an alias. */ | ||
13237 | #if defined __stub_getspnam || defined __stub___getspnam | ||
13238 | choke me | ||
13239 | #endif | ||
13240 | 8692 | ||
13241 | int | ||
13242 | main () | ||
13243 | { | ||
13244 | return getspnam (); | ||
13245 | ; | ||
13246 | return 0; | ||
13247 | } | ||
13248 | _ACEOF | ||
13249 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
13250 | if { (ac_try="$ac_link" | ||
13251 | case "(($ac_try" in | ||
13252 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13253 | *) ac_try_echo=$ac_try;; | ||
13254 | esac | ||
13255 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13256 | (eval "$ac_link") 2>conftest.er1 | ||
13257 | ac_status=$? | ||
13258 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13259 | rm -f conftest.er1 | ||
13260 | cat conftest.err >&5 | ||
13261 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13262 | (exit $ac_status); } && { | ||
13263 | test -z "$ac_c_werror_flag" || | ||
13264 | test ! -s conftest.err | ||
13265 | } && test -s conftest$ac_exeext && | ||
13266 | $as_test_x conftest$ac_exeext; then | ||
13267 | ac_cv_func_getspnam=yes | ||
13268 | else | 8693 | else |
13269 | echo "$as_me: failed program was:" >&5 | 8694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspnam in -lgen" >&5 |
13270 | sed 's/^/| /' conftest.$ac_ext >&5 | 8695 | $as_echo_n "checking for getspnam in -lgen... " >&6; } |
13271 | 8696 | if ${ac_cv_lib_gen_getspnam+:} false; then : | |
13272 | ac_cv_func_getspnam=no | 8697 | $as_echo_n "(cached) " >&6 |
13273 | fi | ||
13274 | |||
13275 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13276 | conftest$ac_exeext conftest.$ac_ext | ||
13277 | fi | ||
13278 | { echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | ||
13279 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6; } | ||
13280 | if test $ac_cv_func_getspnam = yes; then | ||
13281 | : | ||
13282 | else | ||
13283 | { echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | ||
13284 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6; } | ||
13285 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | ||
13286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13287 | else | 8698 | else |
13288 | ac_check_lib_save_LIBS=$LIBS | 8699 | ac_check_lib_save_LIBS=$LIBS |
13289 | LIBS="-lgen $LIBS" | 8700 | LIBS="-lgen $LIBS" |
13290 | cat >conftest.$ac_ext <<_ACEOF | 8701 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13291 | /* confdefs.h. */ | ||
13292 | _ACEOF | ||
13293 | cat confdefs.h >>conftest.$ac_ext | ||
13294 | cat >>conftest.$ac_ext <<_ACEOF | ||
13295 | /* end confdefs.h. */ | 8702 | /* end confdefs.h. */ |
13296 | 8703 | ||
13297 | /* Override any GCC internal prototype to avoid an error. | 8704 | /* Override any GCC internal prototype to avoid an error. |
@@ -13309,55 +8716,30 @@ return getspnam (); | |||
13309 | return 0; | 8716 | return 0; |
13310 | } | 8717 | } |
13311 | _ACEOF | 8718 | _ACEOF |
13312 | rm -f conftest.$ac_objext conftest$ac_exeext | 8719 | if ac_fn_c_try_link "$LINENO"; then : |
13313 | if { (ac_try="$ac_link" | ||
13314 | case "(($ac_try" in | ||
13315 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13316 | *) ac_try_echo=$ac_try;; | ||
13317 | esac | ||
13318 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13319 | (eval "$ac_link") 2>conftest.er1 | ||
13320 | ac_status=$? | ||
13321 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13322 | rm -f conftest.er1 | ||
13323 | cat conftest.err >&5 | ||
13324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13325 | (exit $ac_status); } && { | ||
13326 | test -z "$ac_c_werror_flag" || | ||
13327 | test ! -s conftest.err | ||
13328 | } && test -s conftest$ac_exeext && | ||
13329 | $as_test_x conftest$ac_exeext; then | ||
13330 | ac_cv_lib_gen_getspnam=yes | 8720 | ac_cv_lib_gen_getspnam=yes |
13331 | else | 8721 | else |
13332 | echo "$as_me: failed program was:" >&5 | 8722 | ac_cv_lib_gen_getspnam=no |
13333 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13334 | |||
13335 | ac_cv_lib_gen_getspnam=no | ||
13336 | fi | 8723 | fi |
13337 | 8724 | rm -f core conftest.err conftest.$ac_objext \ | |
13338 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8725 | conftest$ac_exeext conftest.$ac_ext |
13339 | conftest$ac_exeext conftest.$ac_ext | ||
13340 | LIBS=$ac_check_lib_save_LIBS | 8726 | LIBS=$ac_check_lib_save_LIBS |
13341 | fi | 8727 | fi |
13342 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 | 8728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_getspnam" >&5 |
13343 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6; } | 8729 | $as_echo "$ac_cv_lib_gen_getspnam" >&6; } |
13344 | if test $ac_cv_lib_gen_getspnam = yes; then | 8730 | if test "x$ac_cv_lib_gen_getspnam" = xyes; then : |
13345 | LIBS="$LIBS -lgen" | 8731 | LIBS="$LIBS -lgen" |
13346 | fi | 8732 | fi |
13347 | 8733 | ||
13348 | fi | 8734 | fi |
13349 | 8735 | ||
13350 | { echo "$as_me:$LINENO: checking for library containing basename" >&5 | 8736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing basename" >&5 |
13351 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; } | 8737 | $as_echo_n "checking for library containing basename... " >&6; } |
13352 | if test "${ac_cv_search_basename+set}" = set; then | 8738 | if ${ac_cv_search_basename+:} false; then : |
13353 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 8739 | $as_echo_n "(cached) " >&6 |
13354 | else | 8740 | else |
13355 | ac_func_search_save_LIBS=$LIBS | 8741 | ac_func_search_save_LIBS=$LIBS |
13356 | cat >conftest.$ac_ext <<_ACEOF | 8742 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13357 | /* confdefs.h. */ | ||
13358 | _ACEOF | ||
13359 | cat confdefs.h >>conftest.$ac_ext | ||
13360 | cat >>conftest.$ac_ext <<_ACEOF | ||
13361 | /* end confdefs.h. */ | 8743 | /* end confdefs.h. */ |
13362 | 8744 | ||
13363 | /* Override any GCC internal prototype to avoid an error. | 8745 | /* Override any GCC internal prototype to avoid an error. |
@@ -13382,66 +8764,39 @@ for ac_lib in '' gen; do | |||
13382 | ac_res=-l$ac_lib | 8764 | ac_res=-l$ac_lib |
13383 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 8765 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
13384 | fi | 8766 | fi |
13385 | rm -f conftest.$ac_objext conftest$ac_exeext | 8767 | if ac_fn_c_try_link "$LINENO"; then : |
13386 | if { (ac_try="$ac_link" | ||
13387 | case "(($ac_try" in | ||
13388 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13389 | *) ac_try_echo=$ac_try;; | ||
13390 | esac | ||
13391 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13392 | (eval "$ac_link") 2>conftest.er1 | ||
13393 | ac_status=$? | ||
13394 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13395 | rm -f conftest.er1 | ||
13396 | cat conftest.err >&5 | ||
13397 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13398 | (exit $ac_status); } && { | ||
13399 | test -z "$ac_c_werror_flag" || | ||
13400 | test ! -s conftest.err | ||
13401 | } && test -s conftest$ac_exeext && | ||
13402 | $as_test_x conftest$ac_exeext; then | ||
13403 | ac_cv_search_basename=$ac_res | 8768 | ac_cv_search_basename=$ac_res |
13404 | else | ||
13405 | echo "$as_me: failed program was:" >&5 | ||
13406 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13407 | |||
13408 | |||
13409 | fi | 8769 | fi |
13410 | 8770 | rm -f core conftest.err conftest.$ac_objext \ | |
13411 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8771 | conftest$ac_exeext |
13412 | conftest$ac_exeext | 8772 | if ${ac_cv_search_basename+:} false; then : |
13413 | if test "${ac_cv_search_basename+set}" = set; then | ||
13414 | break | 8773 | break |
13415 | fi | 8774 | fi |
13416 | done | 8775 | done |
13417 | if test "${ac_cv_search_basename+set}" = set; then | 8776 | if ${ac_cv_search_basename+:} false; then : |
13418 | : | 8777 | |
13419 | else | 8778 | else |
13420 | ac_cv_search_basename=no | 8779 | ac_cv_search_basename=no |
13421 | fi | 8780 | fi |
13422 | rm conftest.$ac_ext | 8781 | rm conftest.$ac_ext |
13423 | LIBS=$ac_func_search_save_LIBS | 8782 | LIBS=$ac_func_search_save_LIBS |
13424 | fi | 8783 | fi |
13425 | { echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 | 8784 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_basename" >&5 |
13426 | echo "${ECHO_T}$ac_cv_search_basename" >&6; } | 8785 | $as_echo "$ac_cv_search_basename" >&6; } |
13427 | ac_res=$ac_cv_search_basename | 8786 | ac_res=$ac_cv_search_basename |
13428 | if test "$ac_res" != no; then | 8787 | if test "$ac_res" != no; then : |
13429 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 8788 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
13430 | 8789 | ||
13431 | cat >>confdefs.h <<\_ACEOF | 8790 | $as_echo "#define HAVE_BASENAME 1" >>confdefs.h |
13432 | #define HAVE_BASENAME 1 | ||
13433 | _ACEOF | ||
13434 | 8791 | ||
13435 | fi | 8792 | fi |
13436 | 8793 | ||
13437 | 8794 | ||
13438 | 8795 | ||
13439 | # Check whether --with-zlib was given. | 8796 | # Check whether --with-zlib was given. |
13440 | if test "${with_zlib+set}" = set; then | 8797 | if test "${with_zlib+set}" = set; then : |
13441 | withval=$with_zlib; if test "x$withval" = "xno" ; then | 8798 | withval=$with_zlib; if test "x$withval" = "xno" ; then |
13442 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 | 8799 | as_fn_error $? "*** zlib is required ***" "$LINENO" 5 |
13443 | echo "$as_me: error: *** zlib is required ***" >&2;} | ||
13444 | { (exit 1); exit 1; }; } | ||
13445 | elif test "x$withval" != "xyes"; then | 8800 | elif test "x$withval" != "xyes"; then |
13446 | if test -d "$withval/lib"; then | 8801 | if test -d "$withval/lib"; then |
13447 | if test -n "${need_dash_r}"; then | 8802 | if test -n "${need_dash_r}"; then |
@@ -13466,158 +8821,22 @@ echo "$as_me: error: *** zlib is required ***" >&2;} | |||
13466 | fi | 8821 | fi |
13467 | 8822 | ||
13468 | 8823 | ||
13469 | if test "${ac_cv_header_zlib_h+set}" = set; then | 8824 | ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" |
13470 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 | 8825 | if test "x$ac_cv_header_zlib_h" = xyes; then : |
13471 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } | ||
13472 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
13473 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13474 | fi | ||
13475 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
13476 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } | ||
13477 | else | ||
13478 | # Is the header compilable? | ||
13479 | { echo "$as_me:$LINENO: checking zlib.h usability" >&5 | ||
13480 | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } | ||
13481 | cat >conftest.$ac_ext <<_ACEOF | ||
13482 | /* confdefs.h. */ | ||
13483 | _ACEOF | ||
13484 | cat confdefs.h >>conftest.$ac_ext | ||
13485 | cat >>conftest.$ac_ext <<_ACEOF | ||
13486 | /* end confdefs.h. */ | ||
13487 | $ac_includes_default | ||
13488 | #include <zlib.h> | ||
13489 | _ACEOF | ||
13490 | rm -f conftest.$ac_objext | ||
13491 | if { (ac_try="$ac_compile" | ||
13492 | case "(($ac_try" in | ||
13493 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13494 | *) ac_try_echo=$ac_try;; | ||
13495 | esac | ||
13496 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13497 | (eval "$ac_compile") 2>conftest.er1 | ||
13498 | ac_status=$? | ||
13499 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13500 | rm -f conftest.er1 | ||
13501 | cat conftest.err >&5 | ||
13502 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13503 | (exit $ac_status); } && { | ||
13504 | test -z "$ac_c_werror_flag" || | ||
13505 | test ! -s conftest.err | ||
13506 | } && test -s conftest.$ac_objext; then | ||
13507 | ac_header_compiler=yes | ||
13508 | else | ||
13509 | echo "$as_me: failed program was:" >&5 | ||
13510 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13511 | |||
13512 | ac_header_compiler=no | ||
13513 | fi | ||
13514 | |||
13515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13516 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
13517 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
13518 | 8826 | ||
13519 | # Is the header present? | ||
13520 | { echo "$as_me:$LINENO: checking zlib.h presence" >&5 | ||
13521 | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } | ||
13522 | cat >conftest.$ac_ext <<_ACEOF | ||
13523 | /* confdefs.h. */ | ||
13524 | _ACEOF | ||
13525 | cat confdefs.h >>conftest.$ac_ext | ||
13526 | cat >>conftest.$ac_ext <<_ACEOF | ||
13527 | /* end confdefs.h. */ | ||
13528 | #include <zlib.h> | ||
13529 | _ACEOF | ||
13530 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
13531 | case "(($ac_try" in | ||
13532 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13533 | *) ac_try_echo=$ac_try;; | ||
13534 | esac | ||
13535 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13536 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
13537 | ac_status=$? | ||
13538 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13539 | rm -f conftest.er1 | ||
13540 | cat conftest.err >&5 | ||
13541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13542 | (exit $ac_status); } >/dev/null && { | ||
13543 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
13544 | test ! -s conftest.err | ||
13545 | }; then | ||
13546 | ac_header_preproc=yes | ||
13547 | else | 8827 | else |
13548 | echo "$as_me: failed program was:" >&5 | 8828 | as_fn_error $? "*** zlib.h missing - please install first or check config.log ***" "$LINENO" 5 |
13549 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13550 | |||
13551 | ac_header_preproc=no | ||
13552 | fi | 8829 | fi |
13553 | 8830 | ||
13554 | rm -f conftest.err conftest.$ac_ext | ||
13555 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
13556 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
13557 | |||
13558 | # So? What about this header? | ||
13559 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
13560 | yes:no: ) | ||
13561 | { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
13562 | echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
13563 | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 | ||
13564 | echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} | ||
13565 | ac_header_preproc=yes | ||
13566 | ;; | ||
13567 | no:yes:* ) | ||
13568 | { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 | ||
13569 | echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} | ||
13570 | { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 | ||
13571 | echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} | ||
13572 | { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 | ||
13573 | echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} | ||
13574 | { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
13575 | echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
13576 | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 | ||
13577 | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | ||
13578 | { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 | ||
13579 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | ||
13580 | ( cat <<\_ASBOX | ||
13581 | ## ------------------------------------------- ## | ||
13582 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
13583 | ## ------------------------------------------- ## | ||
13584 | _ASBOX | ||
13585 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
13586 | ;; | ||
13587 | esac | ||
13588 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 | ||
13589 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } | ||
13590 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
13591 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13592 | else | ||
13593 | ac_cv_header_zlib_h=$ac_header_preproc | ||
13594 | fi | ||
13595 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
13596 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } | ||
13597 | 8831 | ||
13598 | fi | 8832 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 |
13599 | if test $ac_cv_header_zlib_h = yes; then | 8833 | $as_echo_n "checking for deflate in -lz... " >&6; } |
13600 | : | 8834 | if ${ac_cv_lib_z_deflate+:} false; then : |
13601 | else | 8835 | $as_echo_n "(cached) " >&6 |
13602 | { { echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5 | ||
13603 | echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;} | ||
13604 | { (exit 1); exit 1; }; } | ||
13605 | fi | ||
13606 | |||
13607 | |||
13608 | |||
13609 | { echo "$as_me:$LINENO: checking for deflate in -lz" >&5 | ||
13610 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; } | ||
13611 | if test "${ac_cv_lib_z_deflate+set}" = set; then | ||
13612 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13613 | else | 8836 | else |
13614 | ac_check_lib_save_LIBS=$LIBS | 8837 | ac_check_lib_save_LIBS=$LIBS |
13615 | LIBS="-lz $LIBS" | 8838 | LIBS="-lz $LIBS" |
13616 | cat >conftest.$ac_ext <<_ACEOF | 8839 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13617 | /* confdefs.h. */ | ||
13618 | _ACEOF | ||
13619 | cat confdefs.h >>conftest.$ac_ext | ||
13620 | cat >>conftest.$ac_ext <<_ACEOF | ||
13621 | /* end confdefs.h. */ | 8840 | /* end confdefs.h. */ |
13622 | 8841 | ||
13623 | /* Override any GCC internal prototype to avoid an error. | 8842 | /* Override any GCC internal prototype to avoid an error. |
@@ -13635,39 +8854,18 @@ return deflate (); | |||
13635 | return 0; | 8854 | return 0; |
13636 | } | 8855 | } |
13637 | _ACEOF | 8856 | _ACEOF |
13638 | rm -f conftest.$ac_objext conftest$ac_exeext | 8857 | if ac_fn_c_try_link "$LINENO"; then : |
13639 | if { (ac_try="$ac_link" | ||
13640 | case "(($ac_try" in | ||
13641 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13642 | *) ac_try_echo=$ac_try;; | ||
13643 | esac | ||
13644 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13645 | (eval "$ac_link") 2>conftest.er1 | ||
13646 | ac_status=$? | ||
13647 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13648 | rm -f conftest.er1 | ||
13649 | cat conftest.err >&5 | ||
13650 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13651 | (exit $ac_status); } && { | ||
13652 | test -z "$ac_c_werror_flag" || | ||
13653 | test ! -s conftest.err | ||
13654 | } && test -s conftest$ac_exeext && | ||
13655 | $as_test_x conftest$ac_exeext; then | ||
13656 | ac_cv_lib_z_deflate=yes | 8858 | ac_cv_lib_z_deflate=yes |
13657 | else | 8859 | else |
13658 | echo "$as_me: failed program was:" >&5 | 8860 | ac_cv_lib_z_deflate=no |
13659 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13660 | |||
13661 | ac_cv_lib_z_deflate=no | ||
13662 | fi | 8861 | fi |
13663 | 8862 | rm -f core conftest.err conftest.$ac_objext \ | |
13664 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8863 | conftest$ac_exeext conftest.$ac_ext |
13665 | conftest$ac_exeext conftest.$ac_ext | ||
13666 | LIBS=$ac_check_lib_save_LIBS | 8864 | LIBS=$ac_check_lib_save_LIBS |
13667 | fi | 8865 | fi |
13668 | { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 | 8866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 |
13669 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } | 8867 | $as_echo "$ac_cv_lib_z_deflate" >&6; } |
13670 | if test $ac_cv_lib_z_deflate = yes; then | 8868 | if test "x$ac_cv_lib_z_deflate" = xyes; then : |
13671 | cat >>confdefs.h <<_ACEOF | 8869 | cat >>confdefs.h <<_ACEOF |
13672 | #define HAVE_LIBZ 1 | 8870 | #define HAVE_LIBZ 1 |
13673 | _ACEOF | 8871 | _ACEOF |
@@ -13686,11 +8884,7 @@ else | |||
13686 | fi | 8884 | fi |
13687 | CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" | 8885 | CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" |
13688 | LIBS="$LIBS -lz" | 8886 | LIBS="$LIBS -lz" |
13689 | cat >conftest.$ac_ext <<_ACEOF | 8887 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13690 | /* confdefs.h. */ | ||
13691 | _ACEOF | ||
13692 | cat confdefs.h >>conftest.$ac_ext | ||
13693 | cat >>conftest.$ac_ext <<_ACEOF | ||
13694 | /* end confdefs.h. */ | 8888 | /* end confdefs.h. */ |
13695 | 8889 | ||
13696 | /* Override any GCC internal prototype to avoid an error. | 8890 | /* Override any GCC internal prototype to avoid an error. |
@@ -13708,42 +8902,17 @@ return deflate (); | |||
13708 | return 0; | 8902 | return 0; |
13709 | } | 8903 | } |
13710 | _ACEOF | 8904 | _ACEOF |
13711 | rm -f conftest.$ac_objext conftest$ac_exeext | 8905 | if ac_fn_c_try_link "$LINENO"; then : |
13712 | if { (ac_try="$ac_link" | 8906 | $as_echo "#define HAVE_LIBZ 1" >>confdefs.h |
13713 | case "(($ac_try" in | ||
13714 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13715 | *) ac_try_echo=$ac_try;; | ||
13716 | esac | ||
13717 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13718 | (eval "$ac_link") 2>conftest.er1 | ||
13719 | ac_status=$? | ||
13720 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13721 | rm -f conftest.er1 | ||
13722 | cat conftest.err >&5 | ||
13723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13724 | (exit $ac_status); } && { | ||
13725 | test -z "$ac_c_werror_flag" || | ||
13726 | test ! -s conftest.err | ||
13727 | } && test -s conftest$ac_exeext && | ||
13728 | $as_test_x conftest$ac_exeext; then | ||
13729 | cat >>confdefs.h <<\_ACEOF | ||
13730 | #define HAVE_LIBZ 1 | ||
13731 | _ACEOF | ||
13732 | 8907 | ||
13733 | else | 8908 | else |
13734 | echo "$as_me: failed program was:" >&5 | ||
13735 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13736 | 8909 | ||
13737 | 8910 | as_fn_error $? "*** zlib missing - please install first or check config.log ***" "$LINENO" 5 | |
13738 | { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 | ||
13739 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | ||
13740 | { (exit 1); exit 1; }; } | ||
13741 | 8911 | ||
13742 | 8912 | ||
13743 | fi | 8913 | fi |
13744 | 8914 | rm -f core conftest.err conftest.$ac_objext \ | |
13745 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 8915 | conftest$ac_exeext conftest.$ac_ext |
13746 | conftest$ac_exeext conftest.$ac_ext | ||
13747 | 8916 | ||
13748 | 8917 | ||
13749 | fi | 8918 | fi |
@@ -13751,7 +8920,7 @@ fi | |||
13751 | 8920 | ||
13752 | 8921 | ||
13753 | # Check whether --with-zlib-version-check was given. | 8922 | # Check whether --with-zlib-version-check was given. |
13754 | if test "${with_zlib_version_check+set}" = set; then | 8923 | if test "${with_zlib_version_check+set}" = set; then : |
13755 | withval=$with_zlib_version_check; if test "x$withval" = "xno" ; then | 8924 | withval=$with_zlib_version_check; if test "x$withval" = "xno" ; then |
13756 | zlib_check_nonfatal=1 | 8925 | zlib_check_nonfatal=1 |
13757 | fi | 8926 | fi |
@@ -13760,18 +8929,14 @@ if test "${with_zlib_version_check+set}" = set; then | |||
13760 | fi | 8929 | fi |
13761 | 8930 | ||
13762 | 8931 | ||
13763 | { echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 | 8932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for possibly buggy zlib" >&5 |
13764 | echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6; } | 8933 | $as_echo_n "checking for possibly buggy zlib... " >&6; } |
13765 | if test "$cross_compiling" = yes; then | 8934 | if test "$cross_compiling" = yes; then : |
13766 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 | 8935 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking zlib version" >&5 |
13767 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} | 8936 | $as_echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} |
13768 | 8937 | ||
13769 | else | 8938 | else |
13770 | cat >conftest.$ac_ext <<_ACEOF | 8939 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13771 | /* confdefs.h. */ | ||
13772 | _ACEOF | ||
13773 | cat confdefs.h >>conftest.$ac_ext | ||
13774 | cat >>conftest.$ac_ext <<_ACEOF | ||
13775 | /* end confdefs.h. */ | 8940 | /* end confdefs.h. */ |
13776 | 8941 | ||
13777 | #include <stdio.h> | 8942 | #include <stdio.h> |
@@ -13803,159 +8968,43 @@ main () | |||
13803 | return 0; | 8968 | return 0; |
13804 | } | 8969 | } |
13805 | _ACEOF | 8970 | _ACEOF |
13806 | rm -f conftest$ac_exeext | 8971 | if ac_fn_c_try_run "$LINENO"; then : |
13807 | if { (ac_try="$ac_link" | 8972 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13808 | case "(($ac_try" in | 8973 | $as_echo "no" >&6; } |
13809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13810 | *) ac_try_echo=$ac_try;; | ||
13811 | esac | ||
13812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13813 | (eval "$ac_link") 2>&5 | ||
13814 | ac_status=$? | ||
13815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13816 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
13817 | { (case "(($ac_try" in | ||
13818 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13819 | *) ac_try_echo=$ac_try;; | ||
13820 | esac | ||
13821 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13822 | (eval "$ac_try") 2>&5 | ||
13823 | ac_status=$? | ||
13824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13825 | (exit $ac_status); }; }; then | ||
13826 | { echo "$as_me:$LINENO: result: no" >&5 | ||
13827 | echo "${ECHO_T}no" >&6; } | ||
13828 | else | 8974 | else |
13829 | echo "$as_me: program exited with status $ac_status" >&5 | 8975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13830 | echo "$as_me: failed program was:" >&5 | 8976 | $as_echo "yes" >&6; } |
13831 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13832 | |||
13833 | ( exit $ac_status ) | ||
13834 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
13835 | echo "${ECHO_T}yes" >&6; } | ||
13836 | if test -z "$zlib_check_nonfatal" ; then | 8977 | if test -z "$zlib_check_nonfatal" ; then |
13837 | { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** | 8978 | as_fn_error $? "*** zlib too old - check config.log *** |
13838 | Your reported zlib version has known security problems. It's possible your | ||
13839 | vendor has fixed these problems without changing the version number. If you | ||
13840 | are sure this is the case, you can disable the check by running | ||
13841 | \"./configure --without-zlib-version-check\". | ||
13842 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. | ||
13843 | See http://www.gzip.org/zlib/ for details." >&5 | ||
13844 | echo "$as_me: error: *** zlib too old - check config.log *** | ||
13845 | Your reported zlib version has known security problems. It's possible your | 8979 | Your reported zlib version has known security problems. It's possible your |
13846 | vendor has fixed these problems without changing the version number. If you | 8980 | vendor has fixed these problems without changing the version number. If you |
13847 | are sure this is the case, you can disable the check by running | 8981 | are sure this is the case, you can disable the check by running |
13848 | \"./configure --without-zlib-version-check\". | 8982 | \"./configure --without-zlib-version-check\". |
13849 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. | 8983 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
13850 | See http://www.gzip.org/zlib/ for details." >&2;} | 8984 | See http://www.gzip.org/zlib/ for details." "$LINENO" 5 |
13851 | { (exit 1); exit 1; }; } | ||
13852 | else | 8985 | else |
13853 | { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5 | 8986 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib version may have security problems" >&5 |
13854 | echo "$as_me: WARNING: zlib version may have security problems" >&2;} | 8987 | $as_echo "$as_me: WARNING: zlib version may have security problems" >&2;} |
13855 | fi | 8988 | fi |
13856 | 8989 | ||
13857 | fi | 8990 | fi |
13858 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 8991 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
8992 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
13859 | fi | 8993 | fi |
13860 | 8994 | ||
13861 | 8995 | ||
8996 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" | ||
8997 | if test "x$ac_cv_func_strcasecmp" = xyes; then : | ||
13862 | 8998 | ||
13863 | { echo "$as_me:$LINENO: checking for strcasecmp" >&5 | ||
13864 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; } | ||
13865 | if test "${ac_cv_func_strcasecmp+set}" = set; then | ||
13866 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13867 | else | ||
13868 | cat >conftest.$ac_ext <<_ACEOF | ||
13869 | /* confdefs.h. */ | ||
13870 | _ACEOF | ||
13871 | cat confdefs.h >>conftest.$ac_ext | ||
13872 | cat >>conftest.$ac_ext <<_ACEOF | ||
13873 | /* end confdefs.h. */ | ||
13874 | /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp. | ||
13875 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
13876 | #define strcasecmp innocuous_strcasecmp | ||
13877 | |||
13878 | /* System header to define __stub macros and hopefully few prototypes, | ||
13879 | which can conflict with char strcasecmp (); below. | ||
13880 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
13881 | <limits.h> exists even on freestanding compilers. */ | ||
13882 | |||
13883 | #ifdef __STDC__ | ||
13884 | # include <limits.h> | ||
13885 | #else | ||
13886 | # include <assert.h> | ||
13887 | #endif | ||
13888 | |||
13889 | #undef strcasecmp | ||
13890 | |||
13891 | /* Override any GCC internal prototype to avoid an error. | ||
13892 | Use char because int might match the return type of a GCC | ||
13893 | builtin and then its argument prototype would still apply. */ | ||
13894 | #ifdef __cplusplus | ||
13895 | extern "C" | ||
13896 | #endif | ||
13897 | char strcasecmp (); | ||
13898 | /* The GNU C library defines this for functions which it implements | ||
13899 | to always fail with ENOSYS. Some functions are actually named | ||
13900 | something starting with __ and the normal name is an alias. */ | ||
13901 | #if defined __stub_strcasecmp || defined __stub___strcasecmp | ||
13902 | choke me | ||
13903 | #endif | ||
13904 | |||
13905 | int | ||
13906 | main () | ||
13907 | { | ||
13908 | return strcasecmp (); | ||
13909 | ; | ||
13910 | return 0; | ||
13911 | } | ||
13912 | _ACEOF | ||
13913 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
13914 | if { (ac_try="$ac_link" | ||
13915 | case "(($ac_try" in | ||
13916 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13917 | *) ac_try_echo=$ac_try;; | ||
13918 | esac | ||
13919 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13920 | (eval "$ac_link") 2>conftest.er1 | ||
13921 | ac_status=$? | ||
13922 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13923 | rm -f conftest.er1 | ||
13924 | cat conftest.err >&5 | ||
13925 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13926 | (exit $ac_status); } && { | ||
13927 | test -z "$ac_c_werror_flag" || | ||
13928 | test ! -s conftest.err | ||
13929 | } && test -s conftest$ac_exeext && | ||
13930 | $as_test_x conftest$ac_exeext; then | ||
13931 | ac_cv_func_strcasecmp=yes | ||
13932 | else | ||
13933 | echo "$as_me: failed program was:" >&5 | ||
13934 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13935 | |||
13936 | ac_cv_func_strcasecmp=no | ||
13937 | fi | ||
13938 | |||
13939 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13940 | conftest$ac_exeext conftest.$ac_ext | ||
13941 | fi | ||
13942 | { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | ||
13943 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; } | ||
13944 | if test $ac_cv_func_strcasecmp = yes; then | ||
13945 | : | ||
13946 | else | 8999 | else |
13947 | { echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 | 9000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolv" >&5 |
13948 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6; } | 9001 | $as_echo_n "checking for strcasecmp in -lresolv... " >&6; } |
13949 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then | 9002 | if ${ac_cv_lib_resolv_strcasecmp+:} false; then : |
13950 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9003 | $as_echo_n "(cached) " >&6 |
13951 | else | 9004 | else |
13952 | ac_check_lib_save_LIBS=$LIBS | 9005 | ac_check_lib_save_LIBS=$LIBS |
13953 | LIBS="-lresolv $LIBS" | 9006 | LIBS="-lresolv $LIBS" |
13954 | cat >conftest.$ac_ext <<_ACEOF | 9007 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13955 | /* confdefs.h. */ | ||
13956 | _ACEOF | ||
13957 | cat confdefs.h >>conftest.$ac_ext | ||
13958 | cat >>conftest.$ac_ext <<_ACEOF | ||
13959 | /* end confdefs.h. */ | 9008 | /* end confdefs.h. */ |
13960 | 9009 | ||
13961 | /* Override any GCC internal prototype to avoid an error. | 9010 | /* Override any GCC internal prototype to avoid an error. |
@@ -13973,149 +9022,41 @@ return strcasecmp (); | |||
13973 | return 0; | 9022 | return 0; |
13974 | } | 9023 | } |
13975 | _ACEOF | 9024 | _ACEOF |
13976 | rm -f conftest.$ac_objext conftest$ac_exeext | 9025 | if ac_fn_c_try_link "$LINENO"; then : |
13977 | if { (ac_try="$ac_link" | ||
13978 | case "(($ac_try" in | ||
13979 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13980 | *) ac_try_echo=$ac_try;; | ||
13981 | esac | ||
13982 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13983 | (eval "$ac_link") 2>conftest.er1 | ||
13984 | ac_status=$? | ||
13985 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13986 | rm -f conftest.er1 | ||
13987 | cat conftest.err >&5 | ||
13988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13989 | (exit $ac_status); } && { | ||
13990 | test -z "$ac_c_werror_flag" || | ||
13991 | test ! -s conftest.err | ||
13992 | } && test -s conftest$ac_exeext && | ||
13993 | $as_test_x conftest$ac_exeext; then | ||
13994 | ac_cv_lib_resolv_strcasecmp=yes | 9026 | ac_cv_lib_resolv_strcasecmp=yes |
13995 | else | 9027 | else |
13996 | echo "$as_me: failed program was:" >&5 | 9028 | ac_cv_lib_resolv_strcasecmp=no |
13997 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13998 | |||
13999 | ac_cv_lib_resolv_strcasecmp=no | ||
14000 | fi | 9029 | fi |
14001 | 9030 | rm -f core conftest.err conftest.$ac_objext \ | |
14002 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9031 | conftest$ac_exeext conftest.$ac_ext |
14003 | conftest$ac_exeext conftest.$ac_ext | ||
14004 | LIBS=$ac_check_lib_save_LIBS | 9032 | LIBS=$ac_check_lib_save_LIBS |
14005 | fi | 9033 | fi |
14006 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 | 9034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_strcasecmp" >&5 |
14007 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6; } | 9035 | $as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; } |
14008 | if test $ac_cv_lib_resolv_strcasecmp = yes; then | 9036 | if test "x$ac_cv_lib_resolv_strcasecmp" = xyes; then : |
14009 | LIBS="$LIBS -lresolv" | 9037 | LIBS="$LIBS -lresolv" |
14010 | fi | 9038 | fi |
14011 | 9039 | ||
14012 | 9040 | ||
14013 | fi | 9041 | fi |
14014 | 9042 | ||
14015 | |||
14016 | for ac_func in utimes | 9043 | for ac_func in utimes |
14017 | do | 9044 | do : |
14018 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9045 | ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes" |
14019 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9046 | if test "x$ac_cv_func_utimes" = xyes; then : |
14020 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
14021 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14023 | else | ||
14024 | cat >conftest.$ac_ext <<_ACEOF | ||
14025 | /* confdefs.h. */ | ||
14026 | _ACEOF | ||
14027 | cat confdefs.h >>conftest.$ac_ext | ||
14028 | cat >>conftest.$ac_ext <<_ACEOF | ||
14029 | /* end confdefs.h. */ | ||
14030 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14031 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14032 | #define $ac_func innocuous_$ac_func | ||
14033 | |||
14034 | /* System header to define __stub macros and hopefully few prototypes, | ||
14035 | which can conflict with char $ac_func (); below. | ||
14036 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14037 | <limits.h> exists even on freestanding compilers. */ | ||
14038 | |||
14039 | #ifdef __STDC__ | ||
14040 | # include <limits.h> | ||
14041 | #else | ||
14042 | # include <assert.h> | ||
14043 | #endif | ||
14044 | |||
14045 | #undef $ac_func | ||
14046 | |||
14047 | /* Override any GCC internal prototype to avoid an error. | ||
14048 | Use char because int might match the return type of a GCC | ||
14049 | builtin and then its argument prototype would still apply. */ | ||
14050 | #ifdef __cplusplus | ||
14051 | extern "C" | ||
14052 | #endif | ||
14053 | char $ac_func (); | ||
14054 | /* The GNU C library defines this for functions which it implements | ||
14055 | to always fail with ENOSYS. Some functions are actually named | ||
14056 | something starting with __ and the normal name is an alias. */ | ||
14057 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
14058 | choke me | ||
14059 | #endif | ||
14060 | |||
14061 | int | ||
14062 | main () | ||
14063 | { | ||
14064 | return $ac_func (); | ||
14065 | ; | ||
14066 | return 0; | ||
14067 | } | ||
14068 | _ACEOF | ||
14069 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14070 | if { (ac_try="$ac_link" | ||
14071 | case "(($ac_try" in | ||
14072 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14073 | *) ac_try_echo=$ac_try;; | ||
14074 | esac | ||
14075 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14076 | (eval "$ac_link") 2>conftest.er1 | ||
14077 | ac_status=$? | ||
14078 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14079 | rm -f conftest.er1 | ||
14080 | cat conftest.err >&5 | ||
14081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14082 | (exit $ac_status); } && { | ||
14083 | test -z "$ac_c_werror_flag" || | ||
14084 | test ! -s conftest.err | ||
14085 | } && test -s conftest$ac_exeext && | ||
14086 | $as_test_x conftest$ac_exeext; then | ||
14087 | eval "$as_ac_var=yes" | ||
14088 | else | ||
14089 | echo "$as_me: failed program was:" >&5 | ||
14090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14091 | |||
14092 | eval "$as_ac_var=no" | ||
14093 | fi | ||
14094 | |||
14095 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
14096 | conftest$ac_exeext conftest.$ac_ext | ||
14097 | fi | ||
14098 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
14099 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
14100 | echo "${ECHO_T}$ac_res" >&6; } | ||
14101 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
14102 | cat >>confdefs.h <<_ACEOF | 9047 | cat >>confdefs.h <<_ACEOF |
14103 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9048 | #define HAVE_UTIMES 1 |
14104 | _ACEOF | 9049 | _ACEOF |
14105 | 9050 | ||
14106 | else | 9051 | else |
14107 | { echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 | 9052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes in -lc89" >&5 |
14108 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6; } | 9053 | $as_echo_n "checking for utimes in -lc89... " >&6; } |
14109 | if test "${ac_cv_lib_c89_utimes+set}" = set; then | 9054 | if ${ac_cv_lib_c89_utimes+:} false; then : |
14110 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9055 | $as_echo_n "(cached) " >&6 |
14111 | else | 9056 | else |
14112 | ac_check_lib_save_LIBS=$LIBS | 9057 | ac_check_lib_save_LIBS=$LIBS |
14113 | LIBS="-lc89 $LIBS" | 9058 | LIBS="-lc89 $LIBS" |
14114 | cat >conftest.$ac_ext <<_ACEOF | 9059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14115 | /* confdefs.h. */ | ||
14116 | _ACEOF | ||
14117 | cat confdefs.h >>conftest.$ac_ext | ||
14118 | cat >>conftest.$ac_ext <<_ACEOF | ||
14119 | /* end confdefs.h. */ | 9060 | /* end confdefs.h. */ |
14120 | 9061 | ||
14121 | /* Override any GCC internal prototype to avoid an error. | 9062 | /* Override any GCC internal prototype to avoid an error. |
@@ -14133,42 +9074,19 @@ return utimes (); | |||
14133 | return 0; | 9074 | return 0; |
14134 | } | 9075 | } |
14135 | _ACEOF | 9076 | _ACEOF |
14136 | rm -f conftest.$ac_objext conftest$ac_exeext | 9077 | if ac_fn_c_try_link "$LINENO"; then : |
14137 | if { (ac_try="$ac_link" | ||
14138 | case "(($ac_try" in | ||
14139 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14140 | *) ac_try_echo=$ac_try;; | ||
14141 | esac | ||
14142 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14143 | (eval "$ac_link") 2>conftest.er1 | ||
14144 | ac_status=$? | ||
14145 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14146 | rm -f conftest.er1 | ||
14147 | cat conftest.err >&5 | ||
14148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14149 | (exit $ac_status); } && { | ||
14150 | test -z "$ac_c_werror_flag" || | ||
14151 | test ! -s conftest.err | ||
14152 | } && test -s conftest$ac_exeext && | ||
14153 | $as_test_x conftest$ac_exeext; then | ||
14154 | ac_cv_lib_c89_utimes=yes | 9078 | ac_cv_lib_c89_utimes=yes |
14155 | else | 9079 | else |
14156 | echo "$as_me: failed program was:" >&5 | 9080 | ac_cv_lib_c89_utimes=no |
14157 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14158 | |||
14159 | ac_cv_lib_c89_utimes=no | ||
14160 | fi | 9081 | fi |
14161 | 9082 | rm -f core conftest.err conftest.$ac_objext \ | |
14162 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9083 | conftest$ac_exeext conftest.$ac_ext |
14163 | conftest$ac_exeext conftest.$ac_ext | ||
14164 | LIBS=$ac_check_lib_save_LIBS | 9084 | LIBS=$ac_check_lib_save_LIBS |
14165 | fi | 9085 | fi |
14166 | { echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 | 9086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c89_utimes" >&5 |
14167 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6; } | 9087 | $as_echo "$ac_cv_lib_c89_utimes" >&6; } |
14168 | if test $ac_cv_lib_c89_utimes = yes; then | 9088 | if test "x$ac_cv_lib_c89_utimes" = xyes; then : |
14169 | cat >>confdefs.h <<\_ACEOF | 9089 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h |
14170 | #define HAVE_UTIMES 1 | ||
14171 | _ACEOF | ||
14172 | 9090 | ||
14173 | LIBS="$LIBS -lc89" | 9091 | LIBS="$LIBS -lc89" |
14174 | fi | 9092 | fi |
@@ -14178,163 +9096,26 @@ fi | |||
14178 | done | 9096 | done |
14179 | 9097 | ||
14180 | 9098 | ||
14181 | |||
14182 | |||
14183 | for ac_header in bsd/libutil.h libutil.h | 9099 | for ac_header in bsd/libutil.h libutil.h |
14184 | do | 9100 | do : |
14185 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 9101 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14186 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | 9102 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
14187 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | 9103 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
14188 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
14189 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14190 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14191 | fi | ||
14192 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
14193 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
14194 | echo "${ECHO_T}$ac_res" >&6; } | ||
14195 | else | ||
14196 | # Is the header compilable? | ||
14197 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
14198 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
14199 | cat >conftest.$ac_ext <<_ACEOF | ||
14200 | /* confdefs.h. */ | ||
14201 | _ACEOF | ||
14202 | cat confdefs.h >>conftest.$ac_ext | ||
14203 | cat >>conftest.$ac_ext <<_ACEOF | ||
14204 | /* end confdefs.h. */ | ||
14205 | $ac_includes_default | ||
14206 | #include <$ac_header> | ||
14207 | _ACEOF | ||
14208 | rm -f conftest.$ac_objext | ||
14209 | if { (ac_try="$ac_compile" | ||
14210 | case "(($ac_try" in | ||
14211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14212 | *) ac_try_echo=$ac_try;; | ||
14213 | esac | ||
14214 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14215 | (eval "$ac_compile") 2>conftest.er1 | ||
14216 | ac_status=$? | ||
14217 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14218 | rm -f conftest.er1 | ||
14219 | cat conftest.err >&5 | ||
14220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14221 | (exit $ac_status); } && { | ||
14222 | test -z "$ac_c_werror_flag" || | ||
14223 | test ! -s conftest.err | ||
14224 | } && test -s conftest.$ac_objext; then | ||
14225 | ac_header_compiler=yes | ||
14226 | else | ||
14227 | echo "$as_me: failed program was:" >&5 | ||
14228 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14229 | |||
14230 | ac_header_compiler=no | ||
14231 | fi | ||
14232 | |||
14233 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14234 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
14235 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
14236 | |||
14237 | # Is the header present? | ||
14238 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
14239 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
14240 | cat >conftest.$ac_ext <<_ACEOF | ||
14241 | /* confdefs.h. */ | ||
14242 | _ACEOF | ||
14243 | cat confdefs.h >>conftest.$ac_ext | ||
14244 | cat >>conftest.$ac_ext <<_ACEOF | ||
14245 | /* end confdefs.h. */ | ||
14246 | #include <$ac_header> | ||
14247 | _ACEOF | ||
14248 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
14249 | case "(($ac_try" in | ||
14250 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14251 | *) ac_try_echo=$ac_try;; | ||
14252 | esac | ||
14253 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14254 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
14255 | ac_status=$? | ||
14256 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14257 | rm -f conftest.er1 | ||
14258 | cat conftest.err >&5 | ||
14259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14260 | (exit $ac_status); } >/dev/null && { | ||
14261 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
14262 | test ! -s conftest.err | ||
14263 | }; then | ||
14264 | ac_header_preproc=yes | ||
14265 | else | ||
14266 | echo "$as_me: failed program was:" >&5 | ||
14267 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14268 | |||
14269 | ac_header_preproc=no | ||
14270 | fi | ||
14271 | |||
14272 | rm -f conftest.err conftest.$ac_ext | ||
14273 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
14274 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
14275 | |||
14276 | # So? What about this header? | ||
14277 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
14278 | yes:no: ) | ||
14279 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
14280 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
14281 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
14282 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
14283 | ac_header_preproc=yes | ||
14284 | ;; | ||
14285 | no:yes:* ) | ||
14286 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
14287 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
14288 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
14289 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
14290 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
14291 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
14292 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
14293 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
14294 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
14295 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
14296 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
14297 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
14298 | ( cat <<\_ASBOX | ||
14299 | ## ------------------------------------------- ## | ||
14300 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
14301 | ## ------------------------------------------- ## | ||
14302 | _ASBOX | ||
14303 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
14304 | ;; | ||
14305 | esac | ||
14306 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
14307 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
14308 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14309 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14310 | else | ||
14311 | eval "$as_ac_Header=\$ac_header_preproc" | ||
14312 | fi | ||
14313 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
14314 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
14315 | echo "${ECHO_T}$ac_res" >&6; } | ||
14316 | |||
14317 | fi | ||
14318 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
14319 | cat >>confdefs.h <<_ACEOF | 9104 | cat >>confdefs.h <<_ACEOF |
14320 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 9105 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14321 | _ACEOF | 9106 | _ACEOF |
14322 | 9107 | ||
14323 | fi | 9108 | fi |
14324 | 9109 | ||
14325 | done | 9110 | done |
14326 | 9111 | ||
14327 | { echo "$as_me:$LINENO: checking for library containing fmt_scaled" >&5 | 9112 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmt_scaled" >&5 |
14328 | echo $ECHO_N "checking for library containing fmt_scaled... $ECHO_C" >&6; } | 9113 | $as_echo_n "checking for library containing fmt_scaled... " >&6; } |
14329 | if test "${ac_cv_search_fmt_scaled+set}" = set; then | 9114 | if ${ac_cv_search_fmt_scaled+:} false; then : |
14330 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9115 | $as_echo_n "(cached) " >&6 |
14331 | else | 9116 | else |
14332 | ac_func_search_save_LIBS=$LIBS | 9117 | ac_func_search_save_LIBS=$LIBS |
14333 | cat >conftest.$ac_ext <<_ACEOF | 9118 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14334 | /* confdefs.h. */ | ||
14335 | _ACEOF | ||
14336 | cat confdefs.h >>conftest.$ac_ext | ||
14337 | cat >>conftest.$ac_ext <<_ACEOF | ||
14338 | /* end confdefs.h. */ | 9119 | /* end confdefs.h. */ |
14339 | 9120 | ||
14340 | /* Override any GCC internal prototype to avoid an error. | 9121 | /* Override any GCC internal prototype to avoid an error. |
@@ -14359,65 +9140,38 @@ for ac_lib in '' util bsd; do | |||
14359 | ac_res=-l$ac_lib | 9140 | ac_res=-l$ac_lib |
14360 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9141 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14361 | fi | 9142 | fi |
14362 | rm -f conftest.$ac_objext conftest$ac_exeext | 9143 | if ac_fn_c_try_link "$LINENO"; then : |
14363 | if { (ac_try="$ac_link" | ||
14364 | case "(($ac_try" in | ||
14365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14366 | *) ac_try_echo=$ac_try;; | ||
14367 | esac | ||
14368 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14369 | (eval "$ac_link") 2>conftest.er1 | ||
14370 | ac_status=$? | ||
14371 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14372 | rm -f conftest.er1 | ||
14373 | cat conftest.err >&5 | ||
14374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14375 | (exit $ac_status); } && { | ||
14376 | test -z "$ac_c_werror_flag" || | ||
14377 | test ! -s conftest.err | ||
14378 | } && test -s conftest$ac_exeext && | ||
14379 | $as_test_x conftest$ac_exeext; then | ||
14380 | ac_cv_search_fmt_scaled=$ac_res | 9144 | ac_cv_search_fmt_scaled=$ac_res |
14381 | else | ||
14382 | echo "$as_me: failed program was:" >&5 | ||
14383 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14384 | |||
14385 | |||
14386 | fi | 9145 | fi |
14387 | 9146 | rm -f core conftest.err conftest.$ac_objext \ | |
14388 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9147 | conftest$ac_exeext |
14389 | conftest$ac_exeext | 9148 | if ${ac_cv_search_fmt_scaled+:} false; then : |
14390 | if test "${ac_cv_search_fmt_scaled+set}" = set; then | ||
14391 | break | 9149 | break |
14392 | fi | 9150 | fi |
14393 | done | 9151 | done |
14394 | if test "${ac_cv_search_fmt_scaled+set}" = set; then | 9152 | if ${ac_cv_search_fmt_scaled+:} false; then : |
14395 | : | 9153 | |
14396 | else | 9154 | else |
14397 | ac_cv_search_fmt_scaled=no | 9155 | ac_cv_search_fmt_scaled=no |
14398 | fi | 9156 | fi |
14399 | rm conftest.$ac_ext | 9157 | rm conftest.$ac_ext |
14400 | LIBS=$ac_func_search_save_LIBS | 9158 | LIBS=$ac_func_search_save_LIBS |
14401 | fi | 9159 | fi |
14402 | { echo "$as_me:$LINENO: result: $ac_cv_search_fmt_scaled" >&5 | 9160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmt_scaled" >&5 |
14403 | echo "${ECHO_T}$ac_cv_search_fmt_scaled" >&6; } | 9161 | $as_echo "$ac_cv_search_fmt_scaled" >&6; } |
14404 | ac_res=$ac_cv_search_fmt_scaled | 9162 | ac_res=$ac_cv_search_fmt_scaled |
14405 | if test "$ac_res" != no; then | 9163 | if test "$ac_res" != no; then : |
14406 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9164 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14407 | 9165 | ||
14408 | fi | 9166 | fi |
14409 | 9167 | ||
14410 | { echo "$as_me:$LINENO: checking for library containing scan_scaled" >&5 | 9168 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing scan_scaled" >&5 |
14411 | echo $ECHO_N "checking for library containing scan_scaled... $ECHO_C" >&6; } | 9169 | $as_echo_n "checking for library containing scan_scaled... " >&6; } |
14412 | if test "${ac_cv_search_scan_scaled+set}" = set; then | 9170 | if ${ac_cv_search_scan_scaled+:} false; then : |
14413 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9171 | $as_echo_n "(cached) " >&6 |
14414 | else | 9172 | else |
14415 | ac_func_search_save_LIBS=$LIBS | 9173 | ac_func_search_save_LIBS=$LIBS |
14416 | cat >conftest.$ac_ext <<_ACEOF | 9174 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14417 | /* confdefs.h. */ | ||
14418 | _ACEOF | ||
14419 | cat confdefs.h >>conftest.$ac_ext | ||
14420 | cat >>conftest.$ac_ext <<_ACEOF | ||
14421 | /* end confdefs.h. */ | 9175 | /* end confdefs.h. */ |
14422 | 9176 | ||
14423 | /* Override any GCC internal prototype to avoid an error. | 9177 | /* Override any GCC internal prototype to avoid an error. |
@@ -14442,65 +9196,38 @@ for ac_lib in '' util bsd; do | |||
14442 | ac_res=-l$ac_lib | 9196 | ac_res=-l$ac_lib |
14443 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9197 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14444 | fi | 9198 | fi |
14445 | rm -f conftest.$ac_objext conftest$ac_exeext | 9199 | if ac_fn_c_try_link "$LINENO"; then : |
14446 | if { (ac_try="$ac_link" | ||
14447 | case "(($ac_try" in | ||
14448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14449 | *) ac_try_echo=$ac_try;; | ||
14450 | esac | ||
14451 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14452 | (eval "$ac_link") 2>conftest.er1 | ||
14453 | ac_status=$? | ||
14454 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14455 | rm -f conftest.er1 | ||
14456 | cat conftest.err >&5 | ||
14457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14458 | (exit $ac_status); } && { | ||
14459 | test -z "$ac_c_werror_flag" || | ||
14460 | test ! -s conftest.err | ||
14461 | } && test -s conftest$ac_exeext && | ||
14462 | $as_test_x conftest$ac_exeext; then | ||
14463 | ac_cv_search_scan_scaled=$ac_res | 9200 | ac_cv_search_scan_scaled=$ac_res |
14464 | else | ||
14465 | echo "$as_me: failed program was:" >&5 | ||
14466 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14467 | |||
14468 | |||
14469 | fi | 9201 | fi |
14470 | 9202 | rm -f core conftest.err conftest.$ac_objext \ | |
14471 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9203 | conftest$ac_exeext |
14472 | conftest$ac_exeext | 9204 | if ${ac_cv_search_scan_scaled+:} false; then : |
14473 | if test "${ac_cv_search_scan_scaled+set}" = set; then | ||
14474 | break | 9205 | break |
14475 | fi | 9206 | fi |
14476 | done | 9207 | done |
14477 | if test "${ac_cv_search_scan_scaled+set}" = set; then | 9208 | if ${ac_cv_search_scan_scaled+:} false; then : |
14478 | : | 9209 | |
14479 | else | 9210 | else |
14480 | ac_cv_search_scan_scaled=no | 9211 | ac_cv_search_scan_scaled=no |
14481 | fi | 9212 | fi |
14482 | rm conftest.$ac_ext | 9213 | rm conftest.$ac_ext |
14483 | LIBS=$ac_func_search_save_LIBS | 9214 | LIBS=$ac_func_search_save_LIBS |
14484 | fi | 9215 | fi |
14485 | { echo "$as_me:$LINENO: result: $ac_cv_search_scan_scaled" >&5 | 9216 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_scan_scaled" >&5 |
14486 | echo "${ECHO_T}$ac_cv_search_scan_scaled" >&6; } | 9217 | $as_echo "$ac_cv_search_scan_scaled" >&6; } |
14487 | ac_res=$ac_cv_search_scan_scaled | 9218 | ac_res=$ac_cv_search_scan_scaled |
14488 | if test "$ac_res" != no; then | 9219 | if test "$ac_res" != no; then : |
14489 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9220 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14490 | 9221 | ||
14491 | fi | 9222 | fi |
14492 | 9223 | ||
14493 | { echo "$as_me:$LINENO: checking for library containing login" >&5 | 9224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing login" >&5 |
14494 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; } | 9225 | $as_echo_n "checking for library containing login... " >&6; } |
14495 | if test "${ac_cv_search_login+set}" = set; then | 9226 | if ${ac_cv_search_login+:} false; then : |
14496 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9227 | $as_echo_n "(cached) " >&6 |
14497 | else | 9228 | else |
14498 | ac_func_search_save_LIBS=$LIBS | 9229 | ac_func_search_save_LIBS=$LIBS |
14499 | cat >conftest.$ac_ext <<_ACEOF | 9230 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14500 | /* confdefs.h. */ | ||
14501 | _ACEOF | ||
14502 | cat confdefs.h >>conftest.$ac_ext | ||
14503 | cat >>conftest.$ac_ext <<_ACEOF | ||
14504 | /* end confdefs.h. */ | 9231 | /* end confdefs.h. */ |
14505 | 9232 | ||
14506 | /* Override any GCC internal prototype to avoid an error. | 9233 | /* Override any GCC internal prototype to avoid an error. |
@@ -14525,65 +9252,38 @@ for ac_lib in '' util bsd; do | |||
14525 | ac_res=-l$ac_lib | 9252 | ac_res=-l$ac_lib |
14526 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9253 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14527 | fi | 9254 | fi |
14528 | rm -f conftest.$ac_objext conftest$ac_exeext | 9255 | if ac_fn_c_try_link "$LINENO"; then : |
14529 | if { (ac_try="$ac_link" | ||
14530 | case "(($ac_try" in | ||
14531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14532 | *) ac_try_echo=$ac_try;; | ||
14533 | esac | ||
14534 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14535 | (eval "$ac_link") 2>conftest.er1 | ||
14536 | ac_status=$? | ||
14537 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14538 | rm -f conftest.er1 | ||
14539 | cat conftest.err >&5 | ||
14540 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14541 | (exit $ac_status); } && { | ||
14542 | test -z "$ac_c_werror_flag" || | ||
14543 | test ! -s conftest.err | ||
14544 | } && test -s conftest$ac_exeext && | ||
14545 | $as_test_x conftest$ac_exeext; then | ||
14546 | ac_cv_search_login=$ac_res | 9256 | ac_cv_search_login=$ac_res |
14547 | else | ||
14548 | echo "$as_me: failed program was:" >&5 | ||
14549 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14550 | |||
14551 | |||
14552 | fi | 9257 | fi |
14553 | 9258 | rm -f core conftest.err conftest.$ac_objext \ | |
14554 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9259 | conftest$ac_exeext |
14555 | conftest$ac_exeext | 9260 | if ${ac_cv_search_login+:} false; then : |
14556 | if test "${ac_cv_search_login+set}" = set; then | ||
14557 | break | 9261 | break |
14558 | fi | 9262 | fi |
14559 | done | 9263 | done |
14560 | if test "${ac_cv_search_login+set}" = set; then | 9264 | if ${ac_cv_search_login+:} false; then : |
14561 | : | 9265 | |
14562 | else | 9266 | else |
14563 | ac_cv_search_login=no | 9267 | ac_cv_search_login=no |
14564 | fi | 9268 | fi |
14565 | rm conftest.$ac_ext | 9269 | rm conftest.$ac_ext |
14566 | LIBS=$ac_func_search_save_LIBS | 9270 | LIBS=$ac_func_search_save_LIBS |
14567 | fi | 9271 | fi |
14568 | { echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 | 9272 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login" >&5 |
14569 | echo "${ECHO_T}$ac_cv_search_login" >&6; } | 9273 | $as_echo "$ac_cv_search_login" >&6; } |
14570 | ac_res=$ac_cv_search_login | 9274 | ac_res=$ac_cv_search_login |
14571 | if test "$ac_res" != no; then | 9275 | if test "$ac_res" != no; then : |
14572 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9276 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14573 | 9277 | ||
14574 | fi | 9278 | fi |
14575 | 9279 | ||
14576 | { echo "$as_me:$LINENO: checking for library containing logout" >&5 | 9280 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing logout" >&5 |
14577 | echo $ECHO_N "checking for library containing logout... $ECHO_C" >&6; } | 9281 | $as_echo_n "checking for library containing logout... " >&6; } |
14578 | if test "${ac_cv_search_logout+set}" = set; then | 9282 | if ${ac_cv_search_logout+:} false; then : |
14579 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9283 | $as_echo_n "(cached) " >&6 |
14580 | else | 9284 | else |
14581 | ac_func_search_save_LIBS=$LIBS | 9285 | ac_func_search_save_LIBS=$LIBS |
14582 | cat >conftest.$ac_ext <<_ACEOF | 9286 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14583 | /* confdefs.h. */ | ||
14584 | _ACEOF | ||
14585 | cat confdefs.h >>conftest.$ac_ext | ||
14586 | cat >>conftest.$ac_ext <<_ACEOF | ||
14587 | /* end confdefs.h. */ | 9287 | /* end confdefs.h. */ |
14588 | 9288 | ||
14589 | /* Override any GCC internal prototype to avoid an error. | 9289 | /* Override any GCC internal prototype to avoid an error. |
@@ -14608,65 +9308,38 @@ for ac_lib in '' util bsd; do | |||
14608 | ac_res=-l$ac_lib | 9308 | ac_res=-l$ac_lib |
14609 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9309 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14610 | fi | 9310 | fi |
14611 | rm -f conftest.$ac_objext conftest$ac_exeext | 9311 | if ac_fn_c_try_link "$LINENO"; then : |
14612 | if { (ac_try="$ac_link" | ||
14613 | case "(($ac_try" in | ||
14614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14615 | *) ac_try_echo=$ac_try;; | ||
14616 | esac | ||
14617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14618 | (eval "$ac_link") 2>conftest.er1 | ||
14619 | ac_status=$? | ||
14620 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14621 | rm -f conftest.er1 | ||
14622 | cat conftest.err >&5 | ||
14623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14624 | (exit $ac_status); } && { | ||
14625 | test -z "$ac_c_werror_flag" || | ||
14626 | test ! -s conftest.err | ||
14627 | } && test -s conftest$ac_exeext && | ||
14628 | $as_test_x conftest$ac_exeext; then | ||
14629 | ac_cv_search_logout=$ac_res | 9312 | ac_cv_search_logout=$ac_res |
14630 | else | ||
14631 | echo "$as_me: failed program was:" >&5 | ||
14632 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14633 | |||
14634 | |||
14635 | fi | 9313 | fi |
14636 | 9314 | rm -f core conftest.err conftest.$ac_objext \ | |
14637 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9315 | conftest$ac_exeext |
14638 | conftest$ac_exeext | 9316 | if ${ac_cv_search_logout+:} false; then : |
14639 | if test "${ac_cv_search_logout+set}" = set; then | ||
14640 | break | 9317 | break |
14641 | fi | 9318 | fi |
14642 | done | 9319 | done |
14643 | if test "${ac_cv_search_logout+set}" = set; then | 9320 | if ${ac_cv_search_logout+:} false; then : |
14644 | : | 9321 | |
14645 | else | 9322 | else |
14646 | ac_cv_search_logout=no | 9323 | ac_cv_search_logout=no |
14647 | fi | 9324 | fi |
14648 | rm conftest.$ac_ext | 9325 | rm conftest.$ac_ext |
14649 | LIBS=$ac_func_search_save_LIBS | 9326 | LIBS=$ac_func_search_save_LIBS |
14650 | fi | 9327 | fi |
14651 | { echo "$as_me:$LINENO: result: $ac_cv_search_logout" >&5 | 9328 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_logout" >&5 |
14652 | echo "${ECHO_T}$ac_cv_search_logout" >&6; } | 9329 | $as_echo "$ac_cv_search_logout" >&6; } |
14653 | ac_res=$ac_cv_search_logout | 9330 | ac_res=$ac_cv_search_logout |
14654 | if test "$ac_res" != no; then | 9331 | if test "$ac_res" != no; then : |
14655 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9332 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14656 | 9333 | ||
14657 | fi | 9334 | fi |
14658 | 9335 | ||
14659 | { echo "$as_me:$LINENO: checking for library containing logwtmp" >&5 | 9336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing logwtmp" >&5 |
14660 | echo $ECHO_N "checking for library containing logwtmp... $ECHO_C" >&6; } | 9337 | $as_echo_n "checking for library containing logwtmp... " >&6; } |
14661 | if test "${ac_cv_search_logwtmp+set}" = set; then | 9338 | if ${ac_cv_search_logwtmp+:} false; then : |
14662 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9339 | $as_echo_n "(cached) " >&6 |
14663 | else | 9340 | else |
14664 | ac_func_search_save_LIBS=$LIBS | 9341 | ac_func_search_save_LIBS=$LIBS |
14665 | cat >conftest.$ac_ext <<_ACEOF | 9342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14666 | /* confdefs.h. */ | ||
14667 | _ACEOF | ||
14668 | cat confdefs.h >>conftest.$ac_ext | ||
14669 | cat >>conftest.$ac_ext <<_ACEOF | ||
14670 | /* end confdefs.h. */ | 9343 | /* end confdefs.h. */ |
14671 | 9344 | ||
14672 | /* Override any GCC internal prototype to avoid an error. | 9345 | /* Override any GCC internal prototype to avoid an error. |
@@ -14691,65 +9364,38 @@ for ac_lib in '' util bsd; do | |||
14691 | ac_res=-l$ac_lib | 9364 | ac_res=-l$ac_lib |
14692 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9365 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14693 | fi | 9366 | fi |
14694 | rm -f conftest.$ac_objext conftest$ac_exeext | 9367 | if ac_fn_c_try_link "$LINENO"; then : |
14695 | if { (ac_try="$ac_link" | ||
14696 | case "(($ac_try" in | ||
14697 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14698 | *) ac_try_echo=$ac_try;; | ||
14699 | esac | ||
14700 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14701 | (eval "$ac_link") 2>conftest.er1 | ||
14702 | ac_status=$? | ||
14703 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14704 | rm -f conftest.er1 | ||
14705 | cat conftest.err >&5 | ||
14706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14707 | (exit $ac_status); } && { | ||
14708 | test -z "$ac_c_werror_flag" || | ||
14709 | test ! -s conftest.err | ||
14710 | } && test -s conftest$ac_exeext && | ||
14711 | $as_test_x conftest$ac_exeext; then | ||
14712 | ac_cv_search_logwtmp=$ac_res | 9368 | ac_cv_search_logwtmp=$ac_res |
14713 | else | ||
14714 | echo "$as_me: failed program was:" >&5 | ||
14715 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14716 | |||
14717 | |||
14718 | fi | 9369 | fi |
14719 | 9370 | rm -f core conftest.err conftest.$ac_objext \ | |
14720 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9371 | conftest$ac_exeext |
14721 | conftest$ac_exeext | 9372 | if ${ac_cv_search_logwtmp+:} false; then : |
14722 | if test "${ac_cv_search_logwtmp+set}" = set; then | ||
14723 | break | 9373 | break |
14724 | fi | 9374 | fi |
14725 | done | 9375 | done |
14726 | if test "${ac_cv_search_logwtmp+set}" = set; then | 9376 | if ${ac_cv_search_logwtmp+:} false; then : |
14727 | : | 9377 | |
14728 | else | 9378 | else |
14729 | ac_cv_search_logwtmp=no | 9379 | ac_cv_search_logwtmp=no |
14730 | fi | 9380 | fi |
14731 | rm conftest.$ac_ext | 9381 | rm conftest.$ac_ext |
14732 | LIBS=$ac_func_search_save_LIBS | 9382 | LIBS=$ac_func_search_save_LIBS |
14733 | fi | 9383 | fi |
14734 | { echo "$as_me:$LINENO: result: $ac_cv_search_logwtmp" >&5 | 9384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_logwtmp" >&5 |
14735 | echo "${ECHO_T}$ac_cv_search_logwtmp" >&6; } | 9385 | $as_echo "$ac_cv_search_logwtmp" >&6; } |
14736 | ac_res=$ac_cv_search_logwtmp | 9386 | ac_res=$ac_cv_search_logwtmp |
14737 | if test "$ac_res" != no; then | 9387 | if test "$ac_res" != no; then : |
14738 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9388 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14739 | 9389 | ||
14740 | fi | 9390 | fi |
14741 | 9391 | ||
14742 | { echo "$as_me:$LINENO: checking for library containing openpty" >&5 | 9392 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 |
14743 | echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; } | 9393 | $as_echo_n "checking for library containing openpty... " >&6; } |
14744 | if test "${ac_cv_search_openpty+set}" = set; then | 9394 | if ${ac_cv_search_openpty+:} false; then : |
14745 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9395 | $as_echo_n "(cached) " >&6 |
14746 | else | 9396 | else |
14747 | ac_func_search_save_LIBS=$LIBS | 9397 | ac_func_search_save_LIBS=$LIBS |
14748 | cat >conftest.$ac_ext <<_ACEOF | 9398 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14749 | /* confdefs.h. */ | ||
14750 | _ACEOF | ||
14751 | cat confdefs.h >>conftest.$ac_ext | ||
14752 | cat >>conftest.$ac_ext <<_ACEOF | ||
14753 | /* end confdefs.h. */ | 9399 | /* end confdefs.h. */ |
14754 | 9400 | ||
14755 | /* Override any GCC internal prototype to avoid an error. | 9401 | /* Override any GCC internal prototype to avoid an error. |
@@ -14774,65 +9420,38 @@ for ac_lib in '' util bsd; do | |||
14774 | ac_res=-l$ac_lib | 9420 | ac_res=-l$ac_lib |
14775 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9421 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14776 | fi | 9422 | fi |
14777 | rm -f conftest.$ac_objext conftest$ac_exeext | 9423 | if ac_fn_c_try_link "$LINENO"; then : |
14778 | if { (ac_try="$ac_link" | ||
14779 | case "(($ac_try" in | ||
14780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14781 | *) ac_try_echo=$ac_try;; | ||
14782 | esac | ||
14783 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14784 | (eval "$ac_link") 2>conftest.er1 | ||
14785 | ac_status=$? | ||
14786 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14787 | rm -f conftest.er1 | ||
14788 | cat conftest.err >&5 | ||
14789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14790 | (exit $ac_status); } && { | ||
14791 | test -z "$ac_c_werror_flag" || | ||
14792 | test ! -s conftest.err | ||
14793 | } && test -s conftest$ac_exeext && | ||
14794 | $as_test_x conftest$ac_exeext; then | ||
14795 | ac_cv_search_openpty=$ac_res | 9424 | ac_cv_search_openpty=$ac_res |
14796 | else | ||
14797 | echo "$as_me: failed program was:" >&5 | ||
14798 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14799 | |||
14800 | |||
14801 | fi | 9425 | fi |
14802 | 9426 | rm -f core conftest.err conftest.$ac_objext \ | |
14803 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9427 | conftest$ac_exeext |
14804 | conftest$ac_exeext | 9428 | if ${ac_cv_search_openpty+:} false; then : |
14805 | if test "${ac_cv_search_openpty+set}" = set; then | ||
14806 | break | 9429 | break |
14807 | fi | 9430 | fi |
14808 | done | 9431 | done |
14809 | if test "${ac_cv_search_openpty+set}" = set; then | 9432 | if ${ac_cv_search_openpty+:} false; then : |
14810 | : | 9433 | |
14811 | else | 9434 | else |
14812 | ac_cv_search_openpty=no | 9435 | ac_cv_search_openpty=no |
14813 | fi | 9436 | fi |
14814 | rm conftest.$ac_ext | 9437 | rm conftest.$ac_ext |
14815 | LIBS=$ac_func_search_save_LIBS | 9438 | LIBS=$ac_func_search_save_LIBS |
14816 | fi | 9439 | fi |
14817 | { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5 | 9440 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 |
14818 | echo "${ECHO_T}$ac_cv_search_openpty" >&6; } | 9441 | $as_echo "$ac_cv_search_openpty" >&6; } |
14819 | ac_res=$ac_cv_search_openpty | 9442 | ac_res=$ac_cv_search_openpty |
14820 | if test "$ac_res" != no; then | 9443 | if test "$ac_res" != no; then : |
14821 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9444 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14822 | 9445 | ||
14823 | fi | 9446 | fi |
14824 | 9447 | ||
14825 | { echo "$as_me:$LINENO: checking for library containing updwtmp" >&5 | 9448 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing updwtmp" >&5 |
14826 | echo $ECHO_N "checking for library containing updwtmp... $ECHO_C" >&6; } | 9449 | $as_echo_n "checking for library containing updwtmp... " >&6; } |
14827 | if test "${ac_cv_search_updwtmp+set}" = set; then | 9450 | if ${ac_cv_search_updwtmp+:} false; then : |
14828 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9451 | $as_echo_n "(cached) " >&6 |
14829 | else | 9452 | else |
14830 | ac_func_search_save_LIBS=$LIBS | 9453 | ac_func_search_save_LIBS=$LIBS |
14831 | cat >conftest.$ac_ext <<_ACEOF | 9454 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
14832 | /* confdefs.h. */ | ||
14833 | _ACEOF | ||
14834 | cat confdefs.h >>conftest.$ac_ext | ||
14835 | cat >>conftest.$ac_ext <<_ACEOF | ||
14836 | /* end confdefs.h. */ | 9455 | /* end confdefs.h. */ |
14837 | 9456 | ||
14838 | /* Override any GCC internal prototype to avoid an error. | 9457 | /* Override any GCC internal prototype to avoid an error. |
@@ -14857,149 +9476,38 @@ for ac_lib in '' util bsd; do | |||
14857 | ac_res=-l$ac_lib | 9476 | ac_res=-l$ac_lib |
14858 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9477 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
14859 | fi | 9478 | fi |
14860 | rm -f conftest.$ac_objext conftest$ac_exeext | 9479 | if ac_fn_c_try_link "$LINENO"; then : |
14861 | if { (ac_try="$ac_link" | ||
14862 | case "(($ac_try" in | ||
14863 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14864 | *) ac_try_echo=$ac_try;; | ||
14865 | esac | ||
14866 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14867 | (eval "$ac_link") 2>conftest.er1 | ||
14868 | ac_status=$? | ||
14869 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14870 | rm -f conftest.er1 | ||
14871 | cat conftest.err >&5 | ||
14872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14873 | (exit $ac_status); } && { | ||
14874 | test -z "$ac_c_werror_flag" || | ||
14875 | test ! -s conftest.err | ||
14876 | } && test -s conftest$ac_exeext && | ||
14877 | $as_test_x conftest$ac_exeext; then | ||
14878 | ac_cv_search_updwtmp=$ac_res | 9480 | ac_cv_search_updwtmp=$ac_res |
14879 | else | ||
14880 | echo "$as_me: failed program was:" >&5 | ||
14881 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14882 | |||
14883 | |||
14884 | fi | 9481 | fi |
14885 | 9482 | rm -f core conftest.err conftest.$ac_objext \ | |
14886 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9483 | conftest$ac_exeext |
14887 | conftest$ac_exeext | 9484 | if ${ac_cv_search_updwtmp+:} false; then : |
14888 | if test "${ac_cv_search_updwtmp+set}" = set; then | ||
14889 | break | 9485 | break |
14890 | fi | 9486 | fi |
14891 | done | 9487 | done |
14892 | if test "${ac_cv_search_updwtmp+set}" = set; then | 9488 | if ${ac_cv_search_updwtmp+:} false; then : |
14893 | : | 9489 | |
14894 | else | 9490 | else |
14895 | ac_cv_search_updwtmp=no | 9491 | ac_cv_search_updwtmp=no |
14896 | fi | 9492 | fi |
14897 | rm conftest.$ac_ext | 9493 | rm conftest.$ac_ext |
14898 | LIBS=$ac_func_search_save_LIBS | 9494 | LIBS=$ac_func_search_save_LIBS |
14899 | fi | 9495 | fi |
14900 | { echo "$as_me:$LINENO: result: $ac_cv_search_updwtmp" >&5 | 9496 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_updwtmp" >&5 |
14901 | echo "${ECHO_T}$ac_cv_search_updwtmp" >&6; } | 9497 | $as_echo "$ac_cv_search_updwtmp" >&6; } |
14902 | ac_res=$ac_cv_search_updwtmp | 9498 | ac_res=$ac_cv_search_updwtmp |
14903 | if test "$ac_res" != no; then | 9499 | if test "$ac_res" != no; then : |
14904 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9500 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
14905 | 9501 | ||
14906 | fi | 9502 | fi |
14907 | 9503 | ||
14908 | |||
14909 | |||
14910 | |||
14911 | |||
14912 | |||
14913 | |||
14914 | |||
14915 | for ac_func in fmt_scaled scan_scaled login logout openpty updwtmp logwtmp | 9504 | for ac_func in fmt_scaled scan_scaled login logout openpty updwtmp logwtmp |
14916 | do | 9505 | do : |
14917 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9506 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14918 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9507 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
14919 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 9508 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
14920 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14921 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14922 | else | ||
14923 | cat >conftest.$ac_ext <<_ACEOF | ||
14924 | /* confdefs.h. */ | ||
14925 | _ACEOF | ||
14926 | cat confdefs.h >>conftest.$ac_ext | ||
14927 | cat >>conftest.$ac_ext <<_ACEOF | ||
14928 | /* end confdefs.h. */ | ||
14929 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14930 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14931 | #define $ac_func innocuous_$ac_func | ||
14932 | |||
14933 | /* System header to define __stub macros and hopefully few prototypes, | ||
14934 | which can conflict with char $ac_func (); below. | ||
14935 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14936 | <limits.h> exists even on freestanding compilers. */ | ||
14937 | |||
14938 | #ifdef __STDC__ | ||
14939 | # include <limits.h> | ||
14940 | #else | ||
14941 | # include <assert.h> | ||
14942 | #endif | ||
14943 | |||
14944 | #undef $ac_func | ||
14945 | |||
14946 | /* Override any GCC internal prototype to avoid an error. | ||
14947 | Use char because int might match the return type of a GCC | ||
14948 | builtin and then its argument prototype would still apply. */ | ||
14949 | #ifdef __cplusplus | ||
14950 | extern "C" | ||
14951 | #endif | ||
14952 | char $ac_func (); | ||
14953 | /* The GNU C library defines this for functions which it implements | ||
14954 | to always fail with ENOSYS. Some functions are actually named | ||
14955 | something starting with __ and the normal name is an alias. */ | ||
14956 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
14957 | choke me | ||
14958 | #endif | ||
14959 | |||
14960 | int | ||
14961 | main () | ||
14962 | { | ||
14963 | return $ac_func (); | ||
14964 | ; | ||
14965 | return 0; | ||
14966 | } | ||
14967 | _ACEOF | ||
14968 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14969 | if { (ac_try="$ac_link" | ||
14970 | case "(($ac_try" in | ||
14971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14972 | *) ac_try_echo=$ac_try;; | ||
14973 | esac | ||
14974 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14975 | (eval "$ac_link") 2>conftest.er1 | ||
14976 | ac_status=$? | ||
14977 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14978 | rm -f conftest.er1 | ||
14979 | cat conftest.err >&5 | ||
14980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14981 | (exit $ac_status); } && { | ||
14982 | test -z "$ac_c_werror_flag" || | ||
14983 | test ! -s conftest.err | ||
14984 | } && test -s conftest$ac_exeext && | ||
14985 | $as_test_x conftest$ac_exeext; then | ||
14986 | eval "$as_ac_var=yes" | ||
14987 | else | ||
14988 | echo "$as_me: failed program was:" >&5 | ||
14989 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14990 | |||
14991 | eval "$as_ac_var=no" | ||
14992 | fi | ||
14993 | |||
14994 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
14995 | conftest$ac_exeext conftest.$ac_ext | ||
14996 | fi | ||
14997 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
14998 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
14999 | echo "${ECHO_T}$ac_res" >&6; } | ||
15000 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
15001 | cat >>confdefs.h <<_ACEOF | 9509 | cat >>confdefs.h <<_ACEOF |
15002 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9510 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15003 | _ACEOF | 9511 | _ACEOF |
15004 | 9512 | ||
15005 | fi | 9513 | fi |
@@ -15008,17 +9516,13 @@ done | |||
15008 | 9516 | ||
15009 | # On some platforms, inet_ntop and gethostbyname may be found in libresolv | 9517 | # On some platforms, inet_ntop and gethostbyname may be found in libresolv |
15010 | # or libnsl. | 9518 | # or libnsl. |
15011 | { echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5 | 9519 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 |
15012 | echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; } | 9520 | $as_echo_n "checking for library containing inet_ntop... " >&6; } |
15013 | if test "${ac_cv_search_inet_ntop+set}" = set; then | 9521 | if ${ac_cv_search_inet_ntop+:} false; then : |
15014 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9522 | $as_echo_n "(cached) " >&6 |
15015 | else | 9523 | else |
15016 | ac_func_search_save_LIBS=$LIBS | 9524 | ac_func_search_save_LIBS=$LIBS |
15017 | cat >conftest.$ac_ext <<_ACEOF | 9525 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15018 | /* confdefs.h. */ | ||
15019 | _ACEOF | ||
15020 | cat confdefs.h >>conftest.$ac_ext | ||
15021 | cat >>conftest.$ac_ext <<_ACEOF | ||
15022 | /* end confdefs.h. */ | 9526 | /* end confdefs.h. */ |
15023 | 9527 | ||
15024 | /* Override any GCC internal prototype to avoid an error. | 9528 | /* Override any GCC internal prototype to avoid an error. |
@@ -15043,65 +9547,38 @@ for ac_lib in '' resolv nsl; do | |||
15043 | ac_res=-l$ac_lib | 9547 | ac_res=-l$ac_lib |
15044 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9548 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
15045 | fi | 9549 | fi |
15046 | rm -f conftest.$ac_objext conftest$ac_exeext | 9550 | if ac_fn_c_try_link "$LINENO"; then : |
15047 | if { (ac_try="$ac_link" | ||
15048 | case "(($ac_try" in | ||
15049 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15050 | *) ac_try_echo=$ac_try;; | ||
15051 | esac | ||
15052 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15053 | (eval "$ac_link") 2>conftest.er1 | ||
15054 | ac_status=$? | ||
15055 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15056 | rm -f conftest.er1 | ||
15057 | cat conftest.err >&5 | ||
15058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15059 | (exit $ac_status); } && { | ||
15060 | test -z "$ac_c_werror_flag" || | ||
15061 | test ! -s conftest.err | ||
15062 | } && test -s conftest$ac_exeext && | ||
15063 | $as_test_x conftest$ac_exeext; then | ||
15064 | ac_cv_search_inet_ntop=$ac_res | 9551 | ac_cv_search_inet_ntop=$ac_res |
15065 | else | ||
15066 | echo "$as_me: failed program was:" >&5 | ||
15067 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15068 | |||
15069 | |||
15070 | fi | 9552 | fi |
15071 | 9553 | rm -f core conftest.err conftest.$ac_objext \ | |
15072 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9554 | conftest$ac_exeext |
15073 | conftest$ac_exeext | 9555 | if ${ac_cv_search_inet_ntop+:} false; then : |
15074 | if test "${ac_cv_search_inet_ntop+set}" = set; then | ||
15075 | break | 9556 | break |
15076 | fi | 9557 | fi |
15077 | done | 9558 | done |
15078 | if test "${ac_cv_search_inet_ntop+set}" = set; then | 9559 | if ${ac_cv_search_inet_ntop+:} false; then : |
15079 | : | 9560 | |
15080 | else | 9561 | else |
15081 | ac_cv_search_inet_ntop=no | 9562 | ac_cv_search_inet_ntop=no |
15082 | fi | 9563 | fi |
15083 | rm conftest.$ac_ext | 9564 | rm conftest.$ac_ext |
15084 | LIBS=$ac_func_search_save_LIBS | 9565 | LIBS=$ac_func_search_save_LIBS |
15085 | fi | 9566 | fi |
15086 | { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5 | 9567 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 |
15087 | echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; } | 9568 | $as_echo "$ac_cv_search_inet_ntop" >&6; } |
15088 | ac_res=$ac_cv_search_inet_ntop | 9569 | ac_res=$ac_cv_search_inet_ntop |
15089 | if test "$ac_res" != no; then | 9570 | if test "$ac_res" != no; then : |
15090 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9571 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
15091 | 9572 | ||
15092 | fi | 9573 | fi |
15093 | 9574 | ||
15094 | { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 | 9575 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 |
15095 | echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; } | 9576 | $as_echo_n "checking for library containing gethostbyname... " >&6; } |
15096 | if test "${ac_cv_search_gethostbyname+set}" = set; then | 9577 | if ${ac_cv_search_gethostbyname+:} false; then : |
15097 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9578 | $as_echo_n "(cached) " >&6 |
15098 | else | 9579 | else |
15099 | ac_func_search_save_LIBS=$LIBS | 9580 | ac_func_search_save_LIBS=$LIBS |
15100 | cat >conftest.$ac_ext <<_ACEOF | 9581 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15101 | /* confdefs.h. */ | ||
15102 | _ACEOF | ||
15103 | cat confdefs.h >>conftest.$ac_ext | ||
15104 | cat >>conftest.$ac_ext <<_ACEOF | ||
15105 | /* end confdefs.h. */ | 9582 | /* end confdefs.h. */ |
15106 | 9583 | ||
15107 | /* Override any GCC internal prototype to avoid an error. | 9584 | /* Override any GCC internal prototype to avoid an error. |
@@ -15126,160 +9603,50 @@ for ac_lib in '' resolv nsl; do | |||
15126 | ac_res=-l$ac_lib | 9603 | ac_res=-l$ac_lib |
15127 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 9604 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
15128 | fi | 9605 | fi |
15129 | rm -f conftest.$ac_objext conftest$ac_exeext | 9606 | if ac_fn_c_try_link "$LINENO"; then : |
15130 | if { (ac_try="$ac_link" | ||
15131 | case "(($ac_try" in | ||
15132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15133 | *) ac_try_echo=$ac_try;; | ||
15134 | esac | ||
15135 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15136 | (eval "$ac_link") 2>conftest.er1 | ||
15137 | ac_status=$? | ||
15138 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15139 | rm -f conftest.er1 | ||
15140 | cat conftest.err >&5 | ||
15141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15142 | (exit $ac_status); } && { | ||
15143 | test -z "$ac_c_werror_flag" || | ||
15144 | test ! -s conftest.err | ||
15145 | } && test -s conftest$ac_exeext && | ||
15146 | $as_test_x conftest$ac_exeext; then | ||
15147 | ac_cv_search_gethostbyname=$ac_res | 9607 | ac_cv_search_gethostbyname=$ac_res |
15148 | else | ||
15149 | echo "$as_me: failed program was:" >&5 | ||
15150 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15151 | |||
15152 | |||
15153 | fi | 9608 | fi |
15154 | 9609 | rm -f core conftest.err conftest.$ac_objext \ | |
15155 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9610 | conftest$ac_exeext |
15156 | conftest$ac_exeext | 9611 | if ${ac_cv_search_gethostbyname+:} false; then : |
15157 | if test "${ac_cv_search_gethostbyname+set}" = set; then | ||
15158 | break | 9612 | break |
15159 | fi | 9613 | fi |
15160 | done | 9614 | done |
15161 | if test "${ac_cv_search_gethostbyname+set}" = set; then | 9615 | if ${ac_cv_search_gethostbyname+:} false; then : |
15162 | : | 9616 | |
15163 | else | 9617 | else |
15164 | ac_cv_search_gethostbyname=no | 9618 | ac_cv_search_gethostbyname=no |
15165 | fi | 9619 | fi |
15166 | rm conftest.$ac_ext | 9620 | rm conftest.$ac_ext |
15167 | LIBS=$ac_func_search_save_LIBS | 9621 | LIBS=$ac_func_search_save_LIBS |
15168 | fi | 9622 | fi |
15169 | { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 | 9623 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 |
15170 | echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; } | 9624 | $as_echo "$ac_cv_search_gethostbyname" >&6; } |
15171 | ac_res=$ac_cv_search_gethostbyname | 9625 | ac_res=$ac_cv_search_gethostbyname |
15172 | if test "$ac_res" != no; then | 9626 | if test "$ac_res" != no; then : |
15173 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 9627 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
15174 | 9628 | ||
15175 | fi | 9629 | fi |
15176 | 9630 | ||
15177 | 9631 | ||
15178 | |||
15179 | for ac_func in strftime | 9632 | for ac_func in strftime |
15180 | do | 9633 | do : |
15181 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9634 | ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" |
15182 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 9635 | if test "x$ac_cv_func_strftime" = xyes; then : |
15183 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
15184 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
15185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15186 | else | ||
15187 | cat >conftest.$ac_ext <<_ACEOF | ||
15188 | /* confdefs.h. */ | ||
15189 | _ACEOF | ||
15190 | cat confdefs.h >>conftest.$ac_ext | ||
15191 | cat >>conftest.$ac_ext <<_ACEOF | ||
15192 | /* end confdefs.h. */ | ||
15193 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
15194 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
15195 | #define $ac_func innocuous_$ac_func | ||
15196 | |||
15197 | /* System header to define __stub macros and hopefully few prototypes, | ||
15198 | which can conflict with char $ac_func (); below. | ||
15199 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
15200 | <limits.h> exists even on freestanding compilers. */ | ||
15201 | |||
15202 | #ifdef __STDC__ | ||
15203 | # include <limits.h> | ||
15204 | #else | ||
15205 | # include <assert.h> | ||
15206 | #endif | ||
15207 | |||
15208 | #undef $ac_func | ||
15209 | |||
15210 | /* Override any GCC internal prototype to avoid an error. | ||
15211 | Use char because int might match the return type of a GCC | ||
15212 | builtin and then its argument prototype would still apply. */ | ||
15213 | #ifdef __cplusplus | ||
15214 | extern "C" | ||
15215 | #endif | ||
15216 | char $ac_func (); | ||
15217 | /* The GNU C library defines this for functions which it implements | ||
15218 | to always fail with ENOSYS. Some functions are actually named | ||
15219 | something starting with __ and the normal name is an alias. */ | ||
15220 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
15221 | choke me | ||
15222 | #endif | ||
15223 | |||
15224 | int | ||
15225 | main () | ||
15226 | { | ||
15227 | return $ac_func (); | ||
15228 | ; | ||
15229 | return 0; | ||
15230 | } | ||
15231 | _ACEOF | ||
15232 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15233 | if { (ac_try="$ac_link" | ||
15234 | case "(($ac_try" in | ||
15235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15236 | *) ac_try_echo=$ac_try;; | ||
15237 | esac | ||
15238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15239 | (eval "$ac_link") 2>conftest.er1 | ||
15240 | ac_status=$? | ||
15241 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15242 | rm -f conftest.er1 | ||
15243 | cat conftest.err >&5 | ||
15244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15245 | (exit $ac_status); } && { | ||
15246 | test -z "$ac_c_werror_flag" || | ||
15247 | test ! -s conftest.err | ||
15248 | } && test -s conftest$ac_exeext && | ||
15249 | $as_test_x conftest$ac_exeext; then | ||
15250 | eval "$as_ac_var=yes" | ||
15251 | else | ||
15252 | echo "$as_me: failed program was:" >&5 | ||
15253 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15254 | |||
15255 | eval "$as_ac_var=no" | ||
15256 | fi | ||
15257 | |||
15258 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15259 | conftest$ac_exeext conftest.$ac_ext | ||
15260 | fi | ||
15261 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
15262 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
15263 | echo "${ECHO_T}$ac_res" >&6; } | ||
15264 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
15265 | cat >>confdefs.h <<_ACEOF | 9636 | cat >>confdefs.h <<_ACEOF |
15266 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9637 | #define HAVE_STRFTIME 1 |
15267 | _ACEOF | 9638 | _ACEOF |
15268 | 9639 | ||
15269 | else | 9640 | else |
15270 | # strftime is in -lintl on SCO UNIX. | 9641 | # strftime is in -lintl on SCO UNIX. |
15271 | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 9642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 |
15272 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } | 9643 | $as_echo_n "checking for strftime in -lintl... " >&6; } |
15273 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | 9644 | if ${ac_cv_lib_intl_strftime+:} false; then : |
15274 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9645 | $as_echo_n "(cached) " >&6 |
15275 | else | 9646 | else |
15276 | ac_check_lib_save_LIBS=$LIBS | 9647 | ac_check_lib_save_LIBS=$LIBS |
15277 | LIBS="-lintl $LIBS" | 9648 | LIBS="-lintl $LIBS" |
15278 | cat >conftest.$ac_ext <<_ACEOF | 9649 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15279 | /* confdefs.h. */ | ||
15280 | _ACEOF | ||
15281 | cat confdefs.h >>conftest.$ac_ext | ||
15282 | cat >>conftest.$ac_ext <<_ACEOF | ||
15283 | /* end confdefs.h. */ | 9650 | /* end confdefs.h. */ |
15284 | 9651 | ||
15285 | /* Override any GCC internal prototype to avoid an error. | 9652 | /* Override any GCC internal prototype to avoid an error. |
@@ -15297,42 +9664,19 @@ return strftime (); | |||
15297 | return 0; | 9664 | return 0; |
15298 | } | 9665 | } |
15299 | _ACEOF | 9666 | _ACEOF |
15300 | rm -f conftest.$ac_objext conftest$ac_exeext | 9667 | if ac_fn_c_try_link "$LINENO"; then : |
15301 | if { (ac_try="$ac_link" | ||
15302 | case "(($ac_try" in | ||
15303 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15304 | *) ac_try_echo=$ac_try;; | ||
15305 | esac | ||
15306 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15307 | (eval "$ac_link") 2>conftest.er1 | ||
15308 | ac_status=$? | ||
15309 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15310 | rm -f conftest.er1 | ||
15311 | cat conftest.err >&5 | ||
15312 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15313 | (exit $ac_status); } && { | ||
15314 | test -z "$ac_c_werror_flag" || | ||
15315 | test ! -s conftest.err | ||
15316 | } && test -s conftest$ac_exeext && | ||
15317 | $as_test_x conftest$ac_exeext; then | ||
15318 | ac_cv_lib_intl_strftime=yes | 9668 | ac_cv_lib_intl_strftime=yes |
15319 | else | 9669 | else |
15320 | echo "$as_me: failed program was:" >&5 | 9670 | ac_cv_lib_intl_strftime=no |
15321 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15322 | |||
15323 | ac_cv_lib_intl_strftime=no | ||
15324 | fi | 9671 | fi |
15325 | 9672 | rm -f core conftest.err conftest.$ac_objext \ | |
15326 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9673 | conftest$ac_exeext conftest.$ac_ext |
15327 | conftest$ac_exeext conftest.$ac_ext | ||
15328 | LIBS=$ac_check_lib_save_LIBS | 9674 | LIBS=$ac_check_lib_save_LIBS |
15329 | fi | 9675 | fi |
15330 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 9676 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 |
15331 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } | 9677 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } |
15332 | if test $ac_cv_lib_intl_strftime = yes; then | 9678 | if test "x$ac_cv_lib_intl_strftime" = xyes; then : |
15333 | cat >>confdefs.h <<\_ACEOF | 9679 | $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h |
15334 | #define HAVE_STRFTIME 1 | ||
15335 | _ACEOF | ||
15336 | 9680 | ||
15337 | LIBS="-lintl $LIBS" | 9681 | LIBS="-lintl $LIBS" |
15338 | fi | 9682 | fi |
@@ -15342,13 +9686,9 @@ done | |||
15342 | 9686 | ||
15343 | 9687 | ||
15344 | # Check for ALTDIRFUNC glob() extension | 9688 | # Check for ALTDIRFUNC glob() extension |
15345 | { echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 | 9689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_ALTDIRFUNC support" >&5 |
15346 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6; } | 9690 | $as_echo_n "checking for GLOB_ALTDIRFUNC support... " >&6; } |
15347 | cat >conftest.$ac_ext <<_ACEOF | 9691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15348 | /* confdefs.h. */ | ||
15349 | _ACEOF | ||
15350 | cat confdefs.h >>conftest.$ac_ext | ||
15351 | cat >>conftest.$ac_ext <<_ACEOF | ||
15352 | /* end confdefs.h. */ | 9692 | /* end confdefs.h. */ |
15353 | 9693 | ||
15354 | #include <glob.h> | 9694 | #include <glob.h> |
@@ -15358,20 +9698,18 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
15358 | 9698 | ||
15359 | _ACEOF | 9699 | _ACEOF |
15360 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9700 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15361 | $EGREP "FOUNDIT" >/dev/null 2>&1; then | 9701 | $EGREP "FOUNDIT" >/dev/null 2>&1; then : |
15362 | 9702 | ||
15363 | 9703 | ||
15364 | cat >>confdefs.h <<\_ACEOF | 9704 | $as_echo "#define GLOB_HAS_ALTDIRFUNC 1" >>confdefs.h |
15365 | #define GLOB_HAS_ALTDIRFUNC 1 | ||
15366 | _ACEOF | ||
15367 | 9705 | ||
15368 | { echo "$as_me:$LINENO: result: yes" >&5 | 9706 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15369 | echo "${ECHO_T}yes" >&6; } | 9707 | $as_echo "yes" >&6; } |
15370 | 9708 | ||
15371 | else | 9709 | else |
15372 | 9710 | ||
15373 | { echo "$as_me:$LINENO: result: no" >&5 | 9711 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15374 | echo "${ECHO_T}no" >&6; } | 9712 | $as_echo "no" >&6; } |
15375 | 9713 | ||
15376 | 9714 | ||
15377 | fi | 9715 | fi |
@@ -15379,13 +9717,9 @@ rm -f conftest* | |||
15379 | 9717 | ||
15380 | 9718 | ||
15381 | # Check for g.gl_matchc glob() extension | 9719 | # Check for g.gl_matchc glob() extension |
15382 | { echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 | 9720 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl_matchc field in glob_t" >&5 |
15383 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6; } | 9721 | $as_echo_n "checking for gl_matchc field in glob_t... " >&6; } |
15384 | cat >conftest.$ac_ext <<_ACEOF | 9722 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15385 | /* confdefs.h. */ | ||
15386 | _ACEOF | ||
15387 | cat confdefs.h >>conftest.$ac_ext | ||
15388 | cat >>conftest.$ac_ext <<_ACEOF | ||
15389 | /* end confdefs.h. */ | 9723 | /* end confdefs.h. */ |
15390 | #include <glob.h> | 9724 | #include <glob.h> |
15391 | int | 9725 | int |
@@ -15396,52 +9730,26 @@ main () | |||
15396 | return 0; | 9730 | return 0; |
15397 | } | 9731 | } |
15398 | _ACEOF | 9732 | _ACEOF |
15399 | rm -f conftest.$ac_objext | 9733 | if ac_fn_c_try_compile "$LINENO"; then : |
15400 | if { (ac_try="$ac_compile" | ||
15401 | case "(($ac_try" in | ||
15402 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15403 | *) ac_try_echo=$ac_try;; | ||
15404 | esac | ||
15405 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15406 | (eval "$ac_compile") 2>conftest.er1 | ||
15407 | ac_status=$? | ||
15408 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15409 | rm -f conftest.er1 | ||
15410 | cat conftest.err >&5 | ||
15411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15412 | (exit $ac_status); } && { | ||
15413 | test -z "$ac_c_werror_flag" || | ||
15414 | test ! -s conftest.err | ||
15415 | } && test -s conftest.$ac_objext; then | ||
15416 | 9734 | ||
15417 | 9735 | ||
15418 | cat >>confdefs.h <<\_ACEOF | 9736 | $as_echo "#define GLOB_HAS_GL_MATCHC 1" >>confdefs.h |
15419 | #define GLOB_HAS_GL_MATCHC 1 | ||
15420 | _ACEOF | ||
15421 | 9737 | ||
15422 | { echo "$as_me:$LINENO: result: yes" >&5 | 9738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15423 | echo "${ECHO_T}yes" >&6; } | 9739 | $as_echo "yes" >&6; } |
15424 | 9740 | ||
15425 | else | 9741 | else |
15426 | echo "$as_me: failed program was:" >&5 | ||
15427 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15428 | 9742 | ||
15429 | 9743 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
15430 | { echo "$as_me:$LINENO: result: no" >&5 | 9744 | $as_echo "no" >&6; } |
15431 | echo "${ECHO_T}no" >&6; } | ||
15432 | 9745 | ||
15433 | fi | 9746 | fi |
15434 | |||
15435 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9747 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15436 | 9748 | ||
15437 | # Check for g.gl_statv glob() extension | 9749 | # Check for g.gl_statv glob() extension |
15438 | { echo "$as_me:$LINENO: checking for gl_statv and GLOB_KEEPSTAT extensions for glob" >&5 | 9750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl_statv and GLOB_KEEPSTAT extensions for glob" >&5 |
15439 | echo $ECHO_N "checking for gl_statv and GLOB_KEEPSTAT extensions for glob... $ECHO_C" >&6; } | 9751 | $as_echo_n "checking for gl_statv and GLOB_KEEPSTAT extensions for glob... " >&6; } |
15440 | cat >conftest.$ac_ext <<_ACEOF | 9752 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15441 | /* confdefs.h. */ | ||
15442 | _ACEOF | ||
15443 | cat confdefs.h >>conftest.$ac_ext | ||
15444 | cat >>conftest.$ac_ext <<_ACEOF | ||
15445 | /* end confdefs.h. */ | 9753 | /* end confdefs.h. */ |
15446 | #include <glob.h> | 9754 | #include <glob.h> |
15447 | int | 9755 | int |
@@ -15458,197 +9766,59 @@ g.gl_statv = NULL; | |||
15458 | return 0; | 9766 | return 0; |
15459 | } | 9767 | } |
15460 | _ACEOF | 9768 | _ACEOF |
15461 | rm -f conftest.$ac_objext | 9769 | if ac_fn_c_try_compile "$LINENO"; then : |
15462 | if { (ac_try="$ac_compile" | ||
15463 | case "(($ac_try" in | ||
15464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15465 | *) ac_try_echo=$ac_try;; | ||
15466 | esac | ||
15467 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15468 | (eval "$ac_compile") 2>conftest.er1 | ||
15469 | ac_status=$? | ||
15470 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15471 | rm -f conftest.er1 | ||
15472 | cat conftest.err >&5 | ||
15473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15474 | (exit $ac_status); } && { | ||
15475 | test -z "$ac_c_werror_flag" || | ||
15476 | test ! -s conftest.err | ||
15477 | } && test -s conftest.$ac_objext; then | ||
15478 | 9770 | ||
15479 | 9771 | ||
15480 | cat >>confdefs.h <<\_ACEOF | 9772 | $as_echo "#define GLOB_HAS_GL_STATV 1" >>confdefs.h |
15481 | #define GLOB_HAS_GL_STATV 1 | ||
15482 | _ACEOF | ||
15483 | 9773 | ||
15484 | { echo "$as_me:$LINENO: result: yes" >&5 | 9774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15485 | echo "${ECHO_T}yes" >&6; } | 9775 | $as_echo "yes" >&6; } |
15486 | 9776 | ||
15487 | else | 9777 | else |
15488 | echo "$as_me: failed program was:" >&5 | ||
15489 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15490 | |||
15491 | 9778 | ||
15492 | { echo "$as_me:$LINENO: result: no" >&5 | 9779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15493 | echo "${ECHO_T}no" >&6; } | 9780 | $as_echo "no" >&6; } |
15494 | 9781 | ||
15495 | 9782 | ||
15496 | fi | 9783 | fi |
15497 | |||
15498 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9784 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15499 | 9785 | ||
15500 | { echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5 | 9786 | ac_fn_c_check_decl "$LINENO" "GLOB_NOMATCH" "ac_cv_have_decl_GLOB_NOMATCH" "#include <glob.h> |
15501 | echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } | 9787 | " |
15502 | if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then | 9788 | if test "x$ac_cv_have_decl_GLOB_NOMATCH" = xyes; then : |
15503 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 9789 | ac_have_decl=1 |
15504 | else | ||
15505 | cat >conftest.$ac_ext <<_ACEOF | ||
15506 | /* confdefs.h. */ | ||
15507 | _ACEOF | ||
15508 | cat confdefs.h >>conftest.$ac_ext | ||
15509 | cat >>conftest.$ac_ext <<_ACEOF | ||
15510 | /* end confdefs.h. */ | ||
15511 | #include <glob.h> | ||
15512 | |||
15513 | int | ||
15514 | main () | ||
15515 | { | ||
15516 | #ifndef GLOB_NOMATCH | ||
15517 | (void) GLOB_NOMATCH; | ||
15518 | #endif | ||
15519 | |||
15520 | ; | ||
15521 | return 0; | ||
15522 | } | ||
15523 | _ACEOF | ||
15524 | rm -f conftest.$ac_objext | ||
15525 | if { (ac_try="$ac_compile" | ||
15526 | case "(($ac_try" in | ||
15527 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15528 | *) ac_try_echo=$ac_try;; | ||
15529 | esac | ||
15530 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15531 | (eval "$ac_compile") 2>conftest.er1 | ||
15532 | ac_status=$? | ||
15533 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15534 | rm -f conftest.er1 | ||
15535 | cat conftest.err >&5 | ||
15536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15537 | (exit $ac_status); } && { | ||
15538 | test -z "$ac_c_werror_flag" || | ||
15539 | test ! -s conftest.err | ||
15540 | } && test -s conftest.$ac_objext; then | ||
15541 | ac_cv_have_decl_GLOB_NOMATCH=yes | ||
15542 | else | 9790 | else |
15543 | echo "$as_me: failed program was:" >&5 | 9791 | ac_have_decl=0 |
15544 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15545 | |||
15546 | ac_cv_have_decl_GLOB_NOMATCH=no | ||
15547 | fi | ||
15548 | |||
15549 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
15550 | fi | 9792 | fi |
15551 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5 | ||
15552 | echo "${ECHO_T}$ac_cv_have_decl_GLOB_NOMATCH" >&6; } | ||
15553 | if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then | ||
15554 | 9793 | ||
15555 | cat >>confdefs.h <<_ACEOF | 9794 | cat >>confdefs.h <<_ACEOF |
15556 | #define HAVE_DECL_GLOB_NOMATCH 1 | 9795 | #define HAVE_DECL_GLOB_NOMATCH $ac_have_decl |
15557 | _ACEOF | 9796 | _ACEOF |
15558 | 9797 | ||
15559 | 9798 | ||
15560 | else | 9799 | ac_fn_c_check_decl "$LINENO" "VIS_ALL" "ac_cv_have_decl_VIS_ALL" "#include <vis.h> |
15561 | cat >>confdefs.h <<_ACEOF | 9800 | " |
15562 | #define HAVE_DECL_GLOB_NOMATCH 0 | 9801 | if test "x$ac_cv_have_decl_VIS_ALL" = xyes; then : |
15563 | _ACEOF | ||
15564 | |||
15565 | |||
15566 | fi | ||
15567 | |||
15568 | |||
15569 | |||
15570 | { echo "$as_me:$LINENO: checking whether VIS_ALL is declared" >&5 | ||
15571 | echo $ECHO_N "checking whether VIS_ALL is declared... $ECHO_C" >&6; } | ||
15572 | if test "${ac_cv_have_decl_VIS_ALL+set}" = set; then | ||
15573 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15574 | else | ||
15575 | cat >conftest.$ac_ext <<_ACEOF | ||
15576 | /* confdefs.h. */ | ||
15577 | _ACEOF | ||
15578 | cat confdefs.h >>conftest.$ac_ext | ||
15579 | cat >>conftest.$ac_ext <<_ACEOF | ||
15580 | /* end confdefs.h. */ | ||
15581 | #include <vis.h> | ||
15582 | |||
15583 | int | ||
15584 | main () | ||
15585 | { | ||
15586 | #ifndef VIS_ALL | ||
15587 | (void) VIS_ALL; | ||
15588 | #endif | ||
15589 | |||
15590 | ; | ||
15591 | return 0; | ||
15592 | } | ||
15593 | _ACEOF | ||
15594 | rm -f conftest.$ac_objext | ||
15595 | if { (ac_try="$ac_compile" | ||
15596 | case "(($ac_try" in | ||
15597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15598 | *) ac_try_echo=$ac_try;; | ||
15599 | esac | ||
15600 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15601 | (eval "$ac_compile") 2>conftest.er1 | ||
15602 | ac_status=$? | ||
15603 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15604 | rm -f conftest.er1 | ||
15605 | cat conftest.err >&5 | ||
15606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15607 | (exit $ac_status); } && { | ||
15608 | test -z "$ac_c_werror_flag" || | ||
15609 | test ! -s conftest.err | ||
15610 | } && test -s conftest.$ac_objext; then | ||
15611 | ac_cv_have_decl_VIS_ALL=yes | ||
15612 | else | ||
15613 | echo "$as_me: failed program was:" >&5 | ||
15614 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15615 | |||
15616 | ac_cv_have_decl_VIS_ALL=no | ||
15617 | fi | ||
15618 | 9802 | ||
15619 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
15620 | fi | ||
15621 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_VIS_ALL" >&5 | ||
15622 | echo "${ECHO_T}$ac_cv_have_decl_VIS_ALL" >&6; } | ||
15623 | if test $ac_cv_have_decl_VIS_ALL = yes; then | ||
15624 | : | ||
15625 | else | 9803 | else |
15626 | 9804 | ||
15627 | cat >>confdefs.h <<\_ACEOF | 9805 | $as_echo "#define BROKEN_STRNVIS 1" >>confdefs.h |
15628 | #define BROKEN_STRNVIS 1 | ||
15629 | _ACEOF | ||
15630 | 9806 | ||
15631 | fi | 9807 | fi |
15632 | 9808 | ||
15633 | 9809 | ||
15634 | { echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 | 9810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent allocates space for d_name" >&5 |
15635 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6; } | 9811 | $as_echo_n "checking whether struct dirent allocates space for d_name... " >&6; } |
15636 | if test "$cross_compiling" = yes; then | 9812 | if test "$cross_compiling" = yes; then : |
15637 | 9813 | ||
15638 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 | 9814 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 |
15639 | echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} | 9815 | $as_echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} |
15640 | cat >>confdefs.h <<\_ACEOF | 9816 | $as_echo "#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1" >>confdefs.h |
15641 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | ||
15642 | _ACEOF | ||
15643 | 9817 | ||
15644 | 9818 | ||
15645 | 9819 | ||
15646 | else | 9820 | else |
15647 | cat >conftest.$ac_ext <<_ACEOF | 9821 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15648 | /* confdefs.h. */ | ||
15649 | _ACEOF | ||
15650 | cat confdefs.h >>conftest.$ac_ext | ||
15651 | cat >>conftest.$ac_ext <<_ACEOF | ||
15652 | /* end confdefs.h. */ | 9822 | /* end confdefs.h. */ |
15653 | 9823 | ||
15654 | #include <sys/types.h> | 9824 | #include <sys/types.h> |
@@ -15664,69 +9834,41 @@ main () | |||
15664 | return 0; | 9834 | return 0; |
15665 | } | 9835 | } |
15666 | _ACEOF | 9836 | _ACEOF |
15667 | rm -f conftest$ac_exeext | 9837 | if ac_fn_c_try_run "$LINENO"; then : |
15668 | if { (ac_try="$ac_link" | 9838 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15669 | case "(($ac_try" in | 9839 | $as_echo "yes" >&6; } |
15670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15671 | *) ac_try_echo=$ac_try;; | ||
15672 | esac | ||
15673 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15674 | (eval "$ac_link") 2>&5 | ||
15675 | ac_status=$? | ||
15676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15677 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
15678 | { (case "(($ac_try" in | ||
15679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15680 | *) ac_try_echo=$ac_try;; | ||
15681 | esac | ||
15682 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15683 | (eval "$ac_try") 2>&5 | ||
15684 | ac_status=$? | ||
15685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15686 | (exit $ac_status); }; }; then | ||
15687 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15688 | echo "${ECHO_T}yes" >&6; } | ||
15689 | else | 9840 | else |
15690 | echo "$as_me: program exited with status $ac_status" >&5 | ||
15691 | echo "$as_me: failed program was:" >&5 | ||
15692 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15693 | |||
15694 | ( exit $ac_status ) | ||
15695 | 9841 | ||
15696 | { echo "$as_me:$LINENO: result: no" >&5 | 9842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15697 | echo "${ECHO_T}no" >&6; } | 9843 | $as_echo "no" >&6; } |
15698 | 9844 | ||
15699 | cat >>confdefs.h <<\_ACEOF | 9845 | $as_echo "#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1" >>confdefs.h |
15700 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | ||
15701 | _ACEOF | ||
15702 | 9846 | ||
15703 | 9847 | ||
15704 | fi | 9848 | fi |
15705 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 9849 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
9850 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
15706 | fi | 9851 | fi |
15707 | 9852 | ||
15708 | 9853 | ||
15709 | 9854 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/pid/fd directory" >&5 | |
15710 | { echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 | 9855 | $as_echo_n "checking for /proc/pid/fd directory... " >&6; } |
15711 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; } | ||
15712 | if test -d "/proc/$$/fd" ; then | 9856 | if test -d "/proc/$$/fd" ; then |
15713 | 9857 | ||
15714 | cat >>confdefs.h <<\_ACEOF | 9858 | $as_echo "#define HAVE_PROC_PID 1" >>confdefs.h |
15715 | #define HAVE_PROC_PID 1 | ||
15716 | _ACEOF | ||
15717 | 9859 | ||
15718 | { echo "$as_me:$LINENO: result: yes" >&5 | 9860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15719 | echo "${ECHO_T}yes" >&6; } | 9861 | $as_echo "yes" >&6; } |
15720 | else | 9862 | else |
15721 | { echo "$as_me:$LINENO: result: no" >&5 | 9863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15722 | echo "${ECHO_T}no" >&6; } | 9864 | $as_echo "no" >&6; } |
15723 | fi | 9865 | fi |
15724 | 9866 | ||
15725 | # Check whether user wants S/Key support | 9867 | # Check whether user wants S/Key support |
15726 | SKEY_MSG="no" | 9868 | SKEY_MSG="no" |
15727 | 9869 | ||
15728 | # Check whether --with-skey was given. | 9870 | # Check whether --with-skey was given. |
15729 | if test "${with_skey+set}" = set; then | 9871 | if test "${with_skey+set}" = set; then : |
15730 | withval=$with_skey; | 9872 | withval=$with_skey; |
15731 | if test "x$withval" != "xno" ; then | 9873 | if test "x$withval" != "xno" ; then |
15732 | 9874 | ||
@@ -15736,20 +9878,14 @@ if test "${with_skey+set}" = set; then | |||
15736 | fi | 9878 | fi |
15737 | 9879 | ||
15738 | 9880 | ||
15739 | cat >>confdefs.h <<\_ACEOF | 9881 | $as_echo "#define SKEY 1" >>confdefs.h |
15740 | #define SKEY 1 | ||
15741 | _ACEOF | ||
15742 | 9882 | ||
15743 | LIBS="-lskey $LIBS" | 9883 | LIBS="-lskey $LIBS" |
15744 | SKEY_MSG="yes" | 9884 | SKEY_MSG="yes" |
15745 | 9885 | ||
15746 | { echo "$as_me:$LINENO: checking for s/key support" >&5 | 9886 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for s/key support" >&5 |
15747 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6; } | 9887 | $as_echo_n "checking for s/key support... " >&6; } |
15748 | cat >conftest.$ac_ext <<_ACEOF | 9888 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15749 | /* confdefs.h. */ | ||
15750 | _ACEOF | ||
15751 | cat confdefs.h >>conftest.$ac_ext | ||
15752 | cat >>conftest.$ac_ext <<_ACEOF | ||
15753 | /* end confdefs.h. */ | 9889 | /* end confdefs.h. */ |
15754 | 9890 | ||
15755 | #include <stdio.h> | 9891 | #include <stdio.h> |
@@ -15766,48 +9902,21 @@ main () | |||
15766 | return 0; | 9902 | return 0; |
15767 | } | 9903 | } |
15768 | _ACEOF | 9904 | _ACEOF |
15769 | rm -f conftest.$ac_objext conftest$ac_exeext | 9905 | if ac_fn_c_try_link "$LINENO"; then : |
15770 | if { (ac_try="$ac_link" | 9906 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15771 | case "(($ac_try" in | 9907 | $as_echo "yes" >&6; } |
15772 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15773 | *) ac_try_echo=$ac_try;; | ||
15774 | esac | ||
15775 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15776 | (eval "$ac_link") 2>conftest.er1 | ||
15777 | ac_status=$? | ||
15778 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15779 | rm -f conftest.er1 | ||
15780 | cat conftest.err >&5 | ||
15781 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15782 | (exit $ac_status); } && { | ||
15783 | test -z "$ac_c_werror_flag" || | ||
15784 | test ! -s conftest.err | ||
15785 | } && test -s conftest$ac_exeext && | ||
15786 | $as_test_x conftest$ac_exeext; then | ||
15787 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15788 | echo "${ECHO_T}yes" >&6; } | ||
15789 | else | 9908 | else |
15790 | echo "$as_me: failed program was:" >&5 | ||
15791 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15792 | |||
15793 | 9909 | ||
15794 | { echo "$as_me:$LINENO: result: no" >&5 | 9910 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15795 | echo "${ECHO_T}no" >&6; } | 9911 | $as_echo "no" >&6; } |
15796 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 | 9912 | as_fn_error $? "** Incomplete or missing s/key libraries." "$LINENO" 5 |
15797 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | ||
15798 | { (exit 1); exit 1; }; } | ||
15799 | 9913 | ||
15800 | fi | 9914 | fi |
15801 | 9915 | rm -f core conftest.err conftest.$ac_objext \ | |
15802 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9916 | conftest$ac_exeext conftest.$ac_ext |
15803 | conftest$ac_exeext conftest.$ac_ext | 9917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if skeychallenge takes 4 arguments" >&5 |
15804 | { echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 | 9918 | $as_echo_n "checking if skeychallenge takes 4 arguments... " >&6; } |
15805 | echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6; } | 9919 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15806 | cat >conftest.$ac_ext <<_ACEOF | ||
15807 | /* confdefs.h. */ | ||
15808 | _ACEOF | ||
15809 | cat confdefs.h >>conftest.$ac_ext | ||
15810 | cat >>conftest.$ac_ext <<_ACEOF | ||
15811 | /* end confdefs.h. */ | 9920 | /* end confdefs.h. */ |
15812 | 9921 | ||
15813 | #include <stdio.h> | 9922 | #include <stdio.h> |
@@ -15823,41 +9932,19 @@ main () | |||
15823 | return 0; | 9932 | return 0; |
15824 | } | 9933 | } |
15825 | _ACEOF | 9934 | _ACEOF |
15826 | rm -f conftest.$ac_objext | 9935 | if ac_fn_c_try_compile "$LINENO"; then : |
15827 | if { (ac_try="$ac_compile" | ||
15828 | case "(($ac_try" in | ||
15829 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15830 | *) ac_try_echo=$ac_try;; | ||
15831 | esac | ||
15832 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15833 | (eval "$ac_compile") 2>conftest.er1 | ||
15834 | ac_status=$? | ||
15835 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15836 | rm -f conftest.er1 | ||
15837 | cat conftest.err >&5 | ||
15838 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15839 | (exit $ac_status); } && { | ||
15840 | test -z "$ac_c_werror_flag" || | ||
15841 | test ! -s conftest.err | ||
15842 | } && test -s conftest.$ac_objext; then | ||
15843 | 9936 | ||
15844 | { echo "$as_me:$LINENO: result: yes" >&5 | 9937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15845 | echo "${ECHO_T}yes" >&6; } | 9938 | $as_echo "yes" >&6; } |
15846 | 9939 | ||
15847 | cat >>confdefs.h <<\_ACEOF | 9940 | $as_echo "#define SKEYCHALLENGE_4ARG 1" >>confdefs.h |
15848 | #define SKEYCHALLENGE_4ARG 1 | ||
15849 | _ACEOF | ||
15850 | 9941 | ||
15851 | else | 9942 | else |
15852 | echo "$as_me: failed program was:" >&5 | ||
15853 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15854 | 9943 | ||
15855 | 9944 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
15856 | { echo "$as_me:$LINENO: result: no" >&5 | 9945 | $as_echo "no" >&6; } |
15857 | echo "${ECHO_T}no" >&6; } | ||
15858 | 9946 | ||
15859 | fi | 9947 | fi |
15860 | |||
15861 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 9948 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15862 | fi | 9949 | fi |
15863 | 9950 | ||
@@ -15869,7 +9956,7 @@ fi | |||
15869 | LDNS_MSG="no" | 9956 | LDNS_MSG="no" |
15870 | 9957 | ||
15871 | # Check whether --with-ldns was given. | 9958 | # Check whether --with-ldns was given. |
15872 | if test "${with_ldns+set}" = set; then | 9959 | if test "${with_ldns+set}" = set; then : |
15873 | withval=$with_ldns; | 9960 | withval=$with_ldns; |
15874 | if test "x$withval" != "xno" ; then | 9961 | if test "x$withval" != "xno" ; then |
15875 | 9962 | ||
@@ -15879,20 +9966,14 @@ if test "${with_ldns+set}" = set; then | |||
15879 | fi | 9966 | fi |
15880 | 9967 | ||
15881 | 9968 | ||
15882 | cat >>confdefs.h <<\_ACEOF | 9969 | $as_echo "#define HAVE_LDNS 1" >>confdefs.h |
15883 | #define HAVE_LDNS 1 | ||
15884 | _ACEOF | ||
15885 | 9970 | ||
15886 | LIBS="-lldns $LIBS" | 9971 | LIBS="-lldns $LIBS" |
15887 | LDNS_MSG="yes" | 9972 | LDNS_MSG="yes" |
15888 | 9973 | ||
15889 | { echo "$as_me:$LINENO: checking for ldns support" >&5 | 9974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns support" >&5 |
15890 | echo $ECHO_N "checking for ldns support... $ECHO_C" >&6; } | 9975 | $as_echo_n "checking for ldns support... " >&6; } |
15891 | cat >conftest.$ac_ext <<_ACEOF | 9976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
15892 | /* confdefs.h. */ | ||
15893 | _ACEOF | ||
15894 | cat confdefs.h >>conftest.$ac_ext | ||
15895 | cat >>conftest.$ac_ext <<_ACEOF | ||
15896 | /* end confdefs.h. */ | 9977 | /* end confdefs.h. */ |
15897 | 9978 | ||
15898 | #include <stdio.h> | 9979 | #include <stdio.h> |
@@ -15903,41 +9984,18 @@ int main() { ldns_status status = ldns_verify_trusted(NULL, NULL, NULL, NULL); s | |||
15903 | 9984 | ||
15904 | 9985 | ||
15905 | _ACEOF | 9986 | _ACEOF |
15906 | rm -f conftest.$ac_objext conftest$ac_exeext | 9987 | if ac_fn_c_try_link "$LINENO"; then : |
15907 | if { (ac_try="$ac_link" | 9988 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
15908 | case "(($ac_try" in | 9989 | $as_echo "yes" >&6; } |
15909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15910 | *) ac_try_echo=$ac_try;; | ||
15911 | esac | ||
15912 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15913 | (eval "$ac_link") 2>conftest.er1 | ||
15914 | ac_status=$? | ||
15915 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15916 | rm -f conftest.er1 | ||
15917 | cat conftest.err >&5 | ||
15918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15919 | (exit $ac_status); } && { | ||
15920 | test -z "$ac_c_werror_flag" || | ||
15921 | test ! -s conftest.err | ||
15922 | } && test -s conftest$ac_exeext && | ||
15923 | $as_test_x conftest$ac_exeext; then | ||
15924 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15925 | echo "${ECHO_T}yes" >&6; } | ||
15926 | else | 9990 | else |
15927 | echo "$as_me: failed program was:" >&5 | ||
15928 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15929 | |||
15930 | 9991 | ||
15931 | { echo "$as_me:$LINENO: result: no" >&5 | 9992 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15932 | echo "${ECHO_T}no" >&6; } | 9993 | $as_echo "no" >&6; } |
15933 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing ldns libraries." >&5 | 9994 | as_fn_error $? "** Incomplete or missing ldns libraries." "$LINENO" 5 |
15934 | echo "$as_me: error: ** Incomplete or missing ldns libraries." >&2;} | ||
15935 | { (exit 1); exit 1; }; } | ||
15936 | 9995 | ||
15937 | fi | 9996 | fi |
15938 | 9997 | rm -f core conftest.err conftest.$ac_objext \ | |
15939 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 9998 | conftest$ac_exeext conftest.$ac_ext |
15940 | conftest$ac_exeext conftest.$ac_ext | ||
15941 | fi | 9999 | fi |
15942 | 10000 | ||
15943 | 10001 | ||
@@ -15948,16 +10006,16 @@ fi | |||
15948 | LIBEDIT_MSG="no" | 10006 | LIBEDIT_MSG="no" |
15949 | 10007 | ||
15950 | # Check whether --with-libedit was given. | 10008 | # Check whether --with-libedit was given. |
15951 | if test "${with_libedit+set}" = set; then | 10009 | if test "${with_libedit+set}" = set; then : |
15952 | withval=$with_libedit; if test "x$withval" != "xno" ; then | 10010 | withval=$with_libedit; if test "x$withval" != "xno" ; then |
15953 | if test "x$withval" = "xyes" ; then | 10011 | if test "x$withval" = "xyes" ; then |
15954 | if test -n "$ac_tool_prefix"; then | 10012 | if test -n "$ac_tool_prefix"; then |
15955 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | 10013 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
15956 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 10014 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
15957 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
15958 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 10016 | $as_echo_n "checking for $ac_word... " >&6; } |
15959 | if test "${ac_cv_path_PKGCONFIG+set}" = set; then | 10017 | if ${ac_cv_path_PKGCONFIG+:} false; then : |
15960 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10018 | $as_echo_n "(cached) " >&6 |
15961 | else | 10019 | else |
15962 | case $PKGCONFIG in | 10020 | case $PKGCONFIG in |
15963 | [\\/]* | ?:[\\/]*) | 10021 | [\\/]* | ?:[\\/]*) |
@@ -15969,14 +10027,14 @@ for as_dir in $PATH | |||
15969 | do | 10027 | do |
15970 | IFS=$as_save_IFS | 10028 | IFS=$as_save_IFS |
15971 | test -z "$as_dir" && as_dir=. | 10029 | test -z "$as_dir" && as_dir=. |
15972 | for ac_exec_ext in '' $ac_executable_extensions; do | 10030 | for ac_exec_ext in '' $ac_executable_extensions; do |
15973 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 10031 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
15974 | ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | 10032 | ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" |
15975 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10033 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
15976 | break 2 | 10034 | break 2 |
15977 | fi | 10035 | fi |
15978 | done | 10036 | done |
15979 | done | 10037 | done |
15980 | IFS=$as_save_IFS | 10038 | IFS=$as_save_IFS |
15981 | 10039 | ||
15982 | ;; | 10040 | ;; |
@@ -15984,11 +10042,11 @@ esac | |||
15984 | fi | 10042 | fi |
15985 | PKGCONFIG=$ac_cv_path_PKGCONFIG | 10043 | PKGCONFIG=$ac_cv_path_PKGCONFIG |
15986 | if test -n "$PKGCONFIG"; then | 10044 | if test -n "$PKGCONFIG"; then |
15987 | { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5 | 10045 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 |
15988 | echo "${ECHO_T}$PKGCONFIG" >&6; } | 10046 | $as_echo "$PKGCONFIG" >&6; } |
15989 | else | 10047 | else |
15990 | { echo "$as_me:$LINENO: result: no" >&5 | 10048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15991 | echo "${ECHO_T}no" >&6; } | 10049 | $as_echo "no" >&6; } |
15992 | fi | 10050 | fi |
15993 | 10051 | ||
15994 | 10052 | ||
@@ -15997,10 +10055,10 @@ if test -z "$ac_cv_path_PKGCONFIG"; then | |||
15997 | ac_pt_PKGCONFIG=$PKGCONFIG | 10055 | ac_pt_PKGCONFIG=$PKGCONFIG |
15998 | # Extract the first word of "pkg-config", so it can be a program name with args. | 10056 | # Extract the first word of "pkg-config", so it can be a program name with args. |
15999 | set dummy pkg-config; ac_word=$2 | 10057 | set dummy pkg-config; ac_word=$2 |
16000 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 10058 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
16001 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 10059 | $as_echo_n "checking for $ac_word... " >&6; } |
16002 | if test "${ac_cv_path_ac_pt_PKGCONFIG+set}" = set; then | 10060 | if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : |
16003 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10061 | $as_echo_n "(cached) " >&6 |
16004 | else | 10062 | else |
16005 | case $ac_pt_PKGCONFIG in | 10063 | case $ac_pt_PKGCONFIG in |
16006 | [\\/]* | ?:[\\/]*) | 10064 | [\\/]* | ?:[\\/]*) |
@@ -16012,14 +10070,14 @@ for as_dir in $PATH | |||
16012 | do | 10070 | do |
16013 | IFS=$as_save_IFS | 10071 | IFS=$as_save_IFS |
16014 | test -z "$as_dir" && as_dir=. | 10072 | test -z "$as_dir" && as_dir=. |
16015 | for ac_exec_ext in '' $ac_executable_extensions; do | 10073 | for ac_exec_ext in '' $ac_executable_extensions; do |
16016 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 10074 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
16017 | ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | 10075 | ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" |
16018 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 10076 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16019 | break 2 | 10077 | break 2 |
16020 | fi | 10078 | fi |
16021 | done | 10079 | done |
16022 | done | 10080 | done |
16023 | IFS=$as_save_IFS | 10081 | IFS=$as_save_IFS |
16024 | 10082 | ||
16025 | ;; | 10083 | ;; |
@@ -16027,11 +10085,11 @@ esac | |||
16027 | fi | 10085 | fi |
16028 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG | 10086 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG |
16029 | if test -n "$ac_pt_PKGCONFIG"; then | 10087 | if test -n "$ac_pt_PKGCONFIG"; then |
16030 | { echo "$as_me:$LINENO: result: $ac_pt_PKGCONFIG" >&5 | 10088 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 |
16031 | echo "${ECHO_T}$ac_pt_PKGCONFIG" >&6; } | 10089 | $as_echo "$ac_pt_PKGCONFIG" >&6; } |
16032 | else | 10090 | else |
16033 | { echo "$as_me:$LINENO: result: no" >&5 | 10091 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16034 | echo "${ECHO_T}no" >&6; } | 10092 | $as_echo "no" >&6; } |
16035 | fi | 10093 | fi |
16036 | 10094 | ||
16037 | if test "x$ac_pt_PKGCONFIG" = x; then | 10095 | if test "x$ac_pt_PKGCONFIG" = x; then |
@@ -16039,12 +10097,8 @@ fi | |||
16039 | else | 10097 | else |
16040 | case $cross_compiling:$ac_tool_warned in | 10098 | case $cross_compiling:$ac_tool_warned in |
16041 | yes:) | 10099 | yes:) |
16042 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | 10100 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
16043 | whose name does not start with the host triplet. If you think this | 10101 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
16044 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
16045 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
16046 | whose name does not start with the host triplet. If you think this | ||
16047 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
16048 | ac_tool_warned=yes ;; | 10102 | ac_tool_warned=yes ;; |
16049 | esac | 10103 | esac |
16050 | PKGCONFIG=$ac_pt_PKGCONFIG | 10104 | PKGCONFIG=$ac_pt_PKGCONFIG |
@@ -16054,15 +10108,15 @@ else | |||
16054 | fi | 10108 | fi |
16055 | 10109 | ||
16056 | if test "x$PKGCONFIG" != "xno"; then | 10110 | if test "x$PKGCONFIG" != "xno"; then |
16057 | { echo "$as_me:$LINENO: checking if $PKGCONFIG knows about libedit" >&5 | 10111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $PKGCONFIG knows about libedit" >&5 |
16058 | echo $ECHO_N "checking if $PKGCONFIG knows about libedit... $ECHO_C" >&6; } | 10112 | $as_echo_n "checking if $PKGCONFIG knows about libedit... " >&6; } |
16059 | if "$PKGCONFIG" libedit; then | 10113 | if "$PKGCONFIG" libedit; then |
16060 | { echo "$as_me:$LINENO: result: yes" >&5 | 10114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16061 | echo "${ECHO_T}yes" >&6; } | 10115 | $as_echo "yes" >&6; } |
16062 | use_pkgconfig_for_libedit=yes | 10116 | use_pkgconfig_for_libedit=yes |
16063 | else | 10117 | else |
16064 | { echo "$as_me:$LINENO: result: no" >&5 | 10118 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16065 | echo "${ECHO_T}no" >&6; } | 10119 | $as_echo "no" >&6; } |
16066 | fi | 10120 | fi |
16067 | fi | 10121 | fi |
16068 | else | 10122 | else |
@@ -16080,19 +10134,15 @@ echo "${ECHO_T}no" >&6; } | |||
16080 | LIBEDIT="-ledit -lcurses" | 10134 | LIBEDIT="-ledit -lcurses" |
16081 | fi | 10135 | fi |
16082 | OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'` | 10136 | OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'` |
16083 | { echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 | 10137 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for el_init in -ledit" >&5 |
16084 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6; } | 10138 | $as_echo_n "checking for el_init in -ledit... " >&6; } |
16085 | if test "${ac_cv_lib_edit_el_init+set}" = set; then | 10139 | if ${ac_cv_lib_edit_el_init+:} false; then : |
16086 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10140 | $as_echo_n "(cached) " >&6 |
16087 | else | 10141 | else |
16088 | ac_check_lib_save_LIBS=$LIBS | 10142 | ac_check_lib_save_LIBS=$LIBS |
16089 | LIBS="-ledit $OTHERLIBS | 10143 | LIBS="-ledit $OTHERLIBS |
16090 | $LIBS" | 10144 | $LIBS" |
16091 | cat >conftest.$ac_ext <<_ACEOF | 10145 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16092 | /* confdefs.h. */ | ||
16093 | _ACEOF | ||
16094 | cat confdefs.h >>conftest.$ac_ext | ||
16095 | cat >>conftest.$ac_ext <<_ACEOF | ||
16096 | /* end confdefs.h. */ | 10146 | /* end confdefs.h. */ |
16097 | 10147 | ||
16098 | /* Override any GCC internal prototype to avoid an error. | 10148 | /* Override any GCC internal prototype to avoid an error. |
@@ -16110,60 +10160,31 @@ return el_init (); | |||
16110 | return 0; | 10160 | return 0; |
16111 | } | 10161 | } |
16112 | _ACEOF | 10162 | _ACEOF |
16113 | rm -f conftest.$ac_objext conftest$ac_exeext | 10163 | if ac_fn_c_try_link "$LINENO"; then : |
16114 | if { (ac_try="$ac_link" | ||
16115 | case "(($ac_try" in | ||
16116 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16117 | *) ac_try_echo=$ac_try;; | ||
16118 | esac | ||
16119 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16120 | (eval "$ac_link") 2>conftest.er1 | ||
16121 | ac_status=$? | ||
16122 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16123 | rm -f conftest.er1 | ||
16124 | cat conftest.err >&5 | ||
16125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16126 | (exit $ac_status); } && { | ||
16127 | test -z "$ac_c_werror_flag" || | ||
16128 | test ! -s conftest.err | ||
16129 | } && test -s conftest$ac_exeext && | ||
16130 | $as_test_x conftest$ac_exeext; then | ||
16131 | ac_cv_lib_edit_el_init=yes | 10164 | ac_cv_lib_edit_el_init=yes |
16132 | else | 10165 | else |
16133 | echo "$as_me: failed program was:" >&5 | 10166 | ac_cv_lib_edit_el_init=no |
16134 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16135 | |||
16136 | ac_cv_lib_edit_el_init=no | ||
16137 | fi | 10167 | fi |
16138 | 10168 | rm -f core conftest.err conftest.$ac_objext \ | |
16139 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10169 | conftest$ac_exeext conftest.$ac_ext |
16140 | conftest$ac_exeext conftest.$ac_ext | ||
16141 | LIBS=$ac_check_lib_save_LIBS | 10170 | LIBS=$ac_check_lib_save_LIBS |
16142 | fi | 10171 | fi |
16143 | { echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 | 10172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_el_init" >&5 |
16144 | echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6; } | 10173 | $as_echo "$ac_cv_lib_edit_el_init" >&6; } |
16145 | if test $ac_cv_lib_edit_el_init = yes; then | 10174 | if test "x$ac_cv_lib_edit_el_init" = xyes; then : |
16146 | 10175 | ||
16147 | cat >>confdefs.h <<\_ACEOF | 10176 | $as_echo "#define USE_LIBEDIT 1" >>confdefs.h |
16148 | #define USE_LIBEDIT 1 | ||
16149 | _ACEOF | ||
16150 | 10177 | ||
16151 | LIBEDIT_MSG="yes" | 10178 | LIBEDIT_MSG="yes" |
16152 | 10179 | ||
16153 | 10180 | ||
16154 | else | 10181 | else |
16155 | { { echo "$as_me:$LINENO: error: libedit not found" >&5 | 10182 | as_fn_error $? "libedit not found" "$LINENO" 5 |
16156 | echo "$as_me: error: libedit not found" >&2;} | ||
16157 | { (exit 1); exit 1; }; } | ||
16158 | fi | 10183 | fi |
16159 | 10184 | ||
16160 | { echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 | 10185 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libedit version is compatible" >&5 |
16161 | echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6; } | 10186 | $as_echo_n "checking if libedit version is compatible... " >&6; } |
16162 | cat >conftest.$ac_ext <<_ACEOF | 10187 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16163 | /* confdefs.h. */ | ||
16164 | _ACEOF | ||
16165 | cat confdefs.h >>conftest.$ac_ext | ||
16166 | cat >>conftest.$ac_ext <<_ACEOF | ||
16167 | /* end confdefs.h. */ | 10188 | /* end confdefs.h. */ |
16168 | #include <histedit.h> | 10189 | #include <histedit.h> |
16169 | int | 10190 | int |
@@ -16178,37 +10199,15 @@ main () | |||
16178 | return 0; | 10199 | return 0; |
16179 | } | 10200 | } |
16180 | _ACEOF | 10201 | _ACEOF |
16181 | rm -f conftest.$ac_objext | 10202 | if ac_fn_c_try_compile "$LINENO"; then : |
16182 | if { (ac_try="$ac_compile" | 10203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16183 | case "(($ac_try" in | 10204 | $as_echo "yes" >&6; } |
16184 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16185 | *) ac_try_echo=$ac_try;; | ||
16186 | esac | ||
16187 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16188 | (eval "$ac_compile") 2>conftest.er1 | ||
16189 | ac_status=$? | ||
16190 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16191 | rm -f conftest.er1 | ||
16192 | cat conftest.err >&5 | ||
16193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16194 | (exit $ac_status); } && { | ||
16195 | test -z "$ac_c_werror_flag" || | ||
16196 | test ! -s conftest.err | ||
16197 | } && test -s conftest.$ac_objext; then | ||
16198 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16199 | echo "${ECHO_T}yes" >&6; } | ||
16200 | else | 10205 | else |
16201 | echo "$as_me: failed program was:" >&5 | 10206 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16202 | sed 's/^/| /' conftest.$ac_ext >&5 | 10207 | $as_echo "no" >&6; } |
16203 | 10208 | as_fn_error $? "libedit version is not compatible" "$LINENO" 5 | |
16204 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16205 | echo "${ECHO_T}no" >&6; } | ||
16206 | { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 | ||
16207 | echo "$as_me: error: libedit version is not compatible" >&2;} | ||
16208 | { (exit 1); exit 1; }; } | ||
16209 | 10209 | ||
16210 | fi | 10210 | fi |
16211 | |||
16212 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10211 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16213 | fi | 10212 | fi |
16214 | 10213 | ||
@@ -16218,95 +10217,43 @@ fi | |||
16218 | AUDIT_MODULE=none | 10217 | AUDIT_MODULE=none |
16219 | 10218 | ||
16220 | # Check whether --with-audit was given. | 10219 | # Check whether --with-audit was given. |
16221 | if test "${with_audit+set}" = set; then | 10220 | if test "${with_audit+set}" = set; then : |
16222 | withval=$with_audit; | 10221 | withval=$with_audit; |
16223 | { echo "$as_me:$LINENO: checking for supported audit module" >&5 | 10222 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported audit module" >&5 |
16224 | echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6; } | 10223 | $as_echo_n "checking for supported audit module... " >&6; } |
16225 | case "$withval" in | 10224 | case "$withval" in |
16226 | bsm) | 10225 | bsm) |
16227 | { echo "$as_me:$LINENO: result: bsm" >&5 | 10226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: bsm" >&5 |
16228 | echo "${ECHO_T}bsm" >&6; } | 10227 | $as_echo "bsm" >&6; } |
16229 | AUDIT_MODULE=bsm | 10228 | AUDIT_MODULE=bsm |
16230 | 10229 | for ac_header in bsm/audit.h | |
16231 | for ac_header in bsm/audit.h | 10230 | do : |
16232 | do | 10231 | ac_fn_c_check_header_compile "$LINENO" "bsm/audit.h" "ac_cv_header_bsm_audit_h" " |
16233 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
16234 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
16235 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
16236 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16237 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16238 | else | ||
16239 | cat >conftest.$ac_ext <<_ACEOF | ||
16240 | /* confdefs.h. */ | ||
16241 | _ACEOF | ||
16242 | cat confdefs.h >>conftest.$ac_ext | ||
16243 | cat >>conftest.$ac_ext <<_ACEOF | ||
16244 | /* end confdefs.h. */ | ||
16245 | |||
16246 | #ifdef HAVE_TIME_H | 10232 | #ifdef HAVE_TIME_H |
16247 | # include <time.h> | 10233 | # include <time.h> |
16248 | #endif | 10234 | #endif |
16249 | 10235 | ||
16250 | 10236 | ||
16251 | 10237 | " | |
16252 | #include <$ac_header> | 10238 | if test "x$ac_cv_header_bsm_audit_h" = xyes; then : |
16253 | _ACEOF | ||
16254 | rm -f conftest.$ac_objext | ||
16255 | if { (ac_try="$ac_compile" | ||
16256 | case "(($ac_try" in | ||
16257 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16258 | *) ac_try_echo=$ac_try;; | ||
16259 | esac | ||
16260 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16261 | (eval "$ac_compile") 2>conftest.er1 | ||
16262 | ac_status=$? | ||
16263 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16264 | rm -f conftest.er1 | ||
16265 | cat conftest.err >&5 | ||
16266 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16267 | (exit $ac_status); } && { | ||
16268 | test -z "$ac_c_werror_flag" || | ||
16269 | test ! -s conftest.err | ||
16270 | } && test -s conftest.$ac_objext; then | ||
16271 | eval "$as_ac_Header=yes" | ||
16272 | else | ||
16273 | echo "$as_me: failed program was:" >&5 | ||
16274 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16275 | |||
16276 | eval "$as_ac_Header=no" | ||
16277 | fi | ||
16278 | |||
16279 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16280 | fi | ||
16281 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
16282 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16283 | echo "${ECHO_T}$ac_res" >&6; } | ||
16284 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
16285 | cat >>confdefs.h <<_ACEOF | 10239 | cat >>confdefs.h <<_ACEOF |
16286 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10240 | #define HAVE_BSM_AUDIT_H 1 |
16287 | _ACEOF | 10241 | _ACEOF |
16288 | 10242 | ||
16289 | else | 10243 | else |
16290 | { { echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5 | 10244 | as_fn_error $? "BSM enabled and bsm/audit.h not found" "$LINENO" 5 |
16291 | echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;} | ||
16292 | { (exit 1); exit 1; }; } | ||
16293 | fi | 10245 | fi |
16294 | 10246 | ||
16295 | done | 10247 | done |
16296 | 10248 | ||
16297 | 10249 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaudit in -lbsm" >&5 | |
16298 | { echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 | 10250 | $as_echo_n "checking for getaudit in -lbsm... " >&6; } |
16299 | echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6; } | 10251 | if ${ac_cv_lib_bsm_getaudit+:} false; then : |
16300 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then | 10252 | $as_echo_n "(cached) " >&6 |
16301 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16302 | else | 10253 | else |
16303 | ac_check_lib_save_LIBS=$LIBS | 10254 | ac_check_lib_save_LIBS=$LIBS |
16304 | LIBS="-lbsm $LIBS" | 10255 | LIBS="-lbsm $LIBS" |
16305 | cat >conftest.$ac_ext <<_ACEOF | 10256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16306 | /* confdefs.h. */ | ||
16307 | _ACEOF | ||
16308 | cat confdefs.h >>conftest.$ac_ext | ||
16309 | cat >>conftest.$ac_ext <<_ACEOF | ||
16310 | /* end confdefs.h. */ | 10257 | /* end confdefs.h. */ |
16311 | 10258 | ||
16312 | /* Override any GCC internal prototype to avoid an error. | 10259 | /* Override any GCC internal prototype to avoid an error. |
@@ -16324,39 +10271,18 @@ return getaudit (); | |||
16324 | return 0; | 10271 | return 0; |
16325 | } | 10272 | } |
16326 | _ACEOF | 10273 | _ACEOF |
16327 | rm -f conftest.$ac_objext conftest$ac_exeext | 10274 | if ac_fn_c_try_link "$LINENO"; then : |
16328 | if { (ac_try="$ac_link" | ||
16329 | case "(($ac_try" in | ||
16330 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16331 | *) ac_try_echo=$ac_try;; | ||
16332 | esac | ||
16333 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16334 | (eval "$ac_link") 2>conftest.er1 | ||
16335 | ac_status=$? | ||
16336 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16337 | rm -f conftest.er1 | ||
16338 | cat conftest.err >&5 | ||
16339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16340 | (exit $ac_status); } && { | ||
16341 | test -z "$ac_c_werror_flag" || | ||
16342 | test ! -s conftest.err | ||
16343 | } && test -s conftest$ac_exeext && | ||
16344 | $as_test_x conftest$ac_exeext; then | ||
16345 | ac_cv_lib_bsm_getaudit=yes | 10275 | ac_cv_lib_bsm_getaudit=yes |
16346 | else | 10276 | else |
16347 | echo "$as_me: failed program was:" >&5 | 10277 | ac_cv_lib_bsm_getaudit=no |
16348 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16349 | |||
16350 | ac_cv_lib_bsm_getaudit=no | ||
16351 | fi | 10278 | fi |
16352 | 10279 | rm -f core conftest.err conftest.$ac_objext \ | |
16353 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10280 | conftest$ac_exeext conftest.$ac_ext |
16354 | conftest$ac_exeext conftest.$ac_ext | ||
16355 | LIBS=$ac_check_lib_save_LIBS | 10281 | LIBS=$ac_check_lib_save_LIBS |
16356 | fi | 10282 | fi |
16357 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 | 10283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsm_getaudit" >&5 |
16358 | echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6; } | 10284 | $as_echo "$ac_cv_lib_bsm_getaudit" >&6; } |
16359 | if test $ac_cv_lib_bsm_getaudit = yes; then | 10285 | if test "x$ac_cv_lib_bsm_getaudit" = xyes; then : |
16360 | cat >>confdefs.h <<_ACEOF | 10286 | cat >>confdefs.h <<_ACEOF |
16361 | #define HAVE_LIBBSM 1 | 10287 | #define HAVE_LIBBSM 1 |
16362 | _ACEOF | 10288 | _ACEOF |
@@ -16364,362 +10290,55 @@ _ACEOF | |||
16364 | LIBS="-lbsm $LIBS" | 10290 | LIBS="-lbsm $LIBS" |
16365 | 10291 | ||
16366 | else | 10292 | else |
16367 | { { echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5 | 10293 | as_fn_error $? "BSM enabled and required library not found" "$LINENO" 5 |
16368 | echo "$as_me: error: BSM enabled and required library not found" >&2;} | ||
16369 | { (exit 1); exit 1; }; } | ||
16370 | fi | 10294 | fi |
16371 | 10295 | ||
16372 | 10296 | for ac_func in getaudit | |
16373 | for ac_func in getaudit | 10297 | do : |
16374 | do | 10298 | ac_fn_c_check_func "$LINENO" "getaudit" "ac_cv_func_getaudit" |
16375 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10299 | if test "x$ac_cv_func_getaudit" = xyes; then : |
16376 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
16377 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16378 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16379 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16380 | else | ||
16381 | cat >conftest.$ac_ext <<_ACEOF | ||
16382 | /* confdefs.h. */ | ||
16383 | _ACEOF | ||
16384 | cat confdefs.h >>conftest.$ac_ext | ||
16385 | cat >>conftest.$ac_ext <<_ACEOF | ||
16386 | /* end confdefs.h. */ | ||
16387 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16388 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16389 | #define $ac_func innocuous_$ac_func | ||
16390 | |||
16391 | /* System header to define __stub macros and hopefully few prototypes, | ||
16392 | which can conflict with char $ac_func (); below. | ||
16393 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16394 | <limits.h> exists even on freestanding compilers. */ | ||
16395 | |||
16396 | #ifdef __STDC__ | ||
16397 | # include <limits.h> | ||
16398 | #else | ||
16399 | # include <assert.h> | ||
16400 | #endif | ||
16401 | |||
16402 | #undef $ac_func | ||
16403 | |||
16404 | /* Override any GCC internal prototype to avoid an error. | ||
16405 | Use char because int might match the return type of a GCC | ||
16406 | builtin and then its argument prototype would still apply. */ | ||
16407 | #ifdef __cplusplus | ||
16408 | extern "C" | ||
16409 | #endif | ||
16410 | char $ac_func (); | ||
16411 | /* The GNU C library defines this for functions which it implements | ||
16412 | to always fail with ENOSYS. Some functions are actually named | ||
16413 | something starting with __ and the normal name is an alias. */ | ||
16414 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16415 | choke me | ||
16416 | #endif | ||
16417 | |||
16418 | int | ||
16419 | main () | ||
16420 | { | ||
16421 | return $ac_func (); | ||
16422 | ; | ||
16423 | return 0; | ||
16424 | } | ||
16425 | _ACEOF | ||
16426 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16427 | if { (ac_try="$ac_link" | ||
16428 | case "(($ac_try" in | ||
16429 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16430 | *) ac_try_echo=$ac_try;; | ||
16431 | esac | ||
16432 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16433 | (eval "$ac_link") 2>conftest.er1 | ||
16434 | ac_status=$? | ||
16435 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16436 | rm -f conftest.er1 | ||
16437 | cat conftest.err >&5 | ||
16438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16439 | (exit $ac_status); } && { | ||
16440 | test -z "$ac_c_werror_flag" || | ||
16441 | test ! -s conftest.err | ||
16442 | } && test -s conftest$ac_exeext && | ||
16443 | $as_test_x conftest$ac_exeext; then | ||
16444 | eval "$as_ac_var=yes" | ||
16445 | else | ||
16446 | echo "$as_me: failed program was:" >&5 | ||
16447 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16448 | |||
16449 | eval "$as_ac_var=no" | ||
16450 | fi | ||
16451 | |||
16452 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16453 | conftest$ac_exeext conftest.$ac_ext | ||
16454 | fi | ||
16455 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16456 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16457 | echo "${ECHO_T}$ac_res" >&6; } | ||
16458 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16459 | cat >>confdefs.h <<_ACEOF | 10300 | cat >>confdefs.h <<_ACEOF |
16460 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10301 | #define HAVE_GETAUDIT 1 |
16461 | _ACEOF | 10302 | _ACEOF |
16462 | 10303 | ||
16463 | else | 10304 | else |
16464 | { { echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5 | 10305 | as_fn_error $? "BSM enabled and required function not found" "$LINENO" 5 |
16465 | echo "$as_me: error: BSM enabled and required function not found" >&2;} | ||
16466 | { (exit 1); exit 1; }; } | ||
16467 | fi | 10306 | fi |
16468 | done | 10307 | done |
16469 | 10308 | ||
16470 | # These are optional | 10309 | # These are optional |
16471 | 10310 | for ac_func in getaudit_addr aug_get_machine | |
16472 | 10311 | do : | |
16473 | for ac_func in getaudit_addr aug_get_machine | 10312 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16474 | do | 10313 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
16475 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10314 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
16476 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
16477 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16478 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16479 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16480 | else | ||
16481 | cat >conftest.$ac_ext <<_ACEOF | ||
16482 | /* confdefs.h. */ | ||
16483 | _ACEOF | ||
16484 | cat confdefs.h >>conftest.$ac_ext | ||
16485 | cat >>conftest.$ac_ext <<_ACEOF | ||
16486 | /* end confdefs.h. */ | ||
16487 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16488 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16489 | #define $ac_func innocuous_$ac_func | ||
16490 | |||
16491 | /* System header to define __stub macros and hopefully few prototypes, | ||
16492 | which can conflict with char $ac_func (); below. | ||
16493 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16494 | <limits.h> exists even on freestanding compilers. */ | ||
16495 | |||
16496 | #ifdef __STDC__ | ||
16497 | # include <limits.h> | ||
16498 | #else | ||
16499 | # include <assert.h> | ||
16500 | #endif | ||
16501 | |||
16502 | #undef $ac_func | ||
16503 | |||
16504 | /* Override any GCC internal prototype to avoid an error. | ||
16505 | Use char because int might match the return type of a GCC | ||
16506 | builtin and then its argument prototype would still apply. */ | ||
16507 | #ifdef __cplusplus | ||
16508 | extern "C" | ||
16509 | #endif | ||
16510 | char $ac_func (); | ||
16511 | /* The GNU C library defines this for functions which it implements | ||
16512 | to always fail with ENOSYS. Some functions are actually named | ||
16513 | something starting with __ and the normal name is an alias. */ | ||
16514 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16515 | choke me | ||
16516 | #endif | ||
16517 | |||
16518 | int | ||
16519 | main () | ||
16520 | { | ||
16521 | return $ac_func (); | ||
16522 | ; | ||
16523 | return 0; | ||
16524 | } | ||
16525 | _ACEOF | ||
16526 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16527 | if { (ac_try="$ac_link" | ||
16528 | case "(($ac_try" in | ||
16529 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16530 | *) ac_try_echo=$ac_try;; | ||
16531 | esac | ||
16532 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16533 | (eval "$ac_link") 2>conftest.er1 | ||
16534 | ac_status=$? | ||
16535 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16536 | rm -f conftest.er1 | ||
16537 | cat conftest.err >&5 | ||
16538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16539 | (exit $ac_status); } && { | ||
16540 | test -z "$ac_c_werror_flag" || | ||
16541 | test ! -s conftest.err | ||
16542 | } && test -s conftest$ac_exeext && | ||
16543 | $as_test_x conftest$ac_exeext; then | ||
16544 | eval "$as_ac_var=yes" | ||
16545 | else | ||
16546 | echo "$as_me: failed program was:" >&5 | ||
16547 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16548 | |||
16549 | eval "$as_ac_var=no" | ||
16550 | fi | ||
16551 | |||
16552 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16553 | conftest$ac_exeext conftest.$ac_ext | ||
16554 | fi | ||
16555 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16556 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16557 | echo "${ECHO_T}$ac_res" >&6; } | ||
16558 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16559 | cat >>confdefs.h <<_ACEOF | 10315 | cat >>confdefs.h <<_ACEOF |
16560 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10316 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16561 | _ACEOF | 10317 | _ACEOF |
16562 | 10318 | ||
16563 | fi | 10319 | fi |
16564 | done | 10320 | done |
16565 | 10321 | ||
16566 | 10322 | ||
16567 | cat >>confdefs.h <<\_ACEOF | 10323 | $as_echo "#define USE_BSM_AUDIT 1" >>confdefs.h |
16568 | #define USE_BSM_AUDIT 1 | ||
16569 | _ACEOF | ||
16570 | 10324 | ||
16571 | if test "$sol2ver" -ge 11; then | 10325 | if test "$sol2ver" -ge 11; then |
16572 | SSHDLIBS="$SSHDLIBS -lscf" | 10326 | SSHDLIBS="$SSHDLIBS -lscf" |
16573 | 10327 | ||
16574 | cat >>confdefs.h <<\_ACEOF | 10328 | $as_echo "#define BROKEN_BSM_API 1" >>confdefs.h |
16575 | #define BROKEN_BSM_API 1 | ||
16576 | _ACEOF | ||
16577 | 10329 | ||
16578 | fi | 10330 | fi |
16579 | ;; | 10331 | ;; |
16580 | linux) | 10332 | linux) |
16581 | { echo "$as_me:$LINENO: result: linux" >&5 | 10333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: linux" >&5 |
16582 | echo "${ECHO_T}linux" >&6; } | 10334 | $as_echo "linux" >&6; } |
16583 | AUDIT_MODULE=linux | 10335 | AUDIT_MODULE=linux |
16584 | 10336 | for ac_header in libaudit.h | |
16585 | for ac_header in libaudit.h | 10337 | do : |
16586 | do | 10338 | ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default" |
16587 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10339 | if test "x$ac_cv_header_libaudit_h" = xyes; then : |
16588 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16589 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
16590 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
16591 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16592 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16593 | fi | ||
16594 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
16595 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16596 | echo "${ECHO_T}$ac_res" >&6; } | ||
16597 | else | ||
16598 | # Is the header compilable? | ||
16599 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
16600 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
16601 | cat >conftest.$ac_ext <<_ACEOF | ||
16602 | /* confdefs.h. */ | ||
16603 | _ACEOF | ||
16604 | cat confdefs.h >>conftest.$ac_ext | ||
16605 | cat >>conftest.$ac_ext <<_ACEOF | ||
16606 | /* end confdefs.h. */ | ||
16607 | $ac_includes_default | ||
16608 | #include <$ac_header> | ||
16609 | _ACEOF | ||
16610 | rm -f conftest.$ac_objext | ||
16611 | if { (ac_try="$ac_compile" | ||
16612 | case "(($ac_try" in | ||
16613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16614 | *) ac_try_echo=$ac_try;; | ||
16615 | esac | ||
16616 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16617 | (eval "$ac_compile") 2>conftest.er1 | ||
16618 | ac_status=$? | ||
16619 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16620 | rm -f conftest.er1 | ||
16621 | cat conftest.err >&5 | ||
16622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16623 | (exit $ac_status); } && { | ||
16624 | test -z "$ac_c_werror_flag" || | ||
16625 | test ! -s conftest.err | ||
16626 | } && test -s conftest.$ac_objext; then | ||
16627 | ac_header_compiler=yes | ||
16628 | else | ||
16629 | echo "$as_me: failed program was:" >&5 | ||
16630 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16631 | |||
16632 | ac_header_compiler=no | ||
16633 | fi | ||
16634 | |||
16635 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16636 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
16637 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
16638 | |||
16639 | # Is the header present? | ||
16640 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
16641 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
16642 | cat >conftest.$ac_ext <<_ACEOF | ||
16643 | /* confdefs.h. */ | ||
16644 | _ACEOF | ||
16645 | cat confdefs.h >>conftest.$ac_ext | ||
16646 | cat >>conftest.$ac_ext <<_ACEOF | ||
16647 | /* end confdefs.h. */ | ||
16648 | #include <$ac_header> | ||
16649 | _ACEOF | ||
16650 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
16651 | case "(($ac_try" in | ||
16652 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16653 | *) ac_try_echo=$ac_try;; | ||
16654 | esac | ||
16655 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16656 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
16657 | ac_status=$? | ||
16658 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16659 | rm -f conftest.er1 | ||
16660 | cat conftest.err >&5 | ||
16661 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16662 | (exit $ac_status); } >/dev/null && { | ||
16663 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
16664 | test ! -s conftest.err | ||
16665 | }; then | ||
16666 | ac_header_preproc=yes | ||
16667 | else | ||
16668 | echo "$as_me: failed program was:" >&5 | ||
16669 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16670 | |||
16671 | ac_header_preproc=no | ||
16672 | fi | ||
16673 | |||
16674 | rm -f conftest.err conftest.$ac_ext | ||
16675 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
16676 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
16677 | |||
16678 | # So? What about this header? | ||
16679 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
16680 | yes:no: ) | ||
16681 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
16682 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
16683 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
16684 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
16685 | ac_header_preproc=yes | ||
16686 | ;; | ||
16687 | no:yes:* ) | ||
16688 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
16689 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
16690 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
16691 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
16692 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
16693 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
16694 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
16695 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
16696 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
16697 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
16698 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
16699 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
16700 | ( cat <<\_ASBOX | ||
16701 | ## ------------------------------------------- ## | ||
16702 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
16703 | ## ------------------------------------------- ## | ||
16704 | _ASBOX | ||
16705 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
16706 | ;; | ||
16707 | esac | ||
16708 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
16709 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
16710 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16711 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16712 | else | ||
16713 | eval "$as_ac_Header=\$ac_header_preproc" | ||
16714 | fi | ||
16715 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
16716 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16717 | echo "${ECHO_T}$ac_res" >&6; } | ||
16718 | |||
16719 | fi | ||
16720 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
16721 | cat >>confdefs.h <<_ACEOF | 10340 | cat >>confdefs.h <<_ACEOF |
16722 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10341 | #define HAVE_LIBAUDIT_H 1 |
16723 | _ACEOF | 10342 | _ACEOF |
16724 | 10343 | ||
16725 | fi | 10344 | fi |
@@ -16728,29 +10347,23 @@ done | |||
16728 | 10347 | ||
16729 | SSHDLIBS="$SSHDLIBS -laudit" | 10348 | SSHDLIBS="$SSHDLIBS -laudit" |
16730 | 10349 | ||
16731 | cat >>confdefs.h <<\_ACEOF | 10350 | $as_echo "#define USE_LINUX_AUDIT 1" >>confdefs.h |
16732 | #define USE_LINUX_AUDIT 1 | ||
16733 | _ACEOF | ||
16734 | 10351 | ||
16735 | ;; | 10352 | ;; |
16736 | debug) | 10353 | debug) |
16737 | AUDIT_MODULE=debug | 10354 | AUDIT_MODULE=debug |
16738 | { echo "$as_me:$LINENO: result: debug" >&5 | 10355 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: debug" >&5 |
16739 | echo "${ECHO_T}debug" >&6; } | 10356 | $as_echo "debug" >&6; } |
16740 | 10357 | ||
16741 | cat >>confdefs.h <<\_ACEOF | 10358 | $as_echo "#define SSH_AUDIT_EVENTS 1" >>confdefs.h |
16742 | #define SSH_AUDIT_EVENTS 1 | ||
16743 | _ACEOF | ||
16744 | 10359 | ||
16745 | ;; | 10360 | ;; |
16746 | no) | 10361 | no) |
16747 | { echo "$as_me:$LINENO: result: no" >&5 | 10362 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16748 | echo "${ECHO_T}no" >&6; } | 10363 | $as_echo "no" >&6; } |
16749 | ;; | 10364 | ;; |
16750 | *) | 10365 | *) |
16751 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 | 10366 | as_fn_error $? "Unknown audit module $withval" "$LINENO" 5 |
16752 | echo "$as_me: error: Unknown audit module $withval" >&2;} | ||
16753 | { (exit 1); exit 1; }; } | ||
16754 | ;; | 10367 | ;; |
16755 | esac | 10368 | esac |
16756 | 10369 | ||
@@ -16759,7 +10372,7 @@ fi | |||
16759 | 10372 | ||
16760 | 10373 | ||
16761 | # Check whether --with-pie was given. | 10374 | # Check whether --with-pie was given. |
16762 | if test "${with_pie+set}" = set; then | 10375 | if test "${with_pie+set}" = set; then : |
16763 | withval=$with_pie; | 10376 | withval=$with_pie; |
16764 | if test "x$withval" = "xno"; then | 10377 | if test "x$withval" = "xno"; then |
16765 | use_pie=no | 10378 | use_pie=no |
@@ -16780,13 +10393,9 @@ if test "x$use_toolchain_hardening" != "x1" && test "x$use_pie" = "xauto"; then | |||
16780 | fi | 10393 | fi |
16781 | if test "x$use_pie" = "xauto"; then | 10394 | if test "x$use_pie" = "xauto"; then |
16782 | # Automatic PIE requires gcc >= 4.x | 10395 | # Automatic PIE requires gcc >= 4.x |
16783 | { echo "$as_me:$LINENO: checking for gcc >= 4.x" >&5 | 10396 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.x" >&5 |
16784 | echo $ECHO_N "checking for gcc >= 4.x... $ECHO_C" >&6; } | 10397 | $as_echo_n "checking for gcc >= 4.x... " >&6; } |
16785 | cat >conftest.$ac_ext <<_ACEOF | 10398 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16786 | /* confdefs.h. */ | ||
16787 | _ACEOF | ||
16788 | cat confdefs.h >>conftest.$ac_ext | ||
16789 | cat >>conftest.$ac_ext <<_ACEOF | ||
16790 | /* end confdefs.h. */ | 10399 | /* end confdefs.h. */ |
16791 | 10400 | ||
16792 | #if !defined(__GNUC__) || __GNUC__ < 4 | 10401 | #if !defined(__GNUC__) || __GNUC__ < 4 |
@@ -16794,52 +10403,28 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
16794 | #endif | 10403 | #endif |
16795 | 10404 | ||
16796 | _ACEOF | 10405 | _ACEOF |
16797 | rm -f conftest.$ac_objext | 10406 | if ac_fn_c_try_compile "$LINENO"; then : |
16798 | if { (ac_try="$ac_compile" | 10407 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16799 | case "(($ac_try" in | 10408 | $as_echo "yes" >&6; } |
16800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16801 | *) ac_try_echo=$ac_try;; | ||
16802 | esac | ||
16803 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16804 | (eval "$ac_compile") 2>conftest.er1 | ||
16805 | ac_status=$? | ||
16806 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16807 | rm -f conftest.er1 | ||
16808 | cat conftest.err >&5 | ||
16809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16810 | (exit $ac_status); } && { | ||
16811 | test -z "$ac_c_werror_flag" || | ||
16812 | test ! -s conftest.err | ||
16813 | } && test -s conftest.$ac_objext; then | ||
16814 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16815 | echo "${ECHO_T}yes" >&6; } | ||
16816 | else | 10409 | else |
16817 | echo "$as_me: failed program was:" >&5 | 10410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16818 | sed 's/^/| /' conftest.$ac_ext >&5 | 10411 | $as_echo "no" >&6; } |
16819 | |||
16820 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16821 | echo "${ECHO_T}no" >&6; } | ||
16822 | use_pie=no | 10412 | use_pie=no |
16823 | 10413 | ||
16824 | fi | 10414 | fi |
16825 | |||
16826 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16827 | fi | 10416 | fi |
16828 | if test "x$use_pie" != "xno"; then | 10417 | if test "x$use_pie" != "xno"; then |
16829 | SAVED_CFLAGS="$CFLAGS" | 10418 | SAVED_CFLAGS="$CFLAGS" |
16830 | SAVED_LDFLAGS="$LDFLAGS" | 10419 | SAVED_LDFLAGS="$LDFLAGS" |
16831 | { | 10420 | { |
16832 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -fPIE" >&5 | 10421 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -fPIE" >&5 |
16833 | echo $ECHO_N "checking if $CC supports compile flag -fPIE... $ECHO_C" >&6; } | 10422 | $as_echo_n "checking if $CC supports compile flag -fPIE... " >&6; } |
16834 | saved_CFLAGS="$CFLAGS" | 10423 | saved_CFLAGS="$CFLAGS" |
16835 | CFLAGS="$CFLAGS $WERROR -fPIE" | 10424 | CFLAGS="$CFLAGS $WERROR -fPIE" |
16836 | _define_flag="" | 10425 | _define_flag="" |
16837 | test "x$_define_flag" = "x" && _define_flag="-fPIE" | 10426 | test "x$_define_flag" = "x" && _define_flag="-fPIE" |
16838 | cat >conftest.$ac_ext <<_ACEOF | 10427 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16839 | /* confdefs.h. */ | ||
16840 | _ACEOF | ||
16841 | cat confdefs.h >>conftest.$ac_ext | ||
16842 | cat >>conftest.$ac_ext <<_ACEOF | ||
16843 | /* end confdefs.h. */ | 10428 | /* end confdefs.h. */ |
16844 | 10429 | ||
16845 | #include <stdlib.h> | 10430 | #include <stdlib.h> |
@@ -16855,58 +10440,34 @@ int main(int argc, char **argv) { | |||
16855 | } | 10440 | } |
16856 | 10441 | ||
16857 | _ACEOF | 10442 | _ACEOF |
16858 | rm -f conftest.$ac_objext | 10443 | if ac_fn_c_try_compile "$LINENO"; then : |
16859 | if { (ac_try="$ac_compile" | ||
16860 | case "(($ac_try" in | ||
16861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16862 | *) ac_try_echo=$ac_try;; | ||
16863 | esac | ||
16864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16865 | (eval "$ac_compile") 2>conftest.er1 | ||
16866 | ac_status=$? | ||
16867 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16868 | rm -f conftest.er1 | ||
16869 | cat conftest.err >&5 | ||
16870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16871 | (exit $ac_status); } && { | ||
16872 | test -z "$ac_c_werror_flag" || | ||
16873 | test ! -s conftest.err | ||
16874 | } && test -s conftest.$ac_objext; then | ||
16875 | 10444 | ||
16876 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 10445 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
16877 | then | 10446 | then |
16878 | { echo "$as_me:$LINENO: result: no" >&5 | 10447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16879 | echo "${ECHO_T}no" >&6; } | 10448 | $as_echo "no" >&6; } |
16880 | CFLAGS="$saved_CFLAGS" | 10449 | CFLAGS="$saved_CFLAGS" |
16881 | else | 10450 | else |
16882 | { echo "$as_me:$LINENO: result: yes" >&5 | 10451 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16883 | echo "${ECHO_T}yes" >&6; } | 10452 | $as_echo "yes" >&6; } |
16884 | CFLAGS="$saved_CFLAGS $_define_flag" | 10453 | CFLAGS="$saved_CFLAGS $_define_flag" |
16885 | fi | 10454 | fi |
16886 | else | 10455 | else |
16887 | echo "$as_me: failed program was:" >&5 | 10456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16888 | sed 's/^/| /' conftest.$ac_ext >&5 | 10457 | $as_echo "no" >&6; } |
16889 | |||
16890 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16891 | echo "${ECHO_T}no" >&6; } | ||
16892 | CFLAGS="$saved_CFLAGS" | 10458 | CFLAGS="$saved_CFLAGS" |
16893 | 10459 | ||
16894 | fi | 10460 | fi |
16895 | |||
16896 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10461 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16897 | } | 10462 | } |
16898 | { | 10463 | { |
16899 | { echo "$as_me:$LINENO: checking if $LD supports link flag -pie" >&5 | 10464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -pie" >&5 |
16900 | echo $ECHO_N "checking if $LD supports link flag -pie... $ECHO_C" >&6; } | 10465 | $as_echo_n "checking if $LD supports link flag -pie... " >&6; } |
16901 | saved_LDFLAGS="$LDFLAGS" | 10466 | saved_LDFLAGS="$LDFLAGS" |
16902 | LDFLAGS="$LDFLAGS $WERROR -pie" | 10467 | LDFLAGS="$LDFLAGS $WERROR -pie" |
16903 | _define_flag="" | 10468 | _define_flag="" |
16904 | test "x$_define_flag" = "x" && _define_flag="-pie" | 10469 | test "x$_define_flag" = "x" && _define_flag="-pie" |
16905 | cat >conftest.$ac_ext <<_ACEOF | 10470 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
16906 | /* confdefs.h. */ | ||
16907 | _ACEOF | ||
16908 | cat confdefs.h >>conftest.$ac_ext | ||
16909 | cat >>conftest.$ac_ext <<_ACEOF | ||
16910 | /* end confdefs.h. */ | 10471 | /* end confdefs.h. */ |
16911 | 10472 | ||
16912 | #include <stdlib.h> | 10473 | #include <stdlib.h> |
@@ -16917,171 +10478,40 @@ int main(int argc, char **argv) { | |||
16917 | float l = i * 2.1; | 10478 | float l = i * 2.1; |
16918 | double m = l / 0.5; | 10479 | double m = l / 0.5; |
16919 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; | 10480 | long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; |
16920 | printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); | 10481 | long long p = n * o; |
10482 | printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); | ||
16921 | exit(0); | 10483 | exit(0); |
16922 | } | 10484 | } |
16923 | 10485 | ||
16924 | _ACEOF | 10486 | _ACEOF |
16925 | rm -f conftest.$ac_objext conftest$ac_exeext | 10487 | if ac_fn_c_try_link "$LINENO"; then : |
16926 | if { (ac_try="$ac_link" | 10488 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16927 | case "(($ac_try" in | 10489 | $as_echo "yes" >&6; } |
16928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16929 | *) ac_try_echo=$ac_try;; | ||
16930 | esac | ||
16931 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16932 | (eval "$ac_link") 2>conftest.er1 | ||
16933 | ac_status=$? | ||
16934 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16935 | rm -f conftest.er1 | ||
16936 | cat conftest.err >&5 | ||
16937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16938 | (exit $ac_status); } && { | ||
16939 | test -z "$ac_c_werror_flag" || | ||
16940 | test ! -s conftest.err | ||
16941 | } && test -s conftest$ac_exeext && | ||
16942 | $as_test_x conftest$ac_exeext; then | ||
16943 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16944 | echo "${ECHO_T}yes" >&6; } | ||
16945 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 10490 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
16946 | else | 10491 | else |
16947 | echo "$as_me: failed program was:" >&5 | 10492 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16948 | sed 's/^/| /' conftest.$ac_ext >&5 | 10493 | $as_echo "no" >&6; } |
16949 | |||
16950 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16951 | echo "${ECHO_T}no" >&6; } | ||
16952 | LDFLAGS="$saved_LDFLAGS" | 10494 | LDFLAGS="$saved_LDFLAGS" |
16953 | 10495 | ||
16954 | fi | 10496 | fi |
16955 | 10497 | rm -f core conftest.err conftest.$ac_objext \ | |
16956 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10498 | conftest$ac_exeext conftest.$ac_ext |
16957 | conftest$ac_exeext conftest.$ac_ext | ||
16958 | } | 10499 | } |
16959 | # We use both -fPIE and -pie or neither. | 10500 | # We use both -fPIE and -pie or neither. |
16960 | { echo "$as_me:$LINENO: checking whether both -fPIE and -pie are supported" >&5 | 10501 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether both -fPIE and -pie are supported" >&5 |
16961 | echo $ECHO_N "checking whether both -fPIE and -pie are supported... $ECHO_C" >&6; } | 10502 | $as_echo_n "checking whether both -fPIE and -pie are supported... " >&6; } |
16962 | if echo "x $CFLAGS" | grep ' -fPIE' >/dev/null 2>&1 && \ | 10503 | if echo "x $CFLAGS" | grep ' -fPIE' >/dev/null 2>&1 && \ |
16963 | echo "x $LDFLAGS" | grep ' -pie' >/dev/null 2>&1 ; then | 10504 | echo "x $LDFLAGS" | grep ' -pie' >/dev/null 2>&1 ; then |
16964 | { echo "$as_me:$LINENO: result: yes" >&5 | 10505 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
16965 | echo "${ECHO_T}yes" >&6; } | 10506 | $as_echo "yes" >&6; } |
16966 | else | 10507 | else |
16967 | { echo "$as_me:$LINENO: result: no" >&5 | 10508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
16968 | echo "${ECHO_T}no" >&6; } | 10509 | $as_echo "no" >&6; } |
16969 | CFLAGS="$SAVED_CFLAGS" | 10510 | CFLAGS="$SAVED_CFLAGS" |
16970 | LDFLAGS="$SAVED_LDFLAGS" | 10511 | LDFLAGS="$SAVED_LDFLAGS" |
16971 | fi | 10512 | fi |
16972 | fi | 10513 | fi |
16973 | 10514 | ||
16974 | |||
16975 | |||
16976 | |||
16977 | |||
16978 | |||
16979 | |||
16980 | |||
16981 | |||
16982 | |||
16983 | |||
16984 | |||
16985 | |||
16986 | |||
16987 | |||
16988 | |||
16989 | |||
16990 | |||
16991 | |||
16992 | |||
16993 | |||
16994 | |||
16995 | |||
16996 | |||
16997 | |||
16998 | |||
16999 | |||
17000 | |||
17001 | |||
17002 | |||
17003 | |||
17004 | |||
17005 | |||
17006 | |||
17007 | |||
17008 | |||
17009 | |||
17010 | |||
17011 | |||
17012 | |||
17013 | |||
17014 | |||
17015 | |||
17016 | |||
17017 | |||
17018 | |||
17019 | |||
17020 | |||
17021 | |||
17022 | |||
17023 | |||
17024 | |||
17025 | |||
17026 | |||
17027 | |||
17028 | |||
17029 | |||
17030 | |||
17031 | |||
17032 | |||
17033 | |||
17034 | |||
17035 | |||
17036 | |||
17037 | |||
17038 | |||
17039 | |||
17040 | |||
17041 | |||
17042 | |||
17043 | |||
17044 | |||
17045 | |||
17046 | |||
17047 | |||
17048 | |||
17049 | |||
17050 | |||
17051 | |||
17052 | |||
17053 | |||
17054 | |||
17055 | |||
17056 | |||
17057 | |||
17058 | |||
17059 | |||
17060 | |||
17061 | |||
17062 | |||
17063 | |||
17064 | |||
17065 | |||
17066 | |||
17067 | |||
17068 | |||
17069 | |||
17070 | |||
17071 | |||
17072 | |||
17073 | |||
17074 | |||
17075 | |||
17076 | |||
17077 | |||
17078 | |||
17079 | |||
17080 | |||
17081 | |||
17082 | |||
17083 | |||
17084 | |||
17085 | for ac_func in \ | 10515 | for ac_func in \ |
17086 | Blowfish_initstate \ | 10516 | Blowfish_initstate \ |
17087 | Blowfish_expandstate \ | 10517 | Blowfish_expandstate \ |
@@ -17133,7 +10563,6 @@ for ac_func in \ | |||
17133 | memmove \ | 10563 | memmove \ |
17134 | memset_s \ | 10564 | memset_s \ |
17135 | mkdtemp \ | 10565 | mkdtemp \ |
17136 | mmap \ | ||
17137 | ngetaddrinfo \ | 10566 | ngetaddrinfo \ |
17138 | nsleep \ | 10567 | nsleep \ |
17139 | ogetaddrinfo \ | 10568 | ogetaddrinfo \ |
@@ -17169,6 +10598,7 @@ for ac_func in \ | |||
17169 | socketpair \ | 10598 | socketpair \ |
17170 | statfs \ | 10599 | statfs \ |
17171 | statvfs \ | 10600 | statvfs \ |
10601 | strcasestr \ | ||
17172 | strdup \ | 10602 | strdup \ |
17173 | strerror \ | 10603 | strerror \ |
17174 | strlcat \ | 10604 | strlcat \ |
@@ -17195,93 +10625,12 @@ for ac_func in \ | |||
17195 | waitpid \ | 10625 | waitpid \ |
17196 | warn \ | 10626 | warn \ |
17197 | 10627 | ||
17198 | do | 10628 | do : |
17199 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10629 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17200 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10630 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
17201 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 10631 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
17202 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17203 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17204 | else | ||
17205 | cat >conftest.$ac_ext <<_ACEOF | ||
17206 | /* confdefs.h. */ | ||
17207 | _ACEOF | ||
17208 | cat confdefs.h >>conftest.$ac_ext | ||
17209 | cat >>conftest.$ac_ext <<_ACEOF | ||
17210 | /* end confdefs.h. */ | ||
17211 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17212 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17213 | #define $ac_func innocuous_$ac_func | ||
17214 | |||
17215 | /* System header to define __stub macros and hopefully few prototypes, | ||
17216 | which can conflict with char $ac_func (); below. | ||
17217 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17218 | <limits.h> exists even on freestanding compilers. */ | ||
17219 | |||
17220 | #ifdef __STDC__ | ||
17221 | # include <limits.h> | ||
17222 | #else | ||
17223 | # include <assert.h> | ||
17224 | #endif | ||
17225 | |||
17226 | #undef $ac_func | ||
17227 | |||
17228 | /* Override any GCC internal prototype to avoid an error. | ||
17229 | Use char because int might match the return type of a GCC | ||
17230 | builtin and then its argument prototype would still apply. */ | ||
17231 | #ifdef __cplusplus | ||
17232 | extern "C" | ||
17233 | #endif | ||
17234 | char $ac_func (); | ||
17235 | /* The GNU C library defines this for functions which it implements | ||
17236 | to always fail with ENOSYS. Some functions are actually named | ||
17237 | something starting with __ and the normal name is an alias. */ | ||
17238 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17239 | choke me | ||
17240 | #endif | ||
17241 | |||
17242 | int | ||
17243 | main () | ||
17244 | { | ||
17245 | return $ac_func (); | ||
17246 | ; | ||
17247 | return 0; | ||
17248 | } | ||
17249 | _ACEOF | ||
17250 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17251 | if { (ac_try="$ac_link" | ||
17252 | case "(($ac_try" in | ||
17253 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17254 | *) ac_try_echo=$ac_try;; | ||
17255 | esac | ||
17256 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17257 | (eval "$ac_link") 2>conftest.er1 | ||
17258 | ac_status=$? | ||
17259 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17260 | rm -f conftest.er1 | ||
17261 | cat conftest.err >&5 | ||
17262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17263 | (exit $ac_status); } && { | ||
17264 | test -z "$ac_c_werror_flag" || | ||
17265 | test ! -s conftest.err | ||
17266 | } && test -s conftest$ac_exeext && | ||
17267 | $as_test_x conftest$ac_exeext; then | ||
17268 | eval "$as_ac_var=yes" | ||
17269 | else | ||
17270 | echo "$as_me: failed program was:" >&5 | ||
17271 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17272 | |||
17273 | eval "$as_ac_var=no" | ||
17274 | fi | ||
17275 | |||
17276 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
17277 | conftest$ac_exeext conftest.$ac_ext | ||
17278 | fi | ||
17279 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
17280 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
17281 | echo "${ECHO_T}$ac_res" >&6; } | ||
17282 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
17283 | cat >>confdefs.h <<_ACEOF | 10632 | cat >>confdefs.h <<_ACEOF |
17284 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10633 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17285 | _ACEOF | 10634 | _ACEOF |
17286 | 10635 | ||
17287 | fi | 10636 | fi |
@@ -17290,110 +10639,61 @@ done | |||
17290 | 10639 | ||
17291 | saved_CFLAGS="$CFLAGS" | 10640 | saved_CFLAGS="$CFLAGS" |
17292 | CFLAGS="$CFLAGS -D_XOPEN_SOURCE" | 10641 | CFLAGS="$CFLAGS -D_XOPEN_SOURCE" |
10642 | for ac_func in mblen mbtowc nl_langinfo wcwidth | ||
10643 | do : | ||
10644 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
10645 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | ||
10646 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | ||
10647 | cat >>confdefs.h <<_ACEOF | ||
10648 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
10649 | _ACEOF | ||
17293 | 10650 | ||
10651 | fi | ||
10652 | done | ||
17294 | 10653 | ||
10654 | CFLAGS="$saved_CFLAGS" | ||
17295 | 10655 | ||
10656 | TEST_SSH_UTF8=${TEST_SSH_UTF8:=yes} | ||
10657 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8 locale support" >&5 | ||
10658 | $as_echo_n "checking for utf8 locale support... " >&6; } | ||
10659 | if test "$cross_compiling" = yes; then : | ||
10660 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 | ||
10661 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | ||
17296 | 10662 | ||
17297 | for ac_func in mblen mbtowc nl_langinfo wcwidth | ||
17298 | do | ||
17299 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
17300 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
17301 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
17302 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17303 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17304 | else | 10663 | else |
17305 | cat >conftest.$ac_ext <<_ACEOF | 10664 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17306 | /* confdefs.h. */ | ||
17307 | _ACEOF | ||
17308 | cat confdefs.h >>conftest.$ac_ext | ||
17309 | cat >>conftest.$ac_ext <<_ACEOF | ||
17310 | /* end confdefs.h. */ | 10665 | /* end confdefs.h. */ |
17311 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17312 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17313 | #define $ac_func innocuous_$ac_func | ||
17314 | |||
17315 | /* System header to define __stub macros and hopefully few prototypes, | ||
17316 | which can conflict with char $ac_func (); below. | ||
17317 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17318 | <limits.h> exists even on freestanding compilers. */ | ||
17319 | |||
17320 | #ifdef __STDC__ | ||
17321 | # include <limits.h> | ||
17322 | #else | ||
17323 | # include <assert.h> | ||
17324 | #endif | ||
17325 | |||
17326 | #undef $ac_func | ||
17327 | 10666 | ||
17328 | /* Override any GCC internal prototype to avoid an error. | 10667 | #include <locale.h> |
17329 | Use char because int might match the return type of a GCC | 10668 | #include <stdlib.h> |
17330 | builtin and then its argument prototype would still apply. */ | ||
17331 | #ifdef __cplusplus | ||
17332 | extern "C" | ||
17333 | #endif | ||
17334 | char $ac_func (); | ||
17335 | /* The GNU C library defines this for functions which it implements | ||
17336 | to always fail with ENOSYS. Some functions are actually named | ||
17337 | something starting with __ and the normal name is an alias. */ | ||
17338 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17339 | choke me | ||
17340 | #endif | ||
17341 | 10669 | ||
17342 | int | 10670 | int |
17343 | main () | 10671 | main () |
17344 | { | 10672 | { |
17345 | return $ac_func (); | 10673 | |
10674 | char *loc = setlocale(LC_CTYPE, "en_US.UTF-8"); | ||
10675 | if (loc != NULL) | ||
10676 | exit(0); | ||
10677 | exit(1); | ||
10678 | |||
17346 | ; | 10679 | ; |
17347 | return 0; | 10680 | return 0; |
17348 | } | 10681 | } |
17349 | _ACEOF | 10682 | _ACEOF |
17350 | rm -f conftest.$ac_objext conftest$ac_exeext | 10683 | if ac_fn_c_try_run "$LINENO"; then : |
17351 | if { (ac_try="$ac_link" | 10684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
17352 | case "(($ac_try" in | 10685 | $as_echo "yes" >&6; } |
17353 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17354 | *) ac_try_echo=$ac_try;; | ||
17355 | esac | ||
17356 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17357 | (eval "$ac_link") 2>conftest.er1 | ||
17358 | ac_status=$? | ||
17359 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17360 | rm -f conftest.er1 | ||
17361 | cat conftest.err >&5 | ||
17362 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17363 | (exit $ac_status); } && { | ||
17364 | test -z "$ac_c_werror_flag" || | ||
17365 | test ! -s conftest.err | ||
17366 | } && test -s conftest$ac_exeext && | ||
17367 | $as_test_x conftest$ac_exeext; then | ||
17368 | eval "$as_ac_var=yes" | ||
17369 | else | 10686 | else |
17370 | echo "$as_me: failed program was:" >&5 | 10687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
17371 | sed 's/^/| /' conftest.$ac_ext >&5 | 10688 | $as_echo "no" >&6; } |
17372 | 10689 | TEST_SSH_UTF8=no | |
17373 | eval "$as_ac_var=no" | ||
17374 | fi | ||
17375 | |||
17376 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
17377 | conftest$ac_exeext conftest.$ac_ext | ||
17378 | fi | 10690 | fi |
17379 | ac_res=`eval echo '${'$as_ac_var'}'` | 10691 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
17380 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | 10692 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
17381 | echo "${ECHO_T}$ac_res" >&6; } | ||
17382 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
17383 | cat >>confdefs.h <<_ACEOF | ||
17384 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
17385 | _ACEOF | ||
17386 | |||
17387 | fi | 10693 | fi |
17388 | done | ||
17389 | 10694 | ||
17390 | CFLAGS="$saved_CFLAGS" | ||
17391 | 10695 | ||
17392 | cat >conftest.$ac_ext <<_ACEOF | 10696 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17393 | /* confdefs.h. */ | ||
17394 | _ACEOF | ||
17395 | cat confdefs.h >>conftest.$ac_ext | ||
17396 | cat >>conftest.$ac_ext <<_ACEOF | ||
17397 | /* end confdefs.h. */ | 10697 | /* end confdefs.h. */ |
17398 | #include <ctype.h> | 10698 | #include <ctype.h> |
17399 | int | 10699 | int |
@@ -17404,43 +10704,18 @@ main () | |||
17404 | return 0; | 10704 | return 0; |
17405 | } | 10705 | } |
17406 | _ACEOF | 10706 | _ACEOF |
17407 | rm -f conftest.$ac_objext conftest$ac_exeext | 10707 | if ac_fn_c_try_link "$LINENO"; then : |
17408 | if { (ac_try="$ac_link" | ||
17409 | case "(($ac_try" in | ||
17410 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17411 | *) ac_try_echo=$ac_try;; | ||
17412 | esac | ||
17413 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17414 | (eval "$ac_link") 2>conftest.er1 | ||
17415 | ac_status=$? | ||
17416 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17417 | rm -f conftest.er1 | ||
17418 | cat conftest.err >&5 | ||
17419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17420 | (exit $ac_status); } && { | ||
17421 | test -z "$ac_c_werror_flag" || | ||
17422 | test ! -s conftest.err | ||
17423 | } && test -s conftest$ac_exeext && | ||
17424 | $as_test_x conftest$ac_exeext; then | ||
17425 | |||
17426 | cat >>confdefs.h <<\_ACEOF | ||
17427 | #define HAVE_ISBLANK 1 | ||
17428 | _ACEOF | ||
17429 | 10708 | ||
17430 | 10709 | $as_echo "#define HAVE_ISBLANK 1" >>confdefs.h | |
17431 | else | ||
17432 | echo "$as_me: failed program was:" >&5 | ||
17433 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17434 | 10710 | ||
17435 | 10711 | ||
17436 | fi | 10712 | fi |
17437 | 10713 | rm -f core conftest.err conftest.$ac_objext \ | |
17438 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10714 | conftest$ac_exeext conftest.$ac_ext |
17439 | conftest$ac_exeext conftest.$ac_ext | ||
17440 | 10715 | ||
17441 | disable_pkcs11= | 10716 | disable_pkcs11= |
17442 | # Check whether --enable-pkcs11 was given. | 10717 | # Check whether --enable-pkcs11 was given. |
17443 | if test "${enable_pkcs11+set}" = set; then | 10718 | if test "${enable_pkcs11+set}" = set; then : |
17444 | enableval=$enable_pkcs11; | 10719 | enableval=$enable_pkcs11; |
17445 | if test "x$enableval" = "xno" ; then | 10720 | if test "x$enableval" = "xno" ; then |
17446 | disable_pkcs11=1 | 10721 | disable_pkcs11=1 |
@@ -17453,17 +10728,13 @@ fi | |||
17453 | # PKCS11 depends on OpenSSL. | 10728 | # PKCS11 depends on OpenSSL. |
17454 | if test "x$openssl" = "xyes" && test "x$disable_pkcs11" = "x"; then | 10729 | if test "x$openssl" = "xyes" && test "x$disable_pkcs11" = "x"; then |
17455 | # PKCS#11 support requires dlopen() and co | 10730 | # PKCS#11 support requires dlopen() and co |
17456 | { echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | 10731 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 |
17457 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; } | 10732 | $as_echo_n "checking for library containing dlopen... " >&6; } |
17458 | if test "${ac_cv_search_dlopen+set}" = set; then | 10733 | if ${ac_cv_search_dlopen+:} false; then : |
17459 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10734 | $as_echo_n "(cached) " >&6 |
17460 | else | 10735 | else |
17461 | ac_func_search_save_LIBS=$LIBS | 10736 | ac_func_search_save_LIBS=$LIBS |
17462 | cat >conftest.$ac_ext <<_ACEOF | 10737 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17463 | /* confdefs.h. */ | ||
17464 | _ACEOF | ||
17465 | cat confdefs.h >>conftest.$ac_ext | ||
17466 | cat >>conftest.$ac_ext <<_ACEOF | ||
17467 | /* end confdefs.h. */ | 10738 | /* end confdefs.h. */ |
17468 | 10739 | ||
17469 | /* Override any GCC internal prototype to avoid an error. | 10740 | /* Override any GCC internal prototype to avoid an error. |
@@ -17488,55 +10759,30 @@ for ac_lib in '' dl; do | |||
17488 | ac_res=-l$ac_lib | 10759 | ac_res=-l$ac_lib |
17489 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 10760 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
17490 | fi | 10761 | fi |
17491 | rm -f conftest.$ac_objext conftest$ac_exeext | 10762 | if ac_fn_c_try_link "$LINENO"; then : |
17492 | if { (ac_try="$ac_link" | ||
17493 | case "(($ac_try" in | ||
17494 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17495 | *) ac_try_echo=$ac_try;; | ||
17496 | esac | ||
17497 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17498 | (eval "$ac_link") 2>conftest.er1 | ||
17499 | ac_status=$? | ||
17500 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17501 | rm -f conftest.er1 | ||
17502 | cat conftest.err >&5 | ||
17503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17504 | (exit $ac_status); } && { | ||
17505 | test -z "$ac_c_werror_flag" || | ||
17506 | test ! -s conftest.err | ||
17507 | } && test -s conftest$ac_exeext && | ||
17508 | $as_test_x conftest$ac_exeext; then | ||
17509 | ac_cv_search_dlopen=$ac_res | 10763 | ac_cv_search_dlopen=$ac_res |
17510 | else | ||
17511 | echo "$as_me: failed program was:" >&5 | ||
17512 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17513 | |||
17514 | |||
17515 | fi | 10764 | fi |
17516 | 10765 | rm -f core conftest.err conftest.$ac_objext \ | |
17517 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10766 | conftest$ac_exeext |
17518 | conftest$ac_exeext | 10767 | if ${ac_cv_search_dlopen+:} false; then : |
17519 | if test "${ac_cv_search_dlopen+set}" = set; then | ||
17520 | break | 10768 | break |
17521 | fi | 10769 | fi |
17522 | done | 10770 | done |
17523 | if test "${ac_cv_search_dlopen+set}" = set; then | 10771 | if ${ac_cv_search_dlopen+:} false; then : |
17524 | : | 10772 | |
17525 | else | 10773 | else |
17526 | ac_cv_search_dlopen=no | 10774 | ac_cv_search_dlopen=no |
17527 | fi | 10775 | fi |
17528 | rm conftest.$ac_ext | 10776 | rm conftest.$ac_ext |
17529 | LIBS=$ac_func_search_save_LIBS | 10777 | LIBS=$ac_func_search_save_LIBS |
17530 | fi | 10778 | fi |
17531 | { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | 10779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 |
17532 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6; } | 10780 | $as_echo "$ac_cv_search_dlopen" >&6; } |
17533 | ac_res=$ac_cv_search_dlopen | 10781 | ac_res=$ac_cv_search_dlopen |
17534 | if test "$ac_res" != no; then | 10782 | if test "$ac_res" != no; then : |
17535 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 10783 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
17536 | 10784 | ||
17537 | cat >>confdefs.h <<\_ACEOF | 10785 | $as_echo "#define ENABLE_PKCS11 /**/" >>confdefs.h |
17538 | #define ENABLE_PKCS11 | ||
17539 | _ACEOF | ||
17540 | 10786 | ||
17541 | 10787 | ||
17542 | fi | 10788 | fi |
@@ -17544,106 +10790,17 @@ fi | |||
17544 | fi | 10790 | fi |
17545 | 10791 | ||
17546 | # IRIX has a const char return value for gai_strerror() | 10792 | # IRIX has a const char return value for gai_strerror() |
17547 | |||
17548 | for ac_func in gai_strerror | 10793 | for ac_func in gai_strerror |
17549 | do | 10794 | do : |
17550 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10795 | ac_fn_c_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror" |
17551 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10796 | if test "x$ac_cv_func_gai_strerror" = xyes; then : |
17552 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
17553 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17554 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17555 | else | ||
17556 | cat >conftest.$ac_ext <<_ACEOF | ||
17557 | /* confdefs.h. */ | ||
17558 | _ACEOF | ||
17559 | cat confdefs.h >>conftest.$ac_ext | ||
17560 | cat >>conftest.$ac_ext <<_ACEOF | ||
17561 | /* end confdefs.h. */ | ||
17562 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17563 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17564 | #define $ac_func innocuous_$ac_func | ||
17565 | |||
17566 | /* System header to define __stub macros and hopefully few prototypes, | ||
17567 | which can conflict with char $ac_func (); below. | ||
17568 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17569 | <limits.h> exists even on freestanding compilers. */ | ||
17570 | |||
17571 | #ifdef __STDC__ | ||
17572 | # include <limits.h> | ||
17573 | #else | ||
17574 | # include <assert.h> | ||
17575 | #endif | ||
17576 | |||
17577 | #undef $ac_func | ||
17578 | |||
17579 | /* Override any GCC internal prototype to avoid an error. | ||
17580 | Use char because int might match the return type of a GCC | ||
17581 | builtin and then its argument prototype would still apply. */ | ||
17582 | #ifdef __cplusplus | ||
17583 | extern "C" | ||
17584 | #endif | ||
17585 | char $ac_func (); | ||
17586 | /* The GNU C library defines this for functions which it implements | ||
17587 | to always fail with ENOSYS. Some functions are actually named | ||
17588 | something starting with __ and the normal name is an alias. */ | ||
17589 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17590 | choke me | ||
17591 | #endif | ||
17592 | |||
17593 | int | ||
17594 | main () | ||
17595 | { | ||
17596 | return $ac_func (); | ||
17597 | ; | ||
17598 | return 0; | ||
17599 | } | ||
17600 | _ACEOF | ||
17601 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17602 | if { (ac_try="$ac_link" | ||
17603 | case "(($ac_try" in | ||
17604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17605 | *) ac_try_echo=$ac_try;; | ||
17606 | esac | ||
17607 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17608 | (eval "$ac_link") 2>conftest.er1 | ||
17609 | ac_status=$? | ||
17610 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17611 | rm -f conftest.er1 | ||
17612 | cat conftest.err >&5 | ||
17613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17614 | (exit $ac_status); } && { | ||
17615 | test -z "$ac_c_werror_flag" || | ||
17616 | test ! -s conftest.err | ||
17617 | } && test -s conftest$ac_exeext && | ||
17618 | $as_test_x conftest$ac_exeext; then | ||
17619 | eval "$as_ac_var=yes" | ||
17620 | else | ||
17621 | echo "$as_me: failed program was:" >&5 | ||
17622 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17623 | |||
17624 | eval "$as_ac_var=no" | ||
17625 | fi | ||
17626 | |||
17627 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
17628 | conftest$ac_exeext conftest.$ac_ext | ||
17629 | fi | ||
17630 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
17631 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
17632 | echo "${ECHO_T}$ac_res" >&6; } | ||
17633 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
17634 | cat >>confdefs.h <<_ACEOF | 10797 | cat >>confdefs.h <<_ACEOF |
17635 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
17636 | _ACEOF | ||
17637 | |||
17638 | cat >>confdefs.h <<\_ACEOF | ||
17639 | #define HAVE_GAI_STRERROR 1 | 10798 | #define HAVE_GAI_STRERROR 1 |
17640 | _ACEOF | 10799 | _ACEOF |
17641 | 10800 | ||
17642 | cat >conftest.$ac_ext <<_ACEOF | 10801 | $as_echo "#define HAVE_GAI_STRERROR 1" >>confdefs.h |
17643 | /* confdefs.h. */ | 10802 | |
17644 | _ACEOF | 10803 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17645 | cat confdefs.h >>conftest.$ac_ext | ||
17646 | cat >>conftest.$ac_ext <<_ACEOF | ||
17647 | /* end confdefs.h. */ | 10804 | /* end confdefs.h. */ |
17648 | 10805 | ||
17649 | #include <sys/types.h> | 10806 | #include <sys/types.h> |
@@ -17663,52 +10820,24 @@ main () | |||
17663 | return 0; | 10820 | return 0; |
17664 | } | 10821 | } |
17665 | _ACEOF | 10822 | _ACEOF |
17666 | rm -f conftest.$ac_objext | 10823 | if ac_fn_c_try_compile "$LINENO"; then : |
17667 | if { (ac_try="$ac_compile" | ||
17668 | case "(($ac_try" in | ||
17669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17670 | *) ac_try_echo=$ac_try;; | ||
17671 | esac | ||
17672 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17673 | (eval "$ac_compile") 2>conftest.er1 | ||
17674 | ac_status=$? | ||
17675 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17676 | rm -f conftest.er1 | ||
17677 | cat conftest.err >&5 | ||
17678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17679 | (exit $ac_status); } && { | ||
17680 | test -z "$ac_c_werror_flag" || | ||
17681 | test ! -s conftest.err | ||
17682 | } && test -s conftest.$ac_objext; then | ||
17683 | |||
17684 | |||
17685 | cat >>confdefs.h <<\_ACEOF | ||
17686 | #define HAVE_CONST_GAI_STRERROR_PROTO 1 | ||
17687 | _ACEOF | ||
17688 | 10824 | ||
17689 | else | ||
17690 | echo "$as_me: failed program was:" >&5 | ||
17691 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17692 | 10825 | ||
10826 | $as_echo "#define HAVE_CONST_GAI_STRERROR_PROTO 1" >>confdefs.h | ||
17693 | 10827 | ||
17694 | fi | 10828 | fi |
17695 | |||
17696 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 10829 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17697 | fi | 10830 | fi |
17698 | done | 10831 | done |
17699 | 10832 | ||
17700 | 10833 | ||
17701 | { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 | 10834 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 |
17702 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } | 10835 | $as_echo_n "checking for library containing nanosleep... " >&6; } |
17703 | if test "${ac_cv_search_nanosleep+set}" = set; then | 10836 | if ${ac_cv_search_nanosleep+:} false; then : |
17704 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10837 | $as_echo_n "(cached) " >&6 |
17705 | else | 10838 | else |
17706 | ac_func_search_save_LIBS=$LIBS | 10839 | ac_func_search_save_LIBS=$LIBS |
17707 | cat >conftest.$ac_ext <<_ACEOF | 10840 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17708 | /* confdefs.h. */ | ||
17709 | _ACEOF | ||
17710 | cat confdefs.h >>conftest.$ac_ext | ||
17711 | cat >>conftest.$ac_ext <<_ACEOF | ||
17712 | /* end confdefs.h. */ | 10841 | /* end confdefs.h. */ |
17713 | 10842 | ||
17714 | /* Override any GCC internal prototype to avoid an error. | 10843 | /* Override any GCC internal prototype to avoid an error. |
@@ -17733,70 +10862,41 @@ for ac_lib in '' rt posix4; do | |||
17733 | ac_res=-l$ac_lib | 10862 | ac_res=-l$ac_lib |
17734 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 10863 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
17735 | fi | 10864 | fi |
17736 | rm -f conftest.$ac_objext conftest$ac_exeext | 10865 | if ac_fn_c_try_link "$LINENO"; then : |
17737 | if { (ac_try="$ac_link" | ||
17738 | case "(($ac_try" in | ||
17739 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17740 | *) ac_try_echo=$ac_try;; | ||
17741 | esac | ||
17742 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17743 | (eval "$ac_link") 2>conftest.er1 | ||
17744 | ac_status=$? | ||
17745 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17746 | rm -f conftest.er1 | ||
17747 | cat conftest.err >&5 | ||
17748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17749 | (exit $ac_status); } && { | ||
17750 | test -z "$ac_c_werror_flag" || | ||
17751 | test ! -s conftest.err | ||
17752 | } && test -s conftest$ac_exeext && | ||
17753 | $as_test_x conftest$ac_exeext; then | ||
17754 | ac_cv_search_nanosleep=$ac_res | 10866 | ac_cv_search_nanosleep=$ac_res |
17755 | else | ||
17756 | echo "$as_me: failed program was:" >&5 | ||
17757 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17758 | |||
17759 | |||
17760 | fi | 10867 | fi |
17761 | 10868 | rm -f core conftest.err conftest.$ac_objext \ | |
17762 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10869 | conftest$ac_exeext |
17763 | conftest$ac_exeext | 10870 | if ${ac_cv_search_nanosleep+:} false; then : |
17764 | if test "${ac_cv_search_nanosleep+set}" = set; then | ||
17765 | break | 10871 | break |
17766 | fi | 10872 | fi |
17767 | done | 10873 | done |
17768 | if test "${ac_cv_search_nanosleep+set}" = set; then | 10874 | if ${ac_cv_search_nanosleep+:} false; then : |
17769 | : | 10875 | |
17770 | else | 10876 | else |
17771 | ac_cv_search_nanosleep=no | 10877 | ac_cv_search_nanosleep=no |
17772 | fi | 10878 | fi |
17773 | rm conftest.$ac_ext | 10879 | rm conftest.$ac_ext |
17774 | LIBS=$ac_func_search_save_LIBS | 10880 | LIBS=$ac_func_search_save_LIBS |
17775 | fi | 10881 | fi |
17776 | { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 | 10882 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 |
17777 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } | 10883 | $as_echo "$ac_cv_search_nanosleep" >&6; } |
17778 | ac_res=$ac_cv_search_nanosleep | 10884 | ac_res=$ac_cv_search_nanosleep |
17779 | if test "$ac_res" != no; then | 10885 | if test "$ac_res" != no; then : |
17780 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 10886 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
17781 | 10887 | ||
17782 | cat >>confdefs.h <<\_ACEOF | 10888 | $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h |
17783 | #define HAVE_NANOSLEEP 1 | ||
17784 | _ACEOF | ||
17785 | 10889 | ||
17786 | fi | 10890 | fi |
17787 | 10891 | ||
17788 | 10892 | ||
17789 | { echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5 | 10893 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 |
17790 | echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6; } | 10894 | $as_echo_n "checking for library containing clock_gettime... " >&6; } |
17791 | if test "${ac_cv_search_clock_gettime+set}" = set; then | 10895 | if ${ac_cv_search_clock_gettime+:} false; then : |
17792 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10896 | $as_echo_n "(cached) " >&6 |
17793 | else | 10897 | else |
17794 | ac_func_search_save_LIBS=$LIBS | 10898 | ac_func_search_save_LIBS=$LIBS |
17795 | cat >conftest.$ac_ext <<_ACEOF | 10899 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
17796 | /* confdefs.h. */ | ||
17797 | _ACEOF | ||
17798 | cat confdefs.h >>conftest.$ac_ext | ||
17799 | cat >>conftest.$ac_ext <<_ACEOF | ||
17800 | /* end confdefs.h. */ | 10900 | /* end confdefs.h. */ |
17801 | 10901 | ||
17802 | /* Override any GCC internal prototype to avoid an error. | 10902 | /* Override any GCC internal prototype to avoid an error. |
@@ -17821,201 +10921,42 @@ for ac_lib in '' rt; do | |||
17821 | ac_res=-l$ac_lib | 10921 | ac_res=-l$ac_lib |
17822 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 10922 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
17823 | fi | 10923 | fi |
17824 | rm -f conftest.$ac_objext conftest$ac_exeext | 10924 | if ac_fn_c_try_link "$LINENO"; then : |
17825 | if { (ac_try="$ac_link" | ||
17826 | case "(($ac_try" in | ||
17827 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17828 | *) ac_try_echo=$ac_try;; | ||
17829 | esac | ||
17830 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17831 | (eval "$ac_link") 2>conftest.er1 | ||
17832 | ac_status=$? | ||
17833 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17834 | rm -f conftest.er1 | ||
17835 | cat conftest.err >&5 | ||
17836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17837 | (exit $ac_status); } && { | ||
17838 | test -z "$ac_c_werror_flag" || | ||
17839 | test ! -s conftest.err | ||
17840 | } && test -s conftest$ac_exeext && | ||
17841 | $as_test_x conftest$ac_exeext; then | ||
17842 | ac_cv_search_clock_gettime=$ac_res | 10925 | ac_cv_search_clock_gettime=$ac_res |
17843 | else | ||
17844 | echo "$as_me: failed program was:" >&5 | ||
17845 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17846 | |||
17847 | |||
17848 | fi | 10926 | fi |
17849 | 10927 | rm -f core conftest.err conftest.$ac_objext \ | |
17850 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 10928 | conftest$ac_exeext |
17851 | conftest$ac_exeext | 10929 | if ${ac_cv_search_clock_gettime+:} false; then : |
17852 | if test "${ac_cv_search_clock_gettime+set}" = set; then | ||
17853 | break | 10930 | break |
17854 | fi | 10931 | fi |
17855 | done | 10932 | done |
17856 | if test "${ac_cv_search_clock_gettime+set}" = set; then | 10933 | if ${ac_cv_search_clock_gettime+:} false; then : |
17857 | : | 10934 | |
17858 | else | 10935 | else |
17859 | ac_cv_search_clock_gettime=no | 10936 | ac_cv_search_clock_gettime=no |
17860 | fi | 10937 | fi |
17861 | rm conftest.$ac_ext | 10938 | rm conftest.$ac_ext |
17862 | LIBS=$ac_func_search_save_LIBS | 10939 | LIBS=$ac_func_search_save_LIBS |
17863 | fi | 10940 | fi |
17864 | { echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5 | 10941 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 |
17865 | echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6; } | 10942 | $as_echo "$ac_cv_search_clock_gettime" >&6; } |
17866 | ac_res=$ac_cv_search_clock_gettime | 10943 | ac_res=$ac_cv_search_clock_gettime |
17867 | if test "$ac_res" != no; then | 10944 | if test "$ac_res" != no; then : |
17868 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 10945 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
17869 | 10946 | ||
17870 | cat >>confdefs.h <<\_ACEOF | 10947 | $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h |
17871 | #define HAVE_CLOCK_GETTIME 1 | ||
17872 | _ACEOF | ||
17873 | 10948 | ||
17874 | fi | 10949 | fi |
17875 | 10950 | ||
17876 | 10951 | ||
17877 | { echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 | 10952 | ac_fn_c_check_decl "$LINENO" "getrusage" "ac_cv_have_decl_getrusage" "$ac_includes_default" |
17878 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6; } | 10953 | if test "x$ac_cv_have_decl_getrusage" = xyes; then : |
17879 | if test "${ac_cv_have_decl_getrusage+set}" = set; then | 10954 | for ac_func in getrusage |
17880 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 10955 | do : |
17881 | else | 10956 | ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage" |
17882 | cat >conftest.$ac_ext <<_ACEOF | 10957 | if test "x$ac_cv_func_getrusage" = xyes; then : |
17883 | /* confdefs.h. */ | ||
17884 | _ACEOF | ||
17885 | cat confdefs.h >>conftest.$ac_ext | ||
17886 | cat >>conftest.$ac_ext <<_ACEOF | ||
17887 | /* end confdefs.h. */ | ||
17888 | $ac_includes_default | ||
17889 | int | ||
17890 | main () | ||
17891 | { | ||
17892 | #ifndef getrusage | ||
17893 | (void) getrusage; | ||
17894 | #endif | ||
17895 | |||
17896 | ; | ||
17897 | return 0; | ||
17898 | } | ||
17899 | _ACEOF | ||
17900 | rm -f conftest.$ac_objext | ||
17901 | if { (ac_try="$ac_compile" | ||
17902 | case "(($ac_try" in | ||
17903 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17904 | *) ac_try_echo=$ac_try;; | ||
17905 | esac | ||
17906 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17907 | (eval "$ac_compile") 2>conftest.er1 | ||
17908 | ac_status=$? | ||
17909 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17910 | rm -f conftest.er1 | ||
17911 | cat conftest.err >&5 | ||
17912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17913 | (exit $ac_status); } && { | ||
17914 | test -z "$ac_c_werror_flag" || | ||
17915 | test ! -s conftest.err | ||
17916 | } && test -s conftest.$ac_objext; then | ||
17917 | ac_cv_have_decl_getrusage=yes | ||
17918 | else | ||
17919 | echo "$as_me: failed program was:" >&5 | ||
17920 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17921 | |||
17922 | ac_cv_have_decl_getrusage=no | ||
17923 | fi | ||
17924 | |||
17925 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17926 | fi | ||
17927 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 | ||
17928 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6; } | ||
17929 | if test $ac_cv_have_decl_getrusage = yes; then | ||
17930 | |||
17931 | for ac_func in getrusage | ||
17932 | do | ||
17933 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
17934 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
17935 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
17936 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17937 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17938 | else | ||
17939 | cat >conftest.$ac_ext <<_ACEOF | ||
17940 | /* confdefs.h. */ | ||
17941 | _ACEOF | ||
17942 | cat confdefs.h >>conftest.$ac_ext | ||
17943 | cat >>conftest.$ac_ext <<_ACEOF | ||
17944 | /* end confdefs.h. */ | ||
17945 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17946 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17947 | #define $ac_func innocuous_$ac_func | ||
17948 | |||
17949 | /* System header to define __stub macros and hopefully few prototypes, | ||
17950 | which can conflict with char $ac_func (); below. | ||
17951 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17952 | <limits.h> exists even on freestanding compilers. */ | ||
17953 | |||
17954 | #ifdef __STDC__ | ||
17955 | # include <limits.h> | ||
17956 | #else | ||
17957 | # include <assert.h> | ||
17958 | #endif | ||
17959 | |||
17960 | #undef $ac_func | ||
17961 | |||
17962 | /* Override any GCC internal prototype to avoid an error. | ||
17963 | Use char because int might match the return type of a GCC | ||
17964 | builtin and then its argument prototype would still apply. */ | ||
17965 | #ifdef __cplusplus | ||
17966 | extern "C" | ||
17967 | #endif | ||
17968 | char $ac_func (); | ||
17969 | /* The GNU C library defines this for functions which it implements | ||
17970 | to always fail with ENOSYS. Some functions are actually named | ||
17971 | something starting with __ and the normal name is an alias. */ | ||
17972 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17973 | choke me | ||
17974 | #endif | ||
17975 | |||
17976 | int | ||
17977 | main () | ||
17978 | { | ||
17979 | return $ac_func (); | ||
17980 | ; | ||
17981 | return 0; | ||
17982 | } | ||
17983 | _ACEOF | ||
17984 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17985 | if { (ac_try="$ac_link" | ||
17986 | case "(($ac_try" in | ||
17987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17988 | *) ac_try_echo=$ac_try;; | ||
17989 | esac | ||
17990 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17991 | (eval "$ac_link") 2>conftest.er1 | ||
17992 | ac_status=$? | ||
17993 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17994 | rm -f conftest.er1 | ||
17995 | cat conftest.err >&5 | ||
17996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17997 | (exit $ac_status); } && { | ||
17998 | test -z "$ac_c_werror_flag" || | ||
17999 | test ! -s conftest.err | ||
18000 | } && test -s conftest$ac_exeext && | ||
18001 | $as_test_x conftest$ac_exeext; then | ||
18002 | eval "$as_ac_var=yes" | ||
18003 | else | ||
18004 | echo "$as_me: failed program was:" >&5 | ||
18005 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18006 | |||
18007 | eval "$as_ac_var=no" | ||
18008 | fi | ||
18009 | |||
18010 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18011 | conftest$ac_exeext conftest.$ac_ext | ||
18012 | fi | ||
18013 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18014 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18015 | echo "${ECHO_T}$ac_res" >&6; } | ||
18016 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
18017 | cat >>confdefs.h <<_ACEOF | 10958 | cat >>confdefs.h <<_ACEOF |
18018 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10959 | #define HAVE_GETRUSAGE 1 |
18019 | _ACEOF | 10960 | _ACEOF |
18020 | 10961 | ||
18021 | fi | 10962 | fi |
@@ -18023,153 +10964,19 @@ done | |||
18023 | 10964 | ||
18024 | fi | 10965 | fi |
18025 | 10966 | ||
18026 | { echo "$as_me:$LINENO: checking whether strsep is declared" >&5 | 10967 | ac_fn_c_check_decl "$LINENO" "strsep" "ac_cv_have_decl_strsep" " |
18027 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6; } | ||
18028 | if test "${ac_cv_have_decl_strsep+set}" = set; then | ||
18029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18030 | else | ||
18031 | cat >conftest.$ac_ext <<_ACEOF | ||
18032 | /* confdefs.h. */ | ||
18033 | _ACEOF | ||
18034 | cat confdefs.h >>conftest.$ac_ext | ||
18035 | cat >>conftest.$ac_ext <<_ACEOF | ||
18036 | /* end confdefs.h. */ | ||
18037 | |||
18038 | #ifdef HAVE_STRING_H | 10968 | #ifdef HAVE_STRING_H |
18039 | # include <string.h> | 10969 | # include <string.h> |
18040 | #endif | 10970 | #endif |
18041 | 10971 | ||
18042 | 10972 | " | |
18043 | int | 10973 | if test "x$ac_cv_have_decl_strsep" = xyes; then : |
18044 | main () | 10974 | for ac_func in strsep |
18045 | { | 10975 | do : |
18046 | #ifndef strsep | 10976 | ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" |
18047 | (void) strsep; | 10977 | if test "x$ac_cv_func_strsep" = xyes; then : |
18048 | #endif | ||
18049 | |||
18050 | ; | ||
18051 | return 0; | ||
18052 | } | ||
18053 | _ACEOF | ||
18054 | rm -f conftest.$ac_objext | ||
18055 | if { (ac_try="$ac_compile" | ||
18056 | case "(($ac_try" in | ||
18057 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18058 | *) ac_try_echo=$ac_try;; | ||
18059 | esac | ||
18060 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18061 | (eval "$ac_compile") 2>conftest.er1 | ||
18062 | ac_status=$? | ||
18063 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18064 | rm -f conftest.er1 | ||
18065 | cat conftest.err >&5 | ||
18066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18067 | (exit $ac_status); } && { | ||
18068 | test -z "$ac_c_werror_flag" || | ||
18069 | test ! -s conftest.err | ||
18070 | } && test -s conftest.$ac_objext; then | ||
18071 | ac_cv_have_decl_strsep=yes | ||
18072 | else | ||
18073 | echo "$as_me: failed program was:" >&5 | ||
18074 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18075 | |||
18076 | ac_cv_have_decl_strsep=no | ||
18077 | fi | ||
18078 | |||
18079 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18080 | fi | ||
18081 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | ||
18082 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6; } | ||
18083 | if test $ac_cv_have_decl_strsep = yes; then | ||
18084 | |||
18085 | for ac_func in strsep | ||
18086 | do | ||
18087 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
18088 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
18089 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
18090 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18091 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18092 | else | ||
18093 | cat >conftest.$ac_ext <<_ACEOF | ||
18094 | /* confdefs.h. */ | ||
18095 | _ACEOF | ||
18096 | cat confdefs.h >>conftest.$ac_ext | ||
18097 | cat >>conftest.$ac_ext <<_ACEOF | ||
18098 | /* end confdefs.h. */ | ||
18099 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18100 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18101 | #define $ac_func innocuous_$ac_func | ||
18102 | |||
18103 | /* System header to define __stub macros and hopefully few prototypes, | ||
18104 | which can conflict with char $ac_func (); below. | ||
18105 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18106 | <limits.h> exists even on freestanding compilers. */ | ||
18107 | |||
18108 | #ifdef __STDC__ | ||
18109 | # include <limits.h> | ||
18110 | #else | ||
18111 | # include <assert.h> | ||
18112 | #endif | ||
18113 | |||
18114 | #undef $ac_func | ||
18115 | |||
18116 | /* Override any GCC internal prototype to avoid an error. | ||
18117 | Use char because int might match the return type of a GCC | ||
18118 | builtin and then its argument prototype would still apply. */ | ||
18119 | #ifdef __cplusplus | ||
18120 | extern "C" | ||
18121 | #endif | ||
18122 | char $ac_func (); | ||
18123 | /* The GNU C library defines this for functions which it implements | ||
18124 | to always fail with ENOSYS. Some functions are actually named | ||
18125 | something starting with __ and the normal name is an alias. */ | ||
18126 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18127 | choke me | ||
18128 | #endif | ||
18129 | |||
18130 | int | ||
18131 | main () | ||
18132 | { | ||
18133 | return $ac_func (); | ||
18134 | ; | ||
18135 | return 0; | ||
18136 | } | ||
18137 | _ACEOF | ||
18138 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18139 | if { (ac_try="$ac_link" | ||
18140 | case "(($ac_try" in | ||
18141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18142 | *) ac_try_echo=$ac_try;; | ||
18143 | esac | ||
18144 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18145 | (eval "$ac_link") 2>conftest.er1 | ||
18146 | ac_status=$? | ||
18147 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18148 | rm -f conftest.er1 | ||
18149 | cat conftest.err >&5 | ||
18150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18151 | (exit $ac_status); } && { | ||
18152 | test -z "$ac_c_werror_flag" || | ||
18153 | test ! -s conftest.err | ||
18154 | } && test -s conftest$ac_exeext && | ||
18155 | $as_test_x conftest$ac_exeext; then | ||
18156 | eval "$as_ac_var=yes" | ||
18157 | else | ||
18158 | echo "$as_me: failed program was:" >&5 | ||
18159 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18160 | |||
18161 | eval "$as_ac_var=no" | ||
18162 | fi | ||
18163 | |||
18164 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18165 | conftest$ac_exeext conftest.$ac_ext | ||
18166 | fi | ||
18167 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18168 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18169 | echo "${ECHO_T}$ac_res" >&6; } | ||
18170 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
18171 | cat >>confdefs.h <<_ACEOF | 10978 | cat >>confdefs.h <<_ACEOF |
18172 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10979 | #define HAVE_STRSEP 1 |
18173 | _ACEOF | 10980 | _ACEOF |
18174 | 10981 | ||
18175 | fi | 10982 | fi |
@@ -18178,155 +10985,19 @@ done | |||
18178 | fi | 10985 | fi |
18179 | 10986 | ||
18180 | 10987 | ||
18181 | { echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5 | 10988 | ac_fn_c_check_decl "$LINENO" "tcsendbreak" "ac_cv_have_decl_tcsendbreak" "#include <termios.h> |
18182 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6; } | ||
18183 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then | ||
18184 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18185 | else | ||
18186 | cat >conftest.$ac_ext <<_ACEOF | ||
18187 | /* confdefs.h. */ | ||
18188 | _ACEOF | ||
18189 | cat confdefs.h >>conftest.$ac_ext | ||
18190 | cat >>conftest.$ac_ext <<_ACEOF | ||
18191 | /* end confdefs.h. */ | ||
18192 | #include <termios.h> | ||
18193 | |||
18194 | |||
18195 | int | ||
18196 | main () | ||
18197 | { | ||
18198 | #ifndef tcsendbreak | ||
18199 | (void) tcsendbreak; | ||
18200 | #endif | ||
18201 | 10989 | ||
18202 | ; | 10990 | " |
18203 | return 0; | 10991 | if test "x$ac_cv_have_decl_tcsendbreak" = xyes; then : |
18204 | } | 10992 | $as_echo "#define HAVE_TCSENDBREAK 1" >>confdefs.h |
18205 | _ACEOF | ||
18206 | rm -f conftest.$ac_objext | ||
18207 | if { (ac_try="$ac_compile" | ||
18208 | case "(($ac_try" in | ||
18209 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18210 | *) ac_try_echo=$ac_try;; | ||
18211 | esac | ||
18212 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18213 | (eval "$ac_compile") 2>conftest.er1 | ||
18214 | ac_status=$? | ||
18215 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18216 | rm -f conftest.er1 | ||
18217 | cat conftest.err >&5 | ||
18218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18219 | (exit $ac_status); } && { | ||
18220 | test -z "$ac_c_werror_flag" || | ||
18221 | test ! -s conftest.err | ||
18222 | } && test -s conftest.$ac_objext; then | ||
18223 | ac_cv_have_decl_tcsendbreak=yes | ||
18224 | else | ||
18225 | echo "$as_me: failed program was:" >&5 | ||
18226 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18227 | |||
18228 | ac_cv_have_decl_tcsendbreak=no | ||
18229 | fi | ||
18230 | |||
18231 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18232 | fi | ||
18233 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5 | ||
18234 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6; } | ||
18235 | if test $ac_cv_have_decl_tcsendbreak = yes; then | ||
18236 | cat >>confdefs.h <<\_ACEOF | ||
18237 | #define HAVE_TCSENDBREAK 1 | ||
18238 | _ACEOF | ||
18239 | |||
18240 | else | ||
18241 | |||
18242 | for ac_func in tcsendbreak | ||
18243 | do | ||
18244 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
18245 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
18246 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
18247 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18248 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18249 | else | ||
18250 | cat >conftest.$ac_ext <<_ACEOF | ||
18251 | /* confdefs.h. */ | ||
18252 | _ACEOF | ||
18253 | cat confdefs.h >>conftest.$ac_ext | ||
18254 | cat >>conftest.$ac_ext <<_ACEOF | ||
18255 | /* end confdefs.h. */ | ||
18256 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18257 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18258 | #define $ac_func innocuous_$ac_func | ||
18259 | |||
18260 | /* System header to define __stub macros and hopefully few prototypes, | ||
18261 | which can conflict with char $ac_func (); below. | ||
18262 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18263 | <limits.h> exists even on freestanding compilers. */ | ||
18264 | |||
18265 | #ifdef __STDC__ | ||
18266 | # include <limits.h> | ||
18267 | #else | ||
18268 | # include <assert.h> | ||
18269 | #endif | ||
18270 | |||
18271 | #undef $ac_func | ||
18272 | |||
18273 | /* Override any GCC internal prototype to avoid an error. | ||
18274 | Use char because int might match the return type of a GCC | ||
18275 | builtin and then its argument prototype would still apply. */ | ||
18276 | #ifdef __cplusplus | ||
18277 | extern "C" | ||
18278 | #endif | ||
18279 | char $ac_func (); | ||
18280 | /* The GNU C library defines this for functions which it implements | ||
18281 | to always fail with ENOSYS. Some functions are actually named | ||
18282 | something starting with __ and the normal name is an alias. */ | ||
18283 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18284 | choke me | ||
18285 | #endif | ||
18286 | 10993 | ||
18287 | int | ||
18288 | main () | ||
18289 | { | ||
18290 | return $ac_func (); | ||
18291 | ; | ||
18292 | return 0; | ||
18293 | } | ||
18294 | _ACEOF | ||
18295 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18296 | if { (ac_try="$ac_link" | ||
18297 | case "(($ac_try" in | ||
18298 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18299 | *) ac_try_echo=$ac_try;; | ||
18300 | esac | ||
18301 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18302 | (eval "$ac_link") 2>conftest.er1 | ||
18303 | ac_status=$? | ||
18304 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18305 | rm -f conftest.er1 | ||
18306 | cat conftest.err >&5 | ||
18307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18308 | (exit $ac_status); } && { | ||
18309 | test -z "$ac_c_werror_flag" || | ||
18310 | test ! -s conftest.err | ||
18311 | } && test -s conftest$ac_exeext && | ||
18312 | $as_test_x conftest$ac_exeext; then | ||
18313 | eval "$as_ac_var=yes" | ||
18314 | else | 10994 | else |
18315 | echo "$as_me: failed program was:" >&5 | 10995 | for ac_func in tcsendbreak |
18316 | sed 's/^/| /' conftest.$ac_ext >&5 | 10996 | do : |
18317 | 10997 | ac_fn_c_check_func "$LINENO" "tcsendbreak" "ac_cv_func_tcsendbreak" | |
18318 | eval "$as_ac_var=no" | 10998 | if test "x$ac_cv_func_tcsendbreak" = xyes; then : |
18319 | fi | ||
18320 | |||
18321 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18322 | conftest$ac_exeext conftest.$ac_ext | ||
18323 | fi | ||
18324 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18325 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18326 | echo "${ECHO_T}$ac_res" >&6; } | ||
18327 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
18328 | cat >>confdefs.h <<_ACEOF | 10999 | cat >>confdefs.h <<_ACEOF |
18329 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11000 | #define HAVE_TCSENDBREAK 1 |
18330 | _ACEOF | 11001 | _ACEOF |
18331 | 11002 | ||
18332 | fi | 11003 | fi |
@@ -18335,161 +11006,36 @@ done | |||
18335 | fi | 11006 | fi |
18336 | 11007 | ||
18337 | 11008 | ||
18338 | { echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 | 11009 | ac_fn_c_check_decl "$LINENO" "h_errno" "ac_cv_have_decl_h_errno" "#include <netdb.h> |
18339 | echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6; } | 11010 | " |
18340 | if test "${ac_cv_have_decl_h_errno+set}" = set; then | 11011 | if test "x$ac_cv_have_decl_h_errno" = xyes; then : |
18341 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11012 | ac_have_decl=1 |
18342 | else | ||
18343 | cat >conftest.$ac_ext <<_ACEOF | ||
18344 | /* confdefs.h. */ | ||
18345 | _ACEOF | ||
18346 | cat confdefs.h >>conftest.$ac_ext | ||
18347 | cat >>conftest.$ac_ext <<_ACEOF | ||
18348 | /* end confdefs.h. */ | ||
18349 | #include <netdb.h> | ||
18350 | |||
18351 | int | ||
18352 | main () | ||
18353 | { | ||
18354 | #ifndef h_errno | ||
18355 | (void) h_errno; | ||
18356 | #endif | ||
18357 | |||
18358 | ; | ||
18359 | return 0; | ||
18360 | } | ||
18361 | _ACEOF | ||
18362 | rm -f conftest.$ac_objext | ||
18363 | if { (ac_try="$ac_compile" | ||
18364 | case "(($ac_try" in | ||
18365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18366 | *) ac_try_echo=$ac_try;; | ||
18367 | esac | ||
18368 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18369 | (eval "$ac_compile") 2>conftest.er1 | ||
18370 | ac_status=$? | ||
18371 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18372 | rm -f conftest.er1 | ||
18373 | cat conftest.err >&5 | ||
18374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18375 | (exit $ac_status); } && { | ||
18376 | test -z "$ac_c_werror_flag" || | ||
18377 | test ! -s conftest.err | ||
18378 | } && test -s conftest.$ac_objext; then | ||
18379 | ac_cv_have_decl_h_errno=yes | ||
18380 | else | 11013 | else |
18381 | echo "$as_me: failed program was:" >&5 | 11014 | ac_have_decl=0 |
18382 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18383 | |||
18384 | ac_cv_have_decl_h_errno=no | ||
18385 | fi | ||
18386 | |||
18387 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18388 | fi | 11015 | fi |
18389 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5 | ||
18390 | echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6; } | ||
18391 | if test $ac_cv_have_decl_h_errno = yes; then | ||
18392 | 11016 | ||
18393 | cat >>confdefs.h <<_ACEOF | 11017 | cat >>confdefs.h <<_ACEOF |
18394 | #define HAVE_DECL_H_ERRNO 1 | 11018 | #define HAVE_DECL_H_ERRNO $ac_have_decl |
18395 | _ACEOF | 11019 | _ACEOF |
18396 | 11020 | ||
18397 | 11021 | ||
18398 | else | 11022 | ac_fn_c_check_decl "$LINENO" "SHUT_RD" "ac_cv_have_decl_SHUT_RD" " |
18399 | cat >>confdefs.h <<_ACEOF | ||
18400 | #define HAVE_DECL_H_ERRNO 0 | ||
18401 | _ACEOF | ||
18402 | |||
18403 | |||
18404 | fi | ||
18405 | |||
18406 | |||
18407 | |||
18408 | { echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5 | ||
18409 | echo $ECHO_N "checking whether SHUT_RD is declared... $ECHO_C" >&6; } | ||
18410 | if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then | ||
18411 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18412 | else | ||
18413 | cat >conftest.$ac_ext <<_ACEOF | ||
18414 | /* confdefs.h. */ | ||
18415 | _ACEOF | ||
18416 | cat confdefs.h >>conftest.$ac_ext | ||
18417 | cat >>conftest.$ac_ext <<_ACEOF | ||
18418 | /* end confdefs.h. */ | ||
18419 | |||
18420 | #include <sys/types.h> | 11023 | #include <sys/types.h> |
18421 | #include <sys/socket.h> | 11024 | #include <sys/socket.h> |
18422 | 11025 | ||
18423 | 11026 | " | |
18424 | int | 11027 | if test "x$ac_cv_have_decl_SHUT_RD" = xyes; then : |
18425 | main () | 11028 | ac_have_decl=1 |
18426 | { | ||
18427 | #ifndef SHUT_RD | ||
18428 | (void) SHUT_RD; | ||
18429 | #endif | ||
18430 | |||
18431 | ; | ||
18432 | return 0; | ||
18433 | } | ||
18434 | _ACEOF | ||
18435 | rm -f conftest.$ac_objext | ||
18436 | if { (ac_try="$ac_compile" | ||
18437 | case "(($ac_try" in | ||
18438 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18439 | *) ac_try_echo=$ac_try;; | ||
18440 | esac | ||
18441 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18442 | (eval "$ac_compile") 2>conftest.er1 | ||
18443 | ac_status=$? | ||
18444 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18445 | rm -f conftest.er1 | ||
18446 | cat conftest.err >&5 | ||
18447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18448 | (exit $ac_status); } && { | ||
18449 | test -z "$ac_c_werror_flag" || | ||
18450 | test ! -s conftest.err | ||
18451 | } && test -s conftest.$ac_objext; then | ||
18452 | ac_cv_have_decl_SHUT_RD=yes | ||
18453 | else | 11029 | else |
18454 | echo "$as_me: failed program was:" >&5 | 11030 | ac_have_decl=0 |
18455 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18456 | |||
18457 | ac_cv_have_decl_SHUT_RD=no | ||
18458 | fi | 11031 | fi |
18459 | 11032 | ||
18460 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18461 | fi | ||
18462 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5 | ||
18463 | echo "${ECHO_T}$ac_cv_have_decl_SHUT_RD" >&6; } | ||
18464 | if test $ac_cv_have_decl_SHUT_RD = yes; then | ||
18465 | |||
18466 | cat >>confdefs.h <<_ACEOF | 11033 | cat >>confdefs.h <<_ACEOF |
18467 | #define HAVE_DECL_SHUT_RD 1 | 11034 | #define HAVE_DECL_SHUT_RD $ac_have_decl |
18468 | _ACEOF | ||
18469 | |||
18470 | |||
18471 | else | ||
18472 | cat >>confdefs.h <<_ACEOF | ||
18473 | #define HAVE_DECL_SHUT_RD 0 | ||
18474 | _ACEOF | 11035 | _ACEOF |
18475 | 11036 | ||
18476 | 11037 | ||
18477 | fi | 11038 | ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" " |
18478 | |||
18479 | |||
18480 | |||
18481 | { echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5 | ||
18482 | echo $ECHO_N "checking whether O_NONBLOCK is declared... $ECHO_C" >&6; } | ||
18483 | if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then | ||
18484 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18485 | else | ||
18486 | cat >conftest.$ac_ext <<_ACEOF | ||
18487 | /* confdefs.h. */ | ||
18488 | _ACEOF | ||
18489 | cat confdefs.h >>conftest.$ac_ext | ||
18490 | cat >>conftest.$ac_ext <<_ACEOF | ||
18491 | /* end confdefs.h. */ | ||
18492 | |||
18493 | #include <sys/types.h> | 11039 | #include <sys/types.h> |
18494 | #ifdef HAVE_SYS_STAT_H | 11040 | #ifdef HAVE_SYS_STAT_H |
18495 | # include <sys/stat.h> | 11041 | # include <sys/stat.h> |
@@ -18498,295 +11044,67 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
18498 | # include <fcntl.h> | 11044 | # include <fcntl.h> |
18499 | #endif | 11045 | #endif |
18500 | 11046 | ||
18501 | 11047 | " | |
18502 | int | 11048 | if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then : |
18503 | main () | 11049 | ac_have_decl=1 |
18504 | { | ||
18505 | #ifndef O_NONBLOCK | ||
18506 | (void) O_NONBLOCK; | ||
18507 | #endif | ||
18508 | |||
18509 | ; | ||
18510 | return 0; | ||
18511 | } | ||
18512 | _ACEOF | ||
18513 | rm -f conftest.$ac_objext | ||
18514 | if { (ac_try="$ac_compile" | ||
18515 | case "(($ac_try" in | ||
18516 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18517 | *) ac_try_echo=$ac_try;; | ||
18518 | esac | ||
18519 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18520 | (eval "$ac_compile") 2>conftest.er1 | ||
18521 | ac_status=$? | ||
18522 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18523 | rm -f conftest.er1 | ||
18524 | cat conftest.err >&5 | ||
18525 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18526 | (exit $ac_status); } && { | ||
18527 | test -z "$ac_c_werror_flag" || | ||
18528 | test ! -s conftest.err | ||
18529 | } && test -s conftest.$ac_objext; then | ||
18530 | ac_cv_have_decl_O_NONBLOCK=yes | ||
18531 | else | 11050 | else |
18532 | echo "$as_me: failed program was:" >&5 | 11051 | ac_have_decl=0 |
18533 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18534 | |||
18535 | ac_cv_have_decl_O_NONBLOCK=no | ||
18536 | fi | 11052 | fi |
18537 | 11053 | ||
18538 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18539 | fi | ||
18540 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5 | ||
18541 | echo "${ECHO_T}$ac_cv_have_decl_O_NONBLOCK" >&6; } | ||
18542 | if test $ac_cv_have_decl_O_NONBLOCK = yes; then | ||
18543 | |||
18544 | cat >>confdefs.h <<_ACEOF | 11054 | cat >>confdefs.h <<_ACEOF |
18545 | #define HAVE_DECL_O_NONBLOCK 1 | 11055 | #define HAVE_DECL_O_NONBLOCK $ac_have_decl |
18546 | _ACEOF | ||
18547 | |||
18548 | |||
18549 | else | ||
18550 | cat >>confdefs.h <<_ACEOF | ||
18551 | #define HAVE_DECL_O_NONBLOCK 0 | ||
18552 | _ACEOF | 11056 | _ACEOF |
18553 | 11057 | ||
18554 | 11058 | ||
18555 | fi | 11059 | ac_fn_c_check_decl "$LINENO" "writev" "ac_cv_have_decl_writev" " |
18556 | |||
18557 | |||
18558 | |||
18559 | { echo "$as_me:$LINENO: checking whether writev is declared" >&5 | ||
18560 | echo $ECHO_N "checking whether writev is declared... $ECHO_C" >&6; } | ||
18561 | if test "${ac_cv_have_decl_writev+set}" = set; then | ||
18562 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18563 | else | ||
18564 | cat >conftest.$ac_ext <<_ACEOF | ||
18565 | /* confdefs.h. */ | ||
18566 | _ACEOF | ||
18567 | cat confdefs.h >>conftest.$ac_ext | ||
18568 | cat >>conftest.$ac_ext <<_ACEOF | ||
18569 | /* end confdefs.h. */ | ||
18570 | |||
18571 | #include <sys/types.h> | 11060 | #include <sys/types.h> |
18572 | #include <sys/uio.h> | 11061 | #include <sys/uio.h> |
18573 | #include <unistd.h> | 11062 | #include <unistd.h> |
18574 | 11063 | ||
18575 | 11064 | " | |
18576 | int | 11065 | if test "x$ac_cv_have_decl_writev" = xyes; then : |
18577 | main () | 11066 | ac_have_decl=1 |
18578 | { | ||
18579 | #ifndef writev | ||
18580 | (void) writev; | ||
18581 | #endif | ||
18582 | |||
18583 | ; | ||
18584 | return 0; | ||
18585 | } | ||
18586 | _ACEOF | ||
18587 | rm -f conftest.$ac_objext | ||
18588 | if { (ac_try="$ac_compile" | ||
18589 | case "(($ac_try" in | ||
18590 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18591 | *) ac_try_echo=$ac_try;; | ||
18592 | esac | ||
18593 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18594 | (eval "$ac_compile") 2>conftest.er1 | ||
18595 | ac_status=$? | ||
18596 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18597 | rm -f conftest.er1 | ||
18598 | cat conftest.err >&5 | ||
18599 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18600 | (exit $ac_status); } && { | ||
18601 | test -z "$ac_c_werror_flag" || | ||
18602 | test ! -s conftest.err | ||
18603 | } && test -s conftest.$ac_objext; then | ||
18604 | ac_cv_have_decl_writev=yes | ||
18605 | else | 11067 | else |
18606 | echo "$as_me: failed program was:" >&5 | 11068 | ac_have_decl=0 |
18607 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18608 | |||
18609 | ac_cv_have_decl_writev=no | ||
18610 | fi | 11069 | fi |
18611 | 11070 | ||
18612 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18613 | fi | ||
18614 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5 | ||
18615 | echo "${ECHO_T}$ac_cv_have_decl_writev" >&6; } | ||
18616 | if test $ac_cv_have_decl_writev = yes; then | ||
18617 | |||
18618 | cat >>confdefs.h <<_ACEOF | 11071 | cat >>confdefs.h <<_ACEOF |
18619 | #define HAVE_DECL_WRITEV 1 | 11072 | #define HAVE_DECL_WRITEV $ac_have_decl |
18620 | _ACEOF | ||
18621 | |||
18622 | |||
18623 | else | ||
18624 | cat >>confdefs.h <<_ACEOF | ||
18625 | #define HAVE_DECL_WRITEV 0 | ||
18626 | _ACEOF | 11073 | _ACEOF |
18627 | 11074 | ||
18628 | 11075 | ||
18629 | fi | 11076 | ac_fn_c_check_decl "$LINENO" "MAXSYMLINKS" "ac_cv_have_decl_MAXSYMLINKS" " |
18630 | |||
18631 | |||
18632 | |||
18633 | { echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5 | ||
18634 | echo $ECHO_N "checking whether MAXSYMLINKS is declared... $ECHO_C" >&6; } | ||
18635 | if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then | ||
18636 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18637 | else | ||
18638 | cat >conftest.$ac_ext <<_ACEOF | ||
18639 | /* confdefs.h. */ | ||
18640 | _ACEOF | ||
18641 | cat confdefs.h >>conftest.$ac_ext | ||
18642 | cat >>conftest.$ac_ext <<_ACEOF | ||
18643 | /* end confdefs.h. */ | ||
18644 | |||
18645 | #include <sys/param.h> | 11077 | #include <sys/param.h> |
18646 | 11078 | ||
18647 | 11079 | " | |
18648 | int | 11080 | if test "x$ac_cv_have_decl_MAXSYMLINKS" = xyes; then : |
18649 | main () | 11081 | ac_have_decl=1 |
18650 | { | ||
18651 | #ifndef MAXSYMLINKS | ||
18652 | (void) MAXSYMLINKS; | ||
18653 | #endif | ||
18654 | |||
18655 | ; | ||
18656 | return 0; | ||
18657 | } | ||
18658 | _ACEOF | ||
18659 | rm -f conftest.$ac_objext | ||
18660 | if { (ac_try="$ac_compile" | ||
18661 | case "(($ac_try" in | ||
18662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18663 | *) ac_try_echo=$ac_try;; | ||
18664 | esac | ||
18665 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18666 | (eval "$ac_compile") 2>conftest.er1 | ||
18667 | ac_status=$? | ||
18668 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18669 | rm -f conftest.er1 | ||
18670 | cat conftest.err >&5 | ||
18671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18672 | (exit $ac_status); } && { | ||
18673 | test -z "$ac_c_werror_flag" || | ||
18674 | test ! -s conftest.err | ||
18675 | } && test -s conftest.$ac_objext; then | ||
18676 | ac_cv_have_decl_MAXSYMLINKS=yes | ||
18677 | else | 11082 | else |
18678 | echo "$as_me: failed program was:" >&5 | 11083 | ac_have_decl=0 |
18679 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18680 | |||
18681 | ac_cv_have_decl_MAXSYMLINKS=no | ||
18682 | fi | ||
18683 | |||
18684 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18685 | fi | 11084 | fi |
18686 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5 | ||
18687 | echo "${ECHO_T}$ac_cv_have_decl_MAXSYMLINKS" >&6; } | ||
18688 | if test $ac_cv_have_decl_MAXSYMLINKS = yes; then | ||
18689 | 11085 | ||
18690 | cat >>confdefs.h <<_ACEOF | 11086 | cat >>confdefs.h <<_ACEOF |
18691 | #define HAVE_DECL_MAXSYMLINKS 1 | 11087 | #define HAVE_DECL_MAXSYMLINKS $ac_have_decl |
18692 | _ACEOF | 11088 | _ACEOF |
18693 | 11089 | ||
18694 | 11090 | ||
18695 | else | 11091 | ac_fn_c_check_decl "$LINENO" "offsetof" "ac_cv_have_decl_offsetof" " |
18696 | cat >>confdefs.h <<_ACEOF | ||
18697 | #define HAVE_DECL_MAXSYMLINKS 0 | ||
18698 | _ACEOF | ||
18699 | |||
18700 | |||
18701 | fi | ||
18702 | |||
18703 | |||
18704 | |||
18705 | { echo "$as_me:$LINENO: checking whether offsetof is declared" >&5 | ||
18706 | echo $ECHO_N "checking whether offsetof is declared... $ECHO_C" >&6; } | ||
18707 | if test "${ac_cv_have_decl_offsetof+set}" = set; then | ||
18708 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18709 | else | ||
18710 | cat >conftest.$ac_ext <<_ACEOF | ||
18711 | /* confdefs.h. */ | ||
18712 | _ACEOF | ||
18713 | cat confdefs.h >>conftest.$ac_ext | ||
18714 | cat >>conftest.$ac_ext <<_ACEOF | ||
18715 | /* end confdefs.h. */ | ||
18716 | |||
18717 | #include <stddef.h> | 11092 | #include <stddef.h> |
18718 | 11093 | ||
18719 | 11094 | " | |
18720 | int | 11095 | if test "x$ac_cv_have_decl_offsetof" = xyes; then : |
18721 | main () | 11096 | ac_have_decl=1 |
18722 | { | ||
18723 | #ifndef offsetof | ||
18724 | (void) offsetof; | ||
18725 | #endif | ||
18726 | |||
18727 | ; | ||
18728 | return 0; | ||
18729 | } | ||
18730 | _ACEOF | ||
18731 | rm -f conftest.$ac_objext | ||
18732 | if { (ac_try="$ac_compile" | ||
18733 | case "(($ac_try" in | ||
18734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18735 | *) ac_try_echo=$ac_try;; | ||
18736 | esac | ||
18737 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18738 | (eval "$ac_compile") 2>conftest.er1 | ||
18739 | ac_status=$? | ||
18740 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18741 | rm -f conftest.er1 | ||
18742 | cat conftest.err >&5 | ||
18743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18744 | (exit $ac_status); } && { | ||
18745 | test -z "$ac_c_werror_flag" || | ||
18746 | test ! -s conftest.err | ||
18747 | } && test -s conftest.$ac_objext; then | ||
18748 | ac_cv_have_decl_offsetof=yes | ||
18749 | else | 11097 | else |
18750 | echo "$as_me: failed program was:" >&5 | 11098 | ac_have_decl=0 |
18751 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18752 | |||
18753 | ac_cv_have_decl_offsetof=no | ||
18754 | fi | 11099 | fi |
18755 | 11100 | ||
18756 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18757 | fi | ||
18758 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5 | ||
18759 | echo "${ECHO_T}$ac_cv_have_decl_offsetof" >&6; } | ||
18760 | if test $ac_cv_have_decl_offsetof = yes; then | ||
18761 | |||
18762 | cat >>confdefs.h <<_ACEOF | 11101 | cat >>confdefs.h <<_ACEOF |
18763 | #define HAVE_DECL_OFFSETOF 1 | 11102 | #define HAVE_DECL_OFFSETOF $ac_have_decl |
18764 | _ACEOF | ||
18765 | |||
18766 | |||
18767 | else | ||
18768 | cat >>confdefs.h <<_ACEOF | ||
18769 | #define HAVE_DECL_OFFSETOF 0 | ||
18770 | _ACEOF | 11103 | _ACEOF |
18771 | 11104 | ||
18772 | 11105 | ||
18773 | fi | ||
18774 | |||
18775 | |||
18776 | |||
18777 | # extra bits for select(2) | 11106 | # extra bits for select(2) |
18778 | { echo "$as_me:$LINENO: checking whether howmany is declared" >&5 | 11107 | ac_fn_c_check_decl "$LINENO" "howmany" "ac_cv_have_decl_howmany" " |
18779 | echo $ECHO_N "checking whether howmany is declared... $ECHO_C" >&6; } | ||
18780 | if test "${ac_cv_have_decl_howmany+set}" = set; then | ||
18781 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18782 | else | ||
18783 | cat >conftest.$ac_ext <<_ACEOF | ||
18784 | /* confdefs.h. */ | ||
18785 | _ACEOF | ||
18786 | cat confdefs.h >>conftest.$ac_ext | ||
18787 | cat >>conftest.$ac_ext <<_ACEOF | ||
18788 | /* end confdefs.h. */ | ||
18789 | |||
18790 | #include <sys/param.h> | 11108 | #include <sys/param.h> |
18791 | #include <sys/types.h> | 11109 | #include <sys/types.h> |
18792 | #ifdef HAVE_SYS_SYSMACROS_H | 11110 | #ifdef HAVE_SYS_SYSMACROS_H |
@@ -18802,73 +11120,17 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
18802 | #include <unistd.h> | 11120 | #include <unistd.h> |
18803 | #endif | 11121 | #endif |
18804 | 11122 | ||
18805 | 11123 | " | |
18806 | int | 11124 | if test "x$ac_cv_have_decl_howmany" = xyes; then : |
18807 | main () | 11125 | ac_have_decl=1 |
18808 | { | ||
18809 | #ifndef howmany | ||
18810 | (void) howmany; | ||
18811 | #endif | ||
18812 | |||
18813 | ; | ||
18814 | return 0; | ||
18815 | } | ||
18816 | _ACEOF | ||
18817 | rm -f conftest.$ac_objext | ||
18818 | if { (ac_try="$ac_compile" | ||
18819 | case "(($ac_try" in | ||
18820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18821 | *) ac_try_echo=$ac_try;; | ||
18822 | esac | ||
18823 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18824 | (eval "$ac_compile") 2>conftest.er1 | ||
18825 | ac_status=$? | ||
18826 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18827 | rm -f conftest.er1 | ||
18828 | cat conftest.err >&5 | ||
18829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18830 | (exit $ac_status); } && { | ||
18831 | test -z "$ac_c_werror_flag" || | ||
18832 | test ! -s conftest.err | ||
18833 | } && test -s conftest.$ac_objext; then | ||
18834 | ac_cv_have_decl_howmany=yes | ||
18835 | else | 11126 | else |
18836 | echo "$as_me: failed program was:" >&5 | 11127 | ac_have_decl=0 |
18837 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18838 | |||
18839 | ac_cv_have_decl_howmany=no | ||
18840 | fi | 11128 | fi |
18841 | 11129 | ||
18842 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18843 | fi | ||
18844 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_howmany" >&5 | ||
18845 | echo "${ECHO_T}$ac_cv_have_decl_howmany" >&6; } | ||
18846 | if test $ac_cv_have_decl_howmany = yes; then | ||
18847 | |||
18848 | cat >>confdefs.h <<_ACEOF | 11130 | cat >>confdefs.h <<_ACEOF |
18849 | #define HAVE_DECL_HOWMANY 1 | 11131 | #define HAVE_DECL_HOWMANY $ac_have_decl |
18850 | _ACEOF | ||
18851 | |||
18852 | |||
18853 | else | ||
18854 | cat >>confdefs.h <<_ACEOF | ||
18855 | #define HAVE_DECL_HOWMANY 0 | ||
18856 | _ACEOF | 11132 | _ACEOF |
18857 | 11133 | ac_fn_c_check_decl "$LINENO" "NFDBITS" "ac_cv_have_decl_NFDBITS" " | |
18858 | |||
18859 | fi | ||
18860 | { echo "$as_me:$LINENO: checking whether NFDBITS is declared" >&5 | ||
18861 | echo $ECHO_N "checking whether NFDBITS is declared... $ECHO_C" >&6; } | ||
18862 | if test "${ac_cv_have_decl_NFDBITS+set}" = set; then | ||
18863 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18864 | else | ||
18865 | cat >conftest.$ac_ext <<_ACEOF | ||
18866 | /* confdefs.h. */ | ||
18867 | _ACEOF | ||
18868 | cat confdefs.h >>conftest.$ac_ext | ||
18869 | cat >>conftest.$ac_ext <<_ACEOF | ||
18870 | /* end confdefs.h. */ | ||
18871 | |||
18872 | #include <sys/param.h> | 11134 | #include <sys/param.h> |
18873 | #include <sys/types.h> | 11135 | #include <sys/types.h> |
18874 | #ifdef HAVE_SYS_SYSMACROS_H | 11136 | #ifdef HAVE_SYS_SYSMACROS_H |
@@ -18884,75 +11146,18 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
18884 | #include <unistd.h> | 11146 | #include <unistd.h> |
18885 | #endif | 11147 | #endif |
18886 | 11148 | ||
18887 | 11149 | " | |
18888 | int | 11150 | if test "x$ac_cv_have_decl_NFDBITS" = xyes; then : |
18889 | main () | 11151 | ac_have_decl=1 |
18890 | { | ||
18891 | #ifndef NFDBITS | ||
18892 | (void) NFDBITS; | ||
18893 | #endif | ||
18894 | |||
18895 | ; | ||
18896 | return 0; | ||
18897 | } | ||
18898 | _ACEOF | ||
18899 | rm -f conftest.$ac_objext | ||
18900 | if { (ac_try="$ac_compile" | ||
18901 | case "(($ac_try" in | ||
18902 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18903 | *) ac_try_echo=$ac_try;; | ||
18904 | esac | ||
18905 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18906 | (eval "$ac_compile") 2>conftest.er1 | ||
18907 | ac_status=$? | ||
18908 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18909 | rm -f conftest.er1 | ||
18910 | cat conftest.err >&5 | ||
18911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18912 | (exit $ac_status); } && { | ||
18913 | test -z "$ac_c_werror_flag" || | ||
18914 | test ! -s conftest.err | ||
18915 | } && test -s conftest.$ac_objext; then | ||
18916 | ac_cv_have_decl_NFDBITS=yes | ||
18917 | else | 11152 | else |
18918 | echo "$as_me: failed program was:" >&5 | 11153 | ac_have_decl=0 |
18919 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18920 | |||
18921 | ac_cv_have_decl_NFDBITS=no | ||
18922 | fi | ||
18923 | |||
18924 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18925 | fi | 11154 | fi |
18926 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_NFDBITS" >&5 | ||
18927 | echo "${ECHO_T}$ac_cv_have_decl_NFDBITS" >&6; } | ||
18928 | if test $ac_cv_have_decl_NFDBITS = yes; then | ||
18929 | 11155 | ||
18930 | cat >>confdefs.h <<_ACEOF | 11156 | cat >>confdefs.h <<_ACEOF |
18931 | #define HAVE_DECL_NFDBITS 1 | 11157 | #define HAVE_DECL_NFDBITS $ac_have_decl |
18932 | _ACEOF | ||
18933 | |||
18934 | |||
18935 | else | ||
18936 | cat >>confdefs.h <<_ACEOF | ||
18937 | #define HAVE_DECL_NFDBITS 0 | ||
18938 | _ACEOF | 11158 | _ACEOF |
18939 | 11159 | ||
18940 | 11160 | ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" " | |
18941 | fi | ||
18942 | |||
18943 | |||
18944 | { echo "$as_me:$LINENO: checking for fd_mask" >&5 | ||
18945 | echo $ECHO_N "checking for fd_mask... $ECHO_C" >&6; } | ||
18946 | if test "${ac_cv_type_fd_mask+set}" = set; then | ||
18947 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18948 | else | ||
18949 | cat >conftest.$ac_ext <<_ACEOF | ||
18950 | /* confdefs.h. */ | ||
18951 | _ACEOF | ||
18952 | cat confdefs.h >>conftest.$ac_ext | ||
18953 | cat >>conftest.$ac_ext <<_ACEOF | ||
18954 | /* end confdefs.h. */ | ||
18955 | |||
18956 | #include <sys/param.h> | 11161 | #include <sys/param.h> |
18957 | #include <sys/types.h> | 11162 | #include <sys/types.h> |
18958 | #ifdef HAVE_SYS_SELECT_H | 11163 | #ifdef HAVE_SYS_SELECT_H |
@@ -18965,49 +11170,8 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
18965 | #include <unistd.h> | 11170 | #include <unistd.h> |
18966 | #endif | 11171 | #endif |
18967 | 11172 | ||
18968 | 11173 | " | |
18969 | typedef fd_mask ac__type_new_; | 11174 | if test "x$ac_cv_type_fd_mask" = xyes; then : |
18970 | int | ||
18971 | main () | ||
18972 | { | ||
18973 | if ((ac__type_new_ *) 0) | ||
18974 | return 0; | ||
18975 | if (sizeof (ac__type_new_)) | ||
18976 | return 0; | ||
18977 | ; | ||
18978 | return 0; | ||
18979 | } | ||
18980 | _ACEOF | ||
18981 | rm -f conftest.$ac_objext | ||
18982 | if { (ac_try="$ac_compile" | ||
18983 | case "(($ac_try" in | ||
18984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18985 | *) ac_try_echo=$ac_try;; | ||
18986 | esac | ||
18987 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18988 | (eval "$ac_compile") 2>conftest.er1 | ||
18989 | ac_status=$? | ||
18990 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18991 | rm -f conftest.er1 | ||
18992 | cat conftest.err >&5 | ||
18993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18994 | (exit $ac_status); } && { | ||
18995 | test -z "$ac_c_werror_flag" || | ||
18996 | test ! -s conftest.err | ||
18997 | } && test -s conftest.$ac_objext; then | ||
18998 | ac_cv_type_fd_mask=yes | ||
18999 | else | ||
19000 | echo "$as_me: failed program was:" >&5 | ||
19001 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19002 | |||
19003 | ac_cv_type_fd_mask=no | ||
19004 | fi | ||
19005 | |||
19006 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
19007 | fi | ||
19008 | { echo "$as_me:$LINENO: result: $ac_cv_type_fd_mask" >&5 | ||
19009 | echo "${ECHO_T}$ac_cv_type_fd_mask" >&6; } | ||
19010 | if test $ac_cv_type_fd_mask = yes; then | ||
19011 | 11175 | ||
19012 | cat >>confdefs.h <<_ACEOF | 11176 | cat >>confdefs.h <<_ACEOF |
19013 | #define HAVE_FD_MASK 1 | 11177 | #define HAVE_FD_MASK 1 |
@@ -19017,109 +11181,22 @@ _ACEOF | |||
19017 | fi | 11181 | fi |
19018 | 11182 | ||
19019 | 11183 | ||
19020 | |||
19021 | for ac_func in setresuid | 11184 | for ac_func in setresuid |
19022 | do | 11185 | do : |
19023 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11186 | ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid" |
19024 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11187 | if test "x$ac_cv_func_setresuid" = xyes; then : |
19025 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
19026 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19027 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19028 | else | ||
19029 | cat >conftest.$ac_ext <<_ACEOF | ||
19030 | /* confdefs.h. */ | ||
19031 | _ACEOF | ||
19032 | cat confdefs.h >>conftest.$ac_ext | ||
19033 | cat >>conftest.$ac_ext <<_ACEOF | ||
19034 | /* end confdefs.h. */ | ||
19035 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19036 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19037 | #define $ac_func innocuous_$ac_func | ||
19038 | |||
19039 | /* System header to define __stub macros and hopefully few prototypes, | ||
19040 | which can conflict with char $ac_func (); below. | ||
19041 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19042 | <limits.h> exists even on freestanding compilers. */ | ||
19043 | |||
19044 | #ifdef __STDC__ | ||
19045 | # include <limits.h> | ||
19046 | #else | ||
19047 | # include <assert.h> | ||
19048 | #endif | ||
19049 | |||
19050 | #undef $ac_func | ||
19051 | |||
19052 | /* Override any GCC internal prototype to avoid an error. | ||
19053 | Use char because int might match the return type of a GCC | ||
19054 | builtin and then its argument prototype would still apply. */ | ||
19055 | #ifdef __cplusplus | ||
19056 | extern "C" | ||
19057 | #endif | ||
19058 | char $ac_func (); | ||
19059 | /* The GNU C library defines this for functions which it implements | ||
19060 | to always fail with ENOSYS. Some functions are actually named | ||
19061 | something starting with __ and the normal name is an alias. */ | ||
19062 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19063 | choke me | ||
19064 | #endif | ||
19065 | |||
19066 | int | ||
19067 | main () | ||
19068 | { | ||
19069 | return $ac_func (); | ||
19070 | ; | ||
19071 | return 0; | ||
19072 | } | ||
19073 | _ACEOF | ||
19074 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19075 | if { (ac_try="$ac_link" | ||
19076 | case "(($ac_try" in | ||
19077 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19078 | *) ac_try_echo=$ac_try;; | ||
19079 | esac | ||
19080 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19081 | (eval "$ac_link") 2>conftest.er1 | ||
19082 | ac_status=$? | ||
19083 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19084 | rm -f conftest.er1 | ||
19085 | cat conftest.err >&5 | ||
19086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19087 | (exit $ac_status); } && { | ||
19088 | test -z "$ac_c_werror_flag" || | ||
19089 | test ! -s conftest.err | ||
19090 | } && test -s conftest$ac_exeext && | ||
19091 | $as_test_x conftest$ac_exeext; then | ||
19092 | eval "$as_ac_var=yes" | ||
19093 | else | ||
19094 | echo "$as_me: failed program was:" >&5 | ||
19095 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19096 | |||
19097 | eval "$as_ac_var=no" | ||
19098 | fi | ||
19099 | |||
19100 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19101 | conftest$ac_exeext conftest.$ac_ext | ||
19102 | fi | ||
19103 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19104 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19105 | echo "${ECHO_T}$ac_res" >&6; } | ||
19106 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19107 | cat >>confdefs.h <<_ACEOF | 11188 | cat >>confdefs.h <<_ACEOF |
19108 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11189 | #define HAVE_SETRESUID 1 |
19109 | _ACEOF | 11190 | _ACEOF |
19110 | 11191 | ||
19111 | { echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 | 11192 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setresuid seems to work" >&5 |
19112 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6; } | 11193 | $as_echo_n "checking if setresuid seems to work... " >&6; } |
19113 | if test "$cross_compiling" = yes; then | 11194 | if test "$cross_compiling" = yes; then : |
19114 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 | 11195 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking setresuid" >&5 |
19115 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 11196 | $as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
19116 | 11197 | ||
19117 | else | 11198 | else |
19118 | cat >conftest.$ac_ext <<_ACEOF | 11199 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19119 | /* confdefs.h. */ | ||
19120 | _ACEOF | ||
19121 | cat confdefs.h >>conftest.$ac_ext | ||
19122 | cat >>conftest.$ac_ext <<_ACEOF | ||
19123 | /* end confdefs.h. */ | 11200 | /* end confdefs.h. */ |
19124 | 11201 | ||
19125 | #include <stdlib.h> | 11202 | #include <stdlib.h> |
@@ -19140,154 +11217,41 @@ main () | |||
19140 | return 0; | 11217 | return 0; |
19141 | } | 11218 | } |
19142 | _ACEOF | 11219 | _ACEOF |
19143 | rm -f conftest$ac_exeext | 11220 | if ac_fn_c_try_run "$LINENO"; then : |
19144 | if { (ac_try="$ac_link" | 11221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
19145 | case "(($ac_try" in | 11222 | $as_echo "yes" >&6; } |
19146 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19147 | *) ac_try_echo=$ac_try;; | ||
19148 | esac | ||
19149 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19150 | (eval "$ac_link") 2>&5 | ||
19151 | ac_status=$? | ||
19152 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19153 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19154 | { (case "(($ac_try" in | ||
19155 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19156 | *) ac_try_echo=$ac_try;; | ||
19157 | esac | ||
19158 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19159 | (eval "$ac_try") 2>&5 | ||
19160 | ac_status=$? | ||
19161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19162 | (exit $ac_status); }; }; then | ||
19163 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19164 | echo "${ECHO_T}yes" >&6; } | ||
19165 | else | 11223 | else |
19166 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19167 | echo "$as_me: failed program was:" >&5 | ||
19168 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19169 | 11224 | ||
19170 | ( exit $ac_status ) | 11225 | $as_echo "#define BROKEN_SETRESUID 1" >>confdefs.h |
19171 | 11226 | ||
19172 | cat >>confdefs.h <<\_ACEOF | 11227 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not implemented" >&5 |
19173 | #define BROKEN_SETRESUID 1 | 11228 | $as_echo "not implemented" >&6; } |
19174 | _ACEOF | ||
19175 | |||
19176 | { echo "$as_me:$LINENO: result: not implemented" >&5 | ||
19177 | echo "${ECHO_T}not implemented" >&6; } | ||
19178 | fi | 11229 | fi |
19179 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11230 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11231 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
19180 | fi | 11232 | fi |
19181 | 11233 | ||
19182 | 11234 | ||
19183 | |||
19184 | fi | 11235 | fi |
19185 | done | 11236 | done |
19186 | 11237 | ||
19187 | 11238 | ||
19188 | |||
19189 | for ac_func in setresgid | 11239 | for ac_func in setresgid |
19190 | do | 11240 | do : |
19191 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11241 | ac_fn_c_check_func "$LINENO" "setresgid" "ac_cv_func_setresgid" |
19192 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11242 | if test "x$ac_cv_func_setresgid" = xyes; then : |
19193 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
19194 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19195 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19196 | else | ||
19197 | cat >conftest.$ac_ext <<_ACEOF | ||
19198 | /* confdefs.h. */ | ||
19199 | _ACEOF | ||
19200 | cat confdefs.h >>conftest.$ac_ext | ||
19201 | cat >>conftest.$ac_ext <<_ACEOF | ||
19202 | /* end confdefs.h. */ | ||
19203 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19204 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19205 | #define $ac_func innocuous_$ac_func | ||
19206 | |||
19207 | /* System header to define __stub macros and hopefully few prototypes, | ||
19208 | which can conflict with char $ac_func (); below. | ||
19209 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19210 | <limits.h> exists even on freestanding compilers. */ | ||
19211 | |||
19212 | #ifdef __STDC__ | ||
19213 | # include <limits.h> | ||
19214 | #else | ||
19215 | # include <assert.h> | ||
19216 | #endif | ||
19217 | |||
19218 | #undef $ac_func | ||
19219 | |||
19220 | /* Override any GCC internal prototype to avoid an error. | ||
19221 | Use char because int might match the return type of a GCC | ||
19222 | builtin and then its argument prototype would still apply. */ | ||
19223 | #ifdef __cplusplus | ||
19224 | extern "C" | ||
19225 | #endif | ||
19226 | char $ac_func (); | ||
19227 | /* The GNU C library defines this for functions which it implements | ||
19228 | to always fail with ENOSYS. Some functions are actually named | ||
19229 | something starting with __ and the normal name is an alias. */ | ||
19230 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19231 | choke me | ||
19232 | #endif | ||
19233 | |||
19234 | int | ||
19235 | main () | ||
19236 | { | ||
19237 | return $ac_func (); | ||
19238 | ; | ||
19239 | return 0; | ||
19240 | } | ||
19241 | _ACEOF | ||
19242 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19243 | if { (ac_try="$ac_link" | ||
19244 | case "(($ac_try" in | ||
19245 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19246 | *) ac_try_echo=$ac_try;; | ||
19247 | esac | ||
19248 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19249 | (eval "$ac_link") 2>conftest.er1 | ||
19250 | ac_status=$? | ||
19251 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19252 | rm -f conftest.er1 | ||
19253 | cat conftest.err >&5 | ||
19254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19255 | (exit $ac_status); } && { | ||
19256 | test -z "$ac_c_werror_flag" || | ||
19257 | test ! -s conftest.err | ||
19258 | } && test -s conftest$ac_exeext && | ||
19259 | $as_test_x conftest$ac_exeext; then | ||
19260 | eval "$as_ac_var=yes" | ||
19261 | else | ||
19262 | echo "$as_me: failed program was:" >&5 | ||
19263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19264 | |||
19265 | eval "$as_ac_var=no" | ||
19266 | fi | ||
19267 | |||
19268 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19269 | conftest$ac_exeext conftest.$ac_ext | ||
19270 | fi | ||
19271 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19272 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19273 | echo "${ECHO_T}$ac_res" >&6; } | ||
19274 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19275 | cat >>confdefs.h <<_ACEOF | 11243 | cat >>confdefs.h <<_ACEOF |
19276 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11244 | #define HAVE_SETRESGID 1 |
19277 | _ACEOF | 11245 | _ACEOF |
19278 | 11246 | ||
19279 | { echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 | 11247 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setresgid seems to work" >&5 |
19280 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6; } | 11248 | $as_echo_n "checking if setresgid seems to work... " >&6; } |
19281 | if test "$cross_compiling" = yes; then | 11249 | if test "$cross_compiling" = yes; then : |
19282 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 | 11250 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking setresuid" >&5 |
19283 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 11251 | $as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
19284 | 11252 | ||
19285 | else | 11253 | else |
19286 | cat >conftest.$ac_ext <<_ACEOF | 11254 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19287 | /* confdefs.h. */ | ||
19288 | _ACEOF | ||
19289 | cat confdefs.h >>conftest.$ac_ext | ||
19290 | cat >>conftest.$ac_ext <<_ACEOF | ||
19291 | /* end confdefs.h. */ | 11255 | /* end confdefs.h. */ |
19292 | 11256 | ||
19293 | #include <stdlib.h> | 11257 | #include <stdlib.h> |
@@ -19308,154 +11272,41 @@ main () | |||
19308 | return 0; | 11272 | return 0; |
19309 | } | 11273 | } |
19310 | _ACEOF | 11274 | _ACEOF |
19311 | rm -f conftest$ac_exeext | 11275 | if ac_fn_c_try_run "$LINENO"; then : |
19312 | if { (ac_try="$ac_link" | 11276 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
19313 | case "(($ac_try" in | 11277 | $as_echo "yes" >&6; } |
19314 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19315 | *) ac_try_echo=$ac_try;; | ||
19316 | esac | ||
19317 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19318 | (eval "$ac_link") 2>&5 | ||
19319 | ac_status=$? | ||
19320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19321 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19322 | { (case "(($ac_try" in | ||
19323 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19324 | *) ac_try_echo=$ac_try;; | ||
19325 | esac | ||
19326 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19327 | (eval "$ac_try") 2>&5 | ||
19328 | ac_status=$? | ||
19329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19330 | (exit $ac_status); }; }; then | ||
19331 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19332 | echo "${ECHO_T}yes" >&6; } | ||
19333 | else | 11278 | else |
19334 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19335 | echo "$as_me: failed program was:" >&5 | ||
19336 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19337 | 11279 | ||
19338 | ( exit $ac_status ) | 11280 | $as_echo "#define BROKEN_SETRESGID 1" >>confdefs.h |
19339 | 11281 | ||
19340 | cat >>confdefs.h <<\_ACEOF | 11282 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not implemented" >&5 |
19341 | #define BROKEN_SETRESGID 1 | 11283 | $as_echo "not implemented" >&6; } |
19342 | _ACEOF | ||
19343 | |||
19344 | { echo "$as_me:$LINENO: result: not implemented" >&5 | ||
19345 | echo "${ECHO_T}not implemented" >&6; } | ||
19346 | fi | 11284 | fi |
19347 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11285 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11286 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
19348 | fi | 11287 | fi |
19349 | 11288 | ||
19350 | 11289 | ||
19351 | |||
19352 | fi | 11290 | fi |
19353 | done | 11291 | done |
19354 | 11292 | ||
19355 | 11293 | ||
19356 | |||
19357 | for ac_func in realpath | 11294 | for ac_func in realpath |
19358 | do | 11295 | do : |
19359 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11296 | ac_fn_c_check_func "$LINENO" "realpath" "ac_cv_func_realpath" |
19360 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11297 | if test "x$ac_cv_func_realpath" = xyes; then : |
19361 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
19362 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19363 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19364 | else | ||
19365 | cat >conftest.$ac_ext <<_ACEOF | ||
19366 | /* confdefs.h. */ | ||
19367 | _ACEOF | ||
19368 | cat confdefs.h >>conftest.$ac_ext | ||
19369 | cat >>conftest.$ac_ext <<_ACEOF | ||
19370 | /* end confdefs.h. */ | ||
19371 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19372 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19373 | #define $ac_func innocuous_$ac_func | ||
19374 | |||
19375 | /* System header to define __stub macros and hopefully few prototypes, | ||
19376 | which can conflict with char $ac_func (); below. | ||
19377 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19378 | <limits.h> exists even on freestanding compilers. */ | ||
19379 | |||
19380 | #ifdef __STDC__ | ||
19381 | # include <limits.h> | ||
19382 | #else | ||
19383 | # include <assert.h> | ||
19384 | #endif | ||
19385 | |||
19386 | #undef $ac_func | ||
19387 | |||
19388 | /* Override any GCC internal prototype to avoid an error. | ||
19389 | Use char because int might match the return type of a GCC | ||
19390 | builtin and then its argument prototype would still apply. */ | ||
19391 | #ifdef __cplusplus | ||
19392 | extern "C" | ||
19393 | #endif | ||
19394 | char $ac_func (); | ||
19395 | /* The GNU C library defines this for functions which it implements | ||
19396 | to always fail with ENOSYS. Some functions are actually named | ||
19397 | something starting with __ and the normal name is an alias. */ | ||
19398 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19399 | choke me | ||
19400 | #endif | ||
19401 | |||
19402 | int | ||
19403 | main () | ||
19404 | { | ||
19405 | return $ac_func (); | ||
19406 | ; | ||
19407 | return 0; | ||
19408 | } | ||
19409 | _ACEOF | ||
19410 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19411 | if { (ac_try="$ac_link" | ||
19412 | case "(($ac_try" in | ||
19413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19414 | *) ac_try_echo=$ac_try;; | ||
19415 | esac | ||
19416 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19417 | (eval "$ac_link") 2>conftest.er1 | ||
19418 | ac_status=$? | ||
19419 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19420 | rm -f conftest.er1 | ||
19421 | cat conftest.err >&5 | ||
19422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19423 | (exit $ac_status); } && { | ||
19424 | test -z "$ac_c_werror_flag" || | ||
19425 | test ! -s conftest.err | ||
19426 | } && test -s conftest$ac_exeext && | ||
19427 | $as_test_x conftest$ac_exeext; then | ||
19428 | eval "$as_ac_var=yes" | ||
19429 | else | ||
19430 | echo "$as_me: failed program was:" >&5 | ||
19431 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19432 | |||
19433 | eval "$as_ac_var=no" | ||
19434 | fi | ||
19435 | |||
19436 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19437 | conftest$ac_exeext conftest.$ac_ext | ||
19438 | fi | ||
19439 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19440 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19441 | echo "${ECHO_T}$ac_res" >&6; } | ||
19442 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19443 | cat >>confdefs.h <<_ACEOF | 11298 | cat >>confdefs.h <<_ACEOF |
19444 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11299 | #define HAVE_REALPATH 1 |
19445 | _ACEOF | 11300 | _ACEOF |
19446 | 11301 | ||
19447 | { echo "$as_me:$LINENO: checking if realpath works with non-existent files" >&5 | 11302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if realpath works with non-existent files" >&5 |
19448 | echo $ECHO_N "checking if realpath works with non-existent files... $ECHO_C" >&6; } | 11303 | $as_echo_n "checking if realpath works with non-existent files... " >&6; } |
19449 | if test "$cross_compiling" = yes; then | 11304 | if test "$cross_compiling" = yes; then : |
19450 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming working" >&5 | 11305 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming working" >&5 |
19451 | echo "$as_me: WARNING: cross compiling: assuming working" >&2;} | 11306 | $as_echo "$as_me: WARNING: cross compiling: assuming working" >&2;} |
19452 | 11307 | ||
19453 | else | 11308 | else |
19454 | cat >conftest.$ac_ext <<_ACEOF | 11309 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
19455 | /* confdefs.h. */ | ||
19456 | _ACEOF | ||
19457 | cat confdefs.h >>conftest.$ac_ext | ||
19458 | cat >>conftest.$ac_ext <<_ACEOF | ||
19459 | /* end confdefs.h. */ | 11310 | /* end confdefs.h. */ |
19460 | 11311 | ||
19461 | #include <limits.h> | 11312 | #include <limits.h> |
@@ -19476,729 +11327,110 @@ main () | |||
19476 | return 0; | 11327 | return 0; |
19477 | } | 11328 | } |
19478 | _ACEOF | 11329 | _ACEOF |
19479 | rm -f conftest$ac_exeext | 11330 | if ac_fn_c_try_run "$LINENO"; then : |
19480 | if { (ac_try="$ac_link" | 11331 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
19481 | case "(($ac_try" in | 11332 | $as_echo "yes" >&6; } |
19482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19483 | *) ac_try_echo=$ac_try;; | ||
19484 | esac | ||
19485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19486 | (eval "$ac_link") 2>&5 | ||
19487 | ac_status=$? | ||
19488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19489 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19490 | { (case "(($ac_try" in | ||
19491 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19492 | *) ac_try_echo=$ac_try;; | ||
19493 | esac | ||
19494 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19495 | (eval "$ac_try") 2>&5 | ||
19496 | ac_status=$? | ||
19497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19498 | (exit $ac_status); }; }; then | ||
19499 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19500 | echo "${ECHO_T}yes" >&6; } | ||
19501 | else | 11333 | else |
19502 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19503 | echo "$as_me: failed program was:" >&5 | ||
19504 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19505 | |||
19506 | ( exit $ac_status ) | ||
19507 | 11334 | ||
19508 | cat >>confdefs.h <<\_ACEOF | 11335 | $as_echo "#define BROKEN_REALPATH 1" >>confdefs.h |
19509 | #define BROKEN_REALPATH 1 | ||
19510 | _ACEOF | ||
19511 | 11336 | ||
19512 | { echo "$as_me:$LINENO: result: no" >&5 | 11337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
19513 | echo "${ECHO_T}no" >&6; } | 11338 | $as_echo "no" >&6; } |
19514 | fi | 11339 | fi |
19515 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11340 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11341 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
19516 | fi | 11342 | fi |
19517 | 11343 | ||
19518 | 11344 | ||
19519 | |||
19520 | fi | 11345 | fi |
19521 | done | 11346 | done |
19522 | 11347 | ||
19523 | 11348 | ||
19524 | |||
19525 | |||
19526 | for ac_func in gettimeofday time | 11349 | for ac_func in gettimeofday time |
19527 | do | 11350 | do : |
19528 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11351 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19529 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11352 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
19530 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 11353 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
19531 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19532 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19533 | else | ||
19534 | cat >conftest.$ac_ext <<_ACEOF | ||
19535 | /* confdefs.h. */ | ||
19536 | _ACEOF | ||
19537 | cat confdefs.h >>conftest.$ac_ext | ||
19538 | cat >>conftest.$ac_ext <<_ACEOF | ||
19539 | /* end confdefs.h. */ | ||
19540 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19541 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19542 | #define $ac_func innocuous_$ac_func | ||
19543 | |||
19544 | /* System header to define __stub macros and hopefully few prototypes, | ||
19545 | which can conflict with char $ac_func (); below. | ||
19546 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19547 | <limits.h> exists even on freestanding compilers. */ | ||
19548 | |||
19549 | #ifdef __STDC__ | ||
19550 | # include <limits.h> | ||
19551 | #else | ||
19552 | # include <assert.h> | ||
19553 | #endif | ||
19554 | |||
19555 | #undef $ac_func | ||
19556 | |||
19557 | /* Override any GCC internal prototype to avoid an error. | ||
19558 | Use char because int might match the return type of a GCC | ||
19559 | builtin and then its argument prototype would still apply. */ | ||
19560 | #ifdef __cplusplus | ||
19561 | extern "C" | ||
19562 | #endif | ||
19563 | char $ac_func (); | ||
19564 | /* The GNU C library defines this for functions which it implements | ||
19565 | to always fail with ENOSYS. Some functions are actually named | ||
19566 | something starting with __ and the normal name is an alias. */ | ||
19567 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19568 | choke me | ||
19569 | #endif | ||
19570 | |||
19571 | int | ||
19572 | main () | ||
19573 | { | ||
19574 | return $ac_func (); | ||
19575 | ; | ||
19576 | return 0; | ||
19577 | } | ||
19578 | _ACEOF | ||
19579 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19580 | if { (ac_try="$ac_link" | ||
19581 | case "(($ac_try" in | ||
19582 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19583 | *) ac_try_echo=$ac_try;; | ||
19584 | esac | ||
19585 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19586 | (eval "$ac_link") 2>conftest.er1 | ||
19587 | ac_status=$? | ||
19588 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19589 | rm -f conftest.er1 | ||
19590 | cat conftest.err >&5 | ||
19591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19592 | (exit $ac_status); } && { | ||
19593 | test -z "$ac_c_werror_flag" || | ||
19594 | test ! -s conftest.err | ||
19595 | } && test -s conftest$ac_exeext && | ||
19596 | $as_test_x conftest$ac_exeext; then | ||
19597 | eval "$as_ac_var=yes" | ||
19598 | else | ||
19599 | echo "$as_me: failed program was:" >&5 | ||
19600 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19601 | |||
19602 | eval "$as_ac_var=no" | ||
19603 | fi | ||
19604 | |||
19605 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19606 | conftest$ac_exeext conftest.$ac_ext | ||
19607 | fi | ||
19608 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19609 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19610 | echo "${ECHO_T}$ac_res" >&6; } | ||
19611 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19612 | cat >>confdefs.h <<_ACEOF | 11354 | cat >>confdefs.h <<_ACEOF |
19613 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11355 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
19614 | _ACEOF | 11356 | _ACEOF |
19615 | 11357 | ||
19616 | fi | 11358 | fi |
19617 | done | 11359 | done |
19618 | 11360 | ||
19619 | |||
19620 | |||
19621 | |||
19622 | |||
19623 | |||
19624 | |||
19625 | for ac_func in endutent getutent getutid getutline pututline setutent | 11361 | for ac_func in endutent getutent getutid getutline pututline setutent |
19626 | do | 11362 | do : |
19627 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11363 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19628 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11364 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
19629 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 11365 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
19630 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19631 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19632 | else | ||
19633 | cat >conftest.$ac_ext <<_ACEOF | ||
19634 | /* confdefs.h. */ | ||
19635 | _ACEOF | ||
19636 | cat confdefs.h >>conftest.$ac_ext | ||
19637 | cat >>conftest.$ac_ext <<_ACEOF | ||
19638 | /* end confdefs.h. */ | ||
19639 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19640 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19641 | #define $ac_func innocuous_$ac_func | ||
19642 | |||
19643 | /* System header to define __stub macros and hopefully few prototypes, | ||
19644 | which can conflict with char $ac_func (); below. | ||
19645 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19646 | <limits.h> exists even on freestanding compilers. */ | ||
19647 | |||
19648 | #ifdef __STDC__ | ||
19649 | # include <limits.h> | ||
19650 | #else | ||
19651 | # include <assert.h> | ||
19652 | #endif | ||
19653 | |||
19654 | #undef $ac_func | ||
19655 | |||
19656 | /* Override any GCC internal prototype to avoid an error. | ||
19657 | Use char because int might match the return type of a GCC | ||
19658 | builtin and then its argument prototype would still apply. */ | ||
19659 | #ifdef __cplusplus | ||
19660 | extern "C" | ||
19661 | #endif | ||
19662 | char $ac_func (); | ||
19663 | /* The GNU C library defines this for functions which it implements | ||
19664 | to always fail with ENOSYS. Some functions are actually named | ||
19665 | something starting with __ and the normal name is an alias. */ | ||
19666 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19667 | choke me | ||
19668 | #endif | ||
19669 | |||
19670 | int | ||
19671 | main () | ||
19672 | { | ||
19673 | return $ac_func (); | ||
19674 | ; | ||
19675 | return 0; | ||
19676 | } | ||
19677 | _ACEOF | ||
19678 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19679 | if { (ac_try="$ac_link" | ||
19680 | case "(($ac_try" in | ||
19681 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19682 | *) ac_try_echo=$ac_try;; | ||
19683 | esac | ||
19684 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19685 | (eval "$ac_link") 2>conftest.er1 | ||
19686 | ac_status=$? | ||
19687 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19688 | rm -f conftest.er1 | ||
19689 | cat conftest.err >&5 | ||
19690 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19691 | (exit $ac_status); } && { | ||
19692 | test -z "$ac_c_werror_flag" || | ||
19693 | test ! -s conftest.err | ||
19694 | } && test -s conftest$ac_exeext && | ||
19695 | $as_test_x conftest$ac_exeext; then | ||
19696 | eval "$as_ac_var=yes" | ||
19697 | else | ||
19698 | echo "$as_me: failed program was:" >&5 | ||
19699 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19700 | |||
19701 | eval "$as_ac_var=no" | ||
19702 | fi | ||
19703 | |||
19704 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19705 | conftest$ac_exeext conftest.$ac_ext | ||
19706 | fi | ||
19707 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19708 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19709 | echo "${ECHO_T}$ac_res" >&6; } | ||
19710 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19711 | cat >>confdefs.h <<_ACEOF | 11366 | cat >>confdefs.h <<_ACEOF |
19712 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11367 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
19713 | _ACEOF | 11368 | _ACEOF |
19714 | 11369 | ||
19715 | fi | 11370 | fi |
19716 | done | 11371 | done |
19717 | 11372 | ||
19718 | |||
19719 | for ac_func in utmpname | 11373 | for ac_func in utmpname |
19720 | do | 11374 | do : |
19721 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11375 | ac_fn_c_check_func "$LINENO" "utmpname" "ac_cv_func_utmpname" |
19722 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11376 | if test "x$ac_cv_func_utmpname" = xyes; then : |
19723 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
19724 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19725 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19726 | else | ||
19727 | cat >conftest.$ac_ext <<_ACEOF | ||
19728 | /* confdefs.h. */ | ||
19729 | _ACEOF | ||
19730 | cat confdefs.h >>conftest.$ac_ext | ||
19731 | cat >>conftest.$ac_ext <<_ACEOF | ||
19732 | /* end confdefs.h. */ | ||
19733 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19734 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19735 | #define $ac_func innocuous_$ac_func | ||
19736 | |||
19737 | /* System header to define __stub macros and hopefully few prototypes, | ||
19738 | which can conflict with char $ac_func (); below. | ||
19739 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19740 | <limits.h> exists even on freestanding compilers. */ | ||
19741 | |||
19742 | #ifdef __STDC__ | ||
19743 | # include <limits.h> | ||
19744 | #else | ||
19745 | # include <assert.h> | ||
19746 | #endif | ||
19747 | |||
19748 | #undef $ac_func | ||
19749 | |||
19750 | /* Override any GCC internal prototype to avoid an error. | ||
19751 | Use char because int might match the return type of a GCC | ||
19752 | builtin and then its argument prototype would still apply. */ | ||
19753 | #ifdef __cplusplus | ||
19754 | extern "C" | ||
19755 | #endif | ||
19756 | char $ac_func (); | ||
19757 | /* The GNU C library defines this for functions which it implements | ||
19758 | to always fail with ENOSYS. Some functions are actually named | ||
19759 | something starting with __ and the normal name is an alias. */ | ||
19760 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19761 | choke me | ||
19762 | #endif | ||
19763 | |||
19764 | int | ||
19765 | main () | ||
19766 | { | ||
19767 | return $ac_func (); | ||
19768 | ; | ||
19769 | return 0; | ||
19770 | } | ||
19771 | _ACEOF | ||
19772 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19773 | if { (ac_try="$ac_link" | ||
19774 | case "(($ac_try" in | ||
19775 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19776 | *) ac_try_echo=$ac_try;; | ||
19777 | esac | ||
19778 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19779 | (eval "$ac_link") 2>conftest.er1 | ||
19780 | ac_status=$? | ||
19781 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19782 | rm -f conftest.er1 | ||
19783 | cat conftest.err >&5 | ||
19784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19785 | (exit $ac_status); } && { | ||
19786 | test -z "$ac_c_werror_flag" || | ||
19787 | test ! -s conftest.err | ||
19788 | } && test -s conftest$ac_exeext && | ||
19789 | $as_test_x conftest$ac_exeext; then | ||
19790 | eval "$as_ac_var=yes" | ||
19791 | else | ||
19792 | echo "$as_me: failed program was:" >&5 | ||
19793 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19794 | |||
19795 | eval "$as_ac_var=no" | ||
19796 | fi | ||
19797 | |||
19798 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19799 | conftest$ac_exeext conftest.$ac_ext | ||
19800 | fi | ||
19801 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19802 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19803 | echo "${ECHO_T}$ac_res" >&6; } | ||
19804 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19805 | cat >>confdefs.h <<_ACEOF | 11377 | cat >>confdefs.h <<_ACEOF |
19806 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11378 | #define HAVE_UTMPNAME 1 |
19807 | _ACEOF | 11379 | _ACEOF |
19808 | 11380 | ||
19809 | fi | 11381 | fi |
19810 | done | 11382 | done |
19811 | 11383 | ||
19812 | |||
19813 | |||
19814 | |||
19815 | |||
19816 | |||
19817 | |||
19818 | for ac_func in endutxent getutxent getutxid getutxline getutxuser pututxline | 11384 | for ac_func in endutxent getutxent getutxid getutxline getutxuser pututxline |
19819 | do | 11385 | do : |
19820 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11386 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19821 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11387 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
19822 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 11388 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
19823 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19824 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19825 | else | ||
19826 | cat >conftest.$ac_ext <<_ACEOF | ||
19827 | /* confdefs.h. */ | ||
19828 | _ACEOF | ||
19829 | cat confdefs.h >>conftest.$ac_ext | ||
19830 | cat >>conftest.$ac_ext <<_ACEOF | ||
19831 | /* end confdefs.h. */ | ||
19832 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19833 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19834 | #define $ac_func innocuous_$ac_func | ||
19835 | |||
19836 | /* System header to define __stub macros and hopefully few prototypes, | ||
19837 | which can conflict with char $ac_func (); below. | ||
19838 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19839 | <limits.h> exists even on freestanding compilers. */ | ||
19840 | |||
19841 | #ifdef __STDC__ | ||
19842 | # include <limits.h> | ||
19843 | #else | ||
19844 | # include <assert.h> | ||
19845 | #endif | ||
19846 | |||
19847 | #undef $ac_func | ||
19848 | |||
19849 | /* Override any GCC internal prototype to avoid an error. | ||
19850 | Use char because int might match the return type of a GCC | ||
19851 | builtin and then its argument prototype would still apply. */ | ||
19852 | #ifdef __cplusplus | ||
19853 | extern "C" | ||
19854 | #endif | ||
19855 | char $ac_func (); | ||
19856 | /* The GNU C library defines this for functions which it implements | ||
19857 | to always fail with ENOSYS. Some functions are actually named | ||
19858 | something starting with __ and the normal name is an alias. */ | ||
19859 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19860 | choke me | ||
19861 | #endif | ||
19862 | |||
19863 | int | ||
19864 | main () | ||
19865 | { | ||
19866 | return $ac_func (); | ||
19867 | ; | ||
19868 | return 0; | ||
19869 | } | ||
19870 | _ACEOF | ||
19871 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19872 | if { (ac_try="$ac_link" | ||
19873 | case "(($ac_try" in | ||
19874 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19875 | *) ac_try_echo=$ac_try;; | ||
19876 | esac | ||
19877 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19878 | (eval "$ac_link") 2>conftest.er1 | ||
19879 | ac_status=$? | ||
19880 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19881 | rm -f conftest.er1 | ||
19882 | cat conftest.err >&5 | ||
19883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19884 | (exit $ac_status); } && { | ||
19885 | test -z "$ac_c_werror_flag" || | ||
19886 | test ! -s conftest.err | ||
19887 | } && test -s conftest$ac_exeext && | ||
19888 | $as_test_x conftest$ac_exeext; then | ||
19889 | eval "$as_ac_var=yes" | ||
19890 | else | ||
19891 | echo "$as_me: failed program was:" >&5 | ||
19892 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19893 | |||
19894 | eval "$as_ac_var=no" | ||
19895 | fi | ||
19896 | |||
19897 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19898 | conftest$ac_exeext conftest.$ac_ext | ||
19899 | fi | ||
19900 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19901 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19902 | echo "${ECHO_T}$ac_res" >&6; } | ||
19903 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
19904 | cat >>confdefs.h <<_ACEOF | 11389 | cat >>confdefs.h <<_ACEOF |
19905 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11390 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
19906 | _ACEOF | 11391 | _ACEOF |
19907 | 11392 | ||
19908 | fi | 11393 | fi |
19909 | done | 11394 | done |
19910 | 11395 | ||
19911 | |||
19912 | |||
19913 | |||
19914 | for ac_func in setutxdb setutxent utmpxname | 11396 | for ac_func in setutxdb setutxent utmpxname |
19915 | do | 11397 | do : |
19916 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11398 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19917 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11399 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
19918 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 11400 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
19919 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19920 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19921 | else | ||
19922 | cat >conftest.$ac_ext <<_ACEOF | ||
19923 | /* confdefs.h. */ | ||
19924 | _ACEOF | ||
19925 | cat confdefs.h >>conftest.$ac_ext | ||
19926 | cat >>conftest.$ac_ext <<_ACEOF | ||
19927 | /* end confdefs.h. */ | ||
19928 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19929 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19930 | #define $ac_func innocuous_$ac_func | ||
19931 | |||
19932 | /* System header to define __stub macros and hopefully few prototypes, | ||
19933 | which can conflict with char $ac_func (); below. | ||
19934 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19935 | <limits.h> exists even on freestanding compilers. */ | ||
19936 | |||
19937 | #ifdef __STDC__ | ||
19938 | # include <limits.h> | ||
19939 | #else | ||
19940 | # include <assert.h> | ||
19941 | #endif | ||
19942 | |||
19943 | #undef $ac_func | ||
19944 | |||
19945 | /* Override any GCC internal prototype to avoid an error. | ||
19946 | Use char because int might match the return type of a GCC | ||
19947 | builtin and then its argument prototype would still apply. */ | ||
19948 | #ifdef __cplusplus | ||
19949 | extern "C" | ||
19950 | #endif | ||
19951 | char $ac_func (); | ||
19952 | /* The GNU C library defines this for functions which it implements | ||
19953 | to always fail with ENOSYS. Some functions are actually named | ||
19954 | something starting with __ and the normal name is an alias. */ | ||
19955 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19956 | choke me | ||
19957 | #endif | ||
19958 | |||
19959 | int | ||
19960 | main () | ||
19961 | { | ||
19962 | return $ac_func (); | ||
19963 | ; | ||
19964 | return 0; | ||
19965 | } | ||
19966 | _ACEOF | ||
19967 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19968 | if { (ac_try="$ac_link" | ||
19969 | case "(($ac_try" in | ||
19970 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19971 | *) ac_try_echo=$ac_try;; | ||
19972 | esac | ||
19973 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19974 | (eval "$ac_link") 2>conftest.er1 | ||
19975 | ac_status=$? | ||
19976 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19977 | rm -f conftest.er1 | ||
19978 | cat conftest.err >&5 | ||
19979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19980 | (exit $ac_status); } && { | ||
19981 | test -z "$ac_c_werror_flag" || | ||
19982 | test ! -s conftest.err | ||
19983 | } && test -s conftest$ac_exeext && | ||
19984 | $as_test_x conftest$ac_exeext; then | ||
19985 | eval "$as_ac_var=yes" | ||
19986 | else | ||
19987 | echo "$as_me: failed program was:" >&5 | ||
19988 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19989 | |||
19990 | eval "$as_ac_var=no" | ||
19991 | fi | ||
19992 | |||
19993 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19994 | conftest$ac_exeext conftest.$ac_ext | ||
19995 | fi | ||
19996 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19997 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19998 | echo "${ECHO_T}$ac_res" >&6; } | ||
19999 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
20000 | cat >>confdefs.h <<_ACEOF | 11401 | cat >>confdefs.h <<_ACEOF |
20001 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11402 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20002 | _ACEOF | 11403 | _ACEOF |
20003 | 11404 | ||
20004 | fi | 11405 | fi |
20005 | done | 11406 | done |
20006 | 11407 | ||
20007 | |||
20008 | for ac_func in getlastlogxbyname | 11408 | for ac_func in getlastlogxbyname |
20009 | do | 11409 | do : |
20010 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11410 | ac_fn_c_check_func "$LINENO" "getlastlogxbyname" "ac_cv_func_getlastlogxbyname" |
20011 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11411 | if test "x$ac_cv_func_getlastlogxbyname" = xyes; then : |
20012 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
20013 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
20014 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20015 | else | ||
20016 | cat >conftest.$ac_ext <<_ACEOF | ||
20017 | /* confdefs.h. */ | ||
20018 | _ACEOF | ||
20019 | cat confdefs.h >>conftest.$ac_ext | ||
20020 | cat >>conftest.$ac_ext <<_ACEOF | ||
20021 | /* end confdefs.h. */ | ||
20022 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
20023 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
20024 | #define $ac_func innocuous_$ac_func | ||
20025 | |||
20026 | /* System header to define __stub macros and hopefully few prototypes, | ||
20027 | which can conflict with char $ac_func (); below. | ||
20028 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
20029 | <limits.h> exists even on freestanding compilers. */ | ||
20030 | |||
20031 | #ifdef __STDC__ | ||
20032 | # include <limits.h> | ||
20033 | #else | ||
20034 | # include <assert.h> | ||
20035 | #endif | ||
20036 | |||
20037 | #undef $ac_func | ||
20038 | |||
20039 | /* Override any GCC internal prototype to avoid an error. | ||
20040 | Use char because int might match the return type of a GCC | ||
20041 | builtin and then its argument prototype would still apply. */ | ||
20042 | #ifdef __cplusplus | ||
20043 | extern "C" | ||
20044 | #endif | ||
20045 | char $ac_func (); | ||
20046 | /* The GNU C library defines this for functions which it implements | ||
20047 | to always fail with ENOSYS. Some functions are actually named | ||
20048 | something starting with __ and the normal name is an alias. */ | ||
20049 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
20050 | choke me | ||
20051 | #endif | ||
20052 | |||
20053 | int | ||
20054 | main () | ||
20055 | { | ||
20056 | return $ac_func (); | ||
20057 | ; | ||
20058 | return 0; | ||
20059 | } | ||
20060 | _ACEOF | ||
20061 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
20062 | if { (ac_try="$ac_link" | ||
20063 | case "(($ac_try" in | ||
20064 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20065 | *) ac_try_echo=$ac_try;; | ||
20066 | esac | ||
20067 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20068 | (eval "$ac_link") 2>conftest.er1 | ||
20069 | ac_status=$? | ||
20070 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20071 | rm -f conftest.er1 | ||
20072 | cat conftest.err >&5 | ||
20073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20074 | (exit $ac_status); } && { | ||
20075 | test -z "$ac_c_werror_flag" || | ||
20076 | test ! -s conftest.err | ||
20077 | } && test -s conftest$ac_exeext && | ||
20078 | $as_test_x conftest$ac_exeext; then | ||
20079 | eval "$as_ac_var=yes" | ||
20080 | else | ||
20081 | echo "$as_me: failed program was:" >&5 | ||
20082 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20083 | |||
20084 | eval "$as_ac_var=no" | ||
20085 | fi | ||
20086 | |||
20087 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
20088 | conftest$ac_exeext conftest.$ac_ext | ||
20089 | fi | ||
20090 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
20091 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
20092 | echo "${ECHO_T}$ac_res" >&6; } | ||
20093 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
20094 | cat >>confdefs.h <<_ACEOF | 11412 | cat >>confdefs.h <<_ACEOF |
20095 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11413 | #define HAVE_GETLASTLOGXBYNAME 1 |
20096 | _ACEOF | 11414 | _ACEOF |
20097 | 11415 | ||
20098 | fi | 11416 | fi |
20099 | done | 11417 | done |
20100 | 11418 | ||
20101 | 11419 | ||
20102 | { echo "$as_me:$LINENO: checking for daemon" >&5 | 11420 | ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" |
20103 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } | 11421 | if test "x$ac_cv_func_daemon" = xyes; then : |
20104 | if test "${ac_cv_func_daemon+set}" = set; then | ||
20105 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20106 | else | ||
20107 | cat >conftest.$ac_ext <<_ACEOF | ||
20108 | /* confdefs.h. */ | ||
20109 | _ACEOF | ||
20110 | cat confdefs.h >>conftest.$ac_ext | ||
20111 | cat >>conftest.$ac_ext <<_ACEOF | ||
20112 | /* end confdefs.h. */ | ||
20113 | /* Define daemon to an innocuous variant, in case <limits.h> declares daemon. | ||
20114 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
20115 | #define daemon innocuous_daemon | ||
20116 | |||
20117 | /* System header to define __stub macros and hopefully few prototypes, | ||
20118 | which can conflict with char daemon (); below. | ||
20119 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
20120 | <limits.h> exists even on freestanding compilers. */ | ||
20121 | 11422 | ||
20122 | #ifdef __STDC__ | 11423 | $as_echo "#define HAVE_DAEMON 1" >>confdefs.h |
20123 | # include <limits.h> | ||
20124 | #else | ||
20125 | # include <assert.h> | ||
20126 | #endif | ||
20127 | |||
20128 | #undef daemon | ||
20129 | |||
20130 | /* Override any GCC internal prototype to avoid an error. | ||
20131 | Use char because int might match the return type of a GCC | ||
20132 | builtin and then its argument prototype would still apply. */ | ||
20133 | #ifdef __cplusplus | ||
20134 | extern "C" | ||
20135 | #endif | ||
20136 | char daemon (); | ||
20137 | /* The GNU C library defines this for functions which it implements | ||
20138 | to always fail with ENOSYS. Some functions are actually named | ||
20139 | something starting with __ and the normal name is an alias. */ | ||
20140 | #if defined __stub_daemon || defined __stub___daemon | ||
20141 | choke me | ||
20142 | #endif | ||
20143 | |||
20144 | int | ||
20145 | main () | ||
20146 | { | ||
20147 | return daemon (); | ||
20148 | ; | ||
20149 | return 0; | ||
20150 | } | ||
20151 | _ACEOF | ||
20152 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
20153 | if { (ac_try="$ac_link" | ||
20154 | case "(($ac_try" in | ||
20155 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20156 | *) ac_try_echo=$ac_try;; | ||
20157 | esac | ||
20158 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20159 | (eval "$ac_link") 2>conftest.er1 | ||
20160 | ac_status=$? | ||
20161 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20162 | rm -f conftest.er1 | ||
20163 | cat conftest.err >&5 | ||
20164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20165 | (exit $ac_status); } && { | ||
20166 | test -z "$ac_c_werror_flag" || | ||
20167 | test ! -s conftest.err | ||
20168 | } && test -s conftest$ac_exeext && | ||
20169 | $as_test_x conftest$ac_exeext; then | ||
20170 | ac_cv_func_daemon=yes | ||
20171 | else | ||
20172 | echo "$as_me: failed program was:" >&5 | ||
20173 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20174 | |||
20175 | ac_cv_func_daemon=no | ||
20176 | fi | ||
20177 | |||
20178 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
20179 | conftest$ac_exeext conftest.$ac_ext | ||
20180 | fi | ||
20181 | { echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | ||
20182 | echo "${ECHO_T}$ac_cv_func_daemon" >&6; } | ||
20183 | if test $ac_cv_func_daemon = yes; then | ||
20184 | |||
20185 | cat >>confdefs.h <<\_ACEOF | ||
20186 | #define HAVE_DAEMON 1 | ||
20187 | _ACEOF | ||
20188 | 11424 | ||
20189 | else | 11425 | else |
20190 | { echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 | 11426 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daemon in -lbsd" >&5 |
20191 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6; } | 11427 | $as_echo_n "checking for daemon in -lbsd... " >&6; } |
20192 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then | 11428 | if ${ac_cv_lib_bsd_daemon+:} false; then : |
20193 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11429 | $as_echo_n "(cached) " >&6 |
20194 | else | 11430 | else |
20195 | ac_check_lib_save_LIBS=$LIBS | 11431 | ac_check_lib_save_LIBS=$LIBS |
20196 | LIBS="-lbsd $LIBS" | 11432 | LIBS="-lbsd $LIBS" |
20197 | cat >conftest.$ac_ext <<_ACEOF | 11433 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20198 | /* confdefs.h. */ | ||
20199 | _ACEOF | ||
20200 | cat confdefs.h >>conftest.$ac_ext | ||
20201 | cat >>conftest.$ac_ext <<_ACEOF | ||
20202 | /* end confdefs.h. */ | 11434 | /* end confdefs.h. */ |
20203 | 11435 | ||
20204 | /* Override any GCC internal prototype to avoid an error. | 11436 | /* Override any GCC internal prototype to avoid an error. |
@@ -20216,42 +11448,19 @@ return daemon (); | |||
20216 | return 0; | 11448 | return 0; |
20217 | } | 11449 | } |
20218 | _ACEOF | 11450 | _ACEOF |
20219 | rm -f conftest.$ac_objext conftest$ac_exeext | 11451 | if ac_fn_c_try_link "$LINENO"; then : |
20220 | if { (ac_try="$ac_link" | ||
20221 | case "(($ac_try" in | ||
20222 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20223 | *) ac_try_echo=$ac_try;; | ||
20224 | esac | ||
20225 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20226 | (eval "$ac_link") 2>conftest.er1 | ||
20227 | ac_status=$? | ||
20228 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20229 | rm -f conftest.er1 | ||
20230 | cat conftest.err >&5 | ||
20231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20232 | (exit $ac_status); } && { | ||
20233 | test -z "$ac_c_werror_flag" || | ||
20234 | test ! -s conftest.err | ||
20235 | } && test -s conftest$ac_exeext && | ||
20236 | $as_test_x conftest$ac_exeext; then | ||
20237 | ac_cv_lib_bsd_daemon=yes | 11452 | ac_cv_lib_bsd_daemon=yes |
20238 | else | 11453 | else |
20239 | echo "$as_me: failed program was:" >&5 | 11454 | ac_cv_lib_bsd_daemon=no |
20240 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20241 | |||
20242 | ac_cv_lib_bsd_daemon=no | ||
20243 | fi | 11455 | fi |
20244 | 11456 | rm -f core conftest.err conftest.$ac_objext \ | |
20245 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11457 | conftest$ac_exeext conftest.$ac_ext |
20246 | conftest$ac_exeext conftest.$ac_ext | ||
20247 | LIBS=$ac_check_lib_save_LIBS | 11458 | LIBS=$ac_check_lib_save_LIBS |
20248 | fi | 11459 | fi |
20249 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 | 11460 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_daemon" >&5 |
20250 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6; } | 11461 | $as_echo "$ac_cv_lib_bsd_daemon" >&6; } |
20251 | if test $ac_cv_lib_bsd_daemon = yes; then | 11462 | if test "x$ac_cv_lib_bsd_daemon" = xyes; then : |
20252 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF | 11463 | LIBS="$LIBS -lbsd"; $as_echo "#define HAVE_DAEMON 1" >>confdefs.h |
20253 | #define HAVE_DAEMON 1 | ||
20254 | _ACEOF | ||
20255 | 11464 | ||
20256 | fi | 11465 | fi |
20257 | 11466 | ||
@@ -20259,106 +11468,20 @@ fi | |||
20259 | fi | 11468 | fi |
20260 | 11469 | ||
20261 | 11470 | ||
20262 | { echo "$as_me:$LINENO: checking for getpagesize" >&5 | 11471 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" |
20263 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; } | 11472 | if test "x$ac_cv_func_getpagesize" = xyes; then : |
20264 | if test "${ac_cv_func_getpagesize+set}" = set; then | ||
20265 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20266 | else | ||
20267 | cat >conftest.$ac_ext <<_ACEOF | ||
20268 | /* confdefs.h. */ | ||
20269 | _ACEOF | ||
20270 | cat confdefs.h >>conftest.$ac_ext | ||
20271 | cat >>conftest.$ac_ext <<_ACEOF | ||
20272 | /* end confdefs.h. */ | ||
20273 | /* Define getpagesize to an innocuous variant, in case <limits.h> declares getpagesize. | ||
20274 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
20275 | #define getpagesize innocuous_getpagesize | ||
20276 | |||
20277 | /* System header to define __stub macros and hopefully few prototypes, | ||
20278 | which can conflict with char getpagesize (); below. | ||
20279 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
20280 | <limits.h> exists even on freestanding compilers. */ | ||
20281 | |||
20282 | #ifdef __STDC__ | ||
20283 | # include <limits.h> | ||
20284 | #else | ||
20285 | # include <assert.h> | ||
20286 | #endif | ||
20287 | 11473 | ||
20288 | #undef getpagesize | 11474 | $as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h |
20289 | |||
20290 | /* Override any GCC internal prototype to avoid an error. | ||
20291 | Use char because int might match the return type of a GCC | ||
20292 | builtin and then its argument prototype would still apply. */ | ||
20293 | #ifdef __cplusplus | ||
20294 | extern "C" | ||
20295 | #endif | ||
20296 | char getpagesize (); | ||
20297 | /* The GNU C library defines this for functions which it implements | ||
20298 | to always fail with ENOSYS. Some functions are actually named | ||
20299 | something starting with __ and the normal name is an alias. */ | ||
20300 | #if defined __stub_getpagesize || defined __stub___getpagesize | ||
20301 | choke me | ||
20302 | #endif | ||
20303 | |||
20304 | int | ||
20305 | main () | ||
20306 | { | ||
20307 | return getpagesize (); | ||
20308 | ; | ||
20309 | return 0; | ||
20310 | } | ||
20311 | _ACEOF | ||
20312 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
20313 | if { (ac_try="$ac_link" | ||
20314 | case "(($ac_try" in | ||
20315 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20316 | *) ac_try_echo=$ac_try;; | ||
20317 | esac | ||
20318 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20319 | (eval "$ac_link") 2>conftest.er1 | ||
20320 | ac_status=$? | ||
20321 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20322 | rm -f conftest.er1 | ||
20323 | cat conftest.err >&5 | ||
20324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20325 | (exit $ac_status); } && { | ||
20326 | test -z "$ac_c_werror_flag" || | ||
20327 | test ! -s conftest.err | ||
20328 | } && test -s conftest$ac_exeext && | ||
20329 | $as_test_x conftest$ac_exeext; then | ||
20330 | ac_cv_func_getpagesize=yes | ||
20331 | else | ||
20332 | echo "$as_me: failed program was:" >&5 | ||
20333 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20334 | |||
20335 | ac_cv_func_getpagesize=no | ||
20336 | fi | ||
20337 | |||
20338 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
20339 | conftest$ac_exeext conftest.$ac_ext | ||
20340 | fi | ||
20341 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | ||
20342 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6; } | ||
20343 | if test $ac_cv_func_getpagesize = yes; then | ||
20344 | |||
20345 | cat >>confdefs.h <<\_ACEOF | ||
20346 | #define HAVE_GETPAGESIZE 1 | ||
20347 | _ACEOF | ||
20348 | 11475 | ||
20349 | else | 11476 | else |
20350 | { echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 | 11477 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize in -lucb" >&5 |
20351 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6; } | 11478 | $as_echo_n "checking for getpagesize in -lucb... " >&6; } |
20352 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then | 11479 | if ${ac_cv_lib_ucb_getpagesize+:} false; then : |
20353 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 11480 | $as_echo_n "(cached) " >&6 |
20354 | else | 11481 | else |
20355 | ac_check_lib_save_LIBS=$LIBS | 11482 | ac_check_lib_save_LIBS=$LIBS |
20356 | LIBS="-lucb $LIBS" | 11483 | LIBS="-lucb $LIBS" |
20357 | cat >conftest.$ac_ext <<_ACEOF | 11484 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20358 | /* confdefs.h. */ | ||
20359 | _ACEOF | ||
20360 | cat confdefs.h >>conftest.$ac_ext | ||
20361 | cat >>conftest.$ac_ext <<_ACEOF | ||
20362 | /* end confdefs.h. */ | 11485 | /* end confdefs.h. */ |
20363 | 11486 | ||
20364 | /* Override any GCC internal prototype to avoid an error. | 11487 | /* Override any GCC internal prototype to avoid an error. |
@@ -20376,42 +11499,19 @@ return getpagesize (); | |||
20376 | return 0; | 11499 | return 0; |
20377 | } | 11500 | } |
20378 | _ACEOF | 11501 | _ACEOF |
20379 | rm -f conftest.$ac_objext conftest$ac_exeext | 11502 | if ac_fn_c_try_link "$LINENO"; then : |
20380 | if { (ac_try="$ac_link" | ||
20381 | case "(($ac_try" in | ||
20382 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20383 | *) ac_try_echo=$ac_try;; | ||
20384 | esac | ||
20385 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20386 | (eval "$ac_link") 2>conftest.er1 | ||
20387 | ac_status=$? | ||
20388 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20389 | rm -f conftest.er1 | ||
20390 | cat conftest.err >&5 | ||
20391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20392 | (exit $ac_status); } && { | ||
20393 | test -z "$ac_c_werror_flag" || | ||
20394 | test ! -s conftest.err | ||
20395 | } && test -s conftest$ac_exeext && | ||
20396 | $as_test_x conftest$ac_exeext; then | ||
20397 | ac_cv_lib_ucb_getpagesize=yes | 11503 | ac_cv_lib_ucb_getpagesize=yes |
20398 | else | 11504 | else |
20399 | echo "$as_me: failed program was:" >&5 | 11505 | ac_cv_lib_ucb_getpagesize=no |
20400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20401 | |||
20402 | ac_cv_lib_ucb_getpagesize=no | ||
20403 | fi | 11506 | fi |
20404 | 11507 | rm -f core conftest.err conftest.$ac_objext \ | |
20405 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 11508 | conftest$ac_exeext conftest.$ac_ext |
20406 | conftest$ac_exeext conftest.$ac_ext | ||
20407 | LIBS=$ac_check_lib_save_LIBS | 11509 | LIBS=$ac_check_lib_save_LIBS |
20408 | fi | 11510 | fi |
20409 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 | 11511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ucb_getpagesize" >&5 |
20410 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6; } | 11512 | $as_echo "$ac_cv_lib_ucb_getpagesize" >&6; } |
20411 | if test $ac_cv_lib_ucb_getpagesize = yes; then | 11513 | if test "x$ac_cv_lib_ucb_getpagesize" = xyes; then : |
20412 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF | 11514 | LIBS="$LIBS -lucb"; $as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h |
20413 | #define HAVE_GETPAGESIZE 1 | ||
20414 | _ACEOF | ||
20415 | 11515 | ||
20416 | fi | 11516 | fi |
20417 | 11517 | ||
@@ -20421,18 +11521,14 @@ fi | |||
20421 | 11521 | ||
20422 | # Check for broken snprintf | 11522 | # Check for broken snprintf |
20423 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | 11523 | if test "x$ac_cv_func_snprintf" = "xyes" ; then |
20424 | { echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 | 11524 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf correctly terminates long strings" >&5 |
20425 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6; } | 11525 | $as_echo_n "checking whether snprintf correctly terminates long strings... " >&6; } |
20426 | if test "$cross_compiling" = yes; then | 11526 | if test "$cross_compiling" = yes; then : |
20427 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 | 11527 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Assuming working snprintf()" >&5 |
20428 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 11528 | $as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
20429 | 11529 | ||
20430 | else | 11530 | else |
20431 | cat >conftest.$ac_ext <<_ACEOF | 11531 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20432 | /* confdefs.h. */ | ||
20433 | _ACEOF | ||
20434 | cat confdefs.h >>conftest.$ac_ext | ||
20435 | cat >>conftest.$ac_ext <<_ACEOF | ||
20436 | /* end confdefs.h. */ | 11532 | /* end confdefs.h. */ |
20437 | #include <stdio.h> | 11533 | #include <stdio.h> |
20438 | int | 11534 | int |
@@ -20447,67 +11543,37 @@ main () | |||
20447 | return 0; | 11543 | return 0; |
20448 | } | 11544 | } |
20449 | _ACEOF | 11545 | _ACEOF |
20450 | rm -f conftest$ac_exeext | 11546 | if ac_fn_c_try_run "$LINENO"; then : |
20451 | if { (ac_try="$ac_link" | 11547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20452 | case "(($ac_try" in | 11548 | $as_echo "yes" >&6; } |
20453 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20454 | *) ac_try_echo=$ac_try;; | ||
20455 | esac | ||
20456 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20457 | (eval "$ac_link") 2>&5 | ||
20458 | ac_status=$? | ||
20459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20460 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20461 | { (case "(($ac_try" in | ||
20462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20463 | *) ac_try_echo=$ac_try;; | ||
20464 | esac | ||
20465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20466 | (eval "$ac_try") 2>&5 | ||
20467 | ac_status=$? | ||
20468 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20469 | (exit $ac_status); }; }; then | ||
20470 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
20471 | echo "${ECHO_T}yes" >&6; } | ||
20472 | else | 11549 | else |
20473 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20474 | echo "$as_me: failed program was:" >&5 | ||
20475 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20476 | 11550 | ||
20477 | ( exit $ac_status ) | 11551 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
11552 | $as_echo "no" >&6; } | ||
20478 | 11553 | ||
20479 | { echo "$as_me:$LINENO: result: no" >&5 | 11554 | $as_echo "#define BROKEN_SNPRINTF 1" >>confdefs.h |
20480 | echo "${ECHO_T}no" >&6; } | ||
20481 | 11555 | ||
20482 | cat >>confdefs.h <<\_ACEOF | 11556 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 |
20483 | #define BROKEN_SNPRINTF 1 | 11557 | $as_echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} |
20484 | _ACEOF | ||
20485 | |||
20486 | { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 | ||
20487 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | ||
20488 | 11558 | ||
20489 | fi | 11559 | fi |
20490 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11560 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11561 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
20491 | fi | 11562 | fi |
20492 | 11563 | ||
20493 | |||
20494 | fi | 11564 | fi |
20495 | 11565 | ||
20496 | # We depend on vsnprintf returning the right thing on overflow: the | 11566 | # We depend on vsnprintf returning the right thing on overflow: the |
20497 | # number of characters it tried to create (as per SUSv3) | 11567 | # number of characters it tried to create (as per SUSv3) |
20498 | if test "x$ac_cv_func_vsnprintf" = "xyes" ; then | 11568 | if test "x$ac_cv_func_vsnprintf" = "xyes" ; then |
20499 | { echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5 | 11569 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf returns correct values on overflow" >&5 |
20500 | echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6; } | 11570 | $as_echo_n "checking whether vsnprintf returns correct values on overflow... " >&6; } |
20501 | if test "$cross_compiling" = yes; then | 11571 | if test "$cross_compiling" = yes; then : |
20502 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5 | 11572 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Assuming working vsnprintf()" >&5 |
20503 | echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} | 11573 | $as_echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} |
20504 | 11574 | ||
20505 | else | 11575 | else |
20506 | cat >conftest.$ac_ext <<_ACEOF | 11576 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20507 | /* confdefs.h. */ | ||
20508 | _ACEOF | ||
20509 | cat confdefs.h >>conftest.$ac_ext | ||
20510 | cat >>conftest.$ac_ext <<_ACEOF | ||
20511 | /* end confdefs.h. */ | 11577 | /* end confdefs.h. */ |
20512 | 11578 | ||
20513 | #include <sys/types.h> | 11579 | #include <sys/types.h> |
@@ -20540,62 +11606,32 @@ return 0; | |||
20540 | return 0; | 11606 | return 0; |
20541 | } | 11607 | } |
20542 | _ACEOF | 11608 | _ACEOF |
20543 | rm -f conftest$ac_exeext | 11609 | if ac_fn_c_try_run "$LINENO"; then : |
20544 | if { (ac_try="$ac_link" | 11610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20545 | case "(($ac_try" in | 11611 | $as_echo "yes" >&6; } |
20546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20547 | *) ac_try_echo=$ac_try;; | ||
20548 | esac | ||
20549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20550 | (eval "$ac_link") 2>&5 | ||
20551 | ac_status=$? | ||
20552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20553 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20554 | { (case "(($ac_try" in | ||
20555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20556 | *) ac_try_echo=$ac_try;; | ||
20557 | esac | ||
20558 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20559 | (eval "$ac_try") 2>&5 | ||
20560 | ac_status=$? | ||
20561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20562 | (exit $ac_status); }; }; then | ||
20563 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
20564 | echo "${ECHO_T}yes" >&6; } | ||
20565 | else | 11612 | else |
20566 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20567 | echo "$as_me: failed program was:" >&5 | ||
20568 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20569 | |||
20570 | ( exit $ac_status ) | ||
20571 | 11613 | ||
20572 | { echo "$as_me:$LINENO: result: no" >&5 | 11614 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20573 | echo "${ECHO_T}no" >&6; } | 11615 | $as_echo "no" >&6; } |
20574 | 11616 | ||
20575 | cat >>confdefs.h <<\_ACEOF | 11617 | $as_echo "#define BROKEN_SNPRINTF 1" >>confdefs.h |
20576 | #define BROKEN_SNPRINTF 1 | ||
20577 | _ACEOF | ||
20578 | 11618 | ||
20579 | { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5 | 11619 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5 |
20580 | echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} | 11620 | $as_echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} |
20581 | 11621 | ||
20582 | fi | 11622 | fi |
20583 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11623 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11624 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
20584 | fi | 11625 | fi |
20585 | 11626 | ||
20586 | |||
20587 | fi | 11627 | fi |
20588 | 11628 | ||
20589 | # On systems where [v]snprintf is broken, but is declared in stdio, | 11629 | # On systems where [v]snprintf is broken, but is declared in stdio, |
20590 | # check that the fmt argument is const char * or just char *. | 11630 | # check that the fmt argument is const char * or just char *. |
20591 | # This is only useful for when BROKEN_SNPRINTF | 11631 | # This is only useful for when BROKEN_SNPRINTF |
20592 | { echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 | 11632 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf can declare const char *fmt" >&5 |
20593 | echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6; } | 11633 | $as_echo_n "checking whether snprintf can declare const char *fmt... " >&6; } |
20594 | cat >conftest.$ac_ext <<_ACEOF | 11634 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20595 | /* confdefs.h. */ | ||
20596 | _ACEOF | ||
20597 | cat confdefs.h >>conftest.$ac_ext | ||
20598 | cat >>conftest.$ac_ext <<_ACEOF | ||
20599 | /* end confdefs.h. */ | 11635 | /* end confdefs.h. */ |
20600 | 11636 | ||
20601 | #include <stdio.h> | 11637 | #include <stdio.h> |
@@ -20611,54 +11647,26 @@ main () | |||
20611 | return 0; | 11647 | return 0; |
20612 | } | 11648 | } |
20613 | _ACEOF | 11649 | _ACEOF |
20614 | rm -f conftest.$ac_objext | 11650 | if ac_fn_c_try_compile "$LINENO"; then : |
20615 | if { (ac_try="$ac_compile" | 11651 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20616 | case "(($ac_try" in | 11652 | $as_echo "yes" >&6; } |
20617 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20618 | *) ac_try_echo=$ac_try;; | ||
20619 | esac | ||
20620 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20621 | (eval "$ac_compile") 2>conftest.er1 | ||
20622 | ac_status=$? | ||
20623 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20624 | rm -f conftest.er1 | ||
20625 | cat conftest.err >&5 | ||
20626 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20627 | (exit $ac_status); } && { | ||
20628 | test -z "$ac_c_werror_flag" || | ||
20629 | test ! -s conftest.err | ||
20630 | } && test -s conftest.$ac_objext; then | ||
20631 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
20632 | echo "${ECHO_T}yes" >&6; } | ||
20633 | 11653 | ||
20634 | cat >>confdefs.h <<\_ACEOF | 11654 | $as_echo "#define SNPRINTF_CONST const" >>confdefs.h |
20635 | #define SNPRINTF_CONST const | ||
20636 | _ACEOF | ||
20637 | 11655 | ||
20638 | else | 11656 | else |
20639 | echo "$as_me: failed program was:" >&5 | 11657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20640 | sed 's/^/| /' conftest.$ac_ext >&5 | 11658 | $as_echo "no" >&6; } |
20641 | 11659 | $as_echo "#define SNPRINTF_CONST /* not const */" >>confdefs.h | |
20642 | { echo "$as_me:$LINENO: result: no" >&5 | ||
20643 | echo "${ECHO_T}no" >&6; } | ||
20644 | cat >>confdefs.h <<\_ACEOF | ||
20645 | #define SNPRINTF_CONST /* not const */ | ||
20646 | _ACEOF | ||
20647 | 11660 | ||
20648 | fi | 11661 | fi |
20649 | |||
20650 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11662 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20651 | 11663 | ||
20652 | # Check for missing getpeereid (or equiv) support | 11664 | # Check for missing getpeereid (or equiv) support |
20653 | NO_PEERCHECK="" | 11665 | NO_PEERCHECK="" |
20654 | if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then | 11666 | if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then |
20655 | { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 | 11667 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports SO_PEERCRED getsockopt" >&5 |
20656 | echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } | 11668 | $as_echo_n "checking whether system supports SO_PEERCRED getsockopt... " >&6; } |
20657 | cat >conftest.$ac_ext <<_ACEOF | 11669 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20658 | /* confdefs.h. */ | ||
20659 | _ACEOF | ||
20660 | cat confdefs.h >>conftest.$ac_ext | ||
20661 | cat >>conftest.$ac_ext <<_ACEOF | ||
20662 | /* end confdefs.h. */ | 11670 | /* end confdefs.h. */ |
20663 | 11671 | ||
20664 | #include <sys/types.h> | 11672 | #include <sys/types.h> |
@@ -20671,63 +11679,35 @@ int i = SO_PEERCRED; | |||
20671 | return 0; | 11679 | return 0; |
20672 | } | 11680 | } |
20673 | _ACEOF | 11681 | _ACEOF |
20674 | rm -f conftest.$ac_objext | 11682 | if ac_fn_c_try_compile "$LINENO"; then : |
20675 | if { (ac_try="$ac_compile" | 11683 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20676 | case "(($ac_try" in | 11684 | $as_echo "yes" >&6; } |
20677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20678 | *) ac_try_echo=$ac_try;; | ||
20679 | esac | ||
20680 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20681 | (eval "$ac_compile") 2>conftest.er1 | ||
20682 | ac_status=$? | ||
20683 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20684 | rm -f conftest.er1 | ||
20685 | cat conftest.err >&5 | ||
20686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20687 | (exit $ac_status); } && { | ||
20688 | test -z "$ac_c_werror_flag" || | ||
20689 | test ! -s conftest.err | ||
20690 | } && test -s conftest.$ac_objext; then | ||
20691 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
20692 | echo "${ECHO_T}yes" >&6; } | ||
20693 | 11685 | ||
20694 | cat >>confdefs.h <<\_ACEOF | 11686 | $as_echo "#define HAVE_SO_PEERCRED 1" >>confdefs.h |
20695 | #define HAVE_SO_PEERCRED 1 | ||
20696 | _ACEOF | ||
20697 | 11687 | ||
20698 | 11688 | ||
20699 | else | 11689 | else |
20700 | echo "$as_me: failed program was:" >&5 | 11690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20701 | sed 's/^/| /' conftest.$ac_ext >&5 | 11691 | $as_echo "no" >&6; } |
20702 | |||
20703 | { echo "$as_me:$LINENO: result: no" >&5 | ||
20704 | echo "${ECHO_T}no" >&6; } | ||
20705 | NO_PEERCHECK=1 | 11692 | NO_PEERCHECK=1 |
20706 | 11693 | ||
20707 | fi | 11694 | fi |
20708 | |||
20709 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 11695 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20710 | fi | 11696 | fi |
20711 | 11697 | ||
20712 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | 11698 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then |
20713 | { echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 | 11699 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (overly) strict mkstemp" >&5 |
20714 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6; } | 11700 | $as_echo_n "checking for (overly) strict mkstemp... " >&6; } |
20715 | if test "$cross_compiling" = yes; then | 11701 | if test "$cross_compiling" = yes; then : |
20716 | 11702 | ||
20717 | { echo "$as_me:$LINENO: result: yes" >&5 | 11703 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20718 | echo "${ECHO_T}yes" >&6; } | 11704 | $as_echo "yes" >&6; } |
20719 | cat >>confdefs.h <<\_ACEOF | 11705 | $as_echo "#define HAVE_STRICT_MKSTEMP 1" >>confdefs.h |
20720 | #define HAVE_STRICT_MKSTEMP 1 | ||
20721 | _ACEOF | ||
20722 | 11706 | ||
20723 | 11707 | ||
20724 | 11708 | ||
20725 | else | 11709 | else |
20726 | cat >conftest.$ac_ext <<_ACEOF | 11710 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20727 | /* confdefs.h. */ | ||
20728 | _ACEOF | ||
20729 | cat confdefs.h >>conftest.$ac_ext | ||
20730 | cat >>conftest.$ac_ext <<_ACEOF | ||
20731 | /* end confdefs.h. */ | 11711 | /* end confdefs.h. */ |
20732 | 11712 | ||
20733 | #include <stdlib.h> | 11713 | #include <stdlib.h> |
@@ -20746,67 +11726,37 @@ main () | |||
20746 | return 0; | 11726 | return 0; |
20747 | } | 11727 | } |
20748 | _ACEOF | 11728 | _ACEOF |
20749 | rm -f conftest$ac_exeext | 11729 | if ac_fn_c_try_run "$LINENO"; then : |
20750 | if { (ac_try="$ac_link" | ||
20751 | case "(($ac_try" in | ||
20752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20753 | *) ac_try_echo=$ac_try;; | ||
20754 | esac | ||
20755 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20756 | (eval "$ac_link") 2>&5 | ||
20757 | ac_status=$? | ||
20758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20759 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20760 | { (case "(($ac_try" in | ||
20761 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20762 | *) ac_try_echo=$ac_try;; | ||
20763 | esac | ||
20764 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20765 | (eval "$ac_try") 2>&5 | ||
20766 | ac_status=$? | ||
20767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20768 | (exit $ac_status); }; }; then | ||
20769 | 11730 | ||
20770 | { echo "$as_me:$LINENO: result: no" >&5 | 11731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20771 | echo "${ECHO_T}no" >&6; } | 11732 | $as_echo "no" >&6; } |
20772 | 11733 | ||
20773 | else | 11734 | else |
20774 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20775 | echo "$as_me: failed program was:" >&5 | ||
20776 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20777 | 11735 | ||
20778 | ( exit $ac_status ) | 11736 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
11737 | $as_echo "yes" >&6; } | ||
20779 | 11738 | ||
20780 | { echo "$as_me:$LINENO: result: yes" >&5 | 11739 | $as_echo "#define HAVE_STRICT_MKSTEMP 1" >>confdefs.h |
20781 | echo "${ECHO_T}yes" >&6; } | ||
20782 | |||
20783 | cat >>confdefs.h <<\_ACEOF | ||
20784 | #define HAVE_STRICT_MKSTEMP 1 | ||
20785 | _ACEOF | ||
20786 | 11740 | ||
20787 | 11741 | ||
20788 | fi | 11742 | fi |
20789 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11743 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11744 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
20790 | fi | 11745 | fi |
20791 | 11746 | ||
20792 | |||
20793 | fi | 11747 | fi |
20794 | 11748 | ||
20795 | if test ! -z "$check_for_openpty_ctty_bug"; then | 11749 | if test ! -z "$check_for_openpty_ctty_bug"; then |
20796 | { echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 | 11750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openpty correctly handles controlling tty" >&5 |
20797 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6; } | 11751 | $as_echo_n "checking if openpty correctly handles controlling tty... " >&6; } |
20798 | if test "$cross_compiling" = yes; then | 11752 | if test "$cross_compiling" = yes; then : |
20799 | 11753 | ||
20800 | { echo "$as_me:$LINENO: result: cross-compiling, assuming yes" >&5 | 11754 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5 |
20801 | echo "${ECHO_T}cross-compiling, assuming yes" >&6; } | 11755 | $as_echo "cross-compiling, assuming yes" >&6; } |
20802 | 11756 | ||
20803 | 11757 | ||
20804 | else | 11758 | else |
20805 | cat >conftest.$ac_ext <<_ACEOF | 11759 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20806 | /* confdefs.h. */ | ||
20807 | _ACEOF | ||
20808 | cat confdefs.h >>conftest.$ac_ext | ||
20809 | cat >>conftest.$ac_ext <<_ACEOF | ||
20810 | /* end confdefs.h. */ | 11760 | /* end confdefs.h. */ |
20811 | 11761 | ||
20812 | #include <stdio.h> | 11762 | #include <stdio.h> |
@@ -20845,67 +11795,37 @@ main () | |||
20845 | return 0; | 11795 | return 0; |
20846 | } | 11796 | } |
20847 | _ACEOF | 11797 | _ACEOF |
20848 | rm -f conftest$ac_exeext | 11798 | if ac_fn_c_try_run "$LINENO"; then : |
20849 | if { (ac_try="$ac_link" | ||
20850 | case "(($ac_try" in | ||
20851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20852 | *) ac_try_echo=$ac_try;; | ||
20853 | esac | ||
20854 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20855 | (eval "$ac_link") 2>&5 | ||
20856 | ac_status=$? | ||
20857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20858 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20859 | { (case "(($ac_try" in | ||
20860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20861 | *) ac_try_echo=$ac_try;; | ||
20862 | esac | ||
20863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20864 | (eval "$ac_try") 2>&5 | ||
20865 | ac_status=$? | ||
20866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20867 | (exit $ac_status); }; }; then | ||
20868 | 11799 | ||
20869 | { echo "$as_me:$LINENO: result: yes" >&5 | 11800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20870 | echo "${ECHO_T}yes" >&6; } | 11801 | $as_echo "yes" >&6; } |
20871 | 11802 | ||
20872 | else | 11803 | else |
20873 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20874 | echo "$as_me: failed program was:" >&5 | ||
20875 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20876 | |||
20877 | ( exit $ac_status ) | ||
20878 | 11804 | ||
20879 | { echo "$as_me:$LINENO: result: no" >&5 | 11805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
20880 | echo "${ECHO_T}no" >&6; } | 11806 | $as_echo "no" >&6; } |
20881 | cat >>confdefs.h <<\_ACEOF | 11807 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h |
20882 | #define SSHD_ACQUIRES_CTTY 1 | ||
20883 | _ACEOF | ||
20884 | 11808 | ||
20885 | 11809 | ||
20886 | fi | 11810 | fi |
20887 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11811 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11812 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
20888 | fi | 11813 | fi |
20889 | 11814 | ||
20890 | |||
20891 | fi | 11815 | fi |
20892 | 11816 | ||
20893 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 11817 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
20894 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then | 11818 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then |
20895 | { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 | 11819 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5 |
20896 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } | 11820 | $as_echo_n "checking if getaddrinfo seems to work... " >&6; } |
20897 | if test "$cross_compiling" = yes; then | 11821 | if test "$cross_compiling" = yes; then : |
20898 | 11822 | ||
20899 | { echo "$as_me:$LINENO: result: cross-compiling, assuming yes" >&5 | 11823 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5 |
20900 | echo "${ECHO_T}cross-compiling, assuming yes" >&6; } | 11824 | $as_echo "cross-compiling, assuming yes" >&6; } |
20901 | 11825 | ||
20902 | 11826 | ||
20903 | else | 11827 | else |
20904 | cat >conftest.$ac_ext <<_ACEOF | 11828 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
20905 | /* confdefs.h. */ | ||
20906 | _ACEOF | ||
20907 | cat confdefs.h >>conftest.$ac_ext | ||
20908 | cat >>conftest.$ac_ext <<_ACEOF | ||
20909 | /* end confdefs.h. */ | 11829 | /* end confdefs.h. */ |
20910 | 11830 | ||
20911 | #include <stdio.h> | 11831 | #include <stdio.h> |
@@ -20966,67 +11886,37 @@ main () | |||
20966 | return 0; | 11886 | return 0; |
20967 | } | 11887 | } |
20968 | _ACEOF | 11888 | _ACEOF |
20969 | rm -f conftest$ac_exeext | 11889 | if ac_fn_c_try_run "$LINENO"; then : |
20970 | if { (ac_try="$ac_link" | ||
20971 | case "(($ac_try" in | ||
20972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20973 | *) ac_try_echo=$ac_try;; | ||
20974 | esac | ||
20975 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20976 | (eval "$ac_link") 2>&5 | ||
20977 | ac_status=$? | ||
20978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20979 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20980 | { (case "(($ac_try" in | ||
20981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20982 | *) ac_try_echo=$ac_try;; | ||
20983 | esac | ||
20984 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20985 | (eval "$ac_try") 2>&5 | ||
20986 | ac_status=$? | ||
20987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20988 | (exit $ac_status); }; }; then | ||
20989 | 11890 | ||
20990 | { echo "$as_me:$LINENO: result: yes" >&5 | 11891 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
20991 | echo "${ECHO_T}yes" >&6; } | 11892 | $as_echo "yes" >&6; } |
20992 | 11893 | ||
20993 | else | 11894 | else |
20994 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20995 | echo "$as_me: failed program was:" >&5 | ||
20996 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20997 | |||
20998 | ( exit $ac_status ) | ||
20999 | 11895 | ||
21000 | { echo "$as_me:$LINENO: result: no" >&5 | 11896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21001 | echo "${ECHO_T}no" >&6; } | 11897 | $as_echo "no" >&6; } |
21002 | cat >>confdefs.h <<\_ACEOF | 11898 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h |
21003 | #define BROKEN_GETADDRINFO 1 | ||
21004 | _ACEOF | ||
21005 | 11899 | ||
21006 | 11900 | ||
21007 | fi | 11901 | fi |
21008 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11902 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11903 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
21009 | fi | 11904 | fi |
21010 | 11905 | ||
21011 | |||
21012 | fi | 11906 | fi |
21013 | 11907 | ||
21014 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 11908 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
21015 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then | 11909 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then |
21016 | { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 | 11910 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5 |
21017 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } | 11911 | $as_echo_n "checking if getaddrinfo seems to work... " >&6; } |
21018 | if test "$cross_compiling" = yes; then | 11912 | if test "$cross_compiling" = yes; then : |
21019 | 11913 | ||
21020 | { echo "$as_me:$LINENO: result: cross-compiling, assuming no" >&5 | 11914 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming no" >&5 |
21021 | echo "${ECHO_T}cross-compiling, assuming no" >&6; } | 11915 | $as_echo "cross-compiling, assuming no" >&6; } |
21022 | 11916 | ||
21023 | 11917 | ||
21024 | else | 11918 | else |
21025 | cat >conftest.$ac_ext <<_ACEOF | 11919 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21026 | /* confdefs.h. */ | ||
21027 | _ACEOF | ||
21028 | cat confdefs.h >>conftest.$ac_ext | ||
21029 | cat >>conftest.$ac_ext <<_ACEOF | ||
21030 | /* end confdefs.h. */ | 11920 | /* end confdefs.h. */ |
21031 | 11921 | ||
21032 | #include <stdio.h> | 11922 | #include <stdio.h> |
@@ -21075,199 +11965,135 @@ main () | |||
21075 | return 0; | 11965 | return 0; |
21076 | } | 11966 | } |
21077 | _ACEOF | 11967 | _ACEOF |
21078 | rm -f conftest$ac_exeext | 11968 | if ac_fn_c_try_run "$LINENO"; then : |
21079 | if { (ac_try="$ac_link" | ||
21080 | case "(($ac_try" in | ||
21081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21082 | *) ac_try_echo=$ac_try;; | ||
21083 | esac | ||
21084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21085 | (eval "$ac_link") 2>&5 | ||
21086 | ac_status=$? | ||
21087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21088 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
21089 | { (case "(($ac_try" in | ||
21090 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21091 | *) ac_try_echo=$ac_try;; | ||
21092 | esac | ||
21093 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21094 | (eval "$ac_try") 2>&5 | ||
21095 | ac_status=$? | ||
21096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21097 | (exit $ac_status); }; }; then | ||
21098 | 11969 | ||
21099 | { echo "$as_me:$LINENO: result: yes" >&5 | 11970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
21100 | echo "${ECHO_T}yes" >&6; } | 11971 | $as_echo "yes" >&6; } |
21101 | 11972 | ||
21102 | cat >>confdefs.h <<\_ACEOF | 11973 | $as_echo "#define AIX_GETNAMEINFO_HACK 1" >>confdefs.h |
21103 | #define AIX_GETNAMEINFO_HACK 1 | ||
21104 | _ACEOF | ||
21105 | 11974 | ||
21106 | 11975 | ||
21107 | else | 11976 | else |
21108 | echo "$as_me: program exited with status $ac_status" >&5 | ||
21109 | echo "$as_me: failed program was:" >&5 | ||
21110 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21111 | |||
21112 | ( exit $ac_status ) | ||
21113 | 11977 | ||
21114 | { echo "$as_me:$LINENO: result: no" >&5 | 11978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21115 | echo "${ECHO_T}no" >&6; } | 11979 | $as_echo "no" >&6; } |
21116 | cat >>confdefs.h <<\_ACEOF | 11980 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h |
21117 | #define BROKEN_GETADDRINFO 1 | ||
21118 | _ACEOF | ||
21119 | 11981 | ||
21120 | 11982 | ||
21121 | fi | 11983 | fi |
21122 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11984 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
11985 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
21123 | fi | 11986 | fi |
21124 | 11987 | ||
21125 | |||
21126 | fi | 11988 | fi |
21127 | 11989 | ||
21128 | if test "x$ac_cv_func_getaddrinfo" = "xyes"; then | 11990 | if test "x$ac_cv_func_getaddrinfo" = "xyes"; then |
21129 | { echo "$as_me:$LINENO: checking whether AI_NUMERICSERV is declared" >&5 | 11991 | ac_fn_c_check_decl "$LINENO" "AI_NUMERICSERV" "ac_cv_have_decl_AI_NUMERICSERV" "#include <sys/types.h> |
21130 | echo $ECHO_N "checking whether AI_NUMERICSERV is declared... $ECHO_C" >&6; } | ||
21131 | if test "${ac_cv_have_decl_AI_NUMERICSERV+set}" = set; then | ||
21132 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21133 | else | ||
21134 | cat >conftest.$ac_ext <<_ACEOF | ||
21135 | /* confdefs.h. */ | ||
21136 | _ACEOF | ||
21137 | cat confdefs.h >>conftest.$ac_ext | ||
21138 | cat >>conftest.$ac_ext <<_ACEOF | ||
21139 | /* end confdefs.h. */ | ||
21140 | #include <sys/types.h> | ||
21141 | #include <sys/socket.h> | 11992 | #include <sys/socket.h> |
21142 | #include <netdb.h> | 11993 | #include <netdb.h> |
11994 | " | ||
11995 | if test "x$ac_cv_have_decl_AI_NUMERICSERV" = xyes; then : | ||
11996 | ac_have_decl=1 | ||
11997 | else | ||
11998 | ac_have_decl=0 | ||
11999 | fi | ||
12000 | |||
12001 | cat >>confdefs.h <<_ACEOF | ||
12002 | #define HAVE_DECL_AI_NUMERICSERV $ac_have_decl | ||
12003 | _ACEOF | ||
12004 | |||
12005 | fi | ||
21143 | 12006 | ||
12007 | if test "x$check_for_conflicting_getspnam" = "x1"; then | ||
12008 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for conflicting getspnam in shadow.h" >&5 | ||
12009 | $as_echo_n "checking for conflicting getspnam in shadow.h... " >&6; } | ||
12010 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
12011 | /* end confdefs.h. */ | ||
12012 | #include <shadow.h> | ||
21144 | int | 12013 | int |
21145 | main () | 12014 | main () |
21146 | { | 12015 | { |
21147 | #ifndef AI_NUMERICSERV | 12016 | exit(0); |
21148 | (void) AI_NUMERICSERV; | ||
21149 | #endif | ||
21150 | |||
21151 | ; | 12017 | ; |
21152 | return 0; | 12018 | return 0; |
21153 | } | 12019 | } |
21154 | _ACEOF | 12020 | _ACEOF |
21155 | rm -f conftest.$ac_objext | 12021 | if ac_fn_c_try_compile "$LINENO"; then : |
21156 | if { (ac_try="$ac_compile" | ||
21157 | case "(($ac_try" in | ||
21158 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21159 | *) ac_try_echo=$ac_try;; | ||
21160 | esac | ||
21161 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21162 | (eval "$ac_compile") 2>conftest.er1 | ||
21163 | ac_status=$? | ||
21164 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21165 | rm -f conftest.er1 | ||
21166 | cat conftest.err >&5 | ||
21167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21168 | (exit $ac_status); } && { | ||
21169 | test -z "$ac_c_werror_flag" || | ||
21170 | test ! -s conftest.err | ||
21171 | } && test -s conftest.$ac_objext; then | ||
21172 | ac_cv_have_decl_AI_NUMERICSERV=yes | ||
21173 | else | ||
21174 | echo "$as_me: failed program was:" >&5 | ||
21175 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21176 | 12022 | ||
21177 | ac_cv_have_decl_AI_NUMERICSERV=no | 12023 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21178 | fi | 12024 | $as_echo "no" >&6; } |
21179 | 12025 | ||
21180 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12026 | else |
21181 | fi | ||
21182 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_AI_NUMERICSERV" >&5 | ||
21183 | echo "${ECHO_T}$ac_cv_have_decl_AI_NUMERICSERV" >&6; } | ||
21184 | if test $ac_cv_have_decl_AI_NUMERICSERV = yes; then | ||
21185 | 12027 | ||
21186 | cat >>confdefs.h <<_ACEOF | 12028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
21187 | #define HAVE_DECL_AI_NUMERICSERV 1 | 12029 | $as_echo "yes" >&6; } |
21188 | _ACEOF | ||
21189 | 12030 | ||
12031 | $as_echo "#define GETSPNAM_CONFLICTING_DEFS 1" >>confdefs.h | ||
21190 | 12032 | ||
21191 | else | ||
21192 | cat >>confdefs.h <<_ACEOF | ||
21193 | #define HAVE_DECL_AI_NUMERICSERV 0 | ||
21194 | _ACEOF | ||
21195 | 12033 | ||
21196 | 12034 | ||
21197 | fi | 12035 | fi |
12036 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12037 | fi | ||
21198 | 12038 | ||
12039 | if test "x$ac_cv_func_strnvis" = "xyes"; then | ||
12040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnvis" >&5 | ||
12041 | $as_echo_n "checking for working strnvis... " >&6; } | ||
12042 | if test "$cross_compiling" = yes; then : | ||
12043 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming broken" >&5 | ||
12044 | $as_echo "$as_me: WARNING: cross compiling: assuming broken" >&2;} | ||
21199 | 12045 | ||
21200 | fi | 12046 | $as_echo "#define BROKEN_STRNVIS 1" >>confdefs.h |
21201 | 12047 | ||
21202 | if test "x$check_for_conflicting_getspnam" = "x1"; then | 12048 | |
21203 | { echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 | 12049 | else |
21204 | echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6; } | 12050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21205 | cat >conftest.$ac_ext <<_ACEOF | ||
21206 | /* confdefs.h. */ | ||
21207 | _ACEOF | ||
21208 | cat confdefs.h >>conftest.$ac_ext | ||
21209 | cat >>conftest.$ac_ext <<_ACEOF | ||
21210 | /* end confdefs.h. */ | 12051 | /* end confdefs.h. */ |
21211 | #include <shadow.h> | 12052 | |
12053 | #include <signal.h> | ||
12054 | #include <stdlib.h> | ||
12055 | #include <string.h> | ||
12056 | #include <vis.h> | ||
12057 | static void sighandler(int sig) { _exit(1); } | ||
12058 | |||
21212 | int | 12059 | int |
21213 | main () | 12060 | main () |
21214 | { | 12061 | { |
21215 | exit(0); | 12062 | |
12063 | char dst[16]; | ||
12064 | |||
12065 | signal(SIGSEGV, sighandler); | ||
12066 | if (strnvis(dst, "src", 4, 0) && strcmp(dst, "src") == 0) | ||
12067 | exit(0); | ||
12068 | exit(1) | ||
12069 | |||
21216 | ; | 12070 | ; |
21217 | return 0; | 12071 | return 0; |
21218 | } | 12072 | } |
21219 | _ACEOF | 12073 | _ACEOF |
21220 | rm -f conftest.$ac_objext | 12074 | if ac_fn_c_try_run "$LINENO"; then : |
21221 | if { (ac_try="$ac_compile" | 12075 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
21222 | case "(($ac_try" in | 12076 | $as_echo "yes" >&6; } |
21223 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21224 | *) ac_try_echo=$ac_try;; | ||
21225 | esac | ||
21226 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21227 | (eval "$ac_compile") 2>conftest.er1 | ||
21228 | ac_status=$? | ||
21229 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21230 | rm -f conftest.er1 | ||
21231 | cat conftest.err >&5 | ||
21232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21233 | (exit $ac_status); } && { | ||
21234 | test -z "$ac_c_werror_flag" || | ||
21235 | test ! -s conftest.err | ||
21236 | } && test -s conftest.$ac_objext; then | ||
21237 | |||
21238 | { echo "$as_me:$LINENO: result: no" >&5 | ||
21239 | echo "${ECHO_T}no" >&6; } | ||
21240 | |||
21241 | else | 12077 | else |
21242 | echo "$as_me: failed program was:" >&5 | 12078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21243 | sed 's/^/| /' conftest.$ac_ext >&5 | 12079 | $as_echo "no" >&6; } |
21244 | |||
21245 | |||
21246 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
21247 | echo "${ECHO_T}yes" >&6; } | ||
21248 | |||
21249 | cat >>confdefs.h <<\_ACEOF | ||
21250 | #define GETSPNAM_CONFLICTING_DEFS 1 | ||
21251 | _ACEOF | ||
21252 | |||
21253 | 12080 | ||
12081 | $as_echo "#define BROKEN_STRNVIS 1" >>confdefs.h | ||
21254 | 12082 | ||
21255 | fi | 12083 | fi |
12084 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
12085 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
12086 | fi | ||
21256 | 12087 | ||
21257 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21258 | fi | 12088 | fi |
21259 | 12089 | ||
21260 | { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 12090 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 |
21261 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } | 12091 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } |
21262 | if test "${ac_cv_func_getpgrp_void+set}" = set; then | 12092 | if ${ac_cv_func_getpgrp_void+:} false; then : |
21263 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12093 | $as_echo_n "(cached) " >&6 |
21264 | else | 12094 | else |
21265 | # Use it with a single arg. | 12095 | # Use it with a single arg. |
21266 | cat >conftest.$ac_ext <<_ACEOF | 12096 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21267 | /* confdefs.h. */ | ||
21268 | _ACEOF | ||
21269 | cat confdefs.h >>conftest.$ac_ext | ||
21270 | cat >>conftest.$ac_ext <<_ACEOF | ||
21271 | /* end confdefs.h. */ | 12097 | /* end confdefs.h. */ |
21272 | $ac_includes_default | 12098 | $ac_includes_default |
21273 | int | 12099 | int |
@@ -21278,41 +12104,19 @@ getpgrp (0); | |||
21278 | return 0; | 12104 | return 0; |
21279 | } | 12105 | } |
21280 | _ACEOF | 12106 | _ACEOF |
21281 | rm -f conftest.$ac_objext | 12107 | if ac_fn_c_try_compile "$LINENO"; then : |
21282 | if { (ac_try="$ac_compile" | ||
21283 | case "(($ac_try" in | ||
21284 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21285 | *) ac_try_echo=$ac_try;; | ||
21286 | esac | ||
21287 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21288 | (eval "$ac_compile") 2>conftest.er1 | ||
21289 | ac_status=$? | ||
21290 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21291 | rm -f conftest.er1 | ||
21292 | cat conftest.err >&5 | ||
21293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21294 | (exit $ac_status); } && { | ||
21295 | test -z "$ac_c_werror_flag" || | ||
21296 | test ! -s conftest.err | ||
21297 | } && test -s conftest.$ac_objext; then | ||
21298 | ac_cv_func_getpgrp_void=no | 12108 | ac_cv_func_getpgrp_void=no |
21299 | else | 12109 | else |
21300 | echo "$as_me: failed program was:" >&5 | 12110 | ac_cv_func_getpgrp_void=yes |
21301 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21302 | |||
21303 | ac_cv_func_getpgrp_void=yes | ||
21304 | fi | 12111 | fi |
21305 | |||
21306 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12112 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21307 | 12113 | ||
21308 | fi | 12114 | fi |
21309 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 12115 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 |
21310 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } | 12116 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } |
21311 | if test $ac_cv_func_getpgrp_void = yes; then | 12117 | if test $ac_cv_func_getpgrp_void = yes; then |
21312 | 12118 | ||
21313 | cat >>confdefs.h <<\_ACEOF | 12119 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h |
21314 | #define GETPGRP_VOID 1 | ||
21315 | _ACEOF | ||
21316 | 12120 | ||
21317 | fi | 12121 | fi |
21318 | 12122 | ||
@@ -21322,12 +12126,10 @@ saved_CPPFLAGS="$CPPFLAGS" | |||
21322 | saved_LDFLAGS="$LDFLAGS" | 12126 | saved_LDFLAGS="$LDFLAGS" |
21323 | 12127 | ||
21324 | # Check whether --with-ssl-dir was given. | 12128 | # Check whether --with-ssl-dir was given. |
21325 | if test "${with_ssl_dir+set}" = set; then | 12129 | if test "${with_ssl_dir+set}" = set; then : |
21326 | withval=$with_ssl_dir; | 12130 | withval=$with_ssl_dir; |
21327 | if test "x$openssl" = "xno" ; then | 12131 | if test "x$openssl" = "xno" ; then |
21328 | { { echo "$as_me:$LINENO: error: cannot use --with-ssl-dir when OpenSSL disabled" >&5 | 12132 | as_fn_error $? "cannot use --with-ssl-dir when OpenSSL disabled" "$LINENO" 5 |
21329 | echo "$as_me: error: cannot use --with-ssl-dir when OpenSSL disabled" >&2;} | ||
21330 | { (exit 1); exit 1; }; } | ||
21331 | fi | 12133 | fi |
21332 | if test "x$withval" != "xno" ; then | 12134 | if test "x$withval" != "xno" ; then |
21333 | case "$withval" in | 12135 | case "$withval" in |
@@ -21366,7 +12168,7 @@ fi | |||
21366 | 12168 | ||
21367 | 12169 | ||
21368 | # Check whether --with-openssl-header-check was given. | 12170 | # Check whether --with-openssl-header-check was given. |
21369 | if test "${with_openssl_header_check+set}" = set; then | 12171 | if test "${with_openssl_header_check+set}" = set; then : |
21370 | withval=$with_openssl_header_check; | 12172 | withval=$with_openssl_header_check; |
21371 | if test "x$withval" = "xno" ; then | 12173 | if test "x$withval" = "xno" ; then |
21372 | openssl_check_nonfatal=1 | 12174 | openssl_check_nonfatal=1 |
@@ -21379,13 +12181,11 @@ fi | |||
21379 | openssl_engine=no | 12181 | openssl_engine=no |
21380 | 12182 | ||
21381 | # Check whether --with-ssl-engine was given. | 12183 | # Check whether --with-ssl-engine was given. |
21382 | if test "${with_ssl_engine+set}" = set; then | 12184 | if test "${with_ssl_engine+set}" = set; then : |
21383 | withval=$with_ssl_engine; | 12185 | withval=$with_ssl_engine; |
21384 | if test "x$withval" != "xno" ; then | 12186 | if test "x$withval" != "xno" ; then |
21385 | if test "x$openssl" = "xno" ; then | 12187 | if test "x$openssl" = "xno" ; then |
21386 | { { echo "$as_me:$LINENO: error: cannot use --with-ssl-engine when OpenSSL disabled" >&5 | 12188 | as_fn_error $? "cannot use --with-ssl-engine when OpenSSL disabled" "$LINENO" 5 |
21387 | echo "$as_me: error: cannot use --with-ssl-engine when OpenSSL disabled" >&2;} | ||
21388 | { (exit 1); exit 1; }; } | ||
21389 | fi | 12189 | fi |
21390 | openssl_engine=yes | 12190 | openssl_engine=yes |
21391 | fi | 12191 | fi |
@@ -21396,11 +12196,7 @@ fi | |||
21396 | 12196 | ||
21397 | if test "x$openssl" = "xyes" ; then | 12197 | if test "x$openssl" = "xyes" ; then |
21398 | LIBS="-lcrypto $LIBS" | 12198 | LIBS="-lcrypto $LIBS" |
21399 | cat >conftest.$ac_ext <<_ACEOF | 12199 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21400 | /* confdefs.h. */ | ||
21401 | _ACEOF | ||
21402 | cat confdefs.h >>conftest.$ac_ext | ||
21403 | cat >>conftest.$ac_ext <<_ACEOF | ||
21404 | /* end confdefs.h. */ | 12200 | /* end confdefs.h. */ |
21405 | 12201 | ||
21406 | /* Override any GCC internal prototype to avoid an error. | 12202 | /* Override any GCC internal prototype to avoid an error. |
@@ -21418,33 +12214,11 @@ return RAND_add (); | |||
21418 | return 0; | 12214 | return 0; |
21419 | } | 12215 | } |
21420 | _ACEOF | 12216 | _ACEOF |
21421 | rm -f conftest.$ac_objext conftest$ac_exeext | 12217 | if ac_fn_c_try_link "$LINENO"; then : |
21422 | if { (ac_try="$ac_link" | ||
21423 | case "(($ac_try" in | ||
21424 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21425 | *) ac_try_echo=$ac_try;; | ||
21426 | esac | ||
21427 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21428 | (eval "$ac_link") 2>conftest.er1 | ||
21429 | ac_status=$? | ||
21430 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21431 | rm -f conftest.er1 | ||
21432 | cat conftest.err >&5 | ||
21433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21434 | (exit $ac_status); } && { | ||
21435 | test -z "$ac_c_werror_flag" || | ||
21436 | test ! -s conftest.err | ||
21437 | } && test -s conftest$ac_exeext && | ||
21438 | $as_test_x conftest$ac_exeext; then | ||
21439 | 12218 | ||
21440 | cat >>confdefs.h <<\_ACEOF | 12219 | $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h |
21441 | #define HAVE_OPENSSL 1 | ||
21442 | _ACEOF | ||
21443 | 12220 | ||
21444 | else | 12221 | else |
21445 | echo "$as_me: failed program was:" >&5 | ||
21446 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21447 | |||
21448 | 12222 | ||
21449 | if test -n "${need_dash_r}"; then | 12223 | if test -n "${need_dash_r}"; then |
21450 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | 12224 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" |
@@ -21452,150 +12226,15 @@ sed 's/^/| /' conftest.$ac_ext >&5 | |||
21452 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" | 12226 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" |
21453 | fi | 12227 | fi |
21454 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | 12228 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" |
21455 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | 12229 | ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" |
21456 | { echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5 | 12230 | if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : |
21457 | echo $ECHO_N "checking for openssl/opensslv.h... $ECHO_C" >&6; } | ||
21458 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
21459 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21460 | fi | ||
21461 | { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5 | ||
21462 | echo "${ECHO_T}$ac_cv_header_openssl_opensslv_h" >&6; } | ||
21463 | else | ||
21464 | # Is the header compilable? | ||
21465 | { echo "$as_me:$LINENO: checking openssl/opensslv.h usability" >&5 | ||
21466 | echo $ECHO_N "checking openssl/opensslv.h usability... $ECHO_C" >&6; } | ||
21467 | cat >conftest.$ac_ext <<_ACEOF | ||
21468 | /* confdefs.h. */ | ||
21469 | _ACEOF | ||
21470 | cat confdefs.h >>conftest.$ac_ext | ||
21471 | cat >>conftest.$ac_ext <<_ACEOF | ||
21472 | /* end confdefs.h. */ | ||
21473 | $ac_includes_default | ||
21474 | #include <openssl/opensslv.h> | ||
21475 | _ACEOF | ||
21476 | rm -f conftest.$ac_objext | ||
21477 | if { (ac_try="$ac_compile" | ||
21478 | case "(($ac_try" in | ||
21479 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21480 | *) ac_try_echo=$ac_try;; | ||
21481 | esac | ||
21482 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21483 | (eval "$ac_compile") 2>conftest.er1 | ||
21484 | ac_status=$? | ||
21485 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21486 | rm -f conftest.er1 | ||
21487 | cat conftest.err >&5 | ||
21488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21489 | (exit $ac_status); } && { | ||
21490 | test -z "$ac_c_werror_flag" || | ||
21491 | test ! -s conftest.err | ||
21492 | } && test -s conftest.$ac_objext; then | ||
21493 | ac_header_compiler=yes | ||
21494 | else | ||
21495 | echo "$as_me: failed program was:" >&5 | ||
21496 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21497 | 12231 | ||
21498 | ac_header_compiler=no | ||
21499 | fi | ||
21500 | |||
21501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21502 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
21503 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
21504 | |||
21505 | # Is the header present? | ||
21506 | { echo "$as_me:$LINENO: checking openssl/opensslv.h presence" >&5 | ||
21507 | echo $ECHO_N "checking openssl/opensslv.h presence... $ECHO_C" >&6; } | ||
21508 | cat >conftest.$ac_ext <<_ACEOF | ||
21509 | /* confdefs.h. */ | ||
21510 | _ACEOF | ||
21511 | cat confdefs.h >>conftest.$ac_ext | ||
21512 | cat >>conftest.$ac_ext <<_ACEOF | ||
21513 | /* end confdefs.h. */ | ||
21514 | #include <openssl/opensslv.h> | ||
21515 | _ACEOF | ||
21516 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
21517 | case "(($ac_try" in | ||
21518 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21519 | *) ac_try_echo=$ac_try;; | ||
21520 | esac | ||
21521 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21522 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
21523 | ac_status=$? | ||
21524 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21525 | rm -f conftest.er1 | ||
21526 | cat conftest.err >&5 | ||
21527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21528 | (exit $ac_status); } >/dev/null && { | ||
21529 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
21530 | test ! -s conftest.err | ||
21531 | }; then | ||
21532 | ac_header_preproc=yes | ||
21533 | else | 12232 | else |
21534 | echo "$as_me: failed program was:" >&5 | 12233 | as_fn_error $? "*** OpenSSL headers missing - please install first or check config.log ***" "$LINENO" 5 |
21535 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21536 | |||
21537 | ac_header_preproc=no | ||
21538 | fi | 12234 | fi |
21539 | 12235 | ||
21540 | rm -f conftest.err conftest.$ac_ext | ||
21541 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
21542 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
21543 | 12236 | ||
21544 | # So? What about this header? | 12237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21545 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
21546 | yes:no: ) | ||
21547 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
21548 | echo "$as_me: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
21549 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&5 | ||
21550 | echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&2;} | ||
21551 | ac_header_preproc=yes | ||
21552 | ;; | ||
21553 | no:yes:* ) | ||
21554 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: present but cannot be compiled" >&5 | ||
21555 | echo "$as_me: WARNING: openssl/opensslv.h: present but cannot be compiled" >&2;} | ||
21556 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&5 | ||
21557 | echo "$as_me: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&2;} | ||
21558 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&5 | ||
21559 | echo "$as_me: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&2;} | ||
21560 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
21561 | echo "$as_me: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
21562 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&5 | ||
21563 | echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&2;} | ||
21564 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&5 | ||
21565 | echo "$as_me: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&2;} | ||
21566 | ( cat <<\_ASBOX | ||
21567 | ## ------------------------------------------- ## | ||
21568 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
21569 | ## ------------------------------------------- ## | ||
21570 | _ASBOX | ||
21571 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
21572 | ;; | ||
21573 | esac | ||
21574 | { echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5 | ||
21575 | echo $ECHO_N "checking for openssl/opensslv.h... $ECHO_C" >&6; } | ||
21576 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
21577 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21578 | else | ||
21579 | ac_cv_header_openssl_opensslv_h=$ac_header_preproc | ||
21580 | fi | ||
21581 | { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5 | ||
21582 | echo "${ECHO_T}$ac_cv_header_openssl_opensslv_h" >&6; } | ||
21583 | |||
21584 | fi | ||
21585 | if test $ac_cv_header_openssl_opensslv_h = yes; then | ||
21586 | : | ||
21587 | else | ||
21588 | { { echo "$as_me:$LINENO: error: *** OpenSSL headers missing - please install first or check config.log ***" >&5 | ||
21589 | echo "$as_me: error: *** OpenSSL headers missing - please install first or check config.log ***" >&2;} | ||
21590 | { (exit 1); exit 1; }; } | ||
21591 | fi | ||
21592 | |||
21593 | |||
21594 | cat >conftest.$ac_ext <<_ACEOF | ||
21595 | /* confdefs.h. */ | ||
21596 | _ACEOF | ||
21597 | cat confdefs.h >>conftest.$ac_ext | ||
21598 | cat >>conftest.$ac_ext <<_ACEOF | ||
21599 | /* end confdefs.h. */ | 12238 | /* end confdefs.h. */ |
21600 | 12239 | ||
21601 | /* Override any GCC internal prototype to avoid an error. | 12240 | /* Override any GCC internal prototype to avoid an error. |
@@ -21613,64 +12252,34 @@ return RAND_add (); | |||
21613 | return 0; | 12252 | return 0; |
21614 | } | 12253 | } |
21615 | _ACEOF | 12254 | _ACEOF |
21616 | rm -f conftest.$ac_objext conftest$ac_exeext | 12255 | if ac_fn_c_try_link "$LINENO"; then : |
21617 | if { (ac_try="$ac_link" | 12256 | $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h |
21618 | case "(($ac_try" in | ||
21619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21620 | *) ac_try_echo=$ac_try;; | ||
21621 | esac | ||
21622 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21623 | (eval "$ac_link") 2>conftest.er1 | ||
21624 | ac_status=$? | ||
21625 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21626 | rm -f conftest.er1 | ||
21627 | cat conftest.err >&5 | ||
21628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21629 | (exit $ac_status); } && { | ||
21630 | test -z "$ac_c_werror_flag" || | ||
21631 | test ! -s conftest.err | ||
21632 | } && test -s conftest$ac_exeext && | ||
21633 | $as_test_x conftest$ac_exeext; then | ||
21634 | cat >>confdefs.h <<\_ACEOF | ||
21635 | #define HAVE_OPENSSL 1 | ||
21636 | _ACEOF | ||
21637 | 12257 | ||
21638 | else | 12258 | else |
21639 | echo "$as_me: failed program was:" >&5 | ||
21640 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21641 | 12259 | ||
21642 | 12260 | as_fn_error $? "*** Can't find recent OpenSSL libcrypto (see config.log for details) ***" "$LINENO" 5 | |
21643 | { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 | ||
21644 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} | ||
21645 | { (exit 1); exit 1; }; } | ||
21646 | 12261 | ||
21647 | 12262 | ||
21648 | fi | 12263 | fi |
21649 | 12264 | rm -f core conftest.err conftest.$ac_objext \ | |
21650 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12265 | conftest$ac_exeext conftest.$ac_ext |
21651 | conftest$ac_exeext conftest.$ac_ext | ||
21652 | 12266 | ||
21653 | 12267 | ||
21654 | fi | 12268 | fi |
21655 | 12269 | rm -f core conftest.err conftest.$ac_objext \ | |
21656 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12270 | conftest$ac_exeext conftest.$ac_ext |
21657 | conftest$ac_exeext conftest.$ac_ext | ||
21658 | 12271 | ||
21659 | # Determine OpenSSL header version | 12272 | # Determine OpenSSL header version |
21660 | { echo "$as_me:$LINENO: checking OpenSSL header version" >&5 | 12273 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL header version" >&5 |
21661 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6; } | 12274 | $as_echo_n "checking OpenSSL header version... " >&6; } |
21662 | if test "$cross_compiling" = yes; then | 12275 | if test "$cross_compiling" = yes; then : |
21663 | 12276 | ||
21664 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 12277 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 |
21665 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 12278 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
21666 | 12279 | ||
21667 | 12280 | ||
21668 | else | 12281 | else |
21669 | cat >conftest.$ac_ext <<_ACEOF | 12282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21670 | /* confdefs.h. */ | ||
21671 | _ACEOF | ||
21672 | cat confdefs.h >>conftest.$ac_ext | ||
21673 | cat >>conftest.$ac_ext <<_ACEOF | ||
21674 | /* end confdefs.h. */ | 12283 | /* end confdefs.h. */ |
21675 | 12284 | ||
21676 | #include <stdlib.h> | 12285 | #include <stdlib.h> |
@@ -21701,65 +12310,35 @@ main () | |||
21701 | return 0; | 12310 | return 0; |
21702 | } | 12311 | } |
21703 | _ACEOF | 12312 | _ACEOF |
21704 | rm -f conftest$ac_exeext | 12313 | if ac_fn_c_try_run "$LINENO"; then : |
21705 | if { (ac_try="$ac_link" | ||
21706 | case "(($ac_try" in | ||
21707 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21708 | *) ac_try_echo=$ac_try;; | ||
21709 | esac | ||
21710 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21711 | (eval "$ac_link") 2>&5 | ||
21712 | ac_status=$? | ||
21713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21714 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
21715 | { (case "(($ac_try" in | ||
21716 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21717 | *) ac_try_echo=$ac_try;; | ||
21718 | esac | ||
21719 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21720 | (eval "$ac_try") 2>&5 | ||
21721 | ac_status=$? | ||
21722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21723 | (exit $ac_status); }; }; then | ||
21724 | 12314 | ||
21725 | ssl_header_ver=`cat conftest.sslincver` | 12315 | ssl_header_ver=`cat conftest.sslincver` |
21726 | { echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 | 12316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_header_ver" >&5 |
21727 | echo "${ECHO_T}$ssl_header_ver" >&6; } | 12317 | $as_echo "$ssl_header_ver" >&6; } |
21728 | 12318 | ||
21729 | else | 12319 | else |
21730 | echo "$as_me: program exited with status $ac_status" >&5 | ||
21731 | echo "$as_me: failed program was:" >&5 | ||
21732 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21733 | 12320 | ||
21734 | ( exit $ac_status ) | 12321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
21735 | 12322 | $as_echo "not found" >&6; } | |
21736 | { echo "$as_me:$LINENO: result: not found" >&5 | 12323 | as_fn_error $? "OpenSSL version header not found." "$LINENO" 5 |
21737 | echo "${ECHO_T}not found" >&6; } | ||
21738 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 | ||
21739 | echo "$as_me: error: OpenSSL version header not found." >&2;} | ||
21740 | { (exit 1); exit 1; }; } | ||
21741 | 12324 | ||
21742 | fi | 12325 | fi |
21743 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12326 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12327 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
21744 | fi | 12328 | fi |
21745 | 12329 | ||
21746 | 12330 | ||
21747 | |||
21748 | # Determine OpenSSL library version | 12331 | # Determine OpenSSL library version |
21749 | { echo "$as_me:$LINENO: checking OpenSSL library version" >&5 | 12332 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL library version" >&5 |
21750 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6; } | 12333 | $as_echo_n "checking OpenSSL library version... " >&6; } |
21751 | if test "$cross_compiling" = yes; then | 12334 | if test "$cross_compiling" = yes; then : |
21752 | 12335 | ||
21753 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 12336 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 |
21754 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 12337 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
21755 | 12338 | ||
21756 | 12339 | ||
21757 | else | 12340 | else |
21758 | cat >conftest.$ac_ext <<_ACEOF | 12341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21759 | /* confdefs.h. */ | ||
21760 | _ACEOF | ||
21761 | cat confdefs.h >>conftest.$ac_ext | ||
21762 | cat >>conftest.$ac_ext <<_ACEOF | ||
21763 | /* end confdefs.h. */ | 12342 | /* end confdefs.h. */ |
21764 | 12343 | ||
21765 | #include <stdio.h> | 12344 | #include <stdio.h> |
@@ -21789,74 +12368,42 @@ main () | |||
21789 | return 0; | 12368 | return 0; |
21790 | } | 12369 | } |
21791 | _ACEOF | 12370 | _ACEOF |
21792 | rm -f conftest$ac_exeext | 12371 | if ac_fn_c_try_run "$LINENO"; then : |
21793 | if { (ac_try="$ac_link" | ||
21794 | case "(($ac_try" in | ||
21795 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21796 | *) ac_try_echo=$ac_try;; | ||
21797 | esac | ||
21798 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21799 | (eval "$ac_link") 2>&5 | ||
21800 | ac_status=$? | ||
21801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21802 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
21803 | { (case "(($ac_try" in | ||
21804 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21805 | *) ac_try_echo=$ac_try;; | ||
21806 | esac | ||
21807 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21808 | (eval "$ac_try") 2>&5 | ||
21809 | ac_status=$? | ||
21810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21811 | (exit $ac_status); }; }; then | ||
21812 | 12372 | ||
21813 | ssl_library_ver=`cat conftest.ssllibver` | 12373 | ssl_library_ver=`cat conftest.ssllibver` |
21814 | # Check version is supported. | 12374 | # Check version is supported. |
21815 | case "$ssl_library_ver" in | 12375 | case "$ssl_library_ver" in |
21816 | 0090[0-7]*|009080[0-5]*) | 12376 | 0090[0-7]*|009080[0-5]*) |
21817 | { { echo "$as_me:$LINENO: error: OpenSSL >= 0.9.8f required (have \"$ssl_library_ver\")" >&5 | 12377 | as_fn_error $? "OpenSSL >= 0.9.8f required (have \"$ssl_library_ver\")" "$LINENO" 5 |
21818 | echo "$as_me: error: OpenSSL >= 0.9.8f required (have \"$ssl_library_ver\")" >&2;} | ||
21819 | { (exit 1); exit 1; }; } | ||
21820 | ;; | 12378 | ;; |
21821 | *) ;; | 12379 | *) ;; |
21822 | esac | 12380 | esac |
21823 | { echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 | 12381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_library_ver" >&5 |
21824 | echo "${ECHO_T}$ssl_library_ver" >&6; } | 12382 | $as_echo "$ssl_library_ver" >&6; } |
21825 | 12383 | ||
21826 | else | 12384 | else |
21827 | echo "$as_me: program exited with status $ac_status" >&5 | ||
21828 | echo "$as_me: failed program was:" >&5 | ||
21829 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21830 | |||
21831 | ( exit $ac_status ) | ||
21832 | 12385 | ||
21833 | { echo "$as_me:$LINENO: result: not found" >&5 | 12386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
21834 | echo "${ECHO_T}not found" >&6; } | 12387 | $as_echo "not found" >&6; } |
21835 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 | 12388 | as_fn_error $? "OpenSSL library not found." "$LINENO" 5 |
21836 | echo "$as_me: error: OpenSSL library not found." >&2;} | ||
21837 | { (exit 1); exit 1; }; } | ||
21838 | 12389 | ||
21839 | fi | 12390 | fi |
21840 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12391 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12392 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
21841 | fi | 12393 | fi |
21842 | 12394 | ||
21843 | 12395 | ||
21844 | |||
21845 | # Sanity check OpenSSL headers | 12396 | # Sanity check OpenSSL headers |
21846 | { echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | 12397 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL's headers match the library" >&5 |
21847 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6; } | 12398 | $as_echo_n "checking whether OpenSSL's headers match the library... " >&6; } |
21848 | if test "$cross_compiling" = yes; then | 12399 | if test "$cross_compiling" = yes; then : |
21849 | 12400 | ||
21850 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 12401 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 |
21851 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 12402 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
21852 | 12403 | ||
21853 | 12404 | ||
21854 | else | 12405 | else |
21855 | cat >conftest.$ac_ext <<_ACEOF | 12406 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21856 | /* confdefs.h. */ | ||
21857 | _ACEOF | ||
21858 | cat confdefs.h >>conftest.$ac_ext | ||
21859 | cat >>conftest.$ac_ext <<_ACEOF | ||
21860 | /* end confdefs.h. */ | 12407 | /* end confdefs.h. */ |
21861 | 12408 | ||
21862 | #include <string.h> | 12409 | #include <string.h> |
@@ -21873,75 +12420,40 @@ main () | |||
21873 | return 0; | 12420 | return 0; |
21874 | } | 12421 | } |
21875 | _ACEOF | 12422 | _ACEOF |
21876 | rm -f conftest$ac_exeext | 12423 | if ac_fn_c_try_run "$LINENO"; then : |
21877 | if { (ac_try="$ac_link" | ||
21878 | case "(($ac_try" in | ||
21879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21880 | *) ac_try_echo=$ac_try;; | ||
21881 | esac | ||
21882 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21883 | (eval "$ac_link") 2>&5 | ||
21884 | ac_status=$? | ||
21885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21886 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
21887 | { (case "(($ac_try" in | ||
21888 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21889 | *) ac_try_echo=$ac_try;; | ||
21890 | esac | ||
21891 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21892 | (eval "$ac_try") 2>&5 | ||
21893 | ac_status=$? | ||
21894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21895 | (exit $ac_status); }; }; then | ||
21896 | 12424 | ||
21897 | { echo "$as_me:$LINENO: result: yes" >&5 | 12425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
21898 | echo "${ECHO_T}yes" >&6; } | 12426 | $as_echo "yes" >&6; } |
21899 | 12427 | ||
21900 | else | 12428 | else |
21901 | echo "$as_me: program exited with status $ac_status" >&5 | ||
21902 | echo "$as_me: failed program was:" >&5 | ||
21903 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21904 | 12429 | ||
21905 | ( exit $ac_status ) | 12430 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21906 | 12431 | $as_echo "no" >&6; } | |
21907 | { echo "$as_me:$LINENO: result: no" >&5 | ||
21908 | echo "${ECHO_T}no" >&6; } | ||
21909 | if test "x$openssl_check_nonfatal" = "x"; then | 12432 | if test "x$openssl_check_nonfatal" = "x"; then |
21910 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your | 12433 | as_fn_error $? "Your OpenSSL headers do not match your |
21911 | library. Check config.log for details. | ||
21912 | If you are sure your installation is consistent, you can disable the check | ||
21913 | by running \"./configure --without-openssl-header-check\". | ||
21914 | Also see contrib/findssl.sh for help identifying header/library mismatches. | ||
21915 | " >&5 | ||
21916 | echo "$as_me: error: Your OpenSSL headers do not match your | ||
21917 | library. Check config.log for details. | 12434 | library. Check config.log for details. |
21918 | If you are sure your installation is consistent, you can disable the check | 12435 | If you are sure your installation is consistent, you can disable the check |
21919 | by running \"./configure --without-openssl-header-check\". | 12436 | by running \"./configure --without-openssl-header-check\". |
21920 | Also see contrib/findssl.sh for help identifying header/library mismatches. | 12437 | Also see contrib/findssl.sh for help identifying header/library mismatches. |
21921 | " >&2;} | 12438 | " "$LINENO" 5 |
21922 | { (exit 1); exit 1; }; } | ||
21923 | else | 12439 | else |
21924 | { echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your | 12440 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your OpenSSL headers do not match your |
21925 | library. Check config.log for details. | 12441 | library. Check config.log for details. |
21926 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | 12442 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 |
21927 | echo "$as_me: WARNING: Your OpenSSL headers do not match your | 12443 | $as_echo "$as_me: WARNING: Your OpenSSL headers do not match your |
21928 | library. Check config.log for details. | 12444 | library. Check config.log for details. |
21929 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | 12445 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} |
21930 | fi | 12446 | fi |
21931 | 12447 | ||
21932 | fi | 12448 | fi |
21933 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 12449 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
12450 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
21934 | fi | 12451 | fi |
21935 | 12452 | ||
21936 | 12453 | ||
21937 | 12454 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if programs using OpenSSL functions will link" >&5 | |
21938 | { echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5 | 12455 | $as_echo_n "checking if programs using OpenSSL functions will link... " >&6; } |
21939 | echo $ECHO_N "checking if programs using OpenSSL functions will link... $ECHO_C" >&6; } | 12456 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21940 | cat >conftest.$ac_ext <<_ACEOF | ||
21941 | /* confdefs.h. */ | ||
21942 | _ACEOF | ||
21943 | cat confdefs.h >>conftest.$ac_ext | ||
21944 | cat >>conftest.$ac_ext <<_ACEOF | ||
21945 | /* end confdefs.h. */ | 12457 | /* end confdefs.h. */ |
21946 | #include <openssl/evp.h> | 12458 | #include <openssl/evp.h> |
21947 | int | 12459 | int |
@@ -21952,44 +12464,20 @@ main () | |||
21952 | return 0; | 12464 | return 0; |
21953 | } | 12465 | } |
21954 | _ACEOF | 12466 | _ACEOF |
21955 | rm -f conftest.$ac_objext conftest$ac_exeext | 12467 | if ac_fn_c_try_link "$LINENO"; then : |
21956 | if { (ac_try="$ac_link" | ||
21957 | case "(($ac_try" in | ||
21958 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21959 | *) ac_try_echo=$ac_try;; | ||
21960 | esac | ||
21961 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21962 | (eval "$ac_link") 2>conftest.er1 | ||
21963 | ac_status=$? | ||
21964 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21965 | rm -f conftest.er1 | ||
21966 | cat conftest.err >&5 | ||
21967 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21968 | (exit $ac_status); } && { | ||
21969 | test -z "$ac_c_werror_flag" || | ||
21970 | test ! -s conftest.err | ||
21971 | } && test -s conftest$ac_exeext && | ||
21972 | $as_test_x conftest$ac_exeext; then | ||
21973 | 12468 | ||
21974 | { echo "$as_me:$LINENO: result: yes" >&5 | 12469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
21975 | echo "${ECHO_T}yes" >&6; } | 12470 | $as_echo "yes" >&6; } |
21976 | 12471 | ||
21977 | else | 12472 | else |
21978 | echo "$as_me: failed program was:" >&5 | ||
21979 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21980 | |||
21981 | 12473 | ||
21982 | { echo "$as_me:$LINENO: result: no" >&5 | 12474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
21983 | echo "${ECHO_T}no" >&6; } | 12475 | $as_echo "no" >&6; } |
21984 | saved_LIBS="$LIBS" | 12476 | saved_LIBS="$LIBS" |
21985 | LIBS="$LIBS -ldl" | 12477 | LIBS="$LIBS -ldl" |
21986 | { echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5 | 12478 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if programs using OpenSSL need -ldl" >&5 |
21987 | echo $ECHO_N "checking if programs using OpenSSL need -ldl... $ECHO_C" >&6; } | 12479 | $as_echo_n "checking if programs using OpenSSL need -ldl... " >&6; } |
21988 | cat >conftest.$ac_ext <<_ACEOF | 12480 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
21989 | /* confdefs.h. */ | ||
21990 | _ACEOF | ||
21991 | cat confdefs.h >>conftest.$ac_ext | ||
21992 | cat >>conftest.$ac_ext <<_ACEOF | ||
21993 | /* end confdefs.h. */ | 12481 | /* end confdefs.h. */ |
21994 | #include <openssl/evp.h> | 12482 | #include <openssl/evp.h> |
21995 | int | 12483 | int |
@@ -22000,60 +12488,28 @@ main () | |||
22000 | return 0; | 12488 | return 0; |
22001 | } | 12489 | } |
22002 | _ACEOF | 12490 | _ACEOF |
22003 | rm -f conftest.$ac_objext conftest$ac_exeext | 12491 | if ac_fn_c_try_link "$LINENO"; then : |
22004 | if { (ac_try="$ac_link" | ||
22005 | case "(($ac_try" in | ||
22006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22007 | *) ac_try_echo=$ac_try;; | ||
22008 | esac | ||
22009 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22010 | (eval "$ac_link") 2>conftest.er1 | ||
22011 | ac_status=$? | ||
22012 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22013 | rm -f conftest.er1 | ||
22014 | cat conftest.err >&5 | ||
22015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22016 | (exit $ac_status); } && { | ||
22017 | test -z "$ac_c_werror_flag" || | ||
22018 | test ! -s conftest.err | ||
22019 | } && test -s conftest$ac_exeext && | ||
22020 | $as_test_x conftest$ac_exeext; then | ||
22021 | 12492 | ||
22022 | { echo "$as_me:$LINENO: result: yes" >&5 | 12493 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
22023 | echo "${ECHO_T}yes" >&6; } | 12494 | $as_echo "yes" >&6; } |
22024 | 12495 | ||
22025 | else | 12496 | else |
22026 | echo "$as_me: failed program was:" >&5 | ||
22027 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22028 | 12497 | ||
22029 | 12498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
22030 | { echo "$as_me:$LINENO: result: no" >&5 | 12499 | $as_echo "no" >&6; } |
22031 | echo "${ECHO_T}no" >&6; } | ||
22032 | LIBS="$saved_LIBS" | 12500 | LIBS="$saved_LIBS" |
22033 | 12501 | ||
22034 | 12502 | ||
22035 | fi | 12503 | fi |
22036 | 12504 | rm -f core conftest.err conftest.$ac_objext \ | |
22037 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12505 | conftest$ac_exeext conftest.$ac_ext |
22038 | conftest$ac_exeext conftest.$ac_ext | ||
22039 | 12506 | ||
22040 | 12507 | ||
22041 | fi | 12508 | fi |
12509 | rm -f core conftest.err conftest.$ac_objext \ | ||
12510 | conftest$ac_exeext conftest.$ac_ext | ||
22042 | 12511 | ||
22043 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12512 | for ac_func in \ |
22044 | conftest$ac_exeext conftest.$ac_ext | ||
22045 | |||
22046 | |||
22047 | |||
22048 | |||
22049 | |||
22050 | |||
22051 | |||
22052 | |||
22053 | |||
22054 | |||
22055 | |||
22056 | for ac_func in \ | ||
22057 | BN_is_prime_ex \ | 12513 | BN_is_prime_ex \ |
22058 | DSA_generate_parameters_ex \ | 12514 | DSA_generate_parameters_ex \ |
22059 | EVP_DigestInit_ex \ | 12515 | EVP_DigestInit_ex \ |
@@ -22065,93 +12521,12 @@ for ac_func in \ | |||
22065 | RSA_generate_key_ex \ | 12521 | RSA_generate_key_ex \ |
22066 | RSA_get_default_method \ | 12522 | RSA_get_default_method \ |
22067 | 12523 | ||
22068 | do | 12524 | do : |
22069 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12525 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22070 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12526 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
22071 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 12527 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
22072 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22073 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22074 | else | ||
22075 | cat >conftest.$ac_ext <<_ACEOF | ||
22076 | /* confdefs.h. */ | ||
22077 | _ACEOF | ||
22078 | cat confdefs.h >>conftest.$ac_ext | ||
22079 | cat >>conftest.$ac_ext <<_ACEOF | ||
22080 | /* end confdefs.h. */ | ||
22081 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22082 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22083 | #define $ac_func innocuous_$ac_func | ||
22084 | |||
22085 | /* System header to define __stub macros and hopefully few prototypes, | ||
22086 | which can conflict with char $ac_func (); below. | ||
22087 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22088 | <limits.h> exists even on freestanding compilers. */ | ||
22089 | |||
22090 | #ifdef __STDC__ | ||
22091 | # include <limits.h> | ||
22092 | #else | ||
22093 | # include <assert.h> | ||
22094 | #endif | ||
22095 | |||
22096 | #undef $ac_func | ||
22097 | |||
22098 | /* Override any GCC internal prototype to avoid an error. | ||
22099 | Use char because int might match the return type of a GCC | ||
22100 | builtin and then its argument prototype would still apply. */ | ||
22101 | #ifdef __cplusplus | ||
22102 | extern "C" | ||
22103 | #endif | ||
22104 | char $ac_func (); | ||
22105 | /* The GNU C library defines this for functions which it implements | ||
22106 | to always fail with ENOSYS. Some functions are actually named | ||
22107 | something starting with __ and the normal name is an alias. */ | ||
22108 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22109 | choke me | ||
22110 | #endif | ||
22111 | |||
22112 | int | ||
22113 | main () | ||
22114 | { | ||
22115 | return $ac_func (); | ||
22116 | ; | ||
22117 | return 0; | ||
22118 | } | ||
22119 | _ACEOF | ||
22120 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22121 | if { (ac_try="$ac_link" | ||
22122 | case "(($ac_try" in | ||
22123 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22124 | *) ac_try_echo=$ac_try;; | ||
22125 | esac | ||
22126 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22127 | (eval "$ac_link") 2>conftest.er1 | ||
22128 | ac_status=$? | ||
22129 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22130 | rm -f conftest.er1 | ||
22131 | cat conftest.err >&5 | ||
22132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22133 | (exit $ac_status); } && { | ||
22134 | test -z "$ac_c_werror_flag" || | ||
22135 | test ! -s conftest.err | ||
22136 | } && test -s conftest$ac_exeext && | ||
22137 | $as_test_x conftest$ac_exeext; then | ||
22138 | eval "$as_ac_var=yes" | ||
22139 | else | ||
22140 | echo "$as_me: failed program was:" >&5 | ||
22141 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22142 | |||
22143 | eval "$as_ac_var=no" | ||
22144 | fi | ||
22145 | |||
22146 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22147 | conftest$ac_exeext conftest.$ac_ext | ||
22148 | fi | ||
22149 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22150 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22151 | echo "${ECHO_T}$ac_res" >&6; } | ||
22152 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
22153 | cat >>confdefs.h <<_ACEOF | 12528 | cat >>confdefs.h <<_ACEOF |
22154 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12529 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22155 | _ACEOF | 12530 | _ACEOF |
22156 | 12531 | ||
22157 | fi | 12532 | fi |
@@ -22159,13 +12534,9 @@ done | |||
22159 | 12534 | ||
22160 | 12535 | ||
22161 | if test "x$openssl_engine" = "xyes" ; then | 12536 | if test "x$openssl_engine" = "xyes" ; then |
22162 | { echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5 | 12537 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL ENGINE support" >&5 |
22163 | echo $ECHO_N "checking for OpenSSL ENGINE support... $ECHO_C" >&6; } | 12538 | $as_echo_n "checking for OpenSSL ENGINE support... " >&6; } |
22164 | cat >conftest.$ac_ext <<_ACEOF | 12539 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22165 | /* confdefs.h. */ | ||
22166 | _ACEOF | ||
22167 | cat confdefs.h >>conftest.$ac_ext | ||
22168 | cat >>conftest.$ac_ext <<_ACEOF | ||
22169 | /* end confdefs.h. */ | 12540 | /* end confdefs.h. */ |
22170 | 12541 | ||
22171 | #include <openssl/engine.h> | 12542 | #include <openssl/engine.h> |
@@ -22181,52 +12552,24 @@ main () | |||
22181 | return 0; | 12552 | return 0; |
22182 | } | 12553 | } |
22183 | _ACEOF | 12554 | _ACEOF |
22184 | rm -f conftest.$ac_objext | 12555 | if ac_fn_c_try_compile "$LINENO"; then : |
22185 | if { (ac_try="$ac_compile" | 12556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
22186 | case "(($ac_try" in | 12557 | $as_echo "yes" >&6; } |
22187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22188 | *) ac_try_echo=$ac_try;; | ||
22189 | esac | ||
22190 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22191 | (eval "$ac_compile") 2>conftest.er1 | ||
22192 | ac_status=$? | ||
22193 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22194 | rm -f conftest.er1 | ||
22195 | cat conftest.err >&5 | ||
22196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22197 | (exit $ac_status); } && { | ||
22198 | test -z "$ac_c_werror_flag" || | ||
22199 | test ! -s conftest.err | ||
22200 | } && test -s conftest.$ac_objext; then | ||
22201 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
22202 | echo "${ECHO_T}yes" >&6; } | ||
22203 | 12558 | ||
22204 | cat >>confdefs.h <<\_ACEOF | 12559 | $as_echo "#define USE_OPENSSL_ENGINE 1" >>confdefs.h |
22205 | #define USE_OPENSSL_ENGINE 1 | ||
22206 | _ACEOF | ||
22207 | 12560 | ||
22208 | 12561 | ||
22209 | else | 12562 | else |
22210 | echo "$as_me: failed program was:" >&5 | 12563 | as_fn_error $? "OpenSSL ENGINE support not found" "$LINENO" 5 |
22211 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22212 | |||
22213 | { { echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5 | ||
22214 | echo "$as_me: error: OpenSSL ENGINE support not found" >&2;} | ||
22215 | { (exit 1); exit 1; }; } | ||
22216 | 12564 | ||
22217 | fi | 12565 | fi |
22218 | |||
22219 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 12566 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22220 | fi | 12567 | fi |
22221 | 12568 | ||
22222 | # Check for OpenSSL without EVP_aes_{192,256}_cbc | 12569 | # Check for OpenSSL without EVP_aes_{192,256}_cbc |
22223 | { echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 | 12570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has crippled AES support" >&5 |
22224 | echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6; } | 12571 | $as_echo_n "checking whether OpenSSL has crippled AES support... " >&6; } |
22225 | cat >conftest.$ac_ext <<_ACEOF | 12572 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22226 | /* confdefs.h. */ | ||
22227 | _ACEOF | ||
22228 | cat confdefs.h >>conftest.$ac_ext | ||
22229 | cat >>conftest.$ac_ext <<_ACEOF | ||
22230 | /* end confdefs.h. */ | 12573 | /* end confdefs.h. */ |
22231 | 12574 | ||
22232 | #include <string.h> | 12575 | #include <string.h> |
@@ -22242,55 +12585,28 @@ main () | |||
22242 | return 0; | 12585 | return 0; |
22243 | } | 12586 | } |
22244 | _ACEOF | 12587 | _ACEOF |
22245 | rm -f conftest.$ac_objext conftest$ac_exeext | 12588 | if ac_fn_c_try_link "$LINENO"; then : |
22246 | if { (ac_try="$ac_link" | ||
22247 | case "(($ac_try" in | ||
22248 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22249 | *) ac_try_echo=$ac_try;; | ||
22250 | esac | ||
22251 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22252 | (eval "$ac_link") 2>conftest.er1 | ||
22253 | ac_status=$? | ||
22254 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22255 | rm -f conftest.er1 | ||
22256 | cat conftest.err >&5 | ||
22257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22258 | (exit $ac_status); } && { | ||
22259 | test -z "$ac_c_werror_flag" || | ||
22260 | test ! -s conftest.err | ||
22261 | } && test -s conftest$ac_exeext && | ||
22262 | $as_test_x conftest$ac_exeext; then | ||
22263 | 12589 | ||
22264 | { echo "$as_me:$LINENO: result: no" >&5 | 12590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
22265 | echo "${ECHO_T}no" >&6; } | 12591 | $as_echo "no" >&6; } |
22266 | 12592 | ||
22267 | else | 12593 | else |
22268 | echo "$as_me: failed program was:" >&5 | ||
22269 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22270 | |||
22271 | 12594 | ||
22272 | { echo "$as_me:$LINENO: result: yes" >&5 | 12595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
22273 | echo "${ECHO_T}yes" >&6; } | 12596 | $as_echo "yes" >&6; } |
22274 | 12597 | ||
22275 | cat >>confdefs.h <<\_ACEOF | 12598 | $as_echo "#define OPENSSL_LOBOTOMISED_AES 1" >>confdefs.h |
22276 | #define OPENSSL_LOBOTOMISED_AES 1 | ||
22277 | _ACEOF | ||
22278 | 12599 | ||
22279 | 12600 | ||
22280 | 12601 | ||
22281 | fi | 12602 | fi |
22282 | 12603 | rm -f core conftest.err conftest.$ac_objext \ | |
22283 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12604 | conftest$ac_exeext conftest.$ac_ext |
22284 | conftest$ac_exeext conftest.$ac_ext | ||
22285 | 12605 | ||
22286 | # Check for OpenSSL with EVP_aes_*ctr | 12606 | # Check for OpenSSL with EVP_aes_*ctr |
22287 | { echo "$as_me:$LINENO: checking whether OpenSSL has AES CTR via EVP" >&5 | 12607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has AES CTR via EVP" >&5 |
22288 | echo $ECHO_N "checking whether OpenSSL has AES CTR via EVP... $ECHO_C" >&6; } | 12608 | $as_echo_n "checking whether OpenSSL has AES CTR via EVP... " >&6; } |
22289 | cat >conftest.$ac_ext <<_ACEOF | 12609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22290 | /* confdefs.h. */ | ||
22291 | _ACEOF | ||
22292 | cat confdefs.h >>conftest.$ac_ext | ||
22293 | cat >>conftest.$ac_ext <<_ACEOF | ||
22294 | /* end confdefs.h. */ | 12610 | /* end confdefs.h. */ |
22295 | 12611 | ||
22296 | #include <string.h> | 12612 | #include <string.h> |
@@ -22308,55 +12624,28 @@ main () | |||
22308 | return 0; | 12624 | return 0; |
22309 | } | 12625 | } |
22310 | _ACEOF | 12626 | _ACEOF |
22311 | rm -f conftest.$ac_objext conftest$ac_exeext | 12627 | if ac_fn_c_try_link "$LINENO"; then : |
22312 | if { (ac_try="$ac_link" | ||
22313 | case "(($ac_try" in | ||
22314 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22315 | *) ac_try_echo=$ac_try;; | ||
22316 | esac | ||
22317 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22318 | (eval "$ac_link") 2>conftest.er1 | ||
22319 | ac_status=$? | ||
22320 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22321 | rm -f conftest.er1 | ||
22322 | cat conftest.err >&5 | ||
22323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22324 | (exit $ac_status); } && { | ||
22325 | test -z "$ac_c_werror_flag" || | ||
22326 | test ! -s conftest.err | ||
22327 | } && test -s conftest$ac_exeext && | ||
22328 | $as_test_x conftest$ac_exeext; then | ||
22329 | 12628 | ||
22330 | { echo "$as_me:$LINENO: result: yes" >&5 | 12629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
22331 | echo "${ECHO_T}yes" >&6; } | 12630 | $as_echo "yes" >&6; } |
22332 | 12631 | ||
22333 | cat >>confdefs.h <<\_ACEOF | 12632 | $as_echo "#define OPENSSL_HAVE_EVPCTR 1" >>confdefs.h |
22334 | #define OPENSSL_HAVE_EVPCTR 1 | ||
22335 | _ACEOF | ||
22336 | 12633 | ||
22337 | 12634 | ||
22338 | else | 12635 | else |
22339 | echo "$as_me: failed program was:" >&5 | ||
22340 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22341 | |||
22342 | 12636 | ||
22343 | { echo "$as_me:$LINENO: result: no" >&5 | 12637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
22344 | echo "${ECHO_T}no" >&6; } | 12638 | $as_echo "no" >&6; } |
22345 | 12639 | ||
22346 | 12640 | ||
22347 | fi | 12641 | fi |
22348 | 12642 | rm -f core conftest.err conftest.$ac_objext \ | |
22349 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12643 | conftest$ac_exeext conftest.$ac_ext |
22350 | conftest$ac_exeext conftest.$ac_ext | ||
22351 | 12644 | ||
22352 | # Check for OpenSSL with EVP_aes_*gcm | 12645 | # Check for OpenSSL with EVP_aes_*gcm |
22353 | { echo "$as_me:$LINENO: checking whether OpenSSL has AES GCM via EVP" >&5 | 12646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has AES GCM via EVP" >&5 |
22354 | echo $ECHO_N "checking whether OpenSSL has AES GCM via EVP... $ECHO_C" >&6; } | 12647 | $as_echo_n "checking whether OpenSSL has AES GCM via EVP... " >&6; } |
22355 | cat >conftest.$ac_ext <<_ACEOF | 12648 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22356 | /* confdefs.h. */ | ||
22357 | _ACEOF | ||
22358 | cat confdefs.h >>conftest.$ac_ext | ||
22359 | cat >>conftest.$ac_ext <<_ACEOF | ||
22360 | /* end confdefs.h. */ | 12649 | /* end confdefs.h. */ |
22361 | 12650 | ||
22362 | #include <string.h> | 12651 | #include <string.h> |
@@ -22378,61 +12667,34 @@ main () | |||
22378 | return 0; | 12667 | return 0; |
22379 | } | 12668 | } |
22380 | _ACEOF | 12669 | _ACEOF |
22381 | rm -f conftest.$ac_objext conftest$ac_exeext | 12670 | if ac_fn_c_try_link "$LINENO"; then : |
22382 | if { (ac_try="$ac_link" | ||
22383 | case "(($ac_try" in | ||
22384 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22385 | *) ac_try_echo=$ac_try;; | ||
22386 | esac | ||
22387 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22388 | (eval "$ac_link") 2>conftest.er1 | ||
22389 | ac_status=$? | ||
22390 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22391 | rm -f conftest.er1 | ||
22392 | cat conftest.err >&5 | ||
22393 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22394 | (exit $ac_status); } && { | ||
22395 | test -z "$ac_c_werror_flag" || | ||
22396 | test ! -s conftest.err | ||
22397 | } && test -s conftest$ac_exeext && | ||
22398 | $as_test_x conftest$ac_exeext; then | ||
22399 | 12671 | ||
22400 | { echo "$as_me:$LINENO: result: yes" >&5 | 12672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
22401 | echo "${ECHO_T}yes" >&6; } | 12673 | $as_echo "yes" >&6; } |
22402 | 12674 | ||
22403 | cat >>confdefs.h <<\_ACEOF | 12675 | $as_echo "#define OPENSSL_HAVE_EVPGCM 1" >>confdefs.h |
22404 | #define OPENSSL_HAVE_EVPGCM 1 | ||
22405 | _ACEOF | ||
22406 | 12676 | ||
22407 | 12677 | ||
22408 | else | 12678 | else |
22409 | echo "$as_me: failed program was:" >&5 | ||
22410 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22411 | |||
22412 | 12679 | ||
22413 | { echo "$as_me:$LINENO: result: no" >&5 | 12680 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
22414 | echo "${ECHO_T}no" >&6; } | 12681 | $as_echo "no" >&6; } |
22415 | unsupported_algorithms="$unsupported_cipers \ | 12682 | unsupported_algorithms="$unsupported_cipers \ |
22416 | aes128-gcm@openssh.com \ | 12683 | aes128-gcm@openssh.com \ |
22417 | aes256-gcm@openssh.com" | 12684 | aes256-gcm@openssh.com" |
22418 | 12685 | ||
22419 | 12686 | ||
22420 | fi | 12687 | fi |
12688 | rm -f core conftest.err conftest.$ac_objext \ | ||
12689 | conftest$ac_exeext conftest.$ac_ext | ||
22421 | 12690 | ||
22422 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12691 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_ctrl" >&5 |
22423 | conftest$ac_exeext conftest.$ac_ext | 12692 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_ctrl... " >&6; } |
22424 | 12693 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | |
22425 | { echo "$as_me:$LINENO: checking for library containing EVP_CIPHER_CTX_ctrl" >&5 | 12694 | $as_echo_n "(cached) " >&6 |
22426 | echo $ECHO_N "checking for library containing EVP_CIPHER_CTX_ctrl... $ECHO_C" >&6; } | ||
22427 | if test "${ac_cv_search_EVP_CIPHER_CTX_ctrl+set}" = set; then | ||
22428 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22429 | else | 12695 | else |
22430 | ac_func_search_save_LIBS=$LIBS | 12696 | ac_func_search_save_LIBS=$LIBS |
22431 | cat >conftest.$ac_ext <<_ACEOF | 12697 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22432 | /* confdefs.h. */ | ||
22433 | _ACEOF | ||
22434 | cat confdefs.h >>conftest.$ac_ext | ||
22435 | cat >>conftest.$ac_ext <<_ACEOF | ||
22436 | /* end confdefs.h. */ | 12698 | /* end confdefs.h. */ |
22437 | 12699 | ||
22438 | /* Override any GCC internal prototype to avoid an error. | 12700 | /* Override any GCC internal prototype to avoid an error. |
@@ -22457,66 +12719,37 @@ for ac_lib in '' crypto; do | |||
22457 | ac_res=-l$ac_lib | 12719 | ac_res=-l$ac_lib |
22458 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 12720 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
22459 | fi | 12721 | fi |
22460 | rm -f conftest.$ac_objext conftest$ac_exeext | 12722 | if ac_fn_c_try_link "$LINENO"; then : |
22461 | if { (ac_try="$ac_link" | ||
22462 | case "(($ac_try" in | ||
22463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22464 | *) ac_try_echo=$ac_try;; | ||
22465 | esac | ||
22466 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22467 | (eval "$ac_link") 2>conftest.er1 | ||
22468 | ac_status=$? | ||
22469 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22470 | rm -f conftest.er1 | ||
22471 | cat conftest.err >&5 | ||
22472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22473 | (exit $ac_status); } && { | ||
22474 | test -z "$ac_c_werror_flag" || | ||
22475 | test ! -s conftest.err | ||
22476 | } && test -s conftest$ac_exeext && | ||
22477 | $as_test_x conftest$ac_exeext; then | ||
22478 | ac_cv_search_EVP_CIPHER_CTX_ctrl=$ac_res | 12723 | ac_cv_search_EVP_CIPHER_CTX_ctrl=$ac_res |
22479 | else | ||
22480 | echo "$as_me: failed program was:" >&5 | ||
22481 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22482 | |||
22483 | |||
22484 | fi | 12724 | fi |
22485 | 12725 | rm -f core conftest.err conftest.$ac_objext \ | |
22486 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12726 | conftest$ac_exeext |
22487 | conftest$ac_exeext | 12727 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : |
22488 | if test "${ac_cv_search_EVP_CIPHER_CTX_ctrl+set}" = set; then | ||
22489 | break | 12728 | break |
22490 | fi | 12729 | fi |
22491 | done | 12730 | done |
22492 | if test "${ac_cv_search_EVP_CIPHER_CTX_ctrl+set}" = set; then | 12731 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : |
22493 | : | 12732 | |
22494 | else | 12733 | else |
22495 | ac_cv_search_EVP_CIPHER_CTX_ctrl=no | 12734 | ac_cv_search_EVP_CIPHER_CTX_ctrl=no |
22496 | fi | 12735 | fi |
22497 | rm conftest.$ac_ext | 12736 | rm conftest.$ac_ext |
22498 | LIBS=$ac_func_search_save_LIBS | 12737 | LIBS=$ac_func_search_save_LIBS |
22499 | fi | 12738 | fi |
22500 | { echo "$as_me:$LINENO: result: $ac_cv_search_EVP_CIPHER_CTX_ctrl" >&5 | 12739 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_ctrl" >&5 |
22501 | echo "${ECHO_T}$ac_cv_search_EVP_CIPHER_CTX_ctrl" >&6; } | 12740 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_ctrl" >&6; } |
22502 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_ctrl | 12741 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_ctrl |
22503 | if test "$ac_res" != no; then | 12742 | if test "$ac_res" != no; then : |
22504 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 12743 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
22505 | 12744 | ||
22506 | cat >>confdefs.h <<\_ACEOF | 12745 | $as_echo "#define HAVE_EVP_CIPHER_CTX_CTRL 1" >>confdefs.h |
22507 | #define HAVE_EVP_CIPHER_CTX_CTRL 1 | ||
22508 | _ACEOF | ||
22509 | 12746 | ||
22510 | fi | 12747 | fi |
22511 | 12748 | ||
22512 | 12749 | ||
22513 | { echo "$as_me:$LINENO: checking if EVP_DigestUpdate returns an int" >&5 | 12750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if EVP_DigestUpdate returns an int" >&5 |
22514 | echo $ECHO_N "checking if EVP_DigestUpdate returns an int... $ECHO_C" >&6; } | 12751 | $as_echo_n "checking if EVP_DigestUpdate returns an int... " >&6; } |
22515 | cat >conftest.$ac_ext <<_ACEOF | 12752 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22516 | /* confdefs.h. */ | ||
22517 | _ACEOF | ||
22518 | cat confdefs.h >>conftest.$ac_ext | ||
22519 | cat >>conftest.$ac_ext <<_ACEOF | ||
22520 | /* end confdefs.h. */ | 12753 | /* end confdefs.h. */ |
22521 | 12754 | ||
22522 | #include <string.h> | 12755 | #include <string.h> |
@@ -22533,63 +12766,35 @@ main () | |||
22533 | return 0; | 12766 | return 0; |
22534 | } | 12767 | } |
22535 | _ACEOF | 12768 | _ACEOF |
22536 | rm -f conftest.$ac_objext conftest$ac_exeext | 12769 | if ac_fn_c_try_link "$LINENO"; then : |
22537 | if { (ac_try="$ac_link" | ||
22538 | case "(($ac_try" in | ||
22539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22540 | *) ac_try_echo=$ac_try;; | ||
22541 | esac | ||
22542 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22543 | (eval "$ac_link") 2>conftest.er1 | ||
22544 | ac_status=$? | ||
22545 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22546 | rm -f conftest.er1 | ||
22547 | cat conftest.err >&5 | ||
22548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22549 | (exit $ac_status); } && { | ||
22550 | test -z "$ac_c_werror_flag" || | ||
22551 | test ! -s conftest.err | ||
22552 | } && test -s conftest$ac_exeext && | ||
22553 | $as_test_x conftest$ac_exeext; then | ||
22554 | 12770 | ||
22555 | { echo "$as_me:$LINENO: result: yes" >&5 | 12771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
22556 | echo "${ECHO_T}yes" >&6; } | 12772 | $as_echo "yes" >&6; } |
22557 | 12773 | ||
22558 | else | 12774 | else |
22559 | echo "$as_me: failed program was:" >&5 | ||
22560 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22561 | 12775 | ||
12776 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
12777 | $as_echo "no" >&6; } | ||
22562 | 12778 | ||
22563 | { echo "$as_me:$LINENO: result: no" >&5 | 12779 | $as_echo "#define OPENSSL_EVP_DIGESTUPDATE_VOID 1" >>confdefs.h |
22564 | echo "${ECHO_T}no" >&6; } | ||
22565 | |||
22566 | cat >>confdefs.h <<\_ACEOF | ||
22567 | #define OPENSSL_EVP_DIGESTUPDATE_VOID 1 | ||
22568 | _ACEOF | ||
22569 | 12780 | ||
22570 | 12781 | ||
22571 | 12782 | ||
22572 | fi | 12783 | fi |
22573 | 12784 | rm -f core conftest.err conftest.$ac_objext \ | |
22574 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12785 | conftest$ac_exeext conftest.$ac_ext |
22575 | conftest$ac_exeext conftest.$ac_ext | ||
22576 | 12786 | ||
22577 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | 12787 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, |
22578 | # because the system crypt() is more featureful. | 12788 | # because the system crypt() is more featureful. |
22579 | if test "x$check_for_libcrypt_before" = "x1"; then | 12789 | if test "x$check_for_libcrypt_before" = "x1"; then |
22580 | 12790 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 | |
22581 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 12791 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } |
22582 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } | 12792 | if ${ac_cv_lib_crypt_crypt+:} false; then : |
22583 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 12793 | $as_echo_n "(cached) " >&6 |
22584 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22585 | else | 12794 | else |
22586 | ac_check_lib_save_LIBS=$LIBS | 12795 | ac_check_lib_save_LIBS=$LIBS |
22587 | LIBS="-lcrypt $LIBS" | 12796 | LIBS="-lcrypt $LIBS" |
22588 | cat >conftest.$ac_ext <<_ACEOF | 12797 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22589 | /* confdefs.h. */ | ||
22590 | _ACEOF | ||
22591 | cat confdefs.h >>conftest.$ac_ext | ||
22592 | cat >>conftest.$ac_ext <<_ACEOF | ||
22593 | /* end confdefs.h. */ | 12798 | /* end confdefs.h. */ |
22594 | 12799 | ||
22595 | /* Override any GCC internal prototype to avoid an error. | 12800 | /* Override any GCC internal prototype to avoid an error. |
@@ -22607,39 +12812,18 @@ return crypt (); | |||
22607 | return 0; | 12812 | return 0; |
22608 | } | 12813 | } |
22609 | _ACEOF | 12814 | _ACEOF |
22610 | rm -f conftest.$ac_objext conftest$ac_exeext | 12815 | if ac_fn_c_try_link "$LINENO"; then : |
22611 | if { (ac_try="$ac_link" | ||
22612 | case "(($ac_try" in | ||
22613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22614 | *) ac_try_echo=$ac_try;; | ||
22615 | esac | ||
22616 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22617 | (eval "$ac_link") 2>conftest.er1 | ||
22618 | ac_status=$? | ||
22619 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22620 | rm -f conftest.er1 | ||
22621 | cat conftest.err >&5 | ||
22622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22623 | (exit $ac_status); } && { | ||
22624 | test -z "$ac_c_werror_flag" || | ||
22625 | test ! -s conftest.err | ||
22626 | } && test -s conftest$ac_exeext && | ||
22627 | $as_test_x conftest$ac_exeext; then | ||
22628 | ac_cv_lib_crypt_crypt=yes | 12816 | ac_cv_lib_crypt_crypt=yes |
22629 | else | 12817 | else |
22630 | echo "$as_me: failed program was:" >&5 | 12818 | ac_cv_lib_crypt_crypt=no |
22631 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22632 | |||
22633 | ac_cv_lib_crypt_crypt=no | ||
22634 | fi | 12819 | fi |
22635 | 12820 | rm -f core conftest.err conftest.$ac_objext \ | |
22636 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12821 | conftest$ac_exeext conftest.$ac_ext |
22637 | conftest$ac_exeext conftest.$ac_ext | ||
22638 | LIBS=$ac_check_lib_save_LIBS | 12822 | LIBS=$ac_check_lib_save_LIBS |
22639 | fi | 12823 | fi |
22640 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 12824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 |
22641 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } | 12825 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } |
22642 | if test $ac_cv_lib_crypt_crypt = yes; then | 12826 | if test "x$ac_cv_lib_crypt_crypt" = xyes; then : |
22643 | cat >>confdefs.h <<_ACEOF | 12827 | cat >>confdefs.h <<_ACEOF |
22644 | #define HAVE_LIBCRYPT 1 | 12828 | #define HAVE_LIBCRYPT 1 |
22645 | _ACEOF | 12829 | _ACEOF |
@@ -22653,18 +12837,14 @@ fi | |||
22653 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | 12837 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the |
22654 | # version in OpenSSL. | 12838 | # version in OpenSSL. |
22655 | if test "x$check_for_libcrypt_later" = "x1"; then | 12839 | if test "x$check_for_libcrypt_later" = "x1"; then |
22656 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 12840 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 |
22657 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } | 12841 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } |
22658 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 12842 | if ${ac_cv_lib_crypt_crypt+:} false; then : |
22659 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 12843 | $as_echo_n "(cached) " >&6 |
22660 | else | 12844 | else |
22661 | ac_check_lib_save_LIBS=$LIBS | 12845 | ac_check_lib_save_LIBS=$LIBS |
22662 | LIBS="-lcrypt $LIBS" | 12846 | LIBS="-lcrypt $LIBS" |
22663 | cat >conftest.$ac_ext <<_ACEOF | 12847 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
22664 | /* confdefs.h. */ | ||
22665 | _ACEOF | ||
22666 | cat confdefs.h >>conftest.$ac_ext | ||
22667 | cat >>conftest.$ac_ext <<_ACEOF | ||
22668 | /* end confdefs.h. */ | 12848 | /* end confdefs.h. */ |
22669 | 12849 | ||
22670 | /* Override any GCC internal prototype to avoid an error. | 12850 | /* Override any GCC internal prototype to avoid an error. |
@@ -22682,133 +12862,29 @@ return crypt (); | |||
22682 | return 0; | 12862 | return 0; |
22683 | } | 12863 | } |
22684 | _ACEOF | 12864 | _ACEOF |
22685 | rm -f conftest.$ac_objext conftest$ac_exeext | 12865 | if ac_fn_c_try_link "$LINENO"; then : |
22686 | if { (ac_try="$ac_link" | ||
22687 | case "(($ac_try" in | ||
22688 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22689 | *) ac_try_echo=$ac_try;; | ||
22690 | esac | ||
22691 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22692 | (eval "$ac_link") 2>conftest.er1 | ||
22693 | ac_status=$? | ||
22694 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22695 | rm -f conftest.er1 | ||
22696 | cat conftest.err >&5 | ||
22697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22698 | (exit $ac_status); } && { | ||
22699 | test -z "$ac_c_werror_flag" || | ||
22700 | test ! -s conftest.err | ||
22701 | } && test -s conftest$ac_exeext && | ||
22702 | $as_test_x conftest$ac_exeext; then | ||
22703 | ac_cv_lib_crypt_crypt=yes | 12866 | ac_cv_lib_crypt_crypt=yes |
22704 | else | 12867 | else |
22705 | echo "$as_me: failed program was:" >&5 | 12868 | ac_cv_lib_crypt_crypt=no |
22706 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22707 | |||
22708 | ac_cv_lib_crypt_crypt=no | ||
22709 | fi | 12869 | fi |
22710 | 12870 | rm -f core conftest.err conftest.$ac_objext \ | |
22711 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12871 | conftest$ac_exeext conftest.$ac_ext |
22712 | conftest$ac_exeext conftest.$ac_ext | ||
22713 | LIBS=$ac_check_lib_save_LIBS | 12872 | LIBS=$ac_check_lib_save_LIBS |
22714 | fi | 12873 | fi |
22715 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 12874 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 |
22716 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } | 12875 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } |
22717 | if test $ac_cv_lib_crypt_crypt = yes; then | 12876 | if test "x$ac_cv_lib_crypt_crypt" = xyes; then : |
22718 | LIBS="$LIBS -lcrypt" | 12877 | LIBS="$LIBS -lcrypt" |
22719 | fi | 12878 | fi |
22720 | 12879 | ||
22721 | fi | 12880 | fi |
22722 | 12881 | for ac_func in crypt DES_crypt | |
22723 | 12882 | do : | |
22724 | for ac_func in crypt DES_crypt | 12883 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22725 | do | 12884 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
22726 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12885 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
22727 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
22728 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
22729 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22730 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22731 | else | ||
22732 | cat >conftest.$ac_ext <<_ACEOF | ||
22733 | /* confdefs.h. */ | ||
22734 | _ACEOF | ||
22735 | cat confdefs.h >>conftest.$ac_ext | ||
22736 | cat >>conftest.$ac_ext <<_ACEOF | ||
22737 | /* end confdefs.h. */ | ||
22738 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22739 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22740 | #define $ac_func innocuous_$ac_func | ||
22741 | |||
22742 | /* System header to define __stub macros and hopefully few prototypes, | ||
22743 | which can conflict with char $ac_func (); below. | ||
22744 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22745 | <limits.h> exists even on freestanding compilers. */ | ||
22746 | |||
22747 | #ifdef __STDC__ | ||
22748 | # include <limits.h> | ||
22749 | #else | ||
22750 | # include <assert.h> | ||
22751 | #endif | ||
22752 | |||
22753 | #undef $ac_func | ||
22754 | |||
22755 | /* Override any GCC internal prototype to avoid an error. | ||
22756 | Use char because int might match the return type of a GCC | ||
22757 | builtin and then its argument prototype would still apply. */ | ||
22758 | #ifdef __cplusplus | ||
22759 | extern "C" | ||
22760 | #endif | ||
22761 | char $ac_func (); | ||
22762 | /* The GNU C library defines this for functions which it implements | ||
22763 | to always fail with ENOSYS. Some functions are actually named | ||
22764 | something starting with __ and the normal name is an alias. */ | ||
22765 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22766 | choke me | ||
22767 | #endif | ||
22768 | |||
22769 | int | ||
22770 | main () | ||
22771 | { | ||
22772 | return $ac_func (); | ||
22773 | ; | ||
22774 | return 0; | ||
22775 | } | ||
22776 | _ACEOF | ||
22777 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22778 | if { (ac_try="$ac_link" | ||
22779 | case "(($ac_try" in | ||
22780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22781 | *) ac_try_echo=$ac_try;; | ||
22782 | esac | ||
22783 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22784 | (eval "$ac_link") 2>conftest.er1 | ||
22785 | ac_status=$? | ||
22786 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22787 | rm -f conftest.er1 | ||
22788 | cat conftest.err >&5 | ||
22789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22790 | (exit $ac_status); } && { | ||
22791 | test -z "$ac_c_werror_flag" || | ||
22792 | test ! -s conftest.err | ||
22793 | } && test -s conftest$ac_exeext && | ||
22794 | $as_test_x conftest$ac_exeext; then | ||
22795 | eval "$as_ac_var=yes" | ||
22796 | else | ||
22797 | echo "$as_me: failed program was:" >&5 | ||
22798 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22799 | |||
22800 | eval "$as_ac_var=no" | ||
22801 | fi | ||
22802 | |||
22803 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22804 | conftest$ac_exeext conftest.$ac_ext | ||
22805 | fi | ||
22806 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22807 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22808 | echo "${ECHO_T}$ac_res" >&6; } | ||
22809 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
22810 | cat >>confdefs.h <<_ACEOF | 12886 | cat >>confdefs.h <<_ACEOF |
22811 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12887 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22812 | _ACEOF | 12888 | _ACEOF |
22813 | 12889 | ||
22814 | fi | 12890 | fi |
@@ -22816,96 +12892,13 @@ done | |||
22816 | 12892 | ||
22817 | 12893 | ||
22818 | # Search for SHA256 support in libc and/or OpenSSL | 12894 | # Search for SHA256 support in libc and/or OpenSSL |
22819 | 12895 | for ac_func in SHA256_Update EVP_sha256 | |
22820 | 12896 | do : | |
22821 | for ac_func in SHA256_Update EVP_sha256 | 12897 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22822 | do | 12898 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
22823 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12899 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
22824 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
22825 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
22826 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22827 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22828 | else | ||
22829 | cat >conftest.$ac_ext <<_ACEOF | ||
22830 | /* confdefs.h. */ | ||
22831 | _ACEOF | ||
22832 | cat confdefs.h >>conftest.$ac_ext | ||
22833 | cat >>conftest.$ac_ext <<_ACEOF | ||
22834 | /* end confdefs.h. */ | ||
22835 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22836 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22837 | #define $ac_func innocuous_$ac_func | ||
22838 | |||
22839 | /* System header to define __stub macros and hopefully few prototypes, | ||
22840 | which can conflict with char $ac_func (); below. | ||
22841 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22842 | <limits.h> exists even on freestanding compilers. */ | ||
22843 | |||
22844 | #ifdef __STDC__ | ||
22845 | # include <limits.h> | ||
22846 | #else | ||
22847 | # include <assert.h> | ||
22848 | #endif | ||
22849 | |||
22850 | #undef $ac_func | ||
22851 | |||
22852 | /* Override any GCC internal prototype to avoid an error. | ||
22853 | Use char because int might match the return type of a GCC | ||
22854 | builtin and then its argument prototype would still apply. */ | ||
22855 | #ifdef __cplusplus | ||
22856 | extern "C" | ||
22857 | #endif | ||
22858 | char $ac_func (); | ||
22859 | /* The GNU C library defines this for functions which it implements | ||
22860 | to always fail with ENOSYS. Some functions are actually named | ||
22861 | something starting with __ and the normal name is an alias. */ | ||
22862 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22863 | choke me | ||
22864 | #endif | ||
22865 | |||
22866 | int | ||
22867 | main () | ||
22868 | { | ||
22869 | return $ac_func (); | ||
22870 | ; | ||
22871 | return 0; | ||
22872 | } | ||
22873 | _ACEOF | ||
22874 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22875 | if { (ac_try="$ac_link" | ||
22876 | case "(($ac_try" in | ||
22877 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22878 | *) ac_try_echo=$ac_try;; | ||
22879 | esac | ||
22880 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22881 | (eval "$ac_link") 2>conftest.er1 | ||
22882 | ac_status=$? | ||
22883 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22884 | rm -f conftest.er1 | ||
22885 | cat conftest.err >&5 | ||
22886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22887 | (exit $ac_status); } && { | ||
22888 | test -z "$ac_c_werror_flag" || | ||
22889 | test ! -s conftest.err | ||
22890 | } && test -s conftest$ac_exeext && | ||
22891 | $as_test_x conftest$ac_exeext; then | ||
22892 | eval "$as_ac_var=yes" | ||
22893 | else | ||
22894 | echo "$as_me: failed program was:" >&5 | ||
22895 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22896 | |||
22897 | eval "$as_ac_var=no" | ||
22898 | fi | ||
22899 | |||
22900 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22901 | conftest$ac_exeext conftest.$ac_ext | ||
22902 | fi | ||
22903 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22904 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22905 | echo "${ECHO_T}$ac_res" >&6; } | ||
22906 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
22907 | cat >>confdefs.h <<_ACEOF | 12900 | cat >>confdefs.h <<_ACEOF |
22908 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12901 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22909 | _ACEOF | 12902 | _ACEOF |
22910 | 12903 | ||
22911 | else | 12904 | else |
@@ -22921,95 +12914,12 @@ fi | |||
22921 | done | 12914 | done |
22922 | 12915 | ||
22923 | # Search for RIPE-MD support in OpenSSL | 12916 | # Search for RIPE-MD support in OpenSSL |
22924 | 12917 | for ac_func in EVP_ripemd160 | |
22925 | for ac_func in EVP_ripemd160 | 12918 | do : |
22926 | do | 12919 | ac_fn_c_check_func "$LINENO" "EVP_ripemd160" "ac_cv_func_EVP_ripemd160" |
22927 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12920 | if test "x$ac_cv_func_EVP_ripemd160" = xyes; then : |
22928 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
22929 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
22930 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22931 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22932 | else | ||
22933 | cat >conftest.$ac_ext <<_ACEOF | ||
22934 | /* confdefs.h. */ | ||
22935 | _ACEOF | ||
22936 | cat confdefs.h >>conftest.$ac_ext | ||
22937 | cat >>conftest.$ac_ext <<_ACEOF | ||
22938 | /* end confdefs.h. */ | ||
22939 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22940 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22941 | #define $ac_func innocuous_$ac_func | ||
22942 | |||
22943 | /* System header to define __stub macros and hopefully few prototypes, | ||
22944 | which can conflict with char $ac_func (); below. | ||
22945 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22946 | <limits.h> exists even on freestanding compilers. */ | ||
22947 | |||
22948 | #ifdef __STDC__ | ||
22949 | # include <limits.h> | ||
22950 | #else | ||
22951 | # include <assert.h> | ||
22952 | #endif | ||
22953 | |||
22954 | #undef $ac_func | ||
22955 | |||
22956 | /* Override any GCC internal prototype to avoid an error. | ||
22957 | Use char because int might match the return type of a GCC | ||
22958 | builtin and then its argument prototype would still apply. */ | ||
22959 | #ifdef __cplusplus | ||
22960 | extern "C" | ||
22961 | #endif | ||
22962 | char $ac_func (); | ||
22963 | /* The GNU C library defines this for functions which it implements | ||
22964 | to always fail with ENOSYS. Some functions are actually named | ||
22965 | something starting with __ and the normal name is an alias. */ | ||
22966 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22967 | choke me | ||
22968 | #endif | ||
22969 | |||
22970 | int | ||
22971 | main () | ||
22972 | { | ||
22973 | return $ac_func (); | ||
22974 | ; | ||
22975 | return 0; | ||
22976 | } | ||
22977 | _ACEOF | ||
22978 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22979 | if { (ac_try="$ac_link" | ||
22980 | case "(($ac_try" in | ||
22981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22982 | *) ac_try_echo=$ac_try;; | ||
22983 | esac | ||
22984 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22985 | (eval "$ac_link") 2>conftest.er1 | ||
22986 | ac_status=$? | ||
22987 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22988 | rm -f conftest.er1 | ||
22989 | cat conftest.err >&5 | ||
22990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22991 | (exit $ac_status); } && { | ||
22992 | test -z "$ac_c_werror_flag" || | ||
22993 | test ! -s conftest.err | ||
22994 | } && test -s conftest$ac_exeext && | ||
22995 | $as_test_x conftest$ac_exeext; then | ||
22996 | eval "$as_ac_var=yes" | ||
22997 | else | ||
22998 | echo "$as_me: failed program was:" >&5 | ||
22999 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23000 | |||
23001 | eval "$as_ac_var=no" | ||
23002 | fi | ||
23003 | |||
23004 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23005 | conftest$ac_exeext conftest.$ac_ext | ||
23006 | fi | ||
23007 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
23008 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
23009 | echo "${ECHO_T}$ac_res" >&6; } | ||
23010 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
23011 | cat >>confdefs.h <<_ACEOF | 12921 | cat >>confdefs.h <<_ACEOF |
23012 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12922 | #define HAVE_EVP_RIPEMD160 1 |
23013 | _ACEOF | 12923 | _ACEOF |
23014 | 12924 | ||
23015 | else | 12925 | else |
@@ -23024,13 +12934,9 @@ done | |||
23024 | 12934 | ||
23025 | 12935 | ||
23026 | # Check complete ECC support in OpenSSL | 12936 | # Check complete ECC support in OpenSSL |
23027 | { echo "$as_me:$LINENO: checking whether OpenSSL has NID_X9_62_prime256v1" >&5 | 12937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has NID_X9_62_prime256v1" >&5 |
23028 | echo $ECHO_N "checking whether OpenSSL has NID_X9_62_prime256v1... $ECHO_C" >&6; } | 12938 | $as_echo_n "checking whether OpenSSL has NID_X9_62_prime256v1... " >&6; } |
23029 | cat >conftest.$ac_ext <<_ACEOF | 12939 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23030 | /* confdefs.h. */ | ||
23031 | _ACEOF | ||
23032 | cat confdefs.h >>conftest.$ac_ext | ||
23033 | cat >>conftest.$ac_ext <<_ACEOF | ||
23034 | /* end confdefs.h. */ | 12940 | /* end confdefs.h. */ |
23035 | 12941 | ||
23036 | #include <openssl/ec.h> | 12942 | #include <openssl/ec.h> |
@@ -23054,46 +12960,21 @@ main () | |||
23054 | return 0; | 12960 | return 0; |
23055 | } | 12961 | } |
23056 | _ACEOF | 12962 | _ACEOF |
23057 | rm -f conftest.$ac_objext conftest$ac_exeext | 12963 | if ac_fn_c_try_link "$LINENO"; then : |
23058 | if { (ac_try="$ac_link" | 12964 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23059 | case "(($ac_try" in | 12965 | $as_echo "yes" >&6; } |
23060 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23061 | *) ac_try_echo=$ac_try;; | ||
23062 | esac | ||
23063 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23064 | (eval "$ac_link") 2>conftest.er1 | ||
23065 | ac_status=$? | ||
23066 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23067 | rm -f conftest.er1 | ||
23068 | cat conftest.err >&5 | ||
23069 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23070 | (exit $ac_status); } && { | ||
23071 | test -z "$ac_c_werror_flag" || | ||
23072 | test ! -s conftest.err | ||
23073 | } && test -s conftest$ac_exeext && | ||
23074 | $as_test_x conftest$ac_exeext; then | ||
23075 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23076 | echo "${ECHO_T}yes" >&6; } | ||
23077 | enable_nistp256=1 | 12966 | enable_nistp256=1 |
23078 | else | 12967 | else |
23079 | echo "$as_me: failed program was:" >&5 | 12968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23080 | sed 's/^/| /' conftest.$ac_ext >&5 | 12969 | $as_echo "no" >&6; } |
23081 | |||
23082 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23083 | echo "${ECHO_T}no" >&6; } | ||
23084 | 12970 | ||
23085 | fi | 12971 | fi |
12972 | rm -f core conftest.err conftest.$ac_objext \ | ||
12973 | conftest$ac_exeext conftest.$ac_ext | ||
23086 | 12974 | ||
23087 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 12975 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has NID_secp384r1" >&5 |
23088 | conftest$ac_exeext conftest.$ac_ext | 12976 | $as_echo_n "checking whether OpenSSL has NID_secp384r1... " >&6; } |
23089 | 12977 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
23090 | { echo "$as_me:$LINENO: checking whether OpenSSL has NID_secp384r1" >&5 | ||
23091 | echo $ECHO_N "checking whether OpenSSL has NID_secp384r1... $ECHO_C" >&6; } | ||
23092 | cat >conftest.$ac_ext <<_ACEOF | ||
23093 | /* confdefs.h. */ | ||
23094 | _ACEOF | ||
23095 | cat confdefs.h >>conftest.$ac_ext | ||
23096 | cat >>conftest.$ac_ext <<_ACEOF | ||
23097 | /* end confdefs.h. */ | 12978 | /* end confdefs.h. */ |
23098 | 12979 | ||
23099 | #include <openssl/ec.h> | 12980 | #include <openssl/ec.h> |
@@ -23117,46 +12998,21 @@ main () | |||
23117 | return 0; | 12998 | return 0; |
23118 | } | 12999 | } |
23119 | _ACEOF | 13000 | _ACEOF |
23120 | rm -f conftest.$ac_objext conftest$ac_exeext | 13001 | if ac_fn_c_try_link "$LINENO"; then : |
23121 | if { (ac_try="$ac_link" | 13002 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23122 | case "(($ac_try" in | 13003 | $as_echo "yes" >&6; } |
23123 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23124 | *) ac_try_echo=$ac_try;; | ||
23125 | esac | ||
23126 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23127 | (eval "$ac_link") 2>conftest.er1 | ||
23128 | ac_status=$? | ||
23129 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23130 | rm -f conftest.er1 | ||
23131 | cat conftest.err >&5 | ||
23132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23133 | (exit $ac_status); } && { | ||
23134 | test -z "$ac_c_werror_flag" || | ||
23135 | test ! -s conftest.err | ||
23136 | } && test -s conftest$ac_exeext && | ||
23137 | $as_test_x conftest$ac_exeext; then | ||
23138 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23139 | echo "${ECHO_T}yes" >&6; } | ||
23140 | enable_nistp384=1 | 13004 | enable_nistp384=1 |
23141 | else | 13005 | else |
23142 | echo "$as_me: failed program was:" >&5 | 13006 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23143 | sed 's/^/| /' conftest.$ac_ext >&5 | 13007 | $as_echo "no" >&6; } |
23144 | |||
23145 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23146 | echo "${ECHO_T}no" >&6; } | ||
23147 | 13008 | ||
23148 | fi | 13009 | fi |
13010 | rm -f core conftest.err conftest.$ac_objext \ | ||
13011 | conftest$ac_exeext conftest.$ac_ext | ||
23149 | 13012 | ||
23150 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13013 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has NID_secp521r1" >&5 |
23151 | conftest$ac_exeext conftest.$ac_ext | 13014 | $as_echo_n "checking whether OpenSSL has NID_secp521r1... " >&6; } |
23152 | 13015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
23153 | { echo "$as_me:$LINENO: checking whether OpenSSL has NID_secp521r1" >&5 | ||
23154 | echo $ECHO_N "checking whether OpenSSL has NID_secp521r1... $ECHO_C" >&6; } | ||
23155 | cat >conftest.$ac_ext <<_ACEOF | ||
23156 | /* confdefs.h. */ | ||
23157 | _ACEOF | ||
23158 | cat confdefs.h >>conftest.$ac_ext | ||
23159 | cat >>conftest.$ac_ext <<_ACEOF | ||
23160 | /* end confdefs.h. */ | 13016 | /* end confdefs.h. */ |
23161 | 13017 | ||
23162 | #include <openssl/ec.h> | 13018 | #include <openssl/ec.h> |
@@ -23180,39 +13036,18 @@ main () | |||
23180 | return 0; | 13036 | return 0; |
23181 | } | 13037 | } |
23182 | _ACEOF | 13038 | _ACEOF |
23183 | rm -f conftest.$ac_objext conftest$ac_exeext | 13039 | if ac_fn_c_try_link "$LINENO"; then : |
23184 | if { (ac_try="$ac_link" | 13040 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23185 | case "(($ac_try" in | 13041 | $as_echo "yes" >&6; } |
23186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 13042 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL's NID_secp521r1 is functional" >&5 |
23187 | *) ac_try_echo=$ac_try;; | 13043 | $as_echo_n "checking if OpenSSL's NID_secp521r1 is functional... " >&6; } |
23188 | esac | 13044 | if test "$cross_compiling" = yes; then : |
23189 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | 13045 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross-compiling: assuming yes" >&5 |
23190 | (eval "$ac_link") 2>conftest.er1 | 13046 | $as_echo "$as_me: WARNING: cross-compiling: assuming yes" >&2;} |
23191 | ac_status=$? | ||
23192 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23193 | rm -f conftest.er1 | ||
23194 | cat conftest.err >&5 | ||
23195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23196 | (exit $ac_status); } && { | ||
23197 | test -z "$ac_c_werror_flag" || | ||
23198 | test ! -s conftest.err | ||
23199 | } && test -s conftest$ac_exeext && | ||
23200 | $as_test_x conftest$ac_exeext; then | ||
23201 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23202 | echo "${ECHO_T}yes" >&6; } | ||
23203 | { echo "$as_me:$LINENO: checking if OpenSSL's NID_secp521r1 is functional" >&5 | ||
23204 | echo $ECHO_N "checking if OpenSSL's NID_secp521r1 is functional... $ECHO_C" >&6; } | ||
23205 | if test "$cross_compiling" = yes; then | ||
23206 | { echo "$as_me:$LINENO: WARNING: cross-compiling: assuming yes" >&5 | ||
23207 | echo "$as_me: WARNING: cross-compiling: assuming yes" >&2;} | ||
23208 | enable_nistp521=1 | 13047 | enable_nistp521=1 |
23209 | 13048 | ||
23210 | else | 13049 | else |
23211 | cat >conftest.$ac_ext <<_ACEOF | 13050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23212 | /* confdefs.h. */ | ||
23213 | _ACEOF | ||
23214 | cat confdefs.h >>conftest.$ac_ext | ||
23215 | cat >>conftest.$ac_ext <<_ACEOF | ||
23216 | /* end confdefs.h. */ | 13051 | /* end confdefs.h. */ |
23217 | 13052 | ||
23218 | #include <openssl/ec.h> | 13053 | #include <openssl/ec.h> |
@@ -23234,53 +13069,25 @@ main () | |||
23234 | return 0; | 13069 | return 0; |
23235 | } | 13070 | } |
23236 | _ACEOF | 13071 | _ACEOF |
23237 | rm -f conftest$ac_exeext | 13072 | if ac_fn_c_try_run "$LINENO"; then : |
23238 | if { (ac_try="$ac_link" | 13073 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23239 | case "(($ac_try" in | 13074 | $as_echo "yes" >&6; } |
23240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23241 | *) ac_try_echo=$ac_try;; | ||
23242 | esac | ||
23243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23244 | (eval "$ac_link") 2>&5 | ||
23245 | ac_status=$? | ||
23246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23247 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
23248 | { (case "(($ac_try" in | ||
23249 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23250 | *) ac_try_echo=$ac_try;; | ||
23251 | esac | ||
23252 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23253 | (eval "$ac_try") 2>&5 | ||
23254 | ac_status=$? | ||
23255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23256 | (exit $ac_status); }; }; then | ||
23257 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23258 | echo "${ECHO_T}yes" >&6; } | ||
23259 | enable_nistp521=1 | 13075 | enable_nistp521=1 |
23260 | else | 13076 | else |
23261 | echo "$as_me: program exited with status $ac_status" >&5 | 13077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23262 | echo "$as_me: failed program was:" >&5 | 13078 | $as_echo "no" >&6; } |
23263 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23264 | |||
23265 | ( exit $ac_status ) | ||
23266 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23267 | echo "${ECHO_T}no" >&6; } | ||
23268 | fi | 13079 | fi |
23269 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13080 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13081 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
23270 | fi | 13082 | fi |
23271 | 13083 | ||
23272 | |||
23273 | else | 13084 | else |
23274 | echo "$as_me: failed program was:" >&5 | 13085 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23275 | sed 's/^/| /' conftest.$ac_ext >&5 | 13086 | $as_echo "no" >&6; } |
23276 | |||
23277 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23278 | echo "${ECHO_T}no" >&6; } | ||
23279 | 13087 | ||
23280 | fi | 13088 | fi |
23281 | 13089 | rm -f core conftest.err conftest.$ac_objext \ | |
23282 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13090 | conftest$ac_exeext conftest.$ac_ext |
23283 | conftest$ac_exeext conftest.$ac_ext | ||
23284 | 13091 | ||
23285 | COMMENT_OUT_ECC="#no ecc#" | 13092 | COMMENT_OUT_ECC="#no ecc#" |
23286 | TEST_SSH_ECC=no | 13093 | TEST_SSH_ECC=no |
@@ -23288,16 +13095,12 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |||
23288 | if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \ | 13095 | if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \ |
23289 | test x$enable_nistp521 = x1; then | 13096 | test x$enable_nistp521 = x1; then |
23290 | 13097 | ||
23291 | cat >>confdefs.h <<\_ACEOF | 13098 | $as_echo "#define OPENSSL_HAS_ECC 1" >>confdefs.h |
23292 | #define OPENSSL_HAS_ECC 1 | ||
23293 | _ACEOF | ||
23294 | 13099 | ||
23295 | fi | 13100 | fi |
23296 | if test x$enable_nistp256 = x1; then | 13101 | if test x$enable_nistp256 = x1; then |
23297 | 13102 | ||
23298 | cat >>confdefs.h <<\_ACEOF | 13103 | $as_echo "#define OPENSSL_HAS_NISTP256 1" >>confdefs.h |
23299 | #define OPENSSL_HAS_NISTP256 1 | ||
23300 | _ACEOF | ||
23301 | 13104 | ||
23302 | TEST_SSH_ECC=yes | 13105 | TEST_SSH_ECC=yes |
23303 | COMMENT_OUT_ECC="" | 13106 | COMMENT_OUT_ECC="" |
@@ -23309,9 +13112,7 @@ _ACEOF | |||
23309 | fi | 13112 | fi |
23310 | if test x$enable_nistp384 = x1; then | 13113 | if test x$enable_nistp384 = x1; then |
23311 | 13114 | ||
23312 | cat >>confdefs.h <<\_ACEOF | 13115 | $as_echo "#define OPENSSL_HAS_NISTP384 1" >>confdefs.h |
23313 | #define OPENSSL_HAS_NISTP384 1 | ||
23314 | _ACEOF | ||
23315 | 13116 | ||
23316 | TEST_SSH_ECC=yes | 13117 | TEST_SSH_ECC=yes |
23317 | COMMENT_OUT_ECC="" | 13118 | COMMENT_OUT_ECC="" |
@@ -23323,9 +13124,7 @@ _ACEOF | |||
23323 | fi | 13124 | fi |
23324 | if test x$enable_nistp521 = x1; then | 13125 | if test x$enable_nistp521 = x1; then |
23325 | 13126 | ||
23326 | cat >>confdefs.h <<\_ACEOF | 13127 | $as_echo "#define OPENSSL_HAS_NISTP521 1" >>confdefs.h |
23327 | #define OPENSSL_HAS_NISTP521 1 | ||
23328 | _ACEOF | ||
23329 | 13128 | ||
23330 | TEST_SSH_ECC=yes | 13129 | TEST_SSH_ECC=yes |
23331 | COMMENT_OUT_ECC="" | 13130 | COMMENT_OUT_ECC="" |
@@ -23339,18 +13138,14 @@ _ACEOF | |||
23339 | 13138 | ||
23340 | 13139 | ||
23341 | else | 13140 | else |
23342 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | 13141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 |
23343 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } | 13142 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } |
23344 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | 13143 | if ${ac_cv_lib_crypt_crypt+:} false; then : |
23345 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13144 | $as_echo_n "(cached) " >&6 |
23346 | else | 13145 | else |
23347 | ac_check_lib_save_LIBS=$LIBS | 13146 | ac_check_lib_save_LIBS=$LIBS |
23348 | LIBS="-lcrypt $LIBS" | 13147 | LIBS="-lcrypt $LIBS" |
23349 | cat >conftest.$ac_ext <<_ACEOF | 13148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23350 | /* confdefs.h. */ | ||
23351 | _ACEOF | ||
23352 | cat confdefs.h >>conftest.$ac_ext | ||
23353 | cat >>conftest.$ac_ext <<_ACEOF | ||
23354 | /* end confdefs.h. */ | 13149 | /* end confdefs.h. */ |
23355 | 13150 | ||
23356 | /* Override any GCC internal prototype to avoid an error. | 13151 | /* Override any GCC internal prototype to avoid an error. |
@@ -23368,131 +13163,27 @@ return crypt (); | |||
23368 | return 0; | 13163 | return 0; |
23369 | } | 13164 | } |
23370 | _ACEOF | 13165 | _ACEOF |
23371 | rm -f conftest.$ac_objext conftest$ac_exeext | 13166 | if ac_fn_c_try_link "$LINENO"; then : |
23372 | if { (ac_try="$ac_link" | ||
23373 | case "(($ac_try" in | ||
23374 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23375 | *) ac_try_echo=$ac_try;; | ||
23376 | esac | ||
23377 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23378 | (eval "$ac_link") 2>conftest.er1 | ||
23379 | ac_status=$? | ||
23380 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23381 | rm -f conftest.er1 | ||
23382 | cat conftest.err >&5 | ||
23383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23384 | (exit $ac_status); } && { | ||
23385 | test -z "$ac_c_werror_flag" || | ||
23386 | test ! -s conftest.err | ||
23387 | } && test -s conftest$ac_exeext && | ||
23388 | $as_test_x conftest$ac_exeext; then | ||
23389 | ac_cv_lib_crypt_crypt=yes | 13167 | ac_cv_lib_crypt_crypt=yes |
23390 | else | 13168 | else |
23391 | echo "$as_me: failed program was:" >&5 | 13169 | ac_cv_lib_crypt_crypt=no |
23392 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23393 | |||
23394 | ac_cv_lib_crypt_crypt=no | ||
23395 | fi | 13170 | fi |
23396 | 13171 | rm -f core conftest.err conftest.$ac_objext \ | |
23397 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13172 | conftest$ac_exeext conftest.$ac_ext |
23398 | conftest$ac_exeext conftest.$ac_ext | ||
23399 | LIBS=$ac_check_lib_save_LIBS | 13173 | LIBS=$ac_check_lib_save_LIBS |
23400 | fi | 13174 | fi |
23401 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | 13175 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 |
23402 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } | 13176 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } |
23403 | if test $ac_cv_lib_crypt_crypt = yes; then | 13177 | if test "x$ac_cv_lib_crypt_crypt" = xyes; then : |
23404 | LIBS="$LIBS -lcrypt" | 13178 | LIBS="$LIBS -lcrypt" |
23405 | fi | 13179 | fi |
23406 | 13180 | ||
23407 | 13181 | for ac_func in crypt | |
23408 | for ac_func in crypt | 13182 | do : |
23409 | do | 13183 | ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt" |
23410 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13184 | if test "x$ac_cv_func_crypt" = xyes; then : |
23411 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
23412 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
23413 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
23414 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23415 | else | ||
23416 | cat >conftest.$ac_ext <<_ACEOF | ||
23417 | /* confdefs.h. */ | ||
23418 | _ACEOF | ||
23419 | cat confdefs.h >>conftest.$ac_ext | ||
23420 | cat >>conftest.$ac_ext <<_ACEOF | ||
23421 | /* end confdefs.h. */ | ||
23422 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
23423 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
23424 | #define $ac_func innocuous_$ac_func | ||
23425 | |||
23426 | /* System header to define __stub macros and hopefully few prototypes, | ||
23427 | which can conflict with char $ac_func (); below. | ||
23428 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
23429 | <limits.h> exists even on freestanding compilers. */ | ||
23430 | |||
23431 | #ifdef __STDC__ | ||
23432 | # include <limits.h> | ||
23433 | #else | ||
23434 | # include <assert.h> | ||
23435 | #endif | ||
23436 | |||
23437 | #undef $ac_func | ||
23438 | |||
23439 | /* Override any GCC internal prototype to avoid an error. | ||
23440 | Use char because int might match the return type of a GCC | ||
23441 | builtin and then its argument prototype would still apply. */ | ||
23442 | #ifdef __cplusplus | ||
23443 | extern "C" | ||
23444 | #endif | ||
23445 | char $ac_func (); | ||
23446 | /* The GNU C library defines this for functions which it implements | ||
23447 | to always fail with ENOSYS. Some functions are actually named | ||
23448 | something starting with __ and the normal name is an alias. */ | ||
23449 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
23450 | choke me | ||
23451 | #endif | ||
23452 | |||
23453 | int | ||
23454 | main () | ||
23455 | { | ||
23456 | return $ac_func (); | ||
23457 | ; | ||
23458 | return 0; | ||
23459 | } | ||
23460 | _ACEOF | ||
23461 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23462 | if { (ac_try="$ac_link" | ||
23463 | case "(($ac_try" in | ||
23464 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23465 | *) ac_try_echo=$ac_try;; | ||
23466 | esac | ||
23467 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23468 | (eval "$ac_link") 2>conftest.er1 | ||
23469 | ac_status=$? | ||
23470 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23471 | rm -f conftest.er1 | ||
23472 | cat conftest.err >&5 | ||
23473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23474 | (exit $ac_status); } && { | ||
23475 | test -z "$ac_c_werror_flag" || | ||
23476 | test ! -s conftest.err | ||
23477 | } && test -s conftest$ac_exeext && | ||
23478 | $as_test_x conftest$ac_exeext; then | ||
23479 | eval "$as_ac_var=yes" | ||
23480 | else | ||
23481 | echo "$as_me: failed program was:" >&5 | ||
23482 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23483 | |||
23484 | eval "$as_ac_var=no" | ||
23485 | fi | ||
23486 | |||
23487 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23488 | conftest$ac_exeext conftest.$ac_ext | ||
23489 | fi | ||
23490 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
23491 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
23492 | echo "${ECHO_T}$ac_res" >&6; } | ||
23493 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
23494 | cat >>confdefs.h <<_ACEOF | 13185 | cat >>confdefs.h <<_ACEOF |
23495 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13186 | #define HAVE_CRYPT 1 |
23496 | _ACEOF | 13187 | _ACEOF |
23497 | 13188 | ||
23498 | fi | 13189 | fi |
@@ -23500,103 +13191,18 @@ done | |||
23500 | 13191 | ||
23501 | fi | 13192 | fi |
23502 | 13193 | ||
23503 | |||
23504 | |||
23505 | |||
23506 | |||
23507 | for ac_func in \ | 13194 | for ac_func in \ |
23508 | arc4random \ | 13195 | arc4random \ |
23509 | arc4random_buf \ | 13196 | arc4random_buf \ |
23510 | arc4random_stir \ | 13197 | arc4random_stir \ |
23511 | arc4random_uniform \ | 13198 | arc4random_uniform \ |
23512 | 13199 | ||
23513 | do | 13200 | do : |
23514 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13201 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23515 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | 13202 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
23516 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | 13203 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
23517 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
23518 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23519 | else | ||
23520 | cat >conftest.$ac_ext <<_ACEOF | ||
23521 | /* confdefs.h. */ | ||
23522 | _ACEOF | ||
23523 | cat confdefs.h >>conftest.$ac_ext | ||
23524 | cat >>conftest.$ac_ext <<_ACEOF | ||
23525 | /* end confdefs.h. */ | ||
23526 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
23527 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
23528 | #define $ac_func innocuous_$ac_func | ||
23529 | |||
23530 | /* System header to define __stub macros and hopefully few prototypes, | ||
23531 | which can conflict with char $ac_func (); below. | ||
23532 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
23533 | <limits.h> exists even on freestanding compilers. */ | ||
23534 | |||
23535 | #ifdef __STDC__ | ||
23536 | # include <limits.h> | ||
23537 | #else | ||
23538 | # include <assert.h> | ||
23539 | #endif | ||
23540 | |||
23541 | #undef $ac_func | ||
23542 | |||
23543 | /* Override any GCC internal prototype to avoid an error. | ||
23544 | Use char because int might match the return type of a GCC | ||
23545 | builtin and then its argument prototype would still apply. */ | ||
23546 | #ifdef __cplusplus | ||
23547 | extern "C" | ||
23548 | #endif | ||
23549 | char $ac_func (); | ||
23550 | /* The GNU C library defines this for functions which it implements | ||
23551 | to always fail with ENOSYS. Some functions are actually named | ||
23552 | something starting with __ and the normal name is an alias. */ | ||
23553 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
23554 | choke me | ||
23555 | #endif | ||
23556 | |||
23557 | int | ||
23558 | main () | ||
23559 | { | ||
23560 | return $ac_func (); | ||
23561 | ; | ||
23562 | return 0; | ||
23563 | } | ||
23564 | _ACEOF | ||
23565 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23566 | if { (ac_try="$ac_link" | ||
23567 | case "(($ac_try" in | ||
23568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23569 | *) ac_try_echo=$ac_try;; | ||
23570 | esac | ||
23571 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23572 | (eval "$ac_link") 2>conftest.er1 | ||
23573 | ac_status=$? | ||
23574 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23575 | rm -f conftest.er1 | ||
23576 | cat conftest.err >&5 | ||
23577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23578 | (exit $ac_status); } && { | ||
23579 | test -z "$ac_c_werror_flag" || | ||
23580 | test ! -s conftest.err | ||
23581 | } && test -s conftest$ac_exeext && | ||
23582 | $as_test_x conftest$ac_exeext; then | ||
23583 | eval "$as_ac_var=yes" | ||
23584 | else | ||
23585 | echo "$as_me: failed program was:" >&5 | ||
23586 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23587 | |||
23588 | eval "$as_ac_var=no" | ||
23589 | fi | ||
23590 | |||
23591 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23592 | conftest$ac_exeext conftest.$ac_ext | ||
23593 | fi | ||
23594 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
23595 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
23596 | echo "${ECHO_T}$ac_res" >&6; } | ||
23597 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
23598 | cat >>confdefs.h <<_ACEOF | 13204 | cat >>confdefs.h <<_ACEOF |
23599 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13205 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
23600 | _ACEOF | 13206 | _ACEOF |
23601 | 13207 | ||
23602 | fi | 13208 | fi |
@@ -23604,18 +13210,14 @@ done | |||
23604 | 13210 | ||
23605 | 13211 | ||
23606 | saved_LIBS="$LIBS" | 13212 | saved_LIBS="$LIBS" |
23607 | { echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 | 13213 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ia_openinfo in -liaf" >&5 |
23608 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } | 13214 | $as_echo_n "checking for ia_openinfo in -liaf... " >&6; } |
23609 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then | 13215 | if ${ac_cv_lib_iaf_ia_openinfo+:} false; then : |
23610 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 13216 | $as_echo_n "(cached) " >&6 |
23611 | else | 13217 | else |
23612 | ac_check_lib_save_LIBS=$LIBS | 13218 | ac_check_lib_save_LIBS=$LIBS |
23613 | LIBS="-liaf $LIBS" | 13219 | LIBS="-liaf $LIBS" |
23614 | cat >conftest.$ac_ext <<_ACEOF | 13220 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23615 | /* confdefs.h. */ | ||
23616 | _ACEOF | ||
23617 | cat confdefs.h >>conftest.$ac_ext | ||
23618 | cat >>conftest.$ac_ext <<_ACEOF | ||
23619 | /* end confdefs.h. */ | 13221 | /* end confdefs.h. */ |
23620 | 13222 | ||
23621 | /* Override any GCC internal prototype to avoid an error. | 13223 | /* Override any GCC internal prototype to avoid an error. |
@@ -23633,136 +13235,30 @@ return ia_openinfo (); | |||
23633 | return 0; | 13235 | return 0; |
23634 | } | 13236 | } |
23635 | _ACEOF | 13237 | _ACEOF |
23636 | rm -f conftest.$ac_objext conftest$ac_exeext | 13238 | if ac_fn_c_try_link "$LINENO"; then : |
23637 | if { (ac_try="$ac_link" | ||
23638 | case "(($ac_try" in | ||
23639 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23640 | *) ac_try_echo=$ac_try;; | ||
23641 | esac | ||
23642 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23643 | (eval "$ac_link") 2>conftest.er1 | ||
23644 | ac_status=$? | ||
23645 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23646 | rm -f conftest.er1 | ||
23647 | cat conftest.err >&5 | ||
23648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23649 | (exit $ac_status); } && { | ||
23650 | test -z "$ac_c_werror_flag" || | ||
23651 | test ! -s conftest.err | ||
23652 | } && test -s conftest$ac_exeext && | ||
23653 | $as_test_x conftest$ac_exeext; then | ||
23654 | ac_cv_lib_iaf_ia_openinfo=yes | 13239 | ac_cv_lib_iaf_ia_openinfo=yes |
23655 | else | 13240 | else |
23656 | echo "$as_me: failed program was:" >&5 | 13241 | ac_cv_lib_iaf_ia_openinfo=no |
23657 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23658 | |||
23659 | ac_cv_lib_iaf_ia_openinfo=no | ||
23660 | fi | 13242 | fi |
23661 | 13243 | rm -f core conftest.err conftest.$ac_objext \ | |
23662 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13244 | conftest$ac_exeext conftest.$ac_ext |
23663 | conftest$ac_exeext conftest.$ac_ext | ||
23664 | LIBS=$ac_check_lib_save_LIBS | 13245 | LIBS=$ac_check_lib_save_LIBS |
23665 | fi | 13246 | fi |
23666 | { echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 | 13247 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iaf_ia_openinfo" >&5 |
23667 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } | 13248 | $as_echo "$ac_cv_lib_iaf_ia_openinfo" >&6; } |
23668 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then | 13249 | if test "x$ac_cv_lib_iaf_ia_openinfo" = xyes; then : |
23669 | 13250 | ||
23670 | LIBS="$LIBS -liaf" | 13251 | LIBS="$LIBS -liaf" |
23671 | 13252 | for ac_func in set_id | |
23672 | for ac_func in set_id | 13253 | do : |
23673 | do | 13254 | ac_fn_c_check_func "$LINENO" "set_id" "ac_cv_func_set_id" |
23674 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13255 | if test "x$ac_cv_func_set_id" = xyes; then : |
23675 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
23676 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
23677 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
23678 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23679 | else | ||
23680 | cat >conftest.$ac_ext <<_ACEOF | ||
23681 | /* confdefs.h. */ | ||
23682 | _ACEOF | ||
23683 | cat confdefs.h >>conftest.$ac_ext | ||
23684 | cat >>conftest.$ac_ext <<_ACEOF | ||
23685 | /* end confdefs.h. */ | ||
23686 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
23687 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
23688 | #define $ac_func innocuous_$ac_func | ||
23689 | |||
23690 | /* System header to define __stub macros and hopefully few prototypes, | ||
23691 | which can conflict with char $ac_func (); below. | ||
23692 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
23693 | <limits.h> exists even on freestanding compilers. */ | ||
23694 | |||
23695 | #ifdef __STDC__ | ||
23696 | # include <limits.h> | ||
23697 | #else | ||
23698 | # include <assert.h> | ||
23699 | #endif | ||
23700 | |||
23701 | #undef $ac_func | ||
23702 | |||
23703 | /* Override any GCC internal prototype to avoid an error. | ||
23704 | Use char because int might match the return type of a GCC | ||
23705 | builtin and then its argument prototype would still apply. */ | ||
23706 | #ifdef __cplusplus | ||
23707 | extern "C" | ||
23708 | #endif | ||
23709 | char $ac_func (); | ||
23710 | /* The GNU C library defines this for functions which it implements | ||
23711 | to always fail with ENOSYS. Some functions are actually named | ||
23712 | something starting with __ and the normal name is an alias. */ | ||
23713 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
23714 | choke me | ||
23715 | #endif | ||
23716 | |||
23717 | int | ||
23718 | main () | ||
23719 | { | ||
23720 | return $ac_func (); | ||
23721 | ; | ||
23722 | return 0; | ||
23723 | } | ||
23724 | _ACEOF | ||
23725 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23726 | if { (ac_try="$ac_link" | ||
23727 | case "(($ac_try" in | ||
23728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23729 | *) ac_try_echo=$ac_try;; | ||
23730 | esac | ||
23731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23732 | (eval "$ac_link") 2>conftest.er1 | ||
23733 | ac_status=$? | ||
23734 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23735 | rm -f conftest.er1 | ||
23736 | cat conftest.err >&5 | ||
23737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23738 | (exit $ac_status); } && { | ||
23739 | test -z "$ac_c_werror_flag" || | ||
23740 | test ! -s conftest.err | ||
23741 | } && test -s conftest$ac_exeext && | ||
23742 | $as_test_x conftest$ac_exeext; then | ||
23743 | eval "$as_ac_var=yes" | ||
23744 | else | ||
23745 | echo "$as_me: failed program was:" >&5 | ||
23746 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23747 | |||
23748 | eval "$as_ac_var=no" | ||
23749 | fi | ||
23750 | |||
23751 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23752 | conftest$ac_exeext conftest.$ac_ext | ||
23753 | fi | ||
23754 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
23755 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
23756 | echo "${ECHO_T}$ac_res" >&6; } | ||
23757 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
23758 | cat >>confdefs.h <<_ACEOF | 13256 | cat >>confdefs.h <<_ACEOF |
23759 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13257 | #define HAVE_SET_ID 1 |
23760 | _ACEOF | 13258 | _ACEOF |
23761 | SSHDLIBS="$SSHDLIBS -liaf" | 13259 | SSHDLIBS="$SSHDLIBS -liaf" |
23762 | 13260 | ||
23763 | cat >>confdefs.h <<\_ACEOF | 13261 | $as_echo "#define HAVE_LIBIAF 1" >>confdefs.h |
23764 | #define HAVE_LIBIAF 1 | ||
23765 | _ACEOF | ||
23766 | 13262 | ||
23767 | 13263 | ||
23768 | fi | 13264 | fi |
@@ -23777,23 +13273,19 @@ LIBS="$saved_LIBS" | |||
23777 | 13273 | ||
23778 | # Check wheter OpenSSL seeds itself | 13274 | # Check wheter OpenSSL seeds itself |
23779 | if test "x$openssl" = "xyes" ; then | 13275 | if test "x$openssl" = "xyes" ; then |
23780 | { echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 | 13276 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL's PRNG is internally seeded" >&5 |
23781 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6; } | 13277 | $as_echo_n "checking whether OpenSSL's PRNG is internally seeded... " >&6; } |
23782 | if test "$cross_compiling" = yes; then | 13278 | if test "$cross_compiling" = yes; then : |
23783 | 13279 | ||
23784 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 | 13280 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 |
23785 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | 13281 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
23786 | # This is safe, since we will fatal() at runtime if | 13282 | # This is safe, since we will fatal() at runtime if |
23787 | # OpenSSL is not seeded correctly. | 13283 | # OpenSSL is not seeded correctly. |
23788 | OPENSSL_SEEDS_ITSELF=yes | 13284 | OPENSSL_SEEDS_ITSELF=yes |
23789 | 13285 | ||
23790 | 13286 | ||
23791 | else | 13287 | else |
23792 | cat >conftest.$ac_ext <<_ACEOF | 13288 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23793 | /* confdefs.h. */ | ||
23794 | _ACEOF | ||
23795 | cat confdefs.h >>conftest.$ac_ext | ||
23796 | cat >>conftest.$ac_ext <<_ACEOF | ||
23797 | /* end confdefs.h. */ | 13289 | /* end confdefs.h. */ |
23798 | 13290 | ||
23799 | #include <string.h> | 13291 | #include <string.h> |
@@ -23809,52 +13301,28 @@ main () | |||
23809 | return 0; | 13301 | return 0; |
23810 | } | 13302 | } |
23811 | _ACEOF | 13303 | _ACEOF |
23812 | rm -f conftest$ac_exeext | 13304 | if ac_fn_c_try_run "$LINENO"; then : |
23813 | if { (ac_try="$ac_link" | ||
23814 | case "(($ac_try" in | ||
23815 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23816 | *) ac_try_echo=$ac_try;; | ||
23817 | esac | ||
23818 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23819 | (eval "$ac_link") 2>&5 | ||
23820 | ac_status=$? | ||
23821 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23822 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
23823 | { (case "(($ac_try" in | ||
23824 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23825 | *) ac_try_echo=$ac_try;; | ||
23826 | esac | ||
23827 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23828 | (eval "$ac_try") 2>&5 | ||
23829 | ac_status=$? | ||
23830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23831 | (exit $ac_status); }; }; then | ||
23832 | 13305 | ||
23833 | OPENSSL_SEEDS_ITSELF=yes | 13306 | OPENSSL_SEEDS_ITSELF=yes |
23834 | { echo "$as_me:$LINENO: result: yes" >&5 | 13307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
23835 | echo "${ECHO_T}yes" >&6; } | 13308 | $as_echo "yes" >&6; } |
23836 | 13309 | ||
23837 | else | 13310 | else |
23838 | echo "$as_me: program exited with status $ac_status" >&5 | ||
23839 | echo "$as_me: failed program was:" >&5 | ||
23840 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23841 | |||
23842 | ( exit $ac_status ) | ||
23843 | 13311 | ||
23844 | { echo "$as_me:$LINENO: result: no" >&5 | 13312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
23845 | echo "${ECHO_T}no" >&6; } | 13313 | $as_echo "no" >&6; } |
23846 | 13314 | ||
23847 | fi | 13315 | fi |
23848 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13316 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13317 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
23849 | fi | 13318 | fi |
23850 | 13319 | ||
23851 | |||
23852 | fi | 13320 | fi |
23853 | 13321 | ||
23854 | # PRNGD TCP socket | 13322 | # PRNGD TCP socket |
23855 | 13323 | ||
23856 | # Check whether --with-prngd-port was given. | 13324 | # Check whether --with-prngd-port was given. |
23857 | if test "${with_prngd_port+set}" = set; then | 13325 | if test "${with_prngd_port+set}" = set; then : |
23858 | withval=$with_prngd_port; | 13326 | withval=$with_prngd_port; |
23859 | case "$withval" in | 13327 | case "$withval" in |
23860 | no) | 13328 | no) |
@@ -23863,9 +13331,7 @@ if test "${with_prngd_port+set}" = set; then | |||
23863 | [0-9]*) | 13331 | [0-9]*) |
23864 | ;; | 13332 | ;; |
23865 | *) | 13333 | *) |
23866 | { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 | 13334 | as_fn_error $? "You must specify a numeric port number for --with-prngd-port" "$LINENO" 5 |
23867 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} | ||
23868 | { (exit 1); exit 1; }; } | ||
23869 | ;; | 13335 | ;; |
23870 | esac | 13336 | esac |
23871 | if test ! -z "$withval" ; then | 13337 | if test ! -z "$withval" ; then |
@@ -23884,7 +13350,7 @@ fi | |||
23884 | # PRNGD Unix domain socket | 13350 | # PRNGD Unix domain socket |
23885 | 13351 | ||
23886 | # Check whether --with-prngd-socket was given. | 13352 | # Check whether --with-prngd-socket was given. |
23887 | if test "${with_prngd_socket+set}" = set; then | 13353 | if test "${with_prngd_socket+set}" = set; then : |
23888 | withval=$with_prngd_socket; | 13354 | withval=$with_prngd_socket; |
23889 | case "$withval" in | 13355 | case "$withval" in |
23890 | yes) | 13356 | yes) |
@@ -23896,21 +13362,17 @@ if test "${with_prngd_socket+set}" = set; then | |||
23896 | /*) | 13362 | /*) |
23897 | ;; | 13363 | ;; |
23898 | *) | 13364 | *) |
23899 | { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 | 13365 | as_fn_error $? "You must specify an absolute path to the entropy socket" "$LINENO" 5 |
23900 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} | ||
23901 | { (exit 1); exit 1; }; } | ||
23902 | ;; | 13366 | ;; |
23903 | esac | 13367 | esac |
23904 | 13368 | ||
23905 | if test ! -z "$withval" ; then | 13369 | if test ! -z "$withval" ; then |
23906 | if test ! -z "$PRNGD_PORT" ; then | 13370 | if test ! -z "$PRNGD_PORT" ; then |
23907 | { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 | 13371 | as_fn_error $? "You may not specify both a PRNGD/EGD port and socket" "$LINENO" 5 |
23908 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} | ||
23909 | { (exit 1); exit 1; }; } | ||
23910 | fi | 13372 | fi |
23911 | if test ! -r "$withval" ; then | 13373 | if test ! -r "$withval" ; then |
23912 | { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 | 13374 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Entropy socket is not readable" >&5 |
23913 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | 13375 | $as_echo "$as_me: WARNING: Entropy socket is not readable" >&2;} |
23914 | fi | 13376 | fi |
23915 | PRNGD_SOCKET="$withval" | 13377 | PRNGD_SOCKET="$withval" |
23916 | 13378 | ||
@@ -23924,8 +13386,8 @@ else | |||
23924 | 13386 | ||
23925 | # Check for existing socket only if we don't have a random device already | 13387 | # Check for existing socket only if we don't have a random device already |
23926 | if test "x$OPENSSL_SEEDS_ITSELF" != "xyes" ; then | 13388 | if test "x$OPENSSL_SEEDS_ITSELF" != "xyes" ; then |
23927 | { echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 | 13389 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRNGD/EGD socket" >&5 |
23928 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6; } | 13390 | $as_echo_n "checking for PRNGD/EGD socket... " >&6; } |
23929 | # Insert other locations here | 13391 | # Insert other locations here |
23930 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | 13392 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do |
23931 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then | 13393 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then |
@@ -23938,11 +13400,11 @@ _ACEOF | |||
23938 | fi | 13400 | fi |
23939 | done | 13401 | done |
23940 | if test ! -z "$PRNGD_SOCKET" ; then | 13402 | if test ! -z "$PRNGD_SOCKET" ; then |
23941 | { echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 | 13403 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRNGD_SOCKET" >&5 |
23942 | echo "${ECHO_T}$PRNGD_SOCKET" >&6; } | 13404 | $as_echo "$PRNGD_SOCKET" >&6; } |
23943 | else | 13405 | else |
23944 | { echo "$as_me:$LINENO: result: not found" >&5 | 13406 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
23945 | echo "${ECHO_T}not found" >&6; } | 13407 | $as_echo "not found" >&6; } |
23946 | fi | 13408 | fi |
23947 | fi | 13409 | fi |
23948 | 13410 | ||
@@ -23957,48 +13419,37 @@ elif test ! -z "$PRNGD_SOCKET" ; then | |||
23957 | RAND_MSG="PRNGd socket $PRNGD_SOCKET" | 13419 | RAND_MSG="PRNGd socket $PRNGD_SOCKET" |
23958 | elif test ! -z "$OPENSSL_SEEDS_ITSELF" ; then | 13420 | elif test ! -z "$OPENSSL_SEEDS_ITSELF" ; then |
23959 | 13421 | ||
23960 | cat >>confdefs.h <<\_ACEOF | 13422 | $as_echo "#define OPENSSL_PRNG_ONLY 1" >>confdefs.h |
23961 | #define OPENSSL_PRNG_ONLY 1 | ||
23962 | _ACEOF | ||
23963 | 13423 | ||
23964 | RAND_MSG="OpenSSL internal ONLY" | 13424 | RAND_MSG="OpenSSL internal ONLY" |
23965 | elif test "x$openssl" = "xno" ; then | 13425 | elif test "x$openssl" = "xno" ; then |
23966 | { echo "$as_me:$LINENO: WARNING: OpenSSH will use /dev/urandom as a source of random numbers. It will fail if this device is not supported or accessible" >&5 | 13426 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenSSH will use /dev/urandom as a source of random numbers. It will fail if this device is not supported or accessible" >&5 |
23967 | echo "$as_me: WARNING: OpenSSH will use /dev/urandom as a source of random numbers. It will fail if this device is not supported or accessible" >&2;} | 13427 | $as_echo "$as_me: WARNING: OpenSSH will use /dev/urandom as a source of random numbers. It will fail if this device is not supported or accessible" >&2;} |
23968 | else | 13428 | else |
23969 | { { echo "$as_me:$LINENO: error: OpenSSH has no source of random numbers. Please configure OpenSSL with an entropy source or re-run configure using one of the --with-prngd-port or --with-prngd-socket options" >&5 | 13429 | as_fn_error $? "OpenSSH has no source of random numbers. Please configure OpenSSL with an entropy source or re-run configure using one of the --with-prngd-port or --with-prngd-socket options" "$LINENO" 5 |
23970 | echo "$as_me: error: OpenSSH has no source of random numbers. Please configure OpenSSL with an entropy source or re-run configure using one of the --with-prngd-port or --with-prngd-socket options" >&2;} | ||
23971 | { (exit 1); exit 1; }; } | ||
23972 | fi | 13430 | fi |
23973 | 13431 | ||
23974 | # Check for PAM libs | 13432 | # Check for PAM libs |
23975 | PAM_MSG="no" | 13433 | PAM_MSG="no" |
23976 | 13434 | ||
23977 | # Check whether --with-pam was given. | 13435 | # Check whether --with-pam was given. |
23978 | if test "${with_pam+set}" = set; then | 13436 | if test "${with_pam+set}" = set; then : |
23979 | withval=$with_pam; | 13437 | withval=$with_pam; |
23980 | if test "x$withval" != "xno" ; then | 13438 | if test "x$withval" != "xno" ; then |
23981 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ | 13439 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ |
23982 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then | 13440 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then |
23983 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 | 13441 | as_fn_error $? "PAM headers not found" "$LINENO" 5 |
23984 | echo "$as_me: error: PAM headers not found" >&2;} | ||
23985 | { (exit 1); exit 1; }; } | ||
23986 | fi | 13442 | fi |
23987 | 13443 | ||
23988 | saved_LIBS="$LIBS" | 13444 | saved_LIBS="$LIBS" |
23989 | 13445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | |
23990 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 13446 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
23991 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } | 13447 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
23992 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 13448 | $as_echo_n "(cached) " >&6 |
23993 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23994 | else | 13449 | else |
23995 | ac_check_lib_save_LIBS=$LIBS | 13450 | ac_check_lib_save_LIBS=$LIBS |
23996 | LIBS="-ldl $LIBS" | 13451 | LIBS="-ldl $LIBS" |
23997 | cat >conftest.$ac_ext <<_ACEOF | 13452 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
23998 | /* confdefs.h. */ | ||
23999 | _ACEOF | ||
24000 | cat confdefs.h >>conftest.$ac_ext | ||
24001 | cat >>conftest.$ac_ext <<_ACEOF | ||
24002 | /* end confdefs.h. */ | 13453 | /* end confdefs.h. */ |
24003 | 13454 | ||
24004 | /* Override any GCC internal prototype to avoid an error. | 13455 | /* Override any GCC internal prototype to avoid an error. |
@@ -24016,39 +13467,18 @@ return dlopen (); | |||
24016 | return 0; | 13467 | return 0; |
24017 | } | 13468 | } |
24018 | _ACEOF | 13469 | _ACEOF |
24019 | rm -f conftest.$ac_objext conftest$ac_exeext | 13470 | if ac_fn_c_try_link "$LINENO"; then : |
24020 | if { (ac_try="$ac_link" | ||
24021 | case "(($ac_try" in | ||
24022 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24023 | *) ac_try_echo=$ac_try;; | ||
24024 | esac | ||
24025 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24026 | (eval "$ac_link") 2>conftest.er1 | ||
24027 | ac_status=$? | ||
24028 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24029 | rm -f conftest.er1 | ||
24030 | cat conftest.err >&5 | ||
24031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24032 | (exit $ac_status); } && { | ||
24033 | test -z "$ac_c_werror_flag" || | ||
24034 | test ! -s conftest.err | ||
24035 | } && test -s conftest$ac_exeext && | ||
24036 | $as_test_x conftest$ac_exeext; then | ||
24037 | ac_cv_lib_dl_dlopen=yes | 13471 | ac_cv_lib_dl_dlopen=yes |
24038 | else | 13472 | else |
24039 | echo "$as_me: failed program was:" >&5 | 13473 | ac_cv_lib_dl_dlopen=no |
24040 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24041 | |||
24042 | ac_cv_lib_dl_dlopen=no | ||
24043 | fi | 13474 | fi |
24044 | 13475 | rm -f core conftest.err conftest.$ac_objext \ | |
24045 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13476 | conftest$ac_exeext conftest.$ac_ext |
24046 | conftest$ac_exeext conftest.$ac_ext | ||
24047 | LIBS=$ac_check_lib_save_LIBS | 13477 | LIBS=$ac_check_lib_save_LIBS |
24048 | fi | 13478 | fi |
24049 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 13479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
24050 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } | 13480 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
24051 | if test $ac_cv_lib_dl_dlopen = yes; then | 13481 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
24052 | cat >>confdefs.h <<_ACEOF | 13482 | cat >>confdefs.h <<_ACEOF |
24053 | #define HAVE_LIBDL 1 | 13483 | #define HAVE_LIBDL 1 |
24054 | _ACEOF | 13484 | _ACEOF |
@@ -24057,19 +13487,14 @@ _ACEOF | |||
24057 | 13487 | ||
24058 | fi | 13488 | fi |
24059 | 13489 | ||
24060 | 13490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_set_item in -lpam" >&5 | |
24061 | { echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 | 13491 | $as_echo_n "checking for pam_set_item in -lpam... " >&6; } |
24062 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } | 13492 | if ${ac_cv_lib_pam_pam_set_item+:} false; then : |
24063 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then | 13493 | $as_echo_n "(cached) " >&6 |
24064 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24065 | else | 13494 | else |
24066 | ac_check_lib_save_LIBS=$LIBS | 13495 | ac_check_lib_save_LIBS=$LIBS |
24067 | LIBS="-lpam $LIBS" | 13496 | LIBS="-lpam $LIBS" |
24068 | cat >conftest.$ac_ext <<_ACEOF | 13497 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24069 | /* confdefs.h. */ | ||
24070 | _ACEOF | ||
24071 | cat confdefs.h >>conftest.$ac_ext | ||
24072 | cat >>conftest.$ac_ext <<_ACEOF | ||
24073 | /* end confdefs.h. */ | 13498 | /* end confdefs.h. */ |
24074 | 13499 | ||
24075 | /* Override any GCC internal prototype to avoid an error. | 13500 | /* Override any GCC internal prototype to avoid an error. |
@@ -24087,39 +13512,18 @@ return pam_set_item (); | |||
24087 | return 0; | 13512 | return 0; |
24088 | } | 13513 | } |
24089 | _ACEOF | 13514 | _ACEOF |
24090 | rm -f conftest.$ac_objext conftest$ac_exeext | 13515 | if ac_fn_c_try_link "$LINENO"; then : |
24091 | if { (ac_try="$ac_link" | ||
24092 | case "(($ac_try" in | ||
24093 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24094 | *) ac_try_echo=$ac_try;; | ||
24095 | esac | ||
24096 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24097 | (eval "$ac_link") 2>conftest.er1 | ||
24098 | ac_status=$? | ||
24099 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24100 | rm -f conftest.er1 | ||
24101 | cat conftest.err >&5 | ||
24102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24103 | (exit $ac_status); } && { | ||
24104 | test -z "$ac_c_werror_flag" || | ||
24105 | test ! -s conftest.err | ||
24106 | } && test -s conftest$ac_exeext && | ||
24107 | $as_test_x conftest$ac_exeext; then | ||
24108 | ac_cv_lib_pam_pam_set_item=yes | 13516 | ac_cv_lib_pam_pam_set_item=yes |
24109 | else | 13517 | else |
24110 | echo "$as_me: failed program was:" >&5 | 13518 | ac_cv_lib_pam_pam_set_item=no |
24111 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24112 | |||
24113 | ac_cv_lib_pam_pam_set_item=no | ||
24114 | fi | 13519 | fi |
24115 | 13520 | rm -f core conftest.err conftest.$ac_objext \ | |
24116 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13521 | conftest$ac_exeext conftest.$ac_ext |
24117 | conftest$ac_exeext conftest.$ac_ext | ||
24118 | LIBS=$ac_check_lib_save_LIBS | 13522 | LIBS=$ac_check_lib_save_LIBS |
24119 | fi | 13523 | fi |
24120 | { echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 | 13524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_set_item" >&5 |
24121 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } | 13525 | $as_echo "$ac_cv_lib_pam_pam_set_item" >&6; } |
24122 | if test $ac_cv_lib_pam_pam_set_item = yes; then | 13526 | if test "x$ac_cv_lib_pam_pam_set_item" = xyes; then : |
24123 | cat >>confdefs.h <<_ACEOF | 13527 | cat >>confdefs.h <<_ACEOF |
24124 | #define HAVE_LIBPAM 1 | 13528 | #define HAVE_LIBPAM 1 |
24125 | _ACEOF | 13529 | _ACEOF |
@@ -24127,194 +13531,26 @@ _ACEOF | |||
24127 | LIBS="-lpam $LIBS" | 13531 | LIBS="-lpam $LIBS" |
24128 | 13532 | ||
24129 | else | 13533 | else |
24130 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 | 13534 | as_fn_error $? "*** libpam missing" "$LINENO" 5 |
24131 | echo "$as_me: error: *** libpam missing" >&2;} | ||
24132 | { (exit 1); exit 1; }; } | ||
24133 | fi | 13535 | fi |
24134 | 13536 | ||
24135 | 13537 | for ac_func in pam_getenvlist | |
24136 | for ac_func in pam_getenvlist | 13538 | do : |
24137 | do | 13539 | ac_fn_c_check_func "$LINENO" "pam_getenvlist" "ac_cv_func_pam_getenvlist" |
24138 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13540 | if test "x$ac_cv_func_pam_getenvlist" = xyes; then : |
24139 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
24140 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
24141 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
24142 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24143 | else | ||
24144 | cat >conftest.$ac_ext <<_ACEOF | ||
24145 | /* confdefs.h. */ | ||
24146 | _ACEOF | ||
24147 | cat confdefs.h >>conftest.$ac_ext | ||
24148 | cat >>conftest.$ac_ext <<_ACEOF | ||
24149 | /* end confdefs.h. */ | ||
24150 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
24151 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
24152 | #define $ac_func innocuous_$ac_func | ||
24153 | |||
24154 | /* System header to define __stub macros and hopefully few prototypes, | ||
24155 | which can conflict with char $ac_func (); below. | ||
24156 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
24157 | <limits.h> exists even on freestanding compilers. */ | ||
24158 | |||
24159 | #ifdef __STDC__ | ||
24160 | # include <limits.h> | ||
24161 | #else | ||
24162 | # include <assert.h> | ||
24163 | #endif | ||
24164 | |||
24165 | #undef $ac_func | ||
24166 | |||
24167 | /* Override any GCC internal prototype to avoid an error. | ||
24168 | Use char because int might match the return type of a GCC | ||
24169 | builtin and then its argument prototype would still apply. */ | ||
24170 | #ifdef __cplusplus | ||
24171 | extern "C" | ||
24172 | #endif | ||
24173 | char $ac_func (); | ||
24174 | /* The GNU C library defines this for functions which it implements | ||
24175 | to always fail with ENOSYS. Some functions are actually named | ||
24176 | something starting with __ and the normal name is an alias. */ | ||
24177 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
24178 | choke me | ||
24179 | #endif | ||
24180 | |||
24181 | int | ||
24182 | main () | ||
24183 | { | ||
24184 | return $ac_func (); | ||
24185 | ; | ||
24186 | return 0; | ||
24187 | } | ||
24188 | _ACEOF | ||
24189 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
24190 | if { (ac_try="$ac_link" | ||
24191 | case "(($ac_try" in | ||
24192 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24193 | *) ac_try_echo=$ac_try;; | ||
24194 | esac | ||
24195 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24196 | (eval "$ac_link") 2>conftest.er1 | ||
24197 | ac_status=$? | ||
24198 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24199 | rm -f conftest.er1 | ||
24200 | cat conftest.err >&5 | ||
24201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24202 | (exit $ac_status); } && { | ||
24203 | test -z "$ac_c_werror_flag" || | ||
24204 | test ! -s conftest.err | ||
24205 | } && test -s conftest$ac_exeext && | ||
24206 | $as_test_x conftest$ac_exeext; then | ||
24207 | eval "$as_ac_var=yes" | ||
24208 | else | ||
24209 | echo "$as_me: failed program was:" >&5 | ||
24210 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24211 | |||
24212 | eval "$as_ac_var=no" | ||
24213 | fi | ||
24214 | |||
24215 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24216 | conftest$ac_exeext conftest.$ac_ext | ||
24217 | fi | ||
24218 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
24219 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
24220 | echo "${ECHO_T}$ac_res" >&6; } | ||
24221 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
24222 | cat >>confdefs.h <<_ACEOF | 13541 | cat >>confdefs.h <<_ACEOF |
24223 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13542 | #define HAVE_PAM_GETENVLIST 1 |
24224 | _ACEOF | 13543 | _ACEOF |
24225 | 13544 | ||
24226 | fi | 13545 | fi |
24227 | done | 13546 | done |
24228 | 13547 | ||
24229 | 13548 | for ac_func in pam_putenv | |
24230 | for ac_func in pam_putenv | 13549 | do : |
24231 | do | 13550 | ac_fn_c_check_func "$LINENO" "pam_putenv" "ac_cv_func_pam_putenv" |
24232 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 13551 | if test "x$ac_cv_func_pam_putenv" = xyes; then : |
24233 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
24234 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
24235 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
24236 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24237 | else | ||
24238 | cat >conftest.$ac_ext <<_ACEOF | ||
24239 | /* confdefs.h. */ | ||
24240 | _ACEOF | ||
24241 | cat confdefs.h >>conftest.$ac_ext | ||
24242 | cat >>conftest.$ac_ext <<_ACEOF | ||
24243 | /* end confdefs.h. */ | ||
24244 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
24245 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
24246 | #define $ac_func innocuous_$ac_func | ||
24247 | |||
24248 | /* System header to define __stub macros and hopefully few prototypes, | ||
24249 | which can conflict with char $ac_func (); below. | ||
24250 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
24251 | <limits.h> exists even on freestanding compilers. */ | ||
24252 | |||
24253 | #ifdef __STDC__ | ||
24254 | # include <limits.h> | ||
24255 | #else | ||
24256 | # include <assert.h> | ||
24257 | #endif | ||
24258 | |||
24259 | #undef $ac_func | ||
24260 | |||
24261 | /* Override any GCC internal prototype to avoid an error. | ||
24262 | Use char because int might match the return type of a GCC | ||
24263 | builtin and then its argument prototype would still apply. */ | ||
24264 | #ifdef __cplusplus | ||
24265 | extern "C" | ||
24266 | #endif | ||
24267 | char $ac_func (); | ||
24268 | /* The GNU C library defines this for functions which it implements | ||
24269 | to always fail with ENOSYS. Some functions are actually named | ||
24270 | something starting with __ and the normal name is an alias. */ | ||
24271 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
24272 | choke me | ||
24273 | #endif | ||
24274 | |||
24275 | int | ||
24276 | main () | ||
24277 | { | ||
24278 | return $ac_func (); | ||
24279 | ; | ||
24280 | return 0; | ||
24281 | } | ||
24282 | _ACEOF | ||
24283 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
24284 | if { (ac_try="$ac_link" | ||
24285 | case "(($ac_try" in | ||
24286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24287 | *) ac_try_echo=$ac_try;; | ||
24288 | esac | ||
24289 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24290 | (eval "$ac_link") 2>conftest.er1 | ||
24291 | ac_status=$? | ||
24292 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24293 | rm -f conftest.er1 | ||
24294 | cat conftest.err >&5 | ||
24295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24296 | (exit $ac_status); } && { | ||
24297 | test -z "$ac_c_werror_flag" || | ||
24298 | test ! -s conftest.err | ||
24299 | } && test -s conftest$ac_exeext && | ||
24300 | $as_test_x conftest$ac_exeext; then | ||
24301 | eval "$as_ac_var=yes" | ||
24302 | else | ||
24303 | echo "$as_me: failed program was:" >&5 | ||
24304 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24305 | |||
24306 | eval "$as_ac_var=no" | ||
24307 | fi | ||
24308 | |||
24309 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
24310 | conftest$ac_exeext conftest.$ac_ext | ||
24311 | fi | ||
24312 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
24313 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
24314 | echo "${ECHO_T}$ac_res" >&6; } | ||
24315 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
24316 | cat >>confdefs.h <<_ACEOF | 13552 | cat >>confdefs.h <<_ACEOF |
24317 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 13553 | #define HAVE_PAM_PUTENV 1 |
24318 | _ACEOF | 13554 | _ACEOF |
24319 | 13555 | ||
24320 | fi | 13556 | fi |
@@ -24326,9 +13562,7 @@ done | |||
24326 | 13562 | ||
24327 | SSHDLIBS="$SSHDLIBS -lpam" | 13563 | SSHDLIBS="$SSHDLIBS -lpam" |
24328 | 13564 | ||
24329 | cat >>confdefs.h <<\_ACEOF | 13565 | $as_echo "#define USE_PAM 1" >>confdefs.h |
24330 | #define USE_PAM 1 | ||
24331 | _ACEOF | ||
24332 | 13566 | ||
24333 | 13567 | ||
24334 | if test $ac_cv_lib_dl_dlopen = yes; then | 13568 | if test $ac_cv_lib_dl_dlopen = yes; then |
@@ -24347,16 +13581,29 @@ _ACEOF | |||
24347 | fi | 13581 | fi |
24348 | 13582 | ||
24349 | 13583 | ||
13584 | |||
13585 | # Check whether --with-pam-service was given. | ||
13586 | if test "${with_pam_service+set}" = set; then : | ||
13587 | withval=$with_pam_service; | ||
13588 | if test "x$withval" != "xno" && \ | ||
13589 | test "x$withval" != "xyes" ; then | ||
13590 | |||
13591 | cat >>confdefs.h <<_ACEOF | ||
13592 | #define SSHD_PAM_SERVICE "$withval" | ||
13593 | _ACEOF | ||
13594 | |||
13595 | fi | ||
13596 | |||
13597 | |||
13598 | fi | ||
13599 | |||
13600 | |||
24350 | # Check for older PAM | 13601 | # Check for older PAM |
24351 | if test "x$PAM_MSG" = "xyes" ; then | 13602 | if test "x$PAM_MSG" = "xyes" ; then |
24352 | # Check PAM strerror arguments (old PAM) | 13603 | # Check PAM strerror arguments (old PAM) |
24353 | { echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 | 13604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pam_strerror takes only one argument" >&5 |
24354 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6; } | 13605 | $as_echo_n "checking whether pam_strerror takes only one argument... " >&6; } |
24355 | cat >conftest.$ac_ext <<_ACEOF | 13606 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24356 | /* confdefs.h. */ | ||
24357 | _ACEOF | ||
24358 | cat confdefs.h >>conftest.$ac_ext | ||
24359 | cat >>conftest.$ac_ext <<_ACEOF | ||
24360 | /* end confdefs.h. */ | 13607 | /* end confdefs.h. */ |
24361 | 13608 | ||
24362 | #include <stdlib.h> | 13609 | #include <stdlib.h> |
@@ -24376,42 +13623,20 @@ main () | |||
24376 | return 0; | 13623 | return 0; |
24377 | } | 13624 | } |
24378 | _ACEOF | 13625 | _ACEOF |
24379 | rm -f conftest.$ac_objext | 13626 | if ac_fn_c_try_compile "$LINENO"; then : |
24380 | if { (ac_try="$ac_compile" | 13627 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
24381 | case "(($ac_try" in | 13628 | $as_echo "no" >&6; } |
24382 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24383 | *) ac_try_echo=$ac_try;; | ||
24384 | esac | ||
24385 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24386 | (eval "$ac_compile") 2>conftest.er1 | ||
24387 | ac_status=$? | ||
24388 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24389 | rm -f conftest.er1 | ||
24390 | cat conftest.err >&5 | ||
24391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24392 | (exit $ac_status); } && { | ||
24393 | test -z "$ac_c_werror_flag" || | ||
24394 | test ! -s conftest.err | ||
24395 | } && test -s conftest.$ac_objext; then | ||
24396 | { echo "$as_me:$LINENO: result: no" >&5 | ||
24397 | echo "${ECHO_T}no" >&6; } | ||
24398 | else | 13629 | else |
24399 | echo "$as_me: failed program was:" >&5 | ||
24400 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24401 | |||
24402 | 13630 | ||
24403 | 13631 | ||
24404 | cat >>confdefs.h <<\_ACEOF | 13632 | $as_echo "#define HAVE_OLD_PAM 1" >>confdefs.h |
24405 | #define HAVE_OLD_PAM 1 | ||
24406 | _ACEOF | ||
24407 | 13633 | ||
24408 | { echo "$as_me:$LINENO: result: yes" >&5 | 13634 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
24409 | echo "${ECHO_T}yes" >&6; } | 13635 | $as_echo "yes" >&6; } |
24410 | PAM_MSG="yes (old library)" | 13636 | PAM_MSG="yes (old library)" |
24411 | 13637 | ||
24412 | 13638 | ||
24413 | fi | 13639 | fi |
24414 | |||
24415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 13640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
24416 | fi | 13641 | fi |
24417 | 13642 | ||
@@ -24425,7 +13650,7 @@ case "$host" in | |||
24425 | esac | 13650 | esac |
24426 | 13651 | ||
24427 | # Check whether --with-privsep-user was given. | 13652 | # Check whether --with-privsep-user was given. |
24428 | if test "${with_privsep_user+set}" = set; then | 13653 | if test "${with_privsep_user+set}" = set; then : |
24429 | withval=$with_privsep_user; | 13654 | withval=$with_privsep_user; |
24430 | if test -n "$withval" && test "x$withval" != "xno" && \ | 13655 | if test -n "$withval" && test "x$withval" != "xno" && \ |
24431 | test "x${withval}" != "xyes"; then | 13656 | test "x${withval}" != "xyes"; then |
@@ -24451,75 +13676,20 @@ fi | |||
24451 | 13676 | ||
24452 | 13677 | ||
24453 | if test "x$have_linux_no_new_privs" = "x1" ; then | 13678 | if test "x$have_linux_no_new_privs" = "x1" ; then |
24454 | { echo "$as_me:$LINENO: checking whether SECCOMP_MODE_FILTER is declared" >&5 | 13679 | ac_fn_c_check_decl "$LINENO" "SECCOMP_MODE_FILTER" "ac_cv_have_decl_SECCOMP_MODE_FILTER" " |
24455 | echo $ECHO_N "checking whether SECCOMP_MODE_FILTER is declared... $ECHO_C" >&6; } | ||
24456 | if test "${ac_cv_have_decl_SECCOMP_MODE_FILTER+set}" = set; then | ||
24457 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24458 | else | ||
24459 | cat >conftest.$ac_ext <<_ACEOF | ||
24460 | /* confdefs.h. */ | ||
24461 | _ACEOF | ||
24462 | cat confdefs.h >>conftest.$ac_ext | ||
24463 | cat >>conftest.$ac_ext <<_ACEOF | ||
24464 | /* end confdefs.h. */ | ||
24465 | |||
24466 | #include <sys/types.h> | 13680 | #include <sys/types.h> |
24467 | #include <linux/seccomp.h> | 13681 | #include <linux/seccomp.h> |
24468 | 13682 | ||
24469 | 13683 | " | |
24470 | int | 13684 | if test "x$ac_cv_have_decl_SECCOMP_MODE_FILTER" = xyes; then : |
24471 | main () | ||
24472 | { | ||
24473 | #ifndef SECCOMP_MODE_FILTER | ||
24474 | (void) SECCOMP_MODE_FILTER; | ||
24475 | #endif | ||
24476 | |||
24477 | ; | ||
24478 | return 0; | ||
24479 | } | ||
24480 | _ACEOF | ||
24481 | rm -f conftest.$ac_objext | ||
24482 | if { (ac_try="$ac_compile" | ||
24483 | case "(($ac_try" in | ||
24484 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24485 | *) ac_try_echo=$ac_try;; | ||
24486 | esac | ||
24487 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24488 | (eval "$ac_compile") 2>conftest.er1 | ||
24489 | ac_status=$? | ||
24490 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24491 | rm -f conftest.er1 | ||
24492 | cat conftest.err >&5 | ||
24493 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24494 | (exit $ac_status); } && { | ||
24495 | test -z "$ac_c_werror_flag" || | ||
24496 | test ! -s conftest.err | ||
24497 | } && test -s conftest.$ac_objext; then | ||
24498 | ac_cv_have_decl_SECCOMP_MODE_FILTER=yes | ||
24499 | else | ||
24500 | echo "$as_me: failed program was:" >&5 | ||
24501 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24502 | |||
24503 | ac_cv_have_decl_SECCOMP_MODE_FILTER=no | ||
24504 | fi | ||
24505 | |||
24506 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24507 | fi | ||
24508 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SECCOMP_MODE_FILTER" >&5 | ||
24509 | echo "${ECHO_T}$ac_cv_have_decl_SECCOMP_MODE_FILTER" >&6; } | ||
24510 | if test $ac_cv_have_decl_SECCOMP_MODE_FILTER = yes; then | ||
24511 | have_seccomp_filter=1 | 13685 | have_seccomp_filter=1 |
24512 | fi | 13686 | fi |
24513 | 13687 | ||
24514 | fi | 13688 | fi |
24515 | if test "x$have_seccomp_filter" = "x1" ; then | 13689 | if test "x$have_seccomp_filter" = "x1" ; then |
24516 | { echo "$as_me:$LINENO: checking kernel for seccomp_filter support" >&5 | 13690 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel for seccomp_filter support" >&5 |
24517 | echo $ECHO_N "checking kernel for seccomp_filter support... $ECHO_C" >&6; } | 13691 | $as_echo_n "checking kernel for seccomp_filter support... " >&6; } |
24518 | cat >conftest.$ac_ext <<_ACEOF | 13692 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24519 | /* confdefs.h. */ | ||
24520 | _ACEOF | ||
24521 | cat confdefs.h >>conftest.$ac_ext | ||
24522 | cat >>conftest.$ac_ext <<_ACEOF | ||
24523 | /* end confdefs.h. */ | 13693 | /* end confdefs.h. */ |
24524 | 13694 | ||
24525 | #include <errno.h> | 13695 | #include <errno.h> |
@@ -24540,48 +13710,27 @@ main () | |||
24540 | return 0; | 13710 | return 0; |
24541 | } | 13711 | } |
24542 | _ACEOF | 13712 | _ACEOF |
24543 | rm -f conftest.$ac_objext conftest$ac_exeext | 13713 | if ac_fn_c_try_link "$LINENO"; then : |
24544 | if { (ac_try="$ac_link" | 13714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
24545 | case "(($ac_try" in | 13715 | $as_echo "yes" >&6; } |
24546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24547 | *) ac_try_echo=$ac_try;; | ||
24548 | esac | ||
24549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24550 | (eval "$ac_link") 2>conftest.er1 | ||
24551 | ac_status=$? | ||
24552 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24553 | rm -f conftest.er1 | ||
24554 | cat conftest.err >&5 | ||
24555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24556 | (exit $ac_status); } && { | ||
24557 | test -z "$ac_c_werror_flag" || | ||
24558 | test ! -s conftest.err | ||
24559 | } && test -s conftest$ac_exeext && | ||
24560 | $as_test_x conftest$ac_exeext; then | ||
24561 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
24562 | echo "${ECHO_T}yes" >&6; } | ||
24563 | else | 13716 | else |
24564 | echo "$as_me: failed program was:" >&5 | ||
24565 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24566 | 13717 | ||
24567 | 13718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
24568 | { echo "$as_me:$LINENO: result: no" >&5 | 13719 | $as_echo "no" >&6; } |
24569 | echo "${ECHO_T}no" >&6; } | ||
24570 | # Disable seccomp filter as a target | 13720 | # Disable seccomp filter as a target |
24571 | have_seccomp_filter=0 | 13721 | have_seccomp_filter=0 |
24572 | 13722 | ||
24573 | 13723 | ||
24574 | fi | 13724 | fi |
24575 | 13725 | rm -f core conftest.err conftest.$ac_objext \ | |
24576 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 13726 | conftest$ac_exeext conftest.$ac_ext |
24577 | conftest$ac_exeext conftest.$ac_ext | ||
24578 | fi | 13727 | fi |
24579 | 13728 | ||
24580 | # Decide which sandbox style to use | 13729 | # Decide which sandbox style to use |
24581 | sandbox_arg="" | 13730 | sandbox_arg="" |
24582 | 13731 | ||
24583 | # Check whether --with-sandbox was given. | 13732 | # Check whether --with-sandbox was given. |
24584 | if test "${with_sandbox+set}" = set; then | 13733 | if test "${with_sandbox+set}" = set; then : |
24585 | withval=$with_sandbox; | 13734 | withval=$with_sandbox; |
24586 | if test "x$withval" = "xyes" ; then | 13735 | if test "x$withval" = "xyes" ; then |
24587 | sandbox_arg="" | 13736 | sandbox_arg="" |
@@ -24596,18 +13745,14 @@ fi | |||
24596 | # Some platforms (seems to be the ones that have a kernel poll(2)-type | 13745 | # Some platforms (seems to be the ones that have a kernel poll(2)-type |
24597 | # function with which they implement select(2)) use an extra file descriptor | 13746 | # function with which they implement select(2)) use an extra file descriptor |
24598 | # when calling select(2), which means we can't use the rlimit sandbox. | 13747 | # when calling select(2), which means we can't use the rlimit sandbox. |
24599 | { echo "$as_me:$LINENO: checking if select works with descriptor rlimit" >&5 | 13748 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select works with descriptor rlimit" >&5 |
24600 | echo $ECHO_N "checking if select works with descriptor rlimit... $ECHO_C" >&6; } | 13749 | $as_echo_n "checking if select works with descriptor rlimit... " >&6; } |
24601 | if test "$cross_compiling" = yes; then | 13750 | if test "$cross_compiling" = yes; then : |
24602 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 | 13751 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 |
24603 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | 13752 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
24604 | 13753 | ||
24605 | else | 13754 | else |
24606 | cat >conftest.$ac_ext <<_ACEOF | 13755 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24607 | /* confdefs.h. */ | ||
24608 | _ACEOF | ||
24609 | cat confdefs.h >>conftest.$ac_ext | ||
24610 | cat >>conftest.$ac_ext <<_ACEOF | ||
24611 | /* end confdefs.h. */ | 13756 | /* end confdefs.h. */ |
24612 | 13757 | ||
24613 | #include <sys/types.h> | 13758 | #include <sys/types.h> |
@@ -24646,56 +13791,28 @@ main () | |||
24646 | return 0; | 13791 | return 0; |
24647 | } | 13792 | } |
24648 | _ACEOF | 13793 | _ACEOF |
24649 | rm -f conftest$ac_exeext | 13794 | if ac_fn_c_try_run "$LINENO"; then : |
24650 | if { (ac_try="$ac_link" | 13795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
24651 | case "(($ac_try" in | 13796 | $as_echo "yes" >&6; } |
24652 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24653 | *) ac_try_echo=$ac_try;; | ||
24654 | esac | ||
24655 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24656 | (eval "$ac_link") 2>&5 | ||
24657 | ac_status=$? | ||
24658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24659 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
24660 | { (case "(($ac_try" in | ||
24661 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24662 | *) ac_try_echo=$ac_try;; | ||
24663 | esac | ||
24664 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24665 | (eval "$ac_try") 2>&5 | ||
24666 | ac_status=$? | ||
24667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24668 | (exit $ac_status); }; }; then | ||
24669 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
24670 | echo "${ECHO_T}yes" >&6; } | ||
24671 | select_works_with_rlimit=yes | 13797 | select_works_with_rlimit=yes |
24672 | else | 13798 | else |
24673 | echo "$as_me: program exited with status $ac_status" >&5 | 13799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
24674 | echo "$as_me: failed program was:" >&5 | 13800 | $as_echo "no" >&6; } |
24675 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24676 | |||
24677 | ( exit $ac_status ) | ||
24678 | { echo "$as_me:$LINENO: result: no" >&5 | ||
24679 | echo "${ECHO_T}no" >&6; } | ||
24680 | select_works_with_rlimit=no | 13801 | select_works_with_rlimit=no |
24681 | fi | 13802 | fi |
24682 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13803 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13804 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
24683 | fi | 13805 | fi |
24684 | 13806 | ||
24685 | 13807 | ||
24686 | 13808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setrlimit(RLIMIT_NOFILE,{0,0}) works" >&5 | |
24687 | { echo "$as_me:$LINENO: checking if setrlimit(RLIMIT_NOFILE,{0,0}) works" >&5 | 13809 | $as_echo_n "checking if setrlimit(RLIMIT_NOFILE,{0,0}) works... " >&6; } |
24688 | echo $ECHO_N "checking if setrlimit(RLIMIT_NOFILE,{0,0}) works... $ECHO_C" >&6; } | 13810 | if test "$cross_compiling" = yes; then : |
24689 | if test "$cross_compiling" = yes; then | 13811 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 |
24690 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 | 13812 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
24691 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | ||
24692 | 13813 | ||
24693 | else | 13814 | else |
24694 | cat >conftest.$ac_ext <<_ACEOF | 13815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24695 | /* confdefs.h. */ | ||
24696 | _ACEOF | ||
24697 | cat confdefs.h >>conftest.$ac_ext | ||
24698 | cat >>conftest.$ac_ext <<_ACEOF | ||
24699 | /* end confdefs.h. */ | 13816 | /* end confdefs.h. */ |
24700 | 13817 | ||
24701 | #include <sys/types.h> | 13818 | #include <sys/types.h> |
@@ -24722,56 +13839,28 @@ main () | |||
24722 | return 0; | 13839 | return 0; |
24723 | } | 13840 | } |
24724 | _ACEOF | 13841 | _ACEOF |
24725 | rm -f conftest$ac_exeext | 13842 | if ac_fn_c_try_run "$LINENO"; then : |
24726 | if { (ac_try="$ac_link" | 13843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
24727 | case "(($ac_try" in | 13844 | $as_echo "yes" >&6; } |
24728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24729 | *) ac_try_echo=$ac_try;; | ||
24730 | esac | ||
24731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24732 | (eval "$ac_link") 2>&5 | ||
24733 | ac_status=$? | ||
24734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24735 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
24736 | { (case "(($ac_try" in | ||
24737 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24738 | *) ac_try_echo=$ac_try;; | ||
24739 | esac | ||
24740 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24741 | (eval "$ac_try") 2>&5 | ||
24742 | ac_status=$? | ||
24743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24744 | (exit $ac_status); }; }; then | ||
24745 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
24746 | echo "${ECHO_T}yes" >&6; } | ||
24747 | rlimit_nofile_zero_works=yes | 13845 | rlimit_nofile_zero_works=yes |
24748 | else | 13846 | else |
24749 | echo "$as_me: program exited with status $ac_status" >&5 | 13847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
24750 | echo "$as_me: failed program was:" >&5 | 13848 | $as_echo "no" >&6; } |
24751 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24752 | |||
24753 | ( exit $ac_status ) | ||
24754 | { echo "$as_me:$LINENO: result: no" >&5 | ||
24755 | echo "${ECHO_T}no" >&6; } | ||
24756 | rlimit_nofile_zero_works=no | 13849 | rlimit_nofile_zero_works=no |
24757 | fi | 13850 | fi |
24758 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13851 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13852 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
24759 | fi | 13853 | fi |
24760 | 13854 | ||
24761 | 13855 | ||
24762 | 13856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setrlimit RLIMIT_FSIZE works" >&5 | |
24763 | { echo "$as_me:$LINENO: checking if setrlimit RLIMIT_FSIZE works" >&5 | 13857 | $as_echo_n "checking if setrlimit RLIMIT_FSIZE works... " >&6; } |
24764 | echo $ECHO_N "checking if setrlimit RLIMIT_FSIZE works... $ECHO_C" >&6; } | 13858 | if test "$cross_compiling" = yes; then : |
24765 | if test "$cross_compiling" = yes; then | 13859 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 |
24766 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 | 13860 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
24767 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | ||
24768 | 13861 | ||
24769 | else | 13862 | else |
24770 | cat >conftest.$ac_ext <<_ACEOF | 13863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
24771 | /* confdefs.h. */ | ||
24772 | _ACEOF | ||
24773 | cat confdefs.h >>conftest.$ac_ext | ||
24774 | cat >>conftest.$ac_ext <<_ACEOF | ||
24775 | /* end confdefs.h. */ | 13864 | /* end confdefs.h. */ |
24776 | 13865 | ||
24777 | #include <sys/types.h> | 13866 | #include <sys/types.h> |
@@ -24791,84 +13880,46 @@ main () | |||
24791 | return 0; | 13880 | return 0; |
24792 | } | 13881 | } |
24793 | _ACEOF | 13882 | _ACEOF |
24794 | rm -f conftest$ac_exeext | 13883 | if ac_fn_c_try_run "$LINENO"; then : |
24795 | if { (ac_try="$ac_link" | 13884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
24796 | case "(($ac_try" in | 13885 | $as_echo "yes" >&6; } |
24797 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24798 | *) ac_try_echo=$ac_try;; | ||
24799 | esac | ||
24800 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24801 | (eval "$ac_link") 2>&5 | ||
24802 | ac_status=$? | ||
24803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24804 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
24805 | { (case "(($ac_try" in | ||
24806 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24807 | *) ac_try_echo=$ac_try;; | ||
24808 | esac | ||
24809 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24810 | (eval "$ac_try") 2>&5 | ||
24811 | ac_status=$? | ||
24812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24813 | (exit $ac_status); }; }; then | ||
24814 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
24815 | echo "${ECHO_T}yes" >&6; } | ||
24816 | else | 13886 | else |
24817 | echo "$as_me: program exited with status $ac_status" >&5 | 13887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
24818 | echo "$as_me: failed program was:" >&5 | 13888 | $as_echo "no" >&6; } |
24819 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24820 | |||
24821 | ( exit $ac_status ) | ||
24822 | { echo "$as_me:$LINENO: result: no" >&5 | ||
24823 | echo "${ECHO_T}no" >&6; } | ||
24824 | 13889 | ||
24825 | cat >>confdefs.h <<\_ACEOF | 13890 | $as_echo "#define SANDBOX_SKIP_RLIMIT_FSIZE 1" >>confdefs.h |
24826 | #define SANDBOX_SKIP_RLIMIT_FSIZE 1 | ||
24827 | _ACEOF | ||
24828 | 13891 | ||
24829 | fi | 13892 | fi |
24830 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 13893 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
13894 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
24831 | fi | 13895 | fi |
24832 | 13896 | ||
24833 | 13897 | ||
24834 | |||
24835 | if test "x$sandbox_arg" = "xpledge" || \ | 13898 | if test "x$sandbox_arg" = "xpledge" || \ |
24836 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_pledge" = "xyes" ) ; then | 13899 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_pledge" = "xyes" ) ; then |
24837 | test "x$ac_cv_func_pledge" != "xyes" && \ | 13900 | test "x$ac_cv_func_pledge" != "xyes" && \ |
24838 | { { echo "$as_me:$LINENO: error: pledge sandbox requires pledge(2) support" >&5 | 13901 | as_fn_error $? "pledge sandbox requires pledge(2) support" "$LINENO" 5 |
24839 | echo "$as_me: error: pledge sandbox requires pledge(2) support" >&2;} | ||
24840 | { (exit 1); exit 1; }; } | ||
24841 | SANDBOX_STYLE="pledge" | 13902 | SANDBOX_STYLE="pledge" |
24842 | 13903 | ||
24843 | cat >>confdefs.h <<\_ACEOF | 13904 | $as_echo "#define SANDBOX_PLEDGE 1" >>confdefs.h |
24844 | #define SANDBOX_PLEDGE 1 | ||
24845 | _ACEOF | ||
24846 | 13905 | ||
24847 | elif test "x$sandbox_arg" = "xsystrace" || \ | 13906 | elif test "x$sandbox_arg" = "xsystrace" || \ |
24848 | ( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then | 13907 | ( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then |
24849 | test "x$have_systr_policy_kill" != "x1" && \ | 13908 | test "x$have_systr_policy_kill" != "x1" && \ |
24850 | { { echo "$as_me:$LINENO: error: systrace sandbox requires systrace headers and SYSTR_POLICY_KILL support" >&5 | 13909 | as_fn_error $? "systrace sandbox requires systrace headers and SYSTR_POLICY_KILL support" "$LINENO" 5 |
24851 | echo "$as_me: error: systrace sandbox requires systrace headers and SYSTR_POLICY_KILL support" >&2;} | ||
24852 | { (exit 1); exit 1; }; } | ||
24853 | SANDBOX_STYLE="systrace" | 13910 | SANDBOX_STYLE="systrace" |
24854 | 13911 | ||
24855 | cat >>confdefs.h <<\_ACEOF | 13912 | $as_echo "#define SANDBOX_SYSTRACE 1" >>confdefs.h |
24856 | #define SANDBOX_SYSTRACE 1 | ||
24857 | _ACEOF | ||
24858 | 13913 | ||
24859 | elif test "x$sandbox_arg" = "xdarwin" || \ | 13914 | elif test "x$sandbox_arg" = "xdarwin" || \ |
24860 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_sandbox_init" = "xyes" && \ | 13915 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_sandbox_init" = "xyes" && \ |
24861 | test "x$ac_cv_header_sandbox_h" = "xyes") ; then | 13916 | test "x$ac_cv_header_sandbox_h" = "xyes") ; then |
24862 | test "x$ac_cv_func_sandbox_init" != "xyes" -o \ | 13917 | test "x$ac_cv_func_sandbox_init" != "xyes" -o \ |
24863 | "x$ac_cv_header_sandbox_h" != "xyes" && \ | 13918 | "x$ac_cv_header_sandbox_h" != "xyes" && \ |
24864 | { { echo "$as_me:$LINENO: error: Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" >&5 | 13919 | as_fn_error $? "Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" "$LINENO" 5 |
24865 | echo "$as_me: error: Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" >&2;} | ||
24866 | { (exit 1); exit 1; }; } | ||
24867 | SANDBOX_STYLE="darwin" | 13920 | SANDBOX_STYLE="darwin" |
24868 | 13921 | ||
24869 | cat >>confdefs.h <<\_ACEOF | 13922 | $as_echo "#define SANDBOX_DARWIN 1" >>confdefs.h |
24870 | #define SANDBOX_DARWIN 1 | ||
24871 | _ACEOF | ||
24872 | 13923 | ||
24873 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | 13924 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ |
24874 | ( test -z "$sandbox_arg" && \ | 13925 | ( test -z "$sandbox_arg" && \ |
@@ -24880,83 +13931,55 @@ elif test "x$sandbox_arg" = "xseccomp_filter" || \ | |||
24880 | test "x$have_linux_no_new_privs" = "x1" && \ | 13931 | test "x$have_linux_no_new_privs" = "x1" && \ |
24881 | test "x$ac_cv_func_prctl" = "xyes" ) ; then | 13932 | test "x$ac_cv_func_prctl" = "xyes" ) ; then |
24882 | test "x$seccomp_audit_arch" = "x" && \ | 13933 | test "x$seccomp_audit_arch" = "x" && \ |
24883 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox not supported on $host" >&5 | 13934 | as_fn_error $? "seccomp_filter sandbox not supported on $host" "$LINENO" 5 |
24884 | echo "$as_me: error: seccomp_filter sandbox not supported on $host" >&2;} | ||
24885 | { (exit 1); exit 1; }; } | ||
24886 | test "x$have_linux_no_new_privs" != "x1" && \ | 13935 | test "x$have_linux_no_new_privs" != "x1" && \ |
24887 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS" >&5 | 13936 | as_fn_error $? "seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS" "$LINENO" 5 |
24888 | echo "$as_me: error: seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS" >&2;} | ||
24889 | { (exit 1); exit 1; }; } | ||
24890 | test "x$have_seccomp_filter" != "x1" && \ | 13937 | test "x$have_seccomp_filter" != "x1" && \ |
24891 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox requires seccomp headers" >&5 | 13938 | as_fn_error $? "seccomp_filter sandbox requires seccomp headers" "$LINENO" 5 |
24892 | echo "$as_me: error: seccomp_filter sandbox requires seccomp headers" >&2;} | ||
24893 | { (exit 1); exit 1; }; } | ||
24894 | test "x$ac_cv_func_prctl" != "xyes" && \ | 13939 | test "x$ac_cv_func_prctl" != "xyes" && \ |
24895 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox requires prctl function" >&5 | 13940 | as_fn_error $? "seccomp_filter sandbox requires prctl function" "$LINENO" 5 |
24896 | echo "$as_me: error: seccomp_filter sandbox requires prctl function" >&2;} | ||
24897 | { (exit 1); exit 1; }; } | ||
24898 | SANDBOX_STYLE="seccomp_filter" | 13941 | SANDBOX_STYLE="seccomp_filter" |
24899 | 13942 | ||
24900 | cat >>confdefs.h <<\_ACEOF | 13943 | $as_echo "#define SANDBOX_SECCOMP_FILTER 1" >>confdefs.h |
24901 | #define SANDBOX_SECCOMP_FILTER 1 | ||
24902 | _ACEOF | ||
24903 | 13944 | ||
24904 | elif test "x$sandbox_arg" = "xcapsicum" || \ | 13945 | elif test "x$sandbox_arg" = "xcapsicum" || \ |
24905 | ( test -z "$sandbox_arg" && \ | 13946 | ( test -z "$sandbox_arg" && \ |
24906 | test "x$ac_cv_header_sys_capability_h" = "xyes" && \ | 13947 | test "x$ac_cv_header_sys_capability_h" = "xyes" && \ |
24907 | test "x$ac_cv_func_cap_rights_limit" = "xyes") ; then | 13948 | test "x$ac_cv_func_cap_rights_limit" = "xyes") ; then |
24908 | test "x$ac_cv_header_sys_capability_h" != "xyes" && \ | 13949 | test "x$ac_cv_header_sys_capability_h" != "xyes" && \ |
24909 | { { echo "$as_me:$LINENO: error: capsicum sandbox requires sys/capability.h header" >&5 | 13950 | as_fn_error $? "capsicum sandbox requires sys/capability.h header" "$LINENO" 5 |
24910 | echo "$as_me: error: capsicum sandbox requires sys/capability.h header" >&2;} | ||
24911 | { (exit 1); exit 1; }; } | ||
24912 | test "x$ac_cv_func_cap_rights_limit" != "xyes" && \ | 13951 | test "x$ac_cv_func_cap_rights_limit" != "xyes" && \ |
24913 | { { echo "$as_me:$LINENO: error: capsicum sandbox requires cap_rights_limit function" >&5 | 13952 | as_fn_error $? "capsicum sandbox requires cap_rights_limit function" "$LINENO" 5 |
24914 | echo "$as_me: error: capsicum sandbox requires cap_rights_limit function" >&2;} | ||
24915 | { (exit 1); exit 1; }; } | ||
24916 | SANDBOX_STYLE="capsicum" | 13953 | SANDBOX_STYLE="capsicum" |
24917 | 13954 | ||
24918 | cat >>confdefs.h <<\_ACEOF | 13955 | $as_echo "#define SANDBOX_CAPSICUM 1" >>confdefs.h |
24919 | #define SANDBOX_CAPSICUM 1 | ||
24920 | _ACEOF | ||
24921 | 13956 | ||
24922 | elif test "x$sandbox_arg" = "xrlimit" || \ | 13957 | elif test "x$sandbox_arg" = "xrlimit" || \ |
24923 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_setrlimit" = "xyes" && \ | 13958 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_setrlimit" = "xyes" && \ |
24924 | test "x$select_works_with_rlimit" = "xyes" && \ | 13959 | test "x$select_works_with_rlimit" = "xyes" && \ |
24925 | test "x$rlimit_nofile_zero_works" = "xyes" ) ; then | 13960 | test "x$rlimit_nofile_zero_works" = "xyes" ) ; then |
24926 | test "x$ac_cv_func_setrlimit" != "xyes" && \ | 13961 | test "x$ac_cv_func_setrlimit" != "xyes" && \ |
24927 | { { echo "$as_me:$LINENO: error: rlimit sandbox requires setrlimit function" >&5 | 13962 | as_fn_error $? "rlimit sandbox requires setrlimit function" "$LINENO" 5 |
24928 | echo "$as_me: error: rlimit sandbox requires setrlimit function" >&2;} | ||
24929 | { (exit 1); exit 1; }; } | ||
24930 | test "x$select_works_with_rlimit" != "xyes" && \ | 13963 | test "x$select_works_with_rlimit" != "xyes" && \ |
24931 | { { echo "$as_me:$LINENO: error: rlimit sandbox requires select to work with rlimit" >&5 | 13964 | as_fn_error $? "rlimit sandbox requires select to work with rlimit" "$LINENO" 5 |
24932 | echo "$as_me: error: rlimit sandbox requires select to work with rlimit" >&2;} | ||
24933 | { (exit 1); exit 1; }; } | ||
24934 | SANDBOX_STYLE="rlimit" | 13965 | SANDBOX_STYLE="rlimit" |
24935 | 13966 | ||
24936 | cat >>confdefs.h <<\_ACEOF | 13967 | $as_echo "#define SANDBOX_RLIMIT 1" >>confdefs.h |
24937 | #define SANDBOX_RLIMIT 1 | ||
24938 | _ACEOF | ||
24939 | 13968 | ||
24940 | elif test "x$sandbox_arg" = "xsolaris" || \ | 13969 | elif test "x$sandbox_arg" = "xsolaris" || \ |
24941 | ( test -z "$sandbox_arg" && test "x$SOLARIS_PRIVS" = "xyes" ) ; then | 13970 | ( test -z "$sandbox_arg" && test "x$SOLARIS_PRIVS" = "xyes" ) ; then |
24942 | SANDBOX_STYLE="solaris" | 13971 | SANDBOX_STYLE="solaris" |
24943 | 13972 | ||
24944 | cat >>confdefs.h <<\_ACEOF | 13973 | $as_echo "#define SANDBOX_SOLARIS 1" >>confdefs.h |
24945 | #define SANDBOX_SOLARIS 1 | ||
24946 | _ACEOF | ||
24947 | 13974 | ||
24948 | elif test -z "$sandbox_arg" || test "x$sandbox_arg" = "xno" || \ | 13975 | elif test -z "$sandbox_arg" || test "x$sandbox_arg" = "xno" || \ |
24949 | test "x$sandbox_arg" = "xnone" || test "x$sandbox_arg" = "xnull" ; then | 13976 | test "x$sandbox_arg" = "xnone" || test "x$sandbox_arg" = "xnull" ; then |
24950 | SANDBOX_STYLE="none" | 13977 | SANDBOX_STYLE="none" |
24951 | 13978 | ||
24952 | cat >>confdefs.h <<\_ACEOF | 13979 | $as_echo "#define SANDBOX_NULL 1" >>confdefs.h |
24953 | #define SANDBOX_NULL 1 | ||
24954 | _ACEOF | ||
24955 | 13980 | ||
24956 | else | 13981 | else |
24957 | { { echo "$as_me:$LINENO: error: unsupported --with-sandbox" >&5 | 13982 | as_fn_error $? "unsupported --with-sandbox" "$LINENO" 5 |
24958 | echo "$as_me: error: unsupported --with-sandbox" >&2;} | ||
24959 | { (exit 1); exit 1; }; } | ||
24960 | fi | 13983 | fi |
24961 | 13984 | ||
24962 | # Cheap hack to ensure NEWS-OS libraries are arranged right. | 13985 | # Cheap hack to ensure NEWS-OS libraries are arranged right. |
@@ -24965,60 +13988,8 @@ if test ! -z "$SONY" ; then | |||
24965 | fi | 13988 | fi |
24966 | 13989 | ||
24967 | # Check for long long datatypes | 13990 | # Check for long long datatypes |
24968 | { echo "$as_me:$LINENO: checking for long long" >&5 | 13991 | ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" |
24969 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } | 13992 | if test "x$ac_cv_type_long_long" = xyes; then : |
24970 | if test "${ac_cv_type_long_long+set}" = set; then | ||
24971 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24972 | else | ||
24973 | cat >conftest.$ac_ext <<_ACEOF | ||
24974 | /* confdefs.h. */ | ||
24975 | _ACEOF | ||
24976 | cat confdefs.h >>conftest.$ac_ext | ||
24977 | cat >>conftest.$ac_ext <<_ACEOF | ||
24978 | /* end confdefs.h. */ | ||
24979 | $ac_includes_default | ||
24980 | typedef long long ac__type_new_; | ||
24981 | int | ||
24982 | main () | ||
24983 | { | ||
24984 | if ((ac__type_new_ *) 0) | ||
24985 | return 0; | ||
24986 | if (sizeof (ac__type_new_)) | ||
24987 | return 0; | ||
24988 | ; | ||
24989 | return 0; | ||
24990 | } | ||
24991 | _ACEOF | ||
24992 | rm -f conftest.$ac_objext | ||
24993 | if { (ac_try="$ac_compile" | ||
24994 | case "(($ac_try" in | ||
24995 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24996 | *) ac_try_echo=$ac_try;; | ||
24997 | esac | ||
24998 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24999 | (eval "$ac_compile") 2>conftest.er1 | ||
25000 | ac_status=$? | ||
25001 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25002 | rm -f conftest.er1 | ||
25003 | cat conftest.err >&5 | ||
25004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25005 | (exit $ac_status); } && { | ||
25006 | test -z "$ac_c_werror_flag" || | ||
25007 | test ! -s conftest.err | ||
25008 | } && test -s conftest.$ac_objext; then | ||
25009 | ac_cv_type_long_long=yes | ||
25010 | else | ||
25011 | echo "$as_me: failed program was:" >&5 | ||
25012 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25013 | |||
25014 | ac_cv_type_long_long=no | ||
25015 | fi | ||
25016 | |||
25017 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25018 | fi | ||
25019 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | ||
25020 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } | ||
25021 | if test $ac_cv_type_long_long = yes; then | ||
25022 | 13993 | ||
25023 | cat >>confdefs.h <<_ACEOF | 13994 | cat >>confdefs.h <<_ACEOF |
25024 | #define HAVE_LONG_LONG 1 | 13995 | #define HAVE_LONG_LONG 1 |
@@ -25026,60 +13997,8 @@ _ACEOF | |||
25026 | 13997 | ||
25027 | 13998 | ||
25028 | fi | 13999 | fi |
25029 | { echo "$as_me:$LINENO: checking for unsigned long long" >&5 | 14000 | ac_fn_c_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default" |
25030 | echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } | 14001 | if test "x$ac_cv_type_unsigned_long_long" = xyes; then : |
25031 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then | ||
25032 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25033 | else | ||
25034 | cat >conftest.$ac_ext <<_ACEOF | ||
25035 | /* confdefs.h. */ | ||
25036 | _ACEOF | ||
25037 | cat confdefs.h >>conftest.$ac_ext | ||
25038 | cat >>conftest.$ac_ext <<_ACEOF | ||
25039 | /* end confdefs.h. */ | ||
25040 | $ac_includes_default | ||
25041 | typedef unsigned long long ac__type_new_; | ||
25042 | int | ||
25043 | main () | ||
25044 | { | ||
25045 | if ((ac__type_new_ *) 0) | ||
25046 | return 0; | ||
25047 | if (sizeof (ac__type_new_)) | ||
25048 | return 0; | ||
25049 | ; | ||
25050 | return 0; | ||
25051 | } | ||
25052 | _ACEOF | ||
25053 | rm -f conftest.$ac_objext | ||
25054 | if { (ac_try="$ac_compile" | ||
25055 | case "(($ac_try" in | ||
25056 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25057 | *) ac_try_echo=$ac_try;; | ||
25058 | esac | ||
25059 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25060 | (eval "$ac_compile") 2>conftest.er1 | ||
25061 | ac_status=$? | ||
25062 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25063 | rm -f conftest.er1 | ||
25064 | cat conftest.err >&5 | ||
25065 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25066 | (exit $ac_status); } && { | ||
25067 | test -z "$ac_c_werror_flag" || | ||
25068 | test ! -s conftest.err | ||
25069 | } && test -s conftest.$ac_objext; then | ||
25070 | ac_cv_type_unsigned_long_long=yes | ||
25071 | else | ||
25072 | echo "$as_me: failed program was:" >&5 | ||
25073 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25074 | |||
25075 | ac_cv_type_unsigned_long_long=no | ||
25076 | fi | ||
25077 | |||
25078 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25079 | fi | ||
25080 | { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 | ||
25081 | echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } | ||
25082 | if test $ac_cv_type_unsigned_long_long = yes; then | ||
25083 | 14002 | ||
25084 | cat >>confdefs.h <<_ACEOF | 14003 | cat >>confdefs.h <<_ACEOF |
25085 | #define HAVE_UNSIGNED_LONG_LONG 1 | 14004 | #define HAVE_UNSIGNED_LONG_LONG 1 |
@@ -25087,60 +14006,8 @@ _ACEOF | |||
25087 | 14006 | ||
25088 | 14007 | ||
25089 | fi | 14008 | fi |
25090 | { echo "$as_me:$LINENO: checking for long double" >&5 | 14009 | ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "$ac_includes_default" |
25091 | echo $ECHO_N "checking for long double... $ECHO_C" >&6; } | 14010 | if test "x$ac_cv_type_long_double" = xyes; then : |
25092 | if test "${ac_cv_type_long_double+set}" = set; then | ||
25093 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25094 | else | ||
25095 | cat >conftest.$ac_ext <<_ACEOF | ||
25096 | /* confdefs.h. */ | ||
25097 | _ACEOF | ||
25098 | cat confdefs.h >>conftest.$ac_ext | ||
25099 | cat >>conftest.$ac_ext <<_ACEOF | ||
25100 | /* end confdefs.h. */ | ||
25101 | $ac_includes_default | ||
25102 | typedef long double ac__type_new_; | ||
25103 | int | ||
25104 | main () | ||
25105 | { | ||
25106 | if ((ac__type_new_ *) 0) | ||
25107 | return 0; | ||
25108 | if (sizeof (ac__type_new_)) | ||
25109 | return 0; | ||
25110 | ; | ||
25111 | return 0; | ||
25112 | } | ||
25113 | _ACEOF | ||
25114 | rm -f conftest.$ac_objext | ||
25115 | if { (ac_try="$ac_compile" | ||
25116 | case "(($ac_try" in | ||
25117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25118 | *) ac_try_echo=$ac_try;; | ||
25119 | esac | ||
25120 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25121 | (eval "$ac_compile") 2>conftest.er1 | ||
25122 | ac_status=$? | ||
25123 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25124 | rm -f conftest.er1 | ||
25125 | cat conftest.err >&5 | ||
25126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25127 | (exit $ac_status); } && { | ||
25128 | test -z "$ac_c_werror_flag" || | ||
25129 | test ! -s conftest.err | ||
25130 | } && test -s conftest.$ac_objext; then | ||
25131 | ac_cv_type_long_double=yes | ||
25132 | else | ||
25133 | echo "$as_me: failed program was:" >&5 | ||
25134 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25135 | |||
25136 | ac_cv_type_long_double=no | ||
25137 | fi | ||
25138 | |||
25139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25140 | fi | ||
25141 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 | ||
25142 | echo "${ECHO_T}$ac_cv_type_long_double" >&6; } | ||
25143 | if test $ac_cv_type_long_double = yes; then | ||
25144 | 14011 | ||
25145 | cat >>confdefs.h <<_ACEOF | 14012 | cat >>confdefs.h <<_ACEOF |
25146 | #define HAVE_LONG_DOUBLE 1 | 14013 | #define HAVE_LONG_DOUBLE 1 |
@@ -25151,403 +14018,31 @@ fi | |||
25151 | 14018 | ||
25152 | 14019 | ||
25153 | # Check datatype sizes | 14020 | # Check datatype sizes |
25154 | { echo "$as_me:$LINENO: checking for short int" >&5 | ||
25155 | echo $ECHO_N "checking for short int... $ECHO_C" >&6; } | ||
25156 | if test "${ac_cv_type_short_int+set}" = set; then | ||
25157 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25158 | else | ||
25159 | cat >conftest.$ac_ext <<_ACEOF | ||
25160 | /* confdefs.h. */ | ||
25161 | _ACEOF | ||
25162 | cat confdefs.h >>conftest.$ac_ext | ||
25163 | cat >>conftest.$ac_ext <<_ACEOF | ||
25164 | /* end confdefs.h. */ | ||
25165 | $ac_includes_default | ||
25166 | typedef short int ac__type_new_; | ||
25167 | int | ||
25168 | main () | ||
25169 | { | ||
25170 | if ((ac__type_new_ *) 0) | ||
25171 | return 0; | ||
25172 | if (sizeof (ac__type_new_)) | ||
25173 | return 0; | ||
25174 | ; | ||
25175 | return 0; | ||
25176 | } | ||
25177 | _ACEOF | ||
25178 | rm -f conftest.$ac_objext | ||
25179 | if { (ac_try="$ac_compile" | ||
25180 | case "(($ac_try" in | ||
25181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25182 | *) ac_try_echo=$ac_try;; | ||
25183 | esac | ||
25184 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25185 | (eval "$ac_compile") 2>conftest.er1 | ||
25186 | ac_status=$? | ||
25187 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25188 | rm -f conftest.er1 | ||
25189 | cat conftest.err >&5 | ||
25190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25191 | (exit $ac_status); } && { | ||
25192 | test -z "$ac_c_werror_flag" || | ||
25193 | test ! -s conftest.err | ||
25194 | } && test -s conftest.$ac_objext; then | ||
25195 | ac_cv_type_short_int=yes | ||
25196 | else | ||
25197 | echo "$as_me: failed program was:" >&5 | ||
25198 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25199 | |||
25200 | ac_cv_type_short_int=no | ||
25201 | fi | ||
25202 | |||
25203 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25204 | fi | ||
25205 | { echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | ||
25206 | echo "${ECHO_T}$ac_cv_type_short_int" >&6; } | ||
25207 | |||
25208 | # The cast to long int works around a bug in the HP C Compiler | 14021 | # The cast to long int works around a bug in the HP C Compiler |
25209 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 14022 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
25210 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 14023 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
25211 | # This bug is HP SR number 8606223364. | 14024 | # This bug is HP SR number 8606223364. |
25212 | { echo "$as_me:$LINENO: checking size of short int" >&5 | 14025 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5 |
25213 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6; } | 14026 | $as_echo_n "checking size of short int... " >&6; } |
25214 | if test "${ac_cv_sizeof_short_int+set}" = set; then | 14027 | if ${ac_cv_sizeof_short_int+:} false; then : |
25215 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14028 | $as_echo_n "(cached) " >&6 |
25216 | else | ||
25217 | if test "$cross_compiling" = yes; then | ||
25218 | # Depending upon the size, compute the lo and hi bounds. | ||
25219 | cat >conftest.$ac_ext <<_ACEOF | ||
25220 | /* confdefs.h. */ | ||
25221 | _ACEOF | ||
25222 | cat confdefs.h >>conftest.$ac_ext | ||
25223 | cat >>conftest.$ac_ext <<_ACEOF | ||
25224 | /* end confdefs.h. */ | ||
25225 | $ac_includes_default | ||
25226 | typedef short int ac__type_sizeof_; | ||
25227 | int | ||
25228 | main () | ||
25229 | { | ||
25230 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
25231 | test_array [0] = 0 | ||
25232 | |||
25233 | ; | ||
25234 | return 0; | ||
25235 | } | ||
25236 | _ACEOF | ||
25237 | rm -f conftest.$ac_objext | ||
25238 | if { (ac_try="$ac_compile" | ||
25239 | case "(($ac_try" in | ||
25240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25241 | *) ac_try_echo=$ac_try;; | ||
25242 | esac | ||
25243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25244 | (eval "$ac_compile") 2>conftest.er1 | ||
25245 | ac_status=$? | ||
25246 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25247 | rm -f conftest.er1 | ||
25248 | cat conftest.err >&5 | ||
25249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25250 | (exit $ac_status); } && { | ||
25251 | test -z "$ac_c_werror_flag" || | ||
25252 | test ! -s conftest.err | ||
25253 | } && test -s conftest.$ac_objext; then | ||
25254 | ac_lo=0 ac_mid=0 | ||
25255 | while :; do | ||
25256 | cat >conftest.$ac_ext <<_ACEOF | ||
25257 | /* confdefs.h. */ | ||
25258 | _ACEOF | ||
25259 | cat confdefs.h >>conftest.$ac_ext | ||
25260 | cat >>conftest.$ac_ext <<_ACEOF | ||
25261 | /* end confdefs.h. */ | ||
25262 | $ac_includes_default | ||
25263 | typedef short int ac__type_sizeof_; | ||
25264 | int | ||
25265 | main () | ||
25266 | { | ||
25267 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25268 | test_array [0] = 0 | ||
25269 | |||
25270 | ; | ||
25271 | return 0; | ||
25272 | } | ||
25273 | _ACEOF | ||
25274 | rm -f conftest.$ac_objext | ||
25275 | if { (ac_try="$ac_compile" | ||
25276 | case "(($ac_try" in | ||
25277 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25278 | *) ac_try_echo=$ac_try;; | ||
25279 | esac | ||
25280 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25281 | (eval "$ac_compile") 2>conftest.er1 | ||
25282 | ac_status=$? | ||
25283 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25284 | rm -f conftest.er1 | ||
25285 | cat conftest.err >&5 | ||
25286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25287 | (exit $ac_status); } && { | ||
25288 | test -z "$ac_c_werror_flag" || | ||
25289 | test ! -s conftest.err | ||
25290 | } && test -s conftest.$ac_objext; then | ||
25291 | ac_hi=$ac_mid; break | ||
25292 | else | 14029 | else |
25293 | echo "$as_me: failed program was:" >&5 | 14030 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then : |
25294 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25295 | |||
25296 | ac_lo=`expr $ac_mid + 1` | ||
25297 | if test $ac_lo -le $ac_mid; then | ||
25298 | ac_lo= ac_hi= | ||
25299 | break | ||
25300 | fi | ||
25301 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
25302 | fi | ||
25303 | 14031 | ||
25304 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25305 | done | ||
25306 | else | 14032 | else |
25307 | echo "$as_me: failed program was:" >&5 | 14033 | if test "$ac_cv_type_short_int" = yes; then |
25308 | sed 's/^/| /' conftest.$ac_ext >&5 | 14034 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
25309 | 14035 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
25310 | cat >conftest.$ac_ext <<_ACEOF | 14036 | as_fn_error 77 "cannot compute sizeof (short int) |
25311 | /* confdefs.h. */ | 14037 | See \`config.log' for more details" "$LINENO" 5; } |
25312 | _ACEOF | ||
25313 | cat confdefs.h >>conftest.$ac_ext | ||
25314 | cat >>conftest.$ac_ext <<_ACEOF | ||
25315 | /* end confdefs.h. */ | ||
25316 | $ac_includes_default | ||
25317 | typedef short int ac__type_sizeof_; | ||
25318 | int | ||
25319 | main () | ||
25320 | { | ||
25321 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
25322 | test_array [0] = 0 | ||
25323 | |||
25324 | ; | ||
25325 | return 0; | ||
25326 | } | ||
25327 | _ACEOF | ||
25328 | rm -f conftest.$ac_objext | ||
25329 | if { (ac_try="$ac_compile" | ||
25330 | case "(($ac_try" in | ||
25331 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25332 | *) ac_try_echo=$ac_try;; | ||
25333 | esac | ||
25334 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25335 | (eval "$ac_compile") 2>conftest.er1 | ||
25336 | ac_status=$? | ||
25337 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25338 | rm -f conftest.er1 | ||
25339 | cat conftest.err >&5 | ||
25340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25341 | (exit $ac_status); } && { | ||
25342 | test -z "$ac_c_werror_flag" || | ||
25343 | test ! -s conftest.err | ||
25344 | } && test -s conftest.$ac_objext; then | ||
25345 | ac_hi=-1 ac_mid=-1 | ||
25346 | while :; do | ||
25347 | cat >conftest.$ac_ext <<_ACEOF | ||
25348 | /* confdefs.h. */ | ||
25349 | _ACEOF | ||
25350 | cat confdefs.h >>conftest.$ac_ext | ||
25351 | cat >>conftest.$ac_ext <<_ACEOF | ||
25352 | /* end confdefs.h. */ | ||
25353 | $ac_includes_default | ||
25354 | typedef short int ac__type_sizeof_; | ||
25355 | int | ||
25356 | main () | ||
25357 | { | ||
25358 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
25359 | test_array [0] = 0 | ||
25360 | |||
25361 | ; | ||
25362 | return 0; | ||
25363 | } | ||
25364 | _ACEOF | ||
25365 | rm -f conftest.$ac_objext | ||
25366 | if { (ac_try="$ac_compile" | ||
25367 | case "(($ac_try" in | ||
25368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25369 | *) ac_try_echo=$ac_try;; | ||
25370 | esac | ||
25371 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25372 | (eval "$ac_compile") 2>conftest.er1 | ||
25373 | ac_status=$? | ||
25374 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25375 | rm -f conftest.er1 | ||
25376 | cat conftest.err >&5 | ||
25377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25378 | (exit $ac_status); } && { | ||
25379 | test -z "$ac_c_werror_flag" || | ||
25380 | test ! -s conftest.err | ||
25381 | } && test -s conftest.$ac_objext; then | ||
25382 | ac_lo=$ac_mid; break | ||
25383 | else | ||
25384 | echo "$as_me: failed program was:" >&5 | ||
25385 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25386 | |||
25387 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
25388 | if test $ac_mid -le $ac_hi; then | ||
25389 | ac_lo= ac_hi= | ||
25390 | break | ||
25391 | fi | ||
25392 | ac_mid=`expr 2 '*' $ac_mid` | ||
25393 | fi | ||
25394 | |||
25395 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25396 | done | ||
25397 | else | ||
25398 | echo "$as_me: failed program was:" >&5 | ||
25399 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25400 | |||
25401 | ac_lo= ac_hi= | ||
25402 | fi | ||
25403 | |||
25404 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25405 | fi | ||
25406 | |||
25407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25408 | # Binary search between lo and hi bounds. | ||
25409 | while test "x$ac_lo" != "x$ac_hi"; do | ||
25410 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
25411 | cat >conftest.$ac_ext <<_ACEOF | ||
25412 | /* confdefs.h. */ | ||
25413 | _ACEOF | ||
25414 | cat confdefs.h >>conftest.$ac_ext | ||
25415 | cat >>conftest.$ac_ext <<_ACEOF | ||
25416 | /* end confdefs.h. */ | ||
25417 | $ac_includes_default | ||
25418 | typedef short int ac__type_sizeof_; | ||
25419 | int | ||
25420 | main () | ||
25421 | { | ||
25422 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25423 | test_array [0] = 0 | ||
25424 | |||
25425 | ; | ||
25426 | return 0; | ||
25427 | } | ||
25428 | _ACEOF | ||
25429 | rm -f conftest.$ac_objext | ||
25430 | if { (ac_try="$ac_compile" | ||
25431 | case "(($ac_try" in | ||
25432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25433 | *) ac_try_echo=$ac_try;; | ||
25434 | esac | ||
25435 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25436 | (eval "$ac_compile") 2>conftest.er1 | ||
25437 | ac_status=$? | ||
25438 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25439 | rm -f conftest.er1 | ||
25440 | cat conftest.err >&5 | ||
25441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25442 | (exit $ac_status); } && { | ||
25443 | test -z "$ac_c_werror_flag" || | ||
25444 | test ! -s conftest.err | ||
25445 | } && test -s conftest.$ac_objext; then | ||
25446 | ac_hi=$ac_mid | ||
25447 | else | ||
25448 | echo "$as_me: failed program was:" >&5 | ||
25449 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25450 | |||
25451 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
25452 | fi | ||
25453 | |||
25454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25455 | done | ||
25456 | case $ac_lo in | ||
25457 | ?*) ac_cv_sizeof_short_int=$ac_lo;; | ||
25458 | '') if test "$ac_cv_type_short_int" = yes; then | ||
25459 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) | ||
25460 | See \`config.log' for more details." >&5 | ||
25461 | echo "$as_me: error: cannot compute sizeof (short int) | ||
25462 | See \`config.log' for more details." >&2;} | ||
25463 | { (exit 77); exit 77; }; } | ||
25464 | else | ||
25465 | ac_cv_sizeof_short_int=0 | ||
25466 | fi ;; | ||
25467 | esac | ||
25468 | else | ||
25469 | cat >conftest.$ac_ext <<_ACEOF | ||
25470 | /* confdefs.h. */ | ||
25471 | _ACEOF | ||
25472 | cat confdefs.h >>conftest.$ac_ext | ||
25473 | cat >>conftest.$ac_ext <<_ACEOF | ||
25474 | /* end confdefs.h. */ | ||
25475 | $ac_includes_default | ||
25476 | typedef short int ac__type_sizeof_; | ||
25477 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25478 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25479 | #include <stdio.h> | ||
25480 | #include <stdlib.h> | ||
25481 | int | ||
25482 | main () | ||
25483 | { | ||
25484 | |||
25485 | FILE *f = fopen ("conftest.val", "w"); | ||
25486 | if (! f) | ||
25487 | return 1; | ||
25488 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
25489 | { | ||
25490 | long int i = longval (); | ||
25491 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25492 | return 1; | ||
25493 | fprintf (f, "%ld\n", i); | ||
25494 | } | ||
25495 | else | ||
25496 | { | ||
25497 | unsigned long int i = ulongval (); | ||
25498 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25499 | return 1; | ||
25500 | fprintf (f, "%lu\n", i); | ||
25501 | } | ||
25502 | return ferror (f) || fclose (f) != 0; | ||
25503 | |||
25504 | ; | ||
25505 | return 0; | ||
25506 | } | ||
25507 | _ACEOF | ||
25508 | rm -f conftest$ac_exeext | ||
25509 | if { (ac_try="$ac_link" | ||
25510 | case "(($ac_try" in | ||
25511 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25512 | *) ac_try_echo=$ac_try;; | ||
25513 | esac | ||
25514 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25515 | (eval "$ac_link") 2>&5 | ||
25516 | ac_status=$? | ||
25517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25518 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
25519 | { (case "(($ac_try" in | ||
25520 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25521 | *) ac_try_echo=$ac_try;; | ||
25522 | esac | ||
25523 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25524 | (eval "$ac_try") 2>&5 | ||
25525 | ac_status=$? | ||
25526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25527 | (exit $ac_status); }; }; then | ||
25528 | ac_cv_sizeof_short_int=`cat conftest.val` | ||
25529 | else | ||
25530 | echo "$as_me: program exited with status $ac_status" >&5 | ||
25531 | echo "$as_me: failed program was:" >&5 | ||
25532 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25533 | |||
25534 | ( exit $ac_status ) | ||
25535 | if test "$ac_cv_type_short_int" = yes; then | ||
25536 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) | ||
25537 | See \`config.log' for more details." >&5 | ||
25538 | echo "$as_me: error: cannot compute sizeof (short int) | ||
25539 | See \`config.log' for more details." >&2;} | ||
25540 | { (exit 77); exit 77; }; } | ||
25541 | else | 14038 | else |
25542 | ac_cv_sizeof_short_int=0 | 14039 | ac_cv_sizeof_short_int=0 |
25543 | fi | 14040 | fi |
25544 | fi | 14041 | fi |
25545 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14042 | |
25546 | fi | ||
25547 | rm -f conftest.val | ||
25548 | fi | 14043 | fi |
25549 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 | 14044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5 |
25550 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; } | 14045 | $as_echo "$ac_cv_sizeof_short_int" >&6; } |
25551 | 14046 | ||
25552 | 14047 | ||
25553 | 14048 | ||
@@ -25556,403 +14051,31 @@ cat >>confdefs.h <<_ACEOF | |||
25556 | _ACEOF | 14051 | _ACEOF |
25557 | 14052 | ||
25558 | 14053 | ||
25559 | { echo "$as_me:$LINENO: checking for int" >&5 | ||
25560 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } | ||
25561 | if test "${ac_cv_type_int+set}" = set; then | ||
25562 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25563 | else | ||
25564 | cat >conftest.$ac_ext <<_ACEOF | ||
25565 | /* confdefs.h. */ | ||
25566 | _ACEOF | ||
25567 | cat confdefs.h >>conftest.$ac_ext | ||
25568 | cat >>conftest.$ac_ext <<_ACEOF | ||
25569 | /* end confdefs.h. */ | ||
25570 | $ac_includes_default | ||
25571 | typedef int ac__type_new_; | ||
25572 | int | ||
25573 | main () | ||
25574 | { | ||
25575 | if ((ac__type_new_ *) 0) | ||
25576 | return 0; | ||
25577 | if (sizeof (ac__type_new_)) | ||
25578 | return 0; | ||
25579 | ; | ||
25580 | return 0; | ||
25581 | } | ||
25582 | _ACEOF | ||
25583 | rm -f conftest.$ac_objext | ||
25584 | if { (ac_try="$ac_compile" | ||
25585 | case "(($ac_try" in | ||
25586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25587 | *) ac_try_echo=$ac_try;; | ||
25588 | esac | ||
25589 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25590 | (eval "$ac_compile") 2>conftest.er1 | ||
25591 | ac_status=$? | ||
25592 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25593 | rm -f conftest.er1 | ||
25594 | cat conftest.err >&5 | ||
25595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25596 | (exit $ac_status); } && { | ||
25597 | test -z "$ac_c_werror_flag" || | ||
25598 | test ! -s conftest.err | ||
25599 | } && test -s conftest.$ac_objext; then | ||
25600 | ac_cv_type_int=yes | ||
25601 | else | ||
25602 | echo "$as_me: failed program was:" >&5 | ||
25603 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25604 | |||
25605 | ac_cv_type_int=no | ||
25606 | fi | ||
25607 | |||
25608 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25609 | fi | ||
25610 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | ||
25611 | echo "${ECHO_T}$ac_cv_type_int" >&6; } | ||
25612 | |||
25613 | # The cast to long int works around a bug in the HP C Compiler | 14054 | # The cast to long int works around a bug in the HP C Compiler |
25614 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 14055 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
25615 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 14056 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
25616 | # This bug is HP SR number 8606223364. | 14057 | # This bug is HP SR number 8606223364. |
25617 | { echo "$as_me:$LINENO: checking size of int" >&5 | 14058 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 |
25618 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } | 14059 | $as_echo_n "checking size of int... " >&6; } |
25619 | if test "${ac_cv_sizeof_int+set}" = set; then | 14060 | if ${ac_cv_sizeof_int+:} false; then : |
25620 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14061 | $as_echo_n "(cached) " >&6 |
25621 | else | ||
25622 | if test "$cross_compiling" = yes; then | ||
25623 | # Depending upon the size, compute the lo and hi bounds. | ||
25624 | cat >conftest.$ac_ext <<_ACEOF | ||
25625 | /* confdefs.h. */ | ||
25626 | _ACEOF | ||
25627 | cat confdefs.h >>conftest.$ac_ext | ||
25628 | cat >>conftest.$ac_ext <<_ACEOF | ||
25629 | /* end confdefs.h. */ | ||
25630 | $ac_includes_default | ||
25631 | typedef int ac__type_sizeof_; | ||
25632 | int | ||
25633 | main () | ||
25634 | { | ||
25635 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
25636 | test_array [0] = 0 | ||
25637 | |||
25638 | ; | ||
25639 | return 0; | ||
25640 | } | ||
25641 | _ACEOF | ||
25642 | rm -f conftest.$ac_objext | ||
25643 | if { (ac_try="$ac_compile" | ||
25644 | case "(($ac_try" in | ||
25645 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25646 | *) ac_try_echo=$ac_try;; | ||
25647 | esac | ||
25648 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25649 | (eval "$ac_compile") 2>conftest.er1 | ||
25650 | ac_status=$? | ||
25651 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25652 | rm -f conftest.er1 | ||
25653 | cat conftest.err >&5 | ||
25654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25655 | (exit $ac_status); } && { | ||
25656 | test -z "$ac_c_werror_flag" || | ||
25657 | test ! -s conftest.err | ||
25658 | } && test -s conftest.$ac_objext; then | ||
25659 | ac_lo=0 ac_mid=0 | ||
25660 | while :; do | ||
25661 | cat >conftest.$ac_ext <<_ACEOF | ||
25662 | /* confdefs.h. */ | ||
25663 | _ACEOF | ||
25664 | cat confdefs.h >>conftest.$ac_ext | ||
25665 | cat >>conftest.$ac_ext <<_ACEOF | ||
25666 | /* end confdefs.h. */ | ||
25667 | $ac_includes_default | ||
25668 | typedef int ac__type_sizeof_; | ||
25669 | int | ||
25670 | main () | ||
25671 | { | ||
25672 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25673 | test_array [0] = 0 | ||
25674 | |||
25675 | ; | ||
25676 | return 0; | ||
25677 | } | ||
25678 | _ACEOF | ||
25679 | rm -f conftest.$ac_objext | ||
25680 | if { (ac_try="$ac_compile" | ||
25681 | case "(($ac_try" in | ||
25682 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25683 | *) ac_try_echo=$ac_try;; | ||
25684 | esac | ||
25685 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25686 | (eval "$ac_compile") 2>conftest.er1 | ||
25687 | ac_status=$? | ||
25688 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25689 | rm -f conftest.er1 | ||
25690 | cat conftest.err >&5 | ||
25691 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25692 | (exit $ac_status); } && { | ||
25693 | test -z "$ac_c_werror_flag" || | ||
25694 | test ! -s conftest.err | ||
25695 | } && test -s conftest.$ac_objext; then | ||
25696 | ac_hi=$ac_mid; break | ||
25697 | else | ||
25698 | echo "$as_me: failed program was:" >&5 | ||
25699 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25700 | |||
25701 | ac_lo=`expr $ac_mid + 1` | ||
25702 | if test $ac_lo -le $ac_mid; then | ||
25703 | ac_lo= ac_hi= | ||
25704 | break | ||
25705 | fi | ||
25706 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
25707 | fi | ||
25708 | |||
25709 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25710 | done | ||
25711 | else | ||
25712 | echo "$as_me: failed program was:" >&5 | ||
25713 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25714 | |||
25715 | cat >conftest.$ac_ext <<_ACEOF | ||
25716 | /* confdefs.h. */ | ||
25717 | _ACEOF | ||
25718 | cat confdefs.h >>conftest.$ac_ext | ||
25719 | cat >>conftest.$ac_ext <<_ACEOF | ||
25720 | /* end confdefs.h. */ | ||
25721 | $ac_includes_default | ||
25722 | typedef int ac__type_sizeof_; | ||
25723 | int | ||
25724 | main () | ||
25725 | { | ||
25726 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
25727 | test_array [0] = 0 | ||
25728 | |||
25729 | ; | ||
25730 | return 0; | ||
25731 | } | ||
25732 | _ACEOF | ||
25733 | rm -f conftest.$ac_objext | ||
25734 | if { (ac_try="$ac_compile" | ||
25735 | case "(($ac_try" in | ||
25736 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25737 | *) ac_try_echo=$ac_try;; | ||
25738 | esac | ||
25739 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25740 | (eval "$ac_compile") 2>conftest.er1 | ||
25741 | ac_status=$? | ||
25742 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25743 | rm -f conftest.er1 | ||
25744 | cat conftest.err >&5 | ||
25745 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25746 | (exit $ac_status); } && { | ||
25747 | test -z "$ac_c_werror_flag" || | ||
25748 | test ! -s conftest.err | ||
25749 | } && test -s conftest.$ac_objext; then | ||
25750 | ac_hi=-1 ac_mid=-1 | ||
25751 | while :; do | ||
25752 | cat >conftest.$ac_ext <<_ACEOF | ||
25753 | /* confdefs.h. */ | ||
25754 | _ACEOF | ||
25755 | cat confdefs.h >>conftest.$ac_ext | ||
25756 | cat >>conftest.$ac_ext <<_ACEOF | ||
25757 | /* end confdefs.h. */ | ||
25758 | $ac_includes_default | ||
25759 | typedef int ac__type_sizeof_; | ||
25760 | int | ||
25761 | main () | ||
25762 | { | ||
25763 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
25764 | test_array [0] = 0 | ||
25765 | |||
25766 | ; | ||
25767 | return 0; | ||
25768 | } | ||
25769 | _ACEOF | ||
25770 | rm -f conftest.$ac_objext | ||
25771 | if { (ac_try="$ac_compile" | ||
25772 | case "(($ac_try" in | ||
25773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25774 | *) ac_try_echo=$ac_try;; | ||
25775 | esac | ||
25776 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25777 | (eval "$ac_compile") 2>conftest.er1 | ||
25778 | ac_status=$? | ||
25779 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25780 | rm -f conftest.er1 | ||
25781 | cat conftest.err >&5 | ||
25782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25783 | (exit $ac_status); } && { | ||
25784 | test -z "$ac_c_werror_flag" || | ||
25785 | test ! -s conftest.err | ||
25786 | } && test -s conftest.$ac_objext; then | ||
25787 | ac_lo=$ac_mid; break | ||
25788 | else | ||
25789 | echo "$as_me: failed program was:" >&5 | ||
25790 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25791 | |||
25792 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
25793 | if test $ac_mid -le $ac_hi; then | ||
25794 | ac_lo= ac_hi= | ||
25795 | break | ||
25796 | fi | ||
25797 | ac_mid=`expr 2 '*' $ac_mid` | ||
25798 | fi | ||
25799 | |||
25800 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25801 | done | ||
25802 | else | ||
25803 | echo "$as_me: failed program was:" >&5 | ||
25804 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25805 | |||
25806 | ac_lo= ac_hi= | ||
25807 | fi | ||
25808 | |||
25809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25810 | fi | ||
25811 | |||
25812 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25813 | # Binary search between lo and hi bounds. | ||
25814 | while test "x$ac_lo" != "x$ac_hi"; do | ||
25815 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
25816 | cat >conftest.$ac_ext <<_ACEOF | ||
25817 | /* confdefs.h. */ | ||
25818 | _ACEOF | ||
25819 | cat confdefs.h >>conftest.$ac_ext | ||
25820 | cat >>conftest.$ac_ext <<_ACEOF | ||
25821 | /* end confdefs.h. */ | ||
25822 | $ac_includes_default | ||
25823 | typedef int ac__type_sizeof_; | ||
25824 | int | ||
25825 | main () | ||
25826 | { | ||
25827 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25828 | test_array [0] = 0 | ||
25829 | |||
25830 | ; | ||
25831 | return 0; | ||
25832 | } | ||
25833 | _ACEOF | ||
25834 | rm -f conftest.$ac_objext | ||
25835 | if { (ac_try="$ac_compile" | ||
25836 | case "(($ac_try" in | ||
25837 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25838 | *) ac_try_echo=$ac_try;; | ||
25839 | esac | ||
25840 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25841 | (eval "$ac_compile") 2>conftest.er1 | ||
25842 | ac_status=$? | ||
25843 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25844 | rm -f conftest.er1 | ||
25845 | cat conftest.err >&5 | ||
25846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25847 | (exit $ac_status); } && { | ||
25848 | test -z "$ac_c_werror_flag" || | ||
25849 | test ! -s conftest.err | ||
25850 | } && test -s conftest.$ac_objext; then | ||
25851 | ac_hi=$ac_mid | ||
25852 | else | ||
25853 | echo "$as_me: failed program was:" >&5 | ||
25854 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25855 | |||
25856 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
25857 | fi | ||
25858 | |||
25859 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25860 | done | ||
25861 | case $ac_lo in | ||
25862 | ?*) ac_cv_sizeof_int=$ac_lo;; | ||
25863 | '') if test "$ac_cv_type_int" = yes; then | ||
25864 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | ||
25865 | See \`config.log' for more details." >&5 | ||
25866 | echo "$as_me: error: cannot compute sizeof (int) | ||
25867 | See \`config.log' for more details." >&2;} | ||
25868 | { (exit 77); exit 77; }; } | ||
25869 | else | ||
25870 | ac_cv_sizeof_int=0 | ||
25871 | fi ;; | ||
25872 | esac | ||
25873 | else | 14062 | else |
25874 | cat >conftest.$ac_ext <<_ACEOF | 14063 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : |
25875 | /* confdefs.h. */ | ||
25876 | _ACEOF | ||
25877 | cat confdefs.h >>conftest.$ac_ext | ||
25878 | cat >>conftest.$ac_ext <<_ACEOF | ||
25879 | /* end confdefs.h. */ | ||
25880 | $ac_includes_default | ||
25881 | typedef int ac__type_sizeof_; | ||
25882 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25883 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25884 | #include <stdio.h> | ||
25885 | #include <stdlib.h> | ||
25886 | int | ||
25887 | main () | ||
25888 | { | ||
25889 | 14064 | ||
25890 | FILE *f = fopen ("conftest.val", "w"); | ||
25891 | if (! f) | ||
25892 | return 1; | ||
25893 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
25894 | { | ||
25895 | long int i = longval (); | ||
25896 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25897 | return 1; | ||
25898 | fprintf (f, "%ld\n", i); | ||
25899 | } | ||
25900 | else | ||
25901 | { | ||
25902 | unsigned long int i = ulongval (); | ||
25903 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25904 | return 1; | ||
25905 | fprintf (f, "%lu\n", i); | ||
25906 | } | ||
25907 | return ferror (f) || fclose (f) != 0; | ||
25908 | |||
25909 | ; | ||
25910 | return 0; | ||
25911 | } | ||
25912 | _ACEOF | ||
25913 | rm -f conftest$ac_exeext | ||
25914 | if { (ac_try="$ac_link" | ||
25915 | case "(($ac_try" in | ||
25916 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25917 | *) ac_try_echo=$ac_try;; | ||
25918 | esac | ||
25919 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25920 | (eval "$ac_link") 2>&5 | ||
25921 | ac_status=$? | ||
25922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25923 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
25924 | { (case "(($ac_try" in | ||
25925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25926 | *) ac_try_echo=$ac_try;; | ||
25927 | esac | ||
25928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25929 | (eval "$ac_try") 2>&5 | ||
25930 | ac_status=$? | ||
25931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25932 | (exit $ac_status); }; }; then | ||
25933 | ac_cv_sizeof_int=`cat conftest.val` | ||
25934 | else | 14065 | else |
25935 | echo "$as_me: program exited with status $ac_status" >&5 | 14066 | if test "$ac_cv_type_int" = yes; then |
25936 | echo "$as_me: failed program was:" >&5 | 14067 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
25937 | sed 's/^/| /' conftest.$ac_ext >&5 | 14068 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
25938 | 14069 | as_fn_error 77 "cannot compute sizeof (int) | |
25939 | ( exit $ac_status ) | 14070 | See \`config.log' for more details" "$LINENO" 5; } |
25940 | if test "$ac_cv_type_int" = yes; then | ||
25941 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | ||
25942 | See \`config.log' for more details." >&5 | ||
25943 | echo "$as_me: error: cannot compute sizeof (int) | ||
25944 | See \`config.log' for more details." >&2;} | ||
25945 | { (exit 77); exit 77; }; } | ||
25946 | else | 14071 | else |
25947 | ac_cv_sizeof_int=0 | 14072 | ac_cv_sizeof_int=0 |
25948 | fi | 14073 | fi |
25949 | fi | 14074 | fi |
25950 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14075 | |
25951 | fi | ||
25952 | rm -f conftest.val | ||
25953 | fi | 14076 | fi |
25954 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 | 14077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 |
25955 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } | 14078 | $as_echo "$ac_cv_sizeof_int" >&6; } |
25956 | 14079 | ||
25957 | 14080 | ||
25958 | 14081 | ||
@@ -25961,403 +14084,31 @@ cat >>confdefs.h <<_ACEOF | |||
25961 | _ACEOF | 14084 | _ACEOF |
25962 | 14085 | ||
25963 | 14086 | ||
25964 | { echo "$as_me:$LINENO: checking for long int" >&5 | ||
25965 | echo $ECHO_N "checking for long int... $ECHO_C" >&6; } | ||
25966 | if test "${ac_cv_type_long_int+set}" = set; then | ||
25967 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25968 | else | ||
25969 | cat >conftest.$ac_ext <<_ACEOF | ||
25970 | /* confdefs.h. */ | ||
25971 | _ACEOF | ||
25972 | cat confdefs.h >>conftest.$ac_ext | ||
25973 | cat >>conftest.$ac_ext <<_ACEOF | ||
25974 | /* end confdefs.h. */ | ||
25975 | $ac_includes_default | ||
25976 | typedef long int ac__type_new_; | ||
25977 | int | ||
25978 | main () | ||
25979 | { | ||
25980 | if ((ac__type_new_ *) 0) | ||
25981 | return 0; | ||
25982 | if (sizeof (ac__type_new_)) | ||
25983 | return 0; | ||
25984 | ; | ||
25985 | return 0; | ||
25986 | } | ||
25987 | _ACEOF | ||
25988 | rm -f conftest.$ac_objext | ||
25989 | if { (ac_try="$ac_compile" | ||
25990 | case "(($ac_try" in | ||
25991 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25992 | *) ac_try_echo=$ac_try;; | ||
25993 | esac | ||
25994 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25995 | (eval "$ac_compile") 2>conftest.er1 | ||
25996 | ac_status=$? | ||
25997 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25998 | rm -f conftest.er1 | ||
25999 | cat conftest.err >&5 | ||
26000 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26001 | (exit $ac_status); } && { | ||
26002 | test -z "$ac_c_werror_flag" || | ||
26003 | test ! -s conftest.err | ||
26004 | } && test -s conftest.$ac_objext; then | ||
26005 | ac_cv_type_long_int=yes | ||
26006 | else | ||
26007 | echo "$as_me: failed program was:" >&5 | ||
26008 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26009 | |||
26010 | ac_cv_type_long_int=no | ||
26011 | fi | ||
26012 | |||
26013 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26014 | fi | ||
26015 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | ||
26016 | echo "${ECHO_T}$ac_cv_type_long_int" >&6; } | ||
26017 | |||
26018 | # The cast to long int works around a bug in the HP C Compiler | 14087 | # The cast to long int works around a bug in the HP C Compiler |
26019 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 14088 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
26020 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 14089 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
26021 | # This bug is HP SR number 8606223364. | 14090 | # This bug is HP SR number 8606223364. |
26022 | { echo "$as_me:$LINENO: checking size of long int" >&5 | 14091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5 |
26023 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6; } | 14092 | $as_echo_n "checking size of long int... " >&6; } |
26024 | if test "${ac_cv_sizeof_long_int+set}" = set; then | 14093 | if ${ac_cv_sizeof_long_int+:} false; then : |
26025 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14094 | $as_echo_n "(cached) " >&6 |
26026 | else | 14095 | else |
26027 | if test "$cross_compiling" = yes; then | 14096 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then : |
26028 | # Depending upon the size, compute the lo and hi bounds. | ||
26029 | cat >conftest.$ac_ext <<_ACEOF | ||
26030 | /* confdefs.h. */ | ||
26031 | _ACEOF | ||
26032 | cat confdefs.h >>conftest.$ac_ext | ||
26033 | cat >>conftest.$ac_ext <<_ACEOF | ||
26034 | /* end confdefs.h. */ | ||
26035 | $ac_includes_default | ||
26036 | typedef long int ac__type_sizeof_; | ||
26037 | int | ||
26038 | main () | ||
26039 | { | ||
26040 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
26041 | test_array [0] = 0 | ||
26042 | 14097 | ||
26043 | ; | ||
26044 | return 0; | ||
26045 | } | ||
26046 | _ACEOF | ||
26047 | rm -f conftest.$ac_objext | ||
26048 | if { (ac_try="$ac_compile" | ||
26049 | case "(($ac_try" in | ||
26050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26051 | *) ac_try_echo=$ac_try;; | ||
26052 | esac | ||
26053 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26054 | (eval "$ac_compile") 2>conftest.er1 | ||
26055 | ac_status=$? | ||
26056 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26057 | rm -f conftest.er1 | ||
26058 | cat conftest.err >&5 | ||
26059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26060 | (exit $ac_status); } && { | ||
26061 | test -z "$ac_c_werror_flag" || | ||
26062 | test ! -s conftest.err | ||
26063 | } && test -s conftest.$ac_objext; then | ||
26064 | ac_lo=0 ac_mid=0 | ||
26065 | while :; do | ||
26066 | cat >conftest.$ac_ext <<_ACEOF | ||
26067 | /* confdefs.h. */ | ||
26068 | _ACEOF | ||
26069 | cat confdefs.h >>conftest.$ac_ext | ||
26070 | cat >>conftest.$ac_ext <<_ACEOF | ||
26071 | /* end confdefs.h. */ | ||
26072 | $ac_includes_default | ||
26073 | typedef long int ac__type_sizeof_; | ||
26074 | int | ||
26075 | main () | ||
26076 | { | ||
26077 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
26078 | test_array [0] = 0 | ||
26079 | |||
26080 | ; | ||
26081 | return 0; | ||
26082 | } | ||
26083 | _ACEOF | ||
26084 | rm -f conftest.$ac_objext | ||
26085 | if { (ac_try="$ac_compile" | ||
26086 | case "(($ac_try" in | ||
26087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26088 | *) ac_try_echo=$ac_try;; | ||
26089 | esac | ||
26090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26091 | (eval "$ac_compile") 2>conftest.er1 | ||
26092 | ac_status=$? | ||
26093 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26094 | rm -f conftest.er1 | ||
26095 | cat conftest.err >&5 | ||
26096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26097 | (exit $ac_status); } && { | ||
26098 | test -z "$ac_c_werror_flag" || | ||
26099 | test ! -s conftest.err | ||
26100 | } && test -s conftest.$ac_objext; then | ||
26101 | ac_hi=$ac_mid; break | ||
26102 | else | ||
26103 | echo "$as_me: failed program was:" >&5 | ||
26104 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26105 | |||
26106 | ac_lo=`expr $ac_mid + 1` | ||
26107 | if test $ac_lo -le $ac_mid; then | ||
26108 | ac_lo= ac_hi= | ||
26109 | break | ||
26110 | fi | ||
26111 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
26112 | fi | ||
26113 | |||
26114 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26115 | done | ||
26116 | else | ||
26117 | echo "$as_me: failed program was:" >&5 | ||
26118 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26119 | |||
26120 | cat >conftest.$ac_ext <<_ACEOF | ||
26121 | /* confdefs.h. */ | ||
26122 | _ACEOF | ||
26123 | cat confdefs.h >>conftest.$ac_ext | ||
26124 | cat >>conftest.$ac_ext <<_ACEOF | ||
26125 | /* end confdefs.h. */ | ||
26126 | $ac_includes_default | ||
26127 | typedef long int ac__type_sizeof_; | ||
26128 | int | ||
26129 | main () | ||
26130 | { | ||
26131 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
26132 | test_array [0] = 0 | ||
26133 | |||
26134 | ; | ||
26135 | return 0; | ||
26136 | } | ||
26137 | _ACEOF | ||
26138 | rm -f conftest.$ac_objext | ||
26139 | if { (ac_try="$ac_compile" | ||
26140 | case "(($ac_try" in | ||
26141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26142 | *) ac_try_echo=$ac_try;; | ||
26143 | esac | ||
26144 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26145 | (eval "$ac_compile") 2>conftest.er1 | ||
26146 | ac_status=$? | ||
26147 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26148 | rm -f conftest.er1 | ||
26149 | cat conftest.err >&5 | ||
26150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26151 | (exit $ac_status); } && { | ||
26152 | test -z "$ac_c_werror_flag" || | ||
26153 | test ! -s conftest.err | ||
26154 | } && test -s conftest.$ac_objext; then | ||
26155 | ac_hi=-1 ac_mid=-1 | ||
26156 | while :; do | ||
26157 | cat >conftest.$ac_ext <<_ACEOF | ||
26158 | /* confdefs.h. */ | ||
26159 | _ACEOF | ||
26160 | cat confdefs.h >>conftest.$ac_ext | ||
26161 | cat >>conftest.$ac_ext <<_ACEOF | ||
26162 | /* end confdefs.h. */ | ||
26163 | $ac_includes_default | ||
26164 | typedef long int ac__type_sizeof_; | ||
26165 | int | ||
26166 | main () | ||
26167 | { | ||
26168 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
26169 | test_array [0] = 0 | ||
26170 | |||
26171 | ; | ||
26172 | return 0; | ||
26173 | } | ||
26174 | _ACEOF | ||
26175 | rm -f conftest.$ac_objext | ||
26176 | if { (ac_try="$ac_compile" | ||
26177 | case "(($ac_try" in | ||
26178 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26179 | *) ac_try_echo=$ac_try;; | ||
26180 | esac | ||
26181 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26182 | (eval "$ac_compile") 2>conftest.er1 | ||
26183 | ac_status=$? | ||
26184 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26185 | rm -f conftest.er1 | ||
26186 | cat conftest.err >&5 | ||
26187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26188 | (exit $ac_status); } && { | ||
26189 | test -z "$ac_c_werror_flag" || | ||
26190 | test ! -s conftest.err | ||
26191 | } && test -s conftest.$ac_objext; then | ||
26192 | ac_lo=$ac_mid; break | ||
26193 | else | ||
26194 | echo "$as_me: failed program was:" >&5 | ||
26195 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26196 | |||
26197 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
26198 | if test $ac_mid -le $ac_hi; then | ||
26199 | ac_lo= ac_hi= | ||
26200 | break | ||
26201 | fi | ||
26202 | ac_mid=`expr 2 '*' $ac_mid` | ||
26203 | fi | ||
26204 | |||
26205 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26206 | done | ||
26207 | else | 14098 | else |
26208 | echo "$as_me: failed program was:" >&5 | 14099 | if test "$ac_cv_type_long_int" = yes; then |
26209 | sed 's/^/| /' conftest.$ac_ext >&5 | 14100 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
26210 | 14101 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
26211 | ac_lo= ac_hi= | 14102 | as_fn_error 77 "cannot compute sizeof (long int) |
26212 | fi | 14103 | See \`config.log' for more details" "$LINENO" 5; } |
26213 | |||
26214 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26215 | fi | ||
26216 | |||
26217 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26218 | # Binary search between lo and hi bounds. | ||
26219 | while test "x$ac_lo" != "x$ac_hi"; do | ||
26220 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
26221 | cat >conftest.$ac_ext <<_ACEOF | ||
26222 | /* confdefs.h. */ | ||
26223 | _ACEOF | ||
26224 | cat confdefs.h >>conftest.$ac_ext | ||
26225 | cat >>conftest.$ac_ext <<_ACEOF | ||
26226 | /* end confdefs.h. */ | ||
26227 | $ac_includes_default | ||
26228 | typedef long int ac__type_sizeof_; | ||
26229 | int | ||
26230 | main () | ||
26231 | { | ||
26232 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
26233 | test_array [0] = 0 | ||
26234 | |||
26235 | ; | ||
26236 | return 0; | ||
26237 | } | ||
26238 | _ACEOF | ||
26239 | rm -f conftest.$ac_objext | ||
26240 | if { (ac_try="$ac_compile" | ||
26241 | case "(($ac_try" in | ||
26242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26243 | *) ac_try_echo=$ac_try;; | ||
26244 | esac | ||
26245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26246 | (eval "$ac_compile") 2>conftest.er1 | ||
26247 | ac_status=$? | ||
26248 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26249 | rm -f conftest.er1 | ||
26250 | cat conftest.err >&5 | ||
26251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26252 | (exit $ac_status); } && { | ||
26253 | test -z "$ac_c_werror_flag" || | ||
26254 | test ! -s conftest.err | ||
26255 | } && test -s conftest.$ac_objext; then | ||
26256 | ac_hi=$ac_mid | ||
26257 | else | ||
26258 | echo "$as_me: failed program was:" >&5 | ||
26259 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26260 | |||
26261 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
26262 | fi | ||
26263 | |||
26264 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26265 | done | ||
26266 | case $ac_lo in | ||
26267 | ?*) ac_cv_sizeof_long_int=$ac_lo;; | ||
26268 | '') if test "$ac_cv_type_long_int" = yes; then | ||
26269 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) | ||
26270 | See \`config.log' for more details." >&5 | ||
26271 | echo "$as_me: error: cannot compute sizeof (long int) | ||
26272 | See \`config.log' for more details." >&2;} | ||
26273 | { (exit 77); exit 77; }; } | ||
26274 | else | ||
26275 | ac_cv_sizeof_long_int=0 | ||
26276 | fi ;; | ||
26277 | esac | ||
26278 | else | ||
26279 | cat >conftest.$ac_ext <<_ACEOF | ||
26280 | /* confdefs.h. */ | ||
26281 | _ACEOF | ||
26282 | cat confdefs.h >>conftest.$ac_ext | ||
26283 | cat >>conftest.$ac_ext <<_ACEOF | ||
26284 | /* end confdefs.h. */ | ||
26285 | $ac_includes_default | ||
26286 | typedef long int ac__type_sizeof_; | ||
26287 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
26288 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
26289 | #include <stdio.h> | ||
26290 | #include <stdlib.h> | ||
26291 | int | ||
26292 | main () | ||
26293 | { | ||
26294 | |||
26295 | FILE *f = fopen ("conftest.val", "w"); | ||
26296 | if (! f) | ||
26297 | return 1; | ||
26298 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
26299 | { | ||
26300 | long int i = longval (); | ||
26301 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
26302 | return 1; | ||
26303 | fprintf (f, "%ld\n", i); | ||
26304 | } | ||
26305 | else | ||
26306 | { | ||
26307 | unsigned long int i = ulongval (); | ||
26308 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
26309 | return 1; | ||
26310 | fprintf (f, "%lu\n", i); | ||
26311 | } | ||
26312 | return ferror (f) || fclose (f) != 0; | ||
26313 | |||
26314 | ; | ||
26315 | return 0; | ||
26316 | } | ||
26317 | _ACEOF | ||
26318 | rm -f conftest$ac_exeext | ||
26319 | if { (ac_try="$ac_link" | ||
26320 | case "(($ac_try" in | ||
26321 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26322 | *) ac_try_echo=$ac_try;; | ||
26323 | esac | ||
26324 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26325 | (eval "$ac_link") 2>&5 | ||
26326 | ac_status=$? | ||
26327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26328 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
26329 | { (case "(($ac_try" in | ||
26330 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26331 | *) ac_try_echo=$ac_try;; | ||
26332 | esac | ||
26333 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26334 | (eval "$ac_try") 2>&5 | ||
26335 | ac_status=$? | ||
26336 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26337 | (exit $ac_status); }; }; then | ||
26338 | ac_cv_sizeof_long_int=`cat conftest.val` | ||
26339 | else | ||
26340 | echo "$as_me: program exited with status $ac_status" >&5 | ||
26341 | echo "$as_me: failed program was:" >&5 | ||
26342 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26343 | |||
26344 | ( exit $ac_status ) | ||
26345 | if test "$ac_cv_type_long_int" = yes; then | ||
26346 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) | ||
26347 | See \`config.log' for more details." >&5 | ||
26348 | echo "$as_me: error: cannot compute sizeof (long int) | ||
26349 | See \`config.log' for more details." >&2;} | ||
26350 | { (exit 77); exit 77; }; } | ||
26351 | else | 14104 | else |
26352 | ac_cv_sizeof_long_int=0 | 14105 | ac_cv_sizeof_long_int=0 |
26353 | fi | 14106 | fi |
26354 | fi | 14107 | fi |
26355 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14108 | |
26356 | fi | ||
26357 | rm -f conftest.val | ||
26358 | fi | 14109 | fi |
26359 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 | 14110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5 |
26360 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; } | 14111 | $as_echo "$ac_cv_sizeof_long_int" >&6; } |
26361 | 14112 | ||
26362 | 14113 | ||
26363 | 14114 | ||
@@ -26366,403 +14117,31 @@ cat >>confdefs.h <<_ACEOF | |||
26366 | _ACEOF | 14117 | _ACEOF |
26367 | 14118 | ||
26368 | 14119 | ||
26369 | { echo "$as_me:$LINENO: checking for long long int" >&5 | ||
26370 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6; } | ||
26371 | if test "${ac_cv_type_long_long_int+set}" = set; then | ||
26372 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
26373 | else | ||
26374 | cat >conftest.$ac_ext <<_ACEOF | ||
26375 | /* confdefs.h. */ | ||
26376 | _ACEOF | ||
26377 | cat confdefs.h >>conftest.$ac_ext | ||
26378 | cat >>conftest.$ac_ext <<_ACEOF | ||
26379 | /* end confdefs.h. */ | ||
26380 | $ac_includes_default | ||
26381 | typedef long long int ac__type_new_; | ||
26382 | int | ||
26383 | main () | ||
26384 | { | ||
26385 | if ((ac__type_new_ *) 0) | ||
26386 | return 0; | ||
26387 | if (sizeof (ac__type_new_)) | ||
26388 | return 0; | ||
26389 | ; | ||
26390 | return 0; | ||
26391 | } | ||
26392 | _ACEOF | ||
26393 | rm -f conftest.$ac_objext | ||
26394 | if { (ac_try="$ac_compile" | ||
26395 | case "(($ac_try" in | ||
26396 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26397 | *) ac_try_echo=$ac_try;; | ||
26398 | esac | ||
26399 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26400 | (eval "$ac_compile") 2>conftest.er1 | ||
26401 | ac_status=$? | ||
26402 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26403 | rm -f conftest.er1 | ||
26404 | cat conftest.err >&5 | ||
26405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26406 | (exit $ac_status); } && { | ||
26407 | test -z "$ac_c_werror_flag" || | ||
26408 | test ! -s conftest.err | ||
26409 | } && test -s conftest.$ac_objext; then | ||
26410 | ac_cv_type_long_long_int=yes | ||
26411 | else | ||
26412 | echo "$as_me: failed program was:" >&5 | ||
26413 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26414 | |||
26415 | ac_cv_type_long_long_int=no | ||
26416 | fi | ||
26417 | |||
26418 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26419 | fi | ||
26420 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | ||
26421 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; } | ||
26422 | |||
26423 | # The cast to long int works around a bug in the HP C Compiler | 14120 | # The cast to long int works around a bug in the HP C Compiler |
26424 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 14121 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
26425 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 14122 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
26426 | # This bug is HP SR number 8606223364. | 14123 | # This bug is HP SR number 8606223364. |
26427 | { echo "$as_me:$LINENO: checking size of long long int" >&5 | 14124 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5 |
26428 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; } | 14125 | $as_echo_n "checking size of long long int... " >&6; } |
26429 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then | 14126 | if ${ac_cv_sizeof_long_long_int+:} false; then : |
26430 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14127 | $as_echo_n "(cached) " >&6 |
26431 | else | ||
26432 | if test "$cross_compiling" = yes; then | ||
26433 | # Depending upon the size, compute the lo and hi bounds. | ||
26434 | cat >conftest.$ac_ext <<_ACEOF | ||
26435 | /* confdefs.h. */ | ||
26436 | _ACEOF | ||
26437 | cat confdefs.h >>conftest.$ac_ext | ||
26438 | cat >>conftest.$ac_ext <<_ACEOF | ||
26439 | /* end confdefs.h. */ | ||
26440 | $ac_includes_default | ||
26441 | typedef long long int ac__type_sizeof_; | ||
26442 | int | ||
26443 | main () | ||
26444 | { | ||
26445 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
26446 | test_array [0] = 0 | ||
26447 | |||
26448 | ; | ||
26449 | return 0; | ||
26450 | } | ||
26451 | _ACEOF | ||
26452 | rm -f conftest.$ac_objext | ||
26453 | if { (ac_try="$ac_compile" | ||
26454 | case "(($ac_try" in | ||
26455 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26456 | *) ac_try_echo=$ac_try;; | ||
26457 | esac | ||
26458 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26459 | (eval "$ac_compile") 2>conftest.er1 | ||
26460 | ac_status=$? | ||
26461 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26462 | rm -f conftest.er1 | ||
26463 | cat conftest.err >&5 | ||
26464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26465 | (exit $ac_status); } && { | ||
26466 | test -z "$ac_c_werror_flag" || | ||
26467 | test ! -s conftest.err | ||
26468 | } && test -s conftest.$ac_objext; then | ||
26469 | ac_lo=0 ac_mid=0 | ||
26470 | while :; do | ||
26471 | cat >conftest.$ac_ext <<_ACEOF | ||
26472 | /* confdefs.h. */ | ||
26473 | _ACEOF | ||
26474 | cat confdefs.h >>conftest.$ac_ext | ||
26475 | cat >>conftest.$ac_ext <<_ACEOF | ||
26476 | /* end confdefs.h. */ | ||
26477 | $ac_includes_default | ||
26478 | typedef long long int ac__type_sizeof_; | ||
26479 | int | ||
26480 | main () | ||
26481 | { | ||
26482 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
26483 | test_array [0] = 0 | ||
26484 | |||
26485 | ; | ||
26486 | return 0; | ||
26487 | } | ||
26488 | _ACEOF | ||
26489 | rm -f conftest.$ac_objext | ||
26490 | if { (ac_try="$ac_compile" | ||
26491 | case "(($ac_try" in | ||
26492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26493 | *) ac_try_echo=$ac_try;; | ||
26494 | esac | ||
26495 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26496 | (eval "$ac_compile") 2>conftest.er1 | ||
26497 | ac_status=$? | ||
26498 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26499 | rm -f conftest.er1 | ||
26500 | cat conftest.err >&5 | ||
26501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26502 | (exit $ac_status); } && { | ||
26503 | test -z "$ac_c_werror_flag" || | ||
26504 | test ! -s conftest.err | ||
26505 | } && test -s conftest.$ac_objext; then | ||
26506 | ac_hi=$ac_mid; break | ||
26507 | else | 14128 | else |
26508 | echo "$as_me: failed program was:" >&5 | 14129 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then : |
26509 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26510 | 14130 | ||
26511 | ac_lo=`expr $ac_mid + 1` | ||
26512 | if test $ac_lo -le $ac_mid; then | ||
26513 | ac_lo= ac_hi= | ||
26514 | break | ||
26515 | fi | ||
26516 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
26517 | fi | ||
26518 | |||
26519 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26520 | done | ||
26521 | else | 14131 | else |
26522 | echo "$as_me: failed program was:" >&5 | 14132 | if test "$ac_cv_type_long_long_int" = yes; then |
26523 | sed 's/^/| /' conftest.$ac_ext >&5 | 14133 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
26524 | 14134 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
26525 | cat >conftest.$ac_ext <<_ACEOF | 14135 | as_fn_error 77 "cannot compute sizeof (long long int) |
26526 | /* confdefs.h. */ | 14136 | See \`config.log' for more details" "$LINENO" 5; } |
26527 | _ACEOF | ||
26528 | cat confdefs.h >>conftest.$ac_ext | ||
26529 | cat >>conftest.$ac_ext <<_ACEOF | ||
26530 | /* end confdefs.h. */ | ||
26531 | $ac_includes_default | ||
26532 | typedef long long int ac__type_sizeof_; | ||
26533 | int | ||
26534 | main () | ||
26535 | { | ||
26536 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
26537 | test_array [0] = 0 | ||
26538 | |||
26539 | ; | ||
26540 | return 0; | ||
26541 | } | ||
26542 | _ACEOF | ||
26543 | rm -f conftest.$ac_objext | ||
26544 | if { (ac_try="$ac_compile" | ||
26545 | case "(($ac_try" in | ||
26546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26547 | *) ac_try_echo=$ac_try;; | ||
26548 | esac | ||
26549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26550 | (eval "$ac_compile") 2>conftest.er1 | ||
26551 | ac_status=$? | ||
26552 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26553 | rm -f conftest.er1 | ||
26554 | cat conftest.err >&5 | ||
26555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26556 | (exit $ac_status); } && { | ||
26557 | test -z "$ac_c_werror_flag" || | ||
26558 | test ! -s conftest.err | ||
26559 | } && test -s conftest.$ac_objext; then | ||
26560 | ac_hi=-1 ac_mid=-1 | ||
26561 | while :; do | ||
26562 | cat >conftest.$ac_ext <<_ACEOF | ||
26563 | /* confdefs.h. */ | ||
26564 | _ACEOF | ||
26565 | cat confdefs.h >>conftest.$ac_ext | ||
26566 | cat >>conftest.$ac_ext <<_ACEOF | ||
26567 | /* end confdefs.h. */ | ||
26568 | $ac_includes_default | ||
26569 | typedef long long int ac__type_sizeof_; | ||
26570 | int | ||
26571 | main () | ||
26572 | { | ||
26573 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
26574 | test_array [0] = 0 | ||
26575 | |||
26576 | ; | ||
26577 | return 0; | ||
26578 | } | ||
26579 | _ACEOF | ||
26580 | rm -f conftest.$ac_objext | ||
26581 | if { (ac_try="$ac_compile" | ||
26582 | case "(($ac_try" in | ||
26583 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26584 | *) ac_try_echo=$ac_try;; | ||
26585 | esac | ||
26586 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26587 | (eval "$ac_compile") 2>conftest.er1 | ||
26588 | ac_status=$? | ||
26589 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26590 | rm -f conftest.er1 | ||
26591 | cat conftest.err >&5 | ||
26592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26593 | (exit $ac_status); } && { | ||
26594 | test -z "$ac_c_werror_flag" || | ||
26595 | test ! -s conftest.err | ||
26596 | } && test -s conftest.$ac_objext; then | ||
26597 | ac_lo=$ac_mid; break | ||
26598 | else | ||
26599 | echo "$as_me: failed program was:" >&5 | ||
26600 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26601 | |||
26602 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
26603 | if test $ac_mid -le $ac_hi; then | ||
26604 | ac_lo= ac_hi= | ||
26605 | break | ||
26606 | fi | ||
26607 | ac_mid=`expr 2 '*' $ac_mid` | ||
26608 | fi | ||
26609 | |||
26610 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26611 | done | ||
26612 | else | ||
26613 | echo "$as_me: failed program was:" >&5 | ||
26614 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26615 | |||
26616 | ac_lo= ac_hi= | ||
26617 | fi | ||
26618 | |||
26619 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26620 | fi | ||
26621 | |||
26622 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26623 | # Binary search between lo and hi bounds. | ||
26624 | while test "x$ac_lo" != "x$ac_hi"; do | ||
26625 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
26626 | cat >conftest.$ac_ext <<_ACEOF | ||
26627 | /* confdefs.h. */ | ||
26628 | _ACEOF | ||
26629 | cat confdefs.h >>conftest.$ac_ext | ||
26630 | cat >>conftest.$ac_ext <<_ACEOF | ||
26631 | /* end confdefs.h. */ | ||
26632 | $ac_includes_default | ||
26633 | typedef long long int ac__type_sizeof_; | ||
26634 | int | ||
26635 | main () | ||
26636 | { | ||
26637 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
26638 | test_array [0] = 0 | ||
26639 | |||
26640 | ; | ||
26641 | return 0; | ||
26642 | } | ||
26643 | _ACEOF | ||
26644 | rm -f conftest.$ac_objext | ||
26645 | if { (ac_try="$ac_compile" | ||
26646 | case "(($ac_try" in | ||
26647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26648 | *) ac_try_echo=$ac_try;; | ||
26649 | esac | ||
26650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26651 | (eval "$ac_compile") 2>conftest.er1 | ||
26652 | ac_status=$? | ||
26653 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26654 | rm -f conftest.er1 | ||
26655 | cat conftest.err >&5 | ||
26656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26657 | (exit $ac_status); } && { | ||
26658 | test -z "$ac_c_werror_flag" || | ||
26659 | test ! -s conftest.err | ||
26660 | } && test -s conftest.$ac_objext; then | ||
26661 | ac_hi=$ac_mid | ||
26662 | else | ||
26663 | echo "$as_me: failed program was:" >&5 | ||
26664 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26665 | |||
26666 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
26667 | fi | ||
26668 | |||
26669 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26670 | done | ||
26671 | case $ac_lo in | ||
26672 | ?*) ac_cv_sizeof_long_long_int=$ac_lo;; | ||
26673 | '') if test "$ac_cv_type_long_long_int" = yes; then | ||
26674 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) | ||
26675 | See \`config.log' for more details." >&5 | ||
26676 | echo "$as_me: error: cannot compute sizeof (long long int) | ||
26677 | See \`config.log' for more details." >&2;} | ||
26678 | { (exit 77); exit 77; }; } | ||
26679 | else | ||
26680 | ac_cv_sizeof_long_long_int=0 | ||
26681 | fi ;; | ||
26682 | esac | ||
26683 | else | ||
26684 | cat >conftest.$ac_ext <<_ACEOF | ||
26685 | /* confdefs.h. */ | ||
26686 | _ACEOF | ||
26687 | cat confdefs.h >>conftest.$ac_ext | ||
26688 | cat >>conftest.$ac_ext <<_ACEOF | ||
26689 | /* end confdefs.h. */ | ||
26690 | $ac_includes_default | ||
26691 | typedef long long int ac__type_sizeof_; | ||
26692 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
26693 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
26694 | #include <stdio.h> | ||
26695 | #include <stdlib.h> | ||
26696 | int | ||
26697 | main () | ||
26698 | { | ||
26699 | |||
26700 | FILE *f = fopen ("conftest.val", "w"); | ||
26701 | if (! f) | ||
26702 | return 1; | ||
26703 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
26704 | { | ||
26705 | long int i = longval (); | ||
26706 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
26707 | return 1; | ||
26708 | fprintf (f, "%ld\n", i); | ||
26709 | } | ||
26710 | else | ||
26711 | { | ||
26712 | unsigned long int i = ulongval (); | ||
26713 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
26714 | return 1; | ||
26715 | fprintf (f, "%lu\n", i); | ||
26716 | } | ||
26717 | return ferror (f) || fclose (f) != 0; | ||
26718 | |||
26719 | ; | ||
26720 | return 0; | ||
26721 | } | ||
26722 | _ACEOF | ||
26723 | rm -f conftest$ac_exeext | ||
26724 | if { (ac_try="$ac_link" | ||
26725 | case "(($ac_try" in | ||
26726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26727 | *) ac_try_echo=$ac_try;; | ||
26728 | esac | ||
26729 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26730 | (eval "$ac_link") 2>&5 | ||
26731 | ac_status=$? | ||
26732 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26733 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
26734 | { (case "(($ac_try" in | ||
26735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26736 | *) ac_try_echo=$ac_try;; | ||
26737 | esac | ||
26738 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26739 | (eval "$ac_try") 2>&5 | ||
26740 | ac_status=$? | ||
26741 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26742 | (exit $ac_status); }; }; then | ||
26743 | ac_cv_sizeof_long_long_int=`cat conftest.val` | ||
26744 | else | ||
26745 | echo "$as_me: program exited with status $ac_status" >&5 | ||
26746 | echo "$as_me: failed program was:" >&5 | ||
26747 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26748 | |||
26749 | ( exit $ac_status ) | ||
26750 | if test "$ac_cv_type_long_long_int" = yes; then | ||
26751 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) | ||
26752 | See \`config.log' for more details." >&5 | ||
26753 | echo "$as_me: error: cannot compute sizeof (long long int) | ||
26754 | See \`config.log' for more details." >&2;} | ||
26755 | { (exit 77); exit 77; }; } | ||
26756 | else | 14137 | else |
26757 | ac_cv_sizeof_long_long_int=0 | 14138 | ac_cv_sizeof_long_long_int=0 |
26758 | fi | 14139 | fi |
26759 | fi | 14140 | fi |
26760 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14141 | |
26761 | fi | ||
26762 | rm -f conftest.val | ||
26763 | fi | 14142 | fi |
26764 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 | 14143 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5 |
26765 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; } | 14144 | $as_echo "$ac_cv_sizeof_long_long_int" >&6; } |
26766 | 14145 | ||
26767 | 14146 | ||
26768 | 14147 | ||
@@ -26779,20 +14158,16 @@ fi | |||
26779 | 14158 | ||
26780 | # compute LLONG_MIN and LLONG_MAX if we don't know them. | 14159 | # compute LLONG_MIN and LLONG_MAX if we don't know them. |
26781 | if test -z "$have_llong_max"; then | 14160 | if test -z "$have_llong_max"; then |
26782 | { echo "$as_me:$LINENO: checking for max value of long long" >&5 | 14161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for max value of long long" >&5 |
26783 | echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6; } | 14162 | $as_echo_n "checking for max value of long long... " >&6; } |
26784 | if test "$cross_compiling" = yes; then | 14163 | if test "$cross_compiling" = yes; then : |
26785 | 14164 | ||
26786 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | 14165 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 |
26787 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 14166 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
26788 | 14167 | ||
26789 | 14168 | ||
26790 | else | 14169 | else |
26791 | cat >conftest.$ac_ext <<_ACEOF | 14170 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
26792 | /* confdefs.h. */ | ||
26793 | _ACEOF | ||
26794 | cat confdefs.h >>conftest.$ac_ext | ||
26795 | cat >>conftest.$ac_ext <<_ACEOF | ||
26796 | /* end confdefs.h. */ | 14171 | /* end confdefs.h. */ |
26797 | 14172 | ||
26798 | #include <stdio.h> | 14173 | #include <stdio.h> |
@@ -26873,41 +14248,22 @@ main () | |||
26873 | return 0; | 14248 | return 0; |
26874 | } | 14249 | } |
26875 | _ACEOF | 14250 | _ACEOF |
26876 | rm -f conftest$ac_exeext | 14251 | if ac_fn_c_try_run "$LINENO"; then : |
26877 | if { (ac_try="$ac_link" | ||
26878 | case "(($ac_try" in | ||
26879 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26880 | *) ac_try_echo=$ac_try;; | ||
26881 | esac | ||
26882 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26883 | (eval "$ac_link") 2>&5 | ||
26884 | ac_status=$? | ||
26885 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26886 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
26887 | { (case "(($ac_try" in | ||
26888 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26889 | *) ac_try_echo=$ac_try;; | ||
26890 | esac | ||
26891 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26892 | (eval "$ac_try") 2>&5 | ||
26893 | ac_status=$? | ||
26894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26895 | (exit $ac_status); }; }; then | ||
26896 | 14252 | ||
26897 | llong_min=`$AWK '{print $1}' conftest.llminmax` | 14253 | llong_min=`$AWK '{print $1}' conftest.llminmax` |
26898 | llong_max=`$AWK '{print $2}' conftest.llminmax` | 14254 | llong_max=`$AWK '{print $2}' conftest.llminmax` |
26899 | 14255 | ||
26900 | { echo "$as_me:$LINENO: result: $llong_max" >&5 | 14256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llong_max" >&5 |
26901 | echo "${ECHO_T}$llong_max" >&6; } | 14257 | $as_echo "$llong_max" >&6; } |
26902 | 14258 | ||
26903 | cat >>confdefs.h <<_ACEOF | 14259 | cat >>confdefs.h <<_ACEOF |
26904 | #define LLONG_MAX ${llong_max}LL | 14260 | #define LLONG_MAX ${llong_max}LL |
26905 | _ACEOF | 14261 | _ACEOF |
26906 | 14262 | ||
26907 | { echo "$as_me:$LINENO: checking for min value of long long" >&5 | 14263 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for min value of long long" >&5 |
26908 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6; } | 14264 | $as_echo_n "checking for min value of long long... " >&6; } |
26909 | { echo "$as_me:$LINENO: result: $llong_min" >&5 | 14265 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llong_min" >&5 |
26910 | echo "${ECHO_T}$llong_min" >&6; } | 14266 | $as_echo "$llong_min" >&6; } |
26911 | 14267 | ||
26912 | cat >>confdefs.h <<_ACEOF | 14268 | cat >>confdefs.h <<_ACEOF |
26913 | #define LLONG_MIN ${llong_min}LL | 14269 | #define LLONG_MIN ${llong_min}LL |
@@ -26915,35 +14271,26 @@ _ACEOF | |||
26915 | 14271 | ||
26916 | 14272 | ||
26917 | else | 14273 | else |
26918 | echo "$as_me: program exited with status $ac_status" >&5 | ||
26919 | echo "$as_me: failed program was:" >&5 | ||
26920 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26921 | |||
26922 | ( exit $ac_status ) | ||
26923 | 14274 | ||
26924 | { echo "$as_me:$LINENO: result: not found" >&5 | 14275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 |
26925 | echo "${ECHO_T}not found" >&6; } | 14276 | $as_echo "not found" >&6; } |
26926 | 14277 | ||
26927 | fi | 14278 | fi |
26928 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 14279 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
14280 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
26929 | fi | 14281 | fi |
26930 | 14282 | ||
26931 | |||
26932 | fi | 14283 | fi |
26933 | 14284 | ||
26934 | 14285 | ||
26935 | # More checks for data types | 14286 | # More checks for data types |
26936 | { echo "$as_me:$LINENO: checking for u_int type" >&5 | 14287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int type" >&5 |
26937 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6; } | 14288 | $as_echo_n "checking for u_int type... " >&6; } |
26938 | if test "${ac_cv_have_u_int+set}" = set; then | 14289 | if ${ac_cv_have_u_int+:} false; then : |
26939 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14290 | $as_echo_n "(cached) " >&6 |
26940 | else | 14291 | else |
26941 | 14292 | ||
26942 | cat >conftest.$ac_ext <<_ACEOF | 14293 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
26943 | /* confdefs.h. */ | ||
26944 | _ACEOF | ||
26945 | cat confdefs.h >>conftest.$ac_ext | ||
26946 | cat >>conftest.$ac_ext <<_ACEOF | ||
26947 | /* end confdefs.h. */ | 14294 | /* end confdefs.h. */ |
26948 | #include <sys/types.h> | 14295 | #include <sys/types.h> |
26949 | int | 14296 | int |
@@ -26954,57 +14301,31 @@ main () | |||
26954 | return 0; | 14301 | return 0; |
26955 | } | 14302 | } |
26956 | _ACEOF | 14303 | _ACEOF |
26957 | rm -f conftest.$ac_objext | 14304 | if ac_fn_c_try_compile "$LINENO"; then : |
26958 | if { (ac_try="$ac_compile" | ||
26959 | case "(($ac_try" in | ||
26960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26961 | *) ac_try_echo=$ac_try;; | ||
26962 | esac | ||
26963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26964 | (eval "$ac_compile") 2>conftest.er1 | ||
26965 | ac_status=$? | ||
26966 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26967 | rm -f conftest.er1 | ||
26968 | cat conftest.err >&5 | ||
26969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26970 | (exit $ac_status); } && { | ||
26971 | test -z "$ac_c_werror_flag" || | ||
26972 | test ! -s conftest.err | ||
26973 | } && test -s conftest.$ac_objext; then | ||
26974 | ac_cv_have_u_int="yes" | 14305 | ac_cv_have_u_int="yes" |
26975 | else | 14306 | else |
26976 | echo "$as_me: failed program was:" >&5 | 14307 | ac_cv_have_u_int="no" |
26977 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26978 | |||
26979 | ac_cv_have_u_int="no" | ||
26980 | 14308 | ||
26981 | fi | 14309 | fi |
26982 | |||
26983 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14310 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
26984 | 14311 | ||
26985 | fi | 14312 | fi |
26986 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 | 14313 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_int" >&5 |
26987 | echo "${ECHO_T}$ac_cv_have_u_int" >&6; } | 14314 | $as_echo "$ac_cv_have_u_int" >&6; } |
26988 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 14315 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
26989 | 14316 | ||
26990 | cat >>confdefs.h <<\_ACEOF | 14317 | $as_echo "#define HAVE_U_INT 1" >>confdefs.h |
26991 | #define HAVE_U_INT 1 | ||
26992 | _ACEOF | ||
26993 | 14318 | ||
26994 | have_u_int=1 | 14319 | have_u_int=1 |
26995 | fi | 14320 | fi |
26996 | 14321 | ||
26997 | { echo "$as_me:$LINENO: checking for intXX_t types" >&5 | 14322 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intXX_t types" >&5 |
26998 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6; } | 14323 | $as_echo_n "checking for intXX_t types... " >&6; } |
26999 | if test "${ac_cv_have_intxx_t+set}" = set; then | 14324 | if ${ac_cv_have_intxx_t+:} false; then : |
27000 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14325 | $as_echo_n "(cached) " >&6 |
27001 | else | 14326 | else |
27002 | 14327 | ||
27003 | cat >conftest.$ac_ext <<_ACEOF | 14328 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27004 | /* confdefs.h. */ | ||
27005 | _ACEOF | ||
27006 | cat confdefs.h >>conftest.$ac_ext | ||
27007 | cat >>conftest.$ac_ext <<_ACEOF | ||
27008 | /* end confdefs.h. */ | 14329 | /* end confdefs.h. */ |
27009 | #include <sys/types.h> | 14330 | #include <sys/types.h> |
27010 | int | 14331 | int |
@@ -27015,42 +14336,20 @@ main () | |||
27015 | return 0; | 14336 | return 0; |
27016 | } | 14337 | } |
27017 | _ACEOF | 14338 | _ACEOF |
27018 | rm -f conftest.$ac_objext | 14339 | if ac_fn_c_try_compile "$LINENO"; then : |
27019 | if { (ac_try="$ac_compile" | ||
27020 | case "(($ac_try" in | ||
27021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27022 | *) ac_try_echo=$ac_try;; | ||
27023 | esac | ||
27024 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27025 | (eval "$ac_compile") 2>conftest.er1 | ||
27026 | ac_status=$? | ||
27027 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27028 | rm -f conftest.er1 | ||
27029 | cat conftest.err >&5 | ||
27030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27031 | (exit $ac_status); } && { | ||
27032 | test -z "$ac_c_werror_flag" || | ||
27033 | test ! -s conftest.err | ||
27034 | } && test -s conftest.$ac_objext; then | ||
27035 | ac_cv_have_intxx_t="yes" | 14340 | ac_cv_have_intxx_t="yes" |
27036 | else | 14341 | else |
27037 | echo "$as_me: failed program was:" >&5 | 14342 | ac_cv_have_intxx_t="no" |
27038 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27039 | |||
27040 | ac_cv_have_intxx_t="no" | ||
27041 | 14343 | ||
27042 | fi | 14344 | fi |
27043 | |||
27044 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14345 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27045 | 14346 | ||
27046 | fi | 14347 | fi |
27047 | { echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 | 14348 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_intxx_t" >&5 |
27048 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6; } | 14349 | $as_echo "$ac_cv_have_intxx_t" >&6; } |
27049 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 14350 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
27050 | 14351 | ||
27051 | cat >>confdefs.h <<\_ACEOF | 14352 | $as_echo "#define HAVE_INTXX_T 1" >>confdefs.h |
27052 | #define HAVE_INTXX_T 1 | ||
27053 | _ACEOF | ||
27054 | 14353 | ||
27055 | have_intxx_t=1 | 14354 | have_intxx_t=1 |
27056 | fi | 14355 | fi |
@@ -27058,13 +14357,9 @@ fi | |||
27058 | if (test -z "$have_intxx_t" && \ | 14357 | if (test -z "$have_intxx_t" && \ |
27059 | test "x$ac_cv_header_stdint_h" = "xyes") | 14358 | test "x$ac_cv_header_stdint_h" = "xyes") |
27060 | then | 14359 | then |
27061 | { echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 | 14360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intXX_t types in stdint.h" >&5 |
27062 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6; } | 14361 | $as_echo_n "checking for intXX_t types in stdint.h... " >&6; } |
27063 | cat >conftest.$ac_ext <<_ACEOF | 14362 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27064 | /* confdefs.h. */ | ||
27065 | _ACEOF | ||
27066 | cat confdefs.h >>conftest.$ac_ext | ||
27067 | cat >>conftest.$ac_ext <<_ACEOF | ||
27068 | /* end confdefs.h. */ | 14363 | /* end confdefs.h. */ |
27069 | #include <stdint.h> | 14364 | #include <stdint.h> |
27070 | int | 14365 | int |
@@ -27075,54 +14370,28 @@ main () | |||
27075 | return 0; | 14370 | return 0; |
27076 | } | 14371 | } |
27077 | _ACEOF | 14372 | _ACEOF |
27078 | rm -f conftest.$ac_objext | 14373 | if ac_fn_c_try_compile "$LINENO"; then : |
27079 | if { (ac_try="$ac_compile" | ||
27080 | case "(($ac_try" in | ||
27081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27082 | *) ac_try_echo=$ac_try;; | ||
27083 | esac | ||
27084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27085 | (eval "$ac_compile") 2>conftest.er1 | ||
27086 | ac_status=$? | ||
27087 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27088 | rm -f conftest.er1 | ||
27089 | cat conftest.err >&5 | ||
27090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27091 | (exit $ac_status); } && { | ||
27092 | test -z "$ac_c_werror_flag" || | ||
27093 | test ! -s conftest.err | ||
27094 | } && test -s conftest.$ac_objext; then | ||
27095 | 14374 | ||
27096 | cat >>confdefs.h <<\_ACEOF | 14375 | $as_echo "#define HAVE_INTXX_T 1" >>confdefs.h |
27097 | #define HAVE_INTXX_T 1 | ||
27098 | _ACEOF | ||
27099 | 14376 | ||
27100 | { echo "$as_me:$LINENO: result: yes" >&5 | 14377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
27101 | echo "${ECHO_T}yes" >&6; } | 14378 | $as_echo "yes" >&6; } |
27102 | 14379 | ||
27103 | else | 14380 | else |
27104 | echo "$as_me: failed program was:" >&5 | 14381 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
27105 | sed 's/^/| /' conftest.$ac_ext >&5 | 14382 | $as_echo "no" >&6; } |
27106 | |||
27107 | { echo "$as_me:$LINENO: result: no" >&5 | ||
27108 | echo "${ECHO_T}no" >&6; } | ||
27109 | 14383 | ||
27110 | fi | 14384 | fi |
27111 | |||
27112 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14385 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27113 | fi | 14386 | fi |
27114 | 14387 | ||
27115 | { echo "$as_me:$LINENO: checking for int64_t type" >&5 | 14388 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t type" >&5 |
27116 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6; } | 14389 | $as_echo_n "checking for int64_t type... " >&6; } |
27117 | if test "${ac_cv_have_int64_t+set}" = set; then | 14390 | if ${ac_cv_have_int64_t+:} false; then : |
27118 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14391 | $as_echo_n "(cached) " >&6 |
27119 | else | 14392 | else |
27120 | 14393 | ||
27121 | cat >conftest.$ac_ext <<_ACEOF | 14394 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27122 | /* confdefs.h. */ | ||
27123 | _ACEOF | ||
27124 | cat confdefs.h >>conftest.$ac_ext | ||
27125 | cat >>conftest.$ac_ext <<_ACEOF | ||
27126 | /* end confdefs.h. */ | 14395 | /* end confdefs.h. */ |
27127 | 14396 | ||
27128 | #include <sys/types.h> | 14397 | #include <sys/types.h> |
@@ -27144,56 +14413,30 @@ int64_t a; a = 1; | |||
27144 | return 0; | 14413 | return 0; |
27145 | } | 14414 | } |
27146 | _ACEOF | 14415 | _ACEOF |
27147 | rm -f conftest.$ac_objext | 14416 | if ac_fn_c_try_compile "$LINENO"; then : |
27148 | if { (ac_try="$ac_compile" | ||
27149 | case "(($ac_try" in | ||
27150 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27151 | *) ac_try_echo=$ac_try;; | ||
27152 | esac | ||
27153 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27154 | (eval "$ac_compile") 2>conftest.er1 | ||
27155 | ac_status=$? | ||
27156 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27157 | rm -f conftest.er1 | ||
27158 | cat conftest.err >&5 | ||
27159 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27160 | (exit $ac_status); } && { | ||
27161 | test -z "$ac_c_werror_flag" || | ||
27162 | test ! -s conftest.err | ||
27163 | } && test -s conftest.$ac_objext; then | ||
27164 | ac_cv_have_int64_t="yes" | 14417 | ac_cv_have_int64_t="yes" |
27165 | else | 14418 | else |
27166 | echo "$as_me: failed program was:" >&5 | 14419 | ac_cv_have_int64_t="no" |
27167 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27168 | |||
27169 | ac_cv_have_int64_t="no" | ||
27170 | 14420 | ||
27171 | fi | 14421 | fi |
27172 | |||
27173 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14422 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27174 | 14423 | ||
27175 | fi | 14424 | fi |
27176 | { echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 | 14425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_int64_t" >&5 |
27177 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6; } | 14426 | $as_echo "$ac_cv_have_int64_t" >&6; } |
27178 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 14427 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
27179 | 14428 | ||
27180 | cat >>confdefs.h <<\_ACEOF | 14429 | $as_echo "#define HAVE_INT64_T 1" >>confdefs.h |
27181 | #define HAVE_INT64_T 1 | ||
27182 | _ACEOF | ||
27183 | 14430 | ||
27184 | fi | 14431 | fi |
27185 | 14432 | ||
27186 | { echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 | 14433 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_intXX_t types" >&5 |
27187 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6; } | 14434 | $as_echo_n "checking for u_intXX_t types... " >&6; } |
27188 | if test "${ac_cv_have_u_intxx_t+set}" = set; then | 14435 | if ${ac_cv_have_u_intxx_t+:} false; then : |
27189 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14436 | $as_echo_n "(cached) " >&6 |
27190 | else | 14437 | else |
27191 | 14438 | ||
27192 | cat >conftest.$ac_ext <<_ACEOF | 14439 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27193 | /* confdefs.h. */ | ||
27194 | _ACEOF | ||
27195 | cat confdefs.h >>conftest.$ac_ext | ||
27196 | cat >>conftest.$ac_ext <<_ACEOF | ||
27197 | /* end confdefs.h. */ | 14440 | /* end confdefs.h. */ |
27198 | #include <sys/types.h> | 14441 | #include <sys/types.h> |
27199 | int | 14442 | int |
@@ -27204,54 +14447,28 @@ main () | |||
27204 | return 0; | 14447 | return 0; |
27205 | } | 14448 | } |
27206 | _ACEOF | 14449 | _ACEOF |
27207 | rm -f conftest.$ac_objext | 14450 | if ac_fn_c_try_compile "$LINENO"; then : |
27208 | if { (ac_try="$ac_compile" | ||
27209 | case "(($ac_try" in | ||
27210 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27211 | *) ac_try_echo=$ac_try;; | ||
27212 | esac | ||
27213 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27214 | (eval "$ac_compile") 2>conftest.er1 | ||
27215 | ac_status=$? | ||
27216 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27217 | rm -f conftest.er1 | ||
27218 | cat conftest.err >&5 | ||
27219 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27220 | (exit $ac_status); } && { | ||
27221 | test -z "$ac_c_werror_flag" || | ||
27222 | test ! -s conftest.err | ||
27223 | } && test -s conftest.$ac_objext; then | ||
27224 | ac_cv_have_u_intxx_t="yes" | 14451 | ac_cv_have_u_intxx_t="yes" |
27225 | else | 14452 | else |
27226 | echo "$as_me: failed program was:" >&5 | 14453 | ac_cv_have_u_intxx_t="no" |
27227 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27228 | |||
27229 | ac_cv_have_u_intxx_t="no" | ||
27230 | 14454 | ||
27231 | fi | 14455 | fi |
27232 | |||
27233 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14456 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27234 | 14457 | ||
27235 | fi | 14458 | fi |
27236 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 | 14459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_intxx_t" >&5 |
27237 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6; } | 14460 | $as_echo "$ac_cv_have_u_intxx_t" >&6; } |
27238 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 14461 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
27239 | 14462 | ||
27240 | cat >>confdefs.h <<\_ACEOF | 14463 | $as_echo "#define HAVE_U_INTXX_T 1" >>confdefs.h |
27241 | #define HAVE_U_INTXX_T 1 | ||
27242 | _ACEOF | ||
27243 | 14464 | ||
27244 | have_u_intxx_t=1 | 14465 | have_u_intxx_t=1 |
27245 | fi | 14466 | fi |
27246 | 14467 | ||
27247 | if test -z "$have_u_intxx_t" ; then | 14468 | if test -z "$have_u_intxx_t" ; then |
27248 | { echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 | 14469 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_intXX_t types in sys/socket.h" >&5 |
27249 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6; } | 14470 | $as_echo_n "checking for u_intXX_t types in sys/socket.h... " >&6; } |
27250 | cat >conftest.$ac_ext <<_ACEOF | 14471 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27251 | /* confdefs.h. */ | ||
27252 | _ACEOF | ||
27253 | cat confdefs.h >>conftest.$ac_ext | ||
27254 | cat >>conftest.$ac_ext <<_ACEOF | ||
27255 | /* end confdefs.h. */ | 14472 | /* end confdefs.h. */ |
27256 | #include <sys/socket.h> | 14473 | #include <sys/socket.h> |
27257 | int | 14474 | int |
@@ -27262,54 +14479,28 @@ main () | |||
27262 | return 0; | 14479 | return 0; |
27263 | } | 14480 | } |
27264 | _ACEOF | 14481 | _ACEOF |
27265 | rm -f conftest.$ac_objext | 14482 | if ac_fn_c_try_compile "$LINENO"; then : |
27266 | if { (ac_try="$ac_compile" | ||
27267 | case "(($ac_try" in | ||
27268 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27269 | *) ac_try_echo=$ac_try;; | ||
27270 | esac | ||
27271 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27272 | (eval "$ac_compile") 2>conftest.er1 | ||
27273 | ac_status=$? | ||
27274 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27275 | rm -f conftest.er1 | ||
27276 | cat conftest.err >&5 | ||
27277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27278 | (exit $ac_status); } && { | ||
27279 | test -z "$ac_c_werror_flag" || | ||
27280 | test ! -s conftest.err | ||
27281 | } && test -s conftest.$ac_objext; then | ||
27282 | 14483 | ||
27283 | cat >>confdefs.h <<\_ACEOF | 14484 | $as_echo "#define HAVE_U_INTXX_T 1" >>confdefs.h |
27284 | #define HAVE_U_INTXX_T 1 | ||
27285 | _ACEOF | ||
27286 | 14485 | ||
27287 | { echo "$as_me:$LINENO: result: yes" >&5 | 14486 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
27288 | echo "${ECHO_T}yes" >&6; } | 14487 | $as_echo "yes" >&6; } |
27289 | 14488 | ||
27290 | else | 14489 | else |
27291 | echo "$as_me: failed program was:" >&5 | 14490 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
27292 | sed 's/^/| /' conftest.$ac_ext >&5 | 14491 | $as_echo "no" >&6; } |
27293 | |||
27294 | { echo "$as_me:$LINENO: result: no" >&5 | ||
27295 | echo "${ECHO_T}no" >&6; } | ||
27296 | 14492 | ||
27297 | fi | 14493 | fi |
27298 | |||
27299 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14494 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27300 | fi | 14495 | fi |
27301 | 14496 | ||
27302 | { echo "$as_me:$LINENO: checking for u_int64_t types" >&5 | 14497 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t types" >&5 |
27303 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6; } | 14498 | $as_echo_n "checking for u_int64_t types... " >&6; } |
27304 | if test "${ac_cv_have_u_int64_t+set}" = set; then | 14499 | if ${ac_cv_have_u_int64_t+:} false; then : |
27305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14500 | $as_echo_n "(cached) " >&6 |
27306 | else | 14501 | else |
27307 | 14502 | ||
27308 | cat >conftest.$ac_ext <<_ACEOF | 14503 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27309 | /* confdefs.h. */ | ||
27310 | _ACEOF | ||
27311 | cat confdefs.h >>conftest.$ac_ext | ||
27312 | cat >>conftest.$ac_ext <<_ACEOF | ||
27313 | /* end confdefs.h. */ | 14504 | /* end confdefs.h. */ |
27314 | #include <sys/types.h> | 14505 | #include <sys/types.h> |
27315 | int | 14506 | int |
@@ -27320,42 +14511,20 @@ main () | |||
27320 | return 0; | 14511 | return 0; |
27321 | } | 14512 | } |
27322 | _ACEOF | 14513 | _ACEOF |
27323 | rm -f conftest.$ac_objext | 14514 | if ac_fn_c_try_compile "$LINENO"; then : |
27324 | if { (ac_try="$ac_compile" | ||
27325 | case "(($ac_try" in | ||
27326 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27327 | *) ac_try_echo=$ac_try;; | ||
27328 | esac | ||
27329 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27330 | (eval "$ac_compile") 2>conftest.er1 | ||
27331 | ac_status=$? | ||
27332 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27333 | rm -f conftest.er1 | ||
27334 | cat conftest.err >&5 | ||
27335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27336 | (exit $ac_status); } && { | ||
27337 | test -z "$ac_c_werror_flag" || | ||
27338 | test ! -s conftest.err | ||
27339 | } && test -s conftest.$ac_objext; then | ||
27340 | ac_cv_have_u_int64_t="yes" | 14515 | ac_cv_have_u_int64_t="yes" |
27341 | else | 14516 | else |
27342 | echo "$as_me: failed program was:" >&5 | 14517 | ac_cv_have_u_int64_t="no" |
27343 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27344 | |||
27345 | ac_cv_have_u_int64_t="no" | ||
27346 | 14518 | ||
27347 | fi | 14519 | fi |
27348 | |||
27349 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14520 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27350 | 14521 | ||
27351 | fi | 14522 | fi |
27352 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 | 14523 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_int64_t" >&5 |
27353 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6; } | 14524 | $as_echo "$ac_cv_have_u_int64_t" >&6; } |
27354 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 14525 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
27355 | 14526 | ||
27356 | cat >>confdefs.h <<\_ACEOF | 14527 | $as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h |
27357 | #define HAVE_U_INT64_T 1 | ||
27358 | _ACEOF | ||
27359 | 14528 | ||
27360 | have_u_int64_t=1 | 14529 | have_u_int64_t=1 |
27361 | fi | 14530 | fi |
@@ -27363,13 +14532,9 @@ fi | |||
27363 | if (test -z "$have_u_int64_t" && \ | 14532 | if (test -z "$have_u_int64_t" && \ |
27364 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 14533 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
27365 | then | 14534 | then |
27366 | { echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 | 14535 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t type in sys/bitypes.h" >&5 |
27367 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6; } | 14536 | $as_echo_n "checking for u_int64_t type in sys/bitypes.h... " >&6; } |
27368 | cat >conftest.$ac_ext <<_ACEOF | 14537 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27369 | /* confdefs.h. */ | ||
27370 | _ACEOF | ||
27371 | cat confdefs.h >>conftest.$ac_ext | ||
27372 | cat >>conftest.$ac_ext <<_ACEOF | ||
27373 | /* end confdefs.h. */ | 14538 | /* end confdefs.h. */ |
27374 | #include <sys/bitypes.h> | 14539 | #include <sys/bitypes.h> |
27375 | int | 14540 | int |
@@ -27380,55 +14545,29 @@ main () | |||
27380 | return 0; | 14545 | return 0; |
27381 | } | 14546 | } |
27382 | _ACEOF | 14547 | _ACEOF |
27383 | rm -f conftest.$ac_objext | 14548 | if ac_fn_c_try_compile "$LINENO"; then : |
27384 | if { (ac_try="$ac_compile" | ||
27385 | case "(($ac_try" in | ||
27386 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27387 | *) ac_try_echo=$ac_try;; | ||
27388 | esac | ||
27389 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27390 | (eval "$ac_compile") 2>conftest.er1 | ||
27391 | ac_status=$? | ||
27392 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27393 | rm -f conftest.er1 | ||
27394 | cat conftest.err >&5 | ||
27395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27396 | (exit $ac_status); } && { | ||
27397 | test -z "$ac_c_werror_flag" || | ||
27398 | test ! -s conftest.err | ||
27399 | } && test -s conftest.$ac_objext; then | ||
27400 | 14549 | ||
27401 | cat >>confdefs.h <<\_ACEOF | 14550 | $as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h |
27402 | #define HAVE_U_INT64_T 1 | ||
27403 | _ACEOF | ||
27404 | 14551 | ||
27405 | { echo "$as_me:$LINENO: result: yes" >&5 | 14552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
27406 | echo "${ECHO_T}yes" >&6; } | 14553 | $as_echo "yes" >&6; } |
27407 | 14554 | ||
27408 | else | 14555 | else |
27409 | echo "$as_me: failed program was:" >&5 | 14556 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
27410 | sed 's/^/| /' conftest.$ac_ext >&5 | 14557 | $as_echo "no" >&6; } |
27411 | |||
27412 | { echo "$as_me:$LINENO: result: no" >&5 | ||
27413 | echo "${ECHO_T}no" >&6; } | ||
27414 | 14558 | ||
27415 | fi | 14559 | fi |
27416 | |||
27417 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14560 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27418 | fi | 14561 | fi |
27419 | 14562 | ||
27420 | if test -z "$have_u_intxx_t" ; then | 14563 | if test -z "$have_u_intxx_t" ; then |
27421 | { echo "$as_me:$LINENO: checking for uintXX_t types" >&5 | 14564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t types" >&5 |
27422 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6; } | 14565 | $as_echo_n "checking for uintXX_t types... " >&6; } |
27423 | if test "${ac_cv_have_uintxx_t+set}" = set; then | 14566 | if ${ac_cv_have_uintxx_t+:} false; then : |
27424 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14567 | $as_echo_n "(cached) " >&6 |
27425 | else | 14568 | else |
27426 | 14569 | ||
27427 | cat >conftest.$ac_ext <<_ACEOF | 14570 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27428 | /* confdefs.h. */ | ||
27429 | _ACEOF | ||
27430 | cat confdefs.h >>conftest.$ac_ext | ||
27431 | cat >>conftest.$ac_ext <<_ACEOF | ||
27432 | /* end confdefs.h. */ | 14571 | /* end confdefs.h. */ |
27433 | 14572 | ||
27434 | #include <sys/types.h> | 14573 | #include <sys/types.h> |
@@ -27446,42 +14585,20 @@ main () | |||
27446 | return 0; | 14585 | return 0; |
27447 | } | 14586 | } |
27448 | _ACEOF | 14587 | _ACEOF |
27449 | rm -f conftest.$ac_objext | 14588 | if ac_fn_c_try_compile "$LINENO"; then : |
27450 | if { (ac_try="$ac_compile" | ||
27451 | case "(($ac_try" in | ||
27452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27453 | *) ac_try_echo=$ac_try;; | ||
27454 | esac | ||
27455 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27456 | (eval "$ac_compile") 2>conftest.er1 | ||
27457 | ac_status=$? | ||
27458 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27459 | rm -f conftest.er1 | ||
27460 | cat conftest.err >&5 | ||
27461 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27462 | (exit $ac_status); } && { | ||
27463 | test -z "$ac_c_werror_flag" || | ||
27464 | test ! -s conftest.err | ||
27465 | } && test -s conftest.$ac_objext; then | ||
27466 | ac_cv_have_uintxx_t="yes" | 14589 | ac_cv_have_uintxx_t="yes" |
27467 | else | 14590 | else |
27468 | echo "$as_me: failed program was:" >&5 | 14591 | ac_cv_have_uintxx_t="no" |
27469 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27470 | |||
27471 | ac_cv_have_uintxx_t="no" | ||
27472 | 14592 | ||
27473 | fi | 14593 | fi |
27474 | |||
27475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27476 | 14595 | ||
27477 | fi | 14596 | fi |
27478 | { echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 | 14597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_uintxx_t" >&5 |
27479 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6; } | 14598 | $as_echo "$ac_cv_have_uintxx_t" >&6; } |
27480 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | 14599 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then |
27481 | 14600 | ||
27482 | cat >>confdefs.h <<\_ACEOF | 14601 | $as_echo "#define HAVE_UINTXX_T 1" >>confdefs.h |
27483 | #define HAVE_UINTXX_T 1 | ||
27484 | _ACEOF | ||
27485 | 14602 | ||
27486 | fi | 14603 | fi |
27487 | fi | 14604 | fi |
@@ -27489,13 +14606,9 @@ fi | |||
27489 | if (test -z "$have_uintxx_t" && \ | 14606 | if (test -z "$have_uintxx_t" && \ |
27490 | test "x$ac_cv_header_stdint_h" = "xyes") | 14607 | test "x$ac_cv_header_stdint_h" = "xyes") |
27491 | then | 14608 | then |
27492 | { echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 | 14609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t types in stdint.h" >&5 |
27493 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6; } | 14610 | $as_echo_n "checking for uintXX_t types in stdint.h... " >&6; } |
27494 | cat >conftest.$ac_ext <<_ACEOF | 14611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27495 | /* confdefs.h. */ | ||
27496 | _ACEOF | ||
27497 | cat confdefs.h >>conftest.$ac_ext | ||
27498 | cat >>conftest.$ac_ext <<_ACEOF | ||
27499 | /* end confdefs.h. */ | 14612 | /* end confdefs.h. */ |
27500 | #include <stdint.h> | 14613 | #include <stdint.h> |
27501 | int | 14614 | int |
@@ -27506,53 +14619,27 @@ main () | |||
27506 | return 0; | 14619 | return 0; |
27507 | } | 14620 | } |
27508 | _ACEOF | 14621 | _ACEOF |
27509 | rm -f conftest.$ac_objext | 14622 | if ac_fn_c_try_compile "$LINENO"; then : |
27510 | if { (ac_try="$ac_compile" | ||
27511 | case "(($ac_try" in | ||
27512 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27513 | *) ac_try_echo=$ac_try;; | ||
27514 | esac | ||
27515 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27516 | (eval "$ac_compile") 2>conftest.er1 | ||
27517 | ac_status=$? | ||
27518 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27519 | rm -f conftest.er1 | ||
27520 | cat conftest.err >&5 | ||
27521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27522 | (exit $ac_status); } && { | ||
27523 | test -z "$ac_c_werror_flag" || | ||
27524 | test ! -s conftest.err | ||
27525 | } && test -s conftest.$ac_objext; then | ||
27526 | 14623 | ||
27527 | cat >>confdefs.h <<\_ACEOF | 14624 | $as_echo "#define HAVE_UINTXX_T 1" >>confdefs.h |
27528 | #define HAVE_UINTXX_T 1 | ||
27529 | _ACEOF | ||
27530 | 14625 | ||
27531 | { echo "$as_me:$LINENO: result: yes" >&5 | 14626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
27532 | echo "${ECHO_T}yes" >&6; } | 14627 | $as_echo "yes" >&6; } |
27533 | 14628 | ||
27534 | else | 14629 | else |
27535 | echo "$as_me: failed program was:" >&5 | 14630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
27536 | sed 's/^/| /' conftest.$ac_ext >&5 | 14631 | $as_echo "no" >&6; } |
27537 | |||
27538 | { echo "$as_me:$LINENO: result: no" >&5 | ||
27539 | echo "${ECHO_T}no" >&6; } | ||
27540 | 14632 | ||
27541 | fi | 14633 | fi |
27542 | |||
27543 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14634 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27544 | fi | 14635 | fi |
27545 | 14636 | ||
27546 | if (test -z "$have_uintxx_t" && \ | 14637 | if (test -z "$have_uintxx_t" && \ |
27547 | test "x$ac_cv_header_inttypes_h" = "xyes") | 14638 | test "x$ac_cv_header_inttypes_h" = "xyes") |
27548 | then | 14639 | then |
27549 | { echo "$as_me:$LINENO: checking for uintXX_t types in inttypes.h" >&5 | 14640 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t types in inttypes.h" >&5 |
27550 | echo $ECHO_N "checking for uintXX_t types in inttypes.h... $ECHO_C" >&6; } | 14641 | $as_echo_n "checking for uintXX_t types in inttypes.h... " >&6; } |
27551 | cat >conftest.$ac_ext <<_ACEOF | 14642 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27552 | /* confdefs.h. */ | ||
27553 | _ACEOF | ||
27554 | cat confdefs.h >>conftest.$ac_ext | ||
27555 | cat >>conftest.$ac_ext <<_ACEOF | ||
27556 | /* end confdefs.h. */ | 14643 | /* end confdefs.h. */ |
27557 | #include <inttypes.h> | 14644 | #include <inttypes.h> |
27558 | int | 14645 | int |
@@ -27563,53 +14650,27 @@ main () | |||
27563 | return 0; | 14650 | return 0; |
27564 | } | 14651 | } |
27565 | _ACEOF | 14652 | _ACEOF |
27566 | rm -f conftest.$ac_objext | 14653 | if ac_fn_c_try_compile "$LINENO"; then : |
27567 | if { (ac_try="$ac_compile" | ||
27568 | case "(($ac_try" in | ||
27569 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27570 | *) ac_try_echo=$ac_try;; | ||
27571 | esac | ||
27572 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27573 | (eval "$ac_compile") 2>conftest.er1 | ||
27574 | ac_status=$? | ||
27575 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27576 | rm -f conftest.er1 | ||
27577 | cat conftest.err >&5 | ||
27578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27579 | (exit $ac_status); } && { | ||
27580 | test -z "$ac_c_werror_flag" || | ||
27581 | test ! -s conftest.err | ||
27582 | } && test -s conftest.$ac_objext; then | ||
27583 | 14654 | ||
27584 | cat >>confdefs.h <<\_ACEOF | 14655 | $as_echo "#define HAVE_UINTXX_T 1" >>confdefs.h |
27585 | #define HAVE_UINTXX_T 1 | ||
27586 | _ACEOF | ||
27587 | 14656 | ||
27588 | { echo "$as_me:$LINENO: result: yes" >&5 | 14657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
27589 | echo "${ECHO_T}yes" >&6; } | 14658 | $as_echo "yes" >&6; } |
27590 | 14659 | ||
27591 | else | 14660 | else |
27592 | echo "$as_me: failed program was:" >&5 | 14661 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
27593 | sed 's/^/| /' conftest.$ac_ext >&5 | 14662 | $as_echo "no" >&6; } |
27594 | |||
27595 | { echo "$as_me:$LINENO: result: no" >&5 | ||
27596 | echo "${ECHO_T}no" >&6; } | ||
27597 | 14663 | ||
27598 | fi | 14664 | fi |
27599 | |||
27600 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14665 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27601 | fi | 14666 | fi |
27602 | 14667 | ||
27603 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 14668 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ |
27604 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 14669 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
27605 | then | 14670 | then |
27606 | { echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | 14671 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 |
27607 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6; } | 14672 | $as_echo_n "checking for intXX_t and u_intXX_t types in sys/bitypes.h... " >&6; } |
27608 | cat >conftest.$ac_ext <<_ACEOF | 14673 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27609 | /* confdefs.h. */ | ||
27610 | _ACEOF | ||
27611 | cat confdefs.h >>conftest.$ac_ext | ||
27612 | cat >>conftest.$ac_ext <<_ACEOF | ||
27613 | /* end confdefs.h. */ | 14674 | /* end confdefs.h. */ |
27614 | 14675 | ||
27615 | #include <sys/bitypes.h> | 14676 | #include <sys/bitypes.h> |
@@ -27626,59 +14687,31 @@ main () | |||
27626 | return 0; | 14687 | return 0; |
27627 | } | 14688 | } |
27628 | _ACEOF | 14689 | _ACEOF |
27629 | rm -f conftest.$ac_objext | 14690 | if ac_fn_c_try_compile "$LINENO"; then : |
27630 | if { (ac_try="$ac_compile" | ||
27631 | case "(($ac_try" in | ||
27632 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27633 | *) ac_try_echo=$ac_try;; | ||
27634 | esac | ||
27635 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27636 | (eval "$ac_compile") 2>conftest.er1 | ||
27637 | ac_status=$? | ||
27638 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27639 | rm -f conftest.er1 | ||
27640 | cat conftest.err >&5 | ||
27641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27642 | (exit $ac_status); } && { | ||
27643 | test -z "$ac_c_werror_flag" || | ||
27644 | test ! -s conftest.err | ||
27645 | } && test -s conftest.$ac_objext; then | ||
27646 | 14691 | ||
27647 | cat >>confdefs.h <<\_ACEOF | 14692 | $as_echo "#define HAVE_U_INTXX_T 1" >>confdefs.h |
27648 | #define HAVE_U_INTXX_T 1 | ||
27649 | _ACEOF | ||
27650 | 14693 | ||
27651 | cat >>confdefs.h <<\_ACEOF | 14694 | $as_echo "#define HAVE_INTXX_T 1" >>confdefs.h |
27652 | #define HAVE_INTXX_T 1 | ||
27653 | _ACEOF | ||
27654 | 14695 | ||
27655 | { echo "$as_me:$LINENO: result: yes" >&5 | 14696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
27656 | echo "${ECHO_T}yes" >&6; } | 14697 | $as_echo "yes" >&6; } |
27657 | 14698 | ||
27658 | else | 14699 | else |
27659 | echo "$as_me: failed program was:" >&5 | 14700 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
27660 | sed 's/^/| /' conftest.$ac_ext >&5 | 14701 | $as_echo "no" >&6; } |
27661 | |||
27662 | { echo "$as_me:$LINENO: result: no" >&5 | ||
27663 | echo "${ECHO_T}no" >&6; } | ||
27664 | 14702 | ||
27665 | fi | 14703 | fi |
27666 | |||
27667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14704 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27668 | fi | 14705 | fi |
27669 | 14706 | ||
27670 | 14707 | ||
27671 | { echo "$as_me:$LINENO: checking for u_char" >&5 | 14708 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_char" >&5 |
27672 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } | 14709 | $as_echo_n "checking for u_char... " >&6; } |
27673 | if test "${ac_cv_have_u_char+set}" = set; then | 14710 | if ${ac_cv_have_u_char+:} false; then : |
27674 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14711 | $as_echo_n "(cached) " >&6 |
27675 | else | 14712 | else |
27676 | 14713 | ||
27677 | cat >conftest.$ac_ext <<_ACEOF | 14714 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27678 | /* confdefs.h. */ | ||
27679 | _ACEOF | ||
27680 | cat confdefs.h >>conftest.$ac_ext | ||
27681 | cat >>conftest.$ac_ext <<_ACEOF | ||
27682 | /* end confdefs.h. */ | 14715 | /* end confdefs.h. */ |
27683 | #include <sys/types.h> | 14716 | #include <sys/types.h> |
27684 | int | 14717 | int |
@@ -27689,103 +14722,29 @@ main () | |||
27689 | return 0; | 14722 | return 0; |
27690 | } | 14723 | } |
27691 | _ACEOF | 14724 | _ACEOF |
27692 | rm -f conftest.$ac_objext | 14725 | if ac_fn_c_try_compile "$LINENO"; then : |
27693 | if { (ac_try="$ac_compile" | ||
27694 | case "(($ac_try" in | ||
27695 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27696 | *) ac_try_echo=$ac_try;; | ||
27697 | esac | ||
27698 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27699 | (eval "$ac_compile") 2>conftest.er1 | ||
27700 | ac_status=$? | ||
27701 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27702 | rm -f conftest.er1 | ||
27703 | cat conftest.err >&5 | ||
27704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27705 | (exit $ac_status); } && { | ||
27706 | test -z "$ac_c_werror_flag" || | ||
27707 | test ! -s conftest.err | ||
27708 | } && test -s conftest.$ac_objext; then | ||
27709 | ac_cv_have_u_char="yes" | 14726 | ac_cv_have_u_char="yes" |
27710 | else | 14727 | else |
27711 | echo "$as_me: failed program was:" >&5 | 14728 | ac_cv_have_u_char="no" |
27712 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27713 | |||
27714 | ac_cv_have_u_char="no" | ||
27715 | 14729 | ||
27716 | fi | 14730 | fi |
27717 | |||
27718 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14731 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27719 | 14732 | ||
27720 | fi | 14733 | fi |
27721 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 | 14734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_char" >&5 |
27722 | echo "${ECHO_T}$ac_cv_have_u_char" >&6; } | 14735 | $as_echo "$ac_cv_have_u_char" >&6; } |
27723 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 14736 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
27724 | 14737 | ||
27725 | cat >>confdefs.h <<\_ACEOF | 14738 | $as_echo "#define HAVE_U_CHAR 1" >>confdefs.h |
27726 | #define HAVE_U_CHAR 1 | ||
27727 | _ACEOF | ||
27728 | 14739 | ||
27729 | fi | 14740 | fi |
27730 | 14741 | ||
27731 | { echo "$as_me:$LINENO: checking for intmax_t" >&5 | 14742 | ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" " |
27732 | echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; } | ||
27733 | if test "${ac_cv_type_intmax_t+set}" = set; then | ||
27734 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27735 | else | ||
27736 | cat >conftest.$ac_ext <<_ACEOF | ||
27737 | /* confdefs.h. */ | ||
27738 | _ACEOF | ||
27739 | cat confdefs.h >>conftest.$ac_ext | ||
27740 | cat >>conftest.$ac_ext <<_ACEOF | ||
27741 | /* end confdefs.h. */ | ||
27742 | |||
27743 | #include <sys/types.h> | 14743 | #include <sys/types.h> |
27744 | #include <stdint.h> | 14744 | #include <stdint.h> |
27745 | 14745 | ||
27746 | 14746 | " | |
27747 | typedef intmax_t ac__type_new_; | 14747 | if test "x$ac_cv_type_intmax_t" = xyes; then : |
27748 | int | ||
27749 | main () | ||
27750 | { | ||
27751 | if ((ac__type_new_ *) 0) | ||
27752 | return 0; | ||
27753 | if (sizeof (ac__type_new_)) | ||
27754 | return 0; | ||
27755 | ; | ||
27756 | return 0; | ||
27757 | } | ||
27758 | _ACEOF | ||
27759 | rm -f conftest.$ac_objext | ||
27760 | if { (ac_try="$ac_compile" | ||
27761 | case "(($ac_try" in | ||
27762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27763 | *) ac_try_echo=$ac_try;; | ||
27764 | esac | ||
27765 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27766 | (eval "$ac_compile") 2>conftest.er1 | ||
27767 | ac_status=$? | ||
27768 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27769 | rm -f conftest.er1 | ||
27770 | cat conftest.err >&5 | ||
27771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27772 | (exit $ac_status); } && { | ||
27773 | test -z "$ac_c_werror_flag" || | ||
27774 | test ! -s conftest.err | ||
27775 | } && test -s conftest.$ac_objext; then | ||
27776 | ac_cv_type_intmax_t=yes | ||
27777 | else | ||
27778 | echo "$as_me: failed program was:" >&5 | ||
27779 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27780 | |||
27781 | ac_cv_type_intmax_t=no | ||
27782 | fi | ||
27783 | |||
27784 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27785 | fi | ||
27786 | { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 | ||
27787 | echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; } | ||
27788 | if test $ac_cv_type_intmax_t = yes; then | ||
27789 | 14748 | ||
27790 | cat >>confdefs.h <<_ACEOF | 14749 | cat >>confdefs.h <<_ACEOF |
27791 | #define HAVE_INTMAX_T 1 | 14750 | #define HAVE_INTMAX_T 1 |
@@ -27793,64 +14752,12 @@ _ACEOF | |||
27793 | 14752 | ||
27794 | 14753 | ||
27795 | fi | 14754 | fi |
27796 | { echo "$as_me:$LINENO: checking for uintmax_t" >&5 | 14755 | ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" " |
27797 | echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6; } | ||
27798 | if test "${ac_cv_type_uintmax_t+set}" = set; then | ||
27799 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27800 | else | ||
27801 | cat >conftest.$ac_ext <<_ACEOF | ||
27802 | /* confdefs.h. */ | ||
27803 | _ACEOF | ||
27804 | cat confdefs.h >>conftest.$ac_ext | ||
27805 | cat >>conftest.$ac_ext <<_ACEOF | ||
27806 | /* end confdefs.h. */ | ||
27807 | |||
27808 | #include <sys/types.h> | 14756 | #include <sys/types.h> |
27809 | #include <stdint.h> | 14757 | #include <stdint.h> |
27810 | 14758 | ||
27811 | 14759 | " | |
27812 | typedef uintmax_t ac__type_new_; | 14760 | if test "x$ac_cv_type_uintmax_t" = xyes; then : |
27813 | int | ||
27814 | main () | ||
27815 | { | ||
27816 | if ((ac__type_new_ *) 0) | ||
27817 | return 0; | ||
27818 | if (sizeof (ac__type_new_)) | ||
27819 | return 0; | ||
27820 | ; | ||
27821 | return 0; | ||
27822 | } | ||
27823 | _ACEOF | ||
27824 | rm -f conftest.$ac_objext | ||
27825 | if { (ac_try="$ac_compile" | ||
27826 | case "(($ac_try" in | ||
27827 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27828 | *) ac_try_echo=$ac_try;; | ||
27829 | esac | ||
27830 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27831 | (eval "$ac_compile") 2>conftest.er1 | ||
27832 | ac_status=$? | ||
27833 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27834 | rm -f conftest.er1 | ||
27835 | cat conftest.err >&5 | ||
27836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27837 | (exit $ac_status); } && { | ||
27838 | test -z "$ac_c_werror_flag" || | ||
27839 | test ! -s conftest.err | ||
27840 | } && test -s conftest.$ac_objext; then | ||
27841 | ac_cv_type_uintmax_t=yes | ||
27842 | else | ||
27843 | echo "$as_me: failed program was:" >&5 | ||
27844 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27845 | |||
27846 | ac_cv_type_uintmax_t=no | ||
27847 | fi | ||
27848 | |||
27849 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27850 | fi | ||
27851 | { echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5 | ||
27852 | echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6; } | ||
27853 | if test $ac_cv_type_uintmax_t = yes; then | ||
27854 | 14761 | ||
27855 | cat >>confdefs.h <<_ACEOF | 14762 | cat >>confdefs.h <<_ACEOF |
27856 | #define HAVE_UINTMAX_T 1 | 14763 | #define HAVE_UINTMAX_T 1 |
@@ -27861,69 +14768,17 @@ fi | |||
27861 | 14768 | ||
27862 | 14769 | ||
27863 | 14770 | ||
27864 | { echo "$as_me:$LINENO: checking for socklen_t" >&5 | 14771 | ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> |
27865 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } | ||
27866 | if test "${ac_cv_type_socklen_t+set}" = set; then | ||
27867 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27868 | else | ||
27869 | cat >conftest.$ac_ext <<_ACEOF | ||
27870 | /* confdefs.h. */ | ||
27871 | _ACEOF | ||
27872 | cat confdefs.h >>conftest.$ac_ext | ||
27873 | cat >>conftest.$ac_ext <<_ACEOF | ||
27874 | /* end confdefs.h. */ | ||
27875 | #include <sys/types.h> | ||
27876 | #include <sys/socket.h> | 14772 | #include <sys/socket.h> |
14773 | " | ||
14774 | if test "x$ac_cv_type_socklen_t" = xyes; then : | ||
27877 | 14775 | ||
27878 | typedef socklen_t ac__type_new_; | ||
27879 | int | ||
27880 | main () | ||
27881 | { | ||
27882 | if ((ac__type_new_ *) 0) | ||
27883 | return 0; | ||
27884 | if (sizeof (ac__type_new_)) | ||
27885 | return 0; | ||
27886 | ; | ||
27887 | return 0; | ||
27888 | } | ||
27889 | _ACEOF | ||
27890 | rm -f conftest.$ac_objext | ||
27891 | if { (ac_try="$ac_compile" | ||
27892 | case "(($ac_try" in | ||
27893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27894 | *) ac_try_echo=$ac_try;; | ||
27895 | esac | ||
27896 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27897 | (eval "$ac_compile") 2>conftest.er1 | ||
27898 | ac_status=$? | ||
27899 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27900 | rm -f conftest.er1 | ||
27901 | cat conftest.err >&5 | ||
27902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27903 | (exit $ac_status); } && { | ||
27904 | test -z "$ac_c_werror_flag" || | ||
27905 | test ! -s conftest.err | ||
27906 | } && test -s conftest.$ac_objext; then | ||
27907 | ac_cv_type_socklen_t=yes | ||
27908 | else | ||
27909 | echo "$as_me: failed program was:" >&5 | ||
27910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27911 | |||
27912 | ac_cv_type_socklen_t=no | ||
27913 | fi | ||
27914 | |||
27915 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27916 | fi | ||
27917 | { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 | ||
27918 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } | ||
27919 | if test $ac_cv_type_socklen_t = yes; then | ||
27920 | : | ||
27921 | else | 14776 | else |
27922 | 14777 | ||
27923 | { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 | 14778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 |
27924 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; } | 14779 | $as_echo_n "checking for socklen_t equivalent... " >&6; } |
27925 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | 14780 | if ${curl_cv_socklen_t_equiv+:} false; then : |
27926 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14781 | $as_echo_n "(cached) " >&6 |
27927 | else | 14782 | else |
27928 | 14783 | ||
27929 | # Systems have either "struct sockaddr *" or | 14784 | # Systems have either "struct sockaddr *" or |
@@ -27931,11 +14786,7 @@ else | |||
27931 | curl_cv_socklen_t_equiv= | 14786 | curl_cv_socklen_t_equiv= |
27932 | for arg2 in "struct sockaddr" void; do | 14787 | for arg2 in "struct sockaddr" void; do |
27933 | for t in int size_t unsigned long "unsigned long"; do | 14788 | for t in int size_t unsigned long "unsigned long"; do |
27934 | cat >conftest.$ac_ext <<_ACEOF | 14789 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
27935 | /* confdefs.h. */ | ||
27936 | _ACEOF | ||
27937 | cat confdefs.h >>conftest.$ac_ext | ||
27938 | cat >>conftest.$ac_ext <<_ACEOF | ||
27939 | /* end confdefs.h. */ | 14790 | /* end confdefs.h. */ |
27940 | 14791 | ||
27941 | #include <sys/types.h> | 14792 | #include <sys/types.h> |
@@ -27954,48 +14805,24 @@ main () | |||
27954 | return 0; | 14805 | return 0; |
27955 | } | 14806 | } |
27956 | _ACEOF | 14807 | _ACEOF |
27957 | rm -f conftest.$ac_objext | 14808 | if ac_fn_c_try_compile "$LINENO"; then : |
27958 | if { (ac_try="$ac_compile" | ||
27959 | case "(($ac_try" in | ||
27960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27961 | *) ac_try_echo=$ac_try;; | ||
27962 | esac | ||
27963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27964 | (eval "$ac_compile") 2>conftest.er1 | ||
27965 | ac_status=$? | ||
27966 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27967 | rm -f conftest.er1 | ||
27968 | cat conftest.err >&5 | ||
27969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27970 | (exit $ac_status); } && { | ||
27971 | test -z "$ac_c_werror_flag" || | ||
27972 | test ! -s conftest.err | ||
27973 | } && test -s conftest.$ac_objext; then | ||
27974 | 14809 | ||
27975 | curl_cv_socklen_t_equiv="$t" | 14810 | curl_cv_socklen_t_equiv="$t" |
27976 | break | 14811 | break |
27977 | 14812 | ||
27978 | else | ||
27979 | echo "$as_me: failed program was:" >&5 | ||
27980 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27981 | |||
27982 | |||
27983 | fi | 14813 | fi |
27984 | |||
27985 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14814 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
27986 | done | 14815 | done |
27987 | done | 14816 | done |
27988 | 14817 | ||
27989 | if test "x$curl_cv_socklen_t_equiv" = x; then | 14818 | if test "x$curl_cv_socklen_t_equiv" = x; then |
27990 | { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 | 14819 | as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5 |
27991 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} | ||
27992 | { (exit 1); exit 1; }; } | ||
27993 | fi | 14820 | fi |
27994 | 14821 | ||
27995 | fi | 14822 | fi |
27996 | 14823 | ||
27997 | { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 | 14824 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_socklen_t_equiv" >&5 |
27998 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; } | 14825 | $as_echo "$curl_cv_socklen_t_equiv" >&6; } |
27999 | 14826 | ||
28000 | cat >>confdefs.h <<_ACEOF | 14827 | cat >>confdefs.h <<_ACEOF |
28001 | #define socklen_t $curl_cv_socklen_t_equiv | 14828 | #define socklen_t $curl_cv_socklen_t_equiv |
@@ -28005,61 +14832,9 @@ fi | |||
28005 | 14832 | ||
28006 | 14833 | ||
28007 | 14834 | ||
28008 | { echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 | 14835 | ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> |
28009 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; } | 14836 | " |
28010 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then | 14837 | if test "x$ac_cv_type_sig_atomic_t" = xyes; then : |
28011 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28012 | else | ||
28013 | cat >conftest.$ac_ext <<_ACEOF | ||
28014 | /* confdefs.h. */ | ||
28015 | _ACEOF | ||
28016 | cat confdefs.h >>conftest.$ac_ext | ||
28017 | cat >>conftest.$ac_ext <<_ACEOF | ||
28018 | /* end confdefs.h. */ | ||
28019 | #include <signal.h> | ||
28020 | |||
28021 | typedef sig_atomic_t ac__type_new_; | ||
28022 | int | ||
28023 | main () | ||
28024 | { | ||
28025 | if ((ac__type_new_ *) 0) | ||
28026 | return 0; | ||
28027 | if (sizeof (ac__type_new_)) | ||
28028 | return 0; | ||
28029 | ; | ||
28030 | return 0; | ||
28031 | } | ||
28032 | _ACEOF | ||
28033 | rm -f conftest.$ac_objext | ||
28034 | if { (ac_try="$ac_compile" | ||
28035 | case "(($ac_try" in | ||
28036 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28037 | *) ac_try_echo=$ac_try;; | ||
28038 | esac | ||
28039 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28040 | (eval "$ac_compile") 2>conftest.er1 | ||
28041 | ac_status=$? | ||
28042 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28043 | rm -f conftest.er1 | ||
28044 | cat conftest.err >&5 | ||
28045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28046 | (exit $ac_status); } && { | ||
28047 | test -z "$ac_c_werror_flag" || | ||
28048 | test ! -s conftest.err | ||
28049 | } && test -s conftest.$ac_objext; then | ||
28050 | ac_cv_type_sig_atomic_t=yes | ||
28051 | else | ||
28052 | echo "$as_me: failed program was:" >&5 | ||
28053 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28054 | |||
28055 | ac_cv_type_sig_atomic_t=no | ||
28056 | fi | ||
28057 | |||
28058 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28059 | fi | ||
28060 | { echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | ||
28061 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; } | ||
28062 | if test $ac_cv_type_sig_atomic_t = yes; then | ||
28063 | 14838 | ||
28064 | cat >>confdefs.h <<_ACEOF | 14839 | cat >>confdefs.h <<_ACEOF |
28065 | #define HAVE_SIG_ATOMIC_T 1 | 14840 | #define HAVE_SIG_ATOMIC_T 1 |
@@ -28068,18 +14843,7 @@ _ACEOF | |||
28068 | 14843 | ||
28069 | fi | 14844 | fi |
28070 | 14845 | ||
28071 | { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 | 14846 | ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" " |
28072 | echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; } | ||
28073 | if test "${ac_cv_type_fsblkcnt_t+set}" = set; then | ||
28074 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28075 | else | ||
28076 | cat >conftest.$ac_ext <<_ACEOF | ||
28077 | /* confdefs.h. */ | ||
28078 | _ACEOF | ||
28079 | cat confdefs.h >>conftest.$ac_ext | ||
28080 | cat >>conftest.$ac_ext <<_ACEOF | ||
28081 | /* end confdefs.h. */ | ||
28082 | |||
28083 | #include <sys/types.h> | 14847 | #include <sys/types.h> |
28084 | #ifdef HAVE_SYS_BITYPES_H | 14848 | #ifdef HAVE_SYS_BITYPES_H |
28085 | #include <sys/bitypes.h> | 14849 | #include <sys/bitypes.h> |
@@ -28091,49 +14855,8 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
28091 | #include <sys/statvfs.h> | 14855 | #include <sys/statvfs.h> |
28092 | #endif | 14856 | #endif |
28093 | 14857 | ||
28094 | 14858 | " | |
28095 | typedef fsblkcnt_t ac__type_new_; | 14859 | if test "x$ac_cv_type_fsblkcnt_t" = xyes; then : |
28096 | int | ||
28097 | main () | ||
28098 | { | ||
28099 | if ((ac__type_new_ *) 0) | ||
28100 | return 0; | ||
28101 | if (sizeof (ac__type_new_)) | ||
28102 | return 0; | ||
28103 | ; | ||
28104 | return 0; | ||
28105 | } | ||
28106 | _ACEOF | ||
28107 | rm -f conftest.$ac_objext | ||
28108 | if { (ac_try="$ac_compile" | ||
28109 | case "(($ac_try" in | ||
28110 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28111 | *) ac_try_echo=$ac_try;; | ||
28112 | esac | ||
28113 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28114 | (eval "$ac_compile") 2>conftest.er1 | ||
28115 | ac_status=$? | ||
28116 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28117 | rm -f conftest.er1 | ||
28118 | cat conftest.err >&5 | ||
28119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28120 | (exit $ac_status); } && { | ||
28121 | test -z "$ac_c_werror_flag" || | ||
28122 | test ! -s conftest.err | ||
28123 | } && test -s conftest.$ac_objext; then | ||
28124 | ac_cv_type_fsblkcnt_t=yes | ||
28125 | else | ||
28126 | echo "$as_me: failed program was:" >&5 | ||
28127 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28128 | |||
28129 | ac_cv_type_fsblkcnt_t=no | ||
28130 | fi | ||
28131 | |||
28132 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28133 | fi | ||
28134 | { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5 | ||
28135 | echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; } | ||
28136 | if test $ac_cv_type_fsblkcnt_t = yes; then | ||
28137 | 14860 | ||
28138 | cat >>confdefs.h <<_ACEOF | 14861 | cat >>confdefs.h <<_ACEOF |
28139 | #define HAVE_FSBLKCNT_T 1 | 14862 | #define HAVE_FSBLKCNT_T 1 |
@@ -28141,18 +14864,7 @@ _ACEOF | |||
28141 | 14864 | ||
28142 | 14865 | ||
28143 | fi | 14866 | fi |
28144 | { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 | 14867 | ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" " |
28145 | echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; } | ||
28146 | if test "${ac_cv_type_fsfilcnt_t+set}" = set; then | ||
28147 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28148 | else | ||
28149 | cat >conftest.$ac_ext <<_ACEOF | ||
28150 | /* confdefs.h. */ | ||
28151 | _ACEOF | ||
28152 | cat confdefs.h >>conftest.$ac_ext | ||
28153 | cat >>conftest.$ac_ext <<_ACEOF | ||
28154 | /* end confdefs.h. */ | ||
28155 | |||
28156 | #include <sys/types.h> | 14868 | #include <sys/types.h> |
28157 | #ifdef HAVE_SYS_BITYPES_H | 14869 | #ifdef HAVE_SYS_BITYPES_H |
28158 | #include <sys/bitypes.h> | 14870 | #include <sys/bitypes.h> |
@@ -28164,49 +14876,8 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
28164 | #include <sys/statvfs.h> | 14876 | #include <sys/statvfs.h> |
28165 | #endif | 14877 | #endif |
28166 | 14878 | ||
28167 | 14879 | " | |
28168 | typedef fsfilcnt_t ac__type_new_; | 14880 | if test "x$ac_cv_type_fsfilcnt_t" = xyes; then : |
28169 | int | ||
28170 | main () | ||
28171 | { | ||
28172 | if ((ac__type_new_ *) 0) | ||
28173 | return 0; | ||
28174 | if (sizeof (ac__type_new_)) | ||
28175 | return 0; | ||
28176 | ; | ||
28177 | return 0; | ||
28178 | } | ||
28179 | _ACEOF | ||
28180 | rm -f conftest.$ac_objext | ||
28181 | if { (ac_try="$ac_compile" | ||
28182 | case "(($ac_try" in | ||
28183 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28184 | *) ac_try_echo=$ac_try;; | ||
28185 | esac | ||
28186 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28187 | (eval "$ac_compile") 2>conftest.er1 | ||
28188 | ac_status=$? | ||
28189 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28190 | rm -f conftest.er1 | ||
28191 | cat conftest.err >&5 | ||
28192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28193 | (exit $ac_status); } && { | ||
28194 | test -z "$ac_c_werror_flag" || | ||
28195 | test ! -s conftest.err | ||
28196 | } && test -s conftest.$ac_objext; then | ||
28197 | ac_cv_type_fsfilcnt_t=yes | ||
28198 | else | ||
28199 | echo "$as_me: failed program was:" >&5 | ||
28200 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28201 | |||
28202 | ac_cv_type_fsfilcnt_t=no | ||
28203 | fi | ||
28204 | |||
28205 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28206 | fi | ||
28207 | { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5 | ||
28208 | echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; } | ||
28209 | if test $ac_cv_type_fsfilcnt_t = yes; then | ||
28210 | 14881 | ||
28211 | cat >>confdefs.h <<_ACEOF | 14882 | cat >>confdefs.h <<_ACEOF |
28212 | #define HAVE_FSFILCNT_T 1 | 14883 | #define HAVE_FSFILCNT_T 1 |
@@ -28216,62 +14887,10 @@ _ACEOF | |||
28216 | fi | 14887 | fi |
28217 | 14888 | ||
28218 | 14889 | ||
28219 | { echo "$as_me:$LINENO: checking for in_addr_t" >&5 | 14890 | ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" "#include <sys/types.h> |
28220 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } | ||
28221 | if test "${ac_cv_type_in_addr_t+set}" = set; then | ||
28222 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28223 | else | ||
28224 | cat >conftest.$ac_ext <<_ACEOF | ||
28225 | /* confdefs.h. */ | ||
28226 | _ACEOF | ||
28227 | cat confdefs.h >>conftest.$ac_ext | ||
28228 | cat >>conftest.$ac_ext <<_ACEOF | ||
28229 | /* end confdefs.h. */ | ||
28230 | #include <sys/types.h> | ||
28231 | #include <netinet/in.h> | 14891 | #include <netinet/in.h> |
28232 | 14892 | " | |
28233 | typedef in_addr_t ac__type_new_; | 14893 | if test "x$ac_cv_type_in_addr_t" = xyes; then : |
28234 | int | ||
28235 | main () | ||
28236 | { | ||
28237 | if ((ac__type_new_ *) 0) | ||
28238 | return 0; | ||
28239 | if (sizeof (ac__type_new_)) | ||
28240 | return 0; | ||
28241 | ; | ||
28242 | return 0; | ||
28243 | } | ||
28244 | _ACEOF | ||
28245 | rm -f conftest.$ac_objext | ||
28246 | if { (ac_try="$ac_compile" | ||
28247 | case "(($ac_try" in | ||
28248 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28249 | *) ac_try_echo=$ac_try;; | ||
28250 | esac | ||
28251 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28252 | (eval "$ac_compile") 2>conftest.er1 | ||
28253 | ac_status=$? | ||
28254 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28255 | rm -f conftest.er1 | ||
28256 | cat conftest.err >&5 | ||
28257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28258 | (exit $ac_status); } && { | ||
28259 | test -z "$ac_c_werror_flag" || | ||
28260 | test ! -s conftest.err | ||
28261 | } && test -s conftest.$ac_objext; then | ||
28262 | ac_cv_type_in_addr_t=yes | ||
28263 | else | ||
28264 | echo "$as_me: failed program was:" >&5 | ||
28265 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28266 | |||
28267 | ac_cv_type_in_addr_t=no | ||
28268 | fi | ||
28269 | |||
28270 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28271 | fi | ||
28272 | { echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 | ||
28273 | echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; } | ||
28274 | if test $ac_cv_type_in_addr_t = yes; then | ||
28275 | 14894 | ||
28276 | cat >>confdefs.h <<_ACEOF | 14895 | cat >>confdefs.h <<_ACEOF |
28277 | #define HAVE_IN_ADDR_T 1 | 14896 | #define HAVE_IN_ADDR_T 1 |
@@ -28279,62 +14898,10 @@ _ACEOF | |||
28279 | 14898 | ||
28280 | 14899 | ||
28281 | fi | 14900 | fi |
28282 | { echo "$as_me:$LINENO: checking for in_port_t" >&5 | 14901 | ac_fn_c_check_type "$LINENO" "in_port_t" "ac_cv_type_in_port_t" "#include <sys/types.h> |
28283 | echo $ECHO_N "checking for in_port_t... $ECHO_C" >&6; } | ||
28284 | if test "${ac_cv_type_in_port_t+set}" = set; then | ||
28285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28286 | else | ||
28287 | cat >conftest.$ac_ext <<_ACEOF | ||
28288 | /* confdefs.h. */ | ||
28289 | _ACEOF | ||
28290 | cat confdefs.h >>conftest.$ac_ext | ||
28291 | cat >>conftest.$ac_ext <<_ACEOF | ||
28292 | /* end confdefs.h. */ | ||
28293 | #include <sys/types.h> | ||
28294 | #include <netinet/in.h> | 14902 | #include <netinet/in.h> |
28295 | 14903 | " | |
28296 | typedef in_port_t ac__type_new_; | 14904 | if test "x$ac_cv_type_in_port_t" = xyes; then : |
28297 | int | ||
28298 | main () | ||
28299 | { | ||
28300 | if ((ac__type_new_ *) 0) | ||
28301 | return 0; | ||
28302 | if (sizeof (ac__type_new_)) | ||
28303 | return 0; | ||
28304 | ; | ||
28305 | return 0; | ||
28306 | } | ||
28307 | _ACEOF | ||
28308 | rm -f conftest.$ac_objext | ||
28309 | if { (ac_try="$ac_compile" | ||
28310 | case "(($ac_try" in | ||
28311 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28312 | *) ac_try_echo=$ac_try;; | ||
28313 | esac | ||
28314 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28315 | (eval "$ac_compile") 2>conftest.er1 | ||
28316 | ac_status=$? | ||
28317 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28318 | rm -f conftest.er1 | ||
28319 | cat conftest.err >&5 | ||
28320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28321 | (exit $ac_status); } && { | ||
28322 | test -z "$ac_c_werror_flag" || | ||
28323 | test ! -s conftest.err | ||
28324 | } && test -s conftest.$ac_objext; then | ||
28325 | ac_cv_type_in_port_t=yes | ||
28326 | else | ||
28327 | echo "$as_me: failed program was:" >&5 | ||
28328 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28329 | |||
28330 | ac_cv_type_in_port_t=no | ||
28331 | fi | ||
28332 | |||
28333 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28334 | fi | ||
28335 | { echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5 | ||
28336 | echo "${ECHO_T}$ac_cv_type_in_port_t" >&6; } | ||
28337 | if test $ac_cv_type_in_port_t = yes; then | ||
28338 | 14905 | ||
28339 | cat >>confdefs.h <<_ACEOF | 14906 | cat >>confdefs.h <<_ACEOF |
28340 | #define HAVE_IN_PORT_T 1 | 14907 | #define HAVE_IN_PORT_T 1 |
@@ -28344,17 +14911,13 @@ _ACEOF | |||
28344 | fi | 14911 | fi |
28345 | 14912 | ||
28346 | 14913 | ||
28347 | { echo "$as_me:$LINENO: checking for size_t" >&5 | 14914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t" >&5 |
28348 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } | 14915 | $as_echo_n "checking for size_t... " >&6; } |
28349 | if test "${ac_cv_have_size_t+set}" = set; then | 14916 | if ${ac_cv_have_size_t+:} false; then : |
28350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14917 | $as_echo_n "(cached) " >&6 |
28351 | else | 14918 | else |
28352 | 14919 | ||
28353 | cat >conftest.$ac_ext <<_ACEOF | 14920 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28354 | /* confdefs.h. */ | ||
28355 | _ACEOF | ||
28356 | cat confdefs.h >>conftest.$ac_ext | ||
28357 | cat >>conftest.$ac_ext <<_ACEOF | ||
28358 | /* end confdefs.h. */ | 14921 | /* end confdefs.h. */ |
28359 | #include <sys/types.h> | 14922 | #include <sys/types.h> |
28360 | int | 14923 | int |
@@ -28365,56 +14928,30 @@ main () | |||
28365 | return 0; | 14928 | return 0; |
28366 | } | 14929 | } |
28367 | _ACEOF | 14930 | _ACEOF |
28368 | rm -f conftest.$ac_objext | 14931 | if ac_fn_c_try_compile "$LINENO"; then : |
28369 | if { (ac_try="$ac_compile" | ||
28370 | case "(($ac_try" in | ||
28371 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28372 | *) ac_try_echo=$ac_try;; | ||
28373 | esac | ||
28374 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28375 | (eval "$ac_compile") 2>conftest.er1 | ||
28376 | ac_status=$? | ||
28377 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28378 | rm -f conftest.er1 | ||
28379 | cat conftest.err >&5 | ||
28380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28381 | (exit $ac_status); } && { | ||
28382 | test -z "$ac_c_werror_flag" || | ||
28383 | test ! -s conftest.err | ||
28384 | } && test -s conftest.$ac_objext; then | ||
28385 | ac_cv_have_size_t="yes" | 14932 | ac_cv_have_size_t="yes" |
28386 | else | 14933 | else |
28387 | echo "$as_me: failed program was:" >&5 | 14934 | ac_cv_have_size_t="no" |
28388 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28389 | |||
28390 | ac_cv_have_size_t="no" | ||
28391 | 14935 | ||
28392 | fi | 14936 | fi |
28393 | |||
28394 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14937 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28395 | 14938 | ||
28396 | fi | 14939 | fi |
28397 | { echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 | 14940 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t" >&5 |
28398 | echo "${ECHO_T}$ac_cv_have_size_t" >&6; } | 14941 | $as_echo "$ac_cv_have_size_t" >&6; } |
28399 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 14942 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
28400 | 14943 | ||
28401 | cat >>confdefs.h <<\_ACEOF | 14944 | $as_echo "#define HAVE_SIZE_T 1" >>confdefs.h |
28402 | #define HAVE_SIZE_T 1 | ||
28403 | _ACEOF | ||
28404 | 14945 | ||
28405 | fi | 14946 | fi |
28406 | 14947 | ||
28407 | { echo "$as_me:$LINENO: checking for ssize_t" >&5 | 14948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 |
28408 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } | 14949 | $as_echo_n "checking for ssize_t... " >&6; } |
28409 | if test "${ac_cv_have_ssize_t+set}" = set; then | 14950 | if ${ac_cv_have_ssize_t+:} false; then : |
28410 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14951 | $as_echo_n "(cached) " >&6 |
28411 | else | 14952 | else |
28412 | 14953 | ||
28413 | cat >conftest.$ac_ext <<_ACEOF | 14954 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28414 | /* confdefs.h. */ | ||
28415 | _ACEOF | ||
28416 | cat confdefs.h >>conftest.$ac_ext | ||
28417 | cat >>conftest.$ac_ext <<_ACEOF | ||
28418 | /* end confdefs.h. */ | 14955 | /* end confdefs.h. */ |
28419 | #include <sys/types.h> | 14956 | #include <sys/types.h> |
28420 | int | 14957 | int |
@@ -28425,56 +14962,30 @@ main () | |||
28425 | return 0; | 14962 | return 0; |
28426 | } | 14963 | } |
28427 | _ACEOF | 14964 | _ACEOF |
28428 | rm -f conftest.$ac_objext | 14965 | if ac_fn_c_try_compile "$LINENO"; then : |
28429 | if { (ac_try="$ac_compile" | ||
28430 | case "(($ac_try" in | ||
28431 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28432 | *) ac_try_echo=$ac_try;; | ||
28433 | esac | ||
28434 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28435 | (eval "$ac_compile") 2>conftest.er1 | ||
28436 | ac_status=$? | ||
28437 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28438 | rm -f conftest.er1 | ||
28439 | cat conftest.err >&5 | ||
28440 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28441 | (exit $ac_status); } && { | ||
28442 | test -z "$ac_c_werror_flag" || | ||
28443 | test ! -s conftest.err | ||
28444 | } && test -s conftest.$ac_objext; then | ||
28445 | ac_cv_have_ssize_t="yes" | 14966 | ac_cv_have_ssize_t="yes" |
28446 | else | 14967 | else |
28447 | echo "$as_me: failed program was:" >&5 | 14968 | ac_cv_have_ssize_t="no" |
28448 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28449 | |||
28450 | ac_cv_have_ssize_t="no" | ||
28451 | 14969 | ||
28452 | fi | 14970 | fi |
28453 | |||
28454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14971 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28455 | 14972 | ||
28456 | fi | 14973 | fi |
28457 | { echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 | 14974 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ssize_t" >&5 |
28458 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6; } | 14975 | $as_echo "$ac_cv_have_ssize_t" >&6; } |
28459 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 14976 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
28460 | 14977 | ||
28461 | cat >>confdefs.h <<\_ACEOF | 14978 | $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h |
28462 | #define HAVE_SSIZE_T 1 | ||
28463 | _ACEOF | ||
28464 | 14979 | ||
28465 | fi | 14980 | fi |
28466 | 14981 | ||
28467 | { echo "$as_me:$LINENO: checking for clock_t" >&5 | 14982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t" >&5 |
28468 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } | 14983 | $as_echo_n "checking for clock_t... " >&6; } |
28469 | if test "${ac_cv_have_clock_t+set}" = set; then | 14984 | if ${ac_cv_have_clock_t+:} false; then : |
28470 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 14985 | $as_echo_n "(cached) " >&6 |
28471 | else | 14986 | else |
28472 | 14987 | ||
28473 | cat >conftest.$ac_ext <<_ACEOF | 14988 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28474 | /* confdefs.h. */ | ||
28475 | _ACEOF | ||
28476 | cat confdefs.h >>conftest.$ac_ext | ||
28477 | cat >>conftest.$ac_ext <<_ACEOF | ||
28478 | /* end confdefs.h. */ | 14989 | /* end confdefs.h. */ |
28479 | #include <time.h> | 14990 | #include <time.h> |
28480 | int | 14991 | int |
@@ -28485,56 +14996,30 @@ main () | |||
28485 | return 0; | 14996 | return 0; |
28486 | } | 14997 | } |
28487 | _ACEOF | 14998 | _ACEOF |
28488 | rm -f conftest.$ac_objext | 14999 | if ac_fn_c_try_compile "$LINENO"; then : |
28489 | if { (ac_try="$ac_compile" | ||
28490 | case "(($ac_try" in | ||
28491 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28492 | *) ac_try_echo=$ac_try;; | ||
28493 | esac | ||
28494 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28495 | (eval "$ac_compile") 2>conftest.er1 | ||
28496 | ac_status=$? | ||
28497 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28498 | rm -f conftest.er1 | ||
28499 | cat conftest.err >&5 | ||
28500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28501 | (exit $ac_status); } && { | ||
28502 | test -z "$ac_c_werror_flag" || | ||
28503 | test ! -s conftest.err | ||
28504 | } && test -s conftest.$ac_objext; then | ||
28505 | ac_cv_have_clock_t="yes" | 15000 | ac_cv_have_clock_t="yes" |
28506 | else | 15001 | else |
28507 | echo "$as_me: failed program was:" >&5 | 15002 | ac_cv_have_clock_t="no" |
28508 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28509 | |||
28510 | ac_cv_have_clock_t="no" | ||
28511 | 15003 | ||
28512 | fi | 15004 | fi |
28513 | |||
28514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15005 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28515 | 15006 | ||
28516 | fi | 15007 | fi |
28517 | { echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 | 15008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_clock_t" >&5 |
28518 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6; } | 15009 | $as_echo "$ac_cv_have_clock_t" >&6; } |
28519 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 15010 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
28520 | 15011 | ||
28521 | cat >>confdefs.h <<\_ACEOF | 15012 | $as_echo "#define HAVE_CLOCK_T 1" >>confdefs.h |
28522 | #define HAVE_CLOCK_T 1 | ||
28523 | _ACEOF | ||
28524 | 15013 | ||
28525 | fi | 15014 | fi |
28526 | 15015 | ||
28527 | { echo "$as_me:$LINENO: checking for sa_family_t" >&5 | 15016 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_family_t" >&5 |
28528 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } | 15017 | $as_echo_n "checking for sa_family_t... " >&6; } |
28529 | if test "${ac_cv_have_sa_family_t+set}" = set; then | 15018 | if ${ac_cv_have_sa_family_t+:} false; then : |
28530 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15019 | $as_echo_n "(cached) " >&6 |
28531 | else | 15020 | else |
28532 | 15021 | ||
28533 | cat >conftest.$ac_ext <<_ACEOF | 15022 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28534 | /* confdefs.h. */ | ||
28535 | _ACEOF | ||
28536 | cat confdefs.h >>conftest.$ac_ext | ||
28537 | cat >>conftest.$ac_ext <<_ACEOF | ||
28538 | /* end confdefs.h. */ | 15023 | /* end confdefs.h. */ |
28539 | 15024 | ||
28540 | #include <sys/types.h> | 15025 | #include <sys/types.h> |
@@ -28548,33 +15033,10 @@ main () | |||
28548 | return 0; | 15033 | return 0; |
28549 | } | 15034 | } |
28550 | _ACEOF | 15035 | _ACEOF |
28551 | rm -f conftest.$ac_objext | 15036 | if ac_fn_c_try_compile "$LINENO"; then : |
28552 | if { (ac_try="$ac_compile" | ||
28553 | case "(($ac_try" in | ||
28554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28555 | *) ac_try_echo=$ac_try;; | ||
28556 | esac | ||
28557 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28558 | (eval "$ac_compile") 2>conftest.er1 | ||
28559 | ac_status=$? | ||
28560 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28561 | rm -f conftest.er1 | ||
28562 | cat conftest.err >&5 | ||
28563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28564 | (exit $ac_status); } && { | ||
28565 | test -z "$ac_c_werror_flag" || | ||
28566 | test ! -s conftest.err | ||
28567 | } && test -s conftest.$ac_objext; then | ||
28568 | ac_cv_have_sa_family_t="yes" | 15037 | ac_cv_have_sa_family_t="yes" |
28569 | else | 15038 | else |
28570 | echo "$as_me: failed program was:" >&5 | 15039 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28571 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28572 | |||
28573 | cat >conftest.$ac_ext <<_ACEOF | ||
28574 | /* confdefs.h. */ | ||
28575 | _ACEOF | ||
28576 | cat confdefs.h >>conftest.$ac_ext | ||
28577 | cat >>conftest.$ac_ext <<_ACEOF | ||
28578 | /* end confdefs.h. */ | 15040 | /* end confdefs.h. */ |
28579 | 15041 | ||
28580 | #include <sys/types.h> | 15042 | #include <sys/types.h> |
@@ -28589,60 +15051,33 @@ main () | |||
28589 | return 0; | 15051 | return 0; |
28590 | } | 15052 | } |
28591 | _ACEOF | 15053 | _ACEOF |
28592 | rm -f conftest.$ac_objext | 15054 | if ac_fn_c_try_compile "$LINENO"; then : |
28593 | if { (ac_try="$ac_compile" | ||
28594 | case "(($ac_try" in | ||
28595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28596 | *) ac_try_echo=$ac_try;; | ||
28597 | esac | ||
28598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28599 | (eval "$ac_compile") 2>conftest.er1 | ||
28600 | ac_status=$? | ||
28601 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28602 | rm -f conftest.er1 | ||
28603 | cat conftest.err >&5 | ||
28604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28605 | (exit $ac_status); } && { | ||
28606 | test -z "$ac_c_werror_flag" || | ||
28607 | test ! -s conftest.err | ||
28608 | } && test -s conftest.$ac_objext; then | ||
28609 | ac_cv_have_sa_family_t="yes" | 15055 | ac_cv_have_sa_family_t="yes" |
28610 | else | 15056 | else |
28611 | echo "$as_me: failed program was:" >&5 | 15057 | ac_cv_have_sa_family_t="no" |
28612 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28613 | |||
28614 | ac_cv_have_sa_family_t="no" | ||
28615 | 15058 | ||
28616 | fi | 15059 | fi |
28617 | |||
28618 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15060 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28619 | 15061 | ||
28620 | fi | 15062 | fi |
28621 | |||
28622 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15063 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28623 | 15064 | ||
28624 | fi | 15065 | fi |
28625 | { echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 | 15066 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_sa_family_t" >&5 |
28626 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6; } | 15067 | $as_echo "$ac_cv_have_sa_family_t" >&6; } |
28627 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 15068 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
28628 | 15069 | ||
28629 | cat >>confdefs.h <<\_ACEOF | 15070 | $as_echo "#define HAVE_SA_FAMILY_T 1" >>confdefs.h |
28630 | #define HAVE_SA_FAMILY_T 1 | ||
28631 | _ACEOF | ||
28632 | 15071 | ||
28633 | fi | 15072 | fi |
28634 | 15073 | ||
28635 | { echo "$as_me:$LINENO: checking for pid_t" >&5 | 15074 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pid_t" >&5 |
28636 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } | 15075 | $as_echo_n "checking for pid_t... " >&6; } |
28637 | if test "${ac_cv_have_pid_t+set}" = set; then | 15076 | if ${ac_cv_have_pid_t+:} false; then : |
28638 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15077 | $as_echo_n "(cached) " >&6 |
28639 | else | 15078 | else |
28640 | 15079 | ||
28641 | cat >conftest.$ac_ext <<_ACEOF | 15080 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28642 | /* confdefs.h. */ | ||
28643 | _ACEOF | ||
28644 | cat confdefs.h >>conftest.$ac_ext | ||
28645 | cat >>conftest.$ac_ext <<_ACEOF | ||
28646 | /* end confdefs.h. */ | 15081 | /* end confdefs.h. */ |
28647 | #include <sys/types.h> | 15082 | #include <sys/types.h> |
28648 | int | 15083 | int |
@@ -28653,56 +15088,30 @@ main () | |||
28653 | return 0; | 15088 | return 0; |
28654 | } | 15089 | } |
28655 | _ACEOF | 15090 | _ACEOF |
28656 | rm -f conftest.$ac_objext | 15091 | if ac_fn_c_try_compile "$LINENO"; then : |
28657 | if { (ac_try="$ac_compile" | ||
28658 | case "(($ac_try" in | ||
28659 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28660 | *) ac_try_echo=$ac_try;; | ||
28661 | esac | ||
28662 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28663 | (eval "$ac_compile") 2>conftest.er1 | ||
28664 | ac_status=$? | ||
28665 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28666 | rm -f conftest.er1 | ||
28667 | cat conftest.err >&5 | ||
28668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28669 | (exit $ac_status); } && { | ||
28670 | test -z "$ac_c_werror_flag" || | ||
28671 | test ! -s conftest.err | ||
28672 | } && test -s conftest.$ac_objext; then | ||
28673 | ac_cv_have_pid_t="yes" | 15092 | ac_cv_have_pid_t="yes" |
28674 | else | 15093 | else |
28675 | echo "$as_me: failed program was:" >&5 | 15094 | ac_cv_have_pid_t="no" |
28676 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28677 | |||
28678 | ac_cv_have_pid_t="no" | ||
28679 | 15095 | ||
28680 | fi | 15096 | fi |
28681 | |||
28682 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15097 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28683 | 15098 | ||
28684 | fi | 15099 | fi |
28685 | { echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 | 15100 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pid_t" >&5 |
28686 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6; } | 15101 | $as_echo "$ac_cv_have_pid_t" >&6; } |
28687 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 15102 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
28688 | 15103 | ||
28689 | cat >>confdefs.h <<\_ACEOF | 15104 | $as_echo "#define HAVE_PID_T 1" >>confdefs.h |
28690 | #define HAVE_PID_T 1 | ||
28691 | _ACEOF | ||
28692 | 15105 | ||
28693 | fi | 15106 | fi |
28694 | 15107 | ||
28695 | { echo "$as_me:$LINENO: checking for mode_t" >&5 | 15108 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mode_t" >&5 |
28696 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } | 15109 | $as_echo_n "checking for mode_t... " >&6; } |
28697 | if test "${ac_cv_have_mode_t+set}" = set; then | 15110 | if ${ac_cv_have_mode_t+:} false; then : |
28698 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15111 | $as_echo_n "(cached) " >&6 |
28699 | else | 15112 | else |
28700 | 15113 | ||
28701 | cat >conftest.$ac_ext <<_ACEOF | 15114 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28702 | /* confdefs.h. */ | ||
28703 | _ACEOF | ||
28704 | cat confdefs.h >>conftest.$ac_ext | ||
28705 | cat >>conftest.$ac_ext <<_ACEOF | ||
28706 | /* end confdefs.h. */ | 15115 | /* end confdefs.h. */ |
28707 | #include <sys/types.h> | 15116 | #include <sys/types.h> |
28708 | int | 15117 | int |
@@ -28713,57 +15122,31 @@ main () | |||
28713 | return 0; | 15122 | return 0; |
28714 | } | 15123 | } |
28715 | _ACEOF | 15124 | _ACEOF |
28716 | rm -f conftest.$ac_objext | 15125 | if ac_fn_c_try_compile "$LINENO"; then : |
28717 | if { (ac_try="$ac_compile" | ||
28718 | case "(($ac_try" in | ||
28719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28720 | *) ac_try_echo=$ac_try;; | ||
28721 | esac | ||
28722 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28723 | (eval "$ac_compile") 2>conftest.er1 | ||
28724 | ac_status=$? | ||
28725 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28726 | rm -f conftest.er1 | ||
28727 | cat conftest.err >&5 | ||
28728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28729 | (exit $ac_status); } && { | ||
28730 | test -z "$ac_c_werror_flag" || | ||
28731 | test ! -s conftest.err | ||
28732 | } && test -s conftest.$ac_objext; then | ||
28733 | ac_cv_have_mode_t="yes" | 15126 | ac_cv_have_mode_t="yes" |
28734 | else | 15127 | else |
28735 | echo "$as_me: failed program was:" >&5 | 15128 | ac_cv_have_mode_t="no" |
28736 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28737 | |||
28738 | ac_cv_have_mode_t="no" | ||
28739 | 15129 | ||
28740 | fi | 15130 | fi |
28741 | |||
28742 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15131 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28743 | 15132 | ||
28744 | fi | 15133 | fi |
28745 | { echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 | 15134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_mode_t" >&5 |
28746 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6; } | 15135 | $as_echo "$ac_cv_have_mode_t" >&6; } |
28747 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 15136 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
28748 | 15137 | ||
28749 | cat >>confdefs.h <<\_ACEOF | 15138 | $as_echo "#define HAVE_MODE_T 1" >>confdefs.h |
28750 | #define HAVE_MODE_T 1 | ||
28751 | _ACEOF | ||
28752 | 15139 | ||
28753 | fi | 15140 | fi |
28754 | 15141 | ||
28755 | 15142 | ||
28756 | { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 | 15143 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5 |
28757 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } | 15144 | $as_echo_n "checking for struct sockaddr_storage... " >&6; } |
28758 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then | 15145 | if ${ac_cv_have_struct_sockaddr_storage+:} false; then : |
28759 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15146 | $as_echo_n "(cached) " >&6 |
28760 | else | 15147 | else |
28761 | 15148 | ||
28762 | cat >conftest.$ac_ext <<_ACEOF | 15149 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28763 | /* confdefs.h. */ | ||
28764 | _ACEOF | ||
28765 | cat confdefs.h >>conftest.$ac_ext | ||
28766 | cat >>conftest.$ac_ext <<_ACEOF | ||
28767 | /* end confdefs.h. */ | 15150 | /* end confdefs.h. */ |
28768 | 15151 | ||
28769 | #include <sys/types.h> | 15152 | #include <sys/types.h> |
@@ -28777,56 +15160,30 @@ main () | |||
28777 | return 0; | 15160 | return 0; |
28778 | } | 15161 | } |
28779 | _ACEOF | 15162 | _ACEOF |
28780 | rm -f conftest.$ac_objext | 15163 | if ac_fn_c_try_compile "$LINENO"; then : |
28781 | if { (ac_try="$ac_compile" | ||
28782 | case "(($ac_try" in | ||
28783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28784 | *) ac_try_echo=$ac_try;; | ||
28785 | esac | ||
28786 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28787 | (eval "$ac_compile") 2>conftest.er1 | ||
28788 | ac_status=$? | ||
28789 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28790 | rm -f conftest.er1 | ||
28791 | cat conftest.err >&5 | ||
28792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28793 | (exit $ac_status); } && { | ||
28794 | test -z "$ac_c_werror_flag" || | ||
28795 | test ! -s conftest.err | ||
28796 | } && test -s conftest.$ac_objext; then | ||
28797 | ac_cv_have_struct_sockaddr_storage="yes" | 15164 | ac_cv_have_struct_sockaddr_storage="yes" |
28798 | else | 15165 | else |
28799 | echo "$as_me: failed program was:" >&5 | 15166 | ac_cv_have_struct_sockaddr_storage="no" |
28800 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28801 | |||
28802 | ac_cv_have_struct_sockaddr_storage="no" | ||
28803 | 15167 | ||
28804 | fi | 15168 | fi |
28805 | |||
28806 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28807 | 15170 | ||
28808 | fi | 15171 | fi |
28809 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 | 15172 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_storage" >&5 |
28810 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; } | 15173 | $as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; } |
28811 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 15174 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
28812 | 15175 | ||
28813 | cat >>confdefs.h <<\_ACEOF | 15176 | $as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h |
28814 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | ||
28815 | _ACEOF | ||
28816 | 15177 | ||
28817 | fi | 15178 | fi |
28818 | 15179 | ||
28819 | { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 | 15180 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_in6" >&5 |
28820 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; } | 15181 | $as_echo_n "checking for struct sockaddr_in6... " >&6; } |
28821 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then | 15182 | if ${ac_cv_have_struct_sockaddr_in6+:} false; then : |
28822 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15183 | $as_echo_n "(cached) " >&6 |
28823 | else | 15184 | else |
28824 | 15185 | ||
28825 | cat >conftest.$ac_ext <<_ACEOF | 15186 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28826 | /* confdefs.h. */ | ||
28827 | _ACEOF | ||
28828 | cat confdefs.h >>conftest.$ac_ext | ||
28829 | cat >>conftest.$ac_ext <<_ACEOF | ||
28830 | /* end confdefs.h. */ | 15187 | /* end confdefs.h. */ |
28831 | 15188 | ||
28832 | #include <sys/types.h> | 15189 | #include <sys/types.h> |
@@ -28840,56 +15197,30 @@ main () | |||
28840 | return 0; | 15197 | return 0; |
28841 | } | 15198 | } |
28842 | _ACEOF | 15199 | _ACEOF |
28843 | rm -f conftest.$ac_objext | 15200 | if ac_fn_c_try_compile "$LINENO"; then : |
28844 | if { (ac_try="$ac_compile" | ||
28845 | case "(($ac_try" in | ||
28846 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28847 | *) ac_try_echo=$ac_try;; | ||
28848 | esac | ||
28849 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28850 | (eval "$ac_compile") 2>conftest.er1 | ||
28851 | ac_status=$? | ||
28852 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28853 | rm -f conftest.er1 | ||
28854 | cat conftest.err >&5 | ||
28855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28856 | (exit $ac_status); } && { | ||
28857 | test -z "$ac_c_werror_flag" || | ||
28858 | test ! -s conftest.err | ||
28859 | } && test -s conftest.$ac_objext; then | ||
28860 | ac_cv_have_struct_sockaddr_in6="yes" | 15201 | ac_cv_have_struct_sockaddr_in6="yes" |
28861 | else | 15202 | else |
28862 | echo "$as_me: failed program was:" >&5 | 15203 | ac_cv_have_struct_sockaddr_in6="no" |
28863 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28864 | |||
28865 | ac_cv_have_struct_sockaddr_in6="no" | ||
28866 | 15204 | ||
28867 | fi | 15205 | fi |
28868 | |||
28869 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15206 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28870 | 15207 | ||
28871 | fi | 15208 | fi |
28872 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 | 15209 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_in6" >&5 |
28873 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; } | 15210 | $as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; } |
28874 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 15211 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
28875 | 15212 | ||
28876 | cat >>confdefs.h <<\_ACEOF | 15213 | $as_echo "#define HAVE_STRUCT_SOCKADDR_IN6 1" >>confdefs.h |
28877 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | ||
28878 | _ACEOF | ||
28879 | 15214 | ||
28880 | fi | 15215 | fi |
28881 | 15216 | ||
28882 | { echo "$as_me:$LINENO: checking for struct in6_addr" >&5 | 15217 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct in6_addr" >&5 |
28883 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } | 15218 | $as_echo_n "checking for struct in6_addr... " >&6; } |
28884 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then | 15219 | if ${ac_cv_have_struct_in6_addr+:} false; then : |
28885 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15220 | $as_echo_n "(cached) " >&6 |
28886 | else | 15221 | else |
28887 | 15222 | ||
28888 | cat >conftest.$ac_ext <<_ACEOF | 15223 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
28889 | /* confdefs.h. */ | ||
28890 | _ACEOF | ||
28891 | cat confdefs.h >>conftest.$ac_ext | ||
28892 | cat >>conftest.$ac_ext <<_ACEOF | ||
28893 | /* end confdefs.h. */ | 15224 | /* end confdefs.h. */ |
28894 | 15225 | ||
28895 | #include <sys/types.h> | 15226 | #include <sys/types.h> |
@@ -28903,150 +15234,30 @@ main () | |||
28903 | return 0; | 15234 | return 0; |
28904 | } | 15235 | } |
28905 | _ACEOF | 15236 | _ACEOF |
28906 | rm -f conftest.$ac_objext | 15237 | if ac_fn_c_try_compile "$LINENO"; then : |
28907 | if { (ac_try="$ac_compile" | ||
28908 | case "(($ac_try" in | ||
28909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28910 | *) ac_try_echo=$ac_try;; | ||
28911 | esac | ||
28912 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28913 | (eval "$ac_compile") 2>conftest.er1 | ||
28914 | ac_status=$? | ||
28915 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28916 | rm -f conftest.er1 | ||
28917 | cat conftest.err >&5 | ||
28918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28919 | (exit $ac_status); } && { | ||
28920 | test -z "$ac_c_werror_flag" || | ||
28921 | test ! -s conftest.err | ||
28922 | } && test -s conftest.$ac_objext; then | ||
28923 | ac_cv_have_struct_in6_addr="yes" | 15238 | ac_cv_have_struct_in6_addr="yes" |
28924 | else | 15239 | else |
28925 | echo "$as_me: failed program was:" >&5 | 15240 | ac_cv_have_struct_in6_addr="no" |
28926 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28927 | |||
28928 | ac_cv_have_struct_in6_addr="no" | ||
28929 | 15241 | ||
28930 | fi | 15242 | fi |
28931 | |||
28932 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15243 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
28933 | 15244 | ||
28934 | fi | 15245 | fi |
28935 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 | 15246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_in6_addr" >&5 |
28936 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; } | 15247 | $as_echo "$ac_cv_have_struct_in6_addr" >&6; } |
28937 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 15248 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
28938 | 15249 | ||
28939 | cat >>confdefs.h <<\_ACEOF | 15250 | $as_echo "#define HAVE_STRUCT_IN6_ADDR 1" >>confdefs.h |
28940 | #define HAVE_STRUCT_IN6_ADDR 1 | ||
28941 | _ACEOF | ||
28942 | |||
28943 | |||
28944 | { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5 | ||
28945 | echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; } | ||
28946 | if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then | ||
28947 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28948 | else | ||
28949 | cat >conftest.$ac_ext <<_ACEOF | ||
28950 | /* confdefs.h. */ | ||
28951 | _ACEOF | ||
28952 | cat confdefs.h >>conftest.$ac_ext | ||
28953 | cat >>conftest.$ac_ext <<_ACEOF | ||
28954 | /* end confdefs.h. */ | ||
28955 | |||
28956 | #ifdef HAVE_SYS_TYPES_H | ||
28957 | #include <sys/types.h> | ||
28958 | #endif | ||
28959 | #include <netinet/in.h> | ||
28960 | |||
28961 | |||
28962 | int | ||
28963 | main () | ||
28964 | { | ||
28965 | static struct sockaddr_in6 ac_aggr; | ||
28966 | if (ac_aggr.sin6_scope_id) | ||
28967 | return 0; | ||
28968 | ; | ||
28969 | return 0; | ||
28970 | } | ||
28971 | _ACEOF | ||
28972 | rm -f conftest.$ac_objext | ||
28973 | if { (ac_try="$ac_compile" | ||
28974 | case "(($ac_try" in | ||
28975 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28976 | *) ac_try_echo=$ac_try;; | ||
28977 | esac | ||
28978 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28979 | (eval "$ac_compile") 2>conftest.er1 | ||
28980 | ac_status=$? | ||
28981 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28982 | rm -f conftest.er1 | ||
28983 | cat conftest.err >&5 | ||
28984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28985 | (exit $ac_status); } && { | ||
28986 | test -z "$ac_c_werror_flag" || | ||
28987 | test ! -s conftest.err | ||
28988 | } && test -s conftest.$ac_objext; then | ||
28989 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes | ||
28990 | else | ||
28991 | echo "$as_me: failed program was:" >&5 | ||
28992 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28993 | 15251 | ||
28994 | cat >conftest.$ac_ext <<_ACEOF | ||
28995 | /* confdefs.h. */ | ||
28996 | _ACEOF | ||
28997 | cat confdefs.h >>conftest.$ac_ext | ||
28998 | cat >>conftest.$ac_ext <<_ACEOF | ||
28999 | /* end confdefs.h. */ | ||
29000 | 15252 | ||
15253 | ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" " | ||
29001 | #ifdef HAVE_SYS_TYPES_H | 15254 | #ifdef HAVE_SYS_TYPES_H |
29002 | #include <sys/types.h> | 15255 | #include <sys/types.h> |
29003 | #endif | 15256 | #endif |
29004 | #include <netinet/in.h> | 15257 | #include <netinet/in.h> |
29005 | 15258 | ||
29006 | 15259 | " | |
29007 | int | 15260 | if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then : |
29008 | main () | ||
29009 | { | ||
29010 | static struct sockaddr_in6 ac_aggr; | ||
29011 | if (sizeof ac_aggr.sin6_scope_id) | ||
29012 | return 0; | ||
29013 | ; | ||
29014 | return 0; | ||
29015 | } | ||
29016 | _ACEOF | ||
29017 | rm -f conftest.$ac_objext | ||
29018 | if { (ac_try="$ac_compile" | ||
29019 | case "(($ac_try" in | ||
29020 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29021 | *) ac_try_echo=$ac_try;; | ||
29022 | esac | ||
29023 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29024 | (eval "$ac_compile") 2>conftest.er1 | ||
29025 | ac_status=$? | ||
29026 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29027 | rm -f conftest.er1 | ||
29028 | cat conftest.err >&5 | ||
29029 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29030 | (exit $ac_status); } && { | ||
29031 | test -z "$ac_c_werror_flag" || | ||
29032 | test ! -s conftest.err | ||
29033 | } && test -s conftest.$ac_objext; then | ||
29034 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes | ||
29035 | else | ||
29036 | echo "$as_me: failed program was:" >&5 | ||
29037 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29038 | |||
29039 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no | ||
29040 | fi | ||
29041 | |||
29042 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29043 | fi | ||
29044 | |||
29045 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29046 | fi | ||
29047 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5 | ||
29048 | echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; } | ||
29049 | if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then | ||
29050 | 15261 | ||
29051 | cat >>confdefs.h <<_ACEOF | 15262 | cat >>confdefs.h <<_ACEOF |
29052 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | 15263 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 |
@@ -29057,17 +15268,13 @@ fi | |||
29057 | 15268 | ||
29058 | fi | 15269 | fi |
29059 | 15270 | ||
29060 | { echo "$as_me:$LINENO: checking for struct addrinfo" >&5 | 15271 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 |
29061 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } | 15272 | $as_echo_n "checking for struct addrinfo... " >&6; } |
29062 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then | 15273 | if ${ac_cv_have_struct_addrinfo+:} false; then : |
29063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15274 | $as_echo_n "(cached) " >&6 |
29064 | else | 15275 | else |
29065 | 15276 | ||
29066 | cat >conftest.$ac_ext <<_ACEOF | 15277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29067 | /* confdefs.h. */ | ||
29068 | _ACEOF | ||
29069 | cat confdefs.h >>conftest.$ac_ext | ||
29070 | cat >>conftest.$ac_ext <<_ACEOF | ||
29071 | /* end confdefs.h. */ | 15278 | /* end confdefs.h. */ |
29072 | 15279 | ||
29073 | #include <sys/types.h> | 15280 | #include <sys/types.h> |
@@ -29082,56 +15289,30 @@ main () | |||
29082 | return 0; | 15289 | return 0; |
29083 | } | 15290 | } |
29084 | _ACEOF | 15291 | _ACEOF |
29085 | rm -f conftest.$ac_objext | 15292 | if ac_fn_c_try_compile "$LINENO"; then : |
29086 | if { (ac_try="$ac_compile" | ||
29087 | case "(($ac_try" in | ||
29088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29089 | *) ac_try_echo=$ac_try;; | ||
29090 | esac | ||
29091 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29092 | (eval "$ac_compile") 2>conftest.er1 | ||
29093 | ac_status=$? | ||
29094 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29095 | rm -f conftest.er1 | ||
29096 | cat conftest.err >&5 | ||
29097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29098 | (exit $ac_status); } && { | ||
29099 | test -z "$ac_c_werror_flag" || | ||
29100 | test ! -s conftest.err | ||
29101 | } && test -s conftest.$ac_objext; then | ||
29102 | ac_cv_have_struct_addrinfo="yes" | 15293 | ac_cv_have_struct_addrinfo="yes" |
29103 | else | 15294 | else |
29104 | echo "$as_me: failed program was:" >&5 | 15295 | ac_cv_have_struct_addrinfo="no" |
29105 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29106 | |||
29107 | ac_cv_have_struct_addrinfo="no" | ||
29108 | 15296 | ||
29109 | fi | 15297 | fi |
29110 | |||
29111 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15298 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
29112 | 15299 | ||
29113 | fi | 15300 | fi |
29114 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 | 15301 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_addrinfo" >&5 |
29115 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; } | 15302 | $as_echo "$ac_cv_have_struct_addrinfo" >&6; } |
29116 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 15303 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
29117 | 15304 | ||
29118 | cat >>confdefs.h <<\_ACEOF | 15305 | $as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h |
29119 | #define HAVE_STRUCT_ADDRINFO 1 | ||
29120 | _ACEOF | ||
29121 | 15306 | ||
29122 | fi | 15307 | fi |
29123 | 15308 | ||
29124 | { echo "$as_me:$LINENO: checking for struct timeval" >&5 | 15309 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 |
29125 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } | 15310 | $as_echo_n "checking for struct timeval... " >&6; } |
29126 | if test "${ac_cv_have_struct_timeval+set}" = set; then | 15311 | if ${ac_cv_have_struct_timeval+:} false; then : |
29127 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15312 | $as_echo_n "(cached) " >&6 |
29128 | else | 15313 | else |
29129 | 15314 | ||
29130 | cat >conftest.$ac_ext <<_ACEOF | 15315 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29131 | /* confdefs.h. */ | ||
29132 | _ACEOF | ||
29133 | cat confdefs.h >>conftest.$ac_ext | ||
29134 | cat >>conftest.$ac_ext <<_ACEOF | ||
29135 | /* end confdefs.h. */ | 15316 | /* end confdefs.h. */ |
29136 | #include <sys/time.h> | 15317 | #include <sys/time.h> |
29137 | int | 15318 | int |
@@ -29142,100 +15323,26 @@ main () | |||
29142 | return 0; | 15323 | return 0; |
29143 | } | 15324 | } |
29144 | _ACEOF | 15325 | _ACEOF |
29145 | rm -f conftest.$ac_objext | 15326 | if ac_fn_c_try_compile "$LINENO"; then : |
29146 | if { (ac_try="$ac_compile" | ||
29147 | case "(($ac_try" in | ||
29148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29149 | *) ac_try_echo=$ac_try;; | ||
29150 | esac | ||
29151 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29152 | (eval "$ac_compile") 2>conftest.er1 | ||
29153 | ac_status=$? | ||
29154 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29155 | rm -f conftest.er1 | ||
29156 | cat conftest.err >&5 | ||
29157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29158 | (exit $ac_status); } && { | ||
29159 | test -z "$ac_c_werror_flag" || | ||
29160 | test ! -s conftest.err | ||
29161 | } && test -s conftest.$ac_objext; then | ||
29162 | ac_cv_have_struct_timeval="yes" | 15327 | ac_cv_have_struct_timeval="yes" |
29163 | else | 15328 | else |
29164 | echo "$as_me: failed program was:" >&5 | 15329 | ac_cv_have_struct_timeval="no" |
29165 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29166 | |||
29167 | ac_cv_have_struct_timeval="no" | ||
29168 | 15330 | ||
29169 | fi | 15331 | fi |
29170 | |||
29171 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
29172 | 15333 | ||
29173 | fi | 15334 | fi |
29174 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 | 15335 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_timeval" >&5 |
29175 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6; } | 15336 | $as_echo "$ac_cv_have_struct_timeval" >&6; } |
29176 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 15337 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
29177 | 15338 | ||
29178 | cat >>confdefs.h <<\_ACEOF | 15339 | $as_echo "#define HAVE_STRUCT_TIMEVAL 1" >>confdefs.h |
29179 | #define HAVE_STRUCT_TIMEVAL 1 | ||
29180 | _ACEOF | ||
29181 | 15340 | ||
29182 | have_struct_timeval=1 | 15341 | have_struct_timeval=1 |
29183 | fi | 15342 | fi |
29184 | 15343 | ||
29185 | { echo "$as_me:$LINENO: checking for struct timespec" >&5 | 15344 | ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default" |
29186 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } | 15345 | if test "x$ac_cv_type_struct_timespec" = xyes; then : |
29187 | if test "${ac_cv_type_struct_timespec+set}" = set; then | ||
29188 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29189 | else | ||
29190 | cat >conftest.$ac_ext <<_ACEOF | ||
29191 | /* confdefs.h. */ | ||
29192 | _ACEOF | ||
29193 | cat confdefs.h >>conftest.$ac_ext | ||
29194 | cat >>conftest.$ac_ext <<_ACEOF | ||
29195 | /* end confdefs.h. */ | ||
29196 | $ac_includes_default | ||
29197 | typedef struct timespec ac__type_new_; | ||
29198 | int | ||
29199 | main () | ||
29200 | { | ||
29201 | if ((ac__type_new_ *) 0) | ||
29202 | return 0; | ||
29203 | if (sizeof (ac__type_new_)) | ||
29204 | return 0; | ||
29205 | ; | ||
29206 | return 0; | ||
29207 | } | ||
29208 | _ACEOF | ||
29209 | rm -f conftest.$ac_objext | ||
29210 | if { (ac_try="$ac_compile" | ||
29211 | case "(($ac_try" in | ||
29212 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29213 | *) ac_try_echo=$ac_try;; | ||
29214 | esac | ||
29215 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29216 | (eval "$ac_compile") 2>conftest.er1 | ||
29217 | ac_status=$? | ||
29218 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29219 | rm -f conftest.er1 | ||
29220 | cat conftest.err >&5 | ||
29221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29222 | (exit $ac_status); } && { | ||
29223 | test -z "$ac_c_werror_flag" || | ||
29224 | test ! -s conftest.err | ||
29225 | } && test -s conftest.$ac_objext; then | ||
29226 | ac_cv_type_struct_timespec=yes | ||
29227 | else | ||
29228 | echo "$as_me: failed program was:" >&5 | ||
29229 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29230 | |||
29231 | ac_cv_type_struct_timespec=no | ||
29232 | fi | ||
29233 | |||
29234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29235 | fi | ||
29236 | { echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 | ||
29237 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } | ||
29238 | if test $ac_cv_type_struct_timespec = yes; then | ||
29239 | 15346 | ||
29240 | cat >>confdefs.h <<_ACEOF | 15347 | cat >>confdefs.h <<_ACEOF |
29241 | #define HAVE_STRUCT_TIMESPEC 1 | 15348 | #define HAVE_STRUCT_TIMESPEC 1 |
@@ -29254,16 +15361,12 @@ if test "x$ac_cv_have_int64_t" = "xno" && \ | |||
29254 | echo "" | 15361 | echo "" |
29255 | exit 1; | 15362 | exit 1; |
29256 | else | 15363 | else |
29257 | if test "$cross_compiling" = yes; then | 15364 | if test "$cross_compiling" = yes; then : |
29258 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 | 15365 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Assuming working snprintf()" >&5 |
29259 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 15366 | $as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
29260 | 15367 | ||
29261 | else | 15368 | else |
29262 | cat >conftest.$ac_ext <<_ACEOF | 15369 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29263 | /* confdefs.h. */ | ||
29264 | _ACEOF | ||
29265 | cat confdefs.h >>conftest.$ac_ext | ||
29266 | cat >>conftest.$ac_ext <<_ACEOF | ||
29267 | /* end confdefs.h. */ | 15370 | /* end confdefs.h. */ |
29268 | 15371 | ||
29269 | #include <stdio.h> | 15372 | #include <stdio.h> |
@@ -29290,65 +15393,35 @@ main() { exit(0); } | |||
29290 | #endif | 15393 | #endif |
29291 | 15394 | ||
29292 | _ACEOF | 15395 | _ACEOF |
29293 | rm -f conftest$ac_exeext | 15396 | if ac_fn_c_try_run "$LINENO"; then : |
29294 | if { (ac_try="$ac_link" | ||
29295 | case "(($ac_try" in | ||
29296 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29297 | *) ac_try_echo=$ac_try;; | ||
29298 | esac | ||
29299 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29300 | (eval "$ac_link") 2>&5 | ||
29301 | ac_status=$? | ||
29302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29303 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
29304 | { (case "(($ac_try" in | ||
29305 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29306 | *) ac_try_echo=$ac_try;; | ||
29307 | esac | ||
29308 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29309 | (eval "$ac_try") 2>&5 | ||
29310 | ac_status=$? | ||
29311 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29312 | (exit $ac_status); }; }; then | ||
29313 | true | 15397 | true |
29314 | else | 15398 | else |
29315 | echo "$as_me: program exited with status $ac_status" >&5 | 15399 | $as_echo "#define BROKEN_SNPRINTF 1" >>confdefs.h |
29316 | echo "$as_me: failed program was:" >&5 | ||
29317 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29318 | |||
29319 | ( exit $ac_status ) | ||
29320 | cat >>confdefs.h <<\_ACEOF | ||
29321 | #define BROKEN_SNPRINTF 1 | ||
29322 | _ACEOF | ||
29323 | 15400 | ||
29324 | fi | 15401 | fi |
29325 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 15402 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
15403 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
29326 | fi | 15404 | fi |
29327 | 15405 | ||
29328 | |||
29329 | fi | 15406 | fi |
29330 | 15407 | ||
29331 | 15408 | ||
29332 | # look for field 'ut_host' in header 'utmp.h' | 15409 | # look for field 'ut_host' in header 'utmp.h' |
29333 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15410 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29334 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 15411 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
29335 | { echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 | 15412 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_host field in utmp.h" >&5 |
29336 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6; } | 15413 | $as_echo_n "checking for ut_host field in utmp.h... " >&6; } |
29337 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15414 | if eval \${$ossh_varname+:} false; then : |
29338 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15415 | $as_echo_n "(cached) " >&6 |
29339 | else | 15416 | else |
29340 | 15417 | ||
29341 | cat >conftest.$ac_ext <<_ACEOF | 15418 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29342 | /* confdefs.h. */ | ||
29343 | _ACEOF | ||
29344 | cat confdefs.h >>conftest.$ac_ext | ||
29345 | cat >>conftest.$ac_ext <<_ACEOF | ||
29346 | /* end confdefs.h. */ | 15419 | /* end confdefs.h. */ |
29347 | #include <utmp.h> | 15420 | #include <utmp.h> |
29348 | 15421 | ||
29349 | _ACEOF | 15422 | _ACEOF |
29350 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15423 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29351 | $EGREP "ut_host" >/dev/null 2>&1; then | 15424 | $EGREP "ut_host" >/dev/null 2>&1; then : |
29352 | eval "$ossh_varname=yes" | 15425 | eval "$ossh_varname=yes" |
29353 | else | 15426 | else |
29354 | eval "$ossh_varname=no" | 15427 | eval "$ossh_varname=no" |
@@ -29359,41 +15432,35 @@ fi | |||
29359 | 15432 | ||
29360 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15433 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29361 | if test -n "`echo $ossh_varname`"; then | 15434 | if test -n "`echo $ossh_varname`"; then |
29362 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15435 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29363 | echo "${ECHO_T}$ossh_result" >&6; } | 15436 | $as_echo "$ossh_result" >&6; } |
29364 | if test "x$ossh_result" = "xyes"; then | 15437 | if test "x$ossh_result" = "xyes"; then |
29365 | 15438 | ||
29366 | cat >>confdefs.h <<\_ACEOF | 15439 | $as_echo "#define HAVE_HOST_IN_UTMP 1" >>confdefs.h |
29367 | #define HAVE_HOST_IN_UTMP 1 | ||
29368 | _ACEOF | ||
29369 | 15440 | ||
29370 | fi | 15441 | fi |
29371 | else | 15442 | else |
29372 | { echo "$as_me:$LINENO: result: no" >&5 | 15443 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29373 | echo "${ECHO_T}no" >&6; } | 15444 | $as_echo "no" >&6; } |
29374 | fi | 15445 | fi |
29375 | 15446 | ||
29376 | 15447 | ||
29377 | # look for field 'ut_host' in header 'utmpx.h' | 15448 | # look for field 'ut_host' in header 'utmpx.h' |
29378 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15449 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
29379 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 15450 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
29380 | { echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 | 15451 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_host field in utmpx.h" >&5 |
29381 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6; } | 15452 | $as_echo_n "checking for ut_host field in utmpx.h... " >&6; } |
29382 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15453 | if eval \${$ossh_varname+:} false; then : |
29383 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15454 | $as_echo_n "(cached) " >&6 |
29384 | else | 15455 | else |
29385 | 15456 | ||
29386 | cat >conftest.$ac_ext <<_ACEOF | 15457 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29387 | /* confdefs.h. */ | ||
29388 | _ACEOF | ||
29389 | cat confdefs.h >>conftest.$ac_ext | ||
29390 | cat >>conftest.$ac_ext <<_ACEOF | ||
29391 | /* end confdefs.h. */ | 15458 | /* end confdefs.h. */ |
29392 | #include <utmpx.h> | 15459 | #include <utmpx.h> |
29393 | 15460 | ||
29394 | _ACEOF | 15461 | _ACEOF |
29395 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15462 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29396 | $EGREP "ut_host" >/dev/null 2>&1; then | 15463 | $EGREP "ut_host" >/dev/null 2>&1; then : |
29397 | eval "$ossh_varname=yes" | 15464 | eval "$ossh_varname=yes" |
29398 | else | 15465 | else |
29399 | eval "$ossh_varname=no" | 15466 | eval "$ossh_varname=no" |
@@ -29404,41 +15471,35 @@ fi | |||
29404 | 15471 | ||
29405 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15472 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29406 | if test -n "`echo $ossh_varname`"; then | 15473 | if test -n "`echo $ossh_varname`"; then |
29407 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29408 | echo "${ECHO_T}$ossh_result" >&6; } | 15475 | $as_echo "$ossh_result" >&6; } |
29409 | if test "x$ossh_result" = "xyes"; then | 15476 | if test "x$ossh_result" = "xyes"; then |
29410 | 15477 | ||
29411 | cat >>confdefs.h <<\_ACEOF | 15478 | $as_echo "#define HAVE_HOST_IN_UTMPX 1" >>confdefs.h |
29412 | #define HAVE_HOST_IN_UTMPX 1 | ||
29413 | _ACEOF | ||
29414 | 15479 | ||
29415 | fi | 15480 | fi |
29416 | else | 15481 | else |
29417 | { echo "$as_me:$LINENO: result: no" >&5 | 15482 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29418 | echo "${ECHO_T}no" >&6; } | 15483 | $as_echo "no" >&6; } |
29419 | fi | 15484 | fi |
29420 | 15485 | ||
29421 | 15486 | ||
29422 | # look for field 'syslen' in header 'utmpx.h' | 15487 | # look for field 'syslen' in header 'utmpx.h' |
29423 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15488 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
29424 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | 15489 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen |
29425 | { echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 | 15490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslen field in utmpx.h" >&5 |
29426 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6; } | 15491 | $as_echo_n "checking for syslen field in utmpx.h... " >&6; } |
29427 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15492 | if eval \${$ossh_varname+:} false; then : |
29428 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15493 | $as_echo_n "(cached) " >&6 |
29429 | else | 15494 | else |
29430 | 15495 | ||
29431 | cat >conftest.$ac_ext <<_ACEOF | 15496 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29432 | /* confdefs.h. */ | ||
29433 | _ACEOF | ||
29434 | cat confdefs.h >>conftest.$ac_ext | ||
29435 | cat >>conftest.$ac_ext <<_ACEOF | ||
29436 | /* end confdefs.h. */ | 15497 | /* end confdefs.h. */ |
29437 | #include <utmpx.h> | 15498 | #include <utmpx.h> |
29438 | 15499 | ||
29439 | _ACEOF | 15500 | _ACEOF |
29440 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15501 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29441 | $EGREP "syslen" >/dev/null 2>&1; then | 15502 | $EGREP "syslen" >/dev/null 2>&1; then : |
29442 | eval "$ossh_varname=yes" | 15503 | eval "$ossh_varname=yes" |
29443 | else | 15504 | else |
29444 | eval "$ossh_varname=no" | 15505 | eval "$ossh_varname=no" |
@@ -29449,41 +15510,35 @@ fi | |||
29449 | 15510 | ||
29450 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15511 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29451 | if test -n "`echo $ossh_varname`"; then | 15512 | if test -n "`echo $ossh_varname`"; then |
29452 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29453 | echo "${ECHO_T}$ossh_result" >&6; } | 15514 | $as_echo "$ossh_result" >&6; } |
29454 | if test "x$ossh_result" = "xyes"; then | 15515 | if test "x$ossh_result" = "xyes"; then |
29455 | 15516 | ||
29456 | cat >>confdefs.h <<\_ACEOF | 15517 | $as_echo "#define HAVE_SYSLEN_IN_UTMPX 1" >>confdefs.h |
29457 | #define HAVE_SYSLEN_IN_UTMPX 1 | ||
29458 | _ACEOF | ||
29459 | 15518 | ||
29460 | fi | 15519 | fi |
29461 | else | 15520 | else |
29462 | { echo "$as_me:$LINENO: result: no" >&5 | 15521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29463 | echo "${ECHO_T}no" >&6; } | 15522 | $as_echo "no" >&6; } |
29464 | fi | 15523 | fi |
29465 | 15524 | ||
29466 | 15525 | ||
29467 | # look for field 'ut_pid' in header 'utmp.h' | 15526 | # look for field 'ut_pid' in header 'utmp.h' |
29468 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15527 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29469 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | 15528 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid |
29470 | { echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 | 15529 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_pid field in utmp.h" >&5 |
29471 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6; } | 15530 | $as_echo_n "checking for ut_pid field in utmp.h... " >&6; } |
29472 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15531 | if eval \${$ossh_varname+:} false; then : |
29473 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15532 | $as_echo_n "(cached) " >&6 |
29474 | else | 15533 | else |
29475 | 15534 | ||
29476 | cat >conftest.$ac_ext <<_ACEOF | 15535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29477 | /* confdefs.h. */ | ||
29478 | _ACEOF | ||
29479 | cat confdefs.h >>conftest.$ac_ext | ||
29480 | cat >>conftest.$ac_ext <<_ACEOF | ||
29481 | /* end confdefs.h. */ | 15536 | /* end confdefs.h. */ |
29482 | #include <utmp.h> | 15537 | #include <utmp.h> |
29483 | 15538 | ||
29484 | _ACEOF | 15539 | _ACEOF |
29485 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15540 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29486 | $EGREP "ut_pid" >/dev/null 2>&1; then | 15541 | $EGREP "ut_pid" >/dev/null 2>&1; then : |
29487 | eval "$ossh_varname=yes" | 15542 | eval "$ossh_varname=yes" |
29488 | else | 15543 | else |
29489 | eval "$ossh_varname=no" | 15544 | eval "$ossh_varname=no" |
@@ -29494,41 +15549,35 @@ fi | |||
29494 | 15549 | ||
29495 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15550 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29496 | if test -n "`echo $ossh_varname`"; then | 15551 | if test -n "`echo $ossh_varname`"; then |
29497 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29498 | echo "${ECHO_T}$ossh_result" >&6; } | 15553 | $as_echo "$ossh_result" >&6; } |
29499 | if test "x$ossh_result" = "xyes"; then | 15554 | if test "x$ossh_result" = "xyes"; then |
29500 | 15555 | ||
29501 | cat >>confdefs.h <<\_ACEOF | 15556 | $as_echo "#define HAVE_PID_IN_UTMP 1" >>confdefs.h |
29502 | #define HAVE_PID_IN_UTMP 1 | ||
29503 | _ACEOF | ||
29504 | 15557 | ||
29505 | fi | 15558 | fi |
29506 | else | 15559 | else |
29507 | { echo "$as_me:$LINENO: result: no" >&5 | 15560 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29508 | echo "${ECHO_T}no" >&6; } | 15561 | $as_echo "no" >&6; } |
29509 | fi | 15562 | fi |
29510 | 15563 | ||
29511 | 15564 | ||
29512 | # look for field 'ut_type' in header 'utmp.h' | 15565 | # look for field 'ut_type' in header 'utmp.h' |
29513 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15566 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29514 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 15567 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
29515 | { echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 | 15568 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_type field in utmp.h" >&5 |
29516 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6; } | 15569 | $as_echo_n "checking for ut_type field in utmp.h... " >&6; } |
29517 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15570 | if eval \${$ossh_varname+:} false; then : |
29518 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15571 | $as_echo_n "(cached) " >&6 |
29519 | else | 15572 | else |
29520 | 15573 | ||
29521 | cat >conftest.$ac_ext <<_ACEOF | 15574 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29522 | /* confdefs.h. */ | ||
29523 | _ACEOF | ||
29524 | cat confdefs.h >>conftest.$ac_ext | ||
29525 | cat >>conftest.$ac_ext <<_ACEOF | ||
29526 | /* end confdefs.h. */ | 15575 | /* end confdefs.h. */ |
29527 | #include <utmp.h> | 15576 | #include <utmp.h> |
29528 | 15577 | ||
29529 | _ACEOF | 15578 | _ACEOF |
29530 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15579 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29531 | $EGREP "ut_type" >/dev/null 2>&1; then | 15580 | $EGREP "ut_type" >/dev/null 2>&1; then : |
29532 | eval "$ossh_varname=yes" | 15581 | eval "$ossh_varname=yes" |
29533 | else | 15582 | else |
29534 | eval "$ossh_varname=no" | 15583 | eval "$ossh_varname=no" |
@@ -29539,41 +15588,35 @@ fi | |||
29539 | 15588 | ||
29540 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15589 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29541 | if test -n "`echo $ossh_varname`"; then | 15590 | if test -n "`echo $ossh_varname`"; then |
29542 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29543 | echo "${ECHO_T}$ossh_result" >&6; } | 15592 | $as_echo "$ossh_result" >&6; } |
29544 | if test "x$ossh_result" = "xyes"; then | 15593 | if test "x$ossh_result" = "xyes"; then |
29545 | 15594 | ||
29546 | cat >>confdefs.h <<\_ACEOF | 15595 | $as_echo "#define HAVE_TYPE_IN_UTMP 1" >>confdefs.h |
29547 | #define HAVE_TYPE_IN_UTMP 1 | ||
29548 | _ACEOF | ||
29549 | 15596 | ||
29550 | fi | 15597 | fi |
29551 | else | 15598 | else |
29552 | { echo "$as_me:$LINENO: result: no" >&5 | 15599 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29553 | echo "${ECHO_T}no" >&6; } | 15600 | $as_echo "no" >&6; } |
29554 | fi | 15601 | fi |
29555 | 15602 | ||
29556 | 15603 | ||
29557 | # look for field 'ut_type' in header 'utmpx.h' | 15604 | # look for field 'ut_type' in header 'utmpx.h' |
29558 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15605 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
29559 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 15606 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
29560 | { echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 | 15607 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_type field in utmpx.h" >&5 |
29561 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6; } | 15608 | $as_echo_n "checking for ut_type field in utmpx.h... " >&6; } |
29562 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15609 | if eval \${$ossh_varname+:} false; then : |
29563 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15610 | $as_echo_n "(cached) " >&6 |
29564 | else | 15611 | else |
29565 | 15612 | ||
29566 | cat >conftest.$ac_ext <<_ACEOF | 15613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29567 | /* confdefs.h. */ | ||
29568 | _ACEOF | ||
29569 | cat confdefs.h >>conftest.$ac_ext | ||
29570 | cat >>conftest.$ac_ext <<_ACEOF | ||
29571 | /* end confdefs.h. */ | 15614 | /* end confdefs.h. */ |
29572 | #include <utmpx.h> | 15615 | #include <utmpx.h> |
29573 | 15616 | ||
29574 | _ACEOF | 15617 | _ACEOF |
29575 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15618 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29576 | $EGREP "ut_type" >/dev/null 2>&1; then | 15619 | $EGREP "ut_type" >/dev/null 2>&1; then : |
29577 | eval "$ossh_varname=yes" | 15620 | eval "$ossh_varname=yes" |
29578 | else | 15621 | else |
29579 | eval "$ossh_varname=no" | 15622 | eval "$ossh_varname=no" |
@@ -29584,41 +15627,35 @@ fi | |||
29584 | 15627 | ||
29585 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15628 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29586 | if test -n "`echo $ossh_varname`"; then | 15629 | if test -n "`echo $ossh_varname`"; then |
29587 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29588 | echo "${ECHO_T}$ossh_result" >&6; } | 15631 | $as_echo "$ossh_result" >&6; } |
29589 | if test "x$ossh_result" = "xyes"; then | 15632 | if test "x$ossh_result" = "xyes"; then |
29590 | 15633 | ||
29591 | cat >>confdefs.h <<\_ACEOF | 15634 | $as_echo "#define HAVE_TYPE_IN_UTMPX 1" >>confdefs.h |
29592 | #define HAVE_TYPE_IN_UTMPX 1 | ||
29593 | _ACEOF | ||
29594 | 15635 | ||
29595 | fi | 15636 | fi |
29596 | else | 15637 | else |
29597 | { echo "$as_me:$LINENO: result: no" >&5 | 15638 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29598 | echo "${ECHO_T}no" >&6; } | 15639 | $as_echo "no" >&6; } |
29599 | fi | 15640 | fi |
29600 | 15641 | ||
29601 | 15642 | ||
29602 | # look for field 'ut_tv' in header 'utmp.h' | 15643 | # look for field 'ut_tv' in header 'utmp.h' |
29603 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15644 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29604 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 15645 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
29605 | { echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 | 15646 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_tv field in utmp.h" >&5 |
29606 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6; } | 15647 | $as_echo_n "checking for ut_tv field in utmp.h... " >&6; } |
29607 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15648 | if eval \${$ossh_varname+:} false; then : |
29608 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15649 | $as_echo_n "(cached) " >&6 |
29609 | else | 15650 | else |
29610 | 15651 | ||
29611 | cat >conftest.$ac_ext <<_ACEOF | 15652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29612 | /* confdefs.h. */ | ||
29613 | _ACEOF | ||
29614 | cat confdefs.h >>conftest.$ac_ext | ||
29615 | cat >>conftest.$ac_ext <<_ACEOF | ||
29616 | /* end confdefs.h. */ | 15653 | /* end confdefs.h. */ |
29617 | #include <utmp.h> | 15654 | #include <utmp.h> |
29618 | 15655 | ||
29619 | _ACEOF | 15656 | _ACEOF |
29620 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15657 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29621 | $EGREP "ut_tv" >/dev/null 2>&1; then | 15658 | $EGREP "ut_tv" >/dev/null 2>&1; then : |
29622 | eval "$ossh_varname=yes" | 15659 | eval "$ossh_varname=yes" |
29623 | else | 15660 | else |
29624 | eval "$ossh_varname=no" | 15661 | eval "$ossh_varname=no" |
@@ -29629,41 +15666,35 @@ fi | |||
29629 | 15666 | ||
29630 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15667 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29631 | if test -n "`echo $ossh_varname`"; then | 15668 | if test -n "`echo $ossh_varname`"; then |
29632 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29633 | echo "${ECHO_T}$ossh_result" >&6; } | 15670 | $as_echo "$ossh_result" >&6; } |
29634 | if test "x$ossh_result" = "xyes"; then | 15671 | if test "x$ossh_result" = "xyes"; then |
29635 | 15672 | ||
29636 | cat >>confdefs.h <<\_ACEOF | 15673 | $as_echo "#define HAVE_TV_IN_UTMP 1" >>confdefs.h |
29637 | #define HAVE_TV_IN_UTMP 1 | ||
29638 | _ACEOF | ||
29639 | 15674 | ||
29640 | fi | 15675 | fi |
29641 | else | 15676 | else |
29642 | { echo "$as_me:$LINENO: result: no" >&5 | 15677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29643 | echo "${ECHO_T}no" >&6; } | 15678 | $as_echo "no" >&6; } |
29644 | fi | 15679 | fi |
29645 | 15680 | ||
29646 | 15681 | ||
29647 | # look for field 'ut_id' in header 'utmp.h' | 15682 | # look for field 'ut_id' in header 'utmp.h' |
29648 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15683 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29649 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 15684 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
29650 | { echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 | 15685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_id field in utmp.h" >&5 |
29651 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6; } | 15686 | $as_echo_n "checking for ut_id field in utmp.h... " >&6; } |
29652 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15687 | if eval \${$ossh_varname+:} false; then : |
29653 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15688 | $as_echo_n "(cached) " >&6 |
29654 | else | 15689 | else |
29655 | 15690 | ||
29656 | cat >conftest.$ac_ext <<_ACEOF | 15691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29657 | /* confdefs.h. */ | ||
29658 | _ACEOF | ||
29659 | cat confdefs.h >>conftest.$ac_ext | ||
29660 | cat >>conftest.$ac_ext <<_ACEOF | ||
29661 | /* end confdefs.h. */ | 15692 | /* end confdefs.h. */ |
29662 | #include <utmp.h> | 15693 | #include <utmp.h> |
29663 | 15694 | ||
29664 | _ACEOF | 15695 | _ACEOF |
29665 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15696 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29666 | $EGREP "ut_id" >/dev/null 2>&1; then | 15697 | $EGREP "ut_id" >/dev/null 2>&1; then : |
29667 | eval "$ossh_varname=yes" | 15698 | eval "$ossh_varname=yes" |
29668 | else | 15699 | else |
29669 | eval "$ossh_varname=no" | 15700 | eval "$ossh_varname=no" |
@@ -29674,41 +15705,35 @@ fi | |||
29674 | 15705 | ||
29675 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15706 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29676 | if test -n "`echo $ossh_varname`"; then | 15707 | if test -n "`echo $ossh_varname`"; then |
29677 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15708 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29678 | echo "${ECHO_T}$ossh_result" >&6; } | 15709 | $as_echo "$ossh_result" >&6; } |
29679 | if test "x$ossh_result" = "xyes"; then | 15710 | if test "x$ossh_result" = "xyes"; then |
29680 | 15711 | ||
29681 | cat >>confdefs.h <<\_ACEOF | 15712 | $as_echo "#define HAVE_ID_IN_UTMP 1" >>confdefs.h |
29682 | #define HAVE_ID_IN_UTMP 1 | ||
29683 | _ACEOF | ||
29684 | 15713 | ||
29685 | fi | 15714 | fi |
29686 | else | 15715 | else |
29687 | { echo "$as_me:$LINENO: result: no" >&5 | 15716 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29688 | echo "${ECHO_T}no" >&6; } | 15717 | $as_echo "no" >&6; } |
29689 | fi | 15718 | fi |
29690 | 15719 | ||
29691 | 15720 | ||
29692 | # look for field 'ut_id' in header 'utmpx.h' | 15721 | # look for field 'ut_id' in header 'utmpx.h' |
29693 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15722 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
29694 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 15723 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
29695 | { echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 | 15724 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_id field in utmpx.h" >&5 |
29696 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6; } | 15725 | $as_echo_n "checking for ut_id field in utmpx.h... " >&6; } |
29697 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15726 | if eval \${$ossh_varname+:} false; then : |
29698 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15727 | $as_echo_n "(cached) " >&6 |
29699 | else | 15728 | else |
29700 | 15729 | ||
29701 | cat >conftest.$ac_ext <<_ACEOF | 15730 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29702 | /* confdefs.h. */ | ||
29703 | _ACEOF | ||
29704 | cat confdefs.h >>conftest.$ac_ext | ||
29705 | cat >>conftest.$ac_ext <<_ACEOF | ||
29706 | /* end confdefs.h. */ | 15731 | /* end confdefs.h. */ |
29707 | #include <utmpx.h> | 15732 | #include <utmpx.h> |
29708 | 15733 | ||
29709 | _ACEOF | 15734 | _ACEOF |
29710 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15735 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29711 | $EGREP "ut_id" >/dev/null 2>&1; then | 15736 | $EGREP "ut_id" >/dev/null 2>&1; then : |
29712 | eval "$ossh_varname=yes" | 15737 | eval "$ossh_varname=yes" |
29713 | else | 15738 | else |
29714 | eval "$ossh_varname=no" | 15739 | eval "$ossh_varname=no" |
@@ -29719,41 +15744,35 @@ fi | |||
29719 | 15744 | ||
29720 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15745 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29721 | if test -n "`echo $ossh_varname`"; then | 15746 | if test -n "`echo $ossh_varname`"; then |
29722 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15747 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29723 | echo "${ECHO_T}$ossh_result" >&6; } | 15748 | $as_echo "$ossh_result" >&6; } |
29724 | if test "x$ossh_result" = "xyes"; then | 15749 | if test "x$ossh_result" = "xyes"; then |
29725 | 15750 | ||
29726 | cat >>confdefs.h <<\_ACEOF | 15751 | $as_echo "#define HAVE_ID_IN_UTMPX 1" >>confdefs.h |
29727 | #define HAVE_ID_IN_UTMPX 1 | ||
29728 | _ACEOF | ||
29729 | 15752 | ||
29730 | fi | 15753 | fi |
29731 | else | 15754 | else |
29732 | { echo "$as_me:$LINENO: result: no" >&5 | 15755 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29733 | echo "${ECHO_T}no" >&6; } | 15756 | $as_echo "no" >&6; } |
29734 | fi | 15757 | fi |
29735 | 15758 | ||
29736 | 15759 | ||
29737 | # look for field 'ut_addr' in header 'utmp.h' | 15760 | # look for field 'ut_addr' in header 'utmp.h' |
29738 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15761 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29739 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 15762 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
29740 | { echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 | 15763 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr field in utmp.h" >&5 |
29741 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6; } | 15764 | $as_echo_n "checking for ut_addr field in utmp.h... " >&6; } |
29742 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15765 | if eval \${$ossh_varname+:} false; then : |
29743 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15766 | $as_echo_n "(cached) " >&6 |
29744 | else | 15767 | else |
29745 | 15768 | ||
29746 | cat >conftest.$ac_ext <<_ACEOF | 15769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29747 | /* confdefs.h. */ | ||
29748 | _ACEOF | ||
29749 | cat confdefs.h >>conftest.$ac_ext | ||
29750 | cat >>conftest.$ac_ext <<_ACEOF | ||
29751 | /* end confdefs.h. */ | 15770 | /* end confdefs.h. */ |
29752 | #include <utmp.h> | 15771 | #include <utmp.h> |
29753 | 15772 | ||
29754 | _ACEOF | 15773 | _ACEOF |
29755 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15774 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29756 | $EGREP "ut_addr" >/dev/null 2>&1; then | 15775 | $EGREP "ut_addr" >/dev/null 2>&1; then : |
29757 | eval "$ossh_varname=yes" | 15776 | eval "$ossh_varname=yes" |
29758 | else | 15777 | else |
29759 | eval "$ossh_varname=no" | 15778 | eval "$ossh_varname=no" |
@@ -29764,41 +15783,35 @@ fi | |||
29764 | 15783 | ||
29765 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15784 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29766 | if test -n "`echo $ossh_varname`"; then | 15785 | if test -n "`echo $ossh_varname`"; then |
29767 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15786 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29768 | echo "${ECHO_T}$ossh_result" >&6; } | 15787 | $as_echo "$ossh_result" >&6; } |
29769 | if test "x$ossh_result" = "xyes"; then | 15788 | if test "x$ossh_result" = "xyes"; then |
29770 | 15789 | ||
29771 | cat >>confdefs.h <<\_ACEOF | 15790 | $as_echo "#define HAVE_ADDR_IN_UTMP 1" >>confdefs.h |
29772 | #define HAVE_ADDR_IN_UTMP 1 | ||
29773 | _ACEOF | ||
29774 | 15791 | ||
29775 | fi | 15792 | fi |
29776 | else | 15793 | else |
29777 | { echo "$as_me:$LINENO: result: no" >&5 | 15794 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29778 | echo "${ECHO_T}no" >&6; } | 15795 | $as_echo "no" >&6; } |
29779 | fi | 15796 | fi |
29780 | 15797 | ||
29781 | 15798 | ||
29782 | # look for field 'ut_addr' in header 'utmpx.h' | 15799 | # look for field 'ut_addr' in header 'utmpx.h' |
29783 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15800 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
29784 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 15801 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
29785 | { echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 | 15802 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr field in utmpx.h" >&5 |
29786 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6; } | 15803 | $as_echo_n "checking for ut_addr field in utmpx.h... " >&6; } |
29787 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15804 | if eval \${$ossh_varname+:} false; then : |
29788 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15805 | $as_echo_n "(cached) " >&6 |
29789 | else | 15806 | else |
29790 | 15807 | ||
29791 | cat >conftest.$ac_ext <<_ACEOF | 15808 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29792 | /* confdefs.h. */ | ||
29793 | _ACEOF | ||
29794 | cat confdefs.h >>conftest.$ac_ext | ||
29795 | cat >>conftest.$ac_ext <<_ACEOF | ||
29796 | /* end confdefs.h. */ | 15809 | /* end confdefs.h. */ |
29797 | #include <utmpx.h> | 15810 | #include <utmpx.h> |
29798 | 15811 | ||
29799 | _ACEOF | 15812 | _ACEOF |
29800 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15813 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29801 | $EGREP "ut_addr" >/dev/null 2>&1; then | 15814 | $EGREP "ut_addr" >/dev/null 2>&1; then : |
29802 | eval "$ossh_varname=yes" | 15815 | eval "$ossh_varname=yes" |
29803 | else | 15816 | else |
29804 | eval "$ossh_varname=no" | 15817 | eval "$ossh_varname=no" |
@@ -29809,41 +15822,35 @@ fi | |||
29809 | 15822 | ||
29810 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15823 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29811 | if test -n "`echo $ossh_varname`"; then | 15824 | if test -n "`echo $ossh_varname`"; then |
29812 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29813 | echo "${ECHO_T}$ossh_result" >&6; } | 15826 | $as_echo "$ossh_result" >&6; } |
29814 | if test "x$ossh_result" = "xyes"; then | 15827 | if test "x$ossh_result" = "xyes"; then |
29815 | 15828 | ||
29816 | cat >>confdefs.h <<\_ACEOF | 15829 | $as_echo "#define HAVE_ADDR_IN_UTMPX 1" >>confdefs.h |
29817 | #define HAVE_ADDR_IN_UTMPX 1 | ||
29818 | _ACEOF | ||
29819 | 15830 | ||
29820 | fi | 15831 | fi |
29821 | else | 15832 | else |
29822 | { echo "$as_me:$LINENO: result: no" >&5 | 15833 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29823 | echo "${ECHO_T}no" >&6; } | 15834 | $as_echo "no" >&6; } |
29824 | fi | 15835 | fi |
29825 | 15836 | ||
29826 | 15837 | ||
29827 | # look for field 'ut_addr_v6' in header 'utmp.h' | 15838 | # look for field 'ut_addr_v6' in header 'utmp.h' |
29828 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15839 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29829 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 15840 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
29830 | { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 | 15841 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr_v6 field in utmp.h" >&5 |
29831 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6; } | 15842 | $as_echo_n "checking for ut_addr_v6 field in utmp.h... " >&6; } |
29832 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15843 | if eval \${$ossh_varname+:} false; then : |
29833 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15844 | $as_echo_n "(cached) " >&6 |
29834 | else | 15845 | else |
29835 | 15846 | ||
29836 | cat >conftest.$ac_ext <<_ACEOF | 15847 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29837 | /* confdefs.h. */ | ||
29838 | _ACEOF | ||
29839 | cat confdefs.h >>conftest.$ac_ext | ||
29840 | cat >>conftest.$ac_ext <<_ACEOF | ||
29841 | /* end confdefs.h. */ | 15848 | /* end confdefs.h. */ |
29842 | #include <utmp.h> | 15849 | #include <utmp.h> |
29843 | 15850 | ||
29844 | _ACEOF | 15851 | _ACEOF |
29845 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15852 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29846 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then | 15853 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then : |
29847 | eval "$ossh_varname=yes" | 15854 | eval "$ossh_varname=yes" |
29848 | else | 15855 | else |
29849 | eval "$ossh_varname=no" | 15856 | eval "$ossh_varname=no" |
@@ -29854,41 +15861,35 @@ fi | |||
29854 | 15861 | ||
29855 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15862 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29856 | if test -n "`echo $ossh_varname`"; then | 15863 | if test -n "`echo $ossh_varname`"; then |
29857 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15864 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29858 | echo "${ECHO_T}$ossh_result" >&6; } | 15865 | $as_echo "$ossh_result" >&6; } |
29859 | if test "x$ossh_result" = "xyes"; then | 15866 | if test "x$ossh_result" = "xyes"; then |
29860 | 15867 | ||
29861 | cat >>confdefs.h <<\_ACEOF | 15868 | $as_echo "#define HAVE_ADDR_V6_IN_UTMP 1" >>confdefs.h |
29862 | #define HAVE_ADDR_V6_IN_UTMP 1 | ||
29863 | _ACEOF | ||
29864 | 15869 | ||
29865 | fi | 15870 | fi |
29866 | else | 15871 | else |
29867 | { echo "$as_me:$LINENO: result: no" >&5 | 15872 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29868 | echo "${ECHO_T}no" >&6; } | 15873 | $as_echo "no" >&6; } |
29869 | fi | 15874 | fi |
29870 | 15875 | ||
29871 | 15876 | ||
29872 | # look for field 'ut_addr_v6' in header 'utmpx.h' | 15877 | # look for field 'ut_addr_v6' in header 'utmpx.h' |
29873 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15878 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
29874 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 15879 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
29875 | { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 | 15880 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr_v6 field in utmpx.h" >&5 |
29876 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6; } | 15881 | $as_echo_n "checking for ut_addr_v6 field in utmpx.h... " >&6; } |
29877 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15882 | if eval \${$ossh_varname+:} false; then : |
29878 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15883 | $as_echo_n "(cached) " >&6 |
29879 | else | 15884 | else |
29880 | 15885 | ||
29881 | cat >conftest.$ac_ext <<_ACEOF | 15886 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29882 | /* confdefs.h. */ | ||
29883 | _ACEOF | ||
29884 | cat confdefs.h >>conftest.$ac_ext | ||
29885 | cat >>conftest.$ac_ext <<_ACEOF | ||
29886 | /* end confdefs.h. */ | 15887 | /* end confdefs.h. */ |
29887 | #include <utmpx.h> | 15888 | #include <utmpx.h> |
29888 | 15889 | ||
29889 | _ACEOF | 15890 | _ACEOF |
29890 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15891 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29891 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then | 15892 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then : |
29892 | eval "$ossh_varname=yes" | 15893 | eval "$ossh_varname=yes" |
29893 | else | 15894 | else |
29894 | eval "$ossh_varname=no" | 15895 | eval "$ossh_varname=no" |
@@ -29899,41 +15900,35 @@ fi | |||
29899 | 15900 | ||
29900 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15901 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29901 | if test -n "`echo $ossh_varname`"; then | 15902 | if test -n "`echo $ossh_varname`"; then |
29902 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15903 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29903 | echo "${ECHO_T}$ossh_result" >&6; } | 15904 | $as_echo "$ossh_result" >&6; } |
29904 | if test "x$ossh_result" = "xyes"; then | 15905 | if test "x$ossh_result" = "xyes"; then |
29905 | 15906 | ||
29906 | cat >>confdefs.h <<\_ACEOF | 15907 | $as_echo "#define HAVE_ADDR_V6_IN_UTMPX 1" >>confdefs.h |
29907 | #define HAVE_ADDR_V6_IN_UTMPX 1 | ||
29908 | _ACEOF | ||
29909 | 15908 | ||
29910 | fi | 15909 | fi |
29911 | else | 15910 | else |
29912 | { echo "$as_me:$LINENO: result: no" >&5 | 15911 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29913 | echo "${ECHO_T}no" >&6; } | 15912 | $as_echo "no" >&6; } |
29914 | fi | 15913 | fi |
29915 | 15914 | ||
29916 | 15915 | ||
29917 | # look for field 'ut_exit' in header 'utmp.h' | 15916 | # look for field 'ut_exit' in header 'utmp.h' |
29918 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15917 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29919 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | 15918 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit |
29920 | { echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 | 15919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_exit field in utmp.h" >&5 |
29921 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6; } | 15920 | $as_echo_n "checking for ut_exit field in utmp.h... " >&6; } |
29922 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15921 | if eval \${$ossh_varname+:} false; then : |
29923 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15922 | $as_echo_n "(cached) " >&6 |
29924 | else | 15923 | else |
29925 | 15924 | ||
29926 | cat >conftest.$ac_ext <<_ACEOF | 15925 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29927 | /* confdefs.h. */ | ||
29928 | _ACEOF | ||
29929 | cat confdefs.h >>conftest.$ac_ext | ||
29930 | cat >>conftest.$ac_ext <<_ACEOF | ||
29931 | /* end confdefs.h. */ | 15926 | /* end confdefs.h. */ |
29932 | #include <utmp.h> | 15927 | #include <utmp.h> |
29933 | 15928 | ||
29934 | _ACEOF | 15929 | _ACEOF |
29935 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15930 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29936 | $EGREP "ut_exit" >/dev/null 2>&1; then | 15931 | $EGREP "ut_exit" >/dev/null 2>&1; then : |
29937 | eval "$ossh_varname=yes" | 15932 | eval "$ossh_varname=yes" |
29938 | else | 15933 | else |
29939 | eval "$ossh_varname=no" | 15934 | eval "$ossh_varname=no" |
@@ -29944,41 +15939,35 @@ fi | |||
29944 | 15939 | ||
29945 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15940 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29946 | if test -n "`echo $ossh_varname`"; then | 15941 | if test -n "`echo $ossh_varname`"; then |
29947 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15942 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29948 | echo "${ECHO_T}$ossh_result" >&6; } | 15943 | $as_echo "$ossh_result" >&6; } |
29949 | if test "x$ossh_result" = "xyes"; then | 15944 | if test "x$ossh_result" = "xyes"; then |
29950 | 15945 | ||
29951 | cat >>confdefs.h <<\_ACEOF | 15946 | $as_echo "#define HAVE_EXIT_IN_UTMP 1" >>confdefs.h |
29952 | #define HAVE_EXIT_IN_UTMP 1 | ||
29953 | _ACEOF | ||
29954 | 15947 | ||
29955 | fi | 15948 | fi |
29956 | else | 15949 | else |
29957 | { echo "$as_me:$LINENO: result: no" >&5 | 15950 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
29958 | echo "${ECHO_T}no" >&6; } | 15951 | $as_echo "no" >&6; } |
29959 | fi | 15952 | fi |
29960 | 15953 | ||
29961 | 15954 | ||
29962 | # look for field 'ut_time' in header 'utmp.h' | 15955 | # look for field 'ut_time' in header 'utmp.h' |
29963 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 15956 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
29964 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 15957 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
29965 | { echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 | 15958 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_time field in utmp.h" >&5 |
29966 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6; } | 15959 | $as_echo_n "checking for ut_time field in utmp.h... " >&6; } |
29967 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15960 | if eval \${$ossh_varname+:} false; then : |
29968 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 15961 | $as_echo_n "(cached) " >&6 |
29969 | else | 15962 | else |
29970 | 15963 | ||
29971 | cat >conftest.$ac_ext <<_ACEOF | 15964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
29972 | /* confdefs.h. */ | ||
29973 | _ACEOF | ||
29974 | cat confdefs.h >>conftest.$ac_ext | ||
29975 | cat >>conftest.$ac_ext <<_ACEOF | ||
29976 | /* end confdefs.h. */ | 15965 | /* end confdefs.h. */ |
29977 | #include <utmp.h> | 15966 | #include <utmp.h> |
29978 | 15967 | ||
29979 | _ACEOF | 15968 | _ACEOF |
29980 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15969 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
29981 | $EGREP "ut_time" >/dev/null 2>&1; then | 15970 | $EGREP "ut_time" >/dev/null 2>&1; then : |
29982 | eval "$ossh_varname=yes" | 15971 | eval "$ossh_varname=yes" |
29983 | else | 15972 | else |
29984 | eval "$ossh_varname=no" | 15973 | eval "$ossh_varname=no" |
@@ -29989,41 +15978,35 @@ fi | |||
29989 | 15978 | ||
29990 | ossh_result=`eval 'echo $'"$ossh_varname"` | 15979 | ossh_result=`eval 'echo $'"$ossh_varname"` |
29991 | if test -n "`echo $ossh_varname`"; then | 15980 | if test -n "`echo $ossh_varname`"; then |
29992 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 15981 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
29993 | echo "${ECHO_T}$ossh_result" >&6; } | 15982 | $as_echo "$ossh_result" >&6; } |
29994 | if test "x$ossh_result" = "xyes"; then | 15983 | if test "x$ossh_result" = "xyes"; then |
29995 | 15984 | ||
29996 | cat >>confdefs.h <<\_ACEOF | 15985 | $as_echo "#define HAVE_TIME_IN_UTMP 1" >>confdefs.h |
29997 | #define HAVE_TIME_IN_UTMP 1 | ||
29998 | _ACEOF | ||
29999 | 15986 | ||
30000 | fi | 15987 | fi |
30001 | else | 15988 | else |
30002 | { echo "$as_me:$LINENO: result: no" >&5 | 15989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
30003 | echo "${ECHO_T}no" >&6; } | 15990 | $as_echo "no" >&6; } |
30004 | fi | 15991 | fi |
30005 | 15992 | ||
30006 | 15993 | ||
30007 | # look for field 'ut_time' in header 'utmpx.h' | 15994 | # look for field 'ut_time' in header 'utmpx.h' |
30008 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 15995 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
30009 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 15996 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
30010 | { echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 | 15997 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_time field in utmpx.h" >&5 |
30011 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6; } | 15998 | $as_echo_n "checking for ut_time field in utmpx.h... " >&6; } |
30012 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 15999 | if eval \${$ossh_varname+:} false; then : |
30013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16000 | $as_echo_n "(cached) " >&6 |
30014 | else | 16001 | else |
30015 | 16002 | ||
30016 | cat >conftest.$ac_ext <<_ACEOF | 16003 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
30017 | /* confdefs.h. */ | ||
30018 | _ACEOF | ||
30019 | cat confdefs.h >>conftest.$ac_ext | ||
30020 | cat >>conftest.$ac_ext <<_ACEOF | ||
30021 | /* end confdefs.h. */ | 16004 | /* end confdefs.h. */ |
30022 | #include <utmpx.h> | 16005 | #include <utmpx.h> |
30023 | 16006 | ||
30024 | _ACEOF | 16007 | _ACEOF |
30025 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16008 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
30026 | $EGREP "ut_time" >/dev/null 2>&1; then | 16009 | $EGREP "ut_time" >/dev/null 2>&1; then : |
30027 | eval "$ossh_varname=yes" | 16010 | eval "$ossh_varname=yes" |
30028 | else | 16011 | else |
30029 | eval "$ossh_varname=no" | 16012 | eval "$ossh_varname=no" |
@@ -30034,41 +16017,35 @@ fi | |||
30034 | 16017 | ||
30035 | ossh_result=`eval 'echo $'"$ossh_varname"` | 16018 | ossh_result=`eval 'echo $'"$ossh_varname"` |
30036 | if test -n "`echo $ossh_varname`"; then | 16019 | if test -n "`echo $ossh_varname`"; then |
30037 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 16020 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
30038 | echo "${ECHO_T}$ossh_result" >&6; } | 16021 | $as_echo "$ossh_result" >&6; } |
30039 | if test "x$ossh_result" = "xyes"; then | 16022 | if test "x$ossh_result" = "xyes"; then |
30040 | 16023 | ||
30041 | cat >>confdefs.h <<\_ACEOF | 16024 | $as_echo "#define HAVE_TIME_IN_UTMPX 1" >>confdefs.h |
30042 | #define HAVE_TIME_IN_UTMPX 1 | ||
30043 | _ACEOF | ||
30044 | 16025 | ||
30045 | fi | 16026 | fi |
30046 | else | 16027 | else |
30047 | { echo "$as_me:$LINENO: result: no" >&5 | 16028 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
30048 | echo "${ECHO_T}no" >&6; } | 16029 | $as_echo "no" >&6; } |
30049 | fi | 16030 | fi |
30050 | 16031 | ||
30051 | 16032 | ||
30052 | # look for field 'ut_tv' in header 'utmpx.h' | 16033 | # look for field 'ut_tv' in header 'utmpx.h' |
30053 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 16034 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
30054 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 16035 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
30055 | { echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 | 16036 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_tv field in utmpx.h" >&5 |
30056 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6; } | 16037 | $as_echo_n "checking for ut_tv field in utmpx.h... " >&6; } |
30057 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then | 16038 | if eval \${$ossh_varname+:} false; then : |
30058 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16039 | $as_echo_n "(cached) " >&6 |
30059 | else | 16040 | else |
30060 | 16041 | ||
30061 | cat >conftest.$ac_ext <<_ACEOF | 16042 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
30062 | /* confdefs.h. */ | ||
30063 | _ACEOF | ||
30064 | cat confdefs.h >>conftest.$ac_ext | ||
30065 | cat >>conftest.$ac_ext <<_ACEOF | ||
30066 | /* end confdefs.h. */ | 16043 | /* end confdefs.h. */ |
30067 | #include <utmpx.h> | 16044 | #include <utmpx.h> |
30068 | 16045 | ||
30069 | _ACEOF | 16046 | _ACEOF |
30070 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 16047 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
30071 | $EGREP "ut_tv" >/dev/null 2>&1; then | 16048 | $EGREP "ut_tv" >/dev/null 2>&1; then : |
30072 | eval "$ossh_varname=yes" | 16049 | eval "$ossh_varname=yes" |
30073 | else | 16050 | else |
30074 | eval "$ossh_varname=no" | 16051 | eval "$ossh_varname=no" |
@@ -30079,115 +16056,21 @@ fi | |||
30079 | 16056 | ||
30080 | ossh_result=`eval 'echo $'"$ossh_varname"` | 16057 | ossh_result=`eval 'echo $'"$ossh_varname"` |
30081 | if test -n "`echo $ossh_varname`"; then | 16058 | if test -n "`echo $ossh_varname`"; then |
30082 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 | 16059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 |
30083 | echo "${ECHO_T}$ossh_result" >&6; } | 16060 | $as_echo "$ossh_result" >&6; } |
30084 | if test "x$ossh_result" = "xyes"; then | 16061 | if test "x$ossh_result" = "xyes"; then |
30085 | 16062 | ||
30086 | cat >>confdefs.h <<\_ACEOF | 16063 | $as_echo "#define HAVE_TV_IN_UTMPX 1" >>confdefs.h |
30087 | #define HAVE_TV_IN_UTMPX 1 | ||
30088 | _ACEOF | ||
30089 | 16064 | ||
30090 | fi | 16065 | fi |
30091 | else | 16066 | else |
30092 | { echo "$as_me:$LINENO: result: no" >&5 | 16067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
30093 | echo "${ECHO_T}no" >&6; } | 16068 | $as_echo "no" >&6; } |
30094 | fi | 16069 | fi |
30095 | 16070 | ||
30096 | 16071 | ||
30097 | { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 | 16072 | ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" |
30098 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; } | 16073 | if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : |
30099 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | ||
30100 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
30101 | else | ||
30102 | cat >conftest.$ac_ext <<_ACEOF | ||
30103 | /* confdefs.h. */ | ||
30104 | _ACEOF | ||
30105 | cat confdefs.h >>conftest.$ac_ext | ||
30106 | cat >>conftest.$ac_ext <<_ACEOF | ||
30107 | /* end confdefs.h. */ | ||
30108 | $ac_includes_default | ||
30109 | int | ||
30110 | main () | ||
30111 | { | ||
30112 | static struct stat ac_aggr; | ||
30113 | if (ac_aggr.st_blksize) | ||
30114 | return 0; | ||
30115 | ; | ||
30116 | return 0; | ||
30117 | } | ||
30118 | _ACEOF | ||
30119 | rm -f conftest.$ac_objext | ||
30120 | if { (ac_try="$ac_compile" | ||
30121 | case "(($ac_try" in | ||
30122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30123 | *) ac_try_echo=$ac_try;; | ||
30124 | esac | ||
30125 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30126 | (eval "$ac_compile") 2>conftest.er1 | ||
30127 | ac_status=$? | ||
30128 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30129 | rm -f conftest.er1 | ||
30130 | cat conftest.err >&5 | ||
30131 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30132 | (exit $ac_status); } && { | ||
30133 | test -z "$ac_c_werror_flag" || | ||
30134 | test ! -s conftest.err | ||
30135 | } && test -s conftest.$ac_objext; then | ||
30136 | ac_cv_member_struct_stat_st_blksize=yes | ||
30137 | else | ||
30138 | echo "$as_me: failed program was:" >&5 | ||
30139 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30140 | |||
30141 | cat >conftest.$ac_ext <<_ACEOF | ||
30142 | /* confdefs.h. */ | ||
30143 | _ACEOF | ||
30144 | cat confdefs.h >>conftest.$ac_ext | ||
30145 | cat >>conftest.$ac_ext <<_ACEOF | ||
30146 | /* end confdefs.h. */ | ||
30147 | $ac_includes_default | ||
30148 | int | ||
30149 | main () | ||
30150 | { | ||
30151 | static struct stat ac_aggr; | ||
30152 | if (sizeof ac_aggr.st_blksize) | ||
30153 | return 0; | ||
30154 | ; | ||
30155 | return 0; | ||
30156 | } | ||
30157 | _ACEOF | ||
30158 | rm -f conftest.$ac_objext | ||
30159 | if { (ac_try="$ac_compile" | ||
30160 | case "(($ac_try" in | ||
30161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30162 | *) ac_try_echo=$ac_try;; | ||
30163 | esac | ||
30164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30165 | (eval "$ac_compile") 2>conftest.er1 | ||
30166 | ac_status=$? | ||
30167 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30168 | rm -f conftest.er1 | ||
30169 | cat conftest.err >&5 | ||
30170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30171 | (exit $ac_status); } && { | ||
30172 | test -z "$ac_c_werror_flag" || | ||
30173 | test ! -s conftest.err | ||
30174 | } && test -s conftest.$ac_objext; then | ||
30175 | ac_cv_member_struct_stat_st_blksize=yes | ||
30176 | else | ||
30177 | echo "$as_me: failed program was:" >&5 | ||
30178 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30179 | |||
30180 | ac_cv_member_struct_stat_st_blksize=no | ||
30181 | fi | ||
30182 | |||
30183 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30184 | fi | ||
30185 | |||
30186 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30187 | fi | ||
30188 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 | ||
30189 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; } | ||
30190 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | ||
30191 | 16074 | ||
30192 | cat >>confdefs.h <<_ACEOF | 16075 | cat >>confdefs.h <<_ACEOF |
30193 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | 16076 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 |
@@ -30196,108 +16079,12 @@ _ACEOF | |||
30196 | 16079 | ||
30197 | fi | 16080 | fi |
30198 | 16081 | ||
30199 | { echo "$as_me:$LINENO: checking for struct passwd.pw_gecos" >&5 | 16082 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_gecos" "ac_cv_member_struct_passwd_pw_gecos" " |
30200 | echo $ECHO_N "checking for struct passwd.pw_gecos... $ECHO_C" >&6; } | ||
30201 | if test "${ac_cv_member_struct_passwd_pw_gecos+set}" = set; then | ||
30202 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
30203 | else | ||
30204 | cat >conftest.$ac_ext <<_ACEOF | ||
30205 | /* confdefs.h. */ | ||
30206 | _ACEOF | ||
30207 | cat confdefs.h >>conftest.$ac_ext | ||
30208 | cat >>conftest.$ac_ext <<_ACEOF | ||
30209 | /* end confdefs.h. */ | ||
30210 | |||
30211 | #include <sys/types.h> | 16083 | #include <sys/types.h> |
30212 | #include <pwd.h> | 16084 | #include <pwd.h> |
30213 | 16085 | ||
30214 | 16086 | " | |
30215 | int | 16087 | if test "x$ac_cv_member_struct_passwd_pw_gecos" = xyes; then : |
30216 | main () | ||
30217 | { | ||
30218 | static struct passwd ac_aggr; | ||
30219 | if (ac_aggr.pw_gecos) | ||
30220 | return 0; | ||
30221 | ; | ||
30222 | return 0; | ||
30223 | } | ||
30224 | _ACEOF | ||
30225 | rm -f conftest.$ac_objext | ||
30226 | if { (ac_try="$ac_compile" | ||
30227 | case "(($ac_try" in | ||
30228 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30229 | *) ac_try_echo=$ac_try;; | ||
30230 | esac | ||
30231 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30232 | (eval "$ac_compile") 2>conftest.er1 | ||
30233 | ac_status=$? | ||
30234 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30235 | rm -f conftest.er1 | ||
30236 | cat conftest.err >&5 | ||
30237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30238 | (exit $ac_status); } && { | ||
30239 | test -z "$ac_c_werror_flag" || | ||
30240 | test ! -s conftest.err | ||
30241 | } && test -s conftest.$ac_objext; then | ||
30242 | ac_cv_member_struct_passwd_pw_gecos=yes | ||
30243 | else | ||
30244 | echo "$as_me: failed program was:" >&5 | ||
30245 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30246 | |||
30247 | cat >conftest.$ac_ext <<_ACEOF | ||
30248 | /* confdefs.h. */ | ||
30249 | _ACEOF | ||
30250 | cat confdefs.h >>conftest.$ac_ext | ||
30251 | cat >>conftest.$ac_ext <<_ACEOF | ||
30252 | /* end confdefs.h. */ | ||
30253 | |||
30254 | #include <sys/types.h> | ||
30255 | #include <pwd.h> | ||
30256 | |||
30257 | |||
30258 | int | ||
30259 | main () | ||
30260 | { | ||
30261 | static struct passwd ac_aggr; | ||
30262 | if (sizeof ac_aggr.pw_gecos) | ||
30263 | return 0; | ||
30264 | ; | ||
30265 | return 0; | ||
30266 | } | ||
30267 | _ACEOF | ||
30268 | rm -f conftest.$ac_objext | ||
30269 | if { (ac_try="$ac_compile" | ||
30270 | case "(($ac_try" in | ||
30271 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30272 | *) ac_try_echo=$ac_try;; | ||
30273 | esac | ||
30274 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30275 | (eval "$ac_compile") 2>conftest.er1 | ||
30276 | ac_status=$? | ||
30277 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30278 | rm -f conftest.er1 | ||
30279 | cat conftest.err >&5 | ||
30280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30281 | (exit $ac_status); } && { | ||
30282 | test -z "$ac_c_werror_flag" || | ||
30283 | test ! -s conftest.err | ||
30284 | } && test -s conftest.$ac_objext; then | ||
30285 | ac_cv_member_struct_passwd_pw_gecos=yes | ||
30286 | else | ||
30287 | echo "$as_me: failed program was:" >&5 | ||
30288 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30289 | |||
30290 | ac_cv_member_struct_passwd_pw_gecos=no | ||
30291 | fi | ||
30292 | |||
30293 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30294 | fi | ||
30295 | |||
30296 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30297 | fi | ||
30298 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_gecos" >&5 | ||
30299 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_gecos" >&6; } | ||
30300 | if test $ac_cv_member_struct_passwd_pw_gecos = yes; then | ||
30301 | 16088 | ||
30302 | cat >>confdefs.h <<_ACEOF | 16089 | cat >>confdefs.h <<_ACEOF |
30303 | #define HAVE_STRUCT_PASSWD_PW_GECOS 1 | 16090 | #define HAVE_STRUCT_PASSWD_PW_GECOS 1 |
@@ -30305,108 +16092,12 @@ _ACEOF | |||
30305 | 16092 | ||
30306 | 16093 | ||
30307 | fi | 16094 | fi |
30308 | { echo "$as_me:$LINENO: checking for struct passwd.pw_class" >&5 | 16095 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_class" "ac_cv_member_struct_passwd_pw_class" " |
30309 | echo $ECHO_N "checking for struct passwd.pw_class... $ECHO_C" >&6; } | ||
30310 | if test "${ac_cv_member_struct_passwd_pw_class+set}" = set; then | ||
30311 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
30312 | else | ||
30313 | cat >conftest.$ac_ext <<_ACEOF | ||
30314 | /* confdefs.h. */ | ||
30315 | _ACEOF | ||
30316 | cat confdefs.h >>conftest.$ac_ext | ||
30317 | cat >>conftest.$ac_ext <<_ACEOF | ||
30318 | /* end confdefs.h. */ | ||
30319 | |||
30320 | #include <sys/types.h> | ||
30321 | #include <pwd.h> | ||
30322 | |||
30323 | |||
30324 | int | ||
30325 | main () | ||
30326 | { | ||
30327 | static struct passwd ac_aggr; | ||
30328 | if (ac_aggr.pw_class) | ||
30329 | return 0; | ||
30330 | ; | ||
30331 | return 0; | ||
30332 | } | ||
30333 | _ACEOF | ||
30334 | rm -f conftest.$ac_objext | ||
30335 | if { (ac_try="$ac_compile" | ||
30336 | case "(($ac_try" in | ||
30337 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30338 | *) ac_try_echo=$ac_try;; | ||
30339 | esac | ||
30340 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30341 | (eval "$ac_compile") 2>conftest.er1 | ||
30342 | ac_status=$? | ||
30343 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30344 | rm -f conftest.er1 | ||
30345 | cat conftest.err >&5 | ||
30346 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30347 | (exit $ac_status); } && { | ||
30348 | test -z "$ac_c_werror_flag" || | ||
30349 | test ! -s conftest.err | ||
30350 | } && test -s conftest.$ac_objext; then | ||
30351 | ac_cv_member_struct_passwd_pw_class=yes | ||
30352 | else | ||
30353 | echo "$as_me: failed program was:" >&5 | ||
30354 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30355 | |||
30356 | cat >conftest.$ac_ext <<_ACEOF | ||
30357 | /* confdefs.h. */ | ||
30358 | _ACEOF | ||
30359 | cat confdefs.h >>conftest.$ac_ext | ||
30360 | cat >>conftest.$ac_ext <<_ACEOF | ||
30361 | /* end confdefs.h. */ | ||
30362 | |||
30363 | #include <sys/types.h> | 16096 | #include <sys/types.h> |
30364 | #include <pwd.h> | 16097 | #include <pwd.h> |
30365 | 16098 | ||
30366 | 16099 | " | |
30367 | int | 16100 | if test "x$ac_cv_member_struct_passwd_pw_class" = xyes; then : |
30368 | main () | ||
30369 | { | ||
30370 | static struct passwd ac_aggr; | ||
30371 | if (sizeof ac_aggr.pw_class) | ||
30372 | return 0; | ||
30373 | ; | ||
30374 | return 0; | ||
30375 | } | ||
30376 | _ACEOF | ||
30377 | rm -f conftest.$ac_objext | ||
30378 | if { (ac_try="$ac_compile" | ||
30379 | case "(($ac_try" in | ||
30380 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30381 | *) ac_try_echo=$ac_try;; | ||
30382 | esac | ||
30383 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30384 | (eval "$ac_compile") 2>conftest.er1 | ||
30385 | ac_status=$? | ||
30386 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30387 | rm -f conftest.er1 | ||
30388 | cat conftest.err >&5 | ||
30389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30390 | (exit $ac_status); } && { | ||
30391 | test -z "$ac_c_werror_flag" || | ||
30392 | test ! -s conftest.err | ||
30393 | } && test -s conftest.$ac_objext; then | ||
30394 | ac_cv_member_struct_passwd_pw_class=yes | ||
30395 | else | ||
30396 | echo "$as_me: failed program was:" >&5 | ||
30397 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30398 | |||
30399 | ac_cv_member_struct_passwd_pw_class=no | ||
30400 | fi | ||
30401 | |||
30402 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30403 | fi | ||
30404 | |||
30405 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30406 | fi | ||
30407 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_class" >&5 | ||
30408 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_class" >&6; } | ||
30409 | if test $ac_cv_member_struct_passwd_pw_class = yes; then | ||
30410 | 16101 | ||
30411 | cat >>confdefs.h <<_ACEOF | 16102 | cat >>confdefs.h <<_ACEOF |
30412 | #define HAVE_STRUCT_PASSWD_PW_CLASS 1 | 16103 | #define HAVE_STRUCT_PASSWD_PW_CLASS 1 |
@@ -30414,108 +16105,12 @@ _ACEOF | |||
30414 | 16105 | ||
30415 | 16106 | ||
30416 | fi | 16107 | fi |
30417 | { echo "$as_me:$LINENO: checking for struct passwd.pw_change" >&5 | 16108 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_change" "ac_cv_member_struct_passwd_pw_change" " |
30418 | echo $ECHO_N "checking for struct passwd.pw_change... $ECHO_C" >&6; } | ||
30419 | if test "${ac_cv_member_struct_passwd_pw_change+set}" = set; then | ||
30420 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
30421 | else | ||
30422 | cat >conftest.$ac_ext <<_ACEOF | ||
30423 | /* confdefs.h. */ | ||
30424 | _ACEOF | ||
30425 | cat confdefs.h >>conftest.$ac_ext | ||
30426 | cat >>conftest.$ac_ext <<_ACEOF | ||
30427 | /* end confdefs.h. */ | ||
30428 | |||
30429 | #include <sys/types.h> | ||
30430 | #include <pwd.h> | ||
30431 | |||
30432 | |||
30433 | int | ||
30434 | main () | ||
30435 | { | ||
30436 | static struct passwd ac_aggr; | ||
30437 | if (ac_aggr.pw_change) | ||
30438 | return 0; | ||
30439 | ; | ||
30440 | return 0; | ||
30441 | } | ||
30442 | _ACEOF | ||
30443 | rm -f conftest.$ac_objext | ||
30444 | if { (ac_try="$ac_compile" | ||
30445 | case "(($ac_try" in | ||
30446 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30447 | *) ac_try_echo=$ac_try;; | ||
30448 | esac | ||
30449 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30450 | (eval "$ac_compile") 2>conftest.er1 | ||
30451 | ac_status=$? | ||
30452 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30453 | rm -f conftest.er1 | ||
30454 | cat conftest.err >&5 | ||
30455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30456 | (exit $ac_status); } && { | ||
30457 | test -z "$ac_c_werror_flag" || | ||
30458 | test ! -s conftest.err | ||
30459 | } && test -s conftest.$ac_objext; then | ||
30460 | ac_cv_member_struct_passwd_pw_change=yes | ||
30461 | else | ||
30462 | echo "$as_me: failed program was:" >&5 | ||
30463 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30464 | |||
30465 | cat >conftest.$ac_ext <<_ACEOF | ||
30466 | /* confdefs.h. */ | ||
30467 | _ACEOF | ||
30468 | cat confdefs.h >>conftest.$ac_ext | ||
30469 | cat >>conftest.$ac_ext <<_ACEOF | ||
30470 | /* end confdefs.h. */ | ||
30471 | |||
30472 | #include <sys/types.h> | 16109 | #include <sys/types.h> |
30473 | #include <pwd.h> | 16110 | #include <pwd.h> |
30474 | 16111 | ||
30475 | 16112 | " | |
30476 | int | 16113 | if test "x$ac_cv_member_struct_passwd_pw_change" = xyes; then : |
30477 | main () | ||
30478 | { | ||
30479 | static struct passwd ac_aggr; | ||
30480 | if (sizeof ac_aggr.pw_change) | ||
30481 | return 0; | ||
30482 | ; | ||
30483 | return 0; | ||
30484 | } | ||
30485 | _ACEOF | ||
30486 | rm -f conftest.$ac_objext | ||
30487 | if { (ac_try="$ac_compile" | ||
30488 | case "(($ac_try" in | ||
30489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30490 | *) ac_try_echo=$ac_try;; | ||
30491 | esac | ||
30492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30493 | (eval "$ac_compile") 2>conftest.er1 | ||
30494 | ac_status=$? | ||
30495 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30496 | rm -f conftest.er1 | ||
30497 | cat conftest.err >&5 | ||
30498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30499 | (exit $ac_status); } && { | ||
30500 | test -z "$ac_c_werror_flag" || | ||
30501 | test ! -s conftest.err | ||
30502 | } && test -s conftest.$ac_objext; then | ||
30503 | ac_cv_member_struct_passwd_pw_change=yes | ||
30504 | else | ||
30505 | echo "$as_me: failed program was:" >&5 | ||
30506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30507 | |||
30508 | ac_cv_member_struct_passwd_pw_change=no | ||
30509 | fi | ||
30510 | |||
30511 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30512 | fi | ||
30513 | |||
30514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30515 | fi | ||
30516 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_change" >&5 | ||
30517 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_change" >&6; } | ||
30518 | if test $ac_cv_member_struct_passwd_pw_change = yes; then | ||
30519 | 16114 | ||
30520 | cat >>confdefs.h <<_ACEOF | 16115 | cat >>confdefs.h <<_ACEOF |
30521 | #define HAVE_STRUCT_PASSWD_PW_CHANGE 1 | 16116 | #define HAVE_STRUCT_PASSWD_PW_CHANGE 1 |
@@ -30523,108 +16118,12 @@ _ACEOF | |||
30523 | 16118 | ||
30524 | 16119 | ||
30525 | fi | 16120 | fi |
30526 | { echo "$as_me:$LINENO: checking for struct passwd.pw_expire" >&5 | 16121 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_expire" "ac_cv_member_struct_passwd_pw_expire" " |
30527 | echo $ECHO_N "checking for struct passwd.pw_expire... $ECHO_C" >&6; } | ||
30528 | if test "${ac_cv_member_struct_passwd_pw_expire+set}" = set; then | ||
30529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
30530 | else | ||
30531 | cat >conftest.$ac_ext <<_ACEOF | ||
30532 | /* confdefs.h. */ | ||
30533 | _ACEOF | ||
30534 | cat confdefs.h >>conftest.$ac_ext | ||
30535 | cat >>conftest.$ac_ext <<_ACEOF | ||
30536 | /* end confdefs.h. */ | ||
30537 | |||
30538 | #include <sys/types.h> | ||
30539 | #include <pwd.h> | ||
30540 | |||
30541 | |||
30542 | int | ||
30543 | main () | ||
30544 | { | ||
30545 | static struct passwd ac_aggr; | ||
30546 | if (ac_aggr.pw_expire) | ||
30547 | return 0; | ||
30548 | ; | ||
30549 | return 0; | ||
30550 | } | ||
30551 | _ACEOF | ||
30552 | rm -f conftest.$ac_objext | ||
30553 | if { (ac_try="$ac_compile" | ||
30554 | case "(($ac_try" in | ||
30555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30556 | *) ac_try_echo=$ac_try;; | ||
30557 | esac | ||
30558 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30559 | (eval "$ac_compile") 2>conftest.er1 | ||
30560 | ac_status=$? | ||
30561 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30562 | rm -f conftest.er1 | ||
30563 | cat conftest.err >&5 | ||
30564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30565 | (exit $ac_status); } && { | ||
30566 | test -z "$ac_c_werror_flag" || | ||
30567 | test ! -s conftest.err | ||
30568 | } && test -s conftest.$ac_objext; then | ||
30569 | ac_cv_member_struct_passwd_pw_expire=yes | ||
30570 | else | ||
30571 | echo "$as_me: failed program was:" >&5 | ||
30572 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30573 | |||
30574 | cat >conftest.$ac_ext <<_ACEOF | ||
30575 | /* confdefs.h. */ | ||
30576 | _ACEOF | ||
30577 | cat confdefs.h >>conftest.$ac_ext | ||
30578 | cat >>conftest.$ac_ext <<_ACEOF | ||
30579 | /* end confdefs.h. */ | ||
30580 | |||
30581 | #include <sys/types.h> | 16122 | #include <sys/types.h> |
30582 | #include <pwd.h> | 16123 | #include <pwd.h> |
30583 | 16124 | ||
30584 | 16125 | " | |
30585 | int | 16126 | if test "x$ac_cv_member_struct_passwd_pw_expire" = xyes; then : |
30586 | main () | ||
30587 | { | ||
30588 | static struct passwd ac_aggr; | ||
30589 | if (sizeof ac_aggr.pw_expire) | ||
30590 | return 0; | ||
30591 | ; | ||
30592 | return 0; | ||
30593 | } | ||
30594 | _ACEOF | ||
30595 | rm -f conftest.$ac_objext | ||
30596 | if { (ac_try="$ac_compile" | ||
30597 | case "(($ac_try" in | ||
30598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30599 | *) ac_try_echo=$ac_try;; | ||
30600 | esac | ||
30601 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30602 | (eval "$ac_compile") 2>conftest.er1 | ||
30603 | ac_status=$? | ||
30604 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30605 | rm -f conftest.er1 | ||
30606 | cat conftest.err >&5 | ||
30607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30608 | (exit $ac_status); } && { | ||
30609 | test -z "$ac_c_werror_flag" || | ||
30610 | test ! -s conftest.err | ||
30611 | } && test -s conftest.$ac_objext; then | ||
30612 | ac_cv_member_struct_passwd_pw_expire=yes | ||
30613 | else | ||
30614 | echo "$as_me: failed program was:" >&5 | ||
30615 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30616 | |||
30617 | ac_cv_member_struct_passwd_pw_expire=no | ||
30618 | fi | ||
30619 | |||
30620 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30621 | fi | ||
30622 | |||
30623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30624 | fi | ||
30625 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_expire" >&5 | ||
30626 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_expire" >&6; } | ||
30627 | if test $ac_cv_member_struct_passwd_pw_expire = yes; then | ||
30628 | 16127 | ||
30629 | cat >>confdefs.h <<_ACEOF | 16128 | cat >>confdefs.h <<_ACEOF |
30630 | #define HAVE_STRUCT_PASSWD_PW_EXPIRE 1 | 16129 | #define HAVE_STRUCT_PASSWD_PW_EXPIRE 1 |
@@ -30634,18 +16133,7 @@ _ACEOF | |||
30634 | fi | 16133 | fi |
30635 | 16134 | ||
30636 | 16135 | ||
30637 | { echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 | 16136 | ac_fn_c_check_member "$LINENO" "struct __res_state" "retrans" "ac_cv_member_struct___res_state_retrans" " |
30638 | echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6; } | ||
30639 | if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then | ||
30640 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
30641 | else | ||
30642 | cat >conftest.$ac_ext <<_ACEOF | ||
30643 | /* confdefs.h. */ | ||
30644 | _ACEOF | ||
30645 | cat confdefs.h >>conftest.$ac_ext | ||
30646 | cat >>conftest.$ac_ext <<_ACEOF | ||
30647 | /* end confdefs.h. */ | ||
30648 | |||
30649 | #include <stdio.h> | 16137 | #include <stdio.h> |
30650 | #if HAVE_SYS_TYPES_H | 16138 | #if HAVE_SYS_TYPES_H |
30651 | # include <sys/types.h> | 16139 | # include <sys/types.h> |
@@ -30654,119 +16142,23 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
30654 | #include <arpa/nameser.h> | 16142 | #include <arpa/nameser.h> |
30655 | #include <resolv.h> | 16143 | #include <resolv.h> |
30656 | 16144 | ||
16145 | " | ||
16146 | if test "x$ac_cv_member_struct___res_state_retrans" = xyes; then : | ||
30657 | 16147 | ||
30658 | int | ||
30659 | main () | ||
30660 | { | ||
30661 | static struct __res_state ac_aggr; | ||
30662 | if (ac_aggr.retrans) | ||
30663 | return 0; | ||
30664 | ; | ||
30665 | return 0; | ||
30666 | } | ||
30667 | _ACEOF | ||
30668 | rm -f conftest.$ac_objext | ||
30669 | if { (ac_try="$ac_compile" | ||
30670 | case "(($ac_try" in | ||
30671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30672 | *) ac_try_echo=$ac_try;; | ||
30673 | esac | ||
30674 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30675 | (eval "$ac_compile") 2>conftest.er1 | ||
30676 | ac_status=$? | ||
30677 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30678 | rm -f conftest.er1 | ||
30679 | cat conftest.err >&5 | ||
30680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30681 | (exit $ac_status); } && { | ||
30682 | test -z "$ac_c_werror_flag" || | ||
30683 | test ! -s conftest.err | ||
30684 | } && test -s conftest.$ac_objext; then | ||
30685 | ac_cv_member_struct___res_state_retrans=yes | ||
30686 | else | ||
30687 | echo "$as_me: failed program was:" >&5 | ||
30688 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30689 | |||
30690 | cat >conftest.$ac_ext <<_ACEOF | ||
30691 | /* confdefs.h. */ | ||
30692 | _ACEOF | ||
30693 | cat confdefs.h >>conftest.$ac_ext | ||
30694 | cat >>conftest.$ac_ext <<_ACEOF | ||
30695 | /* end confdefs.h. */ | ||
30696 | |||
30697 | #include <stdio.h> | ||
30698 | #if HAVE_SYS_TYPES_H | ||
30699 | # include <sys/types.h> | ||
30700 | #endif | ||
30701 | #include <netinet/in.h> | ||
30702 | #include <arpa/nameser.h> | ||
30703 | #include <resolv.h> | ||
30704 | |||
30705 | |||
30706 | int | ||
30707 | main () | ||
30708 | { | ||
30709 | static struct __res_state ac_aggr; | ||
30710 | if (sizeof ac_aggr.retrans) | ||
30711 | return 0; | ||
30712 | ; | ||
30713 | return 0; | ||
30714 | } | ||
30715 | _ACEOF | ||
30716 | rm -f conftest.$ac_objext | ||
30717 | if { (ac_try="$ac_compile" | ||
30718 | case "(($ac_try" in | ||
30719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30720 | *) ac_try_echo=$ac_try;; | ||
30721 | esac | ||
30722 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30723 | (eval "$ac_compile") 2>conftest.er1 | ||
30724 | ac_status=$? | ||
30725 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30726 | rm -f conftest.er1 | ||
30727 | cat conftest.err >&5 | ||
30728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30729 | (exit $ac_status); } && { | ||
30730 | test -z "$ac_c_werror_flag" || | ||
30731 | test ! -s conftest.err | ||
30732 | } && test -s conftest.$ac_objext; then | ||
30733 | ac_cv_member_struct___res_state_retrans=yes | ||
30734 | else | ||
30735 | echo "$as_me: failed program was:" >&5 | ||
30736 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30737 | |||
30738 | ac_cv_member_struct___res_state_retrans=no | ||
30739 | fi | ||
30740 | |||
30741 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30742 | fi | ||
30743 | |||
30744 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
30745 | fi | ||
30746 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 | ||
30747 | echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6; } | ||
30748 | if test $ac_cv_member_struct___res_state_retrans = yes; then | ||
30749 | : | ||
30750 | else | 16148 | else |
30751 | 16149 | ||
30752 | cat >>confdefs.h <<\_ACEOF | 16150 | $as_echo "#define __res_state state" >>confdefs.h |
30753 | #define __res_state state | ||
30754 | _ACEOF | ||
30755 | 16151 | ||
30756 | fi | 16152 | fi |
30757 | 16153 | ||
30758 | 16154 | ||
30759 | { echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 | 16155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ss_family field in struct sockaddr_storage" >&5 |
30760 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } | 16156 | $as_echo_n "checking for ss_family field in struct sockaddr_storage... " >&6; } |
30761 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then | 16157 | if ${ac_cv_have_ss_family_in_struct_ss+:} false; then : |
30762 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16158 | $as_echo_n "(cached) " >&6 |
30763 | else | 16159 | else |
30764 | 16160 | ||
30765 | cat >conftest.$ac_ext <<_ACEOF | 16161 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
30766 | /* confdefs.h. */ | ||
30767 | _ACEOF | ||
30768 | cat confdefs.h >>conftest.$ac_ext | ||
30769 | cat >>conftest.$ac_ext <<_ACEOF | ||
30770 | /* end confdefs.h. */ | 16162 | /* end confdefs.h. */ |
30771 | 16163 | ||
30772 | #include <sys/types.h> | 16164 | #include <sys/types.h> |
@@ -30780,55 +16172,29 @@ main () | |||
30780 | return 0; | 16172 | return 0; |
30781 | } | 16173 | } |
30782 | _ACEOF | 16174 | _ACEOF |
30783 | rm -f conftest.$ac_objext | 16175 | if ac_fn_c_try_compile "$LINENO"; then : |
30784 | if { (ac_try="$ac_compile" | ||
30785 | case "(($ac_try" in | ||
30786 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30787 | *) ac_try_echo=$ac_try;; | ||
30788 | esac | ||
30789 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30790 | (eval "$ac_compile") 2>conftest.er1 | ||
30791 | ac_status=$? | ||
30792 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30793 | rm -f conftest.er1 | ||
30794 | cat conftest.err >&5 | ||
30795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30796 | (exit $ac_status); } && { | ||
30797 | test -z "$ac_c_werror_flag" || | ||
30798 | test ! -s conftest.err | ||
30799 | } && test -s conftest.$ac_objext; then | ||
30800 | ac_cv_have_ss_family_in_struct_ss="yes" | 16176 | ac_cv_have_ss_family_in_struct_ss="yes" |
30801 | else | 16177 | else |
30802 | echo "$as_me: failed program was:" >&5 | 16178 | ac_cv_have_ss_family_in_struct_ss="no" |
30803 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30804 | |||
30805 | ac_cv_have_ss_family_in_struct_ss="no" | ||
30806 | fi | 16179 | fi |
30807 | |||
30808 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16180 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
30809 | 16181 | ||
30810 | fi | 16182 | fi |
30811 | { echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | 16183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ss_family_in_struct_ss" >&5 |
30812 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6; } | 16184 | $as_echo "$ac_cv_have_ss_family_in_struct_ss" >&6; } |
30813 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | 16185 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
30814 | 16186 | ||
30815 | cat >>confdefs.h <<\_ACEOF | 16187 | $as_echo "#define HAVE_SS_FAMILY_IN_SS 1" >>confdefs.h |
30816 | #define HAVE_SS_FAMILY_IN_SS 1 | ||
30817 | _ACEOF | ||
30818 | 16188 | ||
30819 | fi | 16189 | fi |
30820 | 16190 | ||
30821 | { echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 | 16191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ss_family field in struct sockaddr_storage" >&5 |
30822 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } | 16192 | $as_echo_n "checking for __ss_family field in struct sockaddr_storage... " >&6; } |
30823 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then | 16193 | if ${ac_cv_have___ss_family_in_struct_ss+:} false; then : |
30824 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16194 | $as_echo_n "(cached) " >&6 |
30825 | else | 16195 | else |
30826 | 16196 | ||
30827 | cat >conftest.$ac_ext <<_ACEOF | 16197 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
30828 | /* confdefs.h. */ | ||
30829 | _ACEOF | ||
30830 | cat confdefs.h >>conftest.$ac_ext | ||
30831 | cat >>conftest.$ac_ext <<_ACEOF | ||
30832 | /* end confdefs.h. */ | 16198 | /* end confdefs.h. */ |
30833 | 16199 | ||
30834 | #include <sys/types.h> | 16200 | #include <sys/types.h> |
@@ -30842,56 +16208,30 @@ main () | |||
30842 | return 0; | 16208 | return 0; |
30843 | } | 16209 | } |
30844 | _ACEOF | 16210 | _ACEOF |
30845 | rm -f conftest.$ac_objext | 16211 | if ac_fn_c_try_compile "$LINENO"; then : |
30846 | if { (ac_try="$ac_compile" | ||
30847 | case "(($ac_try" in | ||
30848 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30849 | *) ac_try_echo=$ac_try;; | ||
30850 | esac | ||
30851 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30852 | (eval "$ac_compile") 2>conftest.er1 | ||
30853 | ac_status=$? | ||
30854 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30855 | rm -f conftest.er1 | ||
30856 | cat conftest.err >&5 | ||
30857 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30858 | (exit $ac_status); } && { | ||
30859 | test -z "$ac_c_werror_flag" || | ||
30860 | test ! -s conftest.err | ||
30861 | } && test -s conftest.$ac_objext; then | ||
30862 | ac_cv_have___ss_family_in_struct_ss="yes" | 16212 | ac_cv_have___ss_family_in_struct_ss="yes" |
30863 | else | 16213 | else |
30864 | echo "$as_me: failed program was:" >&5 | 16214 | ac_cv_have___ss_family_in_struct_ss="no" |
30865 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30866 | |||
30867 | ac_cv_have___ss_family_in_struct_ss="no" | ||
30868 | 16215 | ||
30869 | fi | 16216 | fi |
30870 | |||
30871 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16217 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
30872 | 16218 | ||
30873 | fi | 16219 | fi |
30874 | { echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | 16220 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___ss_family_in_struct_ss" >&5 |
30875 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6; } | 16221 | $as_echo "$ac_cv_have___ss_family_in_struct_ss" >&6; } |
30876 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | 16222 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
30877 | 16223 | ||
30878 | cat >>confdefs.h <<\_ACEOF | 16224 | $as_echo "#define HAVE___SS_FAMILY_IN_SS 1" >>confdefs.h |
30879 | #define HAVE___SS_FAMILY_IN_SS 1 | ||
30880 | _ACEOF | ||
30881 | 16225 | ||
30882 | fi | 16226 | fi |
30883 | 16227 | ||
30884 | { echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 | 16228 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msg_accrights field in struct msghdr" >&5 |
30885 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; } | 16229 | $as_echo_n "checking for msg_accrights field in struct msghdr... " >&6; } |
30886 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then | 16230 | if ${ac_cv_have_accrights_in_msghdr+:} false; then : |
30887 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16231 | $as_echo_n "(cached) " >&6 |
30888 | else | 16232 | else |
30889 | 16233 | ||
30890 | cat >conftest.$ac_ext <<_ACEOF | 16234 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
30891 | /* confdefs.h. */ | ||
30892 | _ACEOF | ||
30893 | cat confdefs.h >>conftest.$ac_ext | ||
30894 | cat >>conftest.$ac_ext <<_ACEOF | ||
30895 | /* end confdefs.h. */ | 16235 | /* end confdefs.h. */ |
30896 | 16236 | ||
30897 | #include <sys/types.h> | 16237 | #include <sys/types.h> |
@@ -30914,52 +16254,26 @@ exit(0); | |||
30914 | return 0; | 16254 | return 0; |
30915 | } | 16255 | } |
30916 | _ACEOF | 16256 | _ACEOF |
30917 | rm -f conftest.$ac_objext | 16257 | if ac_fn_c_try_compile "$LINENO"; then : |
30918 | if { (ac_try="$ac_compile" | ||
30919 | case "(($ac_try" in | ||
30920 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30921 | *) ac_try_echo=$ac_try;; | ||
30922 | esac | ||
30923 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30924 | (eval "$ac_compile") 2>conftest.er1 | ||
30925 | ac_status=$? | ||
30926 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30927 | rm -f conftest.er1 | ||
30928 | cat conftest.err >&5 | ||
30929 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30930 | (exit $ac_status); } && { | ||
30931 | test -z "$ac_c_werror_flag" || | ||
30932 | test ! -s conftest.err | ||
30933 | } && test -s conftest.$ac_objext; then | ||
30934 | ac_cv_have_accrights_in_msghdr="yes" | 16258 | ac_cv_have_accrights_in_msghdr="yes" |
30935 | else | 16259 | else |
30936 | echo "$as_me: failed program was:" >&5 | 16260 | ac_cv_have_accrights_in_msghdr="no" |
30937 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30938 | |||
30939 | ac_cv_have_accrights_in_msghdr="no" | ||
30940 | 16261 | ||
30941 | fi | 16262 | fi |
30942 | |||
30943 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16263 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
30944 | 16264 | ||
30945 | fi | 16265 | fi |
30946 | { echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 | 16266 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_accrights_in_msghdr" >&5 |
30947 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; } | 16267 | $as_echo "$ac_cv_have_accrights_in_msghdr" >&6; } |
30948 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 16268 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
30949 | 16269 | ||
30950 | cat >>confdefs.h <<\_ACEOF | 16270 | $as_echo "#define HAVE_ACCRIGHTS_IN_MSGHDR 1" >>confdefs.h |
30951 | #define HAVE_ACCRIGHTS_IN_MSGHDR 1 | ||
30952 | _ACEOF | ||
30953 | 16271 | ||
30954 | fi | 16272 | fi |
30955 | 16273 | ||
30956 | { echo "$as_me:$LINENO: checking if struct statvfs.f_fsid is integral type" >&5 | 16274 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct statvfs.f_fsid is integral type" >&5 |
30957 | echo $ECHO_N "checking if struct statvfs.f_fsid is integral type... $ECHO_C" >&6; } | 16275 | $as_echo_n "checking if struct statvfs.f_fsid is integral type... " >&6; } |
30958 | cat >conftest.$ac_ext <<_ACEOF | 16276 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
30959 | /* confdefs.h. */ | ||
30960 | _ACEOF | ||
30961 | cat confdefs.h >>conftest.$ac_ext | ||
30962 | cat >>conftest.$ac_ext <<_ACEOF | ||
30963 | /* end confdefs.h. */ | 16277 | /* end confdefs.h. */ |
30964 | 16278 | ||
30965 | #include <sys/param.h> | 16279 | #include <sys/param.h> |
@@ -30982,39 +16296,16 @@ main () | |||
30982 | return 0; | 16296 | return 0; |
30983 | } | 16297 | } |
30984 | _ACEOF | 16298 | _ACEOF |
30985 | rm -f conftest.$ac_objext | 16299 | if ac_fn_c_try_compile "$LINENO"; then : |
30986 | if { (ac_try="$ac_compile" | 16300 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
30987 | case "(($ac_try" in | 16301 | $as_echo "yes" >&6; } |
30988 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30989 | *) ac_try_echo=$ac_try;; | ||
30990 | esac | ||
30991 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30992 | (eval "$ac_compile") 2>conftest.er1 | ||
30993 | ac_status=$? | ||
30994 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30995 | rm -f conftest.er1 | ||
30996 | cat conftest.err >&5 | ||
30997 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30998 | (exit $ac_status); } && { | ||
30999 | test -z "$ac_c_werror_flag" || | ||
31000 | test ! -s conftest.err | ||
31001 | } && test -s conftest.$ac_objext; then | ||
31002 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31003 | echo "${ECHO_T}yes" >&6; } | ||
31004 | else | 16302 | else |
31005 | echo "$as_me: failed program was:" >&5 | 16303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
31006 | sed 's/^/| /' conftest.$ac_ext >&5 | 16304 | $as_echo "no" >&6; } |
31007 | |||
31008 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31009 | echo "${ECHO_T}no" >&6; } | ||
31010 | 16305 | ||
31011 | { echo "$as_me:$LINENO: checking if fsid_t has member val" >&5 | 16306 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsid_t has member val" >&5 |
31012 | echo $ECHO_N "checking if fsid_t has member val... $ECHO_C" >&6; } | 16307 | $as_echo_n "checking if fsid_t has member val... " >&6; } |
31013 | cat >conftest.$ac_ext <<_ACEOF | 16308 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31014 | /* confdefs.h. */ | ||
31015 | _ACEOF | ||
31016 | cat confdefs.h >>conftest.$ac_ext | ||
31017 | cat >>conftest.$ac_ext <<_ACEOF | ||
31018 | /* end confdefs.h. */ | 16309 | /* end confdefs.h. */ |
31019 | 16310 | ||
31020 | #include <sys/types.h> | 16311 | #include <sys/types.h> |
@@ -31028,47 +16319,21 @@ main () | |||
31028 | return 0; | 16319 | return 0; |
31029 | } | 16320 | } |
31030 | _ACEOF | 16321 | _ACEOF |
31031 | rm -f conftest.$ac_objext | 16322 | if ac_fn_c_try_compile "$LINENO"; then : |
31032 | if { (ac_try="$ac_compile" | 16323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
31033 | case "(($ac_try" in | 16324 | $as_echo "yes" >&6; } |
31034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31035 | *) ac_try_echo=$ac_try;; | ||
31036 | esac | ||
31037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31038 | (eval "$ac_compile") 2>conftest.er1 | ||
31039 | ac_status=$? | ||
31040 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31041 | rm -f conftest.er1 | ||
31042 | cat conftest.err >&5 | ||
31043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31044 | (exit $ac_status); } && { | ||
31045 | test -z "$ac_c_werror_flag" || | ||
31046 | test ! -s conftest.err | ||
31047 | } && test -s conftest.$ac_objext; then | ||
31048 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31049 | echo "${ECHO_T}yes" >&6; } | ||
31050 | 16325 | ||
31051 | cat >>confdefs.h <<\_ACEOF | 16326 | $as_echo "#define FSID_HAS_VAL 1" >>confdefs.h |
31052 | #define FSID_HAS_VAL 1 | ||
31053 | _ACEOF | ||
31054 | 16327 | ||
31055 | else | 16328 | else |
31056 | echo "$as_me: failed program was:" >&5 | 16329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
31057 | sed 's/^/| /' conftest.$ac_ext >&5 | 16330 | $as_echo "no" >&6; } |
31058 | |||
31059 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31060 | echo "${ECHO_T}no" >&6; } | ||
31061 | fi | 16331 | fi |
31062 | |||
31063 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
31064 | 16333 | ||
31065 | { echo "$as_me:$LINENO: checking if f_fsid has member __val" >&5 | 16334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if f_fsid has member __val" >&5 |
31066 | echo $ECHO_N "checking if f_fsid has member __val... $ECHO_C" >&6; } | 16335 | $as_echo_n "checking if f_fsid has member __val... " >&6; } |
31067 | cat >conftest.$ac_ext <<_ACEOF | 16336 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31068 | /* confdefs.h. */ | ||
31069 | _ACEOF | ||
31070 | cat confdefs.h >>conftest.$ac_ext | ||
31071 | cat >>conftest.$ac_ext <<_ACEOF | ||
31072 | /* end confdefs.h. */ | 16337 | /* end confdefs.h. */ |
31073 | 16338 | ||
31074 | #include <sys/types.h> | 16339 | #include <sys/types.h> |
@@ -31082,55 +16347,28 @@ main () | |||
31082 | return 0; | 16347 | return 0; |
31083 | } | 16348 | } |
31084 | _ACEOF | 16349 | _ACEOF |
31085 | rm -f conftest.$ac_objext | 16350 | if ac_fn_c_try_compile "$LINENO"; then : |
31086 | if { (ac_try="$ac_compile" | 16351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
31087 | case "(($ac_try" in | 16352 | $as_echo "yes" >&6; } |
31088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31089 | *) ac_try_echo=$ac_try;; | ||
31090 | esac | ||
31091 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31092 | (eval "$ac_compile") 2>conftest.er1 | ||
31093 | ac_status=$? | ||
31094 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31095 | rm -f conftest.er1 | ||
31096 | cat conftest.err >&5 | ||
31097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31098 | (exit $ac_status); } && { | ||
31099 | test -z "$ac_c_werror_flag" || | ||
31100 | test ! -s conftest.err | ||
31101 | } && test -s conftest.$ac_objext; then | ||
31102 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31103 | echo "${ECHO_T}yes" >&6; } | ||
31104 | 16353 | ||
31105 | cat >>confdefs.h <<\_ACEOF | 16354 | $as_echo "#define FSID_HAS___VAL 1" >>confdefs.h |
31106 | #define FSID_HAS___VAL 1 | ||
31107 | _ACEOF | ||
31108 | 16355 | ||
31109 | else | 16356 | else |
31110 | echo "$as_me: failed program was:" >&5 | 16357 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
31111 | sed 's/^/| /' conftest.$ac_ext >&5 | 16358 | $as_echo "no" >&6; } |
31112 | |||
31113 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31114 | echo "${ECHO_T}no" >&6; } | ||
31115 | fi | 16359 | fi |
31116 | |||
31117 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16360 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
31118 | 16361 | ||
31119 | fi | 16362 | fi |
31120 | |||
31121 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16363 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
31122 | 16364 | ||
31123 | { echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 | 16365 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msg_control field in struct msghdr" >&5 |
31124 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } | 16366 | $as_echo_n "checking for msg_control field in struct msghdr... " >&6; } |
31125 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then | 16367 | if ${ac_cv_have_control_in_msghdr+:} false; then : |
31126 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16368 | $as_echo_n "(cached) " >&6 |
31127 | else | 16369 | else |
31128 | 16370 | ||
31129 | cat >conftest.$ac_ext <<_ACEOF | 16371 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31130 | /* confdefs.h. */ | ||
31131 | _ACEOF | ||
31132 | cat confdefs.h >>conftest.$ac_ext | ||
31133 | cat >>conftest.$ac_ext <<_ACEOF | ||
31134 | /* end confdefs.h. */ | 16372 | /* end confdefs.h. */ |
31135 | 16373 | ||
31136 | #include <sys/types.h> | 16374 | #include <sys/types.h> |
@@ -31153,56 +16391,30 @@ exit(0); | |||
31153 | return 0; | 16391 | return 0; |
31154 | } | 16392 | } |
31155 | _ACEOF | 16393 | _ACEOF |
31156 | rm -f conftest.$ac_objext | 16394 | if ac_fn_c_try_compile "$LINENO"; then : |
31157 | if { (ac_try="$ac_compile" | ||
31158 | case "(($ac_try" in | ||
31159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31160 | *) ac_try_echo=$ac_try;; | ||
31161 | esac | ||
31162 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31163 | (eval "$ac_compile") 2>conftest.er1 | ||
31164 | ac_status=$? | ||
31165 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31166 | rm -f conftest.er1 | ||
31167 | cat conftest.err >&5 | ||
31168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31169 | (exit $ac_status); } && { | ||
31170 | test -z "$ac_c_werror_flag" || | ||
31171 | test ! -s conftest.err | ||
31172 | } && test -s conftest.$ac_objext; then | ||
31173 | ac_cv_have_control_in_msghdr="yes" | 16395 | ac_cv_have_control_in_msghdr="yes" |
31174 | else | 16396 | else |
31175 | echo "$as_me: failed program was:" >&5 | 16397 | ac_cv_have_control_in_msghdr="no" |
31176 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31177 | |||
31178 | ac_cv_have_control_in_msghdr="no" | ||
31179 | 16398 | ||
31180 | fi | 16399 | fi |
31181 | |||
31182 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16400 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
31183 | 16401 | ||
31184 | fi | 16402 | fi |
31185 | { echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 | 16403 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_control_in_msghdr" >&5 |
31186 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; } | 16404 | $as_echo "$ac_cv_have_control_in_msghdr" >&6; } |
31187 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 16405 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
31188 | 16406 | ||
31189 | cat >>confdefs.h <<\_ACEOF | 16407 | $as_echo "#define HAVE_CONTROL_IN_MSGHDR 1" >>confdefs.h |
31190 | #define HAVE_CONTROL_IN_MSGHDR 1 | ||
31191 | _ACEOF | ||
31192 | 16408 | ||
31193 | fi | 16409 | fi |
31194 | 16410 | ||
31195 | { echo "$as_me:$LINENO: checking if libc defines __progname" >&5 | 16411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines __progname" >&5 |
31196 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; } | 16412 | $as_echo_n "checking if libc defines __progname... " >&6; } |
31197 | if test "${ac_cv_libc_defines___progname+set}" = set; then | 16413 | if ${ac_cv_libc_defines___progname+:} false; then : |
31198 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16414 | $as_echo_n "(cached) " >&6 |
31199 | else | 16415 | else |
31200 | 16416 | ||
31201 | cat >conftest.$ac_ext <<_ACEOF | 16417 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31202 | /* confdefs.h. */ | ||
31203 | _ACEOF | ||
31204 | cat confdefs.h >>conftest.$ac_ext | ||
31205 | cat >>conftest.$ac_ext <<_ACEOF | ||
31206 | /* end confdefs.h. */ | 16418 | /* end confdefs.h. */ |
31207 | 16419 | ||
31208 | int | 16420 | int |
@@ -31213,58 +16425,31 @@ main () | |||
31213 | return 0; | 16425 | return 0; |
31214 | } | 16426 | } |
31215 | _ACEOF | 16427 | _ACEOF |
31216 | rm -f conftest.$ac_objext conftest$ac_exeext | 16428 | if ac_fn_c_try_link "$LINENO"; then : |
31217 | if { (ac_try="$ac_link" | ||
31218 | case "(($ac_try" in | ||
31219 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31220 | *) ac_try_echo=$ac_try;; | ||
31221 | esac | ||
31222 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31223 | (eval "$ac_link") 2>conftest.er1 | ||
31224 | ac_status=$? | ||
31225 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31226 | rm -f conftest.er1 | ||
31227 | cat conftest.err >&5 | ||
31228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31229 | (exit $ac_status); } && { | ||
31230 | test -z "$ac_c_werror_flag" || | ||
31231 | test ! -s conftest.err | ||
31232 | } && test -s conftest$ac_exeext && | ||
31233 | $as_test_x conftest$ac_exeext; then | ||
31234 | ac_cv_libc_defines___progname="yes" | 16429 | ac_cv_libc_defines___progname="yes" |
31235 | else | 16430 | else |
31236 | echo "$as_me: failed program was:" >&5 | 16431 | ac_cv_libc_defines___progname="no" |
31237 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31238 | |||
31239 | ac_cv_libc_defines___progname="no" | ||
31240 | 16432 | ||
31241 | fi | 16433 | fi |
31242 | 16434 | rm -f core conftest.err conftest.$ac_objext \ | |
31243 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16435 | conftest$ac_exeext conftest.$ac_ext |
31244 | conftest$ac_exeext conftest.$ac_ext | ||
31245 | 16436 | ||
31246 | fi | 16437 | fi |
31247 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 | 16438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines___progname" >&5 |
31248 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; } | 16439 | $as_echo "$ac_cv_libc_defines___progname" >&6; } |
31249 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 16440 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
31250 | 16441 | ||
31251 | cat >>confdefs.h <<\_ACEOF | 16442 | $as_echo "#define HAVE___PROGNAME 1" >>confdefs.h |
31252 | #define HAVE___PROGNAME 1 | ||
31253 | _ACEOF | ||
31254 | 16443 | ||
31255 | fi | 16444 | fi |
31256 | 16445 | ||
31257 | { echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 | 16446 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5 |
31258 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6; } | 16447 | $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; } |
31259 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then | 16448 | if ${ac_cv_cc_implements___FUNCTION__+:} false; then : |
31260 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16449 | $as_echo_n "(cached) " >&6 |
31261 | else | 16450 | else |
31262 | 16451 | ||
31263 | cat >conftest.$ac_ext <<_ACEOF | 16452 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31264 | /* confdefs.h. */ | ||
31265 | _ACEOF | ||
31266 | cat confdefs.h >>conftest.$ac_ext | ||
31267 | cat >>conftest.$ac_ext <<_ACEOF | ||
31268 | /* end confdefs.h. */ | 16453 | /* end confdefs.h. */ |
31269 | #include <stdio.h> | 16454 | #include <stdio.h> |
31270 | int | 16455 | int |
@@ -31275,58 +16460,31 @@ main () | |||
31275 | return 0; | 16460 | return 0; |
31276 | } | 16461 | } |
31277 | _ACEOF | 16462 | _ACEOF |
31278 | rm -f conftest.$ac_objext conftest$ac_exeext | 16463 | if ac_fn_c_try_link "$LINENO"; then : |
31279 | if { (ac_try="$ac_link" | ||
31280 | case "(($ac_try" in | ||
31281 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31282 | *) ac_try_echo=$ac_try;; | ||
31283 | esac | ||
31284 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31285 | (eval "$ac_link") 2>conftest.er1 | ||
31286 | ac_status=$? | ||
31287 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31288 | rm -f conftest.er1 | ||
31289 | cat conftest.err >&5 | ||
31290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31291 | (exit $ac_status); } && { | ||
31292 | test -z "$ac_c_werror_flag" || | ||
31293 | test ! -s conftest.err | ||
31294 | } && test -s conftest$ac_exeext && | ||
31295 | $as_test_x conftest$ac_exeext; then | ||
31296 | ac_cv_cc_implements___FUNCTION__="yes" | 16464 | ac_cv_cc_implements___FUNCTION__="yes" |
31297 | else | 16465 | else |
31298 | echo "$as_me: failed program was:" >&5 | 16466 | ac_cv_cc_implements___FUNCTION__="no" |
31299 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31300 | |||
31301 | ac_cv_cc_implements___FUNCTION__="no" | ||
31302 | 16467 | ||
31303 | fi | 16468 | fi |
31304 | 16469 | rm -f core conftest.err conftest.$ac_objext \ | |
31305 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16470 | conftest$ac_exeext conftest.$ac_ext |
31306 | conftest$ac_exeext conftest.$ac_ext | ||
31307 | 16471 | ||
31308 | fi | 16472 | fi |
31309 | { echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 | 16473 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_implements___FUNCTION__" >&5 |
31310 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6; } | 16474 | $as_echo "$ac_cv_cc_implements___FUNCTION__" >&6; } |
31311 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 16475 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
31312 | 16476 | ||
31313 | cat >>confdefs.h <<\_ACEOF | 16477 | $as_echo "#define HAVE___FUNCTION__ 1" >>confdefs.h |
31314 | #define HAVE___FUNCTION__ 1 | ||
31315 | _ACEOF | ||
31316 | 16478 | ||
31317 | fi | 16479 | fi |
31318 | 16480 | ||
31319 | { echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 | 16481 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5 |
31320 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6; } | 16482 | $as_echo_n "checking whether $CC implements __func__... " >&6; } |
31321 | if test "${ac_cv_cc_implements___func__+set}" = set; then | 16483 | if ${ac_cv_cc_implements___func__+:} false; then : |
31322 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16484 | $as_echo_n "(cached) " >&6 |
31323 | else | 16485 | else |
31324 | 16486 | ||
31325 | cat >conftest.$ac_ext <<_ACEOF | 16487 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31326 | /* confdefs.h. */ | ||
31327 | _ACEOF | ||
31328 | cat confdefs.h >>conftest.$ac_ext | ||
31329 | cat >>conftest.$ac_ext <<_ACEOF | ||
31330 | /* end confdefs.h. */ | 16488 | /* end confdefs.h. */ |
31331 | #include <stdio.h> | 16489 | #include <stdio.h> |
31332 | int | 16490 | int |
@@ -31337,58 +16495,31 @@ main () | |||
31337 | return 0; | 16495 | return 0; |
31338 | } | 16496 | } |
31339 | _ACEOF | 16497 | _ACEOF |
31340 | rm -f conftest.$ac_objext conftest$ac_exeext | 16498 | if ac_fn_c_try_link "$LINENO"; then : |
31341 | if { (ac_try="$ac_link" | ||
31342 | case "(($ac_try" in | ||
31343 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31344 | *) ac_try_echo=$ac_try;; | ||
31345 | esac | ||
31346 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31347 | (eval "$ac_link") 2>conftest.er1 | ||
31348 | ac_status=$? | ||
31349 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31350 | rm -f conftest.er1 | ||
31351 | cat conftest.err >&5 | ||
31352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31353 | (exit $ac_status); } && { | ||
31354 | test -z "$ac_c_werror_flag" || | ||
31355 | test ! -s conftest.err | ||
31356 | } && test -s conftest$ac_exeext && | ||
31357 | $as_test_x conftest$ac_exeext; then | ||
31358 | ac_cv_cc_implements___func__="yes" | 16499 | ac_cv_cc_implements___func__="yes" |
31359 | else | 16500 | else |
31360 | echo "$as_me: failed program was:" >&5 | 16501 | ac_cv_cc_implements___func__="no" |
31361 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31362 | |||
31363 | ac_cv_cc_implements___func__="no" | ||
31364 | 16502 | ||
31365 | fi | 16503 | fi |
31366 | 16504 | rm -f core conftest.err conftest.$ac_objext \ | |
31367 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16505 | conftest$ac_exeext conftest.$ac_ext |
31368 | conftest$ac_exeext conftest.$ac_ext | ||
31369 | 16506 | ||
31370 | fi | 16507 | fi |
31371 | { echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 | 16508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_implements___func__" >&5 |
31372 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6; } | 16509 | $as_echo "$ac_cv_cc_implements___func__" >&6; } |
31373 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 16510 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
31374 | 16511 | ||
31375 | cat >>confdefs.h <<\_ACEOF | 16512 | $as_echo "#define HAVE___func__ 1" >>confdefs.h |
31376 | #define HAVE___func__ 1 | ||
31377 | _ACEOF | ||
31378 | 16513 | ||
31379 | fi | 16514 | fi |
31380 | 16515 | ||
31381 | { echo "$as_me:$LINENO: checking whether va_copy exists" >&5 | 16516 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_copy exists" >&5 |
31382 | echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6; } | 16517 | $as_echo_n "checking whether va_copy exists... " >&6; } |
31383 | if test "${ac_cv_have_va_copy+set}" = set; then | 16518 | if ${ac_cv_have_va_copy+:} false; then : |
31384 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16519 | $as_echo_n "(cached) " >&6 |
31385 | else | 16520 | else |
31386 | 16521 | ||
31387 | cat >conftest.$ac_ext <<_ACEOF | 16522 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31388 | /* confdefs.h. */ | ||
31389 | _ACEOF | ||
31390 | cat confdefs.h >>conftest.$ac_ext | ||
31391 | cat >>conftest.$ac_ext <<_ACEOF | ||
31392 | /* end confdefs.h. */ | 16523 | /* end confdefs.h. */ |
31393 | 16524 | ||
31394 | #include <stdarg.h> | 16525 | #include <stdarg.h> |
@@ -31402,58 +16533,31 @@ main () | |||
31402 | return 0; | 16533 | return 0; |
31403 | } | 16534 | } |
31404 | _ACEOF | 16535 | _ACEOF |
31405 | rm -f conftest.$ac_objext conftest$ac_exeext | 16536 | if ac_fn_c_try_link "$LINENO"; then : |
31406 | if { (ac_try="$ac_link" | ||
31407 | case "(($ac_try" in | ||
31408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31409 | *) ac_try_echo=$ac_try;; | ||
31410 | esac | ||
31411 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31412 | (eval "$ac_link") 2>conftest.er1 | ||
31413 | ac_status=$? | ||
31414 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31415 | rm -f conftest.er1 | ||
31416 | cat conftest.err >&5 | ||
31417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31418 | (exit $ac_status); } && { | ||
31419 | test -z "$ac_c_werror_flag" || | ||
31420 | test ! -s conftest.err | ||
31421 | } && test -s conftest$ac_exeext && | ||
31422 | $as_test_x conftest$ac_exeext; then | ||
31423 | ac_cv_have_va_copy="yes" | 16537 | ac_cv_have_va_copy="yes" |
31424 | else | 16538 | else |
31425 | echo "$as_me: failed program was:" >&5 | 16539 | ac_cv_have_va_copy="no" |
31426 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31427 | |||
31428 | ac_cv_have_va_copy="no" | ||
31429 | 16540 | ||
31430 | fi | 16541 | fi |
31431 | 16542 | rm -f core conftest.err conftest.$ac_objext \ | |
31432 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16543 | conftest$ac_exeext conftest.$ac_ext |
31433 | conftest$ac_exeext conftest.$ac_ext | ||
31434 | 16544 | ||
31435 | fi | 16545 | fi |
31436 | { echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 | 16546 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_va_copy" >&5 |
31437 | echo "${ECHO_T}$ac_cv_have_va_copy" >&6; } | 16547 | $as_echo "$ac_cv_have_va_copy" >&6; } |
31438 | if test "x$ac_cv_have_va_copy" = "xyes" ; then | 16548 | if test "x$ac_cv_have_va_copy" = "xyes" ; then |
31439 | 16549 | ||
31440 | cat >>confdefs.h <<\_ACEOF | 16550 | $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h |
31441 | #define HAVE_VA_COPY 1 | ||
31442 | _ACEOF | ||
31443 | 16551 | ||
31444 | fi | 16552 | fi |
31445 | 16553 | ||
31446 | { echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 | 16554 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __va_copy exists" >&5 |
31447 | echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6; } | 16555 | $as_echo_n "checking whether __va_copy exists... " >&6; } |
31448 | if test "${ac_cv_have___va_copy+set}" = set; then | 16556 | if ${ac_cv_have___va_copy+:} false; then : |
31449 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16557 | $as_echo_n "(cached) " >&6 |
31450 | else | 16558 | else |
31451 | 16559 | ||
31452 | cat >conftest.$ac_ext <<_ACEOF | 16560 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31453 | /* confdefs.h. */ | ||
31454 | _ACEOF | ||
31455 | cat confdefs.h >>conftest.$ac_ext | ||
31456 | cat >>conftest.$ac_ext <<_ACEOF | ||
31457 | /* end confdefs.h. */ | 16561 | /* end confdefs.h. */ |
31458 | 16562 | ||
31459 | #include <stdarg.h> | 16563 | #include <stdarg.h> |
@@ -31467,58 +16571,31 @@ main () | |||
31467 | return 0; | 16571 | return 0; |
31468 | } | 16572 | } |
31469 | _ACEOF | 16573 | _ACEOF |
31470 | rm -f conftest.$ac_objext conftest$ac_exeext | 16574 | if ac_fn_c_try_link "$LINENO"; then : |
31471 | if { (ac_try="$ac_link" | ||
31472 | case "(($ac_try" in | ||
31473 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31474 | *) ac_try_echo=$ac_try;; | ||
31475 | esac | ||
31476 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31477 | (eval "$ac_link") 2>conftest.er1 | ||
31478 | ac_status=$? | ||
31479 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31480 | rm -f conftest.er1 | ||
31481 | cat conftest.err >&5 | ||
31482 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31483 | (exit $ac_status); } && { | ||
31484 | test -z "$ac_c_werror_flag" || | ||
31485 | test ! -s conftest.err | ||
31486 | } && test -s conftest$ac_exeext && | ||
31487 | $as_test_x conftest$ac_exeext; then | ||
31488 | ac_cv_have___va_copy="yes" | 16575 | ac_cv_have___va_copy="yes" |
31489 | else | 16576 | else |
31490 | echo "$as_me: failed program was:" >&5 | 16577 | ac_cv_have___va_copy="no" |
31491 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31492 | |||
31493 | ac_cv_have___va_copy="no" | ||
31494 | 16578 | ||
31495 | fi | 16579 | fi |
31496 | 16580 | rm -f core conftest.err conftest.$ac_objext \ | |
31497 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16581 | conftest$ac_exeext conftest.$ac_ext |
31498 | conftest$ac_exeext conftest.$ac_ext | ||
31499 | 16582 | ||
31500 | fi | 16583 | fi |
31501 | { echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 | 16584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___va_copy" >&5 |
31502 | echo "${ECHO_T}$ac_cv_have___va_copy" >&6; } | 16585 | $as_echo "$ac_cv_have___va_copy" >&6; } |
31503 | if test "x$ac_cv_have___va_copy" = "xyes" ; then | 16586 | if test "x$ac_cv_have___va_copy" = "xyes" ; then |
31504 | 16587 | ||
31505 | cat >>confdefs.h <<\_ACEOF | 16588 | $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h |
31506 | #define HAVE___VA_COPY 1 | ||
31507 | _ACEOF | ||
31508 | 16589 | ||
31509 | fi | 16590 | fi |
31510 | 16591 | ||
31511 | { echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 | 16592 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt has optreset support" >&5 |
31512 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; } | 16593 | $as_echo_n "checking whether getopt has optreset support... " >&6; } |
31513 | if test "${ac_cv_have_getopt_optreset+set}" = set; then | 16594 | if ${ac_cv_have_getopt_optreset+:} false; then : |
31514 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16595 | $as_echo_n "(cached) " >&6 |
31515 | else | 16596 | else |
31516 | 16597 | ||
31517 | cat >conftest.$ac_ext <<_ACEOF | 16598 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31518 | /* confdefs.h. */ | ||
31519 | _ACEOF | ||
31520 | cat confdefs.h >>conftest.$ac_ext | ||
31521 | cat >>conftest.$ac_ext <<_ACEOF | ||
31522 | /* end confdefs.h. */ | 16599 | /* end confdefs.h. */ |
31523 | #include <getopt.h> | 16600 | #include <getopt.h> |
31524 | int | 16601 | int |
@@ -31529,58 +16606,31 @@ main () | |||
31529 | return 0; | 16606 | return 0; |
31530 | } | 16607 | } |
31531 | _ACEOF | 16608 | _ACEOF |
31532 | rm -f conftest.$ac_objext conftest$ac_exeext | 16609 | if ac_fn_c_try_link "$LINENO"; then : |
31533 | if { (ac_try="$ac_link" | ||
31534 | case "(($ac_try" in | ||
31535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31536 | *) ac_try_echo=$ac_try;; | ||
31537 | esac | ||
31538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31539 | (eval "$ac_link") 2>conftest.er1 | ||
31540 | ac_status=$? | ||
31541 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31542 | rm -f conftest.er1 | ||
31543 | cat conftest.err >&5 | ||
31544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31545 | (exit $ac_status); } && { | ||
31546 | test -z "$ac_c_werror_flag" || | ||
31547 | test ! -s conftest.err | ||
31548 | } && test -s conftest$ac_exeext && | ||
31549 | $as_test_x conftest$ac_exeext; then | ||
31550 | ac_cv_have_getopt_optreset="yes" | 16610 | ac_cv_have_getopt_optreset="yes" |
31551 | else | 16611 | else |
31552 | echo "$as_me: failed program was:" >&5 | 16612 | ac_cv_have_getopt_optreset="no" |
31553 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31554 | |||
31555 | ac_cv_have_getopt_optreset="no" | ||
31556 | 16613 | ||
31557 | fi | 16614 | fi |
31558 | 16615 | rm -f core conftest.err conftest.$ac_objext \ | |
31559 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16616 | conftest$ac_exeext conftest.$ac_ext |
31560 | conftest$ac_exeext conftest.$ac_ext | ||
31561 | 16617 | ||
31562 | fi | 16618 | fi |
31563 | { echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 | 16619 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getopt_optreset" >&5 |
31564 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; } | 16620 | $as_echo "$ac_cv_have_getopt_optreset" >&6; } |
31565 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 16621 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
31566 | 16622 | ||
31567 | cat >>confdefs.h <<\_ACEOF | 16623 | $as_echo "#define HAVE_GETOPT_OPTRESET 1" >>confdefs.h |
31568 | #define HAVE_GETOPT_OPTRESET 1 | ||
31569 | _ACEOF | ||
31570 | 16624 | ||
31571 | fi | 16625 | fi |
31572 | 16626 | ||
31573 | { echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 | 16627 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines sys_errlist" >&5 |
31574 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6; } | 16628 | $as_echo_n "checking if libc defines sys_errlist... " >&6; } |
31575 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then | 16629 | if ${ac_cv_libc_defines_sys_errlist+:} false; then : |
31576 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16630 | $as_echo_n "(cached) " >&6 |
31577 | else | 16631 | else |
31578 | 16632 | ||
31579 | cat >conftest.$ac_ext <<_ACEOF | 16633 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31580 | /* confdefs.h. */ | ||
31581 | _ACEOF | ||
31582 | cat confdefs.h >>conftest.$ac_ext | ||
31583 | cat >>conftest.$ac_ext <<_ACEOF | ||
31584 | /* end confdefs.h. */ | 16634 | /* end confdefs.h. */ |
31585 | 16635 | ||
31586 | int | 16636 | int |
@@ -31591,59 +16641,32 @@ main () | |||
31591 | return 0; | 16641 | return 0; |
31592 | } | 16642 | } |
31593 | _ACEOF | 16643 | _ACEOF |
31594 | rm -f conftest.$ac_objext conftest$ac_exeext | 16644 | if ac_fn_c_try_link "$LINENO"; then : |
31595 | if { (ac_try="$ac_link" | ||
31596 | case "(($ac_try" in | ||
31597 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31598 | *) ac_try_echo=$ac_try;; | ||
31599 | esac | ||
31600 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31601 | (eval "$ac_link") 2>conftest.er1 | ||
31602 | ac_status=$? | ||
31603 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31604 | rm -f conftest.er1 | ||
31605 | cat conftest.err >&5 | ||
31606 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31607 | (exit $ac_status); } && { | ||
31608 | test -z "$ac_c_werror_flag" || | ||
31609 | test ! -s conftest.err | ||
31610 | } && test -s conftest$ac_exeext && | ||
31611 | $as_test_x conftest$ac_exeext; then | ||
31612 | ac_cv_libc_defines_sys_errlist="yes" | 16645 | ac_cv_libc_defines_sys_errlist="yes" |
31613 | else | 16646 | else |
31614 | echo "$as_me: failed program was:" >&5 | 16647 | ac_cv_libc_defines_sys_errlist="no" |
31615 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31616 | |||
31617 | ac_cv_libc_defines_sys_errlist="no" | ||
31618 | 16648 | ||
31619 | fi | 16649 | fi |
31620 | 16650 | rm -f core conftest.err conftest.$ac_objext \ | |
31621 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16651 | conftest$ac_exeext conftest.$ac_ext |
31622 | conftest$ac_exeext conftest.$ac_ext | ||
31623 | 16652 | ||
31624 | fi | 16653 | fi |
31625 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 | 16654 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines_sys_errlist" >&5 |
31626 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6; } | 16655 | $as_echo "$ac_cv_libc_defines_sys_errlist" >&6; } |
31627 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 16656 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
31628 | 16657 | ||
31629 | cat >>confdefs.h <<\_ACEOF | 16658 | $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h |
31630 | #define HAVE_SYS_ERRLIST 1 | ||
31631 | _ACEOF | ||
31632 | 16659 | ||
31633 | fi | 16660 | fi |
31634 | 16661 | ||
31635 | 16662 | ||
31636 | { echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 | 16663 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines sys_nerr" >&5 |
31637 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6; } | 16664 | $as_echo_n "checking if libc defines sys_nerr... " >&6; } |
31638 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then | 16665 | if ${ac_cv_libc_defines_sys_nerr+:} false; then : |
31639 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16666 | $as_echo_n "(cached) " >&6 |
31640 | else | 16667 | else |
31641 | 16668 | ||
31642 | cat >conftest.$ac_ext <<_ACEOF | 16669 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31643 | /* confdefs.h. */ | ||
31644 | _ACEOF | ||
31645 | cat confdefs.h >>conftest.$ac_ext | ||
31646 | cat >>conftest.$ac_ext <<_ACEOF | ||
31647 | /* end confdefs.h. */ | 16670 | /* end confdefs.h. */ |
31648 | 16671 | ||
31649 | int | 16672 | int |
@@ -31654,59 +16677,32 @@ main () | |||
31654 | return 0; | 16677 | return 0; |
31655 | } | 16678 | } |
31656 | _ACEOF | 16679 | _ACEOF |
31657 | rm -f conftest.$ac_objext conftest$ac_exeext | 16680 | if ac_fn_c_try_link "$LINENO"; then : |
31658 | if { (ac_try="$ac_link" | ||
31659 | case "(($ac_try" in | ||
31660 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31661 | *) ac_try_echo=$ac_try;; | ||
31662 | esac | ||
31663 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31664 | (eval "$ac_link") 2>conftest.er1 | ||
31665 | ac_status=$? | ||
31666 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31667 | rm -f conftest.er1 | ||
31668 | cat conftest.err >&5 | ||
31669 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31670 | (exit $ac_status); } && { | ||
31671 | test -z "$ac_c_werror_flag" || | ||
31672 | test ! -s conftest.err | ||
31673 | } && test -s conftest$ac_exeext && | ||
31674 | $as_test_x conftest$ac_exeext; then | ||
31675 | ac_cv_libc_defines_sys_nerr="yes" | 16681 | ac_cv_libc_defines_sys_nerr="yes" |
31676 | else | 16682 | else |
31677 | echo "$as_me: failed program was:" >&5 | 16683 | ac_cv_libc_defines_sys_nerr="no" |
31678 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31679 | |||
31680 | ac_cv_libc_defines_sys_nerr="no" | ||
31681 | 16684 | ||
31682 | fi | 16685 | fi |
31683 | 16686 | rm -f core conftest.err conftest.$ac_objext \ | |
31684 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16687 | conftest$ac_exeext conftest.$ac_ext |
31685 | conftest$ac_exeext conftest.$ac_ext | ||
31686 | 16688 | ||
31687 | fi | 16689 | fi |
31688 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 | 16690 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines_sys_nerr" >&5 |
31689 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6; } | 16691 | $as_echo "$ac_cv_libc_defines_sys_nerr" >&6; } |
31690 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 16692 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
31691 | 16693 | ||
31692 | cat >>confdefs.h <<\_ACEOF | 16694 | $as_echo "#define HAVE_SYS_NERR 1" >>confdefs.h |
31693 | #define HAVE_SYS_NERR 1 | ||
31694 | _ACEOF | ||
31695 | 16695 | ||
31696 | fi | 16696 | fi |
31697 | 16697 | ||
31698 | # Check libraries needed by DNS fingerprint support | 16698 | # Check libraries needed by DNS fingerprint support |
31699 | { echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 | 16699 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getrrsetbyname" >&5 |
31700 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6; } | 16700 | $as_echo_n "checking for library containing getrrsetbyname... " >&6; } |
31701 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | 16701 | if ${ac_cv_search_getrrsetbyname+:} false; then : |
31702 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16702 | $as_echo_n "(cached) " >&6 |
31703 | else | 16703 | else |
31704 | ac_func_search_save_LIBS=$LIBS | 16704 | ac_func_search_save_LIBS=$LIBS |
31705 | cat >conftest.$ac_ext <<_ACEOF | 16705 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31706 | /* confdefs.h. */ | ||
31707 | _ACEOF | ||
31708 | cat confdefs.h >>conftest.$ac_ext | ||
31709 | cat >>conftest.$ac_ext <<_ACEOF | ||
31710 | /* end confdefs.h. */ | 16706 | /* end confdefs.h. */ |
31711 | 16707 | ||
31712 | /* Override any GCC internal prototype to avoid an error. | 16708 | /* Override any GCC internal prototype to avoid an error. |
@@ -31731,70 +16727,41 @@ for ac_lib in '' resolv; do | |||
31731 | ac_res=-l$ac_lib | 16727 | ac_res=-l$ac_lib |
31732 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 16728 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
31733 | fi | 16729 | fi |
31734 | rm -f conftest.$ac_objext conftest$ac_exeext | 16730 | if ac_fn_c_try_link "$LINENO"; then : |
31735 | if { (ac_try="$ac_link" | ||
31736 | case "(($ac_try" in | ||
31737 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31738 | *) ac_try_echo=$ac_try;; | ||
31739 | esac | ||
31740 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31741 | (eval "$ac_link") 2>conftest.er1 | ||
31742 | ac_status=$? | ||
31743 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31744 | rm -f conftest.er1 | ||
31745 | cat conftest.err >&5 | ||
31746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31747 | (exit $ac_status); } && { | ||
31748 | test -z "$ac_c_werror_flag" || | ||
31749 | test ! -s conftest.err | ||
31750 | } && test -s conftest$ac_exeext && | ||
31751 | $as_test_x conftest$ac_exeext; then | ||
31752 | ac_cv_search_getrrsetbyname=$ac_res | 16731 | ac_cv_search_getrrsetbyname=$ac_res |
31753 | else | ||
31754 | echo "$as_me: failed program was:" >&5 | ||
31755 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31756 | |||
31757 | |||
31758 | fi | 16732 | fi |
31759 | 16733 | rm -f core conftest.err conftest.$ac_objext \ | |
31760 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16734 | conftest$ac_exeext |
31761 | conftest$ac_exeext | 16735 | if ${ac_cv_search_getrrsetbyname+:} false; then : |
31762 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | ||
31763 | break | 16736 | break |
31764 | fi | 16737 | fi |
31765 | done | 16738 | done |
31766 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | 16739 | if ${ac_cv_search_getrrsetbyname+:} false; then : |
31767 | : | 16740 | |
31768 | else | 16741 | else |
31769 | ac_cv_search_getrrsetbyname=no | 16742 | ac_cv_search_getrrsetbyname=no |
31770 | fi | 16743 | fi |
31771 | rm conftest.$ac_ext | 16744 | rm conftest.$ac_ext |
31772 | LIBS=$ac_func_search_save_LIBS | 16745 | LIBS=$ac_func_search_save_LIBS |
31773 | fi | 16746 | fi |
31774 | { echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 | 16747 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getrrsetbyname" >&5 |
31775 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6; } | 16748 | $as_echo "$ac_cv_search_getrrsetbyname" >&6; } |
31776 | ac_res=$ac_cv_search_getrrsetbyname | 16749 | ac_res=$ac_cv_search_getrrsetbyname |
31777 | if test "$ac_res" != no; then | 16750 | if test "$ac_res" != no; then : |
31778 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 16751 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
31779 | 16752 | ||
31780 | cat >>confdefs.h <<\_ACEOF | 16753 | $as_echo "#define HAVE_GETRRSETBYNAME 1" >>confdefs.h |
31781 | #define HAVE_GETRRSETBYNAME 1 | ||
31782 | _ACEOF | ||
31783 | 16754 | ||
31784 | else | 16755 | else |
31785 | 16756 | ||
31786 | # Needed by our getrrsetbyname() | 16757 | # Needed by our getrrsetbyname() |
31787 | { echo "$as_me:$LINENO: checking for library containing res_query" >&5 | 16758 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_query" >&5 |
31788 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; } | 16759 | $as_echo_n "checking for library containing res_query... " >&6; } |
31789 | if test "${ac_cv_search_res_query+set}" = set; then | 16760 | if ${ac_cv_search_res_query+:} false; then : |
31790 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16761 | $as_echo_n "(cached) " >&6 |
31791 | else | 16762 | else |
31792 | ac_func_search_save_LIBS=$LIBS | 16763 | ac_func_search_save_LIBS=$LIBS |
31793 | cat >conftest.$ac_ext <<_ACEOF | 16764 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31794 | /* confdefs.h. */ | ||
31795 | _ACEOF | ||
31796 | cat confdefs.h >>conftest.$ac_ext | ||
31797 | cat >>conftest.$ac_ext <<_ACEOF | ||
31798 | /* end confdefs.h. */ | 16765 | /* end confdefs.h. */ |
31799 | 16766 | ||
31800 | /* Override any GCC internal prototype to avoid an error. | 16767 | /* Override any GCC internal prototype to avoid an error. |
@@ -31819,65 +16786,38 @@ for ac_lib in '' resolv; do | |||
31819 | ac_res=-l$ac_lib | 16786 | ac_res=-l$ac_lib |
31820 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 16787 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
31821 | fi | 16788 | fi |
31822 | rm -f conftest.$ac_objext conftest$ac_exeext | 16789 | if ac_fn_c_try_link "$LINENO"; then : |
31823 | if { (ac_try="$ac_link" | ||
31824 | case "(($ac_try" in | ||
31825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31826 | *) ac_try_echo=$ac_try;; | ||
31827 | esac | ||
31828 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31829 | (eval "$ac_link") 2>conftest.er1 | ||
31830 | ac_status=$? | ||
31831 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31832 | rm -f conftest.er1 | ||
31833 | cat conftest.err >&5 | ||
31834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31835 | (exit $ac_status); } && { | ||
31836 | test -z "$ac_c_werror_flag" || | ||
31837 | test ! -s conftest.err | ||
31838 | } && test -s conftest$ac_exeext && | ||
31839 | $as_test_x conftest$ac_exeext; then | ||
31840 | ac_cv_search_res_query=$ac_res | 16790 | ac_cv_search_res_query=$ac_res |
31841 | else | ||
31842 | echo "$as_me: failed program was:" >&5 | ||
31843 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31844 | |||
31845 | |||
31846 | fi | 16791 | fi |
31847 | 16792 | rm -f core conftest.err conftest.$ac_objext \ | |
31848 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16793 | conftest$ac_exeext |
31849 | conftest$ac_exeext | 16794 | if ${ac_cv_search_res_query+:} false; then : |
31850 | if test "${ac_cv_search_res_query+set}" = set; then | ||
31851 | break | 16795 | break |
31852 | fi | 16796 | fi |
31853 | done | 16797 | done |
31854 | if test "${ac_cv_search_res_query+set}" = set; then | 16798 | if ${ac_cv_search_res_query+:} false; then : |
31855 | : | 16799 | |
31856 | else | 16800 | else |
31857 | ac_cv_search_res_query=no | 16801 | ac_cv_search_res_query=no |
31858 | fi | 16802 | fi |
31859 | rm conftest.$ac_ext | 16803 | rm conftest.$ac_ext |
31860 | LIBS=$ac_func_search_save_LIBS | 16804 | LIBS=$ac_func_search_save_LIBS |
31861 | fi | 16805 | fi |
31862 | { echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5 | 16806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_query" >&5 |
31863 | echo "${ECHO_T}$ac_cv_search_res_query" >&6; } | 16807 | $as_echo "$ac_cv_search_res_query" >&6; } |
31864 | ac_res=$ac_cv_search_res_query | 16808 | ac_res=$ac_cv_search_res_query |
31865 | if test "$ac_res" != no; then | 16809 | if test "$ac_res" != no; then : |
31866 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 16810 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
31867 | 16811 | ||
31868 | fi | 16812 | fi |
31869 | 16813 | ||
31870 | { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 | 16814 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dn_expand" >&5 |
31871 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } | 16815 | $as_echo_n "checking for library containing dn_expand... " >&6; } |
31872 | if test "${ac_cv_search_dn_expand+set}" = set; then | 16816 | if ${ac_cv_search_dn_expand+:} false; then : |
31873 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 16817 | $as_echo_n "(cached) " >&6 |
31874 | else | 16818 | else |
31875 | ac_func_search_save_LIBS=$LIBS | 16819 | ac_func_search_save_LIBS=$LIBS |
31876 | cat >conftest.$ac_ext <<_ACEOF | 16820 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31877 | /* confdefs.h. */ | ||
31878 | _ACEOF | ||
31879 | cat confdefs.h >>conftest.$ac_ext | ||
31880 | cat >>conftest.$ac_ext <<_ACEOF | ||
31881 | /* end confdefs.h. */ | 16821 | /* end confdefs.h. */ |
31882 | 16822 | ||
31883 | /* Override any GCC internal prototype to avoid an error. | 16823 | /* Override any GCC internal prototype to avoid an error. |
@@ -31902,61 +16842,34 @@ for ac_lib in '' resolv; do | |||
31902 | ac_res=-l$ac_lib | 16842 | ac_res=-l$ac_lib |
31903 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 16843 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
31904 | fi | 16844 | fi |
31905 | rm -f conftest.$ac_objext conftest$ac_exeext | 16845 | if ac_fn_c_try_link "$LINENO"; then : |
31906 | if { (ac_try="$ac_link" | ||
31907 | case "(($ac_try" in | ||
31908 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31909 | *) ac_try_echo=$ac_try;; | ||
31910 | esac | ||
31911 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31912 | (eval "$ac_link") 2>conftest.er1 | ||
31913 | ac_status=$? | ||
31914 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31915 | rm -f conftest.er1 | ||
31916 | cat conftest.err >&5 | ||
31917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31918 | (exit $ac_status); } && { | ||
31919 | test -z "$ac_c_werror_flag" || | ||
31920 | test ! -s conftest.err | ||
31921 | } && test -s conftest$ac_exeext && | ||
31922 | $as_test_x conftest$ac_exeext; then | ||
31923 | ac_cv_search_dn_expand=$ac_res | 16846 | ac_cv_search_dn_expand=$ac_res |
31924 | else | ||
31925 | echo "$as_me: failed program was:" >&5 | ||
31926 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31927 | |||
31928 | |||
31929 | fi | 16847 | fi |
31930 | 16848 | rm -f core conftest.err conftest.$ac_objext \ | |
31931 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16849 | conftest$ac_exeext |
31932 | conftest$ac_exeext | 16850 | if ${ac_cv_search_dn_expand+:} false; then : |
31933 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
31934 | break | 16851 | break |
31935 | fi | 16852 | fi |
31936 | done | 16853 | done |
31937 | if test "${ac_cv_search_dn_expand+set}" = set; then | 16854 | if ${ac_cv_search_dn_expand+:} false; then : |
31938 | : | 16855 | |
31939 | else | 16856 | else |
31940 | ac_cv_search_dn_expand=no | 16857 | ac_cv_search_dn_expand=no |
31941 | fi | 16858 | fi |
31942 | rm conftest.$ac_ext | 16859 | rm conftest.$ac_ext |
31943 | LIBS=$ac_func_search_save_LIBS | 16860 | LIBS=$ac_func_search_save_LIBS |
31944 | fi | 16861 | fi |
31945 | { echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 | 16862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dn_expand" >&5 |
31946 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } | 16863 | $as_echo "$ac_cv_search_dn_expand" >&6; } |
31947 | ac_res=$ac_cv_search_dn_expand | 16864 | ac_res=$ac_cv_search_dn_expand |
31948 | if test "$ac_res" != no; then | 16865 | if test "$ac_res" != no; then : |
31949 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 16866 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
31950 | 16867 | ||
31951 | fi | 16868 | fi |
31952 | 16869 | ||
31953 | { echo "$as_me:$LINENO: checking if res_query will link" >&5 | 16870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if res_query will link" >&5 |
31954 | echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6; } | 16871 | $as_echo_n "checking if res_query will link... " >&6; } |
31955 | cat >conftest.$ac_ext <<_ACEOF | 16872 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
31956 | /* confdefs.h. */ | ||
31957 | _ACEOF | ||
31958 | cat confdefs.h >>conftest.$ac_ext | ||
31959 | cat >>conftest.$ac_ext <<_ACEOF | ||
31960 | /* end confdefs.h. */ | 16873 | /* end confdefs.h. */ |
31961 | 16874 | ||
31962 | #include <sys/types.h> | 16875 | #include <sys/types.h> |
@@ -31975,41 +16888,17 @@ main () | |||
31975 | return 0; | 16888 | return 0; |
31976 | } | 16889 | } |
31977 | _ACEOF | 16890 | _ACEOF |
31978 | rm -f conftest.$ac_objext conftest$ac_exeext | 16891 | if ac_fn_c_try_link "$LINENO"; then : |
31979 | if { (ac_try="$ac_link" | 16892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
31980 | case "(($ac_try" in | 16893 | $as_echo "yes" >&6; } |
31981 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31982 | *) ac_try_echo=$ac_try;; | ||
31983 | esac | ||
31984 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31985 | (eval "$ac_link") 2>conftest.er1 | ||
31986 | ac_status=$? | ||
31987 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31988 | rm -f conftest.er1 | ||
31989 | cat conftest.err >&5 | ||
31990 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31991 | (exit $ac_status); } && { | ||
31992 | test -z "$ac_c_werror_flag" || | ||
31993 | test ! -s conftest.err | ||
31994 | } && test -s conftest$ac_exeext && | ||
31995 | $as_test_x conftest$ac_exeext; then | ||
31996 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31997 | echo "${ECHO_T}yes" >&6; } | ||
31998 | else | 16894 | else |
31999 | echo "$as_me: failed program was:" >&5 | 16895 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
32000 | sed 's/^/| /' conftest.$ac_ext >&5 | 16896 | $as_echo "no" >&6; } |
32001 | |||
32002 | { echo "$as_me:$LINENO: result: no" >&5 | ||
32003 | echo "${ECHO_T}no" >&6; } | ||
32004 | saved_LIBS="$LIBS" | 16897 | saved_LIBS="$LIBS" |
32005 | LIBS="$LIBS -lresolv" | 16898 | LIBS="$LIBS -lresolv" |
32006 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 | 16899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 |
32007 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } | 16900 | $as_echo_n "checking for res_query in -lresolv... " >&6; } |
32008 | cat >conftest.$ac_ext <<_ACEOF | 16901 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
32009 | /* confdefs.h. */ | ||
32010 | _ACEOF | ||
32011 | cat confdefs.h >>conftest.$ac_ext | ||
32012 | cat >>conftest.$ac_ext <<_ACEOF | ||
32013 | /* end confdefs.h. */ | 16902 | /* end confdefs.h. */ |
32014 | 16903 | ||
32015 | #include <sys/types.h> | 16904 | #include <sys/types.h> |
@@ -32028,375 +16917,62 @@ main () | |||
32028 | return 0; | 16917 | return 0; |
32029 | } | 16918 | } |
32030 | _ACEOF | 16919 | _ACEOF |
32031 | rm -f conftest.$ac_objext conftest$ac_exeext | 16920 | if ac_fn_c_try_link "$LINENO"; then : |
32032 | if { (ac_try="$ac_link" | 16921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
32033 | case "(($ac_try" in | 16922 | $as_echo "yes" >&6; } |
32034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32035 | *) ac_try_echo=$ac_try;; | ||
32036 | esac | ||
32037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32038 | (eval "$ac_link") 2>conftest.er1 | ||
32039 | ac_status=$? | ||
32040 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32041 | rm -f conftest.er1 | ||
32042 | cat conftest.err >&5 | ||
32043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32044 | (exit $ac_status); } && { | ||
32045 | test -z "$ac_c_werror_flag" || | ||
32046 | test ! -s conftest.err | ||
32047 | } && test -s conftest$ac_exeext && | ||
32048 | $as_test_x conftest$ac_exeext; then | ||
32049 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
32050 | echo "${ECHO_T}yes" >&6; } | ||
32051 | else | 16923 | else |
32052 | echo "$as_me: failed program was:" >&5 | 16924 | LIBS="$saved_LIBS" |
32053 | sed 's/^/| /' conftest.$ac_ext >&5 | 16925 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
32054 | 16926 | $as_echo "no" >&6; } | |
32055 | LIBS="$saved_LIBS" | ||
32056 | { echo "$as_me:$LINENO: result: no" >&5 | ||
32057 | echo "${ECHO_T}no" >&6; } | ||
32058 | fi | 16927 | fi |
32059 | 16928 | rm -f core conftest.err conftest.$ac_objext \ | |
32060 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16929 | conftest$ac_exeext conftest.$ac_ext |
32061 | conftest$ac_exeext conftest.$ac_ext | ||
32062 | 16930 | ||
32063 | fi | 16931 | fi |
32064 | 16932 | rm -f core conftest.err conftest.$ac_objext \ | |
32065 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 16933 | conftest$ac_exeext conftest.$ac_ext |
32066 | conftest$ac_exeext conftest.$ac_ext | 16934 | for ac_func in _getshort _getlong |
32067 | 16935 | do : | |
32068 | 16936 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
32069 | for ac_func in _getshort _getlong | 16937 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
32070 | do | 16938 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
32071 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
32072 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
32073 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
32074 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32075 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32076 | else | ||
32077 | cat >conftest.$ac_ext <<_ACEOF | ||
32078 | /* confdefs.h. */ | ||
32079 | _ACEOF | ||
32080 | cat confdefs.h >>conftest.$ac_ext | ||
32081 | cat >>conftest.$ac_ext <<_ACEOF | ||
32082 | /* end confdefs.h. */ | ||
32083 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
32084 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
32085 | #define $ac_func innocuous_$ac_func | ||
32086 | |||
32087 | /* System header to define __stub macros and hopefully few prototypes, | ||
32088 | which can conflict with char $ac_func (); below. | ||
32089 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
32090 | <limits.h> exists even on freestanding compilers. */ | ||
32091 | |||
32092 | #ifdef __STDC__ | ||
32093 | # include <limits.h> | ||
32094 | #else | ||
32095 | # include <assert.h> | ||
32096 | #endif | ||
32097 | |||
32098 | #undef $ac_func | ||
32099 | |||
32100 | /* Override any GCC internal prototype to avoid an error. | ||
32101 | Use char because int might match the return type of a GCC | ||
32102 | builtin and then its argument prototype would still apply. */ | ||
32103 | #ifdef __cplusplus | ||
32104 | extern "C" | ||
32105 | #endif | ||
32106 | char $ac_func (); | ||
32107 | /* The GNU C library defines this for functions which it implements | ||
32108 | to always fail with ENOSYS. Some functions are actually named | ||
32109 | something starting with __ and the normal name is an alias. */ | ||
32110 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
32111 | choke me | ||
32112 | #endif | ||
32113 | |||
32114 | int | ||
32115 | main () | ||
32116 | { | ||
32117 | return $ac_func (); | ||
32118 | ; | ||
32119 | return 0; | ||
32120 | } | ||
32121 | _ACEOF | ||
32122 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
32123 | if { (ac_try="$ac_link" | ||
32124 | case "(($ac_try" in | ||
32125 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32126 | *) ac_try_echo=$ac_try;; | ||
32127 | esac | ||
32128 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32129 | (eval "$ac_link") 2>conftest.er1 | ||
32130 | ac_status=$? | ||
32131 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32132 | rm -f conftest.er1 | ||
32133 | cat conftest.err >&5 | ||
32134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32135 | (exit $ac_status); } && { | ||
32136 | test -z "$ac_c_werror_flag" || | ||
32137 | test ! -s conftest.err | ||
32138 | } && test -s conftest$ac_exeext && | ||
32139 | $as_test_x conftest$ac_exeext; then | ||
32140 | eval "$as_ac_var=yes" | ||
32141 | else | ||
32142 | echo "$as_me: failed program was:" >&5 | ||
32143 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32144 | |||
32145 | eval "$as_ac_var=no" | ||
32146 | fi | ||
32147 | |||
32148 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
32149 | conftest$ac_exeext conftest.$ac_ext | ||
32150 | fi | ||
32151 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
32152 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
32153 | echo "${ECHO_T}$ac_res" >&6; } | ||
32154 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
32155 | cat >>confdefs.h <<_ACEOF | 16939 | cat >>confdefs.h <<_ACEOF |
32156 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16940 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
32157 | _ACEOF | 16941 | _ACEOF |
32158 | 16942 | ||
32159 | fi | 16943 | fi |
32160 | done | 16944 | done |
32161 | 16945 | ||
32162 | { echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 | 16946 | ac_fn_c_check_decl "$LINENO" "_getshort" "ac_cv_have_decl__getshort" "#include <sys/types.h> |
32163 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6; } | ||
32164 | if test "${ac_cv_have_decl__getshort+set}" = set; then | ||
32165 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32166 | else | ||
32167 | cat >conftest.$ac_ext <<_ACEOF | ||
32168 | /* confdefs.h. */ | ||
32169 | _ACEOF | ||
32170 | cat confdefs.h >>conftest.$ac_ext | ||
32171 | cat >>conftest.$ac_ext <<_ACEOF | ||
32172 | /* end confdefs.h. */ | ||
32173 | #include <sys/types.h> | ||
32174 | #include <arpa/nameser.h> | 16947 | #include <arpa/nameser.h> |
32175 | 16948 | " | |
32176 | int | 16949 | if test "x$ac_cv_have_decl__getshort" = xyes; then : |
32177 | main () | 16950 | ac_have_decl=1 |
32178 | { | ||
32179 | #ifndef _getshort | ||
32180 | (void) _getshort; | ||
32181 | #endif | ||
32182 | |||
32183 | ; | ||
32184 | return 0; | ||
32185 | } | ||
32186 | _ACEOF | ||
32187 | rm -f conftest.$ac_objext | ||
32188 | if { (ac_try="$ac_compile" | ||
32189 | case "(($ac_try" in | ||
32190 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32191 | *) ac_try_echo=$ac_try;; | ||
32192 | esac | ||
32193 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32194 | (eval "$ac_compile") 2>conftest.er1 | ||
32195 | ac_status=$? | ||
32196 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32197 | rm -f conftest.er1 | ||
32198 | cat conftest.err >&5 | ||
32199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32200 | (exit $ac_status); } && { | ||
32201 | test -z "$ac_c_werror_flag" || | ||
32202 | test ! -s conftest.err | ||
32203 | } && test -s conftest.$ac_objext; then | ||
32204 | ac_cv_have_decl__getshort=yes | ||
32205 | else | 16951 | else |
32206 | echo "$as_me: failed program was:" >&5 | 16952 | ac_have_decl=0 |
32207 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32208 | |||
32209 | ac_cv_have_decl__getshort=no | ||
32210 | fi | ||
32211 | |||
32212 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32213 | fi | 16953 | fi |
32214 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 | ||
32215 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6; } | ||
32216 | if test $ac_cv_have_decl__getshort = yes; then | ||
32217 | 16954 | ||
32218 | cat >>confdefs.h <<_ACEOF | 16955 | cat >>confdefs.h <<_ACEOF |
32219 | #define HAVE_DECL__GETSHORT 1 | 16956 | #define HAVE_DECL__GETSHORT $ac_have_decl |
32220 | _ACEOF | ||
32221 | |||
32222 | |||
32223 | else | ||
32224 | cat >>confdefs.h <<_ACEOF | ||
32225 | #define HAVE_DECL__GETSHORT 0 | ||
32226 | _ACEOF | ||
32227 | |||
32228 | |||
32229 | fi | ||
32230 | { echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 | ||
32231 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6; } | ||
32232 | if test "${ac_cv_have_decl__getlong+set}" = set; then | ||
32233 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32234 | else | ||
32235 | cat >conftest.$ac_ext <<_ACEOF | ||
32236 | /* confdefs.h. */ | ||
32237 | _ACEOF | 16957 | _ACEOF |
32238 | cat confdefs.h >>conftest.$ac_ext | 16958 | ac_fn_c_check_decl "$LINENO" "_getlong" "ac_cv_have_decl__getlong" "#include <sys/types.h> |
32239 | cat >>conftest.$ac_ext <<_ACEOF | ||
32240 | /* end confdefs.h. */ | ||
32241 | #include <sys/types.h> | ||
32242 | #include <arpa/nameser.h> | 16959 | #include <arpa/nameser.h> |
32243 | 16960 | " | |
32244 | int | 16961 | if test "x$ac_cv_have_decl__getlong" = xyes; then : |
32245 | main () | 16962 | ac_have_decl=1 |
32246 | { | ||
32247 | #ifndef _getlong | ||
32248 | (void) _getlong; | ||
32249 | #endif | ||
32250 | |||
32251 | ; | ||
32252 | return 0; | ||
32253 | } | ||
32254 | _ACEOF | ||
32255 | rm -f conftest.$ac_objext | ||
32256 | if { (ac_try="$ac_compile" | ||
32257 | case "(($ac_try" in | ||
32258 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32259 | *) ac_try_echo=$ac_try;; | ||
32260 | esac | ||
32261 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32262 | (eval "$ac_compile") 2>conftest.er1 | ||
32263 | ac_status=$? | ||
32264 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32265 | rm -f conftest.er1 | ||
32266 | cat conftest.err >&5 | ||
32267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32268 | (exit $ac_status); } && { | ||
32269 | test -z "$ac_c_werror_flag" || | ||
32270 | test ! -s conftest.err | ||
32271 | } && test -s conftest.$ac_objext; then | ||
32272 | ac_cv_have_decl__getlong=yes | ||
32273 | else | 16963 | else |
32274 | echo "$as_me: failed program was:" >&5 | 16964 | ac_have_decl=0 |
32275 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32276 | |||
32277 | ac_cv_have_decl__getlong=no | ||
32278 | fi | ||
32279 | |||
32280 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32281 | fi | 16965 | fi |
32282 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 | ||
32283 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6; } | ||
32284 | if test $ac_cv_have_decl__getlong = yes; then | ||
32285 | 16966 | ||
32286 | cat >>confdefs.h <<_ACEOF | 16967 | cat >>confdefs.h <<_ACEOF |
32287 | #define HAVE_DECL__GETLONG 1 | 16968 | #define HAVE_DECL__GETLONG $ac_have_decl |
32288 | _ACEOF | ||
32289 | |||
32290 | |||
32291 | else | ||
32292 | cat >>confdefs.h <<_ACEOF | ||
32293 | #define HAVE_DECL__GETLONG 0 | ||
32294 | _ACEOF | ||
32295 | |||
32296 | |||
32297 | fi | ||
32298 | |||
32299 | |||
32300 | { echo "$as_me:$LINENO: checking for HEADER.ad" >&5 | ||
32301 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6; } | ||
32302 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | ||
32303 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32304 | else | ||
32305 | cat >conftest.$ac_ext <<_ACEOF | ||
32306 | /* confdefs.h. */ | ||
32307 | _ACEOF | ||
32308 | cat confdefs.h >>conftest.$ac_ext | ||
32309 | cat >>conftest.$ac_ext <<_ACEOF | ||
32310 | /* end confdefs.h. */ | ||
32311 | #include <arpa/nameser.h> | ||
32312 | |||
32313 | int | ||
32314 | main () | ||
32315 | { | ||
32316 | static HEADER ac_aggr; | ||
32317 | if (ac_aggr.ad) | ||
32318 | return 0; | ||
32319 | ; | ||
32320 | return 0; | ||
32321 | } | ||
32322 | _ACEOF | ||
32323 | rm -f conftest.$ac_objext | ||
32324 | if { (ac_try="$ac_compile" | ||
32325 | case "(($ac_try" in | ||
32326 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32327 | *) ac_try_echo=$ac_try;; | ||
32328 | esac | ||
32329 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32330 | (eval "$ac_compile") 2>conftest.er1 | ||
32331 | ac_status=$? | ||
32332 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32333 | rm -f conftest.er1 | ||
32334 | cat conftest.err >&5 | ||
32335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32336 | (exit $ac_status); } && { | ||
32337 | test -z "$ac_c_werror_flag" || | ||
32338 | test ! -s conftest.err | ||
32339 | } && test -s conftest.$ac_objext; then | ||
32340 | ac_cv_member_HEADER_ad=yes | ||
32341 | else | ||
32342 | echo "$as_me: failed program was:" >&5 | ||
32343 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32344 | |||
32345 | cat >conftest.$ac_ext <<_ACEOF | ||
32346 | /* confdefs.h. */ | ||
32347 | _ACEOF | ||
32348 | cat confdefs.h >>conftest.$ac_ext | ||
32349 | cat >>conftest.$ac_ext <<_ACEOF | ||
32350 | /* end confdefs.h. */ | ||
32351 | #include <arpa/nameser.h> | ||
32352 | |||
32353 | int | ||
32354 | main () | ||
32355 | { | ||
32356 | static HEADER ac_aggr; | ||
32357 | if (sizeof ac_aggr.ad) | ||
32358 | return 0; | ||
32359 | ; | ||
32360 | return 0; | ||
32361 | } | ||
32362 | _ACEOF | 16969 | _ACEOF |
32363 | rm -f conftest.$ac_objext | ||
32364 | if { (ac_try="$ac_compile" | ||
32365 | case "(($ac_try" in | ||
32366 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32367 | *) ac_try_echo=$ac_try;; | ||
32368 | esac | ||
32369 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32370 | (eval "$ac_compile") 2>conftest.er1 | ||
32371 | ac_status=$? | ||
32372 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32373 | rm -f conftest.er1 | ||
32374 | cat conftest.err >&5 | ||
32375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32376 | (exit $ac_status); } && { | ||
32377 | test -z "$ac_c_werror_flag" || | ||
32378 | test ! -s conftest.err | ||
32379 | } && test -s conftest.$ac_objext; then | ||
32380 | ac_cv_member_HEADER_ad=yes | ||
32381 | else | ||
32382 | echo "$as_me: failed program was:" >&5 | ||
32383 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32384 | 16970 | ||
32385 | ac_cv_member_HEADER_ad=no | 16971 | ac_fn_c_check_member "$LINENO" "HEADER" "ad" "ac_cv_member_HEADER_ad" "#include <arpa/nameser.h> |
32386 | fi | 16972 | " |
32387 | 16973 | if test "x$ac_cv_member_HEADER_ad" = xyes; then : | |
32388 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32389 | fi | ||
32390 | |||
32391 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32392 | fi | ||
32393 | { echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 | ||
32394 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6; } | ||
32395 | if test $ac_cv_member_HEADER_ad = yes; then | ||
32396 | 16974 | ||
32397 | cat >>confdefs.h <<\_ACEOF | 16975 | $as_echo "#define HAVE_HEADER_AD 1" >>confdefs.h |
32398 | #define HAVE_HEADER_AD 1 | ||
32399 | _ACEOF | ||
32400 | 16976 | ||
32401 | fi | 16977 | fi |
32402 | 16978 | ||
@@ -32404,13 +16980,9 @@ fi | |||
32404 | fi | 16980 | fi |
32405 | 16981 | ||
32406 | 16982 | ||
32407 | { echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5 | 16983 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct __res_state _res is an extern" >&5 |
32408 | echo $ECHO_N "checking if struct __res_state _res is an extern... $ECHO_C" >&6; } | 16984 | $as_echo_n "checking if struct __res_state _res is an extern... " >&6; } |
32409 | cat >conftest.$ac_ext <<_ACEOF | 16985 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
32410 | /* confdefs.h. */ | ||
32411 | _ACEOF | ||
32412 | cat confdefs.h >>conftest.$ac_ext | ||
32413 | cat >>conftest.$ac_ext <<_ACEOF | ||
32414 | /* end confdefs.h. */ | 16986 | /* end confdefs.h. */ |
32415 | 16987 | ||
32416 | #include <stdio.h> | 16988 | #include <stdio.h> |
@@ -32433,209 +17005,49 @@ return 0; | |||
32433 | return 0; | 17005 | return 0; |
32434 | } | 17006 | } |
32435 | _ACEOF | 17007 | _ACEOF |
32436 | rm -f conftest.$ac_objext conftest$ac_exeext | 17008 | if ac_fn_c_try_link "$LINENO"; then : |
32437 | if { (ac_try="$ac_link" | 17009 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
32438 | case "(($ac_try" in | 17010 | $as_echo "yes" >&6; } |
32439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32440 | *) ac_try_echo=$ac_try;; | ||
32441 | esac | ||
32442 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32443 | (eval "$ac_link") 2>conftest.er1 | ||
32444 | ac_status=$? | ||
32445 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32446 | rm -f conftest.er1 | ||
32447 | cat conftest.err >&5 | ||
32448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32449 | (exit $ac_status); } && { | ||
32450 | test -z "$ac_c_werror_flag" || | ||
32451 | test ! -s conftest.err | ||
32452 | } && test -s conftest$ac_exeext && | ||
32453 | $as_test_x conftest$ac_exeext; then | ||
32454 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
32455 | echo "${ECHO_T}yes" >&6; } | ||
32456 | 17011 | ||
32457 | cat >>confdefs.h <<\_ACEOF | 17012 | $as_echo "#define HAVE__RES_EXTERN 1" >>confdefs.h |
32458 | #define HAVE__RES_EXTERN 1 | ||
32459 | _ACEOF | ||
32460 | 17013 | ||
32461 | 17014 | ||
32462 | else | 17015 | else |
32463 | echo "$as_me: failed program was:" >&5 | 17016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
32464 | sed 's/^/| /' conftest.$ac_ext >&5 | 17017 | $as_echo "no" >&6; } |
32465 | |||
32466 | { echo "$as_me:$LINENO: result: no" >&5 | ||
32467 | echo "${ECHO_T}no" >&6; } | ||
32468 | 17018 | ||
32469 | fi | 17019 | fi |
32470 | 17020 | rm -f core conftest.err conftest.$ac_objext \ | |
32471 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17021 | conftest$ac_exeext conftest.$ac_ext |
32472 | conftest$ac_exeext conftest.$ac_ext | ||
32473 | 17022 | ||
32474 | # Check whether user wants SELinux support | 17023 | # Check whether user wants SELinux support |
32475 | SELINUX_MSG="no" | 17024 | SELINUX_MSG="no" |
32476 | LIBSELINUX="" | 17025 | LIBSELINUX="" |
32477 | 17026 | ||
32478 | # Check whether --with-selinux was given. | 17027 | # Check whether --with-selinux was given. |
32479 | if test "${with_selinux+set}" = set; then | 17028 | if test "${with_selinux+set}" = set; then : |
32480 | withval=$with_selinux; if test "x$withval" != "xno" ; then | 17029 | withval=$with_selinux; if test "x$withval" != "xno" ; then |
32481 | save_LIBS="$LIBS" | 17030 | save_LIBS="$LIBS" |
32482 | 17031 | ||
32483 | cat >>confdefs.h <<\_ACEOF | 17032 | $as_echo "#define WITH_SELINUX 1" >>confdefs.h |
32484 | #define WITH_SELINUX 1 | ||
32485 | _ACEOF | ||
32486 | 17033 | ||
32487 | SELINUX_MSG="yes" | 17034 | SELINUX_MSG="yes" |
32488 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | 17035 | ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" |
32489 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 | 17036 | if test "x$ac_cv_header_selinux_selinux_h" = xyes; then : |
32490 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | ||
32491 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
32492 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32493 | fi | ||
32494 | { echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 | ||
32495 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | ||
32496 | else | ||
32497 | # Is the header compilable? | ||
32498 | { echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 | ||
32499 | echo $ECHO_N "checking selinux/selinux.h usability... $ECHO_C" >&6; } | ||
32500 | cat >conftest.$ac_ext <<_ACEOF | ||
32501 | /* confdefs.h. */ | ||
32502 | _ACEOF | ||
32503 | cat confdefs.h >>conftest.$ac_ext | ||
32504 | cat >>conftest.$ac_ext <<_ACEOF | ||
32505 | /* end confdefs.h. */ | ||
32506 | $ac_includes_default | ||
32507 | #include <selinux/selinux.h> | ||
32508 | _ACEOF | ||
32509 | rm -f conftest.$ac_objext | ||
32510 | if { (ac_try="$ac_compile" | ||
32511 | case "(($ac_try" in | ||
32512 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32513 | *) ac_try_echo=$ac_try;; | ||
32514 | esac | ||
32515 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32516 | (eval "$ac_compile") 2>conftest.er1 | ||
32517 | ac_status=$? | ||
32518 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32519 | rm -f conftest.er1 | ||
32520 | cat conftest.err >&5 | ||
32521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32522 | (exit $ac_status); } && { | ||
32523 | test -z "$ac_c_werror_flag" || | ||
32524 | test ! -s conftest.err | ||
32525 | } && test -s conftest.$ac_objext; then | ||
32526 | ac_header_compiler=yes | ||
32527 | else | ||
32528 | echo "$as_me: failed program was:" >&5 | ||
32529 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32530 | |||
32531 | ac_header_compiler=no | ||
32532 | fi | ||
32533 | |||
32534 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32535 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
32536 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
32537 | |||
32538 | # Is the header present? | ||
32539 | { echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 | ||
32540 | echo $ECHO_N "checking selinux/selinux.h presence... $ECHO_C" >&6; } | ||
32541 | cat >conftest.$ac_ext <<_ACEOF | ||
32542 | /* confdefs.h. */ | ||
32543 | _ACEOF | ||
32544 | cat confdefs.h >>conftest.$ac_ext | ||
32545 | cat >>conftest.$ac_ext <<_ACEOF | ||
32546 | /* end confdefs.h. */ | ||
32547 | #include <selinux/selinux.h> | ||
32548 | _ACEOF | ||
32549 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
32550 | case "(($ac_try" in | ||
32551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32552 | *) ac_try_echo=$ac_try;; | ||
32553 | esac | ||
32554 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32555 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
32556 | ac_status=$? | ||
32557 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32558 | rm -f conftest.er1 | ||
32559 | cat conftest.err >&5 | ||
32560 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32561 | (exit $ac_status); } >/dev/null && { | ||
32562 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
32563 | test ! -s conftest.err | ||
32564 | }; then | ||
32565 | ac_header_preproc=yes | ||
32566 | else | ||
32567 | echo "$as_me: failed program was:" >&5 | ||
32568 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32569 | |||
32570 | ac_header_preproc=no | ||
32571 | fi | ||
32572 | |||
32573 | rm -f conftest.err conftest.$ac_ext | ||
32574 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
32575 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
32576 | |||
32577 | # So? What about this header? | ||
32578 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
32579 | yes:no: ) | ||
32580 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
32581 | echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
32582 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 | ||
32583 | echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} | ||
32584 | ac_header_preproc=yes | ||
32585 | ;; | ||
32586 | no:yes:* ) | ||
32587 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 | ||
32588 | echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} | ||
32589 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 | ||
32590 | echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} | ||
32591 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 | ||
32592 | echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} | ||
32593 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
32594 | echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
32595 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 | ||
32596 | echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} | ||
32597 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 | ||
32598 | echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} | ||
32599 | ( cat <<\_ASBOX | ||
32600 | ## ------------------------------------------- ## | ||
32601 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
32602 | ## ------------------------------------------- ## | ||
32603 | _ASBOX | ||
32604 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
32605 | ;; | ||
32606 | esac | ||
32607 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 | ||
32608 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | ||
32609 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
32610 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32611 | else | ||
32612 | ac_cv_header_selinux_selinux_h=$ac_header_preproc | ||
32613 | fi | ||
32614 | { echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 | ||
32615 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | ||
32616 | 17037 | ||
32617 | fi | ||
32618 | if test $ac_cv_header_selinux_selinux_h = yes; then | ||
32619 | : | ||
32620 | else | 17038 | else |
32621 | { { echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5 | 17039 | as_fn_error $? "SELinux support requires selinux.h header" "$LINENO" 5 |
32622 | echo "$as_me: error: SELinux support requires selinux.h header" >&2;} | ||
32623 | { (exit 1); exit 1; }; } | ||
32624 | fi | 17040 | fi |
32625 | 17041 | ||
32626 | 17042 | ||
32627 | { echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5 | 17043 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setexeccon in -lselinux" >&5 |
32628 | echo $ECHO_N "checking for setexeccon in -lselinux... $ECHO_C" >&6; } | 17044 | $as_echo_n "checking for setexeccon in -lselinux... " >&6; } |
32629 | if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then | 17045 | if ${ac_cv_lib_selinux_setexeccon+:} false; then : |
32630 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17046 | $as_echo_n "(cached) " >&6 |
32631 | else | 17047 | else |
32632 | ac_check_lib_save_LIBS=$LIBS | 17048 | ac_check_lib_save_LIBS=$LIBS |
32633 | LIBS="-lselinux $LIBS" | 17049 | LIBS="-lselinux $LIBS" |
32634 | cat >conftest.$ac_ext <<_ACEOF | 17050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
32635 | /* confdefs.h. */ | ||
32636 | _ACEOF | ||
32637 | cat confdefs.h >>conftest.$ac_ext | ||
32638 | cat >>conftest.$ac_ext <<_ACEOF | ||
32639 | /* end confdefs.h. */ | 17051 | /* end confdefs.h. */ |
32640 | 17052 | ||
32641 | /* Override any GCC internal prototype to avoid an error. | 17053 | /* Override any GCC internal prototype to avoid an error. |
@@ -32653,140 +17065,34 @@ return setexeccon (); | |||
32653 | return 0; | 17065 | return 0; |
32654 | } | 17066 | } |
32655 | _ACEOF | 17067 | _ACEOF |
32656 | rm -f conftest.$ac_objext conftest$ac_exeext | 17068 | if ac_fn_c_try_link "$LINENO"; then : |
32657 | if { (ac_try="$ac_link" | ||
32658 | case "(($ac_try" in | ||
32659 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32660 | *) ac_try_echo=$ac_try;; | ||
32661 | esac | ||
32662 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32663 | (eval "$ac_link") 2>conftest.er1 | ||
32664 | ac_status=$? | ||
32665 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32666 | rm -f conftest.er1 | ||
32667 | cat conftest.err >&5 | ||
32668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32669 | (exit $ac_status); } && { | ||
32670 | test -z "$ac_c_werror_flag" || | ||
32671 | test ! -s conftest.err | ||
32672 | } && test -s conftest$ac_exeext && | ||
32673 | $as_test_x conftest$ac_exeext; then | ||
32674 | ac_cv_lib_selinux_setexeccon=yes | 17069 | ac_cv_lib_selinux_setexeccon=yes |
32675 | else | 17070 | else |
32676 | echo "$as_me: failed program was:" >&5 | 17071 | ac_cv_lib_selinux_setexeccon=no |
32677 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32678 | |||
32679 | ac_cv_lib_selinux_setexeccon=no | ||
32680 | fi | 17072 | fi |
32681 | 17073 | rm -f core conftest.err conftest.$ac_objext \ | |
32682 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17074 | conftest$ac_exeext conftest.$ac_ext |
32683 | conftest$ac_exeext conftest.$ac_ext | ||
32684 | LIBS=$ac_check_lib_save_LIBS | 17075 | LIBS=$ac_check_lib_save_LIBS |
32685 | fi | 17076 | fi |
32686 | { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5 | 17077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setexeccon" >&5 |
32687 | echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } | 17078 | $as_echo "$ac_cv_lib_selinux_setexeccon" >&6; } |
32688 | if test $ac_cv_lib_selinux_setexeccon = yes; then | 17079 | if test "x$ac_cv_lib_selinux_setexeccon" = xyes; then : |
32689 | LIBSELINUX="-lselinux" | 17080 | LIBSELINUX="-lselinux" |
32690 | LIBS="$LIBS -lselinux" | 17081 | LIBS="$LIBS -lselinux" |
32691 | 17082 | ||
32692 | else | 17083 | else |
32693 | { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 | 17084 | as_fn_error $? "SELinux support requires libselinux library" "$LINENO" 5 |
32694 | echo "$as_me: error: SELinux support requires libselinux library" >&2;} | ||
32695 | { (exit 1); exit 1; }; } | ||
32696 | fi | 17085 | fi |
32697 | 17086 | ||
32698 | SSHLIBS="$SSHLIBS $LIBSELINUX" | 17087 | SSHLIBS="$SSHLIBS $LIBSELINUX" |
32699 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" | 17088 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
32700 | 17089 | for ac_func in getseuserbyname get_default_context_with_level | |
32701 | 17090 | do : | |
32702 | for ac_func in getseuserbyname get_default_context_with_level | 17091 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
32703 | do | 17092 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
32704 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17093 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
32705 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
32706 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
32707 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32708 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32709 | else | ||
32710 | cat >conftest.$ac_ext <<_ACEOF | ||
32711 | /* confdefs.h. */ | ||
32712 | _ACEOF | ||
32713 | cat confdefs.h >>conftest.$ac_ext | ||
32714 | cat >>conftest.$ac_ext <<_ACEOF | ||
32715 | /* end confdefs.h. */ | ||
32716 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
32717 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
32718 | #define $ac_func innocuous_$ac_func | ||
32719 | |||
32720 | /* System header to define __stub macros and hopefully few prototypes, | ||
32721 | which can conflict with char $ac_func (); below. | ||
32722 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
32723 | <limits.h> exists even on freestanding compilers. */ | ||
32724 | |||
32725 | #ifdef __STDC__ | ||
32726 | # include <limits.h> | ||
32727 | #else | ||
32728 | # include <assert.h> | ||
32729 | #endif | ||
32730 | |||
32731 | #undef $ac_func | ||
32732 | |||
32733 | /* Override any GCC internal prototype to avoid an error. | ||
32734 | Use char because int might match the return type of a GCC | ||
32735 | builtin and then its argument prototype would still apply. */ | ||
32736 | #ifdef __cplusplus | ||
32737 | extern "C" | ||
32738 | #endif | ||
32739 | char $ac_func (); | ||
32740 | /* The GNU C library defines this for functions which it implements | ||
32741 | to always fail with ENOSYS. Some functions are actually named | ||
32742 | something starting with __ and the normal name is an alias. */ | ||
32743 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
32744 | choke me | ||
32745 | #endif | ||
32746 | |||
32747 | int | ||
32748 | main () | ||
32749 | { | ||
32750 | return $ac_func (); | ||
32751 | ; | ||
32752 | return 0; | ||
32753 | } | ||
32754 | _ACEOF | ||
32755 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
32756 | if { (ac_try="$ac_link" | ||
32757 | case "(($ac_try" in | ||
32758 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32759 | *) ac_try_echo=$ac_try;; | ||
32760 | esac | ||
32761 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32762 | (eval "$ac_link") 2>conftest.er1 | ||
32763 | ac_status=$? | ||
32764 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32765 | rm -f conftest.er1 | ||
32766 | cat conftest.err >&5 | ||
32767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32768 | (exit $ac_status); } && { | ||
32769 | test -z "$ac_c_werror_flag" || | ||
32770 | test ! -s conftest.err | ||
32771 | } && test -s conftest$ac_exeext && | ||
32772 | $as_test_x conftest$ac_exeext; then | ||
32773 | eval "$as_ac_var=yes" | ||
32774 | else | ||
32775 | echo "$as_me: failed program was:" >&5 | ||
32776 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32777 | |||
32778 | eval "$as_ac_var=no" | ||
32779 | fi | ||
32780 | |||
32781 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
32782 | conftest$ac_exeext conftest.$ac_ext | ||
32783 | fi | ||
32784 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
32785 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
32786 | echo "${ECHO_T}$ac_res" >&6; } | ||
32787 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
32788 | cat >>confdefs.h <<_ACEOF | 17094 | cat >>confdefs.h <<_ACEOF |
32789 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17095 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
32790 | _ACEOF | 17096 | _ACEOF |
32791 | 17097 | ||
32792 | fi | 17098 | fi |
@@ -32804,7 +17110,7 @@ fi | |||
32804 | KRB5_MSG="no" | 17110 | KRB5_MSG="no" |
32805 | 17111 | ||
32806 | # Check whether --with-kerberos5 was given. | 17112 | # Check whether --with-kerberos5 was given. |
32807 | if test "${with_kerberos5+set}" = set; then | 17113 | if test "${with_kerberos5+set}" = set; then : |
32808 | withval=$with_kerberos5; if test "x$withval" != "xno" ; then | 17114 | withval=$with_kerberos5; if test "x$withval" != "xno" ; then |
32809 | if test "x$withval" = "xyes" ; then | 17115 | if test "x$withval" = "xyes" ; then |
32810 | KRB5ROOT="/usr/local" | 17116 | KRB5ROOT="/usr/local" |
@@ -32813,18 +17119,17 @@ if test "${with_kerberos5+set}" = set; then | |||
32813 | fi | 17119 | fi |
32814 | 17120 | ||
32815 | 17121 | ||
32816 | cat >>confdefs.h <<\_ACEOF | 17122 | $as_echo "#define KRB5 1" >>confdefs.h |
32817 | #define KRB5 1 | ||
32818 | _ACEOF | ||
32819 | 17123 | ||
32820 | KRB5_MSG="yes" | 17124 | KRB5_MSG="yes" |
32821 | 17125 | ||
32822 | # Extract the first word of "krb5-config", so it can be a program name with args. | 17126 | if test -n "$ac_tool_prefix"; then |
32823 | set dummy krb5-config; ac_word=$2 | 17127 | # Extract the first word of "${ac_tool_prefix}krb5-config", so it can be a program name with args. |
32824 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17128 | set dummy ${ac_tool_prefix}krb5-config; ac_word=$2 |
32825 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 17129 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
32826 | if test "${ac_cv_path_KRB5CONF+set}" = set; then | 17130 | $as_echo_n "checking for $ac_word... " >&6; } |
32827 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17131 | if ${ac_cv_path_KRB5CONF+:} false; then : |
17132 | $as_echo_n "(cached) " >&6 | ||
32828 | else | 17133 | else |
32829 | case $KRB5CONF in | 17134 | case $KRB5CONF in |
32830 | [\\/]* | ?:[\\/]*) | 17135 | [\\/]* | ?:[\\/]*) |
@@ -32837,59 +17142,110 @@ for as_dir in $as_dummy | |||
32837 | do | 17142 | do |
32838 | IFS=$as_save_IFS | 17143 | IFS=$as_save_IFS |
32839 | test -z "$as_dir" && as_dir=. | 17144 | test -z "$as_dir" && as_dir=. |
32840 | for ac_exec_ext in '' $ac_executable_extensions; do | 17145 | for ac_exec_ext in '' $ac_executable_extensions; do |
32841 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17146 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
32842 | ac_cv_path_KRB5CONF="$as_dir/$ac_word$ac_exec_ext" | 17147 | ac_cv_path_KRB5CONF="$as_dir/$ac_word$ac_exec_ext" |
32843 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17148 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
32844 | break 2 | 17149 | break 2 |
32845 | fi | 17150 | fi |
32846 | done | 17151 | done |
32847 | done | 17152 | done |
32848 | IFS=$as_save_IFS | 17153 | IFS=$as_save_IFS |
32849 | 17154 | ||
32850 | test -z "$ac_cv_path_KRB5CONF" && ac_cv_path_KRB5CONF="$KRB5ROOT/bin/krb5-config" | ||
32851 | ;; | 17155 | ;; |
32852 | esac | 17156 | esac |
32853 | fi | 17157 | fi |
32854 | KRB5CONF=$ac_cv_path_KRB5CONF | 17158 | KRB5CONF=$ac_cv_path_KRB5CONF |
32855 | if test -n "$KRB5CONF"; then | 17159 | if test -n "$KRB5CONF"; then |
32856 | { echo "$as_me:$LINENO: result: $KRB5CONF" >&5 | 17160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONF" >&5 |
32857 | echo "${ECHO_T}$KRB5CONF" >&6; } | 17161 | $as_echo "$KRB5CONF" >&6; } |
17162 | else | ||
17163 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
17164 | $as_echo "no" >&6; } | ||
17165 | fi | ||
17166 | |||
17167 | |||
17168 | fi | ||
17169 | if test -z "$ac_cv_path_KRB5CONF"; then | ||
17170 | ac_pt_KRB5CONF=$KRB5CONF | ||
17171 | # Extract the first word of "krb5-config", so it can be a program name with args. | ||
17172 | set dummy krb5-config; ac_word=$2 | ||
17173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | ||
17174 | $as_echo_n "checking for $ac_word... " >&6; } | ||
17175 | if ${ac_cv_path_ac_pt_KRB5CONF+:} false; then : | ||
17176 | $as_echo_n "(cached) " >&6 | ||
17177 | else | ||
17178 | case $ac_pt_KRB5CONF in | ||
17179 | [\\/]* | ?:[\\/]*) | ||
17180 | ac_cv_path_ac_pt_KRB5CONF="$ac_pt_KRB5CONF" # Let the user override the test with a path. | ||
17181 | ;; | ||
17182 | *) | ||
17183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
17184 | as_dummy="$KRB5ROOT/bin:$PATH" | ||
17185 | for as_dir in $as_dummy | ||
17186 | do | ||
17187 | IFS=$as_save_IFS | ||
17188 | test -z "$as_dir" && as_dir=. | ||
17189 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
17190 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | ||
17191 | ac_cv_path_ac_pt_KRB5CONF="$as_dir/$ac_word$ac_exec_ext" | ||
17192 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | ||
17193 | break 2 | ||
17194 | fi | ||
17195 | done | ||
17196 | done | ||
17197 | IFS=$as_save_IFS | ||
17198 | |||
17199 | ;; | ||
17200 | esac | ||
17201 | fi | ||
17202 | ac_pt_KRB5CONF=$ac_cv_path_ac_pt_KRB5CONF | ||
17203 | if test -n "$ac_pt_KRB5CONF"; then | ||
17204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_KRB5CONF" >&5 | ||
17205 | $as_echo "$ac_pt_KRB5CONF" >&6; } | ||
32858 | else | 17206 | else |
32859 | { echo "$as_me:$LINENO: result: no" >&5 | 17207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
32860 | echo "${ECHO_T}no" >&6; } | 17208 | $as_echo "no" >&6; } |
32861 | fi | 17209 | fi |
32862 | 17210 | ||
17211 | if test "x$ac_pt_KRB5CONF" = x; then | ||
17212 | KRB5CONF="$KRB5ROOT/bin/krb5-config" | ||
17213 | else | ||
17214 | case $cross_compiling:$ac_tool_warned in | ||
17215 | yes:) | ||
17216 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | ||
17217 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | ||
17218 | ac_tool_warned=yes ;; | ||
17219 | esac | ||
17220 | KRB5CONF=$ac_pt_KRB5CONF | ||
17221 | fi | ||
17222 | else | ||
17223 | KRB5CONF="$ac_cv_path_KRB5CONF" | ||
17224 | fi | ||
32863 | 17225 | ||
32864 | if test -x $KRB5CONF ; then | 17226 | if test -x $KRB5CONF ; then |
32865 | K5CFLAGS="`$KRB5CONF --cflags`" | 17227 | K5CFLAGS="`$KRB5CONF --cflags`" |
32866 | K5LIBS="`$KRB5CONF --libs`" | 17228 | K5LIBS="`$KRB5CONF --libs`" |
32867 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" | 17229 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" |
32868 | 17230 | ||
32869 | { echo "$as_me:$LINENO: checking for gssapi support" >&5 | 17231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gssapi support" >&5 |
32870 | echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6; } | 17232 | $as_echo_n "checking for gssapi support... " >&6; } |
32871 | if $KRB5CONF | grep gssapi >/dev/null ; then | 17233 | if $KRB5CONF | grep gssapi >/dev/null ; then |
32872 | { echo "$as_me:$LINENO: result: yes" >&5 | 17234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
32873 | echo "${ECHO_T}yes" >&6; } | 17235 | $as_echo "yes" >&6; } |
32874 | 17236 | ||
32875 | cat >>confdefs.h <<\_ACEOF | 17237 | $as_echo "#define GSSAPI 1" >>confdefs.h |
32876 | #define GSSAPI 1 | ||
32877 | _ACEOF | ||
32878 | 17238 | ||
32879 | GSSCFLAGS="`$KRB5CONF --cflags gssapi`" | 17239 | GSSCFLAGS="`$KRB5CONF --cflags gssapi`" |
32880 | GSSLIBS="`$KRB5CONF --libs gssapi`" | 17240 | GSSLIBS="`$KRB5CONF --libs gssapi`" |
32881 | CPPFLAGS="$CPPFLAGS $GSSCFLAGS" | 17241 | CPPFLAGS="$CPPFLAGS $GSSCFLAGS" |
32882 | else | 17242 | else |
32883 | { echo "$as_me:$LINENO: result: no" >&5 | 17243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
32884 | echo "${ECHO_T}no" >&6; } | 17244 | $as_echo "no" >&6; } |
32885 | fi | 17245 | fi |
32886 | { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | 17246 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Heimdal" >&5 |
32887 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } | 17247 | $as_echo_n "checking whether we are using Heimdal... " >&6; } |
32888 | cat >conftest.$ac_ext <<_ACEOF | 17248 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
32889 | /* confdefs.h. */ | ||
32890 | _ACEOF | ||
32891 | cat confdefs.h >>conftest.$ac_ext | ||
32892 | cat >>conftest.$ac_ext <<_ACEOF | ||
32893 | /* end confdefs.h. */ | 17249 | /* end confdefs.h. */ |
32894 | #include <krb5.h> | 17250 | #include <krb5.h> |
32895 | 17251 | ||
@@ -32901,50 +17257,24 @@ main () | |||
32901 | return 0; | 17257 | return 0; |
32902 | } | 17258 | } |
32903 | _ACEOF | 17259 | _ACEOF |
32904 | rm -f conftest.$ac_objext | 17260 | if ac_fn_c_try_compile "$LINENO"; then : |
32905 | if { (ac_try="$ac_compile" | 17261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
32906 | case "(($ac_try" in | 17262 | $as_echo "yes" >&6; } |
32907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32908 | *) ac_try_echo=$ac_try;; | ||
32909 | esac | ||
32910 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32911 | (eval "$ac_compile") 2>conftest.er1 | ||
32912 | ac_status=$? | ||
32913 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32914 | rm -f conftest.er1 | ||
32915 | cat conftest.err >&5 | ||
32916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32917 | (exit $ac_status); } && { | ||
32918 | test -z "$ac_c_werror_flag" || | ||
32919 | test ! -s conftest.err | ||
32920 | } && test -s conftest.$ac_objext; then | ||
32921 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
32922 | echo "${ECHO_T}yes" >&6; } | ||
32923 | 17263 | ||
32924 | cat >>confdefs.h <<\_ACEOF | 17264 | $as_echo "#define HEIMDAL 1" >>confdefs.h |
32925 | #define HEIMDAL 1 | ||
32926 | _ACEOF | ||
32927 | 17265 | ||
32928 | else | 17266 | else |
32929 | echo "$as_me: failed program was:" >&5 | 17267 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
32930 | sed 's/^/| /' conftest.$ac_ext >&5 | 17268 | $as_echo "no" >&6; } |
32931 | |||
32932 | { echo "$as_me:$LINENO: result: no" >&5 | ||
32933 | echo "${ECHO_T}no" >&6; } | ||
32934 | 17269 | ||
32935 | fi | 17270 | fi |
32936 | |||
32937 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17271 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
32938 | else | 17272 | else |
32939 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | 17273 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" |
32940 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | 17274 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" |
32941 | { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 | 17275 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Heimdal" >&5 |
32942 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } | 17276 | $as_echo_n "checking whether we are using Heimdal... " >&6; } |
32943 | cat >conftest.$ac_ext <<_ACEOF | 17277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
32944 | /* confdefs.h. */ | ||
32945 | _ACEOF | ||
32946 | cat confdefs.h >>conftest.$ac_ext | ||
32947 | cat >>conftest.$ac_ext <<_ACEOF | ||
32948 | /* end confdefs.h. */ | 17278 | /* end confdefs.h. */ |
32949 | #include <krb5.h> | 17279 | #include <krb5.h> |
32950 | 17280 | ||
@@ -32956,43 +17286,21 @@ main () | |||
32956 | return 0; | 17286 | return 0; |
32957 | } | 17287 | } |
32958 | _ACEOF | 17288 | _ACEOF |
32959 | rm -f conftest.$ac_objext | 17289 | if ac_fn_c_try_compile "$LINENO"; then : |
32960 | if { (ac_try="$ac_compile" | 17290 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
32961 | case "(($ac_try" in | 17291 | $as_echo "yes" >&6; } |
32962 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 17292 | $as_echo "#define HEIMDAL 1" >>confdefs.h |
32963 | *) ac_try_echo=$ac_try;; | ||
32964 | esac | ||
32965 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32966 | (eval "$ac_compile") 2>conftest.er1 | ||
32967 | ac_status=$? | ||
32968 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32969 | rm -f conftest.er1 | ||
32970 | cat conftest.err >&5 | ||
32971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32972 | (exit $ac_status); } && { | ||
32973 | test -z "$ac_c_werror_flag" || | ||
32974 | test ! -s conftest.err | ||
32975 | } && test -s conftest.$ac_objext; then | ||
32976 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
32977 | echo "${ECHO_T}yes" >&6; } | ||
32978 | cat >>confdefs.h <<\_ACEOF | ||
32979 | #define HEIMDAL 1 | ||
32980 | _ACEOF | ||
32981 | 17293 | ||
32982 | K5LIBS="-lkrb5" | 17294 | K5LIBS="-lkrb5" |
32983 | K5LIBS="$K5LIBS -lcom_err -lasn1" | 17295 | K5LIBS="$K5LIBS -lcom_err -lasn1" |
32984 | { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 | 17296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for net_write in -lroken" >&5 |
32985 | echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } | 17297 | $as_echo_n "checking for net_write in -lroken... " >&6; } |
32986 | if test "${ac_cv_lib_roken_net_write+set}" = set; then | 17298 | if ${ac_cv_lib_roken_net_write+:} false; then : |
32987 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17299 | $as_echo_n "(cached) " >&6 |
32988 | else | 17300 | else |
32989 | ac_check_lib_save_LIBS=$LIBS | 17301 | ac_check_lib_save_LIBS=$LIBS |
32990 | LIBS="-lroken $LIBS" | 17302 | LIBS="-lroken $LIBS" |
32991 | cat >conftest.$ac_ext <<_ACEOF | 17303 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
32992 | /* confdefs.h. */ | ||
32993 | _ACEOF | ||
32994 | cat confdefs.h >>conftest.$ac_ext | ||
32995 | cat >>conftest.$ac_ext <<_ACEOF | ||
32996 | /* end confdefs.h. */ | 17304 | /* end confdefs.h. */ |
32997 | 17305 | ||
32998 | /* Override any GCC internal prototype to avoid an error. | 17306 | /* Override any GCC internal prototype to avoid an error. |
@@ -33010,54 +17318,29 @@ return net_write (); | |||
33010 | return 0; | 17318 | return 0; |
33011 | } | 17319 | } |
33012 | _ACEOF | 17320 | _ACEOF |
33013 | rm -f conftest.$ac_objext conftest$ac_exeext | 17321 | if ac_fn_c_try_link "$LINENO"; then : |
33014 | if { (ac_try="$ac_link" | ||
33015 | case "(($ac_try" in | ||
33016 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33017 | *) ac_try_echo=$ac_try;; | ||
33018 | esac | ||
33019 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33020 | (eval "$ac_link") 2>conftest.er1 | ||
33021 | ac_status=$? | ||
33022 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33023 | rm -f conftest.er1 | ||
33024 | cat conftest.err >&5 | ||
33025 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33026 | (exit $ac_status); } && { | ||
33027 | test -z "$ac_c_werror_flag" || | ||
33028 | test ! -s conftest.err | ||
33029 | } && test -s conftest$ac_exeext && | ||
33030 | $as_test_x conftest$ac_exeext; then | ||
33031 | ac_cv_lib_roken_net_write=yes | 17322 | ac_cv_lib_roken_net_write=yes |
33032 | else | 17323 | else |
33033 | echo "$as_me: failed program was:" >&5 | 17324 | ac_cv_lib_roken_net_write=no |
33034 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33035 | |||
33036 | ac_cv_lib_roken_net_write=no | ||
33037 | fi | 17325 | fi |
33038 | 17326 | rm -f core conftest.err conftest.$ac_objext \ | |
33039 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17327 | conftest$ac_exeext conftest.$ac_ext |
33040 | conftest$ac_exeext conftest.$ac_ext | ||
33041 | LIBS=$ac_check_lib_save_LIBS | 17328 | LIBS=$ac_check_lib_save_LIBS |
33042 | fi | 17329 | fi |
33043 | { echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5 | 17330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_roken_net_write" >&5 |
33044 | echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6; } | 17331 | $as_echo "$ac_cv_lib_roken_net_write" >&6; } |
33045 | if test $ac_cv_lib_roken_net_write = yes; then | 17332 | if test "x$ac_cv_lib_roken_net_write" = xyes; then : |
33046 | K5LIBS="$K5LIBS -lroken" | 17333 | K5LIBS="$K5LIBS -lroken" |
33047 | fi | 17334 | fi |
33048 | 17335 | ||
33049 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 17336 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 |
33050 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } | 17337 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } |
33051 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 17338 | if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then : |
33052 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17339 | $as_echo_n "(cached) " >&6 |
33053 | else | 17340 | else |
33054 | ac_check_lib_save_LIBS=$LIBS | 17341 | ac_check_lib_save_LIBS=$LIBS |
33055 | LIBS="-ldes $LIBS" | 17342 | LIBS="-ldes $LIBS" |
33056 | cat >conftest.$ac_ext <<_ACEOF | 17343 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
33057 | /* confdefs.h. */ | ||
33058 | _ACEOF | ||
33059 | cat confdefs.h >>conftest.$ac_ext | ||
33060 | cat >>conftest.$ac_ext <<_ACEOF | ||
33061 | /* end confdefs.h. */ | 17344 | /* end confdefs.h. */ |
33062 | 17345 | ||
33063 | /* Override any GCC internal prototype to avoid an error. | 17346 | /* Override any GCC internal prototype to avoid an error. |
@@ -33075,65 +17358,36 @@ return des_cbc_encrypt (); | |||
33075 | return 0; | 17358 | return 0; |
33076 | } | 17359 | } |
33077 | _ACEOF | 17360 | _ACEOF |
33078 | rm -f conftest.$ac_objext conftest$ac_exeext | 17361 | if ac_fn_c_try_link "$LINENO"; then : |
33079 | if { (ac_try="$ac_link" | ||
33080 | case "(($ac_try" in | ||
33081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33082 | *) ac_try_echo=$ac_try;; | ||
33083 | esac | ||
33084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33085 | (eval "$ac_link") 2>conftest.er1 | ||
33086 | ac_status=$? | ||
33087 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33088 | rm -f conftest.er1 | ||
33089 | cat conftest.err >&5 | ||
33090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33091 | (exit $ac_status); } && { | ||
33092 | test -z "$ac_c_werror_flag" || | ||
33093 | test ! -s conftest.err | ||
33094 | } && test -s conftest$ac_exeext && | ||
33095 | $as_test_x conftest$ac_exeext; then | ||
33096 | ac_cv_lib_des_des_cbc_encrypt=yes | 17362 | ac_cv_lib_des_des_cbc_encrypt=yes |
33097 | else | 17363 | else |
33098 | echo "$as_me: failed program was:" >&5 | 17364 | ac_cv_lib_des_des_cbc_encrypt=no |
33099 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33100 | |||
33101 | ac_cv_lib_des_des_cbc_encrypt=no | ||
33102 | fi | 17365 | fi |
33103 | 17366 | rm -f core conftest.err conftest.$ac_objext \ | |
33104 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17367 | conftest$ac_exeext conftest.$ac_ext |
33105 | conftest$ac_exeext conftest.$ac_ext | ||
33106 | LIBS=$ac_check_lib_save_LIBS | 17368 | LIBS=$ac_check_lib_save_LIBS |
33107 | fi | 17369 | fi |
33108 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 17370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
33109 | echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 17371 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
33110 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 17372 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then : |
33111 | K5LIBS="$K5LIBS -ldes" | 17373 | K5LIBS="$K5LIBS -ldes" |
33112 | fi | 17374 | fi |
33113 | 17375 | ||
33114 | 17376 | ||
33115 | else | 17377 | else |
33116 | echo "$as_me: failed program was:" >&5 | 17378 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
33117 | sed 's/^/| /' conftest.$ac_ext >&5 | 17379 | $as_echo "no" >&6; } |
33118 | |||
33119 | { echo "$as_me:$LINENO: result: no" >&5 | ||
33120 | echo "${ECHO_T}no" >&6; } | ||
33121 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | 17380 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" |
33122 | 17381 | ||
33123 | fi | 17382 | fi |
33124 | |||
33125 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 17383 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
33126 | { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 | 17384 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dn_expand" >&5 |
33127 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } | 17385 | $as_echo_n "checking for library containing dn_expand... " >&6; } |
33128 | if test "${ac_cv_search_dn_expand+set}" = set; then | 17386 | if ${ac_cv_search_dn_expand+:} false; then : |
33129 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17387 | $as_echo_n "(cached) " >&6 |
33130 | else | 17388 | else |
33131 | ac_func_search_save_LIBS=$LIBS | 17389 | ac_func_search_save_LIBS=$LIBS |
33132 | cat >conftest.$ac_ext <<_ACEOF | 17390 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
33133 | /* confdefs.h. */ | ||
33134 | _ACEOF | ||
33135 | cat confdefs.h >>conftest.$ac_ext | ||
33136 | cat >>conftest.$ac_ext <<_ACEOF | ||
33137 | /* end confdefs.h. */ | 17391 | /* end confdefs.h. */ |
33138 | 17392 | ||
33139 | /* Override any GCC internal prototype to avoid an error. | 17393 | /* Override any GCC internal prototype to avoid an error. |
@@ -33158,67 +17412,40 @@ for ac_lib in '' resolv; do | |||
33158 | ac_res=-l$ac_lib | 17412 | ac_res=-l$ac_lib |
33159 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 17413 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
33160 | fi | 17414 | fi |
33161 | rm -f conftest.$ac_objext conftest$ac_exeext | 17415 | if ac_fn_c_try_link "$LINENO"; then : |
33162 | if { (ac_try="$ac_link" | ||
33163 | case "(($ac_try" in | ||
33164 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33165 | *) ac_try_echo=$ac_try;; | ||
33166 | esac | ||
33167 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33168 | (eval "$ac_link") 2>conftest.er1 | ||
33169 | ac_status=$? | ||
33170 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33171 | rm -f conftest.er1 | ||
33172 | cat conftest.err >&5 | ||
33173 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33174 | (exit $ac_status); } && { | ||
33175 | test -z "$ac_c_werror_flag" || | ||
33176 | test ! -s conftest.err | ||
33177 | } && test -s conftest$ac_exeext && | ||
33178 | $as_test_x conftest$ac_exeext; then | ||
33179 | ac_cv_search_dn_expand=$ac_res | 17416 | ac_cv_search_dn_expand=$ac_res |
33180 | else | ||
33181 | echo "$as_me: failed program was:" >&5 | ||
33182 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33183 | |||
33184 | |||
33185 | fi | 17417 | fi |
33186 | 17418 | rm -f core conftest.err conftest.$ac_objext \ | |
33187 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17419 | conftest$ac_exeext |
33188 | conftest$ac_exeext | 17420 | if ${ac_cv_search_dn_expand+:} false; then : |
33189 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
33190 | break | 17421 | break |
33191 | fi | 17422 | fi |
33192 | done | 17423 | done |
33193 | if test "${ac_cv_search_dn_expand+set}" = set; then | 17424 | if ${ac_cv_search_dn_expand+:} false; then : |
33194 | : | 17425 | |
33195 | else | 17426 | else |
33196 | ac_cv_search_dn_expand=no | 17427 | ac_cv_search_dn_expand=no |
33197 | fi | 17428 | fi |
33198 | rm conftest.$ac_ext | 17429 | rm conftest.$ac_ext |
33199 | LIBS=$ac_func_search_save_LIBS | 17430 | LIBS=$ac_func_search_save_LIBS |
33200 | fi | 17431 | fi |
33201 | { echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 | 17432 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dn_expand" >&5 |
33202 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } | 17433 | $as_echo "$ac_cv_search_dn_expand" >&6; } |
33203 | ac_res=$ac_cv_search_dn_expand | 17434 | ac_res=$ac_cv_search_dn_expand |
33204 | if test "$ac_res" != no; then | 17435 | if test "$ac_res" != no; then : |
33205 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 17436 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
33206 | 17437 | ||
33207 | fi | 17438 | fi |
33208 | 17439 | ||
33209 | 17440 | ||
33210 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 | 17441 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgssapi_krb5" >&5 |
33211 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } | 17442 | $as_echo_n "checking for gss_init_sec_context in -lgssapi_krb5... " >&6; } |
33212 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then | 17443 | if ${ac_cv_lib_gssapi_krb5_gss_init_sec_context+:} false; then : |
33213 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17444 | $as_echo_n "(cached) " >&6 |
33214 | else | 17445 | else |
33215 | ac_check_lib_save_LIBS=$LIBS | 17446 | ac_check_lib_save_LIBS=$LIBS |
33216 | LIBS="-lgssapi_krb5 $LIBS" | 17447 | LIBS="-lgssapi_krb5 $LIBS" |
33217 | cat >conftest.$ac_ext <<_ACEOF | 17448 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
33218 | /* confdefs.h. */ | ||
33219 | _ACEOF | ||
33220 | cat confdefs.h >>conftest.$ac_ext | ||
33221 | cat >>conftest.$ac_ext <<_ACEOF | ||
33222 | /* end confdefs.h. */ | 17449 | /* end confdefs.h. */ |
33223 | 17450 | ||
33224 | /* Override any GCC internal prototype to avoid an error. | 17451 | /* Override any GCC internal prototype to avoid an error. |
@@ -33236,57 +17463,30 @@ return gss_init_sec_context (); | |||
33236 | return 0; | 17463 | return 0; |
33237 | } | 17464 | } |
33238 | _ACEOF | 17465 | _ACEOF |
33239 | rm -f conftest.$ac_objext conftest$ac_exeext | 17466 | if ac_fn_c_try_link "$LINENO"; then : |
33240 | if { (ac_try="$ac_link" | ||
33241 | case "(($ac_try" in | ||
33242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33243 | *) ac_try_echo=$ac_try;; | ||
33244 | esac | ||
33245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33246 | (eval "$ac_link") 2>conftest.er1 | ||
33247 | ac_status=$? | ||
33248 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33249 | rm -f conftest.er1 | ||
33250 | cat conftest.err >&5 | ||
33251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33252 | (exit $ac_status); } && { | ||
33253 | test -z "$ac_c_werror_flag" || | ||
33254 | test ! -s conftest.err | ||
33255 | } && test -s conftest$ac_exeext && | ||
33256 | $as_test_x conftest$ac_exeext; then | ||
33257 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes | 17467 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes |
33258 | else | 17468 | else |
33259 | echo "$as_me: failed program was:" >&5 | 17469 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no |
33260 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33261 | |||
33262 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no | ||
33263 | fi | 17470 | fi |
33264 | 17471 | rm -f core conftest.err conftest.$ac_objext \ | |
33265 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17472 | conftest$ac_exeext conftest.$ac_ext |
33266 | conftest$ac_exeext conftest.$ac_ext | ||
33267 | LIBS=$ac_check_lib_save_LIBS | 17473 | LIBS=$ac_check_lib_save_LIBS |
33268 | fi | 17474 | fi |
33269 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 | 17475 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 |
33270 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } | 17476 | $as_echo "$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } |
33271 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then | 17477 | if test "x$ac_cv_lib_gssapi_krb5_gss_init_sec_context" = xyes; then : |
33272 | cat >>confdefs.h <<\_ACEOF | 17478 | $as_echo "#define GSSAPI 1" >>confdefs.h |
33273 | #define GSSAPI 1 | ||
33274 | _ACEOF | ||
33275 | 17479 | ||
33276 | GSSLIBS="-lgssapi_krb5" | 17480 | GSSLIBS="-lgssapi_krb5" |
33277 | else | 17481 | else |
33278 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 | 17482 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgssapi" >&5 |
33279 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } | 17483 | $as_echo_n "checking for gss_init_sec_context in -lgssapi... " >&6; } |
33280 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then | 17484 | if ${ac_cv_lib_gssapi_gss_init_sec_context+:} false; then : |
33281 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17485 | $as_echo_n "(cached) " >&6 |
33282 | else | 17486 | else |
33283 | ac_check_lib_save_LIBS=$LIBS | 17487 | ac_check_lib_save_LIBS=$LIBS |
33284 | LIBS="-lgssapi $LIBS" | 17488 | LIBS="-lgssapi $LIBS" |
33285 | cat >conftest.$ac_ext <<_ACEOF | 17489 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
33286 | /* confdefs.h. */ | ||
33287 | _ACEOF | ||
33288 | cat confdefs.h >>conftest.$ac_ext | ||
33289 | cat >>conftest.$ac_ext <<_ACEOF | ||
33290 | /* end confdefs.h. */ | 17490 | /* end confdefs.h. */ |
33291 | 17491 | ||
33292 | /* Override any GCC internal prototype to avoid an error. | 17492 | /* Override any GCC internal prototype to avoid an error. |
@@ -33304,57 +17504,30 @@ return gss_init_sec_context (); | |||
33304 | return 0; | 17504 | return 0; |
33305 | } | 17505 | } |
33306 | _ACEOF | 17506 | _ACEOF |
33307 | rm -f conftest.$ac_objext conftest$ac_exeext | 17507 | if ac_fn_c_try_link "$LINENO"; then : |
33308 | if { (ac_try="$ac_link" | ||
33309 | case "(($ac_try" in | ||
33310 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33311 | *) ac_try_echo=$ac_try;; | ||
33312 | esac | ||
33313 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33314 | (eval "$ac_link") 2>conftest.er1 | ||
33315 | ac_status=$? | ||
33316 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33317 | rm -f conftest.er1 | ||
33318 | cat conftest.err >&5 | ||
33319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33320 | (exit $ac_status); } && { | ||
33321 | test -z "$ac_c_werror_flag" || | ||
33322 | test ! -s conftest.err | ||
33323 | } && test -s conftest$ac_exeext && | ||
33324 | $as_test_x conftest$ac_exeext; then | ||
33325 | ac_cv_lib_gssapi_gss_init_sec_context=yes | 17508 | ac_cv_lib_gssapi_gss_init_sec_context=yes |
33326 | else | 17509 | else |
33327 | echo "$as_me: failed program was:" >&5 | 17510 | ac_cv_lib_gssapi_gss_init_sec_context=no |
33328 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33329 | |||
33330 | ac_cv_lib_gssapi_gss_init_sec_context=no | ||
33331 | fi | 17511 | fi |
33332 | 17512 | rm -f core conftest.err conftest.$ac_objext \ | |
33333 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17513 | conftest$ac_exeext conftest.$ac_ext |
33334 | conftest$ac_exeext conftest.$ac_ext | ||
33335 | LIBS=$ac_check_lib_save_LIBS | 17514 | LIBS=$ac_check_lib_save_LIBS |
33336 | fi | 17515 | fi |
33337 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 | 17516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 |
33338 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } | 17517 | $as_echo "$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } |
33339 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then | 17518 | if test "x$ac_cv_lib_gssapi_gss_init_sec_context" = xyes; then : |
33340 | cat >>confdefs.h <<\_ACEOF | 17519 | $as_echo "#define GSSAPI 1" >>confdefs.h |
33341 | #define GSSAPI 1 | ||
33342 | _ACEOF | ||
33343 | 17520 | ||
33344 | GSSLIBS="-lgssapi" | 17521 | GSSLIBS="-lgssapi" |
33345 | else | 17522 | else |
33346 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgss" >&5 | 17523 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgss" >&5 |
33347 | echo $ECHO_N "checking for gss_init_sec_context in -lgss... $ECHO_C" >&6; } | 17524 | $as_echo_n "checking for gss_init_sec_context in -lgss... " >&6; } |
33348 | if test "${ac_cv_lib_gss_gss_init_sec_context+set}" = set; then | 17525 | if ${ac_cv_lib_gss_gss_init_sec_context+:} false; then : |
33349 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17526 | $as_echo_n "(cached) " >&6 |
33350 | else | 17527 | else |
33351 | ac_check_lib_save_LIBS=$LIBS | 17528 | ac_check_lib_save_LIBS=$LIBS |
33352 | LIBS="-lgss $LIBS" | 17529 | LIBS="-lgss $LIBS" |
33353 | cat >conftest.$ac_ext <<_ACEOF | 17530 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
33354 | /* confdefs.h. */ | ||
33355 | _ACEOF | ||
33356 | cat confdefs.h >>conftest.$ac_ext | ||
33357 | cat >>conftest.$ac_ext <<_ACEOF | ||
33358 | /* end confdefs.h. */ | 17531 | /* end confdefs.h. */ |
33359 | 17532 | ||
33360 | /* Override any GCC internal prototype to avoid an error. | 17533 | /* Override any GCC internal prototype to avoid an error. |
@@ -33372,47 +17545,24 @@ return gss_init_sec_context (); | |||
33372 | return 0; | 17545 | return 0; |
33373 | } | 17546 | } |
33374 | _ACEOF | 17547 | _ACEOF |
33375 | rm -f conftest.$ac_objext conftest$ac_exeext | 17548 | if ac_fn_c_try_link "$LINENO"; then : |
33376 | if { (ac_try="$ac_link" | ||
33377 | case "(($ac_try" in | ||
33378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33379 | *) ac_try_echo=$ac_try;; | ||
33380 | esac | ||
33381 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33382 | (eval "$ac_link") 2>conftest.er1 | ||
33383 | ac_status=$? | ||
33384 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33385 | rm -f conftest.er1 | ||
33386 | cat conftest.err >&5 | ||
33387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33388 | (exit $ac_status); } && { | ||
33389 | test -z "$ac_c_werror_flag" || | ||
33390 | test ! -s conftest.err | ||
33391 | } && test -s conftest$ac_exeext && | ||
33392 | $as_test_x conftest$ac_exeext; then | ||
33393 | ac_cv_lib_gss_gss_init_sec_context=yes | 17549 | ac_cv_lib_gss_gss_init_sec_context=yes |
33394 | else | 17550 | else |
33395 | echo "$as_me: failed program was:" >&5 | 17551 | ac_cv_lib_gss_gss_init_sec_context=no |
33396 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33397 | |||
33398 | ac_cv_lib_gss_gss_init_sec_context=no | ||
33399 | fi | 17552 | fi |
33400 | 17553 | rm -f core conftest.err conftest.$ac_objext \ | |
33401 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17554 | conftest$ac_exeext conftest.$ac_ext |
33402 | conftest$ac_exeext conftest.$ac_ext | ||
33403 | LIBS=$ac_check_lib_save_LIBS | 17555 | LIBS=$ac_check_lib_save_LIBS |
33404 | fi | 17556 | fi |
33405 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gss_gss_init_sec_context" >&5 | 17557 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gss_gss_init_sec_context" >&5 |
33406 | echo "${ECHO_T}$ac_cv_lib_gss_gss_init_sec_context" >&6; } | 17558 | $as_echo "$ac_cv_lib_gss_gss_init_sec_context" >&6; } |
33407 | if test $ac_cv_lib_gss_gss_init_sec_context = yes; then | 17559 | if test "x$ac_cv_lib_gss_gss_init_sec_context" = xyes; then : |
33408 | cat >>confdefs.h <<\_ACEOF | 17560 | $as_echo "#define GSSAPI 1" >>confdefs.h |
33409 | #define GSSAPI 1 | ||
33410 | _ACEOF | ||
33411 | 17561 | ||
33412 | GSSLIBS="-lgss" | 17562 | GSSLIBS="-lgss" |
33413 | else | 17563 | else |
33414 | { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 | 17564 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 |
33415 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} | 17565 | $as_echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} |
33416 | fi | 17566 | fi |
33417 | 17567 | ||
33418 | 17568 | ||
@@ -33422,285 +17572,23 @@ fi | |||
33422 | fi | 17572 | fi |
33423 | 17573 | ||
33424 | 17574 | ||
33425 | if test "${ac_cv_header_gssapi_h+set}" = set; then | 17575 | ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default" |
33426 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 | 17576 | if test "x$ac_cv_header_gssapi_h" = xyes; then : |
33427 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } | ||
33428 | if test "${ac_cv_header_gssapi_h+set}" = set; then | ||
33429 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33430 | fi | ||
33431 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 | ||
33432 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } | ||
33433 | else | ||
33434 | # Is the header compilable? | ||
33435 | { echo "$as_me:$LINENO: checking gssapi.h usability" >&5 | ||
33436 | echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; } | ||
33437 | cat >conftest.$ac_ext <<_ACEOF | ||
33438 | /* confdefs.h. */ | ||
33439 | _ACEOF | ||
33440 | cat confdefs.h >>conftest.$ac_ext | ||
33441 | cat >>conftest.$ac_ext <<_ACEOF | ||
33442 | /* end confdefs.h. */ | ||
33443 | $ac_includes_default | ||
33444 | #include <gssapi.h> | ||
33445 | _ACEOF | ||
33446 | rm -f conftest.$ac_objext | ||
33447 | if { (ac_try="$ac_compile" | ||
33448 | case "(($ac_try" in | ||
33449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33450 | *) ac_try_echo=$ac_try;; | ||
33451 | esac | ||
33452 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33453 | (eval "$ac_compile") 2>conftest.er1 | ||
33454 | ac_status=$? | ||
33455 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33456 | rm -f conftest.er1 | ||
33457 | cat conftest.err >&5 | ||
33458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33459 | (exit $ac_status); } && { | ||
33460 | test -z "$ac_c_werror_flag" || | ||
33461 | test ! -s conftest.err | ||
33462 | } && test -s conftest.$ac_objext; then | ||
33463 | ac_header_compiler=yes | ||
33464 | else | ||
33465 | echo "$as_me: failed program was:" >&5 | ||
33466 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33467 | |||
33468 | ac_header_compiler=no | ||
33469 | fi | ||
33470 | 17577 | ||
33471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
33472 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
33473 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
33474 | |||
33475 | # Is the header present? | ||
33476 | { echo "$as_me:$LINENO: checking gssapi.h presence" >&5 | ||
33477 | echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; } | ||
33478 | cat >conftest.$ac_ext <<_ACEOF | ||
33479 | /* confdefs.h. */ | ||
33480 | _ACEOF | ||
33481 | cat confdefs.h >>conftest.$ac_ext | ||
33482 | cat >>conftest.$ac_ext <<_ACEOF | ||
33483 | /* end confdefs.h. */ | ||
33484 | #include <gssapi.h> | ||
33485 | _ACEOF | ||
33486 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
33487 | case "(($ac_try" in | ||
33488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33489 | *) ac_try_echo=$ac_try;; | ||
33490 | esac | ||
33491 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33492 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
33493 | ac_status=$? | ||
33494 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33495 | rm -f conftest.er1 | ||
33496 | cat conftest.err >&5 | ||
33497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33498 | (exit $ac_status); } >/dev/null && { | ||
33499 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
33500 | test ! -s conftest.err | ||
33501 | }; then | ||
33502 | ac_header_preproc=yes | ||
33503 | else | ||
33504 | echo "$as_me: failed program was:" >&5 | ||
33505 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33506 | |||
33507 | ac_header_preproc=no | ||
33508 | fi | ||
33509 | |||
33510 | rm -f conftest.err conftest.$ac_ext | ||
33511 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33512 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33513 | |||
33514 | # So? What about this header? | ||
33515 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33516 | yes:no: ) | ||
33517 | { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33518 | echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33519 | { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5 | ||
33520 | echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;} | ||
33521 | ac_header_preproc=yes | ||
33522 | ;; | ||
33523 | no:yes:* ) | ||
33524 | { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5 | ||
33525 | echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;} | ||
33526 | { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5 | ||
33527 | echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;} | ||
33528 | { echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5 | ||
33529 | echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;} | ||
33530 | { echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
33531 | echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33532 | { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5 | ||
33533 | echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;} | ||
33534 | { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5 | ||
33535 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} | ||
33536 | ( cat <<\_ASBOX | ||
33537 | ## ------------------------------------------- ## | ||
33538 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33539 | ## ------------------------------------------- ## | ||
33540 | _ASBOX | ||
33541 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33542 | ;; | ||
33543 | esac | ||
33544 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 | ||
33545 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } | ||
33546 | if test "${ac_cv_header_gssapi_h+set}" = set; then | ||
33547 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33548 | else | ||
33549 | ac_cv_header_gssapi_h=$ac_header_preproc | ||
33550 | fi | ||
33551 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 | ||
33552 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } | ||
33553 | |||
33554 | fi | ||
33555 | if test $ac_cv_header_gssapi_h = yes; then | ||
33556 | : | ||
33557 | else | 17578 | else |
33558 | unset ac_cv_header_gssapi_h | 17579 | unset ac_cv_header_gssapi_h |
33559 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | 17580 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
33560 | 17581 | for ac_header in gssapi.h | |
33561 | for ac_header in gssapi.h | 17582 | do : |
33562 | do | 17583 | ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default" |
33563 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17584 | if test "x$ac_cv_header_gssapi_h" = xyes; then : |
33564 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33565 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33566 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33567 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33568 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33569 | fi | ||
33570 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33571 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33572 | echo "${ECHO_T}$ac_res" >&6; } | ||
33573 | else | ||
33574 | # Is the header compilable? | ||
33575 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
33576 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
33577 | cat >conftest.$ac_ext <<_ACEOF | ||
33578 | /* confdefs.h. */ | ||
33579 | _ACEOF | ||
33580 | cat confdefs.h >>conftest.$ac_ext | ||
33581 | cat >>conftest.$ac_ext <<_ACEOF | ||
33582 | /* end confdefs.h. */ | ||
33583 | $ac_includes_default | ||
33584 | #include <$ac_header> | ||
33585 | _ACEOF | ||
33586 | rm -f conftest.$ac_objext | ||
33587 | if { (ac_try="$ac_compile" | ||
33588 | case "(($ac_try" in | ||
33589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33590 | *) ac_try_echo=$ac_try;; | ||
33591 | esac | ||
33592 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33593 | (eval "$ac_compile") 2>conftest.er1 | ||
33594 | ac_status=$? | ||
33595 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33596 | rm -f conftest.er1 | ||
33597 | cat conftest.err >&5 | ||
33598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33599 | (exit $ac_status); } && { | ||
33600 | test -z "$ac_c_werror_flag" || | ||
33601 | test ! -s conftest.err | ||
33602 | } && test -s conftest.$ac_objext; then | ||
33603 | ac_header_compiler=yes | ||
33604 | else | ||
33605 | echo "$as_me: failed program was:" >&5 | ||
33606 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33607 | |||
33608 | ac_header_compiler=no | ||
33609 | fi | ||
33610 | |||
33611 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
33612 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
33613 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
33614 | |||
33615 | # Is the header present? | ||
33616 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
33617 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
33618 | cat >conftest.$ac_ext <<_ACEOF | ||
33619 | /* confdefs.h. */ | ||
33620 | _ACEOF | ||
33621 | cat confdefs.h >>conftest.$ac_ext | ||
33622 | cat >>conftest.$ac_ext <<_ACEOF | ||
33623 | /* end confdefs.h. */ | ||
33624 | #include <$ac_header> | ||
33625 | _ACEOF | ||
33626 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
33627 | case "(($ac_try" in | ||
33628 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33629 | *) ac_try_echo=$ac_try;; | ||
33630 | esac | ||
33631 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33632 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
33633 | ac_status=$? | ||
33634 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33635 | rm -f conftest.er1 | ||
33636 | cat conftest.err >&5 | ||
33637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33638 | (exit $ac_status); } >/dev/null && { | ||
33639 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
33640 | test ! -s conftest.err | ||
33641 | }; then | ||
33642 | ac_header_preproc=yes | ||
33643 | else | ||
33644 | echo "$as_me: failed program was:" >&5 | ||
33645 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33646 | |||
33647 | ac_header_preproc=no | ||
33648 | fi | ||
33649 | |||
33650 | rm -f conftest.err conftest.$ac_ext | ||
33651 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33652 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33653 | |||
33654 | # So? What about this header? | ||
33655 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33656 | yes:no: ) | ||
33657 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33658 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33659 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
33660 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
33661 | ac_header_preproc=yes | ||
33662 | ;; | ||
33663 | no:yes:* ) | ||
33664 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
33665 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
33666 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
33667 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
33668 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
33669 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
33670 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
33671 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33672 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
33673 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
33674 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
33675 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
33676 | ( cat <<\_ASBOX | ||
33677 | ## ------------------------------------------- ## | ||
33678 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33679 | ## ------------------------------------------- ## | ||
33680 | _ASBOX | ||
33681 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33682 | ;; | ||
33683 | esac | ||
33684 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33685 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33686 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33687 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33688 | else | ||
33689 | eval "$as_ac_Header=\$ac_header_preproc" | ||
33690 | fi | ||
33691 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33692 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33693 | echo "${ECHO_T}$ac_res" >&6; } | ||
33694 | |||
33695 | fi | ||
33696 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
33697 | cat >>confdefs.h <<_ACEOF | 17585 | cat >>confdefs.h <<_ACEOF |
33698 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17586 | #define HAVE_GSSAPI_H 1 |
33699 | _ACEOF | 17587 | _ACEOF |
33700 | 17588 | ||
33701 | else | 17589 | else |
33702 | { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 | 17590 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 |
33703 | echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} | 17591 | $as_echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} |
33704 | 17592 | ||
33705 | fi | 17593 | fi |
33706 | 17594 | ||
@@ -33714,138 +17602,9 @@ fi | |||
33714 | 17602 | ||
33715 | oldCPP="$CPPFLAGS" | 17603 | oldCPP="$CPPFLAGS" |
33716 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | 17604 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
33717 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | 17605 | ac_fn_c_check_header_mongrel "$LINENO" "gssapi_krb5.h" "ac_cv_header_gssapi_krb5_h" "$ac_includes_default" |
33718 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 | 17606 | if test "x$ac_cv_header_gssapi_krb5_h" = xyes; then : |
33719 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } | ||
33720 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | ||
33721 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33722 | fi | ||
33723 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 | ||
33724 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } | ||
33725 | else | ||
33726 | # Is the header compilable? | ||
33727 | { echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5 | ||
33728 | echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6; } | ||
33729 | cat >conftest.$ac_ext <<_ACEOF | ||
33730 | /* confdefs.h. */ | ||
33731 | _ACEOF | ||
33732 | cat confdefs.h >>conftest.$ac_ext | ||
33733 | cat >>conftest.$ac_ext <<_ACEOF | ||
33734 | /* end confdefs.h. */ | ||
33735 | $ac_includes_default | ||
33736 | #include <gssapi_krb5.h> | ||
33737 | _ACEOF | ||
33738 | rm -f conftest.$ac_objext | ||
33739 | if { (ac_try="$ac_compile" | ||
33740 | case "(($ac_try" in | ||
33741 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33742 | *) ac_try_echo=$ac_try;; | ||
33743 | esac | ||
33744 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33745 | (eval "$ac_compile") 2>conftest.er1 | ||
33746 | ac_status=$? | ||
33747 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33748 | rm -f conftest.er1 | ||
33749 | cat conftest.err >&5 | ||
33750 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33751 | (exit $ac_status); } && { | ||
33752 | test -z "$ac_c_werror_flag" || | ||
33753 | test ! -s conftest.err | ||
33754 | } && test -s conftest.$ac_objext; then | ||
33755 | ac_header_compiler=yes | ||
33756 | else | ||
33757 | echo "$as_me: failed program was:" >&5 | ||
33758 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33759 | |||
33760 | ac_header_compiler=no | ||
33761 | fi | ||
33762 | |||
33763 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
33764 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
33765 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
33766 | |||
33767 | # Is the header present? | ||
33768 | { echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5 | ||
33769 | echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6; } | ||
33770 | cat >conftest.$ac_ext <<_ACEOF | ||
33771 | /* confdefs.h. */ | ||
33772 | _ACEOF | ||
33773 | cat confdefs.h >>conftest.$ac_ext | ||
33774 | cat >>conftest.$ac_ext <<_ACEOF | ||
33775 | /* end confdefs.h. */ | ||
33776 | #include <gssapi_krb5.h> | ||
33777 | _ACEOF | ||
33778 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
33779 | case "(($ac_try" in | ||
33780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33781 | *) ac_try_echo=$ac_try;; | ||
33782 | esac | ||
33783 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33784 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
33785 | ac_status=$? | ||
33786 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33787 | rm -f conftest.er1 | ||
33788 | cat conftest.err >&5 | ||
33789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33790 | (exit $ac_status); } >/dev/null && { | ||
33791 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
33792 | test ! -s conftest.err | ||
33793 | }; then | ||
33794 | ac_header_preproc=yes | ||
33795 | else | ||
33796 | echo "$as_me: failed program was:" >&5 | ||
33797 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33798 | |||
33799 | ac_header_preproc=no | ||
33800 | fi | ||
33801 | |||
33802 | rm -f conftest.err conftest.$ac_ext | ||
33803 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33804 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33805 | |||
33806 | # So? What about this header? | ||
33807 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33808 | yes:no: ) | ||
33809 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33810 | echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33811 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5 | ||
33812 | echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;} | ||
33813 | ac_header_preproc=yes | ||
33814 | ;; | ||
33815 | no:yes:* ) | ||
33816 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5 | ||
33817 | echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;} | ||
33818 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5 | ||
33819 | echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;} | ||
33820 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5 | ||
33821 | echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;} | ||
33822 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
33823 | echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33824 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5 | ||
33825 | echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;} | ||
33826 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5 | ||
33827 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} | ||
33828 | ( cat <<\_ASBOX | ||
33829 | ## ------------------------------------------- ## | ||
33830 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33831 | ## ------------------------------------------- ## | ||
33832 | _ASBOX | ||
33833 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33834 | ;; | ||
33835 | esac | ||
33836 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 | ||
33837 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } | ||
33838 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | ||
33839 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33840 | else | ||
33841 | ac_cv_header_gssapi_krb5_h=$ac_header_preproc | ||
33842 | fi | ||
33843 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 | ||
33844 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } | ||
33845 | 17607 | ||
33846 | fi | ||
33847 | if test $ac_cv_header_gssapi_krb5_h = yes; then | ||
33848 | : | ||
33849 | else | 17608 | else |
33850 | CPPFLAGS="$oldCPP" | 17609 | CPPFLAGS="$oldCPP" |
33851 | fi | 17610 | fi |
@@ -33860,438 +17619,39 @@ fi | |||
33860 | blibpath="$blibpath:${KRB5ROOT}/lib" | 17619 | blibpath="$blibpath:${KRB5ROOT}/lib" |
33861 | fi | 17620 | fi |
33862 | 17621 | ||
33863 | 17622 | for ac_header in gssapi.h gssapi/gssapi.h | |
33864 | 17623 | do : | |
33865 | for ac_header in gssapi.h gssapi/gssapi.h | 17624 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
33866 | do | 17625 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
33867 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17626 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
33868 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33869 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33870 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33871 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33872 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33873 | fi | ||
33874 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33875 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33876 | echo "${ECHO_T}$ac_res" >&6; } | ||
33877 | else | ||
33878 | # Is the header compilable? | ||
33879 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
33880 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
33881 | cat >conftest.$ac_ext <<_ACEOF | ||
33882 | /* confdefs.h. */ | ||
33883 | _ACEOF | ||
33884 | cat confdefs.h >>conftest.$ac_ext | ||
33885 | cat >>conftest.$ac_ext <<_ACEOF | ||
33886 | /* end confdefs.h. */ | ||
33887 | $ac_includes_default | ||
33888 | #include <$ac_header> | ||
33889 | _ACEOF | ||
33890 | rm -f conftest.$ac_objext | ||
33891 | if { (ac_try="$ac_compile" | ||
33892 | case "(($ac_try" in | ||
33893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33894 | *) ac_try_echo=$ac_try;; | ||
33895 | esac | ||
33896 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33897 | (eval "$ac_compile") 2>conftest.er1 | ||
33898 | ac_status=$? | ||
33899 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33900 | rm -f conftest.er1 | ||
33901 | cat conftest.err >&5 | ||
33902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33903 | (exit $ac_status); } && { | ||
33904 | test -z "$ac_c_werror_flag" || | ||
33905 | test ! -s conftest.err | ||
33906 | } && test -s conftest.$ac_objext; then | ||
33907 | ac_header_compiler=yes | ||
33908 | else | ||
33909 | echo "$as_me: failed program was:" >&5 | ||
33910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33911 | |||
33912 | ac_header_compiler=no | ||
33913 | fi | ||
33914 | |||
33915 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
33916 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
33917 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
33918 | |||
33919 | # Is the header present? | ||
33920 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
33921 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
33922 | cat >conftest.$ac_ext <<_ACEOF | ||
33923 | /* confdefs.h. */ | ||
33924 | _ACEOF | ||
33925 | cat confdefs.h >>conftest.$ac_ext | ||
33926 | cat >>conftest.$ac_ext <<_ACEOF | ||
33927 | /* end confdefs.h. */ | ||
33928 | #include <$ac_header> | ||
33929 | _ACEOF | ||
33930 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
33931 | case "(($ac_try" in | ||
33932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33933 | *) ac_try_echo=$ac_try;; | ||
33934 | esac | ||
33935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33936 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
33937 | ac_status=$? | ||
33938 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33939 | rm -f conftest.er1 | ||
33940 | cat conftest.err >&5 | ||
33941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33942 | (exit $ac_status); } >/dev/null && { | ||
33943 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
33944 | test ! -s conftest.err | ||
33945 | }; then | ||
33946 | ac_header_preproc=yes | ||
33947 | else | ||
33948 | echo "$as_me: failed program was:" >&5 | ||
33949 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33950 | |||
33951 | ac_header_preproc=no | ||
33952 | fi | ||
33953 | |||
33954 | rm -f conftest.err conftest.$ac_ext | ||
33955 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33956 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33957 | |||
33958 | # So? What about this header? | ||
33959 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33960 | yes:no: ) | ||
33961 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33962 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33963 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
33964 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
33965 | ac_header_preproc=yes | ||
33966 | ;; | ||
33967 | no:yes:* ) | ||
33968 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
33969 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
33970 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
33971 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
33972 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
33973 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
33974 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
33975 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33976 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
33977 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
33978 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
33979 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
33980 | ( cat <<\_ASBOX | ||
33981 | ## ------------------------------------------- ## | ||
33982 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33983 | ## ------------------------------------------- ## | ||
33984 | _ASBOX | ||
33985 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33986 | ;; | ||
33987 | esac | ||
33988 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33989 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33990 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33991 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33992 | else | ||
33993 | eval "$as_ac_Header=\$ac_header_preproc" | ||
33994 | fi | ||
33995 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33996 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33997 | echo "${ECHO_T}$ac_res" >&6; } | ||
33998 | |||
33999 | fi | ||
34000 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
34001 | cat >>confdefs.h <<_ACEOF | 17627 | cat >>confdefs.h <<_ACEOF |
34002 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17628 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
34003 | _ACEOF | 17629 | _ACEOF |
34004 | 17630 | ||
34005 | fi | 17631 | fi |
34006 | 17632 | ||
34007 | done | 17633 | done |
34008 | 17634 | ||
34009 | 17635 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h | |
34010 | 17636 | do : | |
34011 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h | 17637 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
34012 | do | 17638 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
34013 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17639 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
34014 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34015 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
34016 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
34017 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34018 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34019 | fi | ||
34020 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
34021 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
34022 | echo "${ECHO_T}$ac_res" >&6; } | ||
34023 | else | ||
34024 | # Is the header compilable? | ||
34025 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
34026 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
34027 | cat >conftest.$ac_ext <<_ACEOF | ||
34028 | /* confdefs.h. */ | ||
34029 | _ACEOF | ||
34030 | cat confdefs.h >>conftest.$ac_ext | ||
34031 | cat >>conftest.$ac_ext <<_ACEOF | ||
34032 | /* end confdefs.h. */ | ||
34033 | $ac_includes_default | ||
34034 | #include <$ac_header> | ||
34035 | _ACEOF | ||
34036 | rm -f conftest.$ac_objext | ||
34037 | if { (ac_try="$ac_compile" | ||
34038 | case "(($ac_try" in | ||
34039 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34040 | *) ac_try_echo=$ac_try;; | ||
34041 | esac | ||
34042 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34043 | (eval "$ac_compile") 2>conftest.er1 | ||
34044 | ac_status=$? | ||
34045 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34046 | rm -f conftest.er1 | ||
34047 | cat conftest.err >&5 | ||
34048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34049 | (exit $ac_status); } && { | ||
34050 | test -z "$ac_c_werror_flag" || | ||
34051 | test ! -s conftest.err | ||
34052 | } && test -s conftest.$ac_objext; then | ||
34053 | ac_header_compiler=yes | ||
34054 | else | ||
34055 | echo "$as_me: failed program was:" >&5 | ||
34056 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34057 | |||
34058 | ac_header_compiler=no | ||
34059 | fi | ||
34060 | |||
34061 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
34062 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
34063 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
34064 | |||
34065 | # Is the header present? | ||
34066 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
34067 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
34068 | cat >conftest.$ac_ext <<_ACEOF | ||
34069 | /* confdefs.h. */ | ||
34070 | _ACEOF | ||
34071 | cat confdefs.h >>conftest.$ac_ext | ||
34072 | cat >>conftest.$ac_ext <<_ACEOF | ||
34073 | /* end confdefs.h. */ | ||
34074 | #include <$ac_header> | ||
34075 | _ACEOF | ||
34076 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
34077 | case "(($ac_try" in | ||
34078 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34079 | *) ac_try_echo=$ac_try;; | ||
34080 | esac | ||
34081 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34082 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
34083 | ac_status=$? | ||
34084 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34085 | rm -f conftest.er1 | ||
34086 | cat conftest.err >&5 | ||
34087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34088 | (exit $ac_status); } >/dev/null && { | ||
34089 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
34090 | test ! -s conftest.err | ||
34091 | }; then | ||
34092 | ac_header_preproc=yes | ||
34093 | else | ||
34094 | echo "$as_me: failed program was:" >&5 | ||
34095 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34096 | |||
34097 | ac_header_preproc=no | ||
34098 | fi | ||
34099 | |||
34100 | rm -f conftest.err conftest.$ac_ext | ||
34101 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
34102 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
34103 | |||
34104 | # So? What about this header? | ||
34105 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
34106 | yes:no: ) | ||
34107 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
34108 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
34109 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
34110 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
34111 | ac_header_preproc=yes | ||
34112 | ;; | ||
34113 | no:yes:* ) | ||
34114 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
34115 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
34116 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
34117 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
34118 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
34119 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
34120 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
34121 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
34122 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
34123 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
34124 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
34125 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
34126 | ( cat <<\_ASBOX | ||
34127 | ## ------------------------------------------- ## | ||
34128 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
34129 | ## ------------------------------------------- ## | ||
34130 | _ASBOX | ||
34131 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
34132 | ;; | ||
34133 | esac | ||
34134 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
34135 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
34136 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34137 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34138 | else | ||
34139 | eval "$as_ac_Header=\$ac_header_preproc" | ||
34140 | fi | ||
34141 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
34142 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
34143 | echo "${ECHO_T}$ac_res" >&6; } | ||
34144 | |||
34145 | fi | ||
34146 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
34147 | cat >>confdefs.h <<_ACEOF | 17640 | cat >>confdefs.h <<_ACEOF |
34148 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17641 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
34149 | _ACEOF | 17642 | _ACEOF |
34150 | 17643 | ||
34151 | fi | 17644 | fi |
34152 | 17645 | ||
34153 | done | 17646 | done |
34154 | 17647 | ||
34155 | 17648 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h | |
34156 | 17649 | do : | |
34157 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h | 17650 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
34158 | do | 17651 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
34159 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17652 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
34160 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34161 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
34162 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
34163 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34164 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34165 | fi | ||
34166 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
34167 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
34168 | echo "${ECHO_T}$ac_res" >&6; } | ||
34169 | else | ||
34170 | # Is the header compilable? | ||
34171 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
34172 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
34173 | cat >conftest.$ac_ext <<_ACEOF | ||
34174 | /* confdefs.h. */ | ||
34175 | _ACEOF | ||
34176 | cat confdefs.h >>conftest.$ac_ext | ||
34177 | cat >>conftest.$ac_ext <<_ACEOF | ||
34178 | /* end confdefs.h. */ | ||
34179 | $ac_includes_default | ||
34180 | #include <$ac_header> | ||
34181 | _ACEOF | ||
34182 | rm -f conftest.$ac_objext | ||
34183 | if { (ac_try="$ac_compile" | ||
34184 | case "(($ac_try" in | ||
34185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34186 | *) ac_try_echo=$ac_try;; | ||
34187 | esac | ||
34188 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34189 | (eval "$ac_compile") 2>conftest.er1 | ||
34190 | ac_status=$? | ||
34191 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34192 | rm -f conftest.er1 | ||
34193 | cat conftest.err >&5 | ||
34194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34195 | (exit $ac_status); } && { | ||
34196 | test -z "$ac_c_werror_flag" || | ||
34197 | test ! -s conftest.err | ||
34198 | } && test -s conftest.$ac_objext; then | ||
34199 | ac_header_compiler=yes | ||
34200 | else | ||
34201 | echo "$as_me: failed program was:" >&5 | ||
34202 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34203 | |||
34204 | ac_header_compiler=no | ||
34205 | fi | ||
34206 | |||
34207 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
34208 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
34209 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
34210 | |||
34211 | # Is the header present? | ||
34212 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
34213 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
34214 | cat >conftest.$ac_ext <<_ACEOF | ||
34215 | /* confdefs.h. */ | ||
34216 | _ACEOF | ||
34217 | cat confdefs.h >>conftest.$ac_ext | ||
34218 | cat >>conftest.$ac_ext <<_ACEOF | ||
34219 | /* end confdefs.h. */ | ||
34220 | #include <$ac_header> | ||
34221 | _ACEOF | ||
34222 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
34223 | case "(($ac_try" in | ||
34224 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34225 | *) ac_try_echo=$ac_try;; | ||
34226 | esac | ||
34227 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34228 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
34229 | ac_status=$? | ||
34230 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34231 | rm -f conftest.er1 | ||
34232 | cat conftest.err >&5 | ||
34233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34234 | (exit $ac_status); } >/dev/null && { | ||
34235 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
34236 | test ! -s conftest.err | ||
34237 | }; then | ||
34238 | ac_header_preproc=yes | ||
34239 | else | ||
34240 | echo "$as_me: failed program was:" >&5 | ||
34241 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34242 | |||
34243 | ac_header_preproc=no | ||
34244 | fi | ||
34245 | |||
34246 | rm -f conftest.err conftest.$ac_ext | ||
34247 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
34248 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
34249 | |||
34250 | # So? What about this header? | ||
34251 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
34252 | yes:no: ) | ||
34253 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
34254 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
34255 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
34256 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
34257 | ac_header_preproc=yes | ||
34258 | ;; | ||
34259 | no:yes:* ) | ||
34260 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
34261 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
34262 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
34263 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
34264 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
34265 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
34266 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
34267 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
34268 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
34269 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
34270 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
34271 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
34272 | ( cat <<\_ASBOX | ||
34273 | ## ------------------------------------------- ## | ||
34274 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
34275 | ## ------------------------------------------- ## | ||
34276 | _ASBOX | ||
34277 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
34278 | ;; | ||
34279 | esac | ||
34280 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
34281 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
34282 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34283 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34284 | else | ||
34285 | eval "$as_ac_Header=\$ac_header_preproc" | ||
34286 | fi | ||
34287 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
34288 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
34289 | echo "${ECHO_T}$ac_res" >&6; } | ||
34290 | |||
34291 | fi | ||
34292 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
34293 | cat >>confdefs.h <<_ACEOF | 17653 | cat >>confdefs.h <<_ACEOF |
34294 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17654 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
34295 | _ACEOF | 17655 | _ACEOF |
34296 | 17656 | ||
34297 | fi | 17657 | fi |
@@ -34299,17 +17659,13 @@ fi | |||
34299 | done | 17659 | done |
34300 | 17660 | ||
34301 | 17661 | ||
34302 | { echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 | 17662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing k_hasafs" >&5 |
34303 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6; } | 17663 | $as_echo_n "checking for library containing k_hasafs... " >&6; } |
34304 | if test "${ac_cv_search_k_hasafs+set}" = set; then | 17664 | if ${ac_cv_search_k_hasafs+:} false; then : |
34305 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17665 | $as_echo_n "(cached) " >&6 |
34306 | else | 17666 | else |
34307 | ac_func_search_save_LIBS=$LIBS | 17667 | ac_func_search_save_LIBS=$LIBS |
34308 | cat >conftest.$ac_ext <<_ACEOF | 17668 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
34309 | /* confdefs.h. */ | ||
34310 | _ACEOF | ||
34311 | cat confdefs.h >>conftest.$ac_ext | ||
34312 | cat >>conftest.$ac_ext <<_ACEOF | ||
34313 | /* end confdefs.h. */ | 17669 | /* end confdefs.h. */ |
34314 | 17670 | ||
34315 | /* Override any GCC internal prototype to avoid an error. | 17671 | /* Override any GCC internal prototype to avoid an error. |
@@ -34334,71 +17690,35 @@ for ac_lib in '' kafs; do | |||
34334 | ac_res=-l$ac_lib | 17690 | ac_res=-l$ac_lib |
34335 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 17691 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
34336 | fi | 17692 | fi |
34337 | rm -f conftest.$ac_objext conftest$ac_exeext | 17693 | if ac_fn_c_try_link "$LINENO"; then : |
34338 | if { (ac_try="$ac_link" | ||
34339 | case "(($ac_try" in | ||
34340 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34341 | *) ac_try_echo=$ac_try;; | ||
34342 | esac | ||
34343 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34344 | (eval "$ac_link") 2>conftest.er1 | ||
34345 | ac_status=$? | ||
34346 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34347 | rm -f conftest.er1 | ||
34348 | cat conftest.err >&5 | ||
34349 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34350 | (exit $ac_status); } && { | ||
34351 | test -z "$ac_c_werror_flag" || | ||
34352 | test ! -s conftest.err | ||
34353 | } && test -s conftest$ac_exeext && | ||
34354 | $as_test_x conftest$ac_exeext; then | ||
34355 | ac_cv_search_k_hasafs=$ac_res | 17694 | ac_cv_search_k_hasafs=$ac_res |
34356 | else | ||
34357 | echo "$as_me: failed program was:" >&5 | ||
34358 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34359 | |||
34360 | |||
34361 | fi | 17695 | fi |
34362 | 17696 | rm -f core conftest.err conftest.$ac_objext \ | |
34363 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | 17697 | conftest$ac_exeext |
34364 | conftest$ac_exeext | 17698 | if ${ac_cv_search_k_hasafs+:} false; then : |
34365 | if test "${ac_cv_search_k_hasafs+set}" = set; then | ||
34366 | break | 17699 | break |
34367 | fi | 17700 | fi |
34368 | done | 17701 | done |
34369 | if test "${ac_cv_search_k_hasafs+set}" = set; then | 17702 | if ${ac_cv_search_k_hasafs+:} false; then : |
34370 | : | 17703 | |
34371 | else | 17704 | else |
34372 | ac_cv_search_k_hasafs=no | 17705 | ac_cv_search_k_hasafs=no |
34373 | fi | 17706 | fi |
34374 | rm conftest.$ac_ext | 17707 | rm conftest.$ac_ext |
34375 | LIBS=$ac_func_search_save_LIBS | 17708 | LIBS=$ac_func_search_save_LIBS |
34376 | fi | 17709 | fi |
34377 | { echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5 | 17710 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_k_hasafs" >&5 |
34378 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6; } | 17711 | $as_echo "$ac_cv_search_k_hasafs" >&6; } |
34379 | ac_res=$ac_cv_search_k_hasafs | 17712 | ac_res=$ac_cv_search_k_hasafs |
34380 | if test "$ac_res" != no; then | 17713 | if test "$ac_res" != no; then : |
34381 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 17714 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
34382 | 17715 | ||
34383 | cat >>confdefs.h <<\_ACEOF | 17716 | $as_echo "#define USE_AFS 1" >>confdefs.h |
34384 | #define USE_AFS 1 | ||
34385 | _ACEOF | ||
34386 | 17717 | ||
34387 | fi | 17718 | fi |
34388 | 17719 | ||
34389 | 17720 | ||
34390 | { echo "$as_me:$LINENO: checking whether GSS_C_NT_HOSTBASED_SERVICE is declared" >&5 | 17721 | ac_fn_c_check_decl "$LINENO" "GSS_C_NT_HOSTBASED_SERVICE" "ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" " |
34391 | echo $ECHO_N "checking whether GSS_C_NT_HOSTBASED_SERVICE is declared... $ECHO_C" >&6; } | ||
34392 | if test "${ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE+set}" = set; then | ||
34393 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34394 | else | ||
34395 | cat >conftest.$ac_ext <<_ACEOF | ||
34396 | /* confdefs.h. */ | ||
34397 | _ACEOF | ||
34398 | cat confdefs.h >>conftest.$ac_ext | ||
34399 | cat >>conftest.$ac_ext <<_ACEOF | ||
34400 | /* end confdefs.h. */ | ||
34401 | |||
34402 | #ifdef HAVE_GSSAPI_H | 17722 | #ifdef HAVE_GSSAPI_H |
34403 | # include <gssapi.h> | 17723 | # include <gssapi.h> |
34404 | #elif defined(HAVE_GSSAPI_GSSAPI_H) | 17724 | #elif defined(HAVE_GSSAPI_GSSAPI_H) |
@@ -34411,156 +17731,26 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
34411 | # include <gssapi/gssapi_generic.h> | 17731 | # include <gssapi/gssapi_generic.h> |
34412 | #endif | 17732 | #endif |
34413 | 17733 | ||
34414 | 17734 | " | |
34415 | int | 17735 | if test "x$ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" = xyes; then : |
34416 | main () | 17736 | ac_have_decl=1 |
34417 | { | ||
34418 | #ifndef GSS_C_NT_HOSTBASED_SERVICE | ||
34419 | (void) GSS_C_NT_HOSTBASED_SERVICE; | ||
34420 | #endif | ||
34421 | |||
34422 | ; | ||
34423 | return 0; | ||
34424 | } | ||
34425 | _ACEOF | ||
34426 | rm -f conftest.$ac_objext | ||
34427 | if { (ac_try="$ac_compile" | ||
34428 | case "(($ac_try" in | ||
34429 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34430 | *) ac_try_echo=$ac_try;; | ||
34431 | esac | ||
34432 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34433 | (eval "$ac_compile") 2>conftest.er1 | ||
34434 | ac_status=$? | ||
34435 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34436 | rm -f conftest.er1 | ||
34437 | cat conftest.err >&5 | ||
34438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34439 | (exit $ac_status); } && { | ||
34440 | test -z "$ac_c_werror_flag" || | ||
34441 | test ! -s conftest.err | ||
34442 | } && test -s conftest.$ac_objext; then | ||
34443 | ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE=yes | ||
34444 | else | 17737 | else |
34445 | echo "$as_me: failed program was:" >&5 | 17738 | ac_have_decl=0 |
34446 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34447 | |||
34448 | ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE=no | ||
34449 | fi | 17739 | fi |
34450 | 17740 | ||
34451 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
34452 | fi | ||
34453 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" >&5 | ||
34454 | echo "${ECHO_T}$ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" >&6; } | ||
34455 | if test $ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE = yes; then | ||
34456 | |||
34457 | cat >>confdefs.h <<_ACEOF | 17741 | cat >>confdefs.h <<_ACEOF |
34458 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE 1 | 17742 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE $ac_have_decl |
34459 | _ACEOF | ||
34460 | |||
34461 | |||
34462 | else | ||
34463 | cat >>confdefs.h <<_ACEOF | ||
34464 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE 0 | ||
34465 | _ACEOF | 17743 | _ACEOF |
34466 | 17744 | ||
34467 | |||
34468 | fi | ||
34469 | |||
34470 | |||
34471 | saved_LIBS="$LIBS" | 17745 | saved_LIBS="$LIBS" |
34472 | LIBS="$LIBS $K5LIBS" | 17746 | LIBS="$LIBS $K5LIBS" |
34473 | 17747 | for ac_func in krb5_cc_new_unique krb5_get_error_message krb5_free_error_message | |
34474 | 17748 | do : | |
34475 | 17749 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
34476 | for ac_func in krb5_cc_new_unique krb5_get_error_message krb5_free_error_message | 17750 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
34477 | do | 17751 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
34478 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
34479 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
34480 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
34481 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
34482 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34483 | else | ||
34484 | cat >conftest.$ac_ext <<_ACEOF | ||
34485 | /* confdefs.h. */ | ||
34486 | _ACEOF | ||
34487 | cat confdefs.h >>conftest.$ac_ext | ||
34488 | cat >>conftest.$ac_ext <<_ACEOF | ||
34489 | /* end confdefs.h. */ | ||
34490 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
34491 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
34492 | #define $ac_func innocuous_$ac_func | ||
34493 | |||
34494 | /* System header to define __stub macros and hopefully few prototypes, | ||
34495 | which can conflict with char $ac_func (); below. | ||
34496 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
34497 | <limits.h> exists even on freestanding compilers. */ | ||
34498 | |||
34499 | #ifdef __STDC__ | ||
34500 | # include <limits.h> | ||
34501 | #else | ||
34502 | # include <assert.h> | ||
34503 | #endif | ||
34504 | |||
34505 | #undef $ac_func | ||
34506 | |||
34507 | /* Override any GCC internal prototype to avoid an error. | ||
34508 | Use char because int might match the return type of a GCC | ||
34509 | builtin and then its argument prototype would still apply. */ | ||
34510 | #ifdef __cplusplus | ||
34511 | extern "C" | ||
34512 | #endif | ||
34513 | char $ac_func (); | ||
34514 | /* The GNU C library defines this for functions which it implements | ||
34515 | to always fail with ENOSYS. Some functions are actually named | ||
34516 | something starting with __ and the normal name is an alias. */ | ||
34517 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
34518 | choke me | ||
34519 | #endif | ||
34520 | |||
34521 | int | ||
34522 | main () | ||
34523 | { | ||
34524 | return $ac_func (); | ||
34525 | ; | ||
34526 | return 0; | ||
34527 | } | ||
34528 | _ACEOF | ||
34529 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
34530 | if { (ac_try="$ac_link" | ||
34531 | case "(($ac_try" in | ||
34532 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34533 | *) ac_try_echo=$ac_try;; | ||
34534 | esac | ||
34535 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34536 | (eval "$ac_link") 2>conftest.er1 | ||
34537 | ac_status=$? | ||
34538 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34539 | rm -f conftest.er1 | ||
34540 | cat conftest.err >&5 | ||
34541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34542 | (exit $ac_status); } && { | ||
34543 | test -z "$ac_c_werror_flag" || | ||
34544 | test ! -s conftest.err | ||
34545 | } && test -s conftest$ac_exeext && | ||
34546 | $as_test_x conftest$ac_exeext; then | ||
34547 | eval "$as_ac_var=yes" | ||
34548 | else | ||
34549 | echo "$as_me: failed program was:" >&5 | ||
34550 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34551 | |||
34552 | eval "$as_ac_var=no" | ||
34553 | fi | ||
34554 | |||
34555 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
34556 | conftest$ac_exeext conftest.$ac_ext | ||
34557 | fi | ||
34558 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
34559 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
34560 | echo "${ECHO_T}$ac_res" >&6; } | ||
34561 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
34562 | cat >>confdefs.h <<_ACEOF | 17752 | cat >>confdefs.h <<_ACEOF |
34563 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17753 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
34564 | _ACEOF | 17754 | _ACEOF |
34565 | 17755 | ||
34566 | fi | 17756 | fi |
@@ -34581,7 +17771,7 @@ fi | |||
34581 | PRIVSEP_PATH=/var/empty | 17771 | PRIVSEP_PATH=/var/empty |
34582 | 17772 | ||
34583 | # Check whether --with-privsep-path was given. | 17773 | # Check whether --with-privsep-path was given. |
34584 | if test "${with_privsep_path+set}" = set; then | 17774 | if test "${with_privsep_path+set}" = set; then : |
34585 | withval=$with_privsep_path; | 17775 | withval=$with_privsep_path; |
34586 | if test -n "$withval" && test "x$withval" != "xno" && \ | 17776 | if test -n "$withval" && test "x$withval" != "xno" && \ |
34587 | test "x${withval}" != "xyes"; then | 17777 | test "x${withval}" != "xyes"; then |
@@ -34595,7 +17785,7 @@ fi | |||
34595 | 17785 | ||
34596 | 17786 | ||
34597 | # Check whether --with-xauth was given. | 17787 | # Check whether --with-xauth was given. |
34598 | if test "${with_xauth+set}" = set; then | 17788 | if test "${with_xauth+set}" = set; then : |
34599 | withval=$with_xauth; | 17789 | withval=$with_xauth; |
34600 | if test -n "$withval" && test "x$withval" != "xno" && \ | 17790 | if test -n "$withval" && test "x$withval" != "xno" && \ |
34601 | test "x${withval}" != "xyes"; then | 17791 | test "x${withval}" != "xyes"; then |
@@ -34611,10 +17801,10 @@ else | |||
34611 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | 17801 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" |
34612 | # Extract the first word of "xauth", so it can be a program name with args. | 17802 | # Extract the first word of "xauth", so it can be a program name with args. |
34613 | set dummy xauth; ac_word=$2 | 17803 | set dummy xauth; ac_word=$2 |
34614 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 17804 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
34615 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 17805 | $as_echo_n "checking for $ac_word... " >&6; } |
34616 | if test "${ac_cv_path_xauth_path+set}" = set; then | 17806 | if ${ac_cv_path_xauth_path+:} false; then : |
34617 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 17807 | $as_echo_n "(cached) " >&6 |
34618 | else | 17808 | else |
34619 | case $xauth_path in | 17809 | case $xauth_path in |
34620 | [\\/]* | ?:[\\/]*) | 17810 | [\\/]* | ?:[\\/]*) |
@@ -34626,14 +17816,14 @@ for as_dir in $TestPath | |||
34626 | do | 17816 | do |
34627 | IFS=$as_save_IFS | 17817 | IFS=$as_save_IFS |
34628 | test -z "$as_dir" && as_dir=. | 17818 | test -z "$as_dir" && as_dir=. |
34629 | for ac_exec_ext in '' $ac_executable_extensions; do | 17819 | for ac_exec_ext in '' $ac_executable_extensions; do |
34630 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 17820 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
34631 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" | 17821 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" |
34632 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 17822 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
34633 | break 2 | 17823 | break 2 |
34634 | fi | 17824 | fi |
34635 | done | 17825 | done |
34636 | done | 17826 | done |
34637 | IFS=$as_save_IFS | 17827 | IFS=$as_save_IFS |
34638 | 17828 | ||
34639 | ;; | 17829 | ;; |
@@ -34641,11 +17831,11 @@ esac | |||
34641 | fi | 17831 | fi |
34642 | xauth_path=$ac_cv_path_xauth_path | 17832 | xauth_path=$ac_cv_path_xauth_path |
34643 | if test -n "$xauth_path"; then | 17833 | if test -n "$xauth_path"; then |
34644 | { echo "$as_me:$LINENO: result: $xauth_path" >&5 | 17834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xauth_path" >&5 |
34645 | echo "${ECHO_T}$xauth_path" >&6; } | 17835 | $as_echo "$xauth_path" >&6; } |
34646 | else | 17836 | else |
34647 | { echo "$as_me:$LINENO: result: no" >&5 | 17837 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
34648 | echo "${ECHO_T}no" >&6; } | 17838 | $as_echo "no" >&6; } |
34649 | fi | 17839 | fi |
34650 | 17840 | ||
34651 | 17841 | ||
@@ -34659,7 +17849,7 @@ fi | |||
34659 | 17849 | ||
34660 | STRIP_OPT=-s | 17850 | STRIP_OPT=-s |
34661 | # Check whether --enable-strip was given. | 17851 | # Check whether --enable-strip was given. |
34662 | if test "${enable_strip+set}" = set; then | 17852 | if test "${enable_strip+set}" = set; then : |
34663 | enableval=$enable_strip; | 17853 | enableval=$enable_strip; |
34664 | if test "x$enableval" = "xno" ; then | 17854 | if test "x$enableval" = "xno" ; then |
34665 | STRIP_OPT= | 17855 | STRIP_OPT= |
@@ -34686,7 +17876,7 @@ fi | |||
34686 | # Check for mail directory | 17876 | # Check for mail directory |
34687 | 17877 | ||
34688 | # Check whether --with-maildir was given. | 17878 | # Check whether --with-maildir was given. |
34689 | if test "${with_maildir+set}" = set; then | 17879 | if test "${with_maildir+set}" = set; then : |
34690 | withval=$with_maildir; | 17880 | withval=$with_maildir; |
34691 | if test "X$withval" != X && test "x$withval" != xno && \ | 17881 | if test "X$withval" != X && test "x$withval" != xno && \ |
34692 | test "x${withval}" != xyes; then | 17882 | test "x${withval}" != xyes; then |
@@ -34705,20 +17895,16 @@ else | |||
34705 | _ACEOF | 17895 | _ACEOF |
34706 | 17896 | ||
34707 | else | 17897 | else |
34708 | { echo "$as_me:$LINENO: checking Discovering system mail directory" >&5 | 17898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking Discovering system mail directory" >&5 |
34709 | echo $ECHO_N "checking Discovering system mail directory... $ECHO_C" >&6; } | 17899 | $as_echo_n "checking Discovering system mail directory... " >&6; } |
34710 | if test "$cross_compiling" = yes; then | 17900 | if test "$cross_compiling" = yes; then : |
34711 | 17901 | ||
34712 | { echo "$as_me:$LINENO: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&5 | 17902 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&5 |
34713 | echo "$as_me: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&2;} | 17903 | $as_echo "$as_me: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&2;} |
34714 | 17904 | ||
34715 | 17905 | ||
34716 | else | 17906 | else |
34717 | cat >conftest.$ac_ext <<_ACEOF | 17907 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
34718 | /* confdefs.h. */ | ||
34719 | _ACEOF | ||
34720 | cat confdefs.h >>conftest.$ac_ext | ||
34721 | cat >>conftest.$ac_ext <<_ACEOF | ||
34722 | /* end confdefs.h. */ | 17908 | /* end confdefs.h. */ |
34723 | 17909 | ||
34724 | #include <stdio.h> | 17910 | #include <stdio.h> |
@@ -34761,32 +17947,13 @@ main () | |||
34761 | return 0; | 17947 | return 0; |
34762 | } | 17948 | } |
34763 | _ACEOF | 17949 | _ACEOF |
34764 | rm -f conftest$ac_exeext | 17950 | if ac_fn_c_try_run "$LINENO"; then : |
34765 | if { (ac_try="$ac_link" | ||
34766 | case "(($ac_try" in | ||
34767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34768 | *) ac_try_echo=$ac_try;; | ||
34769 | esac | ||
34770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34771 | (eval "$ac_link") 2>&5 | ||
34772 | ac_status=$? | ||
34773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34774 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
34775 | { (case "(($ac_try" in | ||
34776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34777 | *) ac_try_echo=$ac_try;; | ||
34778 | esac | ||
34779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34780 | (eval "$ac_try") 2>&5 | ||
34781 | ac_status=$? | ||
34782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34783 | (exit $ac_status); }; }; then | ||
34784 | 17951 | ||
34785 | maildir_what=`awk -F: '{print $1}' conftest.maildir` | 17952 | maildir_what=`awk -F: '{print $1}' conftest.maildir` |
34786 | maildir=`awk -F: '{print $2}' conftest.maildir \ | 17953 | maildir=`awk -F: '{print $2}' conftest.maildir \ |
34787 | | sed 's|/$||'` | 17954 | | sed 's|/$||'` |
34788 | { echo "$as_me:$LINENO: result: Using: $maildir from $maildir_what" >&5 | 17955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using: $maildir from $maildir_what" >&5 |
34789 | echo "${ECHO_T}Using: $maildir from $maildir_what" >&6; } | 17956 | $as_echo "Using: $maildir from $maildir_what" >&6; } |
34790 | if test "x$maildir_what" != "x_PATH_MAILDIR"; then | 17957 | if test "x$maildir_what" != "x_PATH_MAILDIR"; then |
34791 | cat >>confdefs.h <<_ACEOF | 17958 | cat >>confdefs.h <<_ACEOF |
34792 | #define MAIL_DIRECTORY "$maildir" | 17959 | #define MAIL_DIRECTORY "$maildir" |
@@ -34795,30 +17962,25 @@ _ACEOF | |||
34795 | fi | 17962 | fi |
34796 | 17963 | ||
34797 | else | 17964 | else |
34798 | echo "$as_me: program exited with status $ac_status" >&5 | ||
34799 | echo "$as_me: failed program was:" >&5 | ||
34800 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34801 | |||
34802 | ( exit $ac_status ) | ||
34803 | 17965 | ||
34804 | if test "X$ac_status" = "X2";then | 17966 | if test "X$ac_status" = "X2";then |
34805 | # our test program didn't find it. Default to /var/spool/mail | 17967 | # our test program didn't find it. Default to /var/spool/mail |
34806 | { echo "$as_me:$LINENO: result: Using: default value of /var/spool/mail" >&5 | 17968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using: default value of /var/spool/mail" >&5 |
34807 | echo "${ECHO_T}Using: default value of /var/spool/mail" >&6; } | 17969 | $as_echo "Using: default value of /var/spool/mail" >&6; } |
34808 | cat >>confdefs.h <<_ACEOF | 17970 | cat >>confdefs.h <<_ACEOF |
34809 | #define MAIL_DIRECTORY "/var/spool/mail" | 17971 | #define MAIL_DIRECTORY "/var/spool/mail" |
34810 | _ACEOF | 17972 | _ACEOF |
34811 | 17973 | ||
34812 | else | 17974 | else |
34813 | { echo "$as_me:$LINENO: result: *** not found ***" >&5 | 17975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** not found ***" >&5 |
34814 | echo "${ECHO_T}*** not found ***" >&6; } | 17976 | $as_echo "*** not found ***" >&6; } |
34815 | fi | 17977 | fi |
34816 | 17978 | ||
34817 | fi | 17979 | fi |
34818 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17980 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
17981 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
34819 | fi | 17982 | fi |
34820 | 17983 | ||
34821 | |||
34822 | fi | 17984 | fi |
34823 | 17985 | ||
34824 | 17986 | ||
@@ -34826,30 +17988,30 @@ fi | |||
34826 | # maildir | 17988 | # maildir |
34827 | 17989 | ||
34828 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then | 17990 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then |
34829 | { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 | 17991 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 |
34830 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} | 17992 | $as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} |
34831 | disable_ptmx_check=yes | 17993 | disable_ptmx_check=yes |
34832 | fi | 17994 | fi |
34833 | if test -z "$no_dev_ptmx" ; then | 17995 | if test -z "$no_dev_ptmx" ; then |
34834 | if test "x$disable_ptmx_check" != "xyes" ; then | 17996 | if test "x$disable_ptmx_check" != "xyes" ; then |
34835 | { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 | 17997 | as_ac_File=`$as_echo "ac_cv_file_"/dev/ptmx"" | $as_tr_sh` |
34836 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; } | 17998 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptmx\"" >&5 |
34837 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then | 17999 | $as_echo_n "checking for \"/dev/ptmx\"... " >&6; } |
34838 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18000 | if eval \${$as_ac_File+:} false; then : |
18001 | $as_echo_n "(cached) " >&6 | ||
34839 | else | 18002 | else |
34840 | test "$cross_compiling" = yes && | 18003 | test "$cross_compiling" = yes && |
34841 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | 18004 | as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 |
34842 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
34843 | { (exit 1); exit 1; }; } | ||
34844 | if test -r ""/dev/ptmx""; then | 18005 | if test -r ""/dev/ptmx""; then |
34845 | ac_cv_file___dev_ptmx_=yes | 18006 | eval "$as_ac_File=yes" |
34846 | else | 18007 | else |
34847 | ac_cv_file___dev_ptmx_=no | 18008 | eval "$as_ac_File=no" |
34848 | fi | 18009 | fi |
34849 | fi | 18010 | fi |
34850 | { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 | 18011 | eval ac_res=\$$as_ac_File |
34851 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; } | 18012 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
34852 | if test $ac_cv_file___dev_ptmx_ = yes; then | 18013 | $as_echo "$ac_res" >&6; } |
18014 | if eval test \"x\$"$as_ac_File"\" = x"yes"; then : | ||
34853 | 18015 | ||
34854 | 18016 | ||
34855 | cat >>confdefs.h <<_ACEOF | 18017 | cat >>confdefs.h <<_ACEOF |
@@ -34865,24 +18027,24 @@ fi | |||
34865 | fi | 18027 | fi |
34866 | 18028 | ||
34867 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then | 18029 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then |
34868 | { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 | 18030 | as_ac_File=`$as_echo "ac_cv_file_"/dev/ptc"" | $as_tr_sh` |
34869 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; } | 18031 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptc\"" >&5 |
34870 | if test "${ac_cv_file___dev_ptc_+set}" = set; then | 18032 | $as_echo_n "checking for \"/dev/ptc\"... " >&6; } |
34871 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18033 | if eval \${$as_ac_File+:} false; then : |
18034 | $as_echo_n "(cached) " >&6 | ||
34872 | else | 18035 | else |
34873 | test "$cross_compiling" = yes && | 18036 | test "$cross_compiling" = yes && |
34874 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | 18037 | as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 |
34875 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
34876 | { (exit 1); exit 1; }; } | ||
34877 | if test -r ""/dev/ptc""; then | 18038 | if test -r ""/dev/ptc""; then |
34878 | ac_cv_file___dev_ptc_=yes | 18039 | eval "$as_ac_File=yes" |
34879 | else | 18040 | else |
34880 | ac_cv_file___dev_ptc_=no | 18041 | eval "$as_ac_File=no" |
34881 | fi | 18042 | fi |
34882 | fi | 18043 | fi |
34883 | { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 | 18044 | eval ac_res=\$$as_ac_File |
34884 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; } | 18045 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
34885 | if test $ac_cv_file___dev_ptc_ = yes; then | 18046 | $as_echo "$ac_res" >&6; } |
18047 | if eval test \"x\$"$as_ac_File"\" = x"yes"; then : | ||
34886 | 18048 | ||
34887 | 18049 | ||
34888 | cat >>confdefs.h <<_ACEOF | 18050 | cat >>confdefs.h <<_ACEOF |
@@ -34895,23 +18057,21 @@ _ACEOF | |||
34895 | fi | 18057 | fi |
34896 | 18058 | ||
34897 | else | 18059 | else |
34898 | { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5 | 18060 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Disabling /dev/ptc test" >&5 |
34899 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} | 18061 | $as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} |
34900 | fi | 18062 | fi |
34901 | 18063 | ||
34902 | # Options from here on. Some of these are preset by platform above | 18064 | # Options from here on. Some of these are preset by platform above |
34903 | 18065 | ||
34904 | # Check whether --with-mantype was given. | 18066 | # Check whether --with-mantype was given. |
34905 | if test "${with_mantype+set}" = set; then | 18067 | if test "${with_mantype+set}" = set; then : |
34906 | withval=$with_mantype; | 18068 | withval=$with_mantype; |
34907 | case "$withval" in | 18069 | case "$withval" in |
34908 | man|cat|doc) | 18070 | man|cat|doc) |
34909 | MANTYPE=$withval | 18071 | MANTYPE=$withval |
34910 | ;; | 18072 | ;; |
34911 | *) | 18073 | *) |
34912 | { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 | 18074 | as_fn_error $? "invalid man type: $withval" "$LINENO" 5 |
34913 | echo "$as_me: error: invalid man type: $withval" >&2;} | ||
34914 | { (exit 1); exit 1; }; } | ||
34915 | ;; | 18075 | ;; |
34916 | esac | 18076 | esac |
34917 | 18077 | ||
@@ -34924,10 +18084,10 @@ if test -z "$MANTYPE"; then | |||
34924 | do | 18084 | do |
34925 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 18085 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
34926 | set dummy $ac_prog; ac_word=$2 | 18086 | set dummy $ac_prog; ac_word=$2 |
34927 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 | 18087 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
34928 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } | 18088 | $as_echo_n "checking for $ac_word... " >&6; } |
34929 | if test "${ac_cv_path_NROFF+set}" = set; then | 18089 | if ${ac_cv_path_NROFF+:} false; then : |
34930 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18090 | $as_echo_n "(cached) " >&6 |
34931 | else | 18091 | else |
34932 | case $NROFF in | 18092 | case $NROFF in |
34933 | [\\/]* | ?:[\\/]*) | 18093 | [\\/]* | ?:[\\/]*) |
@@ -34939,14 +18099,14 @@ for as_dir in $TestPath | |||
34939 | do | 18099 | do |
34940 | IFS=$as_save_IFS | 18100 | IFS=$as_save_IFS |
34941 | test -z "$as_dir" && as_dir=. | 18101 | test -z "$as_dir" && as_dir=. |
34942 | for ac_exec_ext in '' $ac_executable_extensions; do | 18102 | for ac_exec_ext in '' $ac_executable_extensions; do |
34943 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 18103 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
34944 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | 18104 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" |
34945 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 18105 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
34946 | break 2 | 18106 | break 2 |
34947 | fi | 18107 | fi |
34948 | done | 18108 | done |
34949 | done | 18109 | done |
34950 | IFS=$as_save_IFS | 18110 | IFS=$as_save_IFS |
34951 | 18111 | ||
34952 | ;; | 18112 | ;; |
@@ -34954,11 +18114,11 @@ esac | |||
34954 | fi | 18114 | fi |
34955 | NROFF=$ac_cv_path_NROFF | 18115 | NROFF=$ac_cv_path_NROFF |
34956 | if test -n "$NROFF"; then | 18116 | if test -n "$NROFF"; then |
34957 | { echo "$as_me:$LINENO: result: $NROFF" >&5 | 18117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 |
34958 | echo "${ECHO_T}$NROFF" >&6; } | 18118 | $as_echo "$NROFF" >&6; } |
34959 | else | 18119 | else |
34960 | { echo "$as_me:$LINENO: result: no" >&5 | 18120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
34961 | echo "${ECHO_T}no" >&6; } | 18121 | $as_echo "no" >&6; } |
34962 | fi | 18122 | fi |
34963 | 18123 | ||
34964 | 18124 | ||
@@ -34986,13 +18146,11 @@ fi | |||
34986 | MD5_MSG="no" | 18146 | MD5_MSG="no" |
34987 | 18147 | ||
34988 | # Check whether --with-md5-passwords was given. | 18148 | # Check whether --with-md5-passwords was given. |
34989 | if test "${with_md5_passwords+set}" = set; then | 18149 | if test "${with_md5_passwords+set}" = set; then : |
34990 | withval=$with_md5_passwords; | 18150 | withval=$with_md5_passwords; |
34991 | if test "x$withval" != "xno" ; then | 18151 | if test "x$withval" != "xno" ; then |
34992 | 18152 | ||
34993 | cat >>confdefs.h <<\_ACEOF | 18153 | $as_echo "#define HAVE_MD5_PASSWORDS 1" >>confdefs.h |
34994 | #define HAVE_MD5_PASSWORDS 1 | ||
34995 | _ACEOF | ||
34996 | 18154 | ||
34997 | MD5_MSG="yes" | 18155 | MD5_MSG="yes" |
34998 | fi | 18156 | fi |
@@ -35004,12 +18162,10 @@ fi | |||
35004 | # Whether to disable shadow password support | 18162 | # Whether to disable shadow password support |
35005 | 18163 | ||
35006 | # Check whether --with-shadow was given. | 18164 | # Check whether --with-shadow was given. |
35007 | if test "${with_shadow+set}" = set; then | 18165 | if test "${with_shadow+set}" = set; then : |
35008 | withval=$with_shadow; | 18166 | withval=$with_shadow; |
35009 | if test "x$withval" = "xno" ; then | 18167 | if test "x$withval" = "xno" ; then |
35010 | cat >>confdefs.h <<\_ACEOF | 18168 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h |
35011 | #define DISABLE_SHADOW 1 | ||
35012 | _ACEOF | ||
35013 | 18169 | ||
35014 | disable_shadow=yes | 18170 | disable_shadow=yes |
35015 | fi | 18171 | fi |
@@ -35019,13 +18175,9 @@ fi | |||
35019 | 18175 | ||
35020 | 18176 | ||
35021 | if test -z "$disable_shadow" ; then | 18177 | if test -z "$disable_shadow" ; then |
35022 | { echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 | 18178 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systems has expire shadow information" >&5 |
35023 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6; } | 18179 | $as_echo_n "checking if the systems has expire shadow information... " >&6; } |
35024 | cat >conftest.$ac_ext <<_ACEOF | 18180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35025 | /* confdefs.h. */ | ||
35026 | _ACEOF | ||
35027 | cat confdefs.h >>conftest.$ac_ext | ||
35028 | cat >>conftest.$ac_ext <<_ACEOF | ||
35029 | /* end confdefs.h. */ | 18181 | /* end confdefs.h. */ |
35030 | 18182 | ||
35031 | #include <sys/types.h> | 18183 | #include <sys/types.h> |
@@ -35040,45 +18192,20 @@ main () | |||
35040 | return 0; | 18192 | return 0; |
35041 | } | 18193 | } |
35042 | _ACEOF | 18194 | _ACEOF |
35043 | rm -f conftest.$ac_objext | 18195 | if ac_fn_c_try_compile "$LINENO"; then : |
35044 | if { (ac_try="$ac_compile" | ||
35045 | case "(($ac_try" in | ||
35046 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35047 | *) ac_try_echo=$ac_try;; | ||
35048 | esac | ||
35049 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35050 | (eval "$ac_compile") 2>conftest.er1 | ||
35051 | ac_status=$? | ||
35052 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35053 | rm -f conftest.er1 | ||
35054 | cat conftest.err >&5 | ||
35055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35056 | (exit $ac_status); } && { | ||
35057 | test -z "$ac_c_werror_flag" || | ||
35058 | test ! -s conftest.err | ||
35059 | } && test -s conftest.$ac_objext; then | ||
35060 | sp_expire_available=yes | 18196 | sp_expire_available=yes |
35061 | else | ||
35062 | echo "$as_me: failed program was:" >&5 | ||
35063 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35064 | |||
35065 | |||
35066 | |||
35067 | fi | 18197 | fi |
35068 | |||
35069 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18198 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
35070 | 18199 | ||
35071 | if test "x$sp_expire_available" = "xyes" ; then | 18200 | if test "x$sp_expire_available" = "xyes" ; then |
35072 | { echo "$as_me:$LINENO: result: yes" >&5 | 18201 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35073 | echo "${ECHO_T}yes" >&6; } | 18202 | $as_echo "yes" >&6; } |
35074 | 18203 | ||
35075 | cat >>confdefs.h <<\_ACEOF | 18204 | $as_echo "#define HAS_SHADOW_EXPIRE 1" >>confdefs.h |
35076 | #define HAS_SHADOW_EXPIRE 1 | ||
35077 | _ACEOF | ||
35078 | 18205 | ||
35079 | else | 18206 | else |
35080 | { echo "$as_me:$LINENO: result: no" >&5 | 18207 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35081 | echo "${ECHO_T}no" >&6; } | 18208 | $as_echo "no" >&6; } |
35082 | fi | 18209 | fi |
35083 | fi | 18210 | fi |
35084 | 18211 | ||
@@ -35086,20 +18213,16 @@ fi | |||
35086 | if test ! -z "$IPADDR_IN_DISPLAY" ; then | 18213 | if test ! -z "$IPADDR_IN_DISPLAY" ; then |
35087 | DISPLAY_HACK_MSG="yes" | 18214 | DISPLAY_HACK_MSG="yes" |
35088 | 18215 | ||
35089 | cat >>confdefs.h <<\_ACEOF | 18216 | $as_echo "#define IPADDR_IN_DISPLAY 1" >>confdefs.h |
35090 | #define IPADDR_IN_DISPLAY 1 | ||
35091 | _ACEOF | ||
35092 | 18217 | ||
35093 | else | 18218 | else |
35094 | DISPLAY_HACK_MSG="no" | 18219 | DISPLAY_HACK_MSG="no" |
35095 | 18220 | ||
35096 | # Check whether --with-ipaddr-display was given. | 18221 | # Check whether --with-ipaddr-display was given. |
35097 | if test "${with_ipaddr_display+set}" = set; then | 18222 | if test "${with_ipaddr_display+set}" = set; then : |
35098 | withval=$with_ipaddr_display; | 18223 | withval=$with_ipaddr_display; |
35099 | if test "x$withval" != "xno" ; then | 18224 | if test "x$withval" != "xno" ; then |
35100 | cat >>confdefs.h <<\_ACEOF | 18225 | $as_echo "#define IPADDR_IN_DISPLAY 1" >>confdefs.h |
35101 | #define IPADDR_IN_DISPLAY 1 | ||
35102 | _ACEOF | ||
35103 | 18226 | ||
35104 | DISPLAY_HACK_MSG="yes" | 18227 | DISPLAY_HACK_MSG="yes" |
35105 | fi | 18228 | fi |
@@ -35111,10 +18234,10 @@ fi | |||
35111 | 18234 | ||
35112 | # check for /etc/default/login and use it if present. | 18235 | # check for /etc/default/login and use it if present. |
35113 | # Check whether --enable-etc-default-login was given. | 18236 | # Check whether --enable-etc-default-login was given. |
35114 | if test "${enable_etc_default_login+set}" = set; then | 18237 | if test "${enable_etc_default_login+set}" = set; then : |
35115 | enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then | 18238 | enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then |
35116 | { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5 | 18239 | { $as_echo "$as_me:${as_lineno-$LINENO}: /etc/default/login handling disabled" >&5 |
35117 | echo "$as_me: /etc/default/login handling disabled" >&6;} | 18240 | $as_echo "$as_me: /etc/default/login handling disabled" >&6;} |
35118 | etc_default_login=no | 18241 | etc_default_login=no |
35119 | else | 18242 | else |
35120 | etc_default_login=yes | 18243 | etc_default_login=yes |
@@ -35122,8 +18245,8 @@ echo "$as_me: /etc/default/login handling disabled" >&6;} | |||
35122 | else | 18245 | else |
35123 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; | 18246 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; |
35124 | then | 18247 | then |
35125 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5 | 18248 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking /etc/default/login" >&5 |
35126 | echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} | 18249 | $as_echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} |
35127 | etc_default_login=no | 18250 | etc_default_login=no |
35128 | else | 18251 | else |
35129 | etc_default_login=yes | 18252 | etc_default_login=yes |
@@ -35133,32 +18256,30 @@ fi | |||
35133 | 18256 | ||
35134 | 18257 | ||
35135 | if test "x$etc_default_login" != "xno"; then | 18258 | if test "x$etc_default_login" != "xno"; then |
35136 | { echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 | 18259 | as_ac_File=`$as_echo "ac_cv_file_"/etc/default/login"" | $as_tr_sh` |
35137 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6; } | 18260 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/etc/default/login\"" >&5 |
35138 | if test "${ac_cv_file___etc_default_login_+set}" = set; then | 18261 | $as_echo_n "checking for \"/etc/default/login\"... " >&6; } |
35139 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 18262 | if eval \${$as_ac_File+:} false; then : |
18263 | $as_echo_n "(cached) " >&6 | ||
35140 | else | 18264 | else |
35141 | test "$cross_compiling" = yes && | 18265 | test "$cross_compiling" = yes && |
35142 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 | 18266 | as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 |
35143 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
35144 | { (exit 1); exit 1; }; } | ||
35145 | if test -r ""/etc/default/login""; then | 18267 | if test -r ""/etc/default/login""; then |
35146 | ac_cv_file___etc_default_login_=yes | 18268 | eval "$as_ac_File=yes" |
35147 | else | 18269 | else |
35148 | ac_cv_file___etc_default_login_=no | 18270 | eval "$as_ac_File=no" |
35149 | fi | 18271 | fi |
35150 | fi | 18272 | fi |
35151 | { echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5 | 18273 | eval ac_res=\$$as_ac_File |
35152 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6; } | 18274 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
35153 | if test $ac_cv_file___etc_default_login_ = yes; then | 18275 | $as_echo "$ac_res" >&6; } |
18276 | if eval test \"x\$"$as_ac_File"\" = x"yes"; then : | ||
35154 | external_path_file=/etc/default/login | 18277 | external_path_file=/etc/default/login |
35155 | fi | 18278 | fi |
35156 | 18279 | ||
35157 | if test "x$external_path_file" = "x/etc/default/login"; then | 18280 | if test "x$external_path_file" = "x/etc/default/login"; then |
35158 | 18281 | ||
35159 | cat >>confdefs.h <<\_ACEOF | 18282 | $as_echo "#define HAVE_ETC_DEFAULT_LOGIN 1" >>confdefs.h |
35160 | #define HAVE_ETC_DEFAULT_LOGIN 1 | ||
35161 | _ACEOF | ||
35162 | 18283 | ||
35163 | fi | 18284 | fi |
35164 | fi | 18285 | fi |
@@ -35172,21 +18293,21 @@ fi | |||
35172 | SERVER_PATH_MSG="(default)" | 18293 | SERVER_PATH_MSG="(default)" |
35173 | 18294 | ||
35174 | # Check whether --with-default-path was given. | 18295 | # Check whether --with-default-path was given. |
35175 | if test "${with_default_path+set}" = set; then | 18296 | if test "${with_default_path+set}" = set; then : |
35176 | withval=$with_default_path; | 18297 | withval=$with_default_path; |
35177 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 18298 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
35178 | { echo "$as_me:$LINENO: WARNING: | 18299 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: |
35179 | --with-default-path=PATH has no effect on this system. | 18300 | --with-default-path=PATH has no effect on this system. |
35180 | Edit /etc/login.conf instead." >&5 | 18301 | Edit /etc/login.conf instead." >&5 |
35181 | echo "$as_me: WARNING: | 18302 | $as_echo "$as_me: WARNING: |
35182 | --with-default-path=PATH has no effect on this system. | 18303 | --with-default-path=PATH has no effect on this system. |
35183 | Edit /etc/login.conf instead." >&2;} | 18304 | Edit /etc/login.conf instead." >&2;} |
35184 | elif test "x$withval" != "xno" ; then | 18305 | elif test "x$withval" != "xno" ; then |
35185 | if test ! -z "$external_path_file" ; then | 18306 | if test ! -z "$external_path_file" ; then |
35186 | { echo "$as_me:$LINENO: WARNING: | 18307 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: |
35187 | --with-default-path=PATH will only be used if PATH is not defined in | 18308 | --with-default-path=PATH will only be used if PATH is not defined in |
35188 | $external_path_file ." >&5 | 18309 | $external_path_file ." >&5 |
35189 | echo "$as_me: WARNING: | 18310 | $as_echo "$as_me: WARNING: |
35190 | --with-default-path=PATH will only be used if PATH is not defined in | 18311 | --with-default-path=PATH will only be used if PATH is not defined in |
35191 | $external_path_file ." >&2;} | 18312 | $external_path_file ." >&2;} |
35192 | fi | 18313 | fi |
@@ -35196,26 +18317,22 @@ $external_path_file ." >&2;} | |||
35196 | 18317 | ||
35197 | else | 18318 | else |
35198 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 18319 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
35199 | { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 | 18320 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 |
35200 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} | 18321 | $as_echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} |
35201 | else | 18322 | else |
35202 | if test ! -z "$external_path_file" ; then | 18323 | if test ! -z "$external_path_file" ; then |
35203 | { echo "$as_me:$LINENO: WARNING: | 18324 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: |
35204 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 18325 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
35205 | otherwise scp will not work." >&5 | 18326 | otherwise scp will not work." >&5 |
35206 | echo "$as_me: WARNING: | 18327 | $as_echo "$as_me: WARNING: |
35207 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 18328 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
35208 | otherwise scp will not work." >&2;} | 18329 | otherwise scp will not work." >&2;} |
35209 | fi | 18330 | fi |
35210 | if test "$cross_compiling" = yes; then | 18331 | if test "$cross_compiling" = yes; then : |
35211 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | 18332 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" |
35212 | 18333 | ||
35213 | else | 18334 | else |
35214 | cat >conftest.$ac_ext <<_ACEOF | 18335 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35215 | /* confdefs.h. */ | ||
35216 | _ACEOF | ||
35217 | cat confdefs.h >>conftest.$ac_ext | ||
35218 | cat >>conftest.$ac_ext <<_ACEOF | ||
35219 | /* end confdefs.h. */ | 18336 | /* end confdefs.h. */ |
35220 | 18337 | ||
35221 | /* find out what STDPATH is */ | 18338 | /* find out what STDPATH is */ |
@@ -35255,39 +18372,15 @@ main () | |||
35255 | return 0; | 18372 | return 0; |
35256 | } | 18373 | } |
35257 | _ACEOF | 18374 | _ACEOF |
35258 | rm -f conftest$ac_exeext | 18375 | if ac_fn_c_try_run "$LINENO"; then : |
35259 | if { (ac_try="$ac_link" | ||
35260 | case "(($ac_try" in | ||
35261 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35262 | *) ac_try_echo=$ac_try;; | ||
35263 | esac | ||
35264 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35265 | (eval "$ac_link") 2>&5 | ||
35266 | ac_status=$? | ||
35267 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35268 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
35269 | { (case "(($ac_try" in | ||
35270 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35271 | *) ac_try_echo=$ac_try;; | ||
35272 | esac | ||
35273 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35274 | (eval "$ac_try") 2>&5 | ||
35275 | ac_status=$? | ||
35276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35277 | (exit $ac_status); }; }; then | ||
35278 | user_path=`cat conftest.stdpath` | 18376 | user_path=`cat conftest.stdpath` |
35279 | else | 18377 | else |
35280 | echo "$as_me: program exited with status $ac_status" >&5 | 18378 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" |
35281 | echo "$as_me: failed program was:" >&5 | ||
35282 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35283 | |||
35284 | ( exit $ac_status ) | ||
35285 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | ||
35286 | fi | 18379 | fi |
35287 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 18380 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
18381 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
35288 | fi | 18382 | fi |
35289 | 18383 | ||
35290 | |||
35291 | # make sure $bindir is in USER_PATH so scp will work | 18384 | # make sure $bindir is in USER_PATH so scp will work |
35292 | t_bindir="${bindir}" | 18385 | t_bindir="${bindir}" |
35293 | while echo "${t_bindir}" | egrep '\$\{|NONE/' >/dev/null 2>&1; do | 18386 | while echo "${t_bindir}" | egrep '\$\{|NONE/' >/dev/null 2>&1; do |
@@ -35304,8 +18397,8 @@ fi | |||
35304 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | 18397 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |
35305 | if test $? -ne 0 ; then | 18398 | if test $? -ne 0 ; then |
35306 | user_path=$user_path:$t_bindir | 18399 | user_path=$user_path:$t_bindir |
35307 | { echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | 18400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Adding $t_bindir to USER_PATH so scp will work" >&5 |
35308 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6; } | 18401 | $as_echo "Adding $t_bindir to USER_PATH so scp will work" >&6; } |
35309 | fi | 18402 | fi |
35310 | fi | 18403 | fi |
35311 | fi | 18404 | fi |
@@ -35324,7 +18417,7 @@ fi | |||
35324 | # Set superuser path separately to user path | 18417 | # Set superuser path separately to user path |
35325 | 18418 | ||
35326 | # Check whether --with-superuser-path was given. | 18419 | # Check whether --with-superuser-path was given. |
35327 | if test "${with_superuser_path+set}" = set; then | 18420 | if test "${with_superuser_path+set}" = set; then : |
35328 | withval=$with_superuser_path; | 18421 | withval=$with_superuser_path; |
35329 | if test -n "$withval" && test "x$withval" != "xno" && \ | 18422 | if test -n "$withval" && test "x$withval" != "xno" && \ |
35330 | test "x${withval}" != "xyes"; then | 18423 | test "x${withval}" != "xyes"; then |
@@ -35341,40 +18434,36 @@ fi | |||
35341 | 18434 | ||
35342 | 18435 | ||
35343 | 18436 | ||
35344 | { echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | 18437 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 |
35345 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6; } | 18438 | $as_echo_n "checking if we need to convert IPv4 in IPv6-mapped addresses... " >&6; } |
35346 | IPV4_IN6_HACK_MSG="no" | 18439 | IPV4_IN6_HACK_MSG="no" |
35347 | 18440 | ||
35348 | # Check whether --with-4in6 was given. | 18441 | # Check whether --with-4in6 was given. |
35349 | if test "${with_4in6+set}" = set; then | 18442 | if test "${with_4in6+set}" = set; then : |
35350 | withval=$with_4in6; | 18443 | withval=$with_4in6; |
35351 | if test "x$withval" != "xno" ; then | 18444 | if test "x$withval" != "xno" ; then |
35352 | { echo "$as_me:$LINENO: result: yes" >&5 | 18445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35353 | echo "${ECHO_T}yes" >&6; } | 18446 | $as_echo "yes" >&6; } |
35354 | 18447 | ||
35355 | cat >>confdefs.h <<\_ACEOF | 18448 | $as_echo "#define IPV4_IN_IPV6 1" >>confdefs.h |
35356 | #define IPV4_IN_IPV6 1 | ||
35357 | _ACEOF | ||
35358 | 18449 | ||
35359 | IPV4_IN6_HACK_MSG="yes" | 18450 | IPV4_IN6_HACK_MSG="yes" |
35360 | else | 18451 | else |
35361 | { echo "$as_me:$LINENO: result: no" >&5 | 18452 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35362 | echo "${ECHO_T}no" >&6; } | 18453 | $as_echo "no" >&6; } |
35363 | fi | 18454 | fi |
35364 | 18455 | ||
35365 | else | 18456 | else |
35366 | 18457 | ||
35367 | if test "x$inet6_default_4in6" = "xyes"; then | 18458 | if test "x$inet6_default_4in6" = "xyes"; then |
35368 | { echo "$as_me:$LINENO: result: yes (default)" >&5 | 18459 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5 |
35369 | echo "${ECHO_T}yes (default)" >&6; } | 18460 | $as_echo "yes (default)" >&6; } |
35370 | cat >>confdefs.h <<\_ACEOF | 18461 | $as_echo "#define IPV4_IN_IPV6 1" >>confdefs.h |
35371 | #define IPV4_IN_IPV6 1 | ||
35372 | _ACEOF | ||
35373 | 18462 | ||
35374 | IPV4_IN6_HACK_MSG="yes" | 18463 | IPV4_IN6_HACK_MSG="yes" |
35375 | else | 18464 | else |
35376 | { echo "$as_me:$LINENO: result: no (default)" >&5 | 18465 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 |
35377 | echo "${ECHO_T}no (default)" >&6; } | 18466 | $as_echo "no (default)" >&6; } |
35378 | fi | 18467 | fi |
35379 | 18468 | ||
35380 | 18469 | ||
@@ -35385,13 +18474,11 @@ fi | |||
35385 | BSD_AUTH_MSG=no | 18474 | BSD_AUTH_MSG=no |
35386 | 18475 | ||
35387 | # Check whether --with-bsd-auth was given. | 18476 | # Check whether --with-bsd-auth was given. |
35388 | if test "${with_bsd_auth+set}" = set; then | 18477 | if test "${with_bsd_auth+set}" = set; then : |
35389 | withval=$with_bsd_auth; | 18478 | withval=$with_bsd_auth; |
35390 | if test "x$withval" != "xno" ; then | 18479 | if test "x$withval" != "xno" ; then |
35391 | 18480 | ||
35392 | cat >>confdefs.h <<\_ACEOF | 18481 | $as_echo "#define BSD_AUTH 1" >>confdefs.h |
35393 | #define BSD_AUTH 1 | ||
35394 | _ACEOF | ||
35395 | 18482 | ||
35396 | BSD_AUTH_MSG=yes | 18483 | BSD_AUTH_MSG=yes |
35397 | fi | 18484 | fi |
@@ -35412,14 +18499,14 @@ fi | |||
35412 | 18499 | ||
35413 | 18500 | ||
35414 | # Check whether --with-pid-dir was given. | 18501 | # Check whether --with-pid-dir was given. |
35415 | if test "${with_pid_dir+set}" = set; then | 18502 | if test "${with_pid_dir+set}" = set; then : |
35416 | withval=$with_pid_dir; | 18503 | withval=$with_pid_dir; |
35417 | if test -n "$withval" && test "x$withval" != "xno" && \ | 18504 | if test -n "$withval" && test "x$withval" != "xno" && \ |
35418 | test "x${withval}" != "xyes"; then | 18505 | test "x${withval}" != "xyes"; then |
35419 | piddir=$withval | 18506 | piddir=$withval |
35420 | if test ! -d $piddir ; then | 18507 | if test ! -d $piddir ; then |
35421 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 | 18508 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** no $piddir directory on this system **" >&5 |
35422 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | 18509 | $as_echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} |
35423 | fi | 18510 | fi |
35424 | fi | 18511 | fi |
35425 | 18512 | ||
@@ -35435,12 +18522,10 @@ _ACEOF | |||
35435 | 18522 | ||
35436 | 18523 | ||
35437 | # Check whether --enable-lastlog was given. | 18524 | # Check whether --enable-lastlog was given. |
35438 | if test "${enable_lastlog+set}" = set; then | 18525 | if test "${enable_lastlog+set}" = set; then : |
35439 | enableval=$enable_lastlog; | 18526 | enableval=$enable_lastlog; |
35440 | if test "x$enableval" = "xno" ; then | 18527 | if test "x$enableval" = "xno" ; then |
35441 | cat >>confdefs.h <<\_ACEOF | 18528 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h |
35442 | #define DISABLE_LASTLOG 1 | ||
35443 | _ACEOF | ||
35444 | 18529 | ||
35445 | fi | 18530 | fi |
35446 | 18531 | ||
@@ -35448,12 +18533,10 @@ _ACEOF | |||
35448 | fi | 18533 | fi |
35449 | 18534 | ||
35450 | # Check whether --enable-utmp was given. | 18535 | # Check whether --enable-utmp was given. |
35451 | if test "${enable_utmp+set}" = set; then | 18536 | if test "${enable_utmp+set}" = set; then : |
35452 | enableval=$enable_utmp; | 18537 | enableval=$enable_utmp; |
35453 | if test "x$enableval" = "xno" ; then | 18538 | if test "x$enableval" = "xno" ; then |
35454 | cat >>confdefs.h <<\_ACEOF | 18539 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h |
35455 | #define DISABLE_UTMP 1 | ||
35456 | _ACEOF | ||
35457 | 18540 | ||
35458 | fi | 18541 | fi |
35459 | 18542 | ||
@@ -35461,13 +18544,11 @@ _ACEOF | |||
35461 | fi | 18544 | fi |
35462 | 18545 | ||
35463 | # Check whether --enable-utmpx was given. | 18546 | # Check whether --enable-utmpx was given. |
35464 | if test "${enable_utmpx+set}" = set; then | 18547 | if test "${enable_utmpx+set}" = set; then : |
35465 | enableval=$enable_utmpx; | 18548 | enableval=$enable_utmpx; |
35466 | if test "x$enableval" = "xno" ; then | 18549 | if test "x$enableval" = "xno" ; then |
35467 | 18550 | ||
35468 | cat >>confdefs.h <<\_ACEOF | 18551 | $as_echo "#define DISABLE_UTMPX 1" >>confdefs.h |
35469 | #define DISABLE_UTMPX 1 | ||
35470 | _ACEOF | ||
35471 | 18552 | ||
35472 | fi | 18553 | fi |
35473 | 18554 | ||
@@ -35475,12 +18556,10 @@ _ACEOF | |||
35475 | fi | 18556 | fi |
35476 | 18557 | ||
35477 | # Check whether --enable-wtmp was given. | 18558 | # Check whether --enable-wtmp was given. |
35478 | if test "${enable_wtmp+set}" = set; then | 18559 | if test "${enable_wtmp+set}" = set; then : |
35479 | enableval=$enable_wtmp; | 18560 | enableval=$enable_wtmp; |
35480 | if test "x$enableval" = "xno" ; then | 18561 | if test "x$enableval" = "xno" ; then |
35481 | cat >>confdefs.h <<\_ACEOF | 18562 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h |
35482 | #define DISABLE_WTMP 1 | ||
35483 | _ACEOF | ||
35484 | 18563 | ||
35485 | fi | 18564 | fi |
35486 | 18565 | ||
@@ -35488,13 +18567,11 @@ _ACEOF | |||
35488 | fi | 18567 | fi |
35489 | 18568 | ||
35490 | # Check whether --enable-wtmpx was given. | 18569 | # Check whether --enable-wtmpx was given. |
35491 | if test "${enable_wtmpx+set}" = set; then | 18570 | if test "${enable_wtmpx+set}" = set; then : |
35492 | enableval=$enable_wtmpx; | 18571 | enableval=$enable_wtmpx; |
35493 | if test "x$enableval" = "xno" ; then | 18572 | if test "x$enableval" = "xno" ; then |
35494 | 18573 | ||
35495 | cat >>confdefs.h <<\_ACEOF | 18574 | $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h |
35496 | #define DISABLE_WTMPX 1 | ||
35497 | _ACEOF | ||
35498 | 18575 | ||
35499 | fi | 18576 | fi |
35500 | 18577 | ||
@@ -35502,12 +18579,10 @@ _ACEOF | |||
35502 | fi | 18579 | fi |
35503 | 18580 | ||
35504 | # Check whether --enable-libutil was given. | 18581 | # Check whether --enable-libutil was given. |
35505 | if test "${enable_libutil+set}" = set; then | 18582 | if test "${enable_libutil+set}" = set; then : |
35506 | enableval=$enable_libutil; | 18583 | enableval=$enable_libutil; |
35507 | if test "x$enableval" = "xno" ; then | 18584 | if test "x$enableval" = "xno" ; then |
35508 | cat >>confdefs.h <<\_ACEOF | 18585 | $as_echo "#define DISABLE_LOGIN 1" >>confdefs.h |
35509 | #define DISABLE_LOGIN 1 | ||
35510 | _ACEOF | ||
35511 | 18586 | ||
35512 | fi | 18587 | fi |
35513 | 18588 | ||
@@ -35515,13 +18590,11 @@ _ACEOF | |||
35515 | fi | 18590 | fi |
35516 | 18591 | ||
35517 | # Check whether --enable-pututline was given. | 18592 | # Check whether --enable-pututline was given. |
35518 | if test "${enable_pututline+set}" = set; then | 18593 | if test "${enable_pututline+set}" = set; then : |
35519 | enableval=$enable_pututline; | 18594 | enableval=$enable_pututline; |
35520 | if test "x$enableval" = "xno" ; then | 18595 | if test "x$enableval" = "xno" ; then |
35521 | 18596 | ||
35522 | cat >>confdefs.h <<\_ACEOF | 18597 | $as_echo "#define DISABLE_PUTUTLINE 1" >>confdefs.h |
35523 | #define DISABLE_PUTUTLINE 1 | ||
35524 | _ACEOF | ||
35525 | 18598 | ||
35526 | fi | 18599 | fi |
35527 | 18600 | ||
@@ -35529,13 +18602,11 @@ _ACEOF | |||
35529 | fi | 18602 | fi |
35530 | 18603 | ||
35531 | # Check whether --enable-pututxline was given. | 18604 | # Check whether --enable-pututxline was given. |
35532 | if test "${enable_pututxline+set}" = set; then | 18605 | if test "${enable_pututxline+set}" = set; then : |
35533 | enableval=$enable_pututxline; | 18606 | enableval=$enable_pututxline; |
35534 | if test "x$enableval" = "xno" ; then | 18607 | if test "x$enableval" = "xno" ; then |
35535 | 18608 | ||
35536 | cat >>confdefs.h <<\_ACEOF | 18609 | $as_echo "#define DISABLE_PUTUTXLINE 1" >>confdefs.h |
35537 | #define DISABLE_PUTUTXLINE 1 | ||
35538 | _ACEOF | ||
35539 | 18610 | ||
35540 | fi | 18611 | fi |
35541 | 18612 | ||
@@ -35544,12 +18615,10 @@ fi | |||
35544 | 18615 | ||
35545 | 18616 | ||
35546 | # Check whether --with-lastlog was given. | 18617 | # Check whether --with-lastlog was given. |
35547 | if test "${with_lastlog+set}" = set; then | 18618 | if test "${with_lastlog+set}" = set; then : |
35548 | withval=$with_lastlog; | 18619 | withval=$with_lastlog; |
35549 | if test "x$withval" = "xno" ; then | 18620 | if test "x$withval" = "xno" ; then |
35550 | cat >>confdefs.h <<\_ACEOF | 18621 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h |
35551 | #define DISABLE_LASTLOG 1 | ||
35552 | _ACEOF | ||
35553 | 18622 | ||
35554 | elif test -n "$withval" && test "x${withval}" != "xyes"; then | 18623 | elif test -n "$withval" && test "x${withval}" != "xyes"; then |
35555 | conf_lastlog_location=$withval | 18624 | conf_lastlog_location=$withval |
@@ -35560,13 +18629,9 @@ fi | |||
35560 | 18629 | ||
35561 | 18630 | ||
35562 | 18631 | ||
35563 | { echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 | 18632 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines LASTLOG_FILE" >&5 |
35564 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; } | 18633 | $as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; } |
35565 | cat >conftest.$ac_ext <<_ACEOF | 18634 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35566 | /* confdefs.h. */ | ||
35567 | _ACEOF | ||
35568 | cat confdefs.h >>conftest.$ac_ext | ||
35569 | cat >>conftest.$ac_ext <<_ACEOF | ||
35570 | /* end confdefs.h. */ | 18635 | /* end confdefs.h. */ |
35571 | 18636 | ||
35572 | #include <sys/types.h> | 18637 | #include <sys/types.h> |
@@ -35589,39 +18654,16 @@ main () | |||
35589 | return 0; | 18654 | return 0; |
35590 | } | 18655 | } |
35591 | _ACEOF | 18656 | _ACEOF |
35592 | rm -f conftest.$ac_objext | 18657 | if ac_fn_c_try_compile "$LINENO"; then : |
35593 | if { (ac_try="$ac_compile" | 18658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35594 | case "(($ac_try" in | 18659 | $as_echo "yes" >&6; } |
35595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35596 | *) ac_try_echo=$ac_try;; | ||
35597 | esac | ||
35598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35599 | (eval "$ac_compile") 2>conftest.er1 | ||
35600 | ac_status=$? | ||
35601 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35602 | rm -f conftest.er1 | ||
35603 | cat conftest.err >&5 | ||
35604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35605 | (exit $ac_status); } && { | ||
35606 | test -z "$ac_c_werror_flag" || | ||
35607 | test ! -s conftest.err | ||
35608 | } && test -s conftest.$ac_objext; then | ||
35609 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
35610 | echo "${ECHO_T}yes" >&6; } | ||
35611 | else | 18660 | else |
35612 | echo "$as_me: failed program was:" >&5 | ||
35613 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35614 | |||
35615 | 18661 | ||
35616 | { echo "$as_me:$LINENO: result: no" >&5 | 18662 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35617 | echo "${ECHO_T}no" >&6; } | 18663 | $as_echo "no" >&6; } |
35618 | { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 | 18664 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines _PATH_LASTLOG" >&5 |
35619 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; } | 18665 | $as_echo_n "checking if your system defines _PATH_LASTLOG... " >&6; } |
35620 | cat >conftest.$ac_ext <<_ACEOF | 18666 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35621 | /* confdefs.h. */ | ||
35622 | _ACEOF | ||
35623 | cat confdefs.h >>conftest.$ac_ext | ||
35624 | cat >>conftest.$ac_ext <<_ACEOF | ||
35625 | /* end confdefs.h. */ | 18667 | /* end confdefs.h. */ |
35626 | 18668 | ||
35627 | #include <sys/types.h> | 18669 | #include <sys/types.h> |
@@ -35641,40 +18683,19 @@ main () | |||
35641 | return 0; | 18683 | return 0; |
35642 | } | 18684 | } |
35643 | _ACEOF | 18685 | _ACEOF |
35644 | rm -f conftest.$ac_objext | 18686 | if ac_fn_c_try_compile "$LINENO"; then : |
35645 | if { (ac_try="$ac_compile" | 18687 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35646 | case "(($ac_try" in | 18688 | $as_echo "yes" >&6; } |
35647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35648 | *) ac_try_echo=$ac_try;; | ||
35649 | esac | ||
35650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35651 | (eval "$ac_compile") 2>conftest.er1 | ||
35652 | ac_status=$? | ||
35653 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35654 | rm -f conftest.er1 | ||
35655 | cat conftest.err >&5 | ||
35656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35657 | (exit $ac_status); } && { | ||
35658 | test -z "$ac_c_werror_flag" || | ||
35659 | test ! -s conftest.err | ||
35660 | } && test -s conftest.$ac_objext; then | ||
35661 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
35662 | echo "${ECHO_T}yes" >&6; } | ||
35663 | else | 18689 | else |
35664 | echo "$as_me: failed program was:" >&5 | ||
35665 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35666 | 18690 | ||
35667 | 18691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
35668 | { echo "$as_me:$LINENO: result: no" >&5 | 18692 | $as_echo "no" >&6; } |
35669 | echo "${ECHO_T}no" >&6; } | ||
35670 | system_lastlog_path=no | 18693 | system_lastlog_path=no |
35671 | 18694 | ||
35672 | fi | 18695 | fi |
35673 | |||
35674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18696 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
35675 | 18697 | ||
35676 | fi | 18698 | fi |
35677 | |||
35678 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
35679 | 18700 | ||
35680 | if test -z "$conf_lastlog_location"; then | 18701 | if test -z "$conf_lastlog_location"; then |
@@ -35685,8 +18706,8 @@ if test -z "$conf_lastlog_location"; then | |||
35685 | fi | 18706 | fi |
35686 | done | 18707 | done |
35687 | if test -z "$conf_lastlog_location"; then | 18708 | if test -z "$conf_lastlog_location"; then |
35688 | { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 | 18709 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Cannot find lastlog **" >&5 |
35689 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} | 18710 | $as_echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} |
35690 | fi | 18711 | fi |
35691 | fi | 18712 | fi |
35692 | fi | 18713 | fi |
@@ -35699,13 +18720,9 @@ _ACEOF | |||
35699 | 18720 | ||
35700 | fi | 18721 | fi |
35701 | 18722 | ||
35702 | { echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 | 18723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines UTMP_FILE" >&5 |
35703 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; } | 18724 | $as_echo_n "checking if your system defines UTMP_FILE... " >&6; } |
35704 | cat >conftest.$ac_ext <<_ACEOF | 18725 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35705 | /* confdefs.h. */ | ||
35706 | _ACEOF | ||
35707 | cat confdefs.h >>conftest.$ac_ext | ||
35708 | cat >>conftest.$ac_ext <<_ACEOF | ||
35709 | /* end confdefs.h. */ | 18726 | /* end confdefs.h. */ |
35710 | 18727 | ||
35711 | #include <sys/types.h> | 18728 | #include <sys/types.h> |
@@ -35722,35 +18739,15 @@ main () | |||
35722 | return 0; | 18739 | return 0; |
35723 | } | 18740 | } |
35724 | _ACEOF | 18741 | _ACEOF |
35725 | rm -f conftest.$ac_objext | 18742 | if ac_fn_c_try_compile "$LINENO"; then : |
35726 | if { (ac_try="$ac_compile" | 18743 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35727 | case "(($ac_try" in | 18744 | $as_echo "yes" >&6; } |
35728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35729 | *) ac_try_echo=$ac_try;; | ||
35730 | esac | ||
35731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35732 | (eval "$ac_compile") 2>conftest.er1 | ||
35733 | ac_status=$? | ||
35734 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35735 | rm -f conftest.er1 | ||
35736 | cat conftest.err >&5 | ||
35737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35738 | (exit $ac_status); } && { | ||
35739 | test -z "$ac_c_werror_flag" || | ||
35740 | test ! -s conftest.err | ||
35741 | } && test -s conftest.$ac_objext; then | ||
35742 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
35743 | echo "${ECHO_T}yes" >&6; } | ||
35744 | else | 18745 | else |
35745 | echo "$as_me: failed program was:" >&5 | 18746 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35746 | sed 's/^/| /' conftest.$ac_ext >&5 | 18747 | $as_echo "no" >&6; } |
35747 | |||
35748 | { echo "$as_me:$LINENO: result: no" >&5 | ||
35749 | echo "${ECHO_T}no" >&6; } | ||
35750 | system_utmp_path=no | 18748 | system_utmp_path=no |
35751 | 18749 | ||
35752 | fi | 18750 | fi |
35753 | |||
35754 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18751 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
35755 | if test -z "$conf_utmp_location"; then | 18752 | if test -z "$conf_utmp_location"; then |
35756 | if test x"$system_utmp_path" = x"no" ; then | 18753 | if test x"$system_utmp_path" = x"no" ; then |
@@ -35760,9 +18757,7 @@ if test -z "$conf_utmp_location"; then | |||
35760 | fi | 18757 | fi |
35761 | done | 18758 | done |
35762 | if test -z "$conf_utmp_location"; then | 18759 | if test -z "$conf_utmp_location"; then |
35763 | cat >>confdefs.h <<\_ACEOF | 18760 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h |
35764 | #define DISABLE_UTMP 1 | ||
35765 | _ACEOF | ||
35766 | 18761 | ||
35767 | fi | 18762 | fi |
35768 | fi | 18763 | fi |
@@ -35775,13 +18770,9 @@ _ACEOF | |||
35775 | 18770 | ||
35776 | fi | 18771 | fi |
35777 | 18772 | ||
35778 | { echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 | 18773 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMP_FILE" >&5 |
35779 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; } | 18774 | $as_echo_n "checking if your system defines WTMP_FILE... " >&6; } |
35780 | cat >conftest.$ac_ext <<_ACEOF | 18775 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35781 | /* confdefs.h. */ | ||
35782 | _ACEOF | ||
35783 | cat confdefs.h >>conftest.$ac_ext | ||
35784 | cat >>conftest.$ac_ext <<_ACEOF | ||
35785 | /* end confdefs.h. */ | 18776 | /* end confdefs.h. */ |
35786 | 18777 | ||
35787 | #include <sys/types.h> | 18778 | #include <sys/types.h> |
@@ -35798,35 +18789,15 @@ main () | |||
35798 | return 0; | 18789 | return 0; |
35799 | } | 18790 | } |
35800 | _ACEOF | 18791 | _ACEOF |
35801 | rm -f conftest.$ac_objext | 18792 | if ac_fn_c_try_compile "$LINENO"; then : |
35802 | if { (ac_try="$ac_compile" | 18793 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35803 | case "(($ac_try" in | 18794 | $as_echo "yes" >&6; } |
35804 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35805 | *) ac_try_echo=$ac_try;; | ||
35806 | esac | ||
35807 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35808 | (eval "$ac_compile") 2>conftest.er1 | ||
35809 | ac_status=$? | ||
35810 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35811 | rm -f conftest.er1 | ||
35812 | cat conftest.err >&5 | ||
35813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35814 | (exit $ac_status); } && { | ||
35815 | test -z "$ac_c_werror_flag" || | ||
35816 | test ! -s conftest.err | ||
35817 | } && test -s conftest.$ac_objext; then | ||
35818 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
35819 | echo "${ECHO_T}yes" >&6; } | ||
35820 | else | 18795 | else |
35821 | echo "$as_me: failed program was:" >&5 | 18796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35822 | sed 's/^/| /' conftest.$ac_ext >&5 | 18797 | $as_echo "no" >&6; } |
35823 | |||
35824 | { echo "$as_me:$LINENO: result: no" >&5 | ||
35825 | echo "${ECHO_T}no" >&6; } | ||
35826 | system_wtmp_path=no | 18798 | system_wtmp_path=no |
35827 | 18799 | ||
35828 | fi | 18800 | fi |
35829 | |||
35830 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18801 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
35831 | if test -z "$conf_wtmp_location"; then | 18802 | if test -z "$conf_wtmp_location"; then |
35832 | if test x"$system_wtmp_path" = x"no" ; then | 18803 | if test x"$system_wtmp_path" = x"no" ; then |
@@ -35836,9 +18807,7 @@ if test -z "$conf_wtmp_location"; then | |||
35836 | fi | 18807 | fi |
35837 | done | 18808 | done |
35838 | if test -z "$conf_wtmp_location"; then | 18809 | if test -z "$conf_wtmp_location"; then |
35839 | cat >>confdefs.h <<\_ACEOF | 18810 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h |
35840 | #define DISABLE_WTMP 1 | ||
35841 | _ACEOF | ||
35842 | 18811 | ||
35843 | fi | 18812 | fi |
35844 | fi | 18813 | fi |
@@ -35851,13 +18820,9 @@ _ACEOF | |||
35851 | 18820 | ||
35852 | fi | 18821 | fi |
35853 | 18822 | ||
35854 | { echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 | 18823 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMPX_FILE" >&5 |
35855 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; } | 18824 | $as_echo_n "checking if your system defines WTMPX_FILE... " >&6; } |
35856 | cat >conftest.$ac_ext <<_ACEOF | 18825 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
35857 | /* confdefs.h. */ | ||
35858 | _ACEOF | ||
35859 | cat confdefs.h >>conftest.$ac_ext | ||
35860 | cat >>conftest.$ac_ext <<_ACEOF | ||
35861 | /* end confdefs.h. */ | 18826 | /* end confdefs.h. */ |
35862 | 18827 | ||
35863 | #include <sys/types.h> | 18828 | #include <sys/types.h> |
@@ -35877,41 +18842,19 @@ main () | |||
35877 | return 0; | 18842 | return 0; |
35878 | } | 18843 | } |
35879 | _ACEOF | 18844 | _ACEOF |
35880 | rm -f conftest.$ac_objext | 18845 | if ac_fn_c_try_compile "$LINENO"; then : |
35881 | if { (ac_try="$ac_compile" | 18846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
35882 | case "(($ac_try" in | 18847 | $as_echo "yes" >&6; } |
35883 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35884 | *) ac_try_echo=$ac_try;; | ||
35885 | esac | ||
35886 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35887 | (eval "$ac_compile") 2>conftest.er1 | ||
35888 | ac_status=$? | ||
35889 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35890 | rm -f conftest.er1 | ||
35891 | cat conftest.err >&5 | ||
35892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35893 | (exit $ac_status); } && { | ||
35894 | test -z "$ac_c_werror_flag" || | ||
35895 | test ! -s conftest.err | ||
35896 | } && test -s conftest.$ac_objext; then | ||
35897 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
35898 | echo "${ECHO_T}yes" >&6; } | ||
35899 | else | 18848 | else |
35900 | echo "$as_me: failed program was:" >&5 | 18849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
35901 | sed 's/^/| /' conftest.$ac_ext >&5 | 18850 | $as_echo "no" >&6; } |
35902 | |||
35903 | { echo "$as_me:$LINENO: result: no" >&5 | ||
35904 | echo "${ECHO_T}no" >&6; } | ||
35905 | system_wtmpx_path=no | 18851 | system_wtmpx_path=no |
35906 | 18852 | ||
35907 | fi | 18853 | fi |
35908 | |||
35909 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 18854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
35910 | if test -z "$conf_wtmpx_location"; then | 18855 | if test -z "$conf_wtmpx_location"; then |
35911 | if test x"$system_wtmpx_path" = x"no" ; then | 18856 | if test x"$system_wtmpx_path" = x"no" ; then |
35912 | cat >>confdefs.h <<\_ACEOF | 18857 | $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h |
35913 | #define DISABLE_WTMPX 1 | ||
35914 | _ACEOF | ||
35915 | 18858 | ||
35916 | fi | 18859 | fi |
35917 | else | 18860 | else |
@@ -35925,75 +18868,11 @@ fi | |||
35925 | 18868 | ||
35926 | if test ! -z "$blibpath" ; then | 18869 | if test ! -z "$blibpath" ; then |
35927 | LDFLAGS="$LDFLAGS $blibflags$blibpath" | 18870 | LDFLAGS="$LDFLAGS $blibflags$blibpath" |
35928 | { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 | 18871 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 |
35929 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} | 18872 | $as_echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} |
35930 | fi | 18873 | fi |
35931 | 18874 | ||
35932 | { echo "$as_me:$LINENO: checking for struct lastlog.ll_line" >&5 | 18875 | ac_fn_c_check_member "$LINENO" "struct lastlog" "ll_line" "ac_cv_member_struct_lastlog_ll_line" " |
35933 | echo $ECHO_N "checking for struct lastlog.ll_line... $ECHO_C" >&6; } | ||
35934 | if test "${ac_cv_member_struct_lastlog_ll_line+set}" = set; then | ||
35935 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
35936 | else | ||
35937 | cat >conftest.$ac_ext <<_ACEOF | ||
35938 | /* confdefs.h. */ | ||
35939 | _ACEOF | ||
35940 | cat confdefs.h >>conftest.$ac_ext | ||
35941 | cat >>conftest.$ac_ext <<_ACEOF | ||
35942 | /* end confdefs.h. */ | ||
35943 | |||
35944 | #ifdef HAVE_SYS_TYPES_H | ||
35945 | #include <sys/types.h> | ||
35946 | #endif | ||
35947 | #ifdef HAVE_UTMP_H | ||
35948 | #include <utmp.h> | ||
35949 | #endif | ||
35950 | #ifdef HAVE_UTMPX_H | ||
35951 | #include <utmpx.h> | ||
35952 | #endif | ||
35953 | #ifdef HAVE_LASTLOG_H | ||
35954 | #include <lastlog.h> | ||
35955 | #endif | ||
35956 | |||
35957 | |||
35958 | int | ||
35959 | main () | ||
35960 | { | ||
35961 | static struct lastlog ac_aggr; | ||
35962 | if (ac_aggr.ll_line) | ||
35963 | return 0; | ||
35964 | ; | ||
35965 | return 0; | ||
35966 | } | ||
35967 | _ACEOF | ||
35968 | rm -f conftest.$ac_objext | ||
35969 | if { (ac_try="$ac_compile" | ||
35970 | case "(($ac_try" in | ||
35971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35972 | *) ac_try_echo=$ac_try;; | ||
35973 | esac | ||
35974 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35975 | (eval "$ac_compile") 2>conftest.er1 | ||
35976 | ac_status=$? | ||
35977 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35978 | rm -f conftest.er1 | ||
35979 | cat conftest.err >&5 | ||
35980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35981 | (exit $ac_status); } && { | ||
35982 | test -z "$ac_c_werror_flag" || | ||
35983 | test ! -s conftest.err | ||
35984 | } && test -s conftest.$ac_objext; then | ||
35985 | ac_cv_member_struct_lastlog_ll_line=yes | ||
35986 | else | ||
35987 | echo "$as_me: failed program was:" >&5 | ||
35988 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35989 | |||
35990 | cat >conftest.$ac_ext <<_ACEOF | ||
35991 | /* confdefs.h. */ | ||
35992 | _ACEOF | ||
35993 | cat confdefs.h >>conftest.$ac_ext | ||
35994 | cat >>conftest.$ac_ext <<_ACEOF | ||
35995 | /* end confdefs.h. */ | ||
35996 | |||
35997 | #ifdef HAVE_SYS_TYPES_H | 18876 | #ifdef HAVE_SYS_TYPES_H |
35998 | #include <sys/types.h> | 18877 | #include <sys/types.h> |
35999 | #endif | 18878 | #endif |
@@ -36007,75 +18886,20 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
36007 | #include <lastlog.h> | 18886 | #include <lastlog.h> |
36008 | #endif | 18887 | #endif |
36009 | 18888 | ||
18889 | " | ||
18890 | if test "x$ac_cv_member_struct_lastlog_ll_line" = xyes; then : | ||
36010 | 18891 | ||
36011 | int | ||
36012 | main () | ||
36013 | { | ||
36014 | static struct lastlog ac_aggr; | ||
36015 | if (sizeof ac_aggr.ll_line) | ||
36016 | return 0; | ||
36017 | ; | ||
36018 | return 0; | ||
36019 | } | ||
36020 | _ACEOF | ||
36021 | rm -f conftest.$ac_objext | ||
36022 | if { (ac_try="$ac_compile" | ||
36023 | case "(($ac_try" in | ||
36024 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
36025 | *) ac_try_echo=$ac_try;; | ||
36026 | esac | ||
36027 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
36028 | (eval "$ac_compile") 2>conftest.er1 | ||
36029 | ac_status=$? | ||
36030 | grep -v '^ *+' conftest.er1 >conftest.err | ||
36031 | rm -f conftest.er1 | ||
36032 | cat conftest.err >&5 | ||
36033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
36034 | (exit $ac_status); } && { | ||
36035 | test -z "$ac_c_werror_flag" || | ||
36036 | test ! -s conftest.err | ||
36037 | } && test -s conftest.$ac_objext; then | ||
36038 | ac_cv_member_struct_lastlog_ll_line=yes | ||
36039 | else | ||
36040 | echo "$as_me: failed program was:" >&5 | ||
36041 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
36042 | |||
36043 | ac_cv_member_struct_lastlog_ll_line=no | ||
36044 | fi | ||
36045 | |||
36046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
36047 | fi | ||
36048 | |||
36049 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
36050 | fi | ||
36051 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_lastlog_ll_line" >&5 | ||
36052 | echo "${ECHO_T}$ac_cv_member_struct_lastlog_ll_line" >&6; } | ||
36053 | if test $ac_cv_member_struct_lastlog_ll_line = yes; then | ||
36054 | : | ||
36055 | else | 18892 | else |
36056 | 18893 | ||
36057 | if test x$SKIP_DISABLE_LASTLOG_DEFINE != "xyes" ; then | 18894 | if test x$SKIP_DISABLE_LASTLOG_DEFINE != "xyes" ; then |
36058 | cat >>confdefs.h <<\_ACEOF | 18895 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h |
36059 | #define DISABLE_LASTLOG 1 | ||
36060 | _ACEOF | ||
36061 | 18896 | ||
36062 | fi | 18897 | fi |
36063 | 18898 | ||
36064 | fi | 18899 | fi |
36065 | 18900 | ||
36066 | 18901 | ||
36067 | { echo "$as_me:$LINENO: checking for struct utmp.ut_line" >&5 | 18902 | ac_fn_c_check_member "$LINENO" "struct utmp" "ut_line" "ac_cv_member_struct_utmp_ut_line" " |
36068 | echo $ECHO_N "checking for struct utmp.ut_line... $ECHO_C" >&6; } | ||
36069 | if test "${ac_cv_member_struct_utmp_ut_line+set}" = set; then | ||
36070 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
36071 | else | ||
36072 | cat >conftest.$ac_ext <<_ACEOF | ||
36073 | /* confdefs.h. */ | ||
36074 | _ACEOF | ||
36075 | cat confdefs.h >>conftest.$ac_ext | ||
36076 | cat >>conftest.$ac_ext <<_ACEOF | ||
36077 | /* end confdefs.h. */ | ||
36078 | |||
36079 | #ifdef HAVE_SYS_TYPES_H | 18903 | #ifdef HAVE_SYS_TYPES_H |
36080 | #include <sys/types.h> | 18904 | #include <sys/types.h> |
36081 | #endif | 18905 | #endif |
@@ -36089,113 +18913,14 @@ cat >>conftest.$ac_ext <<_ACEOF | |||
36089 | #include <lastlog.h> | 18913 | #include <lastlog.h> |
36090 | #endif | 18914 | #endif |
36091 | 18915 | ||
18916 | " | ||
18917 | if test "x$ac_cv_member_struct_utmp_ut_line" = xyes; then : | ||
36092 | 18918 | ||
36093 | int | ||
36094 | main () | ||
36095 | { | ||
36096 | static struct utmp ac_aggr; | ||
36097 | if (ac_aggr.ut_line) | ||
36098 | return 0; | ||
36099 | ; | ||
36100 | return 0; | ||
36101 | } | ||
36102 | _ACEOF | ||
36103 | rm -f conftest.$ac_objext | ||
36104 | if { (ac_try="$ac_compile" | ||
36105 | case "(($ac_try" in | ||
36106 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
36107 | *) ac_try_echo=$ac_try;; | ||
36108 | esac | ||
36109 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
36110 | (eval "$ac_compile") 2>conftest.er1 | ||
36111 | ac_status=$? | ||
36112 | grep -v '^ *+' conftest.er1 >conftest.err | ||
36113 | rm -f conftest.er1 | ||
36114 | cat conftest.err >&5 | ||
36115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
36116 | (exit $ac_status); } && { | ||
36117 | test -z "$ac_c_werror_flag" || | ||
36118 | test ! -s conftest.err | ||
36119 | } && test -s conftest.$ac_objext; then | ||
36120 | ac_cv_member_struct_utmp_ut_line=yes | ||
36121 | else | ||
36122 | echo "$as_me: failed program was:" >&5 | ||
36123 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
36124 | |||
36125 | cat >conftest.$ac_ext <<_ACEOF | ||
36126 | /* confdefs.h. */ | ||
36127 | _ACEOF | ||
36128 | cat confdefs.h >>conftest.$ac_ext | ||
36129 | cat >>conftest.$ac_ext <<_ACEOF | ||
36130 | /* end confdefs.h. */ | ||
36131 | |||
36132 | #ifdef HAVE_SYS_TYPES_H | ||
36133 | #include <sys/types.h> | ||
36134 | #endif | ||
36135 | #ifdef HAVE_UTMP_H | ||
36136 | #include <utmp.h> | ||
36137 | #endif | ||
36138 | #ifdef HAVE_UTMPX_H | ||
36139 | #include <utmpx.h> | ||
36140 | #endif | ||
36141 | #ifdef HAVE_LASTLOG_H | ||
36142 | #include <lastlog.h> | ||
36143 | #endif | ||
36144 | |||
36145 | |||
36146 | int | ||
36147 | main () | ||
36148 | { | ||
36149 | static struct utmp ac_aggr; | ||
36150 | if (sizeof ac_aggr.ut_line) | ||
36151 | return 0; | ||
36152 | ; | ||
36153 | return 0; | ||
36154 | } | ||
36155 | _ACEOF | ||
36156 | rm -f conftest.$ac_objext | ||
36157 | if { (ac_try="$ac_compile" | ||
36158 | case "(($ac_try" in | ||
36159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
36160 | *) ac_try_echo=$ac_try;; | ||
36161 | esac | ||
36162 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
36163 | (eval "$ac_compile") 2>conftest.er1 | ||
36164 | ac_status=$? | ||
36165 | grep -v '^ *+' conftest.er1 >conftest.err | ||
36166 | rm -f conftest.er1 | ||
36167 | cat conftest.err >&5 | ||
36168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
36169 | (exit $ac_status); } && { | ||
36170 | test -z "$ac_c_werror_flag" || | ||
36171 | test ! -s conftest.err | ||
36172 | } && test -s conftest.$ac_objext; then | ||
36173 | ac_cv_member_struct_utmp_ut_line=yes | ||
36174 | else | ||
36175 | echo "$as_me: failed program was:" >&5 | ||
36176 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
36177 | |||
36178 | ac_cv_member_struct_utmp_ut_line=no | ||
36179 | fi | ||
36180 | |||
36181 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
36182 | fi | ||
36183 | |||
36184 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
36185 | fi | ||
36186 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_line" >&5 | ||
36187 | echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_line" >&6; } | ||
36188 | if test $ac_cv_member_struct_utmp_ut_line = yes; then | ||
36189 | : | ||
36190 | else | 18919 | else |
36191 | 18920 | ||
36192 | cat >>confdefs.h <<\_ACEOF | 18921 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h |
36193 | #define DISABLE_UTMP 1 | ||
36194 | _ACEOF | ||
36195 | 18922 | ||
36196 | cat >>confdefs.h <<\_ACEOF | 18923 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h |
36197 | #define DISABLE_WTMP 1 | ||
36198 | _ACEOF | ||
36199 | 18924 | ||
36200 | 18925 | ||
36201 | fi | 18926 | fi |
@@ -36208,64 +18933,15 @@ if test "x$ac_cv_func_getaddrinfo" != "xyes" ; then | |||
36208 | else | 18933 | else |
36209 | TEST_SSH_IPV6=yes | 18934 | TEST_SSH_IPV6=yes |
36210 | fi | 18935 | fi |
36211 | { echo "$as_me:$LINENO: checking whether BROKEN_GETADDRINFO is declared" >&5 | 18936 | ac_fn_c_check_decl "$LINENO" "BROKEN_GETADDRINFO" "ac_cv_have_decl_BROKEN_GETADDRINFO" "$ac_includes_default" |
36212 | echo $ECHO_N "checking whether BROKEN_GETADDRINFO is declared... $ECHO_C" >&6; } | 18937 | if test "x$ac_cv_have_decl_BROKEN_GETADDRINFO" = xyes; then : |
36213 | if test "${ac_cv_have_decl_BROKEN_GETADDRINFO+set}" = set; then | ||
36214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
36215 | else | ||
36216 | cat >conftest.$ac_ext <<_ACEOF | ||
36217 | /* confdefs.h. */ | ||
36218 | _ACEOF | ||
36219 | cat confdefs.h >>conftest.$ac_ext | ||
36220 | cat >>conftest.$ac_ext <<_ACEOF | ||
36221 | /* end confdefs.h. */ | ||
36222 | $ac_includes_default | ||
36223 | int | ||
36224 | main () | ||
36225 | { | ||
36226 | #ifndef BROKEN_GETADDRINFO | ||
36227 | (void) BROKEN_GETADDRINFO; | ||
36228 | #endif | ||
36229 | |||
36230 | ; | ||
36231 | return 0; | ||
36232 | } | ||
36233 | _ACEOF | ||
36234 | rm -f conftest.$ac_objext | ||
36235 | if { (ac_try="$ac_compile" | ||
36236 | case "(($ac_try" in | ||
36237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
36238 | *) ac_try_echo=$ac_try;; | ||
36239 | esac | ||
36240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
36241 | (eval "$ac_compile") 2>conftest.er1 | ||
36242 | ac_status=$? | ||
36243 | grep -v '^ *+' conftest.er1 >conftest.err | ||
36244 | rm -f conftest.er1 | ||
36245 | cat conftest.err >&5 | ||
36246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
36247 | (exit $ac_status); } && { | ||
36248 | test -z "$ac_c_werror_flag" || | ||
36249 | test ! -s conftest.err | ||
36250 | } && test -s conftest.$ac_objext; then | ||
36251 | ac_cv_have_decl_BROKEN_GETADDRINFO=yes | ||
36252 | else | ||
36253 | echo "$as_me: failed program was:" >&5 | ||
36254 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
36255 | |||
36256 | ac_cv_have_decl_BROKEN_GETADDRINFO=no | ||
36257 | fi | ||
36258 | |||
36259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
36260 | fi | ||
36261 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_BROKEN_GETADDRINFO" >&5 | ||
36262 | echo "${ECHO_T}$ac_cv_have_decl_BROKEN_GETADDRINFO" >&6; } | ||
36263 | if test $ac_cv_have_decl_BROKEN_GETADDRINFO = yes; then | ||
36264 | TEST_SSH_IPV6=no | 18938 | TEST_SSH_IPV6=no |
36265 | fi | 18939 | fi |
36266 | 18940 | ||
36267 | TEST_SSH_IPV6=$TEST_SSH_IPV6 | 18941 | TEST_SSH_IPV6=$TEST_SSH_IPV6 |
36268 | 18942 | ||
18943 | TEST_SSH_UTF8=$TEST_SSH_UTF8 | ||
18944 | |||
36269 | TEST_MALLOC_OPTIONS=$TEST_MALLOC_OPTIONS | 18945 | TEST_MALLOC_OPTIONS=$TEST_MALLOC_OPTIONS |
36270 | 18946 | ||
36271 | UNSUPPORTED_ALGORITHMS=$unsupported_algorithms | 18947 | UNSUPPORTED_ALGORITHMS=$unsupported_algorithms |
@@ -36301,12 +18977,13 @@ _ACEOF | |||
36301 | case $ac_val in #( | 18977 | case $ac_val in #( |
36302 | *${as_nl}*) | 18978 | *${as_nl}*) |
36303 | case $ac_var in #( | 18979 | case $ac_var in #( |
36304 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | 18980 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
36305 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | 18981 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
36306 | esac | 18982 | esac |
36307 | case $ac_var in #( | 18983 | case $ac_var in #( |
36308 | _ | IFS | as_nl) ;; #( | 18984 | _ | IFS | as_nl) ;; #( |
36309 | *) $as_unset $ac_var ;; | 18985 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
18986 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
36310 | esac ;; | 18987 | esac ;; |
36311 | esac | 18988 | esac |
36312 | done | 18989 | done |
@@ -36314,8 +18991,8 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |||
36314 | (set) 2>&1 | | 18991 | (set) 2>&1 | |
36315 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 18992 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
36316 | *${as_nl}ac_space=\ *) | 18993 | *${as_nl}ac_space=\ *) |
36317 | # `set' does not quote correctly, so add quotes (double-quote | 18994 | # `set' does not quote correctly, so add quotes: double-quote |
36318 | # substitution turns \\\\ into \\, and sed turns \\ into \). | 18995 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
36319 | sed -n \ | 18996 | sed -n \ |
36320 | "s/'/'\\\\''/g; | 18997 | "s/'/'\\\\''/g; |
36321 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 18998 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
@@ -36337,13 +19014,24 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |||
36337 | :end' >>confcache | 19014 | :end' >>confcache |
36338 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 19015 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
36339 | if test -w "$cache_file"; then | 19016 | if test -w "$cache_file"; then |
36340 | test "x$cache_file" != "x/dev/null" && | 19017 | if test "x$cache_file" != "x/dev/null"; then |
36341 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | 19018 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
36342 | echo "$as_me: updating cache $cache_file" >&6;} | 19019 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
36343 | cat confcache >$cache_file | 19020 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
19021 | cat confcache >"$cache_file" | ||
19022 | else | ||
19023 | case $cache_file in #( | ||
19024 | */* | ?:*) | ||
19025 | mv -f confcache "$cache_file"$$ && | ||
19026 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
19027 | *) | ||
19028 | mv -f confcache "$cache_file" ;; | ||
19029 | esac | ||
19030 | fi | ||
19031 | fi | ||
36344 | else | 19032 | else |
36345 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 | 19033 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
36346 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 19034 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
36347 | fi | 19035 | fi |
36348 | fi | 19036 | fi |
36349 | rm -f confcache | 19037 | rm -f confcache |
@@ -36356,14 +19044,15 @@ DEFS=-DHAVE_CONFIG_H | |||
36356 | 19044 | ||
36357 | ac_libobjs= | 19045 | ac_libobjs= |
36358 | ac_ltlibobjs= | 19046 | ac_ltlibobjs= |
19047 | U= | ||
36359 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 19048 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
36360 | # 1. Remove the extension, and $U if already installed. | 19049 | # 1. Remove the extension, and $U if already installed. |
36361 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 19050 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
36362 | ac_i=`echo "$ac_i" | sed "$ac_script"` | 19051 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
36363 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 19052 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
36364 | # will be set to the directory where LIBOBJS objects are built. | 19053 | # will be set to the directory where LIBOBJS objects are built. |
36365 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 19054 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
36366 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | 19055 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
36367 | done | 19056 | done |
36368 | LIBOBJS=$ac_libobjs | 19057 | LIBOBJS=$ac_libobjs |
36369 | 19058 | ||
@@ -36371,12 +19060,15 @@ LTLIBOBJS=$ac_ltlibobjs | |||
36371 | 19060 | ||
36372 | 19061 | ||
36373 | 19062 | ||
36374 | : ${CONFIG_STATUS=./config.status} | 19063 | |
19064 | : "${CONFIG_STATUS=./config.status}" | ||
19065 | ac_write_fail=0 | ||
36375 | ac_clean_files_save=$ac_clean_files | 19066 | ac_clean_files_save=$ac_clean_files |
36376 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 19067 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
36377 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 19068 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
36378 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 19069 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
36379 | cat >$CONFIG_STATUS <<_ACEOF | 19070 | as_write_fail=0 |
19071 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
36380 | #! $SHELL | 19072 | #! $SHELL |
36381 | # Generated by $as_me. | 19073 | # Generated by $as_me. |
36382 | # Run this file to recreate the current configuration. | 19074 | # Run this file to recreate the current configuration. |
@@ -36386,59 +19078,79 @@ cat >$CONFIG_STATUS <<_ACEOF | |||
36386 | debug=false | 19078 | debug=false |
36387 | ac_cs_recheck=false | 19079 | ac_cs_recheck=false |
36388 | ac_cs_silent=false | 19080 | ac_cs_silent=false |
36389 | SHELL=\${CONFIG_SHELL-$SHELL} | ||
36390 | _ACEOF | ||
36391 | 19081 | ||
36392 | cat >>$CONFIG_STATUS <<\_ACEOF | 19082 | SHELL=\${CONFIG_SHELL-$SHELL} |
36393 | ## --------------------- ## | 19083 | export SHELL |
36394 | ## M4sh Initialization. ## | 19084 | _ASEOF |
36395 | ## --------------------- ## | 19085 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
19086 | ## -------------------- ## | ||
19087 | ## M4sh Initialization. ## | ||
19088 | ## -------------------- ## | ||
36396 | 19089 | ||
36397 | # Be more Bourne compatible | 19090 | # Be more Bourne compatible |
36398 | DUALCASE=1; export DUALCASE # for MKS sh | 19091 | DUALCASE=1; export DUALCASE # for MKS sh |
36399 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 19092 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
36400 | emulate sh | 19093 | emulate sh |
36401 | NULLCMD=: | 19094 | NULLCMD=: |
36402 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 19095 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
36403 | # is contrary to our usage. Disable this feature. | 19096 | # is contrary to our usage. Disable this feature. |
36404 | alias -g '${1+"$@"}'='"$@"' | 19097 | alias -g '${1+"$@"}'='"$@"' |
36405 | setopt NO_GLOB_SUBST | 19098 | setopt NO_GLOB_SUBST |
36406 | else | 19099 | else |
36407 | case `(set -o) 2>/dev/null` in | 19100 | case `(set -o) 2>/dev/null` in #( |
36408 | *posix*) set -o posix ;; | 19101 | *posix*) : |
19102 | set -o posix ;; #( | ||
19103 | *) : | ||
19104 | ;; | ||
36409 | esac | 19105 | esac |
36410 | |||
36411 | fi | 19106 | fi |
36412 | 19107 | ||
36413 | 19108 | ||
36414 | 19109 | as_nl=' | |
36415 | 19110 | ' | |
36416 | # PATH needs CR | 19111 | export as_nl |
36417 | # Avoid depending upon Character Ranges. | 19112 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
36418 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 19113 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
36419 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 19114 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
36420 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 19115 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
36421 | as_cr_digits='0123456789' | 19116 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
36422 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 19117 | # but without wasting forks for bash or zsh. |
36423 | 19118 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
36424 | # The user is always right. | 19119 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
36425 | if test "${PATH_SEPARATOR+set}" != set; then | 19120 | as_echo='print -r --' |
36426 | echo "#! /bin/sh" >conf$$.sh | 19121 | as_echo_n='print -rn --' |
36427 | echo "exit 0" >>conf$$.sh | 19122 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
36428 | chmod +x conf$$.sh | 19123 | as_echo='printf %s\n' |
36429 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 19124 | as_echo_n='printf %s' |
36430 | PATH_SEPARATOR=';' | 19125 | else |
19126 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
19127 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
19128 | as_echo_n='/usr/ucb/echo -n' | ||
36431 | else | 19129 | else |
36432 | PATH_SEPARATOR=: | 19130 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
19131 | as_echo_n_body='eval | ||
19132 | arg=$1; | ||
19133 | case $arg in #( | ||
19134 | *"$as_nl"*) | ||
19135 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
19136 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
19137 | esac; | ||
19138 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
19139 | ' | ||
19140 | export as_echo_n_body | ||
19141 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
36433 | fi | 19142 | fi |
36434 | rm -f conf$$.sh | 19143 | export as_echo_body |
19144 | as_echo='sh -c $as_echo_body as_echo' | ||
36435 | fi | 19145 | fi |
36436 | 19146 | ||
36437 | # Support unset when possible. | 19147 | # The user is always right. |
36438 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 19148 | if test "${PATH_SEPARATOR+set}" != set; then |
36439 | as_unset=unset | 19149 | PATH_SEPARATOR=: |
36440 | else | 19150 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
36441 | as_unset=false | 19151 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
19152 | PATH_SEPARATOR=';' | ||
19153 | } | ||
36442 | fi | 19154 | fi |
36443 | 19155 | ||
36444 | 19156 | ||
@@ -36447,20 +19159,19 @@ fi | |||
36447 | # there to prevent editors from complaining about space-tab. | 19159 | # there to prevent editors from complaining about space-tab. |
36448 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 19160 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
36449 | # splitting by setting IFS to empty value.) | 19161 | # splitting by setting IFS to empty value.) |
36450 | as_nl=' | ||
36451 | ' | ||
36452 | IFS=" "" $as_nl" | 19162 | IFS=" "" $as_nl" |
36453 | 19163 | ||
36454 | # Find who we are. Look in the path if we contain no directory separator. | 19164 | # Find who we are. Look in the path if we contain no directory separator. |
36455 | case $0 in | 19165 | as_myself= |
19166 | case $0 in #(( | ||
36456 | *[\\/]* ) as_myself=$0 ;; | 19167 | *[\\/]* ) as_myself=$0 ;; |
36457 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 19168 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
36458 | for as_dir in $PATH | 19169 | for as_dir in $PATH |
36459 | do | 19170 | do |
36460 | IFS=$as_save_IFS | 19171 | IFS=$as_save_IFS |
36461 | test -z "$as_dir" && as_dir=. | 19172 | test -z "$as_dir" && as_dir=. |
36462 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 19173 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
36463 | done | 19174 | done |
36464 | IFS=$as_save_IFS | 19175 | IFS=$as_save_IFS |
36465 | 19176 | ||
36466 | ;; | 19177 | ;; |
@@ -36471,32 +19182,111 @@ if test "x$as_myself" = x; then | |||
36471 | as_myself=$0 | 19182 | as_myself=$0 |
36472 | fi | 19183 | fi |
36473 | if test ! -f "$as_myself"; then | 19184 | if test ! -f "$as_myself"; then |
36474 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 19185 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
36475 | { (exit 1); exit 1; } | 19186 | exit 1 |
36476 | fi | 19187 | fi |
36477 | 19188 | ||
36478 | # Work around bugs in pre-3.0 UWIN ksh. | 19189 | # Unset variables that we do not need and which cause bugs (e.g. in |
36479 | for as_var in ENV MAIL MAILPATH | 19190 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
36480 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 19191 | # suppresses any "Segmentation fault" message there. '((' could |
19192 | # trigger a bug in pdksh 5.2.14. | ||
19193 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
19194 | do eval test x\${$as_var+set} = xset \ | ||
19195 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
36481 | done | 19196 | done |
36482 | PS1='$ ' | 19197 | PS1='$ ' |
36483 | PS2='> ' | 19198 | PS2='> ' |
36484 | PS4='+ ' | 19199 | PS4='+ ' |
36485 | 19200 | ||
36486 | # NLS nuisances. | 19201 | # NLS nuisances. |
36487 | for as_var in \ | 19202 | LC_ALL=C |
36488 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 19203 | export LC_ALL |
36489 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 19204 | LANGUAGE=C |
36490 | LC_TELEPHONE LC_TIME | 19205 | export LANGUAGE |
36491 | do | 19206 | |
36492 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | 19207 | # CDPATH. |
36493 | eval $as_var=C; export $as_var | 19208 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
36494 | else | 19209 | |
36495 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | 19210 | |
19211 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
19212 | # ---------------------------------------- | ||
19213 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
19214 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
19215 | # script with STATUS, using 1 if that was 0. | ||
19216 | as_fn_error () | ||
19217 | { | ||
19218 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
19219 | if test "$4"; then | ||
19220 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
19221 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
36496 | fi | 19222 | fi |
36497 | done | 19223 | $as_echo "$as_me: error: $2" >&2 |
19224 | as_fn_exit $as_status | ||
19225 | } # as_fn_error | ||
19226 | |||
19227 | |||
19228 | # as_fn_set_status STATUS | ||
19229 | # ----------------------- | ||
19230 | # Set $? to STATUS, without forking. | ||
19231 | as_fn_set_status () | ||
19232 | { | ||
19233 | return $1 | ||
19234 | } # as_fn_set_status | ||
19235 | |||
19236 | # as_fn_exit STATUS | ||
19237 | # ----------------- | ||
19238 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
19239 | as_fn_exit () | ||
19240 | { | ||
19241 | set +e | ||
19242 | as_fn_set_status $1 | ||
19243 | exit $1 | ||
19244 | } # as_fn_exit | ||
19245 | |||
19246 | # as_fn_unset VAR | ||
19247 | # --------------- | ||
19248 | # Portably unset VAR. | ||
19249 | as_fn_unset () | ||
19250 | { | ||
19251 | { eval $1=; unset $1;} | ||
19252 | } | ||
19253 | as_unset=as_fn_unset | ||
19254 | # as_fn_append VAR VALUE | ||
19255 | # ---------------------- | ||
19256 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
19257 | # advantage of any shell optimizations that allow amortized linear growth over | ||
19258 | # repeated appends, instead of the typical quadratic growth present in naive | ||
19259 | # implementations. | ||
19260 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
19261 | eval 'as_fn_append () | ||
19262 | { | ||
19263 | eval $1+=\$2 | ||
19264 | }' | ||
19265 | else | ||
19266 | as_fn_append () | ||
19267 | { | ||
19268 | eval $1=\$$1\$2 | ||
19269 | } | ||
19270 | fi # as_fn_append | ||
19271 | |||
19272 | # as_fn_arith ARG... | ||
19273 | # ------------------ | ||
19274 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
19275 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
19276 | # must be portable across $(()) and expr. | ||
19277 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
19278 | eval 'as_fn_arith () | ||
19279 | { | ||
19280 | as_val=$(( $* )) | ||
19281 | }' | ||
19282 | else | ||
19283 | as_fn_arith () | ||
19284 | { | ||
19285 | as_val=`expr "$@" || test $? -eq 1` | ||
19286 | } | ||
19287 | fi # as_fn_arith | ||
19288 | |||
36498 | 19289 | ||
36499 | # Required to use basename. | ||
36500 | if expr a : '\(a\)' >/dev/null 2>&1 && | 19290 | if expr a : '\(a\)' >/dev/null 2>&1 && |
36501 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 19291 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
36502 | as_expr=expr | 19292 | as_expr=expr |
@@ -36510,13 +19300,17 @@ else | |||
36510 | as_basename=false | 19300 | as_basename=false |
36511 | fi | 19301 | fi |
36512 | 19302 | ||
19303 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
19304 | as_dirname=dirname | ||
19305 | else | ||
19306 | as_dirname=false | ||
19307 | fi | ||
36513 | 19308 | ||
36514 | # Name of the executable. | ||
36515 | as_me=`$as_basename -- "$0" || | 19309 | as_me=`$as_basename -- "$0" || |
36516 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 19310 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
36517 | X"$0" : 'X\(//\)$' \| \ | 19311 | X"$0" : 'X\(//\)$' \| \ |
36518 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 19312 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
36519 | echo X/"$0" | | 19313 | $as_echo X/"$0" | |
36520 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 19314 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
36521 | s//\1/ | 19315 | s//\1/ |
36522 | q | 19316 | q |
@@ -36531,131 +19325,118 @@ echo X/"$0" | | |||
36531 | } | 19325 | } |
36532 | s/.*/./; q'` | 19326 | s/.*/./; q'` |
36533 | 19327 | ||
36534 | # CDPATH. | 19328 | # Avoid depending upon Character Ranges. |
36535 | $as_unset CDPATH | 19329 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
36536 | 19330 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
36537 | 19331 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
36538 | 19332 | as_cr_digits='0123456789' | |
36539 | as_lineno_1=$LINENO | 19333 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
36540 | as_lineno_2=$LINENO | ||
36541 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
36542 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
36543 | |||
36544 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
36545 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
36546 | # line-number line after each line using $LINENO; the second 'sed' | ||
36547 | # does the real work. The second script uses 'N' to pair each | ||
36548 | # line-number line with the line containing $LINENO, and appends | ||
36549 | # trailing '-' during substitution so that $LINENO is not a special | ||
36550 | # case at line end. | ||
36551 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
36552 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
36553 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
36554 | sed -n ' | ||
36555 | p | ||
36556 | /[$]LINENO/= | ||
36557 | ' <$as_myself | | ||
36558 | sed ' | ||
36559 | s/[$]LINENO.*/&-/ | ||
36560 | t lineno | ||
36561 | b | ||
36562 | :lineno | ||
36563 | N | ||
36564 | :loop | ||
36565 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
36566 | t loop | ||
36567 | s/-\n.*// | ||
36568 | ' >$as_me.lineno && | ||
36569 | chmod +x "$as_me.lineno" || | ||
36570 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
36571 | { (exit 1); exit 1; }; } | ||
36572 | |||
36573 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
36574 | # (the dirname of $[0] is not the place where we might find the | ||
36575 | # original and so on. Autoconf is especially sensitive to this). | ||
36576 | . "./$as_me.lineno" | ||
36577 | # Exit status is that of the last command. | ||
36578 | exit | ||
36579 | } | ||
36580 | |||
36581 | |||
36582 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
36583 | as_dirname=dirname | ||
36584 | else | ||
36585 | as_dirname=false | ||
36586 | fi | ||
36587 | 19334 | ||
36588 | ECHO_C= ECHO_N= ECHO_T= | 19335 | ECHO_C= ECHO_N= ECHO_T= |
36589 | case `echo -n x` in | 19336 | case `echo -n x` in #((((( |
36590 | -n*) | 19337 | -n*) |
36591 | case `echo 'x\c'` in | 19338 | case `echo 'xy\c'` in |
36592 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 19339 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
36593 | *) ECHO_C='\c';; | 19340 | xy) ECHO_C='\c';; |
19341 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
19342 | ECHO_T=' ';; | ||
36594 | esac;; | 19343 | esac;; |
36595 | *) | 19344 | *) |
36596 | ECHO_N='-n';; | 19345 | ECHO_N='-n';; |
36597 | esac | 19346 | esac |
36598 | 19347 | ||
36599 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
36600 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
36601 | as_expr=expr | ||
36602 | else | ||
36603 | as_expr=false | ||
36604 | fi | ||
36605 | |||
36606 | rm -f conf$$ conf$$.exe conf$$.file | 19348 | rm -f conf$$ conf$$.exe conf$$.file |
36607 | if test -d conf$$.dir; then | 19349 | if test -d conf$$.dir; then |
36608 | rm -f conf$$.dir/conf$$.file | 19350 | rm -f conf$$.dir/conf$$.file |
36609 | else | 19351 | else |
36610 | rm -f conf$$.dir | 19352 | rm -f conf$$.dir |
36611 | mkdir conf$$.dir | 19353 | mkdir conf$$.dir 2>/dev/null |
36612 | fi | 19354 | fi |
36613 | echo >conf$$.file | 19355 | if (echo >conf$$.file) 2>/dev/null; then |
36614 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 19356 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
36615 | as_ln_s='ln -s' | 19357 | as_ln_s='ln -s' |
36616 | # ... but there are two gotchas: | 19358 | # ... but there are two gotchas: |
36617 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 19359 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
36618 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 19360 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
36619 | # In both cases, we have to default to `cp -p'. | 19361 | # In both cases, we have to default to `cp -pR'. |
36620 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 19362 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
36621 | as_ln_s='cp -p' | 19363 | as_ln_s='cp -pR' |
36622 | elif ln conf$$.file conf$$ 2>/dev/null; then | 19364 | elif ln conf$$.file conf$$ 2>/dev/null; then |
36623 | as_ln_s=ln | 19365 | as_ln_s=ln |
36624 | else | 19366 | else |
36625 | as_ln_s='cp -p' | 19367 | as_ln_s='cp -pR' |
19368 | fi | ||
19369 | else | ||
19370 | as_ln_s='cp -pR' | ||
36626 | fi | 19371 | fi |
36627 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 19372 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
36628 | rmdir conf$$.dir 2>/dev/null | 19373 | rmdir conf$$.dir 2>/dev/null |
36629 | 19374 | ||
19375 | |||
19376 | # as_fn_mkdir_p | ||
19377 | # ------------- | ||
19378 | # Create "$as_dir" as a directory, including parents if necessary. | ||
19379 | as_fn_mkdir_p () | ||
19380 | { | ||
19381 | |||
19382 | case $as_dir in #( | ||
19383 | -*) as_dir=./$as_dir;; | ||
19384 | esac | ||
19385 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
19386 | as_dirs= | ||
19387 | while :; do | ||
19388 | case $as_dir in #( | ||
19389 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
19390 | *) as_qdir=$as_dir;; | ||
19391 | esac | ||
19392 | as_dirs="'$as_qdir' $as_dirs" | ||
19393 | as_dir=`$as_dirname -- "$as_dir" || | ||
19394 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
19395 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
19396 | X"$as_dir" : 'X\(//\)$' \| \ | ||
19397 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
19398 | $as_echo X"$as_dir" | | ||
19399 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
19400 | s//\1/ | ||
19401 | q | ||
19402 | } | ||
19403 | /^X\(\/\/\)[^/].*/{ | ||
19404 | s//\1/ | ||
19405 | q | ||
19406 | } | ||
19407 | /^X\(\/\/\)$/{ | ||
19408 | s//\1/ | ||
19409 | q | ||
19410 | } | ||
19411 | /^X\(\/\).*/{ | ||
19412 | s//\1/ | ||
19413 | q | ||
19414 | } | ||
19415 | s/.*/./; q'` | ||
19416 | test -d "$as_dir" && break | ||
19417 | done | ||
19418 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
19419 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
19420 | |||
19421 | |||
19422 | } # as_fn_mkdir_p | ||
36630 | if mkdir -p . 2>/dev/null; then | 19423 | if mkdir -p . 2>/dev/null; then |
36631 | as_mkdir_p=: | 19424 | as_mkdir_p='mkdir -p "$as_dir"' |
36632 | else | 19425 | else |
36633 | test -d ./-p && rmdir ./-p | 19426 | test -d ./-p && rmdir ./-p |
36634 | as_mkdir_p=false | 19427 | as_mkdir_p=false |
36635 | fi | 19428 | fi |
36636 | 19429 | ||
36637 | if test -x / >/dev/null 2>&1; then | 19430 | |
36638 | as_test_x='test -x' | 19431 | # as_fn_executable_p FILE |
36639 | else | 19432 | # ----------------------- |
36640 | if ls -dL / >/dev/null 2>&1; then | 19433 | # Test if FILE is an executable regular file. |
36641 | as_ls_L_option=L | 19434 | as_fn_executable_p () |
36642 | else | 19435 | { |
36643 | as_ls_L_option= | 19436 | test -f "$1" && test -x "$1" |
36644 | fi | 19437 | } # as_fn_executable_p |
36645 | as_test_x=' | 19438 | as_test_x='test -x' |
36646 | eval sh -c '\'' | 19439 | as_executable_p=as_fn_executable_p |
36647 | if test -d "$1"; then | ||
36648 | test -d "$1/."; | ||
36649 | else | ||
36650 | case $1 in | ||
36651 | -*)set "./$1";; | ||
36652 | esac; | ||
36653 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in | ||
36654 | ???[sx]*):;;*)false;;esac;fi | ||
36655 | '\'' sh | ||
36656 | ' | ||
36657 | fi | ||
36658 | as_executable_p=$as_test_x | ||
36659 | 19440 | ||
36660 | # Sed expression to map a string onto a valid CPP name. | 19441 | # Sed expression to map a string onto a valid CPP name. |
36661 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 19442 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
@@ -36665,13 +19446,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
36665 | 19446 | ||
36666 | 19447 | ||
36667 | exec 6>&1 | 19448 | exec 6>&1 |
19449 | ## ----------------------------------- ## | ||
19450 | ## Main body of $CONFIG_STATUS script. ## | ||
19451 | ## ----------------------------------- ## | ||
19452 | _ASEOF | ||
19453 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
36668 | 19454 | ||
36669 | # Save the log message, to keep $[0] and so on meaningful, and to | 19455 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
19456 | # Save the log message, to keep $0 and so on meaningful, and to | ||
36670 | # report actual input values of CONFIG_FILES etc. instead of their | 19457 | # report actual input values of CONFIG_FILES etc. instead of their |
36671 | # values after options handling. | 19458 | # values after options handling. |
36672 | ac_log=" | 19459 | ac_log=" |
36673 | This file was extended by OpenSSH $as_me Portable, which was | 19460 | This file was extended by OpenSSH $as_me Portable, which was |
36674 | generated by GNU Autoconf 2.61. Invocation command line was | 19461 | generated by GNU Autoconf 2.69. Invocation command line was |
36675 | 19462 | ||
36676 | CONFIG_FILES = $CONFIG_FILES | 19463 | CONFIG_FILES = $CONFIG_FILES |
36677 | CONFIG_HEADERS = $CONFIG_HEADERS | 19464 | CONFIG_HEADERS = $CONFIG_HEADERS |
@@ -36684,29 +19471,41 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
36684 | 19471 | ||
36685 | _ACEOF | 19472 | _ACEOF |
36686 | 19473 | ||
36687 | cat >>$CONFIG_STATUS <<_ACEOF | 19474 | case $ac_config_files in *" |
19475 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
19476 | esac | ||
19477 | |||
19478 | case $ac_config_headers in *" | ||
19479 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
19480 | esac | ||
19481 | |||
19482 | |||
19483 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
36688 | # Files that config.status was made for. | 19484 | # Files that config.status was made for. |
36689 | config_files="$ac_config_files" | 19485 | config_files="$ac_config_files" |
36690 | config_headers="$ac_config_headers" | 19486 | config_headers="$ac_config_headers" |
36691 | 19487 | ||
36692 | _ACEOF | 19488 | _ACEOF |
36693 | 19489 | ||
36694 | cat >>$CONFIG_STATUS <<\_ACEOF | 19490 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
36695 | ac_cs_usage="\ | 19491 | ac_cs_usage="\ |
36696 | \`$as_me' instantiates files from templates according to the | 19492 | \`$as_me' instantiates files and other configuration actions |
36697 | current configuration. | 19493 | from templates according to the current configuration. Unless the files |
19494 | and actions are specified as TAGs, all are instantiated by default. | ||
36698 | 19495 | ||
36699 | Usage: $0 [OPTIONS] [FILE]... | 19496 | Usage: $0 [OPTION]... [TAG]... |
36700 | 19497 | ||
36701 | -h, --help print this help, then exit | 19498 | -h, --help print this help, then exit |
36702 | -V, --version print version number and configuration settings, then exit | 19499 | -V, --version print version number and configuration settings, then exit |
36703 | -q, --quiet do not print progress messages | 19500 | --config print configuration, then exit |
19501 | -q, --quiet, --silent | ||
19502 | do not print progress messages | ||
36704 | -d, --debug don't remove temporary files | 19503 | -d, --debug don't remove temporary files |
36705 | --recheck update $as_me by reconfiguring in the same conditions | 19504 | --recheck update $as_me by reconfiguring in the same conditions |
36706 | --file=FILE[:TEMPLATE] | 19505 | --file=FILE[:TEMPLATE] |
36707 | instantiate the configuration file FILE | 19506 | instantiate the configuration file FILE |
36708 | --header=FILE[:TEMPLATE] | 19507 | --header=FILE[:TEMPLATE] |
36709 | instantiate the configuration header FILE | 19508 | instantiate the configuration header FILE |
36710 | 19509 | ||
36711 | Configuration files: | 19510 | Configuration files: |
36712 | $config_files | 19511 | $config_files |
@@ -36714,36 +19513,43 @@ $config_files | |||
36714 | Configuration headers: | 19513 | Configuration headers: |
36715 | $config_headers | 19514 | $config_headers |
36716 | 19515 | ||
36717 | Report bugs to <bug-autoconf@gnu.org>." | 19516 | Report bugs to <openssh-unix-dev@mindrot.org>." |
36718 | 19517 | ||
36719 | _ACEOF | 19518 | _ACEOF |
36720 | cat >>$CONFIG_STATUS <<_ACEOF | 19519 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
19520 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
36721 | ac_cs_version="\\ | 19521 | ac_cs_version="\\ |
36722 | OpenSSH config.status Portable | 19522 | OpenSSH config.status Portable |
36723 | configured by $0, generated by GNU Autoconf 2.61, | 19523 | configured by $0, generated by GNU Autoconf 2.69, |
36724 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" | 19524 | with options \\"\$ac_cs_config\\" |
36725 | 19525 | ||
36726 | Copyright (C) 2006 Free Software Foundation, Inc. | 19526 | Copyright (C) 2012 Free Software Foundation, Inc. |
36727 | This config.status script is free software; the Free Software Foundation | 19527 | This config.status script is free software; the Free Software Foundation |
36728 | gives unlimited permission to copy, distribute and modify it." | 19528 | gives unlimited permission to copy, distribute and modify it." |
36729 | 19529 | ||
36730 | ac_pwd='$ac_pwd' | 19530 | ac_pwd='$ac_pwd' |
36731 | srcdir='$srcdir' | 19531 | srcdir='$srcdir' |
36732 | INSTALL='$INSTALL' | 19532 | INSTALL='$INSTALL' |
19533 | AWK='$AWK' | ||
19534 | test -n "\$AWK" || AWK=awk | ||
36733 | _ACEOF | 19535 | _ACEOF |
36734 | 19536 | ||
36735 | cat >>$CONFIG_STATUS <<\_ACEOF | 19537 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
36736 | # If no file are specified by the user, then we need to provide default | 19538 | # The default lists apply if the user does not specify any file. |
36737 | # value. By we need to know if files were specified by the user. | ||
36738 | ac_need_defaults=: | 19539 | ac_need_defaults=: |
36739 | while test $# != 0 | 19540 | while test $# != 0 |
36740 | do | 19541 | do |
36741 | case $1 in | 19542 | case $1 in |
36742 | --*=*) | 19543 | --*=?*) |
36743 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 19544 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
36744 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 19545 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
36745 | ac_shift=: | 19546 | ac_shift=: |
36746 | ;; | 19547 | ;; |
19548 | --*=) | ||
19549 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
19550 | ac_optarg= | ||
19551 | ac_shift=: | ||
19552 | ;; | ||
36747 | *) | 19553 | *) |
36748 | ac_option=$1 | 19554 | ac_option=$1 |
36749 | ac_optarg=$2 | 19555 | ac_optarg=$2 |
@@ -36756,34 +19562,41 @@ do | |||
36756 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 19562 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
36757 | ac_cs_recheck=: ;; | 19563 | ac_cs_recheck=: ;; |
36758 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 19564 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
36759 | echo "$ac_cs_version"; exit ;; | 19565 | $as_echo "$ac_cs_version"; exit ;; |
19566 | --config | --confi | --conf | --con | --co | --c ) | ||
19567 | $as_echo "$ac_cs_config"; exit ;; | ||
36760 | --debug | --debu | --deb | --de | --d | -d ) | 19568 | --debug | --debu | --deb | --de | --d | -d ) |
36761 | debug=: ;; | 19569 | debug=: ;; |
36762 | --file | --fil | --fi | --f ) | 19570 | --file | --fil | --fi | --f ) |
36763 | $ac_shift | 19571 | $ac_shift |
36764 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 19572 | case $ac_optarg in |
19573 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
19574 | '') as_fn_error $? "missing file argument" ;; | ||
19575 | esac | ||
19576 | as_fn_append CONFIG_FILES " '$ac_optarg'" | ||
36765 | ac_need_defaults=false;; | 19577 | ac_need_defaults=false;; |
36766 | --header | --heade | --head | --hea ) | 19578 | --header | --heade | --head | --hea ) |
36767 | $ac_shift | 19579 | $ac_shift |
36768 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 19580 | case $ac_optarg in |
19581 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
19582 | esac | ||
19583 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | ||
36769 | ac_need_defaults=false;; | 19584 | ac_need_defaults=false;; |
36770 | --he | --h) | 19585 | --he | --h) |
36771 | # Conflict between --help and --header | 19586 | # Conflict between --help and --header |
36772 | { echo "$as_me: error: ambiguous option: $1 | 19587 | as_fn_error $? "ambiguous option: \`$1' |
36773 | Try \`$0 --help' for more information." >&2 | 19588 | Try \`$0 --help' for more information.";; |
36774 | { (exit 1); exit 1; }; };; | ||
36775 | --help | --hel | -h ) | 19589 | --help | --hel | -h ) |
36776 | echo "$ac_cs_usage"; exit ;; | 19590 | $as_echo "$ac_cs_usage"; exit ;; |
36777 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 19591 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
36778 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 19592 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
36779 | ac_cs_silent=: ;; | 19593 | ac_cs_silent=: ;; |
36780 | 19594 | ||
36781 | # This is an error. | 19595 | # This is an error. |
36782 | -*) { echo "$as_me: error: unrecognized option: $1 | 19596 | -*) as_fn_error $? "unrecognized option: \`$1' |
36783 | Try \`$0 --help' for more information." >&2 | 19597 | Try \`$0 --help' for more information." ;; |
36784 | { (exit 1); exit 1; }; } ;; | ||
36785 | 19598 | ||
36786 | *) ac_config_targets="$ac_config_targets $1" | 19599 | *) as_fn_append ac_config_targets " $1" |
36787 | ac_need_defaults=false ;; | 19600 | ac_need_defaults=false ;; |
36788 | 19601 | ||
36789 | esac | 19602 | esac |
@@ -36798,30 +19611,32 @@ if $ac_cs_silent; then | |||
36798 | fi | 19611 | fi |
36799 | 19612 | ||
36800 | _ACEOF | 19613 | _ACEOF |
36801 | cat >>$CONFIG_STATUS <<_ACEOF | 19614 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
36802 | if \$ac_cs_recheck; then | 19615 | if \$ac_cs_recheck; then |
36803 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 19616 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
36804 | CONFIG_SHELL=$SHELL | 19617 | shift |
19618 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
19619 | CONFIG_SHELL='$SHELL' | ||
36805 | export CONFIG_SHELL | 19620 | export CONFIG_SHELL |
36806 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 19621 | exec "\$@" |
36807 | fi | 19622 | fi |
36808 | 19623 | ||
36809 | _ACEOF | 19624 | _ACEOF |
36810 | cat >>$CONFIG_STATUS <<\_ACEOF | 19625 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
36811 | exec 5>>config.log | 19626 | exec 5>>config.log |
36812 | { | 19627 | { |
36813 | echo | 19628 | echo |
36814 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 19629 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
36815 | ## Running $as_me. ## | 19630 | ## Running $as_me. ## |
36816 | _ASBOX | 19631 | _ASBOX |
36817 | echo "$ac_log" | 19632 | $as_echo "$ac_log" |
36818 | } >&5 | 19633 | } >&5 |
36819 | 19634 | ||
36820 | _ACEOF | 19635 | _ACEOF |
36821 | cat >>$CONFIG_STATUS <<_ACEOF | 19636 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
36822 | _ACEOF | 19637 | _ACEOF |
36823 | 19638 | ||
36824 | cat >>$CONFIG_STATUS <<\_ACEOF | 19639 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
36825 | 19640 | ||
36826 | # Handling of arguments. | 19641 | # Handling of arguments. |
36827 | for ac_config_target in $ac_config_targets | 19642 | for ac_config_target in $ac_config_targets |
@@ -36836,9 +19651,7 @@ do | |||
36836 | "openbsd-compat/regress/Makefile") CONFIG_FILES="$CONFIG_FILES openbsd-compat/regress/Makefile" ;; | 19651 | "openbsd-compat/regress/Makefile") CONFIG_FILES="$CONFIG_FILES openbsd-compat/regress/Makefile" ;; |
36837 | "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; | 19652 | "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; |
36838 | 19653 | ||
36839 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 19654 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
36840 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
36841 | { (exit 1); exit 1; }; };; | ||
36842 | esac | 19655 | esac |
36843 | done | 19656 | done |
36844 | 19657 | ||
@@ -36860,256 +19673,302 @@ fi | |||
36860 | # after its creation but before its name has been assigned to `$tmp'. | 19673 | # after its creation but before its name has been assigned to `$tmp'. |
36861 | $debug || | 19674 | $debug || |
36862 | { | 19675 | { |
36863 | tmp= | 19676 | tmp= ac_tmp= |
36864 | trap 'exit_status=$? | 19677 | trap 'exit_status=$? |
36865 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | 19678 | : "${ac_tmp:=$tmp}" |
19679 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
36866 | ' 0 | 19680 | ' 0 |
36867 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | 19681 | trap 'as_fn_exit 1' 1 2 13 15 |
36868 | } | 19682 | } |
36869 | # Create a (secure) tmp directory for tmp files. | 19683 | # Create a (secure) tmp directory for tmp files. |
36870 | 19684 | ||
36871 | { | 19685 | { |
36872 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 19686 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
36873 | test -n "$tmp" && test -d "$tmp" | 19687 | test -d "$tmp" |
36874 | } || | 19688 | } || |
36875 | { | 19689 | { |
36876 | tmp=./conf$$-$RANDOM | 19690 | tmp=./conf$$-$RANDOM |
36877 | (umask 077 && mkdir "$tmp") | 19691 | (umask 077 && mkdir "$tmp") |
36878 | } || | 19692 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
36879 | { | 19693 | ac_tmp=$tmp |
36880 | echo "$me: cannot create a temporary directory in ." >&2 | ||
36881 | { (exit 1); exit 1; } | ||
36882 | } | ||
36883 | 19694 | ||
36884 | # | 19695 | # Set up the scripts for CONFIG_FILES section. |
36885 | # Set up the sed scripts for CONFIG_FILES section. | 19696 | # No need to generate them if there are no CONFIG_FILES. |
36886 | # | 19697 | # This happens for instance with `./config.status config.h'. |
36887 | |||
36888 | # No need to generate the scripts if there are no CONFIG_FILES. | ||
36889 | # This happens for instance when ./config.status config.h | ||
36890 | if test -n "$CONFIG_FILES"; then | 19698 | if test -n "$CONFIG_FILES"; then |
36891 | 19699 | ||
36892 | _ACEOF | ||
36893 | 19700 | ||
19701 | ac_cr=`echo X | tr X '\015'` | ||
19702 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | ||
19703 | # But we know of no other shell where ac_cr would be empty at this | ||
19704 | # point, so we can use a bashism as a fallback. | ||
19705 | if test "x$ac_cr" = x; then | ||
19706 | eval ac_cr=\$\'\\r\' | ||
19707 | fi | ||
19708 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
19709 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
19710 | ac_cs_awk_cr='\\r' | ||
19711 | else | ||
19712 | ac_cs_awk_cr=$ac_cr | ||
19713 | fi | ||
19714 | |||
19715 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | ||
19716 | _ACEOF | ||
36894 | 19717 | ||
36895 | 19718 | ||
19719 | { | ||
19720 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
19721 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
19722 | echo "_ACEOF" | ||
19723 | } >conf$$subs.sh || | ||
19724 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
19725 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | ||
36896 | ac_delim='%!_!# ' | 19726 | ac_delim='%!_!# ' |
36897 | for ac_last_try in false false false false false :; do | 19727 | for ac_last_try in false false false false false :; do |
36898 | cat >conf$$subs.sed <<_ACEOF | 19728 | . ./conf$$subs.sh || |
36899 | SHELL!$SHELL$ac_delim | 19729 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
36900 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | 19730 | |
36901 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim | 19731 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
36902 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim | 19732 | if test $ac_delim_n = $ac_delim_num; then |
36903 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | ||
36904 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim | ||
36905 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | ||
36906 | exec_prefix!$exec_prefix$ac_delim | ||
36907 | prefix!$prefix$ac_delim | ||
36908 | program_transform_name!$program_transform_name$ac_delim | ||
36909 | bindir!$bindir$ac_delim | ||
36910 | sbindir!$sbindir$ac_delim | ||
36911 | libexecdir!$libexecdir$ac_delim | ||
36912 | datarootdir!$datarootdir$ac_delim | ||
36913 | datadir!$datadir$ac_delim | ||
36914 | sysconfdir!$sysconfdir$ac_delim | ||
36915 | sharedstatedir!$sharedstatedir$ac_delim | ||
36916 | localstatedir!$localstatedir$ac_delim | ||
36917 | includedir!$includedir$ac_delim | ||
36918 | oldincludedir!$oldincludedir$ac_delim | ||
36919 | docdir!$docdir$ac_delim | ||
36920 | infodir!$infodir$ac_delim | ||
36921 | htmldir!$htmldir$ac_delim | ||
36922 | dvidir!$dvidir$ac_delim | ||
36923 | pdfdir!$pdfdir$ac_delim | ||
36924 | psdir!$psdir$ac_delim | ||
36925 | libdir!$libdir$ac_delim | ||
36926 | localedir!$localedir$ac_delim | ||
36927 | mandir!$mandir$ac_delim | ||
36928 | DEFS!$DEFS$ac_delim | ||
36929 | ECHO_C!$ECHO_C$ac_delim | ||
36930 | ECHO_N!$ECHO_N$ac_delim | ||
36931 | ECHO_T!$ECHO_T$ac_delim | ||
36932 | LIBS!$LIBS$ac_delim | ||
36933 | build_alias!$build_alias$ac_delim | ||
36934 | host_alias!$host_alias$ac_delim | ||
36935 | target_alias!$target_alias$ac_delim | ||
36936 | CC!$CC$ac_delim | ||
36937 | CFLAGS!$CFLAGS$ac_delim | ||
36938 | LDFLAGS!$LDFLAGS$ac_delim | ||
36939 | CPPFLAGS!$CPPFLAGS$ac_delim | ||
36940 | ac_ct_CC!$ac_ct_CC$ac_delim | ||
36941 | EXEEXT!$EXEEXT$ac_delim | ||
36942 | OBJEXT!$OBJEXT$ac_delim | ||
36943 | build!$build$ac_delim | ||
36944 | build_cpu!$build_cpu$ac_delim | ||
36945 | build_vendor!$build_vendor$ac_delim | ||
36946 | build_os!$build_os$ac_delim | ||
36947 | host!$host$ac_delim | ||
36948 | host_cpu!$host_cpu$ac_delim | ||
36949 | host_vendor!$host_vendor$ac_delim | ||
36950 | host_os!$host_os$ac_delim | ||
36951 | CPP!$CPP$ac_delim | ||
36952 | GREP!$GREP$ac_delim | ||
36953 | EGREP!$EGREP$ac_delim | ||
36954 | AWK!$AWK$ac_delim | ||
36955 | RANLIB!$RANLIB$ac_delim | ||
36956 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | ||
36957 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | ||
36958 | INSTALL_DATA!$INSTALL_DATA$ac_delim | ||
36959 | AR!$AR$ac_delim | ||
36960 | ac_ct_AR!$ac_ct_AR$ac_delim | ||
36961 | CAT!$CAT$ac_delim | ||
36962 | KILL!$KILL$ac_delim | ||
36963 | PERL!$PERL$ac_delim | ||
36964 | SED!$SED$ac_delim | ||
36965 | ENT!$ENT$ac_delim | ||
36966 | TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim | ||
36967 | SH!$SH$ac_delim | ||
36968 | GROFF!$GROFF$ac_delim | ||
36969 | NROFF!$NROFF$ac_delim | ||
36970 | MANDOC!$MANDOC$ac_delim | ||
36971 | TEST_SHELL!$TEST_SHELL$ac_delim | ||
36972 | MANFMT!$MANFMT$ac_delim | ||
36973 | PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim | ||
36974 | PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim | ||
36975 | MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim | ||
36976 | STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim | ||
36977 | LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim | ||
36978 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim | ||
36979 | LD!$LD$ac_delim | ||
36980 | PKGCONFIG!$PKGCONFIG$ac_delim | ||
36981 | LIBEDIT!$LIBEDIT$ac_delim | ||
36982 | TEST_SSH_ECC!$TEST_SSH_ECC$ac_delim | ||
36983 | COMMENT_OUT_ECC!$COMMENT_OUT_ECC$ac_delim | ||
36984 | SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim | ||
36985 | SSHLIBS!$SSHLIBS$ac_delim | ||
36986 | SSHDLIBS!$SSHDLIBS$ac_delim | ||
36987 | KRB5CONF!$KRB5CONF$ac_delim | ||
36988 | GSSLIBS!$GSSLIBS$ac_delim | ||
36989 | K5LIBS!$K5LIBS$ac_delim | ||
36990 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim | ||
36991 | xauth_path!$xauth_path$ac_delim | ||
36992 | STRIP_OPT!$STRIP_OPT$ac_delim | ||
36993 | XAUTH_PATH!$XAUTH_PATH$ac_delim | ||
36994 | MANTYPE!$MANTYPE$ac_delim | ||
36995 | mansubdir!$mansubdir$ac_delim | ||
36996 | _ACEOF | ||
36997 | |||
36998 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | ||
36999 | break | 19733 | break |
37000 | elif $ac_last_try; then | 19734 | elif $ac_last_try; then |
37001 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 19735 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
37002 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
37003 | { (exit 1); exit 1; }; } | ||
37004 | else | 19736 | else |
37005 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 19737 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
37006 | fi | 19738 | fi |
37007 | done | 19739 | done |
37008 | 19740 | rm -f conf$$subs.sh | |
37009 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | 19741 | |
37010 | if test -n "$ac_eof"; then | 19742 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
37011 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | 19743 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
37012 | ac_eof=`expr $ac_eof + 1` | 19744 | _ACEOF |
19745 | sed -n ' | ||
19746 | h | ||
19747 | s/^/S["/; s/!.*/"]=/ | ||
19748 | p | ||
19749 | g | ||
19750 | s/^[^!]*!// | ||
19751 | :repl | ||
19752 | t repl | ||
19753 | s/'"$ac_delim"'$// | ||
19754 | t delim | ||
19755 | :nl | ||
19756 | h | ||
19757 | s/\(.\{148\}\)..*/\1/ | ||
19758 | t more1 | ||
19759 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
19760 | p | ||
19761 | n | ||
19762 | b repl | ||
19763 | :more1 | ||
19764 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
19765 | p | ||
19766 | g | ||
19767 | s/.\{148\}// | ||
19768 | t nl | ||
19769 | :delim | ||
19770 | h | ||
19771 | s/\(.\{148\}\)..*/\1/ | ||
19772 | t more2 | ||
19773 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
19774 | p | ||
19775 | b | ||
19776 | :more2 | ||
19777 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
19778 | p | ||
19779 | g | ||
19780 | s/.\{148\}// | ||
19781 | t delim | ||
19782 | ' <conf$$subs.awk | sed ' | ||
19783 | /^[^""]/{ | ||
19784 | N | ||
19785 | s/\n// | ||
19786 | } | ||
19787 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
19788 | rm -f conf$$subs.awk | ||
19789 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
19790 | _ACAWK | ||
19791 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | ||
19792 | for (key in S) S_is_set[key] = 1 | ||
19793 | FS = "" | ||
19794 | |||
19795 | } | ||
19796 | { | ||
19797 | line = $ 0 | ||
19798 | nfields = split(line, field, "@") | ||
19799 | substed = 0 | ||
19800 | len = length(field[1]) | ||
19801 | for (i = 2; i < nfields; i++) { | ||
19802 | key = field[i] | ||
19803 | keylen = length(key) | ||
19804 | if (S_is_set[key]) { | ||
19805 | value = S[key] | ||
19806 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
19807 | len += length(value) + length(field[++i]) | ||
19808 | substed = 1 | ||
19809 | } else | ||
19810 | len += 1 + keylen | ||
19811 | } | ||
19812 | |||
19813 | print line | ||
19814 | } | ||
19815 | |||
19816 | _ACAWK | ||
19817 | _ACEOF | ||
19818 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
19819 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
19820 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
19821 | else | ||
19822 | cat | ||
19823 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | ||
19824 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | ||
19825 | _ACEOF | ||
19826 | |||
19827 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | ||
19828 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | ||
19829 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
19830 | # (actually we leave an empty line to preserve line numbers). | ||
19831 | if test "x$srcdir" = x.; then | ||
19832 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | ||
19833 | h | ||
19834 | s/// | ||
19835 | s/^/:/ | ||
19836 | s/[ ]*$/:/ | ||
19837 | s/:\$(srcdir):/:/g | ||
19838 | s/:\${srcdir}:/:/g | ||
19839 | s/:@srcdir@:/:/g | ||
19840 | s/^:*// | ||
19841 | s/:*$// | ||
19842 | x | ||
19843 | s/\(=[ ]*\).*/\1/ | ||
19844 | G | ||
19845 | s/\n// | ||
19846 | s/^[^=]*=[ ]*$// | ||
19847 | }' | ||
37013 | fi | 19848 | fi |
37014 | 19849 | ||
37015 | cat >>$CONFIG_STATUS <<_ACEOF | 19850 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
37016 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | 19851 | fi # test -n "$CONFIG_FILES" |
37017 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 19852 | |
37018 | _ACEOF | 19853 | # Set up the scripts for CONFIG_HEADERS section. |
37019 | sed ' | 19854 | # No need to generate them if there are no CONFIG_HEADERS. |
37020 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | 19855 | # This happens for instance with `./config.status Makefile'. |
37021 | s/^/s,@/; s/!/@,|#_!!_#|/ | 19856 | if test -n "$CONFIG_HEADERS"; then |
37022 | :n | 19857 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
37023 | t n | 19858 | BEGIN { |
37024 | s/'"$ac_delim"'$/,g/; t | ||
37025 | s/$/\\/; p | ||
37026 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
37027 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
37028 | rm -f conf$$subs.sed | ||
37029 | cat >>$CONFIG_STATUS <<_ACEOF | ||
37030 | CEOF$ac_eof | ||
37031 | _ACEOF | 19859 | _ACEOF |
37032 | 19860 | ||
19861 | # Transform confdefs.h into an awk script `defines.awk', embedded as | ||
19862 | # here-document in config.status, that substitutes the proper values into | ||
19863 | # config.h.in to produce config.h. | ||
37033 | 19864 | ||
19865 | # Create a delimiter string that does not exist in confdefs.h, to ease | ||
19866 | # handling of long lines. | ||
37034 | ac_delim='%!_!# ' | 19867 | ac_delim='%!_!# ' |
37035 | for ac_last_try in false false false false false :; do | 19868 | for ac_last_try in false false :; do |
37036 | cat >conf$$subs.sed <<_ACEOF | 19869 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
37037 | user_path!$user_path$ac_delim | 19870 | if test -z "$ac_tt"; then |
37038 | piddir!$piddir$ac_delim | ||
37039 | TEST_SSH_IPV6!$TEST_SSH_IPV6$ac_delim | ||
37040 | TEST_MALLOC_OPTIONS!$TEST_MALLOC_OPTIONS$ac_delim | ||
37041 | UNSUPPORTED_ALGORITHMS!$UNSUPPORTED_ALGORITHMS$ac_delim | ||
37042 | LIBOBJS!$LIBOBJS$ac_delim | ||
37043 | LTLIBOBJS!$LTLIBOBJS$ac_delim | ||
37044 | _ACEOF | ||
37045 | |||
37046 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then | ||
37047 | break | 19871 | break |
37048 | elif $ac_last_try; then | 19872 | elif $ac_last_try; then |
37049 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | 19873 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
37050 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
37051 | { (exit 1); exit 1; }; } | ||
37052 | else | 19874 | else |
37053 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 19875 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
37054 | fi | 19876 | fi |
37055 | done | 19877 | done |
37056 | 19878 | ||
37057 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | 19879 | # For the awk script, D is an array of macro values keyed by name, |
37058 | if test -n "$ac_eof"; then | 19880 | # likewise P contains macro parameters if any. Preserve backslash |
37059 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | 19881 | # newline sequences. |
37060 | ac_eof=`expr $ac_eof + 1` | ||
37061 | fi | ||
37062 | 19882 | ||
37063 | cat >>$CONFIG_STATUS <<_ACEOF | 19883 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
37064 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | 19884 | sed -n ' |
37065 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | 19885 | s/.\{148\}/&'"$ac_delim"'/g |
37066 | _ACEOF | 19886 | t rset |
37067 | sed ' | 19887 | :rset |
37068 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | 19888 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
37069 | s/^/s,@/; s/!/@,|#_!!_#|/ | 19889 | t def |
37070 | :n | 19890 | d |
37071 | t n | 19891 | :def |
37072 | s/'"$ac_delim"'$/,g/; t | 19892 | s/\\$// |
37073 | s/$/\\/; p | 19893 | t bsnl |
37074 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | 19894 | s/["\\]/\\&/g |
37075 | ' >>$CONFIG_STATUS <conf$$subs.sed | 19895 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
37076 | rm -f conf$$subs.sed | 19896 | D["\1"]=" \3"/p |
37077 | cat >>$CONFIG_STATUS <<_ACEOF | 19897 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
37078 | :end | 19898 | d |
37079 | s/|#_!!_#|//g | 19899 | :bsnl |
37080 | CEOF$ac_eof | 19900 | s/["\\]/\\&/g |
19901 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
19902 | D["\1"]=" \3\\\\\\n"\\/p | ||
19903 | t cont | ||
19904 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
19905 | t cont | ||
19906 | d | ||
19907 | :cont | ||
19908 | n | ||
19909 | s/.\{148\}/&'"$ac_delim"'/g | ||
19910 | t clear | ||
19911 | :clear | ||
19912 | s/\\$// | ||
19913 | t bsnlc | ||
19914 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
19915 | d | ||
19916 | :bsnlc | ||
19917 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
19918 | b cont | ||
19919 | ' <confdefs.h | sed ' | ||
19920 | s/'"$ac_delim"'/"\\\ | ||
19921 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
19922 | |||
19923 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
19924 | for (key in D) D_is_set[key] = 1 | ||
19925 | FS = "" | ||
19926 | } | ||
19927 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | ||
19928 | line = \$ 0 | ||
19929 | split(line, arg, " ") | ||
19930 | if (arg[1] == "#") { | ||
19931 | defundef = arg[2] | ||
19932 | mac1 = arg[3] | ||
19933 | } else { | ||
19934 | defundef = substr(arg[1], 2) | ||
19935 | mac1 = arg[2] | ||
19936 | } | ||
19937 | split(mac1, mac2, "(") #) | ||
19938 | macro = mac2[1] | ||
19939 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
19940 | if (D_is_set[macro]) { | ||
19941 | # Preserve the white space surrounding the "#". | ||
19942 | print prefix "define", macro P[macro] D[macro] | ||
19943 | next | ||
19944 | } else { | ||
19945 | # Replace #undef with comments. This is necessary, for example, | ||
19946 | # in the case of _POSIX_SOURCE, which is predefined and required | ||
19947 | # on some systems where configure will not decide to define it. | ||
19948 | if (defundef == "undef") { | ||
19949 | print "/*", prefix defundef, macro, "*/" | ||
19950 | next | ||
19951 | } | ||
19952 | } | ||
19953 | } | ||
19954 | { print } | ||
19955 | _ACAWK | ||
37081 | _ACEOF | 19956 | _ACEOF |
19957 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
19958 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | ||
19959 | fi # test -n "$CONFIG_HEADERS" | ||
37082 | 19960 | ||
37083 | 19961 | ||
37084 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 19962 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " |
37085 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 19963 | shift |
37086 | # trailing colons and then remove the whole line if VPATH becomes empty | 19964 | for ac_tag |
37087 | # (actually we leave an empty line to preserve line numbers). | ||
37088 | if test "x$srcdir" = x.; then | ||
37089 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
37090 | s/:*\$(srcdir):*/:/ | ||
37091 | s/:*\${srcdir}:*/:/ | ||
37092 | s/:*@srcdir@:*/:/ | ||
37093 | s/^\([^=]*=[ ]*\):*/\1/ | ||
37094 | s/:*$// | ||
37095 | s/^[^=]*=[ ]*$// | ||
37096 | }' | ||
37097 | fi | ||
37098 | |||
37099 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
37100 | fi # test -n "$CONFIG_FILES" | ||
37101 | |||
37102 | |||
37103 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | ||
37104 | do | 19965 | do |
37105 | case $ac_tag in | 19966 | case $ac_tag in |
37106 | :[FHLC]) ac_mode=$ac_tag; continue;; | 19967 | :[FHLC]) ac_mode=$ac_tag; continue;; |
37107 | esac | 19968 | esac |
37108 | case $ac_mode$ac_tag in | 19969 | case $ac_mode$ac_tag in |
37109 | :[FHL]*:*);; | 19970 | :[FHL]*:*);; |
37110 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | 19971 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
37111 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
37112 | { (exit 1); exit 1; }; };; | ||
37113 | :[FH]-) ac_tag=-:-;; | 19972 | :[FH]-) ac_tag=-:-;; |
37114 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 19973 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
37115 | esac | 19974 | esac |
@@ -37128,7 +19987,7 @@ echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |||
37128 | for ac_f | 19987 | for ac_f |
37129 | do | 19988 | do |
37130 | case $ac_f in | 19989 | case $ac_f in |
37131 | -) ac_f="$tmp/stdin";; | 19990 | -) ac_f="$ac_tmp/stdin";; |
37132 | *) # Look for the file first in the build tree, then in the source tree | 19991 | *) # Look for the file first in the build tree, then in the source tree |
37133 | # (if the path is not absolute). The absolute path cannot be DOS-style, | 19992 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
37134 | # because $ac_f cannot contain `:'. | 19993 | # because $ac_f cannot contain `:'. |
@@ -37137,26 +19996,34 @@ echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |||
37137 | [\\/$]*) false;; | 19996 | [\\/$]*) false;; |
37138 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 19997 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
37139 | esac || | 19998 | esac || |
37140 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | 19999 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
37141 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
37142 | { (exit 1); exit 1; }; };; | ||
37143 | esac | 20000 | esac |
37144 | ac_file_inputs="$ac_file_inputs $ac_f" | 20001 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
20002 | as_fn_append ac_file_inputs " '$ac_f'" | ||
37145 | done | 20003 | done |
37146 | 20004 | ||
37147 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 20005 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
37148 | # use $as_me), people would be surprised to read: | 20006 | # use $as_me), people would be surprised to read: |
37149 | # /* config.h. Generated by config.status. */ | 20007 | # /* config.h. Generated by config.status. */ |
37150 | configure_input="Generated from "`IFS=: | 20008 | configure_input='Generated from '` |
37151 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | 20009 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
20010 | `' by configure.' | ||
37152 | if test x"$ac_file" != x-; then | 20011 | if test x"$ac_file" != x-; then |
37153 | configure_input="$ac_file. $configure_input" | 20012 | configure_input="$ac_file. $configure_input" |
37154 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | 20013 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
37155 | echo "$as_me: creating $ac_file" >&6;} | 20014 | $as_echo "$as_me: creating $ac_file" >&6;} |
37156 | fi | 20015 | fi |
20016 | # Neutralize special characters interpreted by sed in replacement strings. | ||
20017 | case $configure_input in #( | ||
20018 | *\&* | *\|* | *\\* ) | ||
20019 | ac_sed_conf_input=`$as_echo "$configure_input" | | ||
20020 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
20021 | *) ac_sed_conf_input=$configure_input;; | ||
20022 | esac | ||
37157 | 20023 | ||
37158 | case $ac_tag in | 20024 | case $ac_tag in |
37159 | *:-:* | *:-) cat >"$tmp/stdin";; | 20025 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
20026 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | ||
37160 | esac | 20027 | esac |
37161 | ;; | 20028 | ;; |
37162 | esac | 20029 | esac |
@@ -37166,42 +20033,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |||
37166 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 20033 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
37167 | X"$ac_file" : 'X\(//\)$' \| \ | 20034 | X"$ac_file" : 'X\(//\)$' \| \ |
37168 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 20035 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
37169 | echo X"$ac_file" | | 20036 | $as_echo X"$ac_file" | |
37170 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
37171 | s//\1/ | ||
37172 | q | ||
37173 | } | ||
37174 | /^X\(\/\/\)[^/].*/{ | ||
37175 | s//\1/ | ||
37176 | q | ||
37177 | } | ||
37178 | /^X\(\/\/\)$/{ | ||
37179 | s//\1/ | ||
37180 | q | ||
37181 | } | ||
37182 | /^X\(\/\).*/{ | ||
37183 | s//\1/ | ||
37184 | q | ||
37185 | } | ||
37186 | s/.*/./; q'` | ||
37187 | { as_dir="$ac_dir" | ||
37188 | case $as_dir in #( | ||
37189 | -*) as_dir=./$as_dir;; | ||
37190 | esac | ||
37191 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
37192 | as_dirs= | ||
37193 | while :; do | ||
37194 | case $as_dir in #( | ||
37195 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | ||
37196 | *) as_qdir=$as_dir;; | ||
37197 | esac | ||
37198 | as_dirs="'$as_qdir' $as_dirs" | ||
37199 | as_dir=`$as_dirname -- "$as_dir" || | ||
37200 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
37201 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
37202 | X"$as_dir" : 'X\(//\)$' \| \ | ||
37203 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
37204 | echo X"$as_dir" | | ||
37205 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 20037 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
37206 | s//\1/ | 20038 | s//\1/ |
37207 | q | 20039 | q |
@@ -37219,20 +20051,15 @@ echo X"$as_dir" | | |||
37219 | q | 20051 | q |
37220 | } | 20052 | } |
37221 | s/.*/./; q'` | 20053 | s/.*/./; q'` |
37222 | test -d "$as_dir" && break | 20054 | as_dir="$ac_dir"; as_fn_mkdir_p |
37223 | done | ||
37224 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
37225 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
37226 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
37227 | { (exit 1); exit 1; }; }; } | ||
37228 | ac_builddir=. | 20055 | ac_builddir=. |
37229 | 20056 | ||
37230 | case "$ac_dir" in | 20057 | case "$ac_dir" in |
37231 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 20058 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
37232 | *) | 20059 | *) |
37233 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 20060 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
37234 | # A ".." for each directory in $ac_dir_suffix. | 20061 | # A ".." for each directory in $ac_dir_suffix. |
37235 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` | 20062 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
37236 | case $ac_top_builddir_sub in | 20063 | case $ac_top_builddir_sub in |
37237 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 20064 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
37238 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 20065 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
@@ -37272,12 +20099,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |||
37272 | esac | 20099 | esac |
37273 | _ACEOF | 20100 | _ACEOF |
37274 | 20101 | ||
37275 | cat >>$CONFIG_STATUS <<\_ACEOF | 20102 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
37276 | # If the template does not know about datarootdir, expand it. | 20103 | # If the template does not know about datarootdir, expand it. |
37277 | # FIXME: This hack should be removed a few years after 2.60. | 20104 | # FIXME: This hack should be removed a few years after 2.60. |
37278 | ac_datarootdir_hack=; ac_datarootdir_seen= | 20105 | ac_datarootdir_hack=; ac_datarootdir_seen= |
37279 | 20106 | ac_sed_dataroot=' | |
37280 | case `sed -n '/datarootdir/ { | 20107 | /datarootdir/ { |
37281 | p | 20108 | p |
37282 | q | 20109 | q |
37283 | } | 20110 | } |
@@ -37285,36 +20112,37 @@ case `sed -n '/datarootdir/ { | |||
37285 | /@docdir@/p | 20112 | /@docdir@/p |
37286 | /@infodir@/p | 20113 | /@infodir@/p |
37287 | /@localedir@/p | 20114 | /@localedir@/p |
37288 | /@mandir@/p | 20115 | /@mandir@/p' |
37289 | ' $ac_file_inputs` in | 20116 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
37290 | *datarootdir*) ac_datarootdir_seen=yes;; | 20117 | *datarootdir*) ac_datarootdir_seen=yes;; |
37291 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 20118 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
37292 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 20119 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
37293 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 20120 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
37294 | _ACEOF | 20121 | _ACEOF |
37295 | cat >>$CONFIG_STATUS <<_ACEOF | 20122 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
37296 | ac_datarootdir_hack=' | 20123 | ac_datarootdir_hack=' |
37297 | s&@datadir@&$datadir&g | 20124 | s&@datadir@&$datadir&g |
37298 | s&@docdir@&$docdir&g | 20125 | s&@docdir@&$docdir&g |
37299 | s&@infodir@&$infodir&g | 20126 | s&@infodir@&$infodir&g |
37300 | s&@localedir@&$localedir&g | 20127 | s&@localedir@&$localedir&g |
37301 | s&@mandir@&$mandir&g | 20128 | s&@mandir@&$mandir&g |
37302 | s&\\\${datarootdir}&$datarootdir&g' ;; | 20129 | s&\\\${datarootdir}&$datarootdir&g' ;; |
37303 | esac | 20130 | esac |
37304 | _ACEOF | 20131 | _ACEOF |
37305 | 20132 | ||
37306 | # Neutralize VPATH when `$srcdir' = `.'. | 20133 | # Neutralize VPATH when `$srcdir' = `.'. |
37307 | # Shell code in configure.ac might set extrasub. | 20134 | # Shell code in configure.ac might set extrasub. |
37308 | # FIXME: do we really want to maintain this feature? | 20135 | # FIXME: do we really want to maintain this feature? |
37309 | cat >>$CONFIG_STATUS <<_ACEOF | 20136 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
37310 | sed "$ac_vpsub | 20137 | ac_sed_extra="$ac_vpsub |
37311 | $extrasub | 20138 | $extrasub |
37312 | _ACEOF | 20139 | _ACEOF |
37313 | cat >>$CONFIG_STATUS <<\_ACEOF | 20140 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
37314 | :t | 20141 | :t |
37315 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 20142 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
37316 | s&@configure_input@&$configure_input&;t t | 20143 | s|@configure_input@|$ac_sed_conf_input|;t t |
37317 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 20144 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
20145 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
37318 | s&@srcdir@&$ac_srcdir&;t t | 20146 | s&@srcdir@&$ac_srcdir&;t t |
37319 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 20147 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
37320 | s&@top_srcdir@&$ac_top_srcdir&;t t | 20148 | s&@top_srcdir@&$ac_top_srcdir&;t t |
@@ -37324,119 +20152,49 @@ s&@abs_builddir@&$ac_abs_builddir&;t t | |||
37324 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 20152 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
37325 | s&@INSTALL@&$ac_INSTALL&;t t | 20153 | s&@INSTALL@&$ac_INSTALL&;t t |
37326 | $ac_datarootdir_hack | 20154 | $ac_datarootdir_hack |
37327 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out | 20155 | " |
20156 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | ||
20157 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
37328 | 20158 | ||
37329 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 20159 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
37330 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 20160 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
37331 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 20161 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
37332 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 20162 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
37333 | which seems to be undefined. Please make sure it is defined." >&5 | 20163 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
37334 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 20164 | which seems to be undefined. Please make sure it is defined" >&5 |
37335 | which seems to be undefined. Please make sure it is defined." >&2;} | 20165 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
37336 | 20166 | which seems to be undefined. Please make sure it is defined" >&2;} | |
37337 | rm -f "$tmp/stdin" | 20167 | |
20168 | rm -f "$ac_tmp/stdin" | ||
37338 | case $ac_file in | 20169 | case $ac_file in |
37339 | -) cat "$tmp/out"; rm -f "$tmp/out";; | 20170 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
37340 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; | 20171 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
37341 | esac | 20172 | esac \ |
20173 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
37342 | ;; | 20174 | ;; |
37343 | :H) | 20175 | :H) |
37344 | # | 20176 | # |
37345 | # CONFIG_HEADER | 20177 | # CONFIG_HEADER |
37346 | # | 20178 | # |
37347 | _ACEOF | ||
37348 | |||
37349 | # Transform confdefs.h into a sed script `conftest.defines', that | ||
37350 | # substitutes the proper values into config.h.in to produce config.h. | ||
37351 | rm -f conftest.defines conftest.tail | ||
37352 | # First, append a space to every undef/define line, to ease matching. | ||
37353 | echo 's/$/ /' >conftest.defines | ||
37354 | # Then, protect against being on the right side of a sed subst, or in | ||
37355 | # an unquoted here document, in config.status. If some macros were | ||
37356 | # called several times there might be several #defines for the same | ||
37357 | # symbol, which is useless. But do not sort them, since the last | ||
37358 | # AC_DEFINE must be honored. | ||
37359 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
37360 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | ||
37361 | # NAME is the cpp macro being defined, VALUE is the value it is being given. | ||
37362 | # PARAMS is the parameter list in the macro definition--in most cases, it's | ||
37363 | # just an empty string. | ||
37364 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | ||
37365 | ac_dB='\\)[ (].*,\\1define\\2' | ||
37366 | ac_dC=' ' | ||
37367 | ac_dD=' ,' | ||
37368 | |||
37369 | uniq confdefs.h | | ||
37370 | sed -n ' | ||
37371 | t rset | ||
37372 | :rset | ||
37373 | s/^[ ]*#[ ]*define[ ][ ]*// | ||
37374 | t ok | ||
37375 | d | ||
37376 | :ok | ||
37377 | s/[\\&,]/\\&/g | ||
37378 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | ||
37379 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p | ||
37380 | ' >>conftest.defines | ||
37381 | |||
37382 | # Remove the space that was appended to ease matching. | ||
37383 | # Then replace #undef with comments. This is necessary, for | ||
37384 | # example, in the case of _POSIX_SOURCE, which is predefined and required | ||
37385 | # on some systems where configure will not decide to define it. | ||
37386 | # (The regexp can be short, since the line contains either #define or #undef.) | ||
37387 | echo 's/ $// | ||
37388 | s,^[ #]*u.*,/* & */,' >>conftest.defines | ||
37389 | |||
37390 | # Break up conftest.defines: | ||
37391 | ac_max_sed_lines=50 | ||
37392 | |||
37393 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | ||
37394 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | ||
37395 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | ||
37396 | # et cetera. | ||
37397 | ac_in='$ac_file_inputs' | ||
37398 | ac_out='"$tmp/out1"' | ||
37399 | ac_nxt='"$tmp/out2"' | ||
37400 | |||
37401 | while : | ||
37402 | do | ||
37403 | # Write a here document: | ||
37404 | cat >>$CONFIG_STATUS <<_ACEOF | ||
37405 | # First, check the format of the line: | ||
37406 | cat >"\$tmp/defines.sed" <<\\CEOF | ||
37407 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | ||
37408 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | ||
37409 | b | ||
37410 | :def | ||
37411 | _ACEOF | ||
37412 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | ||
37413 | echo 'CEOF | ||
37414 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | ||
37415 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | ||
37416 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | ||
37417 | grep . conftest.tail >/dev/null || break | ||
37418 | rm -f conftest.defines | ||
37419 | mv conftest.tail conftest.defines | ||
37420 | done | ||
37421 | rm -f conftest.defines conftest.tail | ||
37422 | |||
37423 | echo "ac_result=$ac_in" >>$CONFIG_STATUS | ||
37424 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
37425 | if test x"$ac_file" != x-; then | 20179 | if test x"$ac_file" != x-; then |
37426 | echo "/* $configure_input */" >"$tmp/config.h" | 20180 | { |
37427 | cat "$ac_result" >>"$tmp/config.h" | 20181 | $as_echo "/* $configure_input */" \ |
37428 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | 20182 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
37429 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 20183 | } >"$ac_tmp/config.h" \ |
37430 | echo "$as_me: $ac_file is unchanged" >&6;} | 20184 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
20185 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | ||
20186 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | ||
20187 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | ||
37431 | else | 20188 | else |
37432 | rm -f $ac_file | 20189 | rm -f "$ac_file" |
37433 | mv "$tmp/config.h" $ac_file | 20190 | mv "$ac_tmp/config.h" "$ac_file" \ |
20191 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
37434 | fi | 20192 | fi |
37435 | else | 20193 | else |
37436 | echo "/* $configure_input */" | 20194 | $as_echo "/* $configure_input */" \ |
37437 | cat "$ac_result" | 20195 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
20196 | || as_fn_error $? "could not create -" "$LINENO" 5 | ||
37438 | fi | 20197 | fi |
37439 | rm -f "$tmp/out12" | ||
37440 | ;; | 20198 | ;; |
37441 | 20199 | ||
37442 | 20200 | ||
@@ -37445,11 +20203,13 @@ echo "$as_me: $ac_file is unchanged" >&6;} | |||
37445 | done # for ac_tag | 20203 | done # for ac_tag |
37446 | 20204 | ||
37447 | 20205 | ||
37448 | { (exit 0); exit 0; } | 20206 | as_fn_exit 0 |
37449 | _ACEOF | 20207 | _ACEOF |
37450 | chmod +x $CONFIG_STATUS | ||
37451 | ac_clean_files=$ac_clean_files_save | 20208 | ac_clean_files=$ac_clean_files_save |
37452 | 20209 | ||
20210 | test $ac_write_fail = 0 || | ||
20211 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | ||
20212 | |||
37453 | 20213 | ||
37454 | # configure is writing to config.log, and then calls config.status. | 20214 | # configure is writing to config.log, and then calls config.status. |
37455 | # config.status does its own redirection, appending to config.log. | 20215 | # config.status does its own redirection, appending to config.log. |
@@ -37469,7 +20229,11 @@ if test "$no_create" != yes; then | |||
37469 | exec 5>>config.log | 20229 | exec 5>>config.log |
37470 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 20230 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
37471 | # would make configure fail if this is the last instruction. | 20231 | # would make configure fail if this is the last instruction. |
37472 | $ac_cs_success || { (exit 1); exit 1; } | 20232 | $ac_cs_success || as_fn_exit 1 |
20233 | fi | ||
20234 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
20235 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
20236 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
37473 | fi | 20237 | fi |
37474 | 20238 | ||
37475 | 20239 | ||