diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
commit | baccdb349b31c47cd76fb63211f754ed33a9707e (patch) | |
tree | d03653f975fd4eb8bf71bb0c9d168614401202fa /configure | |
parent | 487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (diff) | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
Import openssh_6.8p1.orig.tar.gz
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 29933 |
1 files changed, 23410 insertions, 6523 deletions
@@ -1,86 +1,63 @@ | |||
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.68 for OpenSSH Portable. | 4 | # Generated by GNU Autoconf 2.61 for OpenSSH Portable. |
5 | # | 5 | # |
6 | # Report bugs to <openssh-unix-dev@mindrot.org>. | 6 | # Report bugs to <openssh-unix-dev@mindrot.org>. |
7 | # | 7 | # |
8 | # | ||
9 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
10 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 9 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
11 | # Foundation, Inc. | ||
12 | # | ||
13 | # | ||
14 | # This configure script is free software; the Free Software Foundation | 10 | # This configure script is free software; the Free Software Foundation |
15 | # gives unlimited permission to copy, distribute and modify it. | 11 | # gives unlimited permission to copy, distribute and modify it. |
16 | ## -------------------- ## | 12 | ## --------------------- ## |
17 | ## M4sh Initialization. ## | 13 | ## M4sh Initialization. ## |
18 | ## -------------------- ## | 14 | ## --------------------- ## |
19 | 15 | ||
20 | # Be more Bourne compatible | 16 | # Be more Bourne compatible |
21 | DUALCASE=1; export DUALCASE # for MKS sh | 17 | DUALCASE=1; export DUALCASE # for MKS sh |
22 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 18 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
23 | emulate sh | 19 | emulate sh |
24 | NULLCMD=: | 20 | NULLCMD=: |
25 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 21 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
26 | # is contrary to our usage. Disable this feature. | 22 | # is contrary to our usage. Disable this feature. |
27 | alias -g '${1+"$@"}'='"$@"' | 23 | alias -g '${1+"$@"}'='"$@"' |
28 | setopt NO_GLOB_SUBST | 24 | setopt NO_GLOB_SUBST |
29 | else | 25 | else |
30 | case `(set -o) 2>/dev/null` in #( | 26 | case `(set -o) 2>/dev/null` in |
31 | *posix*) : | 27 | *posix*) set -o posix ;; |
32 | set -o posix ;; #( | ||
33 | *) : | ||
34 | ;; | ||
35 | esac | 28 | esac |
29 | |||
36 | fi | 30 | fi |
37 | 31 | ||
38 | 32 | ||
39 | as_nl=' | 33 | |
40 | ' | 34 | |
41 | export as_nl | 35 | # PATH needs CR |
42 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 36 | # Avoid depending upon Character Ranges. |
43 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 37 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 38 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 39 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
46 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 40 | as_cr_digits='0123456789' |
47 | # but without wasting forks for bash or zsh. | 41 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
48 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 42 | |
49 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 43 | # The user is always right. |
50 | as_echo='print -r --' | 44 | if test "${PATH_SEPARATOR+set}" != set; then |
51 | as_echo_n='print -rn --' | 45 | echo "#! /bin/sh" >conf$$.sh |
52 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 46 | echo "exit 0" >>conf$$.sh |
53 | as_echo='printf %s\n' | 47 | chmod +x conf$$.sh |
54 | as_echo_n='printf %s' | 48 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
55 | else | 49 | PATH_SEPARATOR=';' |
56 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
57 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
58 | as_echo_n='/usr/ucb/echo -n' | ||
59 | else | 50 | else |
60 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 51 | PATH_SEPARATOR=: |
61 | as_echo_n_body='eval | ||
62 | arg=$1; | ||
63 | case $arg in #( | ||
64 | *"$as_nl"*) | ||
65 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
66 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
67 | esac; | ||
68 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
69 | ' | ||
70 | export as_echo_n_body | ||
71 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
72 | fi | 52 | fi |
73 | export as_echo_body | 53 | rm -f conf$$.sh |
74 | as_echo='sh -c $as_echo_body as_echo' | ||
75 | fi | 54 | fi |
76 | 55 | ||
77 | # The user is always right. | 56 | # Support unset when possible. |
78 | if test "${PATH_SEPARATOR+set}" != set; then | 57 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
79 | PATH_SEPARATOR=: | 58 | as_unset=unset |
80 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 59 | else |
81 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 60 | as_unset=false |
82 | PATH_SEPARATOR=';' | ||
83 | } | ||
84 | fi | 61 | fi |
85 | 62 | ||
86 | 63 | ||
@@ -89,19 +66,20 @@ fi | |||
89 | # there to prevent editors from complaining about space-tab. | 66 | # there to prevent editors from complaining about space-tab. |
90 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 67 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
91 | # splitting by setting IFS to empty value.) | 68 | # splitting by setting IFS to empty value.) |
69 | as_nl=' | ||
70 | ' | ||
92 | IFS=" "" $as_nl" | 71 | IFS=" "" $as_nl" |
93 | 72 | ||
94 | # Find who we are. Look in the path if we contain no directory separator. | 73 | # Find who we are. Look in the path if we contain no directory separator. |
95 | as_myself= | 74 | case $0 in |
96 | case $0 in #(( | ||
97 | *[\\/]* ) as_myself=$0 ;; | 75 | *[\\/]* ) as_myself=$0 ;; |
98 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 76 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
99 | for as_dir in $PATH | 77 | for as_dir in $PATH |
100 | do | 78 | do |
101 | IFS=$as_save_IFS | 79 | IFS=$as_save_IFS |
102 | test -z "$as_dir" && as_dir=. | 80 | test -z "$as_dir" && as_dir=. |
103 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 81 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
104 | done | 82 | done |
105 | IFS=$as_save_IFS | 83 | IFS=$as_save_IFS |
106 | 84 | ||
107 | ;; | 85 | ;; |
@@ -112,329 +90,354 @@ if test "x$as_myself" = x; then | |||
112 | as_myself=$0 | 90 | as_myself=$0 |
113 | fi | 91 | fi |
114 | if test ! -f "$as_myself"; then | 92 | if test ! -f "$as_myself"; then |
115 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 93 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
116 | exit 1 | 94 | { (exit 1); exit 1; } |
117 | fi | 95 | fi |
118 | 96 | ||
119 | # Unset variables that we do not need and which cause bugs (e.g. in | 97 | # Work around bugs in pre-3.0 UWIN ksh. |
120 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 98 | for as_var in ENV MAIL MAILPATH |
121 | # suppresses any "Segmentation fault" message there. '((' could | 99 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
122 | # trigger a bug in pdksh 5.2.14. | ||
123 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
124 | do eval test x\${$as_var+set} = xset \ | ||
125 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
126 | done | 100 | done |
127 | PS1='$ ' | 101 | PS1='$ ' |
128 | PS2='> ' | 102 | PS2='> ' |
129 | PS4='+ ' | 103 | PS4='+ ' |
130 | 104 | ||
131 | # NLS nuisances. | 105 | # NLS nuisances. |
132 | LC_ALL=C | 106 | for as_var in \ |
133 | export LC_ALL | 107 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
134 | LANGUAGE=C | 108 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
135 | export LANGUAGE | 109 | LC_TELEPHONE LC_TIME |
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'` | ||
136 | 152 | ||
137 | # CDPATH. | 153 | # CDPATH. |
138 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 154 | $as_unset CDPATH |
155 | |||
139 | 156 | ||
140 | if test "x$CONFIG_SHELL" = x; then | 157 | if test "x$CONFIG_SHELL" = x; then |
141 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 158 | if (eval ":") 2>/dev/null; then |
142 | emulate sh | 159 | as_have_required=yes |
143 | NULLCMD=: | ||
144 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
145 | # is contrary to our usage. Disable this feature. | ||
146 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
147 | setopt NO_GLOB_SUBST | ||
148 | else | 160 | else |
149 | case \`(set -o) 2>/dev/null\` in #( | 161 | as_have_required=no |
150 | *posix*) : | ||
151 | set -o posix ;; #( | ||
152 | *) : | ||
153 | ;; | ||
154 | esac | ||
155 | fi | 162 | fi |
156 | " | 163 | |
157 | as_required="as_fn_return () { (exit \$1); } | 164 | if test $as_have_required = yes && (eval ": |
158 | as_fn_success () { as_fn_return 0; } | 165 | (as_func_return () { |
159 | as_fn_failure () { as_fn_return 1; } | 166 | (exit \$1) |
160 | as_fn_ret_success () { return 0; } | 167 | } |
161 | as_fn_ret_failure () { return 1; } | 168 | as_func_success () { |
169 | as_func_return 0 | ||
170 | } | ||
171 | as_func_failure () { | ||
172 | as_func_return 1 | ||
173 | } | ||
174 | as_func_ret_success () { | ||
175 | return 0 | ||
176 | } | ||
177 | as_func_ret_failure () { | ||
178 | return 1 | ||
179 | } | ||
162 | 180 | ||
163 | exitcode=0 | 181 | exitcode=0 |
164 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | 182 | if as_func_success; then |
165 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 183 | : |
166 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
167 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
168 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
169 | |||
170 | else | ||
171 | exitcode=1; echo positional parameters were not saved. | ||
172 | fi | ||
173 | test x\$exitcode = x0 || exit 1" | ||
174 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
175 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
176 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
177 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
178 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
179 | if (eval "$as_required") 2>/dev/null; then : | ||
180 | as_have_required=yes | ||
181 | else | 184 | else |
182 | as_have_required=no | 185 | exitcode=1 |
186 | echo as_func_success failed. | ||
183 | fi | 187 | fi |
184 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
185 | 188 | ||
189 | if as_func_failure; then | ||
190 | exitcode=1 | ||
191 | echo as_func_failure succeeded. | ||
192 | fi | ||
193 | |||
194 | if as_func_ret_success; then | ||
195 | : | ||
186 | else | 196 | else |
187 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 197 | exitcode=1 |
188 | as_found=false | 198 | echo as_func_ret_success failed. |
199 | fi | ||
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 | ||
209 | exitcode=1 | ||
210 | echo positional parameters were not saved. | ||
211 | fi | ||
212 | |||
213 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
214 | |||
215 | ( | ||
216 | as_lineno_1=\$LINENO | ||
217 | as_lineno_2=\$LINENO | ||
218 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
219 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
220 | ") 2> /dev/null; then | ||
221 | : | ||
222 | else | ||
223 | as_candidate_shells= | ||
224 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
189 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 225 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
190 | do | 226 | do |
191 | IFS=$as_save_IFS | 227 | IFS=$as_save_IFS |
192 | test -z "$as_dir" && as_dir=. | 228 | test -z "$as_dir" && as_dir=. |
193 | as_found=: | 229 | case $as_dir in |
194 | case $as_dir in #( | ||
195 | /*) | 230 | /*) |
196 | for as_base in sh bash ksh sh5; do | 231 | for as_base in sh bash ksh sh5; do |
197 | # Try only shells that exist, to save several forks. | 232 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
198 | as_shell=$as_dir/$as_base | ||
199 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
200 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
201 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
202 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
203 | break 2 | ||
204 | fi | ||
205 | fi | ||
206 | done;; | 233 | done;; |
207 | esac | 234 | esac |
208 | as_found=false | ||
209 | done | 235 | done |
210 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
211 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
212 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
213 | fi; } | ||
214 | IFS=$as_save_IFS | 236 | IFS=$as_save_IFS |
215 | 237 | ||
216 | 238 | ||
217 | if test "x$CONFIG_SHELL" != x; then : | 239 | for as_shell in $as_candidate_shells $SHELL; do |
218 | # We cannot yet assume a decent shell, so we have to provide a | 240 | # Try only shells that exist, to save several forks. |
219 | # neutralization value for shells without unset; and this also | 241 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
220 | # works around shells that cannot unset nonexistent variables. | 242 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
221 | # Preserve -v and -x to the replacement shell. | 243 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
222 | BASH_ENV=/dev/null | 244 | emulate sh |
223 | ENV=/dev/null | 245 | NULLCMD=: |
224 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 246 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
225 | export CONFIG_SHELL | 247 | # is contrary to our usage. Disable this feature. |
226 | case $- in # (((( | 248 | alias -g '${1+"$@"}'='"$@"' |
227 | *v*x* | *x*v* ) as_opts=-vx ;; | 249 | setopt NO_GLOB_SUBST |
228 | *v* ) as_opts=-v ;; | 250 | else |
229 | *x* ) as_opts=-x ;; | 251 | case `(set -o) 2>/dev/null` in |
230 | * ) as_opts= ;; | 252 | *posix*) set -o posix ;; |
231 | esac | 253 | esac |
232 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | ||
233 | fi | ||
234 | 254 | ||
235 | if test x$as_have_required = xno; then : | ||
236 | $as_echo "$0: This script requires a shell more modern than all" | ||
237 | $as_echo "$0: the shells that I found on your system." | ||
238 | if test x${ZSH_VERSION+set} = xset ; then | ||
239 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
240 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
241 | else | ||
242 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | ||
243 | $0: openssh-unix-dev@mindrot.org about your system, | ||
244 | $0: including any error possibly output before this | ||
245 | $0: message. Then install a modern shell, or manually run | ||
246 | $0: the script under such a shell if you do have one." | ||
247 | fi | ||
248 | exit 1 | ||
249 | fi | ||
250 | fi | 255 | fi |
256 | |||
257 | |||
258 | : | ||
259 | _ASEOF | ||
260 | }; then | ||
261 | CONFIG_SHELL=$as_shell | ||
262 | as_have_required=yes | ||
263 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
264 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
265 | emulate sh | ||
266 | NULLCMD=: | ||
267 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | ||
268 | # is contrary to our usage. Disable this feature. | ||
269 | alias -g '${1+"$@"}'='"$@"' | ||
270 | setopt NO_GLOB_SUBST | ||
271 | else | ||
272 | case `(set -o) 2>/dev/null` in | ||
273 | *posix*) set -o posix ;; | ||
274 | esac | ||
275 | |||
251 | fi | 276 | fi |
252 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
253 | export SHELL | ||
254 | # Unset more variables known to interfere with behavior of common tools. | ||
255 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
256 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
257 | 277 | ||
258 | ## --------------------- ## | ||
259 | ## M4sh Shell Functions. ## | ||
260 | ## --------------------- ## | ||
261 | # as_fn_unset VAR | ||
262 | # --------------- | ||
263 | # Portably unset VAR. | ||
264 | as_fn_unset () | ||
265 | { | ||
266 | { eval $1=; unset $1;} | ||
267 | } | ||
268 | as_unset=as_fn_unset | ||
269 | 278 | ||
270 | # as_fn_set_status STATUS | 279 | : |
271 | # ----------------------- | 280 | (as_func_return () { |
272 | # Set $? to STATUS, without forking. | 281 | (exit $1) |
273 | as_fn_set_status () | 282 | } |
274 | { | 283 | as_func_success () { |
275 | return $1 | 284 | as_func_return 0 |
276 | } # as_fn_set_status | 285 | } |
286 | as_func_failure () { | ||
287 | as_func_return 1 | ||
288 | } | ||
289 | as_func_ret_success () { | ||
290 | return 0 | ||
291 | } | ||
292 | as_func_ret_failure () { | ||
293 | return 1 | ||
294 | } | ||
277 | 295 | ||
278 | # as_fn_exit STATUS | 296 | exitcode=0 |
279 | # ----------------- | 297 | if as_func_success; then |
280 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 298 | : |
281 | as_fn_exit () | 299 | else |
282 | { | 300 | exitcode=1 |
283 | set +e | 301 | echo as_func_success failed. |
284 | as_fn_set_status $1 | 302 | fi |
285 | exit $1 | ||
286 | } # as_fn_exit | ||
287 | 303 | ||
288 | # as_fn_mkdir_p | 304 | if as_func_failure; then |
289 | # ------------- | 305 | exitcode=1 |
290 | # Create "$as_dir" as a directory, including parents if necessary. | 306 | echo as_func_failure succeeded. |
291 | as_fn_mkdir_p () | 307 | fi |
292 | { | ||
293 | 308 | ||
294 | case $as_dir in #( | 309 | if as_func_ret_success; then |
295 | -*) as_dir=./$as_dir;; | 310 | : |
296 | esac | ||
297 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
298 | as_dirs= | ||
299 | while :; do | ||
300 | case $as_dir in #( | ||
301 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
302 | *) as_qdir=$as_dir;; | ||
303 | esac | ||
304 | as_dirs="'$as_qdir' $as_dirs" | ||
305 | as_dir=`$as_dirname -- "$as_dir" || | ||
306 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
307 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
308 | X"$as_dir" : 'X\(//\)$' \| \ | ||
309 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
310 | $as_echo X"$as_dir" | | ||
311 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
312 | s//\1/ | ||
313 | q | ||
314 | } | ||
315 | /^X\(\/\/\)[^/].*/{ | ||
316 | s//\1/ | ||
317 | q | ||
318 | } | ||
319 | /^X\(\/\/\)$/{ | ||
320 | s//\1/ | ||
321 | q | ||
322 | } | ||
323 | /^X\(\/\).*/{ | ||
324 | s//\1/ | ||
325 | q | ||
326 | } | ||
327 | s/.*/./; q'` | ||
328 | test -d "$as_dir" && break | ||
329 | done | ||
330 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
331 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
332 | |||
333 | |||
334 | } # as_fn_mkdir_p | ||
335 | # as_fn_append VAR VALUE | ||
336 | # ---------------------- | ||
337 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
338 | # advantage of any shell optimizations that allow amortized linear growth over | ||
339 | # repeated appends, instead of the typical quadratic growth present in naive | ||
340 | # implementations. | ||
341 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
342 | eval 'as_fn_append () | ||
343 | { | ||
344 | eval $1+=\$2 | ||
345 | }' | ||
346 | else | 311 | else |
347 | as_fn_append () | 312 | exitcode=1 |
348 | { | 313 | echo as_func_ret_success failed. |
349 | eval $1=\$$1\$2 | 314 | fi |
350 | } | 315 | |
351 | fi # as_fn_append | 316 | if as_func_ret_failure; then |
352 | 317 | exitcode=1 | |
353 | # as_fn_arith ARG... | 318 | echo as_func_ret_failure succeeded. |
354 | # ------------------ | 319 | fi |
355 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 320 | |
356 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 321 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
357 | # must be portable across $(()) and expr. | 322 | : |
358 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
359 | eval 'as_fn_arith () | ||
360 | { | ||
361 | as_val=$(( $* )) | ||
362 | }' | ||
363 | else | 323 | else |
364 | as_fn_arith () | 324 | exitcode=1 |
365 | { | 325 | echo positional parameters were not saved. |
366 | as_val=`expr "$@" || test $? -eq 1` | 326 | fi |
367 | } | ||
368 | fi # as_fn_arith | ||
369 | |||
370 | |||
371 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
372 | # ---------------------------------------- | ||
373 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
374 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
375 | # script with STATUS, using 1 if that was 0. | ||
376 | as_fn_error () | ||
377 | { | ||
378 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
379 | if test "$4"; then | ||
380 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
381 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
382 | fi | ||
383 | $as_echo "$as_me: error: $2" >&2 | ||
384 | as_fn_exit $as_status | ||
385 | } # as_fn_error | ||
386 | 327 | ||
387 | if expr a : '\(a\)' >/dev/null 2>&1 && | 328 | test $exitcode = 0) || { (exit 1); exit 1; } |
388 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 329 | |
389 | as_expr=expr | 330 | ( |
331 | as_lineno_1=$LINENO | ||
332 | as_lineno_2=$LINENO | ||
333 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
334 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | ||
335 | |||
336 | _ASEOF | ||
337 | }; then | ||
338 | break | ||
339 | fi | ||
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 | : | ||
390 | else | 388 | else |
391 | as_expr=false | 389 | exitcode=1 |
390 | echo as_func_success failed. | ||
392 | fi | 391 | fi |
393 | 392 | ||
394 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 393 | if as_func_failure; then |
395 | as_basename=basename | 394 | exitcode=1 |
395 | echo as_func_failure succeeded. | ||
396 | fi | ||
397 | |||
398 | if as_func_ret_success; then | ||
399 | : | ||
396 | else | 400 | else |
397 | as_basename=false | 401 | exitcode=1 |
402 | echo as_func_ret_success failed. | ||
398 | fi | 403 | fi |
399 | 404 | ||
400 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 405 | if as_func_ret_failure; then |
401 | as_dirname=dirname | 406 | exitcode=1 |
407 | echo as_func_ret_failure succeeded. | ||
408 | fi | ||
409 | |||
410 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
411 | : | ||
402 | else | 412 | else |
403 | as_dirname=false | 413 | exitcode=1 |
414 | echo positional parameters were not saved. | ||
404 | fi | 415 | fi |
405 | 416 | ||
406 | as_me=`$as_basename -- "$0" || | 417 | test \$exitcode = 0") || { |
407 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 418 | echo No shell found that supports shell functions. |
408 | X"$0" : 'X\(//\)$' \| \ | 419 | echo Please tell autoconf@gnu.org about your system, |
409 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 420 | echo including any error possibly output before this |
410 | $as_echo X/"$0" | | 421 | echo message |
411 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 422 | } |
412 | s//\1/ | ||
413 | q | ||
414 | } | ||
415 | /^X\/\(\/\/\)$/{ | ||
416 | s//\1/ | ||
417 | q | ||
418 | } | ||
419 | /^X\/\(\/\).*/{ | ||
420 | s//\1/ | ||
421 | q | ||
422 | } | ||
423 | s/.*/./; q'` | ||
424 | 423 | ||
425 | # Avoid depending upon Character Ranges. | ||
426 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
427 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
428 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
429 | as_cr_digits='0123456789' | ||
430 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
431 | 424 | ||
432 | 425 | ||
433 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | 426 | as_lineno_1=$LINENO |
434 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | 427 | as_lineno_2=$LINENO |
435 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 428 | test "x$as_lineno_1" != "x$as_lineno_2" && |
436 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 429 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
437 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 430 | |
431 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
432 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
433 | # line-number line after each line using $LINENO; the second 'sed' | ||
434 | # does the real work. The second script uses 'N' to pair each | ||
435 | # line-number line with the line containing $LINENO, and appends | ||
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. :-) | ||
438 | sed -n ' | 441 | sed -n ' |
439 | p | 442 | p |
440 | /[$]LINENO/= | 443 | /[$]LINENO/= |
@@ -451,7 +454,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits | |||
451 | s/-\n.*// | 454 | s/-\n.*// |
452 | ' >$as_me.lineno && | 455 | ' >$as_me.lineno && |
453 | chmod +x "$as_me.lineno" || | 456 | chmod +x "$as_me.lineno" || |
454 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 457 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
458 | { (exit 1); exit 1; }; } | ||
455 | 459 | ||
456 | # Don't try to exec as it changes $[0], causing all sort of problems | 460 | # Don't try to exec as it changes $[0], causing all sort of problems |
457 | # (the dirname of $[0] is not the place where we might find the | 461 | # (the dirname of $[0] is not the place where we might find the |
@@ -461,40 +465,49 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits | |||
461 | exit | 465 | exit |
462 | } | 466 | } |
463 | 467 | ||
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 | |||
464 | ECHO_C= ECHO_N= ECHO_T= | 475 | ECHO_C= ECHO_N= ECHO_T= |
465 | case `echo -n x` in #((((( | 476 | case `echo -n x` in |
466 | -n*) | 477 | -n*) |
467 | case `echo 'xy\c'` in | 478 | case `echo 'x\c'` in |
468 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 479 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
469 | xy) ECHO_C='\c';; | 480 | *) ECHO_C='\c';; |
470 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
471 | ECHO_T=' ';; | ||
472 | esac;; | 481 | esac;; |
473 | *) | 482 | *) |
474 | ECHO_N='-n';; | 483 | ECHO_N='-n';; |
475 | esac | 484 | esac |
476 | 485 | ||
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 | |||
477 | rm -f conf$$ conf$$.exe conf$$.file | 493 | rm -f conf$$ conf$$.exe conf$$.file |
478 | if test -d conf$$.dir; then | 494 | if test -d conf$$.dir; then |
479 | rm -f conf$$.dir/conf$$.file | 495 | rm -f conf$$.dir/conf$$.file |
480 | else | 496 | else |
481 | rm -f conf$$.dir | 497 | rm -f conf$$.dir |
482 | mkdir conf$$.dir 2>/dev/null | 498 | mkdir conf$$.dir |
483 | fi | 499 | fi |
484 | if (echo >conf$$.file) 2>/dev/null; then | 500 | echo >conf$$.file |
485 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 501 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
486 | as_ln_s='ln -s' | 502 | as_ln_s='ln -s' |
487 | # ... but there are two gotchas: | 503 | # ... but there are two gotchas: |
488 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 504 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
489 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 505 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
490 | # In both cases, we have to default to `cp -p'. | 506 | # In both cases, we have to default to `cp -p'. |
491 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 507 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
492 | as_ln_s='cp -p' | ||
493 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
494 | as_ln_s=ln | ||
495 | else | ||
496 | as_ln_s='cp -p' | 508 | as_ln_s='cp -p' |
497 | fi | 509 | elif ln conf$$.file conf$$ 2>/dev/null; then |
510 | as_ln_s=ln | ||
498 | else | 511 | else |
499 | as_ln_s='cp -p' | 512 | as_ln_s='cp -p' |
500 | fi | 513 | fi |
@@ -502,7 +515,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |||
502 | rmdir conf$$.dir 2>/dev/null | 515 | rmdir conf$$.dir 2>/dev/null |
503 | 516 | ||
504 | if mkdir -p . 2>/dev/null; then | 517 | if mkdir -p . 2>/dev/null; then |
505 | as_mkdir_p='mkdir -p "$as_dir"' | 518 | as_mkdir_p=: |
506 | else | 519 | else |
507 | test -d ./-p && rmdir ./-p | 520 | test -d ./-p && rmdir ./-p |
508 | as_mkdir_p=false | 521 | as_mkdir_p=false |
@@ -519,12 +532,12 @@ else | |||
519 | as_test_x=' | 532 | as_test_x=' |
520 | eval sh -c '\'' | 533 | eval sh -c '\'' |
521 | if test -d "$1"; then | 534 | if test -d "$1"; then |
522 | test -d "$1/."; | 535 | test -d "$1/."; |
523 | else | 536 | else |
524 | case $1 in #( | 537 | case $1 in |
525 | -*)set "./$1";; | 538 | -*)set "./$1";; |
526 | esac; | 539 | esac; |
527 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 540 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
528 | ???[sx]*):;;*)false;;esac;fi | 541 | ???[sx]*):;;*)false;;esac;fi |
529 | '\'' sh | 542 | '\'' sh |
530 | ' | 543 | ' |
@@ -538,11 +551,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |||
538 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 551 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
539 | 552 | ||
540 | 553 | ||
541 | test -n "$DJDIR" || exec 7<&0 </dev/null | 554 | |
542 | exec 6>&1 | 555 | exec 7<&0 </dev/null 6>&1 |
543 | 556 | ||
544 | # Name of the host. | 557 | # Name of the host. |
545 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 558 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
546 | # so uname gets run too. | 559 | # so uname gets run too. |
547 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 560 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
548 | 561 | ||
@@ -557,6 +570,7 @@ cross_compiling=no | |||
557 | subdirs= | 570 | subdirs= |
558 | MFLAGS= | 571 | MFLAGS= |
559 | MAKEFLAGS= | 572 | MAKEFLAGS= |
573 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
560 | 574 | ||
561 | # Identity of this package. | 575 | # Identity of this package. |
562 | PACKAGE_NAME='OpenSSH' | 576 | PACKAGE_NAME='OpenSSH' |
@@ -564,7 +578,6 @@ PACKAGE_TARNAME='openssh' | |||
564 | PACKAGE_VERSION='Portable' | 578 | PACKAGE_VERSION='Portable' |
565 | PACKAGE_STRING='OpenSSH Portable' | 579 | PACKAGE_STRING='OpenSSH Portable' |
566 | PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org' | 580 | PACKAGE_BUGREPORT='openssh-unix-dev@mindrot.org' |
567 | PACKAGE_URL='' | ||
568 | 581 | ||
569 | ac_unique_file="ssh.c" | 582 | ac_unique_file="ssh.c" |
570 | # Factoring default headers for most tests. | 583 | # Factoring default headers for most tests. |
@@ -603,166 +616,110 @@ ac_includes_default="\ | |||
603 | # include <unistd.h> | 616 | # include <unistd.h> |
604 | #endif" | 617 | #endif" |
605 | 618 | ||
606 | ac_subst_vars='LTLIBOBJS | 619 | ac_subst_vars='SHELL |
607 | LIBOBJS | ||
608 | UNSUPPORTED_ALGORITHMS | ||
609 | TEST_MALLOC_OPTIONS | ||
610 | TEST_SSH_IPV6 | ||
611 | piddir | ||
612 | user_path | ||
613 | mansubdir | ||
614 | MANTYPE | ||
615 | XAUTH_PATH | ||
616 | STRIP_OPT | ||
617 | xauth_path | ||
618 | PRIVSEP_PATH | ||
619 | K5LIBS | ||
620 | GSSLIBS | ||
621 | KRB5CONF | ||
622 | SSHDLIBS | ||
623 | SSHLIBS | ||
624 | SSH_PRIVSEP_USER | ||
625 | COMMENT_OUT_ECC | ||
626 | TEST_SSH_ECC | ||
627 | LIBEDIT | ||
628 | PKGCONFIG | ||
629 | LD | ||
630 | PATH_PASSWD_PROG | ||
631 | LOGIN_PROGRAM_FALLBACK | ||
632 | STARTUP_SCRIPT_SHELL | ||
633 | MAKE_PACKAGE_SUPPORTED | ||
634 | PATH_USERADD_PROG | ||
635 | PATH_GROUPADD_PROG | ||
636 | MANFMT | ||
637 | TEST_SHELL | ||
638 | MANDOC | ||
639 | NROFF | ||
640 | GROFF | ||
641 | SH | ||
642 | TEST_MINUS_S_SH | ||
643 | ENT | ||
644 | SED | ||
645 | PERL | ||
646 | KILL | ||
647 | CAT | ||
648 | AR | ||
649 | INSTALL_DATA | ||
650 | INSTALL_SCRIPT | ||
651 | INSTALL_PROGRAM | ||
652 | RANLIB | ||
653 | AWK | ||
654 | EGREP | ||
655 | GREP | ||
656 | CPP | ||
657 | host_os | ||
658 | host_vendor | ||
659 | host_cpu | ||
660 | host | ||
661 | build_os | ||
662 | build_vendor | ||
663 | build_cpu | ||
664 | build | ||
665 | OBJEXT | ||
666 | EXEEXT | ||
667 | ac_ct_CC | ||
668 | CPPFLAGS | ||
669 | LDFLAGS | ||
670 | CFLAGS | ||
671 | CC | ||
672 | target_alias | ||
673 | host_alias | ||
674 | build_alias | ||
675 | LIBS | ||
676 | ECHO_T | ||
677 | ECHO_N | ||
678 | ECHO_C | ||
679 | DEFS | ||
680 | mandir | ||
681 | localedir | ||
682 | libdir | ||
683 | psdir | ||
684 | pdfdir | ||
685 | dvidir | ||
686 | htmldir | ||
687 | infodir | ||
688 | docdir | ||
689 | oldincludedir | ||
690 | includedir | ||
691 | localstatedir | ||
692 | sharedstatedir | ||
693 | sysconfdir | ||
694 | datadir | ||
695 | datarootdir | ||
696 | libexecdir | ||
697 | sbindir | ||
698 | bindir | ||
699 | program_transform_name | ||
700 | prefix | ||
701 | exec_prefix | ||
702 | PACKAGE_URL | ||
703 | PACKAGE_BUGREPORT | ||
704 | PACKAGE_STRING | ||
705 | PACKAGE_VERSION | ||
706 | PACKAGE_TARNAME | ||
707 | PACKAGE_NAME | ||
708 | PATH_SEPARATOR | 620 | PATH_SEPARATOR |
709 | SHELL' | 621 | PACKAGE_NAME |
622 | PACKAGE_TARNAME | ||
623 | PACKAGE_VERSION | ||
624 | PACKAGE_STRING | ||
625 | PACKAGE_BUGREPORT | ||
626 | exec_prefix | ||
627 | prefix | ||
628 | program_transform_name | ||
629 | bindir | ||
630 | sbindir | ||
631 | libexecdir | ||
632 | datarootdir | ||
633 | datadir | ||
634 | sysconfdir | ||
635 | sharedstatedir | ||
636 | localstatedir | ||
637 | includedir | ||
638 | oldincludedir | ||
639 | docdir | ||
640 | infodir | ||
641 | htmldir | ||
642 | dvidir | ||
643 | pdfdir | ||
644 | psdir | ||
645 | libdir | ||
646 | localedir | ||
647 | mandir | ||
648 | DEFS | ||
649 | ECHO_C | ||
650 | ECHO_N | ||
651 | ECHO_T | ||
652 | LIBS | ||
653 | build_alias | ||
654 | host_alias | ||
655 | target_alias | ||
656 | CC | ||
657 | CFLAGS | ||
658 | LDFLAGS | ||
659 | CPPFLAGS | ||
660 | ac_ct_CC | ||
661 | EXEEXT | ||
662 | OBJEXT | ||
663 | build | ||
664 | build_cpu | ||
665 | build_vendor | ||
666 | build_os | ||
667 | host | ||
668 | host_cpu | ||
669 | host_vendor | ||
670 | host_os | ||
671 | CPP | ||
672 | GREP | ||
673 | EGREP | ||
674 | AWK | ||
675 | RANLIB | ||
676 | INSTALL_PROGRAM | ||
677 | INSTALL_SCRIPT | ||
678 | INSTALL_DATA | ||
679 | AR | ||
680 | CAT | ||
681 | KILL | ||
682 | PERL | ||
683 | SED | ||
684 | ENT | ||
685 | TEST_MINUS_S_SH | ||
686 | SH | ||
687 | GROFF | ||
688 | NROFF | ||
689 | MANDOC | ||
690 | TEST_SHELL | ||
691 | MANFMT | ||
692 | PATH_GROUPADD_PROG | ||
693 | PATH_USERADD_PROG | ||
694 | MAKE_PACKAGE_SUPPORTED | ||
695 | STARTUP_SCRIPT_SHELL | ||
696 | LOGIN_PROGRAM_FALLBACK | ||
697 | PATH_PASSWD_PROG | ||
698 | LD | ||
699 | PKGCONFIG | ||
700 | LIBEDIT | ||
701 | TEST_SSH_ECC | ||
702 | COMMENT_OUT_ECC | ||
703 | SSH_PRIVSEP_USER | ||
704 | SSHLIBS | ||
705 | SSHDLIBS | ||
706 | KRB5CONF | ||
707 | GSSLIBS | ||
708 | K5LIBS | ||
709 | PRIVSEP_PATH | ||
710 | xauth_path | ||
711 | STRIP_OPT | ||
712 | XAUTH_PATH | ||
713 | MANTYPE | ||
714 | mansubdir | ||
715 | user_path | ||
716 | piddir | ||
717 | TEST_SSH_IPV6 | ||
718 | TEST_MALLOC_OPTIONS | ||
719 | UNSUPPORTED_ALGORITHMS | ||
720 | LIBOBJS | ||
721 | LTLIBOBJS' | ||
710 | ac_subst_files='' | 722 | ac_subst_files='' |
711 | ac_user_opts=' | ||
712 | enable_option_checking | ||
713 | enable_largefile | ||
714 | with_stackprotect | ||
715 | with_hardening | ||
716 | with_rpath | ||
717 | with_cflags | ||
718 | with_cppflags | ||
719 | with_ldflags | ||
720 | with_libs | ||
721 | with_Werror | ||
722 | with_solaris_contracts | ||
723 | with_solaris_projects | ||
724 | with_osfsia | ||
725 | with_zlib | ||
726 | with_zlib_version_check | ||
727 | with_skey | ||
728 | with_ldns | ||
729 | with_libedit | ||
730 | with_audit | ||
731 | with_pie | ||
732 | with_ssl_dir | ||
733 | with_openssl_header_check | ||
734 | with_ssl_engine | ||
735 | with_prngd_port | ||
736 | with_prngd_socket | ||
737 | with_pam | ||
738 | with_privsep_user | ||
739 | with_sandbox | ||
740 | with_selinux | ||
741 | with_kerberos5 | ||
742 | with_privsep_path | ||
743 | with_xauth | ||
744 | enable_strip | ||
745 | with_maildir | ||
746 | with_mantype | ||
747 | with_md5_passwords | ||
748 | with_shadow | ||
749 | with_ipaddr_display | ||
750 | enable_etc_default_login | ||
751 | with_default_path | ||
752 | with_superuser_path | ||
753 | with_4in6 | ||
754 | with_bsd_auth | ||
755 | with_pid_dir | ||
756 | enable_lastlog | ||
757 | enable_utmp | ||
758 | enable_utmpx | ||
759 | enable_wtmp | ||
760 | enable_wtmpx | ||
761 | enable_libutil | ||
762 | enable_pututline | ||
763 | enable_pututxline | ||
764 | with_lastlog | ||
765 | ' | ||
766 | ac_precious_vars='build_alias | 723 | ac_precious_vars='build_alias |
767 | host_alias | 724 | host_alias |
768 | target_alias | 725 | target_alias |
@@ -777,8 +734,6 @@ CPP' | |||
777 | # Initialize some variables set by options. | 734 | # Initialize some variables set by options. |
778 | ac_init_help= | 735 | ac_init_help= |
779 | ac_init_version=false | 736 | ac_init_version=false |
780 | ac_unrecognized_opts= | ||
781 | ac_unrecognized_sep= | ||
782 | # The variables have the same names as the options, with | 737 | # The variables have the same names as the options, with |
783 | # dashes changed to underlines. | 738 | # dashes changed to underlines. |
784 | cache_file=/dev/null | 739 | cache_file=/dev/null |
@@ -834,9 +789,8 @@ do | |||
834 | fi | 789 | fi |
835 | 790 | ||
836 | case $ac_option in | 791 | case $ac_option in |
837 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 792 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
838 | *=) ac_optarg= ;; | 793 | *) ac_optarg=yes ;; |
839 | *) ac_optarg=yes ;; | ||
840 | esac | 794 | esac |
841 | 795 | ||
842 | # Accept the important Cygnus configure options, so we can diagnose typos. | 796 | # Accept the important Cygnus configure options, so we can diagnose typos. |
@@ -878,20 +832,13 @@ do | |||
878 | datarootdir=$ac_optarg ;; | 832 | datarootdir=$ac_optarg ;; |
879 | 833 | ||
880 | -disable-* | --disable-*) | 834 | -disable-* | --disable-*) |
881 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 835 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
882 | # Reject names that are not valid shell variable names. | 836 | # Reject names that are not valid shell variable names. |
883 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 837 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
884 | as_fn_error $? "invalid feature name: $ac_useropt" | 838 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
885 | ac_useropt_orig=$ac_useropt | 839 | { (exit 1); exit 1; }; } |
886 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 840 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
887 | case $ac_user_opts in | 841 | eval enable_$ac_feature=no ;; |
888 | *" | ||
889 | "enable_$ac_useropt" | ||
890 | "*) ;; | ||
891 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
892 | ac_unrecognized_sep=', ';; | ||
893 | esac | ||
894 | eval enable_$ac_useropt=no ;; | ||
895 | 842 | ||
896 | -docdir | --docdir | --docdi | --doc | --do) | 843 | -docdir | --docdir | --docdi | --doc | --do) |
897 | ac_prev=docdir ;; | 844 | ac_prev=docdir ;; |
@@ -904,20 +851,13 @@ do | |||
904 | dvidir=$ac_optarg ;; | 851 | dvidir=$ac_optarg ;; |
905 | 852 | ||
906 | -enable-* | --enable-*) | 853 | -enable-* | --enable-*) |
907 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 854 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
908 | # Reject names that are not valid shell variable names. | 855 | # Reject names that are not valid shell variable names. |
909 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 856 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
910 | as_fn_error $? "invalid feature name: $ac_useropt" | 857 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
911 | ac_useropt_orig=$ac_useropt | 858 | { (exit 1); exit 1; }; } |
912 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 859 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
913 | case $ac_user_opts in | 860 | eval enable_$ac_feature=\$ac_optarg ;; |
914 | *" | ||
915 | "enable_$ac_useropt" | ||
916 | "*) ;; | ||
917 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
918 | ac_unrecognized_sep=', ';; | ||
919 | esac | ||
920 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
921 | 861 | ||
922 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 862 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
923 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 863 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
@@ -1108,36 +1048,22 @@ do | |||
1108 | ac_init_version=: ;; | 1048 | ac_init_version=: ;; |
1109 | 1049 | ||
1110 | -with-* | --with-*) | 1050 | -with-* | --with-*) |
1111 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1051 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1112 | # Reject names that are not valid shell variable names. | 1052 | # Reject names that are not valid shell variable names. |
1113 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1053 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1114 | as_fn_error $? "invalid package name: $ac_useropt" | 1054 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1115 | ac_useropt_orig=$ac_useropt | 1055 | { (exit 1); exit 1; }; } |
1116 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1056 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1117 | case $ac_user_opts in | 1057 | eval with_$ac_package=\$ac_optarg ;; |
1118 | *" | ||
1119 | "with_$ac_useropt" | ||
1120 | "*) ;; | ||
1121 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
1122 | ac_unrecognized_sep=', ';; | ||
1123 | esac | ||
1124 | eval with_$ac_useropt=\$ac_optarg ;; | ||
1125 | 1058 | ||
1126 | -without-* | --without-*) | 1059 | -without-* | --without-*) |
1127 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1060 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1128 | # Reject names that are not valid shell variable names. | 1061 | # Reject names that are not valid shell variable names. |
1129 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1062 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1130 | as_fn_error $? "invalid package name: $ac_useropt" | 1063 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1131 | ac_useropt_orig=$ac_useropt | 1064 | { (exit 1); exit 1; }; } |
1132 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1065 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
1133 | case $ac_user_opts in | 1066 | eval with_$ac_package=no ;; |
1134 | *" | ||
1135 | "with_$ac_useropt" | ||
1136 | "*) ;; | ||
1137 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
1138 | ac_unrecognized_sep=', ';; | ||
1139 | esac | ||
1140 | eval with_$ac_useropt=no ;; | ||
1141 | 1067 | ||
1142 | --x) | 1068 | --x) |
1143 | # Obsolete; use --with-x. | 1069 | # Obsolete; use --with-x. |
@@ -1157,26 +1083,26 @@ do | |||
1157 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1083 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1158 | x_libraries=$ac_optarg ;; | 1084 | x_libraries=$ac_optarg ;; |
1159 | 1085 | ||
1160 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1086 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
1161 | Try \`$0 --help' for more information" | 1087 | Try \`$0 --help' for more information." >&2 |
1088 | { (exit 1); exit 1; }; } | ||
1162 | ;; | 1089 | ;; |
1163 | 1090 | ||
1164 | *=*) | 1091 | *=*) |
1165 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1092 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1166 | # Reject names that are not valid shell variable names. | 1093 | # Reject names that are not valid shell variable names. |
1167 | case $ac_envvar in #( | 1094 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1168 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1095 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1169 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1096 | { (exit 1); exit 1; }; } |
1170 | esac | ||
1171 | eval $ac_envvar=\$ac_optarg | 1097 | eval $ac_envvar=\$ac_optarg |
1172 | export $ac_envvar ;; | 1098 | export $ac_envvar ;; |
1173 | 1099 | ||
1174 | *) | 1100 | *) |
1175 | # FIXME: should be removed in autoconf 3.0. | 1101 | # FIXME: should be removed in autoconf 3.0. |
1176 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1102 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1177 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1103 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1178 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1104 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1179 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 1105 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
1180 | ;; | 1106 | ;; |
1181 | 1107 | ||
1182 | esac | 1108 | esac |
@@ -1184,36 +1110,23 @@ done | |||
1184 | 1110 | ||
1185 | if test -n "$ac_prev"; then | 1111 | if test -n "$ac_prev"; then |
1186 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1112 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1187 | as_fn_error $? "missing argument to $ac_option" | 1113 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1114 | { (exit 1); exit 1; }; } | ||
1188 | fi | 1115 | fi |
1189 | 1116 | ||
1190 | if test -n "$ac_unrecognized_opts"; then | 1117 | # Be sure to have absolute directory names. |
1191 | case $enable_option_checking in | ||
1192 | no) ;; | ||
1193 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | ||
1194 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
1195 | esac | ||
1196 | fi | ||
1197 | |||
1198 | # Check all directory arguments for consistency. | ||
1199 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1118 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1200 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 1119 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1201 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1120 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1202 | libdir localedir mandir | 1121 | libdir localedir mandir |
1203 | do | 1122 | do |
1204 | eval ac_val=\$$ac_var | 1123 | eval ac_val=\$$ac_var |
1205 | # Remove trailing slashes. | ||
1206 | case $ac_val in | ||
1207 | */ ) | ||
1208 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
1209 | eval $ac_var=\$ac_val;; | ||
1210 | esac | ||
1211 | # Be sure to have absolute directory names. | ||
1212 | case $ac_val in | 1124 | case $ac_val in |
1213 | [\\/$]* | ?:[\\/]* ) continue;; | 1125 | [\\/$]* | ?:[\\/]* ) continue;; |
1214 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1126 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1215 | esac | 1127 | esac |
1216 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1128 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1129 | { (exit 1); exit 1; }; } | ||
1217 | done | 1130 | done |
1218 | 1131 | ||
1219 | # There might be people who depend on the old broken behavior: `$host' | 1132 | # There might be people who depend on the old broken behavior: `$host' |
@@ -1227,8 +1140,8 @@ target=$target_alias | |||
1227 | if test "x$host_alias" != x; then | 1140 | if test "x$host_alias" != x; then |
1228 | if test "x$build_alias" = x; then | 1141 | if test "x$build_alias" = x; then |
1229 | cross_compiling=maybe | 1142 | cross_compiling=maybe |
1230 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1143 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1231 | If a cross compiler is detected then cross compile mode will be used" >&2 | 1144 | If a cross compiler is detected then cross compile mode will be used." >&2 |
1232 | elif test "x$build_alias" != "x$host_alias"; then | 1145 | elif test "x$build_alias" != "x$host_alias"; then |
1233 | cross_compiling=yes | 1146 | cross_compiling=yes |
1234 | fi | 1147 | fi |
@@ -1243,21 +1156,23 @@ test "$silent" = yes && exec 6>/dev/null | |||
1243 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1156 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1244 | ac_ls_di=`ls -di .` && | 1157 | ac_ls_di=`ls -di .` && |
1245 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1158 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1246 | as_fn_error $? "working directory cannot be determined" | 1159 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
1160 | { (exit 1); exit 1; }; } | ||
1247 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1161 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1248 | as_fn_error $? "pwd does not report name of working directory" | 1162 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
1163 | { (exit 1); exit 1; }; } | ||
1249 | 1164 | ||
1250 | 1165 | ||
1251 | # Find the source files, if location was not specified. | 1166 | # Find the source files, if location was not specified. |
1252 | if test -z "$srcdir"; then | 1167 | if test -z "$srcdir"; then |
1253 | ac_srcdir_defaulted=yes | 1168 | ac_srcdir_defaulted=yes |
1254 | # Try the directory containing this script, then the parent directory. | 1169 | # Try the directory containing this script, then the parent directory. |
1255 | ac_confdir=`$as_dirname -- "$as_myself" || | 1170 | ac_confdir=`$as_dirname -- "$0" || |
1256 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1171 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1257 | X"$as_myself" : 'X\(//\)[^/]' \| \ | 1172 | X"$0" : 'X\(//\)[^/]' \| \ |
1258 | X"$as_myself" : 'X\(//\)$' \| \ | 1173 | X"$0" : 'X\(//\)$' \| \ |
1259 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 1174 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
1260 | $as_echo X"$as_myself" | | 1175 | echo X"$0" | |
1261 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1176 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1262 | s//\1/ | 1177 | s//\1/ |
1263 | q | 1178 | q |
@@ -1284,11 +1199,13 @@ else | |||
1284 | fi | 1199 | fi |
1285 | if test ! -r "$srcdir/$ac_unique_file"; then | 1200 | if test ! -r "$srcdir/$ac_unique_file"; then |
1286 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1201 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1287 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1202 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1203 | { (exit 1); exit 1; }; } | ||
1288 | fi | 1204 | fi |
1289 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1205 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1290 | ac_abs_confdir=`( | 1206 | ac_abs_confdir=`( |
1291 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1207 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
1208 | { (exit 1); exit 1; }; } | ||
1292 | pwd)` | 1209 | pwd)` |
1293 | # When building in place, set srcdir=. | 1210 | # When building in place, set srcdir=. |
1294 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1211 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
@@ -1328,7 +1245,7 @@ Configuration: | |||
1328 | --help=short display options specific to this package | 1245 | --help=short display options specific to this package |
1329 | --help=recursive display the short help of all the included packages | 1246 | --help=recursive display the short help of all the included packages |
1330 | -V, --version display version information and exit | 1247 | -V, --version display version information and exit |
1331 | -q, --quiet, --silent do not print \`checking ...' messages | 1248 | -q, --quiet, --silent do not print \`checking...' messages |
1332 | --cache-file=FILE cache test results in FILE [disabled] | 1249 | --cache-file=FILE cache test results in FILE [disabled] |
1333 | -C, --config-cache alias for \`--cache-file=config.cache' | 1250 | -C, --config-cache alias for \`--cache-file=config.cache' |
1334 | -n, --no-create do not create output files | 1251 | -n, --no-create do not create output files |
@@ -1336,9 +1253,9 @@ Configuration: | |||
1336 | 1253 | ||
1337 | Installation directories: | 1254 | Installation directories: |
1338 | --prefix=PREFIX install architecture-independent files in PREFIX | 1255 | --prefix=PREFIX install architecture-independent files in PREFIX |
1339 | [$ac_default_prefix] | 1256 | [$ac_default_prefix] |
1340 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1257 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1341 | [PREFIX] | 1258 | [PREFIX] |
1342 | 1259 | ||
1343 | By default, \`make install' will install all the files in | 1260 | By default, \`make install' will install all the files in |
1344 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1261 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
@@ -1348,25 +1265,25 @@ for instance \`--prefix=\$HOME'. | |||
1348 | For better control, use the options below. | 1265 | For better control, use the options below. |
1349 | 1266 | ||
1350 | Fine tuning of the installation directories: | 1267 | Fine tuning of the installation directories: |
1351 | --bindir=DIR user executables [EPREFIX/bin] | 1268 | --bindir=DIR user executables [EPREFIX/bin] |
1352 | --sbindir=DIR system admin executables [EPREFIX/sbin] | 1269 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1353 | --libexecdir=DIR program executables [EPREFIX/libexec] | 1270 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1354 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1271 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1355 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1272 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1356 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1273 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1357 | --libdir=DIR object code libraries [EPREFIX/lib] | 1274 | --libdir=DIR object code libraries [EPREFIX/lib] |
1358 | --includedir=DIR C header files [PREFIX/include] | 1275 | --includedir=DIR C header files [PREFIX/include] |
1359 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1276 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1360 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1277 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1361 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1278 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1362 | --infodir=DIR info documentation [DATAROOTDIR/info] | 1279 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1363 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1280 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1364 | --mandir=DIR man documentation [DATAROOTDIR/man] | 1281 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1365 | --docdir=DIR documentation root [DATAROOTDIR/doc/openssh] | 1282 | --docdir=DIR documentation root [DATAROOTDIR/doc/openssh] |
1366 | --htmldir=DIR html documentation [DOCDIR] | 1283 | --htmldir=DIR html documentation [DOCDIR] |
1367 | --dvidir=DIR dvi documentation [DOCDIR] | 1284 | --dvidir=DIR dvi documentation [DOCDIR] |
1368 | --pdfdir=DIR pdf documentation [DOCDIR] | 1285 | --pdfdir=DIR pdf documentation [DOCDIR] |
1369 | --psdir=DIR ps documentation [DOCDIR] | 1286 | --psdir=DIR ps documentation [DOCDIR] |
1370 | _ACEOF | 1287 | _ACEOF |
1371 | 1288 | ||
1372 | cat <<\_ACEOF | 1289 | cat <<\_ACEOF |
@@ -1384,7 +1301,6 @@ if test -n "$ac_init_help"; then | |||
1384 | cat <<\_ACEOF | 1301 | cat <<\_ACEOF |
1385 | 1302 | ||
1386 | Optional Features: | 1303 | Optional Features: |
1387 | --disable-option-checking ignore unrecognized --enable/--with options | ||
1388 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1304 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1389 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1305 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1390 | --disable-largefile omit support for large files | 1306 | --disable-largefile omit support for large files |
@@ -1402,6 +1318,8 @@ Optional Features: | |||
1402 | Optional Packages: | 1318 | Optional Packages: |
1403 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1319 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1404 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1320 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1321 | --without-openssl Disable use of OpenSSL; use only limited internal crypto **EXPERIMENTAL** | ||
1322 | --without-ssh1 Disable support for SSH protocol 1 | ||
1405 | --without-stackprotect Don't use compiler's stack protection | 1323 | --without-stackprotect Don't use compiler's stack protection |
1406 | --without-hardening Don't use toolchain hardening flags | 1324 | --without-hardening Don't use toolchain hardening flags |
1407 | --without-rpath Disable auto-added -R linker paths | 1325 | --without-rpath Disable auto-added -R linker paths |
@@ -1419,7 +1337,7 @@ Optional Packages: | |||
1419 | --with-ldns[=PATH] Use ldns for DNSSEC support (optionally in PATH) | 1337 | --with-ldns[=PATH] Use ldns for DNSSEC support (optionally in PATH) |
1420 | --with-libedit[=PATH] Enable libedit support for sftp | 1338 | --with-libedit[=PATH] Enable libedit support for sftp |
1421 | --with-audit=module Enable audit support (modules=debug,bsm,linux) | 1339 | --with-audit=module Enable audit support (modules=debug,bsm,linux) |
1422 | --with-pie Build Position Independent Executables if possible | 1340 | --with-pie Build Position Independent Executables if possible |
1423 | --with-ssl-dir=PATH Specify path to OpenSSL installation | 1341 | --with-ssl-dir=PATH Specify path to OpenSSL installation |
1424 | --without-openssl-header-check Disable OpenSSL version consistency check | 1342 | --without-openssl-header-check Disable OpenSSL version consistency check |
1425 | --with-ssl-engine Enable OpenSSL (hardware) ENGINE support | 1343 | --with-ssl-engine Enable OpenSSL (hardware) ENGINE support |
@@ -1450,7 +1368,7 @@ Some influential environment variables: | |||
1450 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1368 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1451 | nonstandard directory <lib dir> | 1369 | nonstandard directory <lib dir> |
1452 | LIBS libraries to pass to the linker, e.g. -l<library> | 1370 | LIBS libraries to pass to the linker, e.g. -l<library> |
1453 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1371 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1454 | you have headers in a nonstandard directory <include dir> | 1372 | you have headers in a nonstandard directory <include dir> |
1455 | CPP C preprocessor | 1373 | CPP C preprocessor |
1456 | 1374 | ||
@@ -1465,17 +1383,15 @@ fi | |||
1465 | if test "$ac_init_help" = "recursive"; then | 1383 | if test "$ac_init_help" = "recursive"; then |
1466 | # If there are subdirs, report their specific --help. | 1384 | # If there are subdirs, report their specific --help. |
1467 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1385 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1468 | test -d "$ac_dir" || | 1386 | test -d "$ac_dir" || continue |
1469 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
1470 | continue | ||
1471 | ac_builddir=. | 1387 | ac_builddir=. |
1472 | 1388 | ||
1473 | case "$ac_dir" in | 1389 | case "$ac_dir" in |
1474 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1390 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1475 | *) | 1391 | *) |
1476 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 1392 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1477 | # A ".." for each directory in $ac_dir_suffix. | 1393 | # A ".." for each directory in $ac_dir_suffix. |
1478 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 1394 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1479 | case $ac_top_builddir_sub in | 1395 | case $ac_top_builddir_sub in |
1480 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1396 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1481 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1397 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
@@ -1511,7 +1427,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |||
1511 | echo && | 1427 | echo && |
1512 | $SHELL "$ac_srcdir/configure" --help=recursive | 1428 | $SHELL "$ac_srcdir/configure" --help=recursive |
1513 | else | 1429 | else |
1514 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1430 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1515 | fi || ac_status=$? | 1431 | fi || ac_status=$? |
1516 | cd "$ac_pwd" || { ac_status=$?; break; } | 1432 | cd "$ac_pwd" || { ac_status=$?; break; } |
1517 | done | 1433 | done |
@@ -1521,711 +1437,21 @@ test -n "$ac_init_help" && exit $ac_status | |||
1521 | if $ac_init_version; then | 1437 | if $ac_init_version; then |
1522 | cat <<\_ACEOF | 1438 | cat <<\_ACEOF |
1523 | OpenSSH configure Portable | 1439 | OpenSSH configure Portable |
1524 | generated by GNU Autoconf 2.68 | 1440 | generated by GNU Autoconf 2.61 |
1525 | 1441 | ||
1526 | Copyright (C) 2010 Free Software Foundation, Inc. | 1442 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1443 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | ||
1527 | This configure script is free software; the Free Software Foundation | 1444 | This configure script is free software; the Free Software Foundation |
1528 | gives unlimited permission to copy, distribute and modify it. | 1445 | gives unlimited permission to copy, distribute and modify it. |
1529 | _ACEOF | 1446 | _ACEOF |
1530 | exit | 1447 | exit |
1531 | fi | 1448 | fi |
1532 | |||
1533 | ## ------------------------ ## | ||
1534 | ## Autoconf initialization. ## | ||
1535 | ## ------------------------ ## | ||
1536 | |||
1537 | # ac_fn_c_try_compile LINENO | ||
1538 | # -------------------------- | ||
1539 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
1540 | ac_fn_c_try_compile () | ||
1541 | { | ||
1542 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1543 | rm -f conftest.$ac_objext | ||
1544 | if { { ac_try="$ac_compile" | ||
1545 | case "(($ac_try" in | ||
1546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1547 | *) ac_try_echo=$ac_try;; | ||
1548 | esac | ||
1549 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1550 | $as_echo "$ac_try_echo"; } >&5 | ||
1551 | (eval "$ac_compile") 2>conftest.err | ||
1552 | ac_status=$? | ||
1553 | if test -s conftest.err; then | ||
1554 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1555 | cat conftest.er1 >&5 | ||
1556 | mv -f conftest.er1 conftest.err | ||
1557 | fi | ||
1558 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1559 | test $ac_status = 0; } && { | ||
1560 | test -z "$ac_c_werror_flag" || | ||
1561 | test ! -s conftest.err | ||
1562 | } && test -s conftest.$ac_objext; then : | ||
1563 | ac_retval=0 | ||
1564 | else | ||
1565 | $as_echo "$as_me: failed program was:" >&5 | ||
1566 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1567 | |||
1568 | ac_retval=1 | ||
1569 | fi | ||
1570 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1571 | as_fn_set_status $ac_retval | ||
1572 | |||
1573 | } # ac_fn_c_try_compile | ||
1574 | |||
1575 | # ac_fn_c_try_run LINENO | ||
1576 | # ---------------------- | ||
1577 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
1578 | # that executables *can* be run. | ||
1579 | ac_fn_c_try_run () | ||
1580 | { | ||
1581 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1582 | if { { ac_try="$ac_link" | ||
1583 | case "(($ac_try" in | ||
1584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1585 | *) ac_try_echo=$ac_try;; | ||
1586 | esac | ||
1587 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1588 | $as_echo "$ac_try_echo"; } >&5 | ||
1589 | (eval "$ac_link") 2>&5 | ||
1590 | ac_status=$? | ||
1591 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1592 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
1593 | { { case "(($ac_try" in | ||
1594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1595 | *) ac_try_echo=$ac_try;; | ||
1596 | esac | ||
1597 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1598 | $as_echo "$ac_try_echo"; } >&5 | ||
1599 | (eval "$ac_try") 2>&5 | ||
1600 | ac_status=$? | ||
1601 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1602 | test $ac_status = 0; }; }; then : | ||
1603 | ac_retval=0 | ||
1604 | else | ||
1605 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
1606 | $as_echo "$as_me: failed program was:" >&5 | ||
1607 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1608 | |||
1609 | ac_retval=$ac_status | ||
1610 | fi | ||
1611 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1613 | as_fn_set_status $ac_retval | ||
1614 | |||
1615 | } # ac_fn_c_try_run | ||
1616 | |||
1617 | # ac_fn_c_try_cpp LINENO | ||
1618 | # ---------------------- | ||
1619 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
1620 | ac_fn_c_try_cpp () | ||
1621 | { | ||
1622 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1623 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
1624 | case "(($ac_try" in | ||
1625 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1626 | *) ac_try_echo=$ac_try;; | ||
1627 | esac | ||
1628 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1629 | $as_echo "$ac_try_echo"; } >&5 | ||
1630 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
1631 | ac_status=$? | ||
1632 | if test -s conftest.err; then | ||
1633 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1634 | cat conftest.er1 >&5 | ||
1635 | mv -f conftest.er1 conftest.err | ||
1636 | fi | ||
1637 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1638 | test $ac_status = 0; } > conftest.i && { | ||
1639 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
1640 | test ! -s conftest.err | ||
1641 | }; then : | ||
1642 | ac_retval=0 | ||
1643 | else | ||
1644 | $as_echo "$as_me: failed program was:" >&5 | ||
1645 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1646 | |||
1647 | ac_retval=1 | ||
1648 | fi | ||
1649 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1650 | as_fn_set_status $ac_retval | ||
1651 | |||
1652 | } # ac_fn_c_try_cpp | ||
1653 | |||
1654 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
1655 | # ------------------------------------------------------- | ||
1656 | # Tests whether HEADER exists and can be compiled using the include files in | ||
1657 | # INCLUDES, setting the cache variable VAR accordingly. | ||
1658 | ac_fn_c_check_header_compile () | ||
1659 | { | ||
1660 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1661 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1662 | $as_echo_n "checking for $2... " >&6; } | ||
1663 | if eval \${$3+:} false; then : | ||
1664 | $as_echo_n "(cached) " >&6 | ||
1665 | else | ||
1666 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1667 | /* end confdefs.h. */ | ||
1668 | $4 | ||
1669 | #include <$2> | ||
1670 | _ACEOF | ||
1671 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1672 | eval "$3=yes" | ||
1673 | else | ||
1674 | eval "$3=no" | ||
1675 | fi | ||
1676 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1677 | fi | ||
1678 | eval ac_res=\$$3 | ||
1679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1680 | $as_echo "$ac_res" >&6; } | ||
1681 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1682 | |||
1683 | } # ac_fn_c_check_header_compile | ||
1684 | |||
1685 | # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES | ||
1686 | # --------------------------------------------- | ||
1687 | # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR | ||
1688 | # accordingly. | ||
1689 | ac_fn_c_check_decl () | ||
1690 | { | ||
1691 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1692 | as_decl_name=`echo $2|sed 's/ *(.*//'` | ||
1693 | as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | ||
1694 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 | ||
1695 | $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | ||
1696 | if eval \${$3+:} false; then : | ||
1697 | $as_echo_n "(cached) " >&6 | ||
1698 | else | ||
1699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1700 | /* end confdefs.h. */ | ||
1701 | $4 | ||
1702 | int | ||
1703 | main () | ||
1704 | { | ||
1705 | #ifndef $as_decl_name | ||
1706 | #ifdef __cplusplus | ||
1707 | (void) $as_decl_use; | ||
1708 | #else | ||
1709 | (void) $as_decl_name; | ||
1710 | #endif | ||
1711 | #endif | ||
1712 | |||
1713 | ; | ||
1714 | return 0; | ||
1715 | } | ||
1716 | _ACEOF | ||
1717 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1718 | eval "$3=yes" | ||
1719 | else | ||
1720 | eval "$3=no" | ||
1721 | fi | ||
1722 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1723 | fi | ||
1724 | eval ac_res=\$$3 | ||
1725 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1726 | $as_echo "$ac_res" >&6; } | ||
1727 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1728 | |||
1729 | } # ac_fn_c_check_decl | ||
1730 | |||
1731 | # ac_fn_c_try_link LINENO | ||
1732 | # ----------------------- | ||
1733 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
1734 | ac_fn_c_try_link () | ||
1735 | { | ||
1736 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1737 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
1738 | if { { ac_try="$ac_link" | ||
1739 | case "(($ac_try" in | ||
1740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1741 | *) ac_try_echo=$ac_try;; | ||
1742 | esac | ||
1743 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1744 | $as_echo "$ac_try_echo"; } >&5 | ||
1745 | (eval "$ac_link") 2>conftest.err | ||
1746 | ac_status=$? | ||
1747 | if test -s conftest.err; then | ||
1748 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1749 | cat conftest.er1 >&5 | ||
1750 | mv -f conftest.er1 conftest.err | ||
1751 | fi | ||
1752 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1753 | test $ac_status = 0; } && { | ||
1754 | test -z "$ac_c_werror_flag" || | ||
1755 | test ! -s conftest.err | ||
1756 | } && test -s conftest$ac_exeext && { | ||
1757 | test "$cross_compiling" = yes || | ||
1758 | $as_test_x conftest$ac_exeext | ||
1759 | }; then : | ||
1760 | ac_retval=0 | ||
1761 | else | ||
1762 | $as_echo "$as_me: failed program was:" >&5 | ||
1763 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1764 | |||
1765 | ac_retval=1 | ||
1766 | fi | ||
1767 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
1768 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
1769 | # interfere with the next link command; also delete a directory that is | ||
1770 | # left behind by Apple's compiler. We do this before executing the actions. | ||
1771 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1772 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1773 | as_fn_set_status $ac_retval | ||
1774 | |||
1775 | } # ac_fn_c_try_link | ||
1776 | |||
1777 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
1778 | # ------------------------------------------------------- | ||
1779 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
1780 | # the include files in INCLUDES and setting the cache variable VAR | ||
1781 | # accordingly. | ||
1782 | ac_fn_c_check_header_mongrel () | ||
1783 | { | ||
1784 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1785 | if eval \${$3+:} false; then : | ||
1786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1787 | $as_echo_n "checking for $2... " >&6; } | ||
1788 | if eval \${$3+:} false; then : | ||
1789 | $as_echo_n "(cached) " >&6 | ||
1790 | fi | ||
1791 | eval ac_res=\$$3 | ||
1792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1793 | $as_echo "$ac_res" >&6; } | ||
1794 | else | ||
1795 | # Is the header compilable? | ||
1796 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
1797 | $as_echo_n "checking $2 usability... " >&6; } | ||
1798 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1799 | /* end confdefs.h. */ | ||
1800 | $4 | ||
1801 | #include <$2> | ||
1802 | _ACEOF | ||
1803 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1804 | ac_header_compiler=yes | ||
1805 | else | ||
1806 | ac_header_compiler=no | ||
1807 | fi | ||
1808 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1809 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
1810 | $as_echo "$ac_header_compiler" >&6; } | ||
1811 | |||
1812 | # Is the header present? | ||
1813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
1814 | $as_echo_n "checking $2 presence... " >&6; } | ||
1815 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1816 | /* end confdefs.h. */ | ||
1817 | #include <$2> | ||
1818 | _ACEOF | ||
1819 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
1820 | ac_header_preproc=yes | ||
1821 | else | ||
1822 | ac_header_preproc=no | ||
1823 | fi | ||
1824 | rm -f conftest.err conftest.i conftest.$ac_ext | ||
1825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
1826 | $as_echo "$ac_header_preproc" >&6; } | ||
1827 | |||
1828 | # So? What about this header? | ||
1829 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
1830 | yes:no: ) | ||
1831 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
1832 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
1833 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1834 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1835 | ;; | ||
1836 | no:yes:* ) | ||
1837 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
1838 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
1839 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
1840 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
1841 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
1842 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
1843 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
1844 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
1845 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1846 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1847 | ( $as_echo "## ------------------------------------------- ## | ||
1848 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
1849 | ## ------------------------------------------- ##" | ||
1850 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
1851 | ;; | ||
1852 | esac | ||
1853 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1854 | $as_echo_n "checking for $2... " >&6; } | ||
1855 | if eval \${$3+:} false; then : | ||
1856 | $as_echo_n "(cached) " >&6 | ||
1857 | else | ||
1858 | eval "$3=\$ac_header_compiler" | ||
1859 | fi | ||
1860 | eval ac_res=\$$3 | ||
1861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1862 | $as_echo "$ac_res" >&6; } | ||
1863 | fi | ||
1864 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1865 | |||
1866 | } # ac_fn_c_check_header_mongrel | ||
1867 | |||
1868 | # ac_fn_c_check_func LINENO FUNC VAR | ||
1869 | # ---------------------------------- | ||
1870 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
1871 | ac_fn_c_check_func () | ||
1872 | { | ||
1873 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1875 | $as_echo_n "checking for $2... " >&6; } | ||
1876 | if eval \${$3+:} false; then : | ||
1877 | $as_echo_n "(cached) " >&6 | ||
1878 | else | ||
1879 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1880 | /* end confdefs.h. */ | ||
1881 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
1882 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
1883 | #define $2 innocuous_$2 | ||
1884 | |||
1885 | /* System header to define __stub macros and hopefully few prototypes, | ||
1886 | which can conflict with char $2 (); below. | ||
1887 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
1888 | <limits.h> exists even on freestanding compilers. */ | ||
1889 | |||
1890 | #ifdef __STDC__ | ||
1891 | # include <limits.h> | ||
1892 | #else | ||
1893 | # include <assert.h> | ||
1894 | #endif | ||
1895 | |||
1896 | #undef $2 | ||
1897 | |||
1898 | /* Override any GCC internal prototype to avoid an error. | ||
1899 | Use char because int might match the return type of a GCC | ||
1900 | builtin and then its argument prototype would still apply. */ | ||
1901 | #ifdef __cplusplus | ||
1902 | extern "C" | ||
1903 | #endif | ||
1904 | char $2 (); | ||
1905 | /* The GNU C library defines this for functions which it implements | ||
1906 | to always fail with ENOSYS. Some functions are actually named | ||
1907 | something starting with __ and the normal name is an alias. */ | ||
1908 | #if defined __stub_$2 || defined __stub___$2 | ||
1909 | choke me | ||
1910 | #endif | ||
1911 | |||
1912 | int | ||
1913 | main () | ||
1914 | { | ||
1915 | return $2 (); | ||
1916 | ; | ||
1917 | return 0; | ||
1918 | } | ||
1919 | _ACEOF | ||
1920 | if ac_fn_c_try_link "$LINENO"; then : | ||
1921 | eval "$3=yes" | ||
1922 | else | ||
1923 | eval "$3=no" | ||
1924 | fi | ||
1925 | rm -f core conftest.err conftest.$ac_objext \ | ||
1926 | conftest$ac_exeext conftest.$ac_ext | ||
1927 | fi | ||
1928 | eval ac_res=\$$3 | ||
1929 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1930 | $as_echo "$ac_res" >&6; } | ||
1931 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1932 | |||
1933 | } # ac_fn_c_check_func | ||
1934 | |||
1935 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
1936 | # ------------------------------------------- | ||
1937 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
1938 | # variable VAR accordingly. | ||
1939 | ac_fn_c_check_type () | ||
1940 | { | ||
1941 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1943 | $as_echo_n "checking for $2... " >&6; } | ||
1944 | if eval \${$3+:} false; then : | ||
1945 | $as_echo_n "(cached) " >&6 | ||
1946 | else | ||
1947 | eval "$3=no" | ||
1948 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1949 | /* end confdefs.h. */ | ||
1950 | $4 | ||
1951 | int | ||
1952 | main () | ||
1953 | { | ||
1954 | if (sizeof ($2)) | ||
1955 | return 0; | ||
1956 | ; | ||
1957 | return 0; | ||
1958 | } | ||
1959 | _ACEOF | ||
1960 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1961 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1962 | /* end confdefs.h. */ | ||
1963 | $4 | ||
1964 | int | ||
1965 | main () | ||
1966 | { | ||
1967 | if (sizeof (($2))) | ||
1968 | return 0; | ||
1969 | ; | ||
1970 | return 0; | ||
1971 | } | ||
1972 | _ACEOF | ||
1973 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1974 | |||
1975 | else | ||
1976 | eval "$3=yes" | ||
1977 | fi | ||
1978 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1979 | fi | ||
1980 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1981 | fi | ||
1982 | eval ac_res=\$$3 | ||
1983 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1984 | $as_echo "$ac_res" >&6; } | ||
1985 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
1986 | |||
1987 | } # ac_fn_c_check_type | ||
1988 | |||
1989 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | ||
1990 | # -------------------------------------------- | ||
1991 | # Tries to find the compile-time value of EXPR in a program that includes | ||
1992 | # INCLUDES, setting VAR accordingly. Returns whether the value could be | ||
1993 | # computed | ||
1994 | ac_fn_c_compute_int () | ||
1995 | { | ||
1996 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1997 | if test "$cross_compiling" = yes; then | ||
1998 | # Depending upon the size, compute the lo and hi bounds. | ||
1999 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2000 | /* end confdefs.h. */ | ||
2001 | $4 | ||
2002 | int | ||
2003 | main () | ||
2004 | { | ||
2005 | static int test_array [1 - 2 * !(($2) >= 0)]; | ||
2006 | test_array [0] = 0 | ||
2007 | |||
2008 | ; | ||
2009 | return 0; | ||
2010 | } | ||
2011 | _ACEOF | ||
2012 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2013 | ac_lo=0 ac_mid=0 | ||
2014 | while :; do | ||
2015 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2016 | /* end confdefs.h. */ | ||
2017 | $4 | ||
2018 | int | ||
2019 | main () | ||
2020 | { | ||
2021 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
2022 | test_array [0] = 0 | ||
2023 | |||
2024 | ; | ||
2025 | return 0; | ||
2026 | } | ||
2027 | _ACEOF | ||
2028 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2029 | ac_hi=$ac_mid; break | ||
2030 | else | ||
2031 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val | ||
2032 | if test $ac_lo -le $ac_mid; then | ||
2033 | ac_lo= ac_hi= | ||
2034 | break | ||
2035 | fi | ||
2036 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | ||
2037 | fi | ||
2038 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2039 | done | ||
2040 | else | ||
2041 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2042 | /* end confdefs.h. */ | ||
2043 | $4 | ||
2044 | int | ||
2045 | main () | ||
2046 | { | ||
2047 | static int test_array [1 - 2 * !(($2) < 0)]; | ||
2048 | test_array [0] = 0 | ||
2049 | |||
2050 | ; | ||
2051 | return 0; | ||
2052 | } | ||
2053 | _ACEOF | ||
2054 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2055 | ac_hi=-1 ac_mid=-1 | ||
2056 | while :; do | ||
2057 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2058 | /* end confdefs.h. */ | ||
2059 | $4 | ||
2060 | int | ||
2061 | main () | ||
2062 | { | ||
2063 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | ||
2064 | test_array [0] = 0 | ||
2065 | |||
2066 | ; | ||
2067 | return 0; | ||
2068 | } | ||
2069 | _ACEOF | ||
2070 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2071 | ac_lo=$ac_mid; break | ||
2072 | else | ||
2073 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | ||
2074 | if test $ac_mid -le $ac_hi; then | ||
2075 | ac_lo= ac_hi= | ||
2076 | break | ||
2077 | fi | ||
2078 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | ||
2079 | fi | ||
2080 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2081 | done | ||
2082 | else | ||
2083 | ac_lo= ac_hi= | ||
2084 | fi | ||
2085 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2086 | fi | ||
2087 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2088 | # Binary search between lo and hi bounds. | ||
2089 | while test "x$ac_lo" != "x$ac_hi"; do | ||
2090 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | ||
2091 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2092 | /* end confdefs.h. */ | ||
2093 | $4 | ||
2094 | int | ||
2095 | main () | ||
2096 | { | ||
2097 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
2098 | test_array [0] = 0 | ||
2099 | |||
2100 | ; | ||
2101 | return 0; | ||
2102 | } | ||
2103 | _ACEOF | ||
2104 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2105 | ac_hi=$ac_mid | ||
2106 | else | ||
2107 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | ||
2108 | fi | ||
2109 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2110 | done | ||
2111 | case $ac_lo in #(( | ||
2112 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | ||
2113 | '') ac_retval=1 ;; | ||
2114 | esac | ||
2115 | else | ||
2116 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2117 | /* end confdefs.h. */ | ||
2118 | $4 | ||
2119 | static long int longval () { return $2; } | ||
2120 | static unsigned long int ulongval () { return $2; } | ||
2121 | #include <stdio.h> | ||
2122 | #include <stdlib.h> | ||
2123 | int | ||
2124 | main () | ||
2125 | { | ||
2126 | |||
2127 | FILE *f = fopen ("conftest.val", "w"); | ||
2128 | if (! f) | ||
2129 | return 1; | ||
2130 | if (($2) < 0) | ||
2131 | { | ||
2132 | long int i = longval (); | ||
2133 | if (i != ($2)) | ||
2134 | return 1; | ||
2135 | fprintf (f, "%ld", i); | ||
2136 | } | ||
2137 | else | ||
2138 | { | ||
2139 | unsigned long int i = ulongval (); | ||
2140 | if (i != ($2)) | ||
2141 | return 1; | ||
2142 | fprintf (f, "%lu", i); | ||
2143 | } | ||
2144 | /* Do not output a trailing newline, as this causes \r\n confusion | ||
2145 | on some platforms. */ | ||
2146 | return ferror (f) || fclose (f) != 0; | ||
2147 | |||
2148 | ; | ||
2149 | return 0; | ||
2150 | } | ||
2151 | _ACEOF | ||
2152 | if ac_fn_c_try_run "$LINENO"; then : | ||
2153 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | ||
2154 | else | ||
2155 | ac_retval=1 | ||
2156 | fi | ||
2157 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
2158 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
2159 | rm -f conftest.val | ||
2160 | |||
2161 | fi | ||
2162 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
2163 | as_fn_set_status $ac_retval | ||
2164 | |||
2165 | } # ac_fn_c_compute_int | ||
2166 | |||
2167 | # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES | ||
2168 | # ---------------------------------------------------- | ||
2169 | # Tries to find if the field MEMBER exists in type AGGR, after including | ||
2170 | # INCLUDES, setting cache variable VAR accordingly. | ||
2171 | ac_fn_c_check_member () | ||
2172 | { | ||
2173 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2174 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | ||
2175 | $as_echo_n "checking for $2.$3... " >&6; } | ||
2176 | if eval \${$4+:} false; then : | ||
2177 | $as_echo_n "(cached) " >&6 | ||
2178 | else | ||
2179 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2180 | /* end confdefs.h. */ | ||
2181 | $5 | ||
2182 | int | ||
2183 | main () | ||
2184 | { | ||
2185 | static $2 ac_aggr; | ||
2186 | if (ac_aggr.$3) | ||
2187 | return 0; | ||
2188 | ; | ||
2189 | return 0; | ||
2190 | } | ||
2191 | _ACEOF | ||
2192 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2193 | eval "$4=yes" | ||
2194 | else | ||
2195 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2196 | /* end confdefs.h. */ | ||
2197 | $5 | ||
2198 | int | ||
2199 | main () | ||
2200 | { | ||
2201 | static $2 ac_aggr; | ||
2202 | if (sizeof ac_aggr.$3) | ||
2203 | return 0; | ||
2204 | ; | ||
2205 | return 0; | ||
2206 | } | ||
2207 | _ACEOF | ||
2208 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2209 | eval "$4=yes" | ||
2210 | else | ||
2211 | eval "$4=no" | ||
2212 | fi | ||
2213 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2214 | fi | ||
2215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2216 | fi | ||
2217 | eval ac_res=\$$4 | ||
2218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2219 | $as_echo "$ac_res" >&6; } | ||
2220 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | ||
2221 | |||
2222 | } # ac_fn_c_check_member | ||
2223 | cat >config.log <<_ACEOF | 1449 | cat >config.log <<_ACEOF |
2224 | This file contains any messages produced by compilers while | 1450 | This file contains any messages produced by compilers while |
2225 | running configure, to aid debugging if configure makes a mistake. | 1451 | running configure, to aid debugging if configure makes a mistake. |
2226 | 1452 | ||
2227 | It was created by OpenSSH $as_me Portable, which was | 1453 | It was created by OpenSSH $as_me Portable, which was |
2228 | generated by GNU Autoconf 2.68. Invocation command line was | 1454 | generated by GNU Autoconf 2.61. Invocation command line was |
2229 | 1455 | ||
2230 | $ $0 $@ | 1456 | $ $0 $@ |
2231 | 1457 | ||
@@ -2261,8 +1487,8 @@ for as_dir in $PATH | |||
2261 | do | 1487 | do |
2262 | IFS=$as_save_IFS | 1488 | IFS=$as_save_IFS |
2263 | test -z "$as_dir" && as_dir=. | 1489 | test -z "$as_dir" && as_dir=. |
2264 | $as_echo "PATH: $as_dir" | 1490 | echo "PATH: $as_dir" |
2265 | done | 1491 | done |
2266 | IFS=$as_save_IFS | 1492 | IFS=$as_save_IFS |
2267 | 1493 | ||
2268 | } >&5 | 1494 | } >&5 |
@@ -2296,12 +1522,12 @@ do | |||
2296 | | -silent | --silent | --silen | --sile | --sil) | 1522 | | -silent | --silent | --silen | --sile | --sil) |
2297 | continue ;; | 1523 | continue ;; |
2298 | *\'*) | 1524 | *\'*) |
2299 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1525 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2300 | esac | 1526 | esac |
2301 | case $ac_pass in | 1527 | case $ac_pass in |
2302 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1528 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
2303 | 2) | 1529 | 2) |
2304 | as_fn_append ac_configure_args1 " '$ac_arg'" | 1530 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
2305 | if test $ac_must_keep_next = true; then | 1531 | if test $ac_must_keep_next = true; then |
2306 | ac_must_keep_next=false # Got value, back to normal. | 1532 | ac_must_keep_next=false # Got value, back to normal. |
2307 | else | 1533 | else |
@@ -2317,13 +1543,13 @@ do | |||
2317 | -* ) ac_must_keep_next=true ;; | 1543 | -* ) ac_must_keep_next=true ;; |
2318 | esac | 1544 | esac |
2319 | fi | 1545 | fi |
2320 | as_fn_append ac_configure_args " '$ac_arg'" | 1546 | ac_configure_args="$ac_configure_args '$ac_arg'" |
2321 | ;; | 1547 | ;; |
2322 | esac | 1548 | esac |
2323 | done | 1549 | done |
2324 | done | 1550 | done |
2325 | { ac_configure_args0=; unset ac_configure_args0;} | 1551 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
2326 | { ac_configure_args1=; unset ac_configure_args1;} | 1552 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
2327 | 1553 | ||
2328 | # When interrupted or exit'd, cleanup temporary files, and complete | 1554 | # When interrupted or exit'd, cleanup temporary files, and complete |
2329 | # config.log. We remove comments because anyway the quotes in there | 1555 | # config.log. We remove comments because anyway the quotes in there |
@@ -2335,9 +1561,11 @@ trap 'exit_status=$? | |||
2335 | { | 1561 | { |
2336 | echo | 1562 | echo |
2337 | 1563 | ||
2338 | $as_echo "## ---------------- ## | 1564 | cat <<\_ASBOX |
1565 | ## ---------------- ## | ||
2339 | ## Cache variables. ## | 1566 | ## Cache variables. ## |
2340 | ## ---------------- ##" | 1567 | ## ---------------- ## |
1568 | _ASBOX | ||
2341 | echo | 1569 | echo |
2342 | # The following way of writing the cache mishandles newlines in values, | 1570 | # The following way of writing the cache mishandles newlines in values, |
2343 | ( | 1571 | ( |
@@ -2346,13 +1574,12 @@ trap 'exit_status=$? | |||
2346 | case $ac_val in #( | 1574 | case $ac_val in #( |
2347 | *${as_nl}*) | 1575 | *${as_nl}*) |
2348 | case $ac_var in #( | 1576 | case $ac_var in #( |
2349 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1577 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
2350 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1578 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
2351 | esac | 1579 | esac |
2352 | case $ac_var in #( | 1580 | case $ac_var in #( |
2353 | _ | IFS | as_nl) ;; #( | 1581 | _ | IFS | as_nl) ;; #( |
2354 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1582 | *) $as_unset $ac_var ;; |
2355 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
2356 | esac ;; | 1583 | esac ;; |
2357 | esac | 1584 | esac |
2358 | done | 1585 | done |
@@ -2371,136 +1598,128 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
2371 | ) | 1598 | ) |
2372 | echo | 1599 | echo |
2373 | 1600 | ||
2374 | $as_echo "## ----------------- ## | 1601 | cat <<\_ASBOX |
1602 | ## ----------------- ## | ||
2375 | ## Output variables. ## | 1603 | ## Output variables. ## |
2376 | ## ----------------- ##" | 1604 | ## ----------------- ## |
1605 | _ASBOX | ||
2377 | echo | 1606 | echo |
2378 | for ac_var in $ac_subst_vars | 1607 | for ac_var in $ac_subst_vars |
2379 | do | 1608 | do |
2380 | eval ac_val=\$$ac_var | 1609 | eval ac_val=\$$ac_var |
2381 | case $ac_val in | 1610 | case $ac_val in |
2382 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1611 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2383 | esac | 1612 | esac |
2384 | $as_echo "$ac_var='\''$ac_val'\''" | 1613 | echo "$ac_var='\''$ac_val'\''" |
2385 | done | sort | 1614 | done | sort |
2386 | echo | 1615 | echo |
2387 | 1616 | ||
2388 | if test -n "$ac_subst_files"; then | 1617 | if test -n "$ac_subst_files"; then |
2389 | $as_echo "## ------------------- ## | 1618 | cat <<\_ASBOX |
1619 | ## ------------------- ## | ||
2390 | ## File substitutions. ## | 1620 | ## File substitutions. ## |
2391 | ## ------------------- ##" | 1621 | ## ------------------- ## |
1622 | _ASBOX | ||
2392 | echo | 1623 | echo |
2393 | for ac_var in $ac_subst_files | 1624 | for ac_var in $ac_subst_files |
2394 | do | 1625 | do |
2395 | eval ac_val=\$$ac_var | 1626 | eval ac_val=\$$ac_var |
2396 | case $ac_val in | 1627 | case $ac_val in |
2397 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 1628 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2398 | esac | 1629 | esac |
2399 | $as_echo "$ac_var='\''$ac_val'\''" | 1630 | echo "$ac_var='\''$ac_val'\''" |
2400 | done | sort | 1631 | done | sort |
2401 | echo | 1632 | echo |
2402 | fi | 1633 | fi |
2403 | 1634 | ||
2404 | if test -s confdefs.h; then | 1635 | if test -s confdefs.h; then |
2405 | $as_echo "## ----------- ## | 1636 | cat <<\_ASBOX |
1637 | ## ----------- ## | ||
2406 | ## confdefs.h. ## | 1638 | ## confdefs.h. ## |
2407 | ## ----------- ##" | 1639 | ## ----------- ## |
1640 | _ASBOX | ||
2408 | echo | 1641 | echo |
2409 | cat confdefs.h | 1642 | cat confdefs.h |
2410 | echo | 1643 | echo |
2411 | fi | 1644 | fi |
2412 | test "$ac_signal" != 0 && | 1645 | test "$ac_signal" != 0 && |
2413 | $as_echo "$as_me: caught signal $ac_signal" | 1646 | echo "$as_me: caught signal $ac_signal" |
2414 | $as_echo "$as_me: exit $exit_status" | 1647 | echo "$as_me: exit $exit_status" |
2415 | } >&5 | 1648 | } >&5 |
2416 | rm -f core *.core core.conftest.* && | 1649 | rm -f core *.core core.conftest.* && |
2417 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 1650 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2418 | exit $exit_status | 1651 | exit $exit_status |
2419 | ' 0 | 1652 | ' 0 |
2420 | for ac_signal in 1 2 13 15; do | 1653 | for ac_signal in 1 2 13 15; do |
2421 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 1654 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2422 | done | 1655 | done |
2423 | ac_signal=0 | 1656 | ac_signal=0 |
2424 | 1657 | ||
2425 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1658 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2426 | rm -f -r conftest* confdefs.h | 1659 | rm -f -r conftest* confdefs.h |
2427 | 1660 | ||
2428 | $as_echo "/* confdefs.h */" > confdefs.h | ||
2429 | |||
2430 | # Predefined preprocessor variables. | 1661 | # Predefined preprocessor variables. |
2431 | 1662 | ||
2432 | cat >>confdefs.h <<_ACEOF | 1663 | cat >>confdefs.h <<_ACEOF |
2433 | #define PACKAGE_NAME "$PACKAGE_NAME" | 1664 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2434 | _ACEOF | 1665 | _ACEOF |
2435 | 1666 | ||
1667 | |||
2436 | cat >>confdefs.h <<_ACEOF | 1668 | cat >>confdefs.h <<_ACEOF |
2437 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 1669 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2438 | _ACEOF | 1670 | _ACEOF |
2439 | 1671 | ||
1672 | |||
2440 | cat >>confdefs.h <<_ACEOF | 1673 | cat >>confdefs.h <<_ACEOF |
2441 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 1674 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2442 | _ACEOF | 1675 | _ACEOF |
2443 | 1676 | ||
1677 | |||
2444 | cat >>confdefs.h <<_ACEOF | 1678 | cat >>confdefs.h <<_ACEOF |
2445 | #define PACKAGE_STRING "$PACKAGE_STRING" | 1679 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2446 | _ACEOF | 1680 | _ACEOF |
2447 | 1681 | ||
2448 | cat >>confdefs.h <<_ACEOF | ||
2449 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
2450 | _ACEOF | ||
2451 | 1682 | ||
2452 | cat >>confdefs.h <<_ACEOF | 1683 | cat >>confdefs.h <<_ACEOF |
2453 | #define PACKAGE_URL "$PACKAGE_URL" | 1684 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2454 | _ACEOF | 1685 | _ACEOF |
2455 | 1686 | ||
2456 | 1687 | ||
2457 | # Let the site file select an alternate cache file if it wants to. | 1688 | # Let the site file select an alternate cache file if it wants to. |
2458 | # Prefer an explicitly selected file to automatically selected ones. | 1689 | # Prefer explicitly selected file to automatically selected ones. |
2459 | ac_site_file1=NONE | ||
2460 | ac_site_file2=NONE | ||
2461 | if test -n "$CONFIG_SITE"; then | 1690 | if test -n "$CONFIG_SITE"; then |
2462 | # We do not want a PATH search for config.site. | 1691 | set x "$CONFIG_SITE" |
2463 | case $CONFIG_SITE in #(( | ||
2464 | -*) ac_site_file1=./$CONFIG_SITE;; | ||
2465 | */*) ac_site_file1=$CONFIG_SITE;; | ||
2466 | *) ac_site_file1=./$CONFIG_SITE;; | ||
2467 | esac | ||
2468 | elif test "x$prefix" != xNONE; then | 1692 | elif test "x$prefix" != xNONE; then |
2469 | ac_site_file1=$prefix/share/config.site | 1693 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
2470 | ac_site_file2=$prefix/etc/config.site | ||
2471 | else | 1694 | else |
2472 | ac_site_file1=$ac_default_prefix/share/config.site | 1695 | set x "$ac_default_prefix/share/config.site" \ |
2473 | ac_site_file2=$ac_default_prefix/etc/config.site | 1696 | "$ac_default_prefix/etc/config.site" |
2474 | fi | 1697 | fi |
2475 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 1698 | shift |
1699 | for ac_site_file | ||
2476 | do | 1700 | do |
2477 | test "x$ac_site_file" = xNONE && continue | 1701 | if test -r "$ac_site_file"; then |
2478 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 1702 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
2479 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 1703 | echo "$as_me: loading site script $ac_site_file" >&6;} |
2480 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
2481 | sed 's/^/| /' "$ac_site_file" >&5 | 1704 | sed 's/^/| /' "$ac_site_file" >&5 |
2482 | . "$ac_site_file" \ | 1705 | . "$ac_site_file" |
2483 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2484 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2485 | as_fn_error $? "failed to load site script $ac_site_file | ||
2486 | See \`config.log' for more details" "$LINENO" 5; } | ||
2487 | fi | 1706 | fi |
2488 | done | 1707 | done |
2489 | 1708 | ||
2490 | if test -r "$cache_file"; then | 1709 | if test -r "$cache_file"; then |
2491 | # Some versions of bash will fail to source /dev/null (special files | 1710 | # Some versions of bash will fail to source /dev/null (special |
2492 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 1711 | # files actually), so we avoid doing that. |
2493 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 1712 | if test -f "$cache_file"; then |
2494 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 1713 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
2495 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 1714 | echo "$as_me: loading cache $cache_file" >&6;} |
2496 | case $cache_file in | 1715 | case $cache_file in |
2497 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 1716 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2498 | *) . "./$cache_file";; | 1717 | *) . "./$cache_file";; |
2499 | esac | 1718 | esac |
2500 | fi | 1719 | fi |
2501 | else | 1720 | else |
2502 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 1721 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
2503 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 1722 | echo "$as_me: creating cache $cache_file" >&6;} |
2504 | >$cache_file | 1723 | >$cache_file |
2505 | fi | 1724 | fi |
2506 | 1725 | ||
@@ -2514,56 +1733,68 @@ for ac_var in $ac_precious_vars; do | |||
2514 | eval ac_new_val=\$ac_env_${ac_var}_value | 1733 | eval ac_new_val=\$ac_env_${ac_var}_value |
2515 | case $ac_old_set,$ac_new_set in | 1734 | case $ac_old_set,$ac_new_set in |
2516 | set,) | 1735 | set,) |
2517 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1736 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2518 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1737 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2519 | ac_cache_corrupted=: ;; | 1738 | ac_cache_corrupted=: ;; |
2520 | ,set) | 1739 | ,set) |
2521 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 1740 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
2522 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 1741 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2523 | ac_cache_corrupted=: ;; | 1742 | ac_cache_corrupted=: ;; |
2524 | ,);; | 1743 | ,);; |
2525 | *) | 1744 | *) |
2526 | if test "x$ac_old_val" != "x$ac_new_val"; then | 1745 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2527 | # differences in whitespace do not lead to failure. | 1746 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
2528 | ac_old_val_w=`echo x $ac_old_val` | 1747 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2529 | ac_new_val_w=`echo x $ac_new_val` | 1748 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
2530 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 1749 | echo "$as_me: former value: $ac_old_val" >&2;} |
2531 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 1750 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
2532 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1751 | echo "$as_me: current value: $ac_new_val" >&2;} |
2533 | ac_cache_corrupted=: | 1752 | ac_cache_corrupted=: |
2534 | else | ||
2535 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
2536 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
2537 | eval $ac_var=\$ac_old_val | ||
2538 | fi | ||
2539 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
2540 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
2542 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
2543 | fi;; | 1753 | fi;; |
2544 | esac | 1754 | esac |
2545 | # Pass precious variables to config.status. | 1755 | # Pass precious variables to config.status. |
2546 | if test "$ac_new_set" = set; then | 1756 | if test "$ac_new_set" = set; then |
2547 | case $ac_new_val in | 1757 | case $ac_new_val in |
2548 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 1758 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2549 | *) ac_arg=$ac_var=$ac_new_val ;; | 1759 | *) ac_arg=$ac_var=$ac_new_val ;; |
2550 | esac | 1760 | esac |
2551 | case " $ac_configure_args " in | 1761 | case " $ac_configure_args " in |
2552 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1762 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2553 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 1763 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
2554 | esac | 1764 | esac |
2555 | fi | 1765 | fi |
2556 | done | 1766 | done |
2557 | if $ac_cache_corrupted; then | 1767 | if $ac_cache_corrupted; then |
2558 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 1768 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
2559 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 1769 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2560 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 1770 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
2561 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 1771 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
2562 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 1772 | { (exit 1); exit 1; }; } |
2563 | fi | 1773 | fi |
2564 | ## -------------------- ## | 1774 | |
2565 | ## Main body of script. ## | 1775 | |
2566 | ## -------------------- ## | 1776 | |
1777 | |||
1778 | |||
1779 | |||
1780 | |||
1781 | |||
1782 | |||
1783 | |||
1784 | |||
1785 | |||
1786 | |||
1787 | |||
1788 | |||
1789 | |||
1790 | |||
1791 | |||
1792 | |||
1793 | |||
1794 | |||
1795 | |||
1796 | |||
1797 | |||
2567 | 1798 | ||
2568 | ac_ext=c | 1799 | ac_ext=c |
2569 | ac_cpp='$CPP $CPPFLAGS' | 1800 | ac_cpp='$CPP $CPPFLAGS' |
@@ -2591,10 +1822,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
2591 | if test -n "$ac_tool_prefix"; then | 1822 | if test -n "$ac_tool_prefix"; then |
2592 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 1823 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2593 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 1824 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2594 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1825 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2595 | $as_echo_n "checking for $ac_word... " >&6; } | 1826 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2596 | if ${ac_cv_prog_CC+:} false; then : | 1827 | if test "${ac_cv_prog_CC+set}" = set; then |
2597 | $as_echo_n "(cached) " >&6 | 1828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2598 | else | 1829 | else |
2599 | if test -n "$CC"; then | 1830 | if test -n "$CC"; then |
2600 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1831 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -2604,25 +1835,25 @@ for as_dir in $PATH | |||
2604 | do | 1835 | do |
2605 | IFS=$as_save_IFS | 1836 | IFS=$as_save_IFS |
2606 | test -z "$as_dir" && as_dir=. | 1837 | test -z "$as_dir" && as_dir=. |
2607 | for ac_exec_ext in '' $ac_executable_extensions; do | 1838 | for ac_exec_ext in '' $ac_executable_extensions; do |
2608 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1839 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2609 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 1840 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2610 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1841 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2611 | break 2 | 1842 | break 2 |
2612 | fi | 1843 | fi |
2613 | done | 1844 | done |
2614 | done | 1845 | done |
2615 | IFS=$as_save_IFS | 1846 | IFS=$as_save_IFS |
2616 | 1847 | ||
2617 | fi | 1848 | fi |
2618 | fi | 1849 | fi |
2619 | CC=$ac_cv_prog_CC | 1850 | CC=$ac_cv_prog_CC |
2620 | if test -n "$CC"; then | 1851 | if test -n "$CC"; then |
2621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 1852 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2622 | $as_echo "$CC" >&6; } | 1853 | echo "${ECHO_T}$CC" >&6; } |
2623 | else | 1854 | else |
2624 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1855 | { echo "$as_me:$LINENO: result: no" >&5 |
2625 | $as_echo "no" >&6; } | 1856 | echo "${ECHO_T}no" >&6; } |
2626 | fi | 1857 | fi |
2627 | 1858 | ||
2628 | 1859 | ||
@@ -2631,10 +1862,10 @@ if test -z "$ac_cv_prog_CC"; then | |||
2631 | ac_ct_CC=$CC | 1862 | ac_ct_CC=$CC |
2632 | # Extract the first word of "gcc", so it can be a program name with args. | 1863 | # Extract the first word of "gcc", so it can be a program name with args. |
2633 | set dummy gcc; ac_word=$2 | 1864 | set dummy gcc; ac_word=$2 |
2634 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1865 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2635 | $as_echo_n "checking for $ac_word... " >&6; } | 1866 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2636 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 1867 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2637 | $as_echo_n "(cached) " >&6 | 1868 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2638 | else | 1869 | else |
2639 | if test -n "$ac_ct_CC"; then | 1870 | if test -n "$ac_ct_CC"; then |
2640 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 1871 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
@@ -2644,25 +1875,25 @@ for as_dir in $PATH | |||
2644 | do | 1875 | do |
2645 | IFS=$as_save_IFS | 1876 | IFS=$as_save_IFS |
2646 | test -z "$as_dir" && as_dir=. | 1877 | test -z "$as_dir" && as_dir=. |
2647 | for ac_exec_ext in '' $ac_executable_extensions; do | 1878 | for ac_exec_ext in '' $ac_executable_extensions; do |
2648 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1879 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2649 | ac_cv_prog_ac_ct_CC="gcc" | 1880 | ac_cv_prog_ac_ct_CC="gcc" |
2650 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1881 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2651 | break 2 | 1882 | break 2 |
2652 | fi | 1883 | fi |
2653 | done | 1884 | done |
2654 | done | 1885 | done |
2655 | IFS=$as_save_IFS | 1886 | IFS=$as_save_IFS |
2656 | 1887 | ||
2657 | fi | 1888 | fi |
2658 | fi | 1889 | fi |
2659 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 1890 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2660 | if test -n "$ac_ct_CC"; then | 1891 | if test -n "$ac_ct_CC"; then |
2661 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 1892 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2662 | $as_echo "$ac_ct_CC" >&6; } | 1893 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2663 | else | 1894 | else |
2664 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1895 | { echo "$as_me:$LINENO: result: no" >&5 |
2665 | $as_echo "no" >&6; } | 1896 | echo "${ECHO_T}no" >&6; } |
2666 | fi | 1897 | fi |
2667 | 1898 | ||
2668 | if test "x$ac_ct_CC" = x; then | 1899 | if test "x$ac_ct_CC" = x; then |
@@ -2670,8 +1901,12 @@ fi | |||
2670 | else | 1901 | else |
2671 | case $cross_compiling:$ac_tool_warned in | 1902 | case $cross_compiling:$ac_tool_warned in |
2672 | yes:) | 1903 | yes:) |
2673 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 1904 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2674 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 1905 | whose name does not start with the host triplet. If you think this |
1906 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
1907 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
1908 | whose name does not start with the host triplet. If you think this | ||
1909 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2675 | ac_tool_warned=yes ;; | 1910 | ac_tool_warned=yes ;; |
2676 | esac | 1911 | esac |
2677 | CC=$ac_ct_CC | 1912 | CC=$ac_ct_CC |
@@ -2684,10 +1919,10 @@ if test -z "$CC"; then | |||
2684 | if test -n "$ac_tool_prefix"; then | 1919 | if test -n "$ac_tool_prefix"; then |
2685 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 1920 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2686 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 1921 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2687 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1922 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2688 | $as_echo_n "checking for $ac_word... " >&6; } | 1923 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2689 | if ${ac_cv_prog_CC+:} false; then : | 1924 | if test "${ac_cv_prog_CC+set}" = set; then |
2690 | $as_echo_n "(cached) " >&6 | 1925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2691 | else | 1926 | else |
2692 | if test -n "$CC"; then | 1927 | if test -n "$CC"; then |
2693 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1928 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -2697,25 +1932,25 @@ for as_dir in $PATH | |||
2697 | do | 1932 | do |
2698 | IFS=$as_save_IFS | 1933 | IFS=$as_save_IFS |
2699 | test -z "$as_dir" && as_dir=. | 1934 | test -z "$as_dir" && as_dir=. |
2700 | for ac_exec_ext in '' $ac_executable_extensions; do | 1935 | for ac_exec_ext in '' $ac_executable_extensions; do |
2701 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1936 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2702 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 1937 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2703 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1938 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2704 | break 2 | 1939 | break 2 |
2705 | fi | 1940 | fi |
2706 | done | 1941 | done |
2707 | done | 1942 | done |
2708 | IFS=$as_save_IFS | 1943 | IFS=$as_save_IFS |
2709 | 1944 | ||
2710 | fi | 1945 | fi |
2711 | fi | 1946 | fi |
2712 | CC=$ac_cv_prog_CC | 1947 | CC=$ac_cv_prog_CC |
2713 | if test -n "$CC"; then | 1948 | if test -n "$CC"; then |
2714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 1949 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2715 | $as_echo "$CC" >&6; } | 1950 | echo "${ECHO_T}$CC" >&6; } |
2716 | else | 1951 | else |
2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 1952 | { echo "$as_me:$LINENO: result: no" >&5 |
2718 | $as_echo "no" >&6; } | 1953 | echo "${ECHO_T}no" >&6; } |
2719 | fi | 1954 | fi |
2720 | 1955 | ||
2721 | 1956 | ||
@@ -2724,10 +1959,10 @@ fi | |||
2724 | if test -z "$CC"; then | 1959 | if test -z "$CC"; then |
2725 | # Extract the first word of "cc", so it can be a program name with args. | 1960 | # Extract the first word of "cc", so it can be a program name with args. |
2726 | set dummy cc; ac_word=$2 | 1961 | set dummy cc; ac_word=$2 |
2727 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 1962 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2728 | $as_echo_n "checking for $ac_word... " >&6; } | 1963 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2729 | if ${ac_cv_prog_CC+:} false; then : | 1964 | if test "${ac_cv_prog_CC+set}" = set; then |
2730 | $as_echo_n "(cached) " >&6 | 1965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2731 | else | 1966 | else |
2732 | if test -n "$CC"; then | 1967 | if test -n "$CC"; then |
2733 | ac_cv_prog_CC="$CC" # Let the user override the test. | 1968 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -2738,18 +1973,18 @@ for as_dir in $PATH | |||
2738 | do | 1973 | do |
2739 | IFS=$as_save_IFS | 1974 | IFS=$as_save_IFS |
2740 | test -z "$as_dir" && as_dir=. | 1975 | test -z "$as_dir" && as_dir=. |
2741 | for ac_exec_ext in '' $ac_executable_extensions; do | 1976 | for ac_exec_ext in '' $ac_executable_extensions; do |
2742 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 1977 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2743 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 1978 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2744 | ac_prog_rejected=yes | 1979 | ac_prog_rejected=yes |
2745 | continue | 1980 | continue |
2746 | fi | 1981 | fi |
2747 | ac_cv_prog_CC="cc" | 1982 | ac_cv_prog_CC="cc" |
2748 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 1983 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2749 | break 2 | 1984 | break 2 |
2750 | fi | 1985 | fi |
2751 | done | 1986 | done |
2752 | done | 1987 | done |
2753 | IFS=$as_save_IFS | 1988 | IFS=$as_save_IFS |
2754 | 1989 | ||
2755 | if test $ac_prog_rejected = yes; then | 1990 | if test $ac_prog_rejected = yes; then |
@@ -2768,11 +2003,11 @@ fi | |||
2768 | fi | 2003 | fi |
2769 | CC=$ac_cv_prog_CC | 2004 | CC=$ac_cv_prog_CC |
2770 | if test -n "$CC"; then | 2005 | if test -n "$CC"; then |
2771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2006 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2772 | $as_echo "$CC" >&6; } | 2007 | echo "${ECHO_T}$CC" >&6; } |
2773 | else | 2008 | else |
2774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2009 | { echo "$as_me:$LINENO: result: no" >&5 |
2775 | $as_echo "no" >&6; } | 2010 | echo "${ECHO_T}no" >&6; } |
2776 | fi | 2011 | fi |
2777 | 2012 | ||
2778 | 2013 | ||
@@ -2783,10 +2018,10 @@ if test -z "$CC"; then | |||
2783 | do | 2018 | do |
2784 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 2019 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2785 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 2020 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2021 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2787 | $as_echo_n "checking for $ac_word... " >&6; } | 2022 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2788 | if ${ac_cv_prog_CC+:} false; then : | 2023 | if test "${ac_cv_prog_CC+set}" = set; then |
2789 | $as_echo_n "(cached) " >&6 | 2024 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2790 | else | 2025 | else |
2791 | if test -n "$CC"; then | 2026 | if test -n "$CC"; then |
2792 | ac_cv_prog_CC="$CC" # Let the user override the test. | 2027 | ac_cv_prog_CC="$CC" # Let the user override the test. |
@@ -2796,25 +2031,25 @@ for as_dir in $PATH | |||
2796 | do | 2031 | do |
2797 | IFS=$as_save_IFS | 2032 | IFS=$as_save_IFS |
2798 | test -z "$as_dir" && as_dir=. | 2033 | test -z "$as_dir" && as_dir=. |
2799 | for ac_exec_ext in '' $ac_executable_extensions; do | 2034 | for ac_exec_ext in '' $ac_executable_extensions; do |
2800 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2035 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2801 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 2036 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2802 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2037 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2803 | break 2 | 2038 | break 2 |
2804 | fi | 2039 | fi |
2805 | done | 2040 | done |
2806 | done | 2041 | done |
2807 | IFS=$as_save_IFS | 2042 | IFS=$as_save_IFS |
2808 | 2043 | ||
2809 | fi | 2044 | fi |
2810 | fi | 2045 | fi |
2811 | CC=$ac_cv_prog_CC | 2046 | CC=$ac_cv_prog_CC |
2812 | if test -n "$CC"; then | 2047 | if test -n "$CC"; then |
2813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2048 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2814 | $as_echo "$CC" >&6; } | 2049 | echo "${ECHO_T}$CC" >&6; } |
2815 | else | 2050 | else |
2816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2051 | { echo "$as_me:$LINENO: result: no" >&5 |
2817 | $as_echo "no" >&6; } | 2052 | echo "${ECHO_T}no" >&6; } |
2818 | fi | 2053 | fi |
2819 | 2054 | ||
2820 | 2055 | ||
@@ -2827,10 +2062,10 @@ if test -z "$CC"; then | |||
2827 | do | 2062 | do |
2828 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2063 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2829 | set dummy $ac_prog; ac_word=$2 | 2064 | set dummy $ac_prog; ac_word=$2 |
2830 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2065 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2831 | $as_echo_n "checking for $ac_word... " >&6; } | 2066 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2832 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2067 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2833 | $as_echo_n "(cached) " >&6 | 2068 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2834 | else | 2069 | else |
2835 | if test -n "$ac_ct_CC"; then | 2070 | if test -n "$ac_ct_CC"; then |
2836 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2071 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
@@ -2840,25 +2075,25 @@ for as_dir in $PATH | |||
2840 | do | 2075 | do |
2841 | IFS=$as_save_IFS | 2076 | IFS=$as_save_IFS |
2842 | test -z "$as_dir" && as_dir=. | 2077 | test -z "$as_dir" && as_dir=. |
2843 | for ac_exec_ext in '' $ac_executable_extensions; do | 2078 | for ac_exec_ext in '' $ac_executable_extensions; do |
2844 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2079 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2845 | ac_cv_prog_ac_ct_CC="$ac_prog" | 2080 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2846 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2081 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2847 | break 2 | 2082 | break 2 |
2848 | fi | 2083 | fi |
2849 | done | 2084 | done |
2850 | done | 2085 | done |
2851 | IFS=$as_save_IFS | 2086 | IFS=$as_save_IFS |
2852 | 2087 | ||
2853 | fi | 2088 | fi |
2854 | fi | 2089 | fi |
2855 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2090 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2856 | if test -n "$ac_ct_CC"; then | 2091 | if test -n "$ac_ct_CC"; then |
2857 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 2092 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2858 | $as_echo "$ac_ct_CC" >&6; } | 2093 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2859 | else | 2094 | else |
2860 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2095 | { echo "$as_me:$LINENO: result: no" >&5 |
2861 | $as_echo "no" >&6; } | 2096 | echo "${ECHO_T}no" >&6; } |
2862 | fi | 2097 | fi |
2863 | 2098 | ||
2864 | 2099 | ||
@@ -2870,8 +2105,12 @@ done | |||
2870 | else | 2105 | else |
2871 | case $cross_compiling:$ac_tool_warned in | 2106 | case $cross_compiling:$ac_tool_warned in |
2872 | yes:) | 2107 | yes:) |
2873 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2108 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
2874 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2109 | whose name does not start with the host triplet. If you think this |
2110 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
2111 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
2112 | whose name does not start with the host triplet. If you think this | ||
2113 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
2875 | ac_tool_warned=yes ;; | 2114 | ac_tool_warned=yes ;; |
2876 | esac | 2115 | esac |
2877 | CC=$ac_ct_CC | 2116 | CC=$ac_ct_CC |
@@ -2881,37 +2120,51 @@ fi | |||
2881 | fi | 2120 | fi |
2882 | 2121 | ||
2883 | 2122 | ||
2884 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2123 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
2885 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2124 | See \`config.log' for more details." >&5 |
2886 | as_fn_error $? "no acceptable C compiler found in \$PATH | 2125 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2887 | See \`config.log' for more details" "$LINENO" 5; } | 2126 | See \`config.log' for more details." >&2;} |
2127 | { (exit 1); exit 1; }; } | ||
2888 | 2128 | ||
2889 | # Provide some information about the compiler. | 2129 | # Provide some information about the compiler. |
2890 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 2130 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2891 | set X $ac_compile | 2131 | ac_compiler=`set X $ac_compile; echo $2` |
2892 | ac_compiler=$2 | 2132 | { (ac_try="$ac_compiler --version >&5" |
2893 | for ac_option in --version -v -V -qversion; do | ||
2894 | { { ac_try="$ac_compiler $ac_option >&5" | ||
2895 | case "(($ac_try" in | 2133 | case "(($ac_try" in |
2896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2134 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2897 | *) ac_try_echo=$ac_try;; | 2135 | *) ac_try_echo=$ac_try;; |
2898 | esac | 2136 | esac |
2899 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2137 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2900 | $as_echo "$ac_try_echo"; } >&5 | 2138 | (eval "$ac_compiler --version >&5") 2>&5 |
2901 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | ||
2902 | ac_status=$? | 2139 | ac_status=$? |
2903 | if test -s conftest.err; then | 2140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2904 | sed '10a\ | 2141 | (exit $ac_status); } |
2905 | ... rest of stderr output deleted ... | 2142 | { (ac_try="$ac_compiler -v >&5" |
2906 | 10q' conftest.err >conftest.er1 | 2143 | case "(($ac_try" in |
2907 | cat conftest.er1 >&5 | 2144 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2908 | fi | 2145 | *) ac_try_echo=$ac_try;; |
2909 | rm -f conftest.er1 conftest.err | 2146 | esac |
2910 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2147 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2911 | test $ac_status = 0; } | 2148 | (eval "$ac_compiler -v >&5") 2>&5 |
2912 | done | 2149 | ac_status=$? |
2150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2151 | (exit $ac_status); } | ||
2152 | { (ac_try="$ac_compiler -V >&5" | ||
2153 | case "(($ac_try" in | ||
2154 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2155 | *) ac_try_echo=$ac_try;; | ||
2156 | esac | ||
2157 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2158 | (eval "$ac_compiler -V >&5") 2>&5 | ||
2159 | ac_status=$? | ||
2160 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2161 | (exit $ac_status); } | ||
2913 | 2162 | ||
2914 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2163 | cat >conftest.$ac_ext <<_ACEOF |
2164 | /* confdefs.h. */ | ||
2165 | _ACEOF | ||
2166 | cat confdefs.h >>conftest.$ac_ext | ||
2167 | cat >>conftest.$ac_ext <<_ACEOF | ||
2915 | /* end confdefs.h. */ | 2168 | /* end confdefs.h. */ |
2916 | 2169 | ||
2917 | int | 2170 | int |
@@ -2923,38 +2176,42 @@ main () | |||
2923 | } | 2176 | } |
2924 | _ACEOF | 2177 | _ACEOF |
2925 | ac_clean_files_save=$ac_clean_files | 2178 | ac_clean_files_save=$ac_clean_files |
2926 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 2179 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2927 | # Try to create an executable without -o first, disregard a.out. | 2180 | # Try to create an executable without -o first, disregard a.out. |
2928 | # It will help us diagnose broken compilers, and finding out an intuition | 2181 | # It will help us diagnose broken compilers, and finding out an intuition |
2929 | # of exeext. | 2182 | # of exeext. |
2930 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 2183 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2931 | $as_echo_n "checking whether the C compiler works... " >&6; } | 2184 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2932 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 2185 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2933 | 2186 | # | |
2934 | # The possible output files: | 2187 | # List of possible output files, starting from the most likely. |
2935 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 2188 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
2936 | 2189 | # only as a last resort. b.out is created by i960 compilers. | |
2190 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | ||
2191 | # | ||
2192 | # The IRIX 6 linker writes into existing files which may not be | ||
2193 | # executable, retaining their permissions. Remove them first so a | ||
2194 | # subsequent execution test works. | ||
2937 | ac_rmfiles= | 2195 | ac_rmfiles= |
2938 | for ac_file in $ac_files | 2196 | for ac_file in $ac_files |
2939 | do | 2197 | do |
2940 | case $ac_file in | 2198 | case $ac_file in |
2941 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 2199 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2942 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 2200 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
2943 | esac | 2201 | esac |
2944 | done | 2202 | done |
2945 | rm -f $ac_rmfiles | 2203 | rm -f $ac_rmfiles |
2946 | 2204 | ||
2947 | if { { ac_try="$ac_link_default" | 2205 | if { (ac_try="$ac_link_default" |
2948 | case "(($ac_try" in | 2206 | case "(($ac_try" in |
2949 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
2950 | *) ac_try_echo=$ac_try;; | 2208 | *) ac_try_echo=$ac_try;; |
2951 | esac | 2209 | esac |
2952 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2953 | $as_echo "$ac_try_echo"; } >&5 | ||
2954 | (eval "$ac_link_default") 2>&5 | 2211 | (eval "$ac_link_default") 2>&5 |
2955 | ac_status=$? | 2212 | ac_status=$? |
2956 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2957 | test $ac_status = 0; }; then : | 2214 | (exit $ac_status); }; then |
2958 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 2215 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2959 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 2216 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2960 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 2217 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
@@ -2964,14 +2221,14 @@ for ac_file in $ac_files '' | |||
2964 | do | 2221 | do |
2965 | test -f "$ac_file" || continue | 2222 | test -f "$ac_file" || continue |
2966 | case $ac_file in | 2223 | case $ac_file in |
2967 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 2224 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2968 | ;; | 2225 | ;; |
2969 | [ab].out ) | 2226 | [ab].out ) |
2970 | # We found the default executable, but exeext='' is most | 2227 | # We found the default executable, but exeext='' is most |
2971 | # certainly right. | 2228 | # certainly right. |
2972 | break;; | 2229 | break;; |
2973 | *.* ) | 2230 | *.* ) |
2974 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 2231 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
2975 | then :; else | 2232 | then :; else |
2976 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2233 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2977 | fi | 2234 | fi |
@@ -2990,41 +2247,78 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= | |||
2990 | else | 2247 | else |
2991 | ac_file='' | 2248 | ac_file='' |
2992 | fi | 2249 | fi |
2993 | if test -z "$ac_file"; then : | 2250 | |
2994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2251 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
2995 | $as_echo "no" >&6; } | 2252 | echo "${ECHO_T}$ac_file" >&6; } |
2996 | $as_echo "$as_me: failed program was:" >&5 | 2253 | if test -z "$ac_file"; then |
2254 | echo "$as_me: failed program was:" >&5 | ||
2997 | sed 's/^/| /' conftest.$ac_ext >&5 | 2255 | sed 's/^/| /' conftest.$ac_ext >&5 |
2998 | 2256 | ||
2999 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2257 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3000 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2258 | See \`config.log' for more details." >&5 |
3001 | as_fn_error 77 "C compiler cannot create executables | 2259 | echo "$as_me: error: C compiler cannot create executables |
3002 | See \`config.log' for more details" "$LINENO" 5; } | 2260 | See \`config.log' for more details." >&2;} |
3003 | else | 2261 | { (exit 77); exit 77; }; } |
3004 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
3005 | $as_echo "yes" >&6; } | ||
3006 | fi | 2262 | fi |
3007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 2263 | |
3008 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
3009 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
3010 | $as_echo "$ac_file" >&6; } | ||
3011 | ac_exeext=$ac_cv_exeext | 2264 | ac_exeext=$ac_cv_exeext |
3012 | 2265 | ||
3013 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 2266 | # Check that the compiler produces executables we can run. If not, either |
2267 | # the compiler is broken, or we cross compile. | ||
2268 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
2269 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } | ||
2270 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
2271 | # If not cross compiling, check that we can run a simple program. | ||
2272 | if test "$cross_compiling" != yes; then | ||
2273 | if { ac_try='./$ac_file' | ||
2274 | { (case "(($ac_try" in | ||
2275 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2276 | *) ac_try_echo=$ac_try;; | ||
2277 | esac | ||
2278 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2279 | (eval "$ac_try") 2>&5 | ||
2280 | ac_status=$? | ||
2281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2282 | (exit $ac_status); }; }; then | ||
2283 | cross_compiling=no | ||
2284 | else | ||
2285 | if test "$cross_compiling" = maybe; then | ||
2286 | cross_compiling=yes | ||
2287 | else | ||
2288 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
2289 | If you meant to cross compile, use \`--host'. | ||
2290 | See \`config.log' for more details." >&5 | ||
2291 | echo "$as_me: error: cannot run C compiled programs. | ||
2292 | If you meant to cross compile, use \`--host'. | ||
2293 | See \`config.log' for more details." >&2;} | ||
2294 | { (exit 1); exit 1; }; } | ||
2295 | fi | ||
2296 | fi | ||
2297 | fi | ||
2298 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
2299 | echo "${ECHO_T}yes" >&6; } | ||
2300 | |||
2301 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | ||
3014 | ac_clean_files=$ac_clean_files_save | 2302 | ac_clean_files=$ac_clean_files_save |
3015 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 2303 | # Check that the compiler produces executables we can run. If not, either |
3016 | $as_echo_n "checking for suffix of executables... " >&6; } | 2304 | # the compiler is broken, or we cross compile. |
3017 | if { { ac_try="$ac_link" | 2305 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2306 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } | ||
2307 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
2308 | echo "${ECHO_T}$cross_compiling" >&6; } | ||
2309 | |||
2310 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
2311 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } | ||
2312 | if { (ac_try="$ac_link" | ||
3018 | case "(($ac_try" in | 2313 | case "(($ac_try" in |
3019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2314 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3020 | *) ac_try_echo=$ac_try;; | 2315 | *) ac_try_echo=$ac_try;; |
3021 | esac | 2316 | esac |
3022 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2317 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3023 | $as_echo "$ac_try_echo"; } >&5 | ||
3024 | (eval "$ac_link") 2>&5 | 2318 | (eval "$ac_link") 2>&5 |
3025 | ac_status=$? | 2319 | ac_status=$? |
3026 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2320 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3027 | test $ac_status = 0; }; then : | 2321 | (exit $ac_status); }; then |
3028 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 2322 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3029 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 2323 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3030 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 2324 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
@@ -3032,90 +2326,37 @@ $as_echo "$ac_try_echo"; } >&5 | |||
3032 | for ac_file in conftest.exe conftest conftest.*; do | 2326 | for ac_file in conftest.exe conftest conftest.*; do |
3033 | test -f "$ac_file" || continue | 2327 | test -f "$ac_file" || continue |
3034 | case $ac_file in | 2328 | case $ac_file in |
3035 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 2329 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3036 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 2330 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3037 | break;; | 2331 | break;; |
3038 | * ) break;; | 2332 | * ) break;; |
3039 | esac | 2333 | esac |
3040 | done | 2334 | done |
3041 | else | 2335 | else |
3042 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2336 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
3043 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2337 | See \`config.log' for more details." >&5 |
3044 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 2338 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link |
3045 | See \`config.log' for more details" "$LINENO" 5; } | 2339 | See \`config.log' for more details." >&2;} |
2340 | { (exit 1); exit 1; }; } | ||
3046 | fi | 2341 | fi |
3047 | rm -f conftest conftest$ac_cv_exeext | 2342 | |
3048 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 2343 | rm -f conftest$ac_cv_exeext |
3049 | $as_echo "$ac_cv_exeext" >&6; } | 2344 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2345 | echo "${ECHO_T}$ac_cv_exeext" >&6; } | ||
3050 | 2346 | ||
3051 | rm -f conftest.$ac_ext | 2347 | rm -f conftest.$ac_ext |
3052 | EXEEXT=$ac_cv_exeext | 2348 | EXEEXT=$ac_cv_exeext |
3053 | ac_exeext=$EXEEXT | 2349 | ac_exeext=$EXEEXT |
3054 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2350 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3055 | /* end confdefs.h. */ | 2351 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
3056 | #include <stdio.h> | 2352 | if test "${ac_cv_objext+set}" = set; then |
3057 | int | 2353 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3058 | main () | ||
3059 | { | ||
3060 | FILE *f = fopen ("conftest.out", "w"); | ||
3061 | return ferror (f) || fclose (f) != 0; | ||
3062 | |||
3063 | ; | ||
3064 | return 0; | ||
3065 | } | ||
3066 | _ACEOF | ||
3067 | ac_clean_files="$ac_clean_files conftest.out" | ||
3068 | # Check that the compiler produces executables we can run. If not, either | ||
3069 | # the compiler is broken, or we cross compile. | ||
3070 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
3071 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
3072 | if test "$cross_compiling" != yes; then | ||
3073 | { { ac_try="$ac_link" | ||
3074 | case "(($ac_try" in | ||
3075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3076 | *) ac_try_echo=$ac_try;; | ||
3077 | esac | ||
3078 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
3079 | $as_echo "$ac_try_echo"; } >&5 | ||
3080 | (eval "$ac_link") 2>&5 | ||
3081 | ac_status=$? | ||
3082 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
3083 | test $ac_status = 0; } | ||
3084 | if { ac_try='./conftest$ac_cv_exeext' | ||
3085 | { { case "(($ac_try" in | ||
3086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3087 | *) ac_try_echo=$ac_try;; | ||
3088 | esac | ||
3089 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
3090 | $as_echo "$ac_try_echo"; } >&5 | ||
3091 | (eval "$ac_try") 2>&5 | ||
3092 | ac_status=$? | ||
3093 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
3094 | test $ac_status = 0; }; }; then | ||
3095 | cross_compiling=no | ||
3096 | else | ||
3097 | if test "$cross_compiling" = maybe; then | ||
3098 | cross_compiling=yes | ||
3099 | else | ||
3100 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
3101 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
3102 | as_fn_error $? "cannot run C compiled programs. | ||
3103 | If you meant to cross compile, use \`--host'. | ||
3104 | See \`config.log' for more details" "$LINENO" 5; } | ||
3105 | fi | ||
3106 | fi | ||
3107 | fi | ||
3108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
3109 | $as_echo "$cross_compiling" >&6; } | ||
3110 | |||
3111 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
3112 | ac_clean_files=$ac_clean_files_save | ||
3113 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
3114 | $as_echo_n "checking for suffix of object files... " >&6; } | ||
3115 | if ${ac_cv_objext+:} false; then : | ||
3116 | $as_echo_n "(cached) " >&6 | ||
3117 | else | 2354 | else |
3118 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2355 | cat >conftest.$ac_ext <<_ACEOF |
2356 | /* confdefs.h. */ | ||
2357 | _ACEOF | ||
2358 | cat confdefs.h >>conftest.$ac_ext | ||
2359 | cat >>conftest.$ac_ext <<_ACEOF | ||
3119 | /* end confdefs.h. */ | 2360 | /* end confdefs.h. */ |
3120 | 2361 | ||
3121 | int | 2362 | int |
@@ -3127,46 +2368,51 @@ main () | |||
3127 | } | 2368 | } |
3128 | _ACEOF | 2369 | _ACEOF |
3129 | rm -f conftest.o conftest.obj | 2370 | rm -f conftest.o conftest.obj |
3130 | if { { ac_try="$ac_compile" | 2371 | if { (ac_try="$ac_compile" |
3131 | case "(($ac_try" in | 2372 | case "(($ac_try" in |
3132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 2373 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3133 | *) ac_try_echo=$ac_try;; | 2374 | *) ac_try_echo=$ac_try;; |
3134 | esac | 2375 | esac |
3135 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 2376 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3136 | $as_echo "$ac_try_echo"; } >&5 | ||
3137 | (eval "$ac_compile") 2>&5 | 2377 | (eval "$ac_compile") 2>&5 |
3138 | ac_status=$? | 2378 | ac_status=$? |
3139 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 2379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3140 | test $ac_status = 0; }; then : | 2380 | (exit $ac_status); }; then |
3141 | for ac_file in conftest.o conftest.obj conftest.*; do | 2381 | for ac_file in conftest.o conftest.obj conftest.*; do |
3142 | test -f "$ac_file" || continue; | 2382 | test -f "$ac_file" || continue; |
3143 | case $ac_file in | 2383 | case $ac_file in |
3144 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 2384 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3145 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 2385 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3146 | break;; | 2386 | break;; |
3147 | esac | 2387 | esac |
3148 | done | 2388 | done |
3149 | else | 2389 | else |
3150 | $as_echo "$as_me: failed program was:" >&5 | 2390 | echo "$as_me: failed program was:" >&5 |
3151 | sed 's/^/| /' conftest.$ac_ext >&5 | 2391 | sed 's/^/| /' conftest.$ac_ext >&5 |
3152 | 2392 | ||
3153 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2393 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
3154 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2394 | See \`config.log' for more details." >&5 |
3155 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 2395 | echo "$as_me: error: cannot compute suffix of object files: cannot compile |
3156 | See \`config.log' for more details" "$LINENO" 5; } | 2396 | See \`config.log' for more details." >&2;} |
2397 | { (exit 1); exit 1; }; } | ||
3157 | fi | 2398 | fi |
2399 | |||
3158 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 2400 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3159 | fi | 2401 | fi |
3160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 2402 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3161 | $as_echo "$ac_cv_objext" >&6; } | 2403 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
3162 | OBJEXT=$ac_cv_objext | 2404 | OBJEXT=$ac_cv_objext |
3163 | ac_objext=$OBJEXT | 2405 | ac_objext=$OBJEXT |
3164 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 2406 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3165 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 2407 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
3166 | if ${ac_cv_c_compiler_gnu+:} false; then : | 2408 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3167 | $as_echo_n "(cached) " >&6 | 2409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3168 | else | 2410 | else |
3169 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2411 | cat >conftest.$ac_ext <<_ACEOF |
2412 | /* confdefs.h. */ | ||
2413 | _ACEOF | ||
2414 | cat confdefs.h >>conftest.$ac_ext | ||
2415 | cat >>conftest.$ac_ext <<_ACEOF | ||
3170 | /* end confdefs.h. */ | 2416 | /* end confdefs.h. */ |
3171 | 2417 | ||
3172 | int | 2418 | int |
@@ -3180,34 +2426,54 @@ main () | |||
3180 | return 0; | 2426 | return 0; |
3181 | } | 2427 | } |
3182 | _ACEOF | 2428 | _ACEOF |
3183 | if ac_fn_c_try_compile "$LINENO"; then : | 2429 | rm -f conftest.$ac_objext |
2430 | if { (ac_try="$ac_compile" | ||
2431 | case "(($ac_try" in | ||
2432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2433 | *) ac_try_echo=$ac_try;; | ||
2434 | esac | ||
2435 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2436 | (eval "$ac_compile") 2>conftest.er1 | ||
2437 | ac_status=$? | ||
2438 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2439 | rm -f conftest.er1 | ||
2440 | cat conftest.err >&5 | ||
2441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2442 | (exit $ac_status); } && { | ||
2443 | test -z "$ac_c_werror_flag" || | ||
2444 | test ! -s conftest.err | ||
2445 | } && test -s conftest.$ac_objext; then | ||
3184 | ac_compiler_gnu=yes | 2446 | ac_compiler_gnu=yes |
3185 | else | 2447 | else |
3186 | ac_compiler_gnu=no | 2448 | echo "$as_me: failed program was:" >&5 |
2449 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2450 | |||
2451 | ac_compiler_gnu=no | ||
3187 | fi | 2452 | fi |
2453 | |||
3188 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3189 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 2455 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3190 | 2456 | ||
3191 | fi | 2457 | fi |
3192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 2458 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3193 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 2459 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
3194 | if test $ac_compiler_gnu = yes; then | 2460 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
3195 | GCC=yes | ||
3196 | else | ||
3197 | GCC= | ||
3198 | fi | ||
3199 | ac_test_CFLAGS=${CFLAGS+set} | 2461 | ac_test_CFLAGS=${CFLAGS+set} |
3200 | ac_save_CFLAGS=$CFLAGS | 2462 | ac_save_CFLAGS=$CFLAGS |
3201 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 2463 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3202 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 2464 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
3203 | if ${ac_cv_prog_cc_g+:} false; then : | 2465 | if test "${ac_cv_prog_cc_g+set}" = set; then |
3204 | $as_echo_n "(cached) " >&6 | 2466 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3205 | else | 2467 | else |
3206 | ac_save_c_werror_flag=$ac_c_werror_flag | 2468 | ac_save_c_werror_flag=$ac_c_werror_flag |
3207 | ac_c_werror_flag=yes | 2469 | ac_c_werror_flag=yes |
3208 | ac_cv_prog_cc_g=no | 2470 | ac_cv_prog_cc_g=no |
3209 | CFLAGS="-g" | 2471 | CFLAGS="-g" |
3210 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2472 | cat >conftest.$ac_ext <<_ACEOF |
2473 | /* confdefs.h. */ | ||
2474 | _ACEOF | ||
2475 | cat confdefs.h >>conftest.$ac_ext | ||
2476 | cat >>conftest.$ac_ext <<_ACEOF | ||
3211 | /* end confdefs.h. */ | 2477 | /* end confdefs.h. */ |
3212 | 2478 | ||
3213 | int | 2479 | int |
@@ -3218,11 +2484,34 @@ main () | |||
3218 | return 0; | 2484 | return 0; |
3219 | } | 2485 | } |
3220 | _ACEOF | 2486 | _ACEOF |
3221 | if ac_fn_c_try_compile "$LINENO"; then : | 2487 | rm -f conftest.$ac_objext |
2488 | if { (ac_try="$ac_compile" | ||
2489 | case "(($ac_try" in | ||
2490 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2491 | *) ac_try_echo=$ac_try;; | ||
2492 | esac | ||
2493 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2494 | (eval "$ac_compile") 2>conftest.er1 | ||
2495 | ac_status=$? | ||
2496 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2497 | rm -f conftest.er1 | ||
2498 | cat conftest.err >&5 | ||
2499 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2500 | (exit $ac_status); } && { | ||
2501 | test -z "$ac_c_werror_flag" || | ||
2502 | test ! -s conftest.err | ||
2503 | } && test -s conftest.$ac_objext; then | ||
3222 | ac_cv_prog_cc_g=yes | 2504 | ac_cv_prog_cc_g=yes |
3223 | else | 2505 | else |
3224 | CFLAGS="" | 2506 | echo "$as_me: failed program was:" >&5 |
3225 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2507 | sed 's/^/| /' conftest.$ac_ext >&5 |
2508 | |||
2509 | CFLAGS="" | ||
2510 | cat >conftest.$ac_ext <<_ACEOF | ||
2511 | /* confdefs.h. */ | ||
2512 | _ACEOF | ||
2513 | cat confdefs.h >>conftest.$ac_ext | ||
2514 | cat >>conftest.$ac_ext <<_ACEOF | ||
3226 | /* end confdefs.h. */ | 2515 | /* end confdefs.h. */ |
3227 | 2516 | ||
3228 | int | 2517 | int |
@@ -3233,12 +2522,35 @@ main () | |||
3233 | return 0; | 2522 | return 0; |
3234 | } | 2523 | } |
3235 | _ACEOF | 2524 | _ACEOF |
3236 | if ac_fn_c_try_compile "$LINENO"; then : | 2525 | rm -f conftest.$ac_objext |
3237 | 2526 | if { (ac_try="$ac_compile" | |
2527 | case "(($ac_try" in | ||
2528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2529 | *) ac_try_echo=$ac_try;; | ||
2530 | esac | ||
2531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2532 | (eval "$ac_compile") 2>conftest.er1 | ||
2533 | ac_status=$? | ||
2534 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2535 | rm -f conftest.er1 | ||
2536 | cat conftest.err >&5 | ||
2537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2538 | (exit $ac_status); } && { | ||
2539 | test -z "$ac_c_werror_flag" || | ||
2540 | test ! -s conftest.err | ||
2541 | } && test -s conftest.$ac_objext; then | ||
2542 | : | ||
3238 | else | 2543 | else |
3239 | ac_c_werror_flag=$ac_save_c_werror_flag | 2544 | echo "$as_me: failed program was:" >&5 |
2545 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2546 | |||
2547 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
3240 | CFLAGS="-g" | 2548 | CFLAGS="-g" |
3241 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2549 | cat >conftest.$ac_ext <<_ACEOF |
2550 | /* confdefs.h. */ | ||
2551 | _ACEOF | ||
2552 | cat confdefs.h >>conftest.$ac_ext | ||
2553 | cat >>conftest.$ac_ext <<_ACEOF | ||
3242 | /* end confdefs.h. */ | 2554 | /* end confdefs.h. */ |
3243 | 2555 | ||
3244 | int | 2556 | int |
@@ -3249,18 +2561,42 @@ main () | |||
3249 | return 0; | 2561 | return 0; |
3250 | } | 2562 | } |
3251 | _ACEOF | 2563 | _ACEOF |
3252 | if ac_fn_c_try_compile "$LINENO"; then : | 2564 | rm -f conftest.$ac_objext |
2565 | if { (ac_try="$ac_compile" | ||
2566 | case "(($ac_try" in | ||
2567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2568 | *) ac_try_echo=$ac_try;; | ||
2569 | esac | ||
2570 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2571 | (eval "$ac_compile") 2>conftest.er1 | ||
2572 | ac_status=$? | ||
2573 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2574 | rm -f conftest.er1 | ||
2575 | cat conftest.err >&5 | ||
2576 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2577 | (exit $ac_status); } && { | ||
2578 | test -z "$ac_c_werror_flag" || | ||
2579 | test ! -s conftest.err | ||
2580 | } && test -s conftest.$ac_objext; then | ||
3253 | ac_cv_prog_cc_g=yes | 2581 | ac_cv_prog_cc_g=yes |
2582 | else | ||
2583 | echo "$as_me: failed program was:" >&5 | ||
2584 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2585 | |||
2586 | |||
3254 | fi | 2587 | fi |
2588 | |||
3255 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2589 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3256 | fi | 2590 | fi |
2591 | |||
3257 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2592 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3258 | fi | 2593 | fi |
2594 | |||
3259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 2595 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3260 | ac_c_werror_flag=$ac_save_c_werror_flag | 2596 | ac_c_werror_flag=$ac_save_c_werror_flag |
3261 | fi | 2597 | fi |
3262 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 2598 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3263 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 2599 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
3264 | if test "$ac_test_CFLAGS" = set; then | 2600 | if test "$ac_test_CFLAGS" = set; then |
3265 | CFLAGS=$ac_save_CFLAGS | 2601 | CFLAGS=$ac_save_CFLAGS |
3266 | elif test $ac_cv_prog_cc_g = yes; then | 2602 | elif test $ac_cv_prog_cc_g = yes; then |
@@ -3276,14 +2612,18 @@ else | |||
3276 | CFLAGS= | 2612 | CFLAGS= |
3277 | fi | 2613 | fi |
3278 | fi | 2614 | fi |
3279 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 2615 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3280 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 2616 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
3281 | if ${ac_cv_prog_cc_c89+:} false; then : | 2617 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
3282 | $as_echo_n "(cached) " >&6 | 2618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3283 | else | 2619 | else |
3284 | ac_cv_prog_cc_c89=no | 2620 | ac_cv_prog_cc_c89=no |
3285 | ac_save_CC=$CC | 2621 | ac_save_CC=$CC |
3286 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2622 | cat >conftest.$ac_ext <<_ACEOF |
2623 | /* confdefs.h. */ | ||
2624 | _ACEOF | ||
2625 | cat confdefs.h >>conftest.$ac_ext | ||
2626 | cat >>conftest.$ac_ext <<_ACEOF | ||
3287 | /* end confdefs.h. */ | 2627 | /* end confdefs.h. */ |
3288 | #include <stdarg.h> | 2628 | #include <stdarg.h> |
3289 | #include <stdio.h> | 2629 | #include <stdio.h> |
@@ -3340,9 +2680,31 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |||
3340 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2680 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3341 | do | 2681 | do |
3342 | CC="$ac_save_CC $ac_arg" | 2682 | CC="$ac_save_CC $ac_arg" |
3343 | if ac_fn_c_try_compile "$LINENO"; then : | 2683 | rm -f conftest.$ac_objext |
2684 | if { (ac_try="$ac_compile" | ||
2685 | case "(($ac_try" in | ||
2686 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2687 | *) ac_try_echo=$ac_try;; | ||
2688 | esac | ||
2689 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2690 | (eval "$ac_compile") 2>conftest.er1 | ||
2691 | ac_status=$? | ||
2692 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2693 | rm -f conftest.er1 | ||
2694 | cat conftest.err >&5 | ||
2695 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2696 | (exit $ac_status); } && { | ||
2697 | test -z "$ac_c_werror_flag" || | ||
2698 | test ! -s conftest.err | ||
2699 | } && test -s conftest.$ac_objext; then | ||
3344 | ac_cv_prog_cc_c89=$ac_arg | 2700 | ac_cv_prog_cc_c89=$ac_arg |
2701 | else | ||
2702 | echo "$as_me: failed program was:" >&5 | ||
2703 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2704 | |||
2705 | |||
3345 | fi | 2706 | fi |
2707 | |||
3346 | rm -f core conftest.err conftest.$ac_objext | 2708 | rm -f core conftest.err conftest.$ac_objext |
3347 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 2709 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3348 | done | 2710 | done |
@@ -3353,19 +2715,17 @@ fi | |||
3353 | # AC_CACHE_VAL | 2715 | # AC_CACHE_VAL |
3354 | case "x$ac_cv_prog_cc_c89" in | 2716 | case "x$ac_cv_prog_cc_c89" in |
3355 | x) | 2717 | x) |
3356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 2718 | { echo "$as_me:$LINENO: result: none needed" >&5 |
3357 | $as_echo "none needed" >&6; } ;; | 2719 | echo "${ECHO_T}none needed" >&6; } ;; |
3358 | xno) | 2720 | xno) |
3359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 2721 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
3360 | $as_echo "unsupported" >&6; } ;; | 2722 | echo "${ECHO_T}unsupported" >&6; } ;; |
3361 | *) | 2723 | *) |
3362 | CC="$CC $ac_cv_prog_cc_c89" | 2724 | CC="$CC $ac_cv_prog_cc_c89" |
3363 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 2725 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3364 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 2726 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3365 | esac | 2727 | esac |
3366 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
3367 | 2728 | ||
3368 | fi | ||
3369 | 2729 | ||
3370 | ac_ext=c | 2730 | ac_ext=c |
3371 | ac_cpp='$CPP $CPPFLAGS' | 2731 | ac_cpp='$CPP $CPPFLAGS' |
@@ -3390,7 +2750,9 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | |||
3390 | fi | 2750 | fi |
3391 | done | 2751 | done |
3392 | if test -z "$ac_aux_dir"; then | 2752 | if test -z "$ac_aux_dir"; then |
3393 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 2753 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
2754 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} | ||
2755 | { (exit 1); exit 1; }; } | ||
3394 | fi | 2756 | fi |
3395 | 2757 | ||
3396 | # These three variables are undocumented and unsupported, | 2758 | # These three variables are undocumented and unsupported, |
@@ -3404,27 +2766,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |||
3404 | 2766 | ||
3405 | # Make sure we can run config.sub. | 2767 | # Make sure we can run config.sub. |
3406 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2768 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3407 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2769 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
2770 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
2771 | { (exit 1); exit 1; }; } | ||
3408 | 2772 | ||
3409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2773 | { echo "$as_me:$LINENO: checking build system type" >&5 |
3410 | $as_echo_n "checking build system type... " >&6; } | 2774 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
3411 | if ${ac_cv_build+:} false; then : | 2775 | if test "${ac_cv_build+set}" = set; then |
3412 | $as_echo_n "(cached) " >&6 | 2776 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3413 | else | 2777 | else |
3414 | ac_build_alias=$build_alias | 2778 | ac_build_alias=$build_alias |
3415 | test "x$ac_build_alias" = x && | 2779 | test "x$ac_build_alias" = x && |
3416 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2780 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3417 | test "x$ac_build_alias" = x && | 2781 | test "x$ac_build_alias" = x && |
3418 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 2782 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
2783 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
2784 | { (exit 1); exit 1; }; } | ||
3419 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2785 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3420 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2786 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
2787 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
2788 | { (exit 1); exit 1; }; } | ||
3421 | 2789 | ||
3422 | fi | 2790 | fi |
3423 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2791 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3424 | $as_echo "$ac_cv_build" >&6; } | 2792 | echo "${ECHO_T}$ac_cv_build" >&6; } |
3425 | case $ac_cv_build in | 2793 | case $ac_cv_build in |
3426 | *-*-*) ;; | 2794 | *-*-*) ;; |
3427 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 2795 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
2796 | echo "$as_me: error: invalid value of canonical build" >&2;} | ||
2797 | { (exit 1); exit 1; }; };; | ||
3428 | esac | 2798 | esac |
3429 | build=$ac_cv_build | 2799 | build=$ac_cv_build |
3430 | ac_save_IFS=$IFS; IFS='-' | 2800 | ac_save_IFS=$IFS; IFS='-' |
@@ -3440,24 +2810,28 @@ IFS=$ac_save_IFS | |||
3440 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2810 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3441 | 2811 | ||
3442 | 2812 | ||
3443 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2813 | { echo "$as_me:$LINENO: checking host system type" >&5 |
3444 | $as_echo_n "checking host system type... " >&6; } | 2814 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
3445 | if ${ac_cv_host+:} false; then : | 2815 | if test "${ac_cv_host+set}" = set; then |
3446 | $as_echo_n "(cached) " >&6 | 2816 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3447 | else | 2817 | else |
3448 | if test "x$host_alias" = x; then | 2818 | if test "x$host_alias" = x; then |
3449 | ac_cv_host=$ac_cv_build | 2819 | ac_cv_host=$ac_cv_build |
3450 | else | 2820 | else |
3451 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2821 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3452 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2822 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
2823 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
2824 | { (exit 1); exit 1; }; } | ||
3453 | fi | 2825 | fi |
3454 | 2826 | ||
3455 | fi | 2827 | fi |
3456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2828 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3457 | $as_echo "$ac_cv_host" >&6; } | 2829 | echo "${ECHO_T}$ac_cv_host" >&6; } |
3458 | case $ac_cv_host in | 2830 | case $ac_cv_host in |
3459 | *-*-*) ;; | 2831 | *-*-*) ;; |
3460 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 2832 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
2833 | echo "$as_me: error: invalid value of canonical host" >&2;} | ||
2834 | { (exit 1); exit 1; }; };; | ||
3461 | esac | 2835 | esac |
3462 | host=$ac_cv_host | 2836 | host=$ac_cv_host |
3463 | ac_save_IFS=$IFS; IFS='-' | 2837 | ac_save_IFS=$IFS; IFS='-' |
@@ -3479,15 +2853,15 @@ ac_cpp='$CPP $CPPFLAGS' | |||
3479 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2853 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3480 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2854 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3481 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2855 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3482 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 2856 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3483 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 2857 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3484 | # On Suns, sometimes $CPP names a directory. | 2858 | # On Suns, sometimes $CPP names a directory. |
3485 | if test -n "$CPP" && test -d "$CPP"; then | 2859 | if test -n "$CPP" && test -d "$CPP"; then |
3486 | CPP= | 2860 | CPP= |
3487 | fi | 2861 | fi |
3488 | if test -z "$CPP"; then | 2862 | if test -z "$CPP"; then |
3489 | if ${ac_cv_prog_CPP+:} false; then : | 2863 | if test "${ac_cv_prog_CPP+set}" = set; then |
3490 | $as_echo_n "(cached) " >&6 | 2864 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3491 | else | 2865 | else |
3492 | # Double quotes because CPP needs to be expanded | 2866 | # Double quotes because CPP needs to be expanded |
3493 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 2867 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
@@ -3501,7 +2875,11 @@ do | |||
3501 | # <limits.h> exists even on freestanding compilers. | 2875 | # <limits.h> exists even on freestanding compilers. |
3502 | # On the NeXT, cc -E runs the code through the compiler's parser, | 2876 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3503 | # not just through cpp. "Syntax error" is here to catch this case. | 2877 | # not just through cpp. "Syntax error" is here to catch this case. |
3504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2878 | cat >conftest.$ac_ext <<_ACEOF |
2879 | /* confdefs.h. */ | ||
2880 | _ACEOF | ||
2881 | cat confdefs.h >>conftest.$ac_ext | ||
2882 | cat >>conftest.$ac_ext <<_ACEOF | ||
3505 | /* end confdefs.h. */ | 2883 | /* end confdefs.h. */ |
3506 | #ifdef __STDC__ | 2884 | #ifdef __STDC__ |
3507 | # include <limits.h> | 2885 | # include <limits.h> |
@@ -3510,34 +2888,76 @@ do | |||
3510 | #endif | 2888 | #endif |
3511 | Syntax error | 2889 | Syntax error |
3512 | _ACEOF | 2890 | _ACEOF |
3513 | if ac_fn_c_try_cpp "$LINENO"; then : | 2891 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3514 | 2892 | case "(($ac_try" in | |
2893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2894 | *) ac_try_echo=$ac_try;; | ||
2895 | esac | ||
2896 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2897 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2898 | ac_status=$? | ||
2899 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2900 | rm -f conftest.er1 | ||
2901 | cat conftest.err >&5 | ||
2902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2903 | (exit $ac_status); } >/dev/null && { | ||
2904 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
2905 | test ! -s conftest.err | ||
2906 | }; then | ||
2907 | : | ||
3515 | else | 2908 | else |
2909 | echo "$as_me: failed program was:" >&5 | ||
2910 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2911 | |||
3516 | # Broken: fails on valid input. | 2912 | # Broken: fails on valid input. |
3517 | continue | 2913 | continue |
3518 | fi | 2914 | fi |
3519 | rm -f conftest.err conftest.i conftest.$ac_ext | 2915 | |
2916 | rm -f conftest.err conftest.$ac_ext | ||
3520 | 2917 | ||
3521 | # OK, works on sane cases. Now check whether nonexistent headers | 2918 | # OK, works on sane cases. Now check whether nonexistent headers |
3522 | # can be detected and how. | 2919 | # can be detected and how. |
3523 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2920 | cat >conftest.$ac_ext <<_ACEOF |
2921 | /* confdefs.h. */ | ||
2922 | _ACEOF | ||
2923 | cat confdefs.h >>conftest.$ac_ext | ||
2924 | cat >>conftest.$ac_ext <<_ACEOF | ||
3524 | /* end confdefs.h. */ | 2925 | /* end confdefs.h. */ |
3525 | #include <ac_nonexistent.h> | 2926 | #include <ac_nonexistent.h> |
3526 | _ACEOF | 2927 | _ACEOF |
3527 | if ac_fn_c_try_cpp "$LINENO"; then : | 2928 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
2929 | case "(($ac_try" in | ||
2930 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2931 | *) ac_try_echo=$ac_try;; | ||
2932 | esac | ||
2933 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
2934 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
2935 | ac_status=$? | ||
2936 | grep -v '^ *+' conftest.er1 >conftest.err | ||
2937 | rm -f conftest.er1 | ||
2938 | cat conftest.err >&5 | ||
2939 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
2940 | (exit $ac_status); } >/dev/null && { | ||
2941 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
2942 | test ! -s conftest.err | ||
2943 | }; then | ||
3528 | # Broken: success on invalid input. | 2944 | # Broken: success on invalid input. |
3529 | continue | 2945 | continue |
3530 | else | 2946 | else |
2947 | echo "$as_me: failed program was:" >&5 | ||
2948 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2949 | |||
3531 | # Passes both tests. | 2950 | # Passes both tests. |
3532 | ac_preproc_ok=: | 2951 | ac_preproc_ok=: |
3533 | break | 2952 | break |
3534 | fi | 2953 | fi |
3535 | rm -f conftest.err conftest.i conftest.$ac_ext | 2954 | |
2955 | rm -f conftest.err conftest.$ac_ext | ||
3536 | 2956 | ||
3537 | done | 2957 | done |
3538 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 2958 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3539 | rm -f conftest.i conftest.err conftest.$ac_ext | 2959 | rm -f conftest.err conftest.$ac_ext |
3540 | if $ac_preproc_ok; then : | 2960 | if $ac_preproc_ok; then |
3541 | break | 2961 | break |
3542 | fi | 2962 | fi |
3543 | 2963 | ||
@@ -3549,8 +2969,8 @@ fi | |||
3549 | else | 2969 | else |
3550 | ac_cv_prog_CPP=$CPP | 2970 | ac_cv_prog_CPP=$CPP |
3551 | fi | 2971 | fi |
3552 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 2972 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
3553 | $as_echo "$CPP" >&6; } | 2973 | echo "${ECHO_T}$CPP" >&6; } |
3554 | ac_preproc_ok=false | 2974 | ac_preproc_ok=false |
3555 | for ac_c_preproc_warn_flag in '' yes | 2975 | for ac_c_preproc_warn_flag in '' yes |
3556 | do | 2976 | do |
@@ -3560,7 +2980,11 @@ do | |||
3560 | # <limits.h> exists even on freestanding compilers. | 2980 | # <limits.h> exists even on freestanding compilers. |
3561 | # On the NeXT, cc -E runs the code through the compiler's parser, | 2981 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3562 | # not just through cpp. "Syntax error" is here to catch this case. | 2982 | # not just through cpp. "Syntax error" is here to catch this case. |
3563 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2983 | cat >conftest.$ac_ext <<_ACEOF |
2984 | /* confdefs.h. */ | ||
2985 | _ACEOF | ||
2986 | cat confdefs.h >>conftest.$ac_ext | ||
2987 | cat >>conftest.$ac_ext <<_ACEOF | ||
3564 | /* end confdefs.h. */ | 2988 | /* end confdefs.h. */ |
3565 | #ifdef __STDC__ | 2989 | #ifdef __STDC__ |
3566 | # include <limits.h> | 2990 | # include <limits.h> |
@@ -3569,40 +2993,83 @@ do | |||
3569 | #endif | 2993 | #endif |
3570 | Syntax error | 2994 | Syntax error |
3571 | _ACEOF | 2995 | _ACEOF |
3572 | if ac_fn_c_try_cpp "$LINENO"; then : | 2996 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3573 | 2997 | case "(($ac_try" in | |
2998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2999 | *) ac_try_echo=$ac_try;; | ||
3000 | esac | ||
3001 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3002 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3003 | ac_status=$? | ||
3004 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3005 | rm -f conftest.er1 | ||
3006 | cat conftest.err >&5 | ||
3007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3008 | (exit $ac_status); } >/dev/null && { | ||
3009 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3010 | test ! -s conftest.err | ||
3011 | }; then | ||
3012 | : | ||
3574 | else | 3013 | else |
3014 | echo "$as_me: failed program was:" >&5 | ||
3015 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3016 | |||
3575 | # Broken: fails on valid input. | 3017 | # Broken: fails on valid input. |
3576 | continue | 3018 | continue |
3577 | fi | 3019 | fi |
3578 | rm -f conftest.err conftest.i conftest.$ac_ext | 3020 | |
3021 | rm -f conftest.err conftest.$ac_ext | ||
3579 | 3022 | ||
3580 | # OK, works on sane cases. Now check whether nonexistent headers | 3023 | # OK, works on sane cases. Now check whether nonexistent headers |
3581 | # can be detected and how. | 3024 | # can be detected and how. |
3582 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3025 | cat >conftest.$ac_ext <<_ACEOF |
3026 | /* confdefs.h. */ | ||
3027 | _ACEOF | ||
3028 | cat confdefs.h >>conftest.$ac_ext | ||
3029 | cat >>conftest.$ac_ext <<_ACEOF | ||
3583 | /* end confdefs.h. */ | 3030 | /* end confdefs.h. */ |
3584 | #include <ac_nonexistent.h> | 3031 | #include <ac_nonexistent.h> |
3585 | _ACEOF | 3032 | _ACEOF |
3586 | if ac_fn_c_try_cpp "$LINENO"; then : | 3033 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3034 | case "(($ac_try" in | ||
3035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3036 | *) ac_try_echo=$ac_try;; | ||
3037 | esac | ||
3038 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3039 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3040 | ac_status=$? | ||
3041 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3042 | rm -f conftest.er1 | ||
3043 | cat conftest.err >&5 | ||
3044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3045 | (exit $ac_status); } >/dev/null && { | ||
3046 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3047 | test ! -s conftest.err | ||
3048 | }; then | ||
3587 | # Broken: success on invalid input. | 3049 | # Broken: success on invalid input. |
3588 | continue | 3050 | continue |
3589 | else | 3051 | else |
3052 | echo "$as_me: failed program was:" >&5 | ||
3053 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3054 | |||
3590 | # Passes both tests. | 3055 | # Passes both tests. |
3591 | ac_preproc_ok=: | 3056 | ac_preproc_ok=: |
3592 | break | 3057 | break |
3593 | fi | 3058 | fi |
3594 | rm -f conftest.err conftest.i conftest.$ac_ext | 3059 | |
3060 | rm -f conftest.err conftest.$ac_ext | ||
3595 | 3061 | ||
3596 | done | 3062 | done |
3597 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3063 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3598 | rm -f conftest.i conftest.err conftest.$ac_ext | 3064 | rm -f conftest.err conftest.$ac_ext |
3599 | if $ac_preproc_ok; then : | 3065 | if $ac_preproc_ok; then |
3600 | 3066 | : | |
3601 | else | 3067 | else |
3602 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3068 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
3603 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3069 | See \`config.log' for more details." >&5 |
3604 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 3070 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
3605 | See \`config.log' for more details" "$LINENO" 5; } | 3071 | See \`config.log' for more details." >&2;} |
3072 | { (exit 1); exit 1; }; } | ||
3606 | fi | 3073 | fi |
3607 | 3074 | ||
3608 | ac_ext=c | 3075 | ac_ext=c |
@@ -3612,40 +3079,45 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ | |||
3612 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3079 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3613 | 3080 | ||
3614 | 3081 | ||
3615 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3082 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3616 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3083 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3617 | if ${ac_cv_path_GREP+:} false; then : | 3084 | if test "${ac_cv_path_GREP+set}" = set; then |
3618 | $as_echo_n "(cached) " >&6 | 3085 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3086 | else | ||
3087 | # Extract the first word of "grep ggrep" to use in msg output | ||
3088 | if test -z "$GREP"; then | ||
3089 | set dummy grep ggrep; ac_prog_name=$2 | ||
3090 | if test "${ac_cv_path_GREP+set}" = set; then | ||
3091 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3619 | else | 3092 | else |
3620 | if test -z "$GREP"; then | ||
3621 | ac_path_GREP_found=false | 3093 | ac_path_GREP_found=false |
3622 | # Loop through the user's path and test for each of PROGNAME-LIST | 3094 | # Loop through the user's path and test for each of PROGNAME-LIST |
3623 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3095 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3624 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3096 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3625 | do | 3097 | do |
3626 | IFS=$as_save_IFS | 3098 | IFS=$as_save_IFS |
3627 | test -z "$as_dir" && as_dir=. | 3099 | test -z "$as_dir" && as_dir=. |
3628 | for ac_prog in grep ggrep; do | 3100 | for ac_prog in grep ggrep; do |
3629 | for ac_exec_ext in '' $ac_executable_extensions; do | 3101 | for ac_exec_ext in '' $ac_executable_extensions; do |
3630 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3102 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
3631 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 3103 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
3632 | # Check for GNU ac_path_GREP and select it if it is found. | 3104 | # Check for GNU ac_path_GREP and select it if it is found. |
3633 | # Check for GNU $ac_path_GREP | 3105 | # Check for GNU $ac_path_GREP |
3634 | case `"$ac_path_GREP" --version 2>&1` in | 3106 | case `"$ac_path_GREP" --version 2>&1` in |
3635 | *GNU*) | 3107 | *GNU*) |
3636 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 3108 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
3637 | *) | 3109 | *) |
3638 | ac_count=0 | 3110 | ac_count=0 |
3639 | $as_echo_n 0123456789 >"conftest.in" | 3111 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3640 | while : | 3112 | while : |
3641 | do | 3113 | do |
3642 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 3114 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3643 | mv "conftest.tmp" "conftest.in" | 3115 | mv "conftest.tmp" "conftest.in" |
3644 | cp "conftest.in" "conftest.nl" | 3116 | cp "conftest.in" "conftest.nl" |
3645 | $as_echo 'GREP' >> "conftest.nl" | 3117 | echo 'GREP' >> "conftest.nl" |
3646 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3118 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3647 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3119 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3648 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 3120 | ac_count=`expr $ac_count + 1` |
3649 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 3121 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
3650 | # Best one so far, save it but keep looking for a better one | 3122 | # Best one so far, save it but keep looking for a better one |
3651 | ac_cv_path_GREP="$ac_path_GREP" | 3123 | ac_cv_path_GREP="$ac_path_GREP" |
@@ -3657,61 +3129,77 @@ case `"$ac_path_GREP" --version 2>&1` in | |||
3657 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3129 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3658 | esac | 3130 | esac |
3659 | 3131 | ||
3660 | $ac_path_GREP_found && break 3 | 3132 | |
3661 | done | 3133 | $ac_path_GREP_found && break 3 |
3662 | done | ||
3663 | done | 3134 | done |
3135 | done | ||
3136 | |||
3137 | done | ||
3664 | IFS=$as_save_IFS | 3138 | IFS=$as_save_IFS |
3665 | if test -z "$ac_cv_path_GREP"; then | 3139 | |
3666 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3140 | |
3667 | fi | 3141 | fi |
3142 | |||
3143 | GREP="$ac_cv_path_GREP" | ||
3144 | if test -z "$GREP"; then | ||
3145 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
3146 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
3147 | { (exit 1); exit 1; }; } | ||
3148 | fi | ||
3149 | |||
3668 | else | 3150 | else |
3669 | ac_cv_path_GREP=$GREP | 3151 | ac_cv_path_GREP=$GREP |
3670 | fi | 3152 | fi |
3671 | 3153 | ||
3154 | |||
3672 | fi | 3155 | fi |
3673 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 3156 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3674 | $as_echo "$ac_cv_path_GREP" >&6; } | 3157 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
3675 | GREP="$ac_cv_path_GREP" | 3158 | GREP="$ac_cv_path_GREP" |
3676 | 3159 | ||
3677 | 3160 | ||
3678 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 3161 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
3679 | $as_echo_n "checking for egrep... " >&6; } | 3162 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
3680 | if ${ac_cv_path_EGREP+:} false; then : | 3163 | if test "${ac_cv_path_EGREP+set}" = set; then |
3681 | $as_echo_n "(cached) " >&6 | 3164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3682 | else | 3165 | else |
3683 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 3166 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
3684 | then ac_cv_path_EGREP="$GREP -E" | 3167 | then ac_cv_path_EGREP="$GREP -E" |
3685 | else | 3168 | else |
3686 | if test -z "$EGREP"; then | 3169 | # Extract the first word of "egrep" to use in msg output |
3170 | if test -z "$EGREP"; then | ||
3171 | set dummy egrep; ac_prog_name=$2 | ||
3172 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
3173 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3174 | else | ||
3687 | ac_path_EGREP_found=false | 3175 | ac_path_EGREP_found=false |
3688 | # Loop through the user's path and test for each of PROGNAME-LIST | 3176 | # Loop through the user's path and test for each of PROGNAME-LIST |
3689 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3177 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3690 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3178 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3691 | do | 3179 | do |
3692 | IFS=$as_save_IFS | 3180 | IFS=$as_save_IFS |
3693 | test -z "$as_dir" && as_dir=. | 3181 | test -z "$as_dir" && as_dir=. |
3694 | for ac_prog in egrep; do | 3182 | for ac_prog in egrep; do |
3695 | for ac_exec_ext in '' $ac_executable_extensions; do | 3183 | for ac_exec_ext in '' $ac_executable_extensions; do |
3696 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 3184 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
3697 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 3185 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
3698 | # Check for GNU ac_path_EGREP and select it if it is found. | 3186 | # Check for GNU ac_path_EGREP and select it if it is found. |
3699 | # Check for GNU $ac_path_EGREP | 3187 | # Check for GNU $ac_path_EGREP |
3700 | case `"$ac_path_EGREP" --version 2>&1` in | 3188 | case `"$ac_path_EGREP" --version 2>&1` in |
3701 | *GNU*) | 3189 | *GNU*) |
3702 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 3190 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
3703 | *) | 3191 | *) |
3704 | ac_count=0 | 3192 | ac_count=0 |
3705 | $as_echo_n 0123456789 >"conftest.in" | 3193 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
3706 | while : | 3194 | while : |
3707 | do | 3195 | do |
3708 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 3196 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
3709 | mv "conftest.tmp" "conftest.in" | 3197 | mv "conftest.tmp" "conftest.in" |
3710 | cp "conftest.in" "conftest.nl" | 3198 | cp "conftest.in" "conftest.nl" |
3711 | $as_echo 'EGREP' >> "conftest.nl" | 3199 | echo 'EGREP' >> "conftest.nl" |
3712 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 3200 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
3713 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 3201 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
3714 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 3202 | ac_count=`expr $ac_count + 1` |
3715 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 3203 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
3716 | # Best one so far, save it but keep looking for a better one | 3204 | # Best one so far, save it but keep looking for a better one |
3717 | ac_cv_path_EGREP="$ac_path_EGREP" | 3205 | ac_cv_path_EGREP="$ac_path_EGREP" |
@@ -3723,31 +3211,46 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
3723 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 3211 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3724 | esac | 3212 | esac |
3725 | 3213 | ||
3726 | $ac_path_EGREP_found && break 3 | 3214 | |
3727 | done | 3215 | $ac_path_EGREP_found && break 3 |
3728 | done | ||
3729 | done | 3216 | done |
3217 | done | ||
3218 | |||
3219 | done | ||
3730 | IFS=$as_save_IFS | 3220 | IFS=$as_save_IFS |
3731 | if test -z "$ac_cv_path_EGREP"; then | 3221 | |
3732 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 3222 | |
3733 | fi | 3223 | fi |
3224 | |||
3225 | EGREP="$ac_cv_path_EGREP" | ||
3226 | if test -z "$EGREP"; then | ||
3227 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
3228 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
3229 | { (exit 1); exit 1; }; } | ||
3230 | fi | ||
3231 | |||
3734 | else | 3232 | else |
3735 | ac_cv_path_EGREP=$EGREP | 3233 | ac_cv_path_EGREP=$EGREP |
3736 | fi | 3234 | fi |
3737 | 3235 | ||
3236 | |||
3738 | fi | 3237 | fi |
3739 | fi | 3238 | fi |
3740 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 3239 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
3741 | $as_echo "$ac_cv_path_EGREP" >&6; } | 3240 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
3742 | EGREP="$ac_cv_path_EGREP" | 3241 | EGREP="$ac_cv_path_EGREP" |
3743 | 3242 | ||
3744 | 3243 | ||
3745 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 3244 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
3746 | $as_echo_n "checking for ANSI C header files... " >&6; } | 3245 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
3747 | if ${ac_cv_header_stdc+:} false; then : | 3246 | if test "${ac_cv_header_stdc+set}" = set; then |
3748 | $as_echo_n "(cached) " >&6 | 3247 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3749 | else | 3248 | else |
3750 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3249 | cat >conftest.$ac_ext <<_ACEOF |
3250 | /* confdefs.h. */ | ||
3251 | _ACEOF | ||
3252 | cat confdefs.h >>conftest.$ac_ext | ||
3253 | cat >>conftest.$ac_ext <<_ACEOF | ||
3751 | /* end confdefs.h. */ | 3254 | /* end confdefs.h. */ |
3752 | #include <stdlib.h> | 3255 | #include <stdlib.h> |
3753 | #include <stdarg.h> | 3256 | #include <stdarg.h> |
@@ -3762,23 +3265,47 @@ main () | |||
3762 | return 0; | 3265 | return 0; |
3763 | } | 3266 | } |
3764 | _ACEOF | 3267 | _ACEOF |
3765 | if ac_fn_c_try_compile "$LINENO"; then : | 3268 | rm -f conftest.$ac_objext |
3269 | if { (ac_try="$ac_compile" | ||
3270 | case "(($ac_try" in | ||
3271 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3272 | *) ac_try_echo=$ac_try;; | ||
3273 | esac | ||
3274 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3275 | (eval "$ac_compile") 2>conftest.er1 | ||
3276 | ac_status=$? | ||
3277 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3278 | rm -f conftest.er1 | ||
3279 | cat conftest.err >&5 | ||
3280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3281 | (exit $ac_status); } && { | ||
3282 | test -z "$ac_c_werror_flag" || | ||
3283 | test ! -s conftest.err | ||
3284 | } && test -s conftest.$ac_objext; then | ||
3766 | ac_cv_header_stdc=yes | 3285 | ac_cv_header_stdc=yes |
3767 | else | 3286 | else |
3768 | ac_cv_header_stdc=no | 3287 | echo "$as_me: failed program was:" >&5 |
3288 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3289 | |||
3290 | ac_cv_header_stdc=no | ||
3769 | fi | 3291 | fi |
3292 | |||
3770 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3293 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3771 | 3294 | ||
3772 | if test $ac_cv_header_stdc = yes; then | 3295 | if test $ac_cv_header_stdc = yes; then |
3773 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3296 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3774 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3297 | cat >conftest.$ac_ext <<_ACEOF |
3298 | /* confdefs.h. */ | ||
3299 | _ACEOF | ||
3300 | cat confdefs.h >>conftest.$ac_ext | ||
3301 | cat >>conftest.$ac_ext <<_ACEOF | ||
3775 | /* end confdefs.h. */ | 3302 | /* end confdefs.h. */ |
3776 | #include <string.h> | 3303 | #include <string.h> |
3777 | 3304 | ||
3778 | _ACEOF | 3305 | _ACEOF |
3779 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3306 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3780 | $EGREP "memchr" >/dev/null 2>&1; then : | 3307 | $EGREP "memchr" >/dev/null 2>&1; then |
3781 | 3308 | : | |
3782 | else | 3309 | else |
3783 | ac_cv_header_stdc=no | 3310 | ac_cv_header_stdc=no |
3784 | fi | 3311 | fi |
@@ -3788,14 +3315,18 @@ fi | |||
3788 | 3315 | ||
3789 | if test $ac_cv_header_stdc = yes; then | 3316 | if test $ac_cv_header_stdc = yes; then |
3790 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3317 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3791 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3318 | cat >conftest.$ac_ext <<_ACEOF |
3319 | /* confdefs.h. */ | ||
3320 | _ACEOF | ||
3321 | cat confdefs.h >>conftest.$ac_ext | ||
3322 | cat >>conftest.$ac_ext <<_ACEOF | ||
3792 | /* end confdefs.h. */ | 3323 | /* end confdefs.h. */ |
3793 | #include <stdlib.h> | 3324 | #include <stdlib.h> |
3794 | 3325 | ||
3795 | _ACEOF | 3326 | _ACEOF |
3796 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3327 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3797 | $EGREP "free" >/dev/null 2>&1; then : | 3328 | $EGREP "free" >/dev/null 2>&1; then |
3798 | 3329 | : | |
3799 | else | 3330 | else |
3800 | ac_cv_header_stdc=no | 3331 | ac_cv_header_stdc=no |
3801 | fi | 3332 | fi |
@@ -3805,10 +3336,14 @@ fi | |||
3805 | 3336 | ||
3806 | if test $ac_cv_header_stdc = yes; then | 3337 | if test $ac_cv_header_stdc = yes; then |
3807 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3338 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3808 | if test "$cross_compiling" = yes; then : | 3339 | if test "$cross_compiling" = yes; then |
3809 | : | 3340 | : |
3810 | else | 3341 | else |
3811 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3342 | cat >conftest.$ac_ext <<_ACEOF |
3343 | /* confdefs.h. */ | ||
3344 | _ACEOF | ||
3345 | cat confdefs.h >>conftest.$ac_ext | ||
3346 | cat >>conftest.$ac_ext <<_ACEOF | ||
3812 | /* end confdefs.h. */ | 3347 | /* end confdefs.h. */ |
3813 | #include <ctype.h> | 3348 | #include <ctype.h> |
3814 | #include <stdlib.h> | 3349 | #include <stdlib.h> |
@@ -3835,35 +3370,113 @@ main () | |||
3835 | return 0; | 3370 | return 0; |
3836 | } | 3371 | } |
3837 | _ACEOF | 3372 | _ACEOF |
3838 | if ac_fn_c_try_run "$LINENO"; then : | 3373 | rm -f conftest$ac_exeext |
3839 | 3374 | if { (ac_try="$ac_link" | |
3375 | case "(($ac_try" in | ||
3376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3377 | *) ac_try_echo=$ac_try;; | ||
3378 | esac | ||
3379 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3380 | (eval "$ac_link") 2>&5 | ||
3381 | ac_status=$? | ||
3382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3383 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3384 | { (case "(($ac_try" in | ||
3385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3386 | *) ac_try_echo=$ac_try;; | ||
3387 | esac | ||
3388 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3389 | (eval "$ac_try") 2>&5 | ||
3390 | ac_status=$? | ||
3391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3392 | (exit $ac_status); }; }; then | ||
3393 | : | ||
3840 | else | 3394 | else |
3841 | ac_cv_header_stdc=no | 3395 | echo "$as_me: program exited with status $ac_status" >&5 |
3396 | echo "$as_me: failed program was:" >&5 | ||
3397 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3398 | |||
3399 | ( exit $ac_status ) | ||
3400 | ac_cv_header_stdc=no | ||
3842 | fi | 3401 | fi |
3843 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 3402 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3844 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
3845 | fi | 3403 | fi |
3846 | 3404 | ||
3405 | |||
3847 | fi | 3406 | fi |
3848 | fi | 3407 | fi |
3849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 3408 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
3850 | $as_echo "$ac_cv_header_stdc" >&6; } | 3409 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
3851 | if test $ac_cv_header_stdc = yes; then | 3410 | if test $ac_cv_header_stdc = yes; then |
3852 | 3411 | ||
3853 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 3412 | cat >>confdefs.h <<\_ACEOF |
3413 | #define STDC_HEADERS 1 | ||
3414 | _ACEOF | ||
3854 | 3415 | ||
3855 | fi | 3416 | fi |
3856 | 3417 | ||
3857 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 3418 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
3419 | |||
3420 | |||
3421 | |||
3422 | |||
3423 | |||
3424 | |||
3425 | |||
3426 | |||
3427 | |||
3858 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 3428 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
3859 | inttypes.h stdint.h unistd.h | 3429 | inttypes.h stdint.h unistd.h |
3860 | do : | 3430 | do |
3861 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 3431 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3862 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 3432 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3863 | " | 3433 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
3864 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 3434 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
3435 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
3436 | else | ||
3437 | cat >conftest.$ac_ext <<_ACEOF | ||
3438 | /* confdefs.h. */ | ||
3439 | _ACEOF | ||
3440 | cat confdefs.h >>conftest.$ac_ext | ||
3441 | cat >>conftest.$ac_ext <<_ACEOF | ||
3442 | /* end confdefs.h. */ | ||
3443 | $ac_includes_default | ||
3444 | |||
3445 | #include <$ac_header> | ||
3446 | _ACEOF | ||
3447 | rm -f conftest.$ac_objext | ||
3448 | if { (ac_try="$ac_compile" | ||
3449 | case "(($ac_try" in | ||
3450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3451 | *) ac_try_echo=$ac_try;; | ||
3452 | esac | ||
3453 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3454 | (eval "$ac_compile") 2>conftest.er1 | ||
3455 | ac_status=$? | ||
3456 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3457 | rm -f conftest.er1 | ||
3458 | cat conftest.err >&5 | ||
3459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3460 | (exit $ac_status); } && { | ||
3461 | test -z "$ac_c_werror_flag" || | ||
3462 | test ! -s conftest.err | ||
3463 | } && test -s conftest.$ac_objext; then | ||
3464 | eval "$as_ac_Header=yes" | ||
3465 | else | ||
3466 | echo "$as_me: failed program was:" >&5 | ||
3467 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3468 | |||
3469 | eval "$as_ac_Header=no" | ||
3470 | fi | ||
3471 | |||
3472 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3473 | fi | ||
3474 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
3475 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
3476 | echo "${ECHO_T}$ac_res" >&6; } | ||
3477 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
3865 | cat >>confdefs.h <<_ACEOF | 3478 | cat >>confdefs.h <<_ACEOF |
3866 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 3479 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
3867 | _ACEOF | 3480 | _ACEOF |
3868 | 3481 | ||
3869 | fi | 3482 | fi |
@@ -3871,229 +3484,241 @@ fi | |||
3871 | done | 3484 | done |
3872 | 3485 | ||
3873 | 3486 | ||
3874 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | 3487 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
3875 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | 3488 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } |
3876 | if ${ac_cv_c_bigendian+:} false; then : | 3489 | if test "${ac_cv_c_bigendian+set}" = set; then |
3877 | $as_echo_n "(cached) " >&6 | 3490 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3878 | else | 3491 | else |
3879 | ac_cv_c_bigendian=unknown | 3492 | # See if sys/param.h defines the BYTE_ORDER macro. |
3880 | # See if we're dealing with a universal compiler. | 3493 | cat >conftest.$ac_ext <<_ACEOF |
3881 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3494 | /* confdefs.h. */ |
3882 | /* end confdefs.h. */ | 3495 | _ACEOF |
3883 | #ifndef __APPLE_CC__ | 3496 | cat confdefs.h >>conftest.$ac_ext |
3884 | not a universal capable compiler | 3497 | cat >>conftest.$ac_ext <<_ACEOF |
3885 | #endif | ||
3886 | typedef int dummy; | ||
3887 | |||
3888 | _ACEOF | ||
3889 | if ac_fn_c_try_compile "$LINENO"; then : | ||
3890 | |||
3891 | # Check for potential -arch flags. It is not universal unless | ||
3892 | # there are at least two -arch flags with different values. | ||
3893 | ac_arch= | ||
3894 | ac_prev= | ||
3895 | for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | ||
3896 | if test -n "$ac_prev"; then | ||
3897 | case $ac_word in | ||
3898 | i?86 | x86_64 | ppc | ppc64) | ||
3899 | if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | ||
3900 | ac_arch=$ac_word | ||
3901 | else | ||
3902 | ac_cv_c_bigendian=universal | ||
3903 | break | ||
3904 | fi | ||
3905 | ;; | ||
3906 | esac | ||
3907 | ac_prev= | ||
3908 | elif test "x$ac_word" = "x-arch"; then | ||
3909 | ac_prev=arch | ||
3910 | fi | ||
3911 | done | ||
3912 | fi | ||
3913 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3914 | if test $ac_cv_c_bigendian = unknown; then | ||
3915 | # See if sys/param.h defines the BYTE_ORDER macro. | ||
3916 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3917 | /* end confdefs.h. */ | 3498 | /* end confdefs.h. */ |
3918 | #include <sys/types.h> | 3499 | #include <sys/types.h> |
3919 | #include <sys/param.h> | 3500 | #include <sys/param.h> |
3920 | 3501 | ||
3921 | int | 3502 | int |
3922 | main () | 3503 | main () |
3923 | { | 3504 | { |
3924 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | 3505 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ |
3925 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | 3506 | && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) |
3926 | && LITTLE_ENDIAN) | 3507 | bogus endian macros |
3927 | bogus endian macros | 3508 | #endif |
3928 | #endif | ||
3929 | 3509 | ||
3930 | ; | 3510 | ; |
3931 | return 0; | 3511 | return 0; |
3932 | } | 3512 | } |
3933 | _ACEOF | 3513 | _ACEOF |
3934 | if ac_fn_c_try_compile "$LINENO"; then : | 3514 | rm -f conftest.$ac_objext |
3515 | if { (ac_try="$ac_compile" | ||
3516 | case "(($ac_try" in | ||
3517 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3518 | *) ac_try_echo=$ac_try;; | ||
3519 | esac | ||
3520 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3521 | (eval "$ac_compile") 2>conftest.er1 | ||
3522 | ac_status=$? | ||
3523 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3524 | rm -f conftest.er1 | ||
3525 | cat conftest.err >&5 | ||
3526 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3527 | (exit $ac_status); } && { | ||
3528 | test -z "$ac_c_werror_flag" || | ||
3529 | test ! -s conftest.err | ||
3530 | } && test -s conftest.$ac_objext; then | ||
3935 | # It does; now see whether it defined to BIG_ENDIAN or not. | 3531 | # It does; now see whether it defined to BIG_ENDIAN or not. |
3936 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3532 | cat >conftest.$ac_ext <<_ACEOF |
3533 | /* confdefs.h. */ | ||
3534 | _ACEOF | ||
3535 | cat confdefs.h >>conftest.$ac_ext | ||
3536 | cat >>conftest.$ac_ext <<_ACEOF | ||
3937 | /* end confdefs.h. */ | 3537 | /* end confdefs.h. */ |
3938 | #include <sys/types.h> | 3538 | #include <sys/types.h> |
3939 | #include <sys/param.h> | 3539 | #include <sys/param.h> |
3940 | 3540 | ||
3941 | int | 3541 | int |
3942 | main () | 3542 | main () |
3943 | { | 3543 | { |
3944 | #if BYTE_ORDER != BIG_ENDIAN | 3544 | #if BYTE_ORDER != BIG_ENDIAN |
3945 | not big endian | 3545 | not big endian |
3946 | #endif | 3546 | #endif |
3947 | 3547 | ||
3948 | ; | 3548 | ; |
3949 | return 0; | 3549 | return 0; |
3950 | } | 3550 | } |
3951 | _ACEOF | 3551 | _ACEOF |
3952 | if ac_fn_c_try_compile "$LINENO"; then : | 3552 | rm -f conftest.$ac_objext |
3553 | if { (ac_try="$ac_compile" | ||
3554 | case "(($ac_try" in | ||
3555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3556 | *) ac_try_echo=$ac_try;; | ||
3557 | esac | ||
3558 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3559 | (eval "$ac_compile") 2>conftest.er1 | ||
3560 | ac_status=$? | ||
3561 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3562 | rm -f conftest.er1 | ||
3563 | cat conftest.err >&5 | ||
3564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3565 | (exit $ac_status); } && { | ||
3566 | test -z "$ac_c_werror_flag" || | ||
3567 | test ! -s conftest.err | ||
3568 | } && test -s conftest.$ac_objext; then | ||
3953 | ac_cv_c_bigendian=yes | 3569 | ac_cv_c_bigendian=yes |
3954 | else | 3570 | else |
3955 | ac_cv_c_bigendian=no | 3571 | echo "$as_me: failed program was:" >&5 |
3956 | fi | 3572 | sed 's/^/| /' conftest.$ac_ext >&5 |
3957 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3573 | |
3574 | ac_cv_c_bigendian=no | ||
3958 | fi | 3575 | fi |
3959 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
3960 | fi | ||
3961 | if test $ac_cv_c_bigendian = unknown; then | ||
3962 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | ||
3963 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3964 | /* end confdefs.h. */ | ||
3965 | #include <limits.h> | ||
3966 | 3576 | ||
3967 | int | 3577 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3968 | main () | 3578 | else |
3969 | { | 3579 | echo "$as_me: failed program was:" >&5 |
3970 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | 3580 | sed 's/^/| /' conftest.$ac_ext >&5 |
3971 | bogus endian macros | ||
3972 | #endif | ||
3973 | 3581 | ||
3974 | ; | 3582 | # It does not; compile a test program. |
3975 | return 0; | 3583 | if test "$cross_compiling" = yes; then |
3976 | } | 3584 | # try to guess the endianness by grepping values into an object file |
3585 | ac_cv_c_bigendian=unknown | ||
3586 | cat >conftest.$ac_ext <<_ACEOF | ||
3587 | /* confdefs.h. */ | ||
3977 | _ACEOF | 3588 | _ACEOF |
3978 | if ac_fn_c_try_compile "$LINENO"; then : | 3589 | cat confdefs.h >>conftest.$ac_ext |
3979 | # It does; now see whether it defined to _BIG_ENDIAN or not. | 3590 | cat >>conftest.$ac_ext <<_ACEOF |
3980 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
3981 | /* end confdefs.h. */ | 3591 | /* end confdefs.h. */ |
3982 | #include <limits.h> | 3592 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
3983 | 3593 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
3594 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | ||
3595 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
3596 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
3597 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | ||
3984 | int | 3598 | int |
3985 | main () | 3599 | main () |
3986 | { | 3600 | { |
3987 | #ifndef _BIG_ENDIAN | 3601 | _ascii (); _ebcdic (); |
3988 | not big endian | ||
3989 | #endif | ||
3990 | |||
3991 | ; | 3602 | ; |
3992 | return 0; | 3603 | return 0; |
3993 | } | 3604 | } |
3994 | _ACEOF | 3605 | _ACEOF |
3995 | if ac_fn_c_try_compile "$LINENO"; then : | 3606 | rm -f conftest.$ac_objext |
3607 | if { (ac_try="$ac_compile" | ||
3608 | case "(($ac_try" in | ||
3609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3610 | *) ac_try_echo=$ac_try;; | ||
3611 | esac | ||
3612 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3613 | (eval "$ac_compile") 2>conftest.er1 | ||
3614 | ac_status=$? | ||
3615 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3616 | rm -f conftest.er1 | ||
3617 | cat conftest.err >&5 | ||
3618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3619 | (exit $ac_status); } && { | ||
3620 | test -z "$ac_c_werror_flag" || | ||
3621 | test ! -s conftest.err | ||
3622 | } && test -s conftest.$ac_objext; then | ||
3623 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | ||
3996 | ac_cv_c_bigendian=yes | 3624 | ac_cv_c_bigendian=yes |
3997 | else | ||
3998 | ac_cv_c_bigendian=no | ||
3999 | fi | 3625 | fi |
4000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3626 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
3627 | if test "$ac_cv_c_bigendian" = unknown; then | ||
3628 | ac_cv_c_bigendian=no | ||
3629 | else | ||
3630 | # finding both strings is unlikely to happen, but who knows? | ||
3631 | ac_cv_c_bigendian=unknown | ||
3632 | fi | ||
4001 | fi | 3633 | fi |
4002 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3634 | else |
4003 | fi | 3635 | echo "$as_me: failed program was:" >&5 |
4004 | if test $ac_cv_c_bigendian = unknown; then | 3636 | sed 's/^/| /' conftest.$ac_ext >&5 |
4005 | # Compile a test program. | 3637 | |
4006 | if test "$cross_compiling" = yes; then : | ||
4007 | # Try to guess by grepping values from an object file. | ||
4008 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
4009 | /* end confdefs.h. */ | ||
4010 | short int ascii_mm[] = | ||
4011 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | ||
4012 | short int ascii_ii[] = | ||
4013 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | ||
4014 | int use_ascii (int i) { | ||
4015 | return ascii_mm[i] + ascii_ii[i]; | ||
4016 | } | ||
4017 | short int ebcdic_ii[] = | ||
4018 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | ||
4019 | short int ebcdic_mm[] = | ||
4020 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | ||
4021 | int use_ebcdic (int i) { | ||
4022 | return ebcdic_mm[i] + ebcdic_ii[i]; | ||
4023 | } | ||
4024 | extern int foo; | ||
4025 | 3638 | ||
4026 | int | ||
4027 | main () | ||
4028 | { | ||
4029 | return use_ascii (foo) == use_ebcdic (foo); | ||
4030 | ; | ||
4031 | return 0; | ||
4032 | } | ||
4033 | _ACEOF | ||
4034 | if ac_fn_c_try_compile "$LINENO"; then : | ||
4035 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | ||
4036 | ac_cv_c_bigendian=yes | ||
4037 | fi | ||
4038 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | ||
4039 | if test "$ac_cv_c_bigendian" = unknown; then | ||
4040 | ac_cv_c_bigendian=no | ||
4041 | else | ||
4042 | # finding both strings is unlikely to happen, but who knows? | ||
4043 | ac_cv_c_bigendian=unknown | ||
4044 | fi | ||
4045 | fi | ||
4046 | fi | 3639 | fi |
3640 | |||
4047 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3641 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4048 | else | 3642 | else |
4049 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3643 | cat >conftest.$ac_ext <<_ACEOF |
3644 | /* confdefs.h. */ | ||
3645 | _ACEOF | ||
3646 | cat confdefs.h >>conftest.$ac_ext | ||
3647 | cat >>conftest.$ac_ext <<_ACEOF | ||
4050 | /* end confdefs.h. */ | 3648 | /* end confdefs.h. */ |
4051 | $ac_includes_default | 3649 | $ac_includes_default |
4052 | int | 3650 | int |
4053 | main () | 3651 | main () |
4054 | { | 3652 | { |
4055 | 3653 | ||
4056 | /* Are we little or big endian? From Harbison&Steele. */ | 3654 | /* Are we little or big endian? From Harbison&Steele. */ |
4057 | union | 3655 | union |
4058 | { | 3656 | { |
4059 | long int l; | 3657 | long int l; |
4060 | char c[sizeof (long int)]; | 3658 | char c[sizeof (long int)]; |
4061 | } u; | 3659 | } u; |
4062 | u.l = 1; | 3660 | u.l = 1; |
4063 | return u.c[sizeof (long int) - 1] == 1; | 3661 | return u.c[sizeof (long int) - 1] == 1; |
4064 | 3662 | ||
4065 | ; | 3663 | ; |
4066 | return 0; | 3664 | return 0; |
4067 | } | 3665 | } |
4068 | _ACEOF | 3666 | _ACEOF |
4069 | if ac_fn_c_try_run "$LINENO"; then : | 3667 | rm -f conftest$ac_exeext |
3668 | if { (ac_try="$ac_link" | ||
3669 | case "(($ac_try" in | ||
3670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3671 | *) ac_try_echo=$ac_try;; | ||
3672 | esac | ||
3673 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3674 | (eval "$ac_link") 2>&5 | ||
3675 | ac_status=$? | ||
3676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3677 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
3678 | { (case "(($ac_try" in | ||
3679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3680 | *) ac_try_echo=$ac_try;; | ||
3681 | esac | ||
3682 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3683 | (eval "$ac_try") 2>&5 | ||
3684 | ac_status=$? | ||
3685 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3686 | (exit $ac_status); }; }; then | ||
4070 | ac_cv_c_bigendian=no | 3687 | ac_cv_c_bigendian=no |
4071 | else | 3688 | else |
4072 | ac_cv_c_bigendian=yes | 3689 | echo "$as_me: program exited with status $ac_status" >&5 |
3690 | echo "$as_me: failed program was:" >&5 | ||
3691 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3692 | |||
3693 | ( exit $ac_status ) | ||
3694 | ac_cv_c_bigendian=yes | ||
4073 | fi | 3695 | fi |
4074 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 3696 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4075 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
4076 | fi | 3697 | fi |
4077 | 3698 | ||
4078 | fi | 3699 | |
4079 | fi | 3700 | fi |
4080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | ||
4081 | $as_echo "$ac_cv_c_bigendian" >&6; } | ||
4082 | case $ac_cv_c_bigendian in #( | ||
4083 | yes) | ||
4084 | $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | ||
4085 | ;; #( | ||
4086 | no) | ||
4087 | ;; #( | ||
4088 | universal) | ||
4089 | 3701 | ||
4090 | $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | 3702 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3703 | fi | ||
3704 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | ||
3705 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } | ||
3706 | case $ac_cv_c_bigendian in | ||
3707 | yes) | ||
4091 | 3708 | ||
4092 | ;; #( | 3709 | cat >>confdefs.h <<\_ACEOF |
4093 | *) | 3710 | #define WORDS_BIGENDIAN 1 |
4094 | as_fn_error $? "unknown endianness | 3711 | _ACEOF |
4095 | presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | 3712 | ;; |
4096 | esac | 3713 | no) |
3714 | ;; | ||
3715 | *) | ||
3716 | { { echo "$as_me:$LINENO: error: unknown endianness | ||
3717 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | ||
3718 | echo "$as_me: error: unknown endianness | ||
3719 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | ||
3720 | { (exit 1); exit 1; }; } ;; | ||
3721 | esac | ||
4097 | 3722 | ||
4098 | 3723 | ||
4099 | # Checks for programs. | 3724 | # Checks for programs. |
@@ -4101,10 +3726,10 @@ for ac_prog in gawk mawk nawk awk | |||
4101 | do | 3726 | do |
4102 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3727 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4103 | set dummy $ac_prog; ac_word=$2 | 3728 | set dummy $ac_prog; ac_word=$2 |
4104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3729 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4105 | $as_echo_n "checking for $ac_word... " >&6; } | 3730 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4106 | if ${ac_cv_prog_AWK+:} false; then : | 3731 | if test "${ac_cv_prog_AWK+set}" = set; then |
4107 | $as_echo_n "(cached) " >&6 | 3732 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4108 | else | 3733 | else |
4109 | if test -n "$AWK"; then | 3734 | if test -n "$AWK"; then |
4110 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | 3735 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
@@ -4114,25 +3739,25 @@ for as_dir in $PATH | |||
4114 | do | 3739 | do |
4115 | IFS=$as_save_IFS | 3740 | IFS=$as_save_IFS |
4116 | test -z "$as_dir" && as_dir=. | 3741 | test -z "$as_dir" && as_dir=. |
4117 | for ac_exec_ext in '' $ac_executable_extensions; do | 3742 | for ac_exec_ext in '' $ac_executable_extensions; do |
4118 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3743 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4119 | ac_cv_prog_AWK="$ac_prog" | 3744 | ac_cv_prog_AWK="$ac_prog" |
4120 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3745 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4121 | break 2 | 3746 | break 2 |
4122 | fi | 3747 | fi |
4123 | done | 3748 | done |
4124 | done | 3749 | done |
4125 | IFS=$as_save_IFS | 3750 | IFS=$as_save_IFS |
4126 | 3751 | ||
4127 | fi | 3752 | fi |
4128 | fi | 3753 | fi |
4129 | AWK=$ac_cv_prog_AWK | 3754 | AWK=$ac_cv_prog_AWK |
4130 | if test -n "$AWK"; then | 3755 | if test -n "$AWK"; then |
4131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 3756 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
4132 | $as_echo "$AWK" >&6; } | 3757 | echo "${ECHO_T}$AWK" >&6; } |
4133 | else | 3758 | else |
4134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3759 | { echo "$as_me:$LINENO: result: no" >&5 |
4135 | $as_echo "no" >&6; } | 3760 | echo "${ECHO_T}no" >&6; } |
4136 | fi | 3761 | fi |
4137 | 3762 | ||
4138 | 3763 | ||
@@ -4144,15 +3769,15 @@ ac_cpp='$CPP $CPPFLAGS' | |||
4144 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3769 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4145 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3770 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4146 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3771 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4147 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 3772 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4148 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3773 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
4149 | # On Suns, sometimes $CPP names a directory. | 3774 | # On Suns, sometimes $CPP names a directory. |
4150 | if test -n "$CPP" && test -d "$CPP"; then | 3775 | if test -n "$CPP" && test -d "$CPP"; then |
4151 | CPP= | 3776 | CPP= |
4152 | fi | 3777 | fi |
4153 | if test -z "$CPP"; then | 3778 | if test -z "$CPP"; then |
4154 | if ${ac_cv_prog_CPP+:} false; then : | 3779 | if test "${ac_cv_prog_CPP+set}" = set; then |
4155 | $as_echo_n "(cached) " >&6 | 3780 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4156 | else | 3781 | else |
4157 | # Double quotes because CPP needs to be expanded | 3782 | # Double quotes because CPP needs to be expanded |
4158 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3783 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
@@ -4166,7 +3791,11 @@ do | |||
4166 | # <limits.h> exists even on freestanding compilers. | 3791 | # <limits.h> exists even on freestanding compilers. |
4167 | # On the NeXT, cc -E runs the code through the compiler's parser, | 3792 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4168 | # not just through cpp. "Syntax error" is here to catch this case. | 3793 | # not just through cpp. "Syntax error" is here to catch this case. |
4169 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3794 | cat >conftest.$ac_ext <<_ACEOF |
3795 | /* confdefs.h. */ | ||
3796 | _ACEOF | ||
3797 | cat confdefs.h >>conftest.$ac_ext | ||
3798 | cat >>conftest.$ac_ext <<_ACEOF | ||
4170 | /* end confdefs.h. */ | 3799 | /* end confdefs.h. */ |
4171 | #ifdef __STDC__ | 3800 | #ifdef __STDC__ |
4172 | # include <limits.h> | 3801 | # include <limits.h> |
@@ -4175,34 +3804,76 @@ do | |||
4175 | #endif | 3804 | #endif |
4176 | Syntax error | 3805 | Syntax error |
4177 | _ACEOF | 3806 | _ACEOF |
4178 | if ac_fn_c_try_cpp "$LINENO"; then : | 3807 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4179 | 3808 | case "(($ac_try" in | |
3809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3810 | *) ac_try_echo=$ac_try;; | ||
3811 | esac | ||
3812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3813 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3814 | ac_status=$? | ||
3815 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3816 | rm -f conftest.er1 | ||
3817 | cat conftest.err >&5 | ||
3818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3819 | (exit $ac_status); } >/dev/null && { | ||
3820 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3821 | test ! -s conftest.err | ||
3822 | }; then | ||
3823 | : | ||
4180 | else | 3824 | else |
3825 | echo "$as_me: failed program was:" >&5 | ||
3826 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3827 | |||
4181 | # Broken: fails on valid input. | 3828 | # Broken: fails on valid input. |
4182 | continue | 3829 | continue |
4183 | fi | 3830 | fi |
4184 | rm -f conftest.err conftest.i conftest.$ac_ext | 3831 | |
3832 | rm -f conftest.err conftest.$ac_ext | ||
4185 | 3833 | ||
4186 | # OK, works on sane cases. Now check whether nonexistent headers | 3834 | # OK, works on sane cases. Now check whether nonexistent headers |
4187 | # can be detected and how. | 3835 | # can be detected and how. |
4188 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3836 | cat >conftest.$ac_ext <<_ACEOF |
3837 | /* confdefs.h. */ | ||
3838 | _ACEOF | ||
3839 | cat confdefs.h >>conftest.$ac_ext | ||
3840 | cat >>conftest.$ac_ext <<_ACEOF | ||
4189 | /* end confdefs.h. */ | 3841 | /* end confdefs.h. */ |
4190 | #include <ac_nonexistent.h> | 3842 | #include <ac_nonexistent.h> |
4191 | _ACEOF | 3843 | _ACEOF |
4192 | if ac_fn_c_try_cpp "$LINENO"; then : | 3844 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3845 | case "(($ac_try" in | ||
3846 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3847 | *) ac_try_echo=$ac_try;; | ||
3848 | esac | ||
3849 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3850 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3851 | ac_status=$? | ||
3852 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3853 | rm -f conftest.er1 | ||
3854 | cat conftest.err >&5 | ||
3855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3856 | (exit $ac_status); } >/dev/null && { | ||
3857 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3858 | test ! -s conftest.err | ||
3859 | }; then | ||
4193 | # Broken: success on invalid input. | 3860 | # Broken: success on invalid input. |
4194 | continue | 3861 | continue |
4195 | else | 3862 | else |
3863 | echo "$as_me: failed program was:" >&5 | ||
3864 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3865 | |||
4196 | # Passes both tests. | 3866 | # Passes both tests. |
4197 | ac_preproc_ok=: | 3867 | ac_preproc_ok=: |
4198 | break | 3868 | break |
4199 | fi | 3869 | fi |
4200 | rm -f conftest.err conftest.i conftest.$ac_ext | 3870 | |
3871 | rm -f conftest.err conftest.$ac_ext | ||
4201 | 3872 | ||
4202 | done | 3873 | done |
4203 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3874 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4204 | rm -f conftest.i conftest.err conftest.$ac_ext | 3875 | rm -f conftest.err conftest.$ac_ext |
4205 | if $ac_preproc_ok; then : | 3876 | if $ac_preproc_ok; then |
4206 | break | 3877 | break |
4207 | fi | 3878 | fi |
4208 | 3879 | ||
@@ -4214,8 +3885,8 @@ fi | |||
4214 | else | 3885 | else |
4215 | ac_cv_prog_CPP=$CPP | 3886 | ac_cv_prog_CPP=$CPP |
4216 | fi | 3887 | fi |
4217 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 3888 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
4218 | $as_echo "$CPP" >&6; } | 3889 | echo "${ECHO_T}$CPP" >&6; } |
4219 | ac_preproc_ok=false | 3890 | ac_preproc_ok=false |
4220 | for ac_c_preproc_warn_flag in '' yes | 3891 | for ac_c_preproc_warn_flag in '' yes |
4221 | do | 3892 | do |
@@ -4225,7 +3896,11 @@ do | |||
4225 | # <limits.h> exists even on freestanding compilers. | 3896 | # <limits.h> exists even on freestanding compilers. |
4226 | # On the NeXT, cc -E runs the code through the compiler's parser, | 3897 | # On the NeXT, cc -E runs the code through the compiler's parser, |
4227 | # not just through cpp. "Syntax error" is here to catch this case. | 3898 | # not just through cpp. "Syntax error" is here to catch this case. |
4228 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3899 | cat >conftest.$ac_ext <<_ACEOF |
3900 | /* confdefs.h. */ | ||
3901 | _ACEOF | ||
3902 | cat confdefs.h >>conftest.$ac_ext | ||
3903 | cat >>conftest.$ac_ext <<_ACEOF | ||
4229 | /* end confdefs.h. */ | 3904 | /* end confdefs.h. */ |
4230 | #ifdef __STDC__ | 3905 | #ifdef __STDC__ |
4231 | # include <limits.h> | 3906 | # include <limits.h> |
@@ -4234,40 +3909,83 @@ do | |||
4234 | #endif | 3909 | #endif |
4235 | Syntax error | 3910 | Syntax error |
4236 | _ACEOF | 3911 | _ACEOF |
4237 | if ac_fn_c_try_cpp "$LINENO"; then : | 3912 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
4238 | 3913 | case "(($ac_try" in | |
3914 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3915 | *) ac_try_echo=$ac_try;; | ||
3916 | esac | ||
3917 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3918 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3919 | ac_status=$? | ||
3920 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3921 | rm -f conftest.er1 | ||
3922 | cat conftest.err >&5 | ||
3923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3924 | (exit $ac_status); } >/dev/null && { | ||
3925 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3926 | test ! -s conftest.err | ||
3927 | }; then | ||
3928 | : | ||
4239 | else | 3929 | else |
3930 | echo "$as_me: failed program was:" >&5 | ||
3931 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3932 | |||
4240 | # Broken: fails on valid input. | 3933 | # Broken: fails on valid input. |
4241 | continue | 3934 | continue |
4242 | fi | 3935 | fi |
4243 | rm -f conftest.err conftest.i conftest.$ac_ext | 3936 | |
3937 | rm -f conftest.err conftest.$ac_ext | ||
4244 | 3938 | ||
4245 | # OK, works on sane cases. Now check whether nonexistent headers | 3939 | # OK, works on sane cases. Now check whether nonexistent headers |
4246 | # can be detected and how. | 3940 | # can be detected and how. |
4247 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3941 | cat >conftest.$ac_ext <<_ACEOF |
3942 | /* confdefs.h. */ | ||
3943 | _ACEOF | ||
3944 | cat confdefs.h >>conftest.$ac_ext | ||
3945 | cat >>conftest.$ac_ext <<_ACEOF | ||
4248 | /* end confdefs.h. */ | 3946 | /* end confdefs.h. */ |
4249 | #include <ac_nonexistent.h> | 3947 | #include <ac_nonexistent.h> |
4250 | _ACEOF | 3948 | _ACEOF |
4251 | if ac_fn_c_try_cpp "$LINENO"; then : | 3949 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
3950 | case "(($ac_try" in | ||
3951 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
3952 | *) ac_try_echo=$ac_try;; | ||
3953 | esac | ||
3954 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
3955 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
3956 | ac_status=$? | ||
3957 | grep -v '^ *+' conftest.er1 >conftest.err | ||
3958 | rm -f conftest.er1 | ||
3959 | cat conftest.err >&5 | ||
3960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
3961 | (exit $ac_status); } >/dev/null && { | ||
3962 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
3963 | test ! -s conftest.err | ||
3964 | }; then | ||
4252 | # Broken: success on invalid input. | 3965 | # Broken: success on invalid input. |
4253 | continue | 3966 | continue |
4254 | else | 3967 | else |
3968 | echo "$as_me: failed program was:" >&5 | ||
3969 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
3970 | |||
4255 | # Passes both tests. | 3971 | # Passes both tests. |
4256 | ac_preproc_ok=: | 3972 | ac_preproc_ok=: |
4257 | break | 3973 | break |
4258 | fi | 3974 | fi |
4259 | rm -f conftest.err conftest.i conftest.$ac_ext | 3975 | |
3976 | rm -f conftest.err conftest.$ac_ext | ||
4260 | 3977 | ||
4261 | done | 3978 | done |
4262 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3979 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4263 | rm -f conftest.i conftest.err conftest.$ac_ext | 3980 | rm -f conftest.err conftest.$ac_ext |
4264 | if $ac_preproc_ok; then : | 3981 | if $ac_preproc_ok; then |
4265 | 3982 | : | |
4266 | else | 3983 | else |
4267 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3984 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check |
4268 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3985 | See \`config.log' for more details." >&5 |
4269 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 3986 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check |
4270 | See \`config.log' for more details" "$LINENO" 5; } | 3987 | See \`config.log' for more details." >&2;} |
3988 | { (exit 1); exit 1; }; } | ||
4271 | fi | 3989 | fi |
4272 | 3990 | ||
4273 | ac_ext=c | 3991 | ac_ext=c |
@@ -4279,10 +3997,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | |||
4279 | if test -n "$ac_tool_prefix"; then | 3997 | if test -n "$ac_tool_prefix"; then |
4280 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 3998 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4281 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 3999 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4000 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4283 | $as_echo_n "checking for $ac_word... " >&6; } | 4001 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4284 | if ${ac_cv_prog_RANLIB+:} false; then : | 4002 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
4285 | $as_echo_n "(cached) " >&6 | 4003 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4286 | else | 4004 | else |
4287 | if test -n "$RANLIB"; then | 4005 | if test -n "$RANLIB"; then |
4288 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 4006 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
@@ -4292,25 +4010,25 @@ for as_dir in $PATH | |||
4292 | do | 4010 | do |
4293 | IFS=$as_save_IFS | 4011 | IFS=$as_save_IFS |
4294 | test -z "$as_dir" && as_dir=. | 4012 | test -z "$as_dir" && as_dir=. |
4295 | for ac_exec_ext in '' $ac_executable_extensions; do | 4013 | for ac_exec_ext in '' $ac_executable_extensions; do |
4296 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4014 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4297 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 4015 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
4298 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4016 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4299 | break 2 | 4017 | break 2 |
4300 | fi | 4018 | fi |
4301 | done | 4019 | done |
4302 | done | 4020 | done |
4303 | IFS=$as_save_IFS | 4021 | IFS=$as_save_IFS |
4304 | 4022 | ||
4305 | fi | 4023 | fi |
4306 | fi | 4024 | fi |
4307 | RANLIB=$ac_cv_prog_RANLIB | 4025 | RANLIB=$ac_cv_prog_RANLIB |
4308 | if test -n "$RANLIB"; then | 4026 | if test -n "$RANLIB"; then |
4309 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 4027 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
4310 | $as_echo "$RANLIB" >&6; } | 4028 | echo "${ECHO_T}$RANLIB" >&6; } |
4311 | else | 4029 | else |
4312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4030 | { echo "$as_me:$LINENO: result: no" >&5 |
4313 | $as_echo "no" >&6; } | 4031 | echo "${ECHO_T}no" >&6; } |
4314 | fi | 4032 | fi |
4315 | 4033 | ||
4316 | 4034 | ||
@@ -4319,10 +4037,10 @@ if test -z "$ac_cv_prog_RANLIB"; then | |||
4319 | ac_ct_RANLIB=$RANLIB | 4037 | ac_ct_RANLIB=$RANLIB |
4320 | # Extract the first word of "ranlib", so it can be a program name with args. | 4038 | # Extract the first word of "ranlib", so it can be a program name with args. |
4321 | set dummy ranlib; ac_word=$2 | 4039 | set dummy ranlib; ac_word=$2 |
4322 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4040 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4323 | $as_echo_n "checking for $ac_word... " >&6; } | 4041 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4324 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | 4042 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
4325 | $as_echo_n "(cached) " >&6 | 4043 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4326 | else | 4044 | else |
4327 | if test -n "$ac_ct_RANLIB"; then | 4045 | if test -n "$ac_ct_RANLIB"; then |
4328 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 4046 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
@@ -4332,25 +4050,25 @@ for as_dir in $PATH | |||
4332 | do | 4050 | do |
4333 | IFS=$as_save_IFS | 4051 | IFS=$as_save_IFS |
4334 | test -z "$as_dir" && as_dir=. | 4052 | test -z "$as_dir" && as_dir=. |
4335 | for ac_exec_ext in '' $ac_executable_extensions; do | 4053 | for ac_exec_ext in '' $ac_executable_extensions; do |
4336 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4054 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4337 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 4055 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
4338 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4056 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4339 | break 2 | 4057 | break 2 |
4340 | fi | 4058 | fi |
4341 | done | 4059 | done |
4342 | done | 4060 | done |
4343 | IFS=$as_save_IFS | 4061 | IFS=$as_save_IFS |
4344 | 4062 | ||
4345 | fi | 4063 | fi |
4346 | fi | 4064 | fi |
4347 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 4065 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
4348 | if test -n "$ac_ct_RANLIB"; then | 4066 | if test -n "$ac_ct_RANLIB"; then |
4349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 4067 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
4350 | $as_echo "$ac_ct_RANLIB" >&6; } | 4068 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
4351 | else | 4069 | else |
4352 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4070 | { echo "$as_me:$LINENO: result: no" >&5 |
4353 | $as_echo "no" >&6; } | 4071 | echo "${ECHO_T}no" >&6; } |
4354 | fi | 4072 | fi |
4355 | 4073 | ||
4356 | if test "x$ac_ct_RANLIB" = x; then | 4074 | if test "x$ac_ct_RANLIB" = x; then |
@@ -4358,8 +4076,12 @@ fi | |||
4358 | else | 4076 | else |
4359 | case $cross_compiling:$ac_tool_warned in | 4077 | case $cross_compiling:$ac_tool_warned in |
4360 | yes:) | 4078 | yes:) |
4361 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 4079 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
4362 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 4080 | whose name does not start with the host triplet. If you think this |
4081 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
4082 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
4083 | whose name does not start with the host triplet. If you think this | ||
4084 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
4363 | ac_tool_warned=yes ;; | 4085 | ac_tool_warned=yes ;; |
4364 | esac | 4086 | esac |
4365 | RANLIB=$ac_ct_RANLIB | 4087 | RANLIB=$ac_ct_RANLIB |
@@ -4381,23 +4103,22 @@ fi | |||
4381 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 4103 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4382 | # OS/2's system install, which has a completely different semantic | 4104 | # OS/2's system install, which has a completely different semantic |
4383 | # ./install, which can be erroneously created by make from ./install.sh. | 4105 | # ./install, which can be erroneously created by make from ./install.sh. |
4384 | # Reject install programs that cannot install multiple files. | 4106 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
4385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 4107 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
4386 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
4387 | if test -z "$INSTALL"; then | 4108 | if test -z "$INSTALL"; then |
4388 | if ${ac_cv_path_install+:} false; then : | 4109 | if test "${ac_cv_path_install+set}" = set; then |
4389 | $as_echo_n "(cached) " >&6 | 4110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4390 | else | 4111 | else |
4391 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4112 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4392 | for as_dir in $PATH | 4113 | for as_dir in $PATH |
4393 | do | 4114 | do |
4394 | IFS=$as_save_IFS | 4115 | IFS=$as_save_IFS |
4395 | test -z "$as_dir" && as_dir=. | 4116 | test -z "$as_dir" && as_dir=. |
4396 | # Account for people who put trailing slashes in PATH elements. | 4117 | # Account for people who put trailing slashes in PATH elements. |
4397 | case $as_dir/ in #(( | 4118 | case $as_dir/ in |
4398 | ./ | .// | /[cC]/* | \ | 4119 | ./ | .// | /cC/* | \ |
4399 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 4120 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
4400 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 4121 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
4401 | /usr/ucb/* ) ;; | 4122 | /usr/ucb/* ) ;; |
4402 | *) | 4123 | *) |
4403 | # OSF1 and SCO ODT 3.0 have their own names for install. | 4124 | # OSF1 and SCO ODT 3.0 have their own names for install. |
@@ -4415,29 +4136,17 @@ case $as_dir/ in #(( | |||
4415 | # program-specific install script used by HP pwplus--don't use. | 4136 | # program-specific install script used by HP pwplus--don't use. |
4416 | : | 4137 | : |
4417 | else | 4138 | else |
4418 | rm -rf conftest.one conftest.two conftest.dir | 4139 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
4419 | echo one > conftest.one | 4140 | break 3 |
4420 | echo two > conftest.two | ||
4421 | mkdir conftest.dir | ||
4422 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
4423 | test -s conftest.one && test -s conftest.two && | ||
4424 | test -s conftest.dir/conftest.one && | ||
4425 | test -s conftest.dir/conftest.two | ||
4426 | then | ||
4427 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
4428 | break 3 | ||
4429 | fi | ||
4430 | fi | 4141 | fi |
4431 | fi | 4142 | fi |
4432 | done | 4143 | done |
4433 | done | 4144 | done |
4434 | ;; | 4145 | ;; |
4435 | esac | 4146 | esac |
4436 | 4147 | done | |
4437 | done | ||
4438 | IFS=$as_save_IFS | 4148 | IFS=$as_save_IFS |
4439 | 4149 | ||
4440 | rm -rf conftest.one conftest.two conftest.dir | ||
4441 | 4150 | ||
4442 | fi | 4151 | fi |
4443 | if test "${ac_cv_path_install+set}" = set; then | 4152 | if test "${ac_cv_path_install+set}" = set; then |
@@ -4450,8 +4159,8 @@ fi | |||
4450 | INSTALL=$ac_install_sh | 4159 | INSTALL=$ac_install_sh |
4451 | fi | 4160 | fi |
4452 | fi | 4161 | fi |
4453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 4162 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
4454 | $as_echo "$INSTALL" >&6; } | 4163 | echo "${ECHO_T}$INSTALL" >&6; } |
4455 | 4164 | ||
4456 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 4165 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4457 | # It thinks the first close brace ends the variable substitution. | 4166 | # It thinks the first close brace ends the variable substitution. |
@@ -4461,43 +4170,48 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | |||
4461 | 4170 | ||
4462 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 4171 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
4463 | 4172 | ||
4464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4173 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
4465 | $as_echo_n "checking for egrep... " >&6; } | 4174 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
4466 | if ${ac_cv_path_EGREP+:} false; then : | 4175 | if test "${ac_cv_path_EGREP+set}" = set; then |
4467 | $as_echo_n "(cached) " >&6 | 4176 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4468 | else | 4177 | else |
4469 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4178 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4470 | then ac_cv_path_EGREP="$GREP -E" | 4179 | then ac_cv_path_EGREP="$GREP -E" |
4471 | else | 4180 | else |
4472 | if test -z "$EGREP"; then | 4181 | # Extract the first word of "egrep" to use in msg output |
4182 | if test -z "$EGREP"; then | ||
4183 | set dummy egrep; ac_prog_name=$2 | ||
4184 | if test "${ac_cv_path_EGREP+set}" = set; then | ||
4185 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
4186 | else | ||
4473 | ac_path_EGREP_found=false | 4187 | ac_path_EGREP_found=false |
4474 | # Loop through the user's path and test for each of PROGNAME-LIST | 4188 | # Loop through the user's path and test for each of PROGNAME-LIST |
4475 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4189 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4476 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4190 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4477 | do | 4191 | do |
4478 | IFS=$as_save_IFS | 4192 | IFS=$as_save_IFS |
4479 | test -z "$as_dir" && as_dir=. | 4193 | test -z "$as_dir" && as_dir=. |
4480 | for ac_prog in egrep; do | 4194 | for ac_prog in egrep; do |
4481 | for ac_exec_ext in '' $ac_executable_extensions; do | 4195 | for ac_exec_ext in '' $ac_executable_extensions; do |
4482 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4196 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4483 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4197 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4484 | # Check for GNU ac_path_EGREP and select it if it is found. | 4198 | # Check for GNU ac_path_EGREP and select it if it is found. |
4485 | # Check for GNU $ac_path_EGREP | 4199 | # Check for GNU $ac_path_EGREP |
4486 | case `"$ac_path_EGREP" --version 2>&1` in | 4200 | case `"$ac_path_EGREP" --version 2>&1` in |
4487 | *GNU*) | 4201 | *GNU*) |
4488 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 4202 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4489 | *) | 4203 | *) |
4490 | ac_count=0 | 4204 | ac_count=0 |
4491 | $as_echo_n 0123456789 >"conftest.in" | 4205 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
4492 | while : | 4206 | while : |
4493 | do | 4207 | do |
4494 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 4208 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
4495 | mv "conftest.tmp" "conftest.in" | 4209 | mv "conftest.tmp" "conftest.in" |
4496 | cp "conftest.in" "conftest.nl" | 4210 | cp "conftest.in" "conftest.nl" |
4497 | $as_echo 'EGREP' >> "conftest.nl" | 4211 | echo 'EGREP' >> "conftest.nl" |
4498 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4212 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4499 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4213 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4500 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4214 | ac_count=`expr $ac_count + 1` |
4501 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4215 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4502 | # Best one so far, save it but keep looking for a better one | 4216 | # Best one so far, save it but keep looking for a better one |
4503 | ac_cv_path_EGREP="$ac_path_EGREP" | 4217 | ac_cv_path_EGREP="$ac_path_EGREP" |
@@ -4509,31 +4223,42 @@ case `"$ac_path_EGREP" --version 2>&1` in | |||
4509 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 4223 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4510 | esac | 4224 | esac |
4511 | 4225 | ||
4512 | $ac_path_EGREP_found && break 3 | 4226 | |
4513 | done | 4227 | $ac_path_EGREP_found && break 3 |
4514 | done | ||
4515 | done | 4228 | done |
4229 | done | ||
4230 | |||
4231 | done | ||
4516 | IFS=$as_save_IFS | 4232 | IFS=$as_save_IFS |
4517 | if test -z "$ac_cv_path_EGREP"; then | 4233 | |
4518 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4234 | |
4519 | fi | 4235 | fi |
4236 | |||
4237 | EGREP="$ac_cv_path_EGREP" | ||
4238 | if test -z "$EGREP"; then | ||
4239 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | ||
4240 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | ||
4241 | { (exit 1); exit 1; }; } | ||
4242 | fi | ||
4243 | |||
4520 | else | 4244 | else |
4521 | ac_cv_path_EGREP=$EGREP | 4245 | ac_cv_path_EGREP=$EGREP |
4522 | fi | 4246 | fi |
4523 | 4247 | ||
4248 | |||
4524 | fi | 4249 | fi |
4525 | fi | 4250 | fi |
4526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4251 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
4527 | $as_echo "$ac_cv_path_EGREP" >&6; } | 4252 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
4528 | EGREP="$ac_cv_path_EGREP" | 4253 | EGREP="$ac_cv_path_EGREP" |
4529 | 4254 | ||
4530 | 4255 | ||
4531 | # Extract the first word of "ar", so it can be a program name with args. | 4256 | # Extract the first word of "ar", so it can be a program name with args. |
4532 | set dummy ar; ac_word=$2 | 4257 | set dummy ar; ac_word=$2 |
4533 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4258 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4534 | $as_echo_n "checking for $ac_word... " >&6; } | 4259 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4535 | if ${ac_cv_path_AR+:} false; then : | 4260 | if test "${ac_cv_path_AR+set}" = set; then |
4536 | $as_echo_n "(cached) " >&6 | 4261 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4537 | else | 4262 | else |
4538 | case $AR in | 4263 | case $AR in |
4539 | [\\/]* | ?:[\\/]*) | 4264 | [\\/]* | ?:[\\/]*) |
@@ -4545,14 +4270,14 @@ for as_dir in $PATH | |||
4545 | do | 4270 | do |
4546 | IFS=$as_save_IFS | 4271 | IFS=$as_save_IFS |
4547 | test -z "$as_dir" && as_dir=. | 4272 | test -z "$as_dir" && as_dir=. |
4548 | for ac_exec_ext in '' $ac_executable_extensions; do | 4273 | for ac_exec_ext in '' $ac_executable_extensions; do |
4549 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4274 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4550 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 4275 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" |
4551 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4276 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4552 | break 2 | 4277 | break 2 |
4553 | fi | 4278 | fi |
4554 | done | 4279 | done |
4555 | done | 4280 | done |
4556 | IFS=$as_save_IFS | 4281 | IFS=$as_save_IFS |
4557 | 4282 | ||
4558 | ;; | 4283 | ;; |
@@ -4560,20 +4285,20 @@ esac | |||
4560 | fi | 4285 | fi |
4561 | AR=$ac_cv_path_AR | 4286 | AR=$ac_cv_path_AR |
4562 | if test -n "$AR"; then | 4287 | if test -n "$AR"; then |
4563 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | 4288 | { echo "$as_me:$LINENO: result: $AR" >&5 |
4564 | $as_echo "$AR" >&6; } | 4289 | echo "${ECHO_T}$AR" >&6; } |
4565 | else | 4290 | else |
4566 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4291 | { echo "$as_me:$LINENO: result: no" >&5 |
4567 | $as_echo "no" >&6; } | 4292 | echo "${ECHO_T}no" >&6; } |
4568 | fi | 4293 | fi |
4569 | 4294 | ||
4570 | 4295 | ||
4571 | # Extract the first word of "cat", so it can be a program name with args. | 4296 | # Extract the first word of "cat", so it can be a program name with args. |
4572 | set dummy cat; ac_word=$2 | 4297 | set dummy cat; ac_word=$2 |
4573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4298 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4574 | $as_echo_n "checking for $ac_word... " >&6; } | 4299 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4575 | if ${ac_cv_path_CAT+:} false; then : | 4300 | if test "${ac_cv_path_CAT+set}" = set; then |
4576 | $as_echo_n "(cached) " >&6 | 4301 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4577 | else | 4302 | else |
4578 | case $CAT in | 4303 | case $CAT in |
4579 | [\\/]* | ?:[\\/]*) | 4304 | [\\/]* | ?:[\\/]*) |
@@ -4585,14 +4310,14 @@ for as_dir in $PATH | |||
4585 | do | 4310 | do |
4586 | IFS=$as_save_IFS | 4311 | IFS=$as_save_IFS |
4587 | test -z "$as_dir" && as_dir=. | 4312 | test -z "$as_dir" && as_dir=. |
4588 | for ac_exec_ext in '' $ac_executable_extensions; do | 4313 | for ac_exec_ext in '' $ac_executable_extensions; do |
4589 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4314 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4590 | ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" | 4315 | ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" |
4591 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4316 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4592 | break 2 | 4317 | break 2 |
4593 | fi | 4318 | fi |
4594 | done | 4319 | done |
4595 | done | 4320 | done |
4596 | IFS=$as_save_IFS | 4321 | IFS=$as_save_IFS |
4597 | 4322 | ||
4598 | ;; | 4323 | ;; |
@@ -4600,20 +4325,20 @@ esac | |||
4600 | fi | 4325 | fi |
4601 | CAT=$ac_cv_path_CAT | 4326 | CAT=$ac_cv_path_CAT |
4602 | if test -n "$CAT"; then | 4327 | if test -n "$CAT"; then |
4603 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5 | 4328 | { echo "$as_me:$LINENO: result: $CAT" >&5 |
4604 | $as_echo "$CAT" >&6; } | 4329 | echo "${ECHO_T}$CAT" >&6; } |
4605 | else | 4330 | else |
4606 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4331 | { echo "$as_me:$LINENO: result: no" >&5 |
4607 | $as_echo "no" >&6; } | 4332 | echo "${ECHO_T}no" >&6; } |
4608 | fi | 4333 | fi |
4609 | 4334 | ||
4610 | 4335 | ||
4611 | # Extract the first word of "kill", so it can be a program name with args. | 4336 | # Extract the first word of "kill", so it can be a program name with args. |
4612 | set dummy kill; ac_word=$2 | 4337 | set dummy kill; ac_word=$2 |
4613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4338 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4614 | $as_echo_n "checking for $ac_word... " >&6; } | 4339 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4615 | if ${ac_cv_path_KILL+:} false; then : | 4340 | if test "${ac_cv_path_KILL+set}" = set; then |
4616 | $as_echo_n "(cached) " >&6 | 4341 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4617 | else | 4342 | else |
4618 | case $KILL in | 4343 | case $KILL in |
4619 | [\\/]* | ?:[\\/]*) | 4344 | [\\/]* | ?:[\\/]*) |
@@ -4625,14 +4350,14 @@ for as_dir in $PATH | |||
4625 | do | 4350 | do |
4626 | IFS=$as_save_IFS | 4351 | IFS=$as_save_IFS |
4627 | test -z "$as_dir" && as_dir=. | 4352 | test -z "$as_dir" && as_dir=. |
4628 | for ac_exec_ext in '' $ac_executable_extensions; do | 4353 | for ac_exec_ext in '' $ac_executable_extensions; do |
4629 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4354 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4630 | ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" | 4355 | ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" |
4631 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4356 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4632 | break 2 | 4357 | break 2 |
4633 | fi | 4358 | fi |
4634 | done | 4359 | done |
4635 | done | 4360 | done |
4636 | IFS=$as_save_IFS | 4361 | IFS=$as_save_IFS |
4637 | 4362 | ||
4638 | ;; | 4363 | ;; |
@@ -4640,11 +4365,11 @@ esac | |||
4640 | fi | 4365 | fi |
4641 | KILL=$ac_cv_path_KILL | 4366 | KILL=$ac_cv_path_KILL |
4642 | if test -n "$KILL"; then | 4367 | if test -n "$KILL"; then |
4643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KILL" >&5 | 4368 | { echo "$as_me:$LINENO: result: $KILL" >&5 |
4644 | $as_echo "$KILL" >&6; } | 4369 | echo "${ECHO_T}$KILL" >&6; } |
4645 | else | 4370 | else |
4646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4371 | { echo "$as_me:$LINENO: result: no" >&5 |
4647 | $as_echo "no" >&6; } | 4372 | echo "${ECHO_T}no" >&6; } |
4648 | fi | 4373 | fi |
4649 | 4374 | ||
4650 | 4375 | ||
@@ -4652,10 +4377,10 @@ for ac_prog in perl5 perl | |||
4652 | do | 4377 | do |
4653 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 4378 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4654 | set dummy $ac_prog; ac_word=$2 | 4379 | set dummy $ac_prog; ac_word=$2 |
4655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4380 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4656 | $as_echo_n "checking for $ac_word... " >&6; } | 4381 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4657 | if ${ac_cv_path_PERL+:} false; then : | 4382 | if test "${ac_cv_path_PERL+set}" = set; then |
4658 | $as_echo_n "(cached) " >&6 | 4383 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4659 | else | 4384 | else |
4660 | case $PERL in | 4385 | case $PERL in |
4661 | [\\/]* | ?:[\\/]*) | 4386 | [\\/]* | ?:[\\/]*) |
@@ -4667,14 +4392,14 @@ for as_dir in $PATH | |||
4667 | do | 4392 | do |
4668 | IFS=$as_save_IFS | 4393 | IFS=$as_save_IFS |
4669 | test -z "$as_dir" && as_dir=. | 4394 | test -z "$as_dir" && as_dir=. |
4670 | for ac_exec_ext in '' $ac_executable_extensions; do | 4395 | for ac_exec_ext in '' $ac_executable_extensions; do |
4671 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4396 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4672 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" | 4397 | ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
4673 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4398 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4674 | break 2 | 4399 | break 2 |
4675 | fi | 4400 | fi |
4676 | done | 4401 | done |
4677 | done | 4402 | done |
4678 | IFS=$as_save_IFS | 4403 | IFS=$as_save_IFS |
4679 | 4404 | ||
4680 | ;; | 4405 | ;; |
@@ -4682,11 +4407,11 @@ esac | |||
4682 | fi | 4407 | fi |
4683 | PERL=$ac_cv_path_PERL | 4408 | PERL=$ac_cv_path_PERL |
4684 | if test -n "$PERL"; then | 4409 | if test -n "$PERL"; then |
4685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 | 4410 | { echo "$as_me:$LINENO: result: $PERL" >&5 |
4686 | $as_echo "$PERL" >&6; } | 4411 | echo "${ECHO_T}$PERL" >&6; } |
4687 | else | 4412 | else |
4688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4413 | { echo "$as_me:$LINENO: result: no" >&5 |
4689 | $as_echo "no" >&6; } | 4414 | echo "${ECHO_T}no" >&6; } |
4690 | fi | 4415 | fi |
4691 | 4416 | ||
4692 | 4417 | ||
@@ -4695,10 +4420,10 @@ done | |||
4695 | 4420 | ||
4696 | # Extract the first word of "sed", so it can be a program name with args. | 4421 | # Extract the first word of "sed", so it can be a program name with args. |
4697 | set dummy sed; ac_word=$2 | 4422 | set dummy sed; ac_word=$2 |
4698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4423 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4699 | $as_echo_n "checking for $ac_word... " >&6; } | 4424 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4700 | if ${ac_cv_path_SED+:} false; then : | 4425 | if test "${ac_cv_path_SED+set}" = set; then |
4701 | $as_echo_n "(cached) " >&6 | 4426 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4702 | else | 4427 | else |
4703 | case $SED in | 4428 | case $SED in |
4704 | [\\/]* | ?:[\\/]*) | 4429 | [\\/]* | ?:[\\/]*) |
@@ -4710,14 +4435,14 @@ for as_dir in $PATH | |||
4710 | do | 4435 | do |
4711 | IFS=$as_save_IFS | 4436 | IFS=$as_save_IFS |
4712 | test -z "$as_dir" && as_dir=. | 4437 | test -z "$as_dir" && as_dir=. |
4713 | for ac_exec_ext in '' $ac_executable_extensions; do | 4438 | for ac_exec_ext in '' $ac_executable_extensions; do |
4714 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4439 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4715 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 4440 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" |
4716 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4441 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4717 | break 2 | 4442 | break 2 |
4718 | fi | 4443 | fi |
4719 | done | 4444 | done |
4720 | done | 4445 | done |
4721 | IFS=$as_save_IFS | 4446 | IFS=$as_save_IFS |
4722 | 4447 | ||
4723 | ;; | 4448 | ;; |
@@ -4725,21 +4450,21 @@ esac | |||
4725 | fi | 4450 | fi |
4726 | SED=$ac_cv_path_SED | 4451 | SED=$ac_cv_path_SED |
4727 | if test -n "$SED"; then | 4452 | if test -n "$SED"; then |
4728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5 | 4453 | { echo "$as_me:$LINENO: result: $SED" >&5 |
4729 | $as_echo "$SED" >&6; } | 4454 | echo "${ECHO_T}$SED" >&6; } |
4730 | else | 4455 | else |
4731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4456 | { echo "$as_me:$LINENO: result: no" >&5 |
4732 | $as_echo "no" >&6; } | 4457 | echo "${ECHO_T}no" >&6; } |
4733 | fi | 4458 | fi |
4734 | 4459 | ||
4735 | 4460 | ||
4736 | 4461 | ||
4737 | # Extract the first word of "ent", so it can be a program name with args. | 4462 | # Extract the first word of "ent", so it can be a program name with args. |
4738 | set dummy ent; ac_word=$2 | 4463 | set dummy ent; ac_word=$2 |
4739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4464 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4740 | $as_echo_n "checking for $ac_word... " >&6; } | 4465 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4741 | if ${ac_cv_path_ENT+:} false; then : | 4466 | if test "${ac_cv_path_ENT+set}" = set; then |
4742 | $as_echo_n "(cached) " >&6 | 4467 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4743 | else | 4468 | else |
4744 | case $ENT in | 4469 | case $ENT in |
4745 | [\\/]* | ?:[\\/]*) | 4470 | [\\/]* | ?:[\\/]*) |
@@ -4751,14 +4476,14 @@ for as_dir in $PATH | |||
4751 | do | 4476 | do |
4752 | IFS=$as_save_IFS | 4477 | IFS=$as_save_IFS |
4753 | test -z "$as_dir" && as_dir=. | 4478 | test -z "$as_dir" && as_dir=. |
4754 | for ac_exec_ext in '' $ac_executable_extensions; do | 4479 | for ac_exec_ext in '' $ac_executable_extensions; do |
4755 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4480 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4756 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" | 4481 | ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" |
4757 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4482 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4758 | break 2 | 4483 | break 2 |
4759 | fi | 4484 | fi |
4760 | done | 4485 | done |
4761 | done | 4486 | done |
4762 | IFS=$as_save_IFS | 4487 | IFS=$as_save_IFS |
4763 | 4488 | ||
4764 | ;; | 4489 | ;; |
@@ -4766,21 +4491,21 @@ esac | |||
4766 | fi | 4491 | fi |
4767 | ENT=$ac_cv_path_ENT | 4492 | ENT=$ac_cv_path_ENT |
4768 | if test -n "$ENT"; then | 4493 | if test -n "$ENT"; then |
4769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENT" >&5 | 4494 | { echo "$as_me:$LINENO: result: $ENT" >&5 |
4770 | $as_echo "$ENT" >&6; } | 4495 | echo "${ECHO_T}$ENT" >&6; } |
4771 | else | 4496 | else |
4772 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4497 | { echo "$as_me:$LINENO: result: no" >&5 |
4773 | $as_echo "no" >&6; } | 4498 | echo "${ECHO_T}no" >&6; } |
4774 | fi | 4499 | fi |
4775 | 4500 | ||
4776 | 4501 | ||
4777 | 4502 | ||
4778 | # Extract the first word of "bash", so it can be a program name with args. | 4503 | # Extract the first word of "bash", so it can be a program name with args. |
4779 | set dummy bash; ac_word=$2 | 4504 | set dummy bash; ac_word=$2 |
4780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4505 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4781 | $as_echo_n "checking for $ac_word... " >&6; } | 4506 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4782 | if ${ac_cv_path_TEST_MINUS_S_SH+:} false; then : | 4507 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
4783 | $as_echo_n "(cached) " >&6 | 4508 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4784 | else | 4509 | else |
4785 | case $TEST_MINUS_S_SH in | 4510 | case $TEST_MINUS_S_SH in |
4786 | [\\/]* | ?:[\\/]*) | 4511 | [\\/]* | ?:[\\/]*) |
@@ -4792,14 +4517,14 @@ for as_dir in $PATH | |||
4792 | do | 4517 | do |
4793 | IFS=$as_save_IFS | 4518 | IFS=$as_save_IFS |
4794 | test -z "$as_dir" && as_dir=. | 4519 | test -z "$as_dir" && as_dir=. |
4795 | for ac_exec_ext in '' $ac_executable_extensions; do | 4520 | for ac_exec_ext in '' $ac_executable_extensions; do |
4796 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4521 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4797 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4522 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
4798 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4523 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4799 | break 2 | 4524 | break 2 |
4800 | fi | 4525 | fi |
4801 | done | 4526 | done |
4802 | done | 4527 | done |
4803 | IFS=$as_save_IFS | 4528 | IFS=$as_save_IFS |
4804 | 4529 | ||
4805 | ;; | 4530 | ;; |
@@ -4807,20 +4532,20 @@ esac | |||
4807 | fi | 4532 | fi |
4808 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4533 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4809 | if test -n "$TEST_MINUS_S_SH"; then | 4534 | if test -n "$TEST_MINUS_S_SH"; then |
4810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MINUS_S_SH" >&5 | 4535 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 |
4811 | $as_echo "$TEST_MINUS_S_SH" >&6; } | 4536 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } |
4812 | else | 4537 | else |
4813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4538 | { echo "$as_me:$LINENO: result: no" >&5 |
4814 | $as_echo "no" >&6; } | 4539 | echo "${ECHO_T}no" >&6; } |
4815 | fi | 4540 | fi |
4816 | 4541 | ||
4817 | 4542 | ||
4818 | # Extract the first word of "ksh", so it can be a program name with args. | 4543 | # Extract the first word of "ksh", so it can be a program name with args. |
4819 | set dummy ksh; ac_word=$2 | 4544 | set dummy ksh; ac_word=$2 |
4820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4545 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4821 | $as_echo_n "checking for $ac_word... " >&6; } | 4546 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4822 | if ${ac_cv_path_TEST_MINUS_S_SH+:} false; then : | 4547 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
4823 | $as_echo_n "(cached) " >&6 | 4548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4824 | else | 4549 | else |
4825 | case $TEST_MINUS_S_SH in | 4550 | case $TEST_MINUS_S_SH in |
4826 | [\\/]* | ?:[\\/]*) | 4551 | [\\/]* | ?:[\\/]*) |
@@ -4832,14 +4557,14 @@ for as_dir in $PATH | |||
4832 | do | 4557 | do |
4833 | IFS=$as_save_IFS | 4558 | IFS=$as_save_IFS |
4834 | test -z "$as_dir" && as_dir=. | 4559 | test -z "$as_dir" && as_dir=. |
4835 | for ac_exec_ext in '' $ac_executable_extensions; do | 4560 | for ac_exec_ext in '' $ac_executable_extensions; do |
4836 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4561 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4837 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4562 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
4838 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4563 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4839 | break 2 | 4564 | break 2 |
4840 | fi | 4565 | fi |
4841 | done | 4566 | done |
4842 | done | 4567 | done |
4843 | IFS=$as_save_IFS | 4568 | IFS=$as_save_IFS |
4844 | 4569 | ||
4845 | ;; | 4570 | ;; |
@@ -4847,20 +4572,20 @@ esac | |||
4847 | fi | 4572 | fi |
4848 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4573 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4849 | if test -n "$TEST_MINUS_S_SH"; then | 4574 | if test -n "$TEST_MINUS_S_SH"; then |
4850 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MINUS_S_SH" >&5 | 4575 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 |
4851 | $as_echo "$TEST_MINUS_S_SH" >&6; } | 4576 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } |
4852 | else | 4577 | else |
4853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4578 | { echo "$as_me:$LINENO: result: no" >&5 |
4854 | $as_echo "no" >&6; } | 4579 | echo "${ECHO_T}no" >&6; } |
4855 | fi | 4580 | fi |
4856 | 4581 | ||
4857 | 4582 | ||
4858 | # Extract the first word of "sh", so it can be a program name with args. | 4583 | # Extract the first word of "sh", so it can be a program name with args. |
4859 | set dummy sh; ac_word=$2 | 4584 | set dummy sh; ac_word=$2 |
4860 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4585 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4861 | $as_echo_n "checking for $ac_word... " >&6; } | 4586 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4862 | if ${ac_cv_path_TEST_MINUS_S_SH+:} false; then : | 4587 | if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then |
4863 | $as_echo_n "(cached) " >&6 | 4588 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4864 | else | 4589 | else |
4865 | case $TEST_MINUS_S_SH in | 4590 | case $TEST_MINUS_S_SH in |
4866 | [\\/]* | ?:[\\/]*) | 4591 | [\\/]* | ?:[\\/]*) |
@@ -4872,14 +4597,14 @@ for as_dir in $PATH | |||
4872 | do | 4597 | do |
4873 | IFS=$as_save_IFS | 4598 | IFS=$as_save_IFS |
4874 | test -z "$as_dir" && as_dir=. | 4599 | test -z "$as_dir" && as_dir=. |
4875 | for ac_exec_ext in '' $ac_executable_extensions; do | 4600 | for ac_exec_ext in '' $ac_executable_extensions; do |
4876 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4601 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4877 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" | 4602 | ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" |
4878 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4603 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4879 | break 2 | 4604 | break 2 |
4880 | fi | 4605 | fi |
4881 | done | 4606 | done |
4882 | done | 4607 | done |
4883 | IFS=$as_save_IFS | 4608 | IFS=$as_save_IFS |
4884 | 4609 | ||
4885 | ;; | 4610 | ;; |
@@ -4887,20 +4612,20 @@ esac | |||
4887 | fi | 4612 | fi |
4888 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH | 4613 | TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH |
4889 | if test -n "$TEST_MINUS_S_SH"; then | 4614 | if test -n "$TEST_MINUS_S_SH"; then |
4890 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MINUS_S_SH" >&5 | 4615 | { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 |
4891 | $as_echo "$TEST_MINUS_S_SH" >&6; } | 4616 | echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } |
4892 | else | 4617 | else |
4893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4618 | { echo "$as_me:$LINENO: result: no" >&5 |
4894 | $as_echo "no" >&6; } | 4619 | echo "${ECHO_T}no" >&6; } |
4895 | fi | 4620 | fi |
4896 | 4621 | ||
4897 | 4622 | ||
4898 | # Extract the first word of "sh", so it can be a program name with args. | 4623 | # Extract the first word of "sh", so it can be a program name with args. |
4899 | set dummy sh; ac_word=$2 | 4624 | set dummy sh; ac_word=$2 |
4900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4625 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4901 | $as_echo_n "checking for $ac_word... " >&6; } | 4626 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4902 | if ${ac_cv_path_SH+:} false; then : | 4627 | if test "${ac_cv_path_SH+set}" = set; then |
4903 | $as_echo_n "(cached) " >&6 | 4628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4904 | else | 4629 | else |
4905 | case $SH in | 4630 | case $SH in |
4906 | [\\/]* | ?:[\\/]*) | 4631 | [\\/]* | ?:[\\/]*) |
@@ -4912,14 +4637,14 @@ for as_dir in $PATH | |||
4912 | do | 4637 | do |
4913 | IFS=$as_save_IFS | 4638 | IFS=$as_save_IFS |
4914 | test -z "$as_dir" && as_dir=. | 4639 | test -z "$as_dir" && as_dir=. |
4915 | for ac_exec_ext in '' $ac_executable_extensions; do | 4640 | for ac_exec_ext in '' $ac_executable_extensions; do |
4916 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4641 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4917 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" | 4642 | ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" |
4918 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4643 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4919 | break 2 | 4644 | break 2 |
4920 | fi | 4645 | fi |
4921 | done | 4646 | done |
4922 | done | 4647 | done |
4923 | IFS=$as_save_IFS | 4648 | IFS=$as_save_IFS |
4924 | 4649 | ||
4925 | ;; | 4650 | ;; |
@@ -4927,20 +4652,20 @@ esac | |||
4927 | fi | 4652 | fi |
4928 | SH=$ac_cv_path_SH | 4653 | SH=$ac_cv_path_SH |
4929 | if test -n "$SH"; then | 4654 | if test -n "$SH"; then |
4930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SH" >&5 | 4655 | { echo "$as_me:$LINENO: result: $SH" >&5 |
4931 | $as_echo "$SH" >&6; } | 4656 | echo "${ECHO_T}$SH" >&6; } |
4932 | else | 4657 | else |
4933 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4658 | { echo "$as_me:$LINENO: result: no" >&5 |
4934 | $as_echo "no" >&6; } | 4659 | echo "${ECHO_T}no" >&6; } |
4935 | fi | 4660 | fi |
4936 | 4661 | ||
4937 | 4662 | ||
4938 | # Extract the first word of "groff", so it can be a program name with args. | 4663 | # Extract the first word of "groff", so it can be a program name with args. |
4939 | set dummy groff; ac_word=$2 | 4664 | set dummy groff; ac_word=$2 |
4940 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4665 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4941 | $as_echo_n "checking for $ac_word... " >&6; } | 4666 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4942 | if ${ac_cv_path_GROFF+:} false; then : | 4667 | if test "${ac_cv_path_GROFF+set}" = set; then |
4943 | $as_echo_n "(cached) " >&6 | 4668 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4944 | else | 4669 | else |
4945 | case $GROFF in | 4670 | case $GROFF in |
4946 | [\\/]* | ?:[\\/]*) | 4671 | [\\/]* | ?:[\\/]*) |
@@ -4952,14 +4677,14 @@ for as_dir in $PATH | |||
4952 | do | 4677 | do |
4953 | IFS=$as_save_IFS | 4678 | IFS=$as_save_IFS |
4954 | test -z "$as_dir" && as_dir=. | 4679 | test -z "$as_dir" && as_dir=. |
4955 | for ac_exec_ext in '' $ac_executable_extensions; do | 4680 | for ac_exec_ext in '' $ac_executable_extensions; do |
4956 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4681 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4957 | ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext" | 4682 | ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext" |
4958 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4683 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4959 | break 2 | 4684 | break 2 |
4960 | fi | 4685 | fi |
4961 | done | 4686 | done |
4962 | done | 4687 | done |
4963 | IFS=$as_save_IFS | 4688 | IFS=$as_save_IFS |
4964 | 4689 | ||
4965 | ;; | 4690 | ;; |
@@ -4967,20 +4692,20 @@ esac | |||
4967 | fi | 4692 | fi |
4968 | GROFF=$ac_cv_path_GROFF | 4693 | GROFF=$ac_cv_path_GROFF |
4969 | if test -n "$GROFF"; then | 4694 | if test -n "$GROFF"; then |
4970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GROFF" >&5 | 4695 | { echo "$as_me:$LINENO: result: $GROFF" >&5 |
4971 | $as_echo "$GROFF" >&6; } | 4696 | echo "${ECHO_T}$GROFF" >&6; } |
4972 | else | 4697 | else |
4973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4698 | { echo "$as_me:$LINENO: result: no" >&5 |
4974 | $as_echo "no" >&6; } | 4699 | echo "${ECHO_T}no" >&6; } |
4975 | fi | 4700 | fi |
4976 | 4701 | ||
4977 | 4702 | ||
4978 | # Extract the first word of "nroff", so it can be a program name with args. | 4703 | # Extract the first word of "nroff", so it can be a program name with args. |
4979 | set dummy nroff; ac_word=$2 | 4704 | set dummy nroff; ac_word=$2 |
4980 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4705 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4981 | $as_echo_n "checking for $ac_word... " >&6; } | 4706 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4982 | if ${ac_cv_path_NROFF+:} false; then : | 4707 | if test "${ac_cv_path_NROFF+set}" = set; then |
4983 | $as_echo_n "(cached) " >&6 | 4708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4984 | else | 4709 | else |
4985 | case $NROFF in | 4710 | case $NROFF in |
4986 | [\\/]* | ?:[\\/]*) | 4711 | [\\/]* | ?:[\\/]*) |
@@ -4992,14 +4717,14 @@ for as_dir in $PATH | |||
4992 | do | 4717 | do |
4993 | IFS=$as_save_IFS | 4718 | IFS=$as_save_IFS |
4994 | test -z "$as_dir" && as_dir=. | 4719 | test -z "$as_dir" && as_dir=. |
4995 | for ac_exec_ext in '' $ac_executable_extensions; do | 4720 | for ac_exec_ext in '' $ac_executable_extensions; do |
4996 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4721 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4997 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | 4722 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" |
4998 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4723 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4999 | break 2 | 4724 | break 2 |
5000 | fi | 4725 | fi |
5001 | done | 4726 | done |
5002 | done | 4727 | done |
5003 | IFS=$as_save_IFS | 4728 | IFS=$as_save_IFS |
5004 | 4729 | ||
5005 | ;; | 4730 | ;; |
@@ -5007,20 +4732,20 @@ esac | |||
5007 | fi | 4732 | fi |
5008 | NROFF=$ac_cv_path_NROFF | 4733 | NROFF=$ac_cv_path_NROFF |
5009 | if test -n "$NROFF"; then | 4734 | if test -n "$NROFF"; then |
5010 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 | 4735 | { echo "$as_me:$LINENO: result: $NROFF" >&5 |
5011 | $as_echo "$NROFF" >&6; } | 4736 | echo "${ECHO_T}$NROFF" >&6; } |
5012 | else | 4737 | else |
5013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4738 | { echo "$as_me:$LINENO: result: no" >&5 |
5014 | $as_echo "no" >&6; } | 4739 | echo "${ECHO_T}no" >&6; } |
5015 | fi | 4740 | fi |
5016 | 4741 | ||
5017 | 4742 | ||
5018 | # Extract the first word of "mandoc", so it can be a program name with args. | 4743 | # Extract the first word of "mandoc", so it can be a program name with args. |
5019 | set dummy mandoc; ac_word=$2 | 4744 | set dummy mandoc; ac_word=$2 |
5020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4745 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5021 | $as_echo_n "checking for $ac_word... " >&6; } | 4746 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5022 | if ${ac_cv_path_MANDOC+:} false; then : | 4747 | if test "${ac_cv_path_MANDOC+set}" = set; then |
5023 | $as_echo_n "(cached) " >&6 | 4748 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5024 | else | 4749 | else |
5025 | case $MANDOC in | 4750 | case $MANDOC in |
5026 | [\\/]* | ?:[\\/]*) | 4751 | [\\/]* | ?:[\\/]*) |
@@ -5032,14 +4757,14 @@ for as_dir in $PATH | |||
5032 | do | 4757 | do |
5033 | IFS=$as_save_IFS | 4758 | IFS=$as_save_IFS |
5034 | test -z "$as_dir" && as_dir=. | 4759 | test -z "$as_dir" && as_dir=. |
5035 | for ac_exec_ext in '' $ac_executable_extensions; do | 4760 | for ac_exec_ext in '' $ac_executable_extensions; do |
5036 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4761 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5037 | ac_cv_path_MANDOC="$as_dir/$ac_word$ac_exec_ext" | 4762 | ac_cv_path_MANDOC="$as_dir/$ac_word$ac_exec_ext" |
5038 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4763 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5039 | break 2 | 4764 | break 2 |
5040 | fi | 4765 | fi |
5041 | done | 4766 | done |
5042 | done | 4767 | done |
5043 | IFS=$as_save_IFS | 4768 | IFS=$as_save_IFS |
5044 | 4769 | ||
5045 | ;; | 4770 | ;; |
@@ -5047,11 +4772,11 @@ esac | |||
5047 | fi | 4772 | fi |
5048 | MANDOC=$ac_cv_path_MANDOC | 4773 | MANDOC=$ac_cv_path_MANDOC |
5049 | if test -n "$MANDOC"; then | 4774 | if test -n "$MANDOC"; then |
5050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANDOC" >&5 | 4775 | { echo "$as_me:$LINENO: result: $MANDOC" >&5 |
5051 | $as_echo "$MANDOC" >&6; } | 4776 | echo "${ECHO_T}$MANDOC" >&6; } |
5052 | else | 4777 | else |
5053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4778 | { echo "$as_me:$LINENO: result: no" >&5 |
5054 | $as_echo "no" >&6; } | 4779 | echo "${ECHO_T}no" >&6; } |
5055 | fi | 4780 | fi |
5056 | 4781 | ||
5057 | 4782 | ||
@@ -5065,18 +4790,18 @@ elif test "x$NROFF" != "x" ; then | |||
5065 | elif test "x$GROFF" != "x" ; then | 4790 | elif test "x$GROFF" != "x" ; then |
5066 | MANFMT="$GROFF -mandoc -Tascii" | 4791 | MANFMT="$GROFF -mandoc -Tascii" |
5067 | else | 4792 | else |
5068 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no manpage formatted found" >&5 | 4793 | { echo "$as_me:$LINENO: WARNING: no manpage formatted found" >&5 |
5069 | $as_echo "$as_me: WARNING: no manpage formatted found" >&2;} | 4794 | echo "$as_me: WARNING: no manpage formatted found" >&2;} |
5070 | MANFMT="false" | 4795 | MANFMT="false" |
5071 | fi | 4796 | fi |
5072 | 4797 | ||
5073 | 4798 | ||
5074 | # Extract the first word of "groupadd", so it can be a program name with args. | 4799 | # Extract the first word of "groupadd", so it can be a program name with args. |
5075 | set dummy groupadd; ac_word=$2 | 4800 | set dummy groupadd; ac_word=$2 |
5076 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4801 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5077 | $as_echo_n "checking for $ac_word... " >&6; } | 4802 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5078 | if ${ac_cv_path_PATH_GROUPADD_PROG+:} false; then : | 4803 | if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then |
5079 | $as_echo_n "(cached) " >&6 | 4804 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5080 | else | 4805 | else |
5081 | case $PATH_GROUPADD_PROG in | 4806 | case $PATH_GROUPADD_PROG in |
5082 | [\\/]* | ?:[\\/]*) | 4807 | [\\/]* | ?:[\\/]*) |
@@ -5088,14 +4813,14 @@ for as_dir in /usr/sbin${PATH_SEPARATOR}/etc | |||
5088 | do | 4813 | do |
5089 | IFS=$as_save_IFS | 4814 | IFS=$as_save_IFS |
5090 | test -z "$as_dir" && as_dir=. | 4815 | test -z "$as_dir" && as_dir=. |
5091 | for ac_exec_ext in '' $ac_executable_extensions; do | 4816 | for ac_exec_ext in '' $ac_executable_extensions; do |
5092 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4817 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5093 | ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" | 4818 | ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" |
5094 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4819 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5095 | break 2 | 4820 | break 2 |
5096 | fi | 4821 | fi |
5097 | done | 4822 | done |
5098 | done | 4823 | done |
5099 | IFS=$as_save_IFS | 4824 | IFS=$as_save_IFS |
5100 | 4825 | ||
5101 | test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd" | 4826 | test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd" |
@@ -5104,20 +4829,20 @@ esac | |||
5104 | fi | 4829 | fi |
5105 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG | 4830 | PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG |
5106 | if test -n "$PATH_GROUPADD_PROG"; then | 4831 | if test -n "$PATH_GROUPADD_PROG"; then |
5107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_GROUPADD_PROG" >&5 | 4832 | { echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5 |
5108 | $as_echo "$PATH_GROUPADD_PROG" >&6; } | 4833 | echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6; } |
5109 | else | 4834 | else |
5110 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4835 | { echo "$as_me:$LINENO: result: no" >&5 |
5111 | $as_echo "no" >&6; } | 4836 | echo "${ECHO_T}no" >&6; } |
5112 | fi | 4837 | fi |
5113 | 4838 | ||
5114 | 4839 | ||
5115 | # Extract the first word of "useradd", so it can be a program name with args. | 4840 | # Extract the first word of "useradd", so it can be a program name with args. |
5116 | set dummy useradd; ac_word=$2 | 4841 | set dummy useradd; ac_word=$2 |
5117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4842 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5118 | $as_echo_n "checking for $ac_word... " >&6; } | 4843 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5119 | if ${ac_cv_path_PATH_USERADD_PROG+:} false; then : | 4844 | if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then |
5120 | $as_echo_n "(cached) " >&6 | 4845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5121 | else | 4846 | else |
5122 | case $PATH_USERADD_PROG in | 4847 | case $PATH_USERADD_PROG in |
5123 | [\\/]* | ?:[\\/]*) | 4848 | [\\/]* | ?:[\\/]*) |
@@ -5129,14 +4854,14 @@ for as_dir in /usr/sbin${PATH_SEPARATOR}/etc | |||
5129 | do | 4854 | do |
5130 | IFS=$as_save_IFS | 4855 | IFS=$as_save_IFS |
5131 | test -z "$as_dir" && as_dir=. | 4856 | test -z "$as_dir" && as_dir=. |
5132 | for ac_exec_ext in '' $ac_executable_extensions; do | 4857 | for ac_exec_ext in '' $ac_executable_extensions; do |
5133 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4858 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5134 | ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" | 4859 | ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" |
5135 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4860 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5136 | break 2 | 4861 | break 2 |
5137 | fi | 4862 | fi |
5138 | done | 4863 | done |
5139 | done | 4864 | done |
5140 | IFS=$as_save_IFS | 4865 | IFS=$as_save_IFS |
5141 | 4866 | ||
5142 | test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd" | 4867 | test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd" |
@@ -5145,20 +4870,20 @@ esac | |||
5145 | fi | 4870 | fi |
5146 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG | 4871 | PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG |
5147 | if test -n "$PATH_USERADD_PROG"; then | 4872 | if test -n "$PATH_USERADD_PROG"; then |
5148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_USERADD_PROG" >&5 | 4873 | { echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5 |
5149 | $as_echo "$PATH_USERADD_PROG" >&6; } | 4874 | echo "${ECHO_T}$PATH_USERADD_PROG" >&6; } |
5150 | else | 4875 | else |
5151 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4876 | { echo "$as_me:$LINENO: result: no" >&5 |
5152 | $as_echo "no" >&6; } | 4877 | echo "${ECHO_T}no" >&6; } |
5153 | fi | 4878 | fi |
5154 | 4879 | ||
5155 | 4880 | ||
5156 | # Extract the first word of "pkgmk", so it can be a program name with args. | 4881 | # Extract the first word of "pkgmk", so it can be a program name with args. |
5157 | set dummy pkgmk; ac_word=$2 | 4882 | set dummy pkgmk; ac_word=$2 |
5158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4883 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5159 | $as_echo_n "checking for $ac_word... " >&6; } | 4884 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5160 | if ${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+:} false; then : | 4885 | if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then |
5161 | $as_echo_n "(cached) " >&6 | 4886 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5162 | else | 4887 | else |
5163 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then | 4888 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then |
5164 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test. | 4889 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test. |
@@ -5168,14 +4893,14 @@ for as_dir in $PATH | |||
5168 | do | 4893 | do |
5169 | IFS=$as_save_IFS | 4894 | IFS=$as_save_IFS |
5170 | test -z "$as_dir" && as_dir=. | 4895 | test -z "$as_dir" && as_dir=. |
5171 | for ac_exec_ext in '' $ac_executable_extensions; do | 4896 | for ac_exec_ext in '' $ac_executable_extensions; do |
5172 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4897 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5173 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" | 4898 | ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" |
5174 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4899 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5175 | break 2 | 4900 | break 2 |
5176 | fi | 4901 | fi |
5177 | done | 4902 | done |
5178 | done | 4903 | done |
5179 | IFS=$as_save_IFS | 4904 | IFS=$as_save_IFS |
5180 | 4905 | ||
5181 | test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no" | 4906 | test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no" |
@@ -5183,11 +4908,11 @@ fi | |||
5183 | fi | 4908 | fi |
5184 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED | 4909 | MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED |
5185 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then | 4910 | if test -n "$MAKE_PACKAGE_SUPPORTED"; then |
5186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE_PACKAGE_SUPPORTED" >&5 | 4911 | { echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5 |
5187 | $as_echo "$MAKE_PACKAGE_SUPPORTED" >&6; } | 4912 | echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6; } |
5188 | else | 4913 | else |
5189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4914 | { echo "$as_me:$LINENO: result: no" >&5 |
5190 | $as_echo "no" >&6; } | 4915 | echo "${ECHO_T}no" >&6; } |
5191 | fi | 4916 | fi |
5192 | 4917 | ||
5193 | 4918 | ||
@@ -5201,16 +4926,16 @@ fi | |||
5201 | 4926 | ||
5202 | # System features | 4927 | # System features |
5203 | # Check whether --enable-largefile was given. | 4928 | # Check whether --enable-largefile was given. |
5204 | if test "${enable_largefile+set}" = set; then : | 4929 | if test "${enable_largefile+set}" = set; then |
5205 | enableval=$enable_largefile; | 4930 | enableval=$enable_largefile; |
5206 | fi | 4931 | fi |
5207 | 4932 | ||
5208 | if test "$enable_largefile" != no; then | 4933 | if test "$enable_largefile" != no; then |
5209 | 4934 | ||
5210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 | 4935 | { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
5211 | $as_echo_n "checking for special C compiler options needed for large files... " >&6; } | 4936 | echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } |
5212 | if ${ac_cv_sys_largefile_CC+:} false; then : | 4937 | if test "${ac_cv_sys_largefile_CC+set}" = set; then |
5213 | $as_echo_n "(cached) " >&6 | 4938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5214 | else | 4939 | else |
5215 | ac_cv_sys_largefile_CC=no | 4940 | ac_cv_sys_largefile_CC=no |
5216 | if test "$GCC" != yes; then | 4941 | if test "$GCC" != yes; then |
@@ -5218,7 +4943,11 @@ else | |||
5218 | while :; do | 4943 | while :; do |
5219 | # IRIX 6.2 and later do not support large files by default, | 4944 | # IRIX 6.2 and later do not support large files by default, |
5220 | # so use the C compiler's -n32 option if that helps. | 4945 | # so use the C compiler's -n32 option if that helps. |
5221 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4946 | cat >conftest.$ac_ext <<_ACEOF |
4947 | /* confdefs.h. */ | ||
4948 | _ACEOF | ||
4949 | cat confdefs.h >>conftest.$ac_ext | ||
4950 | cat >>conftest.$ac_ext <<_ACEOF | ||
5222 | /* end confdefs.h. */ | 4951 | /* end confdefs.h. */ |
5223 | #include <sys/types.h> | 4952 | #include <sys/types.h> |
5224 | /* Check that off_t can represent 2**63 - 1 correctly. | 4953 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -5237,14 +4966,58 @@ main () | |||
5237 | return 0; | 4966 | return 0; |
5238 | } | 4967 | } |
5239 | _ACEOF | 4968 | _ACEOF |
5240 | if ac_fn_c_try_compile "$LINENO"; then : | 4969 | rm -f conftest.$ac_objext |
4970 | if { (ac_try="$ac_compile" | ||
4971 | case "(($ac_try" in | ||
4972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4973 | *) ac_try_echo=$ac_try;; | ||
4974 | esac | ||
4975 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
4976 | (eval "$ac_compile") 2>conftest.er1 | ||
4977 | ac_status=$? | ||
4978 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4979 | rm -f conftest.er1 | ||
4980 | cat conftest.err >&5 | ||
4981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4982 | (exit $ac_status); } && { | ||
4983 | test -z "$ac_c_werror_flag" || | ||
4984 | test ! -s conftest.err | ||
4985 | } && test -s conftest.$ac_objext; then | ||
5241 | break | 4986 | break |
4987 | else | ||
4988 | echo "$as_me: failed program was:" >&5 | ||
4989 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4990 | |||
4991 | |||
5242 | fi | 4992 | fi |
4993 | |||
5243 | rm -f core conftest.err conftest.$ac_objext | 4994 | rm -f core conftest.err conftest.$ac_objext |
5244 | CC="$CC -n32" | 4995 | CC="$CC -n32" |
5245 | if ac_fn_c_try_compile "$LINENO"; then : | 4996 | rm -f conftest.$ac_objext |
4997 | if { (ac_try="$ac_compile" | ||
4998 | case "(($ac_try" in | ||
4999 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5000 | *) ac_try_echo=$ac_try;; | ||
5001 | esac | ||
5002 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5003 | (eval "$ac_compile") 2>conftest.er1 | ||
5004 | ac_status=$? | ||
5005 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5006 | rm -f conftest.er1 | ||
5007 | cat conftest.err >&5 | ||
5008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5009 | (exit $ac_status); } && { | ||
5010 | test -z "$ac_c_werror_flag" || | ||
5011 | test ! -s conftest.err | ||
5012 | } && test -s conftest.$ac_objext; then | ||
5246 | ac_cv_sys_largefile_CC=' -n32'; break | 5013 | ac_cv_sys_largefile_CC=' -n32'; break |
5014 | else | ||
5015 | echo "$as_me: failed program was:" >&5 | ||
5016 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5017 | |||
5018 | |||
5247 | fi | 5019 | fi |
5020 | |||
5248 | rm -f core conftest.err conftest.$ac_objext | 5021 | rm -f core conftest.err conftest.$ac_objext |
5249 | break | 5022 | break |
5250 | done | 5023 | done |
@@ -5252,19 +5025,23 @@ rm -f core conftest.err conftest.$ac_objext | |||
5252 | rm -f conftest.$ac_ext | 5025 | rm -f conftest.$ac_ext |
5253 | fi | 5026 | fi |
5254 | fi | 5027 | fi |
5255 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 | 5028 | { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
5256 | $as_echo "$ac_cv_sys_largefile_CC" >&6; } | 5029 | echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } |
5257 | if test "$ac_cv_sys_largefile_CC" != no; then | 5030 | if test "$ac_cv_sys_largefile_CC" != no; then |
5258 | CC=$CC$ac_cv_sys_largefile_CC | 5031 | CC=$CC$ac_cv_sys_largefile_CC |
5259 | fi | 5032 | fi |
5260 | 5033 | ||
5261 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5034 | { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
5262 | $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } | 5035 | echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } |
5263 | if ${ac_cv_sys_file_offset_bits+:} false; then : | 5036 | if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
5264 | $as_echo_n "(cached) " >&6 | 5037 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5265 | else | 5038 | else |
5266 | while :; do | 5039 | while :; do |
5267 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5040 | cat >conftest.$ac_ext <<_ACEOF |
5041 | /* confdefs.h. */ | ||
5042 | _ACEOF | ||
5043 | cat confdefs.h >>conftest.$ac_ext | ||
5044 | cat >>conftest.$ac_ext <<_ACEOF | ||
5268 | /* end confdefs.h. */ | 5045 | /* end confdefs.h. */ |
5269 | #include <sys/types.h> | 5046 | #include <sys/types.h> |
5270 | /* Check that off_t can represent 2**63 - 1 correctly. | 5047 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -5283,11 +5060,37 @@ main () | |||
5283 | return 0; | 5060 | return 0; |
5284 | } | 5061 | } |
5285 | _ACEOF | 5062 | _ACEOF |
5286 | if ac_fn_c_try_compile "$LINENO"; then : | 5063 | rm -f conftest.$ac_objext |
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 | ||
5287 | ac_cv_sys_file_offset_bits=no; break | 5080 | ac_cv_sys_file_offset_bits=no; break |
5081 | else | ||
5082 | echo "$as_me: failed program was:" >&5 | ||
5083 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5084 | |||
5085 | |||
5288 | fi | 5086 | fi |
5087 | |||
5289 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5088 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5089 | cat >conftest.$ac_ext <<_ACEOF |
5090 | /* confdefs.h. */ | ||
5091 | _ACEOF | ||
5092 | cat confdefs.h >>conftest.$ac_ext | ||
5093 | cat >>conftest.$ac_ext <<_ACEOF | ||
5291 | /* end confdefs.h. */ | 5094 | /* end confdefs.h. */ |
5292 | #define _FILE_OFFSET_BITS 64 | 5095 | #define _FILE_OFFSET_BITS 64 |
5293 | #include <sys/types.h> | 5096 | #include <sys/types.h> |
@@ -5307,16 +5110,38 @@ main () | |||
5307 | return 0; | 5110 | return 0; |
5308 | } | 5111 | } |
5309 | _ACEOF | 5112 | _ACEOF |
5310 | if ac_fn_c_try_compile "$LINENO"; then : | 5113 | rm -f conftest.$ac_objext |
5114 | if { (ac_try="$ac_compile" | ||
5115 | case "(($ac_try" in | ||
5116 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5117 | *) ac_try_echo=$ac_try;; | ||
5118 | esac | ||
5119 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5120 | (eval "$ac_compile") 2>conftest.er1 | ||
5121 | ac_status=$? | ||
5122 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5123 | rm -f conftest.er1 | ||
5124 | cat conftest.err >&5 | ||
5125 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5126 | (exit $ac_status); } && { | ||
5127 | test -z "$ac_c_werror_flag" || | ||
5128 | test ! -s conftest.err | ||
5129 | } && test -s conftest.$ac_objext; then | ||
5311 | ac_cv_sys_file_offset_bits=64; break | 5130 | ac_cv_sys_file_offset_bits=64; break |
5131 | else | ||
5132 | echo "$as_me: failed program was:" >&5 | ||
5133 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5134 | |||
5135 | |||
5312 | fi | 5136 | fi |
5137 | |||
5313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5138 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5314 | ac_cv_sys_file_offset_bits=unknown | 5139 | ac_cv_sys_file_offset_bits=unknown |
5315 | break | 5140 | break |
5316 | done | 5141 | done |
5317 | fi | 5142 | fi |
5318 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 | 5143 | { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
5319 | $as_echo "$ac_cv_sys_file_offset_bits" >&6; } | 5144 | echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } |
5320 | case $ac_cv_sys_file_offset_bits in #( | 5145 | case $ac_cv_sys_file_offset_bits in #( |
5321 | no | unknown) ;; | 5146 | no | unknown) ;; |
5322 | *) | 5147 | *) |
@@ -5325,15 +5150,19 @@ cat >>confdefs.h <<_ACEOF | |||
5325 | _ACEOF | 5150 | _ACEOF |
5326 | ;; | 5151 | ;; |
5327 | esac | 5152 | esac |
5328 | rm -rf conftest* | 5153 | rm -f conftest* |
5329 | if test $ac_cv_sys_file_offset_bits = unknown; then | 5154 | if test $ac_cv_sys_file_offset_bits = unknown; then |
5330 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 | 5155 | { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
5331 | $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } | 5156 | echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } |
5332 | if ${ac_cv_sys_large_files+:} false; then : | 5157 | if test "${ac_cv_sys_large_files+set}" = set; then |
5333 | $as_echo_n "(cached) " >&6 | 5158 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5334 | else | 5159 | else |
5335 | while :; do | 5160 | while :; do |
5336 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5161 | cat >conftest.$ac_ext <<_ACEOF |
5162 | /* confdefs.h. */ | ||
5163 | _ACEOF | ||
5164 | cat confdefs.h >>conftest.$ac_ext | ||
5165 | cat >>conftest.$ac_ext <<_ACEOF | ||
5337 | /* end confdefs.h. */ | 5166 | /* end confdefs.h. */ |
5338 | #include <sys/types.h> | 5167 | #include <sys/types.h> |
5339 | /* Check that off_t can represent 2**63 - 1 correctly. | 5168 | /* Check that off_t can represent 2**63 - 1 correctly. |
@@ -5352,11 +5181,37 @@ main () | |||
5352 | return 0; | 5181 | return 0; |
5353 | } | 5182 | } |
5354 | _ACEOF | 5183 | _ACEOF |
5355 | if ac_fn_c_try_compile "$LINENO"; then : | 5184 | rm -f conftest.$ac_objext |
5185 | if { (ac_try="$ac_compile" | ||
5186 | case "(($ac_try" in | ||
5187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5188 | *) ac_try_echo=$ac_try;; | ||
5189 | esac | ||
5190 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5191 | (eval "$ac_compile") 2>conftest.er1 | ||
5192 | ac_status=$? | ||
5193 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5194 | rm -f conftest.er1 | ||
5195 | cat conftest.err >&5 | ||
5196 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5197 | (exit $ac_status); } && { | ||
5198 | test -z "$ac_c_werror_flag" || | ||
5199 | test ! -s conftest.err | ||
5200 | } && test -s conftest.$ac_objext; then | ||
5356 | ac_cv_sys_large_files=no; break | 5201 | ac_cv_sys_large_files=no; break |
5202 | else | ||
5203 | echo "$as_me: failed program was:" >&5 | ||
5204 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5205 | |||
5206 | |||
5357 | fi | 5207 | fi |
5208 | |||
5358 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5209 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5359 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5210 | cat >conftest.$ac_ext <<_ACEOF |
5211 | /* confdefs.h. */ | ||
5212 | _ACEOF | ||
5213 | cat confdefs.h >>conftest.$ac_ext | ||
5214 | cat >>conftest.$ac_ext <<_ACEOF | ||
5360 | /* end confdefs.h. */ | 5215 | /* end confdefs.h. */ |
5361 | #define _LARGE_FILES 1 | 5216 | #define _LARGE_FILES 1 |
5362 | #include <sys/types.h> | 5217 | #include <sys/types.h> |
@@ -5376,16 +5231,38 @@ main () | |||
5376 | return 0; | 5231 | return 0; |
5377 | } | 5232 | } |
5378 | _ACEOF | 5233 | _ACEOF |
5379 | if ac_fn_c_try_compile "$LINENO"; then : | 5234 | rm -f conftest.$ac_objext |
5235 | if { (ac_try="$ac_compile" | ||
5236 | case "(($ac_try" in | ||
5237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5238 | *) ac_try_echo=$ac_try;; | ||
5239 | esac | ||
5240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5241 | (eval "$ac_compile") 2>conftest.er1 | ||
5242 | ac_status=$? | ||
5243 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5244 | rm -f conftest.er1 | ||
5245 | cat conftest.err >&5 | ||
5246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5247 | (exit $ac_status); } && { | ||
5248 | test -z "$ac_c_werror_flag" || | ||
5249 | test ! -s conftest.err | ||
5250 | } && test -s conftest.$ac_objext; then | ||
5380 | ac_cv_sys_large_files=1; break | 5251 | ac_cv_sys_large_files=1; break |
5252 | else | ||
5253 | echo "$as_me: failed program was:" >&5 | ||
5254 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5255 | |||
5256 | |||
5381 | fi | 5257 | fi |
5258 | |||
5382 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5383 | ac_cv_sys_large_files=unknown | 5260 | ac_cv_sys_large_files=unknown |
5384 | break | 5261 | break |
5385 | done | 5262 | done |
5386 | fi | 5263 | fi |
5387 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 | 5264 | { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
5388 | $as_echo "$ac_cv_sys_large_files" >&6; } | 5265 | echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } |
5389 | case $ac_cv_sys_large_files in #( | 5266 | case $ac_cv_sys_large_files in #( |
5390 | no | unknown) ;; | 5267 | no | unknown) ;; |
5391 | *) | 5268 | *) |
@@ -5394,13 +5271,15 @@ cat >>confdefs.h <<_ACEOF | |||
5394 | _ACEOF | 5271 | _ACEOF |
5395 | ;; | 5272 | ;; |
5396 | esac | 5273 | esac |
5397 | rm -rf conftest* | 5274 | rm -f conftest* |
5398 | fi | 5275 | fi |
5399 | fi | 5276 | fi |
5400 | 5277 | ||
5401 | 5278 | ||
5402 | if test -z "$AR" ; then | 5279 | if test -z "$AR" ; then |
5403 | as_fn_error $? "*** 'ar' missing, please install or fix your \$PATH ***" "$LINENO" 5 | 5280 | { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 |
5281 | echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} | ||
5282 | { (exit 1); exit 1; }; } | ||
5404 | fi | 5283 | fi |
5405 | 5284 | ||
5406 | # Use LOGIN_PROGRAM from environment if possible | 5285 | # Use LOGIN_PROGRAM from environment if possible |
@@ -5414,10 +5293,10 @@ else | |||
5414 | # Search for login | 5293 | # Search for login |
5415 | # Extract the first word of "login", so it can be a program name with args. | 5294 | # Extract the first word of "login", so it can be a program name with args. |
5416 | set dummy login; ac_word=$2 | 5295 | set dummy login; ac_word=$2 |
5417 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5296 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5418 | $as_echo_n "checking for $ac_word... " >&6; } | 5297 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5419 | if ${ac_cv_path_LOGIN_PROGRAM_FALLBACK+:} false; then : | 5298 | if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then |
5420 | $as_echo_n "(cached) " >&6 | 5299 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5421 | else | 5300 | else |
5422 | case $LOGIN_PROGRAM_FALLBACK in | 5301 | case $LOGIN_PROGRAM_FALLBACK in |
5423 | [\\/]* | ?:[\\/]*) | 5302 | [\\/]* | ?:[\\/]*) |
@@ -5429,14 +5308,14 @@ for as_dir in $PATH | |||
5429 | do | 5308 | do |
5430 | IFS=$as_save_IFS | 5309 | IFS=$as_save_IFS |
5431 | test -z "$as_dir" && as_dir=. | 5310 | test -z "$as_dir" && as_dir=. |
5432 | for ac_exec_ext in '' $ac_executable_extensions; do | 5311 | for ac_exec_ext in '' $ac_executable_extensions; do |
5433 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5312 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5434 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" | 5313 | ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" |
5435 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5314 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5436 | break 2 | 5315 | break 2 |
5437 | fi | 5316 | fi |
5438 | done | 5317 | done |
5439 | done | 5318 | done |
5440 | IFS=$as_save_IFS | 5319 | IFS=$as_save_IFS |
5441 | 5320 | ||
5442 | ;; | 5321 | ;; |
@@ -5444,11 +5323,11 @@ esac | |||
5444 | fi | 5323 | fi |
5445 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK | 5324 | LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK |
5446 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then | 5325 | if test -n "$LOGIN_PROGRAM_FALLBACK"; then |
5447 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOGIN_PROGRAM_FALLBACK" >&5 | 5326 | { echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 |
5448 | $as_echo "$LOGIN_PROGRAM_FALLBACK" >&6; } | 5327 | echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6; } |
5449 | else | 5328 | else |
5450 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5329 | { echo "$as_me:$LINENO: result: no" >&5 |
5451 | $as_echo "no" >&6; } | 5330 | echo "${ECHO_T}no" >&6; } |
5452 | fi | 5331 | fi |
5453 | 5332 | ||
5454 | 5333 | ||
@@ -5462,10 +5341,10 @@ fi | |||
5462 | 5341 | ||
5463 | # Extract the first word of "passwd", so it can be a program name with args. | 5342 | # Extract the first word of "passwd", so it can be a program name with args. |
5464 | set dummy passwd; ac_word=$2 | 5343 | set dummy passwd; ac_word=$2 |
5465 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 5344 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5466 | $as_echo_n "checking for $ac_word... " >&6; } | 5345 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5467 | if ${ac_cv_path_PATH_PASSWD_PROG+:} false; then : | 5346 | if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then |
5468 | $as_echo_n "(cached) " >&6 | 5347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5469 | else | 5348 | else |
5470 | case $PATH_PASSWD_PROG in | 5349 | case $PATH_PASSWD_PROG in |
5471 | [\\/]* | ?:[\\/]*) | 5350 | [\\/]* | ?:[\\/]*) |
@@ -5477,14 +5356,14 @@ for as_dir in $PATH | |||
5477 | do | 5356 | do |
5478 | IFS=$as_save_IFS | 5357 | IFS=$as_save_IFS |
5479 | test -z "$as_dir" && as_dir=. | 5358 | test -z "$as_dir" && as_dir=. |
5480 | for ac_exec_ext in '' $ac_executable_extensions; do | 5359 | for ac_exec_ext in '' $ac_executable_extensions; do |
5481 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 5360 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5482 | ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" | 5361 | ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" |
5483 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5362 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5484 | break 2 | 5363 | break 2 |
5485 | fi | 5364 | fi |
5486 | done | 5365 | done |
5487 | done | 5366 | done |
5488 | IFS=$as_save_IFS | 5367 | IFS=$as_save_IFS |
5489 | 5368 | ||
5490 | ;; | 5369 | ;; |
@@ -5492,11 +5371,11 @@ esac | |||
5492 | fi | 5371 | fi |
5493 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG | 5372 | PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG |
5494 | if test -n "$PATH_PASSWD_PROG"; then | 5373 | if test -n "$PATH_PASSWD_PROG"; then |
5495 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_PASSWD_PROG" >&5 | 5374 | { echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5 |
5496 | $as_echo "$PATH_PASSWD_PROG" >&6; } | 5375 | echo "${ECHO_T}$PATH_PASSWD_PROG" >&6; } |
5497 | else | 5376 | else |
5498 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5377 | { echo "$as_me:$LINENO: result: no" >&5 |
5499 | $as_echo "no" >&6; } | 5378 | echo "${ECHO_T}no" >&6; } |
5500 | fi | 5379 | fi |
5501 | 5380 | ||
5502 | 5381 | ||
@@ -5513,14 +5392,18 @@ if test -z "$LD" ; then | |||
5513 | fi | 5392 | fi |
5514 | 5393 | ||
5515 | 5394 | ||
5516 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 | 5395 | { echo "$as_me:$LINENO: checking for inline" >&5 |
5517 | $as_echo_n "checking for inline... " >&6; } | 5396 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
5518 | if ${ac_cv_c_inline+:} false; then : | 5397 | if test "${ac_cv_c_inline+set}" = set; then |
5519 | $as_echo_n "(cached) " >&6 | 5398 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5520 | else | 5399 | else |
5521 | ac_cv_c_inline=no | 5400 | ac_cv_c_inline=no |
5522 | for ac_kw in inline __inline__ __inline; do | 5401 | for ac_kw in inline __inline__ __inline; do |
5523 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5402 | cat >conftest.$ac_ext <<_ACEOF |
5403 | /* confdefs.h. */ | ||
5404 | _ACEOF | ||
5405 | cat confdefs.h >>conftest.$ac_ext | ||
5406 | cat >>conftest.$ac_ext <<_ACEOF | ||
5524 | /* end confdefs.h. */ | 5407 | /* end confdefs.h. */ |
5525 | #ifndef __cplusplus | 5408 | #ifndef __cplusplus |
5526 | typedef int foo_t; | 5409 | typedef int foo_t; |
@@ -5529,16 +5412,39 @@ $ac_kw foo_t foo () {return 0; } | |||
5529 | #endif | 5412 | #endif |
5530 | 5413 | ||
5531 | _ACEOF | 5414 | _ACEOF |
5532 | if ac_fn_c_try_compile "$LINENO"; then : | 5415 | rm -f conftest.$ac_objext |
5416 | if { (ac_try="$ac_compile" | ||
5417 | case "(($ac_try" in | ||
5418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5419 | *) ac_try_echo=$ac_try;; | ||
5420 | esac | ||
5421 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5422 | (eval "$ac_compile") 2>conftest.er1 | ||
5423 | ac_status=$? | ||
5424 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5425 | rm -f conftest.er1 | ||
5426 | cat conftest.err >&5 | ||
5427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5428 | (exit $ac_status); } && { | ||
5429 | test -z "$ac_c_werror_flag" || | ||
5430 | test ! -s conftest.err | ||
5431 | } && test -s conftest.$ac_objext; then | ||
5533 | ac_cv_c_inline=$ac_kw | 5432 | ac_cv_c_inline=$ac_kw |
5433 | else | ||
5434 | echo "$as_me: failed program was:" >&5 | ||
5435 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5436 | |||
5437 | |||
5534 | fi | 5438 | fi |
5439 | |||
5535 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5440 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5536 | test "$ac_cv_c_inline" != no && break | 5441 | test "$ac_cv_c_inline" != no && break |
5537 | done | 5442 | done |
5538 | 5443 | ||
5539 | fi | 5444 | fi |
5540 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 | 5445 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
5541 | $as_echo "$ac_cv_c_inline" >&6; } | 5446 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
5447 | |||
5542 | 5448 | ||
5543 | case $ac_cv_c_inline in | 5449 | case $ac_cv_c_inline in |
5544 | inline | yes) ;; | 5450 | inline | yes) ;; |
@@ -5556,48 +5462,312 @@ _ACEOF | |||
5556 | esac | 5462 | esac |
5557 | 5463 | ||
5558 | 5464 | ||
5559 | ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include <limits.h> | 5465 | { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 |
5560 | " | 5466 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } |
5561 | if test "x$ac_cv_have_decl_LLONG_MAX" = xyes; then : | 5467 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then |
5468 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5469 | else | ||
5470 | cat >conftest.$ac_ext <<_ACEOF | ||
5471 | /* confdefs.h. */ | ||
5472 | _ACEOF | ||
5473 | cat confdefs.h >>conftest.$ac_ext | ||
5474 | cat >>conftest.$ac_ext <<_ACEOF | ||
5475 | /* end confdefs.h. */ | ||
5476 | #include <limits.h> | ||
5477 | |||
5478 | int | ||
5479 | main () | ||
5480 | { | ||
5481 | #ifndef LLONG_MAX | ||
5482 | (void) LLONG_MAX; | ||
5483 | #endif | ||
5484 | |||
5485 | ; | ||
5486 | return 0; | ||
5487 | } | ||
5488 | _ACEOF | ||
5489 | rm -f conftest.$ac_objext | ||
5490 | if { (ac_try="$ac_compile" | ||
5491 | case "(($ac_try" in | ||
5492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5493 | *) ac_try_echo=$ac_try;; | ||
5494 | esac | ||
5495 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5496 | (eval "$ac_compile") 2>conftest.er1 | ||
5497 | ac_status=$? | ||
5498 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5499 | rm -f conftest.er1 | ||
5500 | cat conftest.err >&5 | ||
5501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5502 | (exit $ac_status); } && { | ||
5503 | test -z "$ac_c_werror_flag" || | ||
5504 | test ! -s conftest.err | ||
5505 | } && test -s conftest.$ac_objext; then | ||
5506 | ac_cv_have_decl_LLONG_MAX=yes | ||
5507 | else | ||
5508 | echo "$as_me: failed program was:" >&5 | ||
5509 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5510 | |||
5511 | ac_cv_have_decl_LLONG_MAX=no | ||
5512 | fi | ||
5513 | |||
5514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5515 | fi | ||
5516 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
5517 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } | ||
5518 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
5562 | have_llong_max=1 | 5519 | have_llong_max=1 |
5563 | fi | 5520 | fi |
5564 | 5521 | ||
5565 | ac_fn_c_check_decl "$LINENO" "SYSTR_POLICY_KILL" "ac_cv_have_decl_SYSTR_POLICY_KILL" " | 5522 | { echo "$as_me:$LINENO: checking whether SYSTR_POLICY_KILL is declared" >&5 |
5523 | echo $ECHO_N "checking whether SYSTR_POLICY_KILL is declared... $ECHO_C" >&6; } | ||
5524 | if test "${ac_cv_have_decl_SYSTR_POLICY_KILL+set}" = set; then | ||
5525 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5526 | else | ||
5527 | cat >conftest.$ac_ext <<_ACEOF | ||
5528 | /* confdefs.h. */ | ||
5529 | _ACEOF | ||
5530 | cat confdefs.h >>conftest.$ac_ext | ||
5531 | cat >>conftest.$ac_ext <<_ACEOF | ||
5532 | /* end confdefs.h. */ | ||
5533 | |||
5566 | #include <sys/types.h> | 5534 | #include <sys/types.h> |
5567 | #include <sys/param.h> | 5535 | #include <sys/param.h> |
5568 | #include <dev/systrace.h> | 5536 | #include <dev/systrace.h> |
5569 | 5537 | ||
5570 | " | 5538 | |
5571 | if test "x$ac_cv_have_decl_SYSTR_POLICY_KILL" = xyes; then : | 5539 | int |
5540 | main () | ||
5541 | { | ||
5542 | #ifndef SYSTR_POLICY_KILL | ||
5543 | (void) SYSTR_POLICY_KILL; | ||
5544 | #endif | ||
5545 | |||
5546 | ; | ||
5547 | return 0; | ||
5548 | } | ||
5549 | _ACEOF | ||
5550 | rm -f conftest.$ac_objext | ||
5551 | if { (ac_try="$ac_compile" | ||
5552 | case "(($ac_try" in | ||
5553 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5554 | *) ac_try_echo=$ac_try;; | ||
5555 | esac | ||
5556 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5557 | (eval "$ac_compile") 2>conftest.er1 | ||
5558 | ac_status=$? | ||
5559 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5560 | rm -f conftest.er1 | ||
5561 | cat conftest.err >&5 | ||
5562 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5563 | (exit $ac_status); } && { | ||
5564 | test -z "$ac_c_werror_flag" || | ||
5565 | test ! -s conftest.err | ||
5566 | } && test -s conftest.$ac_objext; then | ||
5567 | ac_cv_have_decl_SYSTR_POLICY_KILL=yes | ||
5568 | else | ||
5569 | echo "$as_me: failed program was:" >&5 | ||
5570 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5571 | |||
5572 | ac_cv_have_decl_SYSTR_POLICY_KILL=no | ||
5573 | fi | ||
5574 | |||
5575 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5576 | fi | ||
5577 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SYSTR_POLICY_KILL" >&5 | ||
5578 | echo "${ECHO_T}$ac_cv_have_decl_SYSTR_POLICY_KILL" >&6; } | ||
5579 | if test $ac_cv_have_decl_SYSTR_POLICY_KILL = yes; then | ||
5572 | have_systr_policy_kill=1 | 5580 | have_systr_policy_kill=1 |
5573 | fi | 5581 | fi |
5574 | 5582 | ||
5575 | ac_fn_c_check_decl "$LINENO" "RLIMIT_NPROC" "ac_cv_have_decl_RLIMIT_NPROC" " | 5583 | { echo "$as_me:$LINENO: checking whether RLIMIT_NPROC is declared" >&5 |
5584 | echo $ECHO_N "checking whether RLIMIT_NPROC is declared... $ECHO_C" >&6; } | ||
5585 | if test "${ac_cv_have_decl_RLIMIT_NPROC+set}" = set; then | ||
5586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5587 | else | ||
5588 | cat >conftest.$ac_ext <<_ACEOF | ||
5589 | /* confdefs.h. */ | ||
5590 | _ACEOF | ||
5591 | cat confdefs.h >>conftest.$ac_ext | ||
5592 | cat >>conftest.$ac_ext <<_ACEOF | ||
5593 | /* end confdefs.h. */ | ||
5594 | |||
5576 | #include <sys/types.h> | 5595 | #include <sys/types.h> |
5577 | #include <sys/resource.h> | 5596 | #include <sys/resource.h> |
5578 | 5597 | ||
5579 | " | ||
5580 | if test "x$ac_cv_have_decl_RLIMIT_NPROC" = xyes; then : | ||
5581 | 5598 | ||
5582 | $as_echo "#define HAVE_RLIMIT_NPROC /**/" >>confdefs.h | 5599 | int |
5600 | main () | ||
5601 | { | ||
5602 | #ifndef RLIMIT_NPROC | ||
5603 | (void) RLIMIT_NPROC; | ||
5604 | #endif | ||
5583 | 5605 | ||
5606 | ; | ||
5607 | return 0; | ||
5608 | } | ||
5609 | _ACEOF | ||
5610 | rm -f conftest.$ac_objext | ||
5611 | if { (ac_try="$ac_compile" | ||
5612 | case "(($ac_try" in | ||
5613 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5614 | *) ac_try_echo=$ac_try;; | ||
5615 | esac | ||
5616 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5617 | (eval "$ac_compile") 2>conftest.er1 | ||
5618 | ac_status=$? | ||
5619 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5620 | rm -f conftest.er1 | ||
5621 | cat conftest.err >&5 | ||
5622 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5623 | (exit $ac_status); } && { | ||
5624 | test -z "$ac_c_werror_flag" || | ||
5625 | test ! -s conftest.err | ||
5626 | } && test -s conftest.$ac_objext; then | ||
5627 | ac_cv_have_decl_RLIMIT_NPROC=yes | ||
5628 | else | ||
5629 | echo "$as_me: failed program was:" >&5 | ||
5630 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5631 | |||
5632 | ac_cv_have_decl_RLIMIT_NPROC=no | ||
5584 | fi | 5633 | fi |
5585 | 5634 | ||
5586 | ac_fn_c_check_decl "$LINENO" "PR_SET_NO_NEW_PRIVS" "ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" " | 5635 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5636 | fi | ||
5637 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_RLIMIT_NPROC" >&5 | ||
5638 | echo "${ECHO_T}$ac_cv_have_decl_RLIMIT_NPROC" >&6; } | ||
5639 | if test $ac_cv_have_decl_RLIMIT_NPROC = yes; then | ||
5640 | |||
5641 | cat >>confdefs.h <<\_ACEOF | ||
5642 | #define HAVE_RLIMIT_NPROC | ||
5643 | _ACEOF | ||
5644 | |||
5645 | fi | ||
5646 | |||
5647 | { echo "$as_me:$LINENO: checking whether PR_SET_NO_NEW_PRIVS is declared" >&5 | ||
5648 | echo $ECHO_N "checking whether PR_SET_NO_NEW_PRIVS is declared... $ECHO_C" >&6; } | ||
5649 | if test "${ac_cv_have_decl_PR_SET_NO_NEW_PRIVS+set}" = set; then | ||
5650 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
5651 | else | ||
5652 | cat >conftest.$ac_ext <<_ACEOF | ||
5653 | /* confdefs.h. */ | ||
5654 | _ACEOF | ||
5655 | cat confdefs.h >>conftest.$ac_ext | ||
5656 | cat >>conftest.$ac_ext <<_ACEOF | ||
5657 | /* end confdefs.h. */ | ||
5658 | |||
5587 | #include <sys/types.h> | 5659 | #include <sys/types.h> |
5588 | #include <linux/prctl.h> | 5660 | #include <linux/prctl.h> |
5589 | 5661 | ||
5590 | " | 5662 | |
5591 | if test "x$ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" = xyes; then : | 5663 | int |
5664 | main () | ||
5665 | { | ||
5666 | #ifndef PR_SET_NO_NEW_PRIVS | ||
5667 | (void) PR_SET_NO_NEW_PRIVS; | ||
5668 | #endif | ||
5669 | |||
5670 | ; | ||
5671 | return 0; | ||
5672 | } | ||
5673 | _ACEOF | ||
5674 | rm -f conftest.$ac_objext | ||
5675 | if { (ac_try="$ac_compile" | ||
5676 | case "(($ac_try" in | ||
5677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5678 | *) ac_try_echo=$ac_try;; | ||
5679 | esac | ||
5680 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5681 | (eval "$ac_compile") 2>conftest.er1 | ||
5682 | ac_status=$? | ||
5683 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5684 | rm -f conftest.er1 | ||
5685 | cat conftest.err >&5 | ||
5686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5687 | (exit $ac_status); } && { | ||
5688 | test -z "$ac_c_werror_flag" || | ||
5689 | test ! -s conftest.err | ||
5690 | } && test -s conftest.$ac_objext; then | ||
5691 | ac_cv_have_decl_PR_SET_NO_NEW_PRIVS=yes | ||
5692 | else | ||
5693 | echo "$as_me: failed program was:" >&5 | ||
5694 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
5695 | |||
5696 | ac_cv_have_decl_PR_SET_NO_NEW_PRIVS=no | ||
5697 | fi | ||
5698 | |||
5699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
5700 | fi | ||
5701 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" >&5 | ||
5702 | echo "${ECHO_T}$ac_cv_have_decl_PR_SET_NO_NEW_PRIVS" >&6; } | ||
5703 | if test $ac_cv_have_decl_PR_SET_NO_NEW_PRIVS = yes; then | ||
5592 | have_linux_no_new_privs=1 | 5704 | have_linux_no_new_privs=1 |
5593 | fi | 5705 | fi |
5594 | 5706 | ||
5595 | 5707 | ||
5708 | openssl=yes | ||
5709 | ssh1=yes | ||
5710 | |||
5711 | # Check whether --with-openssl was given. | ||
5712 | if test "${with_openssl+set}" = set; then | ||
5713 | withval=$with_openssl; if test "x$withval" = "xno" ; then | ||
5714 | openssl=no | ||
5715 | ssh1=no | ||
5716 | fi | ||
5717 | |||
5718 | |||
5719 | fi | ||
5720 | |||
5721 | { echo "$as_me:$LINENO: checking whether OpenSSL will be used for cryptography" >&5 | ||
5722 | echo $ECHO_N "checking whether OpenSSL will be used for cryptography... $ECHO_C" >&6; } | ||
5723 | if test "x$openssl" = "xyes" ; then | ||
5724 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5725 | echo "${ECHO_T}yes" >&6; } | ||
5726 | |||
5727 | cat >>confdefs.h <<_ACEOF | ||
5728 | #define WITH_OPENSSL 1 | ||
5729 | _ACEOF | ||
5730 | |||
5731 | else | ||
5732 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5733 | echo "${ECHO_T}no" >&6; } | ||
5734 | fi | ||
5735 | |||
5736 | |||
5737 | # Check whether --with-ssh1 was given. | ||
5738 | if test "${with_ssh1+set}" = set; then | ||
5739 | withval=$with_ssh1; | ||
5740 | if test "x$withval" = "xno" ; then | ||
5741 | ssh1=no | ||
5742 | elif test "x$openssl" = "xno" ; then | ||
5743 | { { echo "$as_me:$LINENO: error: Cannot enable SSH protocol 1 with OpenSSL disabled" >&5 | ||
5744 | echo "$as_me: error: Cannot enable SSH protocol 1 with OpenSSL disabled" >&2;} | ||
5745 | { (exit 1); exit 1; }; } | ||
5746 | fi | ||
5747 | |||
5748 | |||
5749 | fi | ||
5750 | |||
5751 | { echo "$as_me:$LINENO: checking whether SSH protocol 1 support is enabled" >&5 | ||
5752 | echo $ECHO_N "checking whether SSH protocol 1 support is enabled... $ECHO_C" >&6; } | ||
5753 | if test "x$ssh1" = "xyes" ; then | ||
5754 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5755 | echo "${ECHO_T}yes" >&6; } | ||
5756 | |||
5757 | cat >>confdefs.h <<_ACEOF | ||
5758 | #define WITH_SSH1 1 | ||
5759 | _ACEOF | ||
5760 | |||
5761 | else | ||
5762 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5763 | echo "${ECHO_T}no" >&6; } | ||
5764 | fi | ||
5765 | |||
5596 | use_stack_protector=1 | 5766 | use_stack_protector=1 |
5597 | use_toolchain_hardening=1 | 5767 | use_toolchain_hardening=1 |
5598 | 5768 | ||
5599 | # Check whether --with-stackprotect was given. | 5769 | # Check whether --with-stackprotect was given. |
5600 | if test "${with_stackprotect+set}" = set; then : | 5770 | if test "${with_stackprotect+set}" = set; then |
5601 | withval=$with_stackprotect; | 5771 | withval=$with_stackprotect; |
5602 | if test "x$withval" = "xno"; then | 5772 | if test "x$withval" = "xno"; then |
5603 | use_stack_protector=0 | 5773 | use_stack_protector=0 |
@@ -5606,7 +5776,7 @@ fi | |||
5606 | 5776 | ||
5607 | 5777 | ||
5608 | # Check whether --with-hardening was given. | 5778 | # Check whether --with-hardening was given. |
5609 | if test "${with_hardening+set}" = set; then : | 5779 | if test "${with_hardening+set}" = set; then |
5610 | withval=$with_hardening; | 5780 | withval=$with_hardening; |
5611 | if test "x$withval" = "xno"; then | 5781 | if test "x$withval" = "xno"; then |
5612 | use_toolchain_hardening=0 | 5782 | use_toolchain_hardening=0 |
@@ -5616,36 +5786,64 @@ fi | |||
5616 | 5786 | ||
5617 | # We use -Werror for the tests only so that we catch warnings like "this is | 5787 | # We use -Werror for the tests only so that we catch warnings like "this is |
5618 | # on by default" for things like -fPIE. | 5788 | # on by default" for things like -fPIE. |
5619 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5 | 5789 | { echo "$as_me:$LINENO: checking if $CC supports -Werror" >&5 |
5620 | $as_echo_n "checking if $CC supports -Werror... " >&6; } | 5790 | echo $ECHO_N "checking if $CC supports -Werror... $ECHO_C" >&6; } |
5621 | saved_CFLAGS="$CFLAGS" | 5791 | saved_CFLAGS="$CFLAGS" |
5622 | CFLAGS="$CFLAGS -Werror" | 5792 | CFLAGS="$CFLAGS -Werror" |
5623 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5793 | cat >conftest.$ac_ext <<_ACEOF |
5794 | /* confdefs.h. */ | ||
5795 | _ACEOF | ||
5796 | cat confdefs.h >>conftest.$ac_ext | ||
5797 | cat >>conftest.$ac_ext <<_ACEOF | ||
5624 | /* end confdefs.h. */ | 5798 | /* end confdefs.h. */ |
5625 | int main(void) { return 0; } | 5799 | int main(void) { return 0; } |
5626 | _ACEOF | 5800 | _ACEOF |
5627 | if ac_fn_c_try_compile "$LINENO"; then : | 5801 | rm -f conftest.$ac_objext |
5628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5802 | if { (ac_try="$ac_compile" |
5629 | $as_echo "yes" >&6; } | 5803 | case "(($ac_try" in |
5804 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5805 | *) ac_try_echo=$ac_try;; | ||
5806 | esac | ||
5807 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5808 | (eval "$ac_compile") 2>conftest.er1 | ||
5809 | ac_status=$? | ||
5810 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5811 | rm -f conftest.er1 | ||
5812 | cat conftest.err >&5 | ||
5813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5814 | (exit $ac_status); } && { | ||
5815 | test -z "$ac_c_werror_flag" || | ||
5816 | test ! -s conftest.err | ||
5817 | } && test -s conftest.$ac_objext; then | ||
5818 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
5819 | echo "${ECHO_T}yes" >&6; } | ||
5630 | WERROR="-Werror" | 5820 | WERROR="-Werror" |
5631 | else | 5821 | else |
5632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5822 | echo "$as_me: failed program was:" >&5 |
5633 | $as_echo "no" >&6; } | 5823 | sed 's/^/| /' conftest.$ac_ext >&5 |
5824 | |||
5825 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5826 | echo "${ECHO_T}no" >&6; } | ||
5634 | WERROR="" | 5827 | WERROR="" |
5635 | 5828 | ||
5636 | fi | 5829 | fi |
5830 | |||
5637 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5831 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5638 | CFLAGS="$saved_CFLAGS" | 5832 | CFLAGS="$saved_CFLAGS" |
5639 | 5833 | ||
5640 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then | 5834 | if test "$GCC" = "yes" || test "$GCC" = "egcs"; then |
5641 | { | 5835 | { |
5642 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Qunused-arguments" >&5 | 5836 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Qunused-arguments" >&5 |
5643 | $as_echo_n "checking if $CC supports compile flag -Qunused-arguments... " >&6; } | 5837 | echo $ECHO_N "checking if $CC supports compile flag -Qunused-arguments... $ECHO_C" >&6; } |
5644 | saved_CFLAGS="$CFLAGS" | 5838 | saved_CFLAGS="$CFLAGS" |
5645 | CFLAGS="$CFLAGS $WERROR -Qunused-arguments" | 5839 | CFLAGS="$CFLAGS $WERROR -Qunused-arguments" |
5646 | _define_flag="" | 5840 | _define_flag="" |
5647 | test "x$_define_flag" = "x" && _define_flag="-Qunused-arguments" | 5841 | test "x$_define_flag" = "x" && _define_flag="-Qunused-arguments" |
5648 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5842 | cat >conftest.$ac_ext <<_ACEOF |
5843 | /* confdefs.h. */ | ||
5844 | _ACEOF | ||
5845 | cat confdefs.h >>conftest.$ac_ext | ||
5846 | cat >>conftest.$ac_ext <<_ACEOF | ||
5649 | /* end confdefs.h. */ | 5847 | /* end confdefs.h. */ |
5650 | 5848 | ||
5651 | #include <stdlib.h> | 5849 | #include <stdlib.h> |
@@ -5661,34 +5859,58 @@ int main(int argc, char **argv) { | |||
5661 | } | 5859 | } |
5662 | 5860 | ||
5663 | _ACEOF | 5861 | _ACEOF |
5664 | if ac_fn_c_try_compile "$LINENO"; then : | 5862 | rm -f conftest.$ac_objext |
5863 | if { (ac_try="$ac_compile" | ||
5864 | case "(($ac_try" in | ||
5865 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5866 | *) ac_try_echo=$ac_try;; | ||
5867 | esac | ||
5868 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5869 | (eval "$ac_compile") 2>conftest.er1 | ||
5870 | ac_status=$? | ||
5871 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5872 | rm -f conftest.er1 | ||
5873 | cat conftest.err >&5 | ||
5874 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5875 | (exit $ac_status); } && { | ||
5876 | test -z "$ac_c_werror_flag" || | ||
5877 | test ! -s conftest.err | ||
5878 | } && test -s conftest.$ac_objext; then | ||
5665 | 5879 | ||
5666 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5880 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5667 | then | 5881 | then |
5668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5882 | { echo "$as_me:$LINENO: result: no" >&5 |
5669 | $as_echo "no" >&6; } | 5883 | echo "${ECHO_T}no" >&6; } |
5670 | CFLAGS="$saved_CFLAGS" | 5884 | CFLAGS="$saved_CFLAGS" |
5671 | else | 5885 | else |
5672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5886 | { echo "$as_me:$LINENO: result: yes" >&5 |
5673 | $as_echo "yes" >&6; } | 5887 | echo "${ECHO_T}yes" >&6; } |
5674 | CFLAGS="$saved_CFLAGS $_define_flag" | 5888 | CFLAGS="$saved_CFLAGS $_define_flag" |
5675 | fi | 5889 | fi |
5676 | else | 5890 | else |
5677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5891 | echo "$as_me: failed program was:" >&5 |
5678 | $as_echo "no" >&6; } | 5892 | sed 's/^/| /' conftest.$ac_ext >&5 |
5893 | |||
5894 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5895 | echo "${ECHO_T}no" >&6; } | ||
5679 | CFLAGS="$saved_CFLAGS" | 5896 | CFLAGS="$saved_CFLAGS" |
5680 | 5897 | ||
5681 | fi | 5898 | fi |
5899 | |||
5682 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5900 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5683 | } | 5901 | } |
5684 | { | 5902 | { |
5685 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wunknown-warning-option" >&5 | 5903 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wunknown-warning-option" >&5 |
5686 | $as_echo_n "checking if $CC supports compile flag -Wunknown-warning-option... " >&6; } | 5904 | echo $ECHO_N "checking if $CC supports compile flag -Wunknown-warning-option... $ECHO_C" >&6; } |
5687 | saved_CFLAGS="$CFLAGS" | 5905 | saved_CFLAGS="$CFLAGS" |
5688 | CFLAGS="$CFLAGS $WERROR -Wunknown-warning-option" | 5906 | CFLAGS="$CFLAGS $WERROR -Wunknown-warning-option" |
5689 | _define_flag="" | 5907 | _define_flag="" |
5690 | test "x$_define_flag" = "x" && _define_flag="-Wunknown-warning-option" | 5908 | test "x$_define_flag" = "x" && _define_flag="-Wunknown-warning-option" |
5691 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5909 | cat >conftest.$ac_ext <<_ACEOF |
5910 | /* confdefs.h. */ | ||
5911 | _ACEOF | ||
5912 | cat confdefs.h >>conftest.$ac_ext | ||
5913 | cat >>conftest.$ac_ext <<_ACEOF | ||
5692 | /* end confdefs.h. */ | 5914 | /* end confdefs.h. */ |
5693 | 5915 | ||
5694 | #include <stdlib.h> | 5916 | #include <stdlib.h> |
@@ -5704,34 +5926,58 @@ int main(int argc, char **argv) { | |||
5704 | } | 5926 | } |
5705 | 5927 | ||
5706 | _ACEOF | 5928 | _ACEOF |
5707 | if ac_fn_c_try_compile "$LINENO"; then : | 5929 | rm -f conftest.$ac_objext |
5930 | if { (ac_try="$ac_compile" | ||
5931 | case "(($ac_try" in | ||
5932 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
5933 | *) ac_try_echo=$ac_try;; | ||
5934 | esac | ||
5935 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
5936 | (eval "$ac_compile") 2>conftest.er1 | ||
5937 | ac_status=$? | ||
5938 | grep -v '^ *+' conftest.er1 >conftest.err | ||
5939 | rm -f conftest.er1 | ||
5940 | cat conftest.err >&5 | ||
5941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
5942 | (exit $ac_status); } && { | ||
5943 | test -z "$ac_c_werror_flag" || | ||
5944 | test ! -s conftest.err | ||
5945 | } && test -s conftest.$ac_objext; then | ||
5708 | 5946 | ||
5709 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 5947 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5710 | then | 5948 | then |
5711 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5949 | { echo "$as_me:$LINENO: result: no" >&5 |
5712 | $as_echo "no" >&6; } | 5950 | echo "${ECHO_T}no" >&6; } |
5713 | CFLAGS="$saved_CFLAGS" | 5951 | CFLAGS="$saved_CFLAGS" |
5714 | else | 5952 | else |
5715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5953 | { echo "$as_me:$LINENO: result: yes" >&5 |
5716 | $as_echo "yes" >&6; } | 5954 | echo "${ECHO_T}yes" >&6; } |
5717 | CFLAGS="$saved_CFLAGS $_define_flag" | 5955 | CFLAGS="$saved_CFLAGS $_define_flag" |
5718 | fi | 5956 | fi |
5719 | else | 5957 | else |
5720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5958 | echo "$as_me: failed program was:" >&5 |
5721 | $as_echo "no" >&6; } | 5959 | sed 's/^/| /' conftest.$ac_ext >&5 |
5960 | |||
5961 | { echo "$as_me:$LINENO: result: no" >&5 | ||
5962 | echo "${ECHO_T}no" >&6; } | ||
5722 | CFLAGS="$saved_CFLAGS" | 5963 | CFLAGS="$saved_CFLAGS" |
5723 | 5964 | ||
5724 | fi | 5965 | fi |
5966 | |||
5725 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5967 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5726 | } | 5968 | } |
5727 | { | 5969 | { |
5728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wall" >&5 | 5970 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wall" >&5 |
5729 | $as_echo_n "checking if $CC supports compile flag -Wall... " >&6; } | 5971 | echo $ECHO_N "checking if $CC supports compile flag -Wall... $ECHO_C" >&6; } |
5730 | saved_CFLAGS="$CFLAGS" | 5972 | saved_CFLAGS="$CFLAGS" |
5731 | CFLAGS="$CFLAGS $WERROR -Wall" | 5973 | CFLAGS="$CFLAGS $WERROR -Wall" |
5732 | _define_flag="" | 5974 | _define_flag="" |
5733 | test "x$_define_flag" = "x" && _define_flag="-Wall" | 5975 | test "x$_define_flag" = "x" && _define_flag="-Wall" |
5734 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5976 | cat >conftest.$ac_ext <<_ACEOF |
5977 | /* confdefs.h. */ | ||
5978 | _ACEOF | ||
5979 | cat confdefs.h >>conftest.$ac_ext | ||
5980 | cat >>conftest.$ac_ext <<_ACEOF | ||
5735 | /* end confdefs.h. */ | 5981 | /* end confdefs.h. */ |
5736 | 5982 | ||
5737 | #include <stdlib.h> | 5983 | #include <stdlib.h> |
@@ -5747,34 +5993,58 @@ int main(int argc, char **argv) { | |||
5747 | } | 5993 | } |
5748 | 5994 | ||
5749 | _ACEOF | 5995 | _ACEOF |
5750 | if ac_fn_c_try_compile "$LINENO"; then : | 5996 | rm -f conftest.$ac_objext |
5997 | if { (ac_try="$ac_compile" | ||
5998 | case "(($ac_try" in | ||
5999 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6000 | *) ac_try_echo=$ac_try;; | ||
6001 | esac | ||
6002 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6003 | (eval "$ac_compile") 2>conftest.er1 | ||
6004 | ac_status=$? | ||
6005 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6006 | rm -f conftest.er1 | ||
6007 | cat conftest.err >&5 | ||
6008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6009 | (exit $ac_status); } && { | ||
6010 | test -z "$ac_c_werror_flag" || | ||
6011 | test ! -s conftest.err | ||
6012 | } && test -s conftest.$ac_objext; then | ||
5751 | 6013 | ||
5752 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6014 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5753 | then | 6015 | then |
5754 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6016 | { echo "$as_me:$LINENO: result: no" >&5 |
5755 | $as_echo "no" >&6; } | 6017 | echo "${ECHO_T}no" >&6; } |
5756 | CFLAGS="$saved_CFLAGS" | 6018 | CFLAGS="$saved_CFLAGS" |
5757 | else | 6019 | else |
5758 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6020 | { echo "$as_me:$LINENO: result: yes" >&5 |
5759 | $as_echo "yes" >&6; } | 6021 | echo "${ECHO_T}yes" >&6; } |
5760 | CFLAGS="$saved_CFLAGS $_define_flag" | 6022 | CFLAGS="$saved_CFLAGS $_define_flag" |
5761 | fi | 6023 | fi |
5762 | else | 6024 | else |
5763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6025 | echo "$as_me: failed program was:" >&5 |
5764 | $as_echo "no" >&6; } | 6026 | sed 's/^/| /' conftest.$ac_ext >&5 |
6027 | |||
6028 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6029 | echo "${ECHO_T}no" >&6; } | ||
5765 | CFLAGS="$saved_CFLAGS" | 6030 | CFLAGS="$saved_CFLAGS" |
5766 | 6031 | ||
5767 | fi | 6032 | fi |
6033 | |||
5768 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6034 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5769 | } | 6035 | } |
5770 | { | 6036 | { |
5771 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wpointer-arith" >&5 | 6037 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wpointer-arith" >&5 |
5772 | $as_echo_n "checking if $CC supports compile flag -Wpointer-arith... " >&6; } | 6038 | echo $ECHO_N "checking if $CC supports compile flag -Wpointer-arith... $ECHO_C" >&6; } |
5773 | saved_CFLAGS="$CFLAGS" | 6039 | saved_CFLAGS="$CFLAGS" |
5774 | CFLAGS="$CFLAGS $WERROR -Wpointer-arith" | 6040 | CFLAGS="$CFLAGS $WERROR -Wpointer-arith" |
5775 | _define_flag="" | 6041 | _define_flag="" |
5776 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-arith" | 6042 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-arith" |
5777 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6043 | cat >conftest.$ac_ext <<_ACEOF |
6044 | /* confdefs.h. */ | ||
6045 | _ACEOF | ||
6046 | cat confdefs.h >>conftest.$ac_ext | ||
6047 | cat >>conftest.$ac_ext <<_ACEOF | ||
5778 | /* end confdefs.h. */ | 6048 | /* end confdefs.h. */ |
5779 | 6049 | ||
5780 | #include <stdlib.h> | 6050 | #include <stdlib.h> |
@@ -5790,34 +6060,58 @@ int main(int argc, char **argv) { | |||
5790 | } | 6060 | } |
5791 | 6061 | ||
5792 | _ACEOF | 6062 | _ACEOF |
5793 | if ac_fn_c_try_compile "$LINENO"; then : | 6063 | rm -f conftest.$ac_objext |
6064 | if { (ac_try="$ac_compile" | ||
6065 | case "(($ac_try" in | ||
6066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6067 | *) ac_try_echo=$ac_try;; | ||
6068 | esac | ||
6069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6070 | (eval "$ac_compile") 2>conftest.er1 | ||
6071 | ac_status=$? | ||
6072 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6073 | rm -f conftest.er1 | ||
6074 | cat conftest.err >&5 | ||
6075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6076 | (exit $ac_status); } && { | ||
6077 | test -z "$ac_c_werror_flag" || | ||
6078 | test ! -s conftest.err | ||
6079 | } && test -s conftest.$ac_objext; then | ||
5794 | 6080 | ||
5795 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6081 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5796 | then | 6082 | then |
5797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6083 | { echo "$as_me:$LINENO: result: no" >&5 |
5798 | $as_echo "no" >&6; } | 6084 | echo "${ECHO_T}no" >&6; } |
5799 | CFLAGS="$saved_CFLAGS" | 6085 | CFLAGS="$saved_CFLAGS" |
5800 | else | 6086 | else |
5801 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6087 | { echo "$as_me:$LINENO: result: yes" >&5 |
5802 | $as_echo "yes" >&6; } | 6088 | echo "${ECHO_T}yes" >&6; } |
5803 | CFLAGS="$saved_CFLAGS $_define_flag" | 6089 | CFLAGS="$saved_CFLAGS $_define_flag" |
5804 | fi | 6090 | fi |
5805 | else | 6091 | else |
5806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6092 | echo "$as_me: failed program was:" >&5 |
5807 | $as_echo "no" >&6; } | 6093 | sed 's/^/| /' conftest.$ac_ext >&5 |
6094 | |||
6095 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6096 | echo "${ECHO_T}no" >&6; } | ||
5808 | CFLAGS="$saved_CFLAGS" | 6097 | CFLAGS="$saved_CFLAGS" |
5809 | 6098 | ||
5810 | fi | 6099 | fi |
6100 | |||
5811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6101 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5812 | } | 6102 | } |
5813 | { | 6103 | { |
5814 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wuninitialized" >&5 | 6104 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wuninitialized" >&5 |
5815 | $as_echo_n "checking if $CC supports compile flag -Wuninitialized... " >&6; } | 6105 | echo $ECHO_N "checking if $CC supports compile flag -Wuninitialized... $ECHO_C" >&6; } |
5816 | saved_CFLAGS="$CFLAGS" | 6106 | saved_CFLAGS="$CFLAGS" |
5817 | CFLAGS="$CFLAGS $WERROR -Wuninitialized" | 6107 | CFLAGS="$CFLAGS $WERROR -Wuninitialized" |
5818 | _define_flag="" | 6108 | _define_flag="" |
5819 | test "x$_define_flag" = "x" && _define_flag="-Wuninitialized" | 6109 | test "x$_define_flag" = "x" && _define_flag="-Wuninitialized" |
5820 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6110 | cat >conftest.$ac_ext <<_ACEOF |
6111 | /* confdefs.h. */ | ||
6112 | _ACEOF | ||
6113 | cat confdefs.h >>conftest.$ac_ext | ||
6114 | cat >>conftest.$ac_ext <<_ACEOF | ||
5821 | /* end confdefs.h. */ | 6115 | /* end confdefs.h. */ |
5822 | 6116 | ||
5823 | #include <stdlib.h> | 6117 | #include <stdlib.h> |
@@ -5833,34 +6127,58 @@ int main(int argc, char **argv) { | |||
5833 | } | 6127 | } |
5834 | 6128 | ||
5835 | _ACEOF | 6129 | _ACEOF |
5836 | if ac_fn_c_try_compile "$LINENO"; then : | 6130 | rm -f conftest.$ac_objext |
6131 | if { (ac_try="$ac_compile" | ||
6132 | case "(($ac_try" in | ||
6133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6134 | *) ac_try_echo=$ac_try;; | ||
6135 | esac | ||
6136 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6137 | (eval "$ac_compile") 2>conftest.er1 | ||
6138 | ac_status=$? | ||
6139 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6140 | rm -f conftest.er1 | ||
6141 | cat conftest.err >&5 | ||
6142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6143 | (exit $ac_status); } && { | ||
6144 | test -z "$ac_c_werror_flag" || | ||
6145 | test ! -s conftest.err | ||
6146 | } && test -s conftest.$ac_objext; then | ||
5837 | 6147 | ||
5838 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6148 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5839 | then | 6149 | then |
5840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6150 | { echo "$as_me:$LINENO: result: no" >&5 |
5841 | $as_echo "no" >&6; } | 6151 | echo "${ECHO_T}no" >&6; } |
5842 | CFLAGS="$saved_CFLAGS" | 6152 | CFLAGS="$saved_CFLAGS" |
5843 | else | 6153 | else |
5844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6154 | { echo "$as_me:$LINENO: result: yes" >&5 |
5845 | $as_echo "yes" >&6; } | 6155 | echo "${ECHO_T}yes" >&6; } |
5846 | CFLAGS="$saved_CFLAGS $_define_flag" | 6156 | CFLAGS="$saved_CFLAGS $_define_flag" |
5847 | fi | 6157 | fi |
5848 | else | 6158 | else |
5849 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6159 | echo "$as_me: failed program was:" >&5 |
5850 | $as_echo "no" >&6; } | 6160 | sed 's/^/| /' conftest.$ac_ext >&5 |
6161 | |||
6162 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6163 | echo "${ECHO_T}no" >&6; } | ||
5851 | CFLAGS="$saved_CFLAGS" | 6164 | CFLAGS="$saved_CFLAGS" |
5852 | 6165 | ||
5853 | fi | 6166 | fi |
6167 | |||
5854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6168 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5855 | } | 6169 | } |
5856 | { | 6170 | { |
5857 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wsign-compare" >&5 | 6171 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wsign-compare" >&5 |
5858 | $as_echo_n "checking if $CC supports compile flag -Wsign-compare... " >&6; } | 6172 | echo $ECHO_N "checking if $CC supports compile flag -Wsign-compare... $ECHO_C" >&6; } |
5859 | saved_CFLAGS="$CFLAGS" | 6173 | saved_CFLAGS="$CFLAGS" |
5860 | CFLAGS="$CFLAGS $WERROR -Wsign-compare" | 6174 | CFLAGS="$CFLAGS $WERROR -Wsign-compare" |
5861 | _define_flag="" | 6175 | _define_flag="" |
5862 | test "x$_define_flag" = "x" && _define_flag="-Wsign-compare" | 6176 | test "x$_define_flag" = "x" && _define_flag="-Wsign-compare" |
5863 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6177 | cat >conftest.$ac_ext <<_ACEOF |
6178 | /* confdefs.h. */ | ||
6179 | _ACEOF | ||
6180 | cat confdefs.h >>conftest.$ac_ext | ||
6181 | cat >>conftest.$ac_ext <<_ACEOF | ||
5864 | /* end confdefs.h. */ | 6182 | /* end confdefs.h. */ |
5865 | 6183 | ||
5866 | #include <stdlib.h> | 6184 | #include <stdlib.h> |
@@ -5876,34 +6194,58 @@ int main(int argc, char **argv) { | |||
5876 | } | 6194 | } |
5877 | 6195 | ||
5878 | _ACEOF | 6196 | _ACEOF |
5879 | if ac_fn_c_try_compile "$LINENO"; then : | 6197 | rm -f conftest.$ac_objext |
6198 | if { (ac_try="$ac_compile" | ||
6199 | case "(($ac_try" in | ||
6200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6201 | *) ac_try_echo=$ac_try;; | ||
6202 | esac | ||
6203 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6204 | (eval "$ac_compile") 2>conftest.er1 | ||
6205 | ac_status=$? | ||
6206 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6207 | rm -f conftest.er1 | ||
6208 | cat conftest.err >&5 | ||
6209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6210 | (exit $ac_status); } && { | ||
6211 | test -z "$ac_c_werror_flag" || | ||
6212 | test ! -s conftest.err | ||
6213 | } && test -s conftest.$ac_objext; then | ||
5880 | 6214 | ||
5881 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6215 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5882 | then | 6216 | then |
5883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6217 | { echo "$as_me:$LINENO: result: no" >&5 |
5884 | $as_echo "no" >&6; } | 6218 | echo "${ECHO_T}no" >&6; } |
5885 | CFLAGS="$saved_CFLAGS" | 6219 | CFLAGS="$saved_CFLAGS" |
5886 | else | 6220 | else |
5887 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6221 | { echo "$as_me:$LINENO: result: yes" >&5 |
5888 | $as_echo "yes" >&6; } | 6222 | echo "${ECHO_T}yes" >&6; } |
5889 | CFLAGS="$saved_CFLAGS $_define_flag" | 6223 | CFLAGS="$saved_CFLAGS $_define_flag" |
5890 | fi | 6224 | fi |
5891 | else | 6225 | else |
5892 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6226 | echo "$as_me: failed program was:" >&5 |
5893 | $as_echo "no" >&6; } | 6227 | sed 's/^/| /' conftest.$ac_ext >&5 |
6228 | |||
6229 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6230 | echo "${ECHO_T}no" >&6; } | ||
5894 | CFLAGS="$saved_CFLAGS" | 6231 | CFLAGS="$saved_CFLAGS" |
5895 | 6232 | ||
5896 | fi | 6233 | fi |
6234 | |||
5897 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6235 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5898 | } | 6236 | } |
5899 | { | 6237 | { |
5900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wformat-security" >&5 | 6238 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wformat-security" >&5 |
5901 | $as_echo_n "checking if $CC supports compile flag -Wformat-security... " >&6; } | 6239 | echo $ECHO_N "checking if $CC supports compile flag -Wformat-security... $ECHO_C" >&6; } |
5902 | saved_CFLAGS="$CFLAGS" | 6240 | saved_CFLAGS="$CFLAGS" |
5903 | CFLAGS="$CFLAGS $WERROR -Wformat-security" | 6241 | CFLAGS="$CFLAGS $WERROR -Wformat-security" |
5904 | _define_flag="" | 6242 | _define_flag="" |
5905 | test "x$_define_flag" = "x" && _define_flag="-Wformat-security" | 6243 | test "x$_define_flag" = "x" && _define_flag="-Wformat-security" |
5906 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6244 | cat >conftest.$ac_ext <<_ACEOF |
6245 | /* confdefs.h. */ | ||
6246 | _ACEOF | ||
6247 | cat confdefs.h >>conftest.$ac_ext | ||
6248 | cat >>conftest.$ac_ext <<_ACEOF | ||
5907 | /* end confdefs.h. */ | 6249 | /* end confdefs.h. */ |
5908 | 6250 | ||
5909 | #include <stdlib.h> | 6251 | #include <stdlib.h> |
@@ -5919,34 +6261,58 @@ int main(int argc, char **argv) { | |||
5919 | } | 6261 | } |
5920 | 6262 | ||
5921 | _ACEOF | 6263 | _ACEOF |
5922 | if ac_fn_c_try_compile "$LINENO"; then : | 6264 | rm -f conftest.$ac_objext |
6265 | if { (ac_try="$ac_compile" | ||
6266 | case "(($ac_try" in | ||
6267 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6268 | *) ac_try_echo=$ac_try;; | ||
6269 | esac | ||
6270 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6271 | (eval "$ac_compile") 2>conftest.er1 | ||
6272 | ac_status=$? | ||
6273 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6274 | rm -f conftest.er1 | ||
6275 | cat conftest.err >&5 | ||
6276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6277 | (exit $ac_status); } && { | ||
6278 | test -z "$ac_c_werror_flag" || | ||
6279 | test ! -s conftest.err | ||
6280 | } && test -s conftest.$ac_objext; then | ||
5923 | 6281 | ||
5924 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6282 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5925 | then | 6283 | then |
5926 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6284 | { echo "$as_me:$LINENO: result: no" >&5 |
5927 | $as_echo "no" >&6; } | 6285 | echo "${ECHO_T}no" >&6; } |
5928 | CFLAGS="$saved_CFLAGS" | 6286 | CFLAGS="$saved_CFLAGS" |
5929 | else | 6287 | else |
5930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6288 | { echo "$as_me:$LINENO: result: yes" >&5 |
5931 | $as_echo "yes" >&6; } | 6289 | echo "${ECHO_T}yes" >&6; } |
5932 | CFLAGS="$saved_CFLAGS $_define_flag" | 6290 | CFLAGS="$saved_CFLAGS $_define_flag" |
5933 | fi | 6291 | fi |
5934 | else | 6292 | else |
5935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6293 | echo "$as_me: failed program was:" >&5 |
5936 | $as_echo "no" >&6; } | 6294 | sed 's/^/| /' conftest.$ac_ext >&5 |
6295 | |||
6296 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6297 | echo "${ECHO_T}no" >&6; } | ||
5937 | CFLAGS="$saved_CFLAGS" | 6298 | CFLAGS="$saved_CFLAGS" |
5938 | 6299 | ||
5939 | fi | 6300 | fi |
6301 | |||
5940 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6302 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5941 | } | 6303 | } |
5942 | { | 6304 | { |
5943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wsizeof-pointer-memaccess" >&5 | 6305 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wsizeof-pointer-memaccess" >&5 |
5944 | $as_echo_n "checking if $CC supports compile flag -Wsizeof-pointer-memaccess... " >&6; } | 6306 | echo $ECHO_N "checking if $CC supports compile flag -Wsizeof-pointer-memaccess... $ECHO_C" >&6; } |
5945 | saved_CFLAGS="$CFLAGS" | 6307 | saved_CFLAGS="$CFLAGS" |
5946 | CFLAGS="$CFLAGS $WERROR -Wsizeof-pointer-memaccess" | 6308 | CFLAGS="$CFLAGS $WERROR -Wsizeof-pointer-memaccess" |
5947 | _define_flag="" | 6309 | _define_flag="" |
5948 | test "x$_define_flag" = "x" && _define_flag="-Wsizeof-pointer-memaccess" | 6310 | test "x$_define_flag" = "x" && _define_flag="-Wsizeof-pointer-memaccess" |
5949 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6311 | cat >conftest.$ac_ext <<_ACEOF |
6312 | /* confdefs.h. */ | ||
6313 | _ACEOF | ||
6314 | cat confdefs.h >>conftest.$ac_ext | ||
6315 | cat >>conftest.$ac_ext <<_ACEOF | ||
5950 | /* end confdefs.h. */ | 6316 | /* end confdefs.h. */ |
5951 | 6317 | ||
5952 | #include <stdlib.h> | 6318 | #include <stdlib.h> |
@@ -5962,34 +6328,58 @@ int main(int argc, char **argv) { | |||
5962 | } | 6328 | } |
5963 | 6329 | ||
5964 | _ACEOF | 6330 | _ACEOF |
5965 | if ac_fn_c_try_compile "$LINENO"; then : | 6331 | rm -f conftest.$ac_objext |
6332 | if { (ac_try="$ac_compile" | ||
6333 | case "(($ac_try" in | ||
6334 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6335 | *) ac_try_echo=$ac_try;; | ||
6336 | esac | ||
6337 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6338 | (eval "$ac_compile") 2>conftest.er1 | ||
6339 | ac_status=$? | ||
6340 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6341 | rm -f conftest.er1 | ||
6342 | cat conftest.err >&5 | ||
6343 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6344 | (exit $ac_status); } && { | ||
6345 | test -z "$ac_c_werror_flag" || | ||
6346 | test ! -s conftest.err | ||
6347 | } && test -s conftest.$ac_objext; then | ||
5966 | 6348 | ||
5967 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6349 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
5968 | then | 6350 | then |
5969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6351 | { echo "$as_me:$LINENO: result: no" >&5 |
5970 | $as_echo "no" >&6; } | 6352 | echo "${ECHO_T}no" >&6; } |
5971 | CFLAGS="$saved_CFLAGS" | 6353 | CFLAGS="$saved_CFLAGS" |
5972 | else | 6354 | else |
5973 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6355 | { echo "$as_me:$LINENO: result: yes" >&5 |
5974 | $as_echo "yes" >&6; } | 6356 | echo "${ECHO_T}yes" >&6; } |
5975 | CFLAGS="$saved_CFLAGS $_define_flag" | 6357 | CFLAGS="$saved_CFLAGS $_define_flag" |
5976 | fi | 6358 | fi |
5977 | else | 6359 | else |
5978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6360 | echo "$as_me: failed program was:" >&5 |
5979 | $as_echo "no" >&6; } | 6361 | sed 's/^/| /' conftest.$ac_ext >&5 |
6362 | |||
6363 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6364 | echo "${ECHO_T}no" >&6; } | ||
5980 | CFLAGS="$saved_CFLAGS" | 6365 | CFLAGS="$saved_CFLAGS" |
5981 | 6366 | ||
5982 | fi | 6367 | fi |
6368 | |||
5983 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6369 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5984 | } | 6370 | } |
5985 | { | 6371 | { |
5986 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wpointer-sign" >&5 | 6372 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wpointer-sign" >&5 |
5987 | $as_echo_n "checking if $CC supports compile flag -Wpointer-sign... " >&6; } | 6373 | echo $ECHO_N "checking if $CC supports compile flag -Wpointer-sign... $ECHO_C" >&6; } |
5988 | saved_CFLAGS="$CFLAGS" | 6374 | saved_CFLAGS="$CFLAGS" |
5989 | CFLAGS="$CFLAGS $WERROR -Wpointer-sign" | 6375 | CFLAGS="$CFLAGS $WERROR -Wpointer-sign" |
5990 | _define_flag="-Wno-pointer-sign" | 6376 | _define_flag="-Wno-pointer-sign" |
5991 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-sign" | 6377 | test "x$_define_flag" = "x" && _define_flag="-Wpointer-sign" |
5992 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6378 | cat >conftest.$ac_ext <<_ACEOF |
6379 | /* confdefs.h. */ | ||
6380 | _ACEOF | ||
6381 | cat confdefs.h >>conftest.$ac_ext | ||
6382 | cat >>conftest.$ac_ext <<_ACEOF | ||
5993 | /* end confdefs.h. */ | 6383 | /* end confdefs.h. */ |
5994 | 6384 | ||
5995 | #include <stdlib.h> | 6385 | #include <stdlib.h> |
@@ -6005,34 +6395,58 @@ int main(int argc, char **argv) { | |||
6005 | } | 6395 | } |
6006 | 6396 | ||
6007 | _ACEOF | 6397 | _ACEOF |
6008 | if ac_fn_c_try_compile "$LINENO"; then : | 6398 | rm -f conftest.$ac_objext |
6399 | if { (ac_try="$ac_compile" | ||
6400 | case "(($ac_try" in | ||
6401 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6402 | *) ac_try_echo=$ac_try;; | ||
6403 | esac | ||
6404 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6405 | (eval "$ac_compile") 2>conftest.er1 | ||
6406 | ac_status=$? | ||
6407 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6408 | rm -f conftest.er1 | ||
6409 | cat conftest.err >&5 | ||
6410 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6411 | (exit $ac_status); } && { | ||
6412 | test -z "$ac_c_werror_flag" || | ||
6413 | test ! -s conftest.err | ||
6414 | } && test -s conftest.$ac_objext; then | ||
6009 | 6415 | ||
6010 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6416 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6011 | then | 6417 | then |
6012 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6418 | { echo "$as_me:$LINENO: result: no" >&5 |
6013 | $as_echo "no" >&6; } | 6419 | echo "${ECHO_T}no" >&6; } |
6014 | CFLAGS="$saved_CFLAGS" | 6420 | CFLAGS="$saved_CFLAGS" |
6015 | else | 6421 | else |
6016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6422 | { echo "$as_me:$LINENO: result: yes" >&5 |
6017 | $as_echo "yes" >&6; } | 6423 | echo "${ECHO_T}yes" >&6; } |
6018 | CFLAGS="$saved_CFLAGS $_define_flag" | 6424 | CFLAGS="$saved_CFLAGS $_define_flag" |
6019 | fi | 6425 | fi |
6020 | else | 6426 | else |
6021 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6427 | echo "$as_me: failed program was:" >&5 |
6022 | $as_echo "no" >&6; } | 6428 | sed 's/^/| /' conftest.$ac_ext >&5 |
6429 | |||
6430 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6431 | echo "${ECHO_T}no" >&6; } | ||
6023 | CFLAGS="$saved_CFLAGS" | 6432 | CFLAGS="$saved_CFLAGS" |
6024 | 6433 | ||
6025 | fi | 6434 | fi |
6435 | |||
6026 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6436 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6027 | } | 6437 | } |
6028 | { | 6438 | { |
6029 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wunused-result" >&5 | 6439 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wunused-result" >&5 |
6030 | $as_echo_n "checking if $CC supports compile flag -Wunused-result... " >&6; } | 6440 | echo $ECHO_N "checking if $CC supports compile flag -Wunused-result... $ECHO_C" >&6; } |
6031 | saved_CFLAGS="$CFLAGS" | 6441 | saved_CFLAGS="$CFLAGS" |
6032 | CFLAGS="$CFLAGS $WERROR -Wunused-result" | 6442 | CFLAGS="$CFLAGS $WERROR -Wunused-result" |
6033 | _define_flag="-Wno-unused-result" | 6443 | _define_flag="-Wno-unused-result" |
6034 | test "x$_define_flag" = "x" && _define_flag="-Wunused-result" | 6444 | test "x$_define_flag" = "x" && _define_flag="-Wunused-result" |
6035 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6445 | cat >conftest.$ac_ext <<_ACEOF |
6446 | /* confdefs.h. */ | ||
6447 | _ACEOF | ||
6448 | cat confdefs.h >>conftest.$ac_ext | ||
6449 | cat >>conftest.$ac_ext <<_ACEOF | ||
6036 | /* end confdefs.h. */ | 6450 | /* end confdefs.h. */ |
6037 | 6451 | ||
6038 | #include <stdlib.h> | 6452 | #include <stdlib.h> |
@@ -6048,34 +6462,58 @@ int main(int argc, char **argv) { | |||
6048 | } | 6462 | } |
6049 | 6463 | ||
6050 | _ACEOF | 6464 | _ACEOF |
6051 | if ac_fn_c_try_compile "$LINENO"; then : | 6465 | rm -f conftest.$ac_objext |
6466 | if { (ac_try="$ac_compile" | ||
6467 | case "(($ac_try" in | ||
6468 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6469 | *) ac_try_echo=$ac_try;; | ||
6470 | esac | ||
6471 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6472 | (eval "$ac_compile") 2>conftest.er1 | ||
6473 | ac_status=$? | ||
6474 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6475 | rm -f conftest.er1 | ||
6476 | cat conftest.err >&5 | ||
6477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6478 | (exit $ac_status); } && { | ||
6479 | test -z "$ac_c_werror_flag" || | ||
6480 | test ! -s conftest.err | ||
6481 | } && test -s conftest.$ac_objext; then | ||
6052 | 6482 | ||
6053 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6483 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6054 | then | 6484 | then |
6055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6485 | { echo "$as_me:$LINENO: result: no" >&5 |
6056 | $as_echo "no" >&6; } | 6486 | echo "${ECHO_T}no" >&6; } |
6057 | CFLAGS="$saved_CFLAGS" | 6487 | CFLAGS="$saved_CFLAGS" |
6058 | else | 6488 | else |
6059 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6489 | { echo "$as_me:$LINENO: result: yes" >&5 |
6060 | $as_echo "yes" >&6; } | 6490 | echo "${ECHO_T}yes" >&6; } |
6061 | CFLAGS="$saved_CFLAGS $_define_flag" | 6491 | CFLAGS="$saved_CFLAGS $_define_flag" |
6062 | fi | 6492 | fi |
6063 | else | 6493 | else |
6064 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6494 | echo "$as_me: failed program was:" >&5 |
6065 | $as_echo "no" >&6; } | 6495 | sed 's/^/| /' conftest.$ac_ext >&5 |
6496 | |||
6497 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6498 | echo "${ECHO_T}no" >&6; } | ||
6066 | CFLAGS="$saved_CFLAGS" | 6499 | CFLAGS="$saved_CFLAGS" |
6067 | 6500 | ||
6068 | fi | 6501 | fi |
6502 | |||
6069 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6503 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6070 | } | 6504 | } |
6071 | { | 6505 | { |
6072 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -fno-strict-aliasing" >&5 | 6506 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -fno-strict-aliasing" >&5 |
6073 | $as_echo_n "checking if $CC supports compile flag -fno-strict-aliasing... " >&6; } | 6507 | echo $ECHO_N "checking if $CC supports compile flag -fno-strict-aliasing... $ECHO_C" >&6; } |
6074 | saved_CFLAGS="$CFLAGS" | 6508 | saved_CFLAGS="$CFLAGS" |
6075 | CFLAGS="$CFLAGS $WERROR -fno-strict-aliasing" | 6509 | CFLAGS="$CFLAGS $WERROR -fno-strict-aliasing" |
6076 | _define_flag="" | 6510 | _define_flag="" |
6077 | test "x$_define_flag" = "x" && _define_flag="-fno-strict-aliasing" | 6511 | test "x$_define_flag" = "x" && _define_flag="-fno-strict-aliasing" |
6078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6512 | cat >conftest.$ac_ext <<_ACEOF |
6513 | /* confdefs.h. */ | ||
6514 | _ACEOF | ||
6515 | cat confdefs.h >>conftest.$ac_ext | ||
6516 | cat >>conftest.$ac_ext <<_ACEOF | ||
6079 | /* end confdefs.h. */ | 6517 | /* end confdefs.h. */ |
6080 | 6518 | ||
6081 | #include <stdlib.h> | 6519 | #include <stdlib.h> |
@@ -6091,34 +6529,58 @@ int main(int argc, char **argv) { | |||
6091 | } | 6529 | } |
6092 | 6530 | ||
6093 | _ACEOF | 6531 | _ACEOF |
6094 | if ac_fn_c_try_compile "$LINENO"; then : | 6532 | rm -f conftest.$ac_objext |
6533 | if { (ac_try="$ac_compile" | ||
6534 | case "(($ac_try" in | ||
6535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6536 | *) ac_try_echo=$ac_try;; | ||
6537 | esac | ||
6538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6539 | (eval "$ac_compile") 2>conftest.er1 | ||
6540 | ac_status=$? | ||
6541 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6542 | rm -f conftest.er1 | ||
6543 | cat conftest.err >&5 | ||
6544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6545 | (exit $ac_status); } && { | ||
6546 | test -z "$ac_c_werror_flag" || | ||
6547 | test ! -s conftest.err | ||
6548 | } && test -s conftest.$ac_objext; then | ||
6095 | 6549 | ||
6096 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6550 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6097 | then | 6551 | then |
6098 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6552 | { echo "$as_me:$LINENO: result: no" >&5 |
6099 | $as_echo "no" >&6; } | 6553 | echo "${ECHO_T}no" >&6; } |
6100 | CFLAGS="$saved_CFLAGS" | 6554 | CFLAGS="$saved_CFLAGS" |
6101 | else | 6555 | else |
6102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6556 | { echo "$as_me:$LINENO: result: yes" >&5 |
6103 | $as_echo "yes" >&6; } | 6557 | echo "${ECHO_T}yes" >&6; } |
6104 | CFLAGS="$saved_CFLAGS $_define_flag" | 6558 | CFLAGS="$saved_CFLAGS $_define_flag" |
6105 | fi | 6559 | fi |
6106 | else | 6560 | else |
6107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6561 | echo "$as_me: failed program was:" >&5 |
6108 | $as_echo "no" >&6; } | 6562 | sed 's/^/| /' conftest.$ac_ext >&5 |
6563 | |||
6564 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6565 | echo "${ECHO_T}no" >&6; } | ||
6109 | CFLAGS="$saved_CFLAGS" | 6566 | CFLAGS="$saved_CFLAGS" |
6110 | 6567 | ||
6111 | fi | 6568 | fi |
6569 | |||
6112 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6570 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6113 | } | 6571 | } |
6114 | { | 6572 | { |
6115 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -D_FORTIFY_SOURCE=2" >&5 | 6573 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -D_FORTIFY_SOURCE=2" >&5 |
6116 | $as_echo_n "checking if $CC supports compile flag -D_FORTIFY_SOURCE=2... " >&6; } | 6574 | echo $ECHO_N "checking if $CC supports compile flag -D_FORTIFY_SOURCE=2... $ECHO_C" >&6; } |
6117 | saved_CFLAGS="$CFLAGS" | 6575 | saved_CFLAGS="$CFLAGS" |
6118 | CFLAGS="$CFLAGS $WERROR -D_FORTIFY_SOURCE=2" | 6576 | CFLAGS="$CFLAGS $WERROR -D_FORTIFY_SOURCE=2" |
6119 | _define_flag="" | 6577 | _define_flag="" |
6120 | test "x$_define_flag" = "x" && _define_flag="-D_FORTIFY_SOURCE=2" | 6578 | test "x$_define_flag" = "x" && _define_flag="-D_FORTIFY_SOURCE=2" |
6121 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6579 | cat >conftest.$ac_ext <<_ACEOF |
6580 | /* confdefs.h. */ | ||
6581 | _ACEOF | ||
6582 | cat confdefs.h >>conftest.$ac_ext | ||
6583 | cat >>conftest.$ac_ext <<_ACEOF | ||
6122 | /* end confdefs.h. */ | 6584 | /* end confdefs.h. */ |
6123 | 6585 | ||
6124 | #include <stdlib.h> | 6586 | #include <stdlib.h> |
@@ -6134,35 +6596,59 @@ int main(int argc, char **argv) { | |||
6134 | } | 6596 | } |
6135 | 6597 | ||
6136 | _ACEOF | 6598 | _ACEOF |
6137 | if ac_fn_c_try_compile "$LINENO"; then : | 6599 | rm -f conftest.$ac_objext |
6600 | if { (ac_try="$ac_compile" | ||
6601 | case "(($ac_try" in | ||
6602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6603 | *) ac_try_echo=$ac_try;; | ||
6604 | esac | ||
6605 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6606 | (eval "$ac_compile") 2>conftest.er1 | ||
6607 | ac_status=$? | ||
6608 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6609 | rm -f conftest.er1 | ||
6610 | cat conftest.err >&5 | ||
6611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6612 | (exit $ac_status); } && { | ||
6613 | test -z "$ac_c_werror_flag" || | ||
6614 | test ! -s conftest.err | ||
6615 | } && test -s conftest.$ac_objext; then | ||
6138 | 6616 | ||
6139 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6617 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6140 | then | 6618 | then |
6141 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6619 | { echo "$as_me:$LINENO: result: no" >&5 |
6142 | $as_echo "no" >&6; } | 6620 | echo "${ECHO_T}no" >&6; } |
6143 | CFLAGS="$saved_CFLAGS" | 6621 | CFLAGS="$saved_CFLAGS" |
6144 | else | 6622 | else |
6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6623 | { echo "$as_me:$LINENO: result: yes" >&5 |
6146 | $as_echo "yes" >&6; } | 6624 | echo "${ECHO_T}yes" >&6; } |
6147 | CFLAGS="$saved_CFLAGS $_define_flag" | 6625 | CFLAGS="$saved_CFLAGS $_define_flag" |
6148 | fi | 6626 | fi |
6149 | else | 6627 | else |
6150 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6628 | echo "$as_me: failed program was:" >&5 |
6151 | $as_echo "no" >&6; } | 6629 | sed 's/^/| /' conftest.$ac_ext >&5 |
6630 | |||
6631 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6632 | echo "${ECHO_T}no" >&6; } | ||
6152 | CFLAGS="$saved_CFLAGS" | 6633 | CFLAGS="$saved_CFLAGS" |
6153 | 6634 | ||
6154 | fi | 6635 | fi |
6636 | |||
6155 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6637 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6156 | } | 6638 | } |
6157 | if test "x$use_toolchain_hardening" = "x1"; then | 6639 | if test "x$use_toolchain_hardening" = "x1"; then |
6158 | { | 6640 | { |
6159 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -Wl,-z,relro" >&5 | 6641 | { echo "$as_me:$LINENO: checking if $LD supports link flag -Wl,-z,relro" >&5 |
6160 | $as_echo_n "checking if $LD supports link flag -Wl,-z,relro... " >&6; } | 6642 | echo $ECHO_N "checking if $LD supports link flag -Wl,-z,relro... $ECHO_C" >&6; } |
6161 | saved_LDFLAGS="$LDFLAGS" | 6643 | saved_LDFLAGS="$LDFLAGS" |
6162 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,relro" | 6644 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,relro" |
6163 | _define_flag="" | 6645 | _define_flag="" |
6164 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,relro" | 6646 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,relro" |
6165 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6647 | cat >conftest.$ac_ext <<_ACEOF |
6648 | /* confdefs.h. */ | ||
6649 | _ACEOF | ||
6650 | cat confdefs.h >>conftest.$ac_ext | ||
6651 | cat >>conftest.$ac_ext <<_ACEOF | ||
6166 | /* end confdefs.h. */ | 6652 | /* end confdefs.h. */ |
6167 | 6653 | ||
6168 | #include <stdlib.h> | 6654 | #include <stdlib.h> |
@@ -6178,27 +6664,52 @@ int main(int argc, char **argv) { | |||
6178 | } | 6664 | } |
6179 | 6665 | ||
6180 | _ACEOF | 6666 | _ACEOF |
6181 | if ac_fn_c_try_link "$LINENO"; then : | 6667 | rm -f conftest.$ac_objext conftest$ac_exeext |
6182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6668 | if { (ac_try="$ac_link" |
6183 | $as_echo "yes" >&6; } | 6669 | case "(($ac_try" in |
6670 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6671 | *) ac_try_echo=$ac_try;; | ||
6672 | esac | ||
6673 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6674 | (eval "$ac_link") 2>conftest.er1 | ||
6675 | ac_status=$? | ||
6676 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6677 | rm -f conftest.er1 | ||
6678 | cat conftest.err >&5 | ||
6679 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6680 | (exit $ac_status); } && { | ||
6681 | test -z "$ac_c_werror_flag" || | ||
6682 | test ! -s conftest.err | ||
6683 | } && test -s conftest$ac_exeext && | ||
6684 | $as_test_x conftest$ac_exeext; then | ||
6685 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6686 | echo "${ECHO_T}yes" >&6; } | ||
6184 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6687 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6185 | else | 6688 | else |
6186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6689 | echo "$as_me: failed program was:" >&5 |
6187 | $as_echo "no" >&6; } | 6690 | sed 's/^/| /' conftest.$ac_ext >&5 |
6691 | |||
6692 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6693 | echo "${ECHO_T}no" >&6; } | ||
6188 | LDFLAGS="$saved_LDFLAGS" | 6694 | LDFLAGS="$saved_LDFLAGS" |
6189 | 6695 | ||
6190 | fi | 6696 | fi |
6191 | rm -f core conftest.err conftest.$ac_objext \ | 6697 | |
6192 | conftest$ac_exeext conftest.$ac_ext | 6698 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6699 | conftest$ac_exeext conftest.$ac_ext | ||
6193 | } | 6700 | } |
6194 | { | 6701 | { |
6195 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -Wl,-z,now" >&5 | 6702 | { echo "$as_me:$LINENO: checking if $LD supports link flag -Wl,-z,now" >&5 |
6196 | $as_echo_n "checking if $LD supports link flag -Wl,-z,now... " >&6; } | 6703 | echo $ECHO_N "checking if $LD supports link flag -Wl,-z,now... $ECHO_C" >&6; } |
6197 | saved_LDFLAGS="$LDFLAGS" | 6704 | saved_LDFLAGS="$LDFLAGS" |
6198 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,now" | 6705 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,now" |
6199 | _define_flag="" | 6706 | _define_flag="" |
6200 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,now" | 6707 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,now" |
6201 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6708 | cat >conftest.$ac_ext <<_ACEOF |
6709 | /* confdefs.h. */ | ||
6710 | _ACEOF | ||
6711 | cat confdefs.h >>conftest.$ac_ext | ||
6712 | cat >>conftest.$ac_ext <<_ACEOF | ||
6202 | /* end confdefs.h. */ | 6713 | /* end confdefs.h. */ |
6203 | 6714 | ||
6204 | #include <stdlib.h> | 6715 | #include <stdlib.h> |
@@ -6214,27 +6725,52 @@ int main(int argc, char **argv) { | |||
6214 | } | 6725 | } |
6215 | 6726 | ||
6216 | _ACEOF | 6727 | _ACEOF |
6217 | if ac_fn_c_try_link "$LINENO"; then : | 6728 | rm -f conftest.$ac_objext conftest$ac_exeext |
6218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6729 | if { (ac_try="$ac_link" |
6219 | $as_echo "yes" >&6; } | 6730 | case "(($ac_try" in |
6731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6732 | *) ac_try_echo=$ac_try;; | ||
6733 | esac | ||
6734 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6735 | (eval "$ac_link") 2>conftest.er1 | ||
6736 | ac_status=$? | ||
6737 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6738 | rm -f conftest.er1 | ||
6739 | cat conftest.err >&5 | ||
6740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6741 | (exit $ac_status); } && { | ||
6742 | test -z "$ac_c_werror_flag" || | ||
6743 | test ! -s conftest.err | ||
6744 | } && test -s conftest$ac_exeext && | ||
6745 | $as_test_x conftest$ac_exeext; then | ||
6746 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6747 | echo "${ECHO_T}yes" >&6; } | ||
6220 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6748 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6221 | else | 6749 | else |
6222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6750 | echo "$as_me: failed program was:" >&5 |
6223 | $as_echo "no" >&6; } | 6751 | sed 's/^/| /' conftest.$ac_ext >&5 |
6752 | |||
6753 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6754 | echo "${ECHO_T}no" >&6; } | ||
6224 | LDFLAGS="$saved_LDFLAGS" | 6755 | LDFLAGS="$saved_LDFLAGS" |
6225 | 6756 | ||
6226 | fi | 6757 | fi |
6227 | rm -f core conftest.err conftest.$ac_objext \ | 6758 | |
6228 | conftest$ac_exeext conftest.$ac_ext | 6759 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6760 | conftest$ac_exeext conftest.$ac_ext | ||
6229 | } | 6761 | } |
6230 | { | 6762 | { |
6231 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -Wl,-z,noexecstack" >&5 | 6763 | { echo "$as_me:$LINENO: checking if $LD supports link flag -Wl,-z,noexecstack" >&5 |
6232 | $as_echo_n "checking if $LD supports link flag -Wl,-z,noexecstack... " >&6; } | 6764 | echo $ECHO_N "checking if $LD supports link flag -Wl,-z,noexecstack... $ECHO_C" >&6; } |
6233 | saved_LDFLAGS="$LDFLAGS" | 6765 | saved_LDFLAGS="$LDFLAGS" |
6234 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,noexecstack" | 6766 | LDFLAGS="$LDFLAGS $WERROR -Wl,-z,noexecstack" |
6235 | _define_flag="" | 6767 | _define_flag="" |
6236 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,noexecstack" | 6768 | test "x$_define_flag" = "x" && _define_flag="-Wl,-z,noexecstack" |
6237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6769 | cat >conftest.$ac_ext <<_ACEOF |
6770 | /* confdefs.h. */ | ||
6771 | _ACEOF | ||
6772 | cat confdefs.h >>conftest.$ac_ext | ||
6773 | cat >>conftest.$ac_ext <<_ACEOF | ||
6238 | /* end confdefs.h. */ | 6774 | /* end confdefs.h. */ |
6239 | 6775 | ||
6240 | #include <stdlib.h> | 6776 | #include <stdlib.h> |
@@ -6250,18 +6786,39 @@ int main(int argc, char **argv) { | |||
6250 | } | 6786 | } |
6251 | 6787 | ||
6252 | _ACEOF | 6788 | _ACEOF |
6253 | if ac_fn_c_try_link "$LINENO"; then : | 6789 | rm -f conftest.$ac_objext conftest$ac_exeext |
6254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6790 | if { (ac_try="$ac_link" |
6255 | $as_echo "yes" >&6; } | 6791 | case "(($ac_try" in |
6792 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6793 | *) ac_try_echo=$ac_try;; | ||
6794 | esac | ||
6795 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6796 | (eval "$ac_link") 2>conftest.er1 | ||
6797 | ac_status=$? | ||
6798 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6799 | rm -f conftest.er1 | ||
6800 | cat conftest.err >&5 | ||
6801 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6802 | (exit $ac_status); } && { | ||
6803 | test -z "$ac_c_werror_flag" || | ||
6804 | test ! -s conftest.err | ||
6805 | } && test -s conftest$ac_exeext && | ||
6806 | $as_test_x conftest$ac_exeext; then | ||
6807 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6808 | echo "${ECHO_T}yes" >&6; } | ||
6256 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 6809 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
6257 | else | 6810 | else |
6258 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6811 | echo "$as_me: failed program was:" >&5 |
6259 | $as_echo "no" >&6; } | 6812 | sed 's/^/| /' conftest.$ac_ext >&5 |
6813 | |||
6814 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6815 | echo "${ECHO_T}no" >&6; } | ||
6260 | LDFLAGS="$saved_LDFLAGS" | 6816 | LDFLAGS="$saved_LDFLAGS" |
6261 | 6817 | ||
6262 | fi | 6818 | fi |
6263 | rm -f core conftest.err conftest.$ac_objext \ | 6819 | |
6264 | conftest$ac_exeext conftest.$ac_ext | 6820 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6821 | conftest$ac_exeext conftest.$ac_ext | ||
6265 | } | 6822 | } |
6266 | # NB. -ftrapv expects certain support functions to be present in | 6823 | # NB. -ftrapv expects certain support functions to be present in |
6267 | # the compiler library (libgcc or similar) to detect integer operations | 6824 | # the compiler library (libgcc or similar) to detect integer operations |
@@ -6269,13 +6826,17 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
6269 | # actually links. The test program compiled/linked includes a number | 6826 | # actually links. The test program compiled/linked includes a number |
6270 | # of integer operations that should exercise this. | 6827 | # of integer operations that should exercise this. |
6271 | { | 6828 | { |
6272 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -ftrapv and linking succeeds" >&5 | 6829 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -ftrapv and linking succeeds" >&5 |
6273 | $as_echo_n "checking if $CC supports compile flag -ftrapv and linking succeeds... " >&6; } | 6830 | echo $ECHO_N "checking if $CC supports compile flag -ftrapv and linking succeeds... $ECHO_C" >&6; } |
6274 | saved_CFLAGS="$CFLAGS" | 6831 | saved_CFLAGS="$CFLAGS" |
6275 | CFLAGS="$CFLAGS $WERROR -ftrapv" | 6832 | CFLAGS="$CFLAGS $WERROR -ftrapv" |
6276 | _define_flag="" | 6833 | _define_flag="" |
6277 | test "x$_define_flag" = "x" && _define_flag="-ftrapv" | 6834 | test "x$_define_flag" = "x" && _define_flag="-ftrapv" |
6278 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6835 | cat >conftest.$ac_ext <<_ACEOF |
6836 | /* confdefs.h. */ | ||
6837 | _ACEOF | ||
6838 | cat confdefs.h >>conftest.$ac_ext | ||
6839 | cat >>conftest.$ac_ext <<_ACEOF | ||
6279 | /* end confdefs.h. */ | 6840 | /* end confdefs.h. */ |
6280 | 6841 | ||
6281 | #include <stdlib.h> | 6842 | #include <stdlib.h> |
@@ -6291,30 +6852,51 @@ int main(int argc, char **argv) { | |||
6291 | } | 6852 | } |
6292 | 6853 | ||
6293 | _ACEOF | 6854 | _ACEOF |
6294 | if ac_fn_c_try_link "$LINENO"; then : | 6855 | rm -f conftest.$ac_objext conftest$ac_exeext |
6856 | if { (ac_try="$ac_link" | ||
6857 | case "(($ac_try" in | ||
6858 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6859 | *) ac_try_echo=$ac_try;; | ||
6860 | esac | ||
6861 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6862 | (eval "$ac_link") 2>conftest.er1 | ||
6863 | ac_status=$? | ||
6864 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6865 | rm -f conftest.er1 | ||
6866 | cat conftest.err >&5 | ||
6867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6868 | (exit $ac_status); } && { | ||
6869 | test -z "$ac_c_werror_flag" || | ||
6870 | test ! -s conftest.err | ||
6871 | } && test -s conftest$ac_exeext && | ||
6872 | $as_test_x conftest$ac_exeext; then | ||
6295 | 6873 | ||
6296 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 6874 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
6297 | then | 6875 | then |
6298 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6876 | { echo "$as_me:$LINENO: result: no" >&5 |
6299 | $as_echo "no" >&6; } | 6877 | echo "${ECHO_T}no" >&6; } |
6300 | CFLAGS="$saved_CFLAGS" | 6878 | CFLAGS="$saved_CFLAGS" |
6301 | else | 6879 | else |
6302 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6880 | { echo "$as_me:$LINENO: result: yes" >&5 |
6303 | $as_echo "yes" >&6; } | 6881 | echo "${ECHO_T}yes" >&6; } |
6304 | CFLAGS="$saved_CFLAGS $_define_flag" | 6882 | CFLAGS="$saved_CFLAGS $_define_flag" |
6305 | fi | 6883 | fi |
6306 | else | 6884 | else |
6307 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6885 | echo "$as_me: failed program was:" >&5 |
6308 | $as_echo "no" >&6; } | 6886 | sed 's/^/| /' conftest.$ac_ext >&5 |
6887 | |||
6888 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6889 | echo "${ECHO_T}no" >&6; } | ||
6309 | CFLAGS="$saved_CFLAGS" | 6890 | CFLAGS="$saved_CFLAGS" |
6310 | 6891 | ||
6311 | fi | 6892 | fi |
6312 | rm -f core conftest.err conftest.$ac_objext \ | 6893 | |
6313 | conftest$ac_exeext conftest.$ac_ext | 6894 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6895 | conftest$ac_exeext conftest.$ac_ext | ||
6314 | } | 6896 | } |
6315 | fi | 6897 | fi |
6316 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5 | 6898 | { echo "$as_me:$LINENO: checking gcc version" >&5 |
6317 | $as_echo_n "checking gcc version... " >&6; } | 6899 | echo $ECHO_N "checking gcc version... $ECHO_C" >&6; } |
6318 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` | 6900 | GCC_VER=`$CC -v 2>&1 | $AWK '/gcc version /{print $3}'` |
6319 | case $GCC_VER in | 6901 | case $GCC_VER in |
6320 | 1.*) no_attrib_nonnull=1 ;; | 6902 | 1.*) no_attrib_nonnull=1 ;; |
@@ -6324,14 +6906,18 @@ $as_echo_n "checking gcc version... " >&6; } | |||
6324 | 2.*) no_attrib_nonnull=1 ;; | 6906 | 2.*) no_attrib_nonnull=1 ;; |
6325 | *) ;; | 6907 | *) ;; |
6326 | esac | 6908 | esac |
6327 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_VER" >&5 | 6909 | { echo "$as_me:$LINENO: result: $GCC_VER" >&5 |
6328 | $as_echo "$GCC_VER" >&6; } | 6910 | echo "${ECHO_T}$GCC_VER" >&6; } |
6329 | 6911 | ||
6330 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-builtin-memset" >&5 | 6912 | { echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5 |
6331 | $as_echo_n "checking if $CC accepts -fno-builtin-memset... " >&6; } | 6913 | echo $ECHO_N "checking if $CC accepts -fno-builtin-memset... $ECHO_C" >&6; } |
6332 | saved_CFLAGS="$CFLAGS" | 6914 | saved_CFLAGS="$CFLAGS" |
6333 | CFLAGS="$CFLAGS -fno-builtin-memset" | 6915 | CFLAGS="$CFLAGS -fno-builtin-memset" |
6334 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6916 | cat >conftest.$ac_ext <<_ACEOF |
6917 | /* confdefs.h. */ | ||
6918 | _ACEOF | ||
6919 | cat confdefs.h >>conftest.$ac_ext | ||
6920 | cat >>conftest.$ac_ext <<_ACEOF | ||
6335 | /* end confdefs.h. */ | 6921 | /* end confdefs.h. */ |
6336 | #include <string.h> | 6922 | #include <string.h> |
6337 | int | 6923 | int |
@@ -6342,17 +6928,38 @@ main () | |||
6342 | return 0; | 6928 | return 0; |
6343 | } | 6929 | } |
6344 | _ACEOF | 6930 | _ACEOF |
6345 | if ac_fn_c_try_link "$LINENO"; then : | 6931 | rm -f conftest.$ac_objext conftest$ac_exeext |
6346 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6932 | if { (ac_try="$ac_link" |
6347 | $as_echo "yes" >&6; } | 6933 | case "(($ac_try" in |
6934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6935 | *) ac_try_echo=$ac_try;; | ||
6936 | esac | ||
6937 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
6938 | (eval "$ac_link") 2>conftest.er1 | ||
6939 | ac_status=$? | ||
6940 | grep -v '^ *+' conftest.er1 >conftest.err | ||
6941 | rm -f conftest.er1 | ||
6942 | cat conftest.err >&5 | ||
6943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
6944 | (exit $ac_status); } && { | ||
6945 | test -z "$ac_c_werror_flag" || | ||
6946 | test ! -s conftest.err | ||
6947 | } && test -s conftest$ac_exeext && | ||
6948 | $as_test_x conftest$ac_exeext; then | ||
6949 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
6950 | echo "${ECHO_T}yes" >&6; } | ||
6348 | else | 6951 | else |
6349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6952 | echo "$as_me: failed program was:" >&5 |
6350 | $as_echo "no" >&6; } | 6953 | sed 's/^/| /' conftest.$ac_ext >&5 |
6954 | |||
6955 | { echo "$as_me:$LINENO: result: no" >&5 | ||
6956 | echo "${ECHO_T}no" >&6; } | ||
6351 | CFLAGS="$saved_CFLAGS" | 6957 | CFLAGS="$saved_CFLAGS" |
6352 | 6958 | ||
6353 | fi | 6959 | fi |
6354 | rm -f core conftest.err conftest.$ac_objext \ | 6960 | |
6355 | conftest$ac_exeext conftest.$ac_ext | 6961 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6962 | conftest$ac_exeext conftest.$ac_ext | ||
6356 | 6963 | ||
6357 | # -fstack-protector-all doesn't always work for some GCC versions | 6964 | # -fstack-protector-all doesn't always work for some GCC versions |
6358 | # and/or platforms, so we test if we can. If it's not supported | 6965 | # and/or platforms, so we test if we can. If it's not supported |
@@ -6360,13 +6967,17 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
6360 | if test "x$use_stack_protector" = "x1"; then | 6967 | if test "x$use_stack_protector" = "x1"; then |
6361 | for t in -fstack-protector-strong -fstack-protector-all \ | 6968 | for t in -fstack-protector-strong -fstack-protector-all \ |
6362 | -fstack-protector; do | 6969 | -fstack-protector; do |
6363 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $t" >&5 | 6970 | { echo "$as_me:$LINENO: checking if $CC supports $t" >&5 |
6364 | $as_echo_n "checking if $CC supports $t... " >&6; } | 6971 | echo $ECHO_N "checking if $CC supports $t... $ECHO_C" >&6; } |
6365 | saved_CFLAGS="$CFLAGS" | 6972 | saved_CFLAGS="$CFLAGS" |
6366 | saved_LDFLAGS="$LDFLAGS" | 6973 | saved_LDFLAGS="$LDFLAGS" |
6367 | CFLAGS="$CFLAGS $t -Werror" | 6974 | CFLAGS="$CFLAGS $t -Werror" |
6368 | LDFLAGS="$LDFLAGS $t -Werror" | 6975 | LDFLAGS="$LDFLAGS $t -Werror" |
6369 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6976 | cat >conftest.$ac_ext <<_ACEOF |
6977 | /* confdefs.h. */ | ||
6978 | _ACEOF | ||
6979 | cat confdefs.h >>conftest.$ac_ext | ||
6980 | cat >>conftest.$ac_ext <<_ACEOF | ||
6370 | /* end confdefs.h. */ | 6981 | /* end confdefs.h. */ |
6371 | #include <stdio.h> | 6982 | #include <stdio.h> |
6372 | int | 6983 | int |
@@ -6380,20 +6991,41 @@ main () | |||
6380 | return 0; | 6991 | return 0; |
6381 | } | 6992 | } |
6382 | _ACEOF | 6993 | _ACEOF |
6383 | if ac_fn_c_try_link "$LINENO"; then : | 6994 | rm -f conftest.$ac_objext conftest$ac_exeext |
6384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6995 | if { (ac_try="$ac_link" |
6385 | $as_echo "yes" >&6; } | 6996 | case "(($ac_try" in |
6997 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
6998 | *) ac_try_echo=$ac_try;; | ||
6999 | esac | ||
7000 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7001 | (eval "$ac_link") 2>conftest.er1 | ||
7002 | ac_status=$? | ||
7003 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7004 | rm -f conftest.er1 | ||
7005 | cat conftest.err >&5 | ||
7006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7007 | (exit $ac_status); } && { | ||
7008 | test -z "$ac_c_werror_flag" || | ||
7009 | test ! -s conftest.err | ||
7010 | } && test -s conftest$ac_exeext && | ||
7011 | $as_test_x conftest$ac_exeext; then | ||
7012 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7013 | echo "${ECHO_T}yes" >&6; } | ||
6386 | CFLAGS="$saved_CFLAGS $t" | 7014 | CFLAGS="$saved_CFLAGS $t" |
6387 | LDFLAGS="$saved_LDFLAGS $t" | 7015 | LDFLAGS="$saved_LDFLAGS $t" |
6388 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $t works" >&5 | 7016 | { echo "$as_me:$LINENO: checking if $t works" >&5 |
6389 | $as_echo_n "checking if $t works... " >&6; } | 7017 | echo $ECHO_N "checking if $t works... $ECHO_C" >&6; } |
6390 | if test "$cross_compiling" = yes; then : | 7018 | if test "$cross_compiling" = yes; then |
6391 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: cannot test" >&5 | 7019 | { echo "$as_me:$LINENO: WARNING: cross compiling: cannot test" >&5 |
6392 | $as_echo "$as_me: WARNING: cross compiling: cannot test" >&2;} | 7020 | echo "$as_me: WARNING: cross compiling: cannot test" >&2;} |
6393 | break | 7021 | break |
6394 | 7022 | ||
6395 | else | 7023 | else |
6396 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7024 | cat >conftest.$ac_ext <<_ACEOF |
7025 | /* confdefs.h. */ | ||
7026 | _ACEOF | ||
7027 | cat confdefs.h >>conftest.$ac_ext | ||
7028 | cat >>conftest.$ac_ext <<_ACEOF | ||
6397 | /* end confdefs.h. */ | 7029 | /* end confdefs.h. */ |
6398 | #include <stdio.h> | 7030 | #include <stdio.h> |
6399 | int | 7031 | int |
@@ -6407,26 +7039,54 @@ main () | |||
6407 | return 0; | 7039 | return 0; |
6408 | } | 7040 | } |
6409 | _ACEOF | 7041 | _ACEOF |
6410 | if ac_fn_c_try_run "$LINENO"; then : | 7042 | rm -f conftest$ac_exeext |
6411 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7043 | if { (ac_try="$ac_link" |
6412 | $as_echo "yes" >&6; } | 7044 | case "(($ac_try" in |
7045 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7046 | *) ac_try_echo=$ac_try;; | ||
7047 | esac | ||
7048 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7049 | (eval "$ac_link") 2>&5 | ||
7050 | ac_status=$? | ||
7051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7052 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
7053 | { (case "(($ac_try" in | ||
7054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7055 | *) ac_try_echo=$ac_try;; | ||
7056 | esac | ||
7057 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7058 | (eval "$ac_try") 2>&5 | ||
7059 | ac_status=$? | ||
7060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7061 | (exit $ac_status); }; }; then | ||
7062 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7063 | echo "${ECHO_T}yes" >&6; } | ||
6413 | break | 7064 | break |
6414 | else | 7065 | else |
6415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7066 | echo "$as_me: program exited with status $ac_status" >&5 |
6416 | $as_echo "no" >&6; } | 7067 | echo "$as_me: failed program was:" >&5 |
7068 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7069 | |||
7070 | ( exit $ac_status ) | ||
7071 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7072 | echo "${ECHO_T}no" >&6; } | ||
6417 | fi | 7073 | fi |
6418 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 7074 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6419 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
6420 | fi | 7075 | fi |
6421 | 7076 | ||
6422 | 7077 | ||
7078 | |||
6423 | else | 7079 | else |
6424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7080 | echo "$as_me: failed program was:" >&5 |
6425 | $as_echo "no" >&6; } | 7081 | sed 's/^/| /' conftest.$ac_ext >&5 |
7082 | |||
7083 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7084 | echo "${ECHO_T}no" >&6; } | ||
6426 | 7085 | ||
6427 | fi | 7086 | fi |
6428 | rm -f core conftest.err conftest.$ac_objext \ | 7087 | |
6429 | conftest$ac_exeext conftest.$ac_ext | 7088 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7089 | conftest$ac_exeext conftest.$ac_ext | ||
6430 | CFLAGS="$saved_CFLAGS" | 7090 | CFLAGS="$saved_CFLAGS" |
6431 | LDFLAGS="$saved_LDFLAGS" | 7091 | LDFLAGS="$saved_LDFLAGS" |
6432 | done | 7092 | done |
@@ -6437,10 +7097,61 @@ rm -f core conftest.err conftest.$ac_objext \ | |||
6437 | unset ac_cv_have_decl_LLONG_MAX | 7097 | unset ac_cv_have_decl_LLONG_MAX |
6438 | saved_CFLAGS="$CFLAGS" | 7098 | saved_CFLAGS="$CFLAGS" |
6439 | CFLAGS="$CFLAGS -std=gnu99" | 7099 | CFLAGS="$CFLAGS -std=gnu99" |
6440 | ac_fn_c_check_decl "$LINENO" "LLONG_MAX" "ac_cv_have_decl_LLONG_MAX" "#include <limits.h> | 7100 | { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 |
7101 | echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } | ||
7102 | if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then | ||
7103 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7104 | else | ||
7105 | cat >conftest.$ac_ext <<_ACEOF | ||
7106 | /* confdefs.h. */ | ||
7107 | _ACEOF | ||
7108 | cat confdefs.h >>conftest.$ac_ext | ||
7109 | cat >>conftest.$ac_ext <<_ACEOF | ||
7110 | /* end confdefs.h. */ | ||
7111 | #include <limits.h> | ||
6441 | 7112 | ||
6442 | " | 7113 | |
6443 | if test "x$ac_cv_have_decl_LLONG_MAX" = xyes; then : | 7114 | int |
7115 | main () | ||
7116 | { | ||
7117 | #ifndef LLONG_MAX | ||
7118 | (void) LLONG_MAX; | ||
7119 | #endif | ||
7120 | |||
7121 | ; | ||
7122 | return 0; | ||
7123 | } | ||
7124 | _ACEOF | ||
7125 | rm -f conftest.$ac_objext | ||
7126 | if { (ac_try="$ac_compile" | ||
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_compile") 2>conftest.er1 | ||
7133 | ac_status=$? | ||
7134 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7135 | rm -f conftest.er1 | ||
7136 | cat conftest.err >&5 | ||
7137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7138 | (exit $ac_status); } && { | ||
7139 | test -z "$ac_c_werror_flag" || | ||
7140 | test ! -s conftest.err | ||
7141 | } && test -s conftest.$ac_objext; then | ||
7142 | ac_cv_have_decl_LLONG_MAX=yes | ||
7143 | else | ||
7144 | echo "$as_me: failed program was:" >&5 | ||
7145 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7146 | |||
7147 | ac_cv_have_decl_LLONG_MAX=no | ||
7148 | fi | ||
7149 | |||
7150 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7151 | fi | ||
7152 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 | ||
7153 | echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } | ||
7154 | if test $ac_cv_have_decl_LLONG_MAX = yes; then | ||
6444 | have_llong_max=1 | 7155 | have_llong_max=1 |
6445 | else | 7156 | else |
6446 | CFLAGS="$saved_CFLAGS" | 7157 | CFLAGS="$saved_CFLAGS" |
@@ -6449,9 +7160,13 @@ fi | |||
6449 | fi | 7160 | fi |
6450 | fi | 7161 | fi |
6451 | 7162 | ||
6452 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows __attribute__ on return types" >&5 | 7163 | { echo "$as_me:$LINENO: checking if compiler allows __attribute__ on return types" >&5 |
6453 | $as_echo_n "checking if compiler allows __attribute__ on return types... " >&6; } | 7164 | echo $ECHO_N "checking if compiler allows __attribute__ on return types... $ECHO_C" >&6; } |
6454 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7165 | cat >conftest.$ac_ext <<_ACEOF |
7166 | /* confdefs.h. */ | ||
7167 | _ACEOF | ||
7168 | cat confdefs.h >>conftest.$ac_ext | ||
7169 | cat >>conftest.$ac_ext <<_ACEOF | ||
6455 | /* end confdefs.h. */ | 7170 | /* end confdefs.h. */ |
6456 | 7171 | ||
6457 | #include <stdlib.h> | 7172 | #include <stdlib.h> |
@@ -6464,28 +7179,52 @@ main () | |||
6464 | return 0; | 7179 | return 0; |
6465 | } | 7180 | } |
6466 | _ACEOF | 7181 | _ACEOF |
6467 | if ac_fn_c_try_compile "$LINENO"; then : | 7182 | rm -f conftest.$ac_objext |
6468 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7183 | if { (ac_try="$ac_compile" |
6469 | $as_echo "yes" >&6; } | 7184 | case "(($ac_try" in |
7185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7186 | *) ac_try_echo=$ac_try;; | ||
7187 | esac | ||
7188 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7189 | (eval "$ac_compile") 2>conftest.er1 | ||
7190 | ac_status=$? | ||
7191 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7192 | rm -f conftest.er1 | ||
7193 | cat conftest.err >&5 | ||
7194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7195 | (exit $ac_status); } && { | ||
7196 | test -z "$ac_c_werror_flag" || | ||
7197 | test ! -s conftest.err | ||
7198 | } && test -s conftest.$ac_objext; then | ||
7199 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7200 | echo "${ECHO_T}yes" >&6; } | ||
6470 | else | 7201 | else |
6471 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7202 | echo "$as_me: failed program was:" >&5 |
6472 | $as_echo "no" >&6; } | 7203 | sed 's/^/| /' conftest.$ac_ext >&5 |
6473 | 7204 | ||
6474 | $as_echo "#define NO_ATTRIBUTE_ON_RETURN_TYPE 1" >>confdefs.h | 7205 | { echo "$as_me:$LINENO: result: no" >&5 |
7206 | echo "${ECHO_T}no" >&6; } | ||
7207 | |||
7208 | cat >>confdefs.h <<\_ACEOF | ||
7209 | #define NO_ATTRIBUTE_ON_RETURN_TYPE 1 | ||
7210 | _ACEOF | ||
6475 | 7211 | ||
6476 | 7212 | ||
6477 | fi | 7213 | fi |
7214 | |||
6478 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6479 | 7216 | ||
6480 | if test "x$no_attrib_nonnull" != "x1" ; then | 7217 | if test "x$no_attrib_nonnull" != "x1" ; then |
6481 | 7218 | ||
6482 | $as_echo "#define HAVE_ATTRIBUTE__NONNULL__ 1" >>confdefs.h | 7219 | cat >>confdefs.h <<\_ACEOF |
7220 | #define HAVE_ATTRIBUTE__NONNULL__ 1 | ||
7221 | _ACEOF | ||
6483 | 7222 | ||
6484 | fi | 7223 | fi |
6485 | 7224 | ||
6486 | 7225 | ||
6487 | # Check whether --with-rpath was given. | 7226 | # Check whether --with-rpath was given. |
6488 | if test "${with_rpath+set}" = set; then : | 7227 | if test "${with_rpath+set}" = set; then |
6489 | withval=$with_rpath; | 7228 | withval=$with_rpath; |
6490 | if test "x$withval" = "xno" ; then | 7229 | if test "x$withval" = "xno" ; then |
6491 | need_dash_r="" | 7230 | need_dash_r="" |
@@ -6501,7 +7240,7 @@ fi | |||
6501 | # Allow user to specify flags | 7240 | # Allow user to specify flags |
6502 | 7241 | ||
6503 | # Check whether --with-cflags was given. | 7242 | # Check whether --with-cflags was given. |
6504 | if test "${with_cflags+set}" = set; then : | 7243 | if test "${with_cflags+set}" = set; then |
6505 | withval=$with_cflags; | 7244 | withval=$with_cflags; |
6506 | if test -n "$withval" && test "x$withval" != "xno" && \ | 7245 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6507 | test "x${withval}" != "xyes"; then | 7246 | test "x${withval}" != "xyes"; then |
@@ -6513,7 +7252,7 @@ fi | |||
6513 | 7252 | ||
6514 | 7253 | ||
6515 | # Check whether --with-cppflags was given. | 7254 | # Check whether --with-cppflags was given. |
6516 | if test "${with_cppflags+set}" = set; then : | 7255 | if test "${with_cppflags+set}" = set; then |
6517 | withval=$with_cppflags; | 7256 | withval=$with_cppflags; |
6518 | if test -n "$withval" && test "x$withval" != "xno" && \ | 7257 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6519 | test "x${withval}" != "xyes"; then | 7258 | test "x${withval}" != "xyes"; then |
@@ -6525,7 +7264,7 @@ fi | |||
6525 | 7264 | ||
6526 | 7265 | ||
6527 | # Check whether --with-ldflags was given. | 7266 | # Check whether --with-ldflags was given. |
6528 | if test "${with_ldflags+set}" = set; then : | 7267 | if test "${with_ldflags+set}" = set; then |
6529 | withval=$with_ldflags; | 7268 | withval=$with_ldflags; |
6530 | if test -n "$withval" && test "x$withval" != "xno" && \ | 7269 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6531 | test "x${withval}" != "xyes"; then | 7270 | test "x${withval}" != "xyes"; then |
@@ -6537,7 +7276,7 @@ fi | |||
6537 | 7276 | ||
6538 | 7277 | ||
6539 | # Check whether --with-libs was given. | 7278 | # Check whether --with-libs was given. |
6540 | if test "${with_libs+set}" = set; then : | 7279 | if test "${with_libs+set}" = set; then |
6541 | withval=$with_libs; | 7280 | withval=$with_libs; |
6542 | if test -n "$withval" && test "x$withval" != "xno" && \ | 7281 | if test -n "$withval" && test "x$withval" != "xno" && \ |
6543 | test "x${withval}" != "xyes"; then | 7282 | test "x${withval}" != "xyes"; then |
@@ -6549,7 +7288,7 @@ fi | |||
6549 | 7288 | ||
6550 | 7289 | ||
6551 | # Check whether --with-Werror was given. | 7290 | # Check whether --with-Werror was given. |
6552 | if test "${with_Werror+set}" = set; then : | 7291 | if test "${with_Werror+set}" = set; then |
6553 | withval=$with_Werror; | 7292 | withval=$with_Werror; |
6554 | if test -n "$withval" && test "x$withval" != "xno"; then | 7293 | if test -n "$withval" && test "x$withval" != "xno"; then |
6555 | werror_flags="-Werror" | 7294 | werror_flags="-Werror" |
@@ -6562,6 +7301,73 @@ if test "${with_Werror+set}" = set; then : | |||
6562 | fi | 7301 | fi |
6563 | 7302 | ||
6564 | 7303 | ||
7304 | |||
7305 | |||
7306 | |||
7307 | |||
7308 | |||
7309 | |||
7310 | |||
7311 | |||
7312 | |||
7313 | |||
7314 | |||
7315 | |||
7316 | |||
7317 | |||
7318 | |||
7319 | |||
7320 | |||
7321 | |||
7322 | |||
7323 | |||
7324 | |||
7325 | |||
7326 | |||
7327 | |||
7328 | |||
7329 | |||
7330 | |||
7331 | |||
7332 | |||
7333 | |||
7334 | |||
7335 | |||
7336 | |||
7337 | |||
7338 | |||
7339 | |||
7340 | |||
7341 | |||
7342 | |||
7343 | |||
7344 | |||
7345 | |||
7346 | |||
7347 | |||
7348 | |||
7349 | |||
7350 | |||
7351 | |||
7352 | |||
7353 | |||
7354 | |||
7355 | |||
7356 | |||
7357 | |||
7358 | |||
7359 | |||
7360 | |||
7361 | |||
7362 | |||
7363 | |||
7364 | |||
7365 | |||
7366 | |||
7367 | |||
7368 | |||
7369 | |||
7370 | |||
6565 | for ac_header in \ | 7371 | for ac_header in \ |
6566 | blf.h \ | 7372 | blf.h \ |
6567 | bstring.h \ | 7373 | bstring.h \ |
@@ -6631,12 +7437,143 @@ for ac_header in \ | |||
6631 | utmpx.h \ | 7437 | utmpx.h \ |
6632 | vis.h \ | 7438 | vis.h \ |
6633 | 7439 | ||
6634 | do : | 7440 | do |
6635 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7441 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6636 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 7442 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6637 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7443 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7444 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7445 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7446 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7447 | fi | ||
7448 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7449 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7450 | echo "${ECHO_T}$ac_res" >&6; } | ||
7451 | else | ||
7452 | # Is the header compilable? | ||
7453 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
7454 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
7455 | cat >conftest.$ac_ext <<_ACEOF | ||
7456 | /* confdefs.h. */ | ||
7457 | _ACEOF | ||
7458 | cat confdefs.h >>conftest.$ac_ext | ||
7459 | cat >>conftest.$ac_ext <<_ACEOF | ||
7460 | /* end confdefs.h. */ | ||
7461 | $ac_includes_default | ||
7462 | #include <$ac_header> | ||
7463 | _ACEOF | ||
7464 | rm -f conftest.$ac_objext | ||
7465 | if { (ac_try="$ac_compile" | ||
7466 | case "(($ac_try" in | ||
7467 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7468 | *) ac_try_echo=$ac_try;; | ||
7469 | esac | ||
7470 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7471 | (eval "$ac_compile") 2>conftest.er1 | ||
7472 | ac_status=$? | ||
7473 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7474 | rm -f conftest.er1 | ||
7475 | cat conftest.err >&5 | ||
7476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7477 | (exit $ac_status); } && { | ||
7478 | test -z "$ac_c_werror_flag" || | ||
7479 | test ! -s conftest.err | ||
7480 | } && test -s conftest.$ac_objext; then | ||
7481 | ac_header_compiler=yes | ||
7482 | else | ||
7483 | echo "$as_me: failed program was:" >&5 | ||
7484 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7485 | |||
7486 | ac_header_compiler=no | ||
7487 | fi | ||
7488 | |||
7489 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7490 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
7491 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
7492 | |||
7493 | # Is the header present? | ||
7494 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
7495 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
7496 | cat >conftest.$ac_ext <<_ACEOF | ||
7497 | /* confdefs.h. */ | ||
7498 | _ACEOF | ||
7499 | cat confdefs.h >>conftest.$ac_ext | ||
7500 | cat >>conftest.$ac_ext <<_ACEOF | ||
7501 | /* end confdefs.h. */ | ||
7502 | #include <$ac_header> | ||
7503 | _ACEOF | ||
7504 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
7505 | case "(($ac_try" in | ||
7506 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7507 | *) ac_try_echo=$ac_try;; | ||
7508 | esac | ||
7509 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7510 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
7511 | ac_status=$? | ||
7512 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7513 | rm -f conftest.er1 | ||
7514 | cat conftest.err >&5 | ||
7515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7516 | (exit $ac_status); } >/dev/null && { | ||
7517 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
7518 | test ! -s conftest.err | ||
7519 | }; then | ||
7520 | ac_header_preproc=yes | ||
7521 | else | ||
7522 | echo "$as_me: failed program was:" >&5 | ||
7523 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7524 | |||
7525 | ac_header_preproc=no | ||
7526 | fi | ||
7527 | |||
7528 | rm -f conftest.err conftest.$ac_ext | ||
7529 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
7530 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
7531 | |||
7532 | # So? What about this header? | ||
7533 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
7534 | yes:no: ) | ||
7535 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
7536 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
7537 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
7538 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
7539 | ac_header_preproc=yes | ||
7540 | ;; | ||
7541 | no:yes:* ) | ||
7542 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
7543 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
7544 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
7545 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
7546 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
7547 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
7548 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
7549 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
7550 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
7551 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
7552 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
7553 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
7554 | ( cat <<\_ASBOX | ||
7555 | ## ------------------------------------------- ## | ||
7556 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
7557 | ## ------------------------------------------- ## | ||
7558 | _ASBOX | ||
7559 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
7560 | ;; | ||
7561 | esac | ||
7562 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7563 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7564 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7565 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7566 | else | ||
7567 | eval "$as_ac_Header=\$ac_header_preproc" | ||
7568 | fi | ||
7569 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7570 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7571 | echo "${ECHO_T}$ac_res" >&6; } | ||
7572 | |||
7573 | fi | ||
7574 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6638 | cat >>confdefs.h <<_ACEOF | 7575 | cat >>confdefs.h <<_ACEOF |
6639 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7576 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6640 | _ACEOF | 7577 | _ACEOF |
6641 | 7578 | ||
6642 | fi | 7579 | fi |
@@ -6645,17 +7582,62 @@ done | |||
6645 | 7582 | ||
6646 | 7583 | ||
6647 | # lastlog.h requires sys/time.h to be included first on Solaris | 7584 | # lastlog.h requires sys/time.h to be included first on Solaris |
7585 | |||
6648 | for ac_header in lastlog.h | 7586 | for ac_header in lastlog.h |
6649 | do : | 7587 | do |
6650 | ac_fn_c_check_header_compile "$LINENO" "lastlog.h" "ac_cv_header_lastlog_h" " | 7588 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7589 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7590 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7591 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7592 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7593 | else | ||
7594 | cat >conftest.$ac_ext <<_ACEOF | ||
7595 | /* confdefs.h. */ | ||
7596 | _ACEOF | ||
7597 | cat confdefs.h >>conftest.$ac_ext | ||
7598 | cat >>conftest.$ac_ext <<_ACEOF | ||
7599 | /* end confdefs.h. */ | ||
7600 | |||
6651 | #ifdef HAVE_SYS_TIME_H | 7601 | #ifdef HAVE_SYS_TIME_H |
6652 | # include <sys/time.h> | 7602 | # include <sys/time.h> |
6653 | #endif | 7603 | #endif |
6654 | 7604 | ||
6655 | " | 7605 | |
6656 | if test "x$ac_cv_header_lastlog_h" = xyes; then : | 7606 | #include <$ac_header> |
7607 | _ACEOF | ||
7608 | rm -f conftest.$ac_objext | ||
7609 | if { (ac_try="$ac_compile" | ||
7610 | case "(($ac_try" in | ||
7611 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7612 | *) ac_try_echo=$ac_try;; | ||
7613 | esac | ||
7614 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7615 | (eval "$ac_compile") 2>conftest.er1 | ||
7616 | ac_status=$? | ||
7617 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7618 | rm -f conftest.er1 | ||
7619 | cat conftest.err >&5 | ||
7620 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7621 | (exit $ac_status); } && { | ||
7622 | test -z "$ac_c_werror_flag" || | ||
7623 | test ! -s conftest.err | ||
7624 | } && test -s conftest.$ac_objext; then | ||
7625 | eval "$as_ac_Header=yes" | ||
7626 | else | ||
7627 | echo "$as_me: failed program was:" >&5 | ||
7628 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7629 | |||
7630 | eval "$as_ac_Header=no" | ||
7631 | fi | ||
7632 | |||
7633 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7634 | fi | ||
7635 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7636 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7637 | echo "${ECHO_T}$ac_res" >&6; } | ||
7638 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6657 | cat >>confdefs.h <<_ACEOF | 7639 | cat >>confdefs.h <<_ACEOF |
6658 | #define HAVE_LASTLOG_H 1 | 7640 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6659 | _ACEOF | 7641 | _ACEOF |
6660 | 7642 | ||
6661 | fi | 7643 | fi |
@@ -6664,17 +7646,62 @@ done | |||
6664 | 7646 | ||
6665 | 7647 | ||
6666 | # sys/ptms.h requires sys/stream.h to be included first on Solaris | 7648 | # sys/ptms.h requires sys/stream.h to be included first on Solaris |
7649 | |||
6667 | for ac_header in sys/ptms.h | 7650 | for ac_header in sys/ptms.h |
6668 | do : | 7651 | do |
6669 | ac_fn_c_check_header_compile "$LINENO" "sys/ptms.h" "ac_cv_header_sys_ptms_h" " | 7652 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7653 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7654 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7655 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7656 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7657 | else | ||
7658 | cat >conftest.$ac_ext <<_ACEOF | ||
7659 | /* confdefs.h. */ | ||
7660 | _ACEOF | ||
7661 | cat confdefs.h >>conftest.$ac_ext | ||
7662 | cat >>conftest.$ac_ext <<_ACEOF | ||
7663 | /* end confdefs.h. */ | ||
7664 | |||
6670 | #ifdef HAVE_SYS_STREAM_H | 7665 | #ifdef HAVE_SYS_STREAM_H |
6671 | # include <sys/stream.h> | 7666 | # include <sys/stream.h> |
6672 | #endif | 7667 | #endif |
6673 | 7668 | ||
6674 | " | 7669 | |
6675 | if test "x$ac_cv_header_sys_ptms_h" = xyes; then : | 7670 | #include <$ac_header> |
7671 | _ACEOF | ||
7672 | rm -f conftest.$ac_objext | ||
7673 | if { (ac_try="$ac_compile" | ||
7674 | case "(($ac_try" in | ||
7675 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7676 | *) ac_try_echo=$ac_try;; | ||
7677 | esac | ||
7678 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7679 | (eval "$ac_compile") 2>conftest.er1 | ||
7680 | ac_status=$? | ||
7681 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7682 | rm -f conftest.er1 | ||
7683 | cat conftest.err >&5 | ||
7684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7685 | (exit $ac_status); } && { | ||
7686 | test -z "$ac_c_werror_flag" || | ||
7687 | test ! -s conftest.err | ||
7688 | } && test -s conftest.$ac_objext; then | ||
7689 | eval "$as_ac_Header=yes" | ||
7690 | else | ||
7691 | echo "$as_me: failed program was:" >&5 | ||
7692 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7693 | |||
7694 | eval "$as_ac_Header=no" | ||
7695 | fi | ||
7696 | |||
7697 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7698 | fi | ||
7699 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7700 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7701 | echo "${ECHO_T}$ac_res" >&6; } | ||
7702 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6676 | cat >>confdefs.h <<_ACEOF | 7703 | cat >>confdefs.h <<_ACEOF |
6677 | #define HAVE_SYS_PTMS_H 1 | 7704 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6678 | _ACEOF | 7705 | _ACEOF |
6679 | 7706 | ||
6680 | fi | 7707 | fi |
@@ -6683,15 +7710,60 @@ done | |||
6683 | 7710 | ||
6684 | 7711 | ||
6685 | # login_cap.h requires sys/types.h on NetBSD | 7712 | # login_cap.h requires sys/types.h on NetBSD |
7713 | |||
6686 | for ac_header in login_cap.h | 7714 | for ac_header in login_cap.h |
6687 | do : | 7715 | do |
6688 | ac_fn_c_check_header_compile "$LINENO" "login_cap.h" "ac_cv_header_login_cap_h" " | 7716 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7717 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7718 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7719 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7720 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7721 | else | ||
7722 | cat >conftest.$ac_ext <<_ACEOF | ||
7723 | /* confdefs.h. */ | ||
7724 | _ACEOF | ||
7725 | cat confdefs.h >>conftest.$ac_ext | ||
7726 | cat >>conftest.$ac_ext <<_ACEOF | ||
7727 | /* end confdefs.h. */ | ||
7728 | |||
6689 | #include <sys/types.h> | 7729 | #include <sys/types.h> |
6690 | 7730 | ||
6691 | " | 7731 | |
6692 | if test "x$ac_cv_header_login_cap_h" = xyes; then : | 7732 | #include <$ac_header> |
7733 | _ACEOF | ||
7734 | rm -f conftest.$ac_objext | ||
7735 | if { (ac_try="$ac_compile" | ||
7736 | case "(($ac_try" in | ||
7737 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7738 | *) ac_try_echo=$ac_try;; | ||
7739 | esac | ||
7740 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7741 | (eval "$ac_compile") 2>conftest.er1 | ||
7742 | ac_status=$? | ||
7743 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7744 | rm -f conftest.er1 | ||
7745 | cat conftest.err >&5 | ||
7746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7747 | (exit $ac_status); } && { | ||
7748 | test -z "$ac_c_werror_flag" || | ||
7749 | test ! -s conftest.err | ||
7750 | } && test -s conftest.$ac_objext; then | ||
7751 | eval "$as_ac_Header=yes" | ||
7752 | else | ||
7753 | echo "$as_me: failed program was:" >&5 | ||
7754 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7755 | |||
7756 | eval "$as_ac_Header=no" | ||
7757 | fi | ||
7758 | |||
7759 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7760 | fi | ||
7761 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7762 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7763 | echo "${ECHO_T}$ac_res" >&6; } | ||
7764 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6693 | cat >>confdefs.h <<_ACEOF | 7765 | cat >>confdefs.h <<_ACEOF |
6694 | #define HAVE_LOGIN_CAP_H 1 | 7766 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6695 | _ACEOF | 7767 | _ACEOF |
6696 | 7768 | ||
6697 | fi | 7769 | fi |
@@ -6700,15 +7772,60 @@ done | |||
6700 | 7772 | ||
6701 | 7773 | ||
6702 | # older BSDs need sys/param.h before sys/mount.h | 7774 | # older BSDs need sys/param.h before sys/mount.h |
7775 | |||
6703 | for ac_header in sys/mount.h | 7776 | for ac_header in sys/mount.h |
6704 | do : | 7777 | do |
6705 | ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" " | 7778 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7779 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7780 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7781 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7782 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7783 | else | ||
7784 | cat >conftest.$ac_ext <<_ACEOF | ||
7785 | /* confdefs.h. */ | ||
7786 | _ACEOF | ||
7787 | cat confdefs.h >>conftest.$ac_ext | ||
7788 | cat >>conftest.$ac_ext <<_ACEOF | ||
7789 | /* end confdefs.h. */ | ||
7790 | |||
6706 | #include <sys/param.h> | 7791 | #include <sys/param.h> |
6707 | 7792 | ||
6708 | " | 7793 | |
6709 | if test "x$ac_cv_header_sys_mount_h" = xyes; then : | 7794 | #include <$ac_header> |
7795 | _ACEOF | ||
7796 | rm -f conftest.$ac_objext | ||
7797 | if { (ac_try="$ac_compile" | ||
7798 | case "(($ac_try" in | ||
7799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7800 | *) ac_try_echo=$ac_try;; | ||
7801 | esac | ||
7802 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7803 | (eval "$ac_compile") 2>conftest.er1 | ||
7804 | ac_status=$? | ||
7805 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7806 | rm -f conftest.er1 | ||
7807 | cat conftest.err >&5 | ||
7808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7809 | (exit $ac_status); } && { | ||
7810 | test -z "$ac_c_werror_flag" || | ||
7811 | test ! -s conftest.err | ||
7812 | } && test -s conftest.$ac_objext; then | ||
7813 | eval "$as_ac_Header=yes" | ||
7814 | else | ||
7815 | echo "$as_me: failed program was:" >&5 | ||
7816 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7817 | |||
7818 | eval "$as_ac_Header=no" | ||
7819 | fi | ||
7820 | |||
7821 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7822 | fi | ||
7823 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7824 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7825 | echo "${ECHO_T}$ac_res" >&6; } | ||
7826 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6710 | cat >>confdefs.h <<_ACEOF | 7827 | cat >>confdefs.h <<_ACEOF |
6711 | #define HAVE_SYS_MOUNT_H 1 | 7828 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6712 | _ACEOF | 7829 | _ACEOF |
6713 | 7830 | ||
6714 | fi | 7831 | fi |
@@ -6717,16 +7834,61 @@ done | |||
6717 | 7834 | ||
6718 | 7835 | ||
6719 | # Android requires sys/socket.h to be included before sys/un.h | 7836 | # Android requires sys/socket.h to be included before sys/un.h |
7837 | |||
6720 | for ac_header in sys/un.h | 7838 | for ac_header in sys/un.h |
6721 | do : | 7839 | do |
6722 | ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" " | 7840 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7841 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
7842 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
7843 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
7844 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7845 | else | ||
7846 | cat >conftest.$ac_ext <<_ACEOF | ||
7847 | /* confdefs.h. */ | ||
7848 | _ACEOF | ||
7849 | cat confdefs.h >>conftest.$ac_ext | ||
7850 | cat >>conftest.$ac_ext <<_ACEOF | ||
7851 | /* end confdefs.h. */ | ||
7852 | |||
6723 | #include <sys/types.h> | 7853 | #include <sys/types.h> |
6724 | #include <sys/socket.h> | 7854 | #include <sys/socket.h> |
6725 | 7855 | ||
6726 | " | 7856 | |
6727 | if test "x$ac_cv_header_sys_un_h" = xyes; then : | 7857 | #include <$ac_header> |
7858 | _ACEOF | ||
7859 | rm -f conftest.$ac_objext | ||
7860 | if { (ac_try="$ac_compile" | ||
7861 | case "(($ac_try" in | ||
7862 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7863 | *) ac_try_echo=$ac_try;; | ||
7864 | esac | ||
7865 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7866 | (eval "$ac_compile") 2>conftest.er1 | ||
7867 | ac_status=$? | ||
7868 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7869 | rm -f conftest.er1 | ||
7870 | cat conftest.err >&5 | ||
7871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7872 | (exit $ac_status); } && { | ||
7873 | test -z "$ac_c_werror_flag" || | ||
7874 | test ! -s conftest.err | ||
7875 | } && test -s conftest.$ac_objext; then | ||
7876 | eval "$as_ac_Header=yes" | ||
7877 | else | ||
7878 | echo "$as_me: failed program was:" >&5 | ||
7879 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7880 | |||
7881 | eval "$as_ac_Header=no" | ||
7882 | fi | ||
7883 | |||
7884 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7885 | fi | ||
7886 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
7887 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
7888 | echo "${ECHO_T}$ac_res" >&6; } | ||
7889 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
6728 | cat >>confdefs.h <<_ACEOF | 7890 | cat >>confdefs.h <<_ACEOF |
6729 | #define HAVE_SYS_UN_H 1 | 7891 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6730 | _ACEOF | 7892 | _ACEOF |
6731 | 7893 | ||
6732 | fi | 7894 | fi |
@@ -6747,9 +7909,13 @@ case "$host" in | |||
6747 | # particularly with older versions of vac or xlc. | 7909 | # particularly with older versions of vac or xlc. |
6748 | # It also throws errors about null macro argments, but these are | 7910 | # It also throws errors about null macro argments, but these are |
6749 | # not fatal. | 7911 | # not fatal. |
6750 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler allows macro redefinitions" >&5 | 7912 | { echo "$as_me:$LINENO: checking if compiler allows macro redefinitions" >&5 |
6751 | $as_echo_n "checking if compiler allows macro redefinitions... " >&6; } | 7913 | echo $ECHO_N "checking if compiler allows macro redefinitions... $ECHO_C" >&6; } |
6752 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7914 | cat >conftest.$ac_ext <<_ACEOF |
7915 | /* confdefs.h. */ | ||
7916 | _ACEOF | ||
7917 | cat confdefs.h >>conftest.$ac_ext | ||
7918 | cat >>conftest.$ac_ext <<_ACEOF | ||
6753 | /* end confdefs.h. */ | 7919 | /* end confdefs.h. */ |
6754 | 7920 | ||
6755 | #define testmacro foo | 7921 | #define testmacro foo |
@@ -6762,12 +7928,31 @@ main () | |||
6762 | return 0; | 7928 | return 0; |
6763 | } | 7929 | } |
6764 | _ACEOF | 7930 | _ACEOF |
6765 | if ac_fn_c_try_compile "$LINENO"; then : | 7931 | rm -f conftest.$ac_objext |
6766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7932 | if { (ac_try="$ac_compile" |
6767 | $as_echo "yes" >&6; } | 7933 | case "(($ac_try" in |
7934 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7935 | *) ac_try_echo=$ac_try;; | ||
7936 | esac | ||
7937 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
7938 | (eval "$ac_compile") 2>conftest.er1 | ||
7939 | ac_status=$? | ||
7940 | grep -v '^ *+' conftest.er1 >conftest.err | ||
7941 | rm -f conftest.er1 | ||
7942 | cat conftest.err >&5 | ||
7943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
7944 | (exit $ac_status); } && { | ||
7945 | test -z "$ac_c_werror_flag" || | ||
7946 | test ! -s conftest.err | ||
7947 | } && test -s conftest.$ac_objext; then | ||
7948 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
7949 | echo "${ECHO_T}yes" >&6; } | ||
6768 | else | 7950 | else |
6769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7951 | echo "$as_me: failed program was:" >&5 |
6770 | $as_echo "no" >&6; } | 7952 | sed 's/^/| /' conftest.$ac_ext >&5 |
7953 | |||
7954 | { echo "$as_me:$LINENO: result: no" >&5 | ||
7955 | echo "${ECHO_T}no" >&6; } | ||
6771 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" | 7956 | CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" |
6772 | LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" | 7957 | LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" |
6773 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" | 7958 | CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" |
@@ -6775,10 +7960,11 @@ $as_echo "no" >&6; } | |||
6775 | 7960 | ||
6776 | 7961 | ||
6777 | fi | 7962 | fi |
7963 | |||
6778 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6779 | 7965 | ||
6780 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to specify blibpath for linker ($LD)" >&5 | 7966 | { echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 |
6781 | $as_echo_n "checking how to specify blibpath for linker ($LD)... " >&6; } | 7967 | echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6; } |
6782 | if (test -z "$blibpath"); then | 7968 | if (test -z "$blibpath"); then |
6783 | blibpath="/usr/lib:/lib" | 7969 | blibpath="/usr/lib:/lib" |
6784 | fi | 7970 | fi |
@@ -6791,7 +7977,11 @@ $as_echo_n "checking how to specify blibpath for linker ($LD)... " >&6; } | |||
6791 | for tryflags in $flags ;do | 7977 | for tryflags in $flags ;do |
6792 | if (test -z "$blibflags"); then | 7978 | if (test -z "$blibflags"); then |
6793 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" | 7979 | LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" |
6794 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7980 | cat >conftest.$ac_ext <<_ACEOF |
7981 | /* confdefs.h. */ | ||
7982 | _ACEOF | ||
7983 | cat confdefs.h >>conftest.$ac_ext | ||
7984 | cat >>conftest.$ac_ext <<_ACEOF | ||
6795 | /* end confdefs.h. */ | 7985 | /* end confdefs.h. */ |
6796 | 7986 | ||
6797 | int | 7987 | int |
@@ -6802,36 +7992,147 @@ main () | |||
6802 | return 0; | 7992 | return 0; |
6803 | } | 7993 | } |
6804 | _ACEOF | 7994 | _ACEOF |
6805 | if ac_fn_c_try_link "$LINENO"; then : | 7995 | rm -f conftest.$ac_objext conftest$ac_exeext |
7996 | if { (ac_try="$ac_link" | ||
7997 | case "(($ac_try" in | ||
7998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
7999 | *) ac_try_echo=$ac_try;; | ||
8000 | esac | ||
8001 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8002 | (eval "$ac_link") 2>conftest.er1 | ||
8003 | ac_status=$? | ||
8004 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8005 | rm -f conftest.er1 | ||
8006 | cat conftest.err >&5 | ||
8007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8008 | (exit $ac_status); } && { | ||
8009 | test -z "$ac_c_werror_flag" || | ||
8010 | test ! -s conftest.err | ||
8011 | } && test -s conftest$ac_exeext && | ||
8012 | $as_test_x conftest$ac_exeext; then | ||
6806 | blibflags=$tryflags | 8013 | blibflags=$tryflags |
8014 | else | ||
8015 | echo "$as_me: failed program was:" >&5 | ||
8016 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8017 | |||
8018 | |||
6807 | fi | 8019 | fi |
6808 | rm -f core conftest.err conftest.$ac_objext \ | 8020 | |
6809 | conftest$ac_exeext conftest.$ac_ext | 8021 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8022 | conftest$ac_exeext conftest.$ac_ext | ||
6810 | fi | 8023 | fi |
6811 | done | 8024 | done |
6812 | if (test -z "$blibflags"); then | 8025 | if (test -z "$blibflags"); then |
6813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 | 8026 | { echo "$as_me:$LINENO: result: not found" >&5 |
6814 | $as_echo "not found" >&6; } | 8027 | echo "${ECHO_T}not found" >&6; } |
6815 | as_fn_error $? "*** must be able to specify blibpath on AIX - check config.log" "$LINENO" 5 | 8028 | { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 |
8029 | echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} | ||
8030 | { (exit 1); exit 1; }; } | ||
6816 | else | 8031 | else |
6817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $blibflags" >&5 | 8032 | { echo "$as_me:$LINENO: result: $blibflags" >&5 |
6818 | $as_echo "$blibflags" >&6; } | 8033 | echo "${ECHO_T}$blibflags" >&6; } |
6819 | fi | 8034 | fi |
6820 | LDFLAGS="$saved_LDFLAGS" | 8035 | LDFLAGS="$saved_LDFLAGS" |
6821 | ac_fn_c_check_func "$LINENO" "authenticate" "ac_cv_func_authenticate" | 8036 | { echo "$as_me:$LINENO: checking for authenticate" >&5 |
6822 | if test "x$ac_cv_func_authenticate" = xyes; then : | 8037 | echo $ECHO_N "checking for authenticate... $ECHO_C" >&6; } |
8038 | if test "${ac_cv_func_authenticate+set}" = set; then | ||
8039 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8040 | else | ||
8041 | cat >conftest.$ac_ext <<_ACEOF | ||
8042 | /* confdefs.h. */ | ||
8043 | _ACEOF | ||
8044 | cat confdefs.h >>conftest.$ac_ext | ||
8045 | cat >>conftest.$ac_ext <<_ACEOF | ||
8046 | /* end confdefs.h. */ | ||
8047 | /* Define authenticate to an innocuous variant, in case <limits.h> declares authenticate. | ||
8048 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8049 | #define authenticate innocuous_authenticate | ||
8050 | |||
8051 | /* System header to define __stub macros and hopefully few prototypes, | ||
8052 | which can conflict with char authenticate (); below. | ||
8053 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8054 | <limits.h> exists even on freestanding compilers. */ | ||
8055 | |||
8056 | #ifdef __STDC__ | ||
8057 | # include <limits.h> | ||
8058 | #else | ||
8059 | # include <assert.h> | ||
8060 | #endif | ||
8061 | |||
8062 | #undef authenticate | ||
8063 | |||
8064 | /* Override any GCC internal prototype to avoid an error. | ||
8065 | Use char because int might match the return type of a GCC | ||
8066 | builtin and then its argument prototype would still apply. */ | ||
8067 | #ifdef __cplusplus | ||
8068 | extern "C" | ||
8069 | #endif | ||
8070 | char authenticate (); | ||
8071 | /* The GNU C library defines this for functions which it implements | ||
8072 | to always fail with ENOSYS. Some functions are actually named | ||
8073 | something starting with __ and the normal name is an alias. */ | ||
8074 | #if defined __stub_authenticate || defined __stub___authenticate | ||
8075 | choke me | ||
8076 | #endif | ||
6823 | 8077 | ||
6824 | $as_echo "#define WITH_AIXAUTHENTICATE 1" >>confdefs.h | 8078 | int |
8079 | main () | ||
8080 | { | ||
8081 | return authenticate (); | ||
8082 | ; | ||
8083 | return 0; | ||
8084 | } | ||
8085 | _ACEOF | ||
8086 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8087 | if { (ac_try="$ac_link" | ||
8088 | case "(($ac_try" in | ||
8089 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8090 | *) ac_try_echo=$ac_try;; | ||
8091 | esac | ||
8092 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8093 | (eval "$ac_link") 2>conftest.er1 | ||
8094 | ac_status=$? | ||
8095 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8096 | rm -f conftest.er1 | ||
8097 | cat conftest.err >&5 | ||
8098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8099 | (exit $ac_status); } && { | ||
8100 | test -z "$ac_c_werror_flag" || | ||
8101 | test ! -s conftest.err | ||
8102 | } && test -s conftest$ac_exeext && | ||
8103 | $as_test_x conftest$ac_exeext; then | ||
8104 | ac_cv_func_authenticate=yes | ||
8105 | else | ||
8106 | echo "$as_me: failed program was:" >&5 | ||
8107 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8108 | |||
8109 | ac_cv_func_authenticate=no | ||
8110 | fi | ||
8111 | |||
8112 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
8113 | conftest$ac_exeext conftest.$ac_ext | ||
8114 | fi | ||
8115 | { echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 | ||
8116 | echo "${ECHO_T}$ac_cv_func_authenticate" >&6; } | ||
8117 | if test $ac_cv_func_authenticate = yes; then | ||
8118 | |||
8119 | cat >>confdefs.h <<\_ACEOF | ||
8120 | #define WITH_AIXAUTHENTICATE 1 | ||
8121 | _ACEOF | ||
6825 | 8122 | ||
6826 | else | 8123 | else |
6827 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for authenticate in -ls" >&5 | 8124 | { echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 |
6828 | $as_echo_n "checking for authenticate in -ls... " >&6; } | 8125 | echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6; } |
6829 | if ${ac_cv_lib_s_authenticate+:} false; then : | 8126 | if test "${ac_cv_lib_s_authenticate+set}" = set; then |
6830 | $as_echo_n "(cached) " >&6 | 8127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6831 | else | 8128 | else |
6832 | ac_check_lib_save_LIBS=$LIBS | 8129 | ac_check_lib_save_LIBS=$LIBS |
6833 | LIBS="-ls $LIBS" | 8130 | LIBS="-ls $LIBS" |
6834 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8131 | cat >conftest.$ac_ext <<_ACEOF |
8132 | /* confdefs.h. */ | ||
8133 | _ACEOF | ||
8134 | cat confdefs.h >>conftest.$ac_ext | ||
8135 | cat >>conftest.$ac_ext <<_ACEOF | ||
6835 | /* end confdefs.h. */ | 8136 | /* end confdefs.h. */ |
6836 | 8137 | ||
6837 | /* Override any GCC internal prototype to avoid an error. | 8138 | /* Override any GCC internal prototype to avoid an error. |
@@ -6849,19 +8150,42 @@ return authenticate (); | |||
6849 | return 0; | 8150 | return 0; |
6850 | } | 8151 | } |
6851 | _ACEOF | 8152 | _ACEOF |
6852 | if ac_fn_c_try_link "$LINENO"; then : | 8153 | rm -f conftest.$ac_objext conftest$ac_exeext |
8154 | if { (ac_try="$ac_link" | ||
8155 | case "(($ac_try" in | ||
8156 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8157 | *) ac_try_echo=$ac_try;; | ||
8158 | esac | ||
8159 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8160 | (eval "$ac_link") 2>conftest.er1 | ||
8161 | ac_status=$? | ||
8162 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8163 | rm -f conftest.er1 | ||
8164 | cat conftest.err >&5 | ||
8165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8166 | (exit $ac_status); } && { | ||
8167 | test -z "$ac_c_werror_flag" || | ||
8168 | test ! -s conftest.err | ||
8169 | } && test -s conftest$ac_exeext && | ||
8170 | $as_test_x conftest$ac_exeext; then | ||
6853 | ac_cv_lib_s_authenticate=yes | 8171 | ac_cv_lib_s_authenticate=yes |
6854 | else | 8172 | else |
6855 | ac_cv_lib_s_authenticate=no | 8173 | echo "$as_me: failed program was:" >&5 |
8174 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8175 | |||
8176 | ac_cv_lib_s_authenticate=no | ||
6856 | fi | 8177 | fi |
6857 | rm -f core conftest.err conftest.$ac_objext \ | 8178 | |
6858 | conftest$ac_exeext conftest.$ac_ext | 8179 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8180 | conftest$ac_exeext conftest.$ac_ext | ||
6859 | LIBS=$ac_check_lib_save_LIBS | 8181 | LIBS=$ac_check_lib_save_LIBS |
6860 | fi | 8182 | fi |
6861 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_s_authenticate" >&5 | 8183 | { echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 |
6862 | $as_echo "$ac_cv_lib_s_authenticate" >&6; } | 8184 | echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6; } |
6863 | if test "x$ac_cv_lib_s_authenticate" = xyes; then : | 8185 | if test $ac_cv_lib_s_authenticate = yes; then |
6864 | $as_echo "#define WITH_AIXAUTHENTICATE 1" >>confdefs.h | 8186 | cat >>confdefs.h <<\_ACEOF |
8187 | #define WITH_AIXAUTHENTICATE 1 | ||
8188 | _ACEOF | ||
6865 | 8189 | ||
6866 | LIBS="$LIBS -ls" | 8190 | LIBS="$LIBS -ls" |
6867 | 8191 | ||
@@ -6870,78 +8194,410 @@ fi | |||
6870 | 8194 | ||
6871 | fi | 8195 | fi |
6872 | 8196 | ||
6873 | ac_fn_c_check_decl "$LINENO" "authenticate" "ac_cv_have_decl_authenticate" "#include <usersec.h> | 8197 | { echo "$as_me:$LINENO: checking whether authenticate is declared" >&5 |
6874 | " | 8198 | echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6; } |
6875 | if test "x$ac_cv_have_decl_authenticate" = xyes; then : | 8199 | if test "${ac_cv_have_decl_authenticate+set}" = set; then |
6876 | ac_have_decl=1 | 8200 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6877 | else | 8201 | else |
6878 | ac_have_decl=0 | 8202 | cat >conftest.$ac_ext <<_ACEOF |
8203 | /* confdefs.h. */ | ||
8204 | _ACEOF | ||
8205 | cat confdefs.h >>conftest.$ac_ext | ||
8206 | cat >>conftest.$ac_ext <<_ACEOF | ||
8207 | /* end confdefs.h. */ | ||
8208 | #include <usersec.h> | ||
8209 | |||
8210 | int | ||
8211 | main () | ||
8212 | { | ||
8213 | #ifndef authenticate | ||
8214 | (void) authenticate; | ||
8215 | #endif | ||
8216 | |||
8217 | ; | ||
8218 | return 0; | ||
8219 | } | ||
8220 | _ACEOF | ||
8221 | rm -f conftest.$ac_objext | ||
8222 | if { (ac_try="$ac_compile" | ||
8223 | case "(($ac_try" in | ||
8224 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8225 | *) ac_try_echo=$ac_try;; | ||
8226 | esac | ||
8227 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8228 | (eval "$ac_compile") 2>conftest.er1 | ||
8229 | ac_status=$? | ||
8230 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8231 | rm -f conftest.er1 | ||
8232 | cat conftest.err >&5 | ||
8233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8234 | (exit $ac_status); } && { | ||
8235 | test -z "$ac_c_werror_flag" || | ||
8236 | test ! -s conftest.err | ||
8237 | } && test -s conftest.$ac_objext; then | ||
8238 | ac_cv_have_decl_authenticate=yes | ||
8239 | else | ||
8240 | echo "$as_me: failed program was:" >&5 | ||
8241 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8242 | |||
8243 | ac_cv_have_decl_authenticate=no | ||
6879 | fi | 8244 | fi |
6880 | 8245 | ||
8246 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8247 | fi | ||
8248 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5 | ||
8249 | echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6; } | ||
8250 | if test $ac_cv_have_decl_authenticate = yes; then | ||
8251 | |||
6881 | cat >>confdefs.h <<_ACEOF | 8252 | cat >>confdefs.h <<_ACEOF |
6882 | #define HAVE_DECL_AUTHENTICATE $ac_have_decl | 8253 | #define HAVE_DECL_AUTHENTICATE 1 |
6883 | _ACEOF | 8254 | _ACEOF |
6884 | ac_fn_c_check_decl "$LINENO" "loginrestrictions" "ac_cv_have_decl_loginrestrictions" "#include <usersec.h> | 8255 | |
6885 | " | 8256 | |
6886 | if test "x$ac_cv_have_decl_loginrestrictions" = xyes; then : | 8257 | else |
6887 | ac_have_decl=1 | 8258 | cat >>confdefs.h <<_ACEOF |
8259 | #define HAVE_DECL_AUTHENTICATE 0 | ||
8260 | _ACEOF | ||
8261 | |||
8262 | |||
8263 | fi | ||
8264 | { echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 | ||
8265 | echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6; } | ||
8266 | if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then | ||
8267 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8268 | else | ||
8269 | cat >conftest.$ac_ext <<_ACEOF | ||
8270 | /* confdefs.h. */ | ||
8271 | _ACEOF | ||
8272 | cat confdefs.h >>conftest.$ac_ext | ||
8273 | cat >>conftest.$ac_ext <<_ACEOF | ||
8274 | /* end confdefs.h. */ | ||
8275 | #include <usersec.h> | ||
8276 | |||
8277 | int | ||
8278 | main () | ||
8279 | { | ||
8280 | #ifndef loginrestrictions | ||
8281 | (void) loginrestrictions; | ||
8282 | #endif | ||
8283 | |||
8284 | ; | ||
8285 | return 0; | ||
8286 | } | ||
8287 | _ACEOF | ||
8288 | rm -f conftest.$ac_objext | ||
8289 | if { (ac_try="$ac_compile" | ||
8290 | case "(($ac_try" in | ||
8291 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8292 | *) ac_try_echo=$ac_try;; | ||
8293 | esac | ||
8294 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8295 | (eval "$ac_compile") 2>conftest.er1 | ||
8296 | ac_status=$? | ||
8297 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8298 | rm -f conftest.er1 | ||
8299 | cat conftest.err >&5 | ||
8300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8301 | (exit $ac_status); } && { | ||
8302 | test -z "$ac_c_werror_flag" || | ||
8303 | test ! -s conftest.err | ||
8304 | } && test -s conftest.$ac_objext; then | ||
8305 | ac_cv_have_decl_loginrestrictions=yes | ||
6888 | else | 8306 | else |
6889 | ac_have_decl=0 | 8307 | echo "$as_me: failed program was:" >&5 |
8308 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8309 | |||
8310 | ac_cv_have_decl_loginrestrictions=no | ||
6890 | fi | 8311 | fi |
6891 | 8312 | ||
8313 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8314 | fi | ||
8315 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5 | ||
8316 | echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6; } | ||
8317 | if test $ac_cv_have_decl_loginrestrictions = yes; then | ||
8318 | |||
6892 | cat >>confdefs.h <<_ACEOF | 8319 | cat >>confdefs.h <<_ACEOF |
6893 | #define HAVE_DECL_LOGINRESTRICTIONS $ac_have_decl | 8320 | #define HAVE_DECL_LOGINRESTRICTIONS 1 |
6894 | _ACEOF | 8321 | _ACEOF |
6895 | ac_fn_c_check_decl "$LINENO" "loginsuccess" "ac_cv_have_decl_loginsuccess" "#include <usersec.h> | 8322 | |
6896 | " | 8323 | |
6897 | if test "x$ac_cv_have_decl_loginsuccess" = xyes; then : | 8324 | else |
6898 | ac_have_decl=1 | 8325 | cat >>confdefs.h <<_ACEOF |
8326 | #define HAVE_DECL_LOGINRESTRICTIONS 0 | ||
8327 | _ACEOF | ||
8328 | |||
8329 | |||
8330 | fi | ||
8331 | { echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 | ||
8332 | echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6; } | ||
8333 | if test "${ac_cv_have_decl_loginsuccess+set}" = set; then | ||
8334 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8335 | else | ||
8336 | cat >conftest.$ac_ext <<_ACEOF | ||
8337 | /* confdefs.h. */ | ||
8338 | _ACEOF | ||
8339 | cat confdefs.h >>conftest.$ac_ext | ||
8340 | cat >>conftest.$ac_ext <<_ACEOF | ||
8341 | /* end confdefs.h. */ | ||
8342 | #include <usersec.h> | ||
8343 | |||
8344 | int | ||
8345 | main () | ||
8346 | { | ||
8347 | #ifndef loginsuccess | ||
8348 | (void) loginsuccess; | ||
8349 | #endif | ||
8350 | |||
8351 | ; | ||
8352 | return 0; | ||
8353 | } | ||
8354 | _ACEOF | ||
8355 | rm -f conftest.$ac_objext | ||
8356 | if { (ac_try="$ac_compile" | ||
8357 | case "(($ac_try" in | ||
8358 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8359 | *) ac_try_echo=$ac_try;; | ||
8360 | esac | ||
8361 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8362 | (eval "$ac_compile") 2>conftest.er1 | ||
8363 | ac_status=$? | ||
8364 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8365 | rm -f conftest.er1 | ||
8366 | cat conftest.err >&5 | ||
8367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8368 | (exit $ac_status); } && { | ||
8369 | test -z "$ac_c_werror_flag" || | ||
8370 | test ! -s conftest.err | ||
8371 | } && test -s conftest.$ac_objext; then | ||
8372 | ac_cv_have_decl_loginsuccess=yes | ||
6899 | else | 8373 | else |
6900 | ac_have_decl=0 | 8374 | echo "$as_me: failed program was:" >&5 |
8375 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8376 | |||
8377 | ac_cv_have_decl_loginsuccess=no | ||
8378 | fi | ||
8379 | |||
8380 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6901 | fi | 8381 | fi |
8382 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5 | ||
8383 | echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6; } | ||
8384 | if test $ac_cv_have_decl_loginsuccess = yes; then | ||
6902 | 8385 | ||
6903 | cat >>confdefs.h <<_ACEOF | 8386 | cat >>confdefs.h <<_ACEOF |
6904 | #define HAVE_DECL_LOGINSUCCESS $ac_have_decl | 8387 | #define HAVE_DECL_LOGINSUCCESS 1 |
6905 | _ACEOF | 8388 | _ACEOF |
6906 | ac_fn_c_check_decl "$LINENO" "passwdexpired" "ac_cv_have_decl_passwdexpired" "#include <usersec.h> | 8389 | |
6907 | " | 8390 | |
6908 | if test "x$ac_cv_have_decl_passwdexpired" = xyes; then : | ||
6909 | ac_have_decl=1 | ||
6910 | else | 8391 | else |
6911 | ac_have_decl=0 | 8392 | cat >>confdefs.h <<_ACEOF |
8393 | #define HAVE_DECL_LOGINSUCCESS 0 | ||
8394 | _ACEOF | ||
8395 | |||
8396 | |||
6912 | fi | 8397 | fi |
8398 | { echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 | ||
8399 | echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6; } | ||
8400 | if test "${ac_cv_have_decl_passwdexpired+set}" = set; then | ||
8401 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8402 | else | ||
8403 | cat >conftest.$ac_ext <<_ACEOF | ||
8404 | /* confdefs.h. */ | ||
8405 | _ACEOF | ||
8406 | cat confdefs.h >>conftest.$ac_ext | ||
8407 | cat >>conftest.$ac_ext <<_ACEOF | ||
8408 | /* end confdefs.h. */ | ||
8409 | #include <usersec.h> | ||
8410 | |||
8411 | int | ||
8412 | main () | ||
8413 | { | ||
8414 | #ifndef passwdexpired | ||
8415 | (void) passwdexpired; | ||
8416 | #endif | ||
8417 | |||
8418 | ; | ||
8419 | return 0; | ||
8420 | } | ||
8421 | _ACEOF | ||
8422 | rm -f conftest.$ac_objext | ||
8423 | if { (ac_try="$ac_compile" | ||
8424 | case "(($ac_try" in | ||
8425 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8426 | *) ac_try_echo=$ac_try;; | ||
8427 | esac | ||
8428 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8429 | (eval "$ac_compile") 2>conftest.er1 | ||
8430 | ac_status=$? | ||
8431 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8432 | rm -f conftest.er1 | ||
8433 | cat conftest.err >&5 | ||
8434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8435 | (exit $ac_status); } && { | ||
8436 | test -z "$ac_c_werror_flag" || | ||
8437 | test ! -s conftest.err | ||
8438 | } && test -s conftest.$ac_objext; then | ||
8439 | ac_cv_have_decl_passwdexpired=yes | ||
8440 | else | ||
8441 | echo "$as_me: failed program was:" >&5 | ||
8442 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8443 | |||
8444 | ac_cv_have_decl_passwdexpired=no | ||
8445 | fi | ||
8446 | |||
8447 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8448 | fi | ||
8449 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5 | ||
8450 | echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6; } | ||
8451 | if test $ac_cv_have_decl_passwdexpired = yes; then | ||
6913 | 8452 | ||
6914 | cat >>confdefs.h <<_ACEOF | 8453 | cat >>confdefs.h <<_ACEOF |
6915 | #define HAVE_DECL_PASSWDEXPIRED $ac_have_decl | 8454 | #define HAVE_DECL_PASSWDEXPIRED 1 |
6916 | _ACEOF | 8455 | _ACEOF |
6917 | ac_fn_c_check_decl "$LINENO" "setauthdb" "ac_cv_have_decl_setauthdb" "#include <usersec.h> | 8456 | |
6918 | " | 8457 | |
6919 | if test "x$ac_cv_have_decl_setauthdb" = xyes; then : | 8458 | else |
6920 | ac_have_decl=1 | 8459 | cat >>confdefs.h <<_ACEOF |
8460 | #define HAVE_DECL_PASSWDEXPIRED 0 | ||
8461 | _ACEOF | ||
8462 | |||
8463 | |||
8464 | fi | ||
8465 | { echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 | ||
8466 | echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6; } | ||
8467 | if test "${ac_cv_have_decl_setauthdb+set}" = set; then | ||
8468 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
6921 | else | 8469 | else |
6922 | ac_have_decl=0 | 8470 | cat >conftest.$ac_ext <<_ACEOF |
8471 | /* confdefs.h. */ | ||
8472 | _ACEOF | ||
8473 | cat confdefs.h >>conftest.$ac_ext | ||
8474 | cat >>conftest.$ac_ext <<_ACEOF | ||
8475 | /* end confdefs.h. */ | ||
8476 | #include <usersec.h> | ||
8477 | |||
8478 | int | ||
8479 | main () | ||
8480 | { | ||
8481 | #ifndef setauthdb | ||
8482 | (void) setauthdb; | ||
8483 | #endif | ||
8484 | |||
8485 | ; | ||
8486 | return 0; | ||
8487 | } | ||
8488 | _ACEOF | ||
8489 | rm -f conftest.$ac_objext | ||
8490 | if { (ac_try="$ac_compile" | ||
8491 | case "(($ac_try" in | ||
8492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8493 | *) ac_try_echo=$ac_try;; | ||
8494 | esac | ||
8495 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8496 | (eval "$ac_compile") 2>conftest.er1 | ||
8497 | ac_status=$? | ||
8498 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8499 | rm -f conftest.er1 | ||
8500 | cat conftest.err >&5 | ||
8501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8502 | (exit $ac_status); } && { | ||
8503 | test -z "$ac_c_werror_flag" || | ||
8504 | test ! -s conftest.err | ||
8505 | } && test -s conftest.$ac_objext; then | ||
8506 | ac_cv_have_decl_setauthdb=yes | ||
8507 | else | ||
8508 | echo "$as_me: failed program was:" >&5 | ||
8509 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8510 | |||
8511 | ac_cv_have_decl_setauthdb=no | ||
6923 | fi | 8512 | fi |
6924 | 8513 | ||
8514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8515 | fi | ||
8516 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5 | ||
8517 | echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6; } | ||
8518 | if test $ac_cv_have_decl_setauthdb = yes; then | ||
8519 | |||
6925 | cat >>confdefs.h <<_ACEOF | 8520 | cat >>confdefs.h <<_ACEOF |
6926 | #define HAVE_DECL_SETAUTHDB $ac_have_decl | 8521 | #define HAVE_DECL_SETAUTHDB 1 |
6927 | _ACEOF | 8522 | _ACEOF |
6928 | 8523 | ||
6929 | ac_fn_c_check_decl "$LINENO" "loginfailed" "ac_cv_have_decl_loginfailed" "#include <usersec.h> | ||
6930 | 8524 | ||
6931 | " | ||
6932 | if test "x$ac_cv_have_decl_loginfailed" = xyes; then : | ||
6933 | ac_have_decl=1 | ||
6934 | else | 8525 | else |
6935 | ac_have_decl=0 | 8526 | cat >>confdefs.h <<_ACEOF |
8527 | #define HAVE_DECL_SETAUTHDB 0 | ||
8528 | _ACEOF | ||
8529 | |||
8530 | |||
6936 | fi | 8531 | fi |
6937 | 8532 | ||
8533 | |||
8534 | { echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 | ||
8535 | echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6; } | ||
8536 | if test "${ac_cv_have_decl_loginfailed+set}" = set; then | ||
8537 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8538 | else | ||
8539 | cat >conftest.$ac_ext <<_ACEOF | ||
8540 | /* confdefs.h. */ | ||
8541 | _ACEOF | ||
8542 | cat confdefs.h >>conftest.$ac_ext | ||
8543 | cat >>conftest.$ac_ext <<_ACEOF | ||
8544 | /* end confdefs.h. */ | ||
8545 | #include <usersec.h> | ||
8546 | |||
8547 | |||
8548 | int | ||
8549 | main () | ||
8550 | { | ||
8551 | #ifndef loginfailed | ||
8552 | (void) loginfailed; | ||
8553 | #endif | ||
8554 | |||
8555 | ; | ||
8556 | return 0; | ||
8557 | } | ||
8558 | _ACEOF | ||
8559 | rm -f conftest.$ac_objext | ||
8560 | if { (ac_try="$ac_compile" | ||
8561 | case "(($ac_try" in | ||
8562 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8563 | *) ac_try_echo=$ac_try;; | ||
8564 | esac | ||
8565 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8566 | (eval "$ac_compile") 2>conftest.er1 | ||
8567 | ac_status=$? | ||
8568 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8569 | rm -f conftest.er1 | ||
8570 | cat conftest.err >&5 | ||
8571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8572 | (exit $ac_status); } && { | ||
8573 | test -z "$ac_c_werror_flag" || | ||
8574 | test ! -s conftest.err | ||
8575 | } && test -s conftest.$ac_objext; then | ||
8576 | ac_cv_have_decl_loginfailed=yes | ||
8577 | else | ||
8578 | echo "$as_me: failed program was:" >&5 | ||
8579 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8580 | |||
8581 | ac_cv_have_decl_loginfailed=no | ||
8582 | fi | ||
8583 | |||
8584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8585 | fi | ||
8586 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 | ||
8587 | echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6; } | ||
8588 | if test $ac_cv_have_decl_loginfailed = yes; then | ||
8589 | |||
6938 | cat >>confdefs.h <<_ACEOF | 8590 | cat >>confdefs.h <<_ACEOF |
6939 | #define HAVE_DECL_LOGINFAILED $ac_have_decl | 8591 | #define HAVE_DECL_LOGINFAILED 1 |
6940 | _ACEOF | 8592 | _ACEOF |
6941 | if test $ac_have_decl = 1; then : | 8593 | |
6942 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if loginfailed takes 4 arguments" >&5 | 8594 | { echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 |
6943 | $as_echo_n "checking if loginfailed takes 4 arguments... " >&6; } | 8595 | echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6; } |
6944 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8596 | cat >conftest.$ac_ext <<_ACEOF |
8597 | /* confdefs.h. */ | ||
8598 | _ACEOF | ||
8599 | cat confdefs.h >>conftest.$ac_ext | ||
8600 | cat >>conftest.$ac_ext <<_ACEOF | ||
6945 | /* end confdefs.h. */ | 8601 | /* end confdefs.h. */ |
6946 | #include <usersec.h> | 8602 | #include <usersec.h> |
6947 | int | 8603 | int |
@@ -6952,119 +8608,328 @@ main () | |||
6952 | return 0; | 8608 | return 0; |
6953 | } | 8609 | } |
6954 | _ACEOF | 8610 | _ACEOF |
6955 | if ac_fn_c_try_compile "$LINENO"; then : | 8611 | rm -f conftest.$ac_objext |
6956 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8612 | if { (ac_try="$ac_compile" |
6957 | $as_echo "yes" >&6; } | 8613 | case "(($ac_try" in |
8614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8615 | *) ac_try_echo=$ac_try;; | ||
8616 | esac | ||
8617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8618 | (eval "$ac_compile") 2>conftest.er1 | ||
8619 | ac_status=$? | ||
8620 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8621 | rm -f conftest.er1 | ||
8622 | cat conftest.err >&5 | ||
8623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8624 | (exit $ac_status); } && { | ||
8625 | test -z "$ac_c_werror_flag" || | ||
8626 | test ! -s conftest.err | ||
8627 | } && test -s conftest.$ac_objext; then | ||
8628 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
8629 | echo "${ECHO_T}yes" >&6; } | ||
6958 | 8630 | ||
6959 | $as_echo "#define AIX_LOGINFAILED_4ARG 1" >>confdefs.h | 8631 | cat >>confdefs.h <<\_ACEOF |
8632 | #define AIX_LOGINFAILED_4ARG 1 | ||
8633 | _ACEOF | ||
6960 | 8634 | ||
6961 | else | 8635 | else |
6962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8636 | echo "$as_me: failed program was:" >&5 |
6963 | $as_echo "no" >&6; } | 8637 | sed 's/^/| /' conftest.$ac_ext >&5 |
8638 | |||
8639 | { echo "$as_me:$LINENO: result: no" >&5 | ||
8640 | echo "${ECHO_T}no" >&6; } | ||
6964 | 8641 | ||
6965 | fi | 8642 | fi |
8643 | |||
6966 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8644 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8645 | else | ||
8646 | cat >>confdefs.h <<_ACEOF | ||
8647 | #define HAVE_DECL_LOGINFAILED 0 | ||
8648 | _ACEOF | ||
8649 | |||
8650 | |||
8651 | fi | ||
8652 | |||
8653 | |||
8654 | |||
8655 | |||
8656 | for ac_func in getgrset setauthdb | ||
8657 | do | ||
8658 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
8659 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
8660 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
8661 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
8662 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8663 | else | ||
8664 | cat >conftest.$ac_ext <<_ACEOF | ||
8665 | /* confdefs.h. */ | ||
8666 | _ACEOF | ||
8667 | cat confdefs.h >>conftest.$ac_ext | ||
8668 | cat >>conftest.$ac_ext <<_ACEOF | ||
8669 | /* end confdefs.h. */ | ||
8670 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
8671 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
8672 | #define $ac_func innocuous_$ac_func | ||
8673 | |||
8674 | /* System header to define __stub macros and hopefully few prototypes, | ||
8675 | which can conflict with char $ac_func (); below. | ||
8676 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
8677 | <limits.h> exists even on freestanding compilers. */ | ||
8678 | |||
8679 | #ifdef __STDC__ | ||
8680 | # include <limits.h> | ||
8681 | #else | ||
8682 | # include <assert.h> | ||
8683 | #endif | ||
8684 | |||
8685 | #undef $ac_func | ||
8686 | |||
8687 | /* Override any GCC internal prototype to avoid an error. | ||
8688 | Use char because int might match the return type of a GCC | ||
8689 | builtin and then its argument prototype would still apply. */ | ||
8690 | #ifdef __cplusplus | ||
8691 | extern "C" | ||
8692 | #endif | ||
8693 | char $ac_func (); | ||
8694 | /* The GNU C library defines this for functions which it implements | ||
8695 | to always fail with ENOSYS. Some functions are actually named | ||
8696 | something starting with __ and the normal name is an alias. */ | ||
8697 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
8698 | choke me | ||
8699 | #endif | ||
8700 | |||
8701 | int | ||
8702 | main () | ||
8703 | { | ||
8704 | return $ac_func (); | ||
8705 | ; | ||
8706 | return 0; | ||
8707 | } | ||
8708 | _ACEOF | ||
8709 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
8710 | if { (ac_try="$ac_link" | ||
8711 | case "(($ac_try" in | ||
8712 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8713 | *) ac_try_echo=$ac_try;; | ||
8714 | esac | ||
8715 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8716 | (eval "$ac_link") 2>conftest.er1 | ||
8717 | ac_status=$? | ||
8718 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8719 | rm -f conftest.er1 | ||
8720 | cat conftest.err >&5 | ||
8721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8722 | (exit $ac_status); } && { | ||
8723 | test -z "$ac_c_werror_flag" || | ||
8724 | test ! -s conftest.err | ||
8725 | } && test -s conftest$ac_exeext && | ||
8726 | $as_test_x conftest$ac_exeext; then | ||
8727 | eval "$as_ac_var=yes" | ||
8728 | else | ||
8729 | echo "$as_me: failed program was:" >&5 | ||
8730 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8731 | |||
8732 | eval "$as_ac_var=no" | ||
6967 | fi | 8733 | fi |
6968 | 8734 | ||
6969 | for ac_func in getgrset setauthdb | 8735 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
6970 | do : | 8736 | conftest$ac_exeext conftest.$ac_ext |
6971 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8737 | fi |
6972 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8738 | ac_res=`eval echo '${'$as_ac_var'}'` |
6973 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 8739 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8740 | echo "${ECHO_T}$ac_res" >&6; } | ||
8741 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
6974 | cat >>confdefs.h <<_ACEOF | 8742 | cat >>confdefs.h <<_ACEOF |
6975 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8743 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
6976 | _ACEOF | 8744 | _ACEOF |
6977 | 8745 | ||
6978 | fi | 8746 | fi |
6979 | done | 8747 | done |
6980 | 8748 | ||
6981 | ac_fn_c_check_decl "$LINENO" "F_CLOSEM" "ac_cv_have_decl_F_CLOSEM" " #include <limits.h> | 8749 | { echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5 |
8750 | echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6; } | ||
8751 | if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then | ||
8752 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8753 | else | ||
8754 | cat >conftest.$ac_ext <<_ACEOF | ||
8755 | /* confdefs.h. */ | ||
8756 | _ACEOF | ||
8757 | cat confdefs.h >>conftest.$ac_ext | ||
8758 | cat >>conftest.$ac_ext <<_ACEOF | ||
8759 | /* end confdefs.h. */ | ||
8760 | #include <limits.h> | ||
6982 | #include <fcntl.h> | 8761 | #include <fcntl.h> |
6983 | 8762 | ||
6984 | " | ||
6985 | if test "x$ac_cv_have_decl_F_CLOSEM" = xyes; then : | ||
6986 | 8763 | ||
6987 | $as_echo "#define HAVE_FCNTL_CLOSEM 1" >>confdefs.h | 8764 | int |
8765 | main () | ||
8766 | { | ||
8767 | #ifndef F_CLOSEM | ||
8768 | (void) F_CLOSEM; | ||
8769 | #endif | ||
8770 | |||
8771 | ; | ||
8772 | return 0; | ||
8773 | } | ||
8774 | _ACEOF | ||
8775 | rm -f conftest.$ac_objext | ||
8776 | if { (ac_try="$ac_compile" | ||
8777 | case "(($ac_try" in | ||
8778 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8779 | *) ac_try_echo=$ac_try;; | ||
8780 | esac | ||
8781 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8782 | (eval "$ac_compile") 2>conftest.er1 | ||
8783 | ac_status=$? | ||
8784 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8785 | rm -f conftest.er1 | ||
8786 | cat conftest.err >&5 | ||
8787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8788 | (exit $ac_status); } && { | ||
8789 | test -z "$ac_c_werror_flag" || | ||
8790 | test ! -s conftest.err | ||
8791 | } && test -s conftest.$ac_objext; then | ||
8792 | ac_cv_have_decl_F_CLOSEM=yes | ||
8793 | else | ||
8794 | echo "$as_me: failed program was:" >&5 | ||
8795 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8796 | |||
8797 | ac_cv_have_decl_F_CLOSEM=no | ||
8798 | fi | ||
8799 | |||
8800 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
8801 | fi | ||
8802 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5 | ||
8803 | echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6; } | ||
8804 | if test $ac_cv_have_decl_F_CLOSEM = yes; then | ||
8805 | |||
8806 | cat >>confdefs.h <<\_ACEOF | ||
8807 | #define HAVE_FCNTL_CLOSEM 1 | ||
8808 | _ACEOF | ||
6988 | 8809 | ||
6989 | fi | 8810 | fi |
6990 | 8811 | ||
6991 | check_for_aix_broken_getaddrinfo=1 | 8812 | check_for_aix_broken_getaddrinfo=1 |
6992 | 8813 | ||
6993 | $as_echo "#define BROKEN_REALPATH 1" >>confdefs.h | 8814 | cat >>confdefs.h <<\_ACEOF |
8815 | #define BROKEN_REALPATH 1 | ||
8816 | _ACEOF | ||
6994 | 8817 | ||
6995 | 8818 | ||
6996 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 8819 | cat >>confdefs.h <<\_ACEOF |
8820 | #define SETEUID_BREAKS_SETUID 1 | ||
8821 | _ACEOF | ||
6997 | 8822 | ||
6998 | 8823 | ||
6999 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 8824 | cat >>confdefs.h <<\_ACEOF |
8825 | #define BROKEN_SETREUID 1 | ||
8826 | _ACEOF | ||
7000 | 8827 | ||
7001 | 8828 | ||
7002 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 8829 | cat >>confdefs.h <<\_ACEOF |
8830 | #define BROKEN_SETREGID 1 | ||
8831 | _ACEOF | ||
7003 | 8832 | ||
7004 | 8833 | ||
7005 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h | 8834 | cat >>confdefs.h <<\_ACEOF |
8835 | #define DISABLE_LASTLOG 1 | ||
8836 | _ACEOF | ||
7006 | 8837 | ||
7007 | 8838 | ||
7008 | $as_echo "#define LOGIN_NEEDS_UTMPX 1" >>confdefs.h | 8839 | cat >>confdefs.h <<\_ACEOF |
8840 | #define LOGIN_NEEDS_UTMPX 1 | ||
8841 | _ACEOF | ||
7009 | 8842 | ||
7010 | 8843 | ||
7011 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h | 8844 | cat >>confdefs.h <<\_ACEOF |
8845 | #define SPT_TYPE SPT_REUSEARGV | ||
8846 | _ACEOF | ||
7012 | 8847 | ||
7013 | 8848 | ||
7014 | $as_echo "#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1" >>confdefs.h | 8849 | cat >>confdefs.h <<\_ACEOF |
8850 | #define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 | ||
8851 | _ACEOF | ||
7015 | 8852 | ||
7016 | 8853 | ||
7017 | $as_echo "#define PTY_ZEROREAD 1" >>confdefs.h | 8854 | cat >>confdefs.h <<\_ACEOF |
8855 | #define PTY_ZEROREAD 1 | ||
8856 | _ACEOF | ||
7018 | 8857 | ||
7019 | 8858 | ||
7020 | $as_echo "#define PLATFORM_SYS_DIR_UID 2" >>confdefs.h | 8859 | cat >>confdefs.h <<\_ACEOF |
8860 | #define PLATFORM_SYS_DIR_UID 2 | ||
8861 | _ACEOF | ||
7021 | 8862 | ||
7022 | ;; | 8863 | ;; |
7023 | *-*-android*) | 8864 | *-*-android*) |
7024 | 8865 | ||
7025 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | 8866 | cat >>confdefs.h <<\_ACEOF |
8867 | #define DISABLE_UTMP 1 | ||
8868 | _ACEOF | ||
7026 | 8869 | ||
7027 | 8870 | ||
7028 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h | 8871 | cat >>confdefs.h <<\_ACEOF |
8872 | #define DISABLE_WTMP 1 | ||
8873 | _ACEOF | ||
7029 | 8874 | ||
7030 | ;; | 8875 | ;; |
7031 | *-*-cygwin*) | 8876 | *-*-cygwin*) |
7032 | check_for_libcrypt_later=1 | 8877 | check_for_libcrypt_later=1 |
7033 | LIBS="$LIBS /usr/lib/textreadmode.o" | 8878 | LIBS="$LIBS /usr/lib/textreadmode.o" |
7034 | 8879 | ||
7035 | $as_echo "#define HAVE_CYGWIN 1" >>confdefs.h | 8880 | cat >>confdefs.h <<\_ACEOF |
8881 | #define HAVE_CYGWIN 1 | ||
8882 | _ACEOF | ||
7036 | 8883 | ||
7037 | 8884 | ||
7038 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 8885 | cat >>confdefs.h <<\_ACEOF |
8886 | #define USE_PIPES 1 | ||
8887 | _ACEOF | ||
7039 | 8888 | ||
7040 | 8889 | ||
7041 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h | 8890 | cat >>confdefs.h <<\_ACEOF |
8891 | #define DISABLE_SHADOW 1 | ||
8892 | _ACEOF | ||
7042 | 8893 | ||
7043 | 8894 | ||
7044 | $as_echo "#define NO_X11_UNIX_SOCKETS 1" >>confdefs.h | 8895 | cat >>confdefs.h <<\_ACEOF |
8896 | #define NO_X11_UNIX_SOCKETS 1 | ||
8897 | _ACEOF | ||
7045 | 8898 | ||
7046 | 8899 | ||
7047 | $as_echo "#define NO_IPPORT_RESERVED_CONCEPT 1" >>confdefs.h | 8900 | cat >>confdefs.h <<\_ACEOF |
8901 | #define NO_IPPORT_RESERVED_CONCEPT 1 | ||
8902 | _ACEOF | ||
7048 | 8903 | ||
7049 | 8904 | ||
7050 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 8905 | cat >>confdefs.h <<\_ACEOF |
8906 | #define DISABLE_FD_PASSING 1 | ||
8907 | _ACEOF | ||
7051 | 8908 | ||
7052 | 8909 | ||
7053 | $as_echo "#define SSH_IOBUFSZ 65535" >>confdefs.h | 8910 | cat >>confdefs.h <<\_ACEOF |
8911 | #define SSH_IOBUFSZ 65535 | ||
8912 | _ACEOF | ||
7054 | 8913 | ||
7055 | 8914 | ||
7056 | $as_echo "#define FILESYSTEM_NO_BACKSLASH 1" >>confdefs.h | 8915 | cat >>confdefs.h <<\_ACEOF |
8916 | #define FILESYSTEM_NO_BACKSLASH 1 | ||
8917 | _ACEOF | ||
7057 | 8918 | ||
7058 | # Cygwin defines optargs, optargs as declspec(dllimport) for historical | 8919 | # Cygwin defines optargs, optargs as declspec(dllimport) for historical |
7059 | # reasons which cause compile warnings, so we disable those warnings. | 8920 | # reasons which cause compile warnings, so we disable those warnings. |
7060 | { | 8921 | { |
7061 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -Wno-attributes" >&5 | 8922 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -Wno-attributes" >&5 |
7062 | $as_echo_n "checking if $CC supports compile flag -Wno-attributes... " >&6; } | 8923 | echo $ECHO_N "checking if $CC supports compile flag -Wno-attributes... $ECHO_C" >&6; } |
7063 | saved_CFLAGS="$CFLAGS" | 8924 | saved_CFLAGS="$CFLAGS" |
7064 | CFLAGS="$CFLAGS $WERROR -Wno-attributes" | 8925 | CFLAGS="$CFLAGS $WERROR -Wno-attributes" |
7065 | _define_flag="" | 8926 | _define_flag="" |
7066 | test "x$_define_flag" = "x" && _define_flag="-Wno-attributes" | 8927 | test "x$_define_flag" = "x" && _define_flag="-Wno-attributes" |
7067 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8928 | cat >conftest.$ac_ext <<_ACEOF |
8929 | /* confdefs.h. */ | ||
8930 | _ACEOF | ||
8931 | cat confdefs.h >>conftest.$ac_ext | ||
8932 | cat >>conftest.$ac_ext <<_ACEOF | ||
7068 | /* end confdefs.h. */ | 8933 | /* end confdefs.h. */ |
7069 | 8934 | ||
7070 | #include <stdlib.h> | 8935 | #include <stdlib.h> |
@@ -7080,47 +8945,79 @@ int main(int argc, char **argv) { | |||
7080 | } | 8945 | } |
7081 | 8946 | ||
7082 | _ACEOF | 8947 | _ACEOF |
7083 | if ac_fn_c_try_compile "$LINENO"; then : | 8948 | rm -f conftest.$ac_objext |
8949 | if { (ac_try="$ac_compile" | ||
8950 | case "(($ac_try" in | ||
8951 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
8952 | *) ac_try_echo=$ac_try;; | ||
8953 | esac | ||
8954 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
8955 | (eval "$ac_compile") 2>conftest.er1 | ||
8956 | ac_status=$? | ||
8957 | grep -v '^ *+' conftest.er1 >conftest.err | ||
8958 | rm -f conftest.er1 | ||
8959 | cat conftest.err >&5 | ||
8960 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
8961 | (exit $ac_status); } && { | ||
8962 | test -z "$ac_c_werror_flag" || | ||
8963 | test ! -s conftest.err | ||
8964 | } && test -s conftest.$ac_objext; then | ||
7084 | 8965 | ||
7085 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 8966 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
7086 | then | 8967 | then |
7087 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8968 | { echo "$as_me:$LINENO: result: no" >&5 |
7088 | $as_echo "no" >&6; } | 8969 | echo "${ECHO_T}no" >&6; } |
7089 | CFLAGS="$saved_CFLAGS" | 8970 | CFLAGS="$saved_CFLAGS" |
7090 | else | 8971 | else |
7091 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8972 | { echo "$as_me:$LINENO: result: yes" >&5 |
7092 | $as_echo "yes" >&6; } | 8973 | echo "${ECHO_T}yes" >&6; } |
7093 | CFLAGS="$saved_CFLAGS $_define_flag" | 8974 | CFLAGS="$saved_CFLAGS $_define_flag" |
7094 | fi | 8975 | fi |
7095 | else | 8976 | else |
7096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8977 | echo "$as_me: failed program was:" >&5 |
7097 | $as_echo "no" >&6; } | 8978 | sed 's/^/| /' conftest.$ac_ext >&5 |
8979 | |||
8980 | { echo "$as_me:$LINENO: result: no" >&5 | ||
8981 | echo "${ECHO_T}no" >&6; } | ||
7098 | CFLAGS="$saved_CFLAGS" | 8982 | CFLAGS="$saved_CFLAGS" |
7099 | 8983 | ||
7100 | fi | 8984 | fi |
8985 | |||
7101 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 8986 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7102 | } | 8987 | } |
7103 | ;; | 8988 | ;; |
7104 | *-*-dgux*) | 8989 | *-*-dgux*) |
7105 | 8990 | ||
7106 | $as_echo "#define IP_TOS_IS_BROKEN 1" >>confdefs.h | 8991 | cat >>confdefs.h <<\_ACEOF |
8992 | #define IP_TOS_IS_BROKEN 1 | ||
8993 | _ACEOF | ||
7107 | 8994 | ||
7108 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 8995 | cat >>confdefs.h <<\_ACEOF |
8996 | #define SETEUID_BREAKS_SETUID 1 | ||
8997 | _ACEOF | ||
7109 | 8998 | ||
7110 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 8999 | cat >>confdefs.h <<\_ACEOF |
9000 | #define BROKEN_SETREUID 1 | ||
9001 | _ACEOF | ||
7111 | 9002 | ||
7112 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 9003 | cat >>confdefs.h <<\_ACEOF |
9004 | #define BROKEN_SETREGID 1 | ||
9005 | _ACEOF | ||
7113 | 9006 | ||
7114 | ;; | 9007 | ;; |
7115 | *-*-darwin*) | 9008 | *-*-darwin*) |
7116 | use_pie=auto | 9009 | use_pie=auto |
7117 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have working getaddrinfo" >&5 | 9010 | { echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 |
7118 | $as_echo_n "checking if we have working getaddrinfo... " >&6; } | 9011 | echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6; } |
7119 | if test "$cross_compiling" = yes; then : | 9012 | if test "$cross_compiling" = yes; then |
7120 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: assume it is working" >&5 | 9013 | { echo "$as_me:$LINENO: result: assume it is working" >&5 |
7121 | $as_echo "assume it is working" >&6; } | 9014 | echo "${ECHO_T}assume it is working" >&6; } |
7122 | else | 9015 | else |
7123 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9016 | cat >conftest.$ac_ext <<_ACEOF |
9017 | /* confdefs.h. */ | ||
9018 | _ACEOF | ||
9019 | cat confdefs.h >>conftest.$ac_ext | ||
9020 | cat >>conftest.$ac_ext <<_ACEOF | ||
7124 | /* end confdefs.h. */ | 9021 | /* end confdefs.h. */ |
7125 | #include <mach-o/dyld.h> | 9022 | #include <mach-o/dyld.h> |
7126 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | 9023 | main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) |
@@ -7130,29 +9027,63 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
7130 | } | 9027 | } |
7131 | 9028 | ||
7132 | _ACEOF | 9029 | _ACEOF |
7133 | if ac_fn_c_try_run "$LINENO"; then : | 9030 | rm -f conftest$ac_exeext |
7134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: working" >&5 | 9031 | if { (ac_try="$ac_link" |
7135 | $as_echo "working" >&6; } | 9032 | case "(($ac_try" in |
9033 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9034 | *) ac_try_echo=$ac_try;; | ||
9035 | esac | ||
9036 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9037 | (eval "$ac_link") 2>&5 | ||
9038 | ac_status=$? | ||
9039 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9040 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
9041 | { (case "(($ac_try" in | ||
9042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9043 | *) ac_try_echo=$ac_try;; | ||
9044 | esac | ||
9045 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9046 | (eval "$ac_try") 2>&5 | ||
9047 | ac_status=$? | ||
9048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9049 | (exit $ac_status); }; }; then | ||
9050 | { echo "$as_me:$LINENO: result: working" >&5 | ||
9051 | echo "${ECHO_T}working" >&6; } | ||
7136 | else | 9052 | else |
7137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy" >&5 | 9053 | echo "$as_me: program exited with status $ac_status" >&5 |
7138 | $as_echo "buggy" >&6; } | 9054 | echo "$as_me: failed program was:" >&5 |
9055 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7139 | 9056 | ||
7140 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h | 9057 | ( exit $ac_status ) |
9058 | { echo "$as_me:$LINENO: result: buggy" >&5 | ||
9059 | echo "${ECHO_T}buggy" >&6; } | ||
9060 | |||
9061 | cat >>confdefs.h <<\_ACEOF | ||
9062 | #define BROKEN_GETADDRINFO 1 | ||
9063 | _ACEOF | ||
7141 | 9064 | ||
7142 | 9065 | ||
7143 | fi | 9066 | fi |
7144 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 9067 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7145 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
7146 | fi | 9068 | fi |
7147 | 9069 | ||
7148 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | ||
7149 | 9070 | ||
7150 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 9071 | cat >>confdefs.h <<\_ACEOF |
9072 | #define SETEUID_BREAKS_SETUID 1 | ||
9073 | _ACEOF | ||
9074 | |||
9075 | cat >>confdefs.h <<\_ACEOF | ||
9076 | #define BROKEN_SETREUID 1 | ||
9077 | _ACEOF | ||
7151 | 9078 | ||
7152 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 9079 | cat >>confdefs.h <<\_ACEOF |
9080 | #define BROKEN_SETREGID 1 | ||
9081 | _ACEOF | ||
7153 | 9082 | ||
7154 | 9083 | ||
7155 | $as_echo "#define BROKEN_GLOB 1" >>confdefs.h | 9084 | cat >>confdefs.h <<\_ACEOF |
9085 | #define BROKEN_GLOB 1 | ||
9086 | _ACEOF | ||
7156 | 9087 | ||
7157 | 9088 | ||
7158 | cat >>confdefs.h <<_ACEOF | 9089 | cat >>confdefs.h <<_ACEOF |
@@ -7160,49 +9091,328 @@ cat >>confdefs.h <<_ACEOF | |||
7160 | _ACEOF | 9091 | _ACEOF |
7161 | 9092 | ||
7162 | 9093 | ||
7163 | $as_echo "#define SSH_TUN_FREEBSD 1" >>confdefs.h | 9094 | cat >>confdefs.h <<\_ACEOF |
9095 | #define SSH_TUN_FREEBSD 1 | ||
9096 | _ACEOF | ||
7164 | 9097 | ||
7165 | 9098 | ||
7166 | $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | 9099 | cat >>confdefs.h <<\_ACEOF |
9100 | #define SSH_TUN_COMPAT_AF 1 | ||
9101 | _ACEOF | ||
7167 | 9102 | ||
7168 | 9103 | ||
7169 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 9104 | cat >>confdefs.h <<\_ACEOF |
9105 | #define SSH_TUN_PREPEND_AF 1 | ||
9106 | _ACEOF | ||
7170 | 9107 | ||
7171 | 9108 | ||
7172 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" | 9109 | { echo "$as_me:$LINENO: checking whether AU_IPv4 is declared" >&5 |
7173 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 9110 | echo $ECHO_N "checking whether AU_IPv4 is declared... $ECHO_C" >&6; } |
9111 | if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then | ||
9112 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9113 | else | ||
9114 | cat >conftest.$ac_ext <<_ACEOF | ||
9115 | /* confdefs.h. */ | ||
9116 | _ACEOF | ||
9117 | cat confdefs.h >>conftest.$ac_ext | ||
9118 | cat >>conftest.$ac_ext <<_ACEOF | ||
9119 | /* end confdefs.h. */ | ||
9120 | $ac_includes_default | ||
9121 | int | ||
9122 | main () | ||
9123 | { | ||
9124 | #ifndef AU_IPv4 | ||
9125 | (void) AU_IPv4; | ||
9126 | #endif | ||
7174 | 9127 | ||
9128 | ; | ||
9129 | return 0; | ||
9130 | } | ||
9131 | _ACEOF | ||
9132 | rm -f conftest.$ac_objext | ||
9133 | if { (ac_try="$ac_compile" | ||
9134 | case "(($ac_try" in | ||
9135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9136 | *) ac_try_echo=$ac_try;; | ||
9137 | esac | ||
9138 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9139 | (eval "$ac_compile") 2>conftest.er1 | ||
9140 | ac_status=$? | ||
9141 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9142 | rm -f conftest.er1 | ||
9143 | cat conftest.err >&5 | ||
9144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9145 | (exit $ac_status); } && { | ||
9146 | test -z "$ac_c_werror_flag" || | ||
9147 | test ! -s conftest.err | ||
9148 | } && test -s conftest.$ac_objext; then | ||
9149 | ac_cv_have_decl_AU_IPv4=yes | ||
7175 | else | 9150 | else |
9151 | echo "$as_me: failed program was:" >&5 | ||
9152 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7176 | 9153 | ||
7177 | $as_echo "#define AU_IPv4 0" >>confdefs.h | 9154 | ac_cv_have_decl_AU_IPv4=no |
9155 | fi | ||
9156 | |||
9157 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
9158 | fi | ||
9159 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_AU_IPv4" >&5 | ||
9160 | echo "${ECHO_T}$ac_cv_have_decl_AU_IPv4" >&6; } | ||
9161 | if test $ac_cv_have_decl_AU_IPv4 = yes; then | ||
9162 | : | ||
9163 | else | ||
9164 | |||
9165 | cat >>confdefs.h <<\_ACEOF | ||
9166 | #define AU_IPv4 0 | ||
9167 | _ACEOF | ||
7178 | 9168 | ||
7179 | #include <bsm/audit.h> | 9169 | #include <bsm/audit.h> |
7180 | 9170 | ||
7181 | $as_echo "#define LASTLOG_WRITE_PUTUTXLINE 1" >>confdefs.h | 9171 | cat >>confdefs.h <<\_ACEOF |
9172 | #define LASTLOG_WRITE_PUTUTXLINE 1 | ||
9173 | _ACEOF | ||
7182 | 9174 | ||
7183 | 9175 | ||
7184 | fi | 9176 | fi |
7185 | 9177 | ||
7186 | 9178 | ||
7187 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h | 9179 | cat >>confdefs.h <<\_ACEOF |
9180 | #define SPT_TYPE SPT_REUSEARGV | ||
9181 | _ACEOF | ||
9182 | |||
9183 | |||
9184 | for ac_func in sandbox_init | ||
9185 | do | ||
9186 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
9187 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
9188 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
9189 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9190 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9191 | else | ||
9192 | cat >conftest.$ac_ext <<_ACEOF | ||
9193 | /* confdefs.h. */ | ||
9194 | _ACEOF | ||
9195 | cat confdefs.h >>conftest.$ac_ext | ||
9196 | cat >>conftest.$ac_ext <<_ACEOF | ||
9197 | /* end confdefs.h. */ | ||
9198 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
9199 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
9200 | #define $ac_func innocuous_$ac_func | ||
9201 | |||
9202 | /* System header to define __stub macros and hopefully few prototypes, | ||
9203 | which can conflict with char $ac_func (); below. | ||
9204 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
9205 | <limits.h> exists even on freestanding compilers. */ | ||
9206 | |||
9207 | #ifdef __STDC__ | ||
9208 | # include <limits.h> | ||
9209 | #else | ||
9210 | # include <assert.h> | ||
9211 | #endif | ||
9212 | |||
9213 | #undef $ac_func | ||
9214 | |||
9215 | /* Override any GCC internal prototype to avoid an error. | ||
9216 | Use char because int might match the return type of a GCC | ||
9217 | builtin and then its argument prototype would still apply. */ | ||
9218 | #ifdef __cplusplus | ||
9219 | extern "C" | ||
9220 | #endif | ||
9221 | char $ac_func (); | ||
9222 | /* The GNU C library defines this for functions which it implements | ||
9223 | to always fail with ENOSYS. Some functions are actually named | ||
9224 | something starting with __ and the normal name is an alias. */ | ||
9225 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
9226 | choke me | ||
9227 | #endif | ||
9228 | |||
9229 | int | ||
9230 | main () | ||
9231 | { | ||
9232 | return $ac_func (); | ||
9233 | ; | ||
9234 | return 0; | ||
9235 | } | ||
9236 | _ACEOF | ||
9237 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9238 | if { (ac_try="$ac_link" | ||
9239 | case "(($ac_try" in | ||
9240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9241 | *) ac_try_echo=$ac_try;; | ||
9242 | esac | ||
9243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9244 | (eval "$ac_link") 2>conftest.er1 | ||
9245 | ac_status=$? | ||
9246 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9247 | rm -f conftest.er1 | ||
9248 | cat conftest.err >&5 | ||
9249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9250 | (exit $ac_status); } && { | ||
9251 | test -z "$ac_c_werror_flag" || | ||
9252 | test ! -s conftest.err | ||
9253 | } && test -s conftest$ac_exeext && | ||
9254 | $as_test_x conftest$ac_exeext; then | ||
9255 | eval "$as_ac_var=yes" | ||
9256 | else | ||
9257 | echo "$as_me: failed program was:" >&5 | ||
9258 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9259 | |||
9260 | eval "$as_ac_var=no" | ||
9261 | fi | ||
7188 | 9262 | ||
7189 | for ac_func in sandbox_init | 9263 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7190 | do : | 9264 | conftest$ac_exeext conftest.$ac_ext |
7191 | ac_fn_c_check_func "$LINENO" "sandbox_init" "ac_cv_func_sandbox_init" | 9265 | fi |
7192 | if test "x$ac_cv_func_sandbox_init" = xyes; then : | 9266 | ac_res=`eval echo '${'$as_ac_var'}'` |
9267 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9268 | echo "${ECHO_T}$ac_res" >&6; } | ||
9269 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7193 | cat >>confdefs.h <<_ACEOF | 9270 | cat >>confdefs.h <<_ACEOF |
7194 | #define HAVE_SANDBOX_INIT 1 | 9271 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7195 | _ACEOF | 9272 | _ACEOF |
7196 | 9273 | ||
7197 | fi | 9274 | fi |
7198 | done | 9275 | done |
7199 | 9276 | ||
7200 | for ac_header in sandbox.h | 9277 | |
7201 | do : | 9278 | for ac_header in sandbox.h |
7202 | ac_fn_c_check_header_mongrel "$LINENO" "sandbox.h" "ac_cv_header_sandbox_h" "$ac_includes_default" | 9279 | do |
7203 | if test "x$ac_cv_header_sandbox_h" = xyes; then : | 9280 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9281 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9282 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
9283 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
9284 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9286 | fi | ||
9287 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
9288 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9289 | echo "${ECHO_T}$ac_res" >&6; } | ||
9290 | else | ||
9291 | # Is the header compilable? | ||
9292 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
9293 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
9294 | cat >conftest.$ac_ext <<_ACEOF | ||
9295 | /* confdefs.h. */ | ||
9296 | _ACEOF | ||
9297 | cat confdefs.h >>conftest.$ac_ext | ||
9298 | cat >>conftest.$ac_ext <<_ACEOF | ||
9299 | /* end confdefs.h. */ | ||
9300 | $ac_includes_default | ||
9301 | #include <$ac_header> | ||
9302 | _ACEOF | ||
9303 | rm -f conftest.$ac_objext | ||
9304 | if { (ac_try="$ac_compile" | ||
9305 | case "(($ac_try" in | ||
9306 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9307 | *) ac_try_echo=$ac_try;; | ||
9308 | esac | ||
9309 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9310 | (eval "$ac_compile") 2>conftest.er1 | ||
9311 | ac_status=$? | ||
9312 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9313 | rm -f conftest.er1 | ||
9314 | cat conftest.err >&5 | ||
9315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9316 | (exit $ac_status); } && { | ||
9317 | test -z "$ac_c_werror_flag" || | ||
9318 | test ! -s conftest.err | ||
9319 | } && test -s conftest.$ac_objext; then | ||
9320 | ac_header_compiler=yes | ||
9321 | else | ||
9322 | echo "$as_me: failed program was:" >&5 | ||
9323 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9324 | |||
9325 | ac_header_compiler=no | ||
9326 | fi | ||
9327 | |||
9328 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
9329 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
9330 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
9331 | |||
9332 | # Is the header present? | ||
9333 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
9334 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
9335 | cat >conftest.$ac_ext <<_ACEOF | ||
9336 | /* confdefs.h. */ | ||
9337 | _ACEOF | ||
9338 | cat confdefs.h >>conftest.$ac_ext | ||
9339 | cat >>conftest.$ac_ext <<_ACEOF | ||
9340 | /* end confdefs.h. */ | ||
9341 | #include <$ac_header> | ||
9342 | _ACEOF | ||
9343 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
9344 | case "(($ac_try" in | ||
9345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9346 | *) ac_try_echo=$ac_try;; | ||
9347 | esac | ||
9348 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9349 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
9350 | ac_status=$? | ||
9351 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9352 | rm -f conftest.er1 | ||
9353 | cat conftest.err >&5 | ||
9354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9355 | (exit $ac_status); } >/dev/null && { | ||
9356 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
9357 | test ! -s conftest.err | ||
9358 | }; then | ||
9359 | ac_header_preproc=yes | ||
9360 | else | ||
9361 | echo "$as_me: failed program was:" >&5 | ||
9362 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9363 | |||
9364 | ac_header_preproc=no | ||
9365 | fi | ||
9366 | |||
9367 | rm -f conftest.err conftest.$ac_ext | ||
9368 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
9369 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
9370 | |||
9371 | # So? What about this header? | ||
9372 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
9373 | yes:no: ) | ||
9374 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
9375 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
9376 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
9377 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
9378 | ac_header_preproc=yes | ||
9379 | ;; | ||
9380 | no:yes:* ) | ||
9381 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
9382 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
9383 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
9384 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
9385 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
9386 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
9387 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
9388 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
9389 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
9390 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
9391 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
9392 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
9393 | ( cat <<\_ASBOX | ||
9394 | ## ------------------------------------------- ## | ||
9395 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
9396 | ## ------------------------------------------- ## | ||
9397 | _ASBOX | ||
9398 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
9399 | ;; | ||
9400 | esac | ||
9401 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
9402 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
9403 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9404 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9405 | else | ||
9406 | eval "$as_ac_Header=\$ac_header_preproc" | ||
9407 | fi | ||
9408 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
9409 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9410 | echo "${ECHO_T}$ac_res" >&6; } | ||
9411 | |||
9412 | fi | ||
9413 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7204 | cat >>confdefs.h <<_ACEOF | 9414 | cat >>confdefs.h <<_ACEOF |
7205 | #define HAVE_SANDBOX_H 1 | 9415 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7206 | _ACEOF | 9416 | _ACEOF |
7207 | 9417 | ||
7208 | fi | 9418 | fi |
@@ -7216,14 +9426,19 @@ done | |||
7216 | ;; | 9426 | ;; |
7217 | *-*-haiku*) | 9427 | *-*-haiku*) |
7218 | LIBS="$LIBS -lbsd " | 9428 | LIBS="$LIBS -lbsd " |
7219 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnetwork" >&5 | 9429 | |
7220 | $as_echo_n "checking for socket in -lnetwork... " >&6; } | 9430 | { echo "$as_me:$LINENO: checking for socket in -lnetwork" >&5 |
7221 | if ${ac_cv_lib_network_socket+:} false; then : | 9431 | echo $ECHO_N "checking for socket in -lnetwork... $ECHO_C" >&6; } |
7222 | $as_echo_n "(cached) " >&6 | 9432 | if test "${ac_cv_lib_network_socket+set}" = set; then |
9433 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7223 | else | 9434 | else |
7224 | ac_check_lib_save_LIBS=$LIBS | 9435 | ac_check_lib_save_LIBS=$LIBS |
7225 | LIBS="-lnetwork $LIBS" | 9436 | LIBS="-lnetwork $LIBS" |
7226 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9437 | cat >conftest.$ac_ext <<_ACEOF |
9438 | /* confdefs.h. */ | ||
9439 | _ACEOF | ||
9440 | cat confdefs.h >>conftest.$ac_ext | ||
9441 | cat >>conftest.$ac_ext <<_ACEOF | ||
7227 | /* end confdefs.h. */ | 9442 | /* end confdefs.h. */ |
7228 | 9443 | ||
7229 | /* Override any GCC internal prototype to avoid an error. | 9444 | /* Override any GCC internal prototype to avoid an error. |
@@ -7241,18 +9456,39 @@ return socket (); | |||
7241 | return 0; | 9456 | return 0; |
7242 | } | 9457 | } |
7243 | _ACEOF | 9458 | _ACEOF |
7244 | if ac_fn_c_try_link "$LINENO"; then : | 9459 | rm -f conftest.$ac_objext conftest$ac_exeext |
9460 | if { (ac_try="$ac_link" | ||
9461 | case "(($ac_try" in | ||
9462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9463 | *) ac_try_echo=$ac_try;; | ||
9464 | esac | ||
9465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9466 | (eval "$ac_link") 2>conftest.er1 | ||
9467 | ac_status=$? | ||
9468 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9469 | rm -f conftest.er1 | ||
9470 | cat conftest.err >&5 | ||
9471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9472 | (exit $ac_status); } && { | ||
9473 | test -z "$ac_c_werror_flag" || | ||
9474 | test ! -s conftest.err | ||
9475 | } && test -s conftest$ac_exeext && | ||
9476 | $as_test_x conftest$ac_exeext; then | ||
7245 | ac_cv_lib_network_socket=yes | 9477 | ac_cv_lib_network_socket=yes |
7246 | else | 9478 | else |
7247 | ac_cv_lib_network_socket=no | 9479 | echo "$as_me: failed program was:" >&5 |
9480 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9481 | |||
9482 | ac_cv_lib_network_socket=no | ||
7248 | fi | 9483 | fi |
7249 | rm -f core conftest.err conftest.$ac_objext \ | 9484 | |
7250 | conftest$ac_exeext conftest.$ac_ext | 9485 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9486 | conftest$ac_exeext conftest.$ac_ext | ||
7251 | LIBS=$ac_check_lib_save_LIBS | 9487 | LIBS=$ac_check_lib_save_LIBS |
7252 | fi | 9488 | fi |
7253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_network_socket" >&5 | 9489 | { echo "$as_me:$LINENO: result: $ac_cv_lib_network_socket" >&5 |
7254 | $as_echo "$ac_cv_lib_network_socket" >&6; } | 9490 | echo "${ECHO_T}$ac_cv_lib_network_socket" >&6; } |
7255 | if test "x$ac_cv_lib_network_socket" = xyes; then : | 9491 | if test $ac_cv_lib_network_socket = yes; then |
7256 | cat >>confdefs.h <<_ACEOF | 9492 | cat >>confdefs.h <<_ACEOF |
7257 | #define HAVE_LIBNETWORK 1 | 9493 | #define HAVE_LIBNETWORK 1 |
7258 | _ACEOF | 9494 | _ACEOF |
@@ -7261,7 +9497,9 @@ _ACEOF | |||
7261 | 9497 | ||
7262 | fi | 9498 | fi |
7263 | 9499 | ||
7264 | $as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h | 9500 | cat >>confdefs.h <<\_ACEOF |
9501 | #define HAVE_U_INT64_T 1 | ||
9502 | _ACEOF | ||
7265 | 9503 | ||
7266 | MANTYPE=man | 9504 | MANTYPE=man |
7267 | ;; | 9505 | ;; |
@@ -7269,31 +9507,48 @@ fi | |||
7269 | # first we define all of the options common to all HP-UX releases | 9507 | # first we define all of the options common to all HP-UX releases |
7270 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" | 9508 | CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" |
7271 | IPADDR_IN_DISPLAY=yes | 9509 | IPADDR_IN_DISPLAY=yes |
7272 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 9510 | cat >>confdefs.h <<\_ACEOF |
9511 | #define USE_PIPES 1 | ||
9512 | _ACEOF | ||
7273 | 9513 | ||
7274 | 9514 | ||
7275 | $as_echo "#define LOGIN_NO_ENDOPT 1" >>confdefs.h | 9515 | cat >>confdefs.h <<\_ACEOF |
9516 | #define LOGIN_NO_ENDOPT 1 | ||
9517 | _ACEOF | ||
7276 | 9518 | ||
7277 | $as_echo "#define LOGIN_NEEDS_UTMPX 1" >>confdefs.h | 9519 | cat >>confdefs.h <<\_ACEOF |
9520 | #define LOGIN_NEEDS_UTMPX 1 | ||
9521 | _ACEOF | ||
7278 | 9522 | ||
7279 | 9523 | ||
7280 | $as_echo "#define LOCKED_PASSWD_STRING \"*\"" >>confdefs.h | 9524 | cat >>confdefs.h <<\_ACEOF |
9525 | #define LOCKED_PASSWD_STRING "*" | ||
9526 | _ACEOF | ||
7281 | 9527 | ||
7282 | $as_echo "#define SPT_TYPE SPT_PSTAT" >>confdefs.h | 9528 | cat >>confdefs.h <<\_ACEOF |
9529 | #define SPT_TYPE SPT_PSTAT | ||
9530 | _ACEOF | ||
7283 | 9531 | ||
7284 | 9532 | ||
7285 | $as_echo "#define PLATFORM_SYS_DIR_UID 2" >>confdefs.h | 9533 | cat >>confdefs.h <<\_ACEOF |
9534 | #define PLATFORM_SYS_DIR_UID 2 | ||
9535 | _ACEOF | ||
7286 | 9536 | ||
7287 | maildir="/var/mail" | 9537 | maildir="/var/mail" |
7288 | LIBS="$LIBS -lsec" | 9538 | LIBS="$LIBS -lsec" |
7289 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for t_error in -lxnet" >&5 | 9539 | |
7290 | $as_echo_n "checking for t_error in -lxnet... " >&6; } | 9540 | { echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 |
7291 | if ${ac_cv_lib_xnet_t_error+:} false; then : | 9541 | echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6; } |
7292 | $as_echo_n "(cached) " >&6 | 9542 | if test "${ac_cv_lib_xnet_t_error+set}" = set; then |
9543 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7293 | else | 9544 | else |
7294 | ac_check_lib_save_LIBS=$LIBS | 9545 | ac_check_lib_save_LIBS=$LIBS |
7295 | LIBS="-lxnet $LIBS" | 9546 | LIBS="-lxnet $LIBS" |
7296 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9547 | cat >conftest.$ac_ext <<_ACEOF |
9548 | /* confdefs.h. */ | ||
9549 | _ACEOF | ||
9550 | cat confdefs.h >>conftest.$ac_ext | ||
9551 | cat >>conftest.$ac_ext <<_ACEOF | ||
7297 | /* end confdefs.h. */ | 9552 | /* end confdefs.h. */ |
7298 | 9553 | ||
7299 | /* Override any GCC internal prototype to avoid an error. | 9554 | /* Override any GCC internal prototype to avoid an error. |
@@ -7311,18 +9566,39 @@ return t_error (); | |||
7311 | return 0; | 9566 | return 0; |
7312 | } | 9567 | } |
7313 | _ACEOF | 9568 | _ACEOF |
7314 | if ac_fn_c_try_link "$LINENO"; then : | 9569 | rm -f conftest.$ac_objext conftest$ac_exeext |
9570 | if { (ac_try="$ac_link" | ||
9571 | case "(($ac_try" in | ||
9572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9573 | *) ac_try_echo=$ac_try;; | ||
9574 | esac | ||
9575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9576 | (eval "$ac_link") 2>conftest.er1 | ||
9577 | ac_status=$? | ||
9578 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9579 | rm -f conftest.er1 | ||
9580 | cat conftest.err >&5 | ||
9581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9582 | (exit $ac_status); } && { | ||
9583 | test -z "$ac_c_werror_flag" || | ||
9584 | test ! -s conftest.err | ||
9585 | } && test -s conftest$ac_exeext && | ||
9586 | $as_test_x conftest$ac_exeext; then | ||
7315 | ac_cv_lib_xnet_t_error=yes | 9587 | ac_cv_lib_xnet_t_error=yes |
7316 | else | 9588 | else |
7317 | ac_cv_lib_xnet_t_error=no | 9589 | echo "$as_me: failed program was:" >&5 |
9590 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9591 | |||
9592 | ac_cv_lib_xnet_t_error=no | ||
7318 | fi | 9593 | fi |
7319 | rm -f core conftest.err conftest.$ac_objext \ | 9594 | |
7320 | conftest$ac_exeext conftest.$ac_ext | 9595 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9596 | conftest$ac_exeext conftest.$ac_ext | ||
7321 | LIBS=$ac_check_lib_save_LIBS | 9597 | LIBS=$ac_check_lib_save_LIBS |
7322 | fi | 9598 | fi |
7323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_t_error" >&5 | 9599 | { echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 |
7324 | $as_echo "$ac_cv_lib_xnet_t_error" >&6; } | 9600 | echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6; } |
7325 | if test "x$ac_cv_lib_xnet_t_error" = xyes; then : | 9601 | if test $ac_cv_lib_xnet_t_error = yes; then |
7326 | cat >>confdefs.h <<_ACEOF | 9602 | cat >>confdefs.h <<_ACEOF |
7327 | #define HAVE_LIBXNET 1 | 9603 | #define HAVE_LIBXNET 1 |
7328 | _ACEOF | 9604 | _ACEOF |
@@ -7330,7 +9606,9 @@ _ACEOF | |||
7330 | LIBS="-lxnet $LIBS" | 9606 | LIBS="-lxnet $LIBS" |
7331 | 9607 | ||
7332 | else | 9608 | else |
7333 | as_fn_error $? "*** -lxnet needed on HP-UX - check config.log ***" "$LINENO" 5 | 9609 | { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 |
9610 | echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} | ||
9611 | { (exit 1); exit 1; }; } | ||
7334 | fi | 9612 | fi |
7335 | 9613 | ||
7336 | 9614 | ||
@@ -7343,13 +9621,19 @@ fi | |||
7343 | ;; | 9621 | ;; |
7344 | *-*-hpux11*) | 9622 | *-*-hpux11*) |
7345 | 9623 | ||
7346 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h | 9624 | cat >>confdefs.h <<\_ACEOF |
9625 | #define PAM_SUN_CODEBASE 1 | ||
9626 | _ACEOF | ||
7347 | 9627 | ||
7348 | 9628 | ||
7349 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | 9629 | cat >>confdefs.h <<\_ACEOF |
9630 | #define DISABLE_UTMP 1 | ||
9631 | _ACEOF | ||
7350 | 9632 | ||
7351 | 9633 | ||
7352 | $as_echo "#define USE_BTMP 1" >>confdefs.h | 9634 | cat >>confdefs.h <<\_ACEOF |
9635 | #define USE_BTMP 1 | ||
9636 | _ACEOF | ||
7353 | 9637 | ||
7354 | check_for_hpux_broken_getaddrinfo=1 | 9638 | check_for_hpux_broken_getaddrinfo=1 |
7355 | check_for_conflicting_getspnam=1 | 9639 | check_for_conflicting_getspnam=1 |
@@ -7360,7 +9644,9 @@ $as_echo "#define USE_BTMP 1" >>confdefs.h | |||
7360 | case "$host" in | 9644 | case "$host" in |
7361 | *-*-hpux10.26) | 9645 | *-*-hpux10.26) |
7362 | 9646 | ||
7363 | $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h | 9647 | cat >>confdefs.h <<\_ACEOF |
9648 | #define HAVE_SECUREWARE 1 | ||
9649 | _ACEOF | ||
7364 | 9650 | ||
7365 | disable_ptmx_check=yes | 9651 | disable_ptmx_check=yes |
7366 | LIBS="$LIBS -lsecpw" | 9652 | LIBS="$LIBS -lsecpw" |
@@ -7370,67 +9656,191 @@ $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h | |||
7370 | *-*-irix5*) | 9656 | *-*-irix5*) |
7371 | PATH="$PATH:/usr/etc" | 9657 | PATH="$PATH:/usr/etc" |
7372 | 9658 | ||
7373 | $as_echo "#define BROKEN_INET_NTOA 1" >>confdefs.h | 9659 | cat >>confdefs.h <<\_ACEOF |
9660 | #define BROKEN_INET_NTOA 1 | ||
9661 | _ACEOF | ||
7374 | 9662 | ||
7375 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 9663 | cat >>confdefs.h <<\_ACEOF |
9664 | #define SETEUID_BREAKS_SETUID 1 | ||
9665 | _ACEOF | ||
7376 | 9666 | ||
7377 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 9667 | cat >>confdefs.h <<\_ACEOF |
9668 | #define BROKEN_SETREUID 1 | ||
9669 | _ACEOF | ||
7378 | 9670 | ||
7379 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 9671 | cat >>confdefs.h <<\_ACEOF |
9672 | #define BROKEN_SETREGID 1 | ||
9673 | _ACEOF | ||
7380 | 9674 | ||
7381 | 9675 | ||
7382 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h | 9676 | cat >>confdefs.h <<\_ACEOF |
9677 | #define WITH_ABBREV_NO_TTY 1 | ||
9678 | _ACEOF | ||
7383 | 9679 | ||
7384 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | 9680 | cat >>confdefs.h <<\_ACEOF |
9681 | #define LOCKED_PASSWD_STRING "*LK*" | ||
9682 | _ACEOF | ||
7385 | 9683 | ||
7386 | ;; | 9684 | ;; |
7387 | *-*-irix6*) | 9685 | *-*-irix6*) |
7388 | PATH="$PATH:/usr/etc" | 9686 | PATH="$PATH:/usr/etc" |
7389 | 9687 | ||
7390 | $as_echo "#define WITH_IRIX_ARRAY 1" >>confdefs.h | 9688 | cat >>confdefs.h <<\_ACEOF |
9689 | #define WITH_IRIX_ARRAY 1 | ||
9690 | _ACEOF | ||
9691 | |||
9692 | |||
9693 | cat >>confdefs.h <<\_ACEOF | ||
9694 | #define WITH_IRIX_PROJECT 1 | ||
9695 | _ACEOF | ||
7391 | 9696 | ||
7392 | 9697 | ||
7393 | $as_echo "#define WITH_IRIX_PROJECT 1" >>confdefs.h | 9698 | cat >>confdefs.h <<\_ACEOF |
9699 | #define WITH_IRIX_AUDIT 1 | ||
9700 | _ACEOF | ||
9701 | |||
9702 | { echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 | ||
9703 | echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6; } | ||
9704 | if test "${ac_cv_func_jlimit_startjob+set}" = set; then | ||
9705 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9706 | else | ||
9707 | cat >conftest.$ac_ext <<_ACEOF | ||
9708 | /* confdefs.h. */ | ||
9709 | _ACEOF | ||
9710 | cat confdefs.h >>conftest.$ac_ext | ||
9711 | cat >>conftest.$ac_ext <<_ACEOF | ||
9712 | /* end confdefs.h. */ | ||
9713 | /* Define jlimit_startjob to an innocuous variant, in case <limits.h> declares jlimit_startjob. | ||
9714 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
9715 | #define jlimit_startjob innocuous_jlimit_startjob | ||
7394 | 9716 | ||
9717 | /* System header to define __stub macros and hopefully few prototypes, | ||
9718 | which can conflict with char jlimit_startjob (); below. | ||
9719 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
9720 | <limits.h> exists even on freestanding compilers. */ | ||
7395 | 9721 | ||
7396 | $as_echo "#define WITH_IRIX_AUDIT 1" >>confdefs.h | 9722 | #ifdef __STDC__ |
9723 | # include <limits.h> | ||
9724 | #else | ||
9725 | # include <assert.h> | ||
9726 | #endif | ||
7397 | 9727 | ||
7398 | ac_fn_c_check_func "$LINENO" "jlimit_startjob" "ac_cv_func_jlimit_startjob" | 9728 | #undef jlimit_startjob |
7399 | if test "x$ac_cv_func_jlimit_startjob" = xyes; then : | ||
7400 | 9729 | ||
7401 | $as_echo "#define WITH_IRIX_JOBS 1" >>confdefs.h | 9730 | /* Override any GCC internal prototype to avoid an error. |
9731 | Use char because int might match the return type of a GCC | ||
9732 | builtin and then its argument prototype would still apply. */ | ||
9733 | #ifdef __cplusplus | ||
9734 | extern "C" | ||
9735 | #endif | ||
9736 | char jlimit_startjob (); | ||
9737 | /* The GNU C library defines this for functions which it implements | ||
9738 | to always fail with ENOSYS. Some functions are actually named | ||
9739 | something starting with __ and the normal name is an alias. */ | ||
9740 | #if defined __stub_jlimit_startjob || defined __stub___jlimit_startjob | ||
9741 | choke me | ||
9742 | #endif | ||
7402 | 9743 | ||
9744 | int | ||
9745 | main () | ||
9746 | { | ||
9747 | return jlimit_startjob (); | ||
9748 | ; | ||
9749 | return 0; | ||
9750 | } | ||
9751 | _ACEOF | ||
9752 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
9753 | if { (ac_try="$ac_link" | ||
9754 | case "(($ac_try" in | ||
9755 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9756 | *) ac_try_echo=$ac_try;; | ||
9757 | esac | ||
9758 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9759 | (eval "$ac_link") 2>conftest.er1 | ||
9760 | ac_status=$? | ||
9761 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9762 | rm -f conftest.er1 | ||
9763 | cat conftest.err >&5 | ||
9764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9765 | (exit $ac_status); } && { | ||
9766 | test -z "$ac_c_werror_flag" || | ||
9767 | test ! -s conftest.err | ||
9768 | } && test -s conftest$ac_exeext && | ||
9769 | $as_test_x conftest$ac_exeext; then | ||
9770 | ac_cv_func_jlimit_startjob=yes | ||
9771 | else | ||
9772 | echo "$as_me: failed program was:" >&5 | ||
9773 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9774 | |||
9775 | ac_cv_func_jlimit_startjob=no | ||
7403 | fi | 9776 | fi |
7404 | 9777 | ||
7405 | $as_echo "#define BROKEN_INET_NTOA 1" >>confdefs.h | 9778 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9779 | conftest$ac_exeext conftest.$ac_ext | ||
9780 | fi | ||
9781 | { echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 | ||
9782 | echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6; } | ||
9783 | if test $ac_cv_func_jlimit_startjob = yes; then | ||
7406 | 9784 | ||
7407 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 9785 | cat >>confdefs.h <<\_ACEOF |
9786 | #define WITH_IRIX_JOBS 1 | ||
9787 | _ACEOF | ||
7408 | 9788 | ||
7409 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 9789 | fi |
7410 | 9790 | ||
7411 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 9791 | cat >>confdefs.h <<\_ACEOF |
9792 | #define BROKEN_INET_NTOA 1 | ||
9793 | _ACEOF | ||
7412 | 9794 | ||
9795 | cat >>confdefs.h <<\_ACEOF | ||
9796 | #define SETEUID_BREAKS_SETUID 1 | ||
9797 | _ACEOF | ||
7413 | 9798 | ||
7414 | $as_echo "#define BROKEN_UPDWTMPX 1" >>confdefs.h | 9799 | cat >>confdefs.h <<\_ACEOF |
9800 | #define BROKEN_SETREUID 1 | ||
9801 | _ACEOF | ||
7415 | 9802 | ||
7416 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h | 9803 | cat >>confdefs.h <<\_ACEOF |
9804 | #define BROKEN_SETREGID 1 | ||
9805 | _ACEOF | ||
7417 | 9806 | ||
7418 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | 9807 | |
9808 | cat >>confdefs.h <<\_ACEOF | ||
9809 | #define BROKEN_UPDWTMPX 1 | ||
9810 | _ACEOF | ||
9811 | |||
9812 | cat >>confdefs.h <<\_ACEOF | ||
9813 | #define WITH_ABBREV_NO_TTY 1 | ||
9814 | _ACEOF | ||
9815 | |||
9816 | cat >>confdefs.h <<\_ACEOF | ||
9817 | #define LOCKED_PASSWD_STRING "*LK*" | ||
9818 | _ACEOF | ||
7419 | 9819 | ||
7420 | ;; | 9820 | ;; |
7421 | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) | 9821 | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu) |
7422 | check_for_libcrypt_later=1 | 9822 | check_for_libcrypt_later=1 |
7423 | $as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h | 9823 | cat >>confdefs.h <<\_ACEOF |
9824 | #define PAM_TTY_KLUDGE 1 | ||
9825 | _ACEOF | ||
7424 | 9826 | ||
7425 | $as_echo "#define LOCKED_PASSWD_PREFIX \"!\"" >>confdefs.h | 9827 | cat >>confdefs.h <<\_ACEOF |
9828 | #define LOCKED_PASSWD_PREFIX "!" | ||
9829 | _ACEOF | ||
7426 | 9830 | ||
7427 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h | 9831 | cat >>confdefs.h <<\_ACEOF |
9832 | #define SPT_TYPE SPT_REUSEARGV | ||
9833 | _ACEOF | ||
7428 | 9834 | ||
7429 | 9835 | ||
7430 | $as_echo "#define _PATH_BTMP \"/var/log/btmp\"" >>confdefs.h | 9836 | cat >>confdefs.h <<\_ACEOF |
9837 | #define _PATH_BTMP "/var/log/btmp" | ||
9838 | _ACEOF | ||
7431 | 9839 | ||
7432 | 9840 | ||
7433 | $as_echo "#define USE_BTMP 1" >>confdefs.h | 9841 | cat >>confdefs.h <<\_ACEOF |
9842 | #define USE_BTMP 1 | ||
9843 | _ACEOF | ||
7434 | 9844 | ||
7435 | ;; | 9845 | ;; |
7436 | *-*-linux*) | 9846 | *-*-linux*) |
@@ -7439,39 +9849,188 @@ $as_echo "#define USE_BTMP 1" >>confdefs.h | |||
7439 | check_for_libcrypt_later=1 | 9849 | check_for_libcrypt_later=1 |
7440 | check_for_openpty_ctty_bug=1 | 9850 | check_for_openpty_ctty_bug=1 |
7441 | 9851 | ||
7442 | $as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h | 9852 | cat >>confdefs.h <<\_ACEOF |
9853 | #define PAM_TTY_KLUDGE 1 | ||
9854 | _ACEOF | ||
7443 | 9855 | ||
7444 | 9856 | ||
7445 | $as_echo "#define LOCKED_PASSWD_PREFIX \"!\"" >>confdefs.h | 9857 | cat >>confdefs.h <<\_ACEOF |
9858 | #define LOCKED_PASSWD_PREFIX "!" | ||
9859 | _ACEOF | ||
7446 | 9860 | ||
7447 | $as_echo "#define SPT_TYPE SPT_REUSEARGV" >>confdefs.h | 9861 | cat >>confdefs.h <<\_ACEOF |
9862 | #define SPT_TYPE SPT_REUSEARGV | ||
9863 | _ACEOF | ||
7448 | 9864 | ||
7449 | 9865 | ||
7450 | $as_echo "#define LINK_OPNOTSUPP_ERRNO EPERM" >>confdefs.h | 9866 | cat >>confdefs.h <<\_ACEOF |
9867 | #define LINK_OPNOTSUPP_ERRNO EPERM | ||
9868 | _ACEOF | ||
7451 | 9869 | ||
7452 | 9870 | ||
7453 | $as_echo "#define _PATH_BTMP \"/var/log/btmp\"" >>confdefs.h | 9871 | cat >>confdefs.h <<\_ACEOF |
9872 | #define _PATH_BTMP "/var/log/btmp" | ||
9873 | _ACEOF | ||
7454 | 9874 | ||
7455 | $as_echo "#define USE_BTMP 1" >>confdefs.h | 9875 | cat >>confdefs.h <<\_ACEOF |
9876 | #define USE_BTMP 1 | ||
9877 | _ACEOF | ||
7456 | 9878 | ||
7457 | 9879 | ||
7458 | $as_echo "#define LINUX_OOM_ADJUST 1" >>confdefs.h | 9880 | cat >>confdefs.h <<\_ACEOF |
9881 | #define LINUX_OOM_ADJUST 1 | ||
9882 | _ACEOF | ||
7459 | 9883 | ||
7460 | inet6_default_4in6=yes | 9884 | inet6_default_4in6=yes |
7461 | case `uname -r` in | 9885 | case `uname -r` in |
7462 | 1.*|2.0.*) | 9886 | 1.*|2.0.*) |
7463 | 9887 | ||
7464 | $as_echo "#define BROKEN_CMSG_TYPE 1" >>confdefs.h | 9888 | cat >>confdefs.h <<\_ACEOF |
9889 | #define BROKEN_CMSG_TYPE 1 | ||
9890 | _ACEOF | ||
7465 | 9891 | ||
7466 | ;; | 9892 | ;; |
7467 | esac | 9893 | esac |
7468 | # tun(4) forwarding compat code | 9894 | # tun(4) forwarding compat code |
7469 | for ac_header in linux/if_tun.h | 9895 | |
7470 | do : | 9896 | for ac_header in linux/if_tun.h |
7471 | ac_fn_c_check_header_mongrel "$LINENO" "linux/if_tun.h" "ac_cv_header_linux_if_tun_h" "$ac_includes_default" | 9897 | do |
7472 | if test "x$ac_cv_header_linux_if_tun_h" = xyes; then : | 9898 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9899 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9900 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
9901 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
9902 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
9903 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
9904 | fi | ||
9905 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
9906 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
9907 | echo "${ECHO_T}$ac_res" >&6; } | ||
9908 | else | ||
9909 | # Is the header compilable? | ||
9910 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
9911 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
9912 | cat >conftest.$ac_ext <<_ACEOF | ||
9913 | /* confdefs.h. */ | ||
9914 | _ACEOF | ||
9915 | cat confdefs.h >>conftest.$ac_ext | ||
9916 | cat >>conftest.$ac_ext <<_ACEOF | ||
9917 | /* end confdefs.h. */ | ||
9918 | $ac_includes_default | ||
9919 | #include <$ac_header> | ||
9920 | _ACEOF | ||
9921 | rm -f conftest.$ac_objext | ||
9922 | if { (ac_try="$ac_compile" | ||
9923 | case "(($ac_try" in | ||
9924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9925 | *) ac_try_echo=$ac_try;; | ||
9926 | esac | ||
9927 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9928 | (eval "$ac_compile") 2>conftest.er1 | ||
9929 | ac_status=$? | ||
9930 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9931 | rm -f conftest.er1 | ||
9932 | cat conftest.err >&5 | ||
9933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9934 | (exit $ac_status); } && { | ||
9935 | test -z "$ac_c_werror_flag" || | ||
9936 | test ! -s conftest.err | ||
9937 | } && test -s conftest.$ac_objext; then | ||
9938 | ac_header_compiler=yes | ||
9939 | else | ||
9940 | echo "$as_me: failed program was:" >&5 | ||
9941 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9942 | |||
9943 | ac_header_compiler=no | ||
9944 | fi | ||
9945 | |||
9946 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
9947 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
9948 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
9949 | |||
9950 | # Is the header present? | ||
9951 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
9952 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
9953 | cat >conftest.$ac_ext <<_ACEOF | ||
9954 | /* confdefs.h. */ | ||
9955 | _ACEOF | ||
9956 | cat confdefs.h >>conftest.$ac_ext | ||
9957 | cat >>conftest.$ac_ext <<_ACEOF | ||
9958 | /* end confdefs.h. */ | ||
9959 | #include <$ac_header> | ||
9960 | _ACEOF | ||
9961 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
9962 | case "(($ac_try" in | ||
9963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
9964 | *) ac_try_echo=$ac_try;; | ||
9965 | esac | ||
9966 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
9967 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
9968 | ac_status=$? | ||
9969 | grep -v '^ *+' conftest.er1 >conftest.err | ||
9970 | rm -f conftest.er1 | ||
9971 | cat conftest.err >&5 | ||
9972 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
9973 | (exit $ac_status); } >/dev/null && { | ||
9974 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
9975 | test ! -s conftest.err | ||
9976 | }; then | ||
9977 | ac_header_preproc=yes | ||
9978 | else | ||
9979 | echo "$as_me: failed program was:" >&5 | ||
9980 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9981 | |||
9982 | ac_header_preproc=no | ||
9983 | fi | ||
9984 | |||
9985 | rm -f conftest.err conftest.$ac_ext | ||
9986 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
9987 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
9988 | |||
9989 | # So? What about this header? | ||
9990 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
9991 | yes:no: ) | ||
9992 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
9993 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
9994 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
9995 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
9996 | ac_header_preproc=yes | ||
9997 | ;; | ||
9998 | no:yes:* ) | ||
9999 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
10000 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
10001 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
10002 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
10003 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
10004 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
10005 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
10006 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
10007 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
10008 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
10009 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
10010 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
10011 | ( cat <<\_ASBOX | ||
10012 | ## ------------------------------------------- ## | ||
10013 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
10014 | ## ------------------------------------------- ## | ||
10015 | _ASBOX | ||
10016 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
10017 | ;; | ||
10018 | esac | ||
10019 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
10020 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
10021 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10023 | else | ||
10024 | eval "$as_ac_Header=\$ac_header_preproc" | ||
10025 | fi | ||
10026 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
10027 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10028 | echo "${ECHO_T}$ac_res" >&6; } | ||
10029 | |||
10030 | fi | ||
10031 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7473 | cat >>confdefs.h <<_ACEOF | 10032 | cat >>confdefs.h <<_ACEOF |
7474 | #define HAVE_LINUX_IF_TUN_H 1 | 10033 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7475 | _ACEOF | 10034 | _ACEOF |
7476 | 10035 | ||
7477 | fi | 10036 | fi |
@@ -7480,42 +10039,177 @@ done | |||
7480 | 10039 | ||
7481 | if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then | 10040 | if test "x$ac_cv_header_linux_if_tun_h" = "xyes" ; then |
7482 | 10041 | ||
7483 | $as_echo "#define SSH_TUN_LINUX 1" >>confdefs.h | 10042 | cat >>confdefs.h <<\_ACEOF |
10043 | #define SSH_TUN_LINUX 1 | ||
10044 | _ACEOF | ||
7484 | 10045 | ||
7485 | 10046 | ||
7486 | $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | 10047 | cat >>confdefs.h <<\_ACEOF |
10048 | #define SSH_TUN_COMPAT_AF 1 | ||
10049 | _ACEOF | ||
7487 | 10050 | ||
7488 | 10051 | ||
7489 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 10052 | cat >>confdefs.h <<\_ACEOF |
10053 | #define SSH_TUN_PREPEND_AF 1 | ||
10054 | _ACEOF | ||
7490 | 10055 | ||
7491 | fi | 10056 | fi |
7492 | for ac_header in linux/seccomp.h linux/filter.h linux/audit.h | 10057 | |
7493 | do : | 10058 | |
7494 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10059 | |
7495 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <linux/types.h> | 10060 | for ac_header in linux/seccomp.h linux/filter.h linux/audit.h |
7496 | " | 10061 | do |
7497 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 10062 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10063 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
10064 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
10065 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10066 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10067 | else | ||
10068 | cat >conftest.$ac_ext <<_ACEOF | ||
10069 | /* confdefs.h. */ | ||
10070 | _ACEOF | ||
10071 | cat confdefs.h >>conftest.$ac_ext | ||
10072 | cat >>conftest.$ac_ext <<_ACEOF | ||
10073 | /* end confdefs.h. */ | ||
10074 | #include <linux/types.h> | ||
10075 | |||
10076 | #include <$ac_header> | ||
10077 | _ACEOF | ||
10078 | rm -f conftest.$ac_objext | ||
10079 | if { (ac_try="$ac_compile" | ||
10080 | case "(($ac_try" in | ||
10081 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10082 | *) ac_try_echo=$ac_try;; | ||
10083 | esac | ||
10084 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10085 | (eval "$ac_compile") 2>conftest.er1 | ||
10086 | ac_status=$? | ||
10087 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10088 | rm -f conftest.er1 | ||
10089 | cat conftest.err >&5 | ||
10090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10091 | (exit $ac_status); } && { | ||
10092 | test -z "$ac_c_werror_flag" || | ||
10093 | test ! -s conftest.err | ||
10094 | } && test -s conftest.$ac_objext; then | ||
10095 | eval "$as_ac_Header=yes" | ||
10096 | else | ||
10097 | echo "$as_me: failed program was:" >&5 | ||
10098 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10099 | |||
10100 | eval "$as_ac_Header=no" | ||
10101 | fi | ||
10102 | |||
10103 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10104 | fi | ||
10105 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
10106 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10107 | echo "${ECHO_T}$ac_res" >&6; } | ||
10108 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
7498 | cat >>confdefs.h <<_ACEOF | 10109 | cat >>confdefs.h <<_ACEOF |
7499 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10110 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7500 | _ACEOF | 10111 | _ACEOF |
7501 | 10112 | ||
7502 | fi | 10113 | fi |
7503 | 10114 | ||
7504 | done | 10115 | done |
7505 | 10116 | ||
7506 | for ac_func in prctl | 10117 | |
7507 | do : | 10118 | for ac_func in prctl |
7508 | ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl" | 10119 | do |
7509 | if test "x$ac_cv_func_prctl" = xyes; then : | 10120 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10121 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10122 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
10123 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10124 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10125 | else | ||
10126 | cat >conftest.$ac_ext <<_ACEOF | ||
10127 | /* confdefs.h. */ | ||
10128 | _ACEOF | ||
10129 | cat confdefs.h >>conftest.$ac_ext | ||
10130 | cat >>conftest.$ac_ext <<_ACEOF | ||
10131 | /* end confdefs.h. */ | ||
10132 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
10133 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
10134 | #define $ac_func innocuous_$ac_func | ||
10135 | |||
10136 | /* System header to define __stub macros and hopefully few prototypes, | ||
10137 | which can conflict with char $ac_func (); below. | ||
10138 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
10139 | <limits.h> exists even on freestanding compilers. */ | ||
10140 | |||
10141 | #ifdef __STDC__ | ||
10142 | # include <limits.h> | ||
10143 | #else | ||
10144 | # include <assert.h> | ||
10145 | #endif | ||
10146 | |||
10147 | #undef $ac_func | ||
10148 | |||
10149 | /* Override any GCC internal prototype to avoid an error. | ||
10150 | Use char because int might match the return type of a GCC | ||
10151 | builtin and then its argument prototype would still apply. */ | ||
10152 | #ifdef __cplusplus | ||
10153 | extern "C" | ||
10154 | #endif | ||
10155 | char $ac_func (); | ||
10156 | /* The GNU C library defines this for functions which it implements | ||
10157 | to always fail with ENOSYS. Some functions are actually named | ||
10158 | something starting with __ and the normal name is an alias. */ | ||
10159 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
10160 | choke me | ||
10161 | #endif | ||
10162 | |||
10163 | int | ||
10164 | main () | ||
10165 | { | ||
10166 | return $ac_func (); | ||
10167 | ; | ||
10168 | return 0; | ||
10169 | } | ||
10170 | _ACEOF | ||
10171 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10172 | if { (ac_try="$ac_link" | ||
10173 | case "(($ac_try" in | ||
10174 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10175 | *) ac_try_echo=$ac_try;; | ||
10176 | esac | ||
10177 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10178 | (eval "$ac_link") 2>conftest.er1 | ||
10179 | ac_status=$? | ||
10180 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10181 | rm -f conftest.er1 | ||
10182 | cat conftest.err >&5 | ||
10183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10184 | (exit $ac_status); } && { | ||
10185 | test -z "$ac_c_werror_flag" || | ||
10186 | test ! -s conftest.err | ||
10187 | } && test -s conftest$ac_exeext && | ||
10188 | $as_test_x conftest$ac_exeext; then | ||
10189 | eval "$as_ac_var=yes" | ||
10190 | else | ||
10191 | echo "$as_me: failed program was:" >&5 | ||
10192 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10193 | |||
10194 | eval "$as_ac_var=no" | ||
10195 | fi | ||
10196 | |||
10197 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10198 | conftest$ac_exeext conftest.$ac_ext | ||
10199 | fi | ||
10200 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
10201 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10202 | echo "${ECHO_T}$ac_res" >&6; } | ||
10203 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7510 | cat >>confdefs.h <<_ACEOF | 10204 | cat >>confdefs.h <<_ACEOF |
7511 | #define HAVE_PRCTL 1 | 10205 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7512 | _ACEOF | 10206 | _ACEOF |
7513 | 10207 | ||
7514 | fi | 10208 | fi |
7515 | done | 10209 | done |
7516 | 10210 | ||
7517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for seccomp architecture" >&5 | 10211 | { echo "$as_me:$LINENO: checking for seccomp architecture" >&5 |
7518 | $as_echo_n "checking for seccomp architecture... " >&6; } | 10212 | echo $ECHO_N "checking for seccomp architecture... $ECHO_C" >&6; } |
7519 | seccomp_audit_arch= | 10213 | seccomp_audit_arch= |
7520 | case "$host" in | 10214 | case "$host" in |
7521 | x86_64-*) | 10215 | x86_64-*) |
@@ -7529,21 +10223,23 @@ $as_echo_n "checking for seccomp architecture... " >&6; } | |||
7529 | ;; | 10223 | ;; |
7530 | esac | 10224 | esac |
7531 | if test "x$seccomp_audit_arch" != "x" ; then | 10225 | if test "x$seccomp_audit_arch" != "x" ; then |
7532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"$seccomp_audit_arch\"" >&5 | 10226 | { echo "$as_me:$LINENO: result: \"$seccomp_audit_arch\"" >&5 |
7533 | $as_echo "\"$seccomp_audit_arch\"" >&6; } | 10227 | echo "${ECHO_T}\"$seccomp_audit_arch\"" >&6; } |
7534 | 10228 | ||
7535 | cat >>confdefs.h <<_ACEOF | 10229 | cat >>confdefs.h <<_ACEOF |
7536 | #define SECCOMP_AUDIT_ARCH $seccomp_audit_arch | 10230 | #define SECCOMP_AUDIT_ARCH $seccomp_audit_arch |
7537 | _ACEOF | 10231 | _ACEOF |
7538 | 10232 | ||
7539 | else | 10233 | else |
7540 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: architecture not supported" >&5 | 10234 | { echo "$as_me:$LINENO: result: architecture not supported" >&5 |
7541 | $as_echo "architecture not supported" >&6; } | 10235 | echo "${ECHO_T}architecture not supported" >&6; } |
7542 | fi | 10236 | fi |
7543 | ;; | 10237 | ;; |
7544 | mips-sony-bsd|mips-sony-newsos4) | 10238 | mips-sony-bsd|mips-sony-newsos4) |
7545 | 10239 | ||
7546 | $as_echo "#define NEED_SETPGRP 1" >>confdefs.h | 10240 | cat >>confdefs.h <<\_ACEOF |
10241 | #define NEED_SETPGRP 1 | ||
10242 | _ACEOF | ||
7547 | 10243 | ||
7548 | SONY=1 | 10244 | SONY=1 |
7549 | ;; | 10245 | ;; |
@@ -7553,66 +10249,352 @@ $as_echo "#define NEED_SETPGRP 1" >>confdefs.h | |||
7553 | need_dash_r=1 | 10249 | need_dash_r=1 |
7554 | fi | 10250 | fi |
7555 | 10251 | ||
7556 | $as_echo "#define SSH_TUN_FREEBSD 1" >>confdefs.h | 10252 | cat >>confdefs.h <<\_ACEOF |
10253 | #define SSH_TUN_FREEBSD 1 | ||
10254 | _ACEOF | ||
10255 | |||
10256 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10257 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10258 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10259 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10260 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10261 | fi | ||
10262 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10263 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
10264 | else | ||
10265 | # Is the header compilable? | ||
10266 | { echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | ||
10267 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } | ||
10268 | cat >conftest.$ac_ext <<_ACEOF | ||
10269 | /* confdefs.h. */ | ||
10270 | _ACEOF | ||
10271 | cat confdefs.h >>conftest.$ac_ext | ||
10272 | cat >>conftest.$ac_ext <<_ACEOF | ||
10273 | /* end confdefs.h. */ | ||
10274 | $ac_includes_default | ||
10275 | #include <net/if_tap.h> | ||
10276 | _ACEOF | ||
10277 | rm -f conftest.$ac_objext | ||
10278 | if { (ac_try="$ac_compile" | ||
10279 | case "(($ac_try" in | ||
10280 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10281 | *) ac_try_echo=$ac_try;; | ||
10282 | esac | ||
10283 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10284 | (eval "$ac_compile") 2>conftest.er1 | ||
10285 | ac_status=$? | ||
10286 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10287 | rm -f conftest.er1 | ||
10288 | cat conftest.err >&5 | ||
10289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10290 | (exit $ac_status); } && { | ||
10291 | test -z "$ac_c_werror_flag" || | ||
10292 | test ! -s conftest.err | ||
10293 | } && test -s conftest.$ac_objext; then | ||
10294 | ac_header_compiler=yes | ||
10295 | else | ||
10296 | echo "$as_me: failed program was:" >&5 | ||
10297 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10298 | |||
10299 | ac_header_compiler=no | ||
10300 | fi | ||
10301 | |||
10302 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10303 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10304 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
10305 | |||
10306 | # Is the header present? | ||
10307 | { echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | ||
10308 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } | ||
10309 | cat >conftest.$ac_ext <<_ACEOF | ||
10310 | /* confdefs.h. */ | ||
10311 | _ACEOF | ||
10312 | cat confdefs.h >>conftest.$ac_ext | ||
10313 | cat >>conftest.$ac_ext <<_ACEOF | ||
10314 | /* end confdefs.h. */ | ||
10315 | #include <net/if_tap.h> | ||
10316 | _ACEOF | ||
10317 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
10318 | case "(($ac_try" in | ||
10319 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10320 | *) ac_try_echo=$ac_try;; | ||
10321 | esac | ||
10322 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10323 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
10324 | ac_status=$? | ||
10325 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10326 | rm -f conftest.er1 | ||
10327 | cat conftest.err >&5 | ||
10328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10329 | (exit $ac_status); } >/dev/null && { | ||
10330 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
10331 | test ! -s conftest.err | ||
10332 | }; then | ||
10333 | ac_header_preproc=yes | ||
10334 | else | ||
10335 | echo "$as_me: failed program was:" >&5 | ||
10336 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10337 | |||
10338 | ac_header_preproc=no | ||
10339 | fi | ||
10340 | |||
10341 | rm -f conftest.err conftest.$ac_ext | ||
10342 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
10343 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
7557 | 10344 | ||
7558 | ac_fn_c_check_header_mongrel "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default" | 10345 | # So? What about this header? |
7559 | if test "x$ac_cv_header_net_if_tap_h" = xyes; then : | 10346 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10347 | yes:no: ) | ||
10348 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
10349 | echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
10350 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 | ||
10351 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} | ||
10352 | ac_header_preproc=yes | ||
10353 | ;; | ||
10354 | no:yes:* ) | ||
10355 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 | ||
10356 | echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} | ||
10357 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 | ||
10358 | echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} | ||
10359 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 | ||
10360 | echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} | ||
10361 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
10362 | echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
10363 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 | ||
10364 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} | ||
10365 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 | ||
10366 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} | ||
10367 | ( cat <<\_ASBOX | ||
10368 | ## ------------------------------------------- ## | ||
10369 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
10370 | ## ------------------------------------------- ## | ||
10371 | _ASBOX | ||
10372 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
10373 | ;; | ||
10374 | esac | ||
10375 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10376 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10377 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10378 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10379 | else | ||
10380 | ac_cv_header_net_if_tap_h=$ac_header_preproc | ||
10381 | fi | ||
10382 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10383 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
7560 | 10384 | ||
10385 | fi | ||
10386 | if test $ac_cv_header_net_if_tap_h = yes; then | ||
10387 | : | ||
7561 | else | 10388 | else |
7562 | 10389 | ||
7563 | $as_echo "#define SSH_TUN_NO_L2 1" >>confdefs.h | 10390 | cat >>confdefs.h <<\_ACEOF |
10391 | #define SSH_TUN_NO_L2 1 | ||
10392 | _ACEOF | ||
7564 | 10393 | ||
7565 | fi | 10394 | fi |
7566 | 10395 | ||
7567 | 10396 | ||
7568 | 10397 | ||
7569 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 10398 | cat >>confdefs.h <<\_ACEOF |
10399 | #define SSH_TUN_PREPEND_AF 1 | ||
10400 | _ACEOF | ||
7570 | 10401 | ||
7571 | TEST_MALLOC_OPTIONS="AJRX" | 10402 | TEST_MALLOC_OPTIONS="AJRX" |
7572 | 10403 | ||
7573 | $as_echo "#define BROKEN_STRNVIS 1" >>confdefs.h | 10404 | cat >>confdefs.h <<\_ACEOF |
10405 | #define BROKEN_STRNVIS 1 | ||
10406 | _ACEOF | ||
7574 | 10407 | ||
7575 | 10408 | ||
7576 | $as_echo "#define BROKEN_READ_COMPARISON 1" >>confdefs.h | 10409 | cat >>confdefs.h <<\_ACEOF |
10410 | #define BROKEN_READ_COMPARISON 1 | ||
10411 | _ACEOF | ||
7577 | 10412 | ||
7578 | ;; | 10413 | ;; |
7579 | *-*-freebsd*) | 10414 | *-*-freebsd*) |
7580 | check_for_libcrypt_later=1 | 10415 | check_for_libcrypt_later=1 |
7581 | 10416 | ||
7582 | $as_echo "#define LOCKED_PASSWD_PREFIX \"*LOCKED*\"" >>confdefs.h | 10417 | cat >>confdefs.h <<\_ACEOF |
10418 | #define LOCKED_PASSWD_PREFIX "*LOCKED*" | ||
10419 | _ACEOF | ||
10420 | |||
10421 | |||
10422 | cat >>confdefs.h <<\_ACEOF | ||
10423 | #define SSH_TUN_FREEBSD 1 | ||
10424 | _ACEOF | ||
10425 | |||
10426 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10427 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10428 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10429 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10430 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10431 | fi | ||
10432 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10433 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
10434 | else | ||
10435 | # Is the header compilable? | ||
10436 | { echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 | ||
10437 | echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } | ||
10438 | cat >conftest.$ac_ext <<_ACEOF | ||
10439 | /* confdefs.h. */ | ||
10440 | _ACEOF | ||
10441 | cat confdefs.h >>conftest.$ac_ext | ||
10442 | cat >>conftest.$ac_ext <<_ACEOF | ||
10443 | /* end confdefs.h. */ | ||
10444 | $ac_includes_default | ||
10445 | #include <net/if_tap.h> | ||
10446 | _ACEOF | ||
10447 | rm -f conftest.$ac_objext | ||
10448 | if { (ac_try="$ac_compile" | ||
10449 | case "(($ac_try" in | ||
10450 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10451 | *) ac_try_echo=$ac_try;; | ||
10452 | esac | ||
10453 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10454 | (eval "$ac_compile") 2>conftest.er1 | ||
10455 | ac_status=$? | ||
10456 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10457 | rm -f conftest.er1 | ||
10458 | cat conftest.err >&5 | ||
10459 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10460 | (exit $ac_status); } && { | ||
10461 | test -z "$ac_c_werror_flag" || | ||
10462 | test ! -s conftest.err | ||
10463 | } && test -s conftest.$ac_objext; then | ||
10464 | ac_header_compiler=yes | ||
10465 | else | ||
10466 | echo "$as_me: failed program was:" >&5 | ||
10467 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10468 | |||
10469 | ac_header_compiler=no | ||
10470 | fi | ||
10471 | |||
10472 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10473 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
10474 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
7583 | 10475 | ||
10476 | # Is the header present? | ||
10477 | { echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 | ||
10478 | echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } | ||
10479 | cat >conftest.$ac_ext <<_ACEOF | ||
10480 | /* confdefs.h. */ | ||
10481 | _ACEOF | ||
10482 | cat confdefs.h >>conftest.$ac_ext | ||
10483 | cat >>conftest.$ac_ext <<_ACEOF | ||
10484 | /* end confdefs.h. */ | ||
10485 | #include <net/if_tap.h> | ||
10486 | _ACEOF | ||
10487 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
10488 | case "(($ac_try" in | ||
10489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10490 | *) ac_try_echo=$ac_try;; | ||
10491 | esac | ||
10492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10493 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
10494 | ac_status=$? | ||
10495 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10496 | rm -f conftest.er1 | ||
10497 | cat conftest.err >&5 | ||
10498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10499 | (exit $ac_status); } >/dev/null && { | ||
10500 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
10501 | test ! -s conftest.err | ||
10502 | }; then | ||
10503 | ac_header_preproc=yes | ||
10504 | else | ||
10505 | echo "$as_me: failed program was:" >&5 | ||
10506 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
7584 | 10507 | ||
7585 | $as_echo "#define SSH_TUN_FREEBSD 1" >>confdefs.h | 10508 | ac_header_preproc=no |
10509 | fi | ||
7586 | 10510 | ||
7587 | ac_fn_c_check_header_mongrel "$LINENO" "net/if_tap.h" "ac_cv_header_net_if_tap_h" "$ac_includes_default" | 10511 | rm -f conftest.err conftest.$ac_ext |
7588 | if test "x$ac_cv_header_net_if_tap_h" = xyes; then : | 10512 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10513 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
7589 | 10514 | ||
10515 | # So? What about this header? | ||
10516 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
10517 | yes:no: ) | ||
10518 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
10519 | echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
10520 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 | ||
10521 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} | ||
10522 | ac_header_preproc=yes | ||
10523 | ;; | ||
10524 | no:yes:* ) | ||
10525 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 | ||
10526 | echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} | ||
10527 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 | ||
10528 | echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} | ||
10529 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 | ||
10530 | echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} | ||
10531 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
10532 | echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
10533 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 | ||
10534 | echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} | ||
10535 | { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 | ||
10536 | echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} | ||
10537 | ( cat <<\_ASBOX | ||
10538 | ## ------------------------------------------- ## | ||
10539 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
10540 | ## ------------------------------------------- ## | ||
10541 | _ASBOX | ||
10542 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
10543 | ;; | ||
10544 | esac | ||
10545 | { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 | ||
10546 | echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } | ||
10547 | if test "${ac_cv_header_net_if_tap_h+set}" = set; then | ||
10548 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7590 | else | 10549 | else |
10550 | ac_cv_header_net_if_tap_h=$ac_header_preproc | ||
10551 | fi | ||
10552 | { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 | ||
10553 | echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } | ||
7591 | 10554 | ||
7592 | $as_echo "#define SSH_TUN_NO_L2 1" >>confdefs.h | 10555 | fi |
10556 | if test $ac_cv_header_net_if_tap_h = yes; then | ||
10557 | : | ||
10558 | else | ||
10559 | |||
10560 | cat >>confdefs.h <<\_ACEOF | ||
10561 | #define SSH_TUN_NO_L2 1 | ||
10562 | _ACEOF | ||
7593 | 10563 | ||
7594 | fi | 10564 | fi |
7595 | 10565 | ||
7596 | 10566 | ||
7597 | 10567 | ||
7598 | $as_echo "#define BROKEN_GLOB 1" >>confdefs.h | 10568 | cat >>confdefs.h <<\_ACEOF |
10569 | #define BROKEN_GLOB 1 | ||
10570 | _ACEOF | ||
7599 | 10571 | ||
7600 | 10572 | ||
7601 | $as_echo "#define BROKEN_STRNVIS 1" >>confdefs.h | 10573 | cat >>confdefs.h <<\_ACEOF |
10574 | #define BROKEN_STRNVIS 1 | ||
10575 | _ACEOF | ||
7602 | 10576 | ||
7603 | TEST_MALLOC_OPTIONS="AJRX" | 10577 | TEST_MALLOC_OPTIONS="AJRX" |
7604 | # Preauth crypto occasionally uses file descriptors for crypto offload | 10578 | # Preauth crypto occasionally uses file descriptors for crypto offload |
7605 | # and will crash if they cannot be opened. | 10579 | # and will crash if they cannot be opened. |
7606 | 10580 | ||
7607 | $as_echo "#define SANDBOX_SKIP_RLIMIT_NOFILE 1" >>confdefs.h | 10581 | cat >>confdefs.h <<\_ACEOF |
10582 | #define SANDBOX_SKIP_RLIMIT_NOFILE 1 | ||
10583 | _ACEOF | ||
7608 | 10584 | ||
7609 | ;; | 10585 | ;; |
7610 | *-*-bsdi*) | 10586 | *-*-bsdi*) |
7611 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 10587 | cat >>confdefs.h <<\_ACEOF |
10588 | #define SETEUID_BREAKS_SETUID 1 | ||
10589 | _ACEOF | ||
7612 | 10590 | ||
7613 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 10591 | cat >>confdefs.h <<\_ACEOF |
10592 | #define BROKEN_SETREUID 1 | ||
10593 | _ACEOF | ||
7614 | 10594 | ||
7615 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 10595 | cat >>confdefs.h <<\_ACEOF |
10596 | #define BROKEN_SETREGID 1 | ||
10597 | _ACEOF | ||
7616 | 10598 | ||
7617 | ;; | 10599 | ;; |
7618 | *-next-*) | 10600 | *-next-*) |
@@ -7621,29 +10603,45 @@ $as_echo "#define SANDBOX_SKIP_RLIMIT_NOFILE 1" >>confdefs.h | |||
7621 | conf_wtmp_location=/usr/adm/wtmp | 10603 | conf_wtmp_location=/usr/adm/wtmp |
7622 | maildir=/usr/spool/mail | 10604 | maildir=/usr/spool/mail |
7623 | 10605 | ||
7624 | $as_echo "#define HAVE_NEXT 1" >>confdefs.h | 10606 | cat >>confdefs.h <<\_ACEOF |
10607 | #define HAVE_NEXT 1 | ||
10608 | _ACEOF | ||
7625 | 10609 | ||
7626 | $as_echo "#define BROKEN_REALPATH 1" >>confdefs.h | 10610 | cat >>confdefs.h <<\_ACEOF |
10611 | #define BROKEN_REALPATH 1 | ||
10612 | _ACEOF | ||
7627 | 10613 | ||
7628 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 10614 | cat >>confdefs.h <<\_ACEOF |
10615 | #define USE_PIPES 1 | ||
10616 | _ACEOF | ||
7629 | 10617 | ||
7630 | 10618 | ||
7631 | $as_echo "#define BROKEN_SAVED_UIDS 1" >>confdefs.h | 10619 | cat >>confdefs.h <<\_ACEOF |
10620 | #define BROKEN_SAVED_UIDS 1 | ||
10621 | _ACEOF | ||
7632 | 10622 | ||
7633 | ;; | 10623 | ;; |
7634 | *-*-openbsd*) | 10624 | *-*-openbsd*) |
7635 | use_pie=auto | 10625 | use_pie=auto |
7636 | 10626 | ||
7637 | $as_echo "#define HAVE_ATTRIBUTE__SENTINEL__ 1" >>confdefs.h | 10627 | cat >>confdefs.h <<\_ACEOF |
10628 | #define HAVE_ATTRIBUTE__SENTINEL__ 1 | ||
10629 | _ACEOF | ||
7638 | 10630 | ||
7639 | 10631 | ||
7640 | $as_echo "#define HAVE_ATTRIBUTE__BOUNDED__ 1" >>confdefs.h | 10632 | cat >>confdefs.h <<\_ACEOF |
10633 | #define HAVE_ATTRIBUTE__BOUNDED__ 1 | ||
10634 | _ACEOF | ||
7641 | 10635 | ||
7642 | 10636 | ||
7643 | $as_echo "#define SSH_TUN_OPENBSD 1" >>confdefs.h | 10637 | cat >>confdefs.h <<\_ACEOF |
10638 | #define SSH_TUN_OPENBSD 1 | ||
10639 | _ACEOF | ||
7644 | 10640 | ||
7645 | 10641 | ||
7646 | $as_echo "#define SYSLOG_R_SAFE_IN_SIGHAND 1" >>confdefs.h | 10642 | cat >>confdefs.h <<\_ACEOF |
10643 | #define SYSLOG_R_SAFE_IN_SIGHAND 1 | ||
10644 | _ACEOF | ||
7647 | 10645 | ||
7648 | TEST_MALLOC_OPTIONS="AFGJPRX" | 10646 | TEST_MALLOC_OPTIONS="AFGJPRX" |
7649 | ;; | 10647 | ;; |
@@ -7651,60 +10649,86 @@ $as_echo "#define SYSLOG_R_SAFE_IN_SIGHAND 1" >>confdefs.h | |||
7651 | if test "x$withval" != "xno" ; then | 10649 | if test "x$withval" != "xno" ; then |
7652 | need_dash_r=1 | 10650 | need_dash_r=1 |
7653 | fi | 10651 | fi |
7654 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h | 10652 | cat >>confdefs.h <<\_ACEOF |
10653 | #define PAM_SUN_CODEBASE 1 | ||
10654 | _ACEOF | ||
7655 | 10655 | ||
7656 | $as_echo "#define LOGIN_NEEDS_UTMPX 1" >>confdefs.h | 10656 | cat >>confdefs.h <<\_ACEOF |
10657 | #define LOGIN_NEEDS_UTMPX 1 | ||
10658 | _ACEOF | ||
7657 | 10659 | ||
7658 | 10660 | ||
7659 | $as_echo "#define LOGIN_NEEDS_TERM 1" >>confdefs.h | 10661 | cat >>confdefs.h <<\_ACEOF |
10662 | #define LOGIN_NEEDS_TERM 1 | ||
10663 | _ACEOF | ||
7660 | 10664 | ||
7661 | $as_echo "#define PAM_TTY_KLUDGE 1" >>confdefs.h | 10665 | cat >>confdefs.h <<\_ACEOF |
10666 | #define PAM_TTY_KLUDGE 1 | ||
10667 | _ACEOF | ||
7662 | 10668 | ||
7663 | 10669 | ||
7664 | $as_echo "#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1" >>confdefs.h | 10670 | cat >>confdefs.h <<\_ACEOF |
10671 | #define SSHPAM_CHAUTHTOK_NEEDS_RUID 1 | ||
10672 | _ACEOF | ||
7665 | 10673 | ||
7666 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | 10674 | cat >>confdefs.h <<\_ACEOF |
10675 | #define LOCKED_PASSWD_STRING "*LK*" | ||
10676 | _ACEOF | ||
7667 | 10677 | ||
7668 | # Pushing STREAMS modules will cause sshd to acquire a controlling tty. | 10678 | # Pushing STREAMS modules will cause sshd to acquire a controlling tty. |
7669 | 10679 | ||
7670 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h | 10680 | cat >>confdefs.h <<\_ACEOF |
10681 | #define SSHD_ACQUIRES_CTTY 1 | ||
10682 | _ACEOF | ||
7671 | 10683 | ||
7672 | 10684 | ||
7673 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | 10685 | cat >>confdefs.h <<\_ACEOF |
10686 | #define PASSWD_NEEDS_USERNAME 1 | ||
10687 | _ACEOF | ||
7674 | 10688 | ||
7675 | 10689 | ||
7676 | $as_echo "#define BROKEN_TCGETATTR_ICANON 1" >>confdefs.h | 10690 | cat >>confdefs.h <<\_ACEOF |
10691 | #define BROKEN_TCGETATTR_ICANON 1 | ||
10692 | _ACEOF | ||
7677 | 10693 | ||
7678 | external_path_file=/etc/default/login | 10694 | external_path_file=/etc/default/login |
7679 | # hardwire lastlog location (can't detect it on some versions) | 10695 | # hardwire lastlog location (can't detect it on some versions) |
7680 | conf_lastlog_location="/var/adm/lastlog" | 10696 | conf_lastlog_location="/var/adm/lastlog" |
7681 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete utmp and wtmp in solaris2.x" >&5 | 10697 | { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 |
7682 | $as_echo_n "checking for obsolete utmp and wtmp in solaris2.x... " >&6; } | 10698 | echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; } |
7683 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` | 10699 | sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` |
7684 | if test "$sol2ver" -ge 8; then | 10700 | if test "$sol2ver" -ge 8; then |
7685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 10701 | { echo "$as_me:$LINENO: result: yes" >&5 |
7686 | $as_echo "yes" >&6; } | 10702 | echo "${ECHO_T}yes" >&6; } |
7687 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | 10703 | cat >>confdefs.h <<\_ACEOF |
10704 | #define DISABLE_UTMP 1 | ||
10705 | _ACEOF | ||
7688 | 10706 | ||
7689 | 10707 | ||
7690 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h | 10708 | cat >>confdefs.h <<\_ACEOF |
10709 | #define DISABLE_WTMP 1 | ||
10710 | _ACEOF | ||
7691 | 10711 | ||
7692 | else | 10712 | else |
7693 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 10713 | { echo "$as_me:$LINENO: result: no" >&5 |
7694 | $as_echo "no" >&6; } | 10714 | echo "${ECHO_T}no" >&6; } |
7695 | fi | 10715 | fi |
7696 | 10716 | ||
7697 | # Check whether --with-solaris-contracts was given. | 10717 | # Check whether --with-solaris-contracts was given. |
7698 | if test "${with_solaris_contracts+set}" = set; then : | 10718 | if test "${with_solaris_contracts+set}" = set; then |
7699 | withval=$with_solaris_contracts; | 10719 | withval=$with_solaris_contracts; |
7700 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ct_tmpl_activate in -lcontract" >&5 | 10720 | { echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5 |
7701 | $as_echo_n "checking for ct_tmpl_activate in -lcontract... " >&6; } | 10721 | echo $ECHO_N "checking for ct_tmpl_activate in -lcontract... $ECHO_C" >&6; } |
7702 | if ${ac_cv_lib_contract_ct_tmpl_activate+:} false; then : | 10722 | if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then |
7703 | $as_echo_n "(cached) " >&6 | 10723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7704 | else | 10724 | else |
7705 | ac_check_lib_save_LIBS=$LIBS | 10725 | ac_check_lib_save_LIBS=$LIBS |
7706 | LIBS="-lcontract $LIBS" | 10726 | LIBS="-lcontract $LIBS" |
7707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10727 | cat >conftest.$ac_ext <<_ACEOF |
10728 | /* confdefs.h. */ | ||
10729 | _ACEOF | ||
10730 | cat confdefs.h >>conftest.$ac_ext | ||
10731 | cat >>conftest.$ac_ext <<_ACEOF | ||
7708 | /* end confdefs.h. */ | 10732 | /* end confdefs.h. */ |
7709 | 10733 | ||
7710 | /* Override any GCC internal prototype to avoid an error. | 10734 | /* Override any GCC internal prototype to avoid an error. |
@@ -7722,20 +10746,43 @@ return ct_tmpl_activate (); | |||
7722 | return 0; | 10746 | return 0; |
7723 | } | 10747 | } |
7724 | _ACEOF | 10748 | _ACEOF |
7725 | if ac_fn_c_try_link "$LINENO"; then : | 10749 | rm -f conftest.$ac_objext conftest$ac_exeext |
10750 | if { (ac_try="$ac_link" | ||
10751 | case "(($ac_try" in | ||
10752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10753 | *) ac_try_echo=$ac_try;; | ||
10754 | esac | ||
10755 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10756 | (eval "$ac_link") 2>conftest.er1 | ||
10757 | ac_status=$? | ||
10758 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10759 | rm -f conftest.er1 | ||
10760 | cat conftest.err >&5 | ||
10761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10762 | (exit $ac_status); } && { | ||
10763 | test -z "$ac_c_werror_flag" || | ||
10764 | test ! -s conftest.err | ||
10765 | } && test -s conftest$ac_exeext && | ||
10766 | $as_test_x conftest$ac_exeext; then | ||
7726 | ac_cv_lib_contract_ct_tmpl_activate=yes | 10767 | ac_cv_lib_contract_ct_tmpl_activate=yes |
7727 | else | 10768 | else |
7728 | ac_cv_lib_contract_ct_tmpl_activate=no | 10769 | echo "$as_me: failed program was:" >&5 |
10770 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10771 | |||
10772 | ac_cv_lib_contract_ct_tmpl_activate=no | ||
7729 | fi | 10773 | fi |
7730 | rm -f core conftest.err conftest.$ac_objext \ | 10774 | |
7731 | conftest$ac_exeext conftest.$ac_ext | 10775 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10776 | conftest$ac_exeext conftest.$ac_ext | ||
7732 | LIBS=$ac_check_lib_save_LIBS | 10777 | LIBS=$ac_check_lib_save_LIBS |
7733 | fi | 10778 | fi |
7734 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 | 10779 | { echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 |
7735 | $as_echo "$ac_cv_lib_contract_ct_tmpl_activate" >&6; } | 10780 | echo "${ECHO_T}$ac_cv_lib_contract_ct_tmpl_activate" >&6; } |
7736 | if test "x$ac_cv_lib_contract_ct_tmpl_activate" = xyes; then : | 10781 | if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then |
7737 | 10782 | ||
7738 | $as_echo "#define USE_SOLARIS_PROCESS_CONTRACTS 1" >>confdefs.h | 10783 | cat >>confdefs.h <<\_ACEOF |
10784 | #define USE_SOLARIS_PROCESS_CONTRACTS 1 | ||
10785 | _ACEOF | ||
7739 | 10786 | ||
7740 | SSHDLIBS="$SSHDLIBS -lcontract" | 10787 | SSHDLIBS="$SSHDLIBS -lcontract" |
7741 | SPC_MSG="yes" | 10788 | SPC_MSG="yes" |
@@ -7746,16 +10793,20 @@ fi | |||
7746 | 10793 | ||
7747 | 10794 | ||
7748 | # Check whether --with-solaris-projects was given. | 10795 | # Check whether --with-solaris-projects was given. |
7749 | if test "${with_solaris_projects+set}" = set; then : | 10796 | if test "${with_solaris_projects+set}" = set; then |
7750 | withval=$with_solaris_projects; | 10797 | withval=$with_solaris_projects; |
7751 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setproject in -lproject" >&5 | 10798 | { echo "$as_me:$LINENO: checking for setproject in -lproject" >&5 |
7752 | $as_echo_n "checking for setproject in -lproject... " >&6; } | 10799 | echo $ECHO_N "checking for setproject in -lproject... $ECHO_C" >&6; } |
7753 | if ${ac_cv_lib_project_setproject+:} false; then : | 10800 | if test "${ac_cv_lib_project_setproject+set}" = set; then |
7754 | $as_echo_n "(cached) " >&6 | 10801 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7755 | else | 10802 | else |
7756 | ac_check_lib_save_LIBS=$LIBS | 10803 | ac_check_lib_save_LIBS=$LIBS |
7757 | LIBS="-lproject $LIBS" | 10804 | LIBS="-lproject $LIBS" |
7758 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 10805 | cat >conftest.$ac_ext <<_ACEOF |
10806 | /* confdefs.h. */ | ||
10807 | _ACEOF | ||
10808 | cat confdefs.h >>conftest.$ac_ext | ||
10809 | cat >>conftest.$ac_ext <<_ACEOF | ||
7759 | /* end confdefs.h. */ | 10810 | /* end confdefs.h. */ |
7760 | 10811 | ||
7761 | /* Override any GCC internal prototype to avoid an error. | 10812 | /* Override any GCC internal prototype to avoid an error. |
@@ -7773,20 +10824,43 @@ return setproject (); | |||
7773 | return 0; | 10824 | return 0; |
7774 | } | 10825 | } |
7775 | _ACEOF | 10826 | _ACEOF |
7776 | if ac_fn_c_try_link "$LINENO"; then : | 10827 | rm -f conftest.$ac_objext conftest$ac_exeext |
10828 | if { (ac_try="$ac_link" | ||
10829 | case "(($ac_try" in | ||
10830 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10831 | *) ac_try_echo=$ac_try;; | ||
10832 | esac | ||
10833 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10834 | (eval "$ac_link") 2>conftest.er1 | ||
10835 | ac_status=$? | ||
10836 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10837 | rm -f conftest.er1 | ||
10838 | cat conftest.err >&5 | ||
10839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10840 | (exit $ac_status); } && { | ||
10841 | test -z "$ac_c_werror_flag" || | ||
10842 | test ! -s conftest.err | ||
10843 | } && test -s conftest$ac_exeext && | ||
10844 | $as_test_x conftest$ac_exeext; then | ||
7777 | ac_cv_lib_project_setproject=yes | 10845 | ac_cv_lib_project_setproject=yes |
7778 | else | 10846 | else |
7779 | ac_cv_lib_project_setproject=no | 10847 | echo "$as_me: failed program was:" >&5 |
10848 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10849 | |||
10850 | ac_cv_lib_project_setproject=no | ||
7780 | fi | 10851 | fi |
7781 | rm -f core conftest.err conftest.$ac_objext \ | 10852 | |
7782 | conftest$ac_exeext conftest.$ac_ext | 10853 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10854 | conftest$ac_exeext conftest.$ac_ext | ||
7783 | LIBS=$ac_check_lib_save_LIBS | 10855 | LIBS=$ac_check_lib_save_LIBS |
7784 | fi | 10856 | fi |
7785 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_project_setproject" >&5 | 10857 | { echo "$as_me:$LINENO: result: $ac_cv_lib_project_setproject" >&5 |
7786 | $as_echo "$ac_cv_lib_project_setproject" >&6; } | 10858 | echo "${ECHO_T}$ac_cv_lib_project_setproject" >&6; } |
7787 | if test "x$ac_cv_lib_project_setproject" = xyes; then : | 10859 | if test $ac_cv_lib_project_setproject = yes; then |
7788 | 10860 | ||
7789 | $as_echo "#define USE_SOLARIS_PROJECTS 1" >>confdefs.h | 10861 | cat >>confdefs.h <<\_ACEOF |
10862 | #define USE_SOLARIS_PROJECTS 1 | ||
10863 | _ACEOF | ||
7790 | 10864 | ||
7791 | SSHDLIBS="$SSHDLIBS -lproject" | 10865 | SSHDLIBS="$SSHDLIBS -lproject" |
7792 | SP_MSG="yes" | 10866 | SP_MSG="yes" |
@@ -7799,48 +10873,150 @@ fi | |||
7799 | ;; | 10873 | ;; |
7800 | *-*-sunos4*) | 10874 | *-*-sunos4*) |
7801 | CPPFLAGS="$CPPFLAGS -DSUNOS4" | 10875 | CPPFLAGS="$CPPFLAGS -DSUNOS4" |
7802 | for ac_func in getpwanam | 10876 | |
7803 | do : | 10877 | for ac_func in getpwanam |
7804 | ac_fn_c_check_func "$LINENO" "getpwanam" "ac_cv_func_getpwanam" | 10878 | do |
7805 | if test "x$ac_cv_func_getpwanam" = xyes; then : | 10879 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10880 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
10881 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
10882 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
10883 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10884 | else | ||
10885 | cat >conftest.$ac_ext <<_ACEOF | ||
10886 | /* confdefs.h. */ | ||
10887 | _ACEOF | ||
10888 | cat confdefs.h >>conftest.$ac_ext | ||
10889 | cat >>conftest.$ac_ext <<_ACEOF | ||
10890 | /* end confdefs.h. */ | ||
10891 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
10892 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
10893 | #define $ac_func innocuous_$ac_func | ||
10894 | |||
10895 | /* System header to define __stub macros and hopefully few prototypes, | ||
10896 | which can conflict with char $ac_func (); below. | ||
10897 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
10898 | <limits.h> exists even on freestanding compilers. */ | ||
10899 | |||
10900 | #ifdef __STDC__ | ||
10901 | # include <limits.h> | ||
10902 | #else | ||
10903 | # include <assert.h> | ||
10904 | #endif | ||
10905 | |||
10906 | #undef $ac_func | ||
10907 | |||
10908 | /* Override any GCC internal prototype to avoid an error. | ||
10909 | Use char because int might match the return type of a GCC | ||
10910 | builtin and then its argument prototype would still apply. */ | ||
10911 | #ifdef __cplusplus | ||
10912 | extern "C" | ||
10913 | #endif | ||
10914 | char $ac_func (); | ||
10915 | /* The GNU C library defines this for functions which it implements | ||
10916 | to always fail with ENOSYS. Some functions are actually named | ||
10917 | something starting with __ and the normal name is an alias. */ | ||
10918 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
10919 | choke me | ||
10920 | #endif | ||
10921 | |||
10922 | int | ||
10923 | main () | ||
10924 | { | ||
10925 | return $ac_func (); | ||
10926 | ; | ||
10927 | return 0; | ||
10928 | } | ||
10929 | _ACEOF | ||
10930 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
10931 | if { (ac_try="$ac_link" | ||
10932 | case "(($ac_try" in | ||
10933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
10934 | *) ac_try_echo=$ac_try;; | ||
10935 | esac | ||
10936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
10937 | (eval "$ac_link") 2>conftest.er1 | ||
10938 | ac_status=$? | ||
10939 | grep -v '^ *+' conftest.er1 >conftest.err | ||
10940 | rm -f conftest.er1 | ||
10941 | cat conftest.err >&5 | ||
10942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
10943 | (exit $ac_status); } && { | ||
10944 | test -z "$ac_c_werror_flag" || | ||
10945 | test ! -s conftest.err | ||
10946 | } && test -s conftest$ac_exeext && | ||
10947 | $as_test_x conftest$ac_exeext; then | ||
10948 | eval "$as_ac_var=yes" | ||
10949 | else | ||
10950 | echo "$as_me: failed program was:" >&5 | ||
10951 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10952 | |||
10953 | eval "$as_ac_var=no" | ||
10954 | fi | ||
10955 | |||
10956 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
10957 | conftest$ac_exeext conftest.$ac_ext | ||
10958 | fi | ||
10959 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
10960 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
10961 | echo "${ECHO_T}$ac_res" >&6; } | ||
10962 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
7806 | cat >>confdefs.h <<_ACEOF | 10963 | cat >>confdefs.h <<_ACEOF |
7807 | #define HAVE_GETPWANAM 1 | 10964 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
7808 | _ACEOF | 10965 | _ACEOF |
7809 | 10966 | ||
7810 | fi | 10967 | fi |
7811 | done | 10968 | done |
7812 | 10969 | ||
7813 | $as_echo "#define PAM_SUN_CODEBASE 1" >>confdefs.h | 10970 | cat >>confdefs.h <<\_ACEOF |
10971 | #define PAM_SUN_CODEBASE 1 | ||
10972 | _ACEOF | ||
7814 | 10973 | ||
7815 | conf_utmp_location=/etc/utmp | 10974 | conf_utmp_location=/etc/utmp |
7816 | conf_wtmp_location=/var/adm/wtmp | 10975 | conf_wtmp_location=/var/adm/wtmp |
7817 | conf_lastlog_location=/var/adm/lastlog | 10976 | conf_lastlog_location=/var/adm/lastlog |
7818 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 10977 | cat >>confdefs.h <<\_ACEOF |
10978 | #define USE_PIPES 1 | ||
10979 | _ACEOF | ||
7819 | 10980 | ||
7820 | ;; | 10981 | ;; |
7821 | *-ncr-sysv*) | 10982 | *-ncr-sysv*) |
7822 | LIBS="$LIBS -lc89" | 10983 | LIBS="$LIBS -lc89" |
7823 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 10984 | cat >>confdefs.h <<\_ACEOF |
10985 | #define USE_PIPES 1 | ||
10986 | _ACEOF | ||
7824 | 10987 | ||
7825 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h | 10988 | cat >>confdefs.h <<\_ACEOF |
10989 | #define SSHD_ACQUIRES_CTTY 1 | ||
10990 | _ACEOF | ||
7826 | 10991 | ||
7827 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 10992 | cat >>confdefs.h <<\_ACEOF |
10993 | #define SETEUID_BREAKS_SETUID 1 | ||
10994 | _ACEOF | ||
7828 | 10995 | ||
7829 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 10996 | cat >>confdefs.h <<\_ACEOF |
10997 | #define BROKEN_SETREUID 1 | ||
10998 | _ACEOF | ||
7830 | 10999 | ||
7831 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11000 | cat >>confdefs.h <<\_ACEOF |
11001 | #define BROKEN_SETREGID 1 | ||
11002 | _ACEOF | ||
7832 | 11003 | ||
7833 | ;; | 11004 | ;; |
7834 | *-sni-sysv*) | 11005 | *-sni-sysv*) |
7835 | # /usr/ucblib MUST NOT be searched on ReliantUNIX | 11006 | # /usr/ucblib MUST NOT be searched on ReliantUNIX |
7836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 | 11007 | |
7837 | $as_echo_n "checking for dlsym in -ldl... " >&6; } | 11008 | { echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 |
7838 | if ${ac_cv_lib_dl_dlsym+:} false; then : | 11009 | echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } |
7839 | $as_echo_n "(cached) " >&6 | 11010 | if test "${ac_cv_lib_dl_dlsym+set}" = set; then |
11011 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
7840 | else | 11012 | else |
7841 | ac_check_lib_save_LIBS=$LIBS | 11013 | ac_check_lib_save_LIBS=$LIBS |
7842 | LIBS="-ldl $LIBS" | 11014 | LIBS="-ldl $LIBS" |
7843 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11015 | cat >conftest.$ac_ext <<_ACEOF |
11016 | /* confdefs.h. */ | ||
11017 | _ACEOF | ||
11018 | cat confdefs.h >>conftest.$ac_ext | ||
11019 | cat >>conftest.$ac_ext <<_ACEOF | ||
7844 | /* end confdefs.h. */ | 11020 | /* end confdefs.h. */ |
7845 | 11021 | ||
7846 | /* Override any GCC internal prototype to avoid an error. | 11022 | /* Override any GCC internal prototype to avoid an error. |
@@ -7858,18 +11034,39 @@ return dlsym (); | |||
7858 | return 0; | 11034 | return 0; |
7859 | } | 11035 | } |
7860 | _ACEOF | 11036 | _ACEOF |
7861 | if ac_fn_c_try_link "$LINENO"; then : | 11037 | rm -f conftest.$ac_objext conftest$ac_exeext |
11038 | if { (ac_try="$ac_link" | ||
11039 | case "(($ac_try" in | ||
11040 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11041 | *) ac_try_echo=$ac_try;; | ||
11042 | esac | ||
11043 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11044 | (eval "$ac_link") 2>conftest.er1 | ||
11045 | ac_status=$? | ||
11046 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11047 | rm -f conftest.er1 | ||
11048 | cat conftest.err >&5 | ||
11049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11050 | (exit $ac_status); } && { | ||
11051 | test -z "$ac_c_werror_flag" || | ||
11052 | test ! -s conftest.err | ||
11053 | } && test -s conftest$ac_exeext && | ||
11054 | $as_test_x conftest$ac_exeext; then | ||
7862 | ac_cv_lib_dl_dlsym=yes | 11055 | ac_cv_lib_dl_dlsym=yes |
7863 | else | 11056 | else |
7864 | ac_cv_lib_dl_dlsym=no | 11057 | echo "$as_me: failed program was:" >&5 |
11058 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11059 | |||
11060 | ac_cv_lib_dl_dlsym=no | ||
7865 | fi | 11061 | fi |
7866 | rm -f core conftest.err conftest.$ac_objext \ | 11062 | |
7867 | conftest$ac_exeext conftest.$ac_ext | 11063 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11064 | conftest$ac_exeext conftest.$ac_ext | ||
7868 | LIBS=$ac_check_lib_save_LIBS | 11065 | LIBS=$ac_check_lib_save_LIBS |
7869 | fi | 11066 | fi |
7870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 | 11067 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 |
7871 | $as_echo "$ac_cv_lib_dl_dlsym" >&6; } | 11068 | echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } |
7872 | if test "x$ac_cv_lib_dl_dlsym" = xyes; then : | 11069 | if test $ac_cv_lib_dl_dlsym = yes; then |
7873 | cat >>confdefs.h <<_ACEOF | 11070 | cat >>confdefs.h <<_ACEOF |
7874 | #define HAVE_LIBDL 1 | 11071 | #define HAVE_LIBDL 1 |
7875 | _ACEOF | 11072 | _ACEOF |
@@ -7879,14 +11076,18 @@ _ACEOF | |||
7879 | fi | 11076 | fi |
7880 | 11077 | ||
7881 | # -lresolv needs to be at the end of LIBS or DNS lookups break | 11078 | # -lresolv needs to be at the end of LIBS or DNS lookups break |
7882 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 | 11079 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
7883 | $as_echo_n "checking for res_query in -lresolv... " >&6; } | 11080 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } |
7884 | if ${ac_cv_lib_resolv_res_query+:} false; then : | 11081 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
7885 | $as_echo_n "(cached) " >&6 | 11082 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7886 | else | 11083 | else |
7887 | ac_check_lib_save_LIBS=$LIBS | 11084 | ac_check_lib_save_LIBS=$LIBS |
7888 | LIBS="-lresolv $LIBS" | 11085 | LIBS="-lresolv $LIBS" |
7889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11086 | cat >conftest.$ac_ext <<_ACEOF |
11087 | /* confdefs.h. */ | ||
11088 | _ACEOF | ||
11089 | cat confdefs.h >>conftest.$ac_ext | ||
11090 | cat >>conftest.$ac_ext <<_ACEOF | ||
7890 | /* end confdefs.h. */ | 11091 | /* end confdefs.h. */ |
7891 | 11092 | ||
7892 | /* Override any GCC internal prototype to avoid an error. | 11093 | /* Override any GCC internal prototype to avoid an error. |
@@ -7904,33 +11105,66 @@ return res_query (); | |||
7904 | return 0; | 11105 | return 0; |
7905 | } | 11106 | } |
7906 | _ACEOF | 11107 | _ACEOF |
7907 | if ac_fn_c_try_link "$LINENO"; then : | 11108 | rm -f conftest.$ac_objext conftest$ac_exeext |
11109 | if { (ac_try="$ac_link" | ||
11110 | case "(($ac_try" in | ||
11111 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11112 | *) ac_try_echo=$ac_try;; | ||
11113 | esac | ||
11114 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11115 | (eval "$ac_link") 2>conftest.er1 | ||
11116 | ac_status=$? | ||
11117 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11118 | rm -f conftest.er1 | ||
11119 | cat conftest.err >&5 | ||
11120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11121 | (exit $ac_status); } && { | ||
11122 | test -z "$ac_c_werror_flag" || | ||
11123 | test ! -s conftest.err | ||
11124 | } && test -s conftest$ac_exeext && | ||
11125 | $as_test_x conftest$ac_exeext; then | ||
7908 | ac_cv_lib_resolv_res_query=yes | 11126 | ac_cv_lib_resolv_res_query=yes |
7909 | else | 11127 | else |
7910 | ac_cv_lib_resolv_res_query=no | 11128 | echo "$as_me: failed program was:" >&5 |
11129 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11130 | |||
11131 | ac_cv_lib_resolv_res_query=no | ||
7911 | fi | 11132 | fi |
7912 | rm -f core conftest.err conftest.$ac_objext \ | 11133 | |
7913 | conftest$ac_exeext conftest.$ac_ext | 11134 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11135 | conftest$ac_exeext conftest.$ac_ext | ||
7914 | LIBS=$ac_check_lib_save_LIBS | 11136 | LIBS=$ac_check_lib_save_LIBS |
7915 | fi | 11137 | fi |
7916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_query" >&5 | 11138 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
7917 | $as_echo "$ac_cv_lib_resolv_res_query" >&6; } | 11139 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } |
7918 | if test "x$ac_cv_lib_resolv_res_query" = xyes; then : | 11140 | if test $ac_cv_lib_resolv_res_query = yes; then |
7919 | LIBS="$LIBS -lresolv" | 11141 | LIBS="$LIBS -lresolv" |
7920 | fi | 11142 | fi |
7921 | 11143 | ||
7922 | IPADDR_IN_DISPLAY=yes | 11144 | IPADDR_IN_DISPLAY=yes |
7923 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11145 | cat >>confdefs.h <<\_ACEOF |
11146 | #define USE_PIPES 1 | ||
11147 | _ACEOF | ||
7924 | 11148 | ||
7925 | $as_echo "#define IP_TOS_IS_BROKEN 1" >>confdefs.h | 11149 | cat >>confdefs.h <<\_ACEOF |
11150 | #define IP_TOS_IS_BROKEN 1 | ||
11151 | _ACEOF | ||
7926 | 11152 | ||
7927 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11153 | cat >>confdefs.h <<\_ACEOF |
11154 | #define SETEUID_BREAKS_SETUID 1 | ||
11155 | _ACEOF | ||
7928 | 11156 | ||
7929 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11157 | cat >>confdefs.h <<\_ACEOF |
11158 | #define BROKEN_SETREUID 1 | ||
11159 | _ACEOF | ||
7930 | 11160 | ||
7931 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11161 | cat >>confdefs.h <<\_ACEOF |
11162 | #define BROKEN_SETREGID 1 | ||
11163 | _ACEOF | ||
7932 | 11164 | ||
7933 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h | 11165 | cat >>confdefs.h <<\_ACEOF |
11166 | #define SSHD_ACQUIRES_CTTY 1 | ||
11167 | _ACEOF | ||
7934 | 11168 | ||
7935 | external_path_file=/etc/default/login | 11169 | external_path_file=/etc/default/login |
7936 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX | 11170 | # /usr/ucblib/libucb.a no longer needed on ReliantUNIX |
@@ -7939,18 +11173,30 @@ fi | |||
7939 | ;; | 11173 | ;; |
7940 | # UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. | 11174 | # UnixWare 1.x, UnixWare 2.x, and others based on code from Univel. |
7941 | *-*-sysv4.2*) | 11175 | *-*-sysv4.2*) |
7942 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11176 | cat >>confdefs.h <<\_ACEOF |
11177 | #define USE_PIPES 1 | ||
11178 | _ACEOF | ||
7943 | 11179 | ||
7944 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11180 | cat >>confdefs.h <<\_ACEOF |
11181 | #define SETEUID_BREAKS_SETUID 1 | ||
11182 | _ACEOF | ||
7945 | 11183 | ||
7946 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11184 | cat >>confdefs.h <<\_ACEOF |
11185 | #define BROKEN_SETREUID 1 | ||
11186 | _ACEOF | ||
7947 | 11187 | ||
7948 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11188 | cat >>confdefs.h <<\_ACEOF |
11189 | #define BROKEN_SETREGID 1 | ||
11190 | _ACEOF | ||
7949 | 11191 | ||
7950 | 11192 | ||
7951 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | 11193 | cat >>confdefs.h <<\_ACEOF |
11194 | #define PASSWD_NEEDS_USERNAME 1 | ||
11195 | _ACEOF | ||
7952 | 11196 | ||
7953 | $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | 11197 | cat >>confdefs.h <<\_ACEOF |
11198 | #define LOCKED_PASSWD_STRING "*LK*" | ||
11199 | _ACEOF | ||
7954 | 11200 | ||
7955 | TEST_SHELL=$SHELL # let configure find us a capable shell | 11201 | TEST_SHELL=$SHELL # let configure find us a capable shell |
7956 | ;; | 11202 | ;; |
@@ -7958,37 +11204,59 @@ $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | |||
7958 | *-*-sysv5*) | 11204 | *-*-sysv5*) |
7959 | CPPFLAGS="$CPPFLAGS -Dvsnprintf=_xvsnprintf -Dsnprintf=_xsnprintf" | 11205 | CPPFLAGS="$CPPFLAGS -Dvsnprintf=_xvsnprintf -Dsnprintf=_xsnprintf" |
7960 | 11206 | ||
7961 | $as_echo "#define UNIXWARE_LONG_PASSWORDS 1" >>confdefs.h | 11207 | cat >>confdefs.h <<\_ACEOF |
11208 | #define UNIXWARE_LONG_PASSWORDS 1 | ||
11209 | _ACEOF | ||
7962 | 11210 | ||
7963 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11211 | cat >>confdefs.h <<\_ACEOF |
11212 | #define USE_PIPES 1 | ||
11213 | _ACEOF | ||
7964 | 11214 | ||
7965 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11215 | cat >>confdefs.h <<\_ACEOF |
11216 | #define SETEUID_BREAKS_SETUID 1 | ||
11217 | _ACEOF | ||
7966 | 11218 | ||
7967 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h | 11219 | cat >>confdefs.h <<\_ACEOF |
11220 | #define BROKEN_GETADDRINFO 1 | ||
11221 | _ACEOF | ||
7968 | 11222 | ||
7969 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11223 | cat >>confdefs.h <<\_ACEOF |
11224 | #define BROKEN_SETREUID 1 | ||
11225 | _ACEOF | ||
7970 | 11226 | ||
7971 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11227 | cat >>confdefs.h <<\_ACEOF |
11228 | #define BROKEN_SETREGID 1 | ||
11229 | _ACEOF | ||
7972 | 11230 | ||
7973 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | 11231 | cat >>confdefs.h <<\_ACEOF |
11232 | #define PASSWD_NEEDS_USERNAME 1 | ||
11233 | _ACEOF | ||
7974 | 11234 | ||
7975 | TEST_SHELL=$SHELL # let configure find us a capable shell | 11235 | TEST_SHELL=$SHELL # let configure find us a capable shell |
7976 | case "$host" in | 11236 | case "$host" in |
7977 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x | 11237 | *-*-sysv5SCO_SV*) # SCO OpenServer 6.x |
7978 | maildir=/var/spool/mail | 11238 | maildir=/var/spool/mail |
7979 | 11239 | ||
7980 | $as_echo "#define BROKEN_LIBIAF 1" >>confdefs.h | 11240 | cat >>confdefs.h <<\_ACEOF |
11241 | #define BROKEN_LIBIAF 1 | ||
11242 | _ACEOF | ||
7981 | 11243 | ||
7982 | $as_echo "#define BROKEN_UPDWTMPX 1" >>confdefs.h | 11244 | cat >>confdefs.h <<\_ACEOF |
11245 | #define BROKEN_UPDWTMPX 1 | ||
11246 | _ACEOF | ||
7983 | 11247 | ||
7984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getluid in -lprot" >&5 | 11248 | { echo "$as_me:$LINENO: checking for getluid in -lprot" >&5 |
7985 | $as_echo_n "checking for getluid in -lprot... " >&6; } | 11249 | echo $ECHO_N "checking for getluid in -lprot... $ECHO_C" >&6; } |
7986 | if ${ac_cv_lib_prot_getluid+:} false; then : | 11250 | if test "${ac_cv_lib_prot_getluid+set}" = set; then |
7987 | $as_echo_n "(cached) " >&6 | 11251 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7988 | else | 11252 | else |
7989 | ac_check_lib_save_LIBS=$LIBS | 11253 | ac_check_lib_save_LIBS=$LIBS |
7990 | LIBS="-lprot $LIBS" | 11254 | LIBS="-lprot $LIBS" |
7991 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11255 | cat >conftest.$ac_ext <<_ACEOF |
11256 | /* confdefs.h. */ | ||
11257 | _ACEOF | ||
11258 | cat confdefs.h >>conftest.$ac_ext | ||
11259 | cat >>conftest.$ac_ext <<_ACEOF | ||
7992 | /* end confdefs.h. */ | 11260 | /* end confdefs.h. */ |
7993 | 11261 | ||
7994 | /* Override any GCC internal prototype to avoid an error. | 11262 | /* Override any GCC internal prototype to avoid an error. |
@@ -8006,40 +11274,150 @@ return getluid (); | |||
8006 | return 0; | 11274 | return 0; |
8007 | } | 11275 | } |
8008 | _ACEOF | 11276 | _ACEOF |
8009 | if ac_fn_c_try_link "$LINENO"; then : | 11277 | rm -f conftest.$ac_objext conftest$ac_exeext |
11278 | if { (ac_try="$ac_link" | ||
11279 | case "(($ac_try" in | ||
11280 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11281 | *) ac_try_echo=$ac_try;; | ||
11282 | esac | ||
11283 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11284 | (eval "$ac_link") 2>conftest.er1 | ||
11285 | ac_status=$? | ||
11286 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11287 | rm -f conftest.er1 | ||
11288 | cat conftest.err >&5 | ||
11289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11290 | (exit $ac_status); } && { | ||
11291 | test -z "$ac_c_werror_flag" || | ||
11292 | test ! -s conftest.err | ||
11293 | } && test -s conftest$ac_exeext && | ||
11294 | $as_test_x conftest$ac_exeext; then | ||
8010 | ac_cv_lib_prot_getluid=yes | 11295 | ac_cv_lib_prot_getluid=yes |
8011 | else | 11296 | else |
8012 | ac_cv_lib_prot_getluid=no | 11297 | echo "$as_me: failed program was:" >&5 |
11298 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11299 | |||
11300 | ac_cv_lib_prot_getluid=no | ||
8013 | fi | 11301 | fi |
8014 | rm -f core conftest.err conftest.$ac_objext \ | 11302 | |
8015 | conftest$ac_exeext conftest.$ac_ext | 11303 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11304 | conftest$ac_exeext conftest.$ac_ext | ||
8016 | LIBS=$ac_check_lib_save_LIBS | 11305 | LIBS=$ac_check_lib_save_LIBS |
8017 | fi | 11306 | fi |
8018 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_prot_getluid" >&5 | 11307 | { echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5 |
8019 | $as_echo "$ac_cv_lib_prot_getluid" >&6; } | 11308 | echo "${ECHO_T}$ac_cv_lib_prot_getluid" >&6; } |
8020 | if test "x$ac_cv_lib_prot_getluid" = xyes; then : | 11309 | if test $ac_cv_lib_prot_getluid = yes; then |
8021 | LIBS="$LIBS -lprot" | 11310 | LIBS="$LIBS -lprot" |
8022 | for ac_func in getluid setluid | 11311 | |
8023 | do : | 11312 | |
8024 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11313 | for ac_func in getluid setluid |
8025 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11314 | do |
8026 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11315 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11316 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
11317 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
11318 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11319 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11320 | else | ||
11321 | cat >conftest.$ac_ext <<_ACEOF | ||
11322 | /* confdefs.h. */ | ||
11323 | _ACEOF | ||
11324 | cat confdefs.h >>conftest.$ac_ext | ||
11325 | cat >>conftest.$ac_ext <<_ACEOF | ||
11326 | /* end confdefs.h. */ | ||
11327 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
11328 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11329 | #define $ac_func innocuous_$ac_func | ||
11330 | |||
11331 | /* System header to define __stub macros and hopefully few prototypes, | ||
11332 | which can conflict with char $ac_func (); below. | ||
11333 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11334 | <limits.h> exists even on freestanding compilers. */ | ||
11335 | |||
11336 | #ifdef __STDC__ | ||
11337 | # include <limits.h> | ||
11338 | #else | ||
11339 | # include <assert.h> | ||
11340 | #endif | ||
11341 | |||
11342 | #undef $ac_func | ||
11343 | |||
11344 | /* Override any GCC internal prototype to avoid an error. | ||
11345 | Use char because int might match the return type of a GCC | ||
11346 | builtin and then its argument prototype would still apply. */ | ||
11347 | #ifdef __cplusplus | ||
11348 | extern "C" | ||
11349 | #endif | ||
11350 | char $ac_func (); | ||
11351 | /* The GNU C library defines this for functions which it implements | ||
11352 | to always fail with ENOSYS. Some functions are actually named | ||
11353 | something starting with __ and the normal name is an alias. */ | ||
11354 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
11355 | choke me | ||
11356 | #endif | ||
11357 | |||
11358 | int | ||
11359 | main () | ||
11360 | { | ||
11361 | return $ac_func (); | ||
11362 | ; | ||
11363 | return 0; | ||
11364 | } | ||
11365 | _ACEOF | ||
11366 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11367 | if { (ac_try="$ac_link" | ||
11368 | case "(($ac_try" in | ||
11369 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11370 | *) ac_try_echo=$ac_try;; | ||
11371 | esac | ||
11372 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11373 | (eval "$ac_link") 2>conftest.er1 | ||
11374 | ac_status=$? | ||
11375 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11376 | rm -f conftest.er1 | ||
11377 | cat conftest.err >&5 | ||
11378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11379 | (exit $ac_status); } && { | ||
11380 | test -z "$ac_c_werror_flag" || | ||
11381 | test ! -s conftest.err | ||
11382 | } && test -s conftest$ac_exeext && | ||
11383 | $as_test_x conftest$ac_exeext; then | ||
11384 | eval "$as_ac_var=yes" | ||
11385 | else | ||
11386 | echo "$as_me: failed program was:" >&5 | ||
11387 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11388 | |||
11389 | eval "$as_ac_var=no" | ||
11390 | fi | ||
11391 | |||
11392 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11393 | conftest$ac_exeext conftest.$ac_ext | ||
11394 | fi | ||
11395 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
11396 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
11397 | echo "${ECHO_T}$ac_res" >&6; } | ||
11398 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8027 | cat >>confdefs.h <<_ACEOF | 11399 | cat >>confdefs.h <<_ACEOF |
8028 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11400 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8029 | _ACEOF | 11401 | _ACEOF |
8030 | 11402 | ||
8031 | fi | 11403 | fi |
8032 | done | 11404 | done |
8033 | 11405 | ||
8034 | $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h | 11406 | cat >>confdefs.h <<\_ACEOF |
11407 | #define HAVE_SECUREWARE 1 | ||
11408 | _ACEOF | ||
8035 | 11409 | ||
8036 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h | 11410 | cat >>confdefs.h <<\_ACEOF |
11411 | #define DISABLE_SHADOW 1 | ||
11412 | _ACEOF | ||
8037 | 11413 | ||
8038 | 11414 | ||
8039 | fi | 11415 | fi |
8040 | 11416 | ||
8041 | ;; | 11417 | ;; |
8042 | *) $as_echo "#define LOCKED_PASSWD_STRING \"*LK*\"" >>confdefs.h | 11418 | *) cat >>confdefs.h <<\_ACEOF |
11419 | #define LOCKED_PASSWD_STRING "*LK*" | ||
11420 | _ACEOF | ||
8043 | 11421 | ||
8044 | check_for_libcrypt_later=1 | 11422 | check_for_libcrypt_later=1 |
8045 | ;; | 11423 | ;; |
@@ -8049,7 +11427,9 @@ fi | |||
8049 | ;; | 11427 | ;; |
8050 | # SCO UNIX and OEM versions of SCO UNIX | 11428 | # SCO UNIX and OEM versions of SCO UNIX |
8051 | *-*-sco3.2v4*) | 11429 | *-*-sco3.2v4*) |
8052 | as_fn_error $? "\"This Platform is no longer supported.\"" "$LINENO" 5 | 11430 | { { echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5 |
11431 | echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;} | ||
11432 | { (exit 1); exit 1; }; } | ||
8053 | ;; | 11433 | ;; |
8054 | # SCO OpenServer 5.x | 11434 | # SCO OpenServer 5.x |
8055 | *-*-sco3.2v5*) | 11435 | *-*-sco3.2v5*) |
@@ -8058,35 +11438,140 @@ fi | |||
8058 | fi | 11438 | fi |
8059 | LIBS="$LIBS -lprot -lx -ltinfo -lm" | 11439 | LIBS="$LIBS -lprot -lx -ltinfo -lm" |
8060 | no_dev_ptmx=1 | 11440 | no_dev_ptmx=1 |
8061 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11441 | cat >>confdefs.h <<\_ACEOF |
11442 | #define USE_PIPES 1 | ||
11443 | _ACEOF | ||
11444 | |||
11445 | cat >>confdefs.h <<\_ACEOF | ||
11446 | #define HAVE_SECUREWARE 1 | ||
11447 | _ACEOF | ||
11448 | |||
11449 | cat >>confdefs.h <<\_ACEOF | ||
11450 | #define DISABLE_SHADOW 1 | ||
11451 | _ACEOF | ||
11452 | |||
11453 | cat >>confdefs.h <<\_ACEOF | ||
11454 | #define DISABLE_FD_PASSING 1 | ||
11455 | _ACEOF | ||
11456 | |||
11457 | cat >>confdefs.h <<\_ACEOF | ||
11458 | #define SETEUID_BREAKS_SETUID 1 | ||
11459 | _ACEOF | ||
11460 | |||
11461 | cat >>confdefs.h <<\_ACEOF | ||
11462 | #define BROKEN_GETADDRINFO 1 | ||
11463 | _ACEOF | ||
8062 | 11464 | ||
8063 | $as_echo "#define HAVE_SECUREWARE 1" >>confdefs.h | 11465 | cat >>confdefs.h <<\_ACEOF |
11466 | #define BROKEN_SETREUID 1 | ||
11467 | _ACEOF | ||
11468 | |||
11469 | cat >>confdefs.h <<\_ACEOF | ||
11470 | #define BROKEN_SETREGID 1 | ||
11471 | _ACEOF | ||
8064 | 11472 | ||
8065 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h | 11473 | cat >>confdefs.h <<\_ACEOF |
11474 | #define WITH_ABBREV_NO_TTY 1 | ||
11475 | _ACEOF | ||
8066 | 11476 | ||
8067 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 11477 | cat >>confdefs.h <<\_ACEOF |
11478 | #define BROKEN_UPDWTMPX 1 | ||
11479 | _ACEOF | ||
8068 | 11480 | ||
8069 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11481 | cat >>confdefs.h <<\_ACEOF |
11482 | #define PASSWD_NEEDS_USERNAME 1 | ||
11483 | _ACEOF | ||
8070 | 11484 | ||
8071 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h | ||
8072 | 11485 | ||
8073 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | ||
8074 | 11486 | ||
8075 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11487 | for ac_func in getluid setluid |
11488 | do | ||
11489 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
11490 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
11491 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
11492 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
11493 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11494 | else | ||
11495 | cat >conftest.$ac_ext <<_ACEOF | ||
11496 | /* confdefs.h. */ | ||
11497 | _ACEOF | ||
11498 | cat confdefs.h >>conftest.$ac_ext | ||
11499 | cat >>conftest.$ac_ext <<_ACEOF | ||
11500 | /* end confdefs.h. */ | ||
11501 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
11502 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11503 | #define $ac_func innocuous_$ac_func | ||
11504 | |||
11505 | /* System header to define __stub macros and hopefully few prototypes, | ||
11506 | which can conflict with char $ac_func (); below. | ||
11507 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11508 | <limits.h> exists even on freestanding compilers. */ | ||
11509 | |||
11510 | #ifdef __STDC__ | ||
11511 | # include <limits.h> | ||
11512 | #else | ||
11513 | # include <assert.h> | ||
11514 | #endif | ||
8076 | 11515 | ||
8077 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h | 11516 | #undef $ac_func |
8078 | 11517 | ||
8079 | $as_echo "#define BROKEN_UPDWTMPX 1" >>confdefs.h | 11518 | /* Override any GCC internal prototype to avoid an error. |
11519 | Use char because int might match the return type of a GCC | ||
11520 | builtin and then its argument prototype would still apply. */ | ||
11521 | #ifdef __cplusplus | ||
11522 | extern "C" | ||
11523 | #endif | ||
11524 | char $ac_func (); | ||
11525 | /* The GNU C library defines this for functions which it implements | ||
11526 | to always fail with ENOSYS. Some functions are actually named | ||
11527 | something starting with __ and the normal name is an alias. */ | ||
11528 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
11529 | choke me | ||
11530 | #endif | ||
11531 | |||
11532 | int | ||
11533 | main () | ||
11534 | { | ||
11535 | return $ac_func (); | ||
11536 | ; | ||
11537 | return 0; | ||
11538 | } | ||
11539 | _ACEOF | ||
11540 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11541 | if { (ac_try="$ac_link" | ||
11542 | case "(($ac_try" in | ||
11543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11544 | *) ac_try_echo=$ac_try;; | ||
11545 | esac | ||
11546 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11547 | (eval "$ac_link") 2>conftest.er1 | ||
11548 | ac_status=$? | ||
11549 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11550 | rm -f conftest.er1 | ||
11551 | cat conftest.err >&5 | ||
11552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11553 | (exit $ac_status); } && { | ||
11554 | test -z "$ac_c_werror_flag" || | ||
11555 | test ! -s conftest.err | ||
11556 | } && test -s conftest$ac_exeext && | ||
11557 | $as_test_x conftest$ac_exeext; then | ||
11558 | eval "$as_ac_var=yes" | ||
11559 | else | ||
11560 | echo "$as_me: failed program was:" >&5 | ||
11561 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
8080 | 11562 | ||
8081 | $as_echo "#define PASSWD_NEEDS_USERNAME 1" >>confdefs.h | 11563 | eval "$as_ac_var=no" |
11564 | fi | ||
8082 | 11565 | ||
8083 | for ac_func in getluid setluid | 11566 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8084 | do : | 11567 | conftest$ac_exeext conftest.$ac_ext |
8085 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11568 | fi |
8086 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11569 | ac_res=`eval echo '${'$as_ac_var'}'` |
8087 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11570 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11571 | echo "${ECHO_T}$ac_res" >&6; } | ||
11572 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8088 | cat >>confdefs.h <<_ACEOF | 11573 | cat >>confdefs.h <<_ACEOF |
8089 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11574 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8090 | _ACEOF | 11575 | _ACEOF |
8091 | 11576 | ||
8092 | fi | 11577 | fi |
@@ -8098,67 +11583,103 @@ done | |||
8098 | ;; | 11583 | ;; |
8099 | *-*-unicosmk*) | 11584 | *-*-unicosmk*) |
8100 | 11585 | ||
8101 | $as_echo "#define NO_SSH_LASTLOG 1" >>confdefs.h | 11586 | cat >>confdefs.h <<\_ACEOF |
11587 | #define NO_SSH_LASTLOG 1 | ||
11588 | _ACEOF | ||
8102 | 11589 | ||
8103 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11590 | cat >>confdefs.h <<\_ACEOF |
11591 | #define SETEUID_BREAKS_SETUID 1 | ||
11592 | _ACEOF | ||
8104 | 11593 | ||
8105 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11594 | cat >>confdefs.h <<\_ACEOF |
11595 | #define BROKEN_SETREUID 1 | ||
11596 | _ACEOF | ||
8106 | 11597 | ||
8107 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11598 | cat >>confdefs.h <<\_ACEOF |
11599 | #define BROKEN_SETREGID 1 | ||
11600 | _ACEOF | ||
8108 | 11601 | ||
8109 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11602 | cat >>confdefs.h <<\_ACEOF |
11603 | #define USE_PIPES 1 | ||
11604 | _ACEOF | ||
8110 | 11605 | ||
8111 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 11606 | cat >>confdefs.h <<\_ACEOF |
11607 | #define DISABLE_FD_PASSING 1 | ||
11608 | _ACEOF | ||
8112 | 11609 | ||
8113 | LDFLAGS="$LDFLAGS" | 11610 | LDFLAGS="$LDFLAGS" |
8114 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | 11611 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" |
8115 | MANTYPE=cat | 11612 | MANTYPE=cat |
8116 | ;; | 11613 | ;; |
8117 | *-*-unicosmp*) | 11614 | *-*-unicosmp*) |
8118 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11615 | cat >>confdefs.h <<\_ACEOF |
11616 | #define SETEUID_BREAKS_SETUID 1 | ||
11617 | _ACEOF | ||
8119 | 11618 | ||
8120 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11619 | cat >>confdefs.h <<\_ACEOF |
11620 | #define BROKEN_SETREUID 1 | ||
11621 | _ACEOF | ||
8121 | 11622 | ||
8122 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11623 | cat >>confdefs.h <<\_ACEOF |
11624 | #define BROKEN_SETREGID 1 | ||
11625 | _ACEOF | ||
8123 | 11626 | ||
8124 | $as_echo "#define WITH_ABBREV_NO_TTY 1" >>confdefs.h | 11627 | cat >>confdefs.h <<\_ACEOF |
11628 | #define WITH_ABBREV_NO_TTY 1 | ||
11629 | _ACEOF | ||
8125 | 11630 | ||
8126 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11631 | cat >>confdefs.h <<\_ACEOF |
11632 | #define USE_PIPES 1 | ||
11633 | _ACEOF | ||
8127 | 11634 | ||
8128 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 11635 | cat >>confdefs.h <<\_ACEOF |
11636 | #define DISABLE_FD_PASSING 1 | ||
11637 | _ACEOF | ||
8129 | 11638 | ||
8130 | LDFLAGS="$LDFLAGS" | 11639 | LDFLAGS="$LDFLAGS" |
8131 | LIBS="$LIBS -lgen -lacid -ldb" | 11640 | LIBS="$LIBS -lgen -lacid -ldb" |
8132 | MANTYPE=cat | 11641 | MANTYPE=cat |
8133 | ;; | 11642 | ;; |
8134 | *-*-unicos*) | 11643 | *-*-unicos*) |
8135 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11644 | cat >>confdefs.h <<\_ACEOF |
11645 | #define SETEUID_BREAKS_SETUID 1 | ||
11646 | _ACEOF | ||
8136 | 11647 | ||
8137 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11648 | cat >>confdefs.h <<\_ACEOF |
11649 | #define BROKEN_SETREUID 1 | ||
11650 | _ACEOF | ||
8138 | 11651 | ||
8139 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11652 | cat >>confdefs.h <<\_ACEOF |
11653 | #define BROKEN_SETREGID 1 | ||
11654 | _ACEOF | ||
8140 | 11655 | ||
8141 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11656 | cat >>confdefs.h <<\_ACEOF |
11657 | #define USE_PIPES 1 | ||
11658 | _ACEOF | ||
8142 | 11659 | ||
8143 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 11660 | cat >>confdefs.h <<\_ACEOF |
11661 | #define DISABLE_FD_PASSING 1 | ||
11662 | _ACEOF | ||
8144 | 11663 | ||
8145 | $as_echo "#define NO_SSH_LASTLOG 1" >>confdefs.h | 11664 | cat >>confdefs.h <<\_ACEOF |
11665 | #define NO_SSH_LASTLOG 1 | ||
11666 | _ACEOF | ||
8146 | 11667 | ||
8147 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" | 11668 | LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" |
8148 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" | 11669 | LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" |
8149 | MANTYPE=cat | 11670 | MANTYPE=cat |
8150 | ;; | 11671 | ;; |
8151 | *-dec-osf*) | 11672 | *-dec-osf*) |
8152 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Digital Unix SIA" >&5 | 11673 | { echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 |
8153 | $as_echo_n "checking for Digital Unix SIA... " >&6; } | 11674 | echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6; } |
8154 | no_osfsia="" | 11675 | no_osfsia="" |
8155 | 11676 | ||
8156 | # Check whether --with-osfsia was given. | 11677 | # Check whether --with-osfsia was given. |
8157 | if test "${with_osfsia+set}" = set; then : | 11678 | if test "${with_osfsia+set}" = set; then |
8158 | withval=$with_osfsia; | 11679 | withval=$with_osfsia; |
8159 | if test "x$withval" = "xno" ; then | 11680 | if test "x$withval" = "xno" ; then |
8160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5 | 11681 | { echo "$as_me:$LINENO: result: disabled" >&5 |
8161 | $as_echo "disabled" >&6; } | 11682 | echo "${ECHO_T}disabled" >&6; } |
8162 | no_osfsia=1 | 11683 | no_osfsia=1 |
8163 | fi | 11684 | fi |
8164 | 11685 | ||
@@ -8166,55 +11687,85 @@ fi | |||
8166 | 11687 | ||
8167 | if test -z "$no_osfsia" ; then | 11688 | if test -z "$no_osfsia" ; then |
8168 | if test -f /etc/sia/matrix.conf; then | 11689 | if test -f /etc/sia/matrix.conf; then |
8169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11690 | { echo "$as_me:$LINENO: result: yes" >&5 |
8170 | $as_echo "yes" >&6; } | 11691 | echo "${ECHO_T}yes" >&6; } |
8171 | 11692 | ||
8172 | $as_echo "#define HAVE_OSF_SIA 1" >>confdefs.h | 11693 | cat >>confdefs.h <<\_ACEOF |
11694 | #define HAVE_OSF_SIA 1 | ||
11695 | _ACEOF | ||
8173 | 11696 | ||
8174 | 11697 | ||
8175 | $as_echo "#define DISABLE_LOGIN 1" >>confdefs.h | 11698 | cat >>confdefs.h <<\_ACEOF |
11699 | #define DISABLE_LOGIN 1 | ||
11700 | _ACEOF | ||
8176 | 11701 | ||
8177 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 11702 | cat >>confdefs.h <<\_ACEOF |
11703 | #define DISABLE_FD_PASSING 1 | ||
11704 | _ACEOF | ||
8178 | 11705 | ||
8179 | LIBS="$LIBS -lsecurity -ldb -lm -laud" | 11706 | LIBS="$LIBS -lsecurity -ldb -lm -laud" |
8180 | SIA_MSG="yes" | 11707 | SIA_MSG="yes" |
8181 | else | 11708 | else |
8182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11709 | { echo "$as_me:$LINENO: result: no" >&5 |
8183 | $as_echo "no" >&6; } | 11710 | echo "${ECHO_T}no" >&6; } |
8184 | 11711 | ||
8185 | $as_echo "#define LOCKED_PASSWD_SUBSTR \"Nologin\"" >>confdefs.h | 11712 | cat >>confdefs.h <<\_ACEOF |
11713 | #define LOCKED_PASSWD_SUBSTR "Nologin" | ||
11714 | _ACEOF | ||
8186 | 11715 | ||
8187 | fi | 11716 | fi |
8188 | fi | 11717 | fi |
8189 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h | 11718 | cat >>confdefs.h <<\_ACEOF |
11719 | #define BROKEN_GETADDRINFO 1 | ||
11720 | _ACEOF | ||
8190 | 11721 | ||
8191 | $as_echo "#define SETEUID_BREAKS_SETUID 1" >>confdefs.h | 11722 | cat >>confdefs.h <<\_ACEOF |
11723 | #define SETEUID_BREAKS_SETUID 1 | ||
11724 | _ACEOF | ||
8192 | 11725 | ||
8193 | $as_echo "#define BROKEN_SETREUID 1" >>confdefs.h | 11726 | cat >>confdefs.h <<\_ACEOF |
11727 | #define BROKEN_SETREUID 1 | ||
11728 | _ACEOF | ||
8194 | 11729 | ||
8195 | $as_echo "#define BROKEN_SETREGID 1" >>confdefs.h | 11730 | cat >>confdefs.h <<\_ACEOF |
11731 | #define BROKEN_SETREGID 1 | ||
11732 | _ACEOF | ||
8196 | 11733 | ||
8197 | 11734 | ||
8198 | $as_echo "#define BROKEN_READV_COMPARISON 1" >>confdefs.h | 11735 | cat >>confdefs.h <<\_ACEOF |
11736 | #define BROKEN_READV_COMPARISON 1 | ||
11737 | _ACEOF | ||
8199 | 11738 | ||
8200 | ;; | 11739 | ;; |
8201 | 11740 | ||
8202 | *-*-nto-qnx*) | 11741 | *-*-nto-qnx*) |
8203 | $as_echo "#define USE_PIPES 1" >>confdefs.h | 11742 | cat >>confdefs.h <<\_ACEOF |
11743 | #define USE_PIPES 1 | ||
11744 | _ACEOF | ||
8204 | 11745 | ||
8205 | $as_echo "#define NO_X11_UNIX_SOCKETS 1" >>confdefs.h | 11746 | cat >>confdefs.h <<\_ACEOF |
11747 | #define NO_X11_UNIX_SOCKETS 1 | ||
11748 | _ACEOF | ||
8206 | 11749 | ||
8207 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h | 11750 | cat >>confdefs.h <<\_ACEOF |
11751 | #define DISABLE_LASTLOG 1 | ||
11752 | _ACEOF | ||
8208 | 11753 | ||
8209 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h | 11754 | cat >>confdefs.h <<\_ACEOF |
11755 | #define SSHD_ACQUIRES_CTTY 1 | ||
11756 | _ACEOF | ||
8210 | 11757 | ||
8211 | 11758 | ||
8212 | $as_echo "#define BROKEN_SHADOW_EXPIRE 1" >>confdefs.h | 11759 | cat >>confdefs.h <<\_ACEOF |
11760 | #define BROKEN_SHADOW_EXPIRE 1 | ||
11761 | _ACEOF | ||
8213 | 11762 | ||
8214 | enable_etc_default_login=no # has incompatible /etc/default/login | 11763 | enable_etc_default_login=no # has incompatible /etc/default/login |
8215 | case "$host" in | 11764 | case "$host" in |
8216 | *-*-nto-qnx6*) | 11765 | *-*-nto-qnx6*) |
8217 | $as_echo "#define DISABLE_FD_PASSING 1" >>confdefs.h | 11766 | cat >>confdefs.h <<\_ACEOF |
11767 | #define DISABLE_FD_PASSING 1 | ||
11768 | _ACEOF | ||
8218 | 11769 | ||
8219 | ;; | 11770 | ;; |
8220 | esac | 11771 | esac |
@@ -8222,34 +11773,48 @@ $as_echo "#define BROKEN_SHADOW_EXPIRE 1" >>confdefs.h | |||
8222 | 11773 | ||
8223 | *-*-ultrix*) | 11774 | *-*-ultrix*) |
8224 | 11775 | ||
8225 | $as_echo "#define BROKEN_GETGROUPS 1" >>confdefs.h | 11776 | cat >>confdefs.h <<\_ACEOF |
11777 | #define BROKEN_GETGROUPS 1 | ||
11778 | _ACEOF | ||
8226 | 11779 | ||
8227 | 11780 | ||
8228 | $as_echo "#define BROKEN_MMAP 1" >>confdefs.h | 11781 | cat >>confdefs.h <<\_ACEOF |
11782 | #define BROKEN_MMAP 1 | ||
11783 | _ACEOF | ||
8229 | 11784 | ||
8230 | $as_echo "#define NEED_SETPGRP 1" >>confdefs.h | 11785 | cat >>confdefs.h <<\_ACEOF |
11786 | #define NEED_SETPGRP 1 | ||
11787 | _ACEOF | ||
8231 | 11788 | ||
8232 | 11789 | ||
8233 | $as_echo "#define HAVE_SYS_SYSLOG_H 1" >>confdefs.h | 11790 | cat >>confdefs.h <<\_ACEOF |
11791 | #define HAVE_SYS_SYSLOG_H 1 | ||
11792 | _ACEOF | ||
8234 | 11793 | ||
8235 | ;; | 11794 | ;; |
8236 | 11795 | ||
8237 | *-*-lynxos) | 11796 | *-*-lynxos) |
8238 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" | 11797 | CFLAGS="$CFLAGS -D__NO_INCLUDE_WARN__" |
8239 | 11798 | ||
8240 | $as_echo "#define BROKEN_SETVBUF 1" >>confdefs.h | 11799 | cat >>confdefs.h <<\_ACEOF |
11800 | #define BROKEN_SETVBUF 1 | ||
11801 | _ACEOF | ||
8241 | 11802 | ||
8242 | ;; | 11803 | ;; |
8243 | esac | 11804 | esac |
8244 | 11805 | ||
8245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler and flags for sanity" >&5 | 11806 | { echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 |
8246 | $as_echo_n "checking compiler and flags for sanity... " >&6; } | 11807 | echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6; } |
8247 | if test "$cross_compiling" = yes; then : | 11808 | if test "$cross_compiling" = yes; then |
8248 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking compiler sanity" >&5 | 11809 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5 |
8249 | $as_echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} | 11810 | echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} |
8250 | 11811 | ||
8251 | else | 11812 | else |
8252 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11813 | cat >conftest.$ac_ext <<_ACEOF |
11814 | /* confdefs.h. */ | ||
11815 | _ACEOF | ||
11816 | cat confdefs.h >>conftest.$ac_ext | ||
11817 | cat >>conftest.$ac_ext <<_ACEOF | ||
8253 | /* end confdefs.h. */ | 11818 | /* end confdefs.h. */ |
8254 | #include <stdio.h> | 11819 | #include <stdio.h> |
8255 | int | 11820 | int |
@@ -8260,34 +11825,145 @@ main () | |||
8260 | return 0; | 11825 | return 0; |
8261 | } | 11826 | } |
8262 | _ACEOF | 11827 | _ACEOF |
8263 | if ac_fn_c_try_run "$LINENO"; then : | 11828 | rm -f conftest$ac_exeext |
8264 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 11829 | if { (ac_try="$ac_link" |
8265 | $as_echo "yes" >&6; } | 11830 | case "(($ac_try" in |
11831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11832 | *) ac_try_echo=$ac_try;; | ||
11833 | esac | ||
11834 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11835 | (eval "$ac_link") 2>&5 | ||
11836 | ac_status=$? | ||
11837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11838 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
11839 | { (case "(($ac_try" in | ||
11840 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11841 | *) ac_try_echo=$ac_try;; | ||
11842 | esac | ||
11843 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11844 | (eval "$ac_try") 2>&5 | ||
11845 | ac_status=$? | ||
11846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11847 | (exit $ac_status); }; }; then | ||
11848 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
11849 | echo "${ECHO_T}yes" >&6; } | ||
8266 | else | 11850 | else |
11851 | echo "$as_me: program exited with status $ac_status" >&5 | ||
11852 | echo "$as_me: failed program was:" >&5 | ||
11853 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11854 | |||
11855 | ( exit $ac_status ) | ||
8267 | 11856 | ||
8268 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 11857 | { echo "$as_me:$LINENO: result: no" >&5 |
8269 | $as_echo "no" >&6; } | 11858 | echo "${ECHO_T}no" >&6; } |
8270 | as_fn_error $? "*** compiler cannot create working executables, check config.log ***" "$LINENO" 5 | 11859 | { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5 |
11860 | echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} | ||
11861 | { (exit 1); exit 1; }; } | ||
8271 | 11862 | ||
8272 | fi | 11863 | fi |
8273 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 11864 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8274 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
8275 | fi | 11865 | fi |
8276 | 11866 | ||
8277 | 11867 | ||
11868 | |||
8278 | # Checks for libraries. | 11869 | # Checks for libraries. |
8279 | ac_fn_c_check_func "$LINENO" "yp_match" "ac_cv_func_yp_match" | 11870 | { echo "$as_me:$LINENO: checking for yp_match" >&5 |
8280 | if test "x$ac_cv_func_yp_match" = xyes; then : | 11871 | echo $ECHO_N "checking for yp_match... $ECHO_C" >&6; } |
11872 | if test "${ac_cv_func_yp_match+set}" = set; then | ||
11873 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
11874 | else | ||
11875 | cat >conftest.$ac_ext <<_ACEOF | ||
11876 | /* confdefs.h. */ | ||
11877 | _ACEOF | ||
11878 | cat confdefs.h >>conftest.$ac_ext | ||
11879 | cat >>conftest.$ac_ext <<_ACEOF | ||
11880 | /* end confdefs.h. */ | ||
11881 | /* Define yp_match to an innocuous variant, in case <limits.h> declares yp_match. | ||
11882 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
11883 | #define yp_match innocuous_yp_match | ||
11884 | |||
11885 | /* System header to define __stub macros and hopefully few prototypes, | ||
11886 | which can conflict with char yp_match (); below. | ||
11887 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
11888 | <limits.h> exists even on freestanding compilers. */ | ||
11889 | |||
11890 | #ifdef __STDC__ | ||
11891 | # include <limits.h> | ||
11892 | #else | ||
11893 | # include <assert.h> | ||
11894 | #endif | ||
11895 | |||
11896 | #undef yp_match | ||
11897 | |||
11898 | /* Override any GCC internal prototype to avoid an error. | ||
11899 | Use char because int might match the return type of a GCC | ||
11900 | builtin and then its argument prototype would still apply. */ | ||
11901 | #ifdef __cplusplus | ||
11902 | extern "C" | ||
11903 | #endif | ||
11904 | char yp_match (); | ||
11905 | /* The GNU C library defines this for functions which it implements | ||
11906 | to always fail with ENOSYS. Some functions are actually named | ||
11907 | something starting with __ and the normal name is an alias. */ | ||
11908 | #if defined __stub_yp_match || defined __stub___yp_match | ||
11909 | choke me | ||
11910 | #endif | ||
11911 | |||
11912 | int | ||
11913 | main () | ||
11914 | { | ||
11915 | return yp_match (); | ||
11916 | ; | ||
11917 | return 0; | ||
11918 | } | ||
11919 | _ACEOF | ||
11920 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
11921 | if { (ac_try="$ac_link" | ||
11922 | case "(($ac_try" in | ||
11923 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11924 | *) ac_try_echo=$ac_try;; | ||
11925 | esac | ||
11926 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11927 | (eval "$ac_link") 2>conftest.er1 | ||
11928 | ac_status=$? | ||
11929 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11930 | rm -f conftest.er1 | ||
11931 | cat conftest.err >&5 | ||
11932 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11933 | (exit $ac_status); } && { | ||
11934 | test -z "$ac_c_werror_flag" || | ||
11935 | test ! -s conftest.err | ||
11936 | } && test -s conftest$ac_exeext && | ||
11937 | $as_test_x conftest$ac_exeext; then | ||
11938 | ac_cv_func_yp_match=yes | ||
11939 | else | ||
11940 | echo "$as_me: failed program was:" >&5 | ||
11941 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11942 | |||
11943 | ac_cv_func_yp_match=no | ||
11944 | fi | ||
8281 | 11945 | ||
11946 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
11947 | conftest$ac_exeext conftest.$ac_ext | ||
11948 | fi | ||
11949 | { echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 | ||
11950 | echo "${ECHO_T}$ac_cv_func_yp_match" >&6; } | ||
11951 | if test $ac_cv_func_yp_match = yes; then | ||
11952 | : | ||
8282 | else | 11953 | else |
8283 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yp_match in -lnsl" >&5 | 11954 | |
8284 | $as_echo_n "checking for yp_match in -lnsl... " >&6; } | 11955 | { echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 |
8285 | if ${ac_cv_lib_nsl_yp_match+:} false; then : | 11956 | echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; } |
8286 | $as_echo_n "(cached) " >&6 | 11957 | if test "${ac_cv_lib_nsl_yp_match+set}" = set; then |
11958 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8287 | else | 11959 | else |
8288 | ac_check_lib_save_LIBS=$LIBS | 11960 | ac_check_lib_save_LIBS=$LIBS |
8289 | LIBS="-lnsl $LIBS" | 11961 | LIBS="-lnsl $LIBS" |
8290 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11962 | cat >conftest.$ac_ext <<_ACEOF |
11963 | /* confdefs.h. */ | ||
11964 | _ACEOF | ||
11965 | cat confdefs.h >>conftest.$ac_ext | ||
11966 | cat >>conftest.$ac_ext <<_ACEOF | ||
8291 | /* end confdefs.h. */ | 11967 | /* end confdefs.h. */ |
8292 | 11968 | ||
8293 | /* Override any GCC internal prototype to avoid an error. | 11969 | /* Override any GCC internal prototype to avoid an error. |
@@ -8305,18 +11981,39 @@ return yp_match (); | |||
8305 | return 0; | 11981 | return 0; |
8306 | } | 11982 | } |
8307 | _ACEOF | 11983 | _ACEOF |
8308 | if ac_fn_c_try_link "$LINENO"; then : | 11984 | rm -f conftest.$ac_objext conftest$ac_exeext |
11985 | if { (ac_try="$ac_link" | ||
11986 | case "(($ac_try" in | ||
11987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
11988 | *) ac_try_echo=$ac_try;; | ||
11989 | esac | ||
11990 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
11991 | (eval "$ac_link") 2>conftest.er1 | ||
11992 | ac_status=$? | ||
11993 | grep -v '^ *+' conftest.er1 >conftest.err | ||
11994 | rm -f conftest.er1 | ||
11995 | cat conftest.err >&5 | ||
11996 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
11997 | (exit $ac_status); } && { | ||
11998 | test -z "$ac_c_werror_flag" || | ||
11999 | test ! -s conftest.err | ||
12000 | } && test -s conftest$ac_exeext && | ||
12001 | $as_test_x conftest$ac_exeext; then | ||
8309 | ac_cv_lib_nsl_yp_match=yes | 12002 | ac_cv_lib_nsl_yp_match=yes |
8310 | else | 12003 | else |
8311 | ac_cv_lib_nsl_yp_match=no | 12004 | echo "$as_me: failed program was:" >&5 |
12005 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12006 | |||
12007 | ac_cv_lib_nsl_yp_match=no | ||
8312 | fi | 12008 | fi |
8313 | rm -f core conftest.err conftest.$ac_objext \ | 12009 | |
8314 | conftest$ac_exeext conftest.$ac_ext | 12010 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12011 | conftest$ac_exeext conftest.$ac_ext | ||
8315 | LIBS=$ac_check_lib_save_LIBS | 12012 | LIBS=$ac_check_lib_save_LIBS |
8316 | fi | 12013 | fi |
8317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_yp_match" >&5 | 12014 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 |
8318 | $as_echo "$ac_cv_lib_nsl_yp_match" >&6; } | 12015 | echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; } |
8319 | if test "x$ac_cv_lib_nsl_yp_match" = xyes; then : | 12016 | if test $ac_cv_lib_nsl_yp_match = yes; then |
8320 | cat >>confdefs.h <<_ACEOF | 12017 | cat >>confdefs.h <<_ACEOF |
8321 | #define HAVE_LIBNSL 1 | 12018 | #define HAVE_LIBNSL 1 |
8322 | _ACEOF | 12019 | _ACEOF |
@@ -8327,18 +12024,103 @@ fi | |||
8327 | 12024 | ||
8328 | fi | 12025 | fi |
8329 | 12026 | ||
8330 | ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt" | 12027 | { echo "$as_me:$LINENO: checking for setsockopt" >&5 |
8331 | if test "x$ac_cv_func_setsockopt" = xyes; then : | 12028 | echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } |
12029 | if test "${ac_cv_func_setsockopt+set}" = set; then | ||
12030 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12031 | else | ||
12032 | cat >conftest.$ac_ext <<_ACEOF | ||
12033 | /* confdefs.h. */ | ||
12034 | _ACEOF | ||
12035 | cat confdefs.h >>conftest.$ac_ext | ||
12036 | cat >>conftest.$ac_ext <<_ACEOF | ||
12037 | /* end confdefs.h. */ | ||
12038 | /* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt. | ||
12039 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
12040 | #define setsockopt innocuous_setsockopt | ||
8332 | 12041 | ||
12042 | /* System header to define __stub macros and hopefully few prototypes, | ||
12043 | which can conflict with char setsockopt (); below. | ||
12044 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
12045 | <limits.h> exists even on freestanding compilers. */ | ||
12046 | |||
12047 | #ifdef __STDC__ | ||
12048 | # include <limits.h> | ||
12049 | #else | ||
12050 | # include <assert.h> | ||
12051 | #endif | ||
12052 | |||
12053 | #undef setsockopt | ||
12054 | |||
12055 | /* Override any GCC internal prototype to avoid an error. | ||
12056 | Use char because int might match the return type of a GCC | ||
12057 | builtin and then its argument prototype would still apply. */ | ||
12058 | #ifdef __cplusplus | ||
12059 | extern "C" | ||
12060 | #endif | ||
12061 | char setsockopt (); | ||
12062 | /* The GNU C library defines this for functions which it implements | ||
12063 | to always fail with ENOSYS. Some functions are actually named | ||
12064 | something starting with __ and the normal name is an alias. */ | ||
12065 | #if defined __stub_setsockopt || defined __stub___setsockopt | ||
12066 | choke me | ||
12067 | #endif | ||
12068 | |||
12069 | int | ||
12070 | main () | ||
12071 | { | ||
12072 | return setsockopt (); | ||
12073 | ; | ||
12074 | return 0; | ||
12075 | } | ||
12076 | _ACEOF | ||
12077 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12078 | if { (ac_try="$ac_link" | ||
12079 | case "(($ac_try" in | ||
12080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12081 | *) ac_try_echo=$ac_try;; | ||
12082 | esac | ||
12083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12084 | (eval "$ac_link") 2>conftest.er1 | ||
12085 | ac_status=$? | ||
12086 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12087 | rm -f conftest.er1 | ||
12088 | cat conftest.err >&5 | ||
12089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12090 | (exit $ac_status); } && { | ||
12091 | test -z "$ac_c_werror_flag" || | ||
12092 | test ! -s conftest.err | ||
12093 | } && test -s conftest$ac_exeext && | ||
12094 | $as_test_x conftest$ac_exeext; then | ||
12095 | ac_cv_func_setsockopt=yes | ||
8333 | else | 12096 | else |
8334 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setsockopt in -lsocket" >&5 | 12097 | echo "$as_me: failed program was:" >&5 |
8335 | $as_echo_n "checking for setsockopt in -lsocket... " >&6; } | 12098 | sed 's/^/| /' conftest.$ac_ext >&5 |
8336 | if ${ac_cv_lib_socket_setsockopt+:} false; then : | 12099 | |
8337 | $as_echo_n "(cached) " >&6 | 12100 | ac_cv_func_setsockopt=no |
12101 | fi | ||
12102 | |||
12103 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12104 | conftest$ac_exeext conftest.$ac_ext | ||
12105 | fi | ||
12106 | { echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 | ||
12107 | echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } | ||
12108 | if test $ac_cv_func_setsockopt = yes; then | ||
12109 | : | ||
12110 | else | ||
12111 | |||
12112 | { echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 | ||
12113 | echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } | ||
12114 | if test "${ac_cv_lib_socket_setsockopt+set}" = set; then | ||
12115 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8338 | else | 12116 | else |
8339 | ac_check_lib_save_LIBS=$LIBS | 12117 | ac_check_lib_save_LIBS=$LIBS |
8340 | LIBS="-lsocket $LIBS" | 12118 | LIBS="-lsocket $LIBS" |
8341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12119 | cat >conftest.$ac_ext <<_ACEOF |
12120 | /* confdefs.h. */ | ||
12121 | _ACEOF | ||
12122 | cat confdefs.h >>conftest.$ac_ext | ||
12123 | cat >>conftest.$ac_ext <<_ACEOF | ||
8342 | /* end confdefs.h. */ | 12124 | /* end confdefs.h. */ |
8343 | 12125 | ||
8344 | /* Override any GCC internal prototype to avoid an error. | 12126 | /* Override any GCC internal prototype to avoid an error. |
@@ -8356,18 +12138,39 @@ return setsockopt (); | |||
8356 | return 0; | 12138 | return 0; |
8357 | } | 12139 | } |
8358 | _ACEOF | 12140 | _ACEOF |
8359 | if ac_fn_c_try_link "$LINENO"; then : | 12141 | rm -f conftest.$ac_objext conftest$ac_exeext |
12142 | if { (ac_try="$ac_link" | ||
12143 | case "(($ac_try" in | ||
12144 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12145 | *) ac_try_echo=$ac_try;; | ||
12146 | esac | ||
12147 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12148 | (eval "$ac_link") 2>conftest.er1 | ||
12149 | ac_status=$? | ||
12150 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12151 | rm -f conftest.er1 | ||
12152 | cat conftest.err >&5 | ||
12153 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12154 | (exit $ac_status); } && { | ||
12155 | test -z "$ac_c_werror_flag" || | ||
12156 | test ! -s conftest.err | ||
12157 | } && test -s conftest$ac_exeext && | ||
12158 | $as_test_x conftest$ac_exeext; then | ||
8360 | ac_cv_lib_socket_setsockopt=yes | 12159 | ac_cv_lib_socket_setsockopt=yes |
8361 | else | 12160 | else |
8362 | ac_cv_lib_socket_setsockopt=no | 12161 | echo "$as_me: failed program was:" >&5 |
12162 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12163 | |||
12164 | ac_cv_lib_socket_setsockopt=no | ||
8363 | fi | 12165 | fi |
8364 | rm -f core conftest.err conftest.$ac_objext \ | 12166 | |
8365 | conftest$ac_exeext conftest.$ac_ext | 12167 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12168 | conftest$ac_exeext conftest.$ac_ext | ||
8366 | LIBS=$ac_check_lib_save_LIBS | 12169 | LIBS=$ac_check_lib_save_LIBS |
8367 | fi | 12170 | fi |
8368 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_setsockopt" >&5 | 12171 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 |
8369 | $as_echo "$ac_cv_lib_socket_setsockopt" >&6; } | 12172 | echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } |
8370 | if test "x$ac_cv_lib_socket_setsockopt" = xyes; then : | 12173 | if test $ac_cv_lib_socket_setsockopt = yes; then |
8371 | cat >>confdefs.h <<_ACEOF | 12174 | cat >>confdefs.h <<_ACEOF |
8372 | #define HAVE_LIBSOCKET 1 | 12175 | #define HAVE_LIBSOCKET 1 |
8373 | _ACEOF | 12176 | _ACEOF |
@@ -8379,19 +12182,235 @@ fi | |||
8379 | fi | 12182 | fi |
8380 | 12183 | ||
8381 | 12184 | ||
12185 | |||
8382 | for ac_func in dirname | 12186 | for ac_func in dirname |
8383 | do : | 12187 | do |
8384 | ac_fn_c_check_func "$LINENO" "dirname" "ac_cv_func_dirname" | 12188 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8385 | if test "x$ac_cv_func_dirname" = xyes; then : | 12189 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12190 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
12191 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12192 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12193 | else | ||
12194 | cat >conftest.$ac_ext <<_ACEOF | ||
12195 | /* confdefs.h. */ | ||
12196 | _ACEOF | ||
12197 | cat confdefs.h >>conftest.$ac_ext | ||
12198 | cat >>conftest.$ac_ext <<_ACEOF | ||
12199 | /* end confdefs.h. */ | ||
12200 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
12201 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
12202 | #define $ac_func innocuous_$ac_func | ||
12203 | |||
12204 | /* System header to define __stub macros and hopefully few prototypes, | ||
12205 | which can conflict with char $ac_func (); below. | ||
12206 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
12207 | <limits.h> exists even on freestanding compilers. */ | ||
12208 | |||
12209 | #ifdef __STDC__ | ||
12210 | # include <limits.h> | ||
12211 | #else | ||
12212 | # include <assert.h> | ||
12213 | #endif | ||
12214 | |||
12215 | #undef $ac_func | ||
12216 | |||
12217 | /* Override any GCC internal prototype to avoid an error. | ||
12218 | Use char because int might match the return type of a GCC | ||
12219 | builtin and then its argument prototype would still apply. */ | ||
12220 | #ifdef __cplusplus | ||
12221 | extern "C" | ||
12222 | #endif | ||
12223 | char $ac_func (); | ||
12224 | /* The GNU C library defines this for functions which it implements | ||
12225 | to always fail with ENOSYS. Some functions are actually named | ||
12226 | something starting with __ and the normal name is an alias. */ | ||
12227 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
12228 | choke me | ||
12229 | #endif | ||
12230 | |||
12231 | int | ||
12232 | main () | ||
12233 | { | ||
12234 | return $ac_func (); | ||
12235 | ; | ||
12236 | return 0; | ||
12237 | } | ||
12238 | _ACEOF | ||
12239 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12240 | if { (ac_try="$ac_link" | ||
12241 | case "(($ac_try" in | ||
12242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12243 | *) ac_try_echo=$ac_try;; | ||
12244 | esac | ||
12245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12246 | (eval "$ac_link") 2>conftest.er1 | ||
12247 | ac_status=$? | ||
12248 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12249 | rm -f conftest.er1 | ||
12250 | cat conftest.err >&5 | ||
12251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12252 | (exit $ac_status); } && { | ||
12253 | test -z "$ac_c_werror_flag" || | ||
12254 | test ! -s conftest.err | ||
12255 | } && test -s conftest$ac_exeext && | ||
12256 | $as_test_x conftest$ac_exeext; then | ||
12257 | eval "$as_ac_var=yes" | ||
12258 | else | ||
12259 | echo "$as_me: failed program was:" >&5 | ||
12260 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12261 | |||
12262 | eval "$as_ac_var=no" | ||
12263 | fi | ||
12264 | |||
12265 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12266 | conftest$ac_exeext conftest.$ac_ext | ||
12267 | fi | ||
12268 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
12269 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12270 | echo "${ECHO_T}$ac_res" >&6; } | ||
12271 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8386 | cat >>confdefs.h <<_ACEOF | 12272 | cat >>confdefs.h <<_ACEOF |
8387 | #define HAVE_DIRNAME 1 | 12273 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8388 | _ACEOF | 12274 | _ACEOF |
8389 | for ac_header in libgen.h | 12275 | |
8390 | do : | 12276 | for ac_header in libgen.h |
8391 | ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" | 12277 | do |
8392 | if test "x$ac_cv_header_libgen_h" = xyes; then : | 12278 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12279 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12280 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
12281 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
12282 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12283 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12284 | fi | ||
12285 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
12286 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12287 | echo "${ECHO_T}$ac_res" >&6; } | ||
12288 | else | ||
12289 | # Is the header compilable? | ||
12290 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
12291 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
12292 | cat >conftest.$ac_ext <<_ACEOF | ||
12293 | /* confdefs.h. */ | ||
12294 | _ACEOF | ||
12295 | cat confdefs.h >>conftest.$ac_ext | ||
12296 | cat >>conftest.$ac_ext <<_ACEOF | ||
12297 | /* end confdefs.h. */ | ||
12298 | $ac_includes_default | ||
12299 | #include <$ac_header> | ||
12300 | _ACEOF | ||
12301 | rm -f conftest.$ac_objext | ||
12302 | if { (ac_try="$ac_compile" | ||
12303 | case "(($ac_try" in | ||
12304 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12305 | *) ac_try_echo=$ac_try;; | ||
12306 | esac | ||
12307 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12308 | (eval "$ac_compile") 2>conftest.er1 | ||
12309 | ac_status=$? | ||
12310 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12311 | rm -f conftest.er1 | ||
12312 | cat conftest.err >&5 | ||
12313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12314 | (exit $ac_status); } && { | ||
12315 | test -z "$ac_c_werror_flag" || | ||
12316 | test ! -s conftest.err | ||
12317 | } && test -s conftest.$ac_objext; then | ||
12318 | ac_header_compiler=yes | ||
12319 | else | ||
12320 | echo "$as_me: failed program was:" >&5 | ||
12321 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12322 | |||
12323 | ac_header_compiler=no | ||
12324 | fi | ||
12325 | |||
12326 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12327 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
12328 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
12329 | |||
12330 | # Is the header present? | ||
12331 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
12332 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
12333 | cat >conftest.$ac_ext <<_ACEOF | ||
12334 | /* confdefs.h. */ | ||
12335 | _ACEOF | ||
12336 | cat confdefs.h >>conftest.$ac_ext | ||
12337 | cat >>conftest.$ac_ext <<_ACEOF | ||
12338 | /* end confdefs.h. */ | ||
12339 | #include <$ac_header> | ||
12340 | _ACEOF | ||
12341 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
12342 | case "(($ac_try" in | ||
12343 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12344 | *) ac_try_echo=$ac_try;; | ||
12345 | esac | ||
12346 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12347 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
12348 | ac_status=$? | ||
12349 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12350 | rm -f conftest.er1 | ||
12351 | cat conftest.err >&5 | ||
12352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12353 | (exit $ac_status); } >/dev/null && { | ||
12354 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
12355 | test ! -s conftest.err | ||
12356 | }; then | ||
12357 | ac_header_preproc=yes | ||
12358 | else | ||
12359 | echo "$as_me: failed program was:" >&5 | ||
12360 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12361 | |||
12362 | ac_header_preproc=no | ||
12363 | fi | ||
12364 | |||
12365 | rm -f conftest.err conftest.$ac_ext | ||
12366 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
12367 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
12368 | |||
12369 | # So? What about this header? | ||
12370 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
12371 | yes:no: ) | ||
12372 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
12373 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
12374 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
12375 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
12376 | ac_header_preproc=yes | ||
12377 | ;; | ||
12378 | no:yes:* ) | ||
12379 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
12380 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
12381 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
12382 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
12383 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
12384 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
12385 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
12386 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
12387 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
12388 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
12389 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
12390 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
12391 | ( cat <<\_ASBOX | ||
12392 | ## ------------------------------------------- ## | ||
12393 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
12394 | ## ------------------------------------------- ## | ||
12395 | _ASBOX | ||
12396 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
12397 | ;; | ||
12398 | esac | ||
12399 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
12400 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
12401 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12402 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12403 | else | ||
12404 | eval "$as_ac_Header=\$ac_header_preproc" | ||
12405 | fi | ||
12406 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
12407 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12408 | echo "${ECHO_T}$ac_res" >&6; } | ||
12409 | |||
12410 | fi | ||
12411 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
8393 | cat >>confdefs.h <<_ACEOF | 12412 | cat >>confdefs.h <<_ACEOF |
8394 | #define HAVE_LIBGEN_H 1 | 12413 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8395 | _ACEOF | 12414 | _ACEOF |
8396 | 12415 | ||
8397 | fi | 12416 | fi |
@@ -8400,14 +12419,18 @@ done | |||
8400 | 12419 | ||
8401 | else | 12420 | else |
8402 | 12421 | ||
8403 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirname in -lgen" >&5 | 12422 | { echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 |
8404 | $as_echo_n "checking for dirname in -lgen... " >&6; } | 12423 | echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6; } |
8405 | if ${ac_cv_lib_gen_dirname+:} false; then : | 12424 | if test "${ac_cv_lib_gen_dirname+set}" = set; then |
8406 | $as_echo_n "(cached) " >&6 | 12425 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8407 | else | 12426 | else |
8408 | ac_check_lib_save_LIBS=$LIBS | 12427 | ac_check_lib_save_LIBS=$LIBS |
8409 | LIBS="-lgen $LIBS" | 12428 | LIBS="-lgen $LIBS" |
8410 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12429 | cat >conftest.$ac_ext <<_ACEOF |
12430 | /* confdefs.h. */ | ||
12431 | _ACEOF | ||
12432 | cat confdefs.h >>conftest.$ac_ext | ||
12433 | cat >>conftest.$ac_ext <<_ACEOF | ||
8411 | /* end confdefs.h. */ | 12434 | /* end confdefs.h. */ |
8412 | 12435 | ||
8413 | /* Override any GCC internal prototype to avoid an error. | 12436 | /* Override any GCC internal prototype to avoid an error. |
@@ -8425,31 +12448,56 @@ return dirname (); | |||
8425 | return 0; | 12448 | return 0; |
8426 | } | 12449 | } |
8427 | _ACEOF | 12450 | _ACEOF |
8428 | if ac_fn_c_try_link "$LINENO"; then : | 12451 | rm -f conftest.$ac_objext conftest$ac_exeext |
12452 | if { (ac_try="$ac_link" | ||
12453 | case "(($ac_try" in | ||
12454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12455 | *) ac_try_echo=$ac_try;; | ||
12456 | esac | ||
12457 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12458 | (eval "$ac_link") 2>conftest.er1 | ||
12459 | ac_status=$? | ||
12460 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12461 | rm -f conftest.er1 | ||
12462 | cat conftest.err >&5 | ||
12463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12464 | (exit $ac_status); } && { | ||
12465 | test -z "$ac_c_werror_flag" || | ||
12466 | test ! -s conftest.err | ||
12467 | } && test -s conftest$ac_exeext && | ||
12468 | $as_test_x conftest$ac_exeext; then | ||
8429 | ac_cv_lib_gen_dirname=yes | 12469 | ac_cv_lib_gen_dirname=yes |
8430 | else | 12470 | else |
8431 | ac_cv_lib_gen_dirname=no | 12471 | echo "$as_me: failed program was:" >&5 |
12472 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12473 | |||
12474 | ac_cv_lib_gen_dirname=no | ||
8432 | fi | 12475 | fi |
8433 | rm -f core conftest.err conftest.$ac_objext \ | 12476 | |
8434 | conftest$ac_exeext conftest.$ac_ext | 12477 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12478 | conftest$ac_exeext conftest.$ac_ext | ||
8435 | LIBS=$ac_check_lib_save_LIBS | 12479 | LIBS=$ac_check_lib_save_LIBS |
8436 | fi | 12480 | fi |
8437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_dirname" >&5 | 12481 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 |
8438 | $as_echo "$ac_cv_lib_gen_dirname" >&6; } | 12482 | echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6; } |
8439 | if test "x$ac_cv_lib_gen_dirname" = xyes; then : | 12483 | if test $ac_cv_lib_gen_dirname = yes; then |
8440 | 12484 | ||
8441 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken dirname" >&5 | 12485 | { echo "$as_me:$LINENO: checking for broken dirname" >&5 |
8442 | $as_echo_n "checking for broken dirname... " >&6; } | 12486 | echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6; } |
8443 | if ${ac_cv_have_broken_dirname+:} false; then : | 12487 | if test "${ac_cv_have_broken_dirname+set}" = set; then |
8444 | $as_echo_n "(cached) " >&6 | 12488 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8445 | else | 12489 | else |
8446 | 12490 | ||
8447 | save_LIBS="$LIBS" | 12491 | save_LIBS="$LIBS" |
8448 | LIBS="$LIBS -lgen" | 12492 | LIBS="$LIBS -lgen" |
8449 | if test "$cross_compiling" = yes; then : | 12493 | if test "$cross_compiling" = yes; then |
8450 | ac_cv_have_broken_dirname="no" | 12494 | ac_cv_have_broken_dirname="no" |
8451 | else | 12495 | else |
8452 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12496 | cat >conftest.$ac_ext <<_ACEOF |
12497 | /* confdefs.h. */ | ||
12498 | _ACEOF | ||
12499 | cat confdefs.h >>conftest.$ac_ext | ||
12500 | cat >>conftest.$ac_ext <<_ACEOF | ||
8453 | /* end confdefs.h. */ | 12501 | /* end confdefs.h. */ |
8454 | 12502 | ||
8455 | #include <libgen.h> | 12503 | #include <libgen.h> |
@@ -8468,30 +12516,189 @@ int main(int argc, char **argv) { | |||
8468 | } | 12516 | } |
8469 | 12517 | ||
8470 | _ACEOF | 12518 | _ACEOF |
8471 | if ac_fn_c_try_run "$LINENO"; then : | 12519 | rm -f conftest$ac_exeext |
12520 | if { (ac_try="$ac_link" | ||
12521 | case "(($ac_try" in | ||
12522 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12523 | *) ac_try_echo=$ac_try;; | ||
12524 | esac | ||
12525 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12526 | (eval "$ac_link") 2>&5 | ||
12527 | ac_status=$? | ||
12528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12529 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
12530 | { (case "(($ac_try" in | ||
12531 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12532 | *) ac_try_echo=$ac_try;; | ||
12533 | esac | ||
12534 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12535 | (eval "$ac_try") 2>&5 | ||
12536 | ac_status=$? | ||
12537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12538 | (exit $ac_status); }; }; then | ||
8472 | ac_cv_have_broken_dirname="no" | 12539 | ac_cv_have_broken_dirname="no" |
8473 | else | 12540 | else |
8474 | ac_cv_have_broken_dirname="yes" | 12541 | echo "$as_me: program exited with status $ac_status" >&5 |
12542 | echo "$as_me: failed program was:" >&5 | ||
12543 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12544 | |||
12545 | ( exit $ac_status ) | ||
12546 | ac_cv_have_broken_dirname="yes" | ||
8475 | fi | 12547 | fi |
8476 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 12548 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8477 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
8478 | fi | 12549 | fi |
8479 | 12550 | ||
12551 | |||
8480 | LIBS="$save_LIBS" | 12552 | LIBS="$save_LIBS" |
8481 | 12553 | ||
8482 | fi | 12554 | fi |
8483 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_broken_dirname" >&5 | 12555 | { echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 |
8484 | $as_echo "$ac_cv_have_broken_dirname" >&6; } | 12556 | echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6; } |
8485 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then | 12557 | if test "x$ac_cv_have_broken_dirname" = "xno" ; then |
8486 | LIBS="$LIBS -lgen" | 12558 | LIBS="$LIBS -lgen" |
8487 | $as_echo "#define HAVE_DIRNAME 1" >>confdefs.h | 12559 | cat >>confdefs.h <<\_ACEOF |
12560 | #define HAVE_DIRNAME 1 | ||
12561 | _ACEOF | ||
12562 | |||
12563 | |||
12564 | for ac_header in libgen.h | ||
12565 | do | ||
12566 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
12567 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12568 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
12569 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
12570 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12571 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12572 | fi | ||
12573 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
12574 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12575 | echo "${ECHO_T}$ac_res" >&6; } | ||
12576 | else | ||
12577 | # Is the header compilable? | ||
12578 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
12579 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
12580 | cat >conftest.$ac_ext <<_ACEOF | ||
12581 | /* confdefs.h. */ | ||
12582 | _ACEOF | ||
12583 | cat confdefs.h >>conftest.$ac_ext | ||
12584 | cat >>conftest.$ac_ext <<_ACEOF | ||
12585 | /* end confdefs.h. */ | ||
12586 | $ac_includes_default | ||
12587 | #include <$ac_header> | ||
12588 | _ACEOF | ||
12589 | rm -f conftest.$ac_objext | ||
12590 | if { (ac_try="$ac_compile" | ||
12591 | case "(($ac_try" in | ||
12592 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12593 | *) ac_try_echo=$ac_try;; | ||
12594 | esac | ||
12595 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12596 | (eval "$ac_compile") 2>conftest.er1 | ||
12597 | ac_status=$? | ||
12598 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12599 | rm -f conftest.er1 | ||
12600 | cat conftest.err >&5 | ||
12601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12602 | (exit $ac_status); } && { | ||
12603 | test -z "$ac_c_werror_flag" || | ||
12604 | test ! -s conftest.err | ||
12605 | } && test -s conftest.$ac_objext; then | ||
12606 | ac_header_compiler=yes | ||
12607 | else | ||
12608 | echo "$as_me: failed program was:" >&5 | ||
12609 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12610 | |||
12611 | ac_header_compiler=no | ||
12612 | fi | ||
12613 | |||
12614 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
12615 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
12616 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
12617 | |||
12618 | # Is the header present? | ||
12619 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
12620 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
12621 | cat >conftest.$ac_ext <<_ACEOF | ||
12622 | /* confdefs.h. */ | ||
12623 | _ACEOF | ||
12624 | cat confdefs.h >>conftest.$ac_ext | ||
12625 | cat >>conftest.$ac_ext <<_ACEOF | ||
12626 | /* end confdefs.h. */ | ||
12627 | #include <$ac_header> | ||
12628 | _ACEOF | ||
12629 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
12630 | case "(($ac_try" in | ||
12631 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12632 | *) ac_try_echo=$ac_try;; | ||
12633 | esac | ||
12634 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12635 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
12636 | ac_status=$? | ||
12637 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12638 | rm -f conftest.er1 | ||
12639 | cat conftest.err >&5 | ||
12640 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12641 | (exit $ac_status); } >/dev/null && { | ||
12642 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
12643 | test ! -s conftest.err | ||
12644 | }; then | ||
12645 | ac_header_preproc=yes | ||
12646 | else | ||
12647 | echo "$as_me: failed program was:" >&5 | ||
12648 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12649 | |||
12650 | ac_header_preproc=no | ||
12651 | fi | ||
8488 | 12652 | ||
8489 | for ac_header in libgen.h | 12653 | rm -f conftest.err conftest.$ac_ext |
8490 | do : | 12654 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8491 | ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default" | 12655 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8492 | if test "x$ac_cv_header_libgen_h" = xyes; then : | 12656 | |
12657 | # So? What about this header? | ||
12658 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
12659 | yes:no: ) | ||
12660 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
12661 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
12662 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
12663 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
12664 | ac_header_preproc=yes | ||
12665 | ;; | ||
12666 | no:yes:* ) | ||
12667 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
12668 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
12669 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
12670 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
12671 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
12672 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
12673 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
12674 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
12675 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
12676 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
12677 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
12678 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
12679 | ( cat <<\_ASBOX | ||
12680 | ## ------------------------------------------- ## | ||
12681 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
12682 | ## ------------------------------------------- ## | ||
12683 | _ASBOX | ||
12684 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
12685 | ;; | ||
12686 | esac | ||
12687 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
12688 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
12689 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
12690 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12691 | else | ||
12692 | eval "$as_ac_Header=\$ac_header_preproc" | ||
12693 | fi | ||
12694 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
12695 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
12696 | echo "${ECHO_T}$ac_res" >&6; } | ||
12697 | |||
12698 | fi | ||
12699 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
8493 | cat >>confdefs.h <<_ACEOF | 12700 | cat >>confdefs.h <<_ACEOF |
8494 | #define HAVE_LIBGEN_H 1 | 12701 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8495 | _ACEOF | 12702 | _ACEOF |
8496 | 12703 | ||
8497 | fi | 12704 | fi |
@@ -8507,18 +12714,102 @@ fi | |||
8507 | done | 12714 | done |
8508 | 12715 | ||
8509 | 12716 | ||
8510 | ac_fn_c_check_func "$LINENO" "getspnam" "ac_cv_func_getspnam" | 12717 | { echo "$as_me:$LINENO: checking for getspnam" >&5 |
8511 | if test "x$ac_cv_func_getspnam" = xyes; then : | 12718 | echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; } |
12719 | if test "${ac_cv_func_getspnam+set}" = set; then | ||
12720 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12721 | else | ||
12722 | cat >conftest.$ac_ext <<_ACEOF | ||
12723 | /* confdefs.h. */ | ||
12724 | _ACEOF | ||
12725 | cat confdefs.h >>conftest.$ac_ext | ||
12726 | cat >>conftest.$ac_ext <<_ACEOF | ||
12727 | /* end confdefs.h. */ | ||
12728 | /* Define getspnam to an innocuous variant, in case <limits.h> declares getspnam. | ||
12729 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
12730 | #define getspnam innocuous_getspnam | ||
12731 | |||
12732 | /* System header to define __stub macros and hopefully few prototypes, | ||
12733 | which can conflict with char getspnam (); below. | ||
12734 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
12735 | <limits.h> exists even on freestanding compilers. */ | ||
12736 | |||
12737 | #ifdef __STDC__ | ||
12738 | # include <limits.h> | ||
12739 | #else | ||
12740 | # include <assert.h> | ||
12741 | #endif | ||
12742 | |||
12743 | #undef getspnam | ||
12744 | |||
12745 | /* Override any GCC internal prototype to avoid an error. | ||
12746 | Use char because int might match the return type of a GCC | ||
12747 | builtin and then its argument prototype would still apply. */ | ||
12748 | #ifdef __cplusplus | ||
12749 | extern "C" | ||
12750 | #endif | ||
12751 | char getspnam (); | ||
12752 | /* The GNU C library defines this for functions which it implements | ||
12753 | to always fail with ENOSYS. Some functions are actually named | ||
12754 | something starting with __ and the normal name is an alias. */ | ||
12755 | #if defined __stub_getspnam || defined __stub___getspnam | ||
12756 | choke me | ||
12757 | #endif | ||
8512 | 12758 | ||
12759 | int | ||
12760 | main () | ||
12761 | { | ||
12762 | return getspnam (); | ||
12763 | ; | ||
12764 | return 0; | ||
12765 | } | ||
12766 | _ACEOF | ||
12767 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
12768 | if { (ac_try="$ac_link" | ||
12769 | case "(($ac_try" in | ||
12770 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12771 | *) ac_try_echo=$ac_try;; | ||
12772 | esac | ||
12773 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12774 | (eval "$ac_link") 2>conftest.er1 | ||
12775 | ac_status=$? | ||
12776 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12777 | rm -f conftest.er1 | ||
12778 | cat conftest.err >&5 | ||
12779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12780 | (exit $ac_status); } && { | ||
12781 | test -z "$ac_c_werror_flag" || | ||
12782 | test ! -s conftest.err | ||
12783 | } && test -s conftest$ac_exeext && | ||
12784 | $as_test_x conftest$ac_exeext; then | ||
12785 | ac_cv_func_getspnam=yes | ||
8513 | else | 12786 | else |
8514 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getspnam in -lgen" >&5 | 12787 | echo "$as_me: failed program was:" >&5 |
8515 | $as_echo_n "checking for getspnam in -lgen... " >&6; } | 12788 | sed 's/^/| /' conftest.$ac_ext >&5 |
8516 | if ${ac_cv_lib_gen_getspnam+:} false; then : | 12789 | |
8517 | $as_echo_n "(cached) " >&6 | 12790 | ac_cv_func_getspnam=no |
12791 | fi | ||
12792 | |||
12793 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
12794 | conftest$ac_exeext conftest.$ac_ext | ||
12795 | fi | ||
12796 | { echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 | ||
12797 | echo "${ECHO_T}$ac_cv_func_getspnam" >&6; } | ||
12798 | if test $ac_cv_func_getspnam = yes; then | ||
12799 | : | ||
12800 | else | ||
12801 | { echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 | ||
12802 | echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6; } | ||
12803 | if test "${ac_cv_lib_gen_getspnam+set}" = set; then | ||
12804 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8518 | else | 12805 | else |
8519 | ac_check_lib_save_LIBS=$LIBS | 12806 | ac_check_lib_save_LIBS=$LIBS |
8520 | LIBS="-lgen $LIBS" | 12807 | LIBS="-lgen $LIBS" |
8521 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12808 | cat >conftest.$ac_ext <<_ACEOF |
12809 | /* confdefs.h. */ | ||
12810 | _ACEOF | ||
12811 | cat confdefs.h >>conftest.$ac_ext | ||
12812 | cat >>conftest.$ac_ext <<_ACEOF | ||
8522 | /* end confdefs.h. */ | 12813 | /* end confdefs.h. */ |
8523 | 12814 | ||
8524 | /* Override any GCC internal prototype to avoid an error. | 12815 | /* Override any GCC internal prototype to avoid an error. |
@@ -8536,30 +12827,55 @@ return getspnam (); | |||
8536 | return 0; | 12827 | return 0; |
8537 | } | 12828 | } |
8538 | _ACEOF | 12829 | _ACEOF |
8539 | if ac_fn_c_try_link "$LINENO"; then : | 12830 | rm -f conftest.$ac_objext conftest$ac_exeext |
12831 | if { (ac_try="$ac_link" | ||
12832 | case "(($ac_try" in | ||
12833 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12834 | *) ac_try_echo=$ac_try;; | ||
12835 | esac | ||
12836 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12837 | (eval "$ac_link") 2>conftest.er1 | ||
12838 | ac_status=$? | ||
12839 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12840 | rm -f conftest.er1 | ||
12841 | cat conftest.err >&5 | ||
12842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12843 | (exit $ac_status); } && { | ||
12844 | test -z "$ac_c_werror_flag" || | ||
12845 | test ! -s conftest.err | ||
12846 | } && test -s conftest$ac_exeext && | ||
12847 | $as_test_x conftest$ac_exeext; then | ||
8540 | ac_cv_lib_gen_getspnam=yes | 12848 | ac_cv_lib_gen_getspnam=yes |
8541 | else | 12849 | else |
8542 | ac_cv_lib_gen_getspnam=no | 12850 | echo "$as_me: failed program was:" >&5 |
12851 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12852 | |||
12853 | ac_cv_lib_gen_getspnam=no | ||
8543 | fi | 12854 | fi |
8544 | rm -f core conftest.err conftest.$ac_objext \ | 12855 | |
8545 | conftest$ac_exeext conftest.$ac_ext | 12856 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12857 | conftest$ac_exeext conftest.$ac_ext | ||
8546 | LIBS=$ac_check_lib_save_LIBS | 12858 | LIBS=$ac_check_lib_save_LIBS |
8547 | fi | 12859 | fi |
8548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gen_getspnam" >&5 | 12860 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 |
8549 | $as_echo "$ac_cv_lib_gen_getspnam" >&6; } | 12861 | echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6; } |
8550 | if test "x$ac_cv_lib_gen_getspnam" = xyes; then : | 12862 | if test $ac_cv_lib_gen_getspnam = yes; then |
8551 | LIBS="$LIBS -lgen" | 12863 | LIBS="$LIBS -lgen" |
8552 | fi | 12864 | fi |
8553 | 12865 | ||
8554 | fi | 12866 | fi |
8555 | 12867 | ||
8556 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing basename" >&5 | 12868 | { echo "$as_me:$LINENO: checking for library containing basename" >&5 |
8557 | $as_echo_n "checking for library containing basename... " >&6; } | 12869 | echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; } |
8558 | if ${ac_cv_search_basename+:} false; then : | 12870 | if test "${ac_cv_search_basename+set}" = set; then |
8559 | $as_echo_n "(cached) " >&6 | 12871 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8560 | else | 12872 | else |
8561 | ac_func_search_save_LIBS=$LIBS | 12873 | ac_func_search_save_LIBS=$LIBS |
8562 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12874 | cat >conftest.$ac_ext <<_ACEOF |
12875 | /* confdefs.h. */ | ||
12876 | _ACEOF | ||
12877 | cat confdefs.h >>conftest.$ac_ext | ||
12878 | cat >>conftest.$ac_ext <<_ACEOF | ||
8563 | /* end confdefs.h. */ | 12879 | /* end confdefs.h. */ |
8564 | 12880 | ||
8565 | /* Override any GCC internal prototype to avoid an error. | 12881 | /* Override any GCC internal prototype to avoid an error. |
@@ -8584,39 +12900,66 @@ for ac_lib in '' gen; do | |||
8584 | ac_res=-l$ac_lib | 12900 | ac_res=-l$ac_lib |
8585 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 12901 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
8586 | fi | 12902 | fi |
8587 | if ac_fn_c_try_link "$LINENO"; then : | 12903 | rm -f conftest.$ac_objext conftest$ac_exeext |
12904 | if { (ac_try="$ac_link" | ||
12905 | case "(($ac_try" in | ||
12906 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
12907 | *) ac_try_echo=$ac_try;; | ||
12908 | esac | ||
12909 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
12910 | (eval "$ac_link") 2>conftest.er1 | ||
12911 | ac_status=$? | ||
12912 | grep -v '^ *+' conftest.er1 >conftest.err | ||
12913 | rm -f conftest.er1 | ||
12914 | cat conftest.err >&5 | ||
12915 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
12916 | (exit $ac_status); } && { | ||
12917 | test -z "$ac_c_werror_flag" || | ||
12918 | test ! -s conftest.err | ||
12919 | } && test -s conftest$ac_exeext && | ||
12920 | $as_test_x conftest$ac_exeext; then | ||
8588 | ac_cv_search_basename=$ac_res | 12921 | ac_cv_search_basename=$ac_res |
12922 | else | ||
12923 | echo "$as_me: failed program was:" >&5 | ||
12924 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12925 | |||
12926 | |||
8589 | fi | 12927 | fi |
8590 | rm -f core conftest.err conftest.$ac_objext \ | 12928 | |
8591 | conftest$ac_exeext | 12929 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8592 | if ${ac_cv_search_basename+:} false; then : | 12930 | conftest$ac_exeext |
12931 | if test "${ac_cv_search_basename+set}" = set; then | ||
8593 | break | 12932 | break |
8594 | fi | 12933 | fi |
8595 | done | 12934 | done |
8596 | if ${ac_cv_search_basename+:} false; then : | 12935 | if test "${ac_cv_search_basename+set}" = set; then |
8597 | 12936 | : | |
8598 | else | 12937 | else |
8599 | ac_cv_search_basename=no | 12938 | ac_cv_search_basename=no |
8600 | fi | 12939 | fi |
8601 | rm conftest.$ac_ext | 12940 | rm conftest.$ac_ext |
8602 | LIBS=$ac_func_search_save_LIBS | 12941 | LIBS=$ac_func_search_save_LIBS |
8603 | fi | 12942 | fi |
8604 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_basename" >&5 | 12943 | { echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 |
8605 | $as_echo "$ac_cv_search_basename" >&6; } | 12944 | echo "${ECHO_T}$ac_cv_search_basename" >&6; } |
8606 | ac_res=$ac_cv_search_basename | 12945 | ac_res=$ac_cv_search_basename |
8607 | if test "$ac_res" != no; then : | 12946 | if test "$ac_res" != no; then |
8608 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 12947 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
8609 | 12948 | ||
8610 | $as_echo "#define HAVE_BASENAME 1" >>confdefs.h | 12949 | cat >>confdefs.h <<\_ACEOF |
12950 | #define HAVE_BASENAME 1 | ||
12951 | _ACEOF | ||
8611 | 12952 | ||
8612 | fi | 12953 | fi |
8613 | 12954 | ||
8614 | 12955 | ||
8615 | 12956 | ||
8616 | # Check whether --with-zlib was given. | 12957 | # Check whether --with-zlib was given. |
8617 | if test "${with_zlib+set}" = set; then : | 12958 | if test "${with_zlib+set}" = set; then |
8618 | withval=$with_zlib; if test "x$withval" = "xno" ; then | 12959 | withval=$with_zlib; if test "x$withval" = "xno" ; then |
8619 | as_fn_error $? "*** zlib is required ***" "$LINENO" 5 | 12960 | { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 |
12961 | echo "$as_me: error: *** zlib is required ***" >&2;} | ||
12962 | { (exit 1); exit 1; }; } | ||
8620 | elif test "x$withval" != "xyes"; then | 12963 | elif test "x$withval" != "xyes"; then |
8621 | if test -d "$withval/lib"; then | 12964 | if test -d "$withval/lib"; then |
8622 | if test -n "${need_dash_r}"; then | 12965 | if test -n "${need_dash_r}"; then |
@@ -8641,22 +12984,158 @@ if test "${with_zlib+set}" = set; then : | |||
8641 | fi | 12984 | fi |
8642 | 12985 | ||
8643 | 12986 | ||
8644 | ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" | 12987 | if test "${ac_cv_header_zlib_h+set}" = set; then |
8645 | if test "x$ac_cv_header_zlib_h" = xyes; then : | 12988 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 |
12989 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } | ||
12990 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
12991 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12992 | fi | ||
12993 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
12994 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } | ||
12995 | else | ||
12996 | # Is the header compilable? | ||
12997 | { echo "$as_me:$LINENO: checking zlib.h usability" >&5 | ||
12998 | echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; } | ||
12999 | cat >conftest.$ac_ext <<_ACEOF | ||
13000 | /* confdefs.h. */ | ||
13001 | _ACEOF | ||
13002 | cat confdefs.h >>conftest.$ac_ext | ||
13003 | cat >>conftest.$ac_ext <<_ACEOF | ||
13004 | /* end confdefs.h. */ | ||
13005 | $ac_includes_default | ||
13006 | #include <zlib.h> | ||
13007 | _ACEOF | ||
13008 | rm -f conftest.$ac_objext | ||
13009 | if { (ac_try="$ac_compile" | ||
13010 | case "(($ac_try" in | ||
13011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13012 | *) ac_try_echo=$ac_try;; | ||
13013 | esac | ||
13014 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13015 | (eval "$ac_compile") 2>conftest.er1 | ||
13016 | ac_status=$? | ||
13017 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13018 | rm -f conftest.er1 | ||
13019 | cat conftest.err >&5 | ||
13020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13021 | (exit $ac_status); } && { | ||
13022 | test -z "$ac_c_werror_flag" || | ||
13023 | test ! -s conftest.err | ||
13024 | } && test -s conftest.$ac_objext; then | ||
13025 | ac_header_compiler=yes | ||
13026 | else | ||
13027 | echo "$as_me: failed program was:" >&5 | ||
13028 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13029 | |||
13030 | ac_header_compiler=no | ||
13031 | fi | ||
13032 | |||
13033 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13034 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
13035 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
13036 | |||
13037 | # Is the header present? | ||
13038 | { echo "$as_me:$LINENO: checking zlib.h presence" >&5 | ||
13039 | echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; } | ||
13040 | cat >conftest.$ac_ext <<_ACEOF | ||
13041 | /* confdefs.h. */ | ||
13042 | _ACEOF | ||
13043 | cat confdefs.h >>conftest.$ac_ext | ||
13044 | cat >>conftest.$ac_ext <<_ACEOF | ||
13045 | /* end confdefs.h. */ | ||
13046 | #include <zlib.h> | ||
13047 | _ACEOF | ||
13048 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
13049 | case "(($ac_try" in | ||
13050 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13051 | *) ac_try_echo=$ac_try;; | ||
13052 | esac | ||
13053 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13054 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
13055 | ac_status=$? | ||
13056 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13057 | rm -f conftest.er1 | ||
13058 | cat conftest.err >&5 | ||
13059 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13060 | (exit $ac_status); } >/dev/null && { | ||
13061 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
13062 | test ! -s conftest.err | ||
13063 | }; then | ||
13064 | ac_header_preproc=yes | ||
13065 | else | ||
13066 | echo "$as_me: failed program was:" >&5 | ||
13067 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13068 | |||
13069 | ac_header_preproc=no | ||
13070 | fi | ||
13071 | |||
13072 | rm -f conftest.err conftest.$ac_ext | ||
13073 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
13074 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
8646 | 13075 | ||
13076 | # So? What about this header? | ||
13077 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
13078 | yes:no: ) | ||
13079 | { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
13080 | echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
13081 | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5 | ||
13082 | echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;} | ||
13083 | ac_header_preproc=yes | ||
13084 | ;; | ||
13085 | no:yes:* ) | ||
13086 | { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5 | ||
13087 | echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;} | ||
13088 | { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5 | ||
13089 | echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;} | ||
13090 | { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5 | ||
13091 | echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;} | ||
13092 | { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
13093 | echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
13094 | { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5 | ||
13095 | echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;} | ||
13096 | { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5 | ||
13097 | echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;} | ||
13098 | ( cat <<\_ASBOX | ||
13099 | ## ------------------------------------------- ## | ||
13100 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
13101 | ## ------------------------------------------- ## | ||
13102 | _ASBOX | ||
13103 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
13104 | ;; | ||
13105 | esac | ||
13106 | { echo "$as_me:$LINENO: checking for zlib.h" >&5 | ||
13107 | echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; } | ||
13108 | if test "${ac_cv_header_zlib_h+set}" = set; then | ||
13109 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8647 | else | 13110 | else |
8648 | as_fn_error $? "*** zlib.h missing - please install first or check config.log ***" "$LINENO" 5 | 13111 | ac_cv_header_zlib_h=$ac_header_preproc |
13112 | fi | ||
13113 | { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5 | ||
13114 | echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; } | ||
13115 | |||
13116 | fi | ||
13117 | if test $ac_cv_header_zlib_h = yes; then | ||
13118 | : | ||
13119 | else | ||
13120 | { { echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5 | ||
13121 | echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;} | ||
13122 | { (exit 1); exit 1; }; } | ||
8649 | fi | 13123 | fi |
8650 | 13124 | ||
8651 | 13125 | ||
8652 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 | 13126 | |
8653 | $as_echo_n "checking for deflate in -lz... " >&6; } | 13127 | { echo "$as_me:$LINENO: checking for deflate in -lz" >&5 |
8654 | if ${ac_cv_lib_z_deflate+:} false; then : | 13128 | echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; } |
8655 | $as_echo_n "(cached) " >&6 | 13129 | if test "${ac_cv_lib_z_deflate+set}" = set; then |
13130 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
8656 | else | 13131 | else |
8657 | ac_check_lib_save_LIBS=$LIBS | 13132 | ac_check_lib_save_LIBS=$LIBS |
8658 | LIBS="-lz $LIBS" | 13133 | LIBS="-lz $LIBS" |
8659 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13134 | cat >conftest.$ac_ext <<_ACEOF |
13135 | /* confdefs.h. */ | ||
13136 | _ACEOF | ||
13137 | cat confdefs.h >>conftest.$ac_ext | ||
13138 | cat >>conftest.$ac_ext <<_ACEOF | ||
8660 | /* end confdefs.h. */ | 13139 | /* end confdefs.h. */ |
8661 | 13140 | ||
8662 | /* Override any GCC internal prototype to avoid an error. | 13141 | /* Override any GCC internal prototype to avoid an error. |
@@ -8674,18 +13153,39 @@ return deflate (); | |||
8674 | return 0; | 13153 | return 0; |
8675 | } | 13154 | } |
8676 | _ACEOF | 13155 | _ACEOF |
8677 | if ac_fn_c_try_link "$LINENO"; then : | 13156 | rm -f conftest.$ac_objext conftest$ac_exeext |
13157 | if { (ac_try="$ac_link" | ||
13158 | case "(($ac_try" in | ||
13159 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13160 | *) ac_try_echo=$ac_try;; | ||
13161 | esac | ||
13162 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13163 | (eval "$ac_link") 2>conftest.er1 | ||
13164 | ac_status=$? | ||
13165 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13166 | rm -f conftest.er1 | ||
13167 | cat conftest.err >&5 | ||
13168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13169 | (exit $ac_status); } && { | ||
13170 | test -z "$ac_c_werror_flag" || | ||
13171 | test ! -s conftest.err | ||
13172 | } && test -s conftest$ac_exeext && | ||
13173 | $as_test_x conftest$ac_exeext; then | ||
8678 | ac_cv_lib_z_deflate=yes | 13174 | ac_cv_lib_z_deflate=yes |
8679 | else | 13175 | else |
8680 | ac_cv_lib_z_deflate=no | 13176 | echo "$as_me: failed program was:" >&5 |
13177 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13178 | |||
13179 | ac_cv_lib_z_deflate=no | ||
8681 | fi | 13180 | fi |
8682 | rm -f core conftest.err conftest.$ac_objext \ | 13181 | |
8683 | conftest$ac_exeext conftest.$ac_ext | 13182 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13183 | conftest$ac_exeext conftest.$ac_ext | ||
8684 | LIBS=$ac_check_lib_save_LIBS | 13184 | LIBS=$ac_check_lib_save_LIBS |
8685 | fi | 13185 | fi |
8686 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 | 13186 | { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 |
8687 | $as_echo "$ac_cv_lib_z_deflate" >&6; } | 13187 | echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } |
8688 | if test "x$ac_cv_lib_z_deflate" = xyes; then : | 13188 | if test $ac_cv_lib_z_deflate = yes; then |
8689 | cat >>confdefs.h <<_ACEOF | 13189 | cat >>confdefs.h <<_ACEOF |
8690 | #define HAVE_LIBZ 1 | 13190 | #define HAVE_LIBZ 1 |
8691 | _ACEOF | 13191 | _ACEOF |
@@ -8704,7 +13204,11 @@ else | |||
8704 | fi | 13204 | fi |
8705 | CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" | 13205 | CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" |
8706 | LIBS="$LIBS -lz" | 13206 | LIBS="$LIBS -lz" |
8707 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13207 | cat >conftest.$ac_ext <<_ACEOF |
13208 | /* confdefs.h. */ | ||
13209 | _ACEOF | ||
13210 | cat confdefs.h >>conftest.$ac_ext | ||
13211 | cat >>conftest.$ac_ext <<_ACEOF | ||
8708 | /* end confdefs.h. */ | 13212 | /* end confdefs.h. */ |
8709 | 13213 | ||
8710 | /* Override any GCC internal prototype to avoid an error. | 13214 | /* Override any GCC internal prototype to avoid an error. |
@@ -8722,17 +13226,42 @@ return deflate (); | |||
8722 | return 0; | 13226 | return 0; |
8723 | } | 13227 | } |
8724 | _ACEOF | 13228 | _ACEOF |
8725 | if ac_fn_c_try_link "$LINENO"; then : | 13229 | rm -f conftest.$ac_objext conftest$ac_exeext |
8726 | $as_echo "#define HAVE_LIBZ 1" >>confdefs.h | 13230 | if { (ac_try="$ac_link" |
13231 | case "(($ac_try" in | ||
13232 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13233 | *) ac_try_echo=$ac_try;; | ||
13234 | esac | ||
13235 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13236 | (eval "$ac_link") 2>conftest.er1 | ||
13237 | ac_status=$? | ||
13238 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13239 | rm -f conftest.er1 | ||
13240 | cat conftest.err >&5 | ||
13241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13242 | (exit $ac_status); } && { | ||
13243 | test -z "$ac_c_werror_flag" || | ||
13244 | test ! -s conftest.err | ||
13245 | } && test -s conftest$ac_exeext && | ||
13246 | $as_test_x conftest$ac_exeext; then | ||
13247 | cat >>confdefs.h <<\_ACEOF | ||
13248 | #define HAVE_LIBZ 1 | ||
13249 | _ACEOF | ||
8727 | 13250 | ||
8728 | else | 13251 | else |
13252 | echo "$as_me: failed program was:" >&5 | ||
13253 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13254 | |||
8729 | 13255 | ||
8730 | as_fn_error $? "*** zlib missing - please install first or check config.log ***" "$LINENO" 5 | 13256 | { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 |
13257 | echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} | ||
13258 | { (exit 1); exit 1; }; } | ||
8731 | 13259 | ||
8732 | 13260 | ||
8733 | fi | 13261 | fi |
8734 | rm -f core conftest.err conftest.$ac_objext \ | 13262 | |
8735 | conftest$ac_exeext conftest.$ac_ext | 13263 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13264 | conftest$ac_exeext conftest.$ac_ext | ||
8736 | 13265 | ||
8737 | 13266 | ||
8738 | fi | 13267 | fi |
@@ -8740,7 +13269,7 @@ fi | |||
8740 | 13269 | ||
8741 | 13270 | ||
8742 | # Check whether --with-zlib-version-check was given. | 13271 | # Check whether --with-zlib-version-check was given. |
8743 | if test "${with_zlib_version_check+set}" = set; then : | 13272 | if test "${with_zlib_version_check+set}" = set; then |
8744 | withval=$with_zlib_version_check; if test "x$withval" = "xno" ; then | 13273 | withval=$with_zlib_version_check; if test "x$withval" = "xno" ; then |
8745 | zlib_check_nonfatal=1 | 13274 | zlib_check_nonfatal=1 |
8746 | fi | 13275 | fi |
@@ -8749,14 +13278,18 @@ if test "${with_zlib_version_check+set}" = set; then : | |||
8749 | fi | 13278 | fi |
8750 | 13279 | ||
8751 | 13280 | ||
8752 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for possibly buggy zlib" >&5 | 13281 | { echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 |
8753 | $as_echo_n "checking for possibly buggy zlib... " >&6; } | 13282 | echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6; } |
8754 | if test "$cross_compiling" = yes; then : | 13283 | if test "$cross_compiling" = yes; then |
8755 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking zlib version" >&5 | 13284 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 |
8756 | $as_echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} | 13285 | echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} |
8757 | 13286 | ||
8758 | else | 13287 | else |
8759 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13288 | cat >conftest.$ac_ext <<_ACEOF |
13289 | /* confdefs.h. */ | ||
13290 | _ACEOF | ||
13291 | cat confdefs.h >>conftest.$ac_ext | ||
13292 | cat >>conftest.$ac_ext <<_ACEOF | ||
8760 | /* end confdefs.h. */ | 13293 | /* end confdefs.h. */ |
8761 | 13294 | ||
8762 | #include <stdio.h> | 13295 | #include <stdio.h> |
@@ -8788,43 +13321,159 @@ main () | |||
8788 | return 0; | 13321 | return 0; |
8789 | } | 13322 | } |
8790 | _ACEOF | 13323 | _ACEOF |
8791 | if ac_fn_c_try_run "$LINENO"; then : | 13324 | rm -f conftest$ac_exeext |
8792 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13325 | if { (ac_try="$ac_link" |
8793 | $as_echo "no" >&6; } | 13326 | case "(($ac_try" in |
13327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13328 | *) ac_try_echo=$ac_try;; | ||
13329 | esac | ||
13330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13331 | (eval "$ac_link") 2>&5 | ||
13332 | ac_status=$? | ||
13333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13334 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
13335 | { (case "(($ac_try" in | ||
13336 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13337 | *) ac_try_echo=$ac_try;; | ||
13338 | esac | ||
13339 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13340 | (eval "$ac_try") 2>&5 | ||
13341 | ac_status=$? | ||
13342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13343 | (exit $ac_status); }; }; then | ||
13344 | { echo "$as_me:$LINENO: result: no" >&5 | ||
13345 | echo "${ECHO_T}no" >&6; } | ||
8794 | else | 13346 | else |
8795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13347 | echo "$as_me: program exited with status $ac_status" >&5 |
8796 | $as_echo "yes" >&6; } | 13348 | echo "$as_me: failed program was:" >&5 |
13349 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13350 | |||
13351 | ( exit $ac_status ) | ||
13352 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
13353 | echo "${ECHO_T}yes" >&6; } | ||
8797 | if test -z "$zlib_check_nonfatal" ; then | 13354 | if test -z "$zlib_check_nonfatal" ; then |
8798 | as_fn_error $? "*** zlib too old - check config.log *** | 13355 | { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** |
8799 | Your reported zlib version has known security problems. It's possible your | 13356 | Your reported zlib version has known security problems. It's possible your |
8800 | vendor has fixed these problems without changing the version number. If you | 13357 | vendor has fixed these problems without changing the version number. If you |
8801 | are sure this is the case, you can disable the check by running | 13358 | are sure this is the case, you can disable the check by running |
8802 | \"./configure --without-zlib-version-check\". | 13359 | \"./configure --without-zlib-version-check\". |
8803 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. | 13360 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. |
8804 | See http://www.gzip.org/zlib/ for details." "$LINENO" 5 | 13361 | See http://www.gzip.org/zlib/ for details." >&5 |
13362 | echo "$as_me: error: *** zlib too old - check config.log *** | ||
13363 | Your reported zlib version has known security problems. It's possible your | ||
13364 | vendor has fixed these problems without changing the version number. If you | ||
13365 | are sure this is the case, you can disable the check by running | ||
13366 | \"./configure --without-zlib-version-check\". | ||
13367 | If you are in doubt, upgrade zlib to version 1.2.3 or greater. | ||
13368 | See http://www.gzip.org/zlib/ for details." >&2;} | ||
13369 | { (exit 1); exit 1; }; } | ||
8805 | else | 13370 | else |
8806 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib version may have security problems" >&5 | 13371 | { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5 |
8807 | $as_echo "$as_me: WARNING: zlib version may have security problems" >&2;} | 13372 | echo "$as_me: WARNING: zlib version may have security problems" >&2;} |
8808 | fi | 13373 | fi |
8809 | 13374 | ||
8810 | fi | 13375 | fi |
8811 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 13376 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8812 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
8813 | fi | 13377 | fi |
8814 | 13378 | ||
8815 | 13379 | ||
8816 | ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp" | ||
8817 | if test "x$ac_cv_func_strcasecmp" = xyes; then : | ||
8818 | 13380 | ||
13381 | { echo "$as_me:$LINENO: checking for strcasecmp" >&5 | ||
13382 | echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; } | ||
13383 | if test "${ac_cv_func_strcasecmp+set}" = set; then | ||
13384 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13385 | else | ||
13386 | cat >conftest.$ac_ext <<_ACEOF | ||
13387 | /* confdefs.h. */ | ||
13388 | _ACEOF | ||
13389 | cat confdefs.h >>conftest.$ac_ext | ||
13390 | cat >>conftest.$ac_ext <<_ACEOF | ||
13391 | /* end confdefs.h. */ | ||
13392 | /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp. | ||
13393 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
13394 | #define strcasecmp innocuous_strcasecmp | ||
13395 | |||
13396 | /* System header to define __stub macros and hopefully few prototypes, | ||
13397 | which can conflict with char strcasecmp (); below. | ||
13398 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
13399 | <limits.h> exists even on freestanding compilers. */ | ||
13400 | |||
13401 | #ifdef __STDC__ | ||
13402 | # include <limits.h> | ||
13403 | #else | ||
13404 | # include <assert.h> | ||
13405 | #endif | ||
13406 | |||
13407 | #undef strcasecmp | ||
13408 | |||
13409 | /* Override any GCC internal prototype to avoid an error. | ||
13410 | Use char because int might match the return type of a GCC | ||
13411 | builtin and then its argument prototype would still apply. */ | ||
13412 | #ifdef __cplusplus | ||
13413 | extern "C" | ||
13414 | #endif | ||
13415 | char strcasecmp (); | ||
13416 | /* The GNU C library defines this for functions which it implements | ||
13417 | to always fail with ENOSYS. Some functions are actually named | ||
13418 | something starting with __ and the normal name is an alias. */ | ||
13419 | #if defined __stub_strcasecmp || defined __stub___strcasecmp | ||
13420 | choke me | ||
13421 | #endif | ||
13422 | |||
13423 | int | ||
13424 | main () | ||
13425 | { | ||
13426 | return strcasecmp (); | ||
13427 | ; | ||
13428 | return 0; | ||
13429 | } | ||
13430 | _ACEOF | ||
13431 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
13432 | if { (ac_try="$ac_link" | ||
13433 | case "(($ac_try" in | ||
13434 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13435 | *) ac_try_echo=$ac_try;; | ||
13436 | esac | ||
13437 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13438 | (eval "$ac_link") 2>conftest.er1 | ||
13439 | ac_status=$? | ||
13440 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13441 | rm -f conftest.er1 | ||
13442 | cat conftest.err >&5 | ||
13443 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13444 | (exit $ac_status); } && { | ||
13445 | test -z "$ac_c_werror_flag" || | ||
13446 | test ! -s conftest.err | ||
13447 | } && test -s conftest$ac_exeext && | ||
13448 | $as_test_x conftest$ac_exeext; then | ||
13449 | ac_cv_func_strcasecmp=yes | ||
13450 | else | ||
13451 | echo "$as_me: failed program was:" >&5 | ||
13452 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13453 | |||
13454 | ac_cv_func_strcasecmp=no | ||
13455 | fi | ||
13456 | |||
13457 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13458 | conftest$ac_exeext conftest.$ac_ext | ||
13459 | fi | ||
13460 | { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 | ||
13461 | echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; } | ||
13462 | if test $ac_cv_func_strcasecmp = yes; then | ||
13463 | : | ||
8819 | else | 13464 | else |
8820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp in -lresolv" >&5 | 13465 | { echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 |
8821 | $as_echo_n "checking for strcasecmp in -lresolv... " >&6; } | 13466 | echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6; } |
8822 | if ${ac_cv_lib_resolv_strcasecmp+:} false; then : | 13467 | if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then |
8823 | $as_echo_n "(cached) " >&6 | 13468 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8824 | else | 13469 | else |
8825 | ac_check_lib_save_LIBS=$LIBS | 13470 | ac_check_lib_save_LIBS=$LIBS |
8826 | LIBS="-lresolv $LIBS" | 13471 | LIBS="-lresolv $LIBS" |
8827 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13472 | cat >conftest.$ac_ext <<_ACEOF |
13473 | /* confdefs.h. */ | ||
13474 | _ACEOF | ||
13475 | cat confdefs.h >>conftest.$ac_ext | ||
13476 | cat >>conftest.$ac_ext <<_ACEOF | ||
8828 | /* end confdefs.h. */ | 13477 | /* end confdefs.h. */ |
8829 | 13478 | ||
8830 | /* Override any GCC internal prototype to avoid an error. | 13479 | /* Override any GCC internal prototype to avoid an error. |
@@ -8842,41 +13491,149 @@ return strcasecmp (); | |||
8842 | return 0; | 13491 | return 0; |
8843 | } | 13492 | } |
8844 | _ACEOF | 13493 | _ACEOF |
8845 | if ac_fn_c_try_link "$LINENO"; then : | 13494 | rm -f conftest.$ac_objext conftest$ac_exeext |
13495 | if { (ac_try="$ac_link" | ||
13496 | case "(($ac_try" in | ||
13497 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13498 | *) ac_try_echo=$ac_try;; | ||
13499 | esac | ||
13500 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13501 | (eval "$ac_link") 2>conftest.er1 | ||
13502 | ac_status=$? | ||
13503 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13504 | rm -f conftest.er1 | ||
13505 | cat conftest.err >&5 | ||
13506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13507 | (exit $ac_status); } && { | ||
13508 | test -z "$ac_c_werror_flag" || | ||
13509 | test ! -s conftest.err | ||
13510 | } && test -s conftest$ac_exeext && | ||
13511 | $as_test_x conftest$ac_exeext; then | ||
8846 | ac_cv_lib_resolv_strcasecmp=yes | 13512 | ac_cv_lib_resolv_strcasecmp=yes |
8847 | else | 13513 | else |
8848 | ac_cv_lib_resolv_strcasecmp=no | 13514 | echo "$as_me: failed program was:" >&5 |
13515 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13516 | |||
13517 | ac_cv_lib_resolv_strcasecmp=no | ||
8849 | fi | 13518 | fi |
8850 | rm -f core conftest.err conftest.$ac_objext \ | 13519 | |
8851 | conftest$ac_exeext conftest.$ac_ext | 13520 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13521 | conftest$ac_exeext conftest.$ac_ext | ||
8852 | LIBS=$ac_check_lib_save_LIBS | 13522 | LIBS=$ac_check_lib_save_LIBS |
8853 | fi | 13523 | fi |
8854 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_strcasecmp" >&5 | 13524 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 |
8855 | $as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; } | 13525 | echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6; } |
8856 | if test "x$ac_cv_lib_resolv_strcasecmp" = xyes; then : | 13526 | if test $ac_cv_lib_resolv_strcasecmp = yes; then |
8857 | LIBS="$LIBS -lresolv" | 13527 | LIBS="$LIBS -lresolv" |
8858 | fi | 13528 | fi |
8859 | 13529 | ||
8860 | 13530 | ||
8861 | fi | 13531 | fi |
8862 | 13532 | ||
13533 | |||
8863 | for ac_func in utimes | 13534 | for ac_func in utimes |
8864 | do : | 13535 | do |
8865 | ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes" | 13536 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8866 | if test "x$ac_cv_func_utimes" = xyes; then : | 13537 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13538 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
13539 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
13540 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13541 | else | ||
13542 | cat >conftest.$ac_ext <<_ACEOF | ||
13543 | /* confdefs.h. */ | ||
13544 | _ACEOF | ||
13545 | cat confdefs.h >>conftest.$ac_ext | ||
13546 | cat >>conftest.$ac_ext <<_ACEOF | ||
13547 | /* end confdefs.h. */ | ||
13548 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
13549 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
13550 | #define $ac_func innocuous_$ac_func | ||
13551 | |||
13552 | /* System header to define __stub macros and hopefully few prototypes, | ||
13553 | which can conflict with char $ac_func (); below. | ||
13554 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
13555 | <limits.h> exists even on freestanding compilers. */ | ||
13556 | |||
13557 | #ifdef __STDC__ | ||
13558 | # include <limits.h> | ||
13559 | #else | ||
13560 | # include <assert.h> | ||
13561 | #endif | ||
13562 | |||
13563 | #undef $ac_func | ||
13564 | |||
13565 | /* Override any GCC internal prototype to avoid an error. | ||
13566 | Use char because int might match the return type of a GCC | ||
13567 | builtin and then its argument prototype would still apply. */ | ||
13568 | #ifdef __cplusplus | ||
13569 | extern "C" | ||
13570 | #endif | ||
13571 | char $ac_func (); | ||
13572 | /* The GNU C library defines this for functions which it implements | ||
13573 | to always fail with ENOSYS. Some functions are actually named | ||
13574 | something starting with __ and the normal name is an alias. */ | ||
13575 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
13576 | choke me | ||
13577 | #endif | ||
13578 | |||
13579 | int | ||
13580 | main () | ||
13581 | { | ||
13582 | return $ac_func (); | ||
13583 | ; | ||
13584 | return 0; | ||
13585 | } | ||
13586 | _ACEOF | ||
13587 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
13588 | if { (ac_try="$ac_link" | ||
13589 | case "(($ac_try" in | ||
13590 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13591 | *) ac_try_echo=$ac_try;; | ||
13592 | esac | ||
13593 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13594 | (eval "$ac_link") 2>conftest.er1 | ||
13595 | ac_status=$? | ||
13596 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13597 | rm -f conftest.er1 | ||
13598 | cat conftest.err >&5 | ||
13599 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13600 | (exit $ac_status); } && { | ||
13601 | test -z "$ac_c_werror_flag" || | ||
13602 | test ! -s conftest.err | ||
13603 | } && test -s conftest$ac_exeext && | ||
13604 | $as_test_x conftest$ac_exeext; then | ||
13605 | eval "$as_ac_var=yes" | ||
13606 | else | ||
13607 | echo "$as_me: failed program was:" >&5 | ||
13608 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13609 | |||
13610 | eval "$as_ac_var=no" | ||
13611 | fi | ||
13612 | |||
13613 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
13614 | conftest$ac_exeext conftest.$ac_ext | ||
13615 | fi | ||
13616 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
13617 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
13618 | echo "${ECHO_T}$ac_res" >&6; } | ||
13619 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
8867 | cat >>confdefs.h <<_ACEOF | 13620 | cat >>confdefs.h <<_ACEOF |
8868 | #define HAVE_UTIMES 1 | 13621 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8869 | _ACEOF | 13622 | _ACEOF |
8870 | 13623 | ||
8871 | else | 13624 | else |
8872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimes in -lc89" >&5 | 13625 | { echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 |
8873 | $as_echo_n "checking for utimes in -lc89... " >&6; } | 13626 | echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6; } |
8874 | if ${ac_cv_lib_c89_utimes+:} false; then : | 13627 | if test "${ac_cv_lib_c89_utimes+set}" = set; then |
8875 | $as_echo_n "(cached) " >&6 | 13628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8876 | else | 13629 | else |
8877 | ac_check_lib_save_LIBS=$LIBS | 13630 | ac_check_lib_save_LIBS=$LIBS |
8878 | LIBS="-lc89 $LIBS" | 13631 | LIBS="-lc89 $LIBS" |
8879 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13632 | cat >conftest.$ac_ext <<_ACEOF |
13633 | /* confdefs.h. */ | ||
13634 | _ACEOF | ||
13635 | cat confdefs.h >>conftest.$ac_ext | ||
13636 | cat >>conftest.$ac_ext <<_ACEOF | ||
8880 | /* end confdefs.h. */ | 13637 | /* end confdefs.h. */ |
8881 | 13638 | ||
8882 | /* Override any GCC internal prototype to avoid an error. | 13639 | /* Override any GCC internal prototype to avoid an error. |
@@ -8894,19 +13651,42 @@ return utimes (); | |||
8894 | return 0; | 13651 | return 0; |
8895 | } | 13652 | } |
8896 | _ACEOF | 13653 | _ACEOF |
8897 | if ac_fn_c_try_link "$LINENO"; then : | 13654 | rm -f conftest.$ac_objext conftest$ac_exeext |
13655 | if { (ac_try="$ac_link" | ||
13656 | case "(($ac_try" in | ||
13657 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13658 | *) ac_try_echo=$ac_try;; | ||
13659 | esac | ||
13660 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13661 | (eval "$ac_link") 2>conftest.er1 | ||
13662 | ac_status=$? | ||
13663 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13664 | rm -f conftest.er1 | ||
13665 | cat conftest.err >&5 | ||
13666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13667 | (exit $ac_status); } && { | ||
13668 | test -z "$ac_c_werror_flag" || | ||
13669 | test ! -s conftest.err | ||
13670 | } && test -s conftest$ac_exeext && | ||
13671 | $as_test_x conftest$ac_exeext; then | ||
8898 | ac_cv_lib_c89_utimes=yes | 13672 | ac_cv_lib_c89_utimes=yes |
8899 | else | 13673 | else |
8900 | ac_cv_lib_c89_utimes=no | 13674 | echo "$as_me: failed program was:" >&5 |
13675 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13676 | |||
13677 | ac_cv_lib_c89_utimes=no | ||
8901 | fi | 13678 | fi |
8902 | rm -f core conftest.err conftest.$ac_objext \ | 13679 | |
8903 | conftest$ac_exeext conftest.$ac_ext | 13680 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13681 | conftest$ac_exeext conftest.$ac_ext | ||
8904 | LIBS=$ac_check_lib_save_LIBS | 13682 | LIBS=$ac_check_lib_save_LIBS |
8905 | fi | 13683 | fi |
8906 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c89_utimes" >&5 | 13684 | { echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 |
8907 | $as_echo "$ac_cv_lib_c89_utimes" >&6; } | 13685 | echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6; } |
8908 | if test "x$ac_cv_lib_c89_utimes" = xyes; then : | 13686 | if test $ac_cv_lib_c89_utimes = yes; then |
8909 | $as_echo "#define HAVE_UTIMES 1" >>confdefs.h | 13687 | cat >>confdefs.h <<\_ACEOF |
13688 | #define HAVE_UTIMES 1 | ||
13689 | _ACEOF | ||
8910 | 13690 | ||
8911 | LIBS="$LIBS -lc89" | 13691 | LIBS="$LIBS -lc89" |
8912 | fi | 13692 | fi |
@@ -8916,26 +13696,163 @@ fi | |||
8916 | done | 13696 | done |
8917 | 13697 | ||
8918 | 13698 | ||
13699 | |||
13700 | |||
8919 | for ac_header in bsd/libutil.h libutil.h | 13701 | for ac_header in bsd/libutil.h libutil.h |
8920 | do : | 13702 | do |
8921 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 13703 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8922 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 13704 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8923 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 13705 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
13706 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
13707 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
13708 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13709 | fi | ||
13710 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
13711 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
13712 | echo "${ECHO_T}$ac_res" >&6; } | ||
13713 | else | ||
13714 | # Is the header compilable? | ||
13715 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
13716 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
13717 | cat >conftest.$ac_ext <<_ACEOF | ||
13718 | /* confdefs.h. */ | ||
13719 | _ACEOF | ||
13720 | cat confdefs.h >>conftest.$ac_ext | ||
13721 | cat >>conftest.$ac_ext <<_ACEOF | ||
13722 | /* end confdefs.h. */ | ||
13723 | $ac_includes_default | ||
13724 | #include <$ac_header> | ||
13725 | _ACEOF | ||
13726 | rm -f conftest.$ac_objext | ||
13727 | if { (ac_try="$ac_compile" | ||
13728 | case "(($ac_try" in | ||
13729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13730 | *) ac_try_echo=$ac_try;; | ||
13731 | esac | ||
13732 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13733 | (eval "$ac_compile") 2>conftest.er1 | ||
13734 | ac_status=$? | ||
13735 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13736 | rm -f conftest.er1 | ||
13737 | cat conftest.err >&5 | ||
13738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13739 | (exit $ac_status); } && { | ||
13740 | test -z "$ac_c_werror_flag" || | ||
13741 | test ! -s conftest.err | ||
13742 | } && test -s conftest.$ac_objext; then | ||
13743 | ac_header_compiler=yes | ||
13744 | else | ||
13745 | echo "$as_me: failed program was:" >&5 | ||
13746 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13747 | |||
13748 | ac_header_compiler=no | ||
13749 | fi | ||
13750 | |||
13751 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
13752 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
13753 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
13754 | |||
13755 | # Is the header present? | ||
13756 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
13757 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
13758 | cat >conftest.$ac_ext <<_ACEOF | ||
13759 | /* confdefs.h. */ | ||
13760 | _ACEOF | ||
13761 | cat confdefs.h >>conftest.$ac_ext | ||
13762 | cat >>conftest.$ac_ext <<_ACEOF | ||
13763 | /* end confdefs.h. */ | ||
13764 | #include <$ac_header> | ||
13765 | _ACEOF | ||
13766 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
13767 | case "(($ac_try" in | ||
13768 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13769 | *) ac_try_echo=$ac_try;; | ||
13770 | esac | ||
13771 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13772 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
13773 | ac_status=$? | ||
13774 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13775 | rm -f conftest.er1 | ||
13776 | cat conftest.err >&5 | ||
13777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13778 | (exit $ac_status); } >/dev/null && { | ||
13779 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
13780 | test ! -s conftest.err | ||
13781 | }; then | ||
13782 | ac_header_preproc=yes | ||
13783 | else | ||
13784 | echo "$as_me: failed program was:" >&5 | ||
13785 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13786 | |||
13787 | ac_header_preproc=no | ||
13788 | fi | ||
13789 | |||
13790 | rm -f conftest.err conftest.$ac_ext | ||
13791 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
13792 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
13793 | |||
13794 | # So? What about this header? | ||
13795 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
13796 | yes:no: ) | ||
13797 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
13798 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
13799 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
13800 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
13801 | ac_header_preproc=yes | ||
13802 | ;; | ||
13803 | no:yes:* ) | ||
13804 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
13805 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
13806 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
13807 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
13808 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
13809 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
13810 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
13811 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
13812 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
13813 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
13814 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
13815 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
13816 | ( cat <<\_ASBOX | ||
13817 | ## ------------------------------------------- ## | ||
13818 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
13819 | ## ------------------------------------------- ## | ||
13820 | _ASBOX | ||
13821 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
13822 | ;; | ||
13823 | esac | ||
13824 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
13825 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
13826 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
13827 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
13828 | else | ||
13829 | eval "$as_ac_Header=\$ac_header_preproc" | ||
13830 | fi | ||
13831 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
13832 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
13833 | echo "${ECHO_T}$ac_res" >&6; } | ||
13834 | |||
13835 | fi | ||
13836 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
8924 | cat >>confdefs.h <<_ACEOF | 13837 | cat >>confdefs.h <<_ACEOF |
8925 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 13838 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
8926 | _ACEOF | 13839 | _ACEOF |
8927 | 13840 | ||
8928 | fi | 13841 | fi |
8929 | 13842 | ||
8930 | done | 13843 | done |
8931 | 13844 | ||
8932 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmt_scaled" >&5 | 13845 | { echo "$as_me:$LINENO: checking for library containing fmt_scaled" >&5 |
8933 | $as_echo_n "checking for library containing fmt_scaled... " >&6; } | 13846 | echo $ECHO_N "checking for library containing fmt_scaled... $ECHO_C" >&6; } |
8934 | if ${ac_cv_search_fmt_scaled+:} false; then : | 13847 | if test "${ac_cv_search_fmt_scaled+set}" = set; then |
8935 | $as_echo_n "(cached) " >&6 | 13848 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8936 | else | 13849 | else |
8937 | ac_func_search_save_LIBS=$LIBS | 13850 | ac_func_search_save_LIBS=$LIBS |
8938 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13851 | cat >conftest.$ac_ext <<_ACEOF |
13852 | /* confdefs.h. */ | ||
13853 | _ACEOF | ||
13854 | cat confdefs.h >>conftest.$ac_ext | ||
13855 | cat >>conftest.$ac_ext <<_ACEOF | ||
8939 | /* end confdefs.h. */ | 13856 | /* end confdefs.h. */ |
8940 | 13857 | ||
8941 | /* Override any GCC internal prototype to avoid an error. | 13858 | /* Override any GCC internal prototype to avoid an error. |
@@ -8960,38 +13877,65 @@ for ac_lib in '' util bsd; do | |||
8960 | ac_res=-l$ac_lib | 13877 | ac_res=-l$ac_lib |
8961 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 13878 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
8962 | fi | 13879 | fi |
8963 | if ac_fn_c_try_link "$LINENO"; then : | 13880 | rm -f conftest.$ac_objext conftest$ac_exeext |
13881 | if { (ac_try="$ac_link" | ||
13882 | case "(($ac_try" in | ||
13883 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13884 | *) ac_try_echo=$ac_try;; | ||
13885 | esac | ||
13886 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13887 | (eval "$ac_link") 2>conftest.er1 | ||
13888 | ac_status=$? | ||
13889 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13890 | rm -f conftest.er1 | ||
13891 | cat conftest.err >&5 | ||
13892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13893 | (exit $ac_status); } && { | ||
13894 | test -z "$ac_c_werror_flag" || | ||
13895 | test ! -s conftest.err | ||
13896 | } && test -s conftest$ac_exeext && | ||
13897 | $as_test_x conftest$ac_exeext; then | ||
8964 | ac_cv_search_fmt_scaled=$ac_res | 13898 | ac_cv_search_fmt_scaled=$ac_res |
13899 | else | ||
13900 | echo "$as_me: failed program was:" >&5 | ||
13901 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13902 | |||
13903 | |||
8965 | fi | 13904 | fi |
8966 | rm -f core conftest.err conftest.$ac_objext \ | 13905 | |
8967 | conftest$ac_exeext | 13906 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8968 | if ${ac_cv_search_fmt_scaled+:} false; then : | 13907 | conftest$ac_exeext |
13908 | if test "${ac_cv_search_fmt_scaled+set}" = set; then | ||
8969 | break | 13909 | break |
8970 | fi | 13910 | fi |
8971 | done | 13911 | done |
8972 | if ${ac_cv_search_fmt_scaled+:} false; then : | 13912 | if test "${ac_cv_search_fmt_scaled+set}" = set; then |
8973 | 13913 | : | |
8974 | else | 13914 | else |
8975 | ac_cv_search_fmt_scaled=no | 13915 | ac_cv_search_fmt_scaled=no |
8976 | fi | 13916 | fi |
8977 | rm conftest.$ac_ext | 13917 | rm conftest.$ac_ext |
8978 | LIBS=$ac_func_search_save_LIBS | 13918 | LIBS=$ac_func_search_save_LIBS |
8979 | fi | 13919 | fi |
8980 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmt_scaled" >&5 | 13920 | { echo "$as_me:$LINENO: result: $ac_cv_search_fmt_scaled" >&5 |
8981 | $as_echo "$ac_cv_search_fmt_scaled" >&6; } | 13921 | echo "${ECHO_T}$ac_cv_search_fmt_scaled" >&6; } |
8982 | ac_res=$ac_cv_search_fmt_scaled | 13922 | ac_res=$ac_cv_search_fmt_scaled |
8983 | if test "$ac_res" != no; then : | 13923 | if test "$ac_res" != no; then |
8984 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 13924 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
8985 | 13925 | ||
8986 | fi | 13926 | fi |
8987 | 13927 | ||
8988 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing scan_scaled" >&5 | 13928 | { echo "$as_me:$LINENO: checking for library containing scan_scaled" >&5 |
8989 | $as_echo_n "checking for library containing scan_scaled... " >&6; } | 13929 | echo $ECHO_N "checking for library containing scan_scaled... $ECHO_C" >&6; } |
8990 | if ${ac_cv_search_scan_scaled+:} false; then : | 13930 | if test "${ac_cv_search_scan_scaled+set}" = set; then |
8991 | $as_echo_n "(cached) " >&6 | 13931 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8992 | else | 13932 | else |
8993 | ac_func_search_save_LIBS=$LIBS | 13933 | ac_func_search_save_LIBS=$LIBS |
8994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13934 | cat >conftest.$ac_ext <<_ACEOF |
13935 | /* confdefs.h. */ | ||
13936 | _ACEOF | ||
13937 | cat confdefs.h >>conftest.$ac_ext | ||
13938 | cat >>conftest.$ac_ext <<_ACEOF | ||
8995 | /* end confdefs.h. */ | 13939 | /* end confdefs.h. */ |
8996 | 13940 | ||
8997 | /* Override any GCC internal prototype to avoid an error. | 13941 | /* Override any GCC internal prototype to avoid an error. |
@@ -9016,38 +13960,65 @@ for ac_lib in '' util bsd; do | |||
9016 | ac_res=-l$ac_lib | 13960 | ac_res=-l$ac_lib |
9017 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 13961 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9018 | fi | 13962 | fi |
9019 | if ac_fn_c_try_link "$LINENO"; then : | 13963 | rm -f conftest.$ac_objext conftest$ac_exeext |
13964 | if { (ac_try="$ac_link" | ||
13965 | case "(($ac_try" in | ||
13966 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
13967 | *) ac_try_echo=$ac_try;; | ||
13968 | esac | ||
13969 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
13970 | (eval "$ac_link") 2>conftest.er1 | ||
13971 | ac_status=$? | ||
13972 | grep -v '^ *+' conftest.er1 >conftest.err | ||
13973 | rm -f conftest.er1 | ||
13974 | cat conftest.err >&5 | ||
13975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
13976 | (exit $ac_status); } && { | ||
13977 | test -z "$ac_c_werror_flag" || | ||
13978 | test ! -s conftest.err | ||
13979 | } && test -s conftest$ac_exeext && | ||
13980 | $as_test_x conftest$ac_exeext; then | ||
9020 | ac_cv_search_scan_scaled=$ac_res | 13981 | ac_cv_search_scan_scaled=$ac_res |
13982 | else | ||
13983 | echo "$as_me: failed program was:" >&5 | ||
13984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13985 | |||
13986 | |||
9021 | fi | 13987 | fi |
9022 | rm -f core conftest.err conftest.$ac_objext \ | 13988 | |
9023 | conftest$ac_exeext | 13989 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9024 | if ${ac_cv_search_scan_scaled+:} false; then : | 13990 | conftest$ac_exeext |
13991 | if test "${ac_cv_search_scan_scaled+set}" = set; then | ||
9025 | break | 13992 | break |
9026 | fi | 13993 | fi |
9027 | done | 13994 | done |
9028 | if ${ac_cv_search_scan_scaled+:} false; then : | 13995 | if test "${ac_cv_search_scan_scaled+set}" = set; then |
9029 | 13996 | : | |
9030 | else | 13997 | else |
9031 | ac_cv_search_scan_scaled=no | 13998 | ac_cv_search_scan_scaled=no |
9032 | fi | 13999 | fi |
9033 | rm conftest.$ac_ext | 14000 | rm conftest.$ac_ext |
9034 | LIBS=$ac_func_search_save_LIBS | 14001 | LIBS=$ac_func_search_save_LIBS |
9035 | fi | 14002 | fi |
9036 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_scan_scaled" >&5 | 14003 | { echo "$as_me:$LINENO: result: $ac_cv_search_scan_scaled" >&5 |
9037 | $as_echo "$ac_cv_search_scan_scaled" >&6; } | 14004 | echo "${ECHO_T}$ac_cv_search_scan_scaled" >&6; } |
9038 | ac_res=$ac_cv_search_scan_scaled | 14005 | ac_res=$ac_cv_search_scan_scaled |
9039 | if test "$ac_res" != no; then : | 14006 | if test "$ac_res" != no; then |
9040 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14007 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9041 | 14008 | ||
9042 | fi | 14009 | fi |
9043 | 14010 | ||
9044 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing login" >&5 | 14011 | { echo "$as_me:$LINENO: checking for library containing login" >&5 |
9045 | $as_echo_n "checking for library containing login... " >&6; } | 14012 | echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; } |
9046 | if ${ac_cv_search_login+:} false; then : | 14013 | if test "${ac_cv_search_login+set}" = set; then |
9047 | $as_echo_n "(cached) " >&6 | 14014 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9048 | else | 14015 | else |
9049 | ac_func_search_save_LIBS=$LIBS | 14016 | ac_func_search_save_LIBS=$LIBS |
9050 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14017 | cat >conftest.$ac_ext <<_ACEOF |
14018 | /* confdefs.h. */ | ||
14019 | _ACEOF | ||
14020 | cat confdefs.h >>conftest.$ac_ext | ||
14021 | cat >>conftest.$ac_ext <<_ACEOF | ||
9051 | /* end confdefs.h. */ | 14022 | /* end confdefs.h. */ |
9052 | 14023 | ||
9053 | /* Override any GCC internal prototype to avoid an error. | 14024 | /* Override any GCC internal prototype to avoid an error. |
@@ -9072,38 +14043,65 @@ for ac_lib in '' util bsd; do | |||
9072 | ac_res=-l$ac_lib | 14043 | ac_res=-l$ac_lib |
9073 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 14044 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9074 | fi | 14045 | fi |
9075 | if ac_fn_c_try_link "$LINENO"; then : | 14046 | rm -f conftest.$ac_objext conftest$ac_exeext |
14047 | if { (ac_try="$ac_link" | ||
14048 | case "(($ac_try" in | ||
14049 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14050 | *) ac_try_echo=$ac_try;; | ||
14051 | esac | ||
14052 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14053 | (eval "$ac_link") 2>conftest.er1 | ||
14054 | ac_status=$? | ||
14055 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14056 | rm -f conftest.er1 | ||
14057 | cat conftest.err >&5 | ||
14058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14059 | (exit $ac_status); } && { | ||
14060 | test -z "$ac_c_werror_flag" || | ||
14061 | test ! -s conftest.err | ||
14062 | } && test -s conftest$ac_exeext && | ||
14063 | $as_test_x conftest$ac_exeext; then | ||
9076 | ac_cv_search_login=$ac_res | 14064 | ac_cv_search_login=$ac_res |
14065 | else | ||
14066 | echo "$as_me: failed program was:" >&5 | ||
14067 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14068 | |||
14069 | |||
9077 | fi | 14070 | fi |
9078 | rm -f core conftest.err conftest.$ac_objext \ | 14071 | |
9079 | conftest$ac_exeext | 14072 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9080 | if ${ac_cv_search_login+:} false; then : | 14073 | conftest$ac_exeext |
14074 | if test "${ac_cv_search_login+set}" = set; then | ||
9081 | break | 14075 | break |
9082 | fi | 14076 | fi |
9083 | done | 14077 | done |
9084 | if ${ac_cv_search_login+:} false; then : | 14078 | if test "${ac_cv_search_login+set}" = set; then |
9085 | 14079 | : | |
9086 | else | 14080 | else |
9087 | ac_cv_search_login=no | 14081 | ac_cv_search_login=no |
9088 | fi | 14082 | fi |
9089 | rm conftest.$ac_ext | 14083 | rm conftest.$ac_ext |
9090 | LIBS=$ac_func_search_save_LIBS | 14084 | LIBS=$ac_func_search_save_LIBS |
9091 | fi | 14085 | fi |
9092 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login" >&5 | 14086 | { echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 |
9093 | $as_echo "$ac_cv_search_login" >&6; } | 14087 | echo "${ECHO_T}$ac_cv_search_login" >&6; } |
9094 | ac_res=$ac_cv_search_login | 14088 | ac_res=$ac_cv_search_login |
9095 | if test "$ac_res" != no; then : | 14089 | if test "$ac_res" != no; then |
9096 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14090 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9097 | 14091 | ||
9098 | fi | 14092 | fi |
9099 | 14093 | ||
9100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing logout" >&5 | 14094 | { echo "$as_me:$LINENO: checking for library containing logout" >&5 |
9101 | $as_echo_n "checking for library containing logout... " >&6; } | 14095 | echo $ECHO_N "checking for library containing logout... $ECHO_C" >&6; } |
9102 | if ${ac_cv_search_logout+:} false; then : | 14096 | if test "${ac_cv_search_logout+set}" = set; then |
9103 | $as_echo_n "(cached) " >&6 | 14097 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9104 | else | 14098 | else |
9105 | ac_func_search_save_LIBS=$LIBS | 14099 | ac_func_search_save_LIBS=$LIBS |
9106 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14100 | cat >conftest.$ac_ext <<_ACEOF |
14101 | /* confdefs.h. */ | ||
14102 | _ACEOF | ||
14103 | cat confdefs.h >>conftest.$ac_ext | ||
14104 | cat >>conftest.$ac_ext <<_ACEOF | ||
9107 | /* end confdefs.h. */ | 14105 | /* end confdefs.h. */ |
9108 | 14106 | ||
9109 | /* Override any GCC internal prototype to avoid an error. | 14107 | /* Override any GCC internal prototype to avoid an error. |
@@ -9128,38 +14126,65 @@ for ac_lib in '' util bsd; do | |||
9128 | ac_res=-l$ac_lib | 14126 | ac_res=-l$ac_lib |
9129 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 14127 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9130 | fi | 14128 | fi |
9131 | if ac_fn_c_try_link "$LINENO"; then : | 14129 | rm -f conftest.$ac_objext conftest$ac_exeext |
14130 | if { (ac_try="$ac_link" | ||
14131 | case "(($ac_try" in | ||
14132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14133 | *) ac_try_echo=$ac_try;; | ||
14134 | esac | ||
14135 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14136 | (eval "$ac_link") 2>conftest.er1 | ||
14137 | ac_status=$? | ||
14138 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14139 | rm -f conftest.er1 | ||
14140 | cat conftest.err >&5 | ||
14141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14142 | (exit $ac_status); } && { | ||
14143 | test -z "$ac_c_werror_flag" || | ||
14144 | test ! -s conftest.err | ||
14145 | } && test -s conftest$ac_exeext && | ||
14146 | $as_test_x conftest$ac_exeext; then | ||
9132 | ac_cv_search_logout=$ac_res | 14147 | ac_cv_search_logout=$ac_res |
14148 | else | ||
14149 | echo "$as_me: failed program was:" >&5 | ||
14150 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14151 | |||
14152 | |||
9133 | fi | 14153 | fi |
9134 | rm -f core conftest.err conftest.$ac_objext \ | 14154 | |
9135 | conftest$ac_exeext | 14155 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9136 | if ${ac_cv_search_logout+:} false; then : | 14156 | conftest$ac_exeext |
14157 | if test "${ac_cv_search_logout+set}" = set; then | ||
9137 | break | 14158 | break |
9138 | fi | 14159 | fi |
9139 | done | 14160 | done |
9140 | if ${ac_cv_search_logout+:} false; then : | 14161 | if test "${ac_cv_search_logout+set}" = set; then |
9141 | 14162 | : | |
9142 | else | 14163 | else |
9143 | ac_cv_search_logout=no | 14164 | ac_cv_search_logout=no |
9144 | fi | 14165 | fi |
9145 | rm conftest.$ac_ext | 14166 | rm conftest.$ac_ext |
9146 | LIBS=$ac_func_search_save_LIBS | 14167 | LIBS=$ac_func_search_save_LIBS |
9147 | fi | 14168 | fi |
9148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_logout" >&5 | 14169 | { echo "$as_me:$LINENO: result: $ac_cv_search_logout" >&5 |
9149 | $as_echo "$ac_cv_search_logout" >&6; } | 14170 | echo "${ECHO_T}$ac_cv_search_logout" >&6; } |
9150 | ac_res=$ac_cv_search_logout | 14171 | ac_res=$ac_cv_search_logout |
9151 | if test "$ac_res" != no; then : | 14172 | if test "$ac_res" != no; then |
9152 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14173 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9153 | 14174 | ||
9154 | fi | 14175 | fi |
9155 | 14176 | ||
9156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing logwtmp" >&5 | 14177 | { echo "$as_me:$LINENO: checking for library containing logwtmp" >&5 |
9157 | $as_echo_n "checking for library containing logwtmp... " >&6; } | 14178 | echo $ECHO_N "checking for library containing logwtmp... $ECHO_C" >&6; } |
9158 | if ${ac_cv_search_logwtmp+:} false; then : | 14179 | if test "${ac_cv_search_logwtmp+set}" = set; then |
9159 | $as_echo_n "(cached) " >&6 | 14180 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9160 | else | 14181 | else |
9161 | ac_func_search_save_LIBS=$LIBS | 14182 | ac_func_search_save_LIBS=$LIBS |
9162 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14183 | cat >conftest.$ac_ext <<_ACEOF |
14184 | /* confdefs.h. */ | ||
14185 | _ACEOF | ||
14186 | cat confdefs.h >>conftest.$ac_ext | ||
14187 | cat >>conftest.$ac_ext <<_ACEOF | ||
9163 | /* end confdefs.h. */ | 14188 | /* end confdefs.h. */ |
9164 | 14189 | ||
9165 | /* Override any GCC internal prototype to avoid an error. | 14190 | /* Override any GCC internal prototype to avoid an error. |
@@ -9184,38 +14209,65 @@ for ac_lib in '' util bsd; do | |||
9184 | ac_res=-l$ac_lib | 14209 | ac_res=-l$ac_lib |
9185 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 14210 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9186 | fi | 14211 | fi |
9187 | if ac_fn_c_try_link "$LINENO"; then : | 14212 | rm -f conftest.$ac_objext conftest$ac_exeext |
14213 | if { (ac_try="$ac_link" | ||
14214 | case "(($ac_try" in | ||
14215 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14216 | *) ac_try_echo=$ac_try;; | ||
14217 | esac | ||
14218 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14219 | (eval "$ac_link") 2>conftest.er1 | ||
14220 | ac_status=$? | ||
14221 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14222 | rm -f conftest.er1 | ||
14223 | cat conftest.err >&5 | ||
14224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14225 | (exit $ac_status); } && { | ||
14226 | test -z "$ac_c_werror_flag" || | ||
14227 | test ! -s conftest.err | ||
14228 | } && test -s conftest$ac_exeext && | ||
14229 | $as_test_x conftest$ac_exeext; then | ||
9188 | ac_cv_search_logwtmp=$ac_res | 14230 | ac_cv_search_logwtmp=$ac_res |
14231 | else | ||
14232 | echo "$as_me: failed program was:" >&5 | ||
14233 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14234 | |||
14235 | |||
9189 | fi | 14236 | fi |
9190 | rm -f core conftest.err conftest.$ac_objext \ | 14237 | |
9191 | conftest$ac_exeext | 14238 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9192 | if ${ac_cv_search_logwtmp+:} false; then : | 14239 | conftest$ac_exeext |
14240 | if test "${ac_cv_search_logwtmp+set}" = set; then | ||
9193 | break | 14241 | break |
9194 | fi | 14242 | fi |
9195 | done | 14243 | done |
9196 | if ${ac_cv_search_logwtmp+:} false; then : | 14244 | if test "${ac_cv_search_logwtmp+set}" = set; then |
9197 | 14245 | : | |
9198 | else | 14246 | else |
9199 | ac_cv_search_logwtmp=no | 14247 | ac_cv_search_logwtmp=no |
9200 | fi | 14248 | fi |
9201 | rm conftest.$ac_ext | 14249 | rm conftest.$ac_ext |
9202 | LIBS=$ac_func_search_save_LIBS | 14250 | LIBS=$ac_func_search_save_LIBS |
9203 | fi | 14251 | fi |
9204 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_logwtmp" >&5 | 14252 | { echo "$as_me:$LINENO: result: $ac_cv_search_logwtmp" >&5 |
9205 | $as_echo "$ac_cv_search_logwtmp" >&6; } | 14253 | echo "${ECHO_T}$ac_cv_search_logwtmp" >&6; } |
9206 | ac_res=$ac_cv_search_logwtmp | 14254 | ac_res=$ac_cv_search_logwtmp |
9207 | if test "$ac_res" != no; then : | 14255 | if test "$ac_res" != no; then |
9208 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14256 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9209 | 14257 | ||
9210 | fi | 14258 | fi |
9211 | 14259 | ||
9212 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing openpty" >&5 | 14260 | { echo "$as_me:$LINENO: checking for library containing openpty" >&5 |
9213 | $as_echo_n "checking for library containing openpty... " >&6; } | 14261 | echo $ECHO_N "checking for library containing openpty... $ECHO_C" >&6; } |
9214 | if ${ac_cv_search_openpty+:} false; then : | 14262 | if test "${ac_cv_search_openpty+set}" = set; then |
9215 | $as_echo_n "(cached) " >&6 | 14263 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9216 | else | 14264 | else |
9217 | ac_func_search_save_LIBS=$LIBS | 14265 | ac_func_search_save_LIBS=$LIBS |
9218 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14266 | cat >conftest.$ac_ext <<_ACEOF |
14267 | /* confdefs.h. */ | ||
14268 | _ACEOF | ||
14269 | cat confdefs.h >>conftest.$ac_ext | ||
14270 | cat >>conftest.$ac_ext <<_ACEOF | ||
9219 | /* end confdefs.h. */ | 14271 | /* end confdefs.h. */ |
9220 | 14272 | ||
9221 | /* Override any GCC internal prototype to avoid an error. | 14273 | /* Override any GCC internal prototype to avoid an error. |
@@ -9240,38 +14292,65 @@ for ac_lib in '' util bsd; do | |||
9240 | ac_res=-l$ac_lib | 14292 | ac_res=-l$ac_lib |
9241 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 14293 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9242 | fi | 14294 | fi |
9243 | if ac_fn_c_try_link "$LINENO"; then : | 14295 | rm -f conftest.$ac_objext conftest$ac_exeext |
14296 | if { (ac_try="$ac_link" | ||
14297 | case "(($ac_try" in | ||
14298 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14299 | *) ac_try_echo=$ac_try;; | ||
14300 | esac | ||
14301 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14302 | (eval "$ac_link") 2>conftest.er1 | ||
14303 | ac_status=$? | ||
14304 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14305 | rm -f conftest.er1 | ||
14306 | cat conftest.err >&5 | ||
14307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14308 | (exit $ac_status); } && { | ||
14309 | test -z "$ac_c_werror_flag" || | ||
14310 | test ! -s conftest.err | ||
14311 | } && test -s conftest$ac_exeext && | ||
14312 | $as_test_x conftest$ac_exeext; then | ||
9244 | ac_cv_search_openpty=$ac_res | 14313 | ac_cv_search_openpty=$ac_res |
14314 | else | ||
14315 | echo "$as_me: failed program was:" >&5 | ||
14316 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14317 | |||
14318 | |||
9245 | fi | 14319 | fi |
9246 | rm -f core conftest.err conftest.$ac_objext \ | 14320 | |
9247 | conftest$ac_exeext | 14321 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9248 | if ${ac_cv_search_openpty+:} false; then : | 14322 | conftest$ac_exeext |
14323 | if test "${ac_cv_search_openpty+set}" = set; then | ||
9249 | break | 14324 | break |
9250 | fi | 14325 | fi |
9251 | done | 14326 | done |
9252 | if ${ac_cv_search_openpty+:} false; then : | 14327 | if test "${ac_cv_search_openpty+set}" = set; then |
9253 | 14328 | : | |
9254 | else | 14329 | else |
9255 | ac_cv_search_openpty=no | 14330 | ac_cv_search_openpty=no |
9256 | fi | 14331 | fi |
9257 | rm conftest.$ac_ext | 14332 | rm conftest.$ac_ext |
9258 | LIBS=$ac_func_search_save_LIBS | 14333 | LIBS=$ac_func_search_save_LIBS |
9259 | fi | 14334 | fi |
9260 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_openpty" >&5 | 14335 | { echo "$as_me:$LINENO: result: $ac_cv_search_openpty" >&5 |
9261 | $as_echo "$ac_cv_search_openpty" >&6; } | 14336 | echo "${ECHO_T}$ac_cv_search_openpty" >&6; } |
9262 | ac_res=$ac_cv_search_openpty | 14337 | ac_res=$ac_cv_search_openpty |
9263 | if test "$ac_res" != no; then : | 14338 | if test "$ac_res" != no; then |
9264 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14339 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9265 | 14340 | ||
9266 | fi | 14341 | fi |
9267 | 14342 | ||
9268 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing updwtmp" >&5 | 14343 | { echo "$as_me:$LINENO: checking for library containing updwtmp" >&5 |
9269 | $as_echo_n "checking for library containing updwtmp... " >&6; } | 14344 | echo $ECHO_N "checking for library containing updwtmp... $ECHO_C" >&6; } |
9270 | if ${ac_cv_search_updwtmp+:} false; then : | 14345 | if test "${ac_cv_search_updwtmp+set}" = set; then |
9271 | $as_echo_n "(cached) " >&6 | 14346 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9272 | else | 14347 | else |
9273 | ac_func_search_save_LIBS=$LIBS | 14348 | ac_func_search_save_LIBS=$LIBS |
9274 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14349 | cat >conftest.$ac_ext <<_ACEOF |
14350 | /* confdefs.h. */ | ||
14351 | _ACEOF | ||
14352 | cat confdefs.h >>conftest.$ac_ext | ||
14353 | cat >>conftest.$ac_ext <<_ACEOF | ||
9275 | /* end confdefs.h. */ | 14354 | /* end confdefs.h. */ |
9276 | 14355 | ||
9277 | /* Override any GCC internal prototype to avoid an error. | 14356 | /* Override any GCC internal prototype to avoid an error. |
@@ -9296,38 +14375,149 @@ for ac_lib in '' util bsd; do | |||
9296 | ac_res=-l$ac_lib | 14375 | ac_res=-l$ac_lib |
9297 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 14376 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9298 | fi | 14377 | fi |
9299 | if ac_fn_c_try_link "$LINENO"; then : | 14378 | rm -f conftest.$ac_objext conftest$ac_exeext |
14379 | if { (ac_try="$ac_link" | ||
14380 | case "(($ac_try" in | ||
14381 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14382 | *) ac_try_echo=$ac_try;; | ||
14383 | esac | ||
14384 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14385 | (eval "$ac_link") 2>conftest.er1 | ||
14386 | ac_status=$? | ||
14387 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14388 | rm -f conftest.er1 | ||
14389 | cat conftest.err >&5 | ||
14390 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14391 | (exit $ac_status); } && { | ||
14392 | test -z "$ac_c_werror_flag" || | ||
14393 | test ! -s conftest.err | ||
14394 | } && test -s conftest$ac_exeext && | ||
14395 | $as_test_x conftest$ac_exeext; then | ||
9300 | ac_cv_search_updwtmp=$ac_res | 14396 | ac_cv_search_updwtmp=$ac_res |
14397 | else | ||
14398 | echo "$as_me: failed program was:" >&5 | ||
14399 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14400 | |||
14401 | |||
9301 | fi | 14402 | fi |
9302 | rm -f core conftest.err conftest.$ac_objext \ | 14403 | |
9303 | conftest$ac_exeext | 14404 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9304 | if ${ac_cv_search_updwtmp+:} false; then : | 14405 | conftest$ac_exeext |
14406 | if test "${ac_cv_search_updwtmp+set}" = set; then | ||
9305 | break | 14407 | break |
9306 | fi | 14408 | fi |
9307 | done | 14409 | done |
9308 | if ${ac_cv_search_updwtmp+:} false; then : | 14410 | if test "${ac_cv_search_updwtmp+set}" = set; then |
9309 | 14411 | : | |
9310 | else | 14412 | else |
9311 | ac_cv_search_updwtmp=no | 14413 | ac_cv_search_updwtmp=no |
9312 | fi | 14414 | fi |
9313 | rm conftest.$ac_ext | 14415 | rm conftest.$ac_ext |
9314 | LIBS=$ac_func_search_save_LIBS | 14416 | LIBS=$ac_func_search_save_LIBS |
9315 | fi | 14417 | fi |
9316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_updwtmp" >&5 | 14418 | { echo "$as_me:$LINENO: result: $ac_cv_search_updwtmp" >&5 |
9317 | $as_echo "$ac_cv_search_updwtmp" >&6; } | 14419 | echo "${ECHO_T}$ac_cv_search_updwtmp" >&6; } |
9318 | ac_res=$ac_cv_search_updwtmp | 14420 | ac_res=$ac_cv_search_updwtmp |
9319 | if test "$ac_res" != no; then : | 14421 | if test "$ac_res" != no; then |
9320 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14422 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9321 | 14423 | ||
9322 | fi | 14424 | fi |
9323 | 14425 | ||
14426 | |||
14427 | |||
14428 | |||
14429 | |||
14430 | |||
14431 | |||
14432 | |||
9324 | for ac_func in fmt_scaled scan_scaled login logout openpty updwtmp logwtmp | 14433 | for ac_func in fmt_scaled scan_scaled login logout openpty updwtmp logwtmp |
9325 | do : | 14434 | do |
9326 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14435 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9327 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 14436 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9328 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 14437 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14438 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14439 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14440 | else | ||
14441 | cat >conftest.$ac_ext <<_ACEOF | ||
14442 | /* confdefs.h. */ | ||
14443 | _ACEOF | ||
14444 | cat confdefs.h >>conftest.$ac_ext | ||
14445 | cat >>conftest.$ac_ext <<_ACEOF | ||
14446 | /* end confdefs.h. */ | ||
14447 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14448 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14449 | #define $ac_func innocuous_$ac_func | ||
14450 | |||
14451 | /* System header to define __stub macros and hopefully few prototypes, | ||
14452 | which can conflict with char $ac_func (); below. | ||
14453 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14454 | <limits.h> exists even on freestanding compilers. */ | ||
14455 | |||
14456 | #ifdef __STDC__ | ||
14457 | # include <limits.h> | ||
14458 | #else | ||
14459 | # include <assert.h> | ||
14460 | #endif | ||
14461 | |||
14462 | #undef $ac_func | ||
14463 | |||
14464 | /* Override any GCC internal prototype to avoid an error. | ||
14465 | Use char because int might match the return type of a GCC | ||
14466 | builtin and then its argument prototype would still apply. */ | ||
14467 | #ifdef __cplusplus | ||
14468 | extern "C" | ||
14469 | #endif | ||
14470 | char $ac_func (); | ||
14471 | /* The GNU C library defines this for functions which it implements | ||
14472 | to always fail with ENOSYS. Some functions are actually named | ||
14473 | something starting with __ and the normal name is an alias. */ | ||
14474 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
14475 | choke me | ||
14476 | #endif | ||
14477 | |||
14478 | int | ||
14479 | main () | ||
14480 | { | ||
14481 | return $ac_func (); | ||
14482 | ; | ||
14483 | return 0; | ||
14484 | } | ||
14485 | _ACEOF | ||
14486 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14487 | if { (ac_try="$ac_link" | ||
14488 | case "(($ac_try" in | ||
14489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14490 | *) ac_try_echo=$ac_try;; | ||
14491 | esac | ||
14492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14493 | (eval "$ac_link") 2>conftest.er1 | ||
14494 | ac_status=$? | ||
14495 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14496 | rm -f conftest.er1 | ||
14497 | cat conftest.err >&5 | ||
14498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14499 | (exit $ac_status); } && { | ||
14500 | test -z "$ac_c_werror_flag" || | ||
14501 | test ! -s conftest.err | ||
14502 | } && test -s conftest$ac_exeext && | ||
14503 | $as_test_x conftest$ac_exeext; then | ||
14504 | eval "$as_ac_var=yes" | ||
14505 | else | ||
14506 | echo "$as_me: failed program was:" >&5 | ||
14507 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14508 | |||
14509 | eval "$as_ac_var=no" | ||
14510 | fi | ||
14511 | |||
14512 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
14513 | conftest$ac_exeext conftest.$ac_ext | ||
14514 | fi | ||
14515 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
14516 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
14517 | echo "${ECHO_T}$ac_res" >&6; } | ||
14518 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
9329 | cat >>confdefs.h <<_ACEOF | 14519 | cat >>confdefs.h <<_ACEOF |
9330 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14520 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9331 | _ACEOF | 14521 | _ACEOF |
9332 | 14522 | ||
9333 | fi | 14523 | fi |
@@ -9335,13 +14525,17 @@ done | |||
9335 | 14525 | ||
9336 | 14526 | ||
9337 | # On some platforms, inet_ntop may be found in libresolv or libnsl. | 14527 | # On some platforms, inet_ntop may be found in libresolv or libnsl. |
9338 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 | 14528 | { echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5 |
9339 | $as_echo_n "checking for library containing inet_ntop... " >&6; } | 14529 | echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; } |
9340 | if ${ac_cv_search_inet_ntop+:} false; then : | 14530 | if test "${ac_cv_search_inet_ntop+set}" = set; then |
9341 | $as_echo_n "(cached) " >&6 | 14531 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9342 | else | 14532 | else |
9343 | ac_func_search_save_LIBS=$LIBS | 14533 | ac_func_search_save_LIBS=$LIBS |
9344 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14534 | cat >conftest.$ac_ext <<_ACEOF |
14535 | /* confdefs.h. */ | ||
14536 | _ACEOF | ||
14537 | cat confdefs.h >>conftest.$ac_ext | ||
14538 | cat >>conftest.$ac_ext <<_ACEOF | ||
9345 | /* end confdefs.h. */ | 14539 | /* end confdefs.h. */ |
9346 | 14540 | ||
9347 | /* Override any GCC internal prototype to avoid an error. | 14541 | /* Override any GCC internal prototype to avoid an error. |
@@ -9366,50 +14560,160 @@ for ac_lib in '' resolv nsl; do | |||
9366 | ac_res=-l$ac_lib | 14560 | ac_res=-l$ac_lib |
9367 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 14561 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
9368 | fi | 14562 | fi |
9369 | if ac_fn_c_try_link "$LINENO"; then : | 14563 | rm -f conftest.$ac_objext conftest$ac_exeext |
14564 | if { (ac_try="$ac_link" | ||
14565 | case "(($ac_try" in | ||
14566 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14567 | *) ac_try_echo=$ac_try;; | ||
14568 | esac | ||
14569 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14570 | (eval "$ac_link") 2>conftest.er1 | ||
14571 | ac_status=$? | ||
14572 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14573 | rm -f conftest.er1 | ||
14574 | cat conftest.err >&5 | ||
14575 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14576 | (exit $ac_status); } && { | ||
14577 | test -z "$ac_c_werror_flag" || | ||
14578 | test ! -s conftest.err | ||
14579 | } && test -s conftest$ac_exeext && | ||
14580 | $as_test_x conftest$ac_exeext; then | ||
9370 | ac_cv_search_inet_ntop=$ac_res | 14581 | ac_cv_search_inet_ntop=$ac_res |
14582 | else | ||
14583 | echo "$as_me: failed program was:" >&5 | ||
14584 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14585 | |||
14586 | |||
9371 | fi | 14587 | fi |
9372 | rm -f core conftest.err conftest.$ac_objext \ | 14588 | |
9373 | conftest$ac_exeext | 14589 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9374 | if ${ac_cv_search_inet_ntop+:} false; then : | 14590 | conftest$ac_exeext |
14591 | if test "${ac_cv_search_inet_ntop+set}" = set; then | ||
9375 | break | 14592 | break |
9376 | fi | 14593 | fi |
9377 | done | 14594 | done |
9378 | if ${ac_cv_search_inet_ntop+:} false; then : | 14595 | if test "${ac_cv_search_inet_ntop+set}" = set; then |
9379 | 14596 | : | |
9380 | else | 14597 | else |
9381 | ac_cv_search_inet_ntop=no | 14598 | ac_cv_search_inet_ntop=no |
9382 | fi | 14599 | fi |
9383 | rm conftest.$ac_ext | 14600 | rm conftest.$ac_ext |
9384 | LIBS=$ac_func_search_save_LIBS | 14601 | LIBS=$ac_func_search_save_LIBS |
9385 | fi | 14602 | fi |
9386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 | 14603 | { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5 |
9387 | $as_echo "$ac_cv_search_inet_ntop" >&6; } | 14604 | echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; } |
9388 | ac_res=$ac_cv_search_inet_ntop | 14605 | ac_res=$ac_cv_search_inet_ntop |
9389 | if test "$ac_res" != no; then : | 14606 | if test "$ac_res" != no; then |
9390 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 14607 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
9391 | 14608 | ||
9392 | fi | 14609 | fi |
9393 | 14610 | ||
9394 | 14611 | ||
14612 | |||
9395 | for ac_func in strftime | 14613 | for ac_func in strftime |
9396 | do : | 14614 | do |
9397 | ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" | 14615 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9398 | if test "x$ac_cv_func_strftime" = xyes; then : | 14616 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14617 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
14618 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
14619 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14620 | else | ||
14621 | cat >conftest.$ac_ext <<_ACEOF | ||
14622 | /* confdefs.h. */ | ||
14623 | _ACEOF | ||
14624 | cat confdefs.h >>conftest.$ac_ext | ||
14625 | cat >>conftest.$ac_ext <<_ACEOF | ||
14626 | /* end confdefs.h. */ | ||
14627 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
14628 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
14629 | #define $ac_func innocuous_$ac_func | ||
14630 | |||
14631 | /* System header to define __stub macros and hopefully few prototypes, | ||
14632 | which can conflict with char $ac_func (); below. | ||
14633 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
14634 | <limits.h> exists even on freestanding compilers. */ | ||
14635 | |||
14636 | #ifdef __STDC__ | ||
14637 | # include <limits.h> | ||
14638 | #else | ||
14639 | # include <assert.h> | ||
14640 | #endif | ||
14641 | |||
14642 | #undef $ac_func | ||
14643 | |||
14644 | /* Override any GCC internal prototype to avoid an error. | ||
14645 | Use char because int might match the return type of a GCC | ||
14646 | builtin and then its argument prototype would still apply. */ | ||
14647 | #ifdef __cplusplus | ||
14648 | extern "C" | ||
14649 | #endif | ||
14650 | char $ac_func (); | ||
14651 | /* The GNU C library defines this for functions which it implements | ||
14652 | to always fail with ENOSYS. Some functions are actually named | ||
14653 | something starting with __ and the normal name is an alias. */ | ||
14654 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
14655 | choke me | ||
14656 | #endif | ||
14657 | |||
14658 | int | ||
14659 | main () | ||
14660 | { | ||
14661 | return $ac_func (); | ||
14662 | ; | ||
14663 | return 0; | ||
14664 | } | ||
14665 | _ACEOF | ||
14666 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
14667 | if { (ac_try="$ac_link" | ||
14668 | case "(($ac_try" in | ||
14669 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14670 | *) ac_try_echo=$ac_try;; | ||
14671 | esac | ||
14672 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14673 | (eval "$ac_link") 2>conftest.er1 | ||
14674 | ac_status=$? | ||
14675 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14676 | rm -f conftest.er1 | ||
14677 | cat conftest.err >&5 | ||
14678 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14679 | (exit $ac_status); } && { | ||
14680 | test -z "$ac_c_werror_flag" || | ||
14681 | test ! -s conftest.err | ||
14682 | } && test -s conftest$ac_exeext && | ||
14683 | $as_test_x conftest$ac_exeext; then | ||
14684 | eval "$as_ac_var=yes" | ||
14685 | else | ||
14686 | echo "$as_me: failed program was:" >&5 | ||
14687 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14688 | |||
14689 | eval "$as_ac_var=no" | ||
14690 | fi | ||
14691 | |||
14692 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
14693 | conftest$ac_exeext conftest.$ac_ext | ||
14694 | fi | ||
14695 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
14696 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
14697 | echo "${ECHO_T}$ac_res" >&6; } | ||
14698 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
9399 | cat >>confdefs.h <<_ACEOF | 14699 | cat >>confdefs.h <<_ACEOF |
9400 | #define HAVE_STRFTIME 1 | 14700 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9401 | _ACEOF | 14701 | _ACEOF |
9402 | 14702 | ||
9403 | else | 14703 | else |
9404 | # strftime is in -lintl on SCO UNIX. | 14704 | # strftime is in -lintl on SCO UNIX. |
9405 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 | 14705 | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
9406 | $as_echo_n "checking for strftime in -lintl... " >&6; } | 14706 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
9407 | if ${ac_cv_lib_intl_strftime+:} false; then : | 14707 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
9408 | $as_echo_n "(cached) " >&6 | 14708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9409 | else | 14709 | else |
9410 | ac_check_lib_save_LIBS=$LIBS | 14710 | ac_check_lib_save_LIBS=$LIBS |
9411 | LIBS="-lintl $LIBS" | 14711 | LIBS="-lintl $LIBS" |
9412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14712 | cat >conftest.$ac_ext <<_ACEOF |
14713 | /* confdefs.h. */ | ||
14714 | _ACEOF | ||
14715 | cat confdefs.h >>conftest.$ac_ext | ||
14716 | cat >>conftest.$ac_ext <<_ACEOF | ||
9413 | /* end confdefs.h. */ | 14717 | /* end confdefs.h. */ |
9414 | 14718 | ||
9415 | /* Override any GCC internal prototype to avoid an error. | 14719 | /* Override any GCC internal prototype to avoid an error. |
@@ -9427,19 +14731,42 @@ return strftime (); | |||
9427 | return 0; | 14731 | return 0; |
9428 | } | 14732 | } |
9429 | _ACEOF | 14733 | _ACEOF |
9430 | if ac_fn_c_try_link "$LINENO"; then : | 14734 | rm -f conftest.$ac_objext conftest$ac_exeext |
14735 | if { (ac_try="$ac_link" | ||
14736 | case "(($ac_try" in | ||
14737 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14738 | *) ac_try_echo=$ac_try;; | ||
14739 | esac | ||
14740 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14741 | (eval "$ac_link") 2>conftest.er1 | ||
14742 | ac_status=$? | ||
14743 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14744 | rm -f conftest.er1 | ||
14745 | cat conftest.err >&5 | ||
14746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14747 | (exit $ac_status); } && { | ||
14748 | test -z "$ac_c_werror_flag" || | ||
14749 | test ! -s conftest.err | ||
14750 | } && test -s conftest$ac_exeext && | ||
14751 | $as_test_x conftest$ac_exeext; then | ||
9431 | ac_cv_lib_intl_strftime=yes | 14752 | ac_cv_lib_intl_strftime=yes |
9432 | else | 14753 | else |
9433 | ac_cv_lib_intl_strftime=no | 14754 | echo "$as_me: failed program was:" >&5 |
14755 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14756 | |||
14757 | ac_cv_lib_intl_strftime=no | ||
9434 | fi | 14758 | fi |
9435 | rm -f core conftest.err conftest.$ac_objext \ | 14759 | |
9436 | conftest$ac_exeext conftest.$ac_ext | 14760 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
14761 | conftest$ac_exeext conftest.$ac_ext | ||
9437 | LIBS=$ac_check_lib_save_LIBS | 14762 | LIBS=$ac_check_lib_save_LIBS |
9438 | fi | 14763 | fi |
9439 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 | 14764 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
9440 | $as_echo "$ac_cv_lib_intl_strftime" >&6; } | 14765 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
9441 | if test "x$ac_cv_lib_intl_strftime" = xyes; then : | 14766 | if test $ac_cv_lib_intl_strftime = yes; then |
9442 | $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h | 14767 | cat >>confdefs.h <<\_ACEOF |
14768 | #define HAVE_STRFTIME 1 | ||
14769 | _ACEOF | ||
9443 | 14770 | ||
9444 | LIBS="-lintl $LIBS" | 14771 | LIBS="-lintl $LIBS" |
9445 | fi | 14772 | fi |
@@ -9449,9 +14776,13 @@ done | |||
9449 | 14776 | ||
9450 | 14777 | ||
9451 | # Check for ALTDIRFUNC glob() extension | 14778 | # Check for ALTDIRFUNC glob() extension |
9452 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_ALTDIRFUNC support" >&5 | 14779 | { echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 |
9453 | $as_echo_n "checking for GLOB_ALTDIRFUNC support... " >&6; } | 14780 | echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6; } |
9454 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14781 | cat >conftest.$ac_ext <<_ACEOF |
14782 | /* confdefs.h. */ | ||
14783 | _ACEOF | ||
14784 | cat confdefs.h >>conftest.$ac_ext | ||
14785 | cat >>conftest.$ac_ext <<_ACEOF | ||
9455 | /* end confdefs.h. */ | 14786 | /* end confdefs.h. */ |
9456 | 14787 | ||
9457 | #include <glob.h> | 14788 | #include <glob.h> |
@@ -9461,18 +14792,20 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |||
9461 | 14792 | ||
9462 | _ACEOF | 14793 | _ACEOF |
9463 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14794 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
9464 | $EGREP "FOUNDIT" >/dev/null 2>&1; then : | 14795 | $EGREP "FOUNDIT" >/dev/null 2>&1; then |
9465 | 14796 | ||
9466 | 14797 | ||
9467 | $as_echo "#define GLOB_HAS_ALTDIRFUNC 1" >>confdefs.h | 14798 | cat >>confdefs.h <<\_ACEOF |
14799 | #define GLOB_HAS_ALTDIRFUNC 1 | ||
14800 | _ACEOF | ||
9468 | 14801 | ||
9469 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14802 | { echo "$as_me:$LINENO: result: yes" >&5 |
9470 | $as_echo "yes" >&6; } | 14803 | echo "${ECHO_T}yes" >&6; } |
9471 | 14804 | ||
9472 | else | 14805 | else |
9473 | 14806 | ||
9474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14807 | { echo "$as_me:$LINENO: result: no" >&5 |
9475 | $as_echo "no" >&6; } | 14808 | echo "${ECHO_T}no" >&6; } |
9476 | 14809 | ||
9477 | 14810 | ||
9478 | fi | 14811 | fi |
@@ -9480,9 +14813,13 @@ rm -f conftest* | |||
9480 | 14813 | ||
9481 | 14814 | ||
9482 | # Check for g.gl_matchc glob() extension | 14815 | # Check for g.gl_matchc glob() extension |
9483 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl_matchc field in glob_t" >&5 | 14816 | { echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 |
9484 | $as_echo_n "checking for gl_matchc field in glob_t... " >&6; } | 14817 | echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6; } |
9485 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14818 | cat >conftest.$ac_ext <<_ACEOF |
14819 | /* confdefs.h. */ | ||
14820 | _ACEOF | ||
14821 | cat confdefs.h >>conftest.$ac_ext | ||
14822 | cat >>conftest.$ac_ext <<_ACEOF | ||
9486 | /* end confdefs.h. */ | 14823 | /* end confdefs.h. */ |
9487 | #include <glob.h> | 14824 | #include <glob.h> |
9488 | int | 14825 | int |
@@ -9493,26 +14830,52 @@ main () | |||
9493 | return 0; | 14830 | return 0; |
9494 | } | 14831 | } |
9495 | _ACEOF | 14832 | _ACEOF |
9496 | if ac_fn_c_try_compile "$LINENO"; then : | 14833 | rm -f conftest.$ac_objext |
14834 | if { (ac_try="$ac_compile" | ||
14835 | case "(($ac_try" in | ||
14836 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14837 | *) ac_try_echo=$ac_try;; | ||
14838 | esac | ||
14839 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14840 | (eval "$ac_compile") 2>conftest.er1 | ||
14841 | ac_status=$? | ||
14842 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14843 | rm -f conftest.er1 | ||
14844 | cat conftest.err >&5 | ||
14845 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14846 | (exit $ac_status); } && { | ||
14847 | test -z "$ac_c_werror_flag" || | ||
14848 | test ! -s conftest.err | ||
14849 | } && test -s conftest.$ac_objext; then | ||
9497 | 14850 | ||
9498 | 14851 | ||
9499 | $as_echo "#define GLOB_HAS_GL_MATCHC 1" >>confdefs.h | 14852 | cat >>confdefs.h <<\_ACEOF |
14853 | #define GLOB_HAS_GL_MATCHC 1 | ||
14854 | _ACEOF | ||
9500 | 14855 | ||
9501 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14856 | { echo "$as_me:$LINENO: result: yes" >&5 |
9502 | $as_echo "yes" >&6; } | 14857 | echo "${ECHO_T}yes" >&6; } |
9503 | 14858 | ||
9504 | else | 14859 | else |
14860 | echo "$as_me: failed program was:" >&5 | ||
14861 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9505 | 14862 | ||
9506 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14863 | |
9507 | $as_echo "no" >&6; } | 14864 | { echo "$as_me:$LINENO: result: no" >&5 |
14865 | echo "${ECHO_T}no" >&6; } | ||
9508 | 14866 | ||
9509 | fi | 14867 | fi |
14868 | |||
9510 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14869 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9511 | 14870 | ||
9512 | # Check for g.gl_statv glob() extension | 14871 | # Check for g.gl_statv glob() extension |
9513 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gl_statv and GLOB_KEEPSTAT extensions for glob" >&5 | 14872 | { echo "$as_me:$LINENO: checking for gl_statv and GLOB_KEEPSTAT extensions for glob" >&5 |
9514 | $as_echo_n "checking for gl_statv and GLOB_KEEPSTAT extensions for glob... " >&6; } | 14873 | echo $ECHO_N "checking for gl_statv and GLOB_KEEPSTAT extensions for glob... $ECHO_C" >&6; } |
9515 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 14874 | cat >conftest.$ac_ext <<_ACEOF |
14875 | /* confdefs.h. */ | ||
14876 | _ACEOF | ||
14877 | cat confdefs.h >>conftest.$ac_ext | ||
14878 | cat >>conftest.$ac_ext <<_ACEOF | ||
9516 | /* end confdefs.h. */ | 14879 | /* end confdefs.h. */ |
9517 | #include <glob.h> | 14880 | #include <glob.h> |
9518 | int | 14881 | int |
@@ -9529,48 +14892,133 @@ g.gl_statv = NULL; | |||
9529 | return 0; | 14892 | return 0; |
9530 | } | 14893 | } |
9531 | _ACEOF | 14894 | _ACEOF |
9532 | if ac_fn_c_try_compile "$LINENO"; then : | 14895 | rm -f conftest.$ac_objext |
14896 | if { (ac_try="$ac_compile" | ||
14897 | case "(($ac_try" in | ||
14898 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14899 | *) ac_try_echo=$ac_try;; | ||
14900 | esac | ||
14901 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14902 | (eval "$ac_compile") 2>conftest.er1 | ||
14903 | ac_status=$? | ||
14904 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14905 | rm -f conftest.er1 | ||
14906 | cat conftest.err >&5 | ||
14907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14908 | (exit $ac_status); } && { | ||
14909 | test -z "$ac_c_werror_flag" || | ||
14910 | test ! -s conftest.err | ||
14911 | } && test -s conftest.$ac_objext; then | ||
9533 | 14912 | ||
9534 | 14913 | ||
9535 | $as_echo "#define GLOB_HAS_GL_STATV 1" >>confdefs.h | 14914 | cat >>confdefs.h <<\_ACEOF |
14915 | #define GLOB_HAS_GL_STATV 1 | ||
14916 | _ACEOF | ||
9536 | 14917 | ||
9537 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 14918 | { echo "$as_me:$LINENO: result: yes" >&5 |
9538 | $as_echo "yes" >&6; } | 14919 | echo "${ECHO_T}yes" >&6; } |
9539 | 14920 | ||
9540 | else | 14921 | else |
14922 | echo "$as_me: failed program was:" >&5 | ||
14923 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14924 | |||
9541 | 14925 | ||
9542 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 14926 | { echo "$as_me:$LINENO: result: no" >&5 |
9543 | $as_echo "no" >&6; } | 14927 | echo "${ECHO_T}no" >&6; } |
9544 | 14928 | ||
9545 | 14929 | ||
9546 | fi | 14930 | fi |
14931 | |||
9547 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 14932 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9548 | 14933 | ||
9549 | ac_fn_c_check_decl "$LINENO" "GLOB_NOMATCH" "ac_cv_have_decl_GLOB_NOMATCH" "#include <glob.h> | 14934 | { echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5 |
9550 | " | 14935 | echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } |
9551 | if test "x$ac_cv_have_decl_GLOB_NOMATCH" = xyes; then : | 14936 | if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then |
9552 | ac_have_decl=1 | 14937 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9553 | else | 14938 | else |
9554 | ac_have_decl=0 | 14939 | cat >conftest.$ac_ext <<_ACEOF |
14940 | /* confdefs.h. */ | ||
14941 | _ACEOF | ||
14942 | cat confdefs.h >>conftest.$ac_ext | ||
14943 | cat >>conftest.$ac_ext <<_ACEOF | ||
14944 | /* end confdefs.h. */ | ||
14945 | #include <glob.h> | ||
14946 | |||
14947 | int | ||
14948 | main () | ||
14949 | { | ||
14950 | #ifndef GLOB_NOMATCH | ||
14951 | (void) GLOB_NOMATCH; | ||
14952 | #endif | ||
14953 | |||
14954 | ; | ||
14955 | return 0; | ||
14956 | } | ||
14957 | _ACEOF | ||
14958 | rm -f conftest.$ac_objext | ||
14959 | if { (ac_try="$ac_compile" | ||
14960 | case "(($ac_try" in | ||
14961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
14962 | *) ac_try_echo=$ac_try;; | ||
14963 | esac | ||
14964 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
14965 | (eval "$ac_compile") 2>conftest.er1 | ||
14966 | ac_status=$? | ||
14967 | grep -v '^ *+' conftest.er1 >conftest.err | ||
14968 | rm -f conftest.er1 | ||
14969 | cat conftest.err >&5 | ||
14970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
14971 | (exit $ac_status); } && { | ||
14972 | test -z "$ac_c_werror_flag" || | ||
14973 | test ! -s conftest.err | ||
14974 | } && test -s conftest.$ac_objext; then | ||
14975 | ac_cv_have_decl_GLOB_NOMATCH=yes | ||
14976 | else | ||
14977 | echo "$as_me: failed program was:" >&5 | ||
14978 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
14979 | |||
14980 | ac_cv_have_decl_GLOB_NOMATCH=no | ||
9555 | fi | 14981 | fi |
9556 | 14982 | ||
14983 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
14984 | fi | ||
14985 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5 | ||
14986 | echo "${ECHO_T}$ac_cv_have_decl_GLOB_NOMATCH" >&6; } | ||
14987 | if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then | ||
14988 | |||
9557 | cat >>confdefs.h <<_ACEOF | 14989 | cat >>confdefs.h <<_ACEOF |
9558 | #define HAVE_DECL_GLOB_NOMATCH $ac_have_decl | 14990 | #define HAVE_DECL_GLOB_NOMATCH 1 |
9559 | _ACEOF | 14991 | _ACEOF |
9560 | 14992 | ||
9561 | 14993 | ||
9562 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct dirent allocates space for d_name" >&5 | 14994 | else |
9563 | $as_echo_n "checking whether struct dirent allocates space for d_name... " >&6; } | 14995 | cat >>confdefs.h <<_ACEOF |
9564 | if test "$cross_compiling" = yes; then : | 14996 | #define HAVE_DECL_GLOB_NOMATCH 0 |
14997 | _ACEOF | ||
14998 | |||
14999 | |||
15000 | fi | ||
15001 | |||
15002 | |||
9565 | 15003 | ||
9566 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 | 15004 | { echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 |
9567 | $as_echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} | 15005 | echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6; } |
9568 | $as_echo "#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1" >>confdefs.h | 15006 | if test "$cross_compiling" = yes; then |
15007 | |||
15008 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 | ||
15009 | echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} | ||
15010 | cat >>confdefs.h <<\_ACEOF | ||
15011 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | ||
15012 | _ACEOF | ||
9569 | 15013 | ||
9570 | 15014 | ||
9571 | 15015 | ||
9572 | else | 15016 | else |
9573 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15017 | cat >conftest.$ac_ext <<_ACEOF |
15018 | /* confdefs.h. */ | ||
15019 | _ACEOF | ||
15020 | cat confdefs.h >>conftest.$ac_ext | ||
15021 | cat >>conftest.$ac_ext <<_ACEOF | ||
9574 | /* end confdefs.h. */ | 15022 | /* end confdefs.h. */ |
9575 | 15023 | ||
9576 | #include <sys/types.h> | 15024 | #include <sys/types.h> |
@@ -9586,41 +15034,69 @@ main () | |||
9586 | return 0; | 15034 | return 0; |
9587 | } | 15035 | } |
9588 | _ACEOF | 15036 | _ACEOF |
9589 | if ac_fn_c_try_run "$LINENO"; then : | 15037 | rm -f conftest$ac_exeext |
9590 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15038 | if { (ac_try="$ac_link" |
9591 | $as_echo "yes" >&6; } | 15039 | case "(($ac_try" in |
15040 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15041 | *) ac_try_echo=$ac_try;; | ||
15042 | esac | ||
15043 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15044 | (eval "$ac_link") 2>&5 | ||
15045 | ac_status=$? | ||
15046 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15047 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
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_try") 2>&5 | ||
15054 | ac_status=$? | ||
15055 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15056 | (exit $ac_status); }; }; then | ||
15057 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15058 | echo "${ECHO_T}yes" >&6; } | ||
9592 | else | 15059 | else |
15060 | echo "$as_me: program exited with status $ac_status" >&5 | ||
15061 | echo "$as_me: failed program was:" >&5 | ||
15062 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15063 | |||
15064 | ( exit $ac_status ) | ||
9593 | 15065 | ||
9594 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15066 | { echo "$as_me:$LINENO: result: no" >&5 |
9595 | $as_echo "no" >&6; } | 15067 | echo "${ECHO_T}no" >&6; } |
9596 | 15068 | ||
9597 | $as_echo "#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1" >>confdefs.h | 15069 | cat >>confdefs.h <<\_ACEOF |
15070 | #define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 | ||
15071 | _ACEOF | ||
9598 | 15072 | ||
9599 | 15073 | ||
9600 | fi | 15074 | fi |
9601 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 15075 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9602 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
9603 | fi | 15076 | fi |
9604 | 15077 | ||
9605 | 15078 | ||
9606 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/pid/fd directory" >&5 | 15079 | |
9607 | $as_echo_n "checking for /proc/pid/fd directory... " >&6; } | 15080 | { echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 |
15081 | echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; } | ||
9608 | if test -d "/proc/$$/fd" ; then | 15082 | if test -d "/proc/$$/fd" ; then |
9609 | 15083 | ||
9610 | $as_echo "#define HAVE_PROC_PID 1" >>confdefs.h | 15084 | cat >>confdefs.h <<\_ACEOF |
15085 | #define HAVE_PROC_PID 1 | ||
15086 | _ACEOF | ||
9611 | 15087 | ||
9612 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15088 | { echo "$as_me:$LINENO: result: yes" >&5 |
9613 | $as_echo "yes" >&6; } | 15089 | echo "${ECHO_T}yes" >&6; } |
9614 | else | 15090 | else |
9615 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15091 | { echo "$as_me:$LINENO: result: no" >&5 |
9616 | $as_echo "no" >&6; } | 15092 | echo "${ECHO_T}no" >&6; } |
9617 | fi | 15093 | fi |
9618 | 15094 | ||
9619 | # Check whether user wants S/Key support | 15095 | # Check whether user wants S/Key support |
9620 | SKEY_MSG="no" | 15096 | SKEY_MSG="no" |
9621 | 15097 | ||
9622 | # Check whether --with-skey was given. | 15098 | # Check whether --with-skey was given. |
9623 | if test "${with_skey+set}" = set; then : | 15099 | if test "${with_skey+set}" = set; then |
9624 | withval=$with_skey; | 15100 | withval=$with_skey; |
9625 | if test "x$withval" != "xno" ; then | 15101 | if test "x$withval" != "xno" ; then |
9626 | 15102 | ||
@@ -9630,14 +15106,20 @@ if test "${with_skey+set}" = set; then : | |||
9630 | fi | 15106 | fi |
9631 | 15107 | ||
9632 | 15108 | ||
9633 | $as_echo "#define SKEY 1" >>confdefs.h | 15109 | cat >>confdefs.h <<\_ACEOF |
15110 | #define SKEY 1 | ||
15111 | _ACEOF | ||
9634 | 15112 | ||
9635 | LIBS="-lskey $LIBS" | 15113 | LIBS="-lskey $LIBS" |
9636 | SKEY_MSG="yes" | 15114 | SKEY_MSG="yes" |
9637 | 15115 | ||
9638 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for s/key support" >&5 | 15116 | { echo "$as_me:$LINENO: checking for s/key support" >&5 |
9639 | $as_echo_n "checking for s/key support... " >&6; } | 15117 | echo $ECHO_N "checking for s/key support... $ECHO_C" >&6; } |
9640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15118 | cat >conftest.$ac_ext <<_ACEOF |
15119 | /* confdefs.h. */ | ||
15120 | _ACEOF | ||
15121 | cat confdefs.h >>conftest.$ac_ext | ||
15122 | cat >>conftest.$ac_ext <<_ACEOF | ||
9641 | /* end confdefs.h. */ | 15123 | /* end confdefs.h. */ |
9642 | 15124 | ||
9643 | #include <stdio.h> | 15125 | #include <stdio.h> |
@@ -9654,21 +15136,48 @@ main () | |||
9654 | return 0; | 15136 | return 0; |
9655 | } | 15137 | } |
9656 | _ACEOF | 15138 | _ACEOF |
9657 | if ac_fn_c_try_link "$LINENO"; then : | 15139 | rm -f conftest.$ac_objext conftest$ac_exeext |
9658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15140 | if { (ac_try="$ac_link" |
9659 | $as_echo "yes" >&6; } | 15141 | case "(($ac_try" in |
15142 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15143 | *) ac_try_echo=$ac_try;; | ||
15144 | esac | ||
15145 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15146 | (eval "$ac_link") 2>conftest.er1 | ||
15147 | ac_status=$? | ||
15148 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15149 | rm -f conftest.er1 | ||
15150 | cat conftest.err >&5 | ||
15151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15152 | (exit $ac_status); } && { | ||
15153 | test -z "$ac_c_werror_flag" || | ||
15154 | test ! -s conftest.err | ||
15155 | } && test -s conftest$ac_exeext && | ||
15156 | $as_test_x conftest$ac_exeext; then | ||
15157 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15158 | echo "${ECHO_T}yes" >&6; } | ||
9660 | else | 15159 | else |
15160 | echo "$as_me: failed program was:" >&5 | ||
15161 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15162 | |||
9661 | 15163 | ||
9662 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15164 | { echo "$as_me:$LINENO: result: no" >&5 |
9663 | $as_echo "no" >&6; } | 15165 | echo "${ECHO_T}no" >&6; } |
9664 | as_fn_error $? "** Incomplete or missing s/key libraries." "$LINENO" 5 | 15166 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 |
15167 | echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} | ||
15168 | { (exit 1); exit 1; }; } | ||
9665 | 15169 | ||
9666 | fi | 15170 | fi |
9667 | rm -f core conftest.err conftest.$ac_objext \ | 15171 | |
9668 | conftest$ac_exeext conftest.$ac_ext | 15172 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
9669 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if skeychallenge takes 4 arguments" >&5 | 15173 | conftest$ac_exeext conftest.$ac_ext |
9670 | $as_echo_n "checking if skeychallenge takes 4 arguments... " >&6; } | 15174 | { echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 |
9671 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15175 | echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6; } |
15176 | cat >conftest.$ac_ext <<_ACEOF | ||
15177 | /* confdefs.h. */ | ||
15178 | _ACEOF | ||
15179 | cat confdefs.h >>conftest.$ac_ext | ||
15180 | cat >>conftest.$ac_ext <<_ACEOF | ||
9672 | /* end confdefs.h. */ | 15181 | /* end confdefs.h. */ |
9673 | 15182 | ||
9674 | #include <stdio.h> | 15183 | #include <stdio.h> |
@@ -9684,19 +15193,41 @@ main () | |||
9684 | return 0; | 15193 | return 0; |
9685 | } | 15194 | } |
9686 | _ACEOF | 15195 | _ACEOF |
9687 | if ac_fn_c_try_compile "$LINENO"; then : | 15196 | rm -f conftest.$ac_objext |
15197 | if { (ac_try="$ac_compile" | ||
15198 | case "(($ac_try" in | ||
15199 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15200 | *) ac_try_echo=$ac_try;; | ||
15201 | esac | ||
15202 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15203 | (eval "$ac_compile") 2>conftest.er1 | ||
15204 | ac_status=$? | ||
15205 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15206 | rm -f conftest.er1 | ||
15207 | cat conftest.err >&5 | ||
15208 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15209 | (exit $ac_status); } && { | ||
15210 | test -z "$ac_c_werror_flag" || | ||
15211 | test ! -s conftest.err | ||
15212 | } && test -s conftest.$ac_objext; then | ||
9688 | 15213 | ||
9689 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15214 | { echo "$as_me:$LINENO: result: yes" >&5 |
9690 | $as_echo "yes" >&6; } | 15215 | echo "${ECHO_T}yes" >&6; } |
9691 | 15216 | ||
9692 | $as_echo "#define SKEYCHALLENGE_4ARG 1" >>confdefs.h | 15217 | cat >>confdefs.h <<\_ACEOF |
15218 | #define SKEYCHALLENGE_4ARG 1 | ||
15219 | _ACEOF | ||
9693 | 15220 | ||
9694 | else | 15221 | else |
15222 | echo "$as_me: failed program was:" >&5 | ||
15223 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
9695 | 15224 | ||
9696 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15225 | |
9697 | $as_echo "no" >&6; } | 15226 | { echo "$as_me:$LINENO: result: no" >&5 |
15227 | echo "${ECHO_T}no" >&6; } | ||
9698 | 15228 | ||
9699 | fi | 15229 | fi |
15230 | |||
9700 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15231 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9701 | fi | 15232 | fi |
9702 | 15233 | ||
@@ -9708,7 +15239,7 @@ fi | |||
9708 | LDNS_MSG="no" | 15239 | LDNS_MSG="no" |
9709 | 15240 | ||
9710 | # Check whether --with-ldns was given. | 15241 | # Check whether --with-ldns was given. |
9711 | if test "${with_ldns+set}" = set; then : | 15242 | if test "${with_ldns+set}" = set; then |
9712 | withval=$with_ldns; | 15243 | withval=$with_ldns; |
9713 | if test "x$withval" != "xno" ; then | 15244 | if test "x$withval" != "xno" ; then |
9714 | 15245 | ||
@@ -9718,14 +15249,20 @@ if test "${with_ldns+set}" = set; then : | |||
9718 | fi | 15249 | fi |
9719 | 15250 | ||
9720 | 15251 | ||
9721 | $as_echo "#define HAVE_LDNS 1" >>confdefs.h | 15252 | cat >>confdefs.h <<\_ACEOF |
15253 | #define HAVE_LDNS 1 | ||
15254 | _ACEOF | ||
9722 | 15255 | ||
9723 | LIBS="-lldns $LIBS" | 15256 | LIBS="-lldns $LIBS" |
9724 | LDNS_MSG="yes" | 15257 | LDNS_MSG="yes" |
9725 | 15258 | ||
9726 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns support" >&5 | 15259 | { echo "$as_me:$LINENO: checking for ldns support" >&5 |
9727 | $as_echo_n "checking for ldns support... " >&6; } | 15260 | echo $ECHO_N "checking for ldns support... $ECHO_C" >&6; } |
9728 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15261 | cat >conftest.$ac_ext <<_ACEOF |
15262 | /* confdefs.h. */ | ||
15263 | _ACEOF | ||
15264 | cat confdefs.h >>conftest.$ac_ext | ||
15265 | cat >>conftest.$ac_ext <<_ACEOF | ||
9729 | /* end confdefs.h. */ | 15266 | /* end confdefs.h. */ |
9730 | 15267 | ||
9731 | #include <stdio.h> | 15268 | #include <stdio.h> |
@@ -9736,18 +15273,41 @@ int main() { ldns_status status = ldns_verify_trusted(NULL, NULL, NULL, NULL); s | |||
9736 | 15273 | ||
9737 | 15274 | ||
9738 | _ACEOF | 15275 | _ACEOF |
9739 | if ac_fn_c_try_link "$LINENO"; then : | 15276 | rm -f conftest.$ac_objext conftest$ac_exeext |
9740 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15277 | if { (ac_try="$ac_link" |
9741 | $as_echo "yes" >&6; } | 15278 | case "(($ac_try" in |
15279 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15280 | *) ac_try_echo=$ac_try;; | ||
15281 | esac | ||
15282 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15283 | (eval "$ac_link") 2>conftest.er1 | ||
15284 | ac_status=$? | ||
15285 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15286 | rm -f conftest.er1 | ||
15287 | cat conftest.err >&5 | ||
15288 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15289 | (exit $ac_status); } && { | ||
15290 | test -z "$ac_c_werror_flag" || | ||
15291 | test ! -s conftest.err | ||
15292 | } && test -s conftest$ac_exeext && | ||
15293 | $as_test_x conftest$ac_exeext; then | ||
15294 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15295 | echo "${ECHO_T}yes" >&6; } | ||
9742 | else | 15296 | else |
15297 | echo "$as_me: failed program was:" >&5 | ||
15298 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15299 | |||
9743 | 15300 | ||
9744 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15301 | { echo "$as_me:$LINENO: result: no" >&5 |
9745 | $as_echo "no" >&6; } | 15302 | echo "${ECHO_T}no" >&6; } |
9746 | as_fn_error $? "** Incomplete or missing ldns libraries." "$LINENO" 5 | 15303 | { { echo "$as_me:$LINENO: error: ** Incomplete or missing ldns libraries." >&5 |
15304 | echo "$as_me: error: ** Incomplete or missing ldns libraries." >&2;} | ||
15305 | { (exit 1); exit 1; }; } | ||
9747 | 15306 | ||
9748 | fi | 15307 | fi |
9749 | rm -f core conftest.err conftest.$ac_objext \ | 15308 | |
9750 | conftest$ac_exeext conftest.$ac_ext | 15309 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15310 | conftest$ac_exeext conftest.$ac_ext | ||
9751 | fi | 15311 | fi |
9752 | 15312 | ||
9753 | 15313 | ||
@@ -9758,16 +15318,16 @@ fi | |||
9758 | LIBEDIT_MSG="no" | 15318 | LIBEDIT_MSG="no" |
9759 | 15319 | ||
9760 | # Check whether --with-libedit was given. | 15320 | # Check whether --with-libedit was given. |
9761 | if test "${with_libedit+set}" = set; then : | 15321 | if test "${with_libedit+set}" = set; then |
9762 | withval=$with_libedit; if test "x$withval" != "xno" ; then | 15322 | withval=$with_libedit; if test "x$withval" != "xno" ; then |
9763 | if test "x$withval" = "xyes" ; then | 15323 | if test "x$withval" = "xyes" ; then |
9764 | if test -n "$ac_tool_prefix"; then | 15324 | if test -n "$ac_tool_prefix"; then |
9765 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | 15325 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
9766 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 15326 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
9767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 15327 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9768 | $as_echo_n "checking for $ac_word... " >&6; } | 15328 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
9769 | if ${ac_cv_path_PKGCONFIG+:} false; then : | 15329 | if test "${ac_cv_path_PKGCONFIG+set}" = set; then |
9770 | $as_echo_n "(cached) " >&6 | 15330 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9771 | else | 15331 | else |
9772 | case $PKGCONFIG in | 15332 | case $PKGCONFIG in |
9773 | [\\/]* | ?:[\\/]*) | 15333 | [\\/]* | ?:[\\/]*) |
@@ -9779,14 +15339,14 @@ for as_dir in $PATH | |||
9779 | do | 15339 | do |
9780 | IFS=$as_save_IFS | 15340 | IFS=$as_save_IFS |
9781 | test -z "$as_dir" && as_dir=. | 15341 | test -z "$as_dir" && as_dir=. |
9782 | for ac_exec_ext in '' $ac_executable_extensions; do | 15342 | for ac_exec_ext in '' $ac_executable_extensions; do |
9783 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 15343 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9784 | ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | 15344 | ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" |
9785 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 15345 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9786 | break 2 | 15346 | break 2 |
9787 | fi | 15347 | fi |
9788 | done | 15348 | done |
9789 | done | 15349 | done |
9790 | IFS=$as_save_IFS | 15350 | IFS=$as_save_IFS |
9791 | 15351 | ||
9792 | ;; | 15352 | ;; |
@@ -9794,11 +15354,11 @@ esac | |||
9794 | fi | 15354 | fi |
9795 | PKGCONFIG=$ac_cv_path_PKGCONFIG | 15355 | PKGCONFIG=$ac_cv_path_PKGCONFIG |
9796 | if test -n "$PKGCONFIG"; then | 15356 | if test -n "$PKGCONFIG"; then |
9797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 | 15357 | { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5 |
9798 | $as_echo "$PKGCONFIG" >&6; } | 15358 | echo "${ECHO_T}$PKGCONFIG" >&6; } |
9799 | else | 15359 | else |
9800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15360 | { echo "$as_me:$LINENO: result: no" >&5 |
9801 | $as_echo "no" >&6; } | 15361 | echo "${ECHO_T}no" >&6; } |
9802 | fi | 15362 | fi |
9803 | 15363 | ||
9804 | 15364 | ||
@@ -9807,10 +15367,10 @@ if test -z "$ac_cv_path_PKGCONFIG"; then | |||
9807 | ac_pt_PKGCONFIG=$PKGCONFIG | 15367 | ac_pt_PKGCONFIG=$PKGCONFIG |
9808 | # Extract the first word of "pkg-config", so it can be a program name with args. | 15368 | # Extract the first word of "pkg-config", so it can be a program name with args. |
9809 | set dummy pkg-config; ac_word=$2 | 15369 | set dummy pkg-config; ac_word=$2 |
9810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 15370 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
9811 | $as_echo_n "checking for $ac_word... " >&6; } | 15371 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
9812 | if ${ac_cv_path_ac_pt_PKGCONFIG+:} false; then : | 15372 | if test "${ac_cv_path_ac_pt_PKGCONFIG+set}" = set; then |
9813 | $as_echo_n "(cached) " >&6 | 15373 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9814 | else | 15374 | else |
9815 | case $ac_pt_PKGCONFIG in | 15375 | case $ac_pt_PKGCONFIG in |
9816 | [\\/]* | ?:[\\/]*) | 15376 | [\\/]* | ?:[\\/]*) |
@@ -9822,14 +15382,14 @@ for as_dir in $PATH | |||
9822 | do | 15382 | do |
9823 | IFS=$as_save_IFS | 15383 | IFS=$as_save_IFS |
9824 | test -z "$as_dir" && as_dir=. | 15384 | test -z "$as_dir" && as_dir=. |
9825 | for ac_exec_ext in '' $ac_executable_extensions; do | 15385 | for ac_exec_ext in '' $ac_executable_extensions; do |
9826 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 15386 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9827 | ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" | 15387 | ac_cv_path_ac_pt_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" |
9828 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 15388 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9829 | break 2 | 15389 | break 2 |
9830 | fi | 15390 | fi |
9831 | done | 15391 | done |
9832 | done | 15392 | done |
9833 | IFS=$as_save_IFS | 15393 | IFS=$as_save_IFS |
9834 | 15394 | ||
9835 | ;; | 15395 | ;; |
@@ -9837,11 +15397,11 @@ esac | |||
9837 | fi | 15397 | fi |
9838 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG | 15398 | ac_pt_PKGCONFIG=$ac_cv_path_ac_pt_PKGCONFIG |
9839 | if test -n "$ac_pt_PKGCONFIG"; then | 15399 | if test -n "$ac_pt_PKGCONFIG"; then |
9840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKGCONFIG" >&5 | 15400 | { echo "$as_me:$LINENO: result: $ac_pt_PKGCONFIG" >&5 |
9841 | $as_echo "$ac_pt_PKGCONFIG" >&6; } | 15401 | echo "${ECHO_T}$ac_pt_PKGCONFIG" >&6; } |
9842 | else | 15402 | else |
9843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15403 | { echo "$as_me:$LINENO: result: no" >&5 |
9844 | $as_echo "no" >&6; } | 15404 | echo "${ECHO_T}no" >&6; } |
9845 | fi | 15405 | fi |
9846 | 15406 | ||
9847 | if test "x$ac_pt_PKGCONFIG" = x; then | 15407 | if test "x$ac_pt_PKGCONFIG" = x; then |
@@ -9849,8 +15409,12 @@ fi | |||
9849 | else | 15409 | else |
9850 | case $cross_compiling:$ac_tool_warned in | 15410 | case $cross_compiling:$ac_tool_warned in |
9851 | yes:) | 15411 | yes:) |
9852 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 15412 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
9853 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 15413 | whose name does not start with the host triplet. If you think this |
15414 | configuration is useful to you, please write to autoconf@gnu.org." >&5 | ||
15415 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | ||
15416 | whose name does not start with the host triplet. If you think this | ||
15417 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} | ||
9854 | ac_tool_warned=yes ;; | 15418 | ac_tool_warned=yes ;; |
9855 | esac | 15419 | esac |
9856 | PKGCONFIG=$ac_pt_PKGCONFIG | 15420 | PKGCONFIG=$ac_pt_PKGCONFIG |
@@ -9860,15 +15424,15 @@ else | |||
9860 | fi | 15424 | fi |
9861 | 15425 | ||
9862 | if test "x$PKGCONFIG" != "xno"; then | 15426 | if test "x$PKGCONFIG" != "xno"; then |
9863 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $PKGCONFIG knows about libedit" >&5 | 15427 | { echo "$as_me:$LINENO: checking if $PKGCONFIG knows about libedit" >&5 |
9864 | $as_echo_n "checking if $PKGCONFIG knows about libedit... " >&6; } | 15428 | echo $ECHO_N "checking if $PKGCONFIG knows about libedit... $ECHO_C" >&6; } |
9865 | if "$PKGCONFIG" libedit; then | 15429 | if "$PKGCONFIG" libedit; then |
9866 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15430 | { echo "$as_me:$LINENO: result: yes" >&5 |
9867 | $as_echo "yes" >&6; } | 15431 | echo "${ECHO_T}yes" >&6; } |
9868 | use_pkgconfig_for_libedit=yes | 15432 | use_pkgconfig_for_libedit=yes |
9869 | else | 15433 | else |
9870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15434 | { echo "$as_me:$LINENO: result: no" >&5 |
9871 | $as_echo "no" >&6; } | 15435 | echo "${ECHO_T}no" >&6; } |
9872 | fi | 15436 | fi |
9873 | fi | 15437 | fi |
9874 | else | 15438 | else |
@@ -9886,15 +15450,19 @@ $as_echo "no" >&6; } | |||
9886 | LIBEDIT="-ledit -lcurses" | 15450 | LIBEDIT="-ledit -lcurses" |
9887 | fi | 15451 | fi |
9888 | OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'` | 15452 | OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'` |
9889 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for el_init in -ledit" >&5 | 15453 | { echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 |
9890 | $as_echo_n "checking for el_init in -ledit... " >&6; } | 15454 | echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6; } |
9891 | if ${ac_cv_lib_edit_el_init+:} false; then : | 15455 | if test "${ac_cv_lib_edit_el_init+set}" = set; then |
9892 | $as_echo_n "(cached) " >&6 | 15456 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9893 | else | 15457 | else |
9894 | ac_check_lib_save_LIBS=$LIBS | 15458 | ac_check_lib_save_LIBS=$LIBS |
9895 | LIBS="-ledit $OTHERLIBS | 15459 | LIBS="-ledit $OTHERLIBS |
9896 | $LIBS" | 15460 | $LIBS" |
9897 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15461 | cat >conftest.$ac_ext <<_ACEOF |
15462 | /* confdefs.h. */ | ||
15463 | _ACEOF | ||
15464 | cat confdefs.h >>conftest.$ac_ext | ||
15465 | cat >>conftest.$ac_ext <<_ACEOF | ||
9898 | /* end confdefs.h. */ | 15466 | /* end confdefs.h. */ |
9899 | 15467 | ||
9900 | /* Override any GCC internal prototype to avoid an error. | 15468 | /* Override any GCC internal prototype to avoid an error. |
@@ -9912,31 +15480,60 @@ return el_init (); | |||
9912 | return 0; | 15480 | return 0; |
9913 | } | 15481 | } |
9914 | _ACEOF | 15482 | _ACEOF |
9915 | if ac_fn_c_try_link "$LINENO"; then : | 15483 | rm -f conftest.$ac_objext conftest$ac_exeext |
15484 | if { (ac_try="$ac_link" | ||
15485 | case "(($ac_try" in | ||
15486 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15487 | *) ac_try_echo=$ac_try;; | ||
15488 | esac | ||
15489 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15490 | (eval "$ac_link") 2>conftest.er1 | ||
15491 | ac_status=$? | ||
15492 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15493 | rm -f conftest.er1 | ||
15494 | cat conftest.err >&5 | ||
15495 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15496 | (exit $ac_status); } && { | ||
15497 | test -z "$ac_c_werror_flag" || | ||
15498 | test ! -s conftest.err | ||
15499 | } && test -s conftest$ac_exeext && | ||
15500 | $as_test_x conftest$ac_exeext; then | ||
9916 | ac_cv_lib_edit_el_init=yes | 15501 | ac_cv_lib_edit_el_init=yes |
9917 | else | 15502 | else |
9918 | ac_cv_lib_edit_el_init=no | 15503 | echo "$as_me: failed program was:" >&5 |
15504 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15505 | |||
15506 | ac_cv_lib_edit_el_init=no | ||
9919 | fi | 15507 | fi |
9920 | rm -f core conftest.err conftest.$ac_objext \ | 15508 | |
9921 | conftest$ac_exeext conftest.$ac_ext | 15509 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15510 | conftest$ac_exeext conftest.$ac_ext | ||
9922 | LIBS=$ac_check_lib_save_LIBS | 15511 | LIBS=$ac_check_lib_save_LIBS |
9923 | fi | 15512 | fi |
9924 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_el_init" >&5 | 15513 | { echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 |
9925 | $as_echo "$ac_cv_lib_edit_el_init" >&6; } | 15514 | echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6; } |
9926 | if test "x$ac_cv_lib_edit_el_init" = xyes; then : | 15515 | if test $ac_cv_lib_edit_el_init = yes; then |
9927 | 15516 | ||
9928 | $as_echo "#define USE_LIBEDIT 1" >>confdefs.h | 15517 | cat >>confdefs.h <<\_ACEOF |
15518 | #define USE_LIBEDIT 1 | ||
15519 | _ACEOF | ||
9929 | 15520 | ||
9930 | LIBEDIT_MSG="yes" | 15521 | LIBEDIT_MSG="yes" |
9931 | 15522 | ||
9932 | 15523 | ||
9933 | else | 15524 | else |
9934 | as_fn_error $? "libedit not found" "$LINENO" 5 | 15525 | { { echo "$as_me:$LINENO: error: libedit not found" >&5 |
15526 | echo "$as_me: error: libedit not found" >&2;} | ||
15527 | { (exit 1); exit 1; }; } | ||
9935 | fi | 15528 | fi |
9936 | 15529 | ||
9937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libedit version is compatible" >&5 | 15530 | { echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 |
9938 | $as_echo_n "checking if libedit version is compatible... " >&6; } | 15531 | echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6; } |
9939 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15532 | cat >conftest.$ac_ext <<_ACEOF |
15533 | /* confdefs.h. */ | ||
15534 | _ACEOF | ||
15535 | cat confdefs.h >>conftest.$ac_ext | ||
15536 | cat >>conftest.$ac_ext <<_ACEOF | ||
9940 | /* end confdefs.h. */ | 15537 | /* end confdefs.h. */ |
9941 | #include <histedit.h> | 15538 | #include <histedit.h> |
9942 | int | 15539 | int |
@@ -9951,15 +15548,37 @@ main () | |||
9951 | return 0; | 15548 | return 0; |
9952 | } | 15549 | } |
9953 | _ACEOF | 15550 | _ACEOF |
9954 | if ac_fn_c_try_compile "$LINENO"; then : | 15551 | rm -f conftest.$ac_objext |
9955 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 15552 | if { (ac_try="$ac_compile" |
9956 | $as_echo "yes" >&6; } | 15553 | case "(($ac_try" in |
15554 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15555 | *) ac_try_echo=$ac_try;; | ||
15556 | esac | ||
15557 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15558 | (eval "$ac_compile") 2>conftest.er1 | ||
15559 | ac_status=$? | ||
15560 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15561 | rm -f conftest.er1 | ||
15562 | cat conftest.err >&5 | ||
15563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15564 | (exit $ac_status); } && { | ||
15565 | test -z "$ac_c_werror_flag" || | ||
15566 | test ! -s conftest.err | ||
15567 | } && test -s conftest.$ac_objext; then | ||
15568 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
15569 | echo "${ECHO_T}yes" >&6; } | ||
9957 | else | 15570 | else |
9958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15571 | echo "$as_me: failed program was:" >&5 |
9959 | $as_echo "no" >&6; } | 15572 | sed 's/^/| /' conftest.$ac_ext >&5 |
9960 | as_fn_error $? "libedit version is not compatible" "$LINENO" 5 | 15573 | |
15574 | { echo "$as_me:$LINENO: result: no" >&5 | ||
15575 | echo "${ECHO_T}no" >&6; } | ||
15576 | { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 | ||
15577 | echo "$as_me: error: libedit version is not compatible" >&2;} | ||
15578 | { (exit 1); exit 1; }; } | ||
9961 | 15579 | ||
9962 | fi | 15580 | fi |
15581 | |||
9963 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 15582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9964 | fi | 15583 | fi |
9965 | 15584 | ||
@@ -9969,43 +15588,95 @@ fi | |||
9969 | AUDIT_MODULE=none | 15588 | AUDIT_MODULE=none |
9970 | 15589 | ||
9971 | # Check whether --with-audit was given. | 15590 | # Check whether --with-audit was given. |
9972 | if test "${with_audit+set}" = set; then : | 15591 | if test "${with_audit+set}" = set; then |
9973 | withval=$with_audit; | 15592 | withval=$with_audit; |
9974 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported audit module" >&5 | 15593 | { echo "$as_me:$LINENO: checking for supported audit module" >&5 |
9975 | $as_echo_n "checking for supported audit module... " >&6; } | 15594 | echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6; } |
9976 | case "$withval" in | 15595 | case "$withval" in |
9977 | bsm) | 15596 | bsm) |
9978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: bsm" >&5 | 15597 | { echo "$as_me:$LINENO: result: bsm" >&5 |
9979 | $as_echo "bsm" >&6; } | 15598 | echo "${ECHO_T}bsm" >&6; } |
9980 | AUDIT_MODULE=bsm | 15599 | AUDIT_MODULE=bsm |
9981 | for ac_header in bsm/audit.h | 15600 | |
9982 | do : | 15601 | for ac_header in bsm/audit.h |
9983 | ac_fn_c_check_header_compile "$LINENO" "bsm/audit.h" "ac_cv_header_bsm_audit_h" " | 15602 | do |
15603 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | ||
15604 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15605 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
15606 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
15607 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15608 | else | ||
15609 | cat >conftest.$ac_ext <<_ACEOF | ||
15610 | /* confdefs.h. */ | ||
15611 | _ACEOF | ||
15612 | cat confdefs.h >>conftest.$ac_ext | ||
15613 | cat >>conftest.$ac_ext <<_ACEOF | ||
15614 | /* end confdefs.h. */ | ||
15615 | |||
9984 | #ifdef HAVE_TIME_H | 15616 | #ifdef HAVE_TIME_H |
9985 | # include <time.h> | 15617 | # include <time.h> |
9986 | #endif | 15618 | #endif |
9987 | 15619 | ||
9988 | 15620 | ||
9989 | " | 15621 | |
9990 | if test "x$ac_cv_header_bsm_audit_h" = xyes; then : | 15622 | #include <$ac_header> |
15623 | _ACEOF | ||
15624 | rm -f conftest.$ac_objext | ||
15625 | if { (ac_try="$ac_compile" | ||
15626 | case "(($ac_try" in | ||
15627 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15628 | *) ac_try_echo=$ac_try;; | ||
15629 | esac | ||
15630 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15631 | (eval "$ac_compile") 2>conftest.er1 | ||
15632 | ac_status=$? | ||
15633 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15634 | rm -f conftest.er1 | ||
15635 | cat conftest.err >&5 | ||
15636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15637 | (exit $ac_status); } && { | ||
15638 | test -z "$ac_c_werror_flag" || | ||
15639 | test ! -s conftest.err | ||
15640 | } && test -s conftest.$ac_objext; then | ||
15641 | eval "$as_ac_Header=yes" | ||
15642 | else | ||
15643 | echo "$as_me: failed program was:" >&5 | ||
15644 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15645 | |||
15646 | eval "$as_ac_Header=no" | ||
15647 | fi | ||
15648 | |||
15649 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
15650 | fi | ||
15651 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
15652 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
15653 | echo "${ECHO_T}$ac_res" >&6; } | ||
15654 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
9991 | cat >>confdefs.h <<_ACEOF | 15655 | cat >>confdefs.h <<_ACEOF |
9992 | #define HAVE_BSM_AUDIT_H 1 | 15656 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9993 | _ACEOF | 15657 | _ACEOF |
9994 | 15658 | ||
9995 | else | 15659 | else |
9996 | as_fn_error $? "BSM enabled and bsm/audit.h not found" "$LINENO" 5 | 15660 | { { echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5 |
15661 | echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;} | ||
15662 | { (exit 1); exit 1; }; } | ||
9997 | fi | 15663 | fi |
9998 | 15664 | ||
9999 | done | 15665 | done |
10000 | 15666 | ||
10001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaudit in -lbsm" >&5 | 15667 | |
10002 | $as_echo_n "checking for getaudit in -lbsm... " >&6; } | 15668 | { echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 |
10003 | if ${ac_cv_lib_bsm_getaudit+:} false; then : | 15669 | echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6; } |
10004 | $as_echo_n "(cached) " >&6 | 15670 | if test "${ac_cv_lib_bsm_getaudit+set}" = set; then |
15671 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10005 | else | 15672 | else |
10006 | ac_check_lib_save_LIBS=$LIBS | 15673 | ac_check_lib_save_LIBS=$LIBS |
10007 | LIBS="-lbsm $LIBS" | 15674 | LIBS="-lbsm $LIBS" |
10008 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 15675 | cat >conftest.$ac_ext <<_ACEOF |
15676 | /* confdefs.h. */ | ||
15677 | _ACEOF | ||
15678 | cat confdefs.h >>conftest.$ac_ext | ||
15679 | cat >>conftest.$ac_ext <<_ACEOF | ||
10009 | /* end confdefs.h. */ | 15680 | /* end confdefs.h. */ |
10010 | 15681 | ||
10011 | /* Override any GCC internal prototype to avoid an error. | 15682 | /* Override any GCC internal prototype to avoid an error. |
@@ -10023,18 +15694,39 @@ return getaudit (); | |||
10023 | return 0; | 15694 | return 0; |
10024 | } | 15695 | } |
10025 | _ACEOF | 15696 | _ACEOF |
10026 | if ac_fn_c_try_link "$LINENO"; then : | 15697 | rm -f conftest.$ac_objext conftest$ac_exeext |
15698 | if { (ac_try="$ac_link" | ||
15699 | case "(($ac_try" in | ||
15700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15701 | *) ac_try_echo=$ac_try;; | ||
15702 | esac | ||
15703 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15704 | (eval "$ac_link") 2>conftest.er1 | ||
15705 | ac_status=$? | ||
15706 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15707 | rm -f conftest.er1 | ||
15708 | cat conftest.err >&5 | ||
15709 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15710 | (exit $ac_status); } && { | ||
15711 | test -z "$ac_c_werror_flag" || | ||
15712 | test ! -s conftest.err | ||
15713 | } && test -s conftest$ac_exeext && | ||
15714 | $as_test_x conftest$ac_exeext; then | ||
10027 | ac_cv_lib_bsm_getaudit=yes | 15715 | ac_cv_lib_bsm_getaudit=yes |
10028 | else | 15716 | else |
10029 | ac_cv_lib_bsm_getaudit=no | 15717 | echo "$as_me: failed program was:" >&5 |
15718 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15719 | |||
15720 | ac_cv_lib_bsm_getaudit=no | ||
10030 | fi | 15721 | fi |
10031 | rm -f core conftest.err conftest.$ac_objext \ | 15722 | |
10032 | conftest$ac_exeext conftest.$ac_ext | 15723 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
15724 | conftest$ac_exeext conftest.$ac_ext | ||
10033 | LIBS=$ac_check_lib_save_LIBS | 15725 | LIBS=$ac_check_lib_save_LIBS |
10034 | fi | 15726 | fi |
10035 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsm_getaudit" >&5 | 15727 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 |
10036 | $as_echo "$ac_cv_lib_bsm_getaudit" >&6; } | 15728 | echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6; } |
10037 | if test "x$ac_cv_lib_bsm_getaudit" = xyes; then : | 15729 | if test $ac_cv_lib_bsm_getaudit = yes; then |
10038 | cat >>confdefs.h <<_ACEOF | 15730 | cat >>confdefs.h <<_ACEOF |
10039 | #define HAVE_LIBBSM 1 | 15731 | #define HAVE_LIBBSM 1 |
10040 | _ACEOF | 15732 | _ACEOF |
@@ -10042,55 +15734,362 @@ _ACEOF | |||
10042 | LIBS="-lbsm $LIBS" | 15734 | LIBS="-lbsm $LIBS" |
10043 | 15735 | ||
10044 | else | 15736 | else |
10045 | as_fn_error $? "BSM enabled and required library not found" "$LINENO" 5 | 15737 | { { echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5 |
15738 | echo "$as_me: error: BSM enabled and required library not found" >&2;} | ||
15739 | { (exit 1); exit 1; }; } | ||
15740 | fi | ||
15741 | |||
15742 | |||
15743 | for ac_func in getaudit | ||
15744 | do | ||
15745 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
15746 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
15747 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
15748 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
15749 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15750 | else | ||
15751 | cat >conftest.$ac_ext <<_ACEOF | ||
15752 | /* confdefs.h. */ | ||
15753 | _ACEOF | ||
15754 | cat confdefs.h >>conftest.$ac_ext | ||
15755 | cat >>conftest.$ac_ext <<_ACEOF | ||
15756 | /* end confdefs.h. */ | ||
15757 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
15758 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
15759 | #define $ac_func innocuous_$ac_func | ||
15760 | |||
15761 | /* System header to define __stub macros and hopefully few prototypes, | ||
15762 | which can conflict with char $ac_func (); below. | ||
15763 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
15764 | <limits.h> exists even on freestanding compilers. */ | ||
15765 | |||
15766 | #ifdef __STDC__ | ||
15767 | # include <limits.h> | ||
15768 | #else | ||
15769 | # include <assert.h> | ||
15770 | #endif | ||
15771 | |||
15772 | #undef $ac_func | ||
15773 | |||
15774 | /* Override any GCC internal prototype to avoid an error. | ||
15775 | Use char because int might match the return type of a GCC | ||
15776 | builtin and then its argument prototype would still apply. */ | ||
15777 | #ifdef __cplusplus | ||
15778 | extern "C" | ||
15779 | #endif | ||
15780 | char $ac_func (); | ||
15781 | /* The GNU C library defines this for functions which it implements | ||
15782 | to always fail with ENOSYS. Some functions are actually named | ||
15783 | something starting with __ and the normal name is an alias. */ | ||
15784 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
15785 | choke me | ||
15786 | #endif | ||
15787 | |||
15788 | int | ||
15789 | main () | ||
15790 | { | ||
15791 | return $ac_func (); | ||
15792 | ; | ||
15793 | return 0; | ||
15794 | } | ||
15795 | _ACEOF | ||
15796 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15797 | if { (ac_try="$ac_link" | ||
15798 | case "(($ac_try" in | ||
15799 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15800 | *) ac_try_echo=$ac_try;; | ||
15801 | esac | ||
15802 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15803 | (eval "$ac_link") 2>conftest.er1 | ||
15804 | ac_status=$? | ||
15805 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15806 | rm -f conftest.er1 | ||
15807 | cat conftest.err >&5 | ||
15808 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15809 | (exit $ac_status); } && { | ||
15810 | test -z "$ac_c_werror_flag" || | ||
15811 | test ! -s conftest.err | ||
15812 | } && test -s conftest$ac_exeext && | ||
15813 | $as_test_x conftest$ac_exeext; then | ||
15814 | eval "$as_ac_var=yes" | ||
15815 | else | ||
15816 | echo "$as_me: failed program was:" >&5 | ||
15817 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15818 | |||
15819 | eval "$as_ac_var=no" | ||
10046 | fi | 15820 | fi |
10047 | 15821 | ||
10048 | for ac_func in getaudit | 15822 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10049 | do : | 15823 | conftest$ac_exeext conftest.$ac_ext |
10050 | ac_fn_c_check_func "$LINENO" "getaudit" "ac_cv_func_getaudit" | 15824 | fi |
10051 | if test "x$ac_cv_func_getaudit" = xyes; then : | 15825 | ac_res=`eval echo '${'$as_ac_var'}'` |
15826 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
15827 | echo "${ECHO_T}$ac_res" >&6; } | ||
15828 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10052 | cat >>confdefs.h <<_ACEOF | 15829 | cat >>confdefs.h <<_ACEOF |
10053 | #define HAVE_GETAUDIT 1 | 15830 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10054 | _ACEOF | 15831 | _ACEOF |
10055 | 15832 | ||
10056 | else | 15833 | else |
10057 | as_fn_error $? "BSM enabled and required function not found" "$LINENO" 5 | 15834 | { { echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5 |
15835 | echo "$as_me: error: BSM enabled and required function not found" >&2;} | ||
15836 | { (exit 1); exit 1; }; } | ||
10058 | fi | 15837 | fi |
10059 | done | 15838 | done |
10060 | 15839 | ||
10061 | # These are optional | 15840 | # These are optional |
10062 | for ac_func in getaudit_addr aug_get_machine | 15841 | |
10063 | do : | 15842 | |
10064 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15843 | for ac_func in getaudit_addr aug_get_machine |
10065 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 15844 | do |
10066 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 15845 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15846 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
15847 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
15848 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
15849 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15850 | else | ||
15851 | cat >conftest.$ac_ext <<_ACEOF | ||
15852 | /* confdefs.h. */ | ||
15853 | _ACEOF | ||
15854 | cat confdefs.h >>conftest.$ac_ext | ||
15855 | cat >>conftest.$ac_ext <<_ACEOF | ||
15856 | /* end confdefs.h. */ | ||
15857 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
15858 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
15859 | #define $ac_func innocuous_$ac_func | ||
15860 | |||
15861 | /* System header to define __stub macros and hopefully few prototypes, | ||
15862 | which can conflict with char $ac_func (); below. | ||
15863 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
15864 | <limits.h> exists even on freestanding compilers. */ | ||
15865 | |||
15866 | #ifdef __STDC__ | ||
15867 | # include <limits.h> | ||
15868 | #else | ||
15869 | # include <assert.h> | ||
15870 | #endif | ||
15871 | |||
15872 | #undef $ac_func | ||
15873 | |||
15874 | /* Override any GCC internal prototype to avoid an error. | ||
15875 | Use char because int might match the return type of a GCC | ||
15876 | builtin and then its argument prototype would still apply. */ | ||
15877 | #ifdef __cplusplus | ||
15878 | extern "C" | ||
15879 | #endif | ||
15880 | char $ac_func (); | ||
15881 | /* The GNU C library defines this for functions which it implements | ||
15882 | to always fail with ENOSYS. Some functions are actually named | ||
15883 | something starting with __ and the normal name is an alias. */ | ||
15884 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
15885 | choke me | ||
15886 | #endif | ||
15887 | |||
15888 | int | ||
15889 | main () | ||
15890 | { | ||
15891 | return $ac_func (); | ||
15892 | ; | ||
15893 | return 0; | ||
15894 | } | ||
15895 | _ACEOF | ||
15896 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
15897 | if { (ac_try="$ac_link" | ||
15898 | case "(($ac_try" in | ||
15899 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15900 | *) ac_try_echo=$ac_try;; | ||
15901 | esac | ||
15902 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15903 | (eval "$ac_link") 2>conftest.er1 | ||
15904 | ac_status=$? | ||
15905 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15906 | rm -f conftest.er1 | ||
15907 | cat conftest.err >&5 | ||
15908 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15909 | (exit $ac_status); } && { | ||
15910 | test -z "$ac_c_werror_flag" || | ||
15911 | test ! -s conftest.err | ||
15912 | } && test -s conftest$ac_exeext && | ||
15913 | $as_test_x conftest$ac_exeext; then | ||
15914 | eval "$as_ac_var=yes" | ||
15915 | else | ||
15916 | echo "$as_me: failed program was:" >&5 | ||
15917 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15918 | |||
15919 | eval "$as_ac_var=no" | ||
15920 | fi | ||
15921 | |||
15922 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
15923 | conftest$ac_exeext conftest.$ac_ext | ||
15924 | fi | ||
15925 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
15926 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
15927 | echo "${ECHO_T}$ac_res" >&6; } | ||
15928 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10067 | cat >>confdefs.h <<_ACEOF | 15929 | cat >>confdefs.h <<_ACEOF |
10068 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 15930 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10069 | _ACEOF | 15931 | _ACEOF |
10070 | 15932 | ||
10071 | fi | 15933 | fi |
10072 | done | 15934 | done |
10073 | 15935 | ||
10074 | 15936 | ||
10075 | $as_echo "#define USE_BSM_AUDIT 1" >>confdefs.h | 15937 | cat >>confdefs.h <<\_ACEOF |
15938 | #define USE_BSM_AUDIT 1 | ||
15939 | _ACEOF | ||
10076 | 15940 | ||
10077 | if test "$sol2ver" -ge 11; then | 15941 | if test "$sol2ver" -ge 11; then |
10078 | SSHDLIBS="$SSHDLIBS -lscf" | 15942 | SSHDLIBS="$SSHDLIBS -lscf" |
10079 | 15943 | ||
10080 | $as_echo "#define BROKEN_BSM_API 1" >>confdefs.h | 15944 | cat >>confdefs.h <<\_ACEOF |
15945 | #define BROKEN_BSM_API 1 | ||
15946 | _ACEOF | ||
10081 | 15947 | ||
10082 | fi | 15948 | fi |
10083 | ;; | 15949 | ;; |
10084 | linux) | 15950 | linux) |
10085 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: linux" >&5 | 15951 | { echo "$as_me:$LINENO: result: linux" >&5 |
10086 | $as_echo "linux" >&6; } | 15952 | echo "${ECHO_T}linux" >&6; } |
10087 | AUDIT_MODULE=linux | 15953 | AUDIT_MODULE=linux |
10088 | for ac_header in libaudit.h | 15954 | |
10089 | do : | 15955 | for ac_header in libaudit.h |
10090 | ac_fn_c_check_header_mongrel "$LINENO" "libaudit.h" "ac_cv_header_libaudit_h" "$ac_includes_default" | 15956 | do |
10091 | if test "x$ac_cv_header_libaudit_h" = xyes; then : | 15957 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
15958 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
15959 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
15960 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
15961 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
15962 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15963 | fi | ||
15964 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
15965 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
15966 | echo "${ECHO_T}$ac_res" >&6; } | ||
15967 | else | ||
15968 | # Is the header compilable? | ||
15969 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
15970 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
15971 | cat >conftest.$ac_ext <<_ACEOF | ||
15972 | /* confdefs.h. */ | ||
15973 | _ACEOF | ||
15974 | cat confdefs.h >>conftest.$ac_ext | ||
15975 | cat >>conftest.$ac_ext <<_ACEOF | ||
15976 | /* end confdefs.h. */ | ||
15977 | $ac_includes_default | ||
15978 | #include <$ac_header> | ||
15979 | _ACEOF | ||
15980 | rm -f conftest.$ac_objext | ||
15981 | if { (ac_try="$ac_compile" | ||
15982 | case "(($ac_try" in | ||
15983 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
15984 | *) ac_try_echo=$ac_try;; | ||
15985 | esac | ||
15986 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
15987 | (eval "$ac_compile") 2>conftest.er1 | ||
15988 | ac_status=$? | ||
15989 | grep -v '^ *+' conftest.er1 >conftest.err | ||
15990 | rm -f conftest.er1 | ||
15991 | cat conftest.err >&5 | ||
15992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
15993 | (exit $ac_status); } && { | ||
15994 | test -z "$ac_c_werror_flag" || | ||
15995 | test ! -s conftest.err | ||
15996 | } && test -s conftest.$ac_objext; then | ||
15997 | ac_header_compiler=yes | ||
15998 | else | ||
15999 | echo "$as_me: failed program was:" >&5 | ||
16000 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16001 | |||
16002 | ac_header_compiler=no | ||
16003 | fi | ||
16004 | |||
16005 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16006 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
16007 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
16008 | |||
16009 | # Is the header present? | ||
16010 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
16011 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
16012 | cat >conftest.$ac_ext <<_ACEOF | ||
16013 | /* confdefs.h. */ | ||
16014 | _ACEOF | ||
16015 | cat confdefs.h >>conftest.$ac_ext | ||
16016 | cat >>conftest.$ac_ext <<_ACEOF | ||
16017 | /* end confdefs.h. */ | ||
16018 | #include <$ac_header> | ||
16019 | _ACEOF | ||
16020 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
16021 | case "(($ac_try" in | ||
16022 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16023 | *) ac_try_echo=$ac_try;; | ||
16024 | esac | ||
16025 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16026 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
16027 | ac_status=$? | ||
16028 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16029 | rm -f conftest.er1 | ||
16030 | cat conftest.err >&5 | ||
16031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16032 | (exit $ac_status); } >/dev/null && { | ||
16033 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
16034 | test ! -s conftest.err | ||
16035 | }; then | ||
16036 | ac_header_preproc=yes | ||
16037 | else | ||
16038 | echo "$as_me: failed program was:" >&5 | ||
16039 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16040 | |||
16041 | ac_header_preproc=no | ||
16042 | fi | ||
16043 | |||
16044 | rm -f conftest.err conftest.$ac_ext | ||
16045 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
16046 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
16047 | |||
16048 | # So? What about this header? | ||
16049 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
16050 | yes:no: ) | ||
16051 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
16052 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
16053 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
16054 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
16055 | ac_header_preproc=yes | ||
16056 | ;; | ||
16057 | no:yes:* ) | ||
16058 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
16059 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
16060 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
16061 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
16062 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
16063 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
16064 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
16065 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
16066 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
16067 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
16068 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
16069 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
16070 | ( cat <<\_ASBOX | ||
16071 | ## ------------------------------------------- ## | ||
16072 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
16073 | ## ------------------------------------------- ## | ||
16074 | _ASBOX | ||
16075 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
16076 | ;; | ||
16077 | esac | ||
16078 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
16079 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
16080 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16081 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16082 | else | ||
16083 | eval "$as_ac_Header=\$ac_header_preproc" | ||
16084 | fi | ||
16085 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
16086 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16087 | echo "${ECHO_T}$ac_res" >&6; } | ||
16088 | |||
16089 | fi | ||
16090 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
10092 | cat >>confdefs.h <<_ACEOF | 16091 | cat >>confdefs.h <<_ACEOF |
10093 | #define HAVE_LIBAUDIT_H 1 | 16092 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10094 | _ACEOF | 16093 | _ACEOF |
10095 | 16094 | ||
10096 | fi | 16095 | fi |
@@ -10099,23 +16098,29 @@ done | |||
10099 | 16098 | ||
10100 | SSHDLIBS="$SSHDLIBS -laudit" | 16099 | SSHDLIBS="$SSHDLIBS -laudit" |
10101 | 16100 | ||
10102 | $as_echo "#define USE_LINUX_AUDIT 1" >>confdefs.h | 16101 | cat >>confdefs.h <<\_ACEOF |
16102 | #define USE_LINUX_AUDIT 1 | ||
16103 | _ACEOF | ||
10103 | 16104 | ||
10104 | ;; | 16105 | ;; |
10105 | debug) | 16106 | debug) |
10106 | AUDIT_MODULE=debug | 16107 | AUDIT_MODULE=debug |
10107 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: debug" >&5 | 16108 | { echo "$as_me:$LINENO: result: debug" >&5 |
10108 | $as_echo "debug" >&6; } | 16109 | echo "${ECHO_T}debug" >&6; } |
10109 | 16110 | ||
10110 | $as_echo "#define SSH_AUDIT_EVENTS 1" >>confdefs.h | 16111 | cat >>confdefs.h <<\_ACEOF |
16112 | #define SSH_AUDIT_EVENTS 1 | ||
16113 | _ACEOF | ||
10111 | 16114 | ||
10112 | ;; | 16115 | ;; |
10113 | no) | 16116 | no) |
10114 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 16117 | { echo "$as_me:$LINENO: result: no" >&5 |
10115 | $as_echo "no" >&6; } | 16118 | echo "${ECHO_T}no" >&6; } |
10116 | ;; | 16119 | ;; |
10117 | *) | 16120 | *) |
10118 | as_fn_error $? "Unknown audit module $withval" "$LINENO" 5 | 16121 | { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 |
16122 | echo "$as_me: error: Unknown audit module $withval" >&2;} | ||
16123 | { (exit 1); exit 1; }; } | ||
10119 | ;; | 16124 | ;; |
10120 | esac | 16125 | esac |
10121 | 16126 | ||
@@ -10124,7 +16129,7 @@ fi | |||
10124 | 16129 | ||
10125 | 16130 | ||
10126 | # Check whether --with-pie was given. | 16131 | # Check whether --with-pie was given. |
10127 | if test "${with_pie+set}" = set; then : | 16132 | if test "${with_pie+set}" = set; then |
10128 | withval=$with_pie; | 16133 | withval=$with_pie; |
10129 | if test "x$withval" = "xno"; then | 16134 | if test "x$withval" = "xno"; then |
10130 | use_pie=no | 16135 | use_pie=no |
@@ -10145,9 +16150,13 @@ if test "x$use_toolchain_hardening" != "x1" && test "x$use_pie" = "xauto"; then | |||
10145 | fi | 16150 | fi |
10146 | if test "x$use_pie" = "xauto"; then | 16151 | if test "x$use_pie" = "xauto"; then |
10147 | # Automatic PIE requires gcc >= 4.x | 16152 | # Automatic PIE requires gcc >= 4.x |
10148 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.x" >&5 | 16153 | { echo "$as_me:$LINENO: checking for gcc >= 4.x" >&5 |
10149 | $as_echo_n "checking for gcc >= 4.x... " >&6; } | 16154 | echo $ECHO_N "checking for gcc >= 4.x... $ECHO_C" >&6; } |
10150 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16155 | cat >conftest.$ac_ext <<_ACEOF |
16156 | /* confdefs.h. */ | ||
16157 | _ACEOF | ||
16158 | cat confdefs.h >>conftest.$ac_ext | ||
16159 | cat >>conftest.$ac_ext <<_ACEOF | ||
10151 | /* end confdefs.h. */ | 16160 | /* end confdefs.h. */ |
10152 | 16161 | ||
10153 | #if !defined(__GNUC__) || __GNUC__ < 4 | 16162 | #if !defined(__GNUC__) || __GNUC__ < 4 |
@@ -10155,28 +16164,52 @@ $as_echo_n "checking for gcc >= 4.x... " >&6; } | |||
10155 | #endif | 16164 | #endif |
10156 | 16165 | ||
10157 | _ACEOF | 16166 | _ACEOF |
10158 | if ac_fn_c_try_compile "$LINENO"; then : | 16167 | rm -f conftest.$ac_objext |
10159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 16168 | if { (ac_try="$ac_compile" |
10160 | $as_echo "yes" >&6; } | 16169 | case "(($ac_try" in |
16170 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16171 | *) ac_try_echo=$ac_try;; | ||
16172 | esac | ||
16173 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16174 | (eval "$ac_compile") 2>conftest.er1 | ||
16175 | ac_status=$? | ||
16176 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16177 | rm -f conftest.er1 | ||
16178 | cat conftest.err >&5 | ||
16179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16180 | (exit $ac_status); } && { | ||
16181 | test -z "$ac_c_werror_flag" || | ||
16182 | test ! -s conftest.err | ||
16183 | } && test -s conftest.$ac_objext; then | ||
16184 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16185 | echo "${ECHO_T}yes" >&6; } | ||
10161 | else | 16186 | else |
10162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 16187 | echo "$as_me: failed program was:" >&5 |
10163 | $as_echo "no" >&6; } | 16188 | sed 's/^/| /' conftest.$ac_ext >&5 |
16189 | |||
16190 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16191 | echo "${ECHO_T}no" >&6; } | ||
10164 | use_pie=no | 16192 | use_pie=no |
10165 | 16193 | ||
10166 | fi | 16194 | fi |
16195 | |||
10167 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16196 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10168 | fi | 16197 | fi |
10169 | if test "x$use_pie" != "xno"; then | 16198 | if test "x$use_pie" != "xno"; then |
10170 | SAVED_CFLAGS="$CFLAGS" | 16199 | SAVED_CFLAGS="$CFLAGS" |
10171 | SAVED_LDFLAGS="$LDFLAGS" | 16200 | SAVED_LDFLAGS="$LDFLAGS" |
10172 | { | 16201 | { |
10173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports compile flag -fPIE" >&5 | 16202 | { echo "$as_me:$LINENO: checking if $CC supports compile flag -fPIE" >&5 |
10174 | $as_echo_n "checking if $CC supports compile flag -fPIE... " >&6; } | 16203 | echo $ECHO_N "checking if $CC supports compile flag -fPIE... $ECHO_C" >&6; } |
10175 | saved_CFLAGS="$CFLAGS" | 16204 | saved_CFLAGS="$CFLAGS" |
10176 | CFLAGS="$CFLAGS $WERROR -fPIE" | 16205 | CFLAGS="$CFLAGS $WERROR -fPIE" |
10177 | _define_flag="" | 16206 | _define_flag="" |
10178 | test "x$_define_flag" = "x" && _define_flag="-fPIE" | 16207 | test "x$_define_flag" = "x" && _define_flag="-fPIE" |
10179 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16208 | cat >conftest.$ac_ext <<_ACEOF |
16209 | /* confdefs.h. */ | ||
16210 | _ACEOF | ||
16211 | cat confdefs.h >>conftest.$ac_ext | ||
16212 | cat >>conftest.$ac_ext <<_ACEOF | ||
10180 | /* end confdefs.h. */ | 16213 | /* end confdefs.h. */ |
10181 | 16214 | ||
10182 | #include <stdlib.h> | 16215 | #include <stdlib.h> |
@@ -10192,34 +16225,58 @@ int main(int argc, char **argv) { | |||
10192 | } | 16225 | } |
10193 | 16226 | ||
10194 | _ACEOF | 16227 | _ACEOF |
10195 | if ac_fn_c_try_compile "$LINENO"; then : | 16228 | rm -f conftest.$ac_objext |
16229 | if { (ac_try="$ac_compile" | ||
16230 | case "(($ac_try" in | ||
16231 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16232 | *) ac_try_echo=$ac_try;; | ||
16233 | esac | ||
16234 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16235 | (eval "$ac_compile") 2>conftest.er1 | ||
16236 | ac_status=$? | ||
16237 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16238 | rm -f conftest.er1 | ||
16239 | cat conftest.err >&5 | ||
16240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16241 | (exit $ac_status); } && { | ||
16242 | test -z "$ac_c_werror_flag" || | ||
16243 | test ! -s conftest.err | ||
16244 | } && test -s conftest.$ac_objext; then | ||
10196 | 16245 | ||
10197 | if `grep -i "unrecognized option" conftest.err >/dev/null` | 16246 | if `grep -i "unrecognized option" conftest.err >/dev/null` |
10198 | then | 16247 | then |
10199 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 16248 | { echo "$as_me:$LINENO: result: no" >&5 |
10200 | $as_echo "no" >&6; } | 16249 | echo "${ECHO_T}no" >&6; } |
10201 | CFLAGS="$saved_CFLAGS" | 16250 | CFLAGS="$saved_CFLAGS" |
10202 | else | 16251 | else |
10203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 16252 | { echo "$as_me:$LINENO: result: yes" >&5 |
10204 | $as_echo "yes" >&6; } | 16253 | echo "${ECHO_T}yes" >&6; } |
10205 | CFLAGS="$saved_CFLAGS $_define_flag" | 16254 | CFLAGS="$saved_CFLAGS $_define_flag" |
10206 | fi | 16255 | fi |
10207 | else | 16256 | else |
10208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 16257 | echo "$as_me: failed program was:" >&5 |
10209 | $as_echo "no" >&6; } | 16258 | sed 's/^/| /' conftest.$ac_ext >&5 |
16259 | |||
16260 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16261 | echo "${ECHO_T}no" >&6; } | ||
10210 | CFLAGS="$saved_CFLAGS" | 16262 | CFLAGS="$saved_CFLAGS" |
10211 | 16263 | ||
10212 | fi | 16264 | fi |
16265 | |||
10213 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16266 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10214 | } | 16267 | } |
10215 | { | 16268 | { |
10216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $LD supports link flag -pie" >&5 | 16269 | { echo "$as_me:$LINENO: checking if $LD supports link flag -pie" >&5 |
10217 | $as_echo_n "checking if $LD supports link flag -pie... " >&6; } | 16270 | echo $ECHO_N "checking if $LD supports link flag -pie... $ECHO_C" >&6; } |
10218 | saved_LDFLAGS="$LDFLAGS" | 16271 | saved_LDFLAGS="$LDFLAGS" |
10219 | LDFLAGS="$LDFLAGS $WERROR -pie" | 16272 | LDFLAGS="$LDFLAGS $WERROR -pie" |
10220 | _define_flag="" | 16273 | _define_flag="" |
10221 | test "x$_define_flag" = "x" && _define_flag="-pie" | 16274 | test "x$_define_flag" = "x" && _define_flag="-pie" |
10222 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16275 | cat >conftest.$ac_ext <<_ACEOF |
16276 | /* confdefs.h. */ | ||
16277 | _ACEOF | ||
16278 | cat confdefs.h >>conftest.$ac_ext | ||
16279 | cat >>conftest.$ac_ext <<_ACEOF | ||
10223 | /* end confdefs.h. */ | 16280 | /* end confdefs.h. */ |
10224 | 16281 | ||
10225 | #include <stdlib.h> | 16282 | #include <stdlib.h> |
@@ -10235,34 +16292,164 @@ int main(int argc, char **argv) { | |||
10235 | } | 16292 | } |
10236 | 16293 | ||
10237 | _ACEOF | 16294 | _ACEOF |
10238 | if ac_fn_c_try_link "$LINENO"; then : | 16295 | rm -f conftest.$ac_objext conftest$ac_exeext |
10239 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 16296 | if { (ac_try="$ac_link" |
10240 | $as_echo "yes" >&6; } | 16297 | case "(($ac_try" in |
16298 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16299 | *) ac_try_echo=$ac_try;; | ||
16300 | esac | ||
16301 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16302 | (eval "$ac_link") 2>conftest.er1 | ||
16303 | ac_status=$? | ||
16304 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16305 | rm -f conftest.er1 | ||
16306 | cat conftest.err >&5 | ||
16307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16308 | (exit $ac_status); } && { | ||
16309 | test -z "$ac_c_werror_flag" || | ||
16310 | test ! -s conftest.err | ||
16311 | } && test -s conftest$ac_exeext && | ||
16312 | $as_test_x conftest$ac_exeext; then | ||
16313 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
16314 | echo "${ECHO_T}yes" >&6; } | ||
10241 | LDFLAGS="$saved_LDFLAGS $_define_flag" | 16315 | LDFLAGS="$saved_LDFLAGS $_define_flag" |
10242 | else | 16316 | else |
10243 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 16317 | echo "$as_me: failed program was:" >&5 |
10244 | $as_echo "no" >&6; } | 16318 | sed 's/^/| /' conftest.$ac_ext >&5 |
16319 | |||
16320 | { echo "$as_me:$LINENO: result: no" >&5 | ||
16321 | echo "${ECHO_T}no" >&6; } | ||
10245 | LDFLAGS="$saved_LDFLAGS" | 16322 | LDFLAGS="$saved_LDFLAGS" |
10246 | 16323 | ||
10247 | fi | 16324 | fi |
10248 | rm -f core conftest.err conftest.$ac_objext \ | 16325 | |
10249 | conftest$ac_exeext conftest.$ac_ext | 16326 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16327 | conftest$ac_exeext conftest.$ac_ext | ||
10250 | } | 16328 | } |
10251 | # We use both -fPIE and -pie or neither. | 16329 | # We use both -fPIE and -pie or neither. |
10252 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether both -fPIE and -pie are supported" >&5 | 16330 | { echo "$as_me:$LINENO: checking whether both -fPIE and -pie are supported" >&5 |
10253 | $as_echo_n "checking whether both -fPIE and -pie are supported... " >&6; } | 16331 | echo $ECHO_N "checking whether both -fPIE and -pie are supported... $ECHO_C" >&6; } |
10254 | if echo "x $CFLAGS" | grep ' -fPIE' >/dev/null 2>&1 && \ | 16332 | if echo "x $CFLAGS" | grep ' -fPIE' >/dev/null 2>&1 && \ |
10255 | echo "x $LDFLAGS" | grep ' -pie' >/dev/null 2>&1 ; then | 16333 | echo "x $LDFLAGS" | grep ' -pie' >/dev/null 2>&1 ; then |
10256 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 16334 | { echo "$as_me:$LINENO: result: yes" >&5 |
10257 | $as_echo "yes" >&6; } | 16335 | echo "${ECHO_T}yes" >&6; } |
10258 | else | 16336 | else |
10259 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 16337 | { echo "$as_me:$LINENO: result: no" >&5 |
10260 | $as_echo "no" >&6; } | 16338 | echo "${ECHO_T}no" >&6; } |
10261 | CFLAGS="$SAVED_CFLAGS" | 16339 | CFLAGS="$SAVED_CFLAGS" |
10262 | LDFLAGS="$SAVED_LDFLAGS" | 16340 | LDFLAGS="$SAVED_LDFLAGS" |
10263 | fi | 16341 | fi |
10264 | fi | 16342 | fi |
10265 | 16343 | ||
16344 | |||
16345 | |||
16346 | |||
16347 | |||
16348 | |||
16349 | |||
16350 | |||
16351 | |||
16352 | |||
16353 | |||
16354 | |||
16355 | |||
16356 | |||
16357 | |||
16358 | |||
16359 | |||
16360 | |||
16361 | |||
16362 | |||
16363 | |||
16364 | |||
16365 | |||
16366 | |||
16367 | |||
16368 | |||
16369 | |||
16370 | |||
16371 | |||
16372 | |||
16373 | |||
16374 | |||
16375 | |||
16376 | |||
16377 | |||
16378 | |||
16379 | |||
16380 | |||
16381 | |||
16382 | |||
16383 | |||
16384 | |||
16385 | |||
16386 | |||
16387 | |||
16388 | |||
16389 | |||
16390 | |||
16391 | |||
16392 | |||
16393 | |||
16394 | |||
16395 | |||
16396 | |||
16397 | |||
16398 | |||
16399 | |||
16400 | |||
16401 | |||
16402 | |||
16403 | |||
16404 | |||
16405 | |||
16406 | |||
16407 | |||
16408 | |||
16409 | |||
16410 | |||
16411 | |||
16412 | |||
16413 | |||
16414 | |||
16415 | |||
16416 | |||
16417 | |||
16418 | |||
16419 | |||
16420 | |||
16421 | |||
16422 | |||
16423 | |||
16424 | |||
16425 | |||
16426 | |||
16427 | |||
16428 | |||
16429 | |||
16430 | |||
16431 | |||
16432 | |||
16433 | |||
16434 | |||
16435 | |||
16436 | |||
16437 | |||
16438 | |||
16439 | |||
16440 | |||
16441 | |||
16442 | |||
16443 | |||
16444 | |||
16445 | |||
16446 | |||
16447 | |||
16448 | |||
16449 | |||
16450 | |||
16451 | |||
16452 | |||
10266 | for ac_func in \ | 16453 | for ac_func in \ |
10267 | Blowfish_initstate \ | 16454 | Blowfish_initstate \ |
10268 | Blowfish_expandstate \ | 16455 | Blowfish_expandstate \ |
@@ -10322,6 +16509,7 @@ for ac_func in \ | |||
10322 | prctl \ | 16509 | prctl \ |
10323 | pstat \ | 16510 | pstat \ |
10324 | readpassphrase \ | 16511 | readpassphrase \ |
16512 | reallocarray \ | ||
10325 | realpath \ | 16513 | realpath \ |
10326 | recvmsg \ | 16514 | recvmsg \ |
10327 | rresvport_af \ | 16515 | rresvport_af \ |
@@ -10373,19 +16561,104 @@ for ac_func in \ | |||
10373 | vsnprintf \ | 16561 | vsnprintf \ |
10374 | waitpid \ | 16562 | waitpid \ |
10375 | 16563 | ||
10376 | do : | 16564 | do |
10377 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16565 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10378 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 16566 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10379 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 16567 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
16568 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16569 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16570 | else | ||
16571 | cat >conftest.$ac_ext <<_ACEOF | ||
16572 | /* confdefs.h. */ | ||
16573 | _ACEOF | ||
16574 | cat confdefs.h >>conftest.$ac_ext | ||
16575 | cat >>conftest.$ac_ext <<_ACEOF | ||
16576 | /* end confdefs.h. */ | ||
16577 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16578 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16579 | #define $ac_func innocuous_$ac_func | ||
16580 | |||
16581 | /* System header to define __stub macros and hopefully few prototypes, | ||
16582 | which can conflict with char $ac_func (); below. | ||
16583 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16584 | <limits.h> exists even on freestanding compilers. */ | ||
16585 | |||
16586 | #ifdef __STDC__ | ||
16587 | # include <limits.h> | ||
16588 | #else | ||
16589 | # include <assert.h> | ||
16590 | #endif | ||
16591 | |||
16592 | #undef $ac_func | ||
16593 | |||
16594 | /* Override any GCC internal prototype to avoid an error. | ||
16595 | Use char because int might match the return type of a GCC | ||
16596 | builtin and then its argument prototype would still apply. */ | ||
16597 | #ifdef __cplusplus | ||
16598 | extern "C" | ||
16599 | #endif | ||
16600 | char $ac_func (); | ||
16601 | /* The GNU C library defines this for functions which it implements | ||
16602 | to always fail with ENOSYS. Some functions are actually named | ||
16603 | something starting with __ and the normal name is an alias. */ | ||
16604 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16605 | choke me | ||
16606 | #endif | ||
16607 | |||
16608 | int | ||
16609 | main () | ||
16610 | { | ||
16611 | return $ac_func (); | ||
16612 | ; | ||
16613 | return 0; | ||
16614 | } | ||
16615 | _ACEOF | ||
16616 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16617 | if { (ac_try="$ac_link" | ||
16618 | case "(($ac_try" in | ||
16619 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16620 | *) ac_try_echo=$ac_try;; | ||
16621 | esac | ||
16622 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16623 | (eval "$ac_link") 2>conftest.er1 | ||
16624 | ac_status=$? | ||
16625 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16626 | rm -f conftest.er1 | ||
16627 | cat conftest.err >&5 | ||
16628 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16629 | (exit $ac_status); } && { | ||
16630 | test -z "$ac_c_werror_flag" || | ||
16631 | test ! -s conftest.err | ||
16632 | } && test -s conftest$ac_exeext && | ||
16633 | $as_test_x conftest$ac_exeext; then | ||
16634 | eval "$as_ac_var=yes" | ||
16635 | else | ||
16636 | echo "$as_me: failed program was:" >&5 | ||
16637 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16638 | |||
16639 | eval "$as_ac_var=no" | ||
16640 | fi | ||
16641 | |||
16642 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16643 | conftest$ac_exeext conftest.$ac_ext | ||
16644 | fi | ||
16645 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16646 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16647 | echo "${ECHO_T}$ac_res" >&6; } | ||
16648 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10380 | cat >>confdefs.h <<_ACEOF | 16649 | cat >>confdefs.h <<_ACEOF |
10381 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16650 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10382 | _ACEOF | 16651 | _ACEOF |
10383 | 16652 | ||
10384 | fi | 16653 | fi |
10385 | done | 16654 | done |
10386 | 16655 | ||
10387 | 16656 | ||
10388 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16657 | cat >conftest.$ac_ext <<_ACEOF |
16658 | /* confdefs.h. */ | ||
16659 | _ACEOF | ||
16660 | cat confdefs.h >>conftest.$ac_ext | ||
16661 | cat >>conftest.$ac_ext <<_ACEOF | ||
10389 | /* end confdefs.h. */ | 16662 | /* end confdefs.h. */ |
10390 | #include <ctype.h> | 16663 | #include <ctype.h> |
10391 | int | 16664 | int |
@@ -10396,23 +16669,54 @@ main () | |||
10396 | return 0; | 16669 | return 0; |
10397 | } | 16670 | } |
10398 | _ACEOF | 16671 | _ACEOF |
10399 | if ac_fn_c_try_link "$LINENO"; then : | 16672 | rm -f conftest.$ac_objext conftest$ac_exeext |
16673 | if { (ac_try="$ac_link" | ||
16674 | case "(($ac_try" in | ||
16675 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16676 | *) ac_try_echo=$ac_try;; | ||
16677 | esac | ||
16678 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16679 | (eval "$ac_link") 2>conftest.er1 | ||
16680 | ac_status=$? | ||
16681 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16682 | rm -f conftest.er1 | ||
16683 | cat conftest.err >&5 | ||
16684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16685 | (exit $ac_status); } && { | ||
16686 | test -z "$ac_c_werror_flag" || | ||
16687 | test ! -s conftest.err | ||
16688 | } && test -s conftest$ac_exeext && | ||
16689 | $as_test_x conftest$ac_exeext; then | ||
16690 | |||
16691 | cat >>confdefs.h <<\_ACEOF | ||
16692 | #define HAVE_ISBLANK 1 | ||
16693 | _ACEOF | ||
10400 | 16694 | ||
10401 | $as_echo "#define HAVE_ISBLANK 1" >>confdefs.h | 16695 | |
16696 | else | ||
16697 | echo "$as_me: failed program was:" >&5 | ||
16698 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10402 | 16699 | ||
10403 | 16700 | ||
10404 | fi | 16701 | fi |
10405 | rm -f core conftest.err conftest.$ac_objext \ | ||
10406 | conftest$ac_exeext conftest.$ac_ext | ||
10407 | 16702 | ||
10408 | # PKCS#11 support requires dlopen() and co | 16703 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 | 16704 | conftest$ac_exeext conftest.$ac_ext |
10410 | $as_echo_n "checking for library containing dlopen... " >&6; } | 16705 | |
10411 | if ${ac_cv_search_dlopen+:} false; then : | 16706 | # PKCS11 depends on OpenSSL. |
10412 | $as_echo_n "(cached) " >&6 | 16707 | if test "x$openssl" = "xyes" ; then |
16708 | # PKCS#11 support requires dlopen() and co | ||
16709 | { echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | ||
16710 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; } | ||
16711 | if test "${ac_cv_search_dlopen+set}" = set; then | ||
16712 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
10413 | else | 16713 | else |
10414 | ac_func_search_save_LIBS=$LIBS | 16714 | ac_func_search_save_LIBS=$LIBS |
10415 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16715 | cat >conftest.$ac_ext <<_ACEOF |
16716 | /* confdefs.h. */ | ||
16717 | _ACEOF | ||
16718 | cat confdefs.h >>conftest.$ac_ext | ||
16719 | cat >>conftest.$ac_ext <<_ACEOF | ||
10416 | /* end confdefs.h. */ | 16720 | /* end confdefs.h. */ |
10417 | 16721 | ||
10418 | /* Override any GCC internal prototype to avoid an error. | 16722 | /* Override any GCC internal prototype to avoid an error. |
@@ -10437,47 +16741,162 @@ for ac_lib in '' dl; do | |||
10437 | ac_res=-l$ac_lib | 16741 | ac_res=-l$ac_lib |
10438 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 16742 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10439 | fi | 16743 | fi |
10440 | if ac_fn_c_try_link "$LINENO"; then : | 16744 | rm -f conftest.$ac_objext conftest$ac_exeext |
16745 | if { (ac_try="$ac_link" | ||
16746 | case "(($ac_try" in | ||
16747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16748 | *) ac_try_echo=$ac_try;; | ||
16749 | esac | ||
16750 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16751 | (eval "$ac_link") 2>conftest.er1 | ||
16752 | ac_status=$? | ||
16753 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16754 | rm -f conftest.er1 | ||
16755 | cat conftest.err >&5 | ||
16756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16757 | (exit $ac_status); } && { | ||
16758 | test -z "$ac_c_werror_flag" || | ||
16759 | test ! -s conftest.err | ||
16760 | } && test -s conftest$ac_exeext && | ||
16761 | $as_test_x conftest$ac_exeext; then | ||
10441 | ac_cv_search_dlopen=$ac_res | 16762 | ac_cv_search_dlopen=$ac_res |
16763 | else | ||
16764 | echo "$as_me: failed program was:" >&5 | ||
16765 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16766 | |||
16767 | |||
10442 | fi | 16768 | fi |
10443 | rm -f core conftest.err conftest.$ac_objext \ | 16769 | |
10444 | conftest$ac_exeext | 16770 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10445 | if ${ac_cv_search_dlopen+:} false; then : | 16771 | conftest$ac_exeext |
16772 | if test "${ac_cv_search_dlopen+set}" = set; then | ||
10446 | break | 16773 | break |
10447 | fi | 16774 | fi |
10448 | done | 16775 | done |
10449 | if ${ac_cv_search_dlopen+:} false; then : | 16776 | if test "${ac_cv_search_dlopen+set}" = set; then |
10450 | 16777 | : | |
10451 | else | 16778 | else |
10452 | ac_cv_search_dlopen=no | 16779 | ac_cv_search_dlopen=no |
10453 | fi | 16780 | fi |
10454 | rm conftest.$ac_ext | 16781 | rm conftest.$ac_ext |
10455 | LIBS=$ac_func_search_save_LIBS | 16782 | LIBS=$ac_func_search_save_LIBS |
10456 | fi | 16783 | fi |
10457 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 | 16784 | { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 |
10458 | $as_echo "$ac_cv_search_dlopen" >&6; } | 16785 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6; } |
10459 | ac_res=$ac_cv_search_dlopen | 16786 | ac_res=$ac_cv_search_dlopen |
10460 | if test "$ac_res" != no; then : | 16787 | if test "$ac_res" != no; then |
10461 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 16788 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10462 | 16789 | ||
10463 | $as_echo "#define ENABLE_PKCS11 /**/" >>confdefs.h | 16790 | cat >>confdefs.h <<\_ACEOF |
16791 | #define ENABLE_PKCS11 | ||
16792 | _ACEOF | ||
10464 | 16793 | ||
10465 | 16794 | ||
10466 | fi | 16795 | fi |
10467 | 16796 | ||
16797 | fi | ||
10468 | 16798 | ||
10469 | # IRIX has a const char return value for gai_strerror() | 16799 | # IRIX has a const char return value for gai_strerror() |
16800 | |||
10470 | for ac_func in gai_strerror | 16801 | for ac_func in gai_strerror |
10471 | do : | 16802 | do |
10472 | ac_fn_c_check_func "$LINENO" "gai_strerror" "ac_cv_func_gai_strerror" | 16803 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10473 | if test "x$ac_cv_func_gai_strerror" = xyes; then : | 16804 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
16805 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
16806 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
16807 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16808 | else | ||
16809 | cat >conftest.$ac_ext <<_ACEOF | ||
16810 | /* confdefs.h. */ | ||
16811 | _ACEOF | ||
16812 | cat confdefs.h >>conftest.$ac_ext | ||
16813 | cat >>conftest.$ac_ext <<_ACEOF | ||
16814 | /* end confdefs.h. */ | ||
16815 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
16816 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
16817 | #define $ac_func innocuous_$ac_func | ||
16818 | |||
16819 | /* System header to define __stub macros and hopefully few prototypes, | ||
16820 | which can conflict with char $ac_func (); below. | ||
16821 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
16822 | <limits.h> exists even on freestanding compilers. */ | ||
16823 | |||
16824 | #ifdef __STDC__ | ||
16825 | # include <limits.h> | ||
16826 | #else | ||
16827 | # include <assert.h> | ||
16828 | #endif | ||
16829 | |||
16830 | #undef $ac_func | ||
16831 | |||
16832 | /* Override any GCC internal prototype to avoid an error. | ||
16833 | Use char because int might match the return type of a GCC | ||
16834 | builtin and then its argument prototype would still apply. */ | ||
16835 | #ifdef __cplusplus | ||
16836 | extern "C" | ||
16837 | #endif | ||
16838 | char $ac_func (); | ||
16839 | /* The GNU C library defines this for functions which it implements | ||
16840 | to always fail with ENOSYS. Some functions are actually named | ||
16841 | something starting with __ and the normal name is an alias. */ | ||
16842 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
16843 | choke me | ||
16844 | #endif | ||
16845 | |||
16846 | int | ||
16847 | main () | ||
16848 | { | ||
16849 | return $ac_func (); | ||
16850 | ; | ||
16851 | return 0; | ||
16852 | } | ||
16853 | _ACEOF | ||
16854 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
16855 | if { (ac_try="$ac_link" | ||
16856 | case "(($ac_try" in | ||
16857 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16858 | *) ac_try_echo=$ac_try;; | ||
16859 | esac | ||
16860 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16861 | (eval "$ac_link") 2>conftest.er1 | ||
16862 | ac_status=$? | ||
16863 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16864 | rm -f conftest.er1 | ||
16865 | cat conftest.err >&5 | ||
16866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16867 | (exit $ac_status); } && { | ||
16868 | test -z "$ac_c_werror_flag" || | ||
16869 | test ! -s conftest.err | ||
16870 | } && test -s conftest$ac_exeext && | ||
16871 | $as_test_x conftest$ac_exeext; then | ||
16872 | eval "$as_ac_var=yes" | ||
16873 | else | ||
16874 | echo "$as_me: failed program was:" >&5 | ||
16875 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16876 | |||
16877 | eval "$as_ac_var=no" | ||
16878 | fi | ||
16879 | |||
16880 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
16881 | conftest$ac_exeext conftest.$ac_ext | ||
16882 | fi | ||
16883 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
16884 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
16885 | echo "${ECHO_T}$ac_res" >&6; } | ||
16886 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10474 | cat >>confdefs.h <<_ACEOF | 16887 | cat >>confdefs.h <<_ACEOF |
10475 | #define HAVE_GAI_STRERROR 1 | 16888 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10476 | _ACEOF | 16889 | _ACEOF |
10477 | 16890 | ||
10478 | $as_echo "#define HAVE_GAI_STRERROR 1" >>confdefs.h | 16891 | cat >>confdefs.h <<\_ACEOF |
16892 | #define HAVE_GAI_STRERROR 1 | ||
16893 | _ACEOF | ||
10479 | 16894 | ||
10480 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16895 | cat >conftest.$ac_ext <<_ACEOF |
16896 | /* confdefs.h. */ | ||
16897 | _ACEOF | ||
16898 | cat confdefs.h >>conftest.$ac_ext | ||
16899 | cat >>conftest.$ac_ext <<_ACEOF | ||
10481 | /* end confdefs.h. */ | 16900 | /* end confdefs.h. */ |
10482 | 16901 | ||
10483 | #include <sys/types.h> | 16902 | #include <sys/types.h> |
@@ -10497,24 +16916,52 @@ main () | |||
10497 | return 0; | 16916 | return 0; |
10498 | } | 16917 | } |
10499 | _ACEOF | 16918 | _ACEOF |
10500 | if ac_fn_c_try_compile "$LINENO"; then : | 16919 | rm -f conftest.$ac_objext |
16920 | if { (ac_try="$ac_compile" | ||
16921 | case "(($ac_try" in | ||
16922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16923 | *) ac_try_echo=$ac_try;; | ||
16924 | esac | ||
16925 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16926 | (eval "$ac_compile") 2>conftest.er1 | ||
16927 | ac_status=$? | ||
16928 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16929 | rm -f conftest.er1 | ||
16930 | cat conftest.err >&5 | ||
16931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
16932 | (exit $ac_status); } && { | ||
16933 | test -z "$ac_c_werror_flag" || | ||
16934 | test ! -s conftest.err | ||
16935 | } && test -s conftest.$ac_objext; then | ||
16936 | |||
16937 | |||
16938 | cat >>confdefs.h <<\_ACEOF | ||
16939 | #define HAVE_CONST_GAI_STRERROR_PROTO 1 | ||
16940 | _ACEOF | ||
10501 | 16941 | ||
16942 | else | ||
16943 | echo "$as_me: failed program was:" >&5 | ||
16944 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
10502 | 16945 | ||
10503 | $as_echo "#define HAVE_CONST_GAI_STRERROR_PROTO 1" >>confdefs.h | ||
10504 | 16946 | ||
10505 | fi | 16947 | fi |
16948 | |||
10506 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 16949 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10507 | fi | 16950 | fi |
10508 | done | 16951 | done |
10509 | 16952 | ||
10510 | 16953 | ||
10511 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 | 16954 | { echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 |
10512 | $as_echo_n "checking for library containing nanosleep... " >&6; } | 16955 | echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } |
10513 | if ${ac_cv_search_nanosleep+:} false; then : | 16956 | if test "${ac_cv_search_nanosleep+set}" = set; then |
10514 | $as_echo_n "(cached) " >&6 | 16957 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10515 | else | 16958 | else |
10516 | ac_func_search_save_LIBS=$LIBS | 16959 | ac_func_search_save_LIBS=$LIBS |
10517 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 16960 | cat >conftest.$ac_ext <<_ACEOF |
16961 | /* confdefs.h. */ | ||
16962 | _ACEOF | ||
16963 | cat confdefs.h >>conftest.$ac_ext | ||
16964 | cat >>conftest.$ac_ext <<_ACEOF | ||
10518 | /* end confdefs.h. */ | 16965 | /* end confdefs.h. */ |
10519 | 16966 | ||
10520 | /* Override any GCC internal prototype to avoid an error. | 16967 | /* Override any GCC internal prototype to avoid an error. |
@@ -10539,41 +16986,70 @@ for ac_lib in '' rt posix4; do | |||
10539 | ac_res=-l$ac_lib | 16986 | ac_res=-l$ac_lib |
10540 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 16987 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10541 | fi | 16988 | fi |
10542 | if ac_fn_c_try_link "$LINENO"; then : | 16989 | rm -f conftest.$ac_objext conftest$ac_exeext |
16990 | if { (ac_try="$ac_link" | ||
16991 | case "(($ac_try" in | ||
16992 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
16993 | *) ac_try_echo=$ac_try;; | ||
16994 | esac | ||
16995 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
16996 | (eval "$ac_link") 2>conftest.er1 | ||
16997 | ac_status=$? | ||
16998 | grep -v '^ *+' conftest.er1 >conftest.err | ||
16999 | rm -f conftest.er1 | ||
17000 | cat conftest.err >&5 | ||
17001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17002 | (exit $ac_status); } && { | ||
17003 | test -z "$ac_c_werror_flag" || | ||
17004 | test ! -s conftest.err | ||
17005 | } && test -s conftest$ac_exeext && | ||
17006 | $as_test_x conftest$ac_exeext; then | ||
10543 | ac_cv_search_nanosleep=$ac_res | 17007 | ac_cv_search_nanosleep=$ac_res |
17008 | else | ||
17009 | echo "$as_me: failed program was:" >&5 | ||
17010 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17011 | |||
17012 | |||
10544 | fi | 17013 | fi |
10545 | rm -f core conftest.err conftest.$ac_objext \ | 17014 | |
10546 | conftest$ac_exeext | 17015 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10547 | if ${ac_cv_search_nanosleep+:} false; then : | 17016 | conftest$ac_exeext |
17017 | if test "${ac_cv_search_nanosleep+set}" = set; then | ||
10548 | break | 17018 | break |
10549 | fi | 17019 | fi |
10550 | done | 17020 | done |
10551 | if ${ac_cv_search_nanosleep+:} false; then : | 17021 | if test "${ac_cv_search_nanosleep+set}" = set; then |
10552 | 17022 | : | |
10553 | else | 17023 | else |
10554 | ac_cv_search_nanosleep=no | 17024 | ac_cv_search_nanosleep=no |
10555 | fi | 17025 | fi |
10556 | rm conftest.$ac_ext | 17026 | rm conftest.$ac_ext |
10557 | LIBS=$ac_func_search_save_LIBS | 17027 | LIBS=$ac_func_search_save_LIBS |
10558 | fi | 17028 | fi |
10559 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 | 17029 | { echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 |
10560 | $as_echo "$ac_cv_search_nanosleep" >&6; } | 17030 | echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } |
10561 | ac_res=$ac_cv_search_nanosleep | 17031 | ac_res=$ac_cv_search_nanosleep |
10562 | if test "$ac_res" != no; then : | 17032 | if test "$ac_res" != no; then |
10563 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 17033 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10564 | 17034 | ||
10565 | $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h | 17035 | cat >>confdefs.h <<\_ACEOF |
17036 | #define HAVE_NANOSLEEP 1 | ||
17037 | _ACEOF | ||
10566 | 17038 | ||
10567 | fi | 17039 | fi |
10568 | 17040 | ||
10569 | 17041 | ||
10570 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 | 17042 | { echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5 |
10571 | $as_echo_n "checking for library containing clock_gettime... " >&6; } | 17043 | echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6; } |
10572 | if ${ac_cv_search_clock_gettime+:} false; then : | 17044 | if test "${ac_cv_search_clock_gettime+set}" = set; then |
10573 | $as_echo_n "(cached) " >&6 | 17045 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10574 | else | 17046 | else |
10575 | ac_func_search_save_LIBS=$LIBS | 17047 | ac_func_search_save_LIBS=$LIBS |
10576 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 17048 | cat >conftest.$ac_ext <<_ACEOF |
17049 | /* confdefs.h. */ | ||
17050 | _ACEOF | ||
17051 | cat confdefs.h >>conftest.$ac_ext | ||
17052 | cat >>conftest.$ac_ext <<_ACEOF | ||
10577 | /* end confdefs.h. */ | 17053 | /* end confdefs.h. */ |
10578 | 17054 | ||
10579 | /* Override any GCC internal prototype to avoid an error. | 17055 | /* Override any GCC internal prototype to avoid an error. |
@@ -10598,42 +17074,201 @@ for ac_lib in '' rt; do | |||
10598 | ac_res=-l$ac_lib | 17074 | ac_res=-l$ac_lib |
10599 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 17075 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
10600 | fi | 17076 | fi |
10601 | if ac_fn_c_try_link "$LINENO"; then : | 17077 | rm -f conftest.$ac_objext conftest$ac_exeext |
17078 | if { (ac_try="$ac_link" | ||
17079 | case "(($ac_try" in | ||
17080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17081 | *) ac_try_echo=$ac_try;; | ||
17082 | esac | ||
17083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17084 | (eval "$ac_link") 2>conftest.er1 | ||
17085 | ac_status=$? | ||
17086 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17087 | rm -f conftest.er1 | ||
17088 | cat conftest.err >&5 | ||
17089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17090 | (exit $ac_status); } && { | ||
17091 | test -z "$ac_c_werror_flag" || | ||
17092 | test ! -s conftest.err | ||
17093 | } && test -s conftest$ac_exeext && | ||
17094 | $as_test_x conftest$ac_exeext; then | ||
10602 | ac_cv_search_clock_gettime=$ac_res | 17095 | ac_cv_search_clock_gettime=$ac_res |
17096 | else | ||
17097 | echo "$as_me: failed program was:" >&5 | ||
17098 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17099 | |||
17100 | |||
10603 | fi | 17101 | fi |
10604 | rm -f core conftest.err conftest.$ac_objext \ | 17102 | |
10605 | conftest$ac_exeext | 17103 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10606 | if ${ac_cv_search_clock_gettime+:} false; then : | 17104 | conftest$ac_exeext |
17105 | if test "${ac_cv_search_clock_gettime+set}" = set; then | ||
10607 | break | 17106 | break |
10608 | fi | 17107 | fi |
10609 | done | 17108 | done |
10610 | if ${ac_cv_search_clock_gettime+:} false; then : | 17109 | if test "${ac_cv_search_clock_gettime+set}" = set; then |
10611 | 17110 | : | |
10612 | else | 17111 | else |
10613 | ac_cv_search_clock_gettime=no | 17112 | ac_cv_search_clock_gettime=no |
10614 | fi | 17113 | fi |
10615 | rm conftest.$ac_ext | 17114 | rm conftest.$ac_ext |
10616 | LIBS=$ac_func_search_save_LIBS | 17115 | LIBS=$ac_func_search_save_LIBS |
10617 | fi | 17116 | fi |
10618 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 | 17117 | { echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5 |
10619 | $as_echo "$ac_cv_search_clock_gettime" >&6; } | 17118 | echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6; } |
10620 | ac_res=$ac_cv_search_clock_gettime | 17119 | ac_res=$ac_cv_search_clock_gettime |
10621 | if test "$ac_res" != no; then : | 17120 | if test "$ac_res" != no; then |
10622 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 17121 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
10623 | 17122 | ||
10624 | $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h | 17123 | cat >>confdefs.h <<\_ACEOF |
17124 | #define HAVE_CLOCK_GETTIME 1 | ||
17125 | _ACEOF | ||
10625 | 17126 | ||
10626 | fi | 17127 | fi |
10627 | 17128 | ||
10628 | 17129 | ||
10629 | ac_fn_c_check_decl "$LINENO" "getrusage" "ac_cv_have_decl_getrusage" "$ac_includes_default" | 17130 | { echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 |
10630 | if test "x$ac_cv_have_decl_getrusage" = xyes; then : | 17131 | echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6; } |
10631 | for ac_func in getrusage | 17132 | if test "${ac_cv_have_decl_getrusage+set}" = set; then |
10632 | do : | 17133 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10633 | ac_fn_c_check_func "$LINENO" "getrusage" "ac_cv_func_getrusage" | 17134 | else |
10634 | if test "x$ac_cv_func_getrusage" = xyes; then : | 17135 | cat >conftest.$ac_ext <<_ACEOF |
17136 | /* confdefs.h. */ | ||
17137 | _ACEOF | ||
17138 | cat confdefs.h >>conftest.$ac_ext | ||
17139 | cat >>conftest.$ac_ext <<_ACEOF | ||
17140 | /* end confdefs.h. */ | ||
17141 | $ac_includes_default | ||
17142 | int | ||
17143 | main () | ||
17144 | { | ||
17145 | #ifndef getrusage | ||
17146 | (void) getrusage; | ||
17147 | #endif | ||
17148 | |||
17149 | ; | ||
17150 | return 0; | ||
17151 | } | ||
17152 | _ACEOF | ||
17153 | rm -f conftest.$ac_objext | ||
17154 | if { (ac_try="$ac_compile" | ||
17155 | case "(($ac_try" in | ||
17156 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17157 | *) ac_try_echo=$ac_try;; | ||
17158 | esac | ||
17159 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17160 | (eval "$ac_compile") 2>conftest.er1 | ||
17161 | ac_status=$? | ||
17162 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17163 | rm -f conftest.er1 | ||
17164 | cat conftest.err >&5 | ||
17165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17166 | (exit $ac_status); } && { | ||
17167 | test -z "$ac_c_werror_flag" || | ||
17168 | test ! -s conftest.err | ||
17169 | } && test -s conftest.$ac_objext; then | ||
17170 | ac_cv_have_decl_getrusage=yes | ||
17171 | else | ||
17172 | echo "$as_me: failed program was:" >&5 | ||
17173 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17174 | |||
17175 | ac_cv_have_decl_getrusage=no | ||
17176 | fi | ||
17177 | |||
17178 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17179 | fi | ||
17180 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 | ||
17181 | echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6; } | ||
17182 | if test $ac_cv_have_decl_getrusage = yes; then | ||
17183 | |||
17184 | for ac_func in getrusage | ||
17185 | do | ||
17186 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
17187 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
17188 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
17189 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17190 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17191 | else | ||
17192 | cat >conftest.$ac_ext <<_ACEOF | ||
17193 | /* confdefs.h. */ | ||
17194 | _ACEOF | ||
17195 | cat confdefs.h >>conftest.$ac_ext | ||
17196 | cat >>conftest.$ac_ext <<_ACEOF | ||
17197 | /* end confdefs.h. */ | ||
17198 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17199 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17200 | #define $ac_func innocuous_$ac_func | ||
17201 | |||
17202 | /* System header to define __stub macros and hopefully few prototypes, | ||
17203 | which can conflict with char $ac_func (); below. | ||
17204 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17205 | <limits.h> exists even on freestanding compilers. */ | ||
17206 | |||
17207 | #ifdef __STDC__ | ||
17208 | # include <limits.h> | ||
17209 | #else | ||
17210 | # include <assert.h> | ||
17211 | #endif | ||
17212 | |||
17213 | #undef $ac_func | ||
17214 | |||
17215 | /* Override any GCC internal prototype to avoid an error. | ||
17216 | Use char because int might match the return type of a GCC | ||
17217 | builtin and then its argument prototype would still apply. */ | ||
17218 | #ifdef __cplusplus | ||
17219 | extern "C" | ||
17220 | #endif | ||
17221 | char $ac_func (); | ||
17222 | /* The GNU C library defines this for functions which it implements | ||
17223 | to always fail with ENOSYS. Some functions are actually named | ||
17224 | something starting with __ and the normal name is an alias. */ | ||
17225 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17226 | choke me | ||
17227 | #endif | ||
17228 | |||
17229 | int | ||
17230 | main () | ||
17231 | { | ||
17232 | return $ac_func (); | ||
17233 | ; | ||
17234 | return 0; | ||
17235 | } | ||
17236 | _ACEOF | ||
17237 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17238 | if { (ac_try="$ac_link" | ||
17239 | case "(($ac_try" in | ||
17240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17241 | *) ac_try_echo=$ac_try;; | ||
17242 | esac | ||
17243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17244 | (eval "$ac_link") 2>conftest.er1 | ||
17245 | ac_status=$? | ||
17246 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17247 | rm -f conftest.er1 | ||
17248 | cat conftest.err >&5 | ||
17249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17250 | (exit $ac_status); } && { | ||
17251 | test -z "$ac_c_werror_flag" || | ||
17252 | test ! -s conftest.err | ||
17253 | } && test -s conftest$ac_exeext && | ||
17254 | $as_test_x conftest$ac_exeext; then | ||
17255 | eval "$as_ac_var=yes" | ||
17256 | else | ||
17257 | echo "$as_me: failed program was:" >&5 | ||
17258 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17259 | |||
17260 | eval "$as_ac_var=no" | ||
17261 | fi | ||
17262 | |||
17263 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
17264 | conftest$ac_exeext conftest.$ac_ext | ||
17265 | fi | ||
17266 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
17267 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
17268 | echo "${ECHO_T}$ac_res" >&6; } | ||
17269 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10635 | cat >>confdefs.h <<_ACEOF | 17270 | cat >>confdefs.h <<_ACEOF |
10636 | #define HAVE_GETRUSAGE 1 | 17271 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10637 | _ACEOF | 17272 | _ACEOF |
10638 | 17273 | ||
10639 | fi | 17274 | fi |
@@ -10641,19 +17276,153 @@ done | |||
10641 | 17276 | ||
10642 | fi | 17277 | fi |
10643 | 17278 | ||
10644 | ac_fn_c_check_decl "$LINENO" "strsep" "ac_cv_have_decl_strsep" " | 17279 | { echo "$as_me:$LINENO: checking whether strsep is declared" >&5 |
17280 | echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6; } | ||
17281 | if test "${ac_cv_have_decl_strsep+set}" = set; then | ||
17282 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17283 | else | ||
17284 | cat >conftest.$ac_ext <<_ACEOF | ||
17285 | /* confdefs.h. */ | ||
17286 | _ACEOF | ||
17287 | cat confdefs.h >>conftest.$ac_ext | ||
17288 | cat >>conftest.$ac_ext <<_ACEOF | ||
17289 | /* end confdefs.h. */ | ||
17290 | |||
10645 | #ifdef HAVE_STRING_H | 17291 | #ifdef HAVE_STRING_H |
10646 | # include <string.h> | 17292 | # include <string.h> |
10647 | #endif | 17293 | #endif |
10648 | 17294 | ||
10649 | " | 17295 | |
10650 | if test "x$ac_cv_have_decl_strsep" = xyes; then : | 17296 | int |
10651 | for ac_func in strsep | 17297 | main () |
10652 | do : | 17298 | { |
10653 | ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" | 17299 | #ifndef strsep |
10654 | if test "x$ac_cv_func_strsep" = xyes; then : | 17300 | (void) strsep; |
17301 | #endif | ||
17302 | |||
17303 | ; | ||
17304 | return 0; | ||
17305 | } | ||
17306 | _ACEOF | ||
17307 | rm -f conftest.$ac_objext | ||
17308 | if { (ac_try="$ac_compile" | ||
17309 | case "(($ac_try" in | ||
17310 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17311 | *) ac_try_echo=$ac_try;; | ||
17312 | esac | ||
17313 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17314 | (eval "$ac_compile") 2>conftest.er1 | ||
17315 | ac_status=$? | ||
17316 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17317 | rm -f conftest.er1 | ||
17318 | cat conftest.err >&5 | ||
17319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17320 | (exit $ac_status); } && { | ||
17321 | test -z "$ac_c_werror_flag" || | ||
17322 | test ! -s conftest.err | ||
17323 | } && test -s conftest.$ac_objext; then | ||
17324 | ac_cv_have_decl_strsep=yes | ||
17325 | else | ||
17326 | echo "$as_me: failed program was:" >&5 | ||
17327 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17328 | |||
17329 | ac_cv_have_decl_strsep=no | ||
17330 | fi | ||
17331 | |||
17332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17333 | fi | ||
17334 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 | ||
17335 | echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6; } | ||
17336 | if test $ac_cv_have_decl_strsep = yes; then | ||
17337 | |||
17338 | for ac_func in strsep | ||
17339 | do | ||
17340 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
17341 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
17342 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
17343 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17344 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17345 | else | ||
17346 | cat >conftest.$ac_ext <<_ACEOF | ||
17347 | /* confdefs.h. */ | ||
17348 | _ACEOF | ||
17349 | cat confdefs.h >>conftest.$ac_ext | ||
17350 | cat >>conftest.$ac_ext <<_ACEOF | ||
17351 | /* end confdefs.h. */ | ||
17352 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17353 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17354 | #define $ac_func innocuous_$ac_func | ||
17355 | |||
17356 | /* System header to define __stub macros and hopefully few prototypes, | ||
17357 | which can conflict with char $ac_func (); below. | ||
17358 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17359 | <limits.h> exists even on freestanding compilers. */ | ||
17360 | |||
17361 | #ifdef __STDC__ | ||
17362 | # include <limits.h> | ||
17363 | #else | ||
17364 | # include <assert.h> | ||
17365 | #endif | ||
17366 | |||
17367 | #undef $ac_func | ||
17368 | |||
17369 | /* Override any GCC internal prototype to avoid an error. | ||
17370 | Use char because int might match the return type of a GCC | ||
17371 | builtin and then its argument prototype would still apply. */ | ||
17372 | #ifdef __cplusplus | ||
17373 | extern "C" | ||
17374 | #endif | ||
17375 | char $ac_func (); | ||
17376 | /* The GNU C library defines this for functions which it implements | ||
17377 | to always fail with ENOSYS. Some functions are actually named | ||
17378 | something starting with __ and the normal name is an alias. */ | ||
17379 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17380 | choke me | ||
17381 | #endif | ||
17382 | |||
17383 | int | ||
17384 | main () | ||
17385 | { | ||
17386 | return $ac_func (); | ||
17387 | ; | ||
17388 | return 0; | ||
17389 | } | ||
17390 | _ACEOF | ||
17391 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17392 | if { (ac_try="$ac_link" | ||
17393 | case "(($ac_try" in | ||
17394 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17395 | *) ac_try_echo=$ac_try;; | ||
17396 | esac | ||
17397 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17398 | (eval "$ac_link") 2>conftest.er1 | ||
17399 | ac_status=$? | ||
17400 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17401 | rm -f conftest.er1 | ||
17402 | cat conftest.err >&5 | ||
17403 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17404 | (exit $ac_status); } && { | ||
17405 | test -z "$ac_c_werror_flag" || | ||
17406 | test ! -s conftest.err | ||
17407 | } && test -s conftest$ac_exeext && | ||
17408 | $as_test_x conftest$ac_exeext; then | ||
17409 | eval "$as_ac_var=yes" | ||
17410 | else | ||
17411 | echo "$as_me: failed program was:" >&5 | ||
17412 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17413 | |||
17414 | eval "$as_ac_var=no" | ||
17415 | fi | ||
17416 | |||
17417 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
17418 | conftest$ac_exeext conftest.$ac_ext | ||
17419 | fi | ||
17420 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
17421 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
17422 | echo "${ECHO_T}$ac_res" >&6; } | ||
17423 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10655 | cat >>confdefs.h <<_ACEOF | 17424 | cat >>confdefs.h <<_ACEOF |
10656 | #define HAVE_STRSEP 1 | 17425 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10657 | _ACEOF | 17426 | _ACEOF |
10658 | 17427 | ||
10659 | fi | 17428 | fi |
@@ -10662,57 +17431,318 @@ done | |||
10662 | fi | 17431 | fi |
10663 | 17432 | ||
10664 | 17433 | ||
10665 | ac_fn_c_check_decl "$LINENO" "tcsendbreak" "ac_cv_have_decl_tcsendbreak" "#include <termios.h> | 17434 | { echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5 |
17435 | echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6; } | ||
17436 | if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then | ||
17437 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17438 | else | ||
17439 | cat >conftest.$ac_ext <<_ACEOF | ||
17440 | /* confdefs.h. */ | ||
17441 | _ACEOF | ||
17442 | cat confdefs.h >>conftest.$ac_ext | ||
17443 | cat >>conftest.$ac_ext <<_ACEOF | ||
17444 | /* end confdefs.h. */ | ||
17445 | #include <termios.h> | ||
10666 | 17446 | ||
10667 | " | ||
10668 | if test "x$ac_cv_have_decl_tcsendbreak" = xyes; then : | ||
10669 | $as_echo "#define HAVE_TCSENDBREAK 1" >>confdefs.h | ||
10670 | 17447 | ||
17448 | int | ||
17449 | main () | ||
17450 | { | ||
17451 | #ifndef tcsendbreak | ||
17452 | (void) tcsendbreak; | ||
17453 | #endif | ||
17454 | |||
17455 | ; | ||
17456 | return 0; | ||
17457 | } | ||
17458 | _ACEOF | ||
17459 | rm -f conftest.$ac_objext | ||
17460 | if { (ac_try="$ac_compile" | ||
17461 | case "(($ac_try" in | ||
17462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17463 | *) ac_try_echo=$ac_try;; | ||
17464 | esac | ||
17465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17466 | (eval "$ac_compile") 2>conftest.er1 | ||
17467 | ac_status=$? | ||
17468 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17469 | rm -f conftest.er1 | ||
17470 | cat conftest.err >&5 | ||
17471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17472 | (exit $ac_status); } && { | ||
17473 | test -z "$ac_c_werror_flag" || | ||
17474 | test ! -s conftest.err | ||
17475 | } && test -s conftest.$ac_objext; then | ||
17476 | ac_cv_have_decl_tcsendbreak=yes | ||
10671 | else | 17477 | else |
10672 | for ac_func in tcsendbreak | 17478 | echo "$as_me: failed program was:" >&5 |
10673 | do : | 17479 | sed 's/^/| /' conftest.$ac_ext >&5 |
10674 | ac_fn_c_check_func "$LINENO" "tcsendbreak" "ac_cv_func_tcsendbreak" | 17480 | |
10675 | if test "x$ac_cv_func_tcsendbreak" = xyes; then : | 17481 | ac_cv_have_decl_tcsendbreak=no |
10676 | cat >>confdefs.h <<_ACEOF | 17482 | fi |
17483 | |||
17484 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17485 | fi | ||
17486 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5 | ||
17487 | echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6; } | ||
17488 | if test $ac_cv_have_decl_tcsendbreak = yes; then | ||
17489 | cat >>confdefs.h <<\_ACEOF | ||
10677 | #define HAVE_TCSENDBREAK 1 | 17490 | #define HAVE_TCSENDBREAK 1 |
10678 | _ACEOF | 17491 | _ACEOF |
10679 | 17492 | ||
17493 | else | ||
17494 | |||
17495 | for ac_func in tcsendbreak | ||
17496 | do | ||
17497 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
17498 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
17499 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
17500 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
17501 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17502 | else | ||
17503 | cat >conftest.$ac_ext <<_ACEOF | ||
17504 | /* confdefs.h. */ | ||
17505 | _ACEOF | ||
17506 | cat confdefs.h >>conftest.$ac_ext | ||
17507 | cat >>conftest.$ac_ext <<_ACEOF | ||
17508 | /* end confdefs.h. */ | ||
17509 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
17510 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
17511 | #define $ac_func innocuous_$ac_func | ||
17512 | |||
17513 | /* System header to define __stub macros and hopefully few prototypes, | ||
17514 | which can conflict with char $ac_func (); below. | ||
17515 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
17516 | <limits.h> exists even on freestanding compilers. */ | ||
17517 | |||
17518 | #ifdef __STDC__ | ||
17519 | # include <limits.h> | ||
17520 | #else | ||
17521 | # include <assert.h> | ||
17522 | #endif | ||
17523 | |||
17524 | #undef $ac_func | ||
17525 | |||
17526 | /* Override any GCC internal prototype to avoid an error. | ||
17527 | Use char because int might match the return type of a GCC | ||
17528 | builtin and then its argument prototype would still apply. */ | ||
17529 | #ifdef __cplusplus | ||
17530 | extern "C" | ||
17531 | #endif | ||
17532 | char $ac_func (); | ||
17533 | /* The GNU C library defines this for functions which it implements | ||
17534 | to always fail with ENOSYS. Some functions are actually named | ||
17535 | something starting with __ and the normal name is an alias. */ | ||
17536 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
17537 | choke me | ||
17538 | #endif | ||
17539 | |||
17540 | int | ||
17541 | main () | ||
17542 | { | ||
17543 | return $ac_func (); | ||
17544 | ; | ||
17545 | return 0; | ||
17546 | } | ||
17547 | _ACEOF | ||
17548 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
17549 | if { (ac_try="$ac_link" | ||
17550 | case "(($ac_try" in | ||
17551 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17552 | *) ac_try_echo=$ac_try;; | ||
17553 | esac | ||
17554 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17555 | (eval "$ac_link") 2>conftest.er1 | ||
17556 | ac_status=$? | ||
17557 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17558 | rm -f conftest.er1 | ||
17559 | cat conftest.err >&5 | ||
17560 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17561 | (exit $ac_status); } && { | ||
17562 | test -z "$ac_c_werror_flag" || | ||
17563 | test ! -s conftest.err | ||
17564 | } && test -s conftest$ac_exeext && | ||
17565 | $as_test_x conftest$ac_exeext; then | ||
17566 | eval "$as_ac_var=yes" | ||
17567 | else | ||
17568 | echo "$as_me: failed program was:" >&5 | ||
17569 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17570 | |||
17571 | eval "$as_ac_var=no" | ||
17572 | fi | ||
17573 | |||
17574 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
17575 | conftest$ac_exeext conftest.$ac_ext | ||
17576 | fi | ||
17577 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
17578 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
17579 | echo "${ECHO_T}$ac_res" >&6; } | ||
17580 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
17581 | cat >>confdefs.h <<_ACEOF | ||
17582 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
17583 | _ACEOF | ||
17584 | |||
10680 | fi | 17585 | fi |
10681 | done | 17586 | done |
10682 | 17587 | ||
10683 | fi | 17588 | fi |
10684 | 17589 | ||
10685 | 17590 | ||
10686 | ac_fn_c_check_decl "$LINENO" "h_errno" "ac_cv_have_decl_h_errno" "#include <netdb.h> | 17591 | { echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 |
10687 | " | 17592 | echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6; } |
10688 | if test "x$ac_cv_have_decl_h_errno" = xyes; then : | 17593 | if test "${ac_cv_have_decl_h_errno+set}" = set; then |
10689 | ac_have_decl=1 | 17594 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17595 | else | ||
17596 | cat >conftest.$ac_ext <<_ACEOF | ||
17597 | /* confdefs.h. */ | ||
17598 | _ACEOF | ||
17599 | cat confdefs.h >>conftest.$ac_ext | ||
17600 | cat >>conftest.$ac_ext <<_ACEOF | ||
17601 | /* end confdefs.h. */ | ||
17602 | #include <netdb.h> | ||
17603 | |||
17604 | int | ||
17605 | main () | ||
17606 | { | ||
17607 | #ifndef h_errno | ||
17608 | (void) h_errno; | ||
17609 | #endif | ||
17610 | |||
17611 | ; | ||
17612 | return 0; | ||
17613 | } | ||
17614 | _ACEOF | ||
17615 | rm -f conftest.$ac_objext | ||
17616 | if { (ac_try="$ac_compile" | ||
17617 | case "(($ac_try" in | ||
17618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17619 | *) ac_try_echo=$ac_try;; | ||
17620 | esac | ||
17621 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17622 | (eval "$ac_compile") 2>conftest.er1 | ||
17623 | ac_status=$? | ||
17624 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17625 | rm -f conftest.er1 | ||
17626 | cat conftest.err >&5 | ||
17627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17628 | (exit $ac_status); } && { | ||
17629 | test -z "$ac_c_werror_flag" || | ||
17630 | test ! -s conftest.err | ||
17631 | } && test -s conftest.$ac_objext; then | ||
17632 | ac_cv_have_decl_h_errno=yes | ||
10690 | else | 17633 | else |
10691 | ac_have_decl=0 | 17634 | echo "$as_me: failed program was:" >&5 |
17635 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17636 | |||
17637 | ac_cv_have_decl_h_errno=no | ||
17638 | fi | ||
17639 | |||
17640 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10692 | fi | 17641 | fi |
17642 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5 | ||
17643 | echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6; } | ||
17644 | if test $ac_cv_have_decl_h_errno = yes; then | ||
10693 | 17645 | ||
10694 | cat >>confdefs.h <<_ACEOF | 17646 | cat >>confdefs.h <<_ACEOF |
10695 | #define HAVE_DECL_H_ERRNO $ac_have_decl | 17647 | #define HAVE_DECL_H_ERRNO 1 |
17648 | _ACEOF | ||
17649 | |||
17650 | |||
17651 | else | ||
17652 | cat >>confdefs.h <<_ACEOF | ||
17653 | #define HAVE_DECL_H_ERRNO 0 | ||
10696 | _ACEOF | 17654 | _ACEOF |
10697 | 17655 | ||
10698 | 17656 | ||
10699 | ac_fn_c_check_decl "$LINENO" "SHUT_RD" "ac_cv_have_decl_SHUT_RD" " | 17657 | fi |
17658 | |||
17659 | |||
17660 | |||
17661 | { echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5 | ||
17662 | echo $ECHO_N "checking whether SHUT_RD is declared... $ECHO_C" >&6; } | ||
17663 | if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then | ||
17664 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17665 | else | ||
17666 | cat >conftest.$ac_ext <<_ACEOF | ||
17667 | /* confdefs.h. */ | ||
17668 | _ACEOF | ||
17669 | cat confdefs.h >>conftest.$ac_ext | ||
17670 | cat >>conftest.$ac_ext <<_ACEOF | ||
17671 | /* end confdefs.h. */ | ||
17672 | |||
10700 | #include <sys/types.h> | 17673 | #include <sys/types.h> |
10701 | #include <sys/socket.h> | 17674 | #include <sys/socket.h> |
10702 | 17675 | ||
10703 | " | 17676 | |
10704 | if test "x$ac_cv_have_decl_SHUT_RD" = xyes; then : | 17677 | int |
10705 | ac_have_decl=1 | 17678 | main () |
17679 | { | ||
17680 | #ifndef SHUT_RD | ||
17681 | (void) SHUT_RD; | ||
17682 | #endif | ||
17683 | |||
17684 | ; | ||
17685 | return 0; | ||
17686 | } | ||
17687 | _ACEOF | ||
17688 | rm -f conftest.$ac_objext | ||
17689 | if { (ac_try="$ac_compile" | ||
17690 | case "(($ac_try" in | ||
17691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17692 | *) ac_try_echo=$ac_try;; | ||
17693 | esac | ||
17694 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17695 | (eval "$ac_compile") 2>conftest.er1 | ||
17696 | ac_status=$? | ||
17697 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17698 | rm -f conftest.er1 | ||
17699 | cat conftest.err >&5 | ||
17700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17701 | (exit $ac_status); } && { | ||
17702 | test -z "$ac_c_werror_flag" || | ||
17703 | test ! -s conftest.err | ||
17704 | } && test -s conftest.$ac_objext; then | ||
17705 | ac_cv_have_decl_SHUT_RD=yes | ||
10706 | else | 17706 | else |
10707 | ac_have_decl=0 | 17707 | echo "$as_me: failed program was:" >&5 |
17708 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17709 | |||
17710 | ac_cv_have_decl_SHUT_RD=no | ||
10708 | fi | 17711 | fi |
10709 | 17712 | ||
17713 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17714 | fi | ||
17715 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5 | ||
17716 | echo "${ECHO_T}$ac_cv_have_decl_SHUT_RD" >&6; } | ||
17717 | if test $ac_cv_have_decl_SHUT_RD = yes; then | ||
17718 | |||
10710 | cat >>confdefs.h <<_ACEOF | 17719 | cat >>confdefs.h <<_ACEOF |
10711 | #define HAVE_DECL_SHUT_RD $ac_have_decl | 17720 | #define HAVE_DECL_SHUT_RD 1 |
17721 | _ACEOF | ||
17722 | |||
17723 | |||
17724 | else | ||
17725 | cat >>confdefs.h <<_ACEOF | ||
17726 | #define HAVE_DECL_SHUT_RD 0 | ||
10712 | _ACEOF | 17727 | _ACEOF |
10713 | 17728 | ||
10714 | 17729 | ||
10715 | ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" " | 17730 | fi |
17731 | |||
17732 | |||
17733 | |||
17734 | { echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5 | ||
17735 | echo $ECHO_N "checking whether O_NONBLOCK is declared... $ECHO_C" >&6; } | ||
17736 | if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then | ||
17737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17738 | else | ||
17739 | cat >conftest.$ac_ext <<_ACEOF | ||
17740 | /* confdefs.h. */ | ||
17741 | _ACEOF | ||
17742 | cat confdefs.h >>conftest.$ac_ext | ||
17743 | cat >>conftest.$ac_ext <<_ACEOF | ||
17744 | /* end confdefs.h. */ | ||
17745 | |||
10716 | #include <sys/types.h> | 17746 | #include <sys/types.h> |
10717 | #ifdef HAVE_SYS_STAT_H | 17747 | #ifdef HAVE_SYS_STAT_H |
10718 | # include <sys/stat.h> | 17748 | # include <sys/stat.h> |
@@ -10721,67 +17751,295 @@ ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" " | |||
10721 | # include <fcntl.h> | 17751 | # include <fcntl.h> |
10722 | #endif | 17752 | #endif |
10723 | 17753 | ||
10724 | " | 17754 | |
10725 | if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then : | 17755 | int |
10726 | ac_have_decl=1 | 17756 | main () |
17757 | { | ||
17758 | #ifndef O_NONBLOCK | ||
17759 | (void) O_NONBLOCK; | ||
17760 | #endif | ||
17761 | |||
17762 | ; | ||
17763 | return 0; | ||
17764 | } | ||
17765 | _ACEOF | ||
17766 | rm -f conftest.$ac_objext | ||
17767 | if { (ac_try="$ac_compile" | ||
17768 | case "(($ac_try" in | ||
17769 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17770 | *) ac_try_echo=$ac_try;; | ||
17771 | esac | ||
17772 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17773 | (eval "$ac_compile") 2>conftest.er1 | ||
17774 | ac_status=$? | ||
17775 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17776 | rm -f conftest.er1 | ||
17777 | cat conftest.err >&5 | ||
17778 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17779 | (exit $ac_status); } && { | ||
17780 | test -z "$ac_c_werror_flag" || | ||
17781 | test ! -s conftest.err | ||
17782 | } && test -s conftest.$ac_objext; then | ||
17783 | ac_cv_have_decl_O_NONBLOCK=yes | ||
10727 | else | 17784 | else |
10728 | ac_have_decl=0 | 17785 | echo "$as_me: failed program was:" >&5 |
17786 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17787 | |||
17788 | ac_cv_have_decl_O_NONBLOCK=no | ||
10729 | fi | 17789 | fi |
10730 | 17790 | ||
17791 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17792 | fi | ||
17793 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5 | ||
17794 | echo "${ECHO_T}$ac_cv_have_decl_O_NONBLOCK" >&6; } | ||
17795 | if test $ac_cv_have_decl_O_NONBLOCK = yes; then | ||
17796 | |||
10731 | cat >>confdefs.h <<_ACEOF | 17797 | cat >>confdefs.h <<_ACEOF |
10732 | #define HAVE_DECL_O_NONBLOCK $ac_have_decl | 17798 | #define HAVE_DECL_O_NONBLOCK 1 |
10733 | _ACEOF | 17799 | _ACEOF |
10734 | 17800 | ||
10735 | 17801 | ||
10736 | ac_fn_c_check_decl "$LINENO" "writev" "ac_cv_have_decl_writev" " | 17802 | else |
17803 | cat >>confdefs.h <<_ACEOF | ||
17804 | #define HAVE_DECL_O_NONBLOCK 0 | ||
17805 | _ACEOF | ||
17806 | |||
17807 | |||
17808 | fi | ||
17809 | |||
17810 | |||
17811 | |||
17812 | { echo "$as_me:$LINENO: checking whether writev is declared" >&5 | ||
17813 | echo $ECHO_N "checking whether writev is declared... $ECHO_C" >&6; } | ||
17814 | if test "${ac_cv_have_decl_writev+set}" = set; then | ||
17815 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17816 | else | ||
17817 | cat >conftest.$ac_ext <<_ACEOF | ||
17818 | /* confdefs.h. */ | ||
17819 | _ACEOF | ||
17820 | cat confdefs.h >>conftest.$ac_ext | ||
17821 | cat >>conftest.$ac_ext <<_ACEOF | ||
17822 | /* end confdefs.h. */ | ||
17823 | |||
10737 | #include <sys/types.h> | 17824 | #include <sys/types.h> |
10738 | #include <sys/uio.h> | 17825 | #include <sys/uio.h> |
10739 | #include <unistd.h> | 17826 | #include <unistd.h> |
10740 | 17827 | ||
10741 | " | 17828 | |
10742 | if test "x$ac_cv_have_decl_writev" = xyes; then : | 17829 | int |
10743 | ac_have_decl=1 | 17830 | main () |
17831 | { | ||
17832 | #ifndef writev | ||
17833 | (void) writev; | ||
17834 | #endif | ||
17835 | |||
17836 | ; | ||
17837 | return 0; | ||
17838 | } | ||
17839 | _ACEOF | ||
17840 | rm -f conftest.$ac_objext | ||
17841 | if { (ac_try="$ac_compile" | ||
17842 | case "(($ac_try" in | ||
17843 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17844 | *) ac_try_echo=$ac_try;; | ||
17845 | esac | ||
17846 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17847 | (eval "$ac_compile") 2>conftest.er1 | ||
17848 | ac_status=$? | ||
17849 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17850 | rm -f conftest.er1 | ||
17851 | cat conftest.err >&5 | ||
17852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17853 | (exit $ac_status); } && { | ||
17854 | test -z "$ac_c_werror_flag" || | ||
17855 | test ! -s conftest.err | ||
17856 | } && test -s conftest.$ac_objext; then | ||
17857 | ac_cv_have_decl_writev=yes | ||
10744 | else | 17858 | else |
10745 | ac_have_decl=0 | 17859 | echo "$as_me: failed program was:" >&5 |
17860 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17861 | |||
17862 | ac_cv_have_decl_writev=no | ||
17863 | fi | ||
17864 | |||
17865 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
10746 | fi | 17866 | fi |
17867 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5 | ||
17868 | echo "${ECHO_T}$ac_cv_have_decl_writev" >&6; } | ||
17869 | if test $ac_cv_have_decl_writev = yes; then | ||
10747 | 17870 | ||
10748 | cat >>confdefs.h <<_ACEOF | 17871 | cat >>confdefs.h <<_ACEOF |
10749 | #define HAVE_DECL_WRITEV $ac_have_decl | 17872 | #define HAVE_DECL_WRITEV 1 |
17873 | _ACEOF | ||
17874 | |||
17875 | |||
17876 | else | ||
17877 | cat >>confdefs.h <<_ACEOF | ||
17878 | #define HAVE_DECL_WRITEV 0 | ||
10750 | _ACEOF | 17879 | _ACEOF |
10751 | 17880 | ||
10752 | 17881 | ||
10753 | ac_fn_c_check_decl "$LINENO" "MAXSYMLINKS" "ac_cv_have_decl_MAXSYMLINKS" " | 17882 | fi |
17883 | |||
17884 | |||
17885 | |||
17886 | { echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5 | ||
17887 | echo $ECHO_N "checking whether MAXSYMLINKS is declared... $ECHO_C" >&6; } | ||
17888 | if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then | ||
17889 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17890 | else | ||
17891 | cat >conftest.$ac_ext <<_ACEOF | ||
17892 | /* confdefs.h. */ | ||
17893 | _ACEOF | ||
17894 | cat confdefs.h >>conftest.$ac_ext | ||
17895 | cat >>conftest.$ac_ext <<_ACEOF | ||
17896 | /* end confdefs.h. */ | ||
17897 | |||
10754 | #include <sys/param.h> | 17898 | #include <sys/param.h> |
10755 | 17899 | ||
10756 | " | 17900 | |
10757 | if test "x$ac_cv_have_decl_MAXSYMLINKS" = xyes; then : | 17901 | int |
10758 | ac_have_decl=1 | 17902 | main () |
17903 | { | ||
17904 | #ifndef MAXSYMLINKS | ||
17905 | (void) MAXSYMLINKS; | ||
17906 | #endif | ||
17907 | |||
17908 | ; | ||
17909 | return 0; | ||
17910 | } | ||
17911 | _ACEOF | ||
17912 | rm -f conftest.$ac_objext | ||
17913 | if { (ac_try="$ac_compile" | ||
17914 | case "(($ac_try" in | ||
17915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17916 | *) ac_try_echo=$ac_try;; | ||
17917 | esac | ||
17918 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17919 | (eval "$ac_compile") 2>conftest.er1 | ||
17920 | ac_status=$? | ||
17921 | grep -v '^ *+' conftest.er1 >conftest.err | ||
17922 | rm -f conftest.er1 | ||
17923 | cat conftest.err >&5 | ||
17924 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
17925 | (exit $ac_status); } && { | ||
17926 | test -z "$ac_c_werror_flag" || | ||
17927 | test ! -s conftest.err | ||
17928 | } && test -s conftest.$ac_objext; then | ||
17929 | ac_cv_have_decl_MAXSYMLINKS=yes | ||
10759 | else | 17930 | else |
10760 | ac_have_decl=0 | 17931 | echo "$as_me: failed program was:" >&5 |
17932 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
17933 | |||
17934 | ac_cv_have_decl_MAXSYMLINKS=no | ||
10761 | fi | 17935 | fi |
10762 | 17936 | ||
17937 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17938 | fi | ||
17939 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5 | ||
17940 | echo "${ECHO_T}$ac_cv_have_decl_MAXSYMLINKS" >&6; } | ||
17941 | if test $ac_cv_have_decl_MAXSYMLINKS = yes; then | ||
17942 | |||
10763 | cat >>confdefs.h <<_ACEOF | 17943 | cat >>confdefs.h <<_ACEOF |
10764 | #define HAVE_DECL_MAXSYMLINKS $ac_have_decl | 17944 | #define HAVE_DECL_MAXSYMLINKS 1 |
10765 | _ACEOF | 17945 | _ACEOF |
10766 | 17946 | ||
10767 | 17947 | ||
10768 | ac_fn_c_check_decl "$LINENO" "offsetof" "ac_cv_have_decl_offsetof" " | 17948 | else |
17949 | cat >>confdefs.h <<_ACEOF | ||
17950 | #define HAVE_DECL_MAXSYMLINKS 0 | ||
17951 | _ACEOF | ||
17952 | |||
17953 | |||
17954 | fi | ||
17955 | |||
17956 | |||
17957 | |||
17958 | { echo "$as_me:$LINENO: checking whether offsetof is declared" >&5 | ||
17959 | echo $ECHO_N "checking whether offsetof is declared... $ECHO_C" >&6; } | ||
17960 | if test "${ac_cv_have_decl_offsetof+set}" = set; then | ||
17961 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
17962 | else | ||
17963 | cat >conftest.$ac_ext <<_ACEOF | ||
17964 | /* confdefs.h. */ | ||
17965 | _ACEOF | ||
17966 | cat confdefs.h >>conftest.$ac_ext | ||
17967 | cat >>conftest.$ac_ext <<_ACEOF | ||
17968 | /* end confdefs.h. */ | ||
17969 | |||
10769 | #include <stddef.h> | 17970 | #include <stddef.h> |
10770 | 17971 | ||
10771 | " | 17972 | |
10772 | if test "x$ac_cv_have_decl_offsetof" = xyes; then : | 17973 | int |
10773 | ac_have_decl=1 | 17974 | main () |
17975 | { | ||
17976 | #ifndef offsetof | ||
17977 | (void) offsetof; | ||
17978 | #endif | ||
17979 | |||
17980 | ; | ||
17981 | return 0; | ||
17982 | } | ||
17983 | _ACEOF | ||
17984 | rm -f conftest.$ac_objext | ||
17985 | if { (ac_try="$ac_compile" | ||
17986 | case "(($ac_try" in | ||
17987 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
17988 | *) ac_try_echo=$ac_try;; | ||
17989 | esac | ||
17990 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
17991 | (eval "$ac_compile") 2>conftest.er1 | ||
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_objext; then | ||
18001 | ac_cv_have_decl_offsetof=yes | ||
10774 | else | 18002 | else |
10775 | ac_have_decl=0 | 18003 | echo "$as_me: failed program was:" >&5 |
18004 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18005 | |||
18006 | ac_cv_have_decl_offsetof=no | ||
10776 | fi | 18007 | fi |
10777 | 18008 | ||
18009 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18010 | fi | ||
18011 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5 | ||
18012 | echo "${ECHO_T}$ac_cv_have_decl_offsetof" >&6; } | ||
18013 | if test $ac_cv_have_decl_offsetof = yes; then | ||
18014 | |||
10778 | cat >>confdefs.h <<_ACEOF | 18015 | cat >>confdefs.h <<_ACEOF |
10779 | #define HAVE_DECL_OFFSETOF $ac_have_decl | 18016 | #define HAVE_DECL_OFFSETOF 1 |
10780 | _ACEOF | 18017 | _ACEOF |
10781 | 18018 | ||
10782 | 18019 | ||
18020 | else | ||
18021 | cat >>confdefs.h <<_ACEOF | ||
18022 | #define HAVE_DECL_OFFSETOF 0 | ||
18023 | _ACEOF | ||
18024 | |||
18025 | |||
18026 | fi | ||
18027 | |||
18028 | |||
18029 | |||
10783 | # extra bits for select(2) | 18030 | # extra bits for select(2) |
10784 | ac_fn_c_check_decl "$LINENO" "howmany" "ac_cv_have_decl_howmany" " | 18031 | { echo "$as_me:$LINENO: checking whether howmany is declared" >&5 |
18032 | echo $ECHO_N "checking whether howmany is declared... $ECHO_C" >&6; } | ||
18033 | if test "${ac_cv_have_decl_howmany+set}" = set; then | ||
18034 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18035 | else | ||
18036 | cat >conftest.$ac_ext <<_ACEOF | ||
18037 | /* confdefs.h. */ | ||
18038 | _ACEOF | ||
18039 | cat confdefs.h >>conftest.$ac_ext | ||
18040 | cat >>conftest.$ac_ext <<_ACEOF | ||
18041 | /* end confdefs.h. */ | ||
18042 | |||
10785 | #include <sys/param.h> | 18043 | #include <sys/param.h> |
10786 | #include <sys/types.h> | 18044 | #include <sys/types.h> |
10787 | #ifdef HAVE_SYS_SYSMACROS_H | 18045 | #ifdef HAVE_SYS_SYSMACROS_H |
@@ -10797,17 +18055,73 @@ ac_fn_c_check_decl "$LINENO" "howmany" "ac_cv_have_decl_howmany" " | |||
10797 | #include <unistd.h> | 18055 | #include <unistd.h> |
10798 | #endif | 18056 | #endif |
10799 | 18057 | ||
10800 | " | 18058 | |
10801 | if test "x$ac_cv_have_decl_howmany" = xyes; then : | 18059 | int |
10802 | ac_have_decl=1 | 18060 | main () |
18061 | { | ||
18062 | #ifndef howmany | ||
18063 | (void) howmany; | ||
18064 | #endif | ||
18065 | |||
18066 | ; | ||
18067 | return 0; | ||
18068 | } | ||
18069 | _ACEOF | ||
18070 | rm -f conftest.$ac_objext | ||
18071 | if { (ac_try="$ac_compile" | ||
18072 | case "(($ac_try" in | ||
18073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18074 | *) ac_try_echo=$ac_try;; | ||
18075 | esac | ||
18076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18077 | (eval "$ac_compile") 2>conftest.er1 | ||
18078 | ac_status=$? | ||
18079 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18080 | rm -f conftest.er1 | ||
18081 | cat conftest.err >&5 | ||
18082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18083 | (exit $ac_status); } && { | ||
18084 | test -z "$ac_c_werror_flag" || | ||
18085 | test ! -s conftest.err | ||
18086 | } && test -s conftest.$ac_objext; then | ||
18087 | ac_cv_have_decl_howmany=yes | ||
10803 | else | 18088 | else |
10804 | ac_have_decl=0 | 18089 | echo "$as_me: failed program was:" >&5 |
18090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18091 | |||
18092 | ac_cv_have_decl_howmany=no | ||
10805 | fi | 18093 | fi |
10806 | 18094 | ||
18095 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18096 | fi | ||
18097 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_howmany" >&5 | ||
18098 | echo "${ECHO_T}$ac_cv_have_decl_howmany" >&6; } | ||
18099 | if test $ac_cv_have_decl_howmany = yes; then | ||
18100 | |||
10807 | cat >>confdefs.h <<_ACEOF | 18101 | cat >>confdefs.h <<_ACEOF |
10808 | #define HAVE_DECL_HOWMANY $ac_have_decl | 18102 | #define HAVE_DECL_HOWMANY 1 |
10809 | _ACEOF | 18103 | _ACEOF |
10810 | ac_fn_c_check_decl "$LINENO" "NFDBITS" "ac_cv_have_decl_NFDBITS" " | 18104 | |
18105 | |||
18106 | else | ||
18107 | cat >>confdefs.h <<_ACEOF | ||
18108 | #define HAVE_DECL_HOWMANY 0 | ||
18109 | _ACEOF | ||
18110 | |||
18111 | |||
18112 | fi | ||
18113 | { echo "$as_me:$LINENO: checking whether NFDBITS is declared" >&5 | ||
18114 | echo $ECHO_N "checking whether NFDBITS is declared... $ECHO_C" >&6; } | ||
18115 | if test "${ac_cv_have_decl_NFDBITS+set}" = set; then | ||
18116 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18117 | else | ||
18118 | cat >conftest.$ac_ext <<_ACEOF | ||
18119 | /* confdefs.h. */ | ||
18120 | _ACEOF | ||
18121 | cat confdefs.h >>conftest.$ac_ext | ||
18122 | cat >>conftest.$ac_ext <<_ACEOF | ||
18123 | /* end confdefs.h. */ | ||
18124 | |||
10811 | #include <sys/param.h> | 18125 | #include <sys/param.h> |
10812 | #include <sys/types.h> | 18126 | #include <sys/types.h> |
10813 | #ifdef HAVE_SYS_SYSMACROS_H | 18127 | #ifdef HAVE_SYS_SYSMACROS_H |
@@ -10823,18 +18137,75 @@ ac_fn_c_check_decl "$LINENO" "NFDBITS" "ac_cv_have_decl_NFDBITS" " | |||
10823 | #include <unistd.h> | 18137 | #include <unistd.h> |
10824 | #endif | 18138 | #endif |
10825 | 18139 | ||
10826 | " | 18140 | |
10827 | if test "x$ac_cv_have_decl_NFDBITS" = xyes; then : | 18141 | int |
10828 | ac_have_decl=1 | 18142 | main () |
18143 | { | ||
18144 | #ifndef NFDBITS | ||
18145 | (void) NFDBITS; | ||
18146 | #endif | ||
18147 | |||
18148 | ; | ||
18149 | return 0; | ||
18150 | } | ||
18151 | _ACEOF | ||
18152 | rm -f conftest.$ac_objext | ||
18153 | if { (ac_try="$ac_compile" | ||
18154 | case "(($ac_try" in | ||
18155 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18156 | *) ac_try_echo=$ac_try;; | ||
18157 | esac | ||
18158 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18159 | (eval "$ac_compile") 2>conftest.er1 | ||
18160 | ac_status=$? | ||
18161 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18162 | rm -f conftest.er1 | ||
18163 | cat conftest.err >&5 | ||
18164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18165 | (exit $ac_status); } && { | ||
18166 | test -z "$ac_c_werror_flag" || | ||
18167 | test ! -s conftest.err | ||
18168 | } && test -s conftest.$ac_objext; then | ||
18169 | ac_cv_have_decl_NFDBITS=yes | ||
10829 | else | 18170 | else |
10830 | ac_have_decl=0 | 18171 | echo "$as_me: failed program was:" >&5 |
18172 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18173 | |||
18174 | ac_cv_have_decl_NFDBITS=no | ||
10831 | fi | 18175 | fi |
10832 | 18176 | ||
18177 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18178 | fi | ||
18179 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_NFDBITS" >&5 | ||
18180 | echo "${ECHO_T}$ac_cv_have_decl_NFDBITS" >&6; } | ||
18181 | if test $ac_cv_have_decl_NFDBITS = yes; then | ||
18182 | |||
10833 | cat >>confdefs.h <<_ACEOF | 18183 | cat >>confdefs.h <<_ACEOF |
10834 | #define HAVE_DECL_NFDBITS $ac_have_decl | 18184 | #define HAVE_DECL_NFDBITS 1 |
18185 | _ACEOF | ||
18186 | |||
18187 | |||
18188 | else | ||
18189 | cat >>confdefs.h <<_ACEOF | ||
18190 | #define HAVE_DECL_NFDBITS 0 | ||
18191 | _ACEOF | ||
18192 | |||
18193 | |||
18194 | fi | ||
18195 | |||
18196 | |||
18197 | { echo "$as_me:$LINENO: checking for fd_mask" >&5 | ||
18198 | echo $ECHO_N "checking for fd_mask... $ECHO_C" >&6; } | ||
18199 | if test "${ac_cv_type_fd_mask+set}" = set; then | ||
18200 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18201 | else | ||
18202 | cat >conftest.$ac_ext <<_ACEOF | ||
18203 | /* confdefs.h. */ | ||
10835 | _ACEOF | 18204 | _ACEOF |
18205 | cat confdefs.h >>conftest.$ac_ext | ||
18206 | cat >>conftest.$ac_ext <<_ACEOF | ||
18207 | /* end confdefs.h. */ | ||
10836 | 18208 | ||
10837 | ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" " | ||
10838 | #include <sys/param.h> | 18209 | #include <sys/param.h> |
10839 | #include <sys/types.h> | 18210 | #include <sys/types.h> |
10840 | #ifdef HAVE_SYS_SELECT_H | 18211 | #ifdef HAVE_SYS_SELECT_H |
@@ -10847,8 +18218,49 @@ ac_fn_c_check_type "$LINENO" "fd_mask" "ac_cv_type_fd_mask" " | |||
10847 | #include <unistd.h> | 18218 | #include <unistd.h> |
10848 | #endif | 18219 | #endif |
10849 | 18220 | ||
10850 | " | 18221 | |
10851 | if test "x$ac_cv_type_fd_mask" = xyes; then : | 18222 | typedef fd_mask ac__type_new_; |
18223 | int | ||
18224 | main () | ||
18225 | { | ||
18226 | if ((ac__type_new_ *) 0) | ||
18227 | return 0; | ||
18228 | if (sizeof (ac__type_new_)) | ||
18229 | return 0; | ||
18230 | ; | ||
18231 | return 0; | ||
18232 | } | ||
18233 | _ACEOF | ||
18234 | rm -f conftest.$ac_objext | ||
18235 | if { (ac_try="$ac_compile" | ||
18236 | case "(($ac_try" in | ||
18237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18238 | *) ac_try_echo=$ac_try;; | ||
18239 | esac | ||
18240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18241 | (eval "$ac_compile") 2>conftest.er1 | ||
18242 | ac_status=$? | ||
18243 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18244 | rm -f conftest.er1 | ||
18245 | cat conftest.err >&5 | ||
18246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18247 | (exit $ac_status); } && { | ||
18248 | test -z "$ac_c_werror_flag" || | ||
18249 | test ! -s conftest.err | ||
18250 | } && test -s conftest.$ac_objext; then | ||
18251 | ac_cv_type_fd_mask=yes | ||
18252 | else | ||
18253 | echo "$as_me: failed program was:" >&5 | ||
18254 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18255 | |||
18256 | ac_cv_type_fd_mask=no | ||
18257 | fi | ||
18258 | |||
18259 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
18260 | fi | ||
18261 | { echo "$as_me:$LINENO: result: $ac_cv_type_fd_mask" >&5 | ||
18262 | echo "${ECHO_T}$ac_cv_type_fd_mask" >&6; } | ||
18263 | if test $ac_cv_type_fd_mask = yes; then | ||
10852 | 18264 | ||
10853 | cat >>confdefs.h <<_ACEOF | 18265 | cat >>confdefs.h <<_ACEOF |
10854 | #define HAVE_FD_MASK 1 | 18266 | #define HAVE_FD_MASK 1 |
@@ -10858,22 +18270,109 @@ _ACEOF | |||
10858 | fi | 18270 | fi |
10859 | 18271 | ||
10860 | 18272 | ||
18273 | |||
10861 | for ac_func in setresuid | 18274 | for ac_func in setresuid |
10862 | do : | 18275 | do |
10863 | ac_fn_c_check_func "$LINENO" "setresuid" "ac_cv_func_setresuid" | 18276 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10864 | if test "x$ac_cv_func_setresuid" = xyes; then : | 18277 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18278 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
18279 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18280 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18281 | else | ||
18282 | cat >conftest.$ac_ext <<_ACEOF | ||
18283 | /* confdefs.h. */ | ||
18284 | _ACEOF | ||
18285 | cat confdefs.h >>conftest.$ac_ext | ||
18286 | cat >>conftest.$ac_ext <<_ACEOF | ||
18287 | /* end confdefs.h. */ | ||
18288 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18289 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18290 | #define $ac_func innocuous_$ac_func | ||
18291 | |||
18292 | /* System header to define __stub macros and hopefully few prototypes, | ||
18293 | which can conflict with char $ac_func (); below. | ||
18294 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18295 | <limits.h> exists even on freestanding compilers. */ | ||
18296 | |||
18297 | #ifdef __STDC__ | ||
18298 | # include <limits.h> | ||
18299 | #else | ||
18300 | # include <assert.h> | ||
18301 | #endif | ||
18302 | |||
18303 | #undef $ac_func | ||
18304 | |||
18305 | /* Override any GCC internal prototype to avoid an error. | ||
18306 | Use char because int might match the return type of a GCC | ||
18307 | builtin and then its argument prototype would still apply. */ | ||
18308 | #ifdef __cplusplus | ||
18309 | extern "C" | ||
18310 | #endif | ||
18311 | char $ac_func (); | ||
18312 | /* The GNU C library defines this for functions which it implements | ||
18313 | to always fail with ENOSYS. Some functions are actually named | ||
18314 | something starting with __ and the normal name is an alias. */ | ||
18315 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18316 | choke me | ||
18317 | #endif | ||
18318 | |||
18319 | int | ||
18320 | main () | ||
18321 | { | ||
18322 | return $ac_func (); | ||
18323 | ; | ||
18324 | return 0; | ||
18325 | } | ||
18326 | _ACEOF | ||
18327 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18328 | if { (ac_try="$ac_link" | ||
18329 | case "(($ac_try" in | ||
18330 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18331 | *) ac_try_echo=$ac_try;; | ||
18332 | esac | ||
18333 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18334 | (eval "$ac_link") 2>conftest.er1 | ||
18335 | ac_status=$? | ||
18336 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18337 | rm -f conftest.er1 | ||
18338 | cat conftest.err >&5 | ||
18339 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18340 | (exit $ac_status); } && { | ||
18341 | test -z "$ac_c_werror_flag" || | ||
18342 | test ! -s conftest.err | ||
18343 | } && test -s conftest$ac_exeext && | ||
18344 | $as_test_x conftest$ac_exeext; then | ||
18345 | eval "$as_ac_var=yes" | ||
18346 | else | ||
18347 | echo "$as_me: failed program was:" >&5 | ||
18348 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18349 | |||
18350 | eval "$as_ac_var=no" | ||
18351 | fi | ||
18352 | |||
18353 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18354 | conftest$ac_exeext conftest.$ac_ext | ||
18355 | fi | ||
18356 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18357 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18358 | echo "${ECHO_T}$ac_res" >&6; } | ||
18359 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10865 | cat >>confdefs.h <<_ACEOF | 18360 | cat >>confdefs.h <<_ACEOF |
10866 | #define HAVE_SETRESUID 1 | 18361 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10867 | _ACEOF | 18362 | _ACEOF |
10868 | 18363 | ||
10869 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setresuid seems to work" >&5 | 18364 | { echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 |
10870 | $as_echo_n "checking if setresuid seems to work... " >&6; } | 18365 | echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6; } |
10871 | if test "$cross_compiling" = yes; then : | 18366 | if test "$cross_compiling" = yes; then |
10872 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking setresuid" >&5 | 18367 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 |
10873 | $as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 18368 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
10874 | 18369 | ||
10875 | else | 18370 | else |
10876 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18371 | cat >conftest.$ac_ext <<_ACEOF |
18372 | /* confdefs.h. */ | ||
18373 | _ACEOF | ||
18374 | cat confdefs.h >>conftest.$ac_ext | ||
18375 | cat >>conftest.$ac_ext <<_ACEOF | ||
10877 | /* end confdefs.h. */ | 18376 | /* end confdefs.h. */ |
10878 | 18377 | ||
10879 | #include <stdlib.h> | 18378 | #include <stdlib.h> |
@@ -10894,41 +18393,154 @@ main () | |||
10894 | return 0; | 18393 | return 0; |
10895 | } | 18394 | } |
10896 | _ACEOF | 18395 | _ACEOF |
10897 | if ac_fn_c_try_run "$LINENO"; then : | 18396 | rm -f conftest$ac_exeext |
10898 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 18397 | if { (ac_try="$ac_link" |
10899 | $as_echo "yes" >&6; } | 18398 | case "(($ac_try" in |
18399 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18400 | *) ac_try_echo=$ac_try;; | ||
18401 | esac | ||
18402 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18403 | (eval "$ac_link") 2>&5 | ||
18404 | ac_status=$? | ||
18405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18406 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
18407 | { (case "(($ac_try" in | ||
18408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18409 | *) ac_try_echo=$ac_try;; | ||
18410 | esac | ||
18411 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18412 | (eval "$ac_try") 2>&5 | ||
18413 | ac_status=$? | ||
18414 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18415 | (exit $ac_status); }; }; then | ||
18416 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
18417 | echo "${ECHO_T}yes" >&6; } | ||
10900 | else | 18418 | else |
18419 | echo "$as_me: program exited with status $ac_status" >&5 | ||
18420 | echo "$as_me: failed program was:" >&5 | ||
18421 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18422 | |||
18423 | ( exit $ac_status ) | ||
10901 | 18424 | ||
10902 | $as_echo "#define BROKEN_SETRESUID 1" >>confdefs.h | 18425 | cat >>confdefs.h <<\_ACEOF |
18426 | #define BROKEN_SETRESUID 1 | ||
18427 | _ACEOF | ||
10903 | 18428 | ||
10904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not implemented" >&5 | 18429 | { echo "$as_me:$LINENO: result: not implemented" >&5 |
10905 | $as_echo "not implemented" >&6; } | 18430 | echo "${ECHO_T}not implemented" >&6; } |
10906 | fi | 18431 | fi |
10907 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18432 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10908 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
10909 | fi | 18433 | fi |
10910 | 18434 | ||
10911 | 18435 | ||
18436 | |||
10912 | fi | 18437 | fi |
10913 | done | 18438 | done |
10914 | 18439 | ||
10915 | 18440 | ||
18441 | |||
10916 | for ac_func in setresgid | 18442 | for ac_func in setresgid |
10917 | do : | 18443 | do |
10918 | ac_fn_c_check_func "$LINENO" "setresgid" "ac_cv_func_setresgid" | 18444 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10919 | if test "x$ac_cv_func_setresgid" = xyes; then : | 18445 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18446 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
18447 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18448 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18449 | else | ||
18450 | cat >conftest.$ac_ext <<_ACEOF | ||
18451 | /* confdefs.h. */ | ||
18452 | _ACEOF | ||
18453 | cat confdefs.h >>conftest.$ac_ext | ||
18454 | cat >>conftest.$ac_ext <<_ACEOF | ||
18455 | /* end confdefs.h. */ | ||
18456 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18457 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18458 | #define $ac_func innocuous_$ac_func | ||
18459 | |||
18460 | /* System header to define __stub macros and hopefully few prototypes, | ||
18461 | which can conflict with char $ac_func (); below. | ||
18462 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18463 | <limits.h> exists even on freestanding compilers. */ | ||
18464 | |||
18465 | #ifdef __STDC__ | ||
18466 | # include <limits.h> | ||
18467 | #else | ||
18468 | # include <assert.h> | ||
18469 | #endif | ||
18470 | |||
18471 | #undef $ac_func | ||
18472 | |||
18473 | /* Override any GCC internal prototype to avoid an error. | ||
18474 | Use char because int might match the return type of a GCC | ||
18475 | builtin and then its argument prototype would still apply. */ | ||
18476 | #ifdef __cplusplus | ||
18477 | extern "C" | ||
18478 | #endif | ||
18479 | char $ac_func (); | ||
18480 | /* The GNU C library defines this for functions which it implements | ||
18481 | to always fail with ENOSYS. Some functions are actually named | ||
18482 | something starting with __ and the normal name is an alias. */ | ||
18483 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18484 | choke me | ||
18485 | #endif | ||
18486 | |||
18487 | int | ||
18488 | main () | ||
18489 | { | ||
18490 | return $ac_func (); | ||
18491 | ; | ||
18492 | return 0; | ||
18493 | } | ||
18494 | _ACEOF | ||
18495 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18496 | if { (ac_try="$ac_link" | ||
18497 | case "(($ac_try" in | ||
18498 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18499 | *) ac_try_echo=$ac_try;; | ||
18500 | esac | ||
18501 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18502 | (eval "$ac_link") 2>conftest.er1 | ||
18503 | ac_status=$? | ||
18504 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18505 | rm -f conftest.er1 | ||
18506 | cat conftest.err >&5 | ||
18507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18508 | (exit $ac_status); } && { | ||
18509 | test -z "$ac_c_werror_flag" || | ||
18510 | test ! -s conftest.err | ||
18511 | } && test -s conftest$ac_exeext && | ||
18512 | $as_test_x conftest$ac_exeext; then | ||
18513 | eval "$as_ac_var=yes" | ||
18514 | else | ||
18515 | echo "$as_me: failed program was:" >&5 | ||
18516 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18517 | |||
18518 | eval "$as_ac_var=no" | ||
18519 | fi | ||
18520 | |||
18521 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18522 | conftest$ac_exeext conftest.$ac_ext | ||
18523 | fi | ||
18524 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18525 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18526 | echo "${ECHO_T}$ac_res" >&6; } | ||
18527 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10920 | cat >>confdefs.h <<_ACEOF | 18528 | cat >>confdefs.h <<_ACEOF |
10921 | #define HAVE_SETRESGID 1 | 18529 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10922 | _ACEOF | 18530 | _ACEOF |
10923 | 18531 | ||
10924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setresgid seems to work" >&5 | 18532 | { echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 |
10925 | $as_echo_n "checking if setresgid seems to work... " >&6; } | 18533 | echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6; } |
10926 | if test "$cross_compiling" = yes; then : | 18534 | if test "$cross_compiling" = yes; then |
10927 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking setresuid" >&5 | 18535 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 |
10928 | $as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} | 18536 | echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} |
10929 | 18537 | ||
10930 | else | 18538 | else |
10931 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 18539 | cat >conftest.$ac_ext <<_ACEOF |
18540 | /* confdefs.h. */ | ||
18541 | _ACEOF | ||
18542 | cat confdefs.h >>conftest.$ac_ext | ||
18543 | cat >>conftest.$ac_ext <<_ACEOF | ||
10932 | /* end confdefs.h. */ | 18544 | /* end confdefs.h. */ |
10933 | 18545 | ||
10934 | #include <stdlib.h> | 18546 | #include <stdlib.h> |
@@ -10949,110 +18561,729 @@ main () | |||
10949 | return 0; | 18561 | return 0; |
10950 | } | 18562 | } |
10951 | _ACEOF | 18563 | _ACEOF |
10952 | if ac_fn_c_try_run "$LINENO"; then : | 18564 | rm -f conftest$ac_exeext |
10953 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 18565 | if { (ac_try="$ac_link" |
10954 | $as_echo "yes" >&6; } | 18566 | case "(($ac_try" in |
18567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18568 | *) ac_try_echo=$ac_try;; | ||
18569 | esac | ||
18570 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18571 | (eval "$ac_link") 2>&5 | ||
18572 | ac_status=$? | ||
18573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18574 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
18575 | { (case "(($ac_try" in | ||
18576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18577 | *) ac_try_echo=$ac_try;; | ||
18578 | esac | ||
18579 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18580 | (eval "$ac_try") 2>&5 | ||
18581 | ac_status=$? | ||
18582 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18583 | (exit $ac_status); }; }; then | ||
18584 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
18585 | echo "${ECHO_T}yes" >&6; } | ||
10955 | else | 18586 | else |
18587 | echo "$as_me: program exited with status $ac_status" >&5 | ||
18588 | echo "$as_me: failed program was:" >&5 | ||
18589 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18590 | |||
18591 | ( exit $ac_status ) | ||
10956 | 18592 | ||
10957 | $as_echo "#define BROKEN_SETRESGID 1" >>confdefs.h | 18593 | cat >>confdefs.h <<\_ACEOF |
18594 | #define BROKEN_SETRESGID 1 | ||
18595 | _ACEOF | ||
10958 | 18596 | ||
10959 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not implemented" >&5 | 18597 | { echo "$as_me:$LINENO: result: not implemented" >&5 |
10960 | $as_echo "not implemented" >&6; } | 18598 | echo "${ECHO_T}not implemented" >&6; } |
10961 | fi | 18599 | fi |
10962 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 18600 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10963 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
10964 | fi | 18601 | fi |
10965 | 18602 | ||
10966 | 18603 | ||
18604 | |||
10967 | fi | 18605 | fi |
10968 | done | 18606 | done |
10969 | 18607 | ||
10970 | 18608 | ||
18609 | |||
18610 | |||
10971 | for ac_func in gettimeofday time | 18611 | for ac_func in gettimeofday time |
10972 | do : | 18612 | do |
10973 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18613 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10974 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 18614 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10975 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 18615 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
18616 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18617 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18618 | else | ||
18619 | cat >conftest.$ac_ext <<_ACEOF | ||
18620 | /* confdefs.h. */ | ||
18621 | _ACEOF | ||
18622 | cat confdefs.h >>conftest.$ac_ext | ||
18623 | cat >>conftest.$ac_ext <<_ACEOF | ||
18624 | /* end confdefs.h. */ | ||
18625 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18626 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18627 | #define $ac_func innocuous_$ac_func | ||
18628 | |||
18629 | /* System header to define __stub macros and hopefully few prototypes, | ||
18630 | which can conflict with char $ac_func (); below. | ||
18631 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18632 | <limits.h> exists even on freestanding compilers. */ | ||
18633 | |||
18634 | #ifdef __STDC__ | ||
18635 | # include <limits.h> | ||
18636 | #else | ||
18637 | # include <assert.h> | ||
18638 | #endif | ||
18639 | |||
18640 | #undef $ac_func | ||
18641 | |||
18642 | /* Override any GCC internal prototype to avoid an error. | ||
18643 | Use char because int might match the return type of a GCC | ||
18644 | builtin and then its argument prototype would still apply. */ | ||
18645 | #ifdef __cplusplus | ||
18646 | extern "C" | ||
18647 | #endif | ||
18648 | char $ac_func (); | ||
18649 | /* The GNU C library defines this for functions which it implements | ||
18650 | to always fail with ENOSYS. Some functions are actually named | ||
18651 | something starting with __ and the normal name is an alias. */ | ||
18652 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18653 | choke me | ||
18654 | #endif | ||
18655 | |||
18656 | int | ||
18657 | main () | ||
18658 | { | ||
18659 | return $ac_func (); | ||
18660 | ; | ||
18661 | return 0; | ||
18662 | } | ||
18663 | _ACEOF | ||
18664 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18665 | if { (ac_try="$ac_link" | ||
18666 | case "(($ac_try" in | ||
18667 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18668 | *) ac_try_echo=$ac_try;; | ||
18669 | esac | ||
18670 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18671 | (eval "$ac_link") 2>conftest.er1 | ||
18672 | ac_status=$? | ||
18673 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18674 | rm -f conftest.er1 | ||
18675 | cat conftest.err >&5 | ||
18676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18677 | (exit $ac_status); } && { | ||
18678 | test -z "$ac_c_werror_flag" || | ||
18679 | test ! -s conftest.err | ||
18680 | } && test -s conftest$ac_exeext && | ||
18681 | $as_test_x conftest$ac_exeext; then | ||
18682 | eval "$as_ac_var=yes" | ||
18683 | else | ||
18684 | echo "$as_me: failed program was:" >&5 | ||
18685 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18686 | |||
18687 | eval "$as_ac_var=no" | ||
18688 | fi | ||
18689 | |||
18690 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18691 | conftest$ac_exeext conftest.$ac_ext | ||
18692 | fi | ||
18693 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18694 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18695 | echo "${ECHO_T}$ac_res" >&6; } | ||
18696 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10976 | cat >>confdefs.h <<_ACEOF | 18697 | cat >>confdefs.h <<_ACEOF |
10977 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18698 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10978 | _ACEOF | 18699 | _ACEOF |
10979 | 18700 | ||
10980 | fi | 18701 | fi |
10981 | done | 18702 | done |
10982 | 18703 | ||
18704 | |||
18705 | |||
18706 | |||
18707 | |||
18708 | |||
18709 | |||
10983 | for ac_func in endutent getutent getutid getutline pututline setutent | 18710 | for ac_func in endutent getutent getutid getutline pututline setutent |
10984 | do : | 18711 | do |
10985 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18712 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10986 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 18713 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10987 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 18714 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
18715 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18716 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18717 | else | ||
18718 | cat >conftest.$ac_ext <<_ACEOF | ||
18719 | /* confdefs.h. */ | ||
18720 | _ACEOF | ||
18721 | cat confdefs.h >>conftest.$ac_ext | ||
18722 | cat >>conftest.$ac_ext <<_ACEOF | ||
18723 | /* end confdefs.h. */ | ||
18724 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18725 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18726 | #define $ac_func innocuous_$ac_func | ||
18727 | |||
18728 | /* System header to define __stub macros and hopefully few prototypes, | ||
18729 | which can conflict with char $ac_func (); below. | ||
18730 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18731 | <limits.h> exists even on freestanding compilers. */ | ||
18732 | |||
18733 | #ifdef __STDC__ | ||
18734 | # include <limits.h> | ||
18735 | #else | ||
18736 | # include <assert.h> | ||
18737 | #endif | ||
18738 | |||
18739 | #undef $ac_func | ||
18740 | |||
18741 | /* Override any GCC internal prototype to avoid an error. | ||
18742 | Use char because int might match the return type of a GCC | ||
18743 | builtin and then its argument prototype would still apply. */ | ||
18744 | #ifdef __cplusplus | ||
18745 | extern "C" | ||
18746 | #endif | ||
18747 | char $ac_func (); | ||
18748 | /* The GNU C library defines this for functions which it implements | ||
18749 | to always fail with ENOSYS. Some functions are actually named | ||
18750 | something starting with __ and the normal name is an alias. */ | ||
18751 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18752 | choke me | ||
18753 | #endif | ||
18754 | |||
18755 | int | ||
18756 | main () | ||
18757 | { | ||
18758 | return $ac_func (); | ||
18759 | ; | ||
18760 | return 0; | ||
18761 | } | ||
18762 | _ACEOF | ||
18763 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18764 | if { (ac_try="$ac_link" | ||
18765 | case "(($ac_try" in | ||
18766 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18767 | *) ac_try_echo=$ac_try;; | ||
18768 | esac | ||
18769 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18770 | (eval "$ac_link") 2>conftest.er1 | ||
18771 | ac_status=$? | ||
18772 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18773 | rm -f conftest.er1 | ||
18774 | cat conftest.err >&5 | ||
18775 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18776 | (exit $ac_status); } && { | ||
18777 | test -z "$ac_c_werror_flag" || | ||
18778 | test ! -s conftest.err | ||
18779 | } && test -s conftest$ac_exeext && | ||
18780 | $as_test_x conftest$ac_exeext; then | ||
18781 | eval "$as_ac_var=yes" | ||
18782 | else | ||
18783 | echo "$as_me: failed program was:" >&5 | ||
18784 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18785 | |||
18786 | eval "$as_ac_var=no" | ||
18787 | fi | ||
18788 | |||
18789 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18790 | conftest$ac_exeext conftest.$ac_ext | ||
18791 | fi | ||
18792 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18793 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18794 | echo "${ECHO_T}$ac_res" >&6; } | ||
18795 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10988 | cat >>confdefs.h <<_ACEOF | 18796 | cat >>confdefs.h <<_ACEOF |
10989 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18797 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10990 | _ACEOF | 18798 | _ACEOF |
10991 | 18799 | ||
10992 | fi | 18800 | fi |
10993 | done | 18801 | done |
10994 | 18802 | ||
18803 | |||
10995 | for ac_func in utmpname | 18804 | for ac_func in utmpname |
10996 | do : | 18805 | do |
10997 | ac_fn_c_check_func "$LINENO" "utmpname" "ac_cv_func_utmpname" | 18806 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10998 | if test "x$ac_cv_func_utmpname" = xyes; then : | 18807 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18808 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
18809 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18810 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18811 | else | ||
18812 | cat >conftest.$ac_ext <<_ACEOF | ||
18813 | /* confdefs.h. */ | ||
18814 | _ACEOF | ||
18815 | cat confdefs.h >>conftest.$ac_ext | ||
18816 | cat >>conftest.$ac_ext <<_ACEOF | ||
18817 | /* end confdefs.h. */ | ||
18818 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18819 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18820 | #define $ac_func innocuous_$ac_func | ||
18821 | |||
18822 | /* System header to define __stub macros and hopefully few prototypes, | ||
18823 | which can conflict with char $ac_func (); below. | ||
18824 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18825 | <limits.h> exists even on freestanding compilers. */ | ||
18826 | |||
18827 | #ifdef __STDC__ | ||
18828 | # include <limits.h> | ||
18829 | #else | ||
18830 | # include <assert.h> | ||
18831 | #endif | ||
18832 | |||
18833 | #undef $ac_func | ||
18834 | |||
18835 | /* Override any GCC internal prototype to avoid an error. | ||
18836 | Use char because int might match the return type of a GCC | ||
18837 | builtin and then its argument prototype would still apply. */ | ||
18838 | #ifdef __cplusplus | ||
18839 | extern "C" | ||
18840 | #endif | ||
18841 | char $ac_func (); | ||
18842 | /* The GNU C library defines this for functions which it implements | ||
18843 | to always fail with ENOSYS. Some functions are actually named | ||
18844 | something starting with __ and the normal name is an alias. */ | ||
18845 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18846 | choke me | ||
18847 | #endif | ||
18848 | |||
18849 | int | ||
18850 | main () | ||
18851 | { | ||
18852 | return $ac_func (); | ||
18853 | ; | ||
18854 | return 0; | ||
18855 | } | ||
18856 | _ACEOF | ||
18857 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18858 | if { (ac_try="$ac_link" | ||
18859 | case "(($ac_try" in | ||
18860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18861 | *) ac_try_echo=$ac_try;; | ||
18862 | esac | ||
18863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18864 | (eval "$ac_link") 2>conftest.er1 | ||
18865 | ac_status=$? | ||
18866 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18867 | rm -f conftest.er1 | ||
18868 | cat conftest.err >&5 | ||
18869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18870 | (exit $ac_status); } && { | ||
18871 | test -z "$ac_c_werror_flag" || | ||
18872 | test ! -s conftest.err | ||
18873 | } && test -s conftest$ac_exeext && | ||
18874 | $as_test_x conftest$ac_exeext; then | ||
18875 | eval "$as_ac_var=yes" | ||
18876 | else | ||
18877 | echo "$as_me: failed program was:" >&5 | ||
18878 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18879 | |||
18880 | eval "$as_ac_var=no" | ||
18881 | fi | ||
18882 | |||
18883 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18884 | conftest$ac_exeext conftest.$ac_ext | ||
18885 | fi | ||
18886 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18887 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18888 | echo "${ECHO_T}$ac_res" >&6; } | ||
18889 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
10999 | cat >>confdefs.h <<_ACEOF | 18890 | cat >>confdefs.h <<_ACEOF |
11000 | #define HAVE_UTMPNAME 1 | 18891 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11001 | _ACEOF | 18892 | _ACEOF |
11002 | 18893 | ||
11003 | fi | 18894 | fi |
11004 | done | 18895 | done |
11005 | 18896 | ||
18897 | |||
18898 | |||
18899 | |||
18900 | |||
18901 | |||
18902 | |||
11006 | for ac_func in endutxent getutxent getutxid getutxline getutxuser pututxline | 18903 | for ac_func in endutxent getutxent getutxid getutxline getutxuser pututxline |
11007 | do : | 18904 | do |
11008 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18905 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11009 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 18906 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11010 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 18907 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
18908 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
18909 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
18910 | else | ||
18911 | cat >conftest.$ac_ext <<_ACEOF | ||
18912 | /* confdefs.h. */ | ||
18913 | _ACEOF | ||
18914 | cat confdefs.h >>conftest.$ac_ext | ||
18915 | cat >>conftest.$ac_ext <<_ACEOF | ||
18916 | /* end confdefs.h. */ | ||
18917 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
18918 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
18919 | #define $ac_func innocuous_$ac_func | ||
18920 | |||
18921 | /* System header to define __stub macros and hopefully few prototypes, | ||
18922 | which can conflict with char $ac_func (); below. | ||
18923 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
18924 | <limits.h> exists even on freestanding compilers. */ | ||
18925 | |||
18926 | #ifdef __STDC__ | ||
18927 | # include <limits.h> | ||
18928 | #else | ||
18929 | # include <assert.h> | ||
18930 | #endif | ||
18931 | |||
18932 | #undef $ac_func | ||
18933 | |||
18934 | /* Override any GCC internal prototype to avoid an error. | ||
18935 | Use char because int might match the return type of a GCC | ||
18936 | builtin and then its argument prototype would still apply. */ | ||
18937 | #ifdef __cplusplus | ||
18938 | extern "C" | ||
18939 | #endif | ||
18940 | char $ac_func (); | ||
18941 | /* The GNU C library defines this for functions which it implements | ||
18942 | to always fail with ENOSYS. Some functions are actually named | ||
18943 | something starting with __ and the normal name is an alias. */ | ||
18944 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
18945 | choke me | ||
18946 | #endif | ||
18947 | |||
18948 | int | ||
18949 | main () | ||
18950 | { | ||
18951 | return $ac_func (); | ||
18952 | ; | ||
18953 | return 0; | ||
18954 | } | ||
18955 | _ACEOF | ||
18956 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
18957 | if { (ac_try="$ac_link" | ||
18958 | case "(($ac_try" in | ||
18959 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
18960 | *) ac_try_echo=$ac_try;; | ||
18961 | esac | ||
18962 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
18963 | (eval "$ac_link") 2>conftest.er1 | ||
18964 | ac_status=$? | ||
18965 | grep -v '^ *+' conftest.er1 >conftest.err | ||
18966 | rm -f conftest.er1 | ||
18967 | cat conftest.err >&5 | ||
18968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
18969 | (exit $ac_status); } && { | ||
18970 | test -z "$ac_c_werror_flag" || | ||
18971 | test ! -s conftest.err | ||
18972 | } && test -s conftest$ac_exeext && | ||
18973 | $as_test_x conftest$ac_exeext; then | ||
18974 | eval "$as_ac_var=yes" | ||
18975 | else | ||
18976 | echo "$as_me: failed program was:" >&5 | ||
18977 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18978 | |||
18979 | eval "$as_ac_var=no" | ||
18980 | fi | ||
18981 | |||
18982 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
18983 | conftest$ac_exeext conftest.$ac_ext | ||
18984 | fi | ||
18985 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
18986 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
18987 | echo "${ECHO_T}$ac_res" >&6; } | ||
18988 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
11011 | cat >>confdefs.h <<_ACEOF | 18989 | cat >>confdefs.h <<_ACEOF |
11012 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18990 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11013 | _ACEOF | 18991 | _ACEOF |
11014 | 18992 | ||
11015 | fi | 18993 | fi |
11016 | done | 18994 | done |
11017 | 18995 | ||
18996 | |||
18997 | |||
18998 | |||
11018 | for ac_func in setutxdb setutxent utmpxname | 18999 | for ac_func in setutxdb setutxent utmpxname |
11019 | do : | 19000 | do |
11020 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 19001 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11021 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 19002 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11022 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 19003 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
19004 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19005 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19006 | else | ||
19007 | cat >conftest.$ac_ext <<_ACEOF | ||
19008 | /* confdefs.h. */ | ||
19009 | _ACEOF | ||
19010 | cat confdefs.h >>conftest.$ac_ext | ||
19011 | cat >>conftest.$ac_ext <<_ACEOF | ||
19012 | /* end confdefs.h. */ | ||
19013 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19014 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19015 | #define $ac_func innocuous_$ac_func | ||
19016 | |||
19017 | /* System header to define __stub macros and hopefully few prototypes, | ||
19018 | which can conflict with char $ac_func (); below. | ||
19019 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19020 | <limits.h> exists even on freestanding compilers. */ | ||
19021 | |||
19022 | #ifdef __STDC__ | ||
19023 | # include <limits.h> | ||
19024 | #else | ||
19025 | # include <assert.h> | ||
19026 | #endif | ||
19027 | |||
19028 | #undef $ac_func | ||
19029 | |||
19030 | /* Override any GCC internal prototype to avoid an error. | ||
19031 | Use char because int might match the return type of a GCC | ||
19032 | builtin and then its argument prototype would still apply. */ | ||
19033 | #ifdef __cplusplus | ||
19034 | extern "C" | ||
19035 | #endif | ||
19036 | char $ac_func (); | ||
19037 | /* The GNU C library defines this for functions which it implements | ||
19038 | to always fail with ENOSYS. Some functions are actually named | ||
19039 | something starting with __ and the normal name is an alias. */ | ||
19040 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19041 | choke me | ||
19042 | #endif | ||
19043 | |||
19044 | int | ||
19045 | main () | ||
19046 | { | ||
19047 | return $ac_func (); | ||
19048 | ; | ||
19049 | return 0; | ||
19050 | } | ||
19051 | _ACEOF | ||
19052 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19053 | if { (ac_try="$ac_link" | ||
19054 | case "(($ac_try" in | ||
19055 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19056 | *) ac_try_echo=$ac_try;; | ||
19057 | esac | ||
19058 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19059 | (eval "$ac_link") 2>conftest.er1 | ||
19060 | ac_status=$? | ||
19061 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19062 | rm -f conftest.er1 | ||
19063 | cat conftest.err >&5 | ||
19064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19065 | (exit $ac_status); } && { | ||
19066 | test -z "$ac_c_werror_flag" || | ||
19067 | test ! -s conftest.err | ||
19068 | } && test -s conftest$ac_exeext && | ||
19069 | $as_test_x conftest$ac_exeext; then | ||
19070 | eval "$as_ac_var=yes" | ||
19071 | else | ||
19072 | echo "$as_me: failed program was:" >&5 | ||
19073 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19074 | |||
19075 | eval "$as_ac_var=no" | ||
19076 | fi | ||
19077 | |||
19078 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19079 | conftest$ac_exeext conftest.$ac_ext | ||
19080 | fi | ||
19081 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19082 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19083 | echo "${ECHO_T}$ac_res" >&6; } | ||
19084 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
11023 | cat >>confdefs.h <<_ACEOF | 19085 | cat >>confdefs.h <<_ACEOF |
11024 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 19086 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11025 | _ACEOF | 19087 | _ACEOF |
11026 | 19088 | ||
11027 | fi | 19089 | fi |
11028 | done | 19090 | done |
11029 | 19091 | ||
19092 | |||
11030 | for ac_func in getlastlogxbyname | 19093 | for ac_func in getlastlogxbyname |
11031 | do : | 19094 | do |
11032 | ac_fn_c_check_func "$LINENO" "getlastlogxbyname" "ac_cv_func_getlastlogxbyname" | 19095 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11033 | if test "x$ac_cv_func_getlastlogxbyname" = xyes; then : | 19096 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19097 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
19098 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
19099 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19100 | else | ||
19101 | cat >conftest.$ac_ext <<_ACEOF | ||
19102 | /* confdefs.h. */ | ||
19103 | _ACEOF | ||
19104 | cat confdefs.h >>conftest.$ac_ext | ||
19105 | cat >>conftest.$ac_ext <<_ACEOF | ||
19106 | /* end confdefs.h. */ | ||
19107 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
19108 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19109 | #define $ac_func innocuous_$ac_func | ||
19110 | |||
19111 | /* System header to define __stub macros and hopefully few prototypes, | ||
19112 | which can conflict with char $ac_func (); below. | ||
19113 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19114 | <limits.h> exists even on freestanding compilers. */ | ||
19115 | |||
19116 | #ifdef __STDC__ | ||
19117 | # include <limits.h> | ||
19118 | #else | ||
19119 | # include <assert.h> | ||
19120 | #endif | ||
19121 | |||
19122 | #undef $ac_func | ||
19123 | |||
19124 | /* Override any GCC internal prototype to avoid an error. | ||
19125 | Use char because int might match the return type of a GCC | ||
19126 | builtin and then its argument prototype would still apply. */ | ||
19127 | #ifdef __cplusplus | ||
19128 | extern "C" | ||
19129 | #endif | ||
19130 | char $ac_func (); | ||
19131 | /* The GNU C library defines this for functions which it implements | ||
19132 | to always fail with ENOSYS. Some functions are actually named | ||
19133 | something starting with __ and the normal name is an alias. */ | ||
19134 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
19135 | choke me | ||
19136 | #endif | ||
19137 | |||
19138 | int | ||
19139 | main () | ||
19140 | { | ||
19141 | return $ac_func (); | ||
19142 | ; | ||
19143 | return 0; | ||
19144 | } | ||
19145 | _ACEOF | ||
19146 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19147 | if { (ac_try="$ac_link" | ||
19148 | case "(($ac_try" in | ||
19149 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19150 | *) ac_try_echo=$ac_try;; | ||
19151 | esac | ||
19152 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19153 | (eval "$ac_link") 2>conftest.er1 | ||
19154 | ac_status=$? | ||
19155 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19156 | rm -f conftest.er1 | ||
19157 | cat conftest.err >&5 | ||
19158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19159 | (exit $ac_status); } && { | ||
19160 | test -z "$ac_c_werror_flag" || | ||
19161 | test ! -s conftest.err | ||
19162 | } && test -s conftest$ac_exeext && | ||
19163 | $as_test_x conftest$ac_exeext; then | ||
19164 | eval "$as_ac_var=yes" | ||
19165 | else | ||
19166 | echo "$as_me: failed program was:" >&5 | ||
19167 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19168 | |||
19169 | eval "$as_ac_var=no" | ||
19170 | fi | ||
19171 | |||
19172 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19173 | conftest$ac_exeext conftest.$ac_ext | ||
19174 | fi | ||
19175 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
19176 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
19177 | echo "${ECHO_T}$ac_res" >&6; } | ||
19178 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
11034 | cat >>confdefs.h <<_ACEOF | 19179 | cat >>confdefs.h <<_ACEOF |
11035 | #define HAVE_GETLASTLOGXBYNAME 1 | 19180 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11036 | _ACEOF | 19181 | _ACEOF |
11037 | 19182 | ||
11038 | fi | 19183 | fi |
11039 | done | 19184 | done |
11040 | 19185 | ||
11041 | 19186 | ||
11042 | ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" | 19187 | { echo "$as_me:$LINENO: checking for daemon" >&5 |
11043 | if test "x$ac_cv_func_daemon" = xyes; then : | 19188 | echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } |
19189 | if test "${ac_cv_func_daemon+set}" = set; then | ||
19190 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19191 | else | ||
19192 | cat >conftest.$ac_ext <<_ACEOF | ||
19193 | /* confdefs.h. */ | ||
19194 | _ACEOF | ||
19195 | cat confdefs.h >>conftest.$ac_ext | ||
19196 | cat >>conftest.$ac_ext <<_ACEOF | ||
19197 | /* end confdefs.h. */ | ||
19198 | /* Define daemon to an innocuous variant, in case <limits.h> declares daemon. | ||
19199 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19200 | #define daemon innocuous_daemon | ||
19201 | |||
19202 | /* System header to define __stub macros and hopefully few prototypes, | ||
19203 | which can conflict with char daemon (); below. | ||
19204 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19205 | <limits.h> exists even on freestanding compilers. */ | ||
19206 | |||
19207 | #ifdef __STDC__ | ||
19208 | # include <limits.h> | ||
19209 | #else | ||
19210 | # include <assert.h> | ||
19211 | #endif | ||
19212 | |||
19213 | #undef daemon | ||
19214 | |||
19215 | /* Override any GCC internal prototype to avoid an error. | ||
19216 | Use char because int might match the return type of a GCC | ||
19217 | builtin and then its argument prototype would still apply. */ | ||
19218 | #ifdef __cplusplus | ||
19219 | extern "C" | ||
19220 | #endif | ||
19221 | char daemon (); | ||
19222 | /* The GNU C library defines this for functions which it implements | ||
19223 | to always fail with ENOSYS. Some functions are actually named | ||
19224 | something starting with __ and the normal name is an alias. */ | ||
19225 | #if defined __stub_daemon || defined __stub___daemon | ||
19226 | choke me | ||
19227 | #endif | ||
19228 | |||
19229 | int | ||
19230 | main () | ||
19231 | { | ||
19232 | return daemon (); | ||
19233 | ; | ||
19234 | return 0; | ||
19235 | } | ||
19236 | _ACEOF | ||
19237 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19238 | if { (ac_try="$ac_link" | ||
19239 | case "(($ac_try" in | ||
19240 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19241 | *) ac_try_echo=$ac_try;; | ||
19242 | esac | ||
19243 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19244 | (eval "$ac_link") 2>conftest.er1 | ||
19245 | ac_status=$? | ||
19246 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19247 | rm -f conftest.er1 | ||
19248 | cat conftest.err >&5 | ||
19249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19250 | (exit $ac_status); } && { | ||
19251 | test -z "$ac_c_werror_flag" || | ||
19252 | test ! -s conftest.err | ||
19253 | } && test -s conftest$ac_exeext && | ||
19254 | $as_test_x conftest$ac_exeext; then | ||
19255 | ac_cv_func_daemon=yes | ||
19256 | else | ||
19257 | echo "$as_me: failed program was:" >&5 | ||
19258 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19259 | |||
19260 | ac_cv_func_daemon=no | ||
19261 | fi | ||
19262 | |||
19263 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19264 | conftest$ac_exeext conftest.$ac_ext | ||
19265 | fi | ||
19266 | { echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 | ||
19267 | echo "${ECHO_T}$ac_cv_func_daemon" >&6; } | ||
19268 | if test $ac_cv_func_daemon = yes; then | ||
11044 | 19269 | ||
11045 | $as_echo "#define HAVE_DAEMON 1" >>confdefs.h | 19270 | cat >>confdefs.h <<\_ACEOF |
19271 | #define HAVE_DAEMON 1 | ||
19272 | _ACEOF | ||
11046 | 19273 | ||
11047 | else | 19274 | else |
11048 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daemon in -lbsd" >&5 | 19275 | { echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 |
11049 | $as_echo_n "checking for daemon in -lbsd... " >&6; } | 19276 | echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6; } |
11050 | if ${ac_cv_lib_bsd_daemon+:} false; then : | 19277 | if test "${ac_cv_lib_bsd_daemon+set}" = set; then |
11051 | $as_echo_n "(cached) " >&6 | 19278 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11052 | else | 19279 | else |
11053 | ac_check_lib_save_LIBS=$LIBS | 19280 | ac_check_lib_save_LIBS=$LIBS |
11054 | LIBS="-lbsd $LIBS" | 19281 | LIBS="-lbsd $LIBS" |
11055 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19282 | cat >conftest.$ac_ext <<_ACEOF |
19283 | /* confdefs.h. */ | ||
19284 | _ACEOF | ||
19285 | cat confdefs.h >>conftest.$ac_ext | ||
19286 | cat >>conftest.$ac_ext <<_ACEOF | ||
11056 | /* end confdefs.h. */ | 19287 | /* end confdefs.h. */ |
11057 | 19288 | ||
11058 | /* Override any GCC internal prototype to avoid an error. | 19289 | /* Override any GCC internal prototype to avoid an error. |
@@ -11070,19 +19301,42 @@ return daemon (); | |||
11070 | return 0; | 19301 | return 0; |
11071 | } | 19302 | } |
11072 | _ACEOF | 19303 | _ACEOF |
11073 | if ac_fn_c_try_link "$LINENO"; then : | 19304 | rm -f conftest.$ac_objext conftest$ac_exeext |
19305 | if { (ac_try="$ac_link" | ||
19306 | case "(($ac_try" in | ||
19307 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19308 | *) ac_try_echo=$ac_try;; | ||
19309 | esac | ||
19310 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19311 | (eval "$ac_link") 2>conftest.er1 | ||
19312 | ac_status=$? | ||
19313 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19314 | rm -f conftest.er1 | ||
19315 | cat conftest.err >&5 | ||
19316 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19317 | (exit $ac_status); } && { | ||
19318 | test -z "$ac_c_werror_flag" || | ||
19319 | test ! -s conftest.err | ||
19320 | } && test -s conftest$ac_exeext && | ||
19321 | $as_test_x conftest$ac_exeext; then | ||
11074 | ac_cv_lib_bsd_daemon=yes | 19322 | ac_cv_lib_bsd_daemon=yes |
11075 | else | 19323 | else |
11076 | ac_cv_lib_bsd_daemon=no | 19324 | echo "$as_me: failed program was:" >&5 |
19325 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19326 | |||
19327 | ac_cv_lib_bsd_daemon=no | ||
11077 | fi | 19328 | fi |
11078 | rm -f core conftest.err conftest.$ac_objext \ | 19329 | |
11079 | conftest$ac_exeext conftest.$ac_ext | 19330 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19331 | conftest$ac_exeext conftest.$ac_ext | ||
11080 | LIBS=$ac_check_lib_save_LIBS | 19332 | LIBS=$ac_check_lib_save_LIBS |
11081 | fi | 19333 | fi |
11082 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_daemon" >&5 | 19334 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 |
11083 | $as_echo "$ac_cv_lib_bsd_daemon" >&6; } | 19335 | echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6; } |
11084 | if test "x$ac_cv_lib_bsd_daemon" = xyes; then : | 19336 | if test $ac_cv_lib_bsd_daemon = yes; then |
11085 | LIBS="$LIBS -lbsd"; $as_echo "#define HAVE_DAEMON 1" >>confdefs.h | 19337 | LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF |
19338 | #define HAVE_DAEMON 1 | ||
19339 | _ACEOF | ||
11086 | 19340 | ||
11087 | fi | 19341 | fi |
11088 | 19342 | ||
@@ -11090,20 +19344,106 @@ fi | |||
11090 | fi | 19344 | fi |
11091 | 19345 | ||
11092 | 19346 | ||
11093 | ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" | 19347 | { echo "$as_me:$LINENO: checking for getpagesize" >&5 |
11094 | if test "x$ac_cv_func_getpagesize" = xyes; then : | 19348 | echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; } |
19349 | if test "${ac_cv_func_getpagesize+set}" = set; then | ||
19350 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
19351 | else | ||
19352 | cat >conftest.$ac_ext <<_ACEOF | ||
19353 | /* confdefs.h. */ | ||
19354 | _ACEOF | ||
19355 | cat confdefs.h >>conftest.$ac_ext | ||
19356 | cat >>conftest.$ac_ext <<_ACEOF | ||
19357 | /* end confdefs.h. */ | ||
19358 | /* Define getpagesize to an innocuous variant, in case <limits.h> declares getpagesize. | ||
19359 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
19360 | #define getpagesize innocuous_getpagesize | ||
19361 | |||
19362 | /* System header to define __stub macros and hopefully few prototypes, | ||
19363 | which can conflict with char getpagesize (); below. | ||
19364 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
19365 | <limits.h> exists even on freestanding compilers. */ | ||
19366 | |||
19367 | #ifdef __STDC__ | ||
19368 | # include <limits.h> | ||
19369 | #else | ||
19370 | # include <assert.h> | ||
19371 | #endif | ||
19372 | |||
19373 | #undef getpagesize | ||
19374 | |||
19375 | /* Override any GCC internal prototype to avoid an error. | ||
19376 | Use char because int might match the return type of a GCC | ||
19377 | builtin and then its argument prototype would still apply. */ | ||
19378 | #ifdef __cplusplus | ||
19379 | extern "C" | ||
19380 | #endif | ||
19381 | char getpagesize (); | ||
19382 | /* The GNU C library defines this for functions which it implements | ||
19383 | to always fail with ENOSYS. Some functions are actually named | ||
19384 | something starting with __ and the normal name is an alias. */ | ||
19385 | #if defined __stub_getpagesize || defined __stub___getpagesize | ||
19386 | choke me | ||
19387 | #endif | ||
19388 | |||
19389 | int | ||
19390 | main () | ||
19391 | { | ||
19392 | return getpagesize (); | ||
19393 | ; | ||
19394 | return 0; | ||
19395 | } | ||
19396 | _ACEOF | ||
19397 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
19398 | if { (ac_try="$ac_link" | ||
19399 | case "(($ac_try" in | ||
19400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19401 | *) ac_try_echo=$ac_try;; | ||
19402 | esac | ||
19403 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19404 | (eval "$ac_link") 2>conftest.er1 | ||
19405 | ac_status=$? | ||
19406 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19407 | rm -f conftest.er1 | ||
19408 | cat conftest.err >&5 | ||
19409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19410 | (exit $ac_status); } && { | ||
19411 | test -z "$ac_c_werror_flag" || | ||
19412 | test ! -s conftest.err | ||
19413 | } && test -s conftest$ac_exeext && | ||
19414 | $as_test_x conftest$ac_exeext; then | ||
19415 | ac_cv_func_getpagesize=yes | ||
19416 | else | ||
19417 | echo "$as_me: failed program was:" >&5 | ||
19418 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19419 | |||
19420 | ac_cv_func_getpagesize=no | ||
19421 | fi | ||
19422 | |||
19423 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
19424 | conftest$ac_exeext conftest.$ac_ext | ||
19425 | fi | ||
19426 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 | ||
19427 | echo "${ECHO_T}$ac_cv_func_getpagesize" >&6; } | ||
19428 | if test $ac_cv_func_getpagesize = yes; then | ||
11095 | 19429 | ||
11096 | $as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h | 19430 | cat >>confdefs.h <<\_ACEOF |
19431 | #define HAVE_GETPAGESIZE 1 | ||
19432 | _ACEOF | ||
11097 | 19433 | ||
11098 | else | 19434 | else |
11099 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpagesize in -lucb" >&5 | 19435 | { echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 |
11100 | $as_echo_n "checking for getpagesize in -lucb... " >&6; } | 19436 | echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6; } |
11101 | if ${ac_cv_lib_ucb_getpagesize+:} false; then : | 19437 | if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then |
11102 | $as_echo_n "(cached) " >&6 | 19438 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11103 | else | 19439 | else |
11104 | ac_check_lib_save_LIBS=$LIBS | 19440 | ac_check_lib_save_LIBS=$LIBS |
11105 | LIBS="-lucb $LIBS" | 19441 | LIBS="-lucb $LIBS" |
11106 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19442 | cat >conftest.$ac_ext <<_ACEOF |
19443 | /* confdefs.h. */ | ||
19444 | _ACEOF | ||
19445 | cat confdefs.h >>conftest.$ac_ext | ||
19446 | cat >>conftest.$ac_ext <<_ACEOF | ||
11107 | /* end confdefs.h. */ | 19447 | /* end confdefs.h. */ |
11108 | 19448 | ||
11109 | /* Override any GCC internal prototype to avoid an error. | 19449 | /* Override any GCC internal prototype to avoid an error. |
@@ -11121,19 +19461,42 @@ return getpagesize (); | |||
11121 | return 0; | 19461 | return 0; |
11122 | } | 19462 | } |
11123 | _ACEOF | 19463 | _ACEOF |
11124 | if ac_fn_c_try_link "$LINENO"; then : | 19464 | rm -f conftest.$ac_objext conftest$ac_exeext |
19465 | if { (ac_try="$ac_link" | ||
19466 | case "(($ac_try" in | ||
19467 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19468 | *) ac_try_echo=$ac_try;; | ||
19469 | esac | ||
19470 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19471 | (eval "$ac_link") 2>conftest.er1 | ||
19472 | ac_status=$? | ||
19473 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19474 | rm -f conftest.er1 | ||
19475 | cat conftest.err >&5 | ||
19476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19477 | (exit $ac_status); } && { | ||
19478 | test -z "$ac_c_werror_flag" || | ||
19479 | test ! -s conftest.err | ||
19480 | } && test -s conftest$ac_exeext && | ||
19481 | $as_test_x conftest$ac_exeext; then | ||
11125 | ac_cv_lib_ucb_getpagesize=yes | 19482 | ac_cv_lib_ucb_getpagesize=yes |
11126 | else | 19483 | else |
11127 | ac_cv_lib_ucb_getpagesize=no | 19484 | echo "$as_me: failed program was:" >&5 |
19485 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19486 | |||
19487 | ac_cv_lib_ucb_getpagesize=no | ||
11128 | fi | 19488 | fi |
11129 | rm -f core conftest.err conftest.$ac_objext \ | 19489 | |
11130 | conftest$ac_exeext conftest.$ac_ext | 19490 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19491 | conftest$ac_exeext conftest.$ac_ext | ||
11131 | LIBS=$ac_check_lib_save_LIBS | 19492 | LIBS=$ac_check_lib_save_LIBS |
11132 | fi | 19493 | fi |
11133 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ucb_getpagesize" >&5 | 19494 | { echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 |
11134 | $as_echo "$ac_cv_lib_ucb_getpagesize" >&6; } | 19495 | echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6; } |
11135 | if test "x$ac_cv_lib_ucb_getpagesize" = xyes; then : | 19496 | if test $ac_cv_lib_ucb_getpagesize = yes; then |
11136 | LIBS="$LIBS -lucb"; $as_echo "#define HAVE_GETPAGESIZE 1" >>confdefs.h | 19497 | LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF |
19498 | #define HAVE_GETPAGESIZE 1 | ||
19499 | _ACEOF | ||
11137 | 19500 | ||
11138 | fi | 19501 | fi |
11139 | 19502 | ||
@@ -11143,14 +19506,18 @@ fi | |||
11143 | 19506 | ||
11144 | # Check for broken snprintf | 19507 | # Check for broken snprintf |
11145 | if test "x$ac_cv_func_snprintf" = "xyes" ; then | 19508 | if test "x$ac_cv_func_snprintf" = "xyes" ; then |
11146 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf correctly terminates long strings" >&5 | 19509 | { echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 |
11147 | $as_echo_n "checking whether snprintf correctly terminates long strings... " >&6; } | 19510 | echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6; } |
11148 | if test "$cross_compiling" = yes; then : | 19511 | if test "$cross_compiling" = yes; then |
11149 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Assuming working snprintf()" >&5 | 19512 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 |
11150 | $as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 19513 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
11151 | 19514 | ||
11152 | else | 19515 | else |
11153 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19516 | cat >conftest.$ac_ext <<_ACEOF |
19517 | /* confdefs.h. */ | ||
19518 | _ACEOF | ||
19519 | cat confdefs.h >>conftest.$ac_ext | ||
19520 | cat >>conftest.$ac_ext <<_ACEOF | ||
11154 | /* end confdefs.h. */ | 19521 | /* end confdefs.h. */ |
11155 | #include <stdio.h> | 19522 | #include <stdio.h> |
11156 | int | 19523 | int |
@@ -11165,37 +19532,67 @@ main () | |||
11165 | return 0; | 19532 | return 0; |
11166 | } | 19533 | } |
11167 | _ACEOF | 19534 | _ACEOF |
11168 | if ac_fn_c_try_run "$LINENO"; then : | 19535 | rm -f conftest$ac_exeext |
11169 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19536 | if { (ac_try="$ac_link" |
11170 | $as_echo "yes" >&6; } | 19537 | case "(($ac_try" in |
19538 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19539 | *) ac_try_echo=$ac_try;; | ||
19540 | esac | ||
19541 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19542 | (eval "$ac_link") 2>&5 | ||
19543 | ac_status=$? | ||
19544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19545 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19546 | { (case "(($ac_try" in | ||
19547 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19548 | *) ac_try_echo=$ac_try;; | ||
19549 | esac | ||
19550 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19551 | (eval "$ac_try") 2>&5 | ||
19552 | ac_status=$? | ||
19553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19554 | (exit $ac_status); }; }; then | ||
19555 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19556 | echo "${ECHO_T}yes" >&6; } | ||
11171 | else | 19557 | else |
19558 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19559 | echo "$as_me: failed program was:" >&5 | ||
19560 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19561 | |||
19562 | ( exit $ac_status ) | ||
11172 | 19563 | ||
11173 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 19564 | { echo "$as_me:$LINENO: result: no" >&5 |
11174 | $as_echo "no" >&6; } | 19565 | echo "${ECHO_T}no" >&6; } |
11175 | 19566 | ||
11176 | $as_echo "#define BROKEN_SNPRINTF 1" >>confdefs.h | 19567 | cat >>confdefs.h <<\_ACEOF |
19568 | #define BROKEN_SNPRINTF 1 | ||
19569 | _ACEOF | ||
11177 | 19570 | ||
11178 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 | 19571 | { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 |
11179 | $as_echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} | 19572 | echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} |
11180 | 19573 | ||
11181 | fi | 19574 | fi |
11182 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 19575 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11183 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11184 | fi | 19576 | fi |
11185 | 19577 | ||
19578 | |||
11186 | fi | 19579 | fi |
11187 | 19580 | ||
11188 | # We depend on vsnprintf returning the right thing on overflow: the | 19581 | # We depend on vsnprintf returning the right thing on overflow: the |
11189 | # number of characters it tried to create (as per SUSv3) | 19582 | # number of characters it tried to create (as per SUSv3) |
11190 | if test "x$ac_cv_func_vsnprintf" = "xyes" ; then | 19583 | if test "x$ac_cv_func_vsnprintf" = "xyes" ; then |
11191 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether vsnprintf returns correct values on overflow" >&5 | 19584 | { echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5 |
11192 | $as_echo_n "checking whether vsnprintf returns correct values on overflow... " >&6; } | 19585 | echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6; } |
11193 | if test "$cross_compiling" = yes; then : | 19586 | if test "$cross_compiling" = yes; then |
11194 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Assuming working vsnprintf()" >&5 | 19587 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5 |
11195 | $as_echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} | 19588 | echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} |
11196 | 19589 | ||
11197 | else | 19590 | else |
11198 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19591 | cat >conftest.$ac_ext <<_ACEOF |
19592 | /* confdefs.h. */ | ||
19593 | _ACEOF | ||
19594 | cat confdefs.h >>conftest.$ac_ext | ||
19595 | cat >>conftest.$ac_ext <<_ACEOF | ||
11199 | /* end confdefs.h. */ | 19596 | /* end confdefs.h. */ |
11200 | 19597 | ||
11201 | #include <sys/types.h> | 19598 | #include <sys/types.h> |
@@ -11228,32 +19625,62 @@ return 0; | |||
11228 | return 0; | 19625 | return 0; |
11229 | } | 19626 | } |
11230 | _ACEOF | 19627 | _ACEOF |
11231 | if ac_fn_c_try_run "$LINENO"; then : | 19628 | rm -f conftest$ac_exeext |
11232 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19629 | if { (ac_try="$ac_link" |
11233 | $as_echo "yes" >&6; } | 19630 | case "(($ac_try" in |
19631 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19632 | *) ac_try_echo=$ac_try;; | ||
19633 | esac | ||
19634 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19635 | (eval "$ac_link") 2>&5 | ||
19636 | ac_status=$? | ||
19637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19638 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19639 | { (case "(($ac_try" in | ||
19640 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19641 | *) ac_try_echo=$ac_try;; | ||
19642 | esac | ||
19643 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19644 | (eval "$ac_try") 2>&5 | ||
19645 | ac_status=$? | ||
19646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19647 | (exit $ac_status); }; }; then | ||
19648 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19649 | echo "${ECHO_T}yes" >&6; } | ||
11234 | else | 19650 | else |
19651 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19652 | echo "$as_me: failed program was:" >&5 | ||
19653 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19654 | |||
19655 | ( exit $ac_status ) | ||
11235 | 19656 | ||
11236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 19657 | { echo "$as_me:$LINENO: result: no" >&5 |
11237 | $as_echo "no" >&6; } | 19658 | echo "${ECHO_T}no" >&6; } |
11238 | 19659 | ||
11239 | $as_echo "#define BROKEN_SNPRINTF 1" >>confdefs.h | 19660 | cat >>confdefs.h <<\_ACEOF |
19661 | #define BROKEN_SNPRINTF 1 | ||
19662 | _ACEOF | ||
11240 | 19663 | ||
11241 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5 | 19664 | { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5 |
11242 | $as_echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} | 19665 | echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} |
11243 | 19666 | ||
11244 | fi | 19667 | fi |
11245 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 19668 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11246 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11247 | fi | 19669 | fi |
11248 | 19670 | ||
19671 | |||
11249 | fi | 19672 | fi |
11250 | 19673 | ||
11251 | # On systems where [v]snprintf is broken, but is declared in stdio, | 19674 | # On systems where [v]snprintf is broken, but is declared in stdio, |
11252 | # check that the fmt argument is const char * or just char *. | 19675 | # check that the fmt argument is const char * or just char *. |
11253 | # This is only useful for when BROKEN_SNPRINTF | 19676 | # This is only useful for when BROKEN_SNPRINTF |
11254 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf can declare const char *fmt" >&5 | 19677 | { echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 |
11255 | $as_echo_n "checking whether snprintf can declare const char *fmt... " >&6; } | 19678 | echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6; } |
11256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19679 | cat >conftest.$ac_ext <<_ACEOF |
19680 | /* confdefs.h. */ | ||
19681 | _ACEOF | ||
19682 | cat confdefs.h >>conftest.$ac_ext | ||
19683 | cat >>conftest.$ac_ext <<_ACEOF | ||
11257 | /* end confdefs.h. */ | 19684 | /* end confdefs.h. */ |
11258 | 19685 | ||
11259 | #include <stdio.h> | 19686 | #include <stdio.h> |
@@ -11269,26 +19696,54 @@ main () | |||
11269 | return 0; | 19696 | return 0; |
11270 | } | 19697 | } |
11271 | _ACEOF | 19698 | _ACEOF |
11272 | if ac_fn_c_try_compile "$LINENO"; then : | 19699 | rm -f conftest.$ac_objext |
11273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19700 | if { (ac_try="$ac_compile" |
11274 | $as_echo "yes" >&6; } | 19701 | case "(($ac_try" in |
19702 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19703 | *) ac_try_echo=$ac_try;; | ||
19704 | esac | ||
19705 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19706 | (eval "$ac_compile") 2>conftest.er1 | ||
19707 | ac_status=$? | ||
19708 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19709 | rm -f conftest.er1 | ||
19710 | cat conftest.err >&5 | ||
19711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19712 | (exit $ac_status); } && { | ||
19713 | test -z "$ac_c_werror_flag" || | ||
19714 | test ! -s conftest.err | ||
19715 | } && test -s conftest.$ac_objext; then | ||
19716 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19717 | echo "${ECHO_T}yes" >&6; } | ||
11275 | 19718 | ||
11276 | $as_echo "#define SNPRINTF_CONST const" >>confdefs.h | 19719 | cat >>confdefs.h <<\_ACEOF |
19720 | #define SNPRINTF_CONST const | ||
19721 | _ACEOF | ||
11277 | 19722 | ||
11278 | else | 19723 | else |
11279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 19724 | echo "$as_me: failed program was:" >&5 |
11280 | $as_echo "no" >&6; } | 19725 | sed 's/^/| /' conftest.$ac_ext >&5 |
11281 | $as_echo "#define SNPRINTF_CONST /* not const */" >>confdefs.h | 19726 | |
19727 | { echo "$as_me:$LINENO: result: no" >&5 | ||
19728 | echo "${ECHO_T}no" >&6; } | ||
19729 | cat >>confdefs.h <<\_ACEOF | ||
19730 | #define SNPRINTF_CONST /* not const */ | ||
19731 | _ACEOF | ||
11282 | 19732 | ||
11283 | fi | 19733 | fi |
19734 | |||
11284 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19735 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11285 | 19736 | ||
11286 | # Check for missing getpeereid (or equiv) support | 19737 | # Check for missing getpeereid (or equiv) support |
11287 | NO_PEERCHECK="" | 19738 | NO_PEERCHECK="" |
11288 | if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then | 19739 | if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then |
11289 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system supports SO_PEERCRED getsockopt" >&5 | 19740 | { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 |
11290 | $as_echo_n "checking whether system supports SO_PEERCRED getsockopt... " >&6; } | 19741 | echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } |
11291 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19742 | cat >conftest.$ac_ext <<_ACEOF |
19743 | /* confdefs.h. */ | ||
19744 | _ACEOF | ||
19745 | cat confdefs.h >>conftest.$ac_ext | ||
19746 | cat >>conftest.$ac_ext <<_ACEOF | ||
11292 | /* end confdefs.h. */ | 19747 | /* end confdefs.h. */ |
11293 | 19748 | ||
11294 | #include <sys/types.h> | 19749 | #include <sys/types.h> |
@@ -11301,35 +19756,63 @@ int i = SO_PEERCRED; | |||
11301 | return 0; | 19756 | return 0; |
11302 | } | 19757 | } |
11303 | _ACEOF | 19758 | _ACEOF |
11304 | if ac_fn_c_try_compile "$LINENO"; then : | 19759 | rm -f conftest.$ac_objext |
11305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19760 | if { (ac_try="$ac_compile" |
11306 | $as_echo "yes" >&6; } | 19761 | case "(($ac_try" in |
19762 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19763 | *) ac_try_echo=$ac_try;; | ||
19764 | esac | ||
19765 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19766 | (eval "$ac_compile") 2>conftest.er1 | ||
19767 | ac_status=$? | ||
19768 | grep -v '^ *+' conftest.er1 >conftest.err | ||
19769 | rm -f conftest.er1 | ||
19770 | cat conftest.err >&5 | ||
19771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19772 | (exit $ac_status); } && { | ||
19773 | test -z "$ac_c_werror_flag" || | ||
19774 | test ! -s conftest.err | ||
19775 | } && test -s conftest.$ac_objext; then | ||
19776 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
19777 | echo "${ECHO_T}yes" >&6; } | ||
11307 | 19778 | ||
11308 | $as_echo "#define HAVE_SO_PEERCRED 1" >>confdefs.h | 19779 | cat >>confdefs.h <<\_ACEOF |
19780 | #define HAVE_SO_PEERCRED 1 | ||
19781 | _ACEOF | ||
11309 | 19782 | ||
11310 | 19783 | ||
11311 | else | 19784 | else |
11312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 19785 | echo "$as_me: failed program was:" >&5 |
11313 | $as_echo "no" >&6; } | 19786 | sed 's/^/| /' conftest.$ac_ext >&5 |
19787 | |||
19788 | { echo "$as_me:$LINENO: result: no" >&5 | ||
19789 | echo "${ECHO_T}no" >&6; } | ||
11314 | NO_PEERCHECK=1 | 19790 | NO_PEERCHECK=1 |
11315 | 19791 | ||
11316 | fi | 19792 | fi |
19793 | |||
11317 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 19794 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11318 | fi | 19795 | fi |
11319 | 19796 | ||
11320 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then | 19797 | if test "x$ac_cv_func_mkdtemp" = "xyes" ; then |
11321 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for (overly) strict mkstemp" >&5 | 19798 | { echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 |
11322 | $as_echo_n "checking for (overly) strict mkstemp... " >&6; } | 19799 | echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6; } |
11323 | if test "$cross_compiling" = yes; then : | 19800 | if test "$cross_compiling" = yes; then |
11324 | 19801 | ||
11325 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19802 | { echo "$as_me:$LINENO: result: yes" >&5 |
11326 | $as_echo "yes" >&6; } | 19803 | echo "${ECHO_T}yes" >&6; } |
11327 | $as_echo "#define HAVE_STRICT_MKSTEMP 1" >>confdefs.h | 19804 | cat >>confdefs.h <<\_ACEOF |
19805 | #define HAVE_STRICT_MKSTEMP 1 | ||
19806 | _ACEOF | ||
11328 | 19807 | ||
11329 | 19808 | ||
11330 | 19809 | ||
11331 | else | 19810 | else |
11332 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19811 | cat >conftest.$ac_ext <<_ACEOF |
19812 | /* confdefs.h. */ | ||
19813 | _ACEOF | ||
19814 | cat confdefs.h >>conftest.$ac_ext | ||
19815 | cat >>conftest.$ac_ext <<_ACEOF | ||
11333 | /* end confdefs.h. */ | 19816 | /* end confdefs.h. */ |
11334 | 19817 | ||
11335 | #include <stdlib.h> | 19818 | #include <stdlib.h> |
@@ -11348,37 +19831,67 @@ main () | |||
11348 | return 0; | 19831 | return 0; |
11349 | } | 19832 | } |
11350 | _ACEOF | 19833 | _ACEOF |
11351 | if ac_fn_c_try_run "$LINENO"; then : | 19834 | rm -f conftest$ac_exeext |
19835 | if { (ac_try="$ac_link" | ||
19836 | case "(($ac_try" in | ||
19837 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19838 | *) ac_try_echo=$ac_try;; | ||
19839 | esac | ||
19840 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19841 | (eval "$ac_link") 2>&5 | ||
19842 | ac_status=$? | ||
19843 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19844 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19845 | { (case "(($ac_try" in | ||
19846 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19847 | *) ac_try_echo=$ac_try;; | ||
19848 | esac | ||
19849 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19850 | (eval "$ac_try") 2>&5 | ||
19851 | ac_status=$? | ||
19852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19853 | (exit $ac_status); }; }; then | ||
11352 | 19854 | ||
11353 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 19855 | { echo "$as_me:$LINENO: result: no" >&5 |
11354 | $as_echo "no" >&6; } | 19856 | echo "${ECHO_T}no" >&6; } |
11355 | 19857 | ||
11356 | else | 19858 | else |
19859 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19860 | echo "$as_me: failed program was:" >&5 | ||
19861 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
19862 | |||
19863 | ( exit $ac_status ) | ||
11357 | 19864 | ||
11358 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19865 | { echo "$as_me:$LINENO: result: yes" >&5 |
11359 | $as_echo "yes" >&6; } | 19866 | echo "${ECHO_T}yes" >&6; } |
11360 | 19867 | ||
11361 | $as_echo "#define HAVE_STRICT_MKSTEMP 1" >>confdefs.h | 19868 | cat >>confdefs.h <<\_ACEOF |
19869 | #define HAVE_STRICT_MKSTEMP 1 | ||
19870 | _ACEOF | ||
11362 | 19871 | ||
11363 | 19872 | ||
11364 | fi | 19873 | fi |
11365 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 19874 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11366 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11367 | fi | 19875 | fi |
11368 | 19876 | ||
19877 | |||
11369 | fi | 19878 | fi |
11370 | 19879 | ||
11371 | if test ! -z "$check_for_openpty_ctty_bug"; then | 19880 | if test ! -z "$check_for_openpty_ctty_bug"; then |
11372 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if openpty correctly handles controlling tty" >&5 | 19881 | { echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 |
11373 | $as_echo_n "checking if openpty correctly handles controlling tty... " >&6; } | 19882 | echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6; } |
11374 | if test "$cross_compiling" = yes; then : | 19883 | if test "$cross_compiling" = yes; then |
11375 | 19884 | ||
11376 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5 | 19885 | { echo "$as_me:$LINENO: result: cross-compiling, assuming yes" >&5 |
11377 | $as_echo "cross-compiling, assuming yes" >&6; } | 19886 | echo "${ECHO_T}cross-compiling, assuming yes" >&6; } |
11378 | 19887 | ||
11379 | 19888 | ||
11380 | else | 19889 | else |
11381 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19890 | cat >conftest.$ac_ext <<_ACEOF |
19891 | /* confdefs.h. */ | ||
19892 | _ACEOF | ||
19893 | cat confdefs.h >>conftest.$ac_ext | ||
19894 | cat >>conftest.$ac_ext <<_ACEOF | ||
11382 | /* end confdefs.h. */ | 19895 | /* end confdefs.h. */ |
11383 | 19896 | ||
11384 | #include <stdio.h> | 19897 | #include <stdio.h> |
@@ -11417,37 +19930,67 @@ main () | |||
11417 | return 0; | 19930 | return 0; |
11418 | } | 19931 | } |
11419 | _ACEOF | 19932 | _ACEOF |
11420 | if ac_fn_c_try_run "$LINENO"; then : | 19933 | rm -f conftest$ac_exeext |
19934 | if { (ac_try="$ac_link" | ||
19935 | case "(($ac_try" in | ||
19936 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19937 | *) ac_try_echo=$ac_try;; | ||
19938 | esac | ||
19939 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19940 | (eval "$ac_link") 2>&5 | ||
19941 | ac_status=$? | ||
19942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19943 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
19944 | { (case "(($ac_try" in | ||
19945 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
19946 | *) ac_try_echo=$ac_try;; | ||
19947 | esac | ||
19948 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
19949 | (eval "$ac_try") 2>&5 | ||
19950 | ac_status=$? | ||
19951 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
19952 | (exit $ac_status); }; }; then | ||
11421 | 19953 | ||
11422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 19954 | { echo "$as_me:$LINENO: result: yes" >&5 |
11423 | $as_echo "yes" >&6; } | 19955 | echo "${ECHO_T}yes" >&6; } |
11424 | 19956 | ||
11425 | else | 19957 | else |
19958 | echo "$as_me: program exited with status $ac_status" >&5 | ||
19959 | echo "$as_me: failed program was:" >&5 | ||
19960 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11426 | 19961 | ||
11427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 19962 | ( exit $ac_status ) |
11428 | $as_echo "no" >&6; } | 19963 | |
11429 | $as_echo "#define SSHD_ACQUIRES_CTTY 1" >>confdefs.h | 19964 | { echo "$as_me:$LINENO: result: no" >&5 |
19965 | echo "${ECHO_T}no" >&6; } | ||
19966 | cat >>confdefs.h <<\_ACEOF | ||
19967 | #define SSHD_ACQUIRES_CTTY 1 | ||
19968 | _ACEOF | ||
11430 | 19969 | ||
11431 | 19970 | ||
11432 | fi | 19971 | fi |
11433 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 19972 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11434 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11435 | fi | 19973 | fi |
11436 | 19974 | ||
19975 | |||
11437 | fi | 19976 | fi |
11438 | 19977 | ||
11439 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 19978 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
11440 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then | 19979 | test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then |
11441 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5 | 19980 | { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 |
11442 | $as_echo_n "checking if getaddrinfo seems to work... " >&6; } | 19981 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } |
11443 | if test "$cross_compiling" = yes; then : | 19982 | if test "$cross_compiling" = yes; then |
11444 | 19983 | ||
11445 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5 | 19984 | { echo "$as_me:$LINENO: result: cross-compiling, assuming yes" >&5 |
11446 | $as_echo "cross-compiling, assuming yes" >&6; } | 19985 | echo "${ECHO_T}cross-compiling, assuming yes" >&6; } |
11447 | 19986 | ||
11448 | 19987 | ||
11449 | else | 19988 | else |
11450 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 19989 | cat >conftest.$ac_ext <<_ACEOF |
19990 | /* confdefs.h. */ | ||
19991 | _ACEOF | ||
19992 | cat confdefs.h >>conftest.$ac_ext | ||
19993 | cat >>conftest.$ac_ext <<_ACEOF | ||
11451 | /* end confdefs.h. */ | 19994 | /* end confdefs.h. */ |
11452 | 19995 | ||
11453 | #include <stdio.h> | 19996 | #include <stdio.h> |
@@ -11508,37 +20051,67 @@ main () | |||
11508 | return 0; | 20051 | return 0; |
11509 | } | 20052 | } |
11510 | _ACEOF | 20053 | _ACEOF |
11511 | if ac_fn_c_try_run "$LINENO"; then : | 20054 | rm -f conftest$ac_exeext |
20055 | if { (ac_try="$ac_link" | ||
20056 | case "(($ac_try" in | ||
20057 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20058 | *) ac_try_echo=$ac_try;; | ||
20059 | esac | ||
20060 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20061 | (eval "$ac_link") 2>&5 | ||
20062 | ac_status=$? | ||
20063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20064 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20065 | { (case "(($ac_try" in | ||
20066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20067 | *) ac_try_echo=$ac_try;; | ||
20068 | esac | ||
20069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20070 | (eval "$ac_try") 2>&5 | ||
20071 | ac_status=$? | ||
20072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20073 | (exit $ac_status); }; }; then | ||
11512 | 20074 | ||
11513 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 20075 | { echo "$as_me:$LINENO: result: yes" >&5 |
11514 | $as_echo "yes" >&6; } | 20076 | echo "${ECHO_T}yes" >&6; } |
11515 | 20077 | ||
11516 | else | 20078 | else |
20079 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20080 | echo "$as_me: failed program was:" >&5 | ||
20081 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11517 | 20082 | ||
11518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 20083 | ( exit $ac_status ) |
11519 | $as_echo "no" >&6; } | 20084 | |
11520 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h | 20085 | { echo "$as_me:$LINENO: result: no" >&5 |
20086 | echo "${ECHO_T}no" >&6; } | ||
20087 | cat >>confdefs.h <<\_ACEOF | ||
20088 | #define BROKEN_GETADDRINFO 1 | ||
20089 | _ACEOF | ||
11521 | 20090 | ||
11522 | 20091 | ||
11523 | fi | 20092 | fi |
11524 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20093 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11525 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11526 | fi | 20094 | fi |
11527 | 20095 | ||
20096 | |||
11528 | fi | 20097 | fi |
11529 | 20098 | ||
11530 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ | 20099 | if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ |
11531 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then | 20100 | test "x$check_for_aix_broken_getaddrinfo" = "x1"; then |
11532 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo seems to work" >&5 | 20101 | { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 |
11533 | $as_echo_n "checking if getaddrinfo seems to work... " >&6; } | 20102 | echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } |
11534 | if test "$cross_compiling" = yes; then : | 20103 | if test "$cross_compiling" = yes; then |
11535 | 20104 | ||
11536 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming no" >&5 | 20105 | { echo "$as_me:$LINENO: result: cross-compiling, assuming no" >&5 |
11537 | $as_echo "cross-compiling, assuming no" >&6; } | 20106 | echo "${ECHO_T}cross-compiling, assuming no" >&6; } |
11538 | 20107 | ||
11539 | 20108 | ||
11540 | else | 20109 | else |
11541 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20110 | cat >conftest.$ac_ext <<_ACEOF |
20111 | /* confdefs.h. */ | ||
20112 | _ACEOF | ||
20113 | cat confdefs.h >>conftest.$ac_ext | ||
20114 | cat >>conftest.$ac_ext <<_ACEOF | ||
11542 | /* end confdefs.h. */ | 20115 | /* end confdefs.h. */ |
11543 | 20116 | ||
11544 | #include <stdio.h> | 20117 | #include <stdio.h> |
@@ -11587,32 +20160,138 @@ main () | |||
11587 | return 0; | 20160 | return 0; |
11588 | } | 20161 | } |
11589 | _ACEOF | 20162 | _ACEOF |
11590 | if ac_fn_c_try_run "$LINENO"; then : | 20163 | rm -f conftest$ac_exeext |
20164 | if { (ac_try="$ac_link" | ||
20165 | case "(($ac_try" in | ||
20166 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20167 | *) ac_try_echo=$ac_try;; | ||
20168 | esac | ||
20169 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20170 | (eval "$ac_link") 2>&5 | ||
20171 | ac_status=$? | ||
20172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20173 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20174 | { (case "(($ac_try" in | ||
20175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20176 | *) ac_try_echo=$ac_try;; | ||
20177 | esac | ||
20178 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20179 | (eval "$ac_try") 2>&5 | ||
20180 | ac_status=$? | ||
20181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20182 | (exit $ac_status); }; }; then | ||
11591 | 20183 | ||
11592 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 20184 | { echo "$as_me:$LINENO: result: yes" >&5 |
11593 | $as_echo "yes" >&6; } | 20185 | echo "${ECHO_T}yes" >&6; } |
11594 | 20186 | ||
11595 | $as_echo "#define AIX_GETNAMEINFO_HACK 1" >>confdefs.h | 20187 | cat >>confdefs.h <<\_ACEOF |
20188 | #define AIX_GETNAMEINFO_HACK 1 | ||
20189 | _ACEOF | ||
11596 | 20190 | ||
11597 | 20191 | ||
11598 | else | 20192 | else |
20193 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20194 | echo "$as_me: failed program was:" >&5 | ||
20195 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11599 | 20196 | ||
11600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 20197 | ( exit $ac_status ) |
11601 | $as_echo "no" >&6; } | 20198 | |
11602 | $as_echo "#define BROKEN_GETADDRINFO 1" >>confdefs.h | 20199 | { echo "$as_me:$LINENO: result: no" >&5 |
20200 | echo "${ECHO_T}no" >&6; } | ||
20201 | cat >>confdefs.h <<\_ACEOF | ||
20202 | #define BROKEN_GETADDRINFO 1 | ||
20203 | _ACEOF | ||
11603 | 20204 | ||
11604 | 20205 | ||
11605 | fi | 20206 | fi |
11606 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20207 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11607 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11608 | fi | 20208 | fi |
11609 | 20209 | ||
20210 | |||
20211 | fi | ||
20212 | |||
20213 | if test "x$ac_cv_func_getaddrinfo" = "xyes"; then | ||
20214 | { echo "$as_me:$LINENO: checking whether AI_NUMERICSERV is declared" >&5 | ||
20215 | echo $ECHO_N "checking whether AI_NUMERICSERV is declared... $ECHO_C" >&6; } | ||
20216 | if test "${ac_cv_have_decl_AI_NUMERICSERV+set}" = set; then | ||
20217 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20218 | else | ||
20219 | cat >conftest.$ac_ext <<_ACEOF | ||
20220 | /* confdefs.h. */ | ||
20221 | _ACEOF | ||
20222 | cat confdefs.h >>conftest.$ac_ext | ||
20223 | cat >>conftest.$ac_ext <<_ACEOF | ||
20224 | /* end confdefs.h. */ | ||
20225 | #include <sys/types.h> | ||
20226 | #include <sys/socket.h> | ||
20227 | #include <netdb.h> | ||
20228 | |||
20229 | int | ||
20230 | main () | ||
20231 | { | ||
20232 | #ifndef AI_NUMERICSERV | ||
20233 | (void) AI_NUMERICSERV; | ||
20234 | #endif | ||
20235 | |||
20236 | ; | ||
20237 | return 0; | ||
20238 | } | ||
20239 | _ACEOF | ||
20240 | rm -f conftest.$ac_objext | ||
20241 | if { (ac_try="$ac_compile" | ||
20242 | case "(($ac_try" in | ||
20243 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20244 | *) ac_try_echo=$ac_try;; | ||
20245 | esac | ||
20246 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20247 | (eval "$ac_compile") 2>conftest.er1 | ||
20248 | ac_status=$? | ||
20249 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20250 | rm -f conftest.er1 | ||
20251 | cat conftest.err >&5 | ||
20252 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20253 | (exit $ac_status); } && { | ||
20254 | test -z "$ac_c_werror_flag" || | ||
20255 | test ! -s conftest.err | ||
20256 | } && test -s conftest.$ac_objext; then | ||
20257 | ac_cv_have_decl_AI_NUMERICSERV=yes | ||
20258 | else | ||
20259 | echo "$as_me: failed program was:" >&5 | ||
20260 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20261 | |||
20262 | ac_cv_have_decl_AI_NUMERICSERV=no | ||
20263 | fi | ||
20264 | |||
20265 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20266 | fi | ||
20267 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_AI_NUMERICSERV" >&5 | ||
20268 | echo "${ECHO_T}$ac_cv_have_decl_AI_NUMERICSERV" >&6; } | ||
20269 | if test $ac_cv_have_decl_AI_NUMERICSERV = yes; then | ||
20270 | |||
20271 | cat >>confdefs.h <<_ACEOF | ||
20272 | #define HAVE_DECL_AI_NUMERICSERV 1 | ||
20273 | _ACEOF | ||
20274 | |||
20275 | |||
20276 | else | ||
20277 | cat >>confdefs.h <<_ACEOF | ||
20278 | #define HAVE_DECL_AI_NUMERICSERV 0 | ||
20279 | _ACEOF | ||
20280 | |||
20281 | |||
20282 | fi | ||
20283 | |||
20284 | |||
11610 | fi | 20285 | fi |
11611 | 20286 | ||
11612 | if test "x$check_for_conflicting_getspnam" = "x1"; then | 20287 | if test "x$check_for_conflicting_getspnam" = "x1"; then |
11613 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for conflicting getspnam in shadow.h" >&5 | 20288 | { echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 |
11614 | $as_echo_n "checking for conflicting getspnam in shadow.h... " >&6; } | 20289 | echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6; } |
11615 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20290 | cat >conftest.$ac_ext <<_ACEOF |
20291 | /* confdefs.h. */ | ||
20292 | _ACEOF | ||
20293 | cat confdefs.h >>conftest.$ac_ext | ||
20294 | cat >>conftest.$ac_ext <<_ACEOF | ||
11616 | /* end confdefs.h. */ | 20295 | /* end confdefs.h. */ |
11617 | #include <shadow.h> | 20296 | #include <shadow.h> |
11618 | int | 20297 | int |
@@ -11623,31 +20302,57 @@ main () | |||
11623 | return 0; | 20302 | return 0; |
11624 | } | 20303 | } |
11625 | _ACEOF | 20304 | _ACEOF |
11626 | if ac_fn_c_try_compile "$LINENO"; then : | 20305 | rm -f conftest.$ac_objext |
20306 | if { (ac_try="$ac_compile" | ||
20307 | case "(($ac_try" in | ||
20308 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20309 | *) ac_try_echo=$ac_try;; | ||
20310 | esac | ||
20311 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20312 | (eval "$ac_compile") 2>conftest.er1 | ||
20313 | ac_status=$? | ||
20314 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20315 | rm -f conftest.er1 | ||
20316 | cat conftest.err >&5 | ||
20317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20318 | (exit $ac_status); } && { | ||
20319 | test -z "$ac_c_werror_flag" || | ||
20320 | test ! -s conftest.err | ||
20321 | } && test -s conftest.$ac_objext; then | ||
11627 | 20322 | ||
11628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 20323 | { echo "$as_me:$LINENO: result: no" >&5 |
11629 | $as_echo "no" >&6; } | 20324 | echo "${ECHO_T}no" >&6; } |
11630 | 20325 | ||
11631 | else | 20326 | else |
20327 | echo "$as_me: failed program was:" >&5 | ||
20328 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20329 | |||
11632 | 20330 | ||
11633 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 20331 | { echo "$as_me:$LINENO: result: yes" >&5 |
11634 | $as_echo "yes" >&6; } | 20332 | echo "${ECHO_T}yes" >&6; } |
11635 | 20333 | ||
11636 | $as_echo "#define GETSPNAM_CONFLICTING_DEFS 1" >>confdefs.h | 20334 | cat >>confdefs.h <<\_ACEOF |
20335 | #define GETSPNAM_CONFLICTING_DEFS 1 | ||
20336 | _ACEOF | ||
11637 | 20337 | ||
11638 | 20338 | ||
11639 | 20339 | ||
11640 | fi | 20340 | fi |
20341 | |||
11641 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20342 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11642 | fi | 20343 | fi |
11643 | 20344 | ||
11644 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 | 20345 | { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
11645 | $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } | 20346 | echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } |
11646 | if ${ac_cv_func_getpgrp_void+:} false; then : | 20347 | if test "${ac_cv_func_getpgrp_void+set}" = set; then |
11647 | $as_echo_n "(cached) " >&6 | 20348 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11648 | else | 20349 | else |
11649 | # Use it with a single arg. | 20350 | # Use it with a single arg. |
11650 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20351 | cat >conftest.$ac_ext <<_ACEOF |
20352 | /* confdefs.h. */ | ||
20353 | _ACEOF | ||
20354 | cat confdefs.h >>conftest.$ac_ext | ||
20355 | cat >>conftest.$ac_ext <<_ACEOF | ||
11651 | /* end confdefs.h. */ | 20356 | /* end confdefs.h. */ |
11652 | $ac_includes_default | 20357 | $ac_includes_default |
11653 | int | 20358 | int |
@@ -11658,19 +20363,41 @@ getpgrp (0); | |||
11658 | return 0; | 20363 | return 0; |
11659 | } | 20364 | } |
11660 | _ACEOF | 20365 | _ACEOF |
11661 | if ac_fn_c_try_compile "$LINENO"; then : | 20366 | rm -f conftest.$ac_objext |
20367 | if { (ac_try="$ac_compile" | ||
20368 | case "(($ac_try" in | ||
20369 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20370 | *) ac_try_echo=$ac_try;; | ||
20371 | esac | ||
20372 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20373 | (eval "$ac_compile") 2>conftest.er1 | ||
20374 | ac_status=$? | ||
20375 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20376 | rm -f conftest.er1 | ||
20377 | cat conftest.err >&5 | ||
20378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20379 | (exit $ac_status); } && { | ||
20380 | test -z "$ac_c_werror_flag" || | ||
20381 | test ! -s conftest.err | ||
20382 | } && test -s conftest.$ac_objext; then | ||
11662 | ac_cv_func_getpgrp_void=no | 20383 | ac_cv_func_getpgrp_void=no |
11663 | else | 20384 | else |
11664 | ac_cv_func_getpgrp_void=yes | 20385 | echo "$as_me: failed program was:" >&5 |
20386 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20387 | |||
20388 | ac_cv_func_getpgrp_void=yes | ||
11665 | fi | 20389 | fi |
20390 | |||
11666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 20391 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11667 | 20392 | ||
11668 | fi | 20393 | fi |
11669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_getpgrp_void" >&5 | 20394 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
11670 | $as_echo "$ac_cv_func_getpgrp_void" >&6; } | 20395 | echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } |
11671 | if test $ac_cv_func_getpgrp_void = yes; then | 20396 | if test $ac_cv_func_getpgrp_void = yes; then |
11672 | 20397 | ||
11673 | $as_echo "#define GETPGRP_VOID 1" >>confdefs.h | 20398 | cat >>confdefs.h <<\_ACEOF |
20399 | #define GETPGRP_VOID 1 | ||
20400 | _ACEOF | ||
11674 | 20401 | ||
11675 | fi | 20402 | fi |
11676 | 20403 | ||
@@ -11680,8 +20407,13 @@ saved_CPPFLAGS="$CPPFLAGS" | |||
11680 | saved_LDFLAGS="$LDFLAGS" | 20407 | saved_LDFLAGS="$LDFLAGS" |
11681 | 20408 | ||
11682 | # Check whether --with-ssl-dir was given. | 20409 | # Check whether --with-ssl-dir was given. |
11683 | if test "${with_ssl_dir+set}" = set; then : | 20410 | if test "${with_ssl_dir+set}" = set; then |
11684 | withval=$with_ssl_dir; | 20411 | withval=$with_ssl_dir; |
20412 | if test "x$openssl" = "xno" ; then | ||
20413 | { { echo "$as_me:$LINENO: error: cannot use --with-ssl-dir when OpenSSL disabled" >&5 | ||
20414 | echo "$as_me: error: cannot use --with-ssl-dir when OpenSSL disabled" >&2;} | ||
20415 | { (exit 1); exit 1; }; } | ||
20416 | fi | ||
11685 | if test "x$withval" != "xno" ; then | 20417 | if test "x$withval" != "xno" ; then |
11686 | case "$withval" in | 20418 | case "$withval" in |
11687 | # Relative paths | 20419 | # Relative paths |
@@ -11716,8 +20448,44 @@ if test "${with_ssl_dir+set}" = set; then : | |||
11716 | 20448 | ||
11717 | fi | 20449 | fi |
11718 | 20450 | ||
11719 | LIBS="-lcrypto $LIBS" | 20451 | |
11720 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20452 | |
20453 | # Check whether --with-openssl-header-check was given. | ||
20454 | if test "${with_openssl_header_check+set}" = set; then | ||
20455 | withval=$with_openssl_header_check; | ||
20456 | if test "x$withval" = "xno" ; then | ||
20457 | openssl_check_nonfatal=1 | ||
20458 | fi | ||
20459 | |||
20460 | |||
20461 | fi | ||
20462 | |||
20463 | |||
20464 | openssl_engine=no | ||
20465 | |||
20466 | # Check whether --with-ssl-engine was given. | ||
20467 | if test "${with_ssl_engine+set}" = set; then | ||
20468 | withval=$with_ssl_engine; | ||
20469 | if test "x$openssl" = "xno" ; then | ||
20470 | { { echo "$as_me:$LINENO: error: cannot use --with-ssl-engine when OpenSSL disabled" >&5 | ||
20471 | echo "$as_me: error: cannot use --with-ssl-engine when OpenSSL disabled" >&2;} | ||
20472 | { (exit 1); exit 1; }; } | ||
20473 | fi | ||
20474 | if test "x$withval" != "xno" ; then | ||
20475 | openssl_engine=yes | ||
20476 | fi | ||
20477 | |||
20478 | |||
20479 | fi | ||
20480 | |||
20481 | |||
20482 | if test "x$openssl" = "xyes" ; then | ||
20483 | LIBS="-lcrypto $LIBS" | ||
20484 | cat >conftest.$ac_ext <<_ACEOF | ||
20485 | /* confdefs.h. */ | ||
20486 | _ACEOF | ||
20487 | cat confdefs.h >>conftest.$ac_ext | ||
20488 | cat >>conftest.$ac_ext <<_ACEOF | ||
11721 | /* end confdefs.h. */ | 20489 | /* end confdefs.h. */ |
11722 | 20490 | ||
11723 | /* Override any GCC internal prototype to avoid an error. | 20491 | /* Override any GCC internal prototype to avoid an error. |
@@ -11735,27 +20503,184 @@ return RAND_add (); | |||
11735 | return 0; | 20503 | return 0; |
11736 | } | 20504 | } |
11737 | _ACEOF | 20505 | _ACEOF |
11738 | if ac_fn_c_try_link "$LINENO"; then : | 20506 | rm -f conftest.$ac_objext conftest$ac_exeext |
20507 | if { (ac_try="$ac_link" | ||
20508 | case "(($ac_try" in | ||
20509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20510 | *) ac_try_echo=$ac_try;; | ||
20511 | esac | ||
20512 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20513 | (eval "$ac_link") 2>conftest.er1 | ||
20514 | ac_status=$? | ||
20515 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20516 | rm -f conftest.er1 | ||
20517 | cat conftest.err >&5 | ||
20518 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20519 | (exit $ac_status); } && { | ||
20520 | test -z "$ac_c_werror_flag" || | ||
20521 | test ! -s conftest.err | ||
20522 | } && test -s conftest$ac_exeext && | ||
20523 | $as_test_x conftest$ac_exeext; then | ||
11739 | 20524 | ||
11740 | $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h | 20525 | cat >>confdefs.h <<\_ACEOF |
20526 | #define HAVE_OPENSSL 1 | ||
20527 | _ACEOF | ||
11741 | 20528 | ||
11742 | else | 20529 | else |
20530 | echo "$as_me: failed program was:" >&5 | ||
20531 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11743 | 20532 | ||
11744 | if test -n "${need_dash_r}"; then | ||
11745 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
11746 | else | ||
11747 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
11748 | fi | ||
11749 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | ||
11750 | ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default" | ||
11751 | if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then : | ||
11752 | 20533 | ||
20534 | if test -n "${need_dash_r}"; then | ||
20535 | LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
20536 | else | ||
20537 | LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" | ||
20538 | fi | ||
20539 | CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" | ||
20540 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
20541 | { echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5 | ||
20542 | echo $ECHO_N "checking for openssl/opensslv.h... $ECHO_C" >&6; } | ||
20543 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
20544 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20545 | fi | ||
20546 | { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5 | ||
20547 | echo "${ECHO_T}$ac_cv_header_openssl_opensslv_h" >&6; } | ||
11753 | else | 20548 | else |
11754 | as_fn_error $? "*** OpenSSL headers missing - please install first or check config.log ***" "$LINENO" 5 | 20549 | # Is the header compilable? |
20550 | { echo "$as_me:$LINENO: checking openssl/opensslv.h usability" >&5 | ||
20551 | echo $ECHO_N "checking openssl/opensslv.h usability... $ECHO_C" >&6; } | ||
20552 | cat >conftest.$ac_ext <<_ACEOF | ||
20553 | /* confdefs.h. */ | ||
20554 | _ACEOF | ||
20555 | cat confdefs.h >>conftest.$ac_ext | ||
20556 | cat >>conftest.$ac_ext <<_ACEOF | ||
20557 | /* end confdefs.h. */ | ||
20558 | $ac_includes_default | ||
20559 | #include <openssl/opensslv.h> | ||
20560 | _ACEOF | ||
20561 | rm -f conftest.$ac_objext | ||
20562 | if { (ac_try="$ac_compile" | ||
20563 | case "(($ac_try" in | ||
20564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20565 | *) ac_try_echo=$ac_try;; | ||
20566 | esac | ||
20567 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20568 | (eval "$ac_compile") 2>conftest.er1 | ||
20569 | ac_status=$? | ||
20570 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20571 | rm -f conftest.er1 | ||
20572 | cat conftest.err >&5 | ||
20573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20574 | (exit $ac_status); } && { | ||
20575 | test -z "$ac_c_werror_flag" || | ||
20576 | test ! -s conftest.err | ||
20577 | } && test -s conftest.$ac_objext; then | ||
20578 | ac_header_compiler=yes | ||
20579 | else | ||
20580 | echo "$as_me: failed program was:" >&5 | ||
20581 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20582 | |||
20583 | ac_header_compiler=no | ||
11755 | fi | 20584 | fi |
11756 | 20585 | ||
20586 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
20587 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
20588 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
11757 | 20589 | ||
11758 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20590 | # Is the header present? |
20591 | { echo "$as_me:$LINENO: checking openssl/opensslv.h presence" >&5 | ||
20592 | echo $ECHO_N "checking openssl/opensslv.h presence... $ECHO_C" >&6; } | ||
20593 | cat >conftest.$ac_ext <<_ACEOF | ||
20594 | /* confdefs.h. */ | ||
20595 | _ACEOF | ||
20596 | cat confdefs.h >>conftest.$ac_ext | ||
20597 | cat >>conftest.$ac_ext <<_ACEOF | ||
20598 | /* end confdefs.h. */ | ||
20599 | #include <openssl/opensslv.h> | ||
20600 | _ACEOF | ||
20601 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
20602 | case "(($ac_try" in | ||
20603 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20604 | *) ac_try_echo=$ac_try;; | ||
20605 | esac | ||
20606 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20607 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
20608 | ac_status=$? | ||
20609 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20610 | rm -f conftest.er1 | ||
20611 | cat conftest.err >&5 | ||
20612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20613 | (exit $ac_status); } >/dev/null && { | ||
20614 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
20615 | test ! -s conftest.err | ||
20616 | }; then | ||
20617 | ac_header_preproc=yes | ||
20618 | else | ||
20619 | echo "$as_me: failed program was:" >&5 | ||
20620 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20621 | |||
20622 | ac_header_preproc=no | ||
20623 | fi | ||
20624 | |||
20625 | rm -f conftest.err conftest.$ac_ext | ||
20626 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
20627 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
20628 | |||
20629 | # So? What about this header? | ||
20630 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
20631 | yes:no: ) | ||
20632 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
20633 | echo "$as_me: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
20634 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&5 | ||
20635 | echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&2;} | ||
20636 | ac_header_preproc=yes | ||
20637 | ;; | ||
20638 | no:yes:* ) | ||
20639 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: present but cannot be compiled" >&5 | ||
20640 | echo "$as_me: WARNING: openssl/opensslv.h: present but cannot be compiled" >&2;} | ||
20641 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&5 | ||
20642 | echo "$as_me: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&2;} | ||
20643 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&5 | ||
20644 | echo "$as_me: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&2;} | ||
20645 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
20646 | echo "$as_me: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
20647 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&5 | ||
20648 | echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&2;} | ||
20649 | { echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&5 | ||
20650 | echo "$as_me: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&2;} | ||
20651 | ( cat <<\_ASBOX | ||
20652 | ## ------------------------------------------- ## | ||
20653 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
20654 | ## ------------------------------------------- ## | ||
20655 | _ASBOX | ||
20656 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
20657 | ;; | ||
20658 | esac | ||
20659 | { echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5 | ||
20660 | echo $ECHO_N "checking for openssl/opensslv.h... $ECHO_C" >&6; } | ||
20661 | if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then | ||
20662 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
20663 | else | ||
20664 | ac_cv_header_openssl_opensslv_h=$ac_header_preproc | ||
20665 | fi | ||
20666 | { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5 | ||
20667 | echo "${ECHO_T}$ac_cv_header_openssl_opensslv_h" >&6; } | ||
20668 | |||
20669 | fi | ||
20670 | if test $ac_cv_header_openssl_opensslv_h = yes; then | ||
20671 | : | ||
20672 | else | ||
20673 | { { echo "$as_me:$LINENO: error: *** OpenSSL headers missing - please install first or check config.log ***" >&5 | ||
20674 | echo "$as_me: error: *** OpenSSL headers missing - please install first or check config.log ***" >&2;} | ||
20675 | { (exit 1); exit 1; }; } | ||
20676 | fi | ||
20677 | |||
20678 | |||
20679 | cat >conftest.$ac_ext <<_ACEOF | ||
20680 | /* confdefs.h. */ | ||
20681 | _ACEOF | ||
20682 | cat confdefs.h >>conftest.$ac_ext | ||
20683 | cat >>conftest.$ac_ext <<_ACEOF | ||
11759 | /* end confdefs.h. */ | 20684 | /* end confdefs.h. */ |
11760 | 20685 | ||
11761 | /* Override any GCC internal prototype to avoid an error. | 20686 | /* Override any GCC internal prototype to avoid an error. |
@@ -11773,227 +20698,331 @@ return RAND_add (); | |||
11773 | return 0; | 20698 | return 0; |
11774 | } | 20699 | } |
11775 | _ACEOF | 20700 | _ACEOF |
11776 | if ac_fn_c_try_link "$LINENO"; then : | 20701 | rm -f conftest.$ac_objext conftest$ac_exeext |
11777 | $as_echo "#define HAVE_OPENSSL 1" >>confdefs.h | 20702 | if { (ac_try="$ac_link" |
20703 | case "(($ac_try" in | ||
20704 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20705 | *) ac_try_echo=$ac_try;; | ||
20706 | esac | ||
20707 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20708 | (eval "$ac_link") 2>conftest.er1 | ||
20709 | ac_status=$? | ||
20710 | grep -v '^ *+' conftest.er1 >conftest.err | ||
20711 | rm -f conftest.er1 | ||
20712 | cat conftest.err >&5 | ||
20713 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20714 | (exit $ac_status); } && { | ||
20715 | test -z "$ac_c_werror_flag" || | ||
20716 | test ! -s conftest.err | ||
20717 | } && test -s conftest$ac_exeext && | ||
20718 | $as_test_x conftest$ac_exeext; then | ||
20719 | cat >>confdefs.h <<\_ACEOF | ||
20720 | #define HAVE_OPENSSL 1 | ||
20721 | _ACEOF | ||
11778 | 20722 | ||
11779 | else | 20723 | else |
20724 | echo "$as_me: failed program was:" >&5 | ||
20725 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20726 | |||
11780 | 20727 | ||
11781 | as_fn_error $? "*** Can't find recent OpenSSL libcrypto (see config.log for details) ***" "$LINENO" 5 | 20728 | { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 |
20729 | echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} | ||
20730 | { (exit 1); exit 1; }; } | ||
11782 | 20731 | ||
11783 | 20732 | ||
11784 | fi | 20733 | fi |
11785 | rm -f core conftest.err conftest.$ac_objext \ | 20734 | |
11786 | conftest$ac_exeext conftest.$ac_ext | 20735 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
20736 | conftest$ac_exeext conftest.$ac_ext | ||
11787 | 20737 | ||
11788 | 20738 | ||
11789 | fi | 20739 | fi |
11790 | rm -f core conftest.err conftest.$ac_objext \ | ||
11791 | conftest$ac_exeext conftest.$ac_ext | ||
11792 | 20740 | ||
11793 | # Determine OpenSSL header version | 20741 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
11794 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL header version" >&5 | 20742 | conftest$ac_exeext conftest.$ac_ext |
11795 | $as_echo_n "checking OpenSSL header version... " >&6; } | ||
11796 | if test "$cross_compiling" = yes; then : | ||
11797 | 20743 | ||
11798 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 | 20744 | # Determine OpenSSL header version |
11799 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 20745 | { echo "$as_me:$LINENO: checking OpenSSL header version" >&5 |
20746 | echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6; } | ||
20747 | if test "$cross_compiling" = yes; then | ||
20748 | |||
20749 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | ||
20750 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | ||
11800 | 20751 | ||
11801 | 20752 | ||
11802 | else | 20753 | else |
11803 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20754 | cat >conftest.$ac_ext <<_ACEOF |
20755 | /* confdefs.h. */ | ||
20756 | _ACEOF | ||
20757 | cat confdefs.h >>conftest.$ac_ext | ||
20758 | cat >>conftest.$ac_ext <<_ACEOF | ||
11804 | /* end confdefs.h. */ | 20759 | /* end confdefs.h. */ |
11805 | 20760 | ||
11806 | #include <stdio.h> | 20761 | #include <stdio.h> |
11807 | #include <string.h> | 20762 | #include <string.h> |
11808 | #include <openssl/opensslv.h> | 20763 | #include <openssl/opensslv.h> |
11809 | #define DATA "conftest.sslincver" | 20764 | #define DATA "conftest.sslincver" |
11810 | 20765 | ||
11811 | int | 20766 | int |
11812 | main () | 20767 | main () |
11813 | { | 20768 | { |
11814 | 20769 | ||
11815 | FILE *fd; | 20770 | FILE *fd; |
11816 | int rc; | 20771 | int rc; |
11817 | 20772 | ||
11818 | fd = fopen(DATA,"w"); | 20773 | fd = fopen(DATA,"w"); |
11819 | if(fd == NULL) | 20774 | if(fd == NULL) |
11820 | exit(1); | 20775 | exit(1); |
11821 | 20776 | ||
11822 | if ((rc = fprintf(fd ,"%08x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) | 20777 | if ((rc = fprintf(fd ,"%08x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) |
11823 | exit(1); | 20778 | exit(1); |
11824 | 20779 | ||
11825 | exit(0); | 20780 | exit(0); |
11826 | 20781 | ||
11827 | ; | 20782 | ; |
11828 | return 0; | 20783 | return 0; |
11829 | } | 20784 | } |
11830 | _ACEOF | 20785 | _ACEOF |
11831 | if ac_fn_c_try_run "$LINENO"; then : | 20786 | rm -f conftest$ac_exeext |
20787 | if { (ac_try="$ac_link" | ||
20788 | case "(($ac_try" in | ||
20789 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20790 | *) ac_try_echo=$ac_try;; | ||
20791 | esac | ||
20792 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20793 | (eval "$ac_link") 2>&5 | ||
20794 | ac_status=$? | ||
20795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20796 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20797 | { (case "(($ac_try" in | ||
20798 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20799 | *) ac_try_echo=$ac_try;; | ||
20800 | esac | ||
20801 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20802 | (eval "$ac_try") 2>&5 | ||
20803 | ac_status=$? | ||
20804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20805 | (exit $ac_status); }; }; then | ||
11832 | 20806 | ||
11833 | ssl_header_ver=`cat conftest.sslincver` | 20807 | ssl_header_ver=`cat conftest.sslincver` |
11834 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_header_ver" >&5 | 20808 | { echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 |
11835 | $as_echo "$ssl_header_ver" >&6; } | 20809 | echo "${ECHO_T}$ssl_header_ver" >&6; } |
11836 | 20810 | ||
11837 | else | 20811 | else |
20812 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20813 | echo "$as_me: failed program was:" >&5 | ||
20814 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
20815 | |||
20816 | ( exit $ac_status ) | ||
11838 | 20817 | ||
11839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 | 20818 | { echo "$as_me:$LINENO: result: not found" >&5 |
11840 | $as_echo "not found" >&6; } | 20819 | echo "${ECHO_T}not found" >&6; } |
11841 | as_fn_error $? "OpenSSL version header not found." "$LINENO" 5 | 20820 | { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 |
20821 | echo "$as_me: error: OpenSSL version header not found." >&2;} | ||
20822 | { (exit 1); exit 1; }; } | ||
11842 | 20823 | ||
11843 | fi | 20824 | fi |
11844 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20825 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11845 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11846 | fi | 20826 | fi |
11847 | 20827 | ||
11848 | 20828 | ||
11849 | # Determine OpenSSL library version | ||
11850 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenSSL library version" >&5 | ||
11851 | $as_echo_n "checking OpenSSL library version... " >&6; } | ||
11852 | if test "$cross_compiling" = yes; then : | ||
11853 | 20829 | ||
11854 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 | 20830 | # Determine OpenSSL library version |
11855 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 20831 | { echo "$as_me:$LINENO: checking OpenSSL library version" >&5 |
20832 | echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6; } | ||
20833 | if test "$cross_compiling" = yes; then | ||
20834 | |||
20835 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 | ||
20836 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} | ||
11856 | 20837 | ||
11857 | 20838 | ||
11858 | else | 20839 | else |
11859 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20840 | cat >conftest.$ac_ext <<_ACEOF |
20841 | /* confdefs.h. */ | ||
20842 | _ACEOF | ||
20843 | cat confdefs.h >>conftest.$ac_ext | ||
20844 | cat >>conftest.$ac_ext <<_ACEOF | ||
11860 | /* end confdefs.h. */ | 20845 | /* end confdefs.h. */ |
11861 | 20846 | ||
11862 | #include <stdio.h> | 20847 | #include <stdio.h> |
11863 | #include <string.h> | 20848 | #include <string.h> |
11864 | #include <openssl/opensslv.h> | 20849 | #include <openssl/opensslv.h> |
11865 | #include <openssl/crypto.h> | 20850 | #include <openssl/crypto.h> |
11866 | #define DATA "conftest.ssllibver" | 20851 | #define DATA "conftest.ssllibver" |
11867 | 20852 | ||
11868 | int | 20853 | int |
11869 | main () | 20854 | main () |
11870 | { | 20855 | { |
11871 | 20856 | ||
11872 | FILE *fd; | 20857 | FILE *fd; |
11873 | int rc; | 20858 | int rc; |
11874 | 20859 | ||
11875 | fd = fopen(DATA,"w"); | 20860 | fd = fopen(DATA,"w"); |
11876 | if(fd == NULL) | 20861 | if(fd == NULL) |
11877 | exit(1); | 20862 | exit(1); |
11878 | 20863 | ||
11879 | if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(), | 20864 | if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(), |
11880 | SSLeay_version(SSLEAY_VERSION))) <0) | 20865 | SSLeay_version(SSLEAY_VERSION))) <0) |
11881 | exit(1); | 20866 | exit(1); |
11882 | 20867 | ||
11883 | exit(0); | 20868 | exit(0); |
11884 | 20869 | ||
11885 | ; | 20870 | ; |
11886 | return 0; | 20871 | return 0; |
11887 | } | 20872 | } |
11888 | _ACEOF | 20873 | _ACEOF |
11889 | if ac_fn_c_try_run "$LINENO"; then : | 20874 | rm -f conftest$ac_exeext |
11890 | 20875 | if { (ac_try="$ac_link" | |
11891 | ssl_library_ver=`cat conftest.ssllibver` | 20876 | case "(($ac_try" in |
11892 | # Check version is supported. | 20877 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11893 | case "$ssl_library_ver" in | 20878 | *) ac_try_echo=$ac_try;; |
11894 | 0090[0-7]*|009080[0-5]*) | 20879 | esac |
11895 | as_fn_error $? "OpenSSL >= 0.9.8f required" "$LINENO" 5 | 20880 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11896 | ;; | 20881 | (eval "$ac_link") 2>&5 |
11897 | *) ;; | 20882 | ac_status=$? |
11898 | esac | 20883 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ssl_library_ver" >&5 | 20884 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11900 | $as_echo "$ssl_library_ver" >&6; } | 20885 | { (case "(($ac_try" in |
20886 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20887 | *) ac_try_echo=$ac_try;; | ||
20888 | esac | ||
20889 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20890 | (eval "$ac_try") 2>&5 | ||
20891 | ac_status=$? | ||
20892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20893 | (exit $ac_status); }; }; then | ||
20894 | |||
20895 | ssl_library_ver=`cat conftest.ssllibver` | ||
20896 | # Check version is supported. | ||
20897 | case "$ssl_library_ver" in | ||
20898 | 0090[0-7]*|009080[0-5]*) | ||
20899 | { { echo "$as_me:$LINENO: error: OpenSSL >= 0.9.8f required (have \"$ssl_library_ver\")" >&5 | ||
20900 | echo "$as_me: error: OpenSSL >= 0.9.8f required (have \"$ssl_library_ver\")" >&2;} | ||
20901 | { (exit 1); exit 1; }; } | ||
20902 | ;; | ||
20903 | *) ;; | ||
20904 | esac | ||
20905 | { echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 | ||
20906 | echo "${ECHO_T}$ssl_library_ver" >&6; } | ||
11901 | 20907 | ||
11902 | else | 20908 | else |
20909 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20910 | echo "$as_me: failed program was:" >&5 | ||
20911 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11903 | 20912 | ||
11904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 | 20913 | ( exit $ac_status ) |
11905 | $as_echo "not found" >&6; } | 20914 | |
11906 | as_fn_error $? "OpenSSL library not found." "$LINENO" 5 | 20915 | { echo "$as_me:$LINENO: result: not found" >&5 |
20916 | echo "${ECHO_T}not found" >&6; } | ||
20917 | { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 | ||
20918 | echo "$as_me: error: OpenSSL library not found." >&2;} | ||
20919 | { (exit 1); exit 1; }; } | ||
11907 | 20920 | ||
11908 | fi | 20921 | fi |
11909 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 20922 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11910 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11911 | fi | 20923 | fi |
11912 | 20924 | ||
11913 | 20925 | ||
11914 | # XXX make --without-openssl work | ||
11915 | |||
11916 | cat >>confdefs.h <<_ACEOF | ||
11917 | #define WITH_OPENSSL 1 | ||
11918 | _ACEOF | ||
11919 | 20926 | ||
20927 | # Sanity check OpenSSL headers | ||
20928 | { echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 | ||
20929 | echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6; } | ||
20930 | if test "$cross_compiling" = yes; then | ||
11920 | 20931 | ||
11921 | cat >>confdefs.h <<_ACEOF | 20932 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
11922 | #define WITH_SSH1 1 | 20933 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
11923 | _ACEOF | ||
11924 | |||
11925 | |||
11926 | |||
11927 | # Check whether --with-openssl-header-check was given. | ||
11928 | if test "${with_openssl_header_check+set}" = set; then : | ||
11929 | withval=$with_openssl_header_check; if test "x$withval" = "xno" ; then | ||
11930 | openssl_check_nonfatal=1 | ||
11931 | fi | ||
11932 | |||
11933 | |||
11934 | fi | ||
11935 | |||
11936 | |||
11937 | # Sanity check OpenSSL headers | ||
11938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL's headers match the library" >&5 | ||
11939 | $as_echo_n "checking whether OpenSSL's headers match the library... " >&6; } | ||
11940 | if test "$cross_compiling" = yes; then : | ||
11941 | |||
11942 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 | ||
11943 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} | ||
11944 | 20934 | ||
11945 | 20935 | ||
11946 | else | 20936 | else |
11947 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 20937 | cat >conftest.$ac_ext <<_ACEOF |
20938 | /* confdefs.h. */ | ||
20939 | _ACEOF | ||
20940 | cat confdefs.h >>conftest.$ac_ext | ||
20941 | cat >>conftest.$ac_ext <<_ACEOF | ||
11948 | /* end confdefs.h. */ | 20942 | /* end confdefs.h. */ |
11949 | 20943 | ||
11950 | #include <string.h> | 20944 | #include <string.h> |
11951 | #include <openssl/opensslv.h> | 20945 | #include <openssl/opensslv.h> |
11952 | 20946 | ||
11953 | int | 20947 | int |
11954 | main () | 20948 | main () |
11955 | { | 20949 | { |
11956 | 20950 | ||
11957 | exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); | 20951 | exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); |
11958 | 20952 | ||
11959 | ; | 20953 | ; |
11960 | return 0; | 20954 | return 0; |
11961 | } | 20955 | } |
11962 | _ACEOF | 20956 | _ACEOF |
11963 | if ac_fn_c_try_run "$LINENO"; then : | 20957 | rm -f conftest$ac_exeext |
20958 | if { (ac_try="$ac_link" | ||
20959 | case "(($ac_try" in | ||
20960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20961 | *) ac_try_echo=$ac_try;; | ||
20962 | esac | ||
20963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20964 | (eval "$ac_link") 2>&5 | ||
20965 | ac_status=$? | ||
20966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20967 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
20968 | { (case "(($ac_try" in | ||
20969 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
20970 | *) ac_try_echo=$ac_try;; | ||
20971 | esac | ||
20972 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
20973 | (eval "$ac_try") 2>&5 | ||
20974 | ac_status=$? | ||
20975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
20976 | (exit $ac_status); }; }; then | ||
11964 | 20977 | ||
11965 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 20978 | { echo "$as_me:$LINENO: result: yes" >&5 |
11966 | $as_echo "yes" >&6; } | 20979 | echo "${ECHO_T}yes" >&6; } |
11967 | 20980 | ||
11968 | else | 20981 | else |
20982 | echo "$as_me: program exited with status $ac_status" >&5 | ||
20983 | echo "$as_me: failed program was:" >&5 | ||
20984 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
11969 | 20985 | ||
11970 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 20986 | ( exit $ac_status ) |
11971 | $as_echo "no" >&6; } | 20987 | |
11972 | if test "x$openssl_check_nonfatal" = "x"; then | 20988 | { echo "$as_me:$LINENO: result: no" >&5 |
11973 | as_fn_error $? "Your OpenSSL headers do not match your | 20989 | echo "${ECHO_T}no" >&6; } |
11974 | library. Check config.log for details. | 20990 | if test "x$openssl_check_nonfatal" = "x"; then |
11975 | If you are sure your installation is consistent, you can disable the check | 20991 | { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your |
11976 | by running \"./configure --without-openssl-header-check\". | 20992 | library. Check config.log for details. |
11977 | Also see contrib/findssl.sh for help identifying header/library mismatches. | 20993 | If you are sure your installation is consistent, you can disable the check |
11978 | " "$LINENO" 5 | 20994 | by running \"./configure --without-openssl-header-check\". |
11979 | else | 20995 | Also see contrib/findssl.sh for help identifying header/library mismatches. |
11980 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your OpenSSL headers do not match your | 20996 | " >&5 |
11981 | library. Check config.log for details. | 20997 | echo "$as_me: error: Your OpenSSL headers do not match your |
11982 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | 20998 | library. Check config.log for details. |
11983 | $as_echo "$as_me: WARNING: Your OpenSSL headers do not match your | 20999 | If you are sure your installation is consistent, you can disable the check |
11984 | library. Check config.log for details. | 21000 | by running \"./configure --without-openssl-header-check\". |
11985 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | 21001 | Also see contrib/findssl.sh for help identifying header/library mismatches. |
11986 | fi | 21002 | " >&2;} |
21003 | { (exit 1); exit 1; }; } | ||
21004 | else | ||
21005 | { echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your | ||
21006 | library. Check config.log for details. | ||
21007 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 | ||
21008 | echo "$as_me: WARNING: Your OpenSSL headers do not match your | ||
21009 | library. Check config.log for details. | ||
21010 | Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} | ||
21011 | fi | ||
11987 | 21012 | ||
11988 | fi | 21013 | fi |
11989 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 21014 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11990 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
11991 | fi | 21015 | fi |
11992 | 21016 | ||
11993 | 21017 | ||
11994 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if programs using OpenSSL functions will link" >&5 | 21018 | |
11995 | $as_echo_n "checking if programs using OpenSSL functions will link... " >&6; } | 21019 | { echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5 |
11996 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21020 | echo $ECHO_N "checking if programs using OpenSSL functions will link... $ECHO_C" >&6; } |
21021 | cat >conftest.$ac_ext <<_ACEOF | ||
21022 | /* confdefs.h. */ | ||
21023 | _ACEOF | ||
21024 | cat confdefs.h >>conftest.$ac_ext | ||
21025 | cat >>conftest.$ac_ext <<_ACEOF | ||
11997 | /* end confdefs.h. */ | 21026 | /* end confdefs.h. */ |
11998 | #include <openssl/evp.h> | 21027 | #include <openssl/evp.h> |
11999 | int | 21028 | int |
@@ -12004,20 +21033,44 @@ main () | |||
12004 | return 0; | 21033 | return 0; |
12005 | } | 21034 | } |
12006 | _ACEOF | 21035 | _ACEOF |
12007 | if ac_fn_c_try_link "$LINENO"; then : | 21036 | rm -f conftest.$ac_objext conftest$ac_exeext |
21037 | if { (ac_try="$ac_link" | ||
21038 | case "(($ac_try" in | ||
21039 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21040 | *) ac_try_echo=$ac_try;; | ||
21041 | esac | ||
21042 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21043 | (eval "$ac_link") 2>conftest.er1 | ||
21044 | ac_status=$? | ||
21045 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21046 | rm -f conftest.er1 | ||
21047 | cat conftest.err >&5 | ||
21048 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21049 | (exit $ac_status); } && { | ||
21050 | test -z "$ac_c_werror_flag" || | ||
21051 | test ! -s conftest.err | ||
21052 | } && test -s conftest$ac_exeext && | ||
21053 | $as_test_x conftest$ac_exeext; then | ||
12008 | 21054 | ||
12009 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 21055 | { echo "$as_me:$LINENO: result: yes" >&5 |
12010 | $as_echo "yes" >&6; } | 21056 | echo "${ECHO_T}yes" >&6; } |
12011 | 21057 | ||
12012 | else | 21058 | else |
21059 | echo "$as_me: failed program was:" >&5 | ||
21060 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12013 | 21061 | ||
12014 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 21062 | |
12015 | $as_echo "no" >&6; } | 21063 | { echo "$as_me:$LINENO: result: no" >&5 |
12016 | saved_LIBS="$LIBS" | 21064 | echo "${ECHO_T}no" >&6; } |
12017 | LIBS="$LIBS -ldl" | 21065 | saved_LIBS="$LIBS" |
12018 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if programs using OpenSSL need -ldl" >&5 | 21066 | LIBS="$LIBS -ldl" |
12019 | $as_echo_n "checking if programs using OpenSSL need -ldl... " >&6; } | 21067 | { echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5 |
12020 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21068 | echo $ECHO_N "checking if programs using OpenSSL need -ldl... $ECHO_C" >&6; } |
21069 | cat >conftest.$ac_ext <<_ACEOF | ||
21070 | /* confdefs.h. */ | ||
21071 | _ACEOF | ||
21072 | cat confdefs.h >>conftest.$ac_ext | ||
21073 | cat >>conftest.$ac_ext <<_ACEOF | ||
12021 | /* end confdefs.h. */ | 21074 | /* end confdefs.h. */ |
12022 | #include <openssl/evp.h> | 21075 | #include <openssl/evp.h> |
12023 | int | 21076 | int |
@@ -12028,218 +21081,438 @@ main () | |||
12028 | return 0; | 21081 | return 0; |
12029 | } | 21082 | } |
12030 | _ACEOF | 21083 | _ACEOF |
12031 | if ac_fn_c_try_link "$LINENO"; then : | 21084 | rm -f conftest.$ac_objext conftest$ac_exeext |
21085 | if { (ac_try="$ac_link" | ||
21086 | case "(($ac_try" in | ||
21087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21088 | *) ac_try_echo=$ac_try;; | ||
21089 | esac | ||
21090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21091 | (eval "$ac_link") 2>conftest.er1 | ||
21092 | ac_status=$? | ||
21093 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21094 | rm -f conftest.er1 | ||
21095 | cat conftest.err >&5 | ||
21096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21097 | (exit $ac_status); } && { | ||
21098 | test -z "$ac_c_werror_flag" || | ||
21099 | test ! -s conftest.err | ||
21100 | } && test -s conftest$ac_exeext && | ||
21101 | $as_test_x conftest$ac_exeext; then | ||
12032 | 21102 | ||
12033 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 21103 | { echo "$as_me:$LINENO: result: yes" >&5 |
12034 | $as_echo "yes" >&6; } | 21104 | echo "${ECHO_T}yes" >&6; } |
12035 | 21105 | ||
12036 | else | 21106 | else |
21107 | echo "$as_me: failed program was:" >&5 | ||
21108 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12037 | 21109 | ||
12038 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 21110 | |
12039 | $as_echo "no" >&6; } | 21111 | { echo "$as_me:$LINENO: result: no" >&5 |
12040 | LIBS="$saved_LIBS" | 21112 | echo "${ECHO_T}no" >&6; } |
21113 | LIBS="$saved_LIBS" | ||
12041 | 21114 | ||
12042 | 21115 | ||
12043 | fi | 21116 | fi |
12044 | rm -f core conftest.err conftest.$ac_objext \ | 21117 | |
12045 | conftest$ac_exeext conftest.$ac_ext | 21118 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21119 | conftest$ac_exeext conftest.$ac_ext | ||
12046 | 21120 | ||
12047 | 21121 | ||
12048 | fi | 21122 | fi |
12049 | rm -f core conftest.err conftest.$ac_objext \ | 21123 | |
12050 | conftest$ac_exeext conftest.$ac_ext | 21124 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21125 | conftest$ac_exeext conftest.$ac_ext | ||
21126 | |||
21127 | |||
21128 | |||
21129 | |||
21130 | |||
21131 | |||
21132 | |||
21133 | |||
21134 | |||
21135 | |||
12051 | 21136 | ||
12052 | for ac_func in \ | 21137 | for ac_func in \ |
12053 | BN_is_prime_ex \ | 21138 | BN_is_prime_ex \ |
12054 | DSA_generate_parameters_ex \ | 21139 | DSA_generate_parameters_ex \ |
12055 | EVP_DigestInit_ex \ | 21140 | EVP_DigestInit_ex \ |
12056 | EVP_DigestFinal_ex \ | 21141 | EVP_DigestFinal_ex \ |
12057 | EVP_MD_CTX_init \ | 21142 | EVP_MD_CTX_init \ |
12058 | EVP_MD_CTX_cleanup \ | 21143 | EVP_MD_CTX_cleanup \ |
12059 | EVP_MD_CTX_copy_ex \ | 21144 | EVP_MD_CTX_copy_ex \ |
12060 | HMAC_CTX_init \ | 21145 | HMAC_CTX_init \ |
12061 | RSA_generate_key_ex \ | 21146 | RSA_generate_key_ex \ |
12062 | RSA_get_default_method \ | 21147 | RSA_get_default_method \ |
12063 | 21148 | ||
12064 | do : | 21149 | do |
12065 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 21150 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12066 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 21151 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12067 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 21152 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
21153 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
21154 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21155 | else | ||
21156 | cat >conftest.$ac_ext <<_ACEOF | ||
21157 | /* confdefs.h. */ | ||
21158 | _ACEOF | ||
21159 | cat confdefs.h >>conftest.$ac_ext | ||
21160 | cat >>conftest.$ac_ext <<_ACEOF | ||
21161 | /* end confdefs.h. */ | ||
21162 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
21163 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
21164 | #define $ac_func innocuous_$ac_func | ||
21165 | |||
21166 | /* System header to define __stub macros and hopefully few prototypes, | ||
21167 | which can conflict with char $ac_func (); below. | ||
21168 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
21169 | <limits.h> exists even on freestanding compilers. */ | ||
21170 | |||
21171 | #ifdef __STDC__ | ||
21172 | # include <limits.h> | ||
21173 | #else | ||
21174 | # include <assert.h> | ||
21175 | #endif | ||
21176 | |||
21177 | #undef $ac_func | ||
21178 | |||
21179 | /* Override any GCC internal prototype to avoid an error. | ||
21180 | Use char because int might match the return type of a GCC | ||
21181 | builtin and then its argument prototype would still apply. */ | ||
21182 | #ifdef __cplusplus | ||
21183 | extern "C" | ||
21184 | #endif | ||
21185 | char $ac_func (); | ||
21186 | /* The GNU C library defines this for functions which it implements | ||
21187 | to always fail with ENOSYS. Some functions are actually named | ||
21188 | something starting with __ and the normal name is an alias. */ | ||
21189 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
21190 | choke me | ||
21191 | #endif | ||
21192 | |||
21193 | int | ||
21194 | main () | ||
21195 | { | ||
21196 | return $ac_func (); | ||
21197 | ; | ||
21198 | return 0; | ||
21199 | } | ||
21200 | _ACEOF | ||
21201 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
21202 | if { (ac_try="$ac_link" | ||
21203 | case "(($ac_try" in | ||
21204 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21205 | *) ac_try_echo=$ac_try;; | ||
21206 | esac | ||
21207 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21208 | (eval "$ac_link") 2>conftest.er1 | ||
21209 | ac_status=$? | ||
21210 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21211 | rm -f conftest.er1 | ||
21212 | cat conftest.err >&5 | ||
21213 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21214 | (exit $ac_status); } && { | ||
21215 | test -z "$ac_c_werror_flag" || | ||
21216 | test ! -s conftest.err | ||
21217 | } && test -s conftest$ac_exeext && | ||
21218 | $as_test_x conftest$ac_exeext; then | ||
21219 | eval "$as_ac_var=yes" | ||
21220 | else | ||
21221 | echo "$as_me: failed program was:" >&5 | ||
21222 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21223 | |||
21224 | eval "$as_ac_var=no" | ||
21225 | fi | ||
21226 | |||
21227 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
21228 | conftest$ac_exeext conftest.$ac_ext | ||
21229 | fi | ||
21230 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
21231 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
21232 | echo "${ECHO_T}$ac_res" >&6; } | ||
21233 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12068 | cat >>confdefs.h <<_ACEOF | 21234 | cat >>confdefs.h <<_ACEOF |
12069 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 21235 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12070 | _ACEOF | 21236 | _ACEOF |
12071 | 21237 | ||
12072 | fi | 21238 | fi |
12073 | done | 21239 | done |
12074 | 21240 | ||
12075 | 21241 | ||
12076 | 21242 | if test "x$openssl_engine" = "xyes" ; then | |
12077 | # Check whether --with-ssl-engine was given. | 21243 | { echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5 |
12078 | if test "${with_ssl_engine+set}" = set; then : | 21244 | echo $ECHO_N "checking for OpenSSL ENGINE support... $ECHO_C" >&6; } |
12079 | withval=$with_ssl_engine; if test "x$withval" != "xno" ; then | 21245 | cat >conftest.$ac_ext <<_ACEOF |
12080 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL ENGINE support" >&5 | 21246 | /* confdefs.h. */ |
12081 | $as_echo_n "checking for OpenSSL ENGINE support... " >&6; } | 21247 | _ACEOF |
12082 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21248 | cat confdefs.h >>conftest.$ac_ext |
21249 | cat >>conftest.$ac_ext <<_ACEOF | ||
12083 | /* end confdefs.h. */ | 21250 | /* end confdefs.h. */ |
12084 | 21251 | ||
12085 | #include <openssl/engine.h> | 21252 | #include <openssl/engine.h> |
12086 | 21253 | ||
12087 | int | 21254 | int |
12088 | main () | 21255 | main () |
12089 | { | 21256 | { |
12090 | 21257 | ||
12091 | ENGINE_load_builtin_engines(); | 21258 | ENGINE_load_builtin_engines(); |
12092 | ENGINE_register_all_complete(); | 21259 | ENGINE_register_all_complete(); |
12093 | 21260 | ||
12094 | ; | 21261 | ; |
12095 | return 0; | 21262 | return 0; |
12096 | } | 21263 | } |
12097 | _ACEOF | 21264 | _ACEOF |
12098 | if ac_fn_c_try_compile "$LINENO"; then : | 21265 | rm -f conftest.$ac_objext |
12099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 21266 | if { (ac_try="$ac_compile" |
12100 | $as_echo "yes" >&6; } | 21267 | case "(($ac_try" in |
21268 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21269 | *) ac_try_echo=$ac_try;; | ||
21270 | esac | ||
21271 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21272 | (eval "$ac_compile") 2>conftest.er1 | ||
21273 | ac_status=$? | ||
21274 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21275 | rm -f conftest.er1 | ||
21276 | cat conftest.err >&5 | ||
21277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21278 | (exit $ac_status); } && { | ||
21279 | test -z "$ac_c_werror_flag" || | ||
21280 | test ! -s conftest.err | ||
21281 | } && test -s conftest.$ac_objext; then | ||
21282 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
21283 | echo "${ECHO_T}yes" >&6; } | ||
12101 | 21284 | ||
12102 | $as_echo "#define USE_OPENSSL_ENGINE 1" >>confdefs.h | 21285 | cat >>confdefs.h <<\_ACEOF |
21286 | #define USE_OPENSSL_ENGINE 1 | ||
21287 | _ACEOF | ||
12103 | 21288 | ||
12104 | 21289 | ||
12105 | else | 21290 | else |
12106 | as_fn_error $? "OpenSSL ENGINE support not found" "$LINENO" 5 | 21291 | echo "$as_me: failed program was:" >&5 |
21292 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12107 | 21293 | ||
12108 | fi | 21294 | { { echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5 |
12109 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 21295 | echo "$as_me: error: OpenSSL ENGINE support not found" >&2;} |
12110 | fi | 21296 | { (exit 1); exit 1; }; } |
12111 | 21297 | ||
12112 | fi | 21298 | fi |
12113 | 21299 | ||
21300 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
21301 | fi | ||
12114 | 21302 | ||
12115 | # Check for OpenSSL without EVP_aes_{192,256}_cbc | 21303 | # Check for OpenSSL without EVP_aes_{192,256}_cbc |
12116 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has crippled AES support" >&5 | 21304 | { echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 |
12117 | $as_echo_n "checking whether OpenSSL has crippled AES support... " >&6; } | 21305 | echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6; } |
12118 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21306 | cat >conftest.$ac_ext <<_ACEOF |
21307 | /* confdefs.h. */ | ||
21308 | _ACEOF | ||
21309 | cat confdefs.h >>conftest.$ac_ext | ||
21310 | cat >>conftest.$ac_ext <<_ACEOF | ||
12119 | /* end confdefs.h. */ | 21311 | /* end confdefs.h. */ |
12120 | 21312 | ||
12121 | #include <string.h> | 21313 | #include <string.h> |
12122 | #include <openssl/evp.h> | 21314 | #include <openssl/evp.h> |
12123 | 21315 | ||
12124 | int | 21316 | int |
12125 | main () | 21317 | main () |
12126 | { | 21318 | { |
12127 | 21319 | ||
12128 | exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL); | 21320 | exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL); |
12129 | 21321 | ||
12130 | ; | 21322 | ; |
12131 | return 0; | 21323 | return 0; |
12132 | } | 21324 | } |
12133 | _ACEOF | 21325 | _ACEOF |
12134 | if ac_fn_c_try_link "$LINENO"; then : | 21326 | rm -f conftest.$ac_objext conftest$ac_exeext |
21327 | if { (ac_try="$ac_link" | ||
21328 | case "(($ac_try" in | ||
21329 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21330 | *) ac_try_echo=$ac_try;; | ||
21331 | esac | ||
21332 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21333 | (eval "$ac_link") 2>conftest.er1 | ||
21334 | ac_status=$? | ||
21335 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21336 | rm -f conftest.er1 | ||
21337 | cat conftest.err >&5 | ||
21338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21339 | (exit $ac_status); } && { | ||
21340 | test -z "$ac_c_werror_flag" || | ||
21341 | test ! -s conftest.err | ||
21342 | } && test -s conftest$ac_exeext && | ||
21343 | $as_test_x conftest$ac_exeext; then | ||
12135 | 21344 | ||
12136 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 21345 | { echo "$as_me:$LINENO: result: no" >&5 |
12137 | $as_echo "no" >&6; } | 21346 | echo "${ECHO_T}no" >&6; } |
12138 | 21347 | ||
12139 | else | 21348 | else |
21349 | echo "$as_me: failed program was:" >&5 | ||
21350 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12140 | 21351 | ||
12141 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
12142 | $as_echo "yes" >&6; } | ||
12143 | 21352 | ||
12144 | $as_echo "#define OPENSSL_LOBOTOMISED_AES 1" >>confdefs.h | 21353 | { echo "$as_me:$LINENO: result: yes" >&5 |
21354 | echo "${ECHO_T}yes" >&6; } | ||
21355 | |||
21356 | cat >>confdefs.h <<\_ACEOF | ||
21357 | #define OPENSSL_LOBOTOMISED_AES 1 | ||
21358 | _ACEOF | ||
12145 | 21359 | ||
12146 | 21360 | ||
12147 | 21361 | ||
12148 | fi | 21362 | fi |
12149 | rm -f core conftest.err conftest.$ac_objext \ | ||
12150 | conftest$ac_exeext conftest.$ac_ext | ||
12151 | 21363 | ||
12152 | # Check for OpenSSL with EVP_aes_*ctr | 21364 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12153 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has AES CTR via EVP" >&5 | 21365 | conftest$ac_exeext conftest.$ac_ext |
12154 | $as_echo_n "checking whether OpenSSL has AES CTR via EVP... " >&6; } | 21366 | |
12155 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21367 | # Check for OpenSSL with EVP_aes_*ctr |
21368 | { echo "$as_me:$LINENO: checking whether OpenSSL has AES CTR via EVP" >&5 | ||
21369 | echo $ECHO_N "checking whether OpenSSL has AES CTR via EVP... $ECHO_C" >&6; } | ||
21370 | cat >conftest.$ac_ext <<_ACEOF | ||
21371 | /* confdefs.h. */ | ||
21372 | _ACEOF | ||
21373 | cat confdefs.h >>conftest.$ac_ext | ||
21374 | cat >>conftest.$ac_ext <<_ACEOF | ||
12156 | /* end confdefs.h. */ | 21375 | /* end confdefs.h. */ |
12157 | 21376 | ||
12158 | #include <string.h> | 21377 | #include <string.h> |
12159 | #include <openssl/evp.h> | 21378 | #include <openssl/evp.h> |
12160 | 21379 | ||
12161 | int | 21380 | int |
12162 | main () | 21381 | main () |
12163 | { | 21382 | { |
12164 | 21383 | ||
12165 | exit(EVP_aes_128_ctr() == NULL || | 21384 | exit(EVP_aes_128_ctr() == NULL || |
12166 | EVP_aes_192_cbc() == NULL || | 21385 | EVP_aes_192_cbc() == NULL || |
12167 | EVP_aes_256_cbc() == NULL); | 21386 | EVP_aes_256_cbc() == NULL); |
12168 | 21387 | ||
12169 | ; | 21388 | ; |
12170 | return 0; | 21389 | return 0; |
12171 | } | 21390 | } |
12172 | _ACEOF | 21391 | _ACEOF |
12173 | if ac_fn_c_try_link "$LINENO"; then : | 21392 | rm -f conftest.$ac_objext conftest$ac_exeext |
21393 | if { (ac_try="$ac_link" | ||
21394 | case "(($ac_try" in | ||
21395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21396 | *) ac_try_echo=$ac_try;; | ||
21397 | esac | ||
21398 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21399 | (eval "$ac_link") 2>conftest.er1 | ||
21400 | ac_status=$? | ||
21401 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21402 | rm -f conftest.er1 | ||
21403 | cat conftest.err >&5 | ||
21404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21405 | (exit $ac_status); } && { | ||
21406 | test -z "$ac_c_werror_flag" || | ||
21407 | test ! -s conftest.err | ||
21408 | } && test -s conftest$ac_exeext && | ||
21409 | $as_test_x conftest$ac_exeext; then | ||
12174 | 21410 | ||
12175 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 21411 | { echo "$as_me:$LINENO: result: yes" >&5 |
12176 | $as_echo "yes" >&6; } | 21412 | echo "${ECHO_T}yes" >&6; } |
12177 | 21413 | ||
12178 | $as_echo "#define OPENSSL_HAVE_EVPCTR 1" >>confdefs.h | 21414 | cat >>confdefs.h <<\_ACEOF |
21415 | #define OPENSSL_HAVE_EVPCTR 1 | ||
21416 | _ACEOF | ||
12179 | 21417 | ||
12180 | 21418 | ||
12181 | else | 21419 | else |
21420 | echo "$as_me: failed program was:" >&5 | ||
21421 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12182 | 21422 | ||
12183 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 21423 | |
12184 | $as_echo "no" >&6; } | 21424 | { echo "$as_me:$LINENO: result: no" >&5 |
21425 | echo "${ECHO_T}no" >&6; } | ||
12185 | 21426 | ||
12186 | 21427 | ||
12187 | fi | 21428 | fi |
12188 | rm -f core conftest.err conftest.$ac_objext \ | ||
12189 | conftest$ac_exeext conftest.$ac_ext | ||
12190 | 21429 | ||
12191 | # Check for OpenSSL with EVP_aes_*gcm | 21430 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12192 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has AES GCM via EVP" >&5 | 21431 | conftest$ac_exeext conftest.$ac_ext |
12193 | $as_echo_n "checking whether OpenSSL has AES GCM via EVP... " >&6; } | 21432 | |
12194 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21433 | # Check for OpenSSL with EVP_aes_*gcm |
21434 | { echo "$as_me:$LINENO: checking whether OpenSSL has AES GCM via EVP" >&5 | ||
21435 | echo $ECHO_N "checking whether OpenSSL has AES GCM via EVP... $ECHO_C" >&6; } | ||
21436 | cat >conftest.$ac_ext <<_ACEOF | ||
21437 | /* confdefs.h. */ | ||
21438 | _ACEOF | ||
21439 | cat confdefs.h >>conftest.$ac_ext | ||
21440 | cat >>conftest.$ac_ext <<_ACEOF | ||
12195 | /* end confdefs.h. */ | 21441 | /* end confdefs.h. */ |
12196 | 21442 | ||
12197 | #include <string.h> | 21443 | #include <string.h> |
12198 | #include <openssl/evp.h> | 21444 | #include <openssl/evp.h> |
12199 | 21445 | ||
12200 | int | 21446 | int |
12201 | main () | 21447 | main () |
12202 | { | 21448 | { |
12203 | 21449 | ||
12204 | exit(EVP_aes_128_gcm() == NULL || | 21450 | exit(EVP_aes_128_gcm() == NULL || |
12205 | EVP_aes_256_gcm() == NULL || | 21451 | EVP_aes_256_gcm() == NULL || |
12206 | EVP_CTRL_GCM_SET_IV_FIXED == 0 || | 21452 | EVP_CTRL_GCM_SET_IV_FIXED == 0 || |
12207 | EVP_CTRL_GCM_IV_GEN == 0 || | 21453 | EVP_CTRL_GCM_IV_GEN == 0 || |
12208 | EVP_CTRL_GCM_SET_TAG == 0 || | 21454 | EVP_CTRL_GCM_SET_TAG == 0 || |
12209 | EVP_CTRL_GCM_GET_TAG == 0 || | 21455 | EVP_CTRL_GCM_GET_TAG == 0 || |
12210 | EVP_CIPHER_CTX_ctrl(NULL, 0, 0, NULL) == 0); | 21456 | EVP_CIPHER_CTX_ctrl(NULL, 0, 0, NULL) == 0); |
12211 | 21457 | ||
12212 | ; | 21458 | ; |
12213 | return 0; | 21459 | return 0; |
12214 | } | 21460 | } |
12215 | _ACEOF | 21461 | _ACEOF |
12216 | if ac_fn_c_try_link "$LINENO"; then : | 21462 | rm -f conftest.$ac_objext conftest$ac_exeext |
21463 | if { (ac_try="$ac_link" | ||
21464 | case "(($ac_try" in | ||
21465 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21466 | *) ac_try_echo=$ac_try;; | ||
21467 | esac | ||
21468 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21469 | (eval "$ac_link") 2>conftest.er1 | ||
21470 | ac_status=$? | ||
21471 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21472 | rm -f conftest.er1 | ||
21473 | cat conftest.err >&5 | ||
21474 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21475 | (exit $ac_status); } && { | ||
21476 | test -z "$ac_c_werror_flag" || | ||
21477 | test ! -s conftest.err | ||
21478 | } && test -s conftest$ac_exeext && | ||
21479 | $as_test_x conftest$ac_exeext; then | ||
12217 | 21480 | ||
12218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 21481 | { echo "$as_me:$LINENO: result: yes" >&5 |
12219 | $as_echo "yes" >&6; } | 21482 | echo "${ECHO_T}yes" >&6; } |
12220 | 21483 | ||
12221 | $as_echo "#define OPENSSL_HAVE_EVPGCM 1" >>confdefs.h | 21484 | cat >>confdefs.h <<\_ACEOF |
21485 | #define OPENSSL_HAVE_EVPGCM 1 | ||
21486 | _ACEOF | ||
12222 | 21487 | ||
12223 | 21488 | ||
12224 | else | 21489 | else |
21490 | echo "$as_me: failed program was:" >&5 | ||
21491 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21492 | |||
12225 | 21493 | ||
12226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 21494 | { echo "$as_me:$LINENO: result: no" >&5 |
12227 | $as_echo "no" >&6; } | 21495 | echo "${ECHO_T}no" >&6; } |
12228 | unsupported_algorithms="$unsupported_cipers \ | 21496 | unsupported_algorithms="$unsupported_cipers \ |
12229 | aes128-gcm@openssh.com aes256-gcm@openssh.com" | 21497 | aes128-gcm@openssh.com aes256-gcm@openssh.com" |
12230 | 21498 | ||
12231 | 21499 | ||
12232 | fi | 21500 | fi |
12233 | rm -f core conftest.err conftest.$ac_objext \ | ||
12234 | conftest$ac_exeext conftest.$ac_ext | ||
12235 | 21501 | ||
12236 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing EVP_CIPHER_CTX_ctrl" >&5 | 21502 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12237 | $as_echo_n "checking for library containing EVP_CIPHER_CTX_ctrl... " >&6; } | 21503 | conftest$ac_exeext conftest.$ac_ext |
12238 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | 21504 | |
12239 | $as_echo_n "(cached) " >&6 | 21505 | { echo "$as_me:$LINENO: checking for library containing EVP_CIPHER_CTX_ctrl" >&5 |
21506 | echo $ECHO_N "checking for library containing EVP_CIPHER_CTX_ctrl... $ECHO_C" >&6; } | ||
21507 | if test "${ac_cv_search_EVP_CIPHER_CTX_ctrl+set}" = set; then | ||
21508 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12240 | else | 21509 | else |
12241 | ac_func_search_save_LIBS=$LIBS | 21510 | ac_func_search_save_LIBS=$LIBS |
12242 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21511 | cat >conftest.$ac_ext <<_ACEOF |
21512 | /* confdefs.h. */ | ||
21513 | _ACEOF | ||
21514 | cat confdefs.h >>conftest.$ac_ext | ||
21515 | cat >>conftest.$ac_ext <<_ACEOF | ||
12243 | /* end confdefs.h. */ | 21516 | /* end confdefs.h. */ |
12244 | 21517 | ||
12245 | /* Override any GCC internal prototype to avoid an error. | 21518 | /* Override any GCC internal prototype to avoid an error. |
@@ -12264,82 +21537,139 @@ for ac_lib in '' crypto; do | |||
12264 | ac_res=-l$ac_lib | 21537 | ac_res=-l$ac_lib |
12265 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 21538 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
12266 | fi | 21539 | fi |
12267 | if ac_fn_c_try_link "$LINENO"; then : | 21540 | rm -f conftest.$ac_objext conftest$ac_exeext |
21541 | if { (ac_try="$ac_link" | ||
21542 | case "(($ac_try" in | ||
21543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21544 | *) ac_try_echo=$ac_try;; | ||
21545 | esac | ||
21546 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21547 | (eval "$ac_link") 2>conftest.er1 | ||
21548 | ac_status=$? | ||
21549 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21550 | rm -f conftest.er1 | ||
21551 | cat conftest.err >&5 | ||
21552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21553 | (exit $ac_status); } && { | ||
21554 | test -z "$ac_c_werror_flag" || | ||
21555 | test ! -s conftest.err | ||
21556 | } && test -s conftest$ac_exeext && | ||
21557 | $as_test_x conftest$ac_exeext; then | ||
12268 | ac_cv_search_EVP_CIPHER_CTX_ctrl=$ac_res | 21558 | ac_cv_search_EVP_CIPHER_CTX_ctrl=$ac_res |
21559 | else | ||
21560 | echo "$as_me: failed program was:" >&5 | ||
21561 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21562 | |||
21563 | |||
12269 | fi | 21564 | fi |
12270 | rm -f core conftest.err conftest.$ac_objext \ | 21565 | |
12271 | conftest$ac_exeext | 21566 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12272 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | 21567 | conftest$ac_exeext |
21568 | if test "${ac_cv_search_EVP_CIPHER_CTX_ctrl+set}" = set; then | ||
12273 | break | 21569 | break |
12274 | fi | 21570 | fi |
12275 | done | 21571 | done |
12276 | if ${ac_cv_search_EVP_CIPHER_CTX_ctrl+:} false; then : | 21572 | if test "${ac_cv_search_EVP_CIPHER_CTX_ctrl+set}" = set; then |
12277 | 21573 | : | |
12278 | else | 21574 | else |
12279 | ac_cv_search_EVP_CIPHER_CTX_ctrl=no | 21575 | ac_cv_search_EVP_CIPHER_CTX_ctrl=no |
12280 | fi | 21576 | fi |
12281 | rm conftest.$ac_ext | 21577 | rm conftest.$ac_ext |
12282 | LIBS=$ac_func_search_save_LIBS | 21578 | LIBS=$ac_func_search_save_LIBS |
12283 | fi | 21579 | fi |
12284 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EVP_CIPHER_CTX_ctrl" >&5 | 21580 | { echo "$as_me:$LINENO: result: $ac_cv_search_EVP_CIPHER_CTX_ctrl" >&5 |
12285 | $as_echo "$ac_cv_search_EVP_CIPHER_CTX_ctrl" >&6; } | 21581 | echo "${ECHO_T}$ac_cv_search_EVP_CIPHER_CTX_ctrl" >&6; } |
12286 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_ctrl | 21582 | ac_res=$ac_cv_search_EVP_CIPHER_CTX_ctrl |
12287 | if test "$ac_res" != no; then : | 21583 | if test "$ac_res" != no; then |
12288 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 21584 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
12289 | 21585 | ||
12290 | $as_echo "#define HAVE_EVP_CIPHER_CTX_CTRL 1" >>confdefs.h | 21586 | cat >>confdefs.h <<\_ACEOF |
21587 | #define HAVE_EVP_CIPHER_CTX_CTRL 1 | ||
21588 | _ACEOF | ||
12291 | 21589 | ||
12292 | fi | 21590 | fi |
12293 | 21591 | ||
12294 | 21592 | ||
12295 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if EVP_DigestUpdate returns an int" >&5 | 21593 | { echo "$as_me:$LINENO: checking if EVP_DigestUpdate returns an int" >&5 |
12296 | $as_echo_n "checking if EVP_DigestUpdate returns an int... " >&6; } | 21594 | echo $ECHO_N "checking if EVP_DigestUpdate returns an int... $ECHO_C" >&6; } |
12297 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21595 | cat >conftest.$ac_ext <<_ACEOF |
21596 | /* confdefs.h. */ | ||
21597 | _ACEOF | ||
21598 | cat confdefs.h >>conftest.$ac_ext | ||
21599 | cat >>conftest.$ac_ext <<_ACEOF | ||
12298 | /* end confdefs.h. */ | 21600 | /* end confdefs.h. */ |
12299 | 21601 | ||
12300 | #include <string.h> | 21602 | #include <string.h> |
12301 | #include <openssl/evp.h> | 21603 | #include <openssl/evp.h> |
12302 | 21604 | ||
12303 | int | 21605 | int |
12304 | main () | 21606 | main () |
12305 | { | 21607 | { |
12306 | 21608 | ||
12307 | if(EVP_DigestUpdate(NULL, NULL,0)) | 21609 | if(EVP_DigestUpdate(NULL, NULL,0)) |
12308 | exit(0); | 21610 | exit(0); |
12309 | 21611 | ||
12310 | ; | 21612 | ; |
12311 | return 0; | 21613 | return 0; |
12312 | } | 21614 | } |
12313 | _ACEOF | 21615 | _ACEOF |
12314 | if ac_fn_c_try_link "$LINENO"; then : | 21616 | rm -f conftest.$ac_objext conftest$ac_exeext |
21617 | if { (ac_try="$ac_link" | ||
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 | ||
12315 | 21634 | ||
12316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 21635 | { echo "$as_me:$LINENO: result: yes" >&5 |
12317 | $as_echo "yes" >&6; } | 21636 | echo "${ECHO_T}yes" >&6; } |
12318 | 21637 | ||
12319 | else | 21638 | else |
21639 | echo "$as_me: failed program was:" >&5 | ||
21640 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12320 | 21641 | ||
12321 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
12322 | $as_echo "no" >&6; } | ||
12323 | 21642 | ||
12324 | $as_echo "#define OPENSSL_EVP_DIGESTUPDATE_VOID 1" >>confdefs.h | 21643 | { echo "$as_me:$LINENO: result: no" >&5 |
21644 | echo "${ECHO_T}no" >&6; } | ||
21645 | |||
21646 | cat >>confdefs.h <<\_ACEOF | ||
21647 | #define OPENSSL_EVP_DIGESTUPDATE_VOID 1 | ||
21648 | _ACEOF | ||
12325 | 21649 | ||
12326 | 21650 | ||
12327 | 21651 | ||
12328 | fi | 21652 | fi |
12329 | rm -f core conftest.err conftest.$ac_objext \ | ||
12330 | conftest$ac_exeext conftest.$ac_ext | ||
12331 | 21653 | ||
12332 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, | 21654 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12333 | # because the system crypt() is more featureful. | 21655 | conftest$ac_exeext conftest.$ac_ext |
12334 | if test "x$check_for_libcrypt_before" = "x1"; then | 21656 | |
12335 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 | 21657 | # Some systems want crypt() from libcrypt, *not* the version in OpenSSL, |
12336 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } | 21658 | # because the system crypt() is more featureful. |
12337 | if ${ac_cv_lib_crypt_crypt+:} false; then : | 21659 | if test "x$check_for_libcrypt_before" = "x1"; then |
12338 | $as_echo_n "(cached) " >&6 | 21660 | |
21661 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 | ||
21662 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } | ||
21663 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | ||
21664 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12339 | else | 21665 | else |
12340 | ac_check_lib_save_LIBS=$LIBS | 21666 | ac_check_lib_save_LIBS=$LIBS |
12341 | LIBS="-lcrypt $LIBS" | 21667 | LIBS="-lcrypt $LIBS" |
12342 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21668 | cat >conftest.$ac_ext <<_ACEOF |
21669 | /* confdefs.h. */ | ||
21670 | _ACEOF | ||
21671 | cat confdefs.h >>conftest.$ac_ext | ||
21672 | cat >>conftest.$ac_ext <<_ACEOF | ||
12343 | /* end confdefs.h. */ | 21673 | /* end confdefs.h. */ |
12344 | 21674 | ||
12345 | /* Override any GCC internal prototype to avoid an error. | 21675 | /* Override any GCC internal prototype to avoid an error. |
@@ -12357,18 +21687,39 @@ return crypt (); | |||
12357 | return 0; | 21687 | return 0; |
12358 | } | 21688 | } |
12359 | _ACEOF | 21689 | _ACEOF |
12360 | if ac_fn_c_try_link "$LINENO"; then : | 21690 | rm -f conftest.$ac_objext conftest$ac_exeext |
21691 | if { (ac_try="$ac_link" | ||
21692 | case "(($ac_try" in | ||
21693 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21694 | *) ac_try_echo=$ac_try;; | ||
21695 | esac | ||
21696 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21697 | (eval "$ac_link") 2>conftest.er1 | ||
21698 | ac_status=$? | ||
21699 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21700 | rm -f conftest.er1 | ||
21701 | cat conftest.err >&5 | ||
21702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21703 | (exit $ac_status); } && { | ||
21704 | test -z "$ac_c_werror_flag" || | ||
21705 | test ! -s conftest.err | ||
21706 | } && test -s conftest$ac_exeext && | ||
21707 | $as_test_x conftest$ac_exeext; then | ||
12361 | ac_cv_lib_crypt_crypt=yes | 21708 | ac_cv_lib_crypt_crypt=yes |
12362 | else | 21709 | else |
12363 | ac_cv_lib_crypt_crypt=no | 21710 | echo "$as_me: failed program was:" >&5 |
21711 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21712 | |||
21713 | ac_cv_lib_crypt_crypt=no | ||
12364 | fi | 21714 | fi |
12365 | rm -f core conftest.err conftest.$ac_objext \ | 21715 | |
12366 | conftest$ac_exeext conftest.$ac_ext | 21716 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21717 | conftest$ac_exeext conftest.$ac_ext | ||
12367 | LIBS=$ac_check_lib_save_LIBS | 21718 | LIBS=$ac_check_lib_save_LIBS |
12368 | fi | 21719 | fi |
12369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 | 21720 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
12370 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } | 21721 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } |
12371 | if test "x$ac_cv_lib_crypt_crypt" = xyes; then : | 21722 | if test $ac_cv_lib_crypt_crypt = yes; then |
12372 | cat >>confdefs.h <<_ACEOF | 21723 | cat >>confdefs.h <<_ACEOF |
12373 | #define HAVE_LIBCRYPT 1 | 21724 | #define HAVE_LIBCRYPT 1 |
12374 | _ACEOF | 21725 | _ACEOF |
@@ -12377,19 +21728,23 @@ _ACEOF | |||
12377 | 21728 | ||
12378 | fi | 21729 | fi |
12379 | 21730 | ||
12380 | fi | 21731 | fi |
12381 | 21732 | ||
12382 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the | 21733 | # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the |
12383 | # version in OpenSSL. | 21734 | # version in OpenSSL. |
12384 | if test "x$check_for_libcrypt_later" = "x1"; then | 21735 | if test "x$check_for_libcrypt_later" = "x1"; then |
12385 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 | 21736 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
12386 | $as_echo_n "checking for crypt in -lcrypt... " >&6; } | 21737 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } |
12387 | if ${ac_cv_lib_crypt_crypt+:} false; then : | 21738 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then |
12388 | $as_echo_n "(cached) " >&6 | 21739 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12389 | else | 21740 | else |
12390 | ac_check_lib_save_LIBS=$LIBS | 21741 | ac_check_lib_save_LIBS=$LIBS |
12391 | LIBS="-lcrypt $LIBS" | 21742 | LIBS="-lcrypt $LIBS" |
12392 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 21743 | cat >conftest.$ac_ext <<_ACEOF |
21744 | /* confdefs.h. */ | ||
21745 | _ACEOF | ||
21746 | cat confdefs.h >>conftest.$ac_ext | ||
21747 | cat >>conftest.$ac_ext <<_ACEOF | ||
12393 | /* end confdefs.h. */ | 21748 | /* end confdefs.h. */ |
12394 | 21749 | ||
12395 | /* Override any GCC internal prototype to avoid an error. | 21750 | /* Override any GCC internal prototype to avoid an error. |
@@ -12407,286 +21762,913 @@ return crypt (); | |||
12407 | return 0; | 21762 | return 0; |
12408 | } | 21763 | } |
12409 | _ACEOF | 21764 | _ACEOF |
12410 | if ac_fn_c_try_link "$LINENO"; then : | 21765 | rm -f conftest.$ac_objext conftest$ac_exeext |
21766 | if { (ac_try="$ac_link" | ||
21767 | case "(($ac_try" in | ||
21768 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21769 | *) ac_try_echo=$ac_try;; | ||
21770 | esac | ||
21771 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21772 | (eval "$ac_link") 2>conftest.er1 | ||
21773 | ac_status=$? | ||
21774 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21775 | rm -f conftest.er1 | ||
21776 | cat conftest.err >&5 | ||
21777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21778 | (exit $ac_status); } && { | ||
21779 | test -z "$ac_c_werror_flag" || | ||
21780 | test ! -s conftest.err | ||
21781 | } && test -s conftest$ac_exeext && | ||
21782 | $as_test_x conftest$ac_exeext; then | ||
12411 | ac_cv_lib_crypt_crypt=yes | 21783 | ac_cv_lib_crypt_crypt=yes |
12412 | else | 21784 | else |
12413 | ac_cv_lib_crypt_crypt=no | 21785 | echo "$as_me: failed program was:" >&5 |
21786 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21787 | |||
21788 | ac_cv_lib_crypt_crypt=no | ||
12414 | fi | 21789 | fi |
12415 | rm -f core conftest.err conftest.$ac_objext \ | 21790 | |
12416 | conftest$ac_exeext conftest.$ac_ext | 21791 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21792 | conftest$ac_exeext conftest.$ac_ext | ||
12417 | LIBS=$ac_check_lib_save_LIBS | 21793 | LIBS=$ac_check_lib_save_LIBS |
12418 | fi | 21794 | fi |
12419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 | 21795 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 |
12420 | $as_echo "$ac_cv_lib_crypt_crypt" >&6; } | 21796 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } |
12421 | if test "x$ac_cv_lib_crypt_crypt" = xyes; then : | 21797 | if test $ac_cv_lib_crypt_crypt = yes; then |
12422 | LIBS="$LIBS -lcrypt" | 21798 | LIBS="$LIBS -lcrypt" |
12423 | fi | 21799 | fi |
12424 | 21800 | ||
12425 | fi | 21801 | fi |
21802 | |||
21803 | |||
12426 | for ac_func in crypt DES_crypt | 21804 | for ac_func in crypt DES_crypt |
12427 | do : | 21805 | do |
12428 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 21806 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12429 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 21807 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12430 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 21808 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
21809 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
21810 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21811 | else | ||
21812 | cat >conftest.$ac_ext <<_ACEOF | ||
21813 | /* confdefs.h. */ | ||
21814 | _ACEOF | ||
21815 | cat confdefs.h >>conftest.$ac_ext | ||
21816 | cat >>conftest.$ac_ext <<_ACEOF | ||
21817 | /* end confdefs.h. */ | ||
21818 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
21819 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
21820 | #define $ac_func innocuous_$ac_func | ||
21821 | |||
21822 | /* System header to define __stub macros and hopefully few prototypes, | ||
21823 | which can conflict with char $ac_func (); below. | ||
21824 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
21825 | <limits.h> exists even on freestanding compilers. */ | ||
21826 | |||
21827 | #ifdef __STDC__ | ||
21828 | # include <limits.h> | ||
21829 | #else | ||
21830 | # include <assert.h> | ||
21831 | #endif | ||
21832 | |||
21833 | #undef $ac_func | ||
21834 | |||
21835 | /* Override any GCC internal prototype to avoid an error. | ||
21836 | Use char because int might match the return type of a GCC | ||
21837 | builtin and then its argument prototype would still apply. */ | ||
21838 | #ifdef __cplusplus | ||
21839 | extern "C" | ||
21840 | #endif | ||
21841 | char $ac_func (); | ||
21842 | /* The GNU C library defines this for functions which it implements | ||
21843 | to always fail with ENOSYS. Some functions are actually named | ||
21844 | something starting with __ and the normal name is an alias. */ | ||
21845 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
21846 | choke me | ||
21847 | #endif | ||
21848 | |||
21849 | int | ||
21850 | main () | ||
21851 | { | ||
21852 | return $ac_func (); | ||
21853 | ; | ||
21854 | return 0; | ||
21855 | } | ||
21856 | _ACEOF | ||
21857 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
21858 | if { (ac_try="$ac_link" | ||
21859 | case "(($ac_try" in | ||
21860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21861 | *) ac_try_echo=$ac_try;; | ||
21862 | esac | ||
21863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21864 | (eval "$ac_link") 2>conftest.er1 | ||
21865 | ac_status=$? | ||
21866 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21867 | rm -f conftest.er1 | ||
21868 | cat conftest.err >&5 | ||
21869 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21870 | (exit $ac_status); } && { | ||
21871 | test -z "$ac_c_werror_flag" || | ||
21872 | test ! -s conftest.err | ||
21873 | } && test -s conftest$ac_exeext && | ||
21874 | $as_test_x conftest$ac_exeext; then | ||
21875 | eval "$as_ac_var=yes" | ||
21876 | else | ||
21877 | echo "$as_me: failed program was:" >&5 | ||
21878 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21879 | |||
21880 | eval "$as_ac_var=no" | ||
21881 | fi | ||
21882 | |||
21883 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
21884 | conftest$ac_exeext conftest.$ac_ext | ||
21885 | fi | ||
21886 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
21887 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
21888 | echo "${ECHO_T}$ac_res" >&6; } | ||
21889 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12431 | cat >>confdefs.h <<_ACEOF | 21890 | cat >>confdefs.h <<_ACEOF |
12432 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 21891 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12433 | _ACEOF | 21892 | _ACEOF |
12434 | 21893 | ||
12435 | fi | 21894 | fi |
12436 | done | 21895 | done |
12437 | 21896 | ||
12438 | 21897 | ||
12439 | # Search for SHA256 support in libc and/or OpenSSL | 21898 | # Search for SHA256 support in libc and/or OpenSSL |
21899 | |||
21900 | |||
12440 | for ac_func in SHA256_Update EVP_sha256 | 21901 | for ac_func in SHA256_Update EVP_sha256 |
12441 | do : | 21902 | do |
12442 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 21903 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12443 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 21904 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12444 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 21905 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
21906 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
21907 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
21908 | else | ||
21909 | cat >conftest.$ac_ext <<_ACEOF | ||
21910 | /* confdefs.h. */ | ||
21911 | _ACEOF | ||
21912 | cat confdefs.h >>conftest.$ac_ext | ||
21913 | cat >>conftest.$ac_ext <<_ACEOF | ||
21914 | /* end confdefs.h. */ | ||
21915 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
21916 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
21917 | #define $ac_func innocuous_$ac_func | ||
21918 | |||
21919 | /* System header to define __stub macros and hopefully few prototypes, | ||
21920 | which can conflict with char $ac_func (); below. | ||
21921 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
21922 | <limits.h> exists even on freestanding compilers. */ | ||
21923 | |||
21924 | #ifdef __STDC__ | ||
21925 | # include <limits.h> | ||
21926 | #else | ||
21927 | # include <assert.h> | ||
21928 | #endif | ||
21929 | |||
21930 | #undef $ac_func | ||
21931 | |||
21932 | /* Override any GCC internal prototype to avoid an error. | ||
21933 | Use char because int might match the return type of a GCC | ||
21934 | builtin and then its argument prototype would still apply. */ | ||
21935 | #ifdef __cplusplus | ||
21936 | extern "C" | ||
21937 | #endif | ||
21938 | char $ac_func (); | ||
21939 | /* The GNU C library defines this for functions which it implements | ||
21940 | to always fail with ENOSYS. Some functions are actually named | ||
21941 | something starting with __ and the normal name is an alias. */ | ||
21942 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
21943 | choke me | ||
21944 | #endif | ||
21945 | |||
21946 | int | ||
21947 | main () | ||
21948 | { | ||
21949 | return $ac_func (); | ||
21950 | ; | ||
21951 | return 0; | ||
21952 | } | ||
21953 | _ACEOF | ||
21954 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
21955 | if { (ac_try="$ac_link" | ||
21956 | case "(($ac_try" in | ||
21957 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
21958 | *) ac_try_echo=$ac_try;; | ||
21959 | esac | ||
21960 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
21961 | (eval "$ac_link") 2>conftest.er1 | ||
21962 | ac_status=$? | ||
21963 | grep -v '^ *+' conftest.er1 >conftest.err | ||
21964 | rm -f conftest.er1 | ||
21965 | cat conftest.err >&5 | ||
21966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
21967 | (exit $ac_status); } && { | ||
21968 | test -z "$ac_c_werror_flag" || | ||
21969 | test ! -s conftest.err | ||
21970 | } && test -s conftest$ac_exeext && | ||
21971 | $as_test_x conftest$ac_exeext; then | ||
21972 | eval "$as_ac_var=yes" | ||
21973 | else | ||
21974 | echo "$as_me: failed program was:" >&5 | ||
21975 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
21976 | |||
21977 | eval "$as_ac_var=no" | ||
21978 | fi | ||
21979 | |||
21980 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
21981 | conftest$ac_exeext conftest.$ac_ext | ||
21982 | fi | ||
21983 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
21984 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
21985 | echo "${ECHO_T}$ac_res" >&6; } | ||
21986 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12445 | cat >>confdefs.h <<_ACEOF | 21987 | cat >>confdefs.h <<_ACEOF |
12446 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 21988 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12447 | _ACEOF | 21989 | _ACEOF |
12448 | 21990 | ||
12449 | else | 21991 | else |
12450 | unsupported_algorithms="$unsupported_algorithms \ | 21992 | unsupported_algorithms="$unsupported_algorithms \ |
12451 | hmac-sha2-256 hmac-sha2-512 \ | 21993 | hmac-sha2-256 hmac-sha2-512 \ |
12452 | diffie-hellman-group-exchange-sha256 \ | 21994 | diffie-hellman-group-exchange-sha256 \ |
12453 | hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com" | 21995 | hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com" |
12454 | 21996 | ||
12455 | 21997 | ||
12456 | fi | 21998 | fi |
12457 | done | 21999 | done |
12458 | 22000 | ||
12459 | # Search for RIPE-MD support in OpenSSL | 22001 | # Search for RIPE-MD support in OpenSSL |
22002 | |||
12460 | for ac_func in EVP_ripemd160 | 22003 | for ac_func in EVP_ripemd160 |
12461 | do : | 22004 | do |
12462 | ac_fn_c_check_func "$LINENO" "EVP_ripemd160" "ac_cv_func_EVP_ripemd160" | 22005 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12463 | if test "x$ac_cv_func_EVP_ripemd160" = xyes; then : | 22006 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
22007 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
22008 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22009 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22010 | else | ||
22011 | cat >conftest.$ac_ext <<_ACEOF | ||
22012 | /* confdefs.h. */ | ||
22013 | _ACEOF | ||
22014 | cat confdefs.h >>conftest.$ac_ext | ||
22015 | cat >>conftest.$ac_ext <<_ACEOF | ||
22016 | /* end confdefs.h. */ | ||
22017 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22018 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22019 | #define $ac_func innocuous_$ac_func | ||
22020 | |||
22021 | /* System header to define __stub macros and hopefully few prototypes, | ||
22022 | which can conflict with char $ac_func (); below. | ||
22023 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22024 | <limits.h> exists even on freestanding compilers. */ | ||
22025 | |||
22026 | #ifdef __STDC__ | ||
22027 | # include <limits.h> | ||
22028 | #else | ||
22029 | # include <assert.h> | ||
22030 | #endif | ||
22031 | |||
22032 | #undef $ac_func | ||
22033 | |||
22034 | /* Override any GCC internal prototype to avoid an error. | ||
22035 | Use char because int might match the return type of a GCC | ||
22036 | builtin and then its argument prototype would still apply. */ | ||
22037 | #ifdef __cplusplus | ||
22038 | extern "C" | ||
22039 | #endif | ||
22040 | char $ac_func (); | ||
22041 | /* The GNU C library defines this for functions which it implements | ||
22042 | to always fail with ENOSYS. Some functions are actually named | ||
22043 | something starting with __ and the normal name is an alias. */ | ||
22044 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22045 | choke me | ||
22046 | #endif | ||
22047 | |||
22048 | int | ||
22049 | main () | ||
22050 | { | ||
22051 | return $ac_func (); | ||
22052 | ; | ||
22053 | return 0; | ||
22054 | } | ||
22055 | _ACEOF | ||
22056 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22057 | if { (ac_try="$ac_link" | ||
22058 | case "(($ac_try" in | ||
22059 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22060 | *) ac_try_echo=$ac_try;; | ||
22061 | esac | ||
22062 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22063 | (eval "$ac_link") 2>conftest.er1 | ||
22064 | ac_status=$? | ||
22065 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22066 | rm -f conftest.er1 | ||
22067 | cat conftest.err >&5 | ||
22068 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22069 | (exit $ac_status); } && { | ||
22070 | test -z "$ac_c_werror_flag" || | ||
22071 | test ! -s conftest.err | ||
22072 | } && test -s conftest$ac_exeext && | ||
22073 | $as_test_x conftest$ac_exeext; then | ||
22074 | eval "$as_ac_var=yes" | ||
22075 | else | ||
22076 | echo "$as_me: failed program was:" >&5 | ||
22077 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22078 | |||
22079 | eval "$as_ac_var=no" | ||
22080 | fi | ||
22081 | |||
22082 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22083 | conftest$ac_exeext conftest.$ac_ext | ||
22084 | fi | ||
22085 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22086 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22087 | echo "${ECHO_T}$ac_res" >&6; } | ||
22088 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12464 | cat >>confdefs.h <<_ACEOF | 22089 | cat >>confdefs.h <<_ACEOF |
12465 | #define HAVE_EVP_RIPEMD160 1 | 22090 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12466 | _ACEOF | 22091 | _ACEOF |
12467 | 22092 | ||
12468 | else | 22093 | else |
12469 | unsupported_algorithms="$unsupported_algorithms \ | 22094 | unsupported_algorithms="$unsupported_algorithms \ |
12470 | hmac-ripemd160 | 22095 | hmac-ripemd160 |
12471 | hmac-ripemd160@openssh.com | 22096 | hmac-ripemd160@openssh.com |
12472 | hmac-ripemd160-etm@openssh.com" | 22097 | hmac-ripemd160-etm@openssh.com" |
12473 | 22098 | ||
12474 | 22099 | ||
12475 | fi | 22100 | fi |
12476 | done | 22101 | done |
12477 | 22102 | ||
12478 | 22103 | ||
12479 | # Check complete ECC support in OpenSSL | 22104 | # Check complete ECC support in OpenSSL |
12480 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has NID_X9_62_prime256v1" >&5 | 22105 | { echo "$as_me:$LINENO: checking whether OpenSSL has NID_X9_62_prime256v1" >&5 |
12481 | $as_echo_n "checking whether OpenSSL has NID_X9_62_prime256v1... " >&6; } | 22106 | echo $ECHO_N "checking whether OpenSSL has NID_X9_62_prime256v1... $ECHO_C" >&6; } |
12482 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22107 | cat >conftest.$ac_ext <<_ACEOF |
22108 | /* confdefs.h. */ | ||
22109 | _ACEOF | ||
22110 | cat confdefs.h >>conftest.$ac_ext | ||
22111 | cat >>conftest.$ac_ext <<_ACEOF | ||
12483 | /* end confdefs.h. */ | 22112 | /* end confdefs.h. */ |
12484 | 22113 | ||
12485 | #include <openssl/ec.h> | 22114 | #include <openssl/ec.h> |
12486 | #include <openssl/ecdh.h> | 22115 | #include <openssl/ecdh.h> |
12487 | #include <openssl/ecdsa.h> | 22116 | #include <openssl/ecdsa.h> |
12488 | #include <openssl/evp.h> | 22117 | #include <openssl/evp.h> |
12489 | #include <openssl/objects.h> | 22118 | #include <openssl/objects.h> |
12490 | #include <openssl/opensslv.h> | 22119 | #include <openssl/opensslv.h> |
12491 | #if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */ | 22120 | #if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */ |
12492 | # error "OpenSSL < 0.9.8g has unreliable ECC code" | 22121 | # error "OpenSSL < 0.9.8g has unreliable ECC code" |
12493 | #endif | 22122 | #endif |
12494 | 22123 | ||
12495 | int | 22124 | int |
12496 | main () | 22125 | main () |
12497 | { | 22126 | { |
12498 | 22127 | ||
12499 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | 22128 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); |
12500 | const EVP_MD *m = EVP_sha256(); /* We need this too */ | 22129 | const EVP_MD *m = EVP_sha256(); /* We need this too */ |
12501 | 22130 | ||
12502 | ; | 22131 | ; |
12503 | return 0; | 22132 | return 0; |
12504 | } | 22133 | } |
12505 | _ACEOF | 22134 | _ACEOF |
12506 | if ac_fn_c_try_link "$LINENO"; then : | 22135 | rm -f conftest.$ac_objext conftest$ac_exeext |
12507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 22136 | if { (ac_try="$ac_link" |
12508 | $as_echo "yes" >&6; } | 22137 | case "(($ac_try" in |
12509 | enable_nistp256=1 | 22138 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22139 | *) ac_try_echo=$ac_try;; | ||
22140 | esac | ||
22141 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22142 | (eval "$ac_link") 2>conftest.er1 | ||
22143 | ac_status=$? | ||
22144 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22145 | rm -f conftest.er1 | ||
22146 | cat conftest.err >&5 | ||
22147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22148 | (exit $ac_status); } && { | ||
22149 | test -z "$ac_c_werror_flag" || | ||
22150 | test ! -s conftest.err | ||
22151 | } && test -s conftest$ac_exeext && | ||
22152 | $as_test_x conftest$ac_exeext; then | ||
22153 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
22154 | echo "${ECHO_T}yes" >&6; } | ||
22155 | enable_nistp256=1 | ||
12510 | else | 22156 | else |
12511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 22157 | echo "$as_me: failed program was:" >&5 |
12512 | $as_echo "no" >&6; } | 22158 | sed 's/^/| /' conftest.$ac_ext >&5 |
22159 | |||
22160 | { echo "$as_me:$LINENO: result: no" >&5 | ||
22161 | echo "${ECHO_T}no" >&6; } | ||
12513 | 22162 | ||
12514 | fi | 22163 | fi |
12515 | rm -f core conftest.err conftest.$ac_objext \ | ||
12516 | conftest$ac_exeext conftest.$ac_ext | ||
12517 | 22164 | ||
12518 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has NID_secp384r1" >&5 | 22165 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12519 | $as_echo_n "checking whether OpenSSL has NID_secp384r1... " >&6; } | 22166 | conftest$ac_exeext conftest.$ac_ext |
12520 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22167 | |
22168 | { echo "$as_me:$LINENO: checking whether OpenSSL has NID_secp384r1" >&5 | ||
22169 | echo $ECHO_N "checking whether OpenSSL has NID_secp384r1... $ECHO_C" >&6; } | ||
22170 | cat >conftest.$ac_ext <<_ACEOF | ||
22171 | /* confdefs.h. */ | ||
22172 | _ACEOF | ||
22173 | cat confdefs.h >>conftest.$ac_ext | ||
22174 | cat >>conftest.$ac_ext <<_ACEOF | ||
12521 | /* end confdefs.h. */ | 22175 | /* end confdefs.h. */ |
12522 | 22176 | ||
12523 | #include <openssl/ec.h> | 22177 | #include <openssl/ec.h> |
12524 | #include <openssl/ecdh.h> | 22178 | #include <openssl/ecdh.h> |
12525 | #include <openssl/ecdsa.h> | 22179 | #include <openssl/ecdsa.h> |
12526 | #include <openssl/evp.h> | 22180 | #include <openssl/evp.h> |
12527 | #include <openssl/objects.h> | 22181 | #include <openssl/objects.h> |
12528 | #include <openssl/opensslv.h> | 22182 | #include <openssl/opensslv.h> |
12529 | #if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */ | 22183 | #if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */ |
12530 | # error "OpenSSL < 0.9.8g has unreliable ECC code" | 22184 | # error "OpenSSL < 0.9.8g has unreliable ECC code" |
12531 | #endif | 22185 | #endif |
12532 | 22186 | ||
12533 | int | 22187 | int |
12534 | main () | 22188 | main () |
12535 | { | 22189 | { |
12536 | 22190 | ||
12537 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp384r1); | 22191 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp384r1); |
12538 | const EVP_MD *m = EVP_sha384(); /* We need this too */ | 22192 | const EVP_MD *m = EVP_sha384(); /* We need this too */ |
12539 | 22193 | ||
12540 | ; | 22194 | ; |
12541 | return 0; | 22195 | return 0; |
12542 | } | 22196 | } |
12543 | _ACEOF | 22197 | _ACEOF |
12544 | if ac_fn_c_try_link "$LINENO"; then : | 22198 | rm -f conftest.$ac_objext conftest$ac_exeext |
12545 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 22199 | if { (ac_try="$ac_link" |
12546 | $as_echo "yes" >&6; } | 22200 | case "(($ac_try" in |
12547 | enable_nistp384=1 | 22201 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22202 | *) ac_try_echo=$ac_try;; | ||
22203 | esac | ||
22204 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22205 | (eval "$ac_link") 2>conftest.er1 | ||
22206 | ac_status=$? | ||
22207 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22208 | rm -f conftest.er1 | ||
22209 | cat conftest.err >&5 | ||
22210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22211 | (exit $ac_status); } && { | ||
22212 | test -z "$ac_c_werror_flag" || | ||
22213 | test ! -s conftest.err | ||
22214 | } && test -s conftest$ac_exeext && | ||
22215 | $as_test_x conftest$ac_exeext; then | ||
22216 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
22217 | echo "${ECHO_T}yes" >&6; } | ||
22218 | enable_nistp384=1 | ||
12548 | else | 22219 | else |
12549 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 22220 | echo "$as_me: failed program was:" >&5 |
12550 | $as_echo "no" >&6; } | 22221 | sed 's/^/| /' conftest.$ac_ext >&5 |
22222 | |||
22223 | { echo "$as_me:$LINENO: result: no" >&5 | ||
22224 | echo "${ECHO_T}no" >&6; } | ||
12551 | 22225 | ||
12552 | fi | 22226 | fi |
12553 | rm -f core conftest.err conftest.$ac_objext \ | ||
12554 | conftest$ac_exeext conftest.$ac_ext | ||
12555 | 22227 | ||
12556 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL has NID_secp521r1" >&5 | 22228 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12557 | $as_echo_n "checking whether OpenSSL has NID_secp521r1... " >&6; } | 22229 | conftest$ac_exeext conftest.$ac_ext |
12558 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22230 | |
22231 | { echo "$as_me:$LINENO: checking whether OpenSSL has NID_secp521r1" >&5 | ||
22232 | echo $ECHO_N "checking whether OpenSSL has NID_secp521r1... $ECHO_C" >&6; } | ||
22233 | cat >conftest.$ac_ext <<_ACEOF | ||
22234 | /* confdefs.h. */ | ||
22235 | _ACEOF | ||
22236 | cat confdefs.h >>conftest.$ac_ext | ||
22237 | cat >>conftest.$ac_ext <<_ACEOF | ||
12559 | /* end confdefs.h. */ | 22238 | /* end confdefs.h. */ |
12560 | 22239 | ||
12561 | #include <openssl/ec.h> | 22240 | #include <openssl/ec.h> |
12562 | #include <openssl/ecdh.h> | 22241 | #include <openssl/ecdh.h> |
12563 | #include <openssl/ecdsa.h> | 22242 | #include <openssl/ecdsa.h> |
12564 | #include <openssl/evp.h> | 22243 | #include <openssl/evp.h> |
12565 | #include <openssl/objects.h> | 22244 | #include <openssl/objects.h> |
12566 | #include <openssl/opensslv.h> | 22245 | #include <openssl/opensslv.h> |
12567 | #if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */ | 22246 | #if OPENSSL_VERSION_NUMBER < 0x0090807f /* 0.9.8g */ |
12568 | # error "OpenSSL < 0.9.8g has unreliable ECC code" | 22247 | # error "OpenSSL < 0.9.8g has unreliable ECC code" |
12569 | #endif | 22248 | #endif |
12570 | 22249 | ||
12571 | int | 22250 | int |
12572 | main () | 22251 | main () |
12573 | { | 22252 | { |
12574 | 22253 | ||
12575 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp521r1); | 22254 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp521r1); |
12576 | const EVP_MD *m = EVP_sha512(); /* We need this too */ | 22255 | const EVP_MD *m = EVP_sha512(); /* We need this too */ |
12577 | 22256 | ||
12578 | ; | 22257 | ; |
12579 | return 0; | 22258 | return 0; |
12580 | } | 22259 | } |
12581 | _ACEOF | 22260 | _ACEOF |
12582 | if ac_fn_c_try_link "$LINENO"; then : | 22261 | rm -f conftest.$ac_objext conftest$ac_exeext |
12583 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 22262 | if { (ac_try="$ac_link" |
12584 | $as_echo "yes" >&6; } | 22263 | case "(($ac_try" in |
12585 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL's NID_secp521r1 is functional" >&5 | 22264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12586 | $as_echo_n "checking if OpenSSL's NID_secp521r1 is functional... " >&6; } | 22265 | *) ac_try_echo=$ac_try;; |
12587 | if test "$cross_compiling" = yes; then : | 22266 | esac |
12588 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross-compiling: assuming yes" >&5 | 22267 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12589 | $as_echo "$as_me: WARNING: cross-compiling: assuming yes" >&2;} | 22268 | (eval "$ac_link") 2>conftest.er1 |
12590 | enable_nistp521=1 | 22269 | ac_status=$? |
12591 | 22270 | grep -v '^ *+' conftest.er1 >conftest.err | |
12592 | else | 22271 | rm -f conftest.er1 |
12593 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22272 | cat conftest.err >&5 |
22273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22274 | (exit $ac_status); } && { | ||
22275 | test -z "$ac_c_werror_flag" || | ||
22276 | test ! -s conftest.err | ||
22277 | } && test -s conftest$ac_exeext && | ||
22278 | $as_test_x conftest$ac_exeext; then | ||
22279 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
22280 | echo "${ECHO_T}yes" >&6; } | ||
22281 | { echo "$as_me:$LINENO: checking if OpenSSL's NID_secp521r1 is functional" >&5 | ||
22282 | echo $ECHO_N "checking if OpenSSL's NID_secp521r1 is functional... $ECHO_C" >&6; } | ||
22283 | if test "$cross_compiling" = yes; then | ||
22284 | { echo "$as_me:$LINENO: WARNING: cross-compiling: assuming yes" >&5 | ||
22285 | echo "$as_me: WARNING: cross-compiling: assuming yes" >&2;} | ||
22286 | enable_nistp521=1 | ||
22287 | |||
22288 | else | ||
22289 | cat >conftest.$ac_ext <<_ACEOF | ||
22290 | /* confdefs.h. */ | ||
22291 | _ACEOF | ||
22292 | cat confdefs.h >>conftest.$ac_ext | ||
22293 | cat >>conftest.$ac_ext <<_ACEOF | ||
12594 | /* end confdefs.h. */ | 22294 | /* end confdefs.h. */ |
12595 | 22295 | ||
12596 | #include <openssl/ec.h> | 22296 | #include <openssl/ec.h> |
12597 | #include <openssl/ecdh.h> | 22297 | #include <openssl/ecdh.h> |
12598 | #include <openssl/ecdsa.h> | 22298 | #include <openssl/ecdsa.h> |
12599 | #include <openssl/evp.h> | 22299 | #include <openssl/evp.h> |
12600 | #include <openssl/objects.h> | 22300 | #include <openssl/objects.h> |
12601 | #include <openssl/opensslv.h> | 22301 | #include <openssl/opensslv.h> |
12602 | 22302 | ||
12603 | int | 22303 | int |
12604 | main () | 22304 | main () |
12605 | { | 22305 | { |
12606 | 22306 | ||
12607 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp521r1); | 22307 | EC_KEY *e = EC_KEY_new_by_curve_name(NID_secp521r1); |
12608 | const EVP_MD *m = EVP_sha512(); /* We need this too */ | 22308 | const EVP_MD *m = EVP_sha512(); /* We need this too */ |
12609 | exit(e == NULL || m == NULL); | 22309 | exit(e == NULL || m == NULL); |
12610 | 22310 | ||
12611 | ; | 22311 | ; |
12612 | return 0; | 22312 | return 0; |
12613 | } | 22313 | } |
12614 | _ACEOF | 22314 | _ACEOF |
12615 | if ac_fn_c_try_run "$LINENO"; then : | 22315 | rm -f conftest$ac_exeext |
12616 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 22316 | if { (ac_try="$ac_link" |
12617 | $as_echo "yes" >&6; } | 22317 | case "(($ac_try" in |
12618 | enable_nistp521=1 | 22318 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12619 | else | 22319 | *) ac_try_echo=$ac_try;; |
12620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 22320 | esac |
12621 | $as_echo "no" >&6; } | 22321 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22322 | (eval "$ac_link") 2>&5 | ||
22323 | ac_status=$? | ||
22324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22325 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
22326 | { (case "(($ac_try" in | ||
22327 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22328 | *) ac_try_echo=$ac_try;; | ||
22329 | esac | ||
22330 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22331 | (eval "$ac_try") 2>&5 | ||
22332 | ac_status=$? | ||
22333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22334 | (exit $ac_status); }; }; then | ||
22335 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
22336 | echo "${ECHO_T}yes" >&6; } | ||
22337 | enable_nistp521=1 | ||
22338 | else | ||
22339 | echo "$as_me: program exited with status $ac_status" >&5 | ||
22340 | echo "$as_me: failed program was:" >&5 | ||
22341 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22342 | |||
22343 | ( exit $ac_status ) | ||
22344 | { echo "$as_me:$LINENO: result: no" >&5 | ||
22345 | echo "${ECHO_T}no" >&6; } | ||
12622 | fi | 22346 | fi |
12623 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 22347 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12624 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
12625 | fi | 22348 | fi |
12626 | 22349 | ||
22350 | |||
12627 | else | 22351 | else |
12628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 22352 | echo "$as_me: failed program was:" >&5 |
12629 | $as_echo "no" >&6; } | 22353 | sed 's/^/| /' conftest.$ac_ext >&5 |
22354 | |||
22355 | { echo "$as_me:$LINENO: result: no" >&5 | ||
22356 | echo "${ECHO_T}no" >&6; } | ||
12630 | 22357 | ||
12631 | fi | 22358 | fi |
12632 | rm -f core conftest.err conftest.$ac_objext \ | ||
12633 | conftest$ac_exeext conftest.$ac_ext | ||
12634 | 22359 | ||
12635 | COMMENT_OUT_ECC="#no ecc#" | 22360 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12636 | TEST_SSH_ECC=no | 22361 | conftest$ac_exeext conftest.$ac_ext |
12637 | 22362 | ||
12638 | if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \ | 22363 | COMMENT_OUT_ECC="#no ecc#" |
12639 | test x$enable_nistp521 = x1; then | 22364 | TEST_SSH_ECC=no |
12640 | 22365 | ||
12641 | $as_echo "#define OPENSSL_HAS_ECC 1" >>confdefs.h | 22366 | if test x$enable_nistp256 = x1 || test x$enable_nistp384 = x1 || \ |
22367 | test x$enable_nistp521 = x1; then | ||
22368 | |||
22369 | cat >>confdefs.h <<\_ACEOF | ||
22370 | #define OPENSSL_HAS_ECC 1 | ||
22371 | _ACEOF | ||
22372 | |||
22373 | fi | ||
22374 | if test x$enable_nistp256 = x1; then | ||
22375 | |||
22376 | cat >>confdefs.h <<\_ACEOF | ||
22377 | #define OPENSSL_HAS_NISTP256 1 | ||
22378 | _ACEOF | ||
22379 | |||
22380 | TEST_SSH_ECC=yes | ||
22381 | COMMENT_OUT_ECC="" | ||
22382 | else | ||
22383 | unsupported_algorithms="$unsupported_algorithms ecdsa-sha2-nistp256 \ | ||
22384 | ecdh-sha2-nistp256 ecdsa-sha2-nistp256-cert-v01@openssh.com" | ||
22385 | fi | ||
22386 | if test x$enable_nistp384 = x1; then | ||
22387 | |||
22388 | cat >>confdefs.h <<\_ACEOF | ||
22389 | #define OPENSSL_HAS_NISTP384 1 | ||
22390 | _ACEOF | ||
22391 | |||
22392 | TEST_SSH_ECC=yes | ||
22393 | COMMENT_OUT_ECC="" | ||
22394 | else | ||
22395 | unsupported_algorithms="$unsupported_algorithms ecdsa-sha2-nistp384 \ | ||
22396 | ecdh-sha2-nistp384 ecdsa-sha2-nistp384-cert-v01@openssh.com" | ||
22397 | fi | ||
22398 | if test x$enable_nistp521 = x1; then | ||
22399 | |||
22400 | cat >>confdefs.h <<\_ACEOF | ||
22401 | #define OPENSSL_HAS_NISTP521 1 | ||
22402 | _ACEOF | ||
22403 | |||
22404 | TEST_SSH_ECC=yes | ||
22405 | COMMENT_OUT_ECC="" | ||
22406 | else | ||
22407 | unsupported_algorithms="$unsupported_algorithms ecdh-sha2-nistp521 \ | ||
22408 | ecdsa-sha2-nistp521 ecdsa-sha2-nistp521-cert-v01@openssh.com" | ||
22409 | fi | ||
12642 | 22410 | ||
12643 | fi | ||
12644 | if test x$enable_nistp256 = x1; then | ||
12645 | 22411 | ||
12646 | $as_echo "#define OPENSSL_HAS_NISTP256 1" >>confdefs.h | ||
12647 | 22412 | ||
12648 | TEST_SSH_ECC=yes | ||
12649 | COMMENT_OUT_ECC="" | ||
12650 | else | 22413 | else |
12651 | unsupported_algorithms="$unsupported_algorithms ecdsa-sha2-nistp256 \ | 22414 | { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 |
12652 | ecdh-sha2-nistp256 ecdsa-sha2-nistp256-cert-v01@openssh.com" | 22415 | echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } |
22416 | if test "${ac_cv_lib_crypt_crypt+set}" = set; then | ||
22417 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22418 | else | ||
22419 | ac_check_lib_save_LIBS=$LIBS | ||
22420 | LIBS="-lcrypt $LIBS" | ||
22421 | cat >conftest.$ac_ext <<_ACEOF | ||
22422 | /* confdefs.h. */ | ||
22423 | _ACEOF | ||
22424 | cat confdefs.h >>conftest.$ac_ext | ||
22425 | cat >>conftest.$ac_ext <<_ACEOF | ||
22426 | /* end confdefs.h. */ | ||
22427 | |||
22428 | /* Override any GCC internal prototype to avoid an error. | ||
22429 | Use char because int might match the return type of a GCC | ||
22430 | builtin and then its argument prototype would still apply. */ | ||
22431 | #ifdef __cplusplus | ||
22432 | extern "C" | ||
22433 | #endif | ||
22434 | char crypt (); | ||
22435 | int | ||
22436 | main () | ||
22437 | { | ||
22438 | return crypt (); | ||
22439 | ; | ||
22440 | return 0; | ||
22441 | } | ||
22442 | _ACEOF | ||
22443 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22444 | if { (ac_try="$ac_link" | ||
22445 | case "(($ac_try" in | ||
22446 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22447 | *) ac_try_echo=$ac_try;; | ||
22448 | esac | ||
22449 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22450 | (eval "$ac_link") 2>conftest.er1 | ||
22451 | ac_status=$? | ||
22452 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22453 | rm -f conftest.er1 | ||
22454 | cat conftest.err >&5 | ||
22455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22456 | (exit $ac_status); } && { | ||
22457 | test -z "$ac_c_werror_flag" || | ||
22458 | test ! -s conftest.err | ||
22459 | } && test -s conftest$ac_exeext && | ||
22460 | $as_test_x conftest$ac_exeext; then | ||
22461 | ac_cv_lib_crypt_crypt=yes | ||
22462 | else | ||
22463 | echo "$as_me: failed program was:" >&5 | ||
22464 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22465 | |||
22466 | ac_cv_lib_crypt_crypt=no | ||
22467 | fi | ||
22468 | |||
22469 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22470 | conftest$ac_exeext conftest.$ac_ext | ||
22471 | LIBS=$ac_check_lib_save_LIBS | ||
22472 | fi | ||
22473 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 | ||
22474 | echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } | ||
22475 | if test $ac_cv_lib_crypt_crypt = yes; then | ||
22476 | LIBS="$LIBS -lcrypt" | ||
12653 | fi | 22477 | fi |
12654 | if test x$enable_nistp384 = x1; then | ||
12655 | 22478 | ||
12656 | $as_echo "#define OPENSSL_HAS_NISTP384 1" >>confdefs.h | ||
12657 | 22479 | ||
12658 | TEST_SSH_ECC=yes | 22480 | for ac_func in crypt |
12659 | COMMENT_OUT_ECC="" | 22481 | do |
22482 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
22483 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
22484 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
22485 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22486 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12660 | else | 22487 | else |
12661 | unsupported_algorithms="$unsupported_algorithms ecdsa-sha2-nistp384 \ | 22488 | cat >conftest.$ac_ext <<_ACEOF |
12662 | ecdh-sha2-nistp384 ecdsa-sha2-nistp384-cert-v01@openssh.com" | 22489 | /* confdefs.h. */ |
12663 | fi | 22490 | _ACEOF |
12664 | if test x$enable_nistp521 = x1; then | 22491 | cat confdefs.h >>conftest.$ac_ext |
22492 | cat >>conftest.$ac_ext <<_ACEOF | ||
22493 | /* end confdefs.h. */ | ||
22494 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22495 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22496 | #define $ac_func innocuous_$ac_func | ||
22497 | |||
22498 | /* System header to define __stub macros and hopefully few prototypes, | ||
22499 | which can conflict with char $ac_func (); below. | ||
22500 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22501 | <limits.h> exists even on freestanding compilers. */ | ||
12665 | 22502 | ||
12666 | $as_echo "#define OPENSSL_HAS_NISTP521 1" >>confdefs.h | 22503 | #ifdef __STDC__ |
22504 | # include <limits.h> | ||
22505 | #else | ||
22506 | # include <assert.h> | ||
22507 | #endif | ||
12667 | 22508 | ||
12668 | TEST_SSH_ECC=yes | 22509 | #undef $ac_func |
12669 | COMMENT_OUT_ECC="" | 22510 | |
22511 | /* Override any GCC internal prototype to avoid an error. | ||
22512 | Use char because int might match the return type of a GCC | ||
22513 | builtin and then its argument prototype would still apply. */ | ||
22514 | #ifdef __cplusplus | ||
22515 | extern "C" | ||
22516 | #endif | ||
22517 | char $ac_func (); | ||
22518 | /* The GNU C library defines this for functions which it implements | ||
22519 | to always fail with ENOSYS. Some functions are actually named | ||
22520 | something starting with __ and the normal name is an alias. */ | ||
22521 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22522 | choke me | ||
22523 | #endif | ||
22524 | |||
22525 | int | ||
22526 | main () | ||
22527 | { | ||
22528 | return $ac_func (); | ||
22529 | ; | ||
22530 | return 0; | ||
22531 | } | ||
22532 | _ACEOF | ||
22533 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22534 | if { (ac_try="$ac_link" | ||
22535 | case "(($ac_try" in | ||
22536 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22537 | *) ac_try_echo=$ac_try;; | ||
22538 | esac | ||
22539 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22540 | (eval "$ac_link") 2>conftest.er1 | ||
22541 | ac_status=$? | ||
22542 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22543 | rm -f conftest.er1 | ||
22544 | cat conftest.err >&5 | ||
22545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22546 | (exit $ac_status); } && { | ||
22547 | test -z "$ac_c_werror_flag" || | ||
22548 | test ! -s conftest.err | ||
22549 | } && test -s conftest$ac_exeext && | ||
22550 | $as_test_x conftest$ac_exeext; then | ||
22551 | eval "$as_ac_var=yes" | ||
12670 | else | 22552 | else |
12671 | unsupported_algorithms="$unsupported_algorithms ecdh-sha2-nistp521 \ | 22553 | echo "$as_me: failed program was:" >&5 |
12672 | ecdsa-sha2-nistp521 ecdsa-sha2-nistp521-cert-v01@openssh.com" | 22554 | sed 's/^/| /' conftest.$ac_ext >&5 |
22555 | |||
22556 | eval "$as_ac_var=no" | ||
22557 | fi | ||
22558 | |||
22559 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22560 | conftest$ac_exeext conftest.$ac_ext | ||
22561 | fi | ||
22562 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22563 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22564 | echo "${ECHO_T}$ac_res" >&6; } | ||
22565 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
22566 | cat >>confdefs.h <<_ACEOF | ||
22567 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | ||
22568 | _ACEOF | ||
22569 | |||
22570 | fi | ||
22571 | done | ||
22572 | |||
12673 | fi | 22573 | fi |
12674 | 22574 | ||
12675 | 22575 | ||
12676 | 22576 | ||
12677 | 22577 | ||
22578 | |||
12678 | for ac_func in \ | 22579 | for ac_func in \ |
12679 | arc4random \ | 22580 | arc4random \ |
12680 | arc4random_buf \ | 22581 | arc4random_buf \ |
12681 | arc4random_stir \ | 22582 | arc4random_stir \ |
12682 | arc4random_uniform \ | 22583 | arc4random_uniform \ |
12683 | 22584 | ||
12684 | do : | 22585 | do |
12685 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 22586 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12686 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 22587 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12687 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 22588 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
22589 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22590 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22591 | else | ||
22592 | cat >conftest.$ac_ext <<_ACEOF | ||
22593 | /* confdefs.h. */ | ||
22594 | _ACEOF | ||
22595 | cat confdefs.h >>conftest.$ac_ext | ||
22596 | cat >>conftest.$ac_ext <<_ACEOF | ||
22597 | /* end confdefs.h. */ | ||
22598 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22599 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22600 | #define $ac_func innocuous_$ac_func | ||
22601 | |||
22602 | /* System header to define __stub macros and hopefully few prototypes, | ||
22603 | which can conflict with char $ac_func (); below. | ||
22604 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22605 | <limits.h> exists even on freestanding compilers. */ | ||
22606 | |||
22607 | #ifdef __STDC__ | ||
22608 | # include <limits.h> | ||
22609 | #else | ||
22610 | # include <assert.h> | ||
22611 | #endif | ||
22612 | |||
22613 | #undef $ac_func | ||
22614 | |||
22615 | /* Override any GCC internal prototype to avoid an error. | ||
22616 | Use char because int might match the return type of a GCC | ||
22617 | builtin and then its argument prototype would still apply. */ | ||
22618 | #ifdef __cplusplus | ||
22619 | extern "C" | ||
22620 | #endif | ||
22621 | char $ac_func (); | ||
22622 | /* The GNU C library defines this for functions which it implements | ||
22623 | to always fail with ENOSYS. Some functions are actually named | ||
22624 | something starting with __ and the normal name is an alias. */ | ||
22625 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22626 | choke me | ||
22627 | #endif | ||
22628 | |||
22629 | int | ||
22630 | main () | ||
22631 | { | ||
22632 | return $ac_func (); | ||
22633 | ; | ||
22634 | return 0; | ||
22635 | } | ||
22636 | _ACEOF | ||
22637 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22638 | if { (ac_try="$ac_link" | ||
22639 | case "(($ac_try" in | ||
22640 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22641 | *) ac_try_echo=$ac_try;; | ||
22642 | esac | ||
22643 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22644 | (eval "$ac_link") 2>conftest.er1 | ||
22645 | ac_status=$? | ||
22646 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22647 | rm -f conftest.er1 | ||
22648 | cat conftest.err >&5 | ||
22649 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22650 | (exit $ac_status); } && { | ||
22651 | test -z "$ac_c_werror_flag" || | ||
22652 | test ! -s conftest.err | ||
22653 | } && test -s conftest$ac_exeext && | ||
22654 | $as_test_x conftest$ac_exeext; then | ||
22655 | eval "$as_ac_var=yes" | ||
22656 | else | ||
22657 | echo "$as_me: failed program was:" >&5 | ||
22658 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22659 | |||
22660 | eval "$as_ac_var=no" | ||
22661 | fi | ||
22662 | |||
22663 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22664 | conftest$ac_exeext conftest.$ac_ext | ||
22665 | fi | ||
22666 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22667 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22668 | echo "${ECHO_T}$ac_res" >&6; } | ||
22669 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12688 | cat >>confdefs.h <<_ACEOF | 22670 | cat >>confdefs.h <<_ACEOF |
12689 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 22671 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12690 | _ACEOF | 22672 | _ACEOF |
12691 | 22673 | ||
12692 | fi | 22674 | fi |
@@ -12694,14 +22676,18 @@ done | |||
12694 | 22676 | ||
12695 | 22677 | ||
12696 | saved_LIBS="$LIBS" | 22678 | saved_LIBS="$LIBS" |
12697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ia_openinfo in -liaf" >&5 | 22679 | { echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 |
12698 | $as_echo_n "checking for ia_openinfo in -liaf... " >&6; } | 22680 | echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } |
12699 | if ${ac_cv_lib_iaf_ia_openinfo+:} false; then : | 22681 | if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then |
12700 | $as_echo_n "(cached) " >&6 | 22682 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12701 | else | 22683 | else |
12702 | ac_check_lib_save_LIBS=$LIBS | 22684 | ac_check_lib_save_LIBS=$LIBS |
12703 | LIBS="-liaf $LIBS" | 22685 | LIBS="-liaf $LIBS" |
12704 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22686 | cat >conftest.$ac_ext <<_ACEOF |
22687 | /* confdefs.h. */ | ||
22688 | _ACEOF | ||
22689 | cat confdefs.h >>conftest.$ac_ext | ||
22690 | cat >>conftest.$ac_ext <<_ACEOF | ||
12705 | /* end confdefs.h. */ | 22691 | /* end confdefs.h. */ |
12706 | 22692 | ||
12707 | /* Override any GCC internal prototype to avoid an error. | 22693 | /* Override any GCC internal prototype to avoid an error. |
@@ -12719,30 +22705,136 @@ return ia_openinfo (); | |||
12719 | return 0; | 22705 | return 0; |
12720 | } | 22706 | } |
12721 | _ACEOF | 22707 | _ACEOF |
12722 | if ac_fn_c_try_link "$LINENO"; then : | 22708 | rm -f conftest.$ac_objext conftest$ac_exeext |
22709 | if { (ac_try="$ac_link" | ||
22710 | case "(($ac_try" in | ||
22711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22712 | *) ac_try_echo=$ac_try;; | ||
22713 | esac | ||
22714 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22715 | (eval "$ac_link") 2>conftest.er1 | ||
22716 | ac_status=$? | ||
22717 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22718 | rm -f conftest.er1 | ||
22719 | cat conftest.err >&5 | ||
22720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22721 | (exit $ac_status); } && { | ||
22722 | test -z "$ac_c_werror_flag" || | ||
22723 | test ! -s conftest.err | ||
22724 | } && test -s conftest$ac_exeext && | ||
22725 | $as_test_x conftest$ac_exeext; then | ||
12723 | ac_cv_lib_iaf_ia_openinfo=yes | 22726 | ac_cv_lib_iaf_ia_openinfo=yes |
12724 | else | 22727 | else |
12725 | ac_cv_lib_iaf_ia_openinfo=no | 22728 | echo "$as_me: failed program was:" >&5 |
22729 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22730 | |||
22731 | ac_cv_lib_iaf_ia_openinfo=no | ||
12726 | fi | 22732 | fi |
12727 | rm -f core conftest.err conftest.$ac_objext \ | 22733 | |
12728 | conftest$ac_exeext conftest.$ac_ext | 22734 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22735 | conftest$ac_exeext conftest.$ac_ext | ||
12729 | LIBS=$ac_check_lib_save_LIBS | 22736 | LIBS=$ac_check_lib_save_LIBS |
12730 | fi | 22737 | fi |
12731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iaf_ia_openinfo" >&5 | 22738 | { echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 |
12732 | $as_echo "$ac_cv_lib_iaf_ia_openinfo" >&6; } | 22739 | echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } |
12733 | if test "x$ac_cv_lib_iaf_ia_openinfo" = xyes; then : | 22740 | if test $ac_cv_lib_iaf_ia_openinfo = yes; then |
12734 | 22741 | ||
12735 | LIBS="$LIBS -liaf" | 22742 | LIBS="$LIBS -liaf" |
12736 | for ac_func in set_id | 22743 | |
12737 | do : | 22744 | for ac_func in set_id |
12738 | ac_fn_c_check_func "$LINENO" "set_id" "ac_cv_func_set_id" | 22745 | do |
12739 | if test "x$ac_cv_func_set_id" = xyes; then : | 22746 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22747 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
22748 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
22749 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
22750 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
22751 | else | ||
22752 | cat >conftest.$ac_ext <<_ACEOF | ||
22753 | /* confdefs.h. */ | ||
22754 | _ACEOF | ||
22755 | cat confdefs.h >>conftest.$ac_ext | ||
22756 | cat >>conftest.$ac_ext <<_ACEOF | ||
22757 | /* end confdefs.h. */ | ||
22758 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
22759 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
22760 | #define $ac_func innocuous_$ac_func | ||
22761 | |||
22762 | /* System header to define __stub macros and hopefully few prototypes, | ||
22763 | which can conflict with char $ac_func (); below. | ||
22764 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
22765 | <limits.h> exists even on freestanding compilers. */ | ||
22766 | |||
22767 | #ifdef __STDC__ | ||
22768 | # include <limits.h> | ||
22769 | #else | ||
22770 | # include <assert.h> | ||
22771 | #endif | ||
22772 | |||
22773 | #undef $ac_func | ||
22774 | |||
22775 | /* Override any GCC internal prototype to avoid an error. | ||
22776 | Use char because int might match the return type of a GCC | ||
22777 | builtin and then its argument prototype would still apply. */ | ||
22778 | #ifdef __cplusplus | ||
22779 | extern "C" | ||
22780 | #endif | ||
22781 | char $ac_func (); | ||
22782 | /* The GNU C library defines this for functions which it implements | ||
22783 | to always fail with ENOSYS. Some functions are actually named | ||
22784 | something starting with __ and the normal name is an alias. */ | ||
22785 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
22786 | choke me | ||
22787 | #endif | ||
22788 | |||
22789 | int | ||
22790 | main () | ||
22791 | { | ||
22792 | return $ac_func (); | ||
22793 | ; | ||
22794 | return 0; | ||
22795 | } | ||
22796 | _ACEOF | ||
22797 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
22798 | if { (ac_try="$ac_link" | ||
22799 | case "(($ac_try" in | ||
22800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22801 | *) ac_try_echo=$ac_try;; | ||
22802 | esac | ||
22803 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22804 | (eval "$ac_link") 2>conftest.er1 | ||
22805 | ac_status=$? | ||
22806 | grep -v '^ *+' conftest.er1 >conftest.err | ||
22807 | rm -f conftest.er1 | ||
22808 | cat conftest.err >&5 | ||
22809 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22810 | (exit $ac_status); } && { | ||
22811 | test -z "$ac_c_werror_flag" || | ||
22812 | test ! -s conftest.err | ||
22813 | } && test -s conftest$ac_exeext && | ||
22814 | $as_test_x conftest$ac_exeext; then | ||
22815 | eval "$as_ac_var=yes" | ||
22816 | else | ||
22817 | echo "$as_me: failed program was:" >&5 | ||
22818 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
22819 | |||
22820 | eval "$as_ac_var=no" | ||
22821 | fi | ||
22822 | |||
22823 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
22824 | conftest$ac_exeext conftest.$ac_ext | ||
22825 | fi | ||
22826 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
22827 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
22828 | echo "${ECHO_T}$ac_res" >&6; } | ||
22829 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
12740 | cat >>confdefs.h <<_ACEOF | 22830 | cat >>confdefs.h <<_ACEOF |
12741 | #define HAVE_SET_ID 1 | 22831 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
12742 | _ACEOF | 22832 | _ACEOF |
12743 | SSHDLIBS="$SSHDLIBS -liaf" | 22833 | SSHDLIBS="$SSHDLIBS -liaf" |
12744 | 22834 | ||
12745 | $as_echo "#define HAVE_LIBIAF 1" >>confdefs.h | 22835 | cat >>confdefs.h <<\_ACEOF |
22836 | #define HAVE_LIBIAF 1 | ||
22837 | _ACEOF | ||
12746 | 22838 | ||
12747 | 22839 | ||
12748 | fi | 22840 | fi |
@@ -12756,55 +22848,85 @@ LIBS="$saved_LIBS" | |||
12756 | ### Configure cryptographic random number support | 22848 | ### Configure cryptographic random number support |
12757 | 22849 | ||
12758 | # Check wheter OpenSSL seeds itself | 22850 | # Check wheter OpenSSL seeds itself |
12759 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenSSL's PRNG is internally seeded" >&5 | 22851 | if test "x$openssl" = "xyes" ; then |
12760 | $as_echo_n "checking whether OpenSSL's PRNG is internally seeded... " >&6; } | 22852 | { echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 |
12761 | if test "$cross_compiling" = yes; then : | 22853 | echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6; } |
22854 | if test "$cross_compiling" = yes; then | ||
12762 | 22855 | ||
12763 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 | 22856 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 |
12764 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | 22857 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
12765 | # This is safe, since we will fatal() at runtime if | 22858 | # This is safe, since we will fatal() at runtime if |
12766 | # OpenSSL is not seeded correctly. | 22859 | # OpenSSL is not seeded correctly. |
12767 | OPENSSL_SEEDS_ITSELF=yes | 22860 | OPENSSL_SEEDS_ITSELF=yes |
12768 | 22861 | ||
12769 | 22862 | ||
12770 | else | 22863 | else |
12771 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 22864 | cat >conftest.$ac_ext <<_ACEOF |
22865 | /* confdefs.h. */ | ||
22866 | _ACEOF | ||
22867 | cat confdefs.h >>conftest.$ac_ext | ||
22868 | cat >>conftest.$ac_ext <<_ACEOF | ||
12772 | /* end confdefs.h. */ | 22869 | /* end confdefs.h. */ |
12773 | 22870 | ||
12774 | #include <string.h> | 22871 | #include <string.h> |
12775 | #include <openssl/rand.h> | 22872 | #include <openssl/rand.h> |
12776 | 22873 | ||
12777 | int | 22874 | int |
12778 | main () | 22875 | main () |
12779 | { | 22876 | { |
12780 | 22877 | ||
12781 | exit(RAND_status() == 1 ? 0 : 1); | 22878 | exit(RAND_status() == 1 ? 0 : 1); |
12782 | 22879 | ||
12783 | ; | 22880 | ; |
12784 | return 0; | 22881 | return 0; |
12785 | } | 22882 | } |
12786 | _ACEOF | 22883 | _ACEOF |
12787 | if ac_fn_c_try_run "$LINENO"; then : | 22884 | rm -f conftest$ac_exeext |
22885 | if { (ac_try="$ac_link" | ||
22886 | case "(($ac_try" in | ||
22887 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22888 | *) ac_try_echo=$ac_try;; | ||
22889 | esac | ||
22890 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22891 | (eval "$ac_link") 2>&5 | ||
22892 | ac_status=$? | ||
22893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22894 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
22895 | { (case "(($ac_try" in | ||
22896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
22897 | *) ac_try_echo=$ac_try;; | ||
22898 | esac | ||
22899 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
22900 | (eval "$ac_try") 2>&5 | ||
22901 | ac_status=$? | ||
22902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
22903 | (exit $ac_status); }; }; then | ||
12788 | 22904 | ||
12789 | OPENSSL_SEEDS_ITSELF=yes | 22905 | OPENSSL_SEEDS_ITSELF=yes |
12790 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 22906 | { echo "$as_me:$LINENO: result: yes" >&5 |
12791 | $as_echo "yes" >&6; } | 22907 | echo "${ECHO_T}yes" >&6; } |
12792 | 22908 | ||
12793 | else | 22909 | else |
22910 | echo "$as_me: program exited with status $ac_status" >&5 | ||
22911 | echo "$as_me: failed program was:" >&5 | ||
22912 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
12794 | 22913 | ||
12795 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 22914 | ( exit $ac_status ) |
12796 | $as_echo "no" >&6; } | 22915 | |
22916 | { echo "$as_me:$LINENO: result: no" >&5 | ||
22917 | echo "${ECHO_T}no" >&6; } | ||
12797 | 22918 | ||
12798 | fi | 22919 | fi |
12799 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 22920 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12800 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
12801 | fi | 22921 | fi |
12802 | 22922 | ||
12803 | 22923 | ||
22924 | fi | ||
22925 | |||
12804 | # PRNGD TCP socket | 22926 | # PRNGD TCP socket |
12805 | 22927 | ||
12806 | # Check whether --with-prngd-port was given. | 22928 | # Check whether --with-prngd-port was given. |
12807 | if test "${with_prngd_port+set}" = set; then : | 22929 | if test "${with_prngd_port+set}" = set; then |
12808 | withval=$with_prngd_port; | 22930 | withval=$with_prngd_port; |
12809 | case "$withval" in | 22931 | case "$withval" in |
12810 | no) | 22932 | no) |
@@ -12813,7 +22935,9 @@ if test "${with_prngd_port+set}" = set; then : | |||
12813 | [0-9]*) | 22935 | [0-9]*) |
12814 | ;; | 22936 | ;; |
12815 | *) | 22937 | *) |
12816 | as_fn_error $? "You must specify a numeric port number for --with-prngd-port" "$LINENO" 5 | 22938 | { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 |
22939 | echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} | ||
22940 | { (exit 1); exit 1; }; } | ||
12817 | ;; | 22941 | ;; |
12818 | esac | 22942 | esac |
12819 | if test ! -z "$withval" ; then | 22943 | if test ! -z "$withval" ; then |
@@ -12832,7 +22956,7 @@ fi | |||
12832 | # PRNGD Unix domain socket | 22956 | # PRNGD Unix domain socket |
12833 | 22957 | ||
12834 | # Check whether --with-prngd-socket was given. | 22958 | # Check whether --with-prngd-socket was given. |
12835 | if test "${with_prngd_socket+set}" = set; then : | 22959 | if test "${with_prngd_socket+set}" = set; then |
12836 | withval=$with_prngd_socket; | 22960 | withval=$with_prngd_socket; |
12837 | case "$withval" in | 22961 | case "$withval" in |
12838 | yes) | 22962 | yes) |
@@ -12844,17 +22968,21 @@ if test "${with_prngd_socket+set}" = set; then : | |||
12844 | /*) | 22968 | /*) |
12845 | ;; | 22969 | ;; |
12846 | *) | 22970 | *) |
12847 | as_fn_error $? "You must specify an absolute path to the entropy socket" "$LINENO" 5 | 22971 | { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 |
22972 | echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} | ||
22973 | { (exit 1); exit 1; }; } | ||
12848 | ;; | 22974 | ;; |
12849 | esac | 22975 | esac |
12850 | 22976 | ||
12851 | if test ! -z "$withval" ; then | 22977 | if test ! -z "$withval" ; then |
12852 | if test ! -z "$PRNGD_PORT" ; then | 22978 | if test ! -z "$PRNGD_PORT" ; then |
12853 | as_fn_error $? "You may not specify both a PRNGD/EGD port and socket" "$LINENO" 5 | 22979 | { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 |
22980 | echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} | ||
22981 | { (exit 1); exit 1; }; } | ||
12854 | fi | 22982 | fi |
12855 | if test ! -r "$withval" ; then | 22983 | if test ! -r "$withval" ; then |
12856 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Entropy socket is not readable" >&5 | 22984 | { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 |
12857 | $as_echo "$as_me: WARNING: Entropy socket is not readable" >&2;} | 22985 | echo "$as_me: WARNING: Entropy socket is not readable" >&2;} |
12858 | fi | 22986 | fi |
12859 | PRNGD_SOCKET="$withval" | 22987 | PRNGD_SOCKET="$withval" |
12860 | 22988 | ||
@@ -12868,8 +22996,8 @@ else | |||
12868 | 22996 | ||
12869 | # Check for existing socket only if we don't have a random device already | 22997 | # Check for existing socket only if we don't have a random device already |
12870 | if test "x$OPENSSL_SEEDS_ITSELF" != "xyes" ; then | 22998 | if test "x$OPENSSL_SEEDS_ITSELF" != "xyes" ; then |
12871 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRNGD/EGD socket" >&5 | 22999 | { echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 |
12872 | $as_echo_n "checking for PRNGD/EGD socket... " >&6; } | 23000 | echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6; } |
12873 | # Insert other locations here | 23001 | # Insert other locations here |
12874 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do | 23002 | for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do |
12875 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then | 23003 | if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then |
@@ -12882,11 +23010,11 @@ _ACEOF | |||
12882 | fi | 23010 | fi |
12883 | done | 23011 | done |
12884 | if test ! -z "$PRNGD_SOCKET" ; then | 23012 | if test ! -z "$PRNGD_SOCKET" ; then |
12885 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRNGD_SOCKET" >&5 | 23013 | { echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 |
12886 | $as_echo "$PRNGD_SOCKET" >&6; } | 23014 | echo "${ECHO_T}$PRNGD_SOCKET" >&6; } |
12887 | else | 23015 | else |
12888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 | 23016 | { echo "$as_me:$LINENO: result: not found" >&5 |
12889 | $as_echo "not found" >&6; } | 23017 | echo "${ECHO_T}not found" >&6; } |
12890 | fi | 23018 | fi |
12891 | fi | 23019 | fi |
12892 | 23020 | ||
@@ -12901,34 +23029,48 @@ elif test ! -z "$PRNGD_SOCKET" ; then | |||
12901 | RAND_MSG="PRNGd socket $PRNGD_SOCKET" | 23029 | RAND_MSG="PRNGd socket $PRNGD_SOCKET" |
12902 | elif test ! -z "$OPENSSL_SEEDS_ITSELF" ; then | 23030 | elif test ! -z "$OPENSSL_SEEDS_ITSELF" ; then |
12903 | 23031 | ||
12904 | $as_echo "#define OPENSSL_PRNG_ONLY 1" >>confdefs.h | 23032 | cat >>confdefs.h <<\_ACEOF |
23033 | #define OPENSSL_PRNG_ONLY 1 | ||
23034 | _ACEOF | ||
12905 | 23035 | ||
12906 | RAND_MSG="OpenSSL internal ONLY" | 23036 | RAND_MSG="OpenSSL internal ONLY" |
23037 | elif test "x$openssl" = "xno" ; then | ||
23038 | { 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 | ||
23039 | 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;} | ||
12907 | else | 23040 | else |
12908 | 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 | 23041 | { { 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 |
23042 | 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;} | ||
23043 | { (exit 1); exit 1; }; } | ||
12909 | fi | 23044 | fi |
12910 | 23045 | ||
12911 | # Check for PAM libs | 23046 | # Check for PAM libs |
12912 | PAM_MSG="no" | 23047 | PAM_MSG="no" |
12913 | 23048 | ||
12914 | # Check whether --with-pam was given. | 23049 | # Check whether --with-pam was given. |
12915 | if test "${with_pam+set}" = set; then : | 23050 | if test "${with_pam+set}" = set; then |
12916 | withval=$with_pam; | 23051 | withval=$with_pam; |
12917 | if test "x$withval" != "xno" ; then | 23052 | if test "x$withval" != "xno" ; then |
12918 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ | 23053 | if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ |
12919 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then | 23054 | test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then |
12920 | as_fn_error $? "PAM headers not found" "$LINENO" 5 | 23055 | { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 |
23056 | echo "$as_me: error: PAM headers not found" >&2;} | ||
23057 | { (exit 1); exit 1; }; } | ||
12921 | fi | 23058 | fi |
12922 | 23059 | ||
12923 | saved_LIBS="$LIBS" | 23060 | saved_LIBS="$LIBS" |
12924 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 23061 | |
12925 | $as_echo_n "checking for dlopen in -ldl... " >&6; } | 23062 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
12926 | if ${ac_cv_lib_dl_dlopen+:} false; then : | 23063 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
12927 | $as_echo_n "(cached) " >&6 | 23064 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
23065 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12928 | else | 23066 | else |
12929 | ac_check_lib_save_LIBS=$LIBS | 23067 | ac_check_lib_save_LIBS=$LIBS |
12930 | LIBS="-ldl $LIBS" | 23068 | LIBS="-ldl $LIBS" |
12931 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23069 | cat >conftest.$ac_ext <<_ACEOF |
23070 | /* confdefs.h. */ | ||
23071 | _ACEOF | ||
23072 | cat confdefs.h >>conftest.$ac_ext | ||
23073 | cat >>conftest.$ac_ext <<_ACEOF | ||
12932 | /* end confdefs.h. */ | 23074 | /* end confdefs.h. */ |
12933 | 23075 | ||
12934 | /* Override any GCC internal prototype to avoid an error. | 23076 | /* Override any GCC internal prototype to avoid an error. |
@@ -12946,18 +23088,39 @@ return dlopen (); | |||
12946 | return 0; | 23088 | return 0; |
12947 | } | 23089 | } |
12948 | _ACEOF | 23090 | _ACEOF |
12949 | if ac_fn_c_try_link "$LINENO"; then : | 23091 | rm -f conftest.$ac_objext conftest$ac_exeext |
23092 | if { (ac_try="$ac_link" | ||
23093 | case "(($ac_try" in | ||
23094 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23095 | *) ac_try_echo=$ac_try;; | ||
23096 | esac | ||
23097 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23098 | (eval "$ac_link") 2>conftest.er1 | ||
23099 | ac_status=$? | ||
23100 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23101 | rm -f conftest.er1 | ||
23102 | cat conftest.err >&5 | ||
23103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23104 | (exit $ac_status); } && { | ||
23105 | test -z "$ac_c_werror_flag" || | ||
23106 | test ! -s conftest.err | ||
23107 | } && test -s conftest$ac_exeext && | ||
23108 | $as_test_x conftest$ac_exeext; then | ||
12950 | ac_cv_lib_dl_dlopen=yes | 23109 | ac_cv_lib_dl_dlopen=yes |
12951 | else | 23110 | else |
12952 | ac_cv_lib_dl_dlopen=no | 23111 | echo "$as_me: failed program was:" >&5 |
23112 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23113 | |||
23114 | ac_cv_lib_dl_dlopen=no | ||
12953 | fi | 23115 | fi |
12954 | rm -f core conftest.err conftest.$ac_objext \ | 23116 | |
12955 | conftest$ac_exeext conftest.$ac_ext | 23117 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23118 | conftest$ac_exeext conftest.$ac_ext | ||
12956 | LIBS=$ac_check_lib_save_LIBS | 23119 | LIBS=$ac_check_lib_save_LIBS |
12957 | fi | 23120 | fi |
12958 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 23121 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12959 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 23122 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
12960 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 23123 | if test $ac_cv_lib_dl_dlopen = yes; then |
12961 | cat >>confdefs.h <<_ACEOF | 23124 | cat >>confdefs.h <<_ACEOF |
12962 | #define HAVE_LIBDL 1 | 23125 | #define HAVE_LIBDL 1 |
12963 | _ACEOF | 23126 | _ACEOF |
@@ -12966,14 +23129,19 @@ _ACEOF | |||
12966 | 23129 | ||
12967 | fi | 23130 | fi |
12968 | 23131 | ||
12969 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_set_item in -lpam" >&5 | 23132 | |
12970 | $as_echo_n "checking for pam_set_item in -lpam... " >&6; } | 23133 | { echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 |
12971 | if ${ac_cv_lib_pam_pam_set_item+:} false; then : | 23134 | echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } |
12972 | $as_echo_n "(cached) " >&6 | 23135 | if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then |
23136 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
12973 | else | 23137 | else |
12974 | ac_check_lib_save_LIBS=$LIBS | 23138 | ac_check_lib_save_LIBS=$LIBS |
12975 | LIBS="-lpam $LIBS" | 23139 | LIBS="-lpam $LIBS" |
12976 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23140 | cat >conftest.$ac_ext <<_ACEOF |
23141 | /* confdefs.h. */ | ||
23142 | _ACEOF | ||
23143 | cat confdefs.h >>conftest.$ac_ext | ||
23144 | cat >>conftest.$ac_ext <<_ACEOF | ||
12977 | /* end confdefs.h. */ | 23145 | /* end confdefs.h. */ |
12978 | 23146 | ||
12979 | /* Override any GCC internal prototype to avoid an error. | 23147 | /* Override any GCC internal prototype to avoid an error. |
@@ -12991,18 +23159,39 @@ return pam_set_item (); | |||
12991 | return 0; | 23159 | return 0; |
12992 | } | 23160 | } |
12993 | _ACEOF | 23161 | _ACEOF |
12994 | if ac_fn_c_try_link "$LINENO"; then : | 23162 | rm -f conftest.$ac_objext conftest$ac_exeext |
23163 | if { (ac_try="$ac_link" | ||
23164 | case "(($ac_try" in | ||
23165 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23166 | *) ac_try_echo=$ac_try;; | ||
23167 | esac | ||
23168 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23169 | (eval "$ac_link") 2>conftest.er1 | ||
23170 | ac_status=$? | ||
23171 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23172 | rm -f conftest.er1 | ||
23173 | cat conftest.err >&5 | ||
23174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23175 | (exit $ac_status); } && { | ||
23176 | test -z "$ac_c_werror_flag" || | ||
23177 | test ! -s conftest.err | ||
23178 | } && test -s conftest$ac_exeext && | ||
23179 | $as_test_x conftest$ac_exeext; then | ||
12995 | ac_cv_lib_pam_pam_set_item=yes | 23180 | ac_cv_lib_pam_pam_set_item=yes |
12996 | else | 23181 | else |
12997 | ac_cv_lib_pam_pam_set_item=no | 23182 | echo "$as_me: failed program was:" >&5 |
23183 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23184 | |||
23185 | ac_cv_lib_pam_pam_set_item=no | ||
12998 | fi | 23186 | fi |
12999 | rm -f core conftest.err conftest.$ac_objext \ | 23187 | |
13000 | conftest$ac_exeext conftest.$ac_ext | 23188 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23189 | conftest$ac_exeext conftest.$ac_ext | ||
13001 | LIBS=$ac_check_lib_save_LIBS | 23190 | LIBS=$ac_check_lib_save_LIBS |
13002 | fi | 23191 | fi |
13003 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_set_item" >&5 | 23192 | { echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 |
13004 | $as_echo "$ac_cv_lib_pam_pam_set_item" >&6; } | 23193 | echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } |
13005 | if test "x$ac_cv_lib_pam_pam_set_item" = xyes; then : | 23194 | if test $ac_cv_lib_pam_pam_set_item = yes; then |
13006 | cat >>confdefs.h <<_ACEOF | 23195 | cat >>confdefs.h <<_ACEOF |
13007 | #define HAVE_LIBPAM 1 | 23196 | #define HAVE_LIBPAM 1 |
13008 | _ACEOF | 23197 | _ACEOF |
@@ -13010,26 +23199,194 @@ _ACEOF | |||
13010 | LIBS="-lpam $LIBS" | 23199 | LIBS="-lpam $LIBS" |
13011 | 23200 | ||
13012 | else | 23201 | else |
13013 | as_fn_error $? "*** libpam missing" "$LINENO" 5 | 23202 | { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 |
23203 | echo "$as_me: error: *** libpam missing" >&2;} | ||
23204 | { (exit 1); exit 1; }; } | ||
13014 | fi | 23205 | fi |
13015 | 23206 | ||
13016 | for ac_func in pam_getenvlist | 23207 | |
13017 | do : | 23208 | for ac_func in pam_getenvlist |
13018 | ac_fn_c_check_func "$LINENO" "pam_getenvlist" "ac_cv_func_pam_getenvlist" | 23209 | do |
13019 | if test "x$ac_cv_func_pam_getenvlist" = xyes; then : | 23210 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23211 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
23212 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
23213 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
23214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23215 | else | ||
23216 | cat >conftest.$ac_ext <<_ACEOF | ||
23217 | /* confdefs.h. */ | ||
23218 | _ACEOF | ||
23219 | cat confdefs.h >>conftest.$ac_ext | ||
23220 | cat >>conftest.$ac_ext <<_ACEOF | ||
23221 | /* end confdefs.h. */ | ||
23222 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
23223 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
23224 | #define $ac_func innocuous_$ac_func | ||
23225 | |||
23226 | /* System header to define __stub macros and hopefully few prototypes, | ||
23227 | which can conflict with char $ac_func (); below. | ||
23228 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
23229 | <limits.h> exists even on freestanding compilers. */ | ||
23230 | |||
23231 | #ifdef __STDC__ | ||
23232 | # include <limits.h> | ||
23233 | #else | ||
23234 | # include <assert.h> | ||
23235 | #endif | ||
23236 | |||
23237 | #undef $ac_func | ||
23238 | |||
23239 | /* Override any GCC internal prototype to avoid an error. | ||
23240 | Use char because int might match the return type of a GCC | ||
23241 | builtin and then its argument prototype would still apply. */ | ||
23242 | #ifdef __cplusplus | ||
23243 | extern "C" | ||
23244 | #endif | ||
23245 | char $ac_func (); | ||
23246 | /* The GNU C library defines this for functions which it implements | ||
23247 | to always fail with ENOSYS. Some functions are actually named | ||
23248 | something starting with __ and the normal name is an alias. */ | ||
23249 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
23250 | choke me | ||
23251 | #endif | ||
23252 | |||
23253 | int | ||
23254 | main () | ||
23255 | { | ||
23256 | return $ac_func (); | ||
23257 | ; | ||
23258 | return 0; | ||
23259 | } | ||
23260 | _ACEOF | ||
23261 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23262 | if { (ac_try="$ac_link" | ||
23263 | case "(($ac_try" in | ||
23264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23265 | *) ac_try_echo=$ac_try;; | ||
23266 | esac | ||
23267 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23268 | (eval "$ac_link") 2>conftest.er1 | ||
23269 | ac_status=$? | ||
23270 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23271 | rm -f conftest.er1 | ||
23272 | cat conftest.err >&5 | ||
23273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23274 | (exit $ac_status); } && { | ||
23275 | test -z "$ac_c_werror_flag" || | ||
23276 | test ! -s conftest.err | ||
23277 | } && test -s conftest$ac_exeext && | ||
23278 | $as_test_x conftest$ac_exeext; then | ||
23279 | eval "$as_ac_var=yes" | ||
23280 | else | ||
23281 | echo "$as_me: failed program was:" >&5 | ||
23282 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23283 | |||
23284 | eval "$as_ac_var=no" | ||
23285 | fi | ||
23286 | |||
23287 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23288 | conftest$ac_exeext conftest.$ac_ext | ||
23289 | fi | ||
23290 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
23291 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
23292 | echo "${ECHO_T}$ac_res" >&6; } | ||
23293 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
13020 | cat >>confdefs.h <<_ACEOF | 23294 | cat >>confdefs.h <<_ACEOF |
13021 | #define HAVE_PAM_GETENVLIST 1 | 23295 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13022 | _ACEOF | 23296 | _ACEOF |
13023 | 23297 | ||
13024 | fi | 23298 | fi |
13025 | done | 23299 | done |
13026 | 23300 | ||
13027 | for ac_func in pam_putenv | 23301 | |
13028 | do : | 23302 | for ac_func in pam_putenv |
13029 | ac_fn_c_check_func "$LINENO" "pam_putenv" "ac_cv_func_pam_putenv" | 23303 | do |
13030 | if test "x$ac_cv_func_pam_putenv" = xyes; then : | 23304 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23305 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
23306 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
23307 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
23308 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23309 | else | ||
23310 | cat >conftest.$ac_ext <<_ACEOF | ||
23311 | /* confdefs.h. */ | ||
23312 | _ACEOF | ||
23313 | cat confdefs.h >>conftest.$ac_ext | ||
23314 | cat >>conftest.$ac_ext <<_ACEOF | ||
23315 | /* end confdefs.h. */ | ||
23316 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
23317 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
23318 | #define $ac_func innocuous_$ac_func | ||
23319 | |||
23320 | /* System header to define __stub macros and hopefully few prototypes, | ||
23321 | which can conflict with char $ac_func (); below. | ||
23322 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
23323 | <limits.h> exists even on freestanding compilers. */ | ||
23324 | |||
23325 | #ifdef __STDC__ | ||
23326 | # include <limits.h> | ||
23327 | #else | ||
23328 | # include <assert.h> | ||
23329 | #endif | ||
23330 | |||
23331 | #undef $ac_func | ||
23332 | |||
23333 | /* Override any GCC internal prototype to avoid an error. | ||
23334 | Use char because int might match the return type of a GCC | ||
23335 | builtin and then its argument prototype would still apply. */ | ||
23336 | #ifdef __cplusplus | ||
23337 | extern "C" | ||
23338 | #endif | ||
23339 | char $ac_func (); | ||
23340 | /* The GNU C library defines this for functions which it implements | ||
23341 | to always fail with ENOSYS. Some functions are actually named | ||
23342 | something starting with __ and the normal name is an alias. */ | ||
23343 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
23344 | choke me | ||
23345 | #endif | ||
23346 | |||
23347 | int | ||
23348 | main () | ||
23349 | { | ||
23350 | return $ac_func (); | ||
23351 | ; | ||
23352 | return 0; | ||
23353 | } | ||
23354 | _ACEOF | ||
23355 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
23356 | if { (ac_try="$ac_link" | ||
23357 | case "(($ac_try" in | ||
23358 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23359 | *) ac_try_echo=$ac_try;; | ||
23360 | esac | ||
23361 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23362 | (eval "$ac_link") 2>conftest.er1 | ||
23363 | ac_status=$? | ||
23364 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23365 | rm -f conftest.er1 | ||
23366 | cat conftest.err >&5 | ||
23367 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23368 | (exit $ac_status); } && { | ||
23369 | test -z "$ac_c_werror_flag" || | ||
23370 | test ! -s conftest.err | ||
23371 | } && test -s conftest$ac_exeext && | ||
23372 | $as_test_x conftest$ac_exeext; then | ||
23373 | eval "$as_ac_var=yes" | ||
23374 | else | ||
23375 | echo "$as_me: failed program was:" >&5 | ||
23376 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23377 | |||
23378 | eval "$as_ac_var=no" | ||
23379 | fi | ||
23380 | |||
23381 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
23382 | conftest$ac_exeext conftest.$ac_ext | ||
23383 | fi | ||
23384 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
23385 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
23386 | echo "${ECHO_T}$ac_res" >&6; } | ||
23387 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
13031 | cat >>confdefs.h <<_ACEOF | 23388 | cat >>confdefs.h <<_ACEOF |
13032 | #define HAVE_PAM_PUTENV 1 | 23389 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13033 | _ACEOF | 23390 | _ACEOF |
13034 | 23391 | ||
13035 | fi | 23392 | fi |
@@ -13041,7 +23398,9 @@ done | |||
13041 | 23398 | ||
13042 | SSHDLIBS="$SSHDLIBS -lpam" | 23399 | SSHDLIBS="$SSHDLIBS -lpam" |
13043 | 23400 | ||
13044 | $as_echo "#define USE_PAM 1" >>confdefs.h | 23401 | cat >>confdefs.h <<\_ACEOF |
23402 | #define USE_PAM 1 | ||
23403 | _ACEOF | ||
13045 | 23404 | ||
13046 | 23405 | ||
13047 | if test $ac_cv_lib_dl_dlopen = yes; then | 23406 | if test $ac_cv_lib_dl_dlopen = yes; then |
@@ -13063,9 +23422,13 @@ fi | |||
13063 | # Check for older PAM | 23422 | # Check for older PAM |
13064 | if test "x$PAM_MSG" = "xyes" ; then | 23423 | if test "x$PAM_MSG" = "xyes" ; then |
13065 | # Check PAM strerror arguments (old PAM) | 23424 | # Check PAM strerror arguments (old PAM) |
13066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pam_strerror takes only one argument" >&5 | 23425 | { echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 |
13067 | $as_echo_n "checking whether pam_strerror takes only one argument... " >&6; } | 23426 | echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6; } |
13068 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23427 | cat >conftest.$ac_ext <<_ACEOF |
23428 | /* confdefs.h. */ | ||
23429 | _ACEOF | ||
23430 | cat confdefs.h >>conftest.$ac_ext | ||
23431 | cat >>conftest.$ac_ext <<_ACEOF | ||
13069 | /* end confdefs.h. */ | 23432 | /* end confdefs.h. */ |
13070 | 23433 | ||
13071 | #include <stdlib.h> | 23434 | #include <stdlib.h> |
@@ -13085,20 +23448,42 @@ main () | |||
13085 | return 0; | 23448 | return 0; |
13086 | } | 23449 | } |
13087 | _ACEOF | 23450 | _ACEOF |
13088 | if ac_fn_c_try_compile "$LINENO"; then : | 23451 | rm -f conftest.$ac_objext |
13089 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 23452 | if { (ac_try="$ac_compile" |
13090 | $as_echo "no" >&6; } | 23453 | case "(($ac_try" in |
23454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23455 | *) ac_try_echo=$ac_try;; | ||
23456 | esac | ||
23457 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23458 | (eval "$ac_compile") 2>conftest.er1 | ||
23459 | ac_status=$? | ||
23460 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23461 | rm -f conftest.er1 | ||
23462 | cat conftest.err >&5 | ||
23463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23464 | (exit $ac_status); } && { | ||
23465 | test -z "$ac_c_werror_flag" || | ||
23466 | test ! -s conftest.err | ||
23467 | } && test -s conftest.$ac_objext; then | ||
23468 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23469 | echo "${ECHO_T}no" >&6; } | ||
13091 | else | 23470 | else |
23471 | echo "$as_me: failed program was:" >&5 | ||
23472 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23473 | |||
13092 | 23474 | ||
13093 | 23475 | ||
13094 | $as_echo "#define HAVE_OLD_PAM 1" >>confdefs.h | 23476 | cat >>confdefs.h <<\_ACEOF |
23477 | #define HAVE_OLD_PAM 1 | ||
23478 | _ACEOF | ||
13095 | 23479 | ||
13096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 23480 | { echo "$as_me:$LINENO: result: yes" >&5 |
13097 | $as_echo "yes" >&6; } | 23481 | echo "${ECHO_T}yes" >&6; } |
13098 | PAM_MSG="yes (old library)" | 23482 | PAM_MSG="yes (old library)" |
13099 | 23483 | ||
13100 | 23484 | ||
13101 | fi | 23485 | fi |
23486 | |||
13102 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 23487 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13103 | fi | 23488 | fi |
13104 | 23489 | ||
@@ -13112,7 +23497,7 @@ case "$host" in | |||
13112 | esac | 23497 | esac |
13113 | 23498 | ||
13114 | # Check whether --with-privsep-user was given. | 23499 | # Check whether --with-privsep-user was given. |
13115 | if test "${with_privsep_user+set}" = set; then : | 23500 | if test "${with_privsep_user+set}" = set; then |
13116 | withval=$with_privsep_user; | 23501 | withval=$with_privsep_user; |
13117 | if test -n "$withval" && test "x$withval" != "xno" && \ | 23502 | if test -n "$withval" && test "x$withval" != "xno" && \ |
13118 | test "x${withval}" != "xyes"; then | 23503 | test "x${withval}" != "xyes"; then |
@@ -13138,20 +23523,75 @@ fi | |||
13138 | 23523 | ||
13139 | 23524 | ||
13140 | if test "x$have_linux_no_new_privs" = "x1" ; then | 23525 | if test "x$have_linux_no_new_privs" = "x1" ; then |
13141 | ac_fn_c_check_decl "$LINENO" "SECCOMP_MODE_FILTER" "ac_cv_have_decl_SECCOMP_MODE_FILTER" " | 23526 | { echo "$as_me:$LINENO: checking whether SECCOMP_MODE_FILTER is declared" >&5 |
23527 | echo $ECHO_N "checking whether SECCOMP_MODE_FILTER is declared... $ECHO_C" >&6; } | ||
23528 | if test "${ac_cv_have_decl_SECCOMP_MODE_FILTER+set}" = set; then | ||
23529 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
23530 | else | ||
23531 | cat >conftest.$ac_ext <<_ACEOF | ||
23532 | /* confdefs.h. */ | ||
23533 | _ACEOF | ||
23534 | cat confdefs.h >>conftest.$ac_ext | ||
23535 | cat >>conftest.$ac_ext <<_ACEOF | ||
23536 | /* end confdefs.h. */ | ||
23537 | |||
13142 | #include <sys/types.h> | 23538 | #include <sys/types.h> |
13143 | #include <linux/seccomp.h> | 23539 | #include <linux/seccomp.h> |
13144 | 23540 | ||
13145 | " | 23541 | |
13146 | if test "x$ac_cv_have_decl_SECCOMP_MODE_FILTER" = xyes; then : | 23542 | int |
23543 | main () | ||
23544 | { | ||
23545 | #ifndef SECCOMP_MODE_FILTER | ||
23546 | (void) SECCOMP_MODE_FILTER; | ||
23547 | #endif | ||
23548 | |||
23549 | ; | ||
23550 | return 0; | ||
23551 | } | ||
23552 | _ACEOF | ||
23553 | rm -f conftest.$ac_objext | ||
23554 | if { (ac_try="$ac_compile" | ||
23555 | case "(($ac_try" in | ||
23556 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23557 | *) ac_try_echo=$ac_try;; | ||
23558 | esac | ||
23559 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23560 | (eval "$ac_compile") 2>conftest.er1 | ||
23561 | ac_status=$? | ||
23562 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23563 | rm -f conftest.er1 | ||
23564 | cat conftest.err >&5 | ||
23565 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23566 | (exit $ac_status); } && { | ||
23567 | test -z "$ac_c_werror_flag" || | ||
23568 | test ! -s conftest.err | ||
23569 | } && test -s conftest.$ac_objext; then | ||
23570 | ac_cv_have_decl_SECCOMP_MODE_FILTER=yes | ||
23571 | else | ||
23572 | echo "$as_me: failed program was:" >&5 | ||
23573 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23574 | |||
23575 | ac_cv_have_decl_SECCOMP_MODE_FILTER=no | ||
23576 | fi | ||
23577 | |||
23578 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
23579 | fi | ||
23580 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_SECCOMP_MODE_FILTER" >&5 | ||
23581 | echo "${ECHO_T}$ac_cv_have_decl_SECCOMP_MODE_FILTER" >&6; } | ||
23582 | if test $ac_cv_have_decl_SECCOMP_MODE_FILTER = yes; then | ||
13147 | have_seccomp_filter=1 | 23583 | have_seccomp_filter=1 |
13148 | fi | 23584 | fi |
13149 | 23585 | ||
13150 | fi | 23586 | fi |
13151 | if test "x$have_seccomp_filter" = "x1" ; then | 23587 | if test "x$have_seccomp_filter" = "x1" ; then |
13152 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel for seccomp_filter support" >&5 | 23588 | { echo "$as_me:$LINENO: checking kernel for seccomp_filter support" >&5 |
13153 | $as_echo_n "checking kernel for seccomp_filter support... " >&6; } | 23589 | echo $ECHO_N "checking kernel for seccomp_filter support... $ECHO_C" >&6; } |
13154 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23590 | cat >conftest.$ac_ext <<_ACEOF |
23591 | /* confdefs.h. */ | ||
23592 | _ACEOF | ||
23593 | cat confdefs.h >>conftest.$ac_ext | ||
23594 | cat >>conftest.$ac_ext <<_ACEOF | ||
13155 | /* end confdefs.h. */ | 23595 | /* end confdefs.h. */ |
13156 | 23596 | ||
13157 | #include <errno.h> | 23597 | #include <errno.h> |
@@ -13172,27 +23612,48 @@ main () | |||
13172 | return 0; | 23612 | return 0; |
13173 | } | 23613 | } |
13174 | _ACEOF | 23614 | _ACEOF |
13175 | if ac_fn_c_try_link "$LINENO"; then : | 23615 | rm -f conftest.$ac_objext conftest$ac_exeext |
13176 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 23616 | if { (ac_try="$ac_link" |
13177 | $as_echo "yes" >&6; } | 23617 | case "(($ac_try" in |
23618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23619 | *) ac_try_echo=$ac_try;; | ||
23620 | esac | ||
23621 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23622 | (eval "$ac_link") 2>conftest.er1 | ||
23623 | ac_status=$? | ||
23624 | grep -v '^ *+' conftest.er1 >conftest.err | ||
23625 | rm -f conftest.er1 | ||
23626 | cat conftest.err >&5 | ||
23627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23628 | (exit $ac_status); } && { | ||
23629 | test -z "$ac_c_werror_flag" || | ||
23630 | test ! -s conftest.err | ||
23631 | } && test -s conftest$ac_exeext && | ||
23632 | $as_test_x conftest$ac_exeext; then | ||
23633 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23634 | echo "${ECHO_T}yes" >&6; } | ||
13178 | else | 23635 | else |
23636 | echo "$as_me: failed program was:" >&5 | ||
23637 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23638 | |||
13179 | 23639 | ||
13180 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 23640 | { echo "$as_me:$LINENO: result: no" >&5 |
13181 | $as_echo "no" >&6; } | 23641 | echo "${ECHO_T}no" >&6; } |
13182 | # Disable seccomp filter as a target | 23642 | # Disable seccomp filter as a target |
13183 | have_seccomp_filter=0 | 23643 | have_seccomp_filter=0 |
13184 | 23644 | ||
13185 | 23645 | ||
13186 | fi | 23646 | fi |
13187 | rm -f core conftest.err conftest.$ac_objext \ | 23647 | |
13188 | conftest$ac_exeext conftest.$ac_ext | 23648 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23649 | conftest$ac_exeext conftest.$ac_ext | ||
13189 | fi | 23650 | fi |
13190 | 23651 | ||
13191 | # Decide which sandbox style to use | 23652 | # Decide which sandbox style to use |
13192 | sandbox_arg="" | 23653 | sandbox_arg="" |
13193 | 23654 | ||
13194 | # Check whether --with-sandbox was given. | 23655 | # Check whether --with-sandbox was given. |
13195 | if test "${with_sandbox+set}" = set; then : | 23656 | if test "${with_sandbox+set}" = set; then |
13196 | withval=$with_sandbox; | 23657 | withval=$with_sandbox; |
13197 | if test "x$withval" = "xyes" ; then | 23658 | if test "x$withval" = "xyes" ; then |
13198 | sandbox_arg="" | 23659 | sandbox_arg="" |
@@ -13207,14 +23668,18 @@ fi | |||
13207 | # Some platforms (seems to be the ones that have a kernel poll(2)-type | 23668 | # Some platforms (seems to be the ones that have a kernel poll(2)-type |
13208 | # function with which they implement select(2)) use an extra file descriptor | 23669 | # function with which they implement select(2)) use an extra file descriptor |
13209 | # when calling select(2), which means we can't use the rlimit sandbox. | 23670 | # when calling select(2), which means we can't use the rlimit sandbox. |
13210 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select works with descriptor rlimit" >&5 | 23671 | { echo "$as_me:$LINENO: checking if select works with descriptor rlimit" >&5 |
13211 | $as_echo_n "checking if select works with descriptor rlimit... " >&6; } | 23672 | echo $ECHO_N "checking if select works with descriptor rlimit... $ECHO_C" >&6; } |
13212 | if test "$cross_compiling" = yes; then : | 23673 | if test "$cross_compiling" = yes; then |
13213 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 | 23674 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 |
13214 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | 23675 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} |
13215 | 23676 | ||
13216 | else | 23677 | else |
13217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23678 | cat >conftest.$ac_ext <<_ACEOF |
23679 | /* confdefs.h. */ | ||
23680 | _ACEOF | ||
23681 | cat confdefs.h >>conftest.$ac_ext | ||
23682 | cat >>conftest.$ac_ext <<_ACEOF | ||
13218 | /* end confdefs.h. */ | 23683 | /* end confdefs.h. */ |
13219 | 23684 | ||
13220 | #include <sys/types.h> | 23685 | #include <sys/types.h> |
@@ -13253,28 +23718,56 @@ main () | |||
13253 | return 0; | 23718 | return 0; |
13254 | } | 23719 | } |
13255 | _ACEOF | 23720 | _ACEOF |
13256 | if ac_fn_c_try_run "$LINENO"; then : | 23721 | rm -f conftest$ac_exeext |
13257 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 23722 | if { (ac_try="$ac_link" |
13258 | $as_echo "yes" >&6; } | 23723 | case "(($ac_try" in |
23724 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23725 | *) ac_try_echo=$ac_try;; | ||
23726 | esac | ||
23727 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23728 | (eval "$ac_link") 2>&5 | ||
23729 | ac_status=$? | ||
23730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23731 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
23732 | { (case "(($ac_try" in | ||
23733 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23734 | *) ac_try_echo=$ac_try;; | ||
23735 | esac | ||
23736 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23737 | (eval "$ac_try") 2>&5 | ||
23738 | ac_status=$? | ||
23739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23740 | (exit $ac_status); }; }; then | ||
23741 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23742 | echo "${ECHO_T}yes" >&6; } | ||
13259 | select_works_with_rlimit=yes | 23743 | select_works_with_rlimit=yes |
13260 | else | 23744 | else |
13261 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 23745 | echo "$as_me: program exited with status $ac_status" >&5 |
13262 | $as_echo "no" >&6; } | 23746 | echo "$as_me: failed program was:" >&5 |
23747 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23748 | |||
23749 | ( exit $ac_status ) | ||
23750 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23751 | echo "${ECHO_T}no" >&6; } | ||
13263 | select_works_with_rlimit=no | 23752 | select_works_with_rlimit=no |
13264 | fi | 23753 | fi |
13265 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 23754 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13266 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
13267 | fi | 23755 | fi |
13268 | 23756 | ||
13269 | 23757 | ||
13270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setrlimit(RLIMIT_NOFILE,{0,0}) works" >&5 | 23758 | |
13271 | $as_echo_n "checking if setrlimit(RLIMIT_NOFILE,{0,0}) works... " >&6; } | 23759 | { echo "$as_me:$LINENO: checking if setrlimit(RLIMIT_NOFILE,{0,0}) works" >&5 |
13272 | if test "$cross_compiling" = yes; then : | 23760 | echo $ECHO_N "checking if setrlimit(RLIMIT_NOFILE,{0,0}) works... $ECHO_C" >&6; } |
13273 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 | 23761 | if test "$cross_compiling" = yes; then |
13274 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | 23762 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 |
23763 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | ||
13275 | 23764 | ||
13276 | else | 23765 | else |
13277 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23766 | cat >conftest.$ac_ext <<_ACEOF |
23767 | /* confdefs.h. */ | ||
23768 | _ACEOF | ||
23769 | cat confdefs.h >>conftest.$ac_ext | ||
23770 | cat >>conftest.$ac_ext <<_ACEOF | ||
13278 | /* end confdefs.h. */ | 23771 | /* end confdefs.h. */ |
13279 | 23772 | ||
13280 | #include <sys/types.h> | 23773 | #include <sys/types.h> |
@@ -13301,28 +23794,56 @@ main () | |||
13301 | return 0; | 23794 | return 0; |
13302 | } | 23795 | } |
13303 | _ACEOF | 23796 | _ACEOF |
13304 | if ac_fn_c_try_run "$LINENO"; then : | 23797 | rm -f conftest$ac_exeext |
13305 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 23798 | if { (ac_try="$ac_link" |
13306 | $as_echo "yes" >&6; } | 23799 | case "(($ac_try" in |
23800 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23801 | *) ac_try_echo=$ac_try;; | ||
23802 | esac | ||
23803 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23804 | (eval "$ac_link") 2>&5 | ||
23805 | ac_status=$? | ||
23806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23807 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
23808 | { (case "(($ac_try" in | ||
23809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23810 | *) ac_try_echo=$ac_try;; | ||
23811 | esac | ||
23812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23813 | (eval "$ac_try") 2>&5 | ||
23814 | ac_status=$? | ||
23815 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23816 | (exit $ac_status); }; }; then | ||
23817 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23818 | echo "${ECHO_T}yes" >&6; } | ||
13307 | rlimit_nofile_zero_works=yes | 23819 | rlimit_nofile_zero_works=yes |
13308 | else | 23820 | else |
13309 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 23821 | echo "$as_me: program exited with status $ac_status" >&5 |
13310 | $as_echo "no" >&6; } | 23822 | echo "$as_me: failed program was:" >&5 |
23823 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23824 | |||
23825 | ( exit $ac_status ) | ||
23826 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23827 | echo "${ECHO_T}no" >&6; } | ||
13311 | rlimit_nofile_zero_works=no | 23828 | rlimit_nofile_zero_works=no |
13312 | fi | 23829 | fi |
13313 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 23830 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13314 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
13315 | fi | 23831 | fi |
13316 | 23832 | ||
13317 | 23833 | ||
13318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if setrlimit RLIMIT_FSIZE works" >&5 | 23834 | |
13319 | $as_echo_n "checking if setrlimit RLIMIT_FSIZE works... " >&6; } | 23835 | { echo "$as_me:$LINENO: checking if setrlimit RLIMIT_FSIZE works" >&5 |
13320 | if test "$cross_compiling" = yes; then : | 23836 | echo $ECHO_N "checking if setrlimit RLIMIT_FSIZE works... $ECHO_C" >&6; } |
13321 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: assuming yes" >&5 | 23837 | if test "$cross_compiling" = yes; then |
13322 | $as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | 23838 | { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 |
23839 | echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} | ||
13323 | 23840 | ||
13324 | else | 23841 | else |
13325 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 23842 | cat >conftest.$ac_ext <<_ACEOF |
23843 | /* confdefs.h. */ | ||
23844 | _ACEOF | ||
23845 | cat confdefs.h >>conftest.$ac_ext | ||
23846 | cat >>conftest.$ac_ext <<_ACEOF | ||
13326 | /* end confdefs.h. */ | 23847 | /* end confdefs.h. */ |
13327 | 23848 | ||
13328 | #include <sys/types.h> | 23849 | #include <sys/types.h> |
@@ -13342,38 +23863,72 @@ main () | |||
13342 | return 0; | 23863 | return 0; |
13343 | } | 23864 | } |
13344 | _ACEOF | 23865 | _ACEOF |
13345 | if ac_fn_c_try_run "$LINENO"; then : | 23866 | rm -f conftest$ac_exeext |
13346 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 23867 | if { (ac_try="$ac_link" |
13347 | $as_echo "yes" >&6; } | 23868 | case "(($ac_try" in |
23869 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23870 | *) ac_try_echo=$ac_try;; | ||
23871 | esac | ||
23872 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23873 | (eval "$ac_link") 2>&5 | ||
23874 | ac_status=$? | ||
23875 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23876 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
23877 | { (case "(($ac_try" in | ||
23878 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
23879 | *) ac_try_echo=$ac_try;; | ||
23880 | esac | ||
23881 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
23882 | (eval "$ac_try") 2>&5 | ||
23883 | ac_status=$? | ||
23884 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
23885 | (exit $ac_status); }; }; then | ||
23886 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
23887 | echo "${ECHO_T}yes" >&6; } | ||
13348 | else | 23888 | else |
13349 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 23889 | echo "$as_me: program exited with status $ac_status" >&5 |
13350 | $as_echo "no" >&6; } | 23890 | echo "$as_me: failed program was:" >&5 |
23891 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
23892 | |||
23893 | ( exit $ac_status ) | ||
23894 | { echo "$as_me:$LINENO: result: no" >&5 | ||
23895 | echo "${ECHO_T}no" >&6; } | ||
13351 | 23896 | ||
13352 | $as_echo "#define SANDBOX_SKIP_RLIMIT_FSIZE 1" >>confdefs.h | 23897 | cat >>confdefs.h <<\_ACEOF |
23898 | #define SANDBOX_SKIP_RLIMIT_FSIZE 1 | ||
23899 | _ACEOF | ||
13353 | 23900 | ||
13354 | fi | 23901 | fi |
13355 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 23902 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13356 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
13357 | fi | 23903 | fi |
13358 | 23904 | ||
13359 | 23905 | ||
23906 | |||
13360 | if test "x$sandbox_arg" = "xsystrace" || \ | 23907 | if test "x$sandbox_arg" = "xsystrace" || \ |
13361 | ( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then | 23908 | ( test -z "$sandbox_arg" && test "x$have_systr_policy_kill" = "x1" ) ; then |
13362 | test "x$have_systr_policy_kill" != "x1" && \ | 23909 | test "x$have_systr_policy_kill" != "x1" && \ |
13363 | as_fn_error $? "systrace sandbox requires systrace headers and SYSTR_POLICY_KILL support" "$LINENO" 5 | 23910 | { { echo "$as_me:$LINENO: error: systrace sandbox requires systrace headers and SYSTR_POLICY_KILL support" >&5 |
23911 | echo "$as_me: error: systrace sandbox requires systrace headers and SYSTR_POLICY_KILL support" >&2;} | ||
23912 | { (exit 1); exit 1; }; } | ||
13364 | SANDBOX_STYLE="systrace" | 23913 | SANDBOX_STYLE="systrace" |
13365 | 23914 | ||
13366 | $as_echo "#define SANDBOX_SYSTRACE 1" >>confdefs.h | 23915 | cat >>confdefs.h <<\_ACEOF |
23916 | #define SANDBOX_SYSTRACE 1 | ||
23917 | _ACEOF | ||
13367 | 23918 | ||
13368 | elif test "x$sandbox_arg" = "xdarwin" || \ | 23919 | elif test "x$sandbox_arg" = "xdarwin" || \ |
13369 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_sandbox_init" = "xyes" && \ | 23920 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_sandbox_init" = "xyes" && \ |
13370 | test "x$ac_cv_header_sandbox_h" = "xyes") ; then | 23921 | test "x$ac_cv_header_sandbox_h" = "xyes") ; then |
13371 | test "x$ac_cv_func_sandbox_init" != "xyes" -o \ | 23922 | test "x$ac_cv_func_sandbox_init" != "xyes" -o \ |
13372 | "x$ac_cv_header_sandbox_h" != "xyes" && \ | 23923 | "x$ac_cv_header_sandbox_h" != "xyes" && \ |
13373 | as_fn_error $? "Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" "$LINENO" 5 | 23924 | { { echo "$as_me:$LINENO: error: Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" >&5 |
23925 | echo "$as_me: error: Darwin seatbelt sandbox requires sandbox.h and sandbox_init function" >&2;} | ||
23926 | { (exit 1); exit 1; }; } | ||
13374 | SANDBOX_STYLE="darwin" | 23927 | SANDBOX_STYLE="darwin" |
13375 | 23928 | ||
13376 | $as_echo "#define SANDBOX_DARWIN 1" >>confdefs.h | 23929 | cat >>confdefs.h <<\_ACEOF |
23930 | #define SANDBOX_DARWIN 1 | ||
23931 | _ACEOF | ||
13377 | 23932 | ||
13378 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ | 23933 | elif test "x$sandbox_arg" = "xseccomp_filter" || \ |
13379 | ( test -z "$sandbox_arg" && \ | 23934 | ( test -z "$sandbox_arg" && \ |
@@ -13385,49 +23940,75 @@ elif test "x$sandbox_arg" = "xseccomp_filter" || \ | |||
13385 | test "x$have_linux_no_new_privs" = "x1" && \ | 23940 | test "x$have_linux_no_new_privs" = "x1" && \ |
13386 | test "x$ac_cv_func_prctl" = "xyes" ) ; then | 23941 | test "x$ac_cv_func_prctl" = "xyes" ) ; then |
13387 | test "x$seccomp_audit_arch" = "x" && \ | 23942 | test "x$seccomp_audit_arch" = "x" && \ |
13388 | as_fn_error $? "seccomp_filter sandbox not supported on $host" "$LINENO" 5 | 23943 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox not supported on $host" >&5 |
23944 | echo "$as_me: error: seccomp_filter sandbox not supported on $host" >&2;} | ||
23945 | { (exit 1); exit 1; }; } | ||
13389 | test "x$have_linux_no_new_privs" != "x1" && \ | 23946 | test "x$have_linux_no_new_privs" != "x1" && \ |
13390 | as_fn_error $? "seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS" "$LINENO" 5 | 23947 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS" >&5 |
23948 | echo "$as_me: error: seccomp_filter sandbox requires PR_SET_NO_NEW_PRIVS" >&2;} | ||
23949 | { (exit 1); exit 1; }; } | ||
13391 | test "x$have_seccomp_filter" != "x1" && \ | 23950 | test "x$have_seccomp_filter" != "x1" && \ |
13392 | as_fn_error $? "seccomp_filter sandbox requires seccomp headers" "$LINENO" 5 | 23951 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox requires seccomp headers" >&5 |
23952 | echo "$as_me: error: seccomp_filter sandbox requires seccomp headers" >&2;} | ||
23953 | { (exit 1); exit 1; }; } | ||
13393 | test "x$ac_cv_func_prctl" != "xyes" && \ | 23954 | test "x$ac_cv_func_prctl" != "xyes" && \ |
13394 | as_fn_error $? "seccomp_filter sandbox requires prctl function" "$LINENO" 5 | 23955 | { { echo "$as_me:$LINENO: error: seccomp_filter sandbox requires prctl function" >&5 |
23956 | echo "$as_me: error: seccomp_filter sandbox requires prctl function" >&2;} | ||
23957 | { (exit 1); exit 1; }; } | ||
13395 | SANDBOX_STYLE="seccomp_filter" | 23958 | SANDBOX_STYLE="seccomp_filter" |
13396 | 23959 | ||
13397 | $as_echo "#define SANDBOX_SECCOMP_FILTER 1" >>confdefs.h | 23960 | cat >>confdefs.h <<\_ACEOF |
23961 | #define SANDBOX_SECCOMP_FILTER 1 | ||
23962 | _ACEOF | ||
13398 | 23963 | ||
13399 | elif test "x$sandbox_arg" = "xcapsicum" || \ | 23964 | elif test "x$sandbox_arg" = "xcapsicum" || \ |
13400 | ( test -z "$sandbox_arg" && \ | 23965 | ( test -z "$sandbox_arg" && \ |
13401 | test "x$ac_cv_header_sys_capability_h" = "xyes" && \ | 23966 | test "x$ac_cv_header_sys_capability_h" = "xyes" && \ |
13402 | test "x$ac_cv_func_cap_rights_limit" = "xyes") ; then | 23967 | test "x$ac_cv_func_cap_rights_limit" = "xyes") ; then |
13403 | test "x$ac_cv_header_sys_capability_h" != "xyes" && \ | 23968 | test "x$ac_cv_header_sys_capability_h" != "xyes" && \ |
13404 | as_fn_error $? "capsicum sandbox requires sys/capability.h header" "$LINENO" 5 | 23969 | { { echo "$as_me:$LINENO: error: capsicum sandbox requires sys/capability.h header" >&5 |
23970 | echo "$as_me: error: capsicum sandbox requires sys/capability.h header" >&2;} | ||
23971 | { (exit 1); exit 1; }; } | ||
13405 | test "x$ac_cv_func_cap_rights_limit" != "xyes" && \ | 23972 | test "x$ac_cv_func_cap_rights_limit" != "xyes" && \ |
13406 | as_fn_error $? "capsicum sandbox requires cap_rights_limit function" "$LINENO" 5 | 23973 | { { echo "$as_me:$LINENO: error: capsicum sandbox requires cap_rights_limit function" >&5 |
23974 | echo "$as_me: error: capsicum sandbox requires cap_rights_limit function" >&2;} | ||
23975 | { (exit 1); exit 1; }; } | ||
13407 | SANDBOX_STYLE="capsicum" | 23976 | SANDBOX_STYLE="capsicum" |
13408 | 23977 | ||
13409 | $as_echo "#define SANDBOX_CAPSICUM 1" >>confdefs.h | 23978 | cat >>confdefs.h <<\_ACEOF |
23979 | #define SANDBOX_CAPSICUM 1 | ||
23980 | _ACEOF | ||
13410 | 23981 | ||
13411 | elif test "x$sandbox_arg" = "xrlimit" || \ | 23982 | elif test "x$sandbox_arg" = "xrlimit" || \ |
13412 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_setrlimit" = "xyes" && \ | 23983 | ( test -z "$sandbox_arg" && test "x$ac_cv_func_setrlimit" = "xyes" && \ |
13413 | test "x$select_works_with_rlimit" = "xyes" && \ | 23984 | test "x$select_works_with_rlimit" = "xyes" && \ |
13414 | test "x$rlimit_nofile_zero_works" = "xyes" ) ; then | 23985 | test "x$rlimit_nofile_zero_works" = "xyes" ) ; then |
13415 | test "x$ac_cv_func_setrlimit" != "xyes" && \ | 23986 | test "x$ac_cv_func_setrlimit" != "xyes" && \ |
13416 | as_fn_error $? "rlimit sandbox requires setrlimit function" "$LINENO" 5 | 23987 | { { echo "$as_me:$LINENO: error: rlimit sandbox requires setrlimit function" >&5 |
23988 | echo "$as_me: error: rlimit sandbox requires setrlimit function" >&2;} | ||
23989 | { (exit 1); exit 1; }; } | ||
13417 | test "x$select_works_with_rlimit" != "xyes" && \ | 23990 | test "x$select_works_with_rlimit" != "xyes" && \ |
13418 | as_fn_error $? "rlimit sandbox requires select to work with rlimit" "$LINENO" 5 | 23991 | { { echo "$as_me:$LINENO: error: rlimit sandbox requires select to work with rlimit" >&5 |
23992 | echo "$as_me: error: rlimit sandbox requires select to work with rlimit" >&2;} | ||
23993 | { (exit 1); exit 1; }; } | ||
13419 | SANDBOX_STYLE="rlimit" | 23994 | SANDBOX_STYLE="rlimit" |
13420 | 23995 | ||
13421 | $as_echo "#define SANDBOX_RLIMIT 1" >>confdefs.h | 23996 | cat >>confdefs.h <<\_ACEOF |
23997 | #define SANDBOX_RLIMIT 1 | ||
23998 | _ACEOF | ||
13422 | 23999 | ||
13423 | elif test -z "$sandbox_arg" || test "x$sandbox_arg" = "xno" || \ | 24000 | elif test -z "$sandbox_arg" || test "x$sandbox_arg" = "xno" || \ |
13424 | test "x$sandbox_arg" = "xnone" || test "x$sandbox_arg" = "xnull" ; then | 24001 | test "x$sandbox_arg" = "xnone" || test "x$sandbox_arg" = "xnull" ; then |
13425 | SANDBOX_STYLE="none" | 24002 | SANDBOX_STYLE="none" |
13426 | 24003 | ||
13427 | $as_echo "#define SANDBOX_NULL 1" >>confdefs.h | 24004 | cat >>confdefs.h <<\_ACEOF |
24005 | #define SANDBOX_NULL 1 | ||
24006 | _ACEOF | ||
13428 | 24007 | ||
13429 | else | 24008 | else |
13430 | as_fn_error $? "unsupported --with-sandbox" "$LINENO" 5 | 24009 | { { echo "$as_me:$LINENO: error: unsupported --with-sandbox" >&5 |
24010 | echo "$as_me: error: unsupported --with-sandbox" >&2;} | ||
24011 | { (exit 1); exit 1; }; } | ||
13431 | fi | 24012 | fi |
13432 | 24013 | ||
13433 | # Cheap hack to ensure NEWS-OS libraries are arranged right. | 24014 | # Cheap hack to ensure NEWS-OS libraries are arranged right. |
@@ -13436,8 +24017,60 @@ if test ! -z "$SONY" ; then | |||
13436 | fi | 24017 | fi |
13437 | 24018 | ||
13438 | # Check for long long datatypes | 24019 | # Check for long long datatypes |
13439 | ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" | 24020 | { echo "$as_me:$LINENO: checking for long long" >&5 |
13440 | if test "x$ac_cv_type_long_long" = xyes; then : | 24021 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
24022 | if test "${ac_cv_type_long_long+set}" = set; then | ||
24023 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24024 | else | ||
24025 | cat >conftest.$ac_ext <<_ACEOF | ||
24026 | /* confdefs.h. */ | ||
24027 | _ACEOF | ||
24028 | cat confdefs.h >>conftest.$ac_ext | ||
24029 | cat >>conftest.$ac_ext <<_ACEOF | ||
24030 | /* end confdefs.h. */ | ||
24031 | $ac_includes_default | ||
24032 | typedef long long ac__type_new_; | ||
24033 | int | ||
24034 | main () | ||
24035 | { | ||
24036 | if ((ac__type_new_ *) 0) | ||
24037 | return 0; | ||
24038 | if (sizeof (ac__type_new_)) | ||
24039 | return 0; | ||
24040 | ; | ||
24041 | return 0; | ||
24042 | } | ||
24043 | _ACEOF | ||
24044 | rm -f conftest.$ac_objext | ||
24045 | if { (ac_try="$ac_compile" | ||
24046 | case "(($ac_try" in | ||
24047 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24048 | *) ac_try_echo=$ac_try;; | ||
24049 | esac | ||
24050 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24051 | (eval "$ac_compile") 2>conftest.er1 | ||
24052 | ac_status=$? | ||
24053 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24054 | rm -f conftest.er1 | ||
24055 | cat conftest.err >&5 | ||
24056 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24057 | (exit $ac_status); } && { | ||
24058 | test -z "$ac_c_werror_flag" || | ||
24059 | test ! -s conftest.err | ||
24060 | } && test -s conftest.$ac_objext; then | ||
24061 | ac_cv_type_long_long=yes | ||
24062 | else | ||
24063 | echo "$as_me: failed program was:" >&5 | ||
24064 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24065 | |||
24066 | ac_cv_type_long_long=no | ||
24067 | fi | ||
24068 | |||
24069 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24070 | fi | ||
24071 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 | ||
24072 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } | ||
24073 | if test $ac_cv_type_long_long = yes; then | ||
13441 | 24074 | ||
13442 | cat >>confdefs.h <<_ACEOF | 24075 | cat >>confdefs.h <<_ACEOF |
13443 | #define HAVE_LONG_LONG 1 | 24076 | #define HAVE_LONG_LONG 1 |
@@ -13445,8 +24078,60 @@ _ACEOF | |||
13445 | 24078 | ||
13446 | 24079 | ||
13447 | fi | 24080 | fi |
13448 | ac_fn_c_check_type "$LINENO" "unsigned long long" "ac_cv_type_unsigned_long_long" "$ac_includes_default" | 24081 | { echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
13449 | if test "x$ac_cv_type_unsigned_long_long" = xyes; then : | 24082 | echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } |
24083 | if test "${ac_cv_type_unsigned_long_long+set}" = set; then | ||
24084 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24085 | else | ||
24086 | cat >conftest.$ac_ext <<_ACEOF | ||
24087 | /* confdefs.h. */ | ||
24088 | _ACEOF | ||
24089 | cat confdefs.h >>conftest.$ac_ext | ||
24090 | cat >>conftest.$ac_ext <<_ACEOF | ||
24091 | /* end confdefs.h. */ | ||
24092 | $ac_includes_default | ||
24093 | typedef unsigned long long ac__type_new_; | ||
24094 | int | ||
24095 | main () | ||
24096 | { | ||
24097 | if ((ac__type_new_ *) 0) | ||
24098 | return 0; | ||
24099 | if (sizeof (ac__type_new_)) | ||
24100 | return 0; | ||
24101 | ; | ||
24102 | return 0; | ||
24103 | } | ||
24104 | _ACEOF | ||
24105 | rm -f conftest.$ac_objext | ||
24106 | if { (ac_try="$ac_compile" | ||
24107 | case "(($ac_try" in | ||
24108 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24109 | *) ac_try_echo=$ac_try;; | ||
24110 | esac | ||
24111 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24112 | (eval "$ac_compile") 2>conftest.er1 | ||
24113 | ac_status=$? | ||
24114 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24115 | rm -f conftest.er1 | ||
24116 | cat conftest.err >&5 | ||
24117 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24118 | (exit $ac_status); } && { | ||
24119 | test -z "$ac_c_werror_flag" || | ||
24120 | test ! -s conftest.err | ||
24121 | } && test -s conftest.$ac_objext; then | ||
24122 | ac_cv_type_unsigned_long_long=yes | ||
24123 | else | ||
24124 | echo "$as_me: failed program was:" >&5 | ||
24125 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24126 | |||
24127 | ac_cv_type_unsigned_long_long=no | ||
24128 | fi | ||
24129 | |||
24130 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24131 | fi | ||
24132 | { echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 | ||
24133 | echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } | ||
24134 | if test $ac_cv_type_unsigned_long_long = yes; then | ||
13450 | 24135 | ||
13451 | cat >>confdefs.h <<_ACEOF | 24136 | cat >>confdefs.h <<_ACEOF |
13452 | #define HAVE_UNSIGNED_LONG_LONG 1 | 24137 | #define HAVE_UNSIGNED_LONG_LONG 1 |
@@ -13454,8 +24139,60 @@ _ACEOF | |||
13454 | 24139 | ||
13455 | 24140 | ||
13456 | fi | 24141 | fi |
13457 | ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "$ac_includes_default" | 24142 | { echo "$as_me:$LINENO: checking for long double" >&5 |
13458 | if test "x$ac_cv_type_long_double" = xyes; then : | 24143 | echo $ECHO_N "checking for long double... $ECHO_C" >&6; } |
24144 | if test "${ac_cv_type_long_double+set}" = set; then | ||
24145 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24146 | else | ||
24147 | cat >conftest.$ac_ext <<_ACEOF | ||
24148 | /* confdefs.h. */ | ||
24149 | _ACEOF | ||
24150 | cat confdefs.h >>conftest.$ac_ext | ||
24151 | cat >>conftest.$ac_ext <<_ACEOF | ||
24152 | /* end confdefs.h. */ | ||
24153 | $ac_includes_default | ||
24154 | typedef long double ac__type_new_; | ||
24155 | int | ||
24156 | main () | ||
24157 | { | ||
24158 | if ((ac__type_new_ *) 0) | ||
24159 | return 0; | ||
24160 | if (sizeof (ac__type_new_)) | ||
24161 | return 0; | ||
24162 | ; | ||
24163 | return 0; | ||
24164 | } | ||
24165 | _ACEOF | ||
24166 | rm -f conftest.$ac_objext | ||
24167 | if { (ac_try="$ac_compile" | ||
24168 | case "(($ac_try" in | ||
24169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24170 | *) ac_try_echo=$ac_try;; | ||
24171 | esac | ||
24172 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24173 | (eval "$ac_compile") 2>conftest.er1 | ||
24174 | ac_status=$? | ||
24175 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24176 | rm -f conftest.er1 | ||
24177 | cat conftest.err >&5 | ||
24178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24179 | (exit $ac_status); } && { | ||
24180 | test -z "$ac_c_werror_flag" || | ||
24181 | test ! -s conftest.err | ||
24182 | } && test -s conftest.$ac_objext; then | ||
24183 | ac_cv_type_long_double=yes | ||
24184 | else | ||
24185 | echo "$as_me: failed program was:" >&5 | ||
24186 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24187 | |||
24188 | ac_cv_type_long_double=no | ||
24189 | fi | ||
24190 | |||
24191 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24192 | fi | ||
24193 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 | ||
24194 | echo "${ECHO_T}$ac_cv_type_long_double" >&6; } | ||
24195 | if test $ac_cv_type_long_double = yes; then | ||
13459 | 24196 | ||
13460 | cat >>confdefs.h <<_ACEOF | 24197 | cat >>confdefs.h <<_ACEOF |
13461 | #define HAVE_LONG_DOUBLE 1 | 24198 | #define HAVE_LONG_DOUBLE 1 |
@@ -13466,31 +24203,403 @@ fi | |||
13466 | 24203 | ||
13467 | 24204 | ||
13468 | # Check datatype sizes | 24205 | # Check datatype sizes |
24206 | { echo "$as_me:$LINENO: checking for short int" >&5 | ||
24207 | echo $ECHO_N "checking for short int... $ECHO_C" >&6; } | ||
24208 | if test "${ac_cv_type_short_int+set}" = set; then | ||
24209 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24210 | else | ||
24211 | cat >conftest.$ac_ext <<_ACEOF | ||
24212 | /* confdefs.h. */ | ||
24213 | _ACEOF | ||
24214 | cat confdefs.h >>conftest.$ac_ext | ||
24215 | cat >>conftest.$ac_ext <<_ACEOF | ||
24216 | /* end confdefs.h. */ | ||
24217 | $ac_includes_default | ||
24218 | typedef short int ac__type_new_; | ||
24219 | int | ||
24220 | main () | ||
24221 | { | ||
24222 | if ((ac__type_new_ *) 0) | ||
24223 | return 0; | ||
24224 | if (sizeof (ac__type_new_)) | ||
24225 | return 0; | ||
24226 | ; | ||
24227 | return 0; | ||
24228 | } | ||
24229 | _ACEOF | ||
24230 | rm -f conftest.$ac_objext | ||
24231 | if { (ac_try="$ac_compile" | ||
24232 | case "(($ac_try" in | ||
24233 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24234 | *) ac_try_echo=$ac_try;; | ||
24235 | esac | ||
24236 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24237 | (eval "$ac_compile") 2>conftest.er1 | ||
24238 | ac_status=$? | ||
24239 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24240 | rm -f conftest.er1 | ||
24241 | cat conftest.err >&5 | ||
24242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24243 | (exit $ac_status); } && { | ||
24244 | test -z "$ac_c_werror_flag" || | ||
24245 | test ! -s conftest.err | ||
24246 | } && test -s conftest.$ac_objext; then | ||
24247 | ac_cv_type_short_int=yes | ||
24248 | else | ||
24249 | echo "$as_me: failed program was:" >&5 | ||
24250 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24251 | |||
24252 | ac_cv_type_short_int=no | ||
24253 | fi | ||
24254 | |||
24255 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24256 | fi | ||
24257 | { echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5 | ||
24258 | echo "${ECHO_T}$ac_cv_type_short_int" >&6; } | ||
24259 | |||
13469 | # The cast to long int works around a bug in the HP C Compiler | 24260 | # The cast to long int works around a bug in the HP C Compiler |
13470 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 24261 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
13471 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 24262 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
13472 | # This bug is HP SR number 8606223364. | 24263 | # This bug is HP SR number 8606223364. |
13473 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short int" >&5 | 24264 | { echo "$as_me:$LINENO: checking size of short int" >&5 |
13474 | $as_echo_n "checking size of short int... " >&6; } | 24265 | echo $ECHO_N "checking size of short int... $ECHO_C" >&6; } |
13475 | if ${ac_cv_sizeof_short_int+:} false; then : | 24266 | if test "${ac_cv_sizeof_short_int+set}" = set; then |
13476 | $as_echo_n "(cached) " >&6 | 24267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24268 | else | ||
24269 | if test "$cross_compiling" = yes; then | ||
24270 | # Depending upon the size, compute the lo and hi bounds. | ||
24271 | cat >conftest.$ac_ext <<_ACEOF | ||
24272 | /* confdefs.h. */ | ||
24273 | _ACEOF | ||
24274 | cat confdefs.h >>conftest.$ac_ext | ||
24275 | cat >>conftest.$ac_ext <<_ACEOF | ||
24276 | /* end confdefs.h. */ | ||
24277 | $ac_includes_default | ||
24278 | typedef short int ac__type_sizeof_; | ||
24279 | int | ||
24280 | main () | ||
24281 | { | ||
24282 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
24283 | test_array [0] = 0 | ||
24284 | |||
24285 | ; | ||
24286 | return 0; | ||
24287 | } | ||
24288 | _ACEOF | ||
24289 | rm -f conftest.$ac_objext | ||
24290 | if { (ac_try="$ac_compile" | ||
24291 | case "(($ac_try" in | ||
24292 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24293 | *) ac_try_echo=$ac_try;; | ||
24294 | esac | ||
24295 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24296 | (eval "$ac_compile") 2>conftest.er1 | ||
24297 | ac_status=$? | ||
24298 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24299 | rm -f conftest.er1 | ||
24300 | cat conftest.err >&5 | ||
24301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24302 | (exit $ac_status); } && { | ||
24303 | test -z "$ac_c_werror_flag" || | ||
24304 | test ! -s conftest.err | ||
24305 | } && test -s conftest.$ac_objext; then | ||
24306 | ac_lo=0 ac_mid=0 | ||
24307 | while :; do | ||
24308 | cat >conftest.$ac_ext <<_ACEOF | ||
24309 | /* confdefs.h. */ | ||
24310 | _ACEOF | ||
24311 | cat confdefs.h >>conftest.$ac_ext | ||
24312 | cat >>conftest.$ac_ext <<_ACEOF | ||
24313 | /* end confdefs.h. */ | ||
24314 | $ac_includes_default | ||
24315 | typedef short int ac__type_sizeof_; | ||
24316 | int | ||
24317 | main () | ||
24318 | { | ||
24319 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
24320 | test_array [0] = 0 | ||
24321 | |||
24322 | ; | ||
24323 | return 0; | ||
24324 | } | ||
24325 | _ACEOF | ||
24326 | rm -f conftest.$ac_objext | ||
24327 | if { (ac_try="$ac_compile" | ||
24328 | case "(($ac_try" in | ||
24329 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24330 | *) ac_try_echo=$ac_try;; | ||
24331 | esac | ||
24332 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24333 | (eval "$ac_compile") 2>conftest.er1 | ||
24334 | ac_status=$? | ||
24335 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24336 | rm -f conftest.er1 | ||
24337 | cat conftest.err >&5 | ||
24338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24339 | (exit $ac_status); } && { | ||
24340 | test -z "$ac_c_werror_flag" || | ||
24341 | test ! -s conftest.err | ||
24342 | } && test -s conftest.$ac_objext; then | ||
24343 | ac_hi=$ac_mid; break | ||
24344 | else | ||
24345 | echo "$as_me: failed program was:" >&5 | ||
24346 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24347 | |||
24348 | ac_lo=`expr $ac_mid + 1` | ||
24349 | if test $ac_lo -le $ac_mid; then | ||
24350 | ac_lo= ac_hi= | ||
24351 | break | ||
24352 | fi | ||
24353 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
24354 | fi | ||
24355 | |||
24356 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24357 | done | ||
24358 | else | ||
24359 | echo "$as_me: failed program was:" >&5 | ||
24360 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24361 | |||
24362 | cat >conftest.$ac_ext <<_ACEOF | ||
24363 | /* confdefs.h. */ | ||
24364 | _ACEOF | ||
24365 | cat confdefs.h >>conftest.$ac_ext | ||
24366 | cat >>conftest.$ac_ext <<_ACEOF | ||
24367 | /* end confdefs.h. */ | ||
24368 | $ac_includes_default | ||
24369 | typedef short int ac__type_sizeof_; | ||
24370 | int | ||
24371 | main () | ||
24372 | { | ||
24373 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
24374 | test_array [0] = 0 | ||
24375 | |||
24376 | ; | ||
24377 | return 0; | ||
24378 | } | ||
24379 | _ACEOF | ||
24380 | rm -f conftest.$ac_objext | ||
24381 | if { (ac_try="$ac_compile" | ||
24382 | case "(($ac_try" in | ||
24383 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24384 | *) ac_try_echo=$ac_try;; | ||
24385 | esac | ||
24386 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24387 | (eval "$ac_compile") 2>conftest.er1 | ||
24388 | ac_status=$? | ||
24389 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24390 | rm -f conftest.er1 | ||
24391 | cat conftest.err >&5 | ||
24392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24393 | (exit $ac_status); } && { | ||
24394 | test -z "$ac_c_werror_flag" || | ||
24395 | test ! -s conftest.err | ||
24396 | } && test -s conftest.$ac_objext; then | ||
24397 | ac_hi=-1 ac_mid=-1 | ||
24398 | while :; do | ||
24399 | cat >conftest.$ac_ext <<_ACEOF | ||
24400 | /* confdefs.h. */ | ||
24401 | _ACEOF | ||
24402 | cat confdefs.h >>conftest.$ac_ext | ||
24403 | cat >>conftest.$ac_ext <<_ACEOF | ||
24404 | /* end confdefs.h. */ | ||
24405 | $ac_includes_default | ||
24406 | typedef short int ac__type_sizeof_; | ||
24407 | int | ||
24408 | main () | ||
24409 | { | ||
24410 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
24411 | test_array [0] = 0 | ||
24412 | |||
24413 | ; | ||
24414 | return 0; | ||
24415 | } | ||
24416 | _ACEOF | ||
24417 | rm -f conftest.$ac_objext | ||
24418 | if { (ac_try="$ac_compile" | ||
24419 | case "(($ac_try" in | ||
24420 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24421 | *) ac_try_echo=$ac_try;; | ||
24422 | esac | ||
24423 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24424 | (eval "$ac_compile") 2>conftest.er1 | ||
24425 | ac_status=$? | ||
24426 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24427 | rm -f conftest.er1 | ||
24428 | cat conftest.err >&5 | ||
24429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24430 | (exit $ac_status); } && { | ||
24431 | test -z "$ac_c_werror_flag" || | ||
24432 | test ! -s conftest.err | ||
24433 | } && test -s conftest.$ac_objext; then | ||
24434 | ac_lo=$ac_mid; break | ||
13477 | else | 24435 | else |
13478 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short int))" "ac_cv_sizeof_short_int" "$ac_includes_default"; then : | 24436 | echo "$as_me: failed program was:" >&5 |
24437 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
13479 | 24438 | ||
24439 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
24440 | if test $ac_mid -le $ac_hi; then | ||
24441 | ac_lo= ac_hi= | ||
24442 | break | ||
24443 | fi | ||
24444 | ac_mid=`expr 2 '*' $ac_mid` | ||
24445 | fi | ||
24446 | |||
24447 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24448 | done | ||
13480 | else | 24449 | else |
13481 | if test "$ac_cv_type_short_int" = yes; then | 24450 | echo "$as_me: failed program was:" >&5 |
13482 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 24451 | sed 's/^/| /' conftest.$ac_ext >&5 |
13483 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 24452 | |
13484 | as_fn_error 77 "cannot compute sizeof (short int) | 24453 | ac_lo= ac_hi= |
13485 | See \`config.log' for more details" "$LINENO" 5; } | 24454 | fi |
24455 | |||
24456 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24457 | fi | ||
24458 | |||
24459 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24460 | # Binary search between lo and hi bounds. | ||
24461 | while test "x$ac_lo" != "x$ac_hi"; do | ||
24462 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
24463 | cat >conftest.$ac_ext <<_ACEOF | ||
24464 | /* confdefs.h. */ | ||
24465 | _ACEOF | ||
24466 | cat confdefs.h >>conftest.$ac_ext | ||
24467 | cat >>conftest.$ac_ext <<_ACEOF | ||
24468 | /* end confdefs.h. */ | ||
24469 | $ac_includes_default | ||
24470 | typedef short int ac__type_sizeof_; | ||
24471 | int | ||
24472 | main () | ||
24473 | { | ||
24474 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
24475 | test_array [0] = 0 | ||
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_hi=$ac_mid | ||
24499 | else | ||
24500 | echo "$as_me: failed program was:" >&5 | ||
24501 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24502 | |||
24503 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
24504 | fi | ||
24505 | |||
24506 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24507 | done | ||
24508 | case $ac_lo in | ||
24509 | ?*) ac_cv_sizeof_short_int=$ac_lo;; | ||
24510 | '') if test "$ac_cv_type_short_int" = yes; then | ||
24511 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) | ||
24512 | See \`config.log' for more details." >&5 | ||
24513 | echo "$as_me: error: cannot compute sizeof (short int) | ||
24514 | See \`config.log' for more details." >&2;} | ||
24515 | { (exit 77); exit 77; }; } | ||
24516 | else | ||
24517 | ac_cv_sizeof_short_int=0 | ||
24518 | fi ;; | ||
24519 | esac | ||
24520 | else | ||
24521 | cat >conftest.$ac_ext <<_ACEOF | ||
24522 | /* confdefs.h. */ | ||
24523 | _ACEOF | ||
24524 | cat confdefs.h >>conftest.$ac_ext | ||
24525 | cat >>conftest.$ac_ext <<_ACEOF | ||
24526 | /* end confdefs.h. */ | ||
24527 | $ac_includes_default | ||
24528 | typedef short int ac__type_sizeof_; | ||
24529 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
24530 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
24531 | #include <stdio.h> | ||
24532 | #include <stdlib.h> | ||
24533 | int | ||
24534 | main () | ||
24535 | { | ||
24536 | |||
24537 | FILE *f = fopen ("conftest.val", "w"); | ||
24538 | if (! f) | ||
24539 | return 1; | ||
24540 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
24541 | { | ||
24542 | long int i = longval (); | ||
24543 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
24544 | return 1; | ||
24545 | fprintf (f, "%ld\n", i); | ||
24546 | } | ||
24547 | else | ||
24548 | { | ||
24549 | unsigned long int i = ulongval (); | ||
24550 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
24551 | return 1; | ||
24552 | fprintf (f, "%lu\n", i); | ||
24553 | } | ||
24554 | return ferror (f) || fclose (f) != 0; | ||
24555 | |||
24556 | ; | ||
24557 | return 0; | ||
24558 | } | ||
24559 | _ACEOF | ||
24560 | rm -f conftest$ac_exeext | ||
24561 | if { (ac_try="$ac_link" | ||
24562 | case "(($ac_try" in | ||
24563 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24564 | *) ac_try_echo=$ac_try;; | ||
24565 | esac | ||
24566 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24567 | (eval "$ac_link") 2>&5 | ||
24568 | ac_status=$? | ||
24569 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24570 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
24571 | { (case "(($ac_try" in | ||
24572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24573 | *) ac_try_echo=$ac_try;; | ||
24574 | esac | ||
24575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24576 | (eval "$ac_try") 2>&5 | ||
24577 | ac_status=$? | ||
24578 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24579 | (exit $ac_status); }; }; then | ||
24580 | ac_cv_sizeof_short_int=`cat conftest.val` | ||
24581 | else | ||
24582 | echo "$as_me: program exited with status $ac_status" >&5 | ||
24583 | echo "$as_me: failed program was:" >&5 | ||
24584 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24585 | |||
24586 | ( exit $ac_status ) | ||
24587 | if test "$ac_cv_type_short_int" = yes; then | ||
24588 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) | ||
24589 | See \`config.log' for more details." >&5 | ||
24590 | echo "$as_me: error: cannot compute sizeof (short int) | ||
24591 | See \`config.log' for more details." >&2;} | ||
24592 | { (exit 77); exit 77; }; } | ||
13486 | else | 24593 | else |
13487 | ac_cv_sizeof_short_int=0 | 24594 | ac_cv_sizeof_short_int=0 |
13488 | fi | 24595 | fi |
13489 | fi | 24596 | fi |
13490 | 24597 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
24598 | fi | ||
24599 | rm -f conftest.val | ||
13491 | fi | 24600 | fi |
13492 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short_int" >&5 | 24601 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 |
13493 | $as_echo "$ac_cv_sizeof_short_int" >&6; } | 24602 | echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; } |
13494 | 24603 | ||
13495 | 24604 | ||
13496 | 24605 | ||
@@ -13499,31 +24608,403 @@ cat >>confdefs.h <<_ACEOF | |||
13499 | _ACEOF | 24608 | _ACEOF |
13500 | 24609 | ||
13501 | 24610 | ||
24611 | { echo "$as_me:$LINENO: checking for int" >&5 | ||
24612 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } | ||
24613 | if test "${ac_cv_type_int+set}" = set; then | ||
24614 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
24615 | else | ||
24616 | cat >conftest.$ac_ext <<_ACEOF | ||
24617 | /* confdefs.h. */ | ||
24618 | _ACEOF | ||
24619 | cat confdefs.h >>conftest.$ac_ext | ||
24620 | cat >>conftest.$ac_ext <<_ACEOF | ||
24621 | /* end confdefs.h. */ | ||
24622 | $ac_includes_default | ||
24623 | typedef int ac__type_new_; | ||
24624 | int | ||
24625 | main () | ||
24626 | { | ||
24627 | if ((ac__type_new_ *) 0) | ||
24628 | return 0; | ||
24629 | if (sizeof (ac__type_new_)) | ||
24630 | return 0; | ||
24631 | ; | ||
24632 | return 0; | ||
24633 | } | ||
24634 | _ACEOF | ||
24635 | rm -f conftest.$ac_objext | ||
24636 | if { (ac_try="$ac_compile" | ||
24637 | case "(($ac_try" in | ||
24638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24639 | *) ac_try_echo=$ac_try;; | ||
24640 | esac | ||
24641 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24642 | (eval "$ac_compile") 2>conftest.er1 | ||
24643 | ac_status=$? | ||
24644 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24645 | rm -f conftest.er1 | ||
24646 | cat conftest.err >&5 | ||
24647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24648 | (exit $ac_status); } && { | ||
24649 | test -z "$ac_c_werror_flag" || | ||
24650 | test ! -s conftest.err | ||
24651 | } && test -s conftest.$ac_objext; then | ||
24652 | ac_cv_type_int=yes | ||
24653 | else | ||
24654 | echo "$as_me: failed program was:" >&5 | ||
24655 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24656 | |||
24657 | ac_cv_type_int=no | ||
24658 | fi | ||
24659 | |||
24660 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24661 | fi | ||
24662 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 | ||
24663 | echo "${ECHO_T}$ac_cv_type_int" >&6; } | ||
24664 | |||
13502 | # The cast to long int works around a bug in the HP C Compiler | 24665 | # The cast to long int works around a bug in the HP C Compiler |
13503 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 24666 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
13504 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 24667 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
13505 | # This bug is HP SR number 8606223364. | 24668 | # This bug is HP SR number 8606223364. |
13506 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 | 24669 | { echo "$as_me:$LINENO: checking size of int" >&5 |
13507 | $as_echo_n "checking size of int... " >&6; } | 24670 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
13508 | if ${ac_cv_sizeof_int+:} false; then : | 24671 | if test "${ac_cv_sizeof_int+set}" = set; then |
13509 | $as_echo_n "(cached) " >&6 | 24672 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13510 | else | 24673 | else |
13511 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : | 24674 | if test "$cross_compiling" = yes; then |
24675 | # Depending upon the size, compute the lo and hi bounds. | ||
24676 | cat >conftest.$ac_ext <<_ACEOF | ||
24677 | /* confdefs.h. */ | ||
24678 | _ACEOF | ||
24679 | cat confdefs.h >>conftest.$ac_ext | ||
24680 | cat >>conftest.$ac_ext <<_ACEOF | ||
24681 | /* end confdefs.h. */ | ||
24682 | $ac_includes_default | ||
24683 | typedef int ac__type_sizeof_; | ||
24684 | int | ||
24685 | main () | ||
24686 | { | ||
24687 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
24688 | test_array [0] = 0 | ||
13512 | 24689 | ||
24690 | ; | ||
24691 | return 0; | ||
24692 | } | ||
24693 | _ACEOF | ||
24694 | rm -f conftest.$ac_objext | ||
24695 | if { (ac_try="$ac_compile" | ||
24696 | case "(($ac_try" in | ||
24697 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24698 | *) ac_try_echo=$ac_try;; | ||
24699 | esac | ||
24700 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24701 | (eval "$ac_compile") 2>conftest.er1 | ||
24702 | ac_status=$? | ||
24703 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24704 | rm -f conftest.er1 | ||
24705 | cat conftest.err >&5 | ||
24706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24707 | (exit $ac_status); } && { | ||
24708 | test -z "$ac_c_werror_flag" || | ||
24709 | test ! -s conftest.err | ||
24710 | } && test -s conftest.$ac_objext; then | ||
24711 | ac_lo=0 ac_mid=0 | ||
24712 | while :; do | ||
24713 | cat >conftest.$ac_ext <<_ACEOF | ||
24714 | /* confdefs.h. */ | ||
24715 | _ACEOF | ||
24716 | cat confdefs.h >>conftest.$ac_ext | ||
24717 | cat >>conftest.$ac_ext <<_ACEOF | ||
24718 | /* end confdefs.h. */ | ||
24719 | $ac_includes_default | ||
24720 | typedef int ac__type_sizeof_; | ||
24721 | int | ||
24722 | main () | ||
24723 | { | ||
24724 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
24725 | test_array [0] = 0 | ||
24726 | |||
24727 | ; | ||
24728 | return 0; | ||
24729 | } | ||
24730 | _ACEOF | ||
24731 | rm -f conftest.$ac_objext | ||
24732 | if { (ac_try="$ac_compile" | ||
24733 | case "(($ac_try" in | ||
24734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24735 | *) ac_try_echo=$ac_try;; | ||
24736 | esac | ||
24737 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24738 | (eval "$ac_compile") 2>conftest.er1 | ||
24739 | ac_status=$? | ||
24740 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24741 | rm -f conftest.er1 | ||
24742 | cat conftest.err >&5 | ||
24743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24744 | (exit $ac_status); } && { | ||
24745 | test -z "$ac_c_werror_flag" || | ||
24746 | test ! -s conftest.err | ||
24747 | } && test -s conftest.$ac_objext; then | ||
24748 | ac_hi=$ac_mid; break | ||
24749 | else | ||
24750 | echo "$as_me: failed program was:" >&5 | ||
24751 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24752 | |||
24753 | ac_lo=`expr $ac_mid + 1` | ||
24754 | if test $ac_lo -le $ac_mid; then | ||
24755 | ac_lo= ac_hi= | ||
24756 | break | ||
24757 | fi | ||
24758 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
24759 | fi | ||
24760 | |||
24761 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24762 | done | ||
24763 | else | ||
24764 | echo "$as_me: failed program was:" >&5 | ||
24765 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24766 | |||
24767 | cat >conftest.$ac_ext <<_ACEOF | ||
24768 | /* confdefs.h. */ | ||
24769 | _ACEOF | ||
24770 | cat confdefs.h >>conftest.$ac_ext | ||
24771 | cat >>conftest.$ac_ext <<_ACEOF | ||
24772 | /* end confdefs.h. */ | ||
24773 | $ac_includes_default | ||
24774 | typedef int ac__type_sizeof_; | ||
24775 | int | ||
24776 | main () | ||
24777 | { | ||
24778 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
24779 | test_array [0] = 0 | ||
24780 | |||
24781 | ; | ||
24782 | return 0; | ||
24783 | } | ||
24784 | _ACEOF | ||
24785 | rm -f conftest.$ac_objext | ||
24786 | if { (ac_try="$ac_compile" | ||
24787 | case "(($ac_try" in | ||
24788 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24789 | *) ac_try_echo=$ac_try;; | ||
24790 | esac | ||
24791 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24792 | (eval "$ac_compile") 2>conftest.er1 | ||
24793 | ac_status=$? | ||
24794 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24795 | rm -f conftest.er1 | ||
24796 | cat conftest.err >&5 | ||
24797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24798 | (exit $ac_status); } && { | ||
24799 | test -z "$ac_c_werror_flag" || | ||
24800 | test ! -s conftest.err | ||
24801 | } && test -s conftest.$ac_objext; then | ||
24802 | ac_hi=-1 ac_mid=-1 | ||
24803 | while :; do | ||
24804 | cat >conftest.$ac_ext <<_ACEOF | ||
24805 | /* confdefs.h. */ | ||
24806 | _ACEOF | ||
24807 | cat confdefs.h >>conftest.$ac_ext | ||
24808 | cat >>conftest.$ac_ext <<_ACEOF | ||
24809 | /* end confdefs.h. */ | ||
24810 | $ac_includes_default | ||
24811 | typedef int ac__type_sizeof_; | ||
24812 | int | ||
24813 | main () | ||
24814 | { | ||
24815 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
24816 | test_array [0] = 0 | ||
24817 | |||
24818 | ; | ||
24819 | return 0; | ||
24820 | } | ||
24821 | _ACEOF | ||
24822 | rm -f conftest.$ac_objext | ||
24823 | if { (ac_try="$ac_compile" | ||
24824 | case "(($ac_try" in | ||
24825 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24826 | *) ac_try_echo=$ac_try;; | ||
24827 | esac | ||
24828 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24829 | (eval "$ac_compile") 2>conftest.er1 | ||
24830 | ac_status=$? | ||
24831 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24832 | rm -f conftest.er1 | ||
24833 | cat conftest.err >&5 | ||
24834 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24835 | (exit $ac_status); } && { | ||
24836 | test -z "$ac_c_werror_flag" || | ||
24837 | test ! -s conftest.err | ||
24838 | } && test -s conftest.$ac_objext; then | ||
24839 | ac_lo=$ac_mid; break | ||
24840 | else | ||
24841 | echo "$as_me: failed program was:" >&5 | ||
24842 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24843 | |||
24844 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
24845 | if test $ac_mid -le $ac_hi; then | ||
24846 | ac_lo= ac_hi= | ||
24847 | break | ||
24848 | fi | ||
24849 | ac_mid=`expr 2 '*' $ac_mid` | ||
24850 | fi | ||
24851 | |||
24852 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24853 | done | ||
24854 | else | ||
24855 | echo "$as_me: failed program was:" >&5 | ||
24856 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24857 | |||
24858 | ac_lo= ac_hi= | ||
24859 | fi | ||
24860 | |||
24861 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24862 | fi | ||
24863 | |||
24864 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24865 | # Binary search between lo and hi bounds. | ||
24866 | while test "x$ac_lo" != "x$ac_hi"; do | ||
24867 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
24868 | cat >conftest.$ac_ext <<_ACEOF | ||
24869 | /* confdefs.h. */ | ||
24870 | _ACEOF | ||
24871 | cat confdefs.h >>conftest.$ac_ext | ||
24872 | cat >>conftest.$ac_ext <<_ACEOF | ||
24873 | /* end confdefs.h. */ | ||
24874 | $ac_includes_default | ||
24875 | typedef int ac__type_sizeof_; | ||
24876 | int | ||
24877 | main () | ||
24878 | { | ||
24879 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
24880 | test_array [0] = 0 | ||
24881 | |||
24882 | ; | ||
24883 | return 0; | ||
24884 | } | ||
24885 | _ACEOF | ||
24886 | rm -f conftest.$ac_objext | ||
24887 | if { (ac_try="$ac_compile" | ||
24888 | case "(($ac_try" in | ||
24889 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24890 | *) ac_try_echo=$ac_try;; | ||
24891 | esac | ||
24892 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24893 | (eval "$ac_compile") 2>conftest.er1 | ||
24894 | ac_status=$? | ||
24895 | grep -v '^ *+' conftest.er1 >conftest.err | ||
24896 | rm -f conftest.er1 | ||
24897 | cat conftest.err >&5 | ||
24898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24899 | (exit $ac_status); } && { | ||
24900 | test -z "$ac_c_werror_flag" || | ||
24901 | test ! -s conftest.err | ||
24902 | } && test -s conftest.$ac_objext; then | ||
24903 | ac_hi=$ac_mid | ||
24904 | else | ||
24905 | echo "$as_me: failed program was:" >&5 | ||
24906 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
24907 | |||
24908 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
24909 | fi | ||
24910 | |||
24911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
24912 | done | ||
24913 | case $ac_lo in | ||
24914 | ?*) ac_cv_sizeof_int=$ac_lo;; | ||
24915 | '') if test "$ac_cv_type_int" = yes; then | ||
24916 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | ||
24917 | See \`config.log' for more details." >&5 | ||
24918 | echo "$as_me: error: cannot compute sizeof (int) | ||
24919 | See \`config.log' for more details." >&2;} | ||
24920 | { (exit 77); exit 77; }; } | ||
24921 | else | ||
24922 | ac_cv_sizeof_int=0 | ||
24923 | fi ;; | ||
24924 | esac | ||
24925 | else | ||
24926 | cat >conftest.$ac_ext <<_ACEOF | ||
24927 | /* confdefs.h. */ | ||
24928 | _ACEOF | ||
24929 | cat confdefs.h >>conftest.$ac_ext | ||
24930 | cat >>conftest.$ac_ext <<_ACEOF | ||
24931 | /* end confdefs.h. */ | ||
24932 | $ac_includes_default | ||
24933 | typedef int ac__type_sizeof_; | ||
24934 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
24935 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
24936 | #include <stdio.h> | ||
24937 | #include <stdlib.h> | ||
24938 | int | ||
24939 | main () | ||
24940 | { | ||
24941 | |||
24942 | FILE *f = fopen ("conftest.val", "w"); | ||
24943 | if (! f) | ||
24944 | return 1; | ||
24945 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
24946 | { | ||
24947 | long int i = longval (); | ||
24948 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
24949 | return 1; | ||
24950 | fprintf (f, "%ld\n", i); | ||
24951 | } | ||
24952 | else | ||
24953 | { | ||
24954 | unsigned long int i = ulongval (); | ||
24955 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
24956 | return 1; | ||
24957 | fprintf (f, "%lu\n", i); | ||
24958 | } | ||
24959 | return ferror (f) || fclose (f) != 0; | ||
24960 | |||
24961 | ; | ||
24962 | return 0; | ||
24963 | } | ||
24964 | _ACEOF | ||
24965 | rm -f conftest$ac_exeext | ||
24966 | if { (ac_try="$ac_link" | ||
24967 | case "(($ac_try" in | ||
24968 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24969 | *) ac_try_echo=$ac_try;; | ||
24970 | esac | ||
24971 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24972 | (eval "$ac_link") 2>&5 | ||
24973 | ac_status=$? | ||
24974 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24975 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
24976 | { (case "(($ac_try" in | ||
24977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
24978 | *) ac_try_echo=$ac_try;; | ||
24979 | esac | ||
24980 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
24981 | (eval "$ac_try") 2>&5 | ||
24982 | ac_status=$? | ||
24983 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
24984 | (exit $ac_status); }; }; then | ||
24985 | ac_cv_sizeof_int=`cat conftest.val` | ||
13513 | else | 24986 | else |
13514 | if test "$ac_cv_type_int" = yes; then | 24987 | echo "$as_me: program exited with status $ac_status" >&5 |
13515 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 24988 | echo "$as_me: failed program was:" >&5 |
13516 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 24989 | sed 's/^/| /' conftest.$ac_ext >&5 |
13517 | as_fn_error 77 "cannot compute sizeof (int) | 24990 | |
13518 | See \`config.log' for more details" "$LINENO" 5; } | 24991 | ( exit $ac_status ) |
24992 | if test "$ac_cv_type_int" = yes; then | ||
24993 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) | ||
24994 | See \`config.log' for more details." >&5 | ||
24995 | echo "$as_me: error: cannot compute sizeof (int) | ||
24996 | See \`config.log' for more details." >&2;} | ||
24997 | { (exit 77); exit 77; }; } | ||
13519 | else | 24998 | else |
13520 | ac_cv_sizeof_int=0 | 24999 | ac_cv_sizeof_int=0 |
13521 | fi | 25000 | fi |
13522 | fi | 25001 | fi |
13523 | 25002 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
25003 | fi | ||
25004 | rm -f conftest.val | ||
13524 | fi | 25005 | fi |
13525 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 | 25006 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
13526 | $as_echo "$ac_cv_sizeof_int" >&6; } | 25007 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
13527 | 25008 | ||
13528 | 25009 | ||
13529 | 25010 | ||
@@ -13532,31 +25013,403 @@ cat >>confdefs.h <<_ACEOF | |||
13532 | _ACEOF | 25013 | _ACEOF |
13533 | 25014 | ||
13534 | 25015 | ||
25016 | { echo "$as_me:$LINENO: checking for long int" >&5 | ||
25017 | echo $ECHO_N "checking for long int... $ECHO_C" >&6; } | ||
25018 | if test "${ac_cv_type_long_int+set}" = set; then | ||
25019 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25020 | else | ||
25021 | cat >conftest.$ac_ext <<_ACEOF | ||
25022 | /* confdefs.h. */ | ||
25023 | _ACEOF | ||
25024 | cat confdefs.h >>conftest.$ac_ext | ||
25025 | cat >>conftest.$ac_ext <<_ACEOF | ||
25026 | /* end confdefs.h. */ | ||
25027 | $ac_includes_default | ||
25028 | typedef long int ac__type_new_; | ||
25029 | int | ||
25030 | main () | ||
25031 | { | ||
25032 | if ((ac__type_new_ *) 0) | ||
25033 | return 0; | ||
25034 | if (sizeof (ac__type_new_)) | ||
25035 | return 0; | ||
25036 | ; | ||
25037 | return 0; | ||
25038 | } | ||
25039 | _ACEOF | ||
25040 | rm -f conftest.$ac_objext | ||
25041 | if { (ac_try="$ac_compile" | ||
25042 | case "(($ac_try" in | ||
25043 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25044 | *) ac_try_echo=$ac_try;; | ||
25045 | esac | ||
25046 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25047 | (eval "$ac_compile") 2>conftest.er1 | ||
25048 | ac_status=$? | ||
25049 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25050 | rm -f conftest.er1 | ||
25051 | cat conftest.err >&5 | ||
25052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25053 | (exit $ac_status); } && { | ||
25054 | test -z "$ac_c_werror_flag" || | ||
25055 | test ! -s conftest.err | ||
25056 | } && test -s conftest.$ac_objext; then | ||
25057 | ac_cv_type_long_int=yes | ||
25058 | else | ||
25059 | echo "$as_me: failed program was:" >&5 | ||
25060 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25061 | |||
25062 | ac_cv_type_long_int=no | ||
25063 | fi | ||
25064 | |||
25065 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25066 | fi | ||
25067 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5 | ||
25068 | echo "${ECHO_T}$ac_cv_type_long_int" >&6; } | ||
25069 | |||
13535 | # The cast to long int works around a bug in the HP C Compiler | 25070 | # The cast to long int works around a bug in the HP C Compiler |
13536 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 25071 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
13537 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 25072 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
13538 | # This bug is HP SR number 8606223364. | 25073 | # This bug is HP SR number 8606223364. |
13539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5 | 25074 | { echo "$as_me:$LINENO: checking size of long int" >&5 |
13540 | $as_echo_n "checking size of long int... " >&6; } | 25075 | echo $ECHO_N "checking size of long int... $ECHO_C" >&6; } |
13541 | if ${ac_cv_sizeof_long_int+:} false; then : | 25076 | if test "${ac_cv_sizeof_long_int+set}" = set; then |
13542 | $as_echo_n "(cached) " >&6 | 25077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25078 | else | ||
25079 | if test "$cross_compiling" = yes; then | ||
25080 | # Depending upon the size, compute the lo and hi bounds. | ||
25081 | cat >conftest.$ac_ext <<_ACEOF | ||
25082 | /* confdefs.h. */ | ||
25083 | _ACEOF | ||
25084 | cat confdefs.h >>conftest.$ac_ext | ||
25085 | cat >>conftest.$ac_ext <<_ACEOF | ||
25086 | /* end confdefs.h. */ | ||
25087 | $ac_includes_default | ||
25088 | typedef long int ac__type_sizeof_; | ||
25089 | int | ||
25090 | main () | ||
25091 | { | ||
25092 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
25093 | test_array [0] = 0 | ||
25094 | |||
25095 | ; | ||
25096 | return 0; | ||
25097 | } | ||
25098 | _ACEOF | ||
25099 | rm -f conftest.$ac_objext | ||
25100 | if { (ac_try="$ac_compile" | ||
25101 | case "(($ac_try" in | ||
25102 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25103 | *) ac_try_echo=$ac_try;; | ||
25104 | esac | ||
25105 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25106 | (eval "$ac_compile") 2>conftest.er1 | ||
25107 | ac_status=$? | ||
25108 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25109 | rm -f conftest.er1 | ||
25110 | cat conftest.err >&5 | ||
25111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25112 | (exit $ac_status); } && { | ||
25113 | test -z "$ac_c_werror_flag" || | ||
25114 | test ! -s conftest.err | ||
25115 | } && test -s conftest.$ac_objext; then | ||
25116 | ac_lo=0 ac_mid=0 | ||
25117 | while :; do | ||
25118 | cat >conftest.$ac_ext <<_ACEOF | ||
25119 | /* confdefs.h. */ | ||
25120 | _ACEOF | ||
25121 | cat confdefs.h >>conftest.$ac_ext | ||
25122 | cat >>conftest.$ac_ext <<_ACEOF | ||
25123 | /* end confdefs.h. */ | ||
25124 | $ac_includes_default | ||
25125 | typedef long int ac__type_sizeof_; | ||
25126 | int | ||
25127 | main () | ||
25128 | { | ||
25129 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25130 | test_array [0] = 0 | ||
25131 | |||
25132 | ; | ||
25133 | return 0; | ||
25134 | } | ||
25135 | _ACEOF | ||
25136 | rm -f conftest.$ac_objext | ||
25137 | if { (ac_try="$ac_compile" | ||
25138 | case "(($ac_try" in | ||
25139 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25140 | *) ac_try_echo=$ac_try;; | ||
25141 | esac | ||
25142 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25143 | (eval "$ac_compile") 2>conftest.er1 | ||
25144 | ac_status=$? | ||
25145 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25146 | rm -f conftest.er1 | ||
25147 | cat conftest.err >&5 | ||
25148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25149 | (exit $ac_status); } && { | ||
25150 | test -z "$ac_c_werror_flag" || | ||
25151 | test ! -s conftest.err | ||
25152 | } && test -s conftest.$ac_objext; then | ||
25153 | ac_hi=$ac_mid; break | ||
25154 | else | ||
25155 | echo "$as_me: failed program was:" >&5 | ||
25156 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25157 | |||
25158 | ac_lo=`expr $ac_mid + 1` | ||
25159 | if test $ac_lo -le $ac_mid; then | ||
25160 | ac_lo= ac_hi= | ||
25161 | break | ||
25162 | fi | ||
25163 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
25164 | fi | ||
25165 | |||
25166 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25167 | done | ||
25168 | else | ||
25169 | echo "$as_me: failed program was:" >&5 | ||
25170 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25171 | |||
25172 | cat >conftest.$ac_ext <<_ACEOF | ||
25173 | /* confdefs.h. */ | ||
25174 | _ACEOF | ||
25175 | cat confdefs.h >>conftest.$ac_ext | ||
25176 | cat >>conftest.$ac_ext <<_ACEOF | ||
25177 | /* end confdefs.h. */ | ||
25178 | $ac_includes_default | ||
25179 | typedef long int ac__type_sizeof_; | ||
25180 | int | ||
25181 | main () | ||
25182 | { | ||
25183 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
25184 | test_array [0] = 0 | ||
25185 | |||
25186 | ; | ||
25187 | return 0; | ||
25188 | } | ||
25189 | _ACEOF | ||
25190 | rm -f conftest.$ac_objext | ||
25191 | if { (ac_try="$ac_compile" | ||
25192 | case "(($ac_try" in | ||
25193 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25194 | *) ac_try_echo=$ac_try;; | ||
25195 | esac | ||
25196 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25197 | (eval "$ac_compile") 2>conftest.er1 | ||
25198 | ac_status=$? | ||
25199 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25200 | rm -f conftest.er1 | ||
25201 | cat conftest.err >&5 | ||
25202 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25203 | (exit $ac_status); } && { | ||
25204 | test -z "$ac_c_werror_flag" || | ||
25205 | test ! -s conftest.err | ||
25206 | } && test -s conftest.$ac_objext; then | ||
25207 | ac_hi=-1 ac_mid=-1 | ||
25208 | while :; do | ||
25209 | cat >conftest.$ac_ext <<_ACEOF | ||
25210 | /* confdefs.h. */ | ||
25211 | _ACEOF | ||
25212 | cat confdefs.h >>conftest.$ac_ext | ||
25213 | cat >>conftest.$ac_ext <<_ACEOF | ||
25214 | /* end confdefs.h. */ | ||
25215 | $ac_includes_default | ||
25216 | typedef long int ac__type_sizeof_; | ||
25217 | int | ||
25218 | main () | ||
25219 | { | ||
25220 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
25221 | test_array [0] = 0 | ||
25222 | |||
25223 | ; | ||
25224 | return 0; | ||
25225 | } | ||
25226 | _ACEOF | ||
25227 | rm -f conftest.$ac_objext | ||
25228 | if { (ac_try="$ac_compile" | ||
25229 | case "(($ac_try" in | ||
25230 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25231 | *) ac_try_echo=$ac_try;; | ||
25232 | esac | ||
25233 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25234 | (eval "$ac_compile") 2>conftest.er1 | ||
25235 | ac_status=$? | ||
25236 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25237 | rm -f conftest.er1 | ||
25238 | cat conftest.err >&5 | ||
25239 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25240 | (exit $ac_status); } && { | ||
25241 | test -z "$ac_c_werror_flag" || | ||
25242 | test ! -s conftest.err | ||
25243 | } && test -s conftest.$ac_objext; then | ||
25244 | ac_lo=$ac_mid; break | ||
25245 | else | ||
25246 | echo "$as_me: failed program was:" >&5 | ||
25247 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25248 | |||
25249 | ac_hi=`expr '(' $ac_mid ')' - 1` | ||
25250 | if test $ac_mid -le $ac_hi; then | ||
25251 | ac_lo= ac_hi= | ||
25252 | break | ||
25253 | fi | ||
25254 | ac_mid=`expr 2 '*' $ac_mid` | ||
25255 | fi | ||
25256 | |||
25257 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25258 | done | ||
13543 | else | 25259 | else |
13544 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then : | 25260 | echo "$as_me: failed program was:" >&5 |
25261 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25262 | |||
25263 | ac_lo= ac_hi= | ||
25264 | fi | ||
25265 | |||
25266 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25267 | fi | ||
25268 | |||
25269 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25270 | # Binary search between lo and hi bounds. | ||
25271 | while test "x$ac_lo" != "x$ac_hi"; do | ||
25272 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
25273 | cat >conftest.$ac_ext <<_ACEOF | ||
25274 | /* confdefs.h. */ | ||
25275 | _ACEOF | ||
25276 | cat confdefs.h >>conftest.$ac_ext | ||
25277 | cat >>conftest.$ac_ext <<_ACEOF | ||
25278 | /* end confdefs.h. */ | ||
25279 | $ac_includes_default | ||
25280 | typedef long int ac__type_sizeof_; | ||
25281 | int | ||
25282 | main () | ||
25283 | { | ||
25284 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25285 | test_array [0] = 0 | ||
25286 | |||
25287 | ; | ||
25288 | return 0; | ||
25289 | } | ||
25290 | _ACEOF | ||
25291 | rm -f conftest.$ac_objext | ||
25292 | if { (ac_try="$ac_compile" | ||
25293 | case "(($ac_try" in | ||
25294 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25295 | *) ac_try_echo=$ac_try;; | ||
25296 | esac | ||
25297 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25298 | (eval "$ac_compile") 2>conftest.er1 | ||
25299 | ac_status=$? | ||
25300 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25301 | rm -f conftest.er1 | ||
25302 | cat conftest.err >&5 | ||
25303 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25304 | (exit $ac_status); } && { | ||
25305 | test -z "$ac_c_werror_flag" || | ||
25306 | test ! -s conftest.err | ||
25307 | } && test -s conftest.$ac_objext; then | ||
25308 | ac_hi=$ac_mid | ||
25309 | else | ||
25310 | echo "$as_me: failed program was:" >&5 | ||
25311 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25312 | |||
25313 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
25314 | fi | ||
25315 | |||
25316 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25317 | done | ||
25318 | case $ac_lo in | ||
25319 | ?*) ac_cv_sizeof_long_int=$ac_lo;; | ||
25320 | '') if test "$ac_cv_type_long_int" = yes; then | ||
25321 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) | ||
25322 | See \`config.log' for more details." >&5 | ||
25323 | echo "$as_me: error: cannot compute sizeof (long int) | ||
25324 | See \`config.log' for more details." >&2;} | ||
25325 | { (exit 77); exit 77; }; } | ||
25326 | else | ||
25327 | ac_cv_sizeof_long_int=0 | ||
25328 | fi ;; | ||
25329 | esac | ||
25330 | else | ||
25331 | cat >conftest.$ac_ext <<_ACEOF | ||
25332 | /* confdefs.h. */ | ||
25333 | _ACEOF | ||
25334 | cat confdefs.h >>conftest.$ac_ext | ||
25335 | cat >>conftest.$ac_ext <<_ACEOF | ||
25336 | /* end confdefs.h. */ | ||
25337 | $ac_includes_default | ||
25338 | typedef long int ac__type_sizeof_; | ||
25339 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25340 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25341 | #include <stdio.h> | ||
25342 | #include <stdlib.h> | ||
25343 | int | ||
25344 | main () | ||
25345 | { | ||
25346 | |||
25347 | FILE *f = fopen ("conftest.val", "w"); | ||
25348 | if (! f) | ||
25349 | return 1; | ||
25350 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
25351 | { | ||
25352 | long int i = longval (); | ||
25353 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25354 | return 1; | ||
25355 | fprintf (f, "%ld\n", i); | ||
25356 | } | ||
25357 | else | ||
25358 | { | ||
25359 | unsigned long int i = ulongval (); | ||
25360 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25361 | return 1; | ||
25362 | fprintf (f, "%lu\n", i); | ||
25363 | } | ||
25364 | return ferror (f) || fclose (f) != 0; | ||
13545 | 25365 | ||
25366 | ; | ||
25367 | return 0; | ||
25368 | } | ||
25369 | _ACEOF | ||
25370 | rm -f conftest$ac_exeext | ||
25371 | if { (ac_try="$ac_link" | ||
25372 | case "(($ac_try" in | ||
25373 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25374 | *) ac_try_echo=$ac_try;; | ||
25375 | esac | ||
25376 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25377 | (eval "$ac_link") 2>&5 | ||
25378 | ac_status=$? | ||
25379 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25380 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
25381 | { (case "(($ac_try" in | ||
25382 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25383 | *) ac_try_echo=$ac_try;; | ||
25384 | esac | ||
25385 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25386 | (eval "$ac_try") 2>&5 | ||
25387 | ac_status=$? | ||
25388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25389 | (exit $ac_status); }; }; then | ||
25390 | ac_cv_sizeof_long_int=`cat conftest.val` | ||
13546 | else | 25391 | else |
13547 | if test "$ac_cv_type_long_int" = yes; then | 25392 | echo "$as_me: program exited with status $ac_status" >&5 |
13548 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 25393 | echo "$as_me: failed program was:" >&5 |
13549 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 25394 | sed 's/^/| /' conftest.$ac_ext >&5 |
13550 | as_fn_error 77 "cannot compute sizeof (long int) | 25395 | |
13551 | See \`config.log' for more details" "$LINENO" 5; } | 25396 | ( exit $ac_status ) |
25397 | if test "$ac_cv_type_long_int" = yes; then | ||
25398 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) | ||
25399 | See \`config.log' for more details." >&5 | ||
25400 | echo "$as_me: error: cannot compute sizeof (long int) | ||
25401 | See \`config.log' for more details." >&2;} | ||
25402 | { (exit 77); exit 77; }; } | ||
13552 | else | 25403 | else |
13553 | ac_cv_sizeof_long_int=0 | 25404 | ac_cv_sizeof_long_int=0 |
13554 | fi | 25405 | fi |
13555 | fi | 25406 | fi |
13556 | 25407 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
25408 | fi | ||
25409 | rm -f conftest.val | ||
13557 | fi | 25410 | fi |
13558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5 | 25411 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 |
13559 | $as_echo "$ac_cv_sizeof_long_int" >&6; } | 25412 | echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; } |
13560 | 25413 | ||
13561 | 25414 | ||
13562 | 25415 | ||
@@ -13565,31 +25418,403 @@ cat >>confdefs.h <<_ACEOF | |||
13565 | _ACEOF | 25418 | _ACEOF |
13566 | 25419 | ||
13567 | 25420 | ||
25421 | { echo "$as_me:$LINENO: checking for long long int" >&5 | ||
25422 | echo $ECHO_N "checking for long long int... $ECHO_C" >&6; } | ||
25423 | if test "${ac_cv_type_long_long_int+set}" = set; then | ||
25424 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
25425 | else | ||
25426 | cat >conftest.$ac_ext <<_ACEOF | ||
25427 | /* confdefs.h. */ | ||
25428 | _ACEOF | ||
25429 | cat confdefs.h >>conftest.$ac_ext | ||
25430 | cat >>conftest.$ac_ext <<_ACEOF | ||
25431 | /* end confdefs.h. */ | ||
25432 | $ac_includes_default | ||
25433 | typedef long long int ac__type_new_; | ||
25434 | int | ||
25435 | main () | ||
25436 | { | ||
25437 | if ((ac__type_new_ *) 0) | ||
25438 | return 0; | ||
25439 | if (sizeof (ac__type_new_)) | ||
25440 | return 0; | ||
25441 | ; | ||
25442 | return 0; | ||
25443 | } | ||
25444 | _ACEOF | ||
25445 | rm -f conftest.$ac_objext | ||
25446 | if { (ac_try="$ac_compile" | ||
25447 | case "(($ac_try" in | ||
25448 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25449 | *) ac_try_echo=$ac_try;; | ||
25450 | esac | ||
25451 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25452 | (eval "$ac_compile") 2>conftest.er1 | ||
25453 | ac_status=$? | ||
25454 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25455 | rm -f conftest.er1 | ||
25456 | cat conftest.err >&5 | ||
25457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25458 | (exit $ac_status); } && { | ||
25459 | test -z "$ac_c_werror_flag" || | ||
25460 | test ! -s conftest.err | ||
25461 | } && test -s conftest.$ac_objext; then | ||
25462 | ac_cv_type_long_long_int=yes | ||
25463 | else | ||
25464 | echo "$as_me: failed program was:" >&5 | ||
25465 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25466 | |||
25467 | ac_cv_type_long_long_int=no | ||
25468 | fi | ||
25469 | |||
25470 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25471 | fi | ||
25472 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5 | ||
25473 | echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; } | ||
25474 | |||
13568 | # The cast to long int works around a bug in the HP C Compiler | 25475 | # The cast to long int works around a bug in the HP C Compiler |
13569 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 25476 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
13570 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 25477 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
13571 | # This bug is HP SR number 8606223364. | 25478 | # This bug is HP SR number 8606223364. |
13572 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long int" >&5 | 25479 | { echo "$as_me:$LINENO: checking size of long long int" >&5 |
13573 | $as_echo_n "checking size of long long int... " >&6; } | 25480 | echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; } |
13574 | if ${ac_cv_sizeof_long_long_int+:} false; then : | 25481 | if test "${ac_cv_sizeof_long_long_int+set}" = set; then |
13575 | $as_echo_n "(cached) " >&6 | 25482 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
25483 | else | ||
25484 | if test "$cross_compiling" = yes; then | ||
25485 | # Depending upon the size, compute the lo and hi bounds. | ||
25486 | cat >conftest.$ac_ext <<_ACEOF | ||
25487 | /* confdefs.h. */ | ||
25488 | _ACEOF | ||
25489 | cat confdefs.h >>conftest.$ac_ext | ||
25490 | cat >>conftest.$ac_ext <<_ACEOF | ||
25491 | /* end confdefs.h. */ | ||
25492 | $ac_includes_default | ||
25493 | typedef long long int ac__type_sizeof_; | ||
25494 | int | ||
25495 | main () | ||
25496 | { | ||
25497 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; | ||
25498 | test_array [0] = 0 | ||
25499 | |||
25500 | ; | ||
25501 | return 0; | ||
25502 | } | ||
25503 | _ACEOF | ||
25504 | rm -f conftest.$ac_objext | ||
25505 | if { (ac_try="$ac_compile" | ||
25506 | case "(($ac_try" in | ||
25507 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25508 | *) ac_try_echo=$ac_try;; | ||
25509 | esac | ||
25510 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25511 | (eval "$ac_compile") 2>conftest.er1 | ||
25512 | ac_status=$? | ||
25513 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25514 | rm -f conftest.er1 | ||
25515 | cat conftest.err >&5 | ||
25516 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25517 | (exit $ac_status); } && { | ||
25518 | test -z "$ac_c_werror_flag" || | ||
25519 | test ! -s conftest.err | ||
25520 | } && test -s conftest.$ac_objext; then | ||
25521 | ac_lo=0 ac_mid=0 | ||
25522 | while :; do | ||
25523 | cat >conftest.$ac_ext <<_ACEOF | ||
25524 | /* confdefs.h. */ | ||
25525 | _ACEOF | ||
25526 | cat confdefs.h >>conftest.$ac_ext | ||
25527 | cat >>conftest.$ac_ext <<_ACEOF | ||
25528 | /* end confdefs.h. */ | ||
25529 | $ac_includes_default | ||
25530 | typedef long long int ac__type_sizeof_; | ||
25531 | int | ||
25532 | main () | ||
25533 | { | ||
25534 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25535 | test_array [0] = 0 | ||
25536 | |||
25537 | ; | ||
25538 | return 0; | ||
25539 | } | ||
25540 | _ACEOF | ||
25541 | rm -f conftest.$ac_objext | ||
25542 | if { (ac_try="$ac_compile" | ||
25543 | case "(($ac_try" in | ||
25544 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25545 | *) ac_try_echo=$ac_try;; | ||
25546 | esac | ||
25547 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25548 | (eval "$ac_compile") 2>conftest.er1 | ||
25549 | ac_status=$? | ||
25550 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25551 | rm -f conftest.er1 | ||
25552 | cat conftest.err >&5 | ||
25553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25554 | (exit $ac_status); } && { | ||
25555 | test -z "$ac_c_werror_flag" || | ||
25556 | test ! -s conftest.err | ||
25557 | } && test -s conftest.$ac_objext; then | ||
25558 | ac_hi=$ac_mid; break | ||
13576 | else | 25559 | else |
13577 | if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long int))" "ac_cv_sizeof_long_long_int" "$ac_includes_default"; then : | 25560 | echo "$as_me: failed program was:" >&5 |
25561 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25562 | |||
25563 | ac_lo=`expr $ac_mid + 1` | ||
25564 | if test $ac_lo -le $ac_mid; then | ||
25565 | ac_lo= ac_hi= | ||
25566 | break | ||
25567 | fi | ||
25568 | ac_mid=`expr 2 '*' $ac_mid + 1` | ||
25569 | fi | ||
25570 | |||
25571 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25572 | done | ||
25573 | else | ||
25574 | echo "$as_me: failed program was:" >&5 | ||
25575 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25576 | |||
25577 | cat >conftest.$ac_ext <<_ACEOF | ||
25578 | /* confdefs.h. */ | ||
25579 | _ACEOF | ||
25580 | cat confdefs.h >>conftest.$ac_ext | ||
25581 | cat >>conftest.$ac_ext <<_ACEOF | ||
25582 | /* end confdefs.h. */ | ||
25583 | $ac_includes_default | ||
25584 | typedef long long int ac__type_sizeof_; | ||
25585 | int | ||
25586 | main () | ||
25587 | { | ||
25588 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; | ||
25589 | test_array [0] = 0 | ||
13578 | 25590 | ||
25591 | ; | ||
25592 | return 0; | ||
25593 | } | ||
25594 | _ACEOF | ||
25595 | rm -f conftest.$ac_objext | ||
25596 | if { (ac_try="$ac_compile" | ||
25597 | case "(($ac_try" in | ||
25598 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25599 | *) ac_try_echo=$ac_try;; | ||
25600 | esac | ||
25601 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25602 | (eval "$ac_compile") 2>conftest.er1 | ||
25603 | ac_status=$? | ||
25604 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25605 | rm -f conftest.er1 | ||
25606 | cat conftest.err >&5 | ||
25607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25608 | (exit $ac_status); } && { | ||
25609 | test -z "$ac_c_werror_flag" || | ||
25610 | test ! -s conftest.err | ||
25611 | } && test -s conftest.$ac_objext; then | ||
25612 | ac_hi=-1 ac_mid=-1 | ||
25613 | while :; do | ||
25614 | cat >conftest.$ac_ext <<_ACEOF | ||
25615 | /* confdefs.h. */ | ||
25616 | _ACEOF | ||
25617 | cat confdefs.h >>conftest.$ac_ext | ||
25618 | cat >>conftest.$ac_ext <<_ACEOF | ||
25619 | /* end confdefs.h. */ | ||
25620 | $ac_includes_default | ||
25621 | typedef long long int ac__type_sizeof_; | ||
25622 | int | ||
25623 | main () | ||
25624 | { | ||
25625 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; | ||
25626 | test_array [0] = 0 | ||
25627 | |||
25628 | ; | ||
25629 | return 0; | ||
25630 | } | ||
25631 | _ACEOF | ||
25632 | rm -f conftest.$ac_objext | ||
25633 | if { (ac_try="$ac_compile" | ||
25634 | case "(($ac_try" in | ||
25635 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25636 | *) ac_try_echo=$ac_try;; | ||
25637 | esac | ||
25638 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25639 | (eval "$ac_compile") 2>conftest.er1 | ||
25640 | ac_status=$? | ||
25641 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25642 | rm -f conftest.er1 | ||
25643 | cat conftest.err >&5 | ||
25644 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25645 | (exit $ac_status); } && { | ||
25646 | test -z "$ac_c_werror_flag" || | ||
25647 | test ! -s conftest.err | ||
25648 | } && test -s conftest.$ac_objext; then | ||
25649 | ac_lo=$ac_mid; break | ||
13579 | else | 25650 | else |
13580 | if test "$ac_cv_type_long_long_int" = yes; then | 25651 | echo "$as_me: failed program was:" >&5 |
13581 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 25652 | sed 's/^/| /' conftest.$ac_ext >&5 |
13582 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 25653 | |
13583 | as_fn_error 77 "cannot compute sizeof (long long int) | 25654 | ac_hi=`expr '(' $ac_mid ')' - 1` |
13584 | See \`config.log' for more details" "$LINENO" 5; } | 25655 | if test $ac_mid -le $ac_hi; then |
25656 | ac_lo= ac_hi= | ||
25657 | break | ||
25658 | fi | ||
25659 | ac_mid=`expr 2 '*' $ac_mid` | ||
25660 | fi | ||
25661 | |||
25662 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25663 | done | ||
25664 | else | ||
25665 | echo "$as_me: failed program was:" >&5 | ||
25666 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25667 | |||
25668 | ac_lo= ac_hi= | ||
25669 | fi | ||
25670 | |||
25671 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25672 | fi | ||
25673 | |||
25674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25675 | # Binary search between lo and hi bounds. | ||
25676 | while test "x$ac_lo" != "x$ac_hi"; do | ||
25677 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` | ||
25678 | cat >conftest.$ac_ext <<_ACEOF | ||
25679 | /* confdefs.h. */ | ||
25680 | _ACEOF | ||
25681 | cat confdefs.h >>conftest.$ac_ext | ||
25682 | cat >>conftest.$ac_ext <<_ACEOF | ||
25683 | /* end confdefs.h. */ | ||
25684 | $ac_includes_default | ||
25685 | typedef long long int ac__type_sizeof_; | ||
25686 | int | ||
25687 | main () | ||
25688 | { | ||
25689 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; | ||
25690 | test_array [0] = 0 | ||
25691 | |||
25692 | ; | ||
25693 | return 0; | ||
25694 | } | ||
25695 | _ACEOF | ||
25696 | rm -f conftest.$ac_objext | ||
25697 | if { (ac_try="$ac_compile" | ||
25698 | case "(($ac_try" in | ||
25699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25700 | *) ac_try_echo=$ac_try;; | ||
25701 | esac | ||
25702 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25703 | (eval "$ac_compile") 2>conftest.er1 | ||
25704 | ac_status=$? | ||
25705 | grep -v '^ *+' conftest.er1 >conftest.err | ||
25706 | rm -f conftest.er1 | ||
25707 | cat conftest.err >&5 | ||
25708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25709 | (exit $ac_status); } && { | ||
25710 | test -z "$ac_c_werror_flag" || | ||
25711 | test ! -s conftest.err | ||
25712 | } && test -s conftest.$ac_objext; then | ||
25713 | ac_hi=$ac_mid | ||
25714 | else | ||
25715 | echo "$as_me: failed program was:" >&5 | ||
25716 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25717 | |||
25718 | ac_lo=`expr '(' $ac_mid ')' + 1` | ||
25719 | fi | ||
25720 | |||
25721 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
25722 | done | ||
25723 | case $ac_lo in | ||
25724 | ?*) ac_cv_sizeof_long_long_int=$ac_lo;; | ||
25725 | '') if test "$ac_cv_type_long_long_int" = yes; then | ||
25726 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) | ||
25727 | See \`config.log' for more details." >&5 | ||
25728 | echo "$as_me: error: cannot compute sizeof (long long int) | ||
25729 | See \`config.log' for more details." >&2;} | ||
25730 | { (exit 77); exit 77; }; } | ||
25731 | else | ||
25732 | ac_cv_sizeof_long_long_int=0 | ||
25733 | fi ;; | ||
25734 | esac | ||
25735 | else | ||
25736 | cat >conftest.$ac_ext <<_ACEOF | ||
25737 | /* confdefs.h. */ | ||
25738 | _ACEOF | ||
25739 | cat confdefs.h >>conftest.$ac_ext | ||
25740 | cat >>conftest.$ac_ext <<_ACEOF | ||
25741 | /* end confdefs.h. */ | ||
25742 | $ac_includes_default | ||
25743 | typedef long long int ac__type_sizeof_; | ||
25744 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25745 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } | ||
25746 | #include <stdio.h> | ||
25747 | #include <stdlib.h> | ||
25748 | int | ||
25749 | main () | ||
25750 | { | ||
25751 | |||
25752 | FILE *f = fopen ("conftest.val", "w"); | ||
25753 | if (! f) | ||
25754 | return 1; | ||
25755 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) | ||
25756 | { | ||
25757 | long int i = longval (); | ||
25758 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25759 | return 1; | ||
25760 | fprintf (f, "%ld\n", i); | ||
25761 | } | ||
25762 | else | ||
25763 | { | ||
25764 | unsigned long int i = ulongval (); | ||
25765 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) | ||
25766 | return 1; | ||
25767 | fprintf (f, "%lu\n", i); | ||
25768 | } | ||
25769 | return ferror (f) || fclose (f) != 0; | ||
25770 | |||
25771 | ; | ||
25772 | return 0; | ||
25773 | } | ||
25774 | _ACEOF | ||
25775 | rm -f conftest$ac_exeext | ||
25776 | if { (ac_try="$ac_link" | ||
25777 | case "(($ac_try" in | ||
25778 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25779 | *) ac_try_echo=$ac_try;; | ||
25780 | esac | ||
25781 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25782 | (eval "$ac_link") 2>&5 | ||
25783 | ac_status=$? | ||
25784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25785 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
25786 | { (case "(($ac_try" in | ||
25787 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25788 | *) ac_try_echo=$ac_try;; | ||
25789 | esac | ||
25790 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25791 | (eval "$ac_try") 2>&5 | ||
25792 | ac_status=$? | ||
25793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25794 | (exit $ac_status); }; }; then | ||
25795 | ac_cv_sizeof_long_long_int=`cat conftest.val` | ||
25796 | else | ||
25797 | echo "$as_me: program exited with status $ac_status" >&5 | ||
25798 | echo "$as_me: failed program was:" >&5 | ||
25799 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25800 | |||
25801 | ( exit $ac_status ) | ||
25802 | if test "$ac_cv_type_long_long_int" = yes; then | ||
25803 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) | ||
25804 | See \`config.log' for more details." >&5 | ||
25805 | echo "$as_me: error: cannot compute sizeof (long long int) | ||
25806 | See \`config.log' for more details." >&2;} | ||
25807 | { (exit 77); exit 77; }; } | ||
13585 | else | 25808 | else |
13586 | ac_cv_sizeof_long_long_int=0 | 25809 | ac_cv_sizeof_long_long_int=0 |
13587 | fi | 25810 | fi |
13588 | fi | 25811 | fi |
13589 | 25812 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | |
13590 | fi | 25813 | fi |
13591 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long_int" >&5 | 25814 | rm -f conftest.val |
13592 | $as_echo "$ac_cv_sizeof_long_long_int" >&6; } | 25815 | fi |
25816 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 | ||
25817 | echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; } | ||
13593 | 25818 | ||
13594 | 25819 | ||
13595 | 25820 | ||
@@ -13606,16 +25831,20 @@ fi | |||
13606 | 25831 | ||
13607 | # compute LLONG_MIN and LLONG_MAX if we don't know them. | 25832 | # compute LLONG_MIN and LLONG_MAX if we don't know them. |
13608 | if test -z "$have_llong_max"; then | 25833 | if test -z "$have_llong_max"; then |
13609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for max value of long long" >&5 | 25834 | { echo "$as_me:$LINENO: checking for max value of long long" >&5 |
13610 | $as_echo_n "checking for max value of long long... " >&6; } | 25835 | echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6; } |
13611 | if test "$cross_compiling" = yes; then : | 25836 | if test "$cross_compiling" = yes; then |
13612 | 25837 | ||
13613 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5 | 25838 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 |
13614 | $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;} | 25839 | echo "$as_me: WARNING: cross compiling: not checking" >&2;} |
13615 | 25840 | ||
13616 | 25841 | ||
13617 | else | 25842 | else |
13618 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25843 | cat >conftest.$ac_ext <<_ACEOF |
25844 | /* confdefs.h. */ | ||
25845 | _ACEOF | ||
25846 | cat confdefs.h >>conftest.$ac_ext | ||
25847 | cat >>conftest.$ac_ext <<_ACEOF | ||
13619 | /* end confdefs.h. */ | 25848 | /* end confdefs.h. */ |
13620 | 25849 | ||
13621 | #include <stdio.h> | 25850 | #include <stdio.h> |
@@ -13696,22 +25925,41 @@ main () | |||
13696 | return 0; | 25925 | return 0; |
13697 | } | 25926 | } |
13698 | _ACEOF | 25927 | _ACEOF |
13699 | if ac_fn_c_try_run "$LINENO"; then : | 25928 | rm -f conftest$ac_exeext |
25929 | if { (ac_try="$ac_link" | ||
25930 | case "(($ac_try" in | ||
25931 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25932 | *) ac_try_echo=$ac_try;; | ||
25933 | esac | ||
25934 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25935 | (eval "$ac_link") 2>&5 | ||
25936 | ac_status=$? | ||
25937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25938 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
25939 | { (case "(($ac_try" in | ||
25940 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
25941 | *) ac_try_echo=$ac_try;; | ||
25942 | esac | ||
25943 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
25944 | (eval "$ac_try") 2>&5 | ||
25945 | ac_status=$? | ||
25946 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
25947 | (exit $ac_status); }; }; then | ||
13700 | 25948 | ||
13701 | llong_min=`$AWK '{print $1}' conftest.llminmax` | 25949 | llong_min=`$AWK '{print $1}' conftest.llminmax` |
13702 | llong_max=`$AWK '{print $2}' conftest.llminmax` | 25950 | llong_max=`$AWK '{print $2}' conftest.llminmax` |
13703 | 25951 | ||
13704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llong_max" >&5 | 25952 | { echo "$as_me:$LINENO: result: $llong_max" >&5 |
13705 | $as_echo "$llong_max" >&6; } | 25953 | echo "${ECHO_T}$llong_max" >&6; } |
13706 | 25954 | ||
13707 | cat >>confdefs.h <<_ACEOF | 25955 | cat >>confdefs.h <<_ACEOF |
13708 | #define LLONG_MAX ${llong_max}LL | 25956 | #define LLONG_MAX ${llong_max}LL |
13709 | _ACEOF | 25957 | _ACEOF |
13710 | 25958 | ||
13711 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for min value of long long" >&5 | 25959 | { echo "$as_me:$LINENO: checking for min value of long long" >&5 |
13712 | $as_echo_n "checking for min value of long long... " >&6; } | 25960 | echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6; } |
13713 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $llong_min" >&5 | 25961 | { echo "$as_me:$LINENO: result: $llong_min" >&5 |
13714 | $as_echo "$llong_min" >&6; } | 25962 | echo "${ECHO_T}$llong_min" >&6; } |
13715 | 25963 | ||
13716 | cat >>confdefs.h <<_ACEOF | 25964 | cat >>confdefs.h <<_ACEOF |
13717 | #define LLONG_MIN ${llong_min}LL | 25965 | #define LLONG_MIN ${llong_min}LL |
@@ -13719,26 +25967,35 @@ _ACEOF | |||
13719 | 25967 | ||
13720 | 25968 | ||
13721 | else | 25969 | else |
25970 | echo "$as_me: program exited with status $ac_status" >&5 | ||
25971 | echo "$as_me: failed program was:" >&5 | ||
25972 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
25973 | |||
25974 | ( exit $ac_status ) | ||
13722 | 25975 | ||
13723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 | 25976 | { echo "$as_me:$LINENO: result: not found" >&5 |
13724 | $as_echo "not found" >&6; } | 25977 | echo "${ECHO_T}not found" >&6; } |
13725 | 25978 | ||
13726 | fi | 25979 | fi |
13727 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 25980 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13728 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
13729 | fi | 25981 | fi |
13730 | 25982 | ||
25983 | |||
13731 | fi | 25984 | fi |
13732 | 25985 | ||
13733 | 25986 | ||
13734 | # More checks for data types | 25987 | # More checks for data types |
13735 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int type" >&5 | 25988 | { echo "$as_me:$LINENO: checking for u_int type" >&5 |
13736 | $as_echo_n "checking for u_int type... " >&6; } | 25989 | echo $ECHO_N "checking for u_int type... $ECHO_C" >&6; } |
13737 | if ${ac_cv_have_u_int+:} false; then : | 25990 | if test "${ac_cv_have_u_int+set}" = set; then |
13738 | $as_echo_n "(cached) " >&6 | 25991 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13739 | else | 25992 | else |
13740 | 25993 | ||
13741 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 25994 | cat >conftest.$ac_ext <<_ACEOF |
25995 | /* confdefs.h. */ | ||
25996 | _ACEOF | ||
25997 | cat confdefs.h >>conftest.$ac_ext | ||
25998 | cat >>conftest.$ac_ext <<_ACEOF | ||
13742 | /* end confdefs.h. */ | 25999 | /* end confdefs.h. */ |
13743 | #include <sys/types.h> | 26000 | #include <sys/types.h> |
13744 | int | 26001 | int |
@@ -13749,31 +26006,57 @@ main () | |||
13749 | return 0; | 26006 | return 0; |
13750 | } | 26007 | } |
13751 | _ACEOF | 26008 | _ACEOF |
13752 | if ac_fn_c_try_compile "$LINENO"; then : | 26009 | rm -f conftest.$ac_objext |
26010 | if { (ac_try="$ac_compile" | ||
26011 | case "(($ac_try" in | ||
26012 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26013 | *) ac_try_echo=$ac_try;; | ||
26014 | esac | ||
26015 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26016 | (eval "$ac_compile") 2>conftest.er1 | ||
26017 | ac_status=$? | ||
26018 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26019 | rm -f conftest.er1 | ||
26020 | cat conftest.err >&5 | ||
26021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26022 | (exit $ac_status); } && { | ||
26023 | test -z "$ac_c_werror_flag" || | ||
26024 | test ! -s conftest.err | ||
26025 | } && test -s conftest.$ac_objext; then | ||
13753 | ac_cv_have_u_int="yes" | 26026 | ac_cv_have_u_int="yes" |
13754 | else | 26027 | else |
13755 | ac_cv_have_u_int="no" | 26028 | echo "$as_me: failed program was:" >&5 |
26029 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26030 | |||
26031 | ac_cv_have_u_int="no" | ||
13756 | 26032 | ||
13757 | fi | 26033 | fi |
26034 | |||
13758 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26035 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13759 | 26036 | ||
13760 | fi | 26037 | fi |
13761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_int" >&5 | 26038 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 |
13762 | $as_echo "$ac_cv_have_u_int" >&6; } | 26039 | echo "${ECHO_T}$ac_cv_have_u_int" >&6; } |
13763 | if test "x$ac_cv_have_u_int" = "xyes" ; then | 26040 | if test "x$ac_cv_have_u_int" = "xyes" ; then |
13764 | 26041 | ||
13765 | $as_echo "#define HAVE_U_INT 1" >>confdefs.h | 26042 | cat >>confdefs.h <<\_ACEOF |
26043 | #define HAVE_U_INT 1 | ||
26044 | _ACEOF | ||
13766 | 26045 | ||
13767 | have_u_int=1 | 26046 | have_u_int=1 |
13768 | fi | 26047 | fi |
13769 | 26048 | ||
13770 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intXX_t types" >&5 | 26049 | { echo "$as_me:$LINENO: checking for intXX_t types" >&5 |
13771 | $as_echo_n "checking for intXX_t types... " >&6; } | 26050 | echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6; } |
13772 | if ${ac_cv_have_intxx_t+:} false; then : | 26051 | if test "${ac_cv_have_intxx_t+set}" = set; then |
13773 | $as_echo_n "(cached) " >&6 | 26052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13774 | else | 26053 | else |
13775 | 26054 | ||
13776 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26055 | cat >conftest.$ac_ext <<_ACEOF |
26056 | /* confdefs.h. */ | ||
26057 | _ACEOF | ||
26058 | cat confdefs.h >>conftest.$ac_ext | ||
26059 | cat >>conftest.$ac_ext <<_ACEOF | ||
13777 | /* end confdefs.h. */ | 26060 | /* end confdefs.h. */ |
13778 | #include <sys/types.h> | 26061 | #include <sys/types.h> |
13779 | int | 26062 | int |
@@ -13784,20 +26067,42 @@ main () | |||
13784 | return 0; | 26067 | return 0; |
13785 | } | 26068 | } |
13786 | _ACEOF | 26069 | _ACEOF |
13787 | if ac_fn_c_try_compile "$LINENO"; then : | 26070 | rm -f conftest.$ac_objext |
26071 | if { (ac_try="$ac_compile" | ||
26072 | case "(($ac_try" in | ||
26073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26074 | *) ac_try_echo=$ac_try;; | ||
26075 | esac | ||
26076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26077 | (eval "$ac_compile") 2>conftest.er1 | ||
26078 | ac_status=$? | ||
26079 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26080 | rm -f conftest.er1 | ||
26081 | cat conftest.err >&5 | ||
26082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26083 | (exit $ac_status); } && { | ||
26084 | test -z "$ac_c_werror_flag" || | ||
26085 | test ! -s conftest.err | ||
26086 | } && test -s conftest.$ac_objext; then | ||
13788 | ac_cv_have_intxx_t="yes" | 26087 | ac_cv_have_intxx_t="yes" |
13789 | else | 26088 | else |
13790 | ac_cv_have_intxx_t="no" | 26089 | echo "$as_me: failed program was:" >&5 |
26090 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26091 | |||
26092 | ac_cv_have_intxx_t="no" | ||
13791 | 26093 | ||
13792 | fi | 26094 | fi |
26095 | |||
13793 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26096 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13794 | 26097 | ||
13795 | fi | 26098 | fi |
13796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_intxx_t" >&5 | 26099 | { echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 |
13797 | $as_echo "$ac_cv_have_intxx_t" >&6; } | 26100 | echo "${ECHO_T}$ac_cv_have_intxx_t" >&6; } |
13798 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then | 26101 | if test "x$ac_cv_have_intxx_t" = "xyes" ; then |
13799 | 26102 | ||
13800 | $as_echo "#define HAVE_INTXX_T 1" >>confdefs.h | 26103 | cat >>confdefs.h <<\_ACEOF |
26104 | #define HAVE_INTXX_T 1 | ||
26105 | _ACEOF | ||
13801 | 26106 | ||
13802 | have_intxx_t=1 | 26107 | have_intxx_t=1 |
13803 | fi | 26108 | fi |
@@ -13805,9 +26110,13 @@ fi | |||
13805 | if (test -z "$have_intxx_t" && \ | 26110 | if (test -z "$have_intxx_t" && \ |
13806 | test "x$ac_cv_header_stdint_h" = "xyes") | 26111 | test "x$ac_cv_header_stdint_h" = "xyes") |
13807 | then | 26112 | then |
13808 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intXX_t types in stdint.h" >&5 | 26113 | { echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 |
13809 | $as_echo_n "checking for intXX_t types in stdint.h... " >&6; } | 26114 | echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6; } |
13810 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26115 | cat >conftest.$ac_ext <<_ACEOF |
26116 | /* confdefs.h. */ | ||
26117 | _ACEOF | ||
26118 | cat confdefs.h >>conftest.$ac_ext | ||
26119 | cat >>conftest.$ac_ext <<_ACEOF | ||
13811 | /* end confdefs.h. */ | 26120 | /* end confdefs.h. */ |
13812 | #include <stdint.h> | 26121 | #include <stdint.h> |
13813 | int | 26122 | int |
@@ -13818,28 +26127,54 @@ main () | |||
13818 | return 0; | 26127 | return 0; |
13819 | } | 26128 | } |
13820 | _ACEOF | 26129 | _ACEOF |
13821 | if ac_fn_c_try_compile "$LINENO"; then : | 26130 | rm -f conftest.$ac_objext |
26131 | if { (ac_try="$ac_compile" | ||
26132 | case "(($ac_try" in | ||
26133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26134 | *) ac_try_echo=$ac_try;; | ||
26135 | esac | ||
26136 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26137 | (eval "$ac_compile") 2>conftest.er1 | ||
26138 | ac_status=$? | ||
26139 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26140 | rm -f conftest.er1 | ||
26141 | cat conftest.err >&5 | ||
26142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26143 | (exit $ac_status); } && { | ||
26144 | test -z "$ac_c_werror_flag" || | ||
26145 | test ! -s conftest.err | ||
26146 | } && test -s conftest.$ac_objext; then | ||
13822 | 26147 | ||
13823 | $as_echo "#define HAVE_INTXX_T 1" >>confdefs.h | 26148 | cat >>confdefs.h <<\_ACEOF |
26149 | #define HAVE_INTXX_T 1 | ||
26150 | _ACEOF | ||
13824 | 26151 | ||
13825 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 26152 | { echo "$as_me:$LINENO: result: yes" >&5 |
13826 | $as_echo "yes" >&6; } | 26153 | echo "${ECHO_T}yes" >&6; } |
13827 | 26154 | ||
13828 | else | 26155 | else |
13829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 26156 | echo "$as_me: failed program was:" >&5 |
13830 | $as_echo "no" >&6; } | 26157 | sed 's/^/| /' conftest.$ac_ext >&5 |
26158 | |||
26159 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26160 | echo "${ECHO_T}no" >&6; } | ||
13831 | 26161 | ||
13832 | fi | 26162 | fi |
26163 | |||
13833 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26164 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13834 | fi | 26165 | fi |
13835 | 26166 | ||
13836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t type" >&5 | 26167 | { echo "$as_me:$LINENO: checking for int64_t type" >&5 |
13837 | $as_echo_n "checking for int64_t type... " >&6; } | 26168 | echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6; } |
13838 | if ${ac_cv_have_int64_t+:} false; then : | 26169 | if test "${ac_cv_have_int64_t+set}" = set; then |
13839 | $as_echo_n "(cached) " >&6 | 26170 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13840 | else | 26171 | else |
13841 | 26172 | ||
13842 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26173 | cat >conftest.$ac_ext <<_ACEOF |
26174 | /* confdefs.h. */ | ||
26175 | _ACEOF | ||
26176 | cat confdefs.h >>conftest.$ac_ext | ||
26177 | cat >>conftest.$ac_ext <<_ACEOF | ||
13843 | /* end confdefs.h. */ | 26178 | /* end confdefs.h. */ |
13844 | 26179 | ||
13845 | #include <sys/types.h> | 26180 | #include <sys/types.h> |
@@ -13861,30 +26196,56 @@ int64_t a; a = 1; | |||
13861 | return 0; | 26196 | return 0; |
13862 | } | 26197 | } |
13863 | _ACEOF | 26198 | _ACEOF |
13864 | if ac_fn_c_try_compile "$LINENO"; then : | 26199 | rm -f conftest.$ac_objext |
26200 | if { (ac_try="$ac_compile" | ||
26201 | case "(($ac_try" in | ||
26202 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26203 | *) ac_try_echo=$ac_try;; | ||
26204 | esac | ||
26205 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26206 | (eval "$ac_compile") 2>conftest.er1 | ||
26207 | ac_status=$? | ||
26208 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26209 | rm -f conftest.er1 | ||
26210 | cat conftest.err >&5 | ||
26211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26212 | (exit $ac_status); } && { | ||
26213 | test -z "$ac_c_werror_flag" || | ||
26214 | test ! -s conftest.err | ||
26215 | } && test -s conftest.$ac_objext; then | ||
13865 | ac_cv_have_int64_t="yes" | 26216 | ac_cv_have_int64_t="yes" |
13866 | else | 26217 | else |
13867 | ac_cv_have_int64_t="no" | 26218 | echo "$as_me: failed program was:" >&5 |
26219 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26220 | |||
26221 | ac_cv_have_int64_t="no" | ||
13868 | 26222 | ||
13869 | fi | 26223 | fi |
26224 | |||
13870 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26225 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13871 | 26226 | ||
13872 | fi | 26227 | fi |
13873 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_int64_t" >&5 | 26228 | { echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 |
13874 | $as_echo "$ac_cv_have_int64_t" >&6; } | 26229 | echo "${ECHO_T}$ac_cv_have_int64_t" >&6; } |
13875 | if test "x$ac_cv_have_int64_t" = "xyes" ; then | 26230 | if test "x$ac_cv_have_int64_t" = "xyes" ; then |
13876 | 26231 | ||
13877 | $as_echo "#define HAVE_INT64_T 1" >>confdefs.h | 26232 | cat >>confdefs.h <<\_ACEOF |
26233 | #define HAVE_INT64_T 1 | ||
26234 | _ACEOF | ||
13878 | 26235 | ||
13879 | fi | 26236 | fi |
13880 | 26237 | ||
13881 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_intXX_t types" >&5 | 26238 | { echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 |
13882 | $as_echo_n "checking for u_intXX_t types... " >&6; } | 26239 | echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6; } |
13883 | if ${ac_cv_have_u_intxx_t+:} false; then : | 26240 | if test "${ac_cv_have_u_intxx_t+set}" = set; then |
13884 | $as_echo_n "(cached) " >&6 | 26241 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13885 | else | 26242 | else |
13886 | 26243 | ||
13887 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26244 | cat >conftest.$ac_ext <<_ACEOF |
26245 | /* confdefs.h. */ | ||
26246 | _ACEOF | ||
26247 | cat confdefs.h >>conftest.$ac_ext | ||
26248 | cat >>conftest.$ac_ext <<_ACEOF | ||
13888 | /* end confdefs.h. */ | 26249 | /* end confdefs.h. */ |
13889 | #include <sys/types.h> | 26250 | #include <sys/types.h> |
13890 | int | 26251 | int |
@@ -13895,28 +26256,54 @@ main () | |||
13895 | return 0; | 26256 | return 0; |
13896 | } | 26257 | } |
13897 | _ACEOF | 26258 | _ACEOF |
13898 | if ac_fn_c_try_compile "$LINENO"; then : | 26259 | rm -f conftest.$ac_objext |
26260 | if { (ac_try="$ac_compile" | ||
26261 | case "(($ac_try" in | ||
26262 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26263 | *) ac_try_echo=$ac_try;; | ||
26264 | esac | ||
26265 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26266 | (eval "$ac_compile") 2>conftest.er1 | ||
26267 | ac_status=$? | ||
26268 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26269 | rm -f conftest.er1 | ||
26270 | cat conftest.err >&5 | ||
26271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26272 | (exit $ac_status); } && { | ||
26273 | test -z "$ac_c_werror_flag" || | ||
26274 | test ! -s conftest.err | ||
26275 | } && test -s conftest.$ac_objext; then | ||
13899 | ac_cv_have_u_intxx_t="yes" | 26276 | ac_cv_have_u_intxx_t="yes" |
13900 | else | 26277 | else |
13901 | ac_cv_have_u_intxx_t="no" | 26278 | echo "$as_me: failed program was:" >&5 |
26279 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26280 | |||
26281 | ac_cv_have_u_intxx_t="no" | ||
13902 | 26282 | ||
13903 | fi | 26283 | fi |
26284 | |||
13904 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26285 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13905 | 26286 | ||
13906 | fi | 26287 | fi |
13907 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_intxx_t" >&5 | 26288 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 |
13908 | $as_echo "$ac_cv_have_u_intxx_t" >&6; } | 26289 | echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6; } |
13909 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then | 26290 | if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then |
13910 | 26291 | ||
13911 | $as_echo "#define HAVE_U_INTXX_T 1" >>confdefs.h | 26292 | cat >>confdefs.h <<\_ACEOF |
26293 | #define HAVE_U_INTXX_T 1 | ||
26294 | _ACEOF | ||
13912 | 26295 | ||
13913 | have_u_intxx_t=1 | 26296 | have_u_intxx_t=1 |
13914 | fi | 26297 | fi |
13915 | 26298 | ||
13916 | if test -z "$have_u_intxx_t" ; then | 26299 | if test -z "$have_u_intxx_t" ; then |
13917 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_intXX_t types in sys/socket.h" >&5 | 26300 | { echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 |
13918 | $as_echo_n "checking for u_intXX_t types in sys/socket.h... " >&6; } | 26301 | echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6; } |
13919 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26302 | cat >conftest.$ac_ext <<_ACEOF |
26303 | /* confdefs.h. */ | ||
26304 | _ACEOF | ||
26305 | cat confdefs.h >>conftest.$ac_ext | ||
26306 | cat >>conftest.$ac_ext <<_ACEOF | ||
13920 | /* end confdefs.h. */ | 26307 | /* end confdefs.h. */ |
13921 | #include <sys/socket.h> | 26308 | #include <sys/socket.h> |
13922 | int | 26309 | int |
@@ -13927,28 +26314,54 @@ main () | |||
13927 | return 0; | 26314 | return 0; |
13928 | } | 26315 | } |
13929 | _ACEOF | 26316 | _ACEOF |
13930 | if ac_fn_c_try_compile "$LINENO"; then : | 26317 | rm -f conftest.$ac_objext |
26318 | if { (ac_try="$ac_compile" | ||
26319 | case "(($ac_try" in | ||
26320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26321 | *) ac_try_echo=$ac_try;; | ||
26322 | esac | ||
26323 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26324 | (eval "$ac_compile") 2>conftest.er1 | ||
26325 | ac_status=$? | ||
26326 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26327 | rm -f conftest.er1 | ||
26328 | cat conftest.err >&5 | ||
26329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26330 | (exit $ac_status); } && { | ||
26331 | test -z "$ac_c_werror_flag" || | ||
26332 | test ! -s conftest.err | ||
26333 | } && test -s conftest.$ac_objext; then | ||
13931 | 26334 | ||
13932 | $as_echo "#define HAVE_U_INTXX_T 1" >>confdefs.h | 26335 | cat >>confdefs.h <<\_ACEOF |
26336 | #define HAVE_U_INTXX_T 1 | ||
26337 | _ACEOF | ||
13933 | 26338 | ||
13934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 26339 | { echo "$as_me:$LINENO: result: yes" >&5 |
13935 | $as_echo "yes" >&6; } | 26340 | echo "${ECHO_T}yes" >&6; } |
13936 | 26341 | ||
13937 | else | 26342 | else |
13938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 26343 | echo "$as_me: failed program was:" >&5 |
13939 | $as_echo "no" >&6; } | 26344 | sed 's/^/| /' conftest.$ac_ext >&5 |
26345 | |||
26346 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26347 | echo "${ECHO_T}no" >&6; } | ||
13940 | 26348 | ||
13941 | fi | 26349 | fi |
26350 | |||
13942 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26351 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13943 | fi | 26352 | fi |
13944 | 26353 | ||
13945 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t types" >&5 | 26354 | { echo "$as_me:$LINENO: checking for u_int64_t types" >&5 |
13946 | $as_echo_n "checking for u_int64_t types... " >&6; } | 26355 | echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6; } |
13947 | if ${ac_cv_have_u_int64_t+:} false; then : | 26356 | if test "${ac_cv_have_u_int64_t+set}" = set; then |
13948 | $as_echo_n "(cached) " >&6 | 26357 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13949 | else | 26358 | else |
13950 | 26359 | ||
13951 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26360 | cat >conftest.$ac_ext <<_ACEOF |
26361 | /* confdefs.h. */ | ||
26362 | _ACEOF | ||
26363 | cat confdefs.h >>conftest.$ac_ext | ||
26364 | cat >>conftest.$ac_ext <<_ACEOF | ||
13952 | /* end confdefs.h. */ | 26365 | /* end confdefs.h. */ |
13953 | #include <sys/types.h> | 26366 | #include <sys/types.h> |
13954 | int | 26367 | int |
@@ -13959,20 +26372,42 @@ main () | |||
13959 | return 0; | 26372 | return 0; |
13960 | } | 26373 | } |
13961 | _ACEOF | 26374 | _ACEOF |
13962 | if ac_fn_c_try_compile "$LINENO"; then : | 26375 | rm -f conftest.$ac_objext |
26376 | if { (ac_try="$ac_compile" | ||
26377 | case "(($ac_try" in | ||
26378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26379 | *) ac_try_echo=$ac_try;; | ||
26380 | esac | ||
26381 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26382 | (eval "$ac_compile") 2>conftest.er1 | ||
26383 | ac_status=$? | ||
26384 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26385 | rm -f conftest.er1 | ||
26386 | cat conftest.err >&5 | ||
26387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26388 | (exit $ac_status); } && { | ||
26389 | test -z "$ac_c_werror_flag" || | ||
26390 | test ! -s conftest.err | ||
26391 | } && test -s conftest.$ac_objext; then | ||
13963 | ac_cv_have_u_int64_t="yes" | 26392 | ac_cv_have_u_int64_t="yes" |
13964 | else | 26393 | else |
13965 | ac_cv_have_u_int64_t="no" | 26394 | echo "$as_me: failed program was:" >&5 |
26395 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26396 | |||
26397 | ac_cv_have_u_int64_t="no" | ||
13966 | 26398 | ||
13967 | fi | 26399 | fi |
26400 | |||
13968 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26401 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13969 | 26402 | ||
13970 | fi | 26403 | fi |
13971 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_int64_t" >&5 | 26404 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 |
13972 | $as_echo "$ac_cv_have_u_int64_t" >&6; } | 26405 | echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6; } |
13973 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then | 26406 | if test "x$ac_cv_have_u_int64_t" = "xyes" ; then |
13974 | 26407 | ||
13975 | $as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h | 26408 | cat >>confdefs.h <<\_ACEOF |
26409 | #define HAVE_U_INT64_T 1 | ||
26410 | _ACEOF | ||
13976 | 26411 | ||
13977 | have_u_int64_t=1 | 26412 | have_u_int64_t=1 |
13978 | fi | 26413 | fi |
@@ -13980,9 +26415,13 @@ fi | |||
13980 | if (test -z "$have_u_int64_t" && \ | 26415 | if (test -z "$have_u_int64_t" && \ |
13981 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 26416 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
13982 | then | 26417 | then |
13983 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t type in sys/bitypes.h" >&5 | 26418 | { echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 |
13984 | $as_echo_n "checking for u_int64_t type in sys/bitypes.h... " >&6; } | 26419 | echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6; } |
13985 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26420 | cat >conftest.$ac_ext <<_ACEOF |
26421 | /* confdefs.h. */ | ||
26422 | _ACEOF | ||
26423 | cat confdefs.h >>conftest.$ac_ext | ||
26424 | cat >>conftest.$ac_ext <<_ACEOF | ||
13986 | /* end confdefs.h. */ | 26425 | /* end confdefs.h. */ |
13987 | #include <sys/bitypes.h> | 26426 | #include <sys/bitypes.h> |
13988 | int | 26427 | int |
@@ -13993,29 +26432,55 @@ main () | |||
13993 | return 0; | 26432 | return 0; |
13994 | } | 26433 | } |
13995 | _ACEOF | 26434 | _ACEOF |
13996 | if ac_fn_c_try_compile "$LINENO"; then : | 26435 | rm -f conftest.$ac_objext |
26436 | if { (ac_try="$ac_compile" | ||
26437 | case "(($ac_try" in | ||
26438 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26439 | *) ac_try_echo=$ac_try;; | ||
26440 | esac | ||
26441 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26442 | (eval "$ac_compile") 2>conftest.er1 | ||
26443 | ac_status=$? | ||
26444 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26445 | rm -f conftest.er1 | ||
26446 | cat conftest.err >&5 | ||
26447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26448 | (exit $ac_status); } && { | ||
26449 | test -z "$ac_c_werror_flag" || | ||
26450 | test ! -s conftest.err | ||
26451 | } && test -s conftest.$ac_objext; then | ||
13997 | 26452 | ||
13998 | $as_echo "#define HAVE_U_INT64_T 1" >>confdefs.h | 26453 | cat >>confdefs.h <<\_ACEOF |
26454 | #define HAVE_U_INT64_T 1 | ||
26455 | _ACEOF | ||
13999 | 26456 | ||
14000 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 26457 | { echo "$as_me:$LINENO: result: yes" >&5 |
14001 | $as_echo "yes" >&6; } | 26458 | echo "${ECHO_T}yes" >&6; } |
14002 | 26459 | ||
14003 | else | 26460 | else |
14004 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 26461 | echo "$as_me: failed program was:" >&5 |
14005 | $as_echo "no" >&6; } | 26462 | sed 's/^/| /' conftest.$ac_ext >&5 |
26463 | |||
26464 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26465 | echo "${ECHO_T}no" >&6; } | ||
14006 | 26466 | ||
14007 | fi | 26467 | fi |
26468 | |||
14008 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26469 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14009 | fi | 26470 | fi |
14010 | 26471 | ||
14011 | if test -z "$have_u_intxx_t" ; then | 26472 | if test -z "$have_u_intxx_t" ; then |
14012 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t types" >&5 | 26473 | { echo "$as_me:$LINENO: checking for uintXX_t types" >&5 |
14013 | $as_echo_n "checking for uintXX_t types... " >&6; } | 26474 | echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6; } |
14014 | if ${ac_cv_have_uintxx_t+:} false; then : | 26475 | if test "${ac_cv_have_uintxx_t+set}" = set; then |
14015 | $as_echo_n "(cached) " >&6 | 26476 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14016 | else | 26477 | else |
14017 | 26478 | ||
14018 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26479 | cat >conftest.$ac_ext <<_ACEOF |
26480 | /* confdefs.h. */ | ||
26481 | _ACEOF | ||
26482 | cat confdefs.h >>conftest.$ac_ext | ||
26483 | cat >>conftest.$ac_ext <<_ACEOF | ||
14019 | /* end confdefs.h. */ | 26484 | /* end confdefs.h. */ |
14020 | 26485 | ||
14021 | #include <sys/types.h> | 26486 | #include <sys/types.h> |
@@ -14033,20 +26498,42 @@ main () | |||
14033 | return 0; | 26498 | return 0; |
14034 | } | 26499 | } |
14035 | _ACEOF | 26500 | _ACEOF |
14036 | if ac_fn_c_try_compile "$LINENO"; then : | 26501 | rm -f conftest.$ac_objext |
26502 | if { (ac_try="$ac_compile" | ||
26503 | case "(($ac_try" in | ||
26504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26505 | *) ac_try_echo=$ac_try;; | ||
26506 | esac | ||
26507 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26508 | (eval "$ac_compile") 2>conftest.er1 | ||
26509 | ac_status=$? | ||
26510 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26511 | rm -f conftest.er1 | ||
26512 | cat conftest.err >&5 | ||
26513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26514 | (exit $ac_status); } && { | ||
26515 | test -z "$ac_c_werror_flag" || | ||
26516 | test ! -s conftest.err | ||
26517 | } && test -s conftest.$ac_objext; then | ||
14037 | ac_cv_have_uintxx_t="yes" | 26518 | ac_cv_have_uintxx_t="yes" |
14038 | else | 26519 | else |
14039 | ac_cv_have_uintxx_t="no" | 26520 | echo "$as_me: failed program was:" >&5 |
26521 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26522 | |||
26523 | ac_cv_have_uintxx_t="no" | ||
14040 | 26524 | ||
14041 | fi | 26525 | fi |
26526 | |||
14042 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26527 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14043 | 26528 | ||
14044 | fi | 26529 | fi |
14045 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_uintxx_t" >&5 | 26530 | { echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 |
14046 | $as_echo "$ac_cv_have_uintxx_t" >&6; } | 26531 | echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6; } |
14047 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then | 26532 | if test "x$ac_cv_have_uintxx_t" = "xyes" ; then |
14048 | 26533 | ||
14049 | $as_echo "#define HAVE_UINTXX_T 1" >>confdefs.h | 26534 | cat >>confdefs.h <<\_ACEOF |
26535 | #define HAVE_UINTXX_T 1 | ||
26536 | _ACEOF | ||
14050 | 26537 | ||
14051 | fi | 26538 | fi |
14052 | fi | 26539 | fi |
@@ -14054,9 +26541,13 @@ fi | |||
14054 | if (test -z "$have_uintxx_t" && \ | 26541 | if (test -z "$have_uintxx_t" && \ |
14055 | test "x$ac_cv_header_stdint_h" = "xyes") | 26542 | test "x$ac_cv_header_stdint_h" = "xyes") |
14056 | then | 26543 | then |
14057 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t types in stdint.h" >&5 | 26544 | { echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 |
14058 | $as_echo_n "checking for uintXX_t types in stdint.h... " >&6; } | 26545 | echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6; } |
14059 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26546 | cat >conftest.$ac_ext <<_ACEOF |
26547 | /* confdefs.h. */ | ||
26548 | _ACEOF | ||
26549 | cat confdefs.h >>conftest.$ac_ext | ||
26550 | cat >>conftest.$ac_ext <<_ACEOF | ||
14060 | /* end confdefs.h. */ | 26551 | /* end confdefs.h. */ |
14061 | #include <stdint.h> | 26552 | #include <stdint.h> |
14062 | int | 26553 | int |
@@ -14067,27 +26558,53 @@ main () | |||
14067 | return 0; | 26558 | return 0; |
14068 | } | 26559 | } |
14069 | _ACEOF | 26560 | _ACEOF |
14070 | if ac_fn_c_try_compile "$LINENO"; then : | 26561 | rm -f conftest.$ac_objext |
26562 | if { (ac_try="$ac_compile" | ||
26563 | case "(($ac_try" in | ||
26564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26565 | *) ac_try_echo=$ac_try;; | ||
26566 | esac | ||
26567 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26568 | (eval "$ac_compile") 2>conftest.er1 | ||
26569 | ac_status=$? | ||
26570 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26571 | rm -f conftest.er1 | ||
26572 | cat conftest.err >&5 | ||
26573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26574 | (exit $ac_status); } && { | ||
26575 | test -z "$ac_c_werror_flag" || | ||
26576 | test ! -s conftest.err | ||
26577 | } && test -s conftest.$ac_objext; then | ||
14071 | 26578 | ||
14072 | $as_echo "#define HAVE_UINTXX_T 1" >>confdefs.h | 26579 | cat >>confdefs.h <<\_ACEOF |
26580 | #define HAVE_UINTXX_T 1 | ||
26581 | _ACEOF | ||
14073 | 26582 | ||
14074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 26583 | { echo "$as_me:$LINENO: result: yes" >&5 |
14075 | $as_echo "yes" >&6; } | 26584 | echo "${ECHO_T}yes" >&6; } |
14076 | 26585 | ||
14077 | else | 26586 | else |
14078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 26587 | echo "$as_me: failed program was:" >&5 |
14079 | $as_echo "no" >&6; } | 26588 | sed 's/^/| /' conftest.$ac_ext >&5 |
26589 | |||
26590 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26591 | echo "${ECHO_T}no" >&6; } | ||
14080 | 26592 | ||
14081 | fi | 26593 | fi |
26594 | |||
14082 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26595 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14083 | fi | 26596 | fi |
14084 | 26597 | ||
14085 | if (test -z "$have_uintxx_t" && \ | 26598 | if (test -z "$have_uintxx_t" && \ |
14086 | test "x$ac_cv_header_inttypes_h" = "xyes") | 26599 | test "x$ac_cv_header_inttypes_h" = "xyes") |
14087 | then | 26600 | then |
14088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uintXX_t types in inttypes.h" >&5 | 26601 | { echo "$as_me:$LINENO: checking for uintXX_t types in inttypes.h" >&5 |
14089 | $as_echo_n "checking for uintXX_t types in inttypes.h... " >&6; } | 26602 | echo $ECHO_N "checking for uintXX_t types in inttypes.h... $ECHO_C" >&6; } |
14090 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26603 | cat >conftest.$ac_ext <<_ACEOF |
26604 | /* confdefs.h. */ | ||
26605 | _ACEOF | ||
26606 | cat confdefs.h >>conftest.$ac_ext | ||
26607 | cat >>conftest.$ac_ext <<_ACEOF | ||
14091 | /* end confdefs.h. */ | 26608 | /* end confdefs.h. */ |
14092 | #include <inttypes.h> | 26609 | #include <inttypes.h> |
14093 | int | 26610 | int |
@@ -14098,27 +26615,53 @@ main () | |||
14098 | return 0; | 26615 | return 0; |
14099 | } | 26616 | } |
14100 | _ACEOF | 26617 | _ACEOF |
14101 | if ac_fn_c_try_compile "$LINENO"; then : | 26618 | rm -f conftest.$ac_objext |
26619 | if { (ac_try="$ac_compile" | ||
26620 | case "(($ac_try" in | ||
26621 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26622 | *) ac_try_echo=$ac_try;; | ||
26623 | esac | ||
26624 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26625 | (eval "$ac_compile") 2>conftest.er1 | ||
26626 | ac_status=$? | ||
26627 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26628 | rm -f conftest.er1 | ||
26629 | cat conftest.err >&5 | ||
26630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26631 | (exit $ac_status); } && { | ||
26632 | test -z "$ac_c_werror_flag" || | ||
26633 | test ! -s conftest.err | ||
26634 | } && test -s conftest.$ac_objext; then | ||
14102 | 26635 | ||
14103 | $as_echo "#define HAVE_UINTXX_T 1" >>confdefs.h | 26636 | cat >>confdefs.h <<\_ACEOF |
26637 | #define HAVE_UINTXX_T 1 | ||
26638 | _ACEOF | ||
14104 | 26639 | ||
14105 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 26640 | { echo "$as_me:$LINENO: result: yes" >&5 |
14106 | $as_echo "yes" >&6; } | 26641 | echo "${ECHO_T}yes" >&6; } |
14107 | 26642 | ||
14108 | else | 26643 | else |
14109 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 26644 | echo "$as_me: failed program was:" >&5 |
14110 | $as_echo "no" >&6; } | 26645 | sed 's/^/| /' conftest.$ac_ext >&5 |
26646 | |||
26647 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26648 | echo "${ECHO_T}no" >&6; } | ||
14111 | 26649 | ||
14112 | fi | 26650 | fi |
26651 | |||
14113 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26652 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14114 | fi | 26653 | fi |
14115 | 26654 | ||
14116 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ | 26655 | if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ |
14117 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") | 26656 | test "x$ac_cv_header_sys_bitypes_h" = "xyes") |
14118 | then | 26657 | then |
14119 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 | 26658 | { echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 |
14120 | $as_echo_n "checking for intXX_t and u_intXX_t types in sys/bitypes.h... " >&6; } | 26659 | echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6; } |
14121 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26660 | cat >conftest.$ac_ext <<_ACEOF |
26661 | /* confdefs.h. */ | ||
26662 | _ACEOF | ||
26663 | cat confdefs.h >>conftest.$ac_ext | ||
26664 | cat >>conftest.$ac_ext <<_ACEOF | ||
14122 | /* end confdefs.h. */ | 26665 | /* end confdefs.h. */ |
14123 | 26666 | ||
14124 | #include <sys/bitypes.h> | 26667 | #include <sys/bitypes.h> |
@@ -14135,31 +26678,59 @@ main () | |||
14135 | return 0; | 26678 | return 0; |
14136 | } | 26679 | } |
14137 | _ACEOF | 26680 | _ACEOF |
14138 | if ac_fn_c_try_compile "$LINENO"; then : | 26681 | rm -f conftest.$ac_objext |
26682 | if { (ac_try="$ac_compile" | ||
26683 | case "(($ac_try" in | ||
26684 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26685 | *) ac_try_echo=$ac_try;; | ||
26686 | esac | ||
26687 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26688 | (eval "$ac_compile") 2>conftest.er1 | ||
26689 | ac_status=$? | ||
26690 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26691 | rm -f conftest.er1 | ||
26692 | cat conftest.err >&5 | ||
26693 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26694 | (exit $ac_status); } && { | ||
26695 | test -z "$ac_c_werror_flag" || | ||
26696 | test ! -s conftest.err | ||
26697 | } && test -s conftest.$ac_objext; then | ||
14139 | 26698 | ||
14140 | $as_echo "#define HAVE_U_INTXX_T 1" >>confdefs.h | 26699 | cat >>confdefs.h <<\_ACEOF |
26700 | #define HAVE_U_INTXX_T 1 | ||
26701 | _ACEOF | ||
14141 | 26702 | ||
14142 | $as_echo "#define HAVE_INTXX_T 1" >>confdefs.h | 26703 | cat >>confdefs.h <<\_ACEOF |
26704 | #define HAVE_INTXX_T 1 | ||
26705 | _ACEOF | ||
14143 | 26706 | ||
14144 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 26707 | { echo "$as_me:$LINENO: result: yes" >&5 |
14145 | $as_echo "yes" >&6; } | 26708 | echo "${ECHO_T}yes" >&6; } |
14146 | 26709 | ||
14147 | else | 26710 | else |
14148 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 26711 | echo "$as_me: failed program was:" >&5 |
14149 | $as_echo "no" >&6; } | 26712 | sed 's/^/| /' conftest.$ac_ext >&5 |
26713 | |||
26714 | { echo "$as_me:$LINENO: result: no" >&5 | ||
26715 | echo "${ECHO_T}no" >&6; } | ||
14150 | 26716 | ||
14151 | fi | 26717 | fi |
26718 | |||
14152 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26719 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14153 | fi | 26720 | fi |
14154 | 26721 | ||
14155 | 26722 | ||
14156 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_char" >&5 | 26723 | { echo "$as_me:$LINENO: checking for u_char" >&5 |
14157 | $as_echo_n "checking for u_char... " >&6; } | 26724 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } |
14158 | if ${ac_cv_have_u_char+:} false; then : | 26725 | if test "${ac_cv_have_u_char+set}" = set; then |
14159 | $as_echo_n "(cached) " >&6 | 26726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14160 | else | 26727 | else |
14161 | 26728 | ||
14162 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26729 | cat >conftest.$ac_ext <<_ACEOF |
26730 | /* confdefs.h. */ | ||
26731 | _ACEOF | ||
26732 | cat confdefs.h >>conftest.$ac_ext | ||
26733 | cat >>conftest.$ac_ext <<_ACEOF | ||
14163 | /* end confdefs.h. */ | 26734 | /* end confdefs.h. */ |
14164 | #include <sys/types.h> | 26735 | #include <sys/types.h> |
14165 | int | 26736 | int |
@@ -14170,29 +26741,103 @@ main () | |||
14170 | return 0; | 26741 | return 0; |
14171 | } | 26742 | } |
14172 | _ACEOF | 26743 | _ACEOF |
14173 | if ac_fn_c_try_compile "$LINENO"; then : | 26744 | rm -f conftest.$ac_objext |
26745 | if { (ac_try="$ac_compile" | ||
26746 | case "(($ac_try" in | ||
26747 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26748 | *) ac_try_echo=$ac_try;; | ||
26749 | esac | ||
26750 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26751 | (eval "$ac_compile") 2>conftest.er1 | ||
26752 | ac_status=$? | ||
26753 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26754 | rm -f conftest.er1 | ||
26755 | cat conftest.err >&5 | ||
26756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26757 | (exit $ac_status); } && { | ||
26758 | test -z "$ac_c_werror_flag" || | ||
26759 | test ! -s conftest.err | ||
26760 | } && test -s conftest.$ac_objext; then | ||
14174 | ac_cv_have_u_char="yes" | 26761 | ac_cv_have_u_char="yes" |
14175 | else | 26762 | else |
14176 | ac_cv_have_u_char="no" | 26763 | echo "$as_me: failed program was:" >&5 |
26764 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26765 | |||
26766 | ac_cv_have_u_char="no" | ||
14177 | 26767 | ||
14178 | fi | 26768 | fi |
26769 | |||
14179 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 26770 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14180 | 26771 | ||
14181 | fi | 26772 | fi |
14182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_u_char" >&5 | 26773 | { echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 |
14183 | $as_echo "$ac_cv_have_u_char" >&6; } | 26774 | echo "${ECHO_T}$ac_cv_have_u_char" >&6; } |
14184 | if test "x$ac_cv_have_u_char" = "xyes" ; then | 26775 | if test "x$ac_cv_have_u_char" = "xyes" ; then |
14185 | 26776 | ||
14186 | $as_echo "#define HAVE_U_CHAR 1" >>confdefs.h | 26777 | cat >>confdefs.h <<\_ACEOF |
26778 | #define HAVE_U_CHAR 1 | ||
26779 | _ACEOF | ||
14187 | 26780 | ||
14188 | fi | 26781 | fi |
14189 | 26782 | ||
14190 | ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" " | 26783 | { echo "$as_me:$LINENO: checking for intmax_t" >&5 |
26784 | echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; } | ||
26785 | if test "${ac_cv_type_intmax_t+set}" = set; then | ||
26786 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
26787 | else | ||
26788 | cat >conftest.$ac_ext <<_ACEOF | ||
26789 | /* confdefs.h. */ | ||
26790 | _ACEOF | ||
26791 | cat confdefs.h >>conftest.$ac_ext | ||
26792 | cat >>conftest.$ac_ext <<_ACEOF | ||
26793 | /* end confdefs.h. */ | ||
26794 | |||
14191 | #include <sys/types.h> | 26795 | #include <sys/types.h> |
14192 | #include <stdint.h> | 26796 | #include <stdint.h> |
14193 | 26797 | ||
14194 | " | 26798 | |
14195 | if test "x$ac_cv_type_intmax_t" = xyes; then : | 26799 | typedef intmax_t ac__type_new_; |
26800 | int | ||
26801 | main () | ||
26802 | { | ||
26803 | if ((ac__type_new_ *) 0) | ||
26804 | return 0; | ||
26805 | if (sizeof (ac__type_new_)) | ||
26806 | return 0; | ||
26807 | ; | ||
26808 | return 0; | ||
26809 | } | ||
26810 | _ACEOF | ||
26811 | rm -f conftest.$ac_objext | ||
26812 | if { (ac_try="$ac_compile" | ||
26813 | case "(($ac_try" in | ||
26814 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26815 | *) ac_try_echo=$ac_try;; | ||
26816 | esac | ||
26817 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26818 | (eval "$ac_compile") 2>conftest.er1 | ||
26819 | ac_status=$? | ||
26820 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26821 | rm -f conftest.er1 | ||
26822 | cat conftest.err >&5 | ||
26823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26824 | (exit $ac_status); } && { | ||
26825 | test -z "$ac_c_werror_flag" || | ||
26826 | test ! -s conftest.err | ||
26827 | } && test -s conftest.$ac_objext; then | ||
26828 | ac_cv_type_intmax_t=yes | ||
26829 | else | ||
26830 | echo "$as_me: failed program was:" >&5 | ||
26831 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26832 | |||
26833 | ac_cv_type_intmax_t=no | ||
26834 | fi | ||
26835 | |||
26836 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26837 | fi | ||
26838 | { echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 | ||
26839 | echo "${ECHO_T}$ac_cv_type_intmax_t" >&6; } | ||
26840 | if test $ac_cv_type_intmax_t = yes; then | ||
14196 | 26841 | ||
14197 | cat >>confdefs.h <<_ACEOF | 26842 | cat >>confdefs.h <<_ACEOF |
14198 | #define HAVE_INTMAX_T 1 | 26843 | #define HAVE_INTMAX_T 1 |
@@ -14200,12 +26845,64 @@ _ACEOF | |||
14200 | 26845 | ||
14201 | 26846 | ||
14202 | fi | 26847 | fi |
14203 | ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" " | 26848 | { echo "$as_me:$LINENO: checking for uintmax_t" >&5 |
26849 | echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6; } | ||
26850 | if test "${ac_cv_type_uintmax_t+set}" = set; then | ||
26851 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
26852 | else | ||
26853 | cat >conftest.$ac_ext <<_ACEOF | ||
26854 | /* confdefs.h. */ | ||
26855 | _ACEOF | ||
26856 | cat confdefs.h >>conftest.$ac_ext | ||
26857 | cat >>conftest.$ac_ext <<_ACEOF | ||
26858 | /* end confdefs.h. */ | ||
26859 | |||
14204 | #include <sys/types.h> | 26860 | #include <sys/types.h> |
14205 | #include <stdint.h> | 26861 | #include <stdint.h> |
14206 | 26862 | ||
14207 | " | 26863 | |
14208 | if test "x$ac_cv_type_uintmax_t" = xyes; then : | 26864 | typedef uintmax_t ac__type_new_; |
26865 | int | ||
26866 | main () | ||
26867 | { | ||
26868 | if ((ac__type_new_ *) 0) | ||
26869 | return 0; | ||
26870 | if (sizeof (ac__type_new_)) | ||
26871 | return 0; | ||
26872 | ; | ||
26873 | return 0; | ||
26874 | } | ||
26875 | _ACEOF | ||
26876 | rm -f conftest.$ac_objext | ||
26877 | if { (ac_try="$ac_compile" | ||
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_compile") 2>conftest.er1 | ||
26884 | ac_status=$? | ||
26885 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26886 | rm -f conftest.er1 | ||
26887 | cat conftest.err >&5 | ||
26888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26889 | (exit $ac_status); } && { | ||
26890 | test -z "$ac_c_werror_flag" || | ||
26891 | test ! -s conftest.err | ||
26892 | } && test -s conftest.$ac_objext; then | ||
26893 | ac_cv_type_uintmax_t=yes | ||
26894 | else | ||
26895 | echo "$as_me: failed program was:" >&5 | ||
26896 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26897 | |||
26898 | ac_cv_type_uintmax_t=no | ||
26899 | fi | ||
26900 | |||
26901 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
26902 | fi | ||
26903 | { echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5 | ||
26904 | echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6; } | ||
26905 | if test $ac_cv_type_uintmax_t = yes; then | ||
14209 | 26906 | ||
14210 | cat >>confdefs.h <<_ACEOF | 26907 | cat >>confdefs.h <<_ACEOF |
14211 | #define HAVE_UINTMAX_T 1 | 26908 | #define HAVE_UINTMAX_T 1 |
@@ -14216,17 +26913,69 @@ fi | |||
14216 | 26913 | ||
14217 | 26914 | ||
14218 | 26915 | ||
14219 | ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> | 26916 | { echo "$as_me:$LINENO: checking for socklen_t" >&5 |
26917 | echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } | ||
26918 | if test "${ac_cv_type_socklen_t+set}" = set; then | ||
26919 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
26920 | else | ||
26921 | cat >conftest.$ac_ext <<_ACEOF | ||
26922 | /* confdefs.h. */ | ||
26923 | _ACEOF | ||
26924 | cat confdefs.h >>conftest.$ac_ext | ||
26925 | cat >>conftest.$ac_ext <<_ACEOF | ||
26926 | /* end confdefs.h. */ | ||
26927 | #include <sys/types.h> | ||
14220 | #include <sys/socket.h> | 26928 | #include <sys/socket.h> |
14221 | " | ||
14222 | if test "x$ac_cv_type_socklen_t" = xyes; then : | ||
14223 | 26929 | ||
26930 | typedef socklen_t ac__type_new_; | ||
26931 | int | ||
26932 | main () | ||
26933 | { | ||
26934 | if ((ac__type_new_ *) 0) | ||
26935 | return 0; | ||
26936 | if (sizeof (ac__type_new_)) | ||
26937 | return 0; | ||
26938 | ; | ||
26939 | return 0; | ||
26940 | } | ||
26941 | _ACEOF | ||
26942 | rm -f conftest.$ac_objext | ||
26943 | if { (ac_try="$ac_compile" | ||
26944 | case "(($ac_try" in | ||
26945 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
26946 | *) ac_try_echo=$ac_try;; | ||
26947 | esac | ||
26948 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
26949 | (eval "$ac_compile") 2>conftest.er1 | ||
26950 | ac_status=$? | ||
26951 | grep -v '^ *+' conftest.er1 >conftest.err | ||
26952 | rm -f conftest.er1 | ||
26953 | cat conftest.err >&5 | ||
26954 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
26955 | (exit $ac_status); } && { | ||
26956 | test -z "$ac_c_werror_flag" || | ||
26957 | test ! -s conftest.err | ||
26958 | } && test -s conftest.$ac_objext; then | ||
26959 | ac_cv_type_socklen_t=yes | ||
14224 | else | 26960 | else |
26961 | echo "$as_me: failed program was:" >&5 | ||
26962 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
26963 | |||
26964 | ac_cv_type_socklen_t=no | ||
26965 | fi | ||
14225 | 26966 | ||
14226 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5 | 26967 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14227 | $as_echo_n "checking for socklen_t equivalent... " >&6; } | 26968 | fi |
14228 | if ${curl_cv_socklen_t_equiv+:} false; then : | 26969 | { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 |
14229 | $as_echo_n "(cached) " >&6 | 26970 | echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } |
26971 | if test $ac_cv_type_socklen_t = yes; then | ||
26972 | : | ||
26973 | else | ||
26974 | |||
26975 | { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 | ||
26976 | echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; } | ||
26977 | if test "${curl_cv_socklen_t_equiv+set}" = set; then | ||
26978 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
14230 | else | 26979 | else |
14231 | 26980 | ||
14232 | # Systems have either "struct sockaddr *" or | 26981 | # Systems have either "struct sockaddr *" or |
@@ -14234,7 +26983,11 @@ else | |||
14234 | curl_cv_socklen_t_equiv= | 26983 | curl_cv_socklen_t_equiv= |
14235 | for arg2 in "struct sockaddr" void; do | 26984 | for arg2 in "struct sockaddr" void; do |
14236 | for t in int size_t unsigned long "unsigned long"; do | 26985 | for t in int size_t unsigned long "unsigned long"; do |
14237 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 26986 | cat >conftest.$ac_ext <<_ACEOF |
26987 | /* confdefs.h. */ | ||
26988 | _ACEOF | ||
26989 | cat confdefs.h >>conftest.$ac_ext | ||
26990 | cat >>conftest.$ac_ext <<_ACEOF | ||
14238 | /* end confdefs.h. */ | 26991 | /* end confdefs.h. */ |
14239 | 26992 | ||
14240 | #include <sys/types.h> | 26993 | #include <sys/types.h> |
@@ -14253,24 +27006,48 @@ main () | |||
14253 | return 0; | 27006 | return 0; |
14254 | } | 27007 | } |
14255 | _ACEOF | 27008 | _ACEOF |
14256 | if ac_fn_c_try_compile "$LINENO"; then : | 27009 | rm -f conftest.$ac_objext |
27010 | if { (ac_try="$ac_compile" | ||
27011 | case "(($ac_try" in | ||
27012 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27013 | *) ac_try_echo=$ac_try;; | ||
27014 | esac | ||
27015 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27016 | (eval "$ac_compile") 2>conftest.er1 | ||
27017 | ac_status=$? | ||
27018 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27019 | rm -f conftest.er1 | ||
27020 | cat conftest.err >&5 | ||
27021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27022 | (exit $ac_status); } && { | ||
27023 | test -z "$ac_c_werror_flag" || | ||
27024 | test ! -s conftest.err | ||
27025 | } && test -s conftest.$ac_objext; then | ||
14257 | 27026 | ||
14258 | curl_cv_socklen_t_equiv="$t" | 27027 | curl_cv_socklen_t_equiv="$t" |
14259 | break | 27028 | break |
14260 | 27029 | ||
27030 | else | ||
27031 | echo "$as_me: failed program was:" >&5 | ||
27032 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27033 | |||
27034 | |||
14261 | fi | 27035 | fi |
27036 | |||
14262 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27037 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14263 | done | 27038 | done |
14264 | done | 27039 | done |
14265 | 27040 | ||
14266 | if test "x$curl_cv_socklen_t_equiv" = x; then | 27041 | if test "x$curl_cv_socklen_t_equiv" = x; then |
14267 | as_fn_error $? "Cannot find a type to use in place of socklen_t" "$LINENO" 5 | 27042 | { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 |
27043 | echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} | ||
27044 | { (exit 1); exit 1; }; } | ||
14268 | fi | 27045 | fi |
14269 | 27046 | ||
14270 | fi | 27047 | fi |
14271 | 27048 | ||
14272 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $curl_cv_socklen_t_equiv" >&5 | 27049 | { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 |
14273 | $as_echo "$curl_cv_socklen_t_equiv" >&6; } | 27050 | echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; } |
14274 | 27051 | ||
14275 | cat >>confdefs.h <<_ACEOF | 27052 | cat >>confdefs.h <<_ACEOF |
14276 | #define socklen_t $curl_cv_socklen_t_equiv | 27053 | #define socklen_t $curl_cv_socklen_t_equiv |
@@ -14280,9 +27057,61 @@ fi | |||
14280 | 27057 | ||
14281 | 27058 | ||
14282 | 27059 | ||
14283 | ac_fn_c_check_type "$LINENO" "sig_atomic_t" "ac_cv_type_sig_atomic_t" "#include <signal.h> | 27060 | { echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 |
14284 | " | 27061 | echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; } |
14285 | if test "x$ac_cv_type_sig_atomic_t" = xyes; then : | 27062 | if test "${ac_cv_type_sig_atomic_t+set}" = set; then |
27063 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27064 | else | ||
27065 | cat >conftest.$ac_ext <<_ACEOF | ||
27066 | /* confdefs.h. */ | ||
27067 | _ACEOF | ||
27068 | cat confdefs.h >>conftest.$ac_ext | ||
27069 | cat >>conftest.$ac_ext <<_ACEOF | ||
27070 | /* end confdefs.h. */ | ||
27071 | #include <signal.h> | ||
27072 | |||
27073 | typedef sig_atomic_t ac__type_new_; | ||
27074 | int | ||
27075 | main () | ||
27076 | { | ||
27077 | if ((ac__type_new_ *) 0) | ||
27078 | return 0; | ||
27079 | if (sizeof (ac__type_new_)) | ||
27080 | return 0; | ||
27081 | ; | ||
27082 | return 0; | ||
27083 | } | ||
27084 | _ACEOF | ||
27085 | rm -f conftest.$ac_objext | ||
27086 | if { (ac_try="$ac_compile" | ||
27087 | case "(($ac_try" in | ||
27088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27089 | *) ac_try_echo=$ac_try;; | ||
27090 | esac | ||
27091 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27092 | (eval "$ac_compile") 2>conftest.er1 | ||
27093 | ac_status=$? | ||
27094 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27095 | rm -f conftest.er1 | ||
27096 | cat conftest.err >&5 | ||
27097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27098 | (exit $ac_status); } && { | ||
27099 | test -z "$ac_c_werror_flag" || | ||
27100 | test ! -s conftest.err | ||
27101 | } && test -s conftest.$ac_objext; then | ||
27102 | ac_cv_type_sig_atomic_t=yes | ||
27103 | else | ||
27104 | echo "$as_me: failed program was:" >&5 | ||
27105 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27106 | |||
27107 | ac_cv_type_sig_atomic_t=no | ||
27108 | fi | ||
27109 | |||
27110 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27111 | fi | ||
27112 | { echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 | ||
27113 | echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; } | ||
27114 | if test $ac_cv_type_sig_atomic_t = yes; then | ||
14286 | 27115 | ||
14287 | cat >>confdefs.h <<_ACEOF | 27116 | cat >>confdefs.h <<_ACEOF |
14288 | #define HAVE_SIG_ATOMIC_T 1 | 27117 | #define HAVE_SIG_ATOMIC_T 1 |
@@ -14291,7 +27120,18 @@ _ACEOF | |||
14291 | 27120 | ||
14292 | fi | 27121 | fi |
14293 | 27122 | ||
14294 | ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" " | 27123 | { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 |
27124 | echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; } | ||
27125 | if test "${ac_cv_type_fsblkcnt_t+set}" = set; then | ||
27126 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27127 | else | ||
27128 | cat >conftest.$ac_ext <<_ACEOF | ||
27129 | /* confdefs.h. */ | ||
27130 | _ACEOF | ||
27131 | cat confdefs.h >>conftest.$ac_ext | ||
27132 | cat >>conftest.$ac_ext <<_ACEOF | ||
27133 | /* end confdefs.h. */ | ||
27134 | |||
14295 | #include <sys/types.h> | 27135 | #include <sys/types.h> |
14296 | #ifdef HAVE_SYS_BITYPES_H | 27136 | #ifdef HAVE_SYS_BITYPES_H |
14297 | #include <sys/bitypes.h> | 27137 | #include <sys/bitypes.h> |
@@ -14303,8 +27143,49 @@ ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" " | |||
14303 | #include <sys/statvfs.h> | 27143 | #include <sys/statvfs.h> |
14304 | #endif | 27144 | #endif |
14305 | 27145 | ||
14306 | " | 27146 | |
14307 | if test "x$ac_cv_type_fsblkcnt_t" = xyes; then : | 27147 | typedef fsblkcnt_t ac__type_new_; |
27148 | int | ||
27149 | main () | ||
27150 | { | ||
27151 | if ((ac__type_new_ *) 0) | ||
27152 | return 0; | ||
27153 | if (sizeof (ac__type_new_)) | ||
27154 | return 0; | ||
27155 | ; | ||
27156 | return 0; | ||
27157 | } | ||
27158 | _ACEOF | ||
27159 | rm -f conftest.$ac_objext | ||
27160 | if { (ac_try="$ac_compile" | ||
27161 | case "(($ac_try" in | ||
27162 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27163 | *) ac_try_echo=$ac_try;; | ||
27164 | esac | ||
27165 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27166 | (eval "$ac_compile") 2>conftest.er1 | ||
27167 | ac_status=$? | ||
27168 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27169 | rm -f conftest.er1 | ||
27170 | cat conftest.err >&5 | ||
27171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27172 | (exit $ac_status); } && { | ||
27173 | test -z "$ac_c_werror_flag" || | ||
27174 | test ! -s conftest.err | ||
27175 | } && test -s conftest.$ac_objext; then | ||
27176 | ac_cv_type_fsblkcnt_t=yes | ||
27177 | else | ||
27178 | echo "$as_me: failed program was:" >&5 | ||
27179 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27180 | |||
27181 | ac_cv_type_fsblkcnt_t=no | ||
27182 | fi | ||
27183 | |||
27184 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27185 | fi | ||
27186 | { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5 | ||
27187 | echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; } | ||
27188 | if test $ac_cv_type_fsblkcnt_t = yes; then | ||
14308 | 27189 | ||
14309 | cat >>confdefs.h <<_ACEOF | 27190 | cat >>confdefs.h <<_ACEOF |
14310 | #define HAVE_FSBLKCNT_T 1 | 27191 | #define HAVE_FSBLKCNT_T 1 |
@@ -14312,7 +27193,18 @@ _ACEOF | |||
14312 | 27193 | ||
14313 | 27194 | ||
14314 | fi | 27195 | fi |
14315 | ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" " | 27196 | { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 |
27197 | echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; } | ||
27198 | if test "${ac_cv_type_fsfilcnt_t+set}" = set; then | ||
27199 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27200 | else | ||
27201 | cat >conftest.$ac_ext <<_ACEOF | ||
27202 | /* confdefs.h. */ | ||
27203 | _ACEOF | ||
27204 | cat confdefs.h >>conftest.$ac_ext | ||
27205 | cat >>conftest.$ac_ext <<_ACEOF | ||
27206 | /* end confdefs.h. */ | ||
27207 | |||
14316 | #include <sys/types.h> | 27208 | #include <sys/types.h> |
14317 | #ifdef HAVE_SYS_BITYPES_H | 27209 | #ifdef HAVE_SYS_BITYPES_H |
14318 | #include <sys/bitypes.h> | 27210 | #include <sys/bitypes.h> |
@@ -14324,8 +27216,49 @@ ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" " | |||
14324 | #include <sys/statvfs.h> | 27216 | #include <sys/statvfs.h> |
14325 | #endif | 27217 | #endif |
14326 | 27218 | ||
14327 | " | 27219 | |
14328 | if test "x$ac_cv_type_fsfilcnt_t" = xyes; then : | 27220 | typedef fsfilcnt_t ac__type_new_; |
27221 | int | ||
27222 | main () | ||
27223 | { | ||
27224 | if ((ac__type_new_ *) 0) | ||
27225 | return 0; | ||
27226 | if (sizeof (ac__type_new_)) | ||
27227 | return 0; | ||
27228 | ; | ||
27229 | return 0; | ||
27230 | } | ||
27231 | _ACEOF | ||
27232 | rm -f conftest.$ac_objext | ||
27233 | if { (ac_try="$ac_compile" | ||
27234 | case "(($ac_try" in | ||
27235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27236 | *) ac_try_echo=$ac_try;; | ||
27237 | esac | ||
27238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27239 | (eval "$ac_compile") 2>conftest.er1 | ||
27240 | ac_status=$? | ||
27241 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27242 | rm -f conftest.er1 | ||
27243 | cat conftest.err >&5 | ||
27244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27245 | (exit $ac_status); } && { | ||
27246 | test -z "$ac_c_werror_flag" || | ||
27247 | test ! -s conftest.err | ||
27248 | } && test -s conftest.$ac_objext; then | ||
27249 | ac_cv_type_fsfilcnt_t=yes | ||
27250 | else | ||
27251 | echo "$as_me: failed program was:" >&5 | ||
27252 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27253 | |||
27254 | ac_cv_type_fsfilcnt_t=no | ||
27255 | fi | ||
27256 | |||
27257 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27258 | fi | ||
27259 | { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5 | ||
27260 | echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; } | ||
27261 | if test $ac_cv_type_fsfilcnt_t = yes; then | ||
14329 | 27262 | ||
14330 | cat >>confdefs.h <<_ACEOF | 27263 | cat >>confdefs.h <<_ACEOF |
14331 | #define HAVE_FSFILCNT_T 1 | 27264 | #define HAVE_FSFILCNT_T 1 |
@@ -14335,10 +27268,62 @@ _ACEOF | |||
14335 | fi | 27268 | fi |
14336 | 27269 | ||
14337 | 27270 | ||
14338 | ac_fn_c_check_type "$LINENO" "in_addr_t" "ac_cv_type_in_addr_t" "#include <sys/types.h> | 27271 | { echo "$as_me:$LINENO: checking for in_addr_t" >&5 |
27272 | echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } | ||
27273 | if test "${ac_cv_type_in_addr_t+set}" = set; then | ||
27274 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27275 | else | ||
27276 | cat >conftest.$ac_ext <<_ACEOF | ||
27277 | /* confdefs.h. */ | ||
27278 | _ACEOF | ||
27279 | cat confdefs.h >>conftest.$ac_ext | ||
27280 | cat >>conftest.$ac_ext <<_ACEOF | ||
27281 | /* end confdefs.h. */ | ||
27282 | #include <sys/types.h> | ||
14339 | #include <netinet/in.h> | 27283 | #include <netinet/in.h> |
14340 | " | 27284 | |
14341 | if test "x$ac_cv_type_in_addr_t" = xyes; then : | 27285 | typedef in_addr_t ac__type_new_; |
27286 | int | ||
27287 | main () | ||
27288 | { | ||
27289 | if ((ac__type_new_ *) 0) | ||
27290 | return 0; | ||
27291 | if (sizeof (ac__type_new_)) | ||
27292 | return 0; | ||
27293 | ; | ||
27294 | return 0; | ||
27295 | } | ||
27296 | _ACEOF | ||
27297 | rm -f conftest.$ac_objext | ||
27298 | if { (ac_try="$ac_compile" | ||
27299 | case "(($ac_try" in | ||
27300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27301 | *) ac_try_echo=$ac_try;; | ||
27302 | esac | ||
27303 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27304 | (eval "$ac_compile") 2>conftest.er1 | ||
27305 | ac_status=$? | ||
27306 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27307 | rm -f conftest.er1 | ||
27308 | cat conftest.err >&5 | ||
27309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27310 | (exit $ac_status); } && { | ||
27311 | test -z "$ac_c_werror_flag" || | ||
27312 | test ! -s conftest.err | ||
27313 | } && test -s conftest.$ac_objext; then | ||
27314 | ac_cv_type_in_addr_t=yes | ||
27315 | else | ||
27316 | echo "$as_me: failed program was:" >&5 | ||
27317 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27318 | |||
27319 | ac_cv_type_in_addr_t=no | ||
27320 | fi | ||
27321 | |||
27322 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27323 | fi | ||
27324 | { echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 | ||
27325 | echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; } | ||
27326 | if test $ac_cv_type_in_addr_t = yes; then | ||
14342 | 27327 | ||
14343 | cat >>confdefs.h <<_ACEOF | 27328 | cat >>confdefs.h <<_ACEOF |
14344 | #define HAVE_IN_ADDR_T 1 | 27329 | #define HAVE_IN_ADDR_T 1 |
@@ -14346,10 +27331,62 @@ _ACEOF | |||
14346 | 27331 | ||
14347 | 27332 | ||
14348 | fi | 27333 | fi |
14349 | ac_fn_c_check_type "$LINENO" "in_port_t" "ac_cv_type_in_port_t" "#include <sys/types.h> | 27334 | { echo "$as_me:$LINENO: checking for in_port_t" >&5 |
27335 | echo $ECHO_N "checking for in_port_t... $ECHO_C" >&6; } | ||
27336 | if test "${ac_cv_type_in_port_t+set}" = set; then | ||
27337 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
27338 | else | ||
27339 | cat >conftest.$ac_ext <<_ACEOF | ||
27340 | /* confdefs.h. */ | ||
27341 | _ACEOF | ||
27342 | cat confdefs.h >>conftest.$ac_ext | ||
27343 | cat >>conftest.$ac_ext <<_ACEOF | ||
27344 | /* end confdefs.h. */ | ||
27345 | #include <sys/types.h> | ||
14350 | #include <netinet/in.h> | 27346 | #include <netinet/in.h> |
14351 | " | 27347 | |
14352 | if test "x$ac_cv_type_in_port_t" = xyes; then : | 27348 | typedef in_port_t ac__type_new_; |
27349 | int | ||
27350 | main () | ||
27351 | { | ||
27352 | if ((ac__type_new_ *) 0) | ||
27353 | return 0; | ||
27354 | if (sizeof (ac__type_new_)) | ||
27355 | return 0; | ||
27356 | ; | ||
27357 | return 0; | ||
27358 | } | ||
27359 | _ACEOF | ||
27360 | rm -f conftest.$ac_objext | ||
27361 | if { (ac_try="$ac_compile" | ||
27362 | case "(($ac_try" in | ||
27363 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27364 | *) ac_try_echo=$ac_try;; | ||
27365 | esac | ||
27366 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27367 | (eval "$ac_compile") 2>conftest.er1 | ||
27368 | ac_status=$? | ||
27369 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27370 | rm -f conftest.er1 | ||
27371 | cat conftest.err >&5 | ||
27372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27373 | (exit $ac_status); } && { | ||
27374 | test -z "$ac_c_werror_flag" || | ||
27375 | test ! -s conftest.err | ||
27376 | } && test -s conftest.$ac_objext; then | ||
27377 | ac_cv_type_in_port_t=yes | ||
27378 | else | ||
27379 | echo "$as_me: failed program was:" >&5 | ||
27380 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27381 | |||
27382 | ac_cv_type_in_port_t=no | ||
27383 | fi | ||
27384 | |||
27385 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
27386 | fi | ||
27387 | { echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5 | ||
27388 | echo "${ECHO_T}$ac_cv_type_in_port_t" >&6; } | ||
27389 | if test $ac_cv_type_in_port_t = yes; then | ||
14353 | 27390 | ||
14354 | cat >>confdefs.h <<_ACEOF | 27391 | cat >>confdefs.h <<_ACEOF |
14355 | #define HAVE_IN_PORT_T 1 | 27392 | #define HAVE_IN_PORT_T 1 |
@@ -14359,13 +27396,17 @@ _ACEOF | |||
14359 | fi | 27396 | fi |
14360 | 27397 | ||
14361 | 27398 | ||
14362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t" >&5 | 27399 | { echo "$as_me:$LINENO: checking for size_t" >&5 |
14363 | $as_echo_n "checking for size_t... " >&6; } | 27400 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
14364 | if ${ac_cv_have_size_t+:} false; then : | 27401 | if test "${ac_cv_have_size_t+set}" = set; then |
14365 | $as_echo_n "(cached) " >&6 | 27402 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14366 | else | 27403 | else |
14367 | 27404 | ||
14368 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27405 | cat >conftest.$ac_ext <<_ACEOF |
27406 | /* confdefs.h. */ | ||
27407 | _ACEOF | ||
27408 | cat confdefs.h >>conftest.$ac_ext | ||
27409 | cat >>conftest.$ac_ext <<_ACEOF | ||
14369 | /* end confdefs.h. */ | 27410 | /* end confdefs.h. */ |
14370 | #include <sys/types.h> | 27411 | #include <sys/types.h> |
14371 | int | 27412 | int |
@@ -14376,30 +27417,56 @@ main () | |||
14376 | return 0; | 27417 | return 0; |
14377 | } | 27418 | } |
14378 | _ACEOF | 27419 | _ACEOF |
14379 | if ac_fn_c_try_compile "$LINENO"; then : | 27420 | rm -f conftest.$ac_objext |
27421 | if { (ac_try="$ac_compile" | ||
27422 | case "(($ac_try" in | ||
27423 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27424 | *) ac_try_echo=$ac_try;; | ||
27425 | esac | ||
27426 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27427 | (eval "$ac_compile") 2>conftest.er1 | ||
27428 | ac_status=$? | ||
27429 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27430 | rm -f conftest.er1 | ||
27431 | cat conftest.err >&5 | ||
27432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27433 | (exit $ac_status); } && { | ||
27434 | test -z "$ac_c_werror_flag" || | ||
27435 | test ! -s conftest.err | ||
27436 | } && test -s conftest.$ac_objext; then | ||
14380 | ac_cv_have_size_t="yes" | 27437 | ac_cv_have_size_t="yes" |
14381 | else | 27438 | else |
14382 | ac_cv_have_size_t="no" | 27439 | echo "$as_me: failed program was:" >&5 |
27440 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27441 | |||
27442 | ac_cv_have_size_t="no" | ||
14383 | 27443 | ||
14384 | fi | 27444 | fi |
27445 | |||
14385 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27446 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14386 | 27447 | ||
14387 | fi | 27448 | fi |
14388 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_size_t" >&5 | 27449 | { echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 |
14389 | $as_echo "$ac_cv_have_size_t" >&6; } | 27450 | echo "${ECHO_T}$ac_cv_have_size_t" >&6; } |
14390 | if test "x$ac_cv_have_size_t" = "xyes" ; then | 27451 | if test "x$ac_cv_have_size_t" = "xyes" ; then |
14391 | 27452 | ||
14392 | $as_echo "#define HAVE_SIZE_T 1" >>confdefs.h | 27453 | cat >>confdefs.h <<\_ACEOF |
27454 | #define HAVE_SIZE_T 1 | ||
27455 | _ACEOF | ||
14393 | 27456 | ||
14394 | fi | 27457 | fi |
14395 | 27458 | ||
14396 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 | 27459 | { echo "$as_me:$LINENO: checking for ssize_t" >&5 |
14397 | $as_echo_n "checking for ssize_t... " >&6; } | 27460 | echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } |
14398 | if ${ac_cv_have_ssize_t+:} false; then : | 27461 | if test "${ac_cv_have_ssize_t+set}" = set; then |
14399 | $as_echo_n "(cached) " >&6 | 27462 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14400 | else | 27463 | else |
14401 | 27464 | ||
14402 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27465 | cat >conftest.$ac_ext <<_ACEOF |
27466 | /* confdefs.h. */ | ||
27467 | _ACEOF | ||
27468 | cat confdefs.h >>conftest.$ac_ext | ||
27469 | cat >>conftest.$ac_ext <<_ACEOF | ||
14403 | /* end confdefs.h. */ | 27470 | /* end confdefs.h. */ |
14404 | #include <sys/types.h> | 27471 | #include <sys/types.h> |
14405 | int | 27472 | int |
@@ -14410,30 +27477,56 @@ main () | |||
14410 | return 0; | 27477 | return 0; |
14411 | } | 27478 | } |
14412 | _ACEOF | 27479 | _ACEOF |
14413 | if ac_fn_c_try_compile "$LINENO"; then : | 27480 | rm -f conftest.$ac_objext |
27481 | if { (ac_try="$ac_compile" | ||
27482 | case "(($ac_try" in | ||
27483 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27484 | *) ac_try_echo=$ac_try;; | ||
27485 | esac | ||
27486 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27487 | (eval "$ac_compile") 2>conftest.er1 | ||
27488 | ac_status=$? | ||
27489 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27490 | rm -f conftest.er1 | ||
27491 | cat conftest.err >&5 | ||
27492 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27493 | (exit $ac_status); } && { | ||
27494 | test -z "$ac_c_werror_flag" || | ||
27495 | test ! -s conftest.err | ||
27496 | } && test -s conftest.$ac_objext; then | ||
14414 | ac_cv_have_ssize_t="yes" | 27497 | ac_cv_have_ssize_t="yes" |
14415 | else | 27498 | else |
14416 | ac_cv_have_ssize_t="no" | 27499 | echo "$as_me: failed program was:" >&5 |
27500 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27501 | |||
27502 | ac_cv_have_ssize_t="no" | ||
14417 | 27503 | ||
14418 | fi | 27504 | fi |
27505 | |||
14419 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27506 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14420 | 27507 | ||
14421 | fi | 27508 | fi |
14422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ssize_t" >&5 | 27509 | { echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 |
14423 | $as_echo "$ac_cv_have_ssize_t" >&6; } | 27510 | echo "${ECHO_T}$ac_cv_have_ssize_t" >&6; } |
14424 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then | 27511 | if test "x$ac_cv_have_ssize_t" = "xyes" ; then |
14425 | 27512 | ||
14426 | $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h | 27513 | cat >>confdefs.h <<\_ACEOF |
27514 | #define HAVE_SSIZE_T 1 | ||
27515 | _ACEOF | ||
14427 | 27516 | ||
14428 | fi | 27517 | fi |
14429 | 27518 | ||
14430 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_t" >&5 | 27519 | { echo "$as_me:$LINENO: checking for clock_t" >&5 |
14431 | $as_echo_n "checking for clock_t... " >&6; } | 27520 | echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } |
14432 | if ${ac_cv_have_clock_t+:} false; then : | 27521 | if test "${ac_cv_have_clock_t+set}" = set; then |
14433 | $as_echo_n "(cached) " >&6 | 27522 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14434 | else | 27523 | else |
14435 | 27524 | ||
14436 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27525 | cat >conftest.$ac_ext <<_ACEOF |
27526 | /* confdefs.h. */ | ||
27527 | _ACEOF | ||
27528 | cat confdefs.h >>conftest.$ac_ext | ||
27529 | cat >>conftest.$ac_ext <<_ACEOF | ||
14437 | /* end confdefs.h. */ | 27530 | /* end confdefs.h. */ |
14438 | #include <time.h> | 27531 | #include <time.h> |
14439 | int | 27532 | int |
@@ -14444,30 +27537,56 @@ main () | |||
14444 | return 0; | 27537 | return 0; |
14445 | } | 27538 | } |
14446 | _ACEOF | 27539 | _ACEOF |
14447 | if ac_fn_c_try_compile "$LINENO"; then : | 27540 | rm -f conftest.$ac_objext |
27541 | if { (ac_try="$ac_compile" | ||
27542 | case "(($ac_try" in | ||
27543 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27544 | *) ac_try_echo=$ac_try;; | ||
27545 | esac | ||
27546 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27547 | (eval "$ac_compile") 2>conftest.er1 | ||
27548 | ac_status=$? | ||
27549 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27550 | rm -f conftest.er1 | ||
27551 | cat conftest.err >&5 | ||
27552 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27553 | (exit $ac_status); } && { | ||
27554 | test -z "$ac_c_werror_flag" || | ||
27555 | test ! -s conftest.err | ||
27556 | } && test -s conftest.$ac_objext; then | ||
14448 | ac_cv_have_clock_t="yes" | 27557 | ac_cv_have_clock_t="yes" |
14449 | else | 27558 | else |
14450 | ac_cv_have_clock_t="no" | 27559 | echo "$as_me: failed program was:" >&5 |
27560 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27561 | |||
27562 | ac_cv_have_clock_t="no" | ||
14451 | 27563 | ||
14452 | fi | 27564 | fi |
27565 | |||
14453 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27566 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14454 | 27567 | ||
14455 | fi | 27568 | fi |
14456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_clock_t" >&5 | 27569 | { echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 |
14457 | $as_echo "$ac_cv_have_clock_t" >&6; } | 27570 | echo "${ECHO_T}$ac_cv_have_clock_t" >&6; } |
14458 | if test "x$ac_cv_have_clock_t" = "xyes" ; then | 27571 | if test "x$ac_cv_have_clock_t" = "xyes" ; then |
14459 | 27572 | ||
14460 | $as_echo "#define HAVE_CLOCK_T 1" >>confdefs.h | 27573 | cat >>confdefs.h <<\_ACEOF |
27574 | #define HAVE_CLOCK_T 1 | ||
27575 | _ACEOF | ||
14461 | 27576 | ||
14462 | fi | 27577 | fi |
14463 | 27578 | ||
14464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_family_t" >&5 | 27579 | { echo "$as_me:$LINENO: checking for sa_family_t" >&5 |
14465 | $as_echo_n "checking for sa_family_t... " >&6; } | 27580 | echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } |
14466 | if ${ac_cv_have_sa_family_t+:} false; then : | 27581 | if test "${ac_cv_have_sa_family_t+set}" = set; then |
14467 | $as_echo_n "(cached) " >&6 | 27582 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14468 | else | 27583 | else |
14469 | 27584 | ||
14470 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27585 | cat >conftest.$ac_ext <<_ACEOF |
27586 | /* confdefs.h. */ | ||
27587 | _ACEOF | ||
27588 | cat confdefs.h >>conftest.$ac_ext | ||
27589 | cat >>conftest.$ac_ext <<_ACEOF | ||
14471 | /* end confdefs.h. */ | 27590 | /* end confdefs.h. */ |
14472 | 27591 | ||
14473 | #include <sys/types.h> | 27592 | #include <sys/types.h> |
@@ -14481,10 +27600,33 @@ main () | |||
14481 | return 0; | 27600 | return 0; |
14482 | } | 27601 | } |
14483 | _ACEOF | 27602 | _ACEOF |
14484 | if ac_fn_c_try_compile "$LINENO"; then : | 27603 | rm -f conftest.$ac_objext |
27604 | if { (ac_try="$ac_compile" | ||
27605 | case "(($ac_try" in | ||
27606 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27607 | *) ac_try_echo=$ac_try;; | ||
27608 | esac | ||
27609 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27610 | (eval "$ac_compile") 2>conftest.er1 | ||
27611 | ac_status=$? | ||
27612 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27613 | rm -f conftest.er1 | ||
27614 | cat conftest.err >&5 | ||
27615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27616 | (exit $ac_status); } && { | ||
27617 | test -z "$ac_c_werror_flag" || | ||
27618 | test ! -s conftest.err | ||
27619 | } && test -s conftest.$ac_objext; then | ||
14485 | ac_cv_have_sa_family_t="yes" | 27620 | ac_cv_have_sa_family_t="yes" |
14486 | else | 27621 | else |
14487 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27622 | echo "$as_me: failed program was:" >&5 |
27623 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27624 | |||
27625 | cat >conftest.$ac_ext <<_ACEOF | ||
27626 | /* confdefs.h. */ | ||
27627 | _ACEOF | ||
27628 | cat confdefs.h >>conftest.$ac_ext | ||
27629 | cat >>conftest.$ac_ext <<_ACEOF | ||
14488 | /* end confdefs.h. */ | 27630 | /* end confdefs.h. */ |
14489 | 27631 | ||
14490 | #include <sys/types.h> | 27632 | #include <sys/types.h> |
@@ -14499,33 +27641,60 @@ main () | |||
14499 | return 0; | 27641 | return 0; |
14500 | } | 27642 | } |
14501 | _ACEOF | 27643 | _ACEOF |
14502 | if ac_fn_c_try_compile "$LINENO"; then : | 27644 | rm -f conftest.$ac_objext |
27645 | if { (ac_try="$ac_compile" | ||
27646 | case "(($ac_try" in | ||
27647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27648 | *) ac_try_echo=$ac_try;; | ||
27649 | esac | ||
27650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27651 | (eval "$ac_compile") 2>conftest.er1 | ||
27652 | ac_status=$? | ||
27653 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27654 | rm -f conftest.er1 | ||
27655 | cat conftest.err >&5 | ||
27656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27657 | (exit $ac_status); } && { | ||
27658 | test -z "$ac_c_werror_flag" || | ||
27659 | test ! -s conftest.err | ||
27660 | } && test -s conftest.$ac_objext; then | ||
14503 | ac_cv_have_sa_family_t="yes" | 27661 | ac_cv_have_sa_family_t="yes" |
14504 | else | 27662 | else |
14505 | ac_cv_have_sa_family_t="no" | 27663 | echo "$as_me: failed program was:" >&5 |
27664 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27665 | |||
27666 | ac_cv_have_sa_family_t="no" | ||
14506 | 27667 | ||
14507 | fi | 27668 | fi |
27669 | |||
14508 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27670 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14509 | 27671 | ||
14510 | fi | 27672 | fi |
27673 | |||
14511 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14512 | 27675 | ||
14513 | fi | 27676 | fi |
14514 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_sa_family_t" >&5 | 27677 | { echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 |
14515 | $as_echo "$ac_cv_have_sa_family_t" >&6; } | 27678 | echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6; } |
14516 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then | 27679 | if test "x$ac_cv_have_sa_family_t" = "xyes" ; then |
14517 | 27680 | ||
14518 | $as_echo "#define HAVE_SA_FAMILY_T 1" >>confdefs.h | 27681 | cat >>confdefs.h <<\_ACEOF |
27682 | #define HAVE_SA_FAMILY_T 1 | ||
27683 | _ACEOF | ||
14519 | 27684 | ||
14520 | fi | 27685 | fi |
14521 | 27686 | ||
14522 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pid_t" >&5 | 27687 | { echo "$as_me:$LINENO: checking for pid_t" >&5 |
14523 | $as_echo_n "checking for pid_t... " >&6; } | 27688 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } |
14524 | if ${ac_cv_have_pid_t+:} false; then : | 27689 | if test "${ac_cv_have_pid_t+set}" = set; then |
14525 | $as_echo_n "(cached) " >&6 | 27690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14526 | else | 27691 | else |
14527 | 27692 | ||
14528 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27693 | cat >conftest.$ac_ext <<_ACEOF |
27694 | /* confdefs.h. */ | ||
27695 | _ACEOF | ||
27696 | cat confdefs.h >>conftest.$ac_ext | ||
27697 | cat >>conftest.$ac_ext <<_ACEOF | ||
14529 | /* end confdefs.h. */ | 27698 | /* end confdefs.h. */ |
14530 | #include <sys/types.h> | 27699 | #include <sys/types.h> |
14531 | int | 27700 | int |
@@ -14536,30 +27705,56 @@ main () | |||
14536 | return 0; | 27705 | return 0; |
14537 | } | 27706 | } |
14538 | _ACEOF | 27707 | _ACEOF |
14539 | if ac_fn_c_try_compile "$LINENO"; then : | 27708 | rm -f conftest.$ac_objext |
27709 | if { (ac_try="$ac_compile" | ||
27710 | case "(($ac_try" in | ||
27711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27712 | *) ac_try_echo=$ac_try;; | ||
27713 | esac | ||
27714 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27715 | (eval "$ac_compile") 2>conftest.er1 | ||
27716 | ac_status=$? | ||
27717 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27718 | rm -f conftest.er1 | ||
27719 | cat conftest.err >&5 | ||
27720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27721 | (exit $ac_status); } && { | ||
27722 | test -z "$ac_c_werror_flag" || | ||
27723 | test ! -s conftest.err | ||
27724 | } && test -s conftest.$ac_objext; then | ||
14540 | ac_cv_have_pid_t="yes" | 27725 | ac_cv_have_pid_t="yes" |
14541 | else | 27726 | else |
14542 | ac_cv_have_pid_t="no" | 27727 | echo "$as_me: failed program was:" >&5 |
27728 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27729 | |||
27730 | ac_cv_have_pid_t="no" | ||
14543 | 27731 | ||
14544 | fi | 27732 | fi |
27733 | |||
14545 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27734 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14546 | 27735 | ||
14547 | fi | 27736 | fi |
14548 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_pid_t" >&5 | 27737 | { echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 |
14549 | $as_echo "$ac_cv_have_pid_t" >&6; } | 27738 | echo "${ECHO_T}$ac_cv_have_pid_t" >&6; } |
14550 | if test "x$ac_cv_have_pid_t" = "xyes" ; then | 27739 | if test "x$ac_cv_have_pid_t" = "xyes" ; then |
14551 | 27740 | ||
14552 | $as_echo "#define HAVE_PID_T 1" >>confdefs.h | 27741 | cat >>confdefs.h <<\_ACEOF |
27742 | #define HAVE_PID_T 1 | ||
27743 | _ACEOF | ||
14553 | 27744 | ||
14554 | fi | 27745 | fi |
14555 | 27746 | ||
14556 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mode_t" >&5 | 27747 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
14557 | $as_echo_n "checking for mode_t... " >&6; } | 27748 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
14558 | if ${ac_cv_have_mode_t+:} false; then : | 27749 | if test "${ac_cv_have_mode_t+set}" = set; then |
14559 | $as_echo_n "(cached) " >&6 | 27750 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14560 | else | 27751 | else |
14561 | 27752 | ||
14562 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27753 | cat >conftest.$ac_ext <<_ACEOF |
27754 | /* confdefs.h. */ | ||
27755 | _ACEOF | ||
27756 | cat confdefs.h >>conftest.$ac_ext | ||
27757 | cat >>conftest.$ac_ext <<_ACEOF | ||
14563 | /* end confdefs.h. */ | 27758 | /* end confdefs.h. */ |
14564 | #include <sys/types.h> | 27759 | #include <sys/types.h> |
14565 | int | 27760 | int |
@@ -14570,31 +27765,57 @@ main () | |||
14570 | return 0; | 27765 | return 0; |
14571 | } | 27766 | } |
14572 | _ACEOF | 27767 | _ACEOF |
14573 | if ac_fn_c_try_compile "$LINENO"; then : | 27768 | rm -f conftest.$ac_objext |
27769 | if { (ac_try="$ac_compile" | ||
27770 | case "(($ac_try" in | ||
27771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27772 | *) ac_try_echo=$ac_try;; | ||
27773 | esac | ||
27774 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27775 | (eval "$ac_compile") 2>conftest.er1 | ||
27776 | ac_status=$? | ||
27777 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27778 | rm -f conftest.er1 | ||
27779 | cat conftest.err >&5 | ||
27780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27781 | (exit $ac_status); } && { | ||
27782 | test -z "$ac_c_werror_flag" || | ||
27783 | test ! -s conftest.err | ||
27784 | } && test -s conftest.$ac_objext; then | ||
14574 | ac_cv_have_mode_t="yes" | 27785 | ac_cv_have_mode_t="yes" |
14575 | else | 27786 | else |
14576 | ac_cv_have_mode_t="no" | 27787 | echo "$as_me: failed program was:" >&5 |
27788 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27789 | |||
27790 | ac_cv_have_mode_t="no" | ||
14577 | 27791 | ||
14578 | fi | 27792 | fi |
27793 | |||
14579 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27794 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14580 | 27795 | ||
14581 | fi | 27796 | fi |
14582 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_mode_t" >&5 | 27797 | { echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 |
14583 | $as_echo "$ac_cv_have_mode_t" >&6; } | 27798 | echo "${ECHO_T}$ac_cv_have_mode_t" >&6; } |
14584 | if test "x$ac_cv_have_mode_t" = "xyes" ; then | 27799 | if test "x$ac_cv_have_mode_t" = "xyes" ; then |
14585 | 27800 | ||
14586 | $as_echo "#define HAVE_MODE_T 1" >>confdefs.h | 27801 | cat >>confdefs.h <<\_ACEOF |
27802 | #define HAVE_MODE_T 1 | ||
27803 | _ACEOF | ||
14587 | 27804 | ||
14588 | fi | 27805 | fi |
14589 | 27806 | ||
14590 | 27807 | ||
14591 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_storage" >&5 | 27808 | { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 |
14592 | $as_echo_n "checking for struct sockaddr_storage... " >&6; } | 27809 | echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } |
14593 | if ${ac_cv_have_struct_sockaddr_storage+:} false; then : | 27810 | if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then |
14594 | $as_echo_n "(cached) " >&6 | 27811 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14595 | else | 27812 | else |
14596 | 27813 | ||
14597 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27814 | cat >conftest.$ac_ext <<_ACEOF |
27815 | /* confdefs.h. */ | ||
27816 | _ACEOF | ||
27817 | cat confdefs.h >>conftest.$ac_ext | ||
27818 | cat >>conftest.$ac_ext <<_ACEOF | ||
14598 | /* end confdefs.h. */ | 27819 | /* end confdefs.h. */ |
14599 | 27820 | ||
14600 | #include <sys/types.h> | 27821 | #include <sys/types.h> |
@@ -14608,30 +27829,56 @@ main () | |||
14608 | return 0; | 27829 | return 0; |
14609 | } | 27830 | } |
14610 | _ACEOF | 27831 | _ACEOF |
14611 | if ac_fn_c_try_compile "$LINENO"; then : | 27832 | rm -f conftest.$ac_objext |
27833 | if { (ac_try="$ac_compile" | ||
27834 | case "(($ac_try" in | ||
27835 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27836 | *) ac_try_echo=$ac_try;; | ||
27837 | esac | ||
27838 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27839 | (eval "$ac_compile") 2>conftest.er1 | ||
27840 | ac_status=$? | ||
27841 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27842 | rm -f conftest.er1 | ||
27843 | cat conftest.err >&5 | ||
27844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27845 | (exit $ac_status); } && { | ||
27846 | test -z "$ac_c_werror_flag" || | ||
27847 | test ! -s conftest.err | ||
27848 | } && test -s conftest.$ac_objext; then | ||
14612 | ac_cv_have_struct_sockaddr_storage="yes" | 27849 | ac_cv_have_struct_sockaddr_storage="yes" |
14613 | else | 27850 | else |
14614 | ac_cv_have_struct_sockaddr_storage="no" | 27851 | echo "$as_me: failed program was:" >&5 |
27852 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27853 | |||
27854 | ac_cv_have_struct_sockaddr_storage="no" | ||
14615 | 27855 | ||
14616 | fi | 27856 | fi |
27857 | |||
14617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14618 | 27859 | ||
14619 | fi | 27860 | fi |
14620 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_storage" >&5 | 27861 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 |
14621 | $as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; } | 27862 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; } |
14622 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then | 27863 | if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then |
14623 | 27864 | ||
14624 | $as_echo "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h | 27865 | cat >>confdefs.h <<\_ACEOF |
27866 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | ||
27867 | _ACEOF | ||
14625 | 27868 | ||
14626 | fi | 27869 | fi |
14627 | 27870 | ||
14628 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct sockaddr_in6" >&5 | 27871 | { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 |
14629 | $as_echo_n "checking for struct sockaddr_in6... " >&6; } | 27872 | echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; } |
14630 | if ${ac_cv_have_struct_sockaddr_in6+:} false; then : | 27873 | if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then |
14631 | $as_echo_n "(cached) " >&6 | 27874 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14632 | else | 27875 | else |
14633 | 27876 | ||
14634 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27877 | cat >conftest.$ac_ext <<_ACEOF |
27878 | /* confdefs.h. */ | ||
27879 | _ACEOF | ||
27880 | cat confdefs.h >>conftest.$ac_ext | ||
27881 | cat >>conftest.$ac_ext <<_ACEOF | ||
14635 | /* end confdefs.h. */ | 27882 | /* end confdefs.h. */ |
14636 | 27883 | ||
14637 | #include <sys/types.h> | 27884 | #include <sys/types.h> |
@@ -14645,30 +27892,56 @@ main () | |||
14645 | return 0; | 27892 | return 0; |
14646 | } | 27893 | } |
14647 | _ACEOF | 27894 | _ACEOF |
14648 | if ac_fn_c_try_compile "$LINENO"; then : | 27895 | rm -f conftest.$ac_objext |
27896 | if { (ac_try="$ac_compile" | ||
27897 | case "(($ac_try" in | ||
27898 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27899 | *) ac_try_echo=$ac_try;; | ||
27900 | esac | ||
27901 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27902 | (eval "$ac_compile") 2>conftest.er1 | ||
27903 | ac_status=$? | ||
27904 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27905 | rm -f conftest.er1 | ||
27906 | cat conftest.err >&5 | ||
27907 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27908 | (exit $ac_status); } && { | ||
27909 | test -z "$ac_c_werror_flag" || | ||
27910 | test ! -s conftest.err | ||
27911 | } && test -s conftest.$ac_objext; then | ||
14649 | ac_cv_have_struct_sockaddr_in6="yes" | 27912 | ac_cv_have_struct_sockaddr_in6="yes" |
14650 | else | 27913 | else |
14651 | ac_cv_have_struct_sockaddr_in6="no" | 27914 | echo "$as_me: failed program was:" >&5 |
27915 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27916 | |||
27917 | ac_cv_have_struct_sockaddr_in6="no" | ||
14652 | 27918 | ||
14653 | fi | 27919 | fi |
27920 | |||
14654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27921 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14655 | 27922 | ||
14656 | fi | 27923 | fi |
14657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_sockaddr_in6" >&5 | 27924 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 |
14658 | $as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; } | 27925 | echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; } |
14659 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then | 27926 | if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then |
14660 | 27927 | ||
14661 | $as_echo "#define HAVE_STRUCT_SOCKADDR_IN6 1" >>confdefs.h | 27928 | cat >>confdefs.h <<\_ACEOF |
27929 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | ||
27930 | _ACEOF | ||
14662 | 27931 | ||
14663 | fi | 27932 | fi |
14664 | 27933 | ||
14665 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct in6_addr" >&5 | 27934 | { echo "$as_me:$LINENO: checking for struct in6_addr" >&5 |
14666 | $as_echo_n "checking for struct in6_addr... " >&6; } | 27935 | echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } |
14667 | if ${ac_cv_have_struct_in6_addr+:} false; then : | 27936 | if test "${ac_cv_have_struct_in6_addr+set}" = set; then |
14668 | $as_echo_n "(cached) " >&6 | 27937 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14669 | else | 27938 | else |
14670 | 27939 | ||
14671 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 27940 | cat >conftest.$ac_ext <<_ACEOF |
27941 | /* confdefs.h. */ | ||
27942 | _ACEOF | ||
27943 | cat confdefs.h >>conftest.$ac_ext | ||
27944 | cat >>conftest.$ac_ext <<_ACEOF | ||
14672 | /* end confdefs.h. */ | 27945 | /* end confdefs.h. */ |
14673 | 27946 | ||
14674 | #include <sys/types.h> | 27947 | #include <sys/types.h> |
@@ -14682,30 +27955,150 @@ main () | |||
14682 | return 0; | 27955 | return 0; |
14683 | } | 27956 | } |
14684 | _ACEOF | 27957 | _ACEOF |
14685 | if ac_fn_c_try_compile "$LINENO"; then : | 27958 | rm -f conftest.$ac_objext |
27959 | if { (ac_try="$ac_compile" | ||
27960 | case "(($ac_try" in | ||
27961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
27962 | *) ac_try_echo=$ac_try;; | ||
27963 | esac | ||
27964 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
27965 | (eval "$ac_compile") 2>conftest.er1 | ||
27966 | ac_status=$? | ||
27967 | grep -v '^ *+' conftest.er1 >conftest.err | ||
27968 | rm -f conftest.er1 | ||
27969 | cat conftest.err >&5 | ||
27970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
27971 | (exit $ac_status); } && { | ||
27972 | test -z "$ac_c_werror_flag" || | ||
27973 | test ! -s conftest.err | ||
27974 | } && test -s conftest.$ac_objext; then | ||
14686 | ac_cv_have_struct_in6_addr="yes" | 27975 | ac_cv_have_struct_in6_addr="yes" |
14687 | else | 27976 | else |
14688 | ac_cv_have_struct_in6_addr="no" | 27977 | echo "$as_me: failed program was:" >&5 |
27978 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
27979 | |||
27980 | ac_cv_have_struct_in6_addr="no" | ||
14689 | 27981 | ||
14690 | fi | 27982 | fi |
27983 | |||
14691 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 27984 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14692 | 27985 | ||
14693 | fi | 27986 | fi |
14694 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_in6_addr" >&5 | 27987 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 |
14695 | $as_echo "$ac_cv_have_struct_in6_addr" >&6; } | 27988 | echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; } |
14696 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then | 27989 | if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then |
14697 | 27990 | ||
14698 | $as_echo "#define HAVE_STRUCT_IN6_ADDR 1" >>confdefs.h | 27991 | cat >>confdefs.h <<\_ACEOF |
27992 | #define HAVE_STRUCT_IN6_ADDR 1 | ||
27993 | _ACEOF | ||
14699 | 27994 | ||
14700 | 27995 | ||
14701 | ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" " | 27996 | { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5 |
27997 | echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; } | ||
27998 | if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then | ||
27999 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28000 | else | ||
28001 | cat >conftest.$ac_ext <<_ACEOF | ||
28002 | /* confdefs.h. */ | ||
28003 | _ACEOF | ||
28004 | cat confdefs.h >>conftest.$ac_ext | ||
28005 | cat >>conftest.$ac_ext <<_ACEOF | ||
28006 | /* end confdefs.h. */ | ||
28007 | |||
14702 | #ifdef HAVE_SYS_TYPES_H | 28008 | #ifdef HAVE_SYS_TYPES_H |
14703 | #include <sys/types.h> | 28009 | #include <sys/types.h> |
14704 | #endif | 28010 | #endif |
14705 | #include <netinet/in.h> | 28011 | #include <netinet/in.h> |
14706 | 28012 | ||
14707 | " | 28013 | |
14708 | if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then : | 28014 | int |
28015 | main () | ||
28016 | { | ||
28017 | static struct sockaddr_in6 ac_aggr; | ||
28018 | if (ac_aggr.sin6_scope_id) | ||
28019 | return 0; | ||
28020 | ; | ||
28021 | return 0; | ||
28022 | } | ||
28023 | _ACEOF | ||
28024 | rm -f conftest.$ac_objext | ||
28025 | if { (ac_try="$ac_compile" | ||
28026 | case "(($ac_try" in | ||
28027 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28028 | *) ac_try_echo=$ac_try;; | ||
28029 | esac | ||
28030 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28031 | (eval "$ac_compile") 2>conftest.er1 | ||
28032 | ac_status=$? | ||
28033 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28034 | rm -f conftest.er1 | ||
28035 | cat conftest.err >&5 | ||
28036 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28037 | (exit $ac_status); } && { | ||
28038 | test -z "$ac_c_werror_flag" || | ||
28039 | test ! -s conftest.err | ||
28040 | } && test -s conftest.$ac_objext; then | ||
28041 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes | ||
28042 | else | ||
28043 | echo "$as_me: failed program was:" >&5 | ||
28044 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28045 | |||
28046 | cat >conftest.$ac_ext <<_ACEOF | ||
28047 | /* confdefs.h. */ | ||
28048 | _ACEOF | ||
28049 | cat confdefs.h >>conftest.$ac_ext | ||
28050 | cat >>conftest.$ac_ext <<_ACEOF | ||
28051 | /* end confdefs.h. */ | ||
28052 | |||
28053 | #ifdef HAVE_SYS_TYPES_H | ||
28054 | #include <sys/types.h> | ||
28055 | #endif | ||
28056 | #include <netinet/in.h> | ||
28057 | |||
28058 | |||
28059 | int | ||
28060 | main () | ||
28061 | { | ||
28062 | static struct sockaddr_in6 ac_aggr; | ||
28063 | if (sizeof ac_aggr.sin6_scope_id) | ||
28064 | return 0; | ||
28065 | ; | ||
28066 | return 0; | ||
28067 | } | ||
28068 | _ACEOF | ||
28069 | rm -f conftest.$ac_objext | ||
28070 | if { (ac_try="$ac_compile" | ||
28071 | case "(($ac_try" in | ||
28072 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28073 | *) ac_try_echo=$ac_try;; | ||
28074 | esac | ||
28075 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28076 | (eval "$ac_compile") 2>conftest.er1 | ||
28077 | ac_status=$? | ||
28078 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28079 | rm -f conftest.er1 | ||
28080 | cat conftest.err >&5 | ||
28081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28082 | (exit $ac_status); } && { | ||
28083 | test -z "$ac_c_werror_flag" || | ||
28084 | test ! -s conftest.err | ||
28085 | } && test -s conftest.$ac_objext; then | ||
28086 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes | ||
28087 | else | ||
28088 | echo "$as_me: failed program was:" >&5 | ||
28089 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28090 | |||
28091 | ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no | ||
28092 | fi | ||
28093 | |||
28094 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28095 | fi | ||
28096 | |||
28097 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28098 | fi | ||
28099 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5 | ||
28100 | echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; } | ||
28101 | if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then | ||
14709 | 28102 | ||
14710 | cat >>confdefs.h <<_ACEOF | 28103 | cat >>confdefs.h <<_ACEOF |
14711 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | 28104 | #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1 |
@@ -14716,13 +28109,17 @@ fi | |||
14716 | 28109 | ||
14717 | fi | 28110 | fi |
14718 | 28111 | ||
14719 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct addrinfo" >&5 | 28112 | { echo "$as_me:$LINENO: checking for struct addrinfo" >&5 |
14720 | $as_echo_n "checking for struct addrinfo... " >&6; } | 28113 | echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } |
14721 | if ${ac_cv_have_struct_addrinfo+:} false; then : | 28114 | if test "${ac_cv_have_struct_addrinfo+set}" = set; then |
14722 | $as_echo_n "(cached) " >&6 | 28115 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14723 | else | 28116 | else |
14724 | 28117 | ||
14725 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28118 | cat >conftest.$ac_ext <<_ACEOF |
28119 | /* confdefs.h. */ | ||
28120 | _ACEOF | ||
28121 | cat confdefs.h >>conftest.$ac_ext | ||
28122 | cat >>conftest.$ac_ext <<_ACEOF | ||
14726 | /* end confdefs.h. */ | 28123 | /* end confdefs.h. */ |
14727 | 28124 | ||
14728 | #include <sys/types.h> | 28125 | #include <sys/types.h> |
@@ -14737,30 +28134,56 @@ main () | |||
14737 | return 0; | 28134 | return 0; |
14738 | } | 28135 | } |
14739 | _ACEOF | 28136 | _ACEOF |
14740 | if ac_fn_c_try_compile "$LINENO"; then : | 28137 | rm -f conftest.$ac_objext |
28138 | if { (ac_try="$ac_compile" | ||
28139 | case "(($ac_try" in | ||
28140 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28141 | *) ac_try_echo=$ac_try;; | ||
28142 | esac | ||
28143 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28144 | (eval "$ac_compile") 2>conftest.er1 | ||
28145 | ac_status=$? | ||
28146 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28147 | rm -f conftest.er1 | ||
28148 | cat conftest.err >&5 | ||
28149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28150 | (exit $ac_status); } && { | ||
28151 | test -z "$ac_c_werror_flag" || | ||
28152 | test ! -s conftest.err | ||
28153 | } && test -s conftest.$ac_objext; then | ||
14741 | ac_cv_have_struct_addrinfo="yes" | 28154 | ac_cv_have_struct_addrinfo="yes" |
14742 | else | 28155 | else |
14743 | ac_cv_have_struct_addrinfo="no" | 28156 | echo "$as_me: failed program was:" >&5 |
28157 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28158 | |||
28159 | ac_cv_have_struct_addrinfo="no" | ||
14744 | 28160 | ||
14745 | fi | 28161 | fi |
28162 | |||
14746 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28163 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14747 | 28164 | ||
14748 | fi | 28165 | fi |
14749 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_addrinfo" >&5 | 28166 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 |
14750 | $as_echo "$ac_cv_have_struct_addrinfo" >&6; } | 28167 | echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; } |
14751 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then | 28168 | if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then |
14752 | 28169 | ||
14753 | $as_echo "#define HAVE_STRUCT_ADDRINFO 1" >>confdefs.h | 28170 | cat >>confdefs.h <<\_ACEOF |
28171 | #define HAVE_STRUCT_ADDRINFO 1 | ||
28172 | _ACEOF | ||
14754 | 28173 | ||
14755 | fi | 28174 | fi |
14756 | 28175 | ||
14757 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5 | 28176 | { echo "$as_me:$LINENO: checking for struct timeval" >&5 |
14758 | $as_echo_n "checking for struct timeval... " >&6; } | 28177 | echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } |
14759 | if ${ac_cv_have_struct_timeval+:} false; then : | 28178 | if test "${ac_cv_have_struct_timeval+set}" = set; then |
14760 | $as_echo_n "(cached) " >&6 | 28179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14761 | else | 28180 | else |
14762 | 28181 | ||
14763 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28182 | cat >conftest.$ac_ext <<_ACEOF |
28183 | /* confdefs.h. */ | ||
28184 | _ACEOF | ||
28185 | cat confdefs.h >>conftest.$ac_ext | ||
28186 | cat >>conftest.$ac_ext <<_ACEOF | ||
14764 | /* end confdefs.h. */ | 28187 | /* end confdefs.h. */ |
14765 | #include <sys/time.h> | 28188 | #include <sys/time.h> |
14766 | int | 28189 | int |
@@ -14771,26 +28194,100 @@ main () | |||
14771 | return 0; | 28194 | return 0; |
14772 | } | 28195 | } |
14773 | _ACEOF | 28196 | _ACEOF |
14774 | if ac_fn_c_try_compile "$LINENO"; then : | 28197 | rm -f conftest.$ac_objext |
28198 | if { (ac_try="$ac_compile" | ||
28199 | case "(($ac_try" in | ||
28200 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28201 | *) ac_try_echo=$ac_try;; | ||
28202 | esac | ||
28203 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28204 | (eval "$ac_compile") 2>conftest.er1 | ||
28205 | ac_status=$? | ||
28206 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28207 | rm -f conftest.er1 | ||
28208 | cat conftest.err >&5 | ||
28209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28210 | (exit $ac_status); } && { | ||
28211 | test -z "$ac_c_werror_flag" || | ||
28212 | test ! -s conftest.err | ||
28213 | } && test -s conftest.$ac_objext; then | ||
14775 | ac_cv_have_struct_timeval="yes" | 28214 | ac_cv_have_struct_timeval="yes" |
14776 | else | 28215 | else |
14777 | ac_cv_have_struct_timeval="no" | 28216 | echo "$as_me: failed program was:" >&5 |
28217 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28218 | |||
28219 | ac_cv_have_struct_timeval="no" | ||
14778 | 28220 | ||
14779 | fi | 28221 | fi |
28222 | |||
14780 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 28223 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14781 | 28224 | ||
14782 | fi | 28225 | fi |
14783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_struct_timeval" >&5 | 28226 | { echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 |
14784 | $as_echo "$ac_cv_have_struct_timeval" >&6; } | 28227 | echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6; } |
14785 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then | 28228 | if test "x$ac_cv_have_struct_timeval" = "xyes" ; then |
14786 | 28229 | ||
14787 | $as_echo "#define HAVE_STRUCT_TIMEVAL 1" >>confdefs.h | 28230 | cat >>confdefs.h <<\_ACEOF |
28231 | #define HAVE_STRUCT_TIMEVAL 1 | ||
28232 | _ACEOF | ||
14788 | 28233 | ||
14789 | have_struct_timeval=1 | 28234 | have_struct_timeval=1 |
14790 | fi | 28235 | fi |
14791 | 28236 | ||
14792 | ac_fn_c_check_type "$LINENO" "struct timespec" "ac_cv_type_struct_timespec" "$ac_includes_default" | 28237 | { echo "$as_me:$LINENO: checking for struct timespec" >&5 |
14793 | if test "x$ac_cv_type_struct_timespec" = xyes; then : | 28238 | echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } |
28239 | if test "${ac_cv_type_struct_timespec+set}" = set; then | ||
28240 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
28241 | else | ||
28242 | cat >conftest.$ac_ext <<_ACEOF | ||
28243 | /* confdefs.h. */ | ||
28244 | _ACEOF | ||
28245 | cat confdefs.h >>conftest.$ac_ext | ||
28246 | cat >>conftest.$ac_ext <<_ACEOF | ||
28247 | /* end confdefs.h. */ | ||
28248 | $ac_includes_default | ||
28249 | typedef struct timespec ac__type_new_; | ||
28250 | int | ||
28251 | main () | ||
28252 | { | ||
28253 | if ((ac__type_new_ *) 0) | ||
28254 | return 0; | ||
28255 | if (sizeof (ac__type_new_)) | ||
28256 | return 0; | ||
28257 | ; | ||
28258 | return 0; | ||
28259 | } | ||
28260 | _ACEOF | ||
28261 | rm -f conftest.$ac_objext | ||
28262 | if { (ac_try="$ac_compile" | ||
28263 | case "(($ac_try" in | ||
28264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28265 | *) ac_try_echo=$ac_try;; | ||
28266 | esac | ||
28267 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28268 | (eval "$ac_compile") 2>conftest.er1 | ||
28269 | ac_status=$? | ||
28270 | grep -v '^ *+' conftest.er1 >conftest.err | ||
28271 | rm -f conftest.er1 | ||
28272 | cat conftest.err >&5 | ||
28273 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28274 | (exit $ac_status); } && { | ||
28275 | test -z "$ac_c_werror_flag" || | ||
28276 | test ! -s conftest.err | ||
28277 | } && test -s conftest.$ac_objext; then | ||
28278 | ac_cv_type_struct_timespec=yes | ||
28279 | else | ||
28280 | echo "$as_me: failed program was:" >&5 | ||
28281 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28282 | |||
28283 | ac_cv_type_struct_timespec=no | ||
28284 | fi | ||
28285 | |||
28286 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
28287 | fi | ||
28288 | { echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 | ||
28289 | echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } | ||
28290 | if test $ac_cv_type_struct_timespec = yes; then | ||
14794 | 28291 | ||
14795 | cat >>confdefs.h <<_ACEOF | 28292 | cat >>confdefs.h <<_ACEOF |
14796 | #define HAVE_STRUCT_TIMESPEC 1 | 28293 | #define HAVE_STRUCT_TIMESPEC 1 |
@@ -14809,12 +28306,16 @@ if test "x$ac_cv_have_int64_t" = "xno" && \ | |||
14809 | echo "" | 28306 | echo "" |
14810 | exit 1; | 28307 | exit 1; |
14811 | else | 28308 | else |
14812 | if test "$cross_compiling" = yes; then : | 28309 | if test "$cross_compiling" = yes; then |
14813 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Assuming working snprintf()" >&5 | 28310 | { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 |
14814 | $as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} | 28311 | echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} |
14815 | 28312 | ||
14816 | else | 28313 | else |
14817 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28314 | cat >conftest.$ac_ext <<_ACEOF |
28315 | /* confdefs.h. */ | ||
28316 | _ACEOF | ||
28317 | cat confdefs.h >>conftest.$ac_ext | ||
28318 | cat >>conftest.$ac_ext <<_ACEOF | ||
14818 | /* end confdefs.h. */ | 28319 | /* end confdefs.h. */ |
14819 | 28320 | ||
14820 | #include <stdio.h> | 28321 | #include <stdio.h> |
@@ -14841,35 +28342,65 @@ main() { exit(0); } | |||
14841 | #endif | 28342 | #endif |
14842 | 28343 | ||
14843 | _ACEOF | 28344 | _ACEOF |
14844 | if ac_fn_c_try_run "$LINENO"; then : | 28345 | rm -f conftest$ac_exeext |
28346 | if { (ac_try="$ac_link" | ||
28347 | case "(($ac_try" in | ||
28348 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28349 | *) ac_try_echo=$ac_try;; | ||
28350 | esac | ||
28351 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28352 | (eval "$ac_link") 2>&5 | ||
28353 | ac_status=$? | ||
28354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28355 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
28356 | { (case "(($ac_try" in | ||
28357 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
28358 | *) ac_try_echo=$ac_try;; | ||
28359 | esac | ||
28360 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
28361 | (eval "$ac_try") 2>&5 | ||
28362 | ac_status=$? | ||
28363 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
28364 | (exit $ac_status); }; }; then | ||
14845 | true | 28365 | true |
14846 | else | 28366 | else |
14847 | $as_echo "#define BROKEN_SNPRINTF 1" >>confdefs.h | 28367 | echo "$as_me: program exited with status $ac_status" >&5 |
28368 | echo "$as_me: failed program was:" >&5 | ||
28369 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
28370 | |||
28371 | ( exit $ac_status ) | ||
28372 | cat >>confdefs.h <<\_ACEOF | ||
28373 | #define BROKEN_SNPRINTF 1 | ||
28374 | _ACEOF | ||
14848 | 28375 | ||
14849 | fi | 28376 | fi |
14850 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 28377 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
14851 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
14852 | fi | 28378 | fi |
14853 | 28379 | ||
28380 | |||
14854 | fi | 28381 | fi |
14855 | 28382 | ||
14856 | 28383 | ||
14857 | # look for field 'ut_host' in header 'utmp.h' | 28384 | # look for field 'ut_host' in header 'utmp.h' |
14858 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28385 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14859 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 28386 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
14860 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_host field in utmp.h" >&5 | 28387 | { echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 |
14861 | $as_echo_n "checking for ut_host field in utmp.h... " >&6; } | 28388 | echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6; } |
14862 | if eval \${$ossh_varname+:} false; then : | 28389 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
14863 | $as_echo_n "(cached) " >&6 | 28390 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14864 | else | 28391 | else |
14865 | 28392 | ||
14866 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28393 | cat >conftest.$ac_ext <<_ACEOF |
28394 | /* confdefs.h. */ | ||
28395 | _ACEOF | ||
28396 | cat confdefs.h >>conftest.$ac_ext | ||
28397 | cat >>conftest.$ac_ext <<_ACEOF | ||
14867 | /* end confdefs.h. */ | 28398 | /* end confdefs.h. */ |
14868 | #include <utmp.h> | 28399 | #include <utmp.h> |
14869 | 28400 | ||
14870 | _ACEOF | 28401 | _ACEOF |
14871 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28402 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14872 | $EGREP "ut_host" >/dev/null 2>&1; then : | 28403 | $EGREP "ut_host" >/dev/null 2>&1; then |
14873 | eval "$ossh_varname=yes" | 28404 | eval "$ossh_varname=yes" |
14874 | else | 28405 | else |
14875 | eval "$ossh_varname=no" | 28406 | eval "$ossh_varname=no" |
@@ -14880,35 +28411,41 @@ fi | |||
14880 | 28411 | ||
14881 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28412 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14882 | if test -n "`echo $ossh_varname`"; then | 28413 | if test -n "`echo $ossh_varname`"; then |
14883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28414 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
14884 | $as_echo "$ossh_result" >&6; } | 28415 | echo "${ECHO_T}$ossh_result" >&6; } |
14885 | if test "x$ossh_result" = "xyes"; then | 28416 | if test "x$ossh_result" = "xyes"; then |
14886 | 28417 | ||
14887 | $as_echo "#define HAVE_HOST_IN_UTMP 1" >>confdefs.h | 28418 | cat >>confdefs.h <<\_ACEOF |
28419 | #define HAVE_HOST_IN_UTMP 1 | ||
28420 | _ACEOF | ||
14888 | 28421 | ||
14889 | fi | 28422 | fi |
14890 | else | 28423 | else |
14891 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28424 | { echo "$as_me:$LINENO: result: no" >&5 |
14892 | $as_echo "no" >&6; } | 28425 | echo "${ECHO_T}no" >&6; } |
14893 | fi | 28426 | fi |
14894 | 28427 | ||
14895 | 28428 | ||
14896 | # look for field 'ut_host' in header 'utmpx.h' | 28429 | # look for field 'ut_host' in header 'utmpx.h' |
14897 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 28430 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14898 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host | 28431 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host |
14899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_host field in utmpx.h" >&5 | 28432 | { echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 |
14900 | $as_echo_n "checking for ut_host field in utmpx.h... " >&6; } | 28433 | echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6; } |
14901 | if eval \${$ossh_varname+:} false; then : | 28434 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
14902 | $as_echo_n "(cached) " >&6 | 28435 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14903 | else | 28436 | else |
14904 | 28437 | ||
14905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28438 | cat >conftest.$ac_ext <<_ACEOF |
28439 | /* confdefs.h. */ | ||
28440 | _ACEOF | ||
28441 | cat confdefs.h >>conftest.$ac_ext | ||
28442 | cat >>conftest.$ac_ext <<_ACEOF | ||
14906 | /* end confdefs.h. */ | 28443 | /* end confdefs.h. */ |
14907 | #include <utmpx.h> | 28444 | #include <utmpx.h> |
14908 | 28445 | ||
14909 | _ACEOF | 28446 | _ACEOF |
14910 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28447 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14911 | $EGREP "ut_host" >/dev/null 2>&1; then : | 28448 | $EGREP "ut_host" >/dev/null 2>&1; then |
14912 | eval "$ossh_varname=yes" | 28449 | eval "$ossh_varname=yes" |
14913 | else | 28450 | else |
14914 | eval "$ossh_varname=no" | 28451 | eval "$ossh_varname=no" |
@@ -14919,35 +28456,41 @@ fi | |||
14919 | 28456 | ||
14920 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28457 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14921 | if test -n "`echo $ossh_varname`"; then | 28458 | if test -n "`echo $ossh_varname`"; then |
14922 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28459 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
14923 | $as_echo "$ossh_result" >&6; } | 28460 | echo "${ECHO_T}$ossh_result" >&6; } |
14924 | if test "x$ossh_result" = "xyes"; then | 28461 | if test "x$ossh_result" = "xyes"; then |
14925 | 28462 | ||
14926 | $as_echo "#define HAVE_HOST_IN_UTMPX 1" >>confdefs.h | 28463 | cat >>confdefs.h <<\_ACEOF |
28464 | #define HAVE_HOST_IN_UTMPX 1 | ||
28465 | _ACEOF | ||
14927 | 28466 | ||
14928 | fi | 28467 | fi |
14929 | else | 28468 | else |
14930 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28469 | { echo "$as_me:$LINENO: result: no" >&5 |
14931 | $as_echo "no" >&6; } | 28470 | echo "${ECHO_T}no" >&6; } |
14932 | fi | 28471 | fi |
14933 | 28472 | ||
14934 | 28473 | ||
14935 | # look for field 'syslen' in header 'utmpx.h' | 28474 | # look for field 'syslen' in header 'utmpx.h' |
14936 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 28475 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
14937 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen | 28476 | ossh_varname="ossh_cv_$ossh_safe""_has_"syslen |
14938 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for syslen field in utmpx.h" >&5 | 28477 | { echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 |
14939 | $as_echo_n "checking for syslen field in utmpx.h... " >&6; } | 28478 | echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6; } |
14940 | if eval \${$ossh_varname+:} false; then : | 28479 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
14941 | $as_echo_n "(cached) " >&6 | 28480 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14942 | else | 28481 | else |
14943 | 28482 | ||
14944 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28483 | cat >conftest.$ac_ext <<_ACEOF |
28484 | /* confdefs.h. */ | ||
28485 | _ACEOF | ||
28486 | cat confdefs.h >>conftest.$ac_ext | ||
28487 | cat >>conftest.$ac_ext <<_ACEOF | ||
14945 | /* end confdefs.h. */ | 28488 | /* end confdefs.h. */ |
14946 | #include <utmpx.h> | 28489 | #include <utmpx.h> |
14947 | 28490 | ||
14948 | _ACEOF | 28491 | _ACEOF |
14949 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28492 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14950 | $EGREP "syslen" >/dev/null 2>&1; then : | 28493 | $EGREP "syslen" >/dev/null 2>&1; then |
14951 | eval "$ossh_varname=yes" | 28494 | eval "$ossh_varname=yes" |
14952 | else | 28495 | else |
14953 | eval "$ossh_varname=no" | 28496 | eval "$ossh_varname=no" |
@@ -14958,35 +28501,41 @@ fi | |||
14958 | 28501 | ||
14959 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28502 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14960 | if test -n "`echo $ossh_varname`"; then | 28503 | if test -n "`echo $ossh_varname`"; then |
14961 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28504 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
14962 | $as_echo "$ossh_result" >&6; } | 28505 | echo "${ECHO_T}$ossh_result" >&6; } |
14963 | if test "x$ossh_result" = "xyes"; then | 28506 | if test "x$ossh_result" = "xyes"; then |
14964 | 28507 | ||
14965 | $as_echo "#define HAVE_SYSLEN_IN_UTMPX 1" >>confdefs.h | 28508 | cat >>confdefs.h <<\_ACEOF |
28509 | #define HAVE_SYSLEN_IN_UTMPX 1 | ||
28510 | _ACEOF | ||
14966 | 28511 | ||
14967 | fi | 28512 | fi |
14968 | else | 28513 | else |
14969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28514 | { echo "$as_me:$LINENO: result: no" >&5 |
14970 | $as_echo "no" >&6; } | 28515 | echo "${ECHO_T}no" >&6; } |
14971 | fi | 28516 | fi |
14972 | 28517 | ||
14973 | 28518 | ||
14974 | # look for field 'ut_pid' in header 'utmp.h' | 28519 | # look for field 'ut_pid' in header 'utmp.h' |
14975 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28520 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
14976 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid | 28521 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid |
14977 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_pid field in utmp.h" >&5 | 28522 | { echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 |
14978 | $as_echo_n "checking for ut_pid field in utmp.h... " >&6; } | 28523 | echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6; } |
14979 | if eval \${$ossh_varname+:} false; then : | 28524 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
14980 | $as_echo_n "(cached) " >&6 | 28525 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14981 | else | 28526 | else |
14982 | 28527 | ||
14983 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28528 | cat >conftest.$ac_ext <<_ACEOF |
28529 | /* confdefs.h. */ | ||
28530 | _ACEOF | ||
28531 | cat confdefs.h >>conftest.$ac_ext | ||
28532 | cat >>conftest.$ac_ext <<_ACEOF | ||
14984 | /* end confdefs.h. */ | 28533 | /* end confdefs.h. */ |
14985 | #include <utmp.h> | 28534 | #include <utmp.h> |
14986 | 28535 | ||
14987 | _ACEOF | 28536 | _ACEOF |
14988 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28537 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14989 | $EGREP "ut_pid" >/dev/null 2>&1; then : | 28538 | $EGREP "ut_pid" >/dev/null 2>&1; then |
14990 | eval "$ossh_varname=yes" | 28539 | eval "$ossh_varname=yes" |
14991 | else | 28540 | else |
14992 | eval "$ossh_varname=no" | 28541 | eval "$ossh_varname=no" |
@@ -14997,35 +28546,41 @@ fi | |||
14997 | 28546 | ||
14998 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28547 | ossh_result=`eval 'echo $'"$ossh_varname"` |
14999 | if test -n "`echo $ossh_varname`"; then | 28548 | if test -n "`echo $ossh_varname`"; then |
15000 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28549 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15001 | $as_echo "$ossh_result" >&6; } | 28550 | echo "${ECHO_T}$ossh_result" >&6; } |
15002 | if test "x$ossh_result" = "xyes"; then | 28551 | if test "x$ossh_result" = "xyes"; then |
15003 | 28552 | ||
15004 | $as_echo "#define HAVE_PID_IN_UTMP 1" >>confdefs.h | 28553 | cat >>confdefs.h <<\_ACEOF |
28554 | #define HAVE_PID_IN_UTMP 1 | ||
28555 | _ACEOF | ||
15005 | 28556 | ||
15006 | fi | 28557 | fi |
15007 | else | 28558 | else |
15008 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28559 | { echo "$as_me:$LINENO: result: no" >&5 |
15009 | $as_echo "no" >&6; } | 28560 | echo "${ECHO_T}no" >&6; } |
15010 | fi | 28561 | fi |
15011 | 28562 | ||
15012 | 28563 | ||
15013 | # look for field 'ut_type' in header 'utmp.h' | 28564 | # look for field 'ut_type' in header 'utmp.h' |
15014 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28565 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15015 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 28566 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
15016 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_type field in utmp.h" >&5 | 28567 | { echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 |
15017 | $as_echo_n "checking for ut_type field in utmp.h... " >&6; } | 28568 | echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6; } |
15018 | if eval \${$ossh_varname+:} false; then : | 28569 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15019 | $as_echo_n "(cached) " >&6 | 28570 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15020 | else | 28571 | else |
15021 | 28572 | ||
15022 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28573 | cat >conftest.$ac_ext <<_ACEOF |
28574 | /* confdefs.h. */ | ||
28575 | _ACEOF | ||
28576 | cat confdefs.h >>conftest.$ac_ext | ||
28577 | cat >>conftest.$ac_ext <<_ACEOF | ||
15023 | /* end confdefs.h. */ | 28578 | /* end confdefs.h. */ |
15024 | #include <utmp.h> | 28579 | #include <utmp.h> |
15025 | 28580 | ||
15026 | _ACEOF | 28581 | _ACEOF |
15027 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28582 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15028 | $EGREP "ut_type" >/dev/null 2>&1; then : | 28583 | $EGREP "ut_type" >/dev/null 2>&1; then |
15029 | eval "$ossh_varname=yes" | 28584 | eval "$ossh_varname=yes" |
15030 | else | 28585 | else |
15031 | eval "$ossh_varname=no" | 28586 | eval "$ossh_varname=no" |
@@ -15036,35 +28591,41 @@ fi | |||
15036 | 28591 | ||
15037 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28592 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15038 | if test -n "`echo $ossh_varname`"; then | 28593 | if test -n "`echo $ossh_varname`"; then |
15039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28594 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15040 | $as_echo "$ossh_result" >&6; } | 28595 | echo "${ECHO_T}$ossh_result" >&6; } |
15041 | if test "x$ossh_result" = "xyes"; then | 28596 | if test "x$ossh_result" = "xyes"; then |
15042 | 28597 | ||
15043 | $as_echo "#define HAVE_TYPE_IN_UTMP 1" >>confdefs.h | 28598 | cat >>confdefs.h <<\_ACEOF |
28599 | #define HAVE_TYPE_IN_UTMP 1 | ||
28600 | _ACEOF | ||
15044 | 28601 | ||
15045 | fi | 28602 | fi |
15046 | else | 28603 | else |
15047 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28604 | { echo "$as_me:$LINENO: result: no" >&5 |
15048 | $as_echo "no" >&6; } | 28605 | echo "${ECHO_T}no" >&6; } |
15049 | fi | 28606 | fi |
15050 | 28607 | ||
15051 | 28608 | ||
15052 | # look for field 'ut_type' in header 'utmpx.h' | 28609 | # look for field 'ut_type' in header 'utmpx.h' |
15053 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 28610 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
15054 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type | 28611 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type |
15055 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_type field in utmpx.h" >&5 | 28612 | { echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 |
15056 | $as_echo_n "checking for ut_type field in utmpx.h... " >&6; } | 28613 | echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6; } |
15057 | if eval \${$ossh_varname+:} false; then : | 28614 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15058 | $as_echo_n "(cached) " >&6 | 28615 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15059 | else | 28616 | else |
15060 | 28617 | ||
15061 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28618 | cat >conftest.$ac_ext <<_ACEOF |
28619 | /* confdefs.h. */ | ||
28620 | _ACEOF | ||
28621 | cat confdefs.h >>conftest.$ac_ext | ||
28622 | cat >>conftest.$ac_ext <<_ACEOF | ||
15062 | /* end confdefs.h. */ | 28623 | /* end confdefs.h. */ |
15063 | #include <utmpx.h> | 28624 | #include <utmpx.h> |
15064 | 28625 | ||
15065 | _ACEOF | 28626 | _ACEOF |
15066 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28627 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15067 | $EGREP "ut_type" >/dev/null 2>&1; then : | 28628 | $EGREP "ut_type" >/dev/null 2>&1; then |
15068 | eval "$ossh_varname=yes" | 28629 | eval "$ossh_varname=yes" |
15069 | else | 28630 | else |
15070 | eval "$ossh_varname=no" | 28631 | eval "$ossh_varname=no" |
@@ -15075,35 +28636,41 @@ fi | |||
15075 | 28636 | ||
15076 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28637 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15077 | if test -n "`echo $ossh_varname`"; then | 28638 | if test -n "`echo $ossh_varname`"; then |
15078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28639 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15079 | $as_echo "$ossh_result" >&6; } | 28640 | echo "${ECHO_T}$ossh_result" >&6; } |
15080 | if test "x$ossh_result" = "xyes"; then | 28641 | if test "x$ossh_result" = "xyes"; then |
15081 | 28642 | ||
15082 | $as_echo "#define HAVE_TYPE_IN_UTMPX 1" >>confdefs.h | 28643 | cat >>confdefs.h <<\_ACEOF |
28644 | #define HAVE_TYPE_IN_UTMPX 1 | ||
28645 | _ACEOF | ||
15083 | 28646 | ||
15084 | fi | 28647 | fi |
15085 | else | 28648 | else |
15086 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28649 | { echo "$as_me:$LINENO: result: no" >&5 |
15087 | $as_echo "no" >&6; } | 28650 | echo "${ECHO_T}no" >&6; } |
15088 | fi | 28651 | fi |
15089 | 28652 | ||
15090 | 28653 | ||
15091 | # look for field 'ut_tv' in header 'utmp.h' | 28654 | # look for field 'ut_tv' in header 'utmp.h' |
15092 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28655 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15093 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 28656 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
15094 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_tv field in utmp.h" >&5 | 28657 | { echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 |
15095 | $as_echo_n "checking for ut_tv field in utmp.h... " >&6; } | 28658 | echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6; } |
15096 | if eval \${$ossh_varname+:} false; then : | 28659 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15097 | $as_echo_n "(cached) " >&6 | 28660 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15098 | else | 28661 | else |
15099 | 28662 | ||
15100 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28663 | cat >conftest.$ac_ext <<_ACEOF |
28664 | /* confdefs.h. */ | ||
28665 | _ACEOF | ||
28666 | cat confdefs.h >>conftest.$ac_ext | ||
28667 | cat >>conftest.$ac_ext <<_ACEOF | ||
15101 | /* end confdefs.h. */ | 28668 | /* end confdefs.h. */ |
15102 | #include <utmp.h> | 28669 | #include <utmp.h> |
15103 | 28670 | ||
15104 | _ACEOF | 28671 | _ACEOF |
15105 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28672 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15106 | $EGREP "ut_tv" >/dev/null 2>&1; then : | 28673 | $EGREP "ut_tv" >/dev/null 2>&1; then |
15107 | eval "$ossh_varname=yes" | 28674 | eval "$ossh_varname=yes" |
15108 | else | 28675 | else |
15109 | eval "$ossh_varname=no" | 28676 | eval "$ossh_varname=no" |
@@ -15114,35 +28681,41 @@ fi | |||
15114 | 28681 | ||
15115 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28682 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15116 | if test -n "`echo $ossh_varname`"; then | 28683 | if test -n "`echo $ossh_varname`"; then |
15117 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28684 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15118 | $as_echo "$ossh_result" >&6; } | 28685 | echo "${ECHO_T}$ossh_result" >&6; } |
15119 | if test "x$ossh_result" = "xyes"; then | 28686 | if test "x$ossh_result" = "xyes"; then |
15120 | 28687 | ||
15121 | $as_echo "#define HAVE_TV_IN_UTMP 1" >>confdefs.h | 28688 | cat >>confdefs.h <<\_ACEOF |
28689 | #define HAVE_TV_IN_UTMP 1 | ||
28690 | _ACEOF | ||
15122 | 28691 | ||
15123 | fi | 28692 | fi |
15124 | else | 28693 | else |
15125 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28694 | { echo "$as_me:$LINENO: result: no" >&5 |
15126 | $as_echo "no" >&6; } | 28695 | echo "${ECHO_T}no" >&6; } |
15127 | fi | 28696 | fi |
15128 | 28697 | ||
15129 | 28698 | ||
15130 | # look for field 'ut_id' in header 'utmp.h' | 28699 | # look for field 'ut_id' in header 'utmp.h' |
15131 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28700 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15132 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 28701 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
15133 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_id field in utmp.h" >&5 | 28702 | { echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 |
15134 | $as_echo_n "checking for ut_id field in utmp.h... " >&6; } | 28703 | echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6; } |
15135 | if eval \${$ossh_varname+:} false; then : | 28704 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15136 | $as_echo_n "(cached) " >&6 | 28705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15137 | else | 28706 | else |
15138 | 28707 | ||
15139 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28708 | cat >conftest.$ac_ext <<_ACEOF |
28709 | /* confdefs.h. */ | ||
28710 | _ACEOF | ||
28711 | cat confdefs.h >>conftest.$ac_ext | ||
28712 | cat >>conftest.$ac_ext <<_ACEOF | ||
15140 | /* end confdefs.h. */ | 28713 | /* end confdefs.h. */ |
15141 | #include <utmp.h> | 28714 | #include <utmp.h> |
15142 | 28715 | ||
15143 | _ACEOF | 28716 | _ACEOF |
15144 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28717 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15145 | $EGREP "ut_id" >/dev/null 2>&1; then : | 28718 | $EGREP "ut_id" >/dev/null 2>&1; then |
15146 | eval "$ossh_varname=yes" | 28719 | eval "$ossh_varname=yes" |
15147 | else | 28720 | else |
15148 | eval "$ossh_varname=no" | 28721 | eval "$ossh_varname=no" |
@@ -15153,35 +28726,41 @@ fi | |||
15153 | 28726 | ||
15154 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28727 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15155 | if test -n "`echo $ossh_varname`"; then | 28728 | if test -n "`echo $ossh_varname`"; then |
15156 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28729 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15157 | $as_echo "$ossh_result" >&6; } | 28730 | echo "${ECHO_T}$ossh_result" >&6; } |
15158 | if test "x$ossh_result" = "xyes"; then | 28731 | if test "x$ossh_result" = "xyes"; then |
15159 | 28732 | ||
15160 | $as_echo "#define HAVE_ID_IN_UTMP 1" >>confdefs.h | 28733 | cat >>confdefs.h <<\_ACEOF |
28734 | #define HAVE_ID_IN_UTMP 1 | ||
28735 | _ACEOF | ||
15161 | 28736 | ||
15162 | fi | 28737 | fi |
15163 | else | 28738 | else |
15164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28739 | { echo "$as_me:$LINENO: result: no" >&5 |
15165 | $as_echo "no" >&6; } | 28740 | echo "${ECHO_T}no" >&6; } |
15166 | fi | 28741 | fi |
15167 | 28742 | ||
15168 | 28743 | ||
15169 | # look for field 'ut_id' in header 'utmpx.h' | 28744 | # look for field 'ut_id' in header 'utmpx.h' |
15170 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 28745 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
15171 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id | 28746 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id |
15172 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_id field in utmpx.h" >&5 | 28747 | { echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 |
15173 | $as_echo_n "checking for ut_id field in utmpx.h... " >&6; } | 28748 | echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6; } |
15174 | if eval \${$ossh_varname+:} false; then : | 28749 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15175 | $as_echo_n "(cached) " >&6 | 28750 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15176 | else | 28751 | else |
15177 | 28752 | ||
15178 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28753 | cat >conftest.$ac_ext <<_ACEOF |
28754 | /* confdefs.h. */ | ||
28755 | _ACEOF | ||
28756 | cat confdefs.h >>conftest.$ac_ext | ||
28757 | cat >>conftest.$ac_ext <<_ACEOF | ||
15179 | /* end confdefs.h. */ | 28758 | /* end confdefs.h. */ |
15180 | #include <utmpx.h> | 28759 | #include <utmpx.h> |
15181 | 28760 | ||
15182 | _ACEOF | 28761 | _ACEOF |
15183 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28762 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15184 | $EGREP "ut_id" >/dev/null 2>&1; then : | 28763 | $EGREP "ut_id" >/dev/null 2>&1; then |
15185 | eval "$ossh_varname=yes" | 28764 | eval "$ossh_varname=yes" |
15186 | else | 28765 | else |
15187 | eval "$ossh_varname=no" | 28766 | eval "$ossh_varname=no" |
@@ -15192,35 +28771,41 @@ fi | |||
15192 | 28771 | ||
15193 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28772 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15194 | if test -n "`echo $ossh_varname`"; then | 28773 | if test -n "`echo $ossh_varname`"; then |
15195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28774 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15196 | $as_echo "$ossh_result" >&6; } | 28775 | echo "${ECHO_T}$ossh_result" >&6; } |
15197 | if test "x$ossh_result" = "xyes"; then | 28776 | if test "x$ossh_result" = "xyes"; then |
15198 | 28777 | ||
15199 | $as_echo "#define HAVE_ID_IN_UTMPX 1" >>confdefs.h | 28778 | cat >>confdefs.h <<\_ACEOF |
28779 | #define HAVE_ID_IN_UTMPX 1 | ||
28780 | _ACEOF | ||
15200 | 28781 | ||
15201 | fi | 28782 | fi |
15202 | else | 28783 | else |
15203 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28784 | { echo "$as_me:$LINENO: result: no" >&5 |
15204 | $as_echo "no" >&6; } | 28785 | echo "${ECHO_T}no" >&6; } |
15205 | fi | 28786 | fi |
15206 | 28787 | ||
15207 | 28788 | ||
15208 | # look for field 'ut_addr' in header 'utmp.h' | 28789 | # look for field 'ut_addr' in header 'utmp.h' |
15209 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28790 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15210 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 28791 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
15211 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr field in utmp.h" >&5 | 28792 | { echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 |
15212 | $as_echo_n "checking for ut_addr field in utmp.h... " >&6; } | 28793 | echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6; } |
15213 | if eval \${$ossh_varname+:} false; then : | 28794 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15214 | $as_echo_n "(cached) " >&6 | 28795 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15215 | else | 28796 | else |
15216 | 28797 | ||
15217 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28798 | cat >conftest.$ac_ext <<_ACEOF |
28799 | /* confdefs.h. */ | ||
28800 | _ACEOF | ||
28801 | cat confdefs.h >>conftest.$ac_ext | ||
28802 | cat >>conftest.$ac_ext <<_ACEOF | ||
15218 | /* end confdefs.h. */ | 28803 | /* end confdefs.h. */ |
15219 | #include <utmp.h> | 28804 | #include <utmp.h> |
15220 | 28805 | ||
15221 | _ACEOF | 28806 | _ACEOF |
15222 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28807 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15223 | $EGREP "ut_addr" >/dev/null 2>&1; then : | 28808 | $EGREP "ut_addr" >/dev/null 2>&1; then |
15224 | eval "$ossh_varname=yes" | 28809 | eval "$ossh_varname=yes" |
15225 | else | 28810 | else |
15226 | eval "$ossh_varname=no" | 28811 | eval "$ossh_varname=no" |
@@ -15231,35 +28816,41 @@ fi | |||
15231 | 28816 | ||
15232 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28817 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15233 | if test -n "`echo $ossh_varname`"; then | 28818 | if test -n "`echo $ossh_varname`"; then |
15234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28819 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15235 | $as_echo "$ossh_result" >&6; } | 28820 | echo "${ECHO_T}$ossh_result" >&6; } |
15236 | if test "x$ossh_result" = "xyes"; then | 28821 | if test "x$ossh_result" = "xyes"; then |
15237 | 28822 | ||
15238 | $as_echo "#define HAVE_ADDR_IN_UTMP 1" >>confdefs.h | 28823 | cat >>confdefs.h <<\_ACEOF |
28824 | #define HAVE_ADDR_IN_UTMP 1 | ||
28825 | _ACEOF | ||
15239 | 28826 | ||
15240 | fi | 28827 | fi |
15241 | else | 28828 | else |
15242 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28829 | { echo "$as_me:$LINENO: result: no" >&5 |
15243 | $as_echo "no" >&6; } | 28830 | echo "${ECHO_T}no" >&6; } |
15244 | fi | 28831 | fi |
15245 | 28832 | ||
15246 | 28833 | ||
15247 | # look for field 'ut_addr' in header 'utmpx.h' | 28834 | # look for field 'ut_addr' in header 'utmpx.h' |
15248 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 28835 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
15249 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr | 28836 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr |
15250 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr field in utmpx.h" >&5 | 28837 | { echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 |
15251 | $as_echo_n "checking for ut_addr field in utmpx.h... " >&6; } | 28838 | echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6; } |
15252 | if eval \${$ossh_varname+:} false; then : | 28839 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15253 | $as_echo_n "(cached) " >&6 | 28840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15254 | else | 28841 | else |
15255 | 28842 | ||
15256 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28843 | cat >conftest.$ac_ext <<_ACEOF |
28844 | /* confdefs.h. */ | ||
28845 | _ACEOF | ||
28846 | cat confdefs.h >>conftest.$ac_ext | ||
28847 | cat >>conftest.$ac_ext <<_ACEOF | ||
15257 | /* end confdefs.h. */ | 28848 | /* end confdefs.h. */ |
15258 | #include <utmpx.h> | 28849 | #include <utmpx.h> |
15259 | 28850 | ||
15260 | _ACEOF | 28851 | _ACEOF |
15261 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28852 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15262 | $EGREP "ut_addr" >/dev/null 2>&1; then : | 28853 | $EGREP "ut_addr" >/dev/null 2>&1; then |
15263 | eval "$ossh_varname=yes" | 28854 | eval "$ossh_varname=yes" |
15264 | else | 28855 | else |
15265 | eval "$ossh_varname=no" | 28856 | eval "$ossh_varname=no" |
@@ -15270,35 +28861,41 @@ fi | |||
15270 | 28861 | ||
15271 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28862 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15272 | if test -n "`echo $ossh_varname`"; then | 28863 | if test -n "`echo $ossh_varname`"; then |
15273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28864 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15274 | $as_echo "$ossh_result" >&6; } | 28865 | echo "${ECHO_T}$ossh_result" >&6; } |
15275 | if test "x$ossh_result" = "xyes"; then | 28866 | if test "x$ossh_result" = "xyes"; then |
15276 | 28867 | ||
15277 | $as_echo "#define HAVE_ADDR_IN_UTMPX 1" >>confdefs.h | 28868 | cat >>confdefs.h <<\_ACEOF |
28869 | #define HAVE_ADDR_IN_UTMPX 1 | ||
28870 | _ACEOF | ||
15278 | 28871 | ||
15279 | fi | 28872 | fi |
15280 | else | 28873 | else |
15281 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28874 | { echo "$as_me:$LINENO: result: no" >&5 |
15282 | $as_echo "no" >&6; } | 28875 | echo "${ECHO_T}no" >&6; } |
15283 | fi | 28876 | fi |
15284 | 28877 | ||
15285 | 28878 | ||
15286 | # look for field 'ut_addr_v6' in header 'utmp.h' | 28879 | # look for field 'ut_addr_v6' in header 'utmp.h' |
15287 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28880 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15288 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 28881 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
15289 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr_v6 field in utmp.h" >&5 | 28882 | { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 |
15290 | $as_echo_n "checking for ut_addr_v6 field in utmp.h... " >&6; } | 28883 | echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6; } |
15291 | if eval \${$ossh_varname+:} false; then : | 28884 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15292 | $as_echo_n "(cached) " >&6 | 28885 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15293 | else | 28886 | else |
15294 | 28887 | ||
15295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28888 | cat >conftest.$ac_ext <<_ACEOF |
28889 | /* confdefs.h. */ | ||
28890 | _ACEOF | ||
28891 | cat confdefs.h >>conftest.$ac_ext | ||
28892 | cat >>conftest.$ac_ext <<_ACEOF | ||
15296 | /* end confdefs.h. */ | 28893 | /* end confdefs.h. */ |
15297 | #include <utmp.h> | 28894 | #include <utmp.h> |
15298 | 28895 | ||
15299 | _ACEOF | 28896 | _ACEOF |
15300 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28897 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15301 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then : | 28898 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then |
15302 | eval "$ossh_varname=yes" | 28899 | eval "$ossh_varname=yes" |
15303 | else | 28900 | else |
15304 | eval "$ossh_varname=no" | 28901 | eval "$ossh_varname=no" |
@@ -15309,35 +28906,41 @@ fi | |||
15309 | 28906 | ||
15310 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28907 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15311 | if test -n "`echo $ossh_varname`"; then | 28908 | if test -n "`echo $ossh_varname`"; then |
15312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28909 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15313 | $as_echo "$ossh_result" >&6; } | 28910 | echo "${ECHO_T}$ossh_result" >&6; } |
15314 | if test "x$ossh_result" = "xyes"; then | 28911 | if test "x$ossh_result" = "xyes"; then |
15315 | 28912 | ||
15316 | $as_echo "#define HAVE_ADDR_V6_IN_UTMP 1" >>confdefs.h | 28913 | cat >>confdefs.h <<\_ACEOF |
28914 | #define HAVE_ADDR_V6_IN_UTMP 1 | ||
28915 | _ACEOF | ||
15317 | 28916 | ||
15318 | fi | 28917 | fi |
15319 | else | 28918 | else |
15320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28919 | { echo "$as_me:$LINENO: result: no" >&5 |
15321 | $as_echo "no" >&6; } | 28920 | echo "${ECHO_T}no" >&6; } |
15322 | fi | 28921 | fi |
15323 | 28922 | ||
15324 | 28923 | ||
15325 | # look for field 'ut_addr_v6' in header 'utmpx.h' | 28924 | # look for field 'ut_addr_v6' in header 'utmpx.h' |
15326 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 28925 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
15327 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 | 28926 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 |
15328 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_addr_v6 field in utmpx.h" >&5 | 28927 | { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 |
15329 | $as_echo_n "checking for ut_addr_v6 field in utmpx.h... " >&6; } | 28928 | echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6; } |
15330 | if eval \${$ossh_varname+:} false; then : | 28929 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15331 | $as_echo_n "(cached) " >&6 | 28930 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15332 | else | 28931 | else |
15333 | 28932 | ||
15334 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28933 | cat >conftest.$ac_ext <<_ACEOF |
28934 | /* confdefs.h. */ | ||
28935 | _ACEOF | ||
28936 | cat confdefs.h >>conftest.$ac_ext | ||
28937 | cat >>conftest.$ac_ext <<_ACEOF | ||
15335 | /* end confdefs.h. */ | 28938 | /* end confdefs.h. */ |
15336 | #include <utmpx.h> | 28939 | #include <utmpx.h> |
15337 | 28940 | ||
15338 | _ACEOF | 28941 | _ACEOF |
15339 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28942 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15340 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then : | 28943 | $EGREP "ut_addr_v6" >/dev/null 2>&1; then |
15341 | eval "$ossh_varname=yes" | 28944 | eval "$ossh_varname=yes" |
15342 | else | 28945 | else |
15343 | eval "$ossh_varname=no" | 28946 | eval "$ossh_varname=no" |
@@ -15348,35 +28951,41 @@ fi | |||
15348 | 28951 | ||
15349 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28952 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15350 | if test -n "`echo $ossh_varname`"; then | 28953 | if test -n "`echo $ossh_varname`"; then |
15351 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28954 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15352 | $as_echo "$ossh_result" >&6; } | 28955 | echo "${ECHO_T}$ossh_result" >&6; } |
15353 | if test "x$ossh_result" = "xyes"; then | 28956 | if test "x$ossh_result" = "xyes"; then |
15354 | 28957 | ||
15355 | $as_echo "#define HAVE_ADDR_V6_IN_UTMPX 1" >>confdefs.h | 28958 | cat >>confdefs.h <<\_ACEOF |
28959 | #define HAVE_ADDR_V6_IN_UTMPX 1 | ||
28960 | _ACEOF | ||
15356 | 28961 | ||
15357 | fi | 28962 | fi |
15358 | else | 28963 | else |
15359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 28964 | { echo "$as_me:$LINENO: result: no" >&5 |
15360 | $as_echo "no" >&6; } | 28965 | echo "${ECHO_T}no" >&6; } |
15361 | fi | 28966 | fi |
15362 | 28967 | ||
15363 | 28968 | ||
15364 | # look for field 'ut_exit' in header 'utmp.h' | 28969 | # look for field 'ut_exit' in header 'utmp.h' |
15365 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 28970 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15366 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit | 28971 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit |
15367 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_exit field in utmp.h" >&5 | 28972 | { echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 |
15368 | $as_echo_n "checking for ut_exit field in utmp.h... " >&6; } | 28973 | echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6; } |
15369 | if eval \${$ossh_varname+:} false; then : | 28974 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15370 | $as_echo_n "(cached) " >&6 | 28975 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15371 | else | 28976 | else |
15372 | 28977 | ||
15373 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 28978 | cat >conftest.$ac_ext <<_ACEOF |
28979 | /* confdefs.h. */ | ||
28980 | _ACEOF | ||
28981 | cat confdefs.h >>conftest.$ac_ext | ||
28982 | cat >>conftest.$ac_ext <<_ACEOF | ||
15374 | /* end confdefs.h. */ | 28983 | /* end confdefs.h. */ |
15375 | #include <utmp.h> | 28984 | #include <utmp.h> |
15376 | 28985 | ||
15377 | _ACEOF | 28986 | _ACEOF |
15378 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 28987 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15379 | $EGREP "ut_exit" >/dev/null 2>&1; then : | 28988 | $EGREP "ut_exit" >/dev/null 2>&1; then |
15380 | eval "$ossh_varname=yes" | 28989 | eval "$ossh_varname=yes" |
15381 | else | 28990 | else |
15382 | eval "$ossh_varname=no" | 28991 | eval "$ossh_varname=no" |
@@ -15387,35 +28996,41 @@ fi | |||
15387 | 28996 | ||
15388 | ossh_result=`eval 'echo $'"$ossh_varname"` | 28997 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15389 | if test -n "`echo $ossh_varname`"; then | 28998 | if test -n "`echo $ossh_varname`"; then |
15390 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 28999 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15391 | $as_echo "$ossh_result" >&6; } | 29000 | echo "${ECHO_T}$ossh_result" >&6; } |
15392 | if test "x$ossh_result" = "xyes"; then | 29001 | if test "x$ossh_result" = "xyes"; then |
15393 | 29002 | ||
15394 | $as_echo "#define HAVE_EXIT_IN_UTMP 1" >>confdefs.h | 29003 | cat >>confdefs.h <<\_ACEOF |
29004 | #define HAVE_EXIT_IN_UTMP 1 | ||
29005 | _ACEOF | ||
15395 | 29006 | ||
15396 | fi | 29007 | fi |
15397 | else | 29008 | else |
15398 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 29009 | { echo "$as_me:$LINENO: result: no" >&5 |
15399 | $as_echo "no" >&6; } | 29010 | echo "${ECHO_T}no" >&6; } |
15400 | fi | 29011 | fi |
15401 | 29012 | ||
15402 | 29013 | ||
15403 | # look for field 'ut_time' in header 'utmp.h' | 29014 | # look for field 'ut_time' in header 'utmp.h' |
15404 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` | 29015 | ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` |
15405 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 29016 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
15406 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_time field in utmp.h" >&5 | 29017 | { echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 |
15407 | $as_echo_n "checking for ut_time field in utmp.h... " >&6; } | 29018 | echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6; } |
15408 | if eval \${$ossh_varname+:} false; then : | 29019 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15409 | $as_echo_n "(cached) " >&6 | 29020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15410 | else | 29021 | else |
15411 | 29022 | ||
15412 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 29023 | cat >conftest.$ac_ext <<_ACEOF |
29024 | /* confdefs.h. */ | ||
29025 | _ACEOF | ||
29026 | cat confdefs.h >>conftest.$ac_ext | ||
29027 | cat >>conftest.$ac_ext <<_ACEOF | ||
15413 | /* end confdefs.h. */ | 29028 | /* end confdefs.h. */ |
15414 | #include <utmp.h> | 29029 | #include <utmp.h> |
15415 | 29030 | ||
15416 | _ACEOF | 29031 | _ACEOF |
15417 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 29032 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15418 | $EGREP "ut_time" >/dev/null 2>&1; then : | 29033 | $EGREP "ut_time" >/dev/null 2>&1; then |
15419 | eval "$ossh_varname=yes" | 29034 | eval "$ossh_varname=yes" |
15420 | else | 29035 | else |
15421 | eval "$ossh_varname=no" | 29036 | eval "$ossh_varname=no" |
@@ -15426,35 +29041,41 @@ fi | |||
15426 | 29041 | ||
15427 | ossh_result=`eval 'echo $'"$ossh_varname"` | 29042 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15428 | if test -n "`echo $ossh_varname`"; then | 29043 | if test -n "`echo $ossh_varname`"; then |
15429 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 29044 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15430 | $as_echo "$ossh_result" >&6; } | 29045 | echo "${ECHO_T}$ossh_result" >&6; } |
15431 | if test "x$ossh_result" = "xyes"; then | 29046 | if test "x$ossh_result" = "xyes"; then |
15432 | 29047 | ||
15433 | $as_echo "#define HAVE_TIME_IN_UTMP 1" >>confdefs.h | 29048 | cat >>confdefs.h <<\_ACEOF |
29049 | #define HAVE_TIME_IN_UTMP 1 | ||
29050 | _ACEOF | ||
15434 | 29051 | ||
15435 | fi | 29052 | fi |
15436 | else | 29053 | else |
15437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 29054 | { echo "$as_me:$LINENO: result: no" >&5 |
15438 | $as_echo "no" >&6; } | 29055 | echo "${ECHO_T}no" >&6; } |
15439 | fi | 29056 | fi |
15440 | 29057 | ||
15441 | 29058 | ||
15442 | # look for field 'ut_time' in header 'utmpx.h' | 29059 | # look for field 'ut_time' in header 'utmpx.h' |
15443 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 29060 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
15444 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time | 29061 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time |
15445 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_time field in utmpx.h" >&5 | 29062 | { echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 |
15446 | $as_echo_n "checking for ut_time field in utmpx.h... " >&6; } | 29063 | echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6; } |
15447 | if eval \${$ossh_varname+:} false; then : | 29064 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15448 | $as_echo_n "(cached) " >&6 | 29065 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15449 | else | 29066 | else |
15450 | 29067 | ||
15451 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 29068 | cat >conftest.$ac_ext <<_ACEOF |
29069 | /* confdefs.h. */ | ||
29070 | _ACEOF | ||
29071 | cat confdefs.h >>conftest.$ac_ext | ||
29072 | cat >>conftest.$ac_ext <<_ACEOF | ||
15452 | /* end confdefs.h. */ | 29073 | /* end confdefs.h. */ |
15453 | #include <utmpx.h> | 29074 | #include <utmpx.h> |
15454 | 29075 | ||
15455 | _ACEOF | 29076 | _ACEOF |
15456 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 29077 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15457 | $EGREP "ut_time" >/dev/null 2>&1; then : | 29078 | $EGREP "ut_time" >/dev/null 2>&1; then |
15458 | eval "$ossh_varname=yes" | 29079 | eval "$ossh_varname=yes" |
15459 | else | 29080 | else |
15460 | eval "$ossh_varname=no" | 29081 | eval "$ossh_varname=no" |
@@ -15465,35 +29086,41 @@ fi | |||
15465 | 29086 | ||
15466 | ossh_result=`eval 'echo $'"$ossh_varname"` | 29087 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15467 | if test -n "`echo $ossh_varname`"; then | 29088 | if test -n "`echo $ossh_varname`"; then |
15468 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 29089 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15469 | $as_echo "$ossh_result" >&6; } | 29090 | echo "${ECHO_T}$ossh_result" >&6; } |
15470 | if test "x$ossh_result" = "xyes"; then | 29091 | if test "x$ossh_result" = "xyes"; then |
15471 | 29092 | ||
15472 | $as_echo "#define HAVE_TIME_IN_UTMPX 1" >>confdefs.h | 29093 | cat >>confdefs.h <<\_ACEOF |
29094 | #define HAVE_TIME_IN_UTMPX 1 | ||
29095 | _ACEOF | ||
15473 | 29096 | ||
15474 | fi | 29097 | fi |
15475 | else | 29098 | else |
15476 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 29099 | { echo "$as_me:$LINENO: result: no" >&5 |
15477 | $as_echo "no" >&6; } | 29100 | echo "${ECHO_T}no" >&6; } |
15478 | fi | 29101 | fi |
15479 | 29102 | ||
15480 | 29103 | ||
15481 | # look for field 'ut_tv' in header 'utmpx.h' | 29104 | # look for field 'ut_tv' in header 'utmpx.h' |
15482 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` | 29105 | ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` |
15483 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv | 29106 | ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv |
15484 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ut_tv field in utmpx.h" >&5 | 29107 | { echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 |
15485 | $as_echo_n "checking for ut_tv field in utmpx.h... " >&6; } | 29108 | echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6; } |
15486 | if eval \${$ossh_varname+:} false; then : | 29109 | if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then |
15487 | $as_echo_n "(cached) " >&6 | 29110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15488 | else | 29111 | else |
15489 | 29112 | ||
15490 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 29113 | cat >conftest.$ac_ext <<_ACEOF |
29114 | /* confdefs.h. */ | ||
29115 | _ACEOF | ||
29116 | cat confdefs.h >>conftest.$ac_ext | ||
29117 | cat >>conftest.$ac_ext <<_ACEOF | ||
15491 | /* end confdefs.h. */ | 29118 | /* end confdefs.h. */ |
15492 | #include <utmpx.h> | 29119 | #include <utmpx.h> |
15493 | 29120 | ||
15494 | _ACEOF | 29121 | _ACEOF |
15495 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 29122 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15496 | $EGREP "ut_tv" >/dev/null 2>&1; then : | 29123 | $EGREP "ut_tv" >/dev/null 2>&1; then |
15497 | eval "$ossh_varname=yes" | 29124 | eval "$ossh_varname=yes" |
15498 | else | 29125 | else |
15499 | eval "$ossh_varname=no" | 29126 | eval "$ossh_varname=no" |
@@ -15504,21 +29131,115 @@ fi | |||
15504 | 29131 | ||
15505 | ossh_result=`eval 'echo $'"$ossh_varname"` | 29132 | ossh_result=`eval 'echo $'"$ossh_varname"` |
15506 | if test -n "`echo $ossh_varname`"; then | 29133 | if test -n "`echo $ossh_varname`"; then |
15507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ossh_result" >&5 | 29134 | { echo "$as_me:$LINENO: result: $ossh_result" >&5 |
15508 | $as_echo "$ossh_result" >&6; } | 29135 | echo "${ECHO_T}$ossh_result" >&6; } |
15509 | if test "x$ossh_result" = "xyes"; then | 29136 | if test "x$ossh_result" = "xyes"; then |
15510 | 29137 | ||
15511 | $as_echo "#define HAVE_TV_IN_UTMPX 1" >>confdefs.h | 29138 | cat >>confdefs.h <<\_ACEOF |
29139 | #define HAVE_TV_IN_UTMPX 1 | ||
29140 | _ACEOF | ||
15512 | 29141 | ||
15513 | fi | 29142 | fi |
15514 | else | 29143 | else |
15515 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 29144 | { echo "$as_me:$LINENO: result: no" >&5 |
15516 | $as_echo "no" >&6; } | 29145 | echo "${ECHO_T}no" >&6; } |
15517 | fi | 29146 | fi |
15518 | 29147 | ||
15519 | 29148 | ||
15520 | ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" | 29149 | { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 |
15521 | if test "x$ac_cv_member_struct_stat_st_blksize" = xyes; then : | 29150 | echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; } |
29151 | if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then | ||
29152 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29153 | else | ||
29154 | cat >conftest.$ac_ext <<_ACEOF | ||
29155 | /* confdefs.h. */ | ||
29156 | _ACEOF | ||
29157 | cat confdefs.h >>conftest.$ac_ext | ||
29158 | cat >>conftest.$ac_ext <<_ACEOF | ||
29159 | /* end confdefs.h. */ | ||
29160 | $ac_includes_default | ||
29161 | int | ||
29162 | main () | ||
29163 | { | ||
29164 | static struct stat ac_aggr; | ||
29165 | if (ac_aggr.st_blksize) | ||
29166 | return 0; | ||
29167 | ; | ||
29168 | return 0; | ||
29169 | } | ||
29170 | _ACEOF | ||
29171 | rm -f conftest.$ac_objext | ||
29172 | if { (ac_try="$ac_compile" | ||
29173 | case "(($ac_try" in | ||
29174 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29175 | *) ac_try_echo=$ac_try;; | ||
29176 | esac | ||
29177 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29178 | (eval "$ac_compile") 2>conftest.er1 | ||
29179 | ac_status=$? | ||
29180 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29181 | rm -f conftest.er1 | ||
29182 | cat conftest.err >&5 | ||
29183 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29184 | (exit $ac_status); } && { | ||
29185 | test -z "$ac_c_werror_flag" || | ||
29186 | test ! -s conftest.err | ||
29187 | } && test -s conftest.$ac_objext; then | ||
29188 | ac_cv_member_struct_stat_st_blksize=yes | ||
29189 | else | ||
29190 | echo "$as_me: failed program was:" >&5 | ||
29191 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29192 | |||
29193 | cat >conftest.$ac_ext <<_ACEOF | ||
29194 | /* confdefs.h. */ | ||
29195 | _ACEOF | ||
29196 | cat confdefs.h >>conftest.$ac_ext | ||
29197 | cat >>conftest.$ac_ext <<_ACEOF | ||
29198 | /* end confdefs.h. */ | ||
29199 | $ac_includes_default | ||
29200 | int | ||
29201 | main () | ||
29202 | { | ||
29203 | static struct stat ac_aggr; | ||
29204 | if (sizeof ac_aggr.st_blksize) | ||
29205 | return 0; | ||
29206 | ; | ||
29207 | return 0; | ||
29208 | } | ||
29209 | _ACEOF | ||
29210 | rm -f conftest.$ac_objext | ||
29211 | if { (ac_try="$ac_compile" | ||
29212 | case "(($ac_try" in | ||
29213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29214 | *) ac_try_echo=$ac_try;; | ||
29215 | esac | ||
29216 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29217 | (eval "$ac_compile") 2>conftest.er1 | ||
29218 | ac_status=$? | ||
29219 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29220 | rm -f conftest.er1 | ||
29221 | cat conftest.err >&5 | ||
29222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29223 | (exit $ac_status); } && { | ||
29224 | test -z "$ac_c_werror_flag" || | ||
29225 | test ! -s conftest.err | ||
29226 | } && test -s conftest.$ac_objext; then | ||
29227 | ac_cv_member_struct_stat_st_blksize=yes | ||
29228 | else | ||
29229 | echo "$as_me: failed program was:" >&5 | ||
29230 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29231 | |||
29232 | ac_cv_member_struct_stat_st_blksize=no | ||
29233 | fi | ||
29234 | |||
29235 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29236 | fi | ||
29237 | |||
29238 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29239 | fi | ||
29240 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 | ||
29241 | echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; } | ||
29242 | if test $ac_cv_member_struct_stat_st_blksize = yes; then | ||
15522 | 29243 | ||
15523 | cat >>confdefs.h <<_ACEOF | 29244 | cat >>confdefs.h <<_ACEOF |
15524 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 | 29245 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 |
@@ -15527,12 +29248,108 @@ _ACEOF | |||
15527 | 29248 | ||
15528 | fi | 29249 | fi |
15529 | 29250 | ||
15530 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_gecos" "ac_cv_member_struct_passwd_pw_gecos" " | 29251 | { echo "$as_me:$LINENO: checking for struct passwd.pw_gecos" >&5 |
29252 | echo $ECHO_N "checking for struct passwd.pw_gecos... $ECHO_C" >&6; } | ||
29253 | if test "${ac_cv_member_struct_passwd_pw_gecos+set}" = set; then | ||
29254 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29255 | else | ||
29256 | cat >conftest.$ac_ext <<_ACEOF | ||
29257 | /* confdefs.h. */ | ||
29258 | _ACEOF | ||
29259 | cat confdefs.h >>conftest.$ac_ext | ||
29260 | cat >>conftest.$ac_ext <<_ACEOF | ||
29261 | /* end confdefs.h. */ | ||
29262 | |||
15531 | #include <sys/types.h> | 29263 | #include <sys/types.h> |
15532 | #include <pwd.h> | 29264 | #include <pwd.h> |
15533 | 29265 | ||
15534 | " | 29266 | |
15535 | if test "x$ac_cv_member_struct_passwd_pw_gecos" = xyes; then : | 29267 | int |
29268 | main () | ||
29269 | { | ||
29270 | static struct passwd ac_aggr; | ||
29271 | if (ac_aggr.pw_gecos) | ||
29272 | return 0; | ||
29273 | ; | ||
29274 | return 0; | ||
29275 | } | ||
29276 | _ACEOF | ||
29277 | rm -f conftest.$ac_objext | ||
29278 | if { (ac_try="$ac_compile" | ||
29279 | case "(($ac_try" in | ||
29280 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29281 | *) ac_try_echo=$ac_try;; | ||
29282 | esac | ||
29283 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29284 | (eval "$ac_compile") 2>conftest.er1 | ||
29285 | ac_status=$? | ||
29286 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29287 | rm -f conftest.er1 | ||
29288 | cat conftest.err >&5 | ||
29289 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29290 | (exit $ac_status); } && { | ||
29291 | test -z "$ac_c_werror_flag" || | ||
29292 | test ! -s conftest.err | ||
29293 | } && test -s conftest.$ac_objext; then | ||
29294 | ac_cv_member_struct_passwd_pw_gecos=yes | ||
29295 | else | ||
29296 | echo "$as_me: failed program was:" >&5 | ||
29297 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29298 | |||
29299 | cat >conftest.$ac_ext <<_ACEOF | ||
29300 | /* confdefs.h. */ | ||
29301 | _ACEOF | ||
29302 | cat confdefs.h >>conftest.$ac_ext | ||
29303 | cat >>conftest.$ac_ext <<_ACEOF | ||
29304 | /* end confdefs.h. */ | ||
29305 | |||
29306 | #include <sys/types.h> | ||
29307 | #include <pwd.h> | ||
29308 | |||
29309 | |||
29310 | int | ||
29311 | main () | ||
29312 | { | ||
29313 | static struct passwd ac_aggr; | ||
29314 | if (sizeof ac_aggr.pw_gecos) | ||
29315 | return 0; | ||
29316 | ; | ||
29317 | return 0; | ||
29318 | } | ||
29319 | _ACEOF | ||
29320 | rm -f conftest.$ac_objext | ||
29321 | if { (ac_try="$ac_compile" | ||
29322 | case "(($ac_try" in | ||
29323 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29324 | *) ac_try_echo=$ac_try;; | ||
29325 | esac | ||
29326 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29327 | (eval "$ac_compile") 2>conftest.er1 | ||
29328 | ac_status=$? | ||
29329 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29330 | rm -f conftest.er1 | ||
29331 | cat conftest.err >&5 | ||
29332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29333 | (exit $ac_status); } && { | ||
29334 | test -z "$ac_c_werror_flag" || | ||
29335 | test ! -s conftest.err | ||
29336 | } && test -s conftest.$ac_objext; then | ||
29337 | ac_cv_member_struct_passwd_pw_gecos=yes | ||
29338 | else | ||
29339 | echo "$as_me: failed program was:" >&5 | ||
29340 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29341 | |||
29342 | ac_cv_member_struct_passwd_pw_gecos=no | ||
29343 | fi | ||
29344 | |||
29345 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29346 | fi | ||
29347 | |||
29348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29349 | fi | ||
29350 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_gecos" >&5 | ||
29351 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_gecos" >&6; } | ||
29352 | if test $ac_cv_member_struct_passwd_pw_gecos = yes; then | ||
15536 | 29353 | ||
15537 | cat >>confdefs.h <<_ACEOF | 29354 | cat >>confdefs.h <<_ACEOF |
15538 | #define HAVE_STRUCT_PASSWD_PW_GECOS 1 | 29355 | #define HAVE_STRUCT_PASSWD_PW_GECOS 1 |
@@ -15540,12 +29357,108 @@ _ACEOF | |||
15540 | 29357 | ||
15541 | 29358 | ||
15542 | fi | 29359 | fi |
15543 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_class" "ac_cv_member_struct_passwd_pw_class" " | 29360 | { echo "$as_me:$LINENO: checking for struct passwd.pw_class" >&5 |
29361 | echo $ECHO_N "checking for struct passwd.pw_class... $ECHO_C" >&6; } | ||
29362 | if test "${ac_cv_member_struct_passwd_pw_class+set}" = set; then | ||
29363 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29364 | else | ||
29365 | cat >conftest.$ac_ext <<_ACEOF | ||
29366 | /* confdefs.h. */ | ||
29367 | _ACEOF | ||
29368 | cat confdefs.h >>conftest.$ac_ext | ||
29369 | cat >>conftest.$ac_ext <<_ACEOF | ||
29370 | /* end confdefs.h. */ | ||
29371 | |||
29372 | #include <sys/types.h> | ||
29373 | #include <pwd.h> | ||
29374 | |||
29375 | |||
29376 | int | ||
29377 | main () | ||
29378 | { | ||
29379 | static struct passwd ac_aggr; | ||
29380 | if (ac_aggr.pw_class) | ||
29381 | return 0; | ||
29382 | ; | ||
29383 | return 0; | ||
29384 | } | ||
29385 | _ACEOF | ||
29386 | rm -f conftest.$ac_objext | ||
29387 | if { (ac_try="$ac_compile" | ||
29388 | case "(($ac_try" in | ||
29389 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29390 | *) ac_try_echo=$ac_try;; | ||
29391 | esac | ||
29392 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29393 | (eval "$ac_compile") 2>conftest.er1 | ||
29394 | ac_status=$? | ||
29395 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29396 | rm -f conftest.er1 | ||
29397 | cat conftest.err >&5 | ||
29398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29399 | (exit $ac_status); } && { | ||
29400 | test -z "$ac_c_werror_flag" || | ||
29401 | test ! -s conftest.err | ||
29402 | } && test -s conftest.$ac_objext; then | ||
29403 | ac_cv_member_struct_passwd_pw_class=yes | ||
29404 | else | ||
29405 | echo "$as_me: failed program was:" >&5 | ||
29406 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29407 | |||
29408 | cat >conftest.$ac_ext <<_ACEOF | ||
29409 | /* confdefs.h. */ | ||
29410 | _ACEOF | ||
29411 | cat confdefs.h >>conftest.$ac_ext | ||
29412 | cat >>conftest.$ac_ext <<_ACEOF | ||
29413 | /* end confdefs.h. */ | ||
29414 | |||
15544 | #include <sys/types.h> | 29415 | #include <sys/types.h> |
15545 | #include <pwd.h> | 29416 | #include <pwd.h> |
15546 | 29417 | ||
15547 | " | 29418 | |
15548 | if test "x$ac_cv_member_struct_passwd_pw_class" = xyes; then : | 29419 | int |
29420 | main () | ||
29421 | { | ||
29422 | static struct passwd ac_aggr; | ||
29423 | if (sizeof ac_aggr.pw_class) | ||
29424 | return 0; | ||
29425 | ; | ||
29426 | return 0; | ||
29427 | } | ||
29428 | _ACEOF | ||
29429 | rm -f conftest.$ac_objext | ||
29430 | if { (ac_try="$ac_compile" | ||
29431 | case "(($ac_try" in | ||
29432 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29433 | *) ac_try_echo=$ac_try;; | ||
29434 | esac | ||
29435 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29436 | (eval "$ac_compile") 2>conftest.er1 | ||
29437 | ac_status=$? | ||
29438 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29439 | rm -f conftest.er1 | ||
29440 | cat conftest.err >&5 | ||
29441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29442 | (exit $ac_status); } && { | ||
29443 | test -z "$ac_c_werror_flag" || | ||
29444 | test ! -s conftest.err | ||
29445 | } && test -s conftest.$ac_objext; then | ||
29446 | ac_cv_member_struct_passwd_pw_class=yes | ||
29447 | else | ||
29448 | echo "$as_me: failed program was:" >&5 | ||
29449 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29450 | |||
29451 | ac_cv_member_struct_passwd_pw_class=no | ||
29452 | fi | ||
29453 | |||
29454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29455 | fi | ||
29456 | |||
29457 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29458 | fi | ||
29459 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_class" >&5 | ||
29460 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_class" >&6; } | ||
29461 | if test $ac_cv_member_struct_passwd_pw_class = yes; then | ||
15549 | 29462 | ||
15550 | cat >>confdefs.h <<_ACEOF | 29463 | cat >>confdefs.h <<_ACEOF |
15551 | #define HAVE_STRUCT_PASSWD_PW_CLASS 1 | 29464 | #define HAVE_STRUCT_PASSWD_PW_CLASS 1 |
@@ -15553,12 +29466,108 @@ _ACEOF | |||
15553 | 29466 | ||
15554 | 29467 | ||
15555 | fi | 29468 | fi |
15556 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_change" "ac_cv_member_struct_passwd_pw_change" " | 29469 | { echo "$as_me:$LINENO: checking for struct passwd.pw_change" >&5 |
29470 | echo $ECHO_N "checking for struct passwd.pw_change... $ECHO_C" >&6; } | ||
29471 | if test "${ac_cv_member_struct_passwd_pw_change+set}" = set; then | ||
29472 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29473 | else | ||
29474 | cat >conftest.$ac_ext <<_ACEOF | ||
29475 | /* confdefs.h. */ | ||
29476 | _ACEOF | ||
29477 | cat confdefs.h >>conftest.$ac_ext | ||
29478 | cat >>conftest.$ac_ext <<_ACEOF | ||
29479 | /* end confdefs.h. */ | ||
29480 | |||
15557 | #include <sys/types.h> | 29481 | #include <sys/types.h> |
15558 | #include <pwd.h> | 29482 | #include <pwd.h> |
15559 | 29483 | ||
15560 | " | 29484 | |
15561 | if test "x$ac_cv_member_struct_passwd_pw_change" = xyes; then : | 29485 | int |
29486 | main () | ||
29487 | { | ||
29488 | static struct passwd ac_aggr; | ||
29489 | if (ac_aggr.pw_change) | ||
29490 | return 0; | ||
29491 | ; | ||
29492 | return 0; | ||
29493 | } | ||
29494 | _ACEOF | ||
29495 | rm -f conftest.$ac_objext | ||
29496 | if { (ac_try="$ac_compile" | ||
29497 | case "(($ac_try" in | ||
29498 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29499 | *) ac_try_echo=$ac_try;; | ||
29500 | esac | ||
29501 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29502 | (eval "$ac_compile") 2>conftest.er1 | ||
29503 | ac_status=$? | ||
29504 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29505 | rm -f conftest.er1 | ||
29506 | cat conftest.err >&5 | ||
29507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29508 | (exit $ac_status); } && { | ||
29509 | test -z "$ac_c_werror_flag" || | ||
29510 | test ! -s conftest.err | ||
29511 | } && test -s conftest.$ac_objext; then | ||
29512 | ac_cv_member_struct_passwd_pw_change=yes | ||
29513 | else | ||
29514 | echo "$as_me: failed program was:" >&5 | ||
29515 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29516 | |||
29517 | cat >conftest.$ac_ext <<_ACEOF | ||
29518 | /* confdefs.h. */ | ||
29519 | _ACEOF | ||
29520 | cat confdefs.h >>conftest.$ac_ext | ||
29521 | cat >>conftest.$ac_ext <<_ACEOF | ||
29522 | /* end confdefs.h. */ | ||
29523 | |||
29524 | #include <sys/types.h> | ||
29525 | #include <pwd.h> | ||
29526 | |||
29527 | |||
29528 | int | ||
29529 | main () | ||
29530 | { | ||
29531 | static struct passwd ac_aggr; | ||
29532 | if (sizeof ac_aggr.pw_change) | ||
29533 | return 0; | ||
29534 | ; | ||
29535 | return 0; | ||
29536 | } | ||
29537 | _ACEOF | ||
29538 | rm -f conftest.$ac_objext | ||
29539 | if { (ac_try="$ac_compile" | ||
29540 | case "(($ac_try" in | ||
29541 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29542 | *) ac_try_echo=$ac_try;; | ||
29543 | esac | ||
29544 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29545 | (eval "$ac_compile") 2>conftest.er1 | ||
29546 | ac_status=$? | ||
29547 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29548 | rm -f conftest.er1 | ||
29549 | cat conftest.err >&5 | ||
29550 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29551 | (exit $ac_status); } && { | ||
29552 | test -z "$ac_c_werror_flag" || | ||
29553 | test ! -s conftest.err | ||
29554 | } && test -s conftest.$ac_objext; then | ||
29555 | ac_cv_member_struct_passwd_pw_change=yes | ||
29556 | else | ||
29557 | echo "$as_me: failed program was:" >&5 | ||
29558 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29559 | |||
29560 | ac_cv_member_struct_passwd_pw_change=no | ||
29561 | fi | ||
29562 | |||
29563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29564 | fi | ||
29565 | |||
29566 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29567 | fi | ||
29568 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_change" >&5 | ||
29569 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_change" >&6; } | ||
29570 | if test $ac_cv_member_struct_passwd_pw_change = yes; then | ||
15562 | 29571 | ||
15563 | cat >>confdefs.h <<_ACEOF | 29572 | cat >>confdefs.h <<_ACEOF |
15564 | #define HAVE_STRUCT_PASSWD_PW_CHANGE 1 | 29573 | #define HAVE_STRUCT_PASSWD_PW_CHANGE 1 |
@@ -15566,12 +29575,108 @@ _ACEOF | |||
15566 | 29575 | ||
15567 | 29576 | ||
15568 | fi | 29577 | fi |
15569 | ac_fn_c_check_member "$LINENO" "struct passwd" "pw_expire" "ac_cv_member_struct_passwd_pw_expire" " | 29578 | { echo "$as_me:$LINENO: checking for struct passwd.pw_expire" >&5 |
29579 | echo $ECHO_N "checking for struct passwd.pw_expire... $ECHO_C" >&6; } | ||
29580 | if test "${ac_cv_member_struct_passwd_pw_expire+set}" = set; then | ||
29581 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29582 | else | ||
29583 | cat >conftest.$ac_ext <<_ACEOF | ||
29584 | /* confdefs.h. */ | ||
29585 | _ACEOF | ||
29586 | cat confdefs.h >>conftest.$ac_ext | ||
29587 | cat >>conftest.$ac_ext <<_ACEOF | ||
29588 | /* end confdefs.h. */ | ||
29589 | |||
15570 | #include <sys/types.h> | 29590 | #include <sys/types.h> |
15571 | #include <pwd.h> | 29591 | #include <pwd.h> |
15572 | 29592 | ||
15573 | " | 29593 | |
15574 | if test "x$ac_cv_member_struct_passwd_pw_expire" = xyes; then : | 29594 | int |
29595 | main () | ||
29596 | { | ||
29597 | static struct passwd ac_aggr; | ||
29598 | if (ac_aggr.pw_expire) | ||
29599 | return 0; | ||
29600 | ; | ||
29601 | return 0; | ||
29602 | } | ||
29603 | _ACEOF | ||
29604 | rm -f conftest.$ac_objext | ||
29605 | if { (ac_try="$ac_compile" | ||
29606 | case "(($ac_try" in | ||
29607 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29608 | *) ac_try_echo=$ac_try;; | ||
29609 | esac | ||
29610 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29611 | (eval "$ac_compile") 2>conftest.er1 | ||
29612 | ac_status=$? | ||
29613 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29614 | rm -f conftest.er1 | ||
29615 | cat conftest.err >&5 | ||
29616 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29617 | (exit $ac_status); } && { | ||
29618 | test -z "$ac_c_werror_flag" || | ||
29619 | test ! -s conftest.err | ||
29620 | } && test -s conftest.$ac_objext; then | ||
29621 | ac_cv_member_struct_passwd_pw_expire=yes | ||
29622 | else | ||
29623 | echo "$as_me: failed program was:" >&5 | ||
29624 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29625 | |||
29626 | cat >conftest.$ac_ext <<_ACEOF | ||
29627 | /* confdefs.h. */ | ||
29628 | _ACEOF | ||
29629 | cat confdefs.h >>conftest.$ac_ext | ||
29630 | cat >>conftest.$ac_ext <<_ACEOF | ||
29631 | /* end confdefs.h. */ | ||
29632 | |||
29633 | #include <sys/types.h> | ||
29634 | #include <pwd.h> | ||
29635 | |||
29636 | |||
29637 | int | ||
29638 | main () | ||
29639 | { | ||
29640 | static struct passwd ac_aggr; | ||
29641 | if (sizeof ac_aggr.pw_expire) | ||
29642 | return 0; | ||
29643 | ; | ||
29644 | return 0; | ||
29645 | } | ||
29646 | _ACEOF | ||
29647 | rm -f conftest.$ac_objext | ||
29648 | if { (ac_try="$ac_compile" | ||
29649 | case "(($ac_try" in | ||
29650 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29651 | *) ac_try_echo=$ac_try;; | ||
29652 | esac | ||
29653 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29654 | (eval "$ac_compile") 2>conftest.er1 | ||
29655 | ac_status=$? | ||
29656 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29657 | rm -f conftest.er1 | ||
29658 | cat conftest.err >&5 | ||
29659 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29660 | (exit $ac_status); } && { | ||
29661 | test -z "$ac_c_werror_flag" || | ||
29662 | test ! -s conftest.err | ||
29663 | } && test -s conftest.$ac_objext; then | ||
29664 | ac_cv_member_struct_passwd_pw_expire=yes | ||
29665 | else | ||
29666 | echo "$as_me: failed program was:" >&5 | ||
29667 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29668 | |||
29669 | ac_cv_member_struct_passwd_pw_expire=no | ||
29670 | fi | ||
29671 | |||
29672 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29673 | fi | ||
29674 | |||
29675 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29676 | fi | ||
29677 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_passwd_pw_expire" >&5 | ||
29678 | echo "${ECHO_T}$ac_cv_member_struct_passwd_pw_expire" >&6; } | ||
29679 | if test $ac_cv_member_struct_passwd_pw_expire = yes; then | ||
15575 | 29680 | ||
15576 | cat >>confdefs.h <<_ACEOF | 29681 | cat >>confdefs.h <<_ACEOF |
15577 | #define HAVE_STRUCT_PASSWD_PW_EXPIRE 1 | 29682 | #define HAVE_STRUCT_PASSWD_PW_EXPIRE 1 |
@@ -15581,7 +29686,18 @@ _ACEOF | |||
15581 | fi | 29686 | fi |
15582 | 29687 | ||
15583 | 29688 | ||
15584 | ac_fn_c_check_member "$LINENO" "struct __res_state" "retrans" "ac_cv_member_struct___res_state_retrans" " | 29689 | { echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 |
29690 | echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6; } | ||
29691 | if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then | ||
29692 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
29693 | else | ||
29694 | cat >conftest.$ac_ext <<_ACEOF | ||
29695 | /* confdefs.h. */ | ||
29696 | _ACEOF | ||
29697 | cat confdefs.h >>conftest.$ac_ext | ||
29698 | cat >>conftest.$ac_ext <<_ACEOF | ||
29699 | /* end confdefs.h. */ | ||
29700 | |||
15585 | #include <stdio.h> | 29701 | #include <stdio.h> |
15586 | #if HAVE_SYS_TYPES_H | 29702 | #if HAVE_SYS_TYPES_H |
15587 | # include <sys/types.h> | 29703 | # include <sys/types.h> |
@@ -15590,23 +29706,119 @@ ac_fn_c_check_member "$LINENO" "struct __res_state" "retrans" "ac_cv_member_stru | |||
15590 | #include <arpa/nameser.h> | 29706 | #include <arpa/nameser.h> |
15591 | #include <resolv.h> | 29707 | #include <resolv.h> |
15592 | 29708 | ||
15593 | " | ||
15594 | if test "x$ac_cv_member_struct___res_state_retrans" = xyes; then : | ||
15595 | 29709 | ||
29710 | int | ||
29711 | main () | ||
29712 | { | ||
29713 | static struct __res_state ac_aggr; | ||
29714 | if (ac_aggr.retrans) | ||
29715 | return 0; | ||
29716 | ; | ||
29717 | return 0; | ||
29718 | } | ||
29719 | _ACEOF | ||
29720 | rm -f conftest.$ac_objext | ||
29721 | if { (ac_try="$ac_compile" | ||
29722 | case "(($ac_try" in | ||
29723 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29724 | *) ac_try_echo=$ac_try;; | ||
29725 | esac | ||
29726 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29727 | (eval "$ac_compile") 2>conftest.er1 | ||
29728 | ac_status=$? | ||
29729 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29730 | rm -f conftest.er1 | ||
29731 | cat conftest.err >&5 | ||
29732 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29733 | (exit $ac_status); } && { | ||
29734 | test -z "$ac_c_werror_flag" || | ||
29735 | test ! -s conftest.err | ||
29736 | } && test -s conftest.$ac_objext; then | ||
29737 | ac_cv_member_struct___res_state_retrans=yes | ||
29738 | else | ||
29739 | echo "$as_me: failed program was:" >&5 | ||
29740 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29741 | |||
29742 | cat >conftest.$ac_ext <<_ACEOF | ||
29743 | /* confdefs.h. */ | ||
29744 | _ACEOF | ||
29745 | cat confdefs.h >>conftest.$ac_ext | ||
29746 | cat >>conftest.$ac_ext <<_ACEOF | ||
29747 | /* end confdefs.h. */ | ||
29748 | |||
29749 | #include <stdio.h> | ||
29750 | #if HAVE_SYS_TYPES_H | ||
29751 | # include <sys/types.h> | ||
29752 | #endif | ||
29753 | #include <netinet/in.h> | ||
29754 | #include <arpa/nameser.h> | ||
29755 | #include <resolv.h> | ||
29756 | |||
29757 | |||
29758 | int | ||
29759 | main () | ||
29760 | { | ||
29761 | static struct __res_state ac_aggr; | ||
29762 | if (sizeof ac_aggr.retrans) | ||
29763 | return 0; | ||
29764 | ; | ||
29765 | return 0; | ||
29766 | } | ||
29767 | _ACEOF | ||
29768 | rm -f conftest.$ac_objext | ||
29769 | if { (ac_try="$ac_compile" | ||
29770 | case "(($ac_try" in | ||
29771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29772 | *) ac_try_echo=$ac_try;; | ||
29773 | esac | ||
29774 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29775 | (eval "$ac_compile") 2>conftest.er1 | ||
29776 | ac_status=$? | ||
29777 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29778 | rm -f conftest.er1 | ||
29779 | cat conftest.err >&5 | ||
29780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29781 | (exit $ac_status); } && { | ||
29782 | test -z "$ac_c_werror_flag" || | ||
29783 | test ! -s conftest.err | ||
29784 | } && test -s conftest.$ac_objext; then | ||
29785 | ac_cv_member_struct___res_state_retrans=yes | ||
15596 | else | 29786 | else |
29787 | echo "$as_me: failed program was:" >&5 | ||
29788 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
15597 | 29789 | ||
15598 | $as_echo "#define __res_state state" >>confdefs.h | 29790 | ac_cv_member_struct___res_state_retrans=no |
29791 | fi | ||
15599 | 29792 | ||
29793 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
15600 | fi | 29794 | fi |
15601 | 29795 | ||
29796 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
29797 | fi | ||
29798 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 | ||
29799 | echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6; } | ||
29800 | if test $ac_cv_member_struct___res_state_retrans = yes; then | ||
29801 | : | ||
29802 | else | ||
29803 | |||
29804 | cat >>confdefs.h <<\_ACEOF | ||
29805 | #define __res_state state | ||
29806 | _ACEOF | ||
29807 | |||
29808 | fi | ||
15602 | 29809 | ||
15603 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ss_family field in struct sockaddr_storage" >&5 | 29810 | |
15604 | $as_echo_n "checking for ss_family field in struct sockaddr_storage... " >&6; } | 29811 | { echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 |
15605 | if ${ac_cv_have_ss_family_in_struct_ss+:} false; then : | 29812 | echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } |
15606 | $as_echo_n "(cached) " >&6 | 29813 | if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then |
29814 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
15607 | else | 29815 | else |
15608 | 29816 | ||
15609 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 29817 | cat >conftest.$ac_ext <<_ACEOF |
29818 | /* confdefs.h. */ | ||
29819 | _ACEOF | ||
29820 | cat confdefs.h >>conftest.$ac_ext | ||
29821 | cat >>conftest.$ac_ext <<_ACEOF | ||
15610 | /* end confdefs.h. */ | 29822 | /* end confdefs.h. */ |
15611 | 29823 | ||
15612 | #include <sys/types.h> | 29824 | #include <sys/types.h> |
@@ -15620,29 +29832,55 @@ main () | |||
15620 | return 0; | 29832 | return 0; |
15621 | } | 29833 | } |
15622 | _ACEOF | 29834 | _ACEOF |
15623 | if ac_fn_c_try_compile "$LINENO"; then : | 29835 | rm -f conftest.$ac_objext |
29836 | if { (ac_try="$ac_compile" | ||
29837 | case "(($ac_try" in | ||
29838 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29839 | *) ac_try_echo=$ac_try;; | ||
29840 | esac | ||
29841 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29842 | (eval "$ac_compile") 2>conftest.er1 | ||
29843 | ac_status=$? | ||
29844 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29845 | rm -f conftest.er1 | ||
29846 | cat conftest.err >&5 | ||
29847 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29848 | (exit $ac_status); } && { | ||
29849 | test -z "$ac_c_werror_flag" || | ||
29850 | test ! -s conftest.err | ||
29851 | } && test -s conftest.$ac_objext; then | ||
15624 | ac_cv_have_ss_family_in_struct_ss="yes" | 29852 | ac_cv_have_ss_family_in_struct_ss="yes" |
15625 | else | 29853 | else |
15626 | ac_cv_have_ss_family_in_struct_ss="no" | 29854 | echo "$as_me: failed program was:" >&5 |
29855 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29856 | |||
29857 | ac_cv_have_ss_family_in_struct_ss="no" | ||
15627 | fi | 29858 | fi |
29859 | |||
15628 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29860 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15629 | 29861 | ||
15630 | fi | 29862 | fi |
15631 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ss_family_in_struct_ss" >&5 | 29863 | { echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 |
15632 | $as_echo "$ac_cv_have_ss_family_in_struct_ss" >&6; } | 29864 | echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6; } |
15633 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then | 29865 | if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then |
15634 | 29866 | ||
15635 | $as_echo "#define HAVE_SS_FAMILY_IN_SS 1" >>confdefs.h | 29867 | cat >>confdefs.h <<\_ACEOF |
29868 | #define HAVE_SS_FAMILY_IN_SS 1 | ||
29869 | _ACEOF | ||
15636 | 29870 | ||
15637 | fi | 29871 | fi |
15638 | 29872 | ||
15639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ss_family field in struct sockaddr_storage" >&5 | 29873 | { echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 |
15640 | $as_echo_n "checking for __ss_family field in struct sockaddr_storage... " >&6; } | 29874 | echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } |
15641 | if ${ac_cv_have___ss_family_in_struct_ss+:} false; then : | 29875 | if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then |
15642 | $as_echo_n "(cached) " >&6 | 29876 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15643 | else | 29877 | else |
15644 | 29878 | ||
15645 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 29879 | cat >conftest.$ac_ext <<_ACEOF |
29880 | /* confdefs.h. */ | ||
29881 | _ACEOF | ||
29882 | cat confdefs.h >>conftest.$ac_ext | ||
29883 | cat >>conftest.$ac_ext <<_ACEOF | ||
15646 | /* end confdefs.h. */ | 29884 | /* end confdefs.h. */ |
15647 | 29885 | ||
15648 | #include <sys/types.h> | 29886 | #include <sys/types.h> |
@@ -15656,30 +29894,56 @@ main () | |||
15656 | return 0; | 29894 | return 0; |
15657 | } | 29895 | } |
15658 | _ACEOF | 29896 | _ACEOF |
15659 | if ac_fn_c_try_compile "$LINENO"; then : | 29897 | rm -f conftest.$ac_objext |
29898 | if { (ac_try="$ac_compile" | ||
29899 | case "(($ac_try" in | ||
29900 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29901 | *) ac_try_echo=$ac_try;; | ||
29902 | esac | ||
29903 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29904 | (eval "$ac_compile") 2>conftest.er1 | ||
29905 | ac_status=$? | ||
29906 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29907 | rm -f conftest.er1 | ||
29908 | cat conftest.err >&5 | ||
29909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29910 | (exit $ac_status); } && { | ||
29911 | test -z "$ac_c_werror_flag" || | ||
29912 | test ! -s conftest.err | ||
29913 | } && test -s conftest.$ac_objext; then | ||
15660 | ac_cv_have___ss_family_in_struct_ss="yes" | 29914 | ac_cv_have___ss_family_in_struct_ss="yes" |
15661 | else | 29915 | else |
15662 | ac_cv_have___ss_family_in_struct_ss="no" | 29916 | echo "$as_me: failed program was:" >&5 |
29917 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29918 | |||
29919 | ac_cv_have___ss_family_in_struct_ss="no" | ||
15663 | 29920 | ||
15664 | fi | 29921 | fi |
29922 | |||
15665 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29923 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15666 | 29924 | ||
15667 | fi | 29925 | fi |
15668 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___ss_family_in_struct_ss" >&5 | 29926 | { echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 |
15669 | $as_echo "$ac_cv_have___ss_family_in_struct_ss" >&6; } | 29927 | echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6; } |
15670 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then | 29928 | if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then |
15671 | 29929 | ||
15672 | $as_echo "#define HAVE___SS_FAMILY_IN_SS 1" >>confdefs.h | 29930 | cat >>confdefs.h <<\_ACEOF |
29931 | #define HAVE___SS_FAMILY_IN_SS 1 | ||
29932 | _ACEOF | ||
15673 | 29933 | ||
15674 | fi | 29934 | fi |
15675 | 29935 | ||
15676 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msg_accrights field in struct msghdr" >&5 | 29936 | { echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 |
15677 | $as_echo_n "checking for msg_accrights field in struct msghdr... " >&6; } | 29937 | echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; } |
15678 | if ${ac_cv_have_accrights_in_msghdr+:} false; then : | 29938 | if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then |
15679 | $as_echo_n "(cached) " >&6 | 29939 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15680 | else | 29940 | else |
15681 | 29941 | ||
15682 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 29942 | cat >conftest.$ac_ext <<_ACEOF |
29943 | /* confdefs.h. */ | ||
29944 | _ACEOF | ||
29945 | cat confdefs.h >>conftest.$ac_ext | ||
29946 | cat >>conftest.$ac_ext <<_ACEOF | ||
15683 | /* end confdefs.h. */ | 29947 | /* end confdefs.h. */ |
15684 | 29948 | ||
15685 | #include <sys/types.h> | 29949 | #include <sys/types.h> |
@@ -15702,26 +29966,52 @@ exit(0); | |||
15702 | return 0; | 29966 | return 0; |
15703 | } | 29967 | } |
15704 | _ACEOF | 29968 | _ACEOF |
15705 | if ac_fn_c_try_compile "$LINENO"; then : | 29969 | rm -f conftest.$ac_objext |
29970 | if { (ac_try="$ac_compile" | ||
29971 | case "(($ac_try" in | ||
29972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
29973 | *) ac_try_echo=$ac_try;; | ||
29974 | esac | ||
29975 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
29976 | (eval "$ac_compile") 2>conftest.er1 | ||
29977 | ac_status=$? | ||
29978 | grep -v '^ *+' conftest.er1 >conftest.err | ||
29979 | rm -f conftest.er1 | ||
29980 | cat conftest.err >&5 | ||
29981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
29982 | (exit $ac_status); } && { | ||
29983 | test -z "$ac_c_werror_flag" || | ||
29984 | test ! -s conftest.err | ||
29985 | } && test -s conftest.$ac_objext; then | ||
15706 | ac_cv_have_accrights_in_msghdr="yes" | 29986 | ac_cv_have_accrights_in_msghdr="yes" |
15707 | else | 29987 | else |
15708 | ac_cv_have_accrights_in_msghdr="no" | 29988 | echo "$as_me: failed program was:" >&5 |
29989 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
29990 | |||
29991 | ac_cv_have_accrights_in_msghdr="no" | ||
15709 | 29992 | ||
15710 | fi | 29993 | fi |
29994 | |||
15711 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 29995 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15712 | 29996 | ||
15713 | fi | 29997 | fi |
15714 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_accrights_in_msghdr" >&5 | 29998 | { echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 |
15715 | $as_echo "$ac_cv_have_accrights_in_msghdr" >&6; } | 29999 | echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; } |
15716 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then | 30000 | if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then |
15717 | 30001 | ||
15718 | $as_echo "#define HAVE_ACCRIGHTS_IN_MSGHDR 1" >>confdefs.h | 30002 | cat >>confdefs.h <<\_ACEOF |
30003 | #define HAVE_ACCRIGHTS_IN_MSGHDR 1 | ||
30004 | _ACEOF | ||
15719 | 30005 | ||
15720 | fi | 30006 | fi |
15721 | 30007 | ||
15722 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct statvfs.f_fsid is integral type" >&5 | 30008 | { echo "$as_me:$LINENO: checking if struct statvfs.f_fsid is integral type" >&5 |
15723 | $as_echo_n "checking if struct statvfs.f_fsid is integral type... " >&6; } | 30009 | echo $ECHO_N "checking if struct statvfs.f_fsid is integral type... $ECHO_C" >&6; } |
15724 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30010 | cat >conftest.$ac_ext <<_ACEOF |
30011 | /* confdefs.h. */ | ||
30012 | _ACEOF | ||
30013 | cat confdefs.h >>conftest.$ac_ext | ||
30014 | cat >>conftest.$ac_ext <<_ACEOF | ||
15725 | /* end confdefs.h. */ | 30015 | /* end confdefs.h. */ |
15726 | 30016 | ||
15727 | #include <sys/param.h> | 30017 | #include <sys/param.h> |
@@ -15744,16 +30034,39 @@ main () | |||
15744 | return 0; | 30034 | return 0; |
15745 | } | 30035 | } |
15746 | _ACEOF | 30036 | _ACEOF |
15747 | if ac_fn_c_try_compile "$LINENO"; then : | 30037 | rm -f conftest.$ac_objext |
15748 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 30038 | if { (ac_try="$ac_compile" |
15749 | $as_echo "yes" >&6; } | 30039 | case "(($ac_try" in |
30040 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30041 | *) ac_try_echo=$ac_try;; | ||
30042 | esac | ||
30043 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30044 | (eval "$ac_compile") 2>conftest.er1 | ||
30045 | ac_status=$? | ||
30046 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30047 | rm -f conftest.er1 | ||
30048 | cat conftest.err >&5 | ||
30049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30050 | (exit $ac_status); } && { | ||
30051 | test -z "$ac_c_werror_flag" || | ||
30052 | test ! -s conftest.err | ||
30053 | } && test -s conftest.$ac_objext; then | ||
30054 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
30055 | echo "${ECHO_T}yes" >&6; } | ||
15750 | else | 30056 | else |
15751 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 30057 | echo "$as_me: failed program was:" >&5 |
15752 | $as_echo "no" >&6; } | 30058 | sed 's/^/| /' conftest.$ac_ext >&5 |
30059 | |||
30060 | { echo "$as_me:$LINENO: result: no" >&5 | ||
30061 | echo "${ECHO_T}no" >&6; } | ||
15753 | 30062 | ||
15754 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if fsid_t has member val" >&5 | 30063 | { echo "$as_me:$LINENO: checking if fsid_t has member val" >&5 |
15755 | $as_echo_n "checking if fsid_t has member val... " >&6; } | 30064 | echo $ECHO_N "checking if fsid_t has member val... $ECHO_C" >&6; } |
15756 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30065 | cat >conftest.$ac_ext <<_ACEOF |
30066 | /* confdefs.h. */ | ||
30067 | _ACEOF | ||
30068 | cat confdefs.h >>conftest.$ac_ext | ||
30069 | cat >>conftest.$ac_ext <<_ACEOF | ||
15757 | /* end confdefs.h. */ | 30070 | /* end confdefs.h. */ |
15758 | 30071 | ||
15759 | #include <sys/types.h> | 30072 | #include <sys/types.h> |
@@ -15767,21 +30080,47 @@ main () | |||
15767 | return 0; | 30080 | return 0; |
15768 | } | 30081 | } |
15769 | _ACEOF | 30082 | _ACEOF |
15770 | if ac_fn_c_try_compile "$LINENO"; then : | 30083 | rm -f conftest.$ac_objext |
15771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 30084 | if { (ac_try="$ac_compile" |
15772 | $as_echo "yes" >&6; } | 30085 | case "(($ac_try" in |
30086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30087 | *) ac_try_echo=$ac_try;; | ||
30088 | esac | ||
30089 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30090 | (eval "$ac_compile") 2>conftest.er1 | ||
30091 | ac_status=$? | ||
30092 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30093 | rm -f conftest.er1 | ||
30094 | cat conftest.err >&5 | ||
30095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30096 | (exit $ac_status); } && { | ||
30097 | test -z "$ac_c_werror_flag" || | ||
30098 | test ! -s conftest.err | ||
30099 | } && test -s conftest.$ac_objext; then | ||
30100 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
30101 | echo "${ECHO_T}yes" >&6; } | ||
15773 | 30102 | ||
15774 | $as_echo "#define FSID_HAS_VAL 1" >>confdefs.h | 30103 | cat >>confdefs.h <<\_ACEOF |
30104 | #define FSID_HAS_VAL 1 | ||
30105 | _ACEOF | ||
15775 | 30106 | ||
15776 | else | 30107 | else |
15777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 30108 | echo "$as_me: failed program was:" >&5 |
15778 | $as_echo "no" >&6; } | 30109 | sed 's/^/| /' conftest.$ac_ext >&5 |
30110 | |||
30111 | { echo "$as_me:$LINENO: result: no" >&5 | ||
30112 | echo "${ECHO_T}no" >&6; } | ||
15779 | fi | 30113 | fi |
30114 | |||
15780 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 30115 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15781 | 30116 | ||
15782 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if f_fsid has member __val" >&5 | 30117 | { echo "$as_me:$LINENO: checking if f_fsid has member __val" >&5 |
15783 | $as_echo_n "checking if f_fsid has member __val... " >&6; } | 30118 | echo $ECHO_N "checking if f_fsid has member __val... $ECHO_C" >&6; } |
15784 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30119 | cat >conftest.$ac_ext <<_ACEOF |
30120 | /* confdefs.h. */ | ||
30121 | _ACEOF | ||
30122 | cat confdefs.h >>conftest.$ac_ext | ||
30123 | cat >>conftest.$ac_ext <<_ACEOF | ||
15785 | /* end confdefs.h. */ | 30124 | /* end confdefs.h. */ |
15786 | 30125 | ||
15787 | #include <sys/types.h> | 30126 | #include <sys/types.h> |
@@ -15795,28 +30134,55 @@ main () | |||
15795 | return 0; | 30134 | return 0; |
15796 | } | 30135 | } |
15797 | _ACEOF | 30136 | _ACEOF |
15798 | if ac_fn_c_try_compile "$LINENO"; then : | 30137 | rm -f conftest.$ac_objext |
15799 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 30138 | if { (ac_try="$ac_compile" |
15800 | $as_echo "yes" >&6; } | 30139 | case "(($ac_try" in |
30140 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30141 | *) ac_try_echo=$ac_try;; | ||
30142 | esac | ||
30143 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30144 | (eval "$ac_compile") 2>conftest.er1 | ||
30145 | ac_status=$? | ||
30146 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30147 | rm -f conftest.er1 | ||
30148 | cat conftest.err >&5 | ||
30149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30150 | (exit $ac_status); } && { | ||
30151 | test -z "$ac_c_werror_flag" || | ||
30152 | test ! -s conftest.err | ||
30153 | } && test -s conftest.$ac_objext; then | ||
30154 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
30155 | echo "${ECHO_T}yes" >&6; } | ||
15801 | 30156 | ||
15802 | $as_echo "#define FSID_HAS___VAL 1" >>confdefs.h | 30157 | cat >>confdefs.h <<\_ACEOF |
30158 | #define FSID_HAS___VAL 1 | ||
30159 | _ACEOF | ||
15803 | 30160 | ||
15804 | else | 30161 | else |
15805 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 30162 | echo "$as_me: failed program was:" >&5 |
15806 | $as_echo "no" >&6; } | 30163 | sed 's/^/| /' conftest.$ac_ext >&5 |
30164 | |||
30165 | { echo "$as_me:$LINENO: result: no" >&5 | ||
30166 | echo "${ECHO_T}no" >&6; } | ||
15807 | fi | 30167 | fi |
30168 | |||
15808 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 30169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15809 | 30170 | ||
15810 | fi | 30171 | fi |
30172 | |||
15811 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 30173 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15812 | 30174 | ||
15813 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for msg_control field in struct msghdr" >&5 | 30175 | { echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 |
15814 | $as_echo_n "checking for msg_control field in struct msghdr... " >&6; } | 30176 | echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } |
15815 | if ${ac_cv_have_control_in_msghdr+:} false; then : | 30177 | if test "${ac_cv_have_control_in_msghdr+set}" = set; then |
15816 | $as_echo_n "(cached) " >&6 | 30178 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15817 | else | 30179 | else |
15818 | 30180 | ||
15819 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30181 | cat >conftest.$ac_ext <<_ACEOF |
30182 | /* confdefs.h. */ | ||
30183 | _ACEOF | ||
30184 | cat confdefs.h >>conftest.$ac_ext | ||
30185 | cat >>conftest.$ac_ext <<_ACEOF | ||
15820 | /* end confdefs.h. */ | 30186 | /* end confdefs.h. */ |
15821 | 30187 | ||
15822 | #include <sys/types.h> | 30188 | #include <sys/types.h> |
@@ -15839,30 +30205,56 @@ exit(0); | |||
15839 | return 0; | 30205 | return 0; |
15840 | } | 30206 | } |
15841 | _ACEOF | 30207 | _ACEOF |
15842 | if ac_fn_c_try_compile "$LINENO"; then : | 30208 | rm -f conftest.$ac_objext |
30209 | if { (ac_try="$ac_compile" | ||
30210 | case "(($ac_try" in | ||
30211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30212 | *) ac_try_echo=$ac_try;; | ||
30213 | esac | ||
30214 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30215 | (eval "$ac_compile") 2>conftest.er1 | ||
30216 | ac_status=$? | ||
30217 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30218 | rm -f conftest.er1 | ||
30219 | cat conftest.err >&5 | ||
30220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30221 | (exit $ac_status); } && { | ||
30222 | test -z "$ac_c_werror_flag" || | ||
30223 | test ! -s conftest.err | ||
30224 | } && test -s conftest.$ac_objext; then | ||
15843 | ac_cv_have_control_in_msghdr="yes" | 30225 | ac_cv_have_control_in_msghdr="yes" |
15844 | else | 30226 | else |
15845 | ac_cv_have_control_in_msghdr="no" | 30227 | echo "$as_me: failed program was:" >&5 |
30228 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30229 | |||
30230 | ac_cv_have_control_in_msghdr="no" | ||
15846 | 30231 | ||
15847 | fi | 30232 | fi |
30233 | |||
15848 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 30234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15849 | 30235 | ||
15850 | fi | 30236 | fi |
15851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_control_in_msghdr" >&5 | 30237 | { echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 |
15852 | $as_echo "$ac_cv_have_control_in_msghdr" >&6; } | 30238 | echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; } |
15853 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then | 30239 | if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then |
15854 | 30240 | ||
15855 | $as_echo "#define HAVE_CONTROL_IN_MSGHDR 1" >>confdefs.h | 30241 | cat >>confdefs.h <<\_ACEOF |
30242 | #define HAVE_CONTROL_IN_MSGHDR 1 | ||
30243 | _ACEOF | ||
15856 | 30244 | ||
15857 | fi | 30245 | fi |
15858 | 30246 | ||
15859 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines __progname" >&5 | 30247 | { echo "$as_me:$LINENO: checking if libc defines __progname" >&5 |
15860 | $as_echo_n "checking if libc defines __progname... " >&6; } | 30248 | echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; } |
15861 | if ${ac_cv_libc_defines___progname+:} false; then : | 30249 | if test "${ac_cv_libc_defines___progname+set}" = set; then |
15862 | $as_echo_n "(cached) " >&6 | 30250 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15863 | else | 30251 | else |
15864 | 30252 | ||
15865 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30253 | cat >conftest.$ac_ext <<_ACEOF |
30254 | /* confdefs.h. */ | ||
30255 | _ACEOF | ||
30256 | cat confdefs.h >>conftest.$ac_ext | ||
30257 | cat >>conftest.$ac_ext <<_ACEOF | ||
15866 | /* end confdefs.h. */ | 30258 | /* end confdefs.h. */ |
15867 | 30259 | ||
15868 | int | 30260 | int |
@@ -15873,31 +30265,58 @@ main () | |||
15873 | return 0; | 30265 | return 0; |
15874 | } | 30266 | } |
15875 | _ACEOF | 30267 | _ACEOF |
15876 | if ac_fn_c_try_link "$LINENO"; then : | 30268 | rm -f conftest.$ac_objext conftest$ac_exeext |
30269 | if { (ac_try="$ac_link" | ||
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_link") 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_exeext && | ||
30285 | $as_test_x conftest$ac_exeext; then | ||
15877 | ac_cv_libc_defines___progname="yes" | 30286 | ac_cv_libc_defines___progname="yes" |
15878 | else | 30287 | else |
15879 | ac_cv_libc_defines___progname="no" | 30288 | echo "$as_me: failed program was:" >&5 |
30289 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30290 | |||
30291 | ac_cv_libc_defines___progname="no" | ||
15880 | 30292 | ||
15881 | fi | 30293 | fi |
15882 | rm -f core conftest.err conftest.$ac_objext \ | 30294 | |
15883 | conftest$ac_exeext conftest.$ac_ext | 30295 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30296 | conftest$ac_exeext conftest.$ac_ext | ||
15884 | 30297 | ||
15885 | fi | 30298 | fi |
15886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines___progname" >&5 | 30299 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 |
15887 | $as_echo "$ac_cv_libc_defines___progname" >&6; } | 30300 | echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; } |
15888 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then | 30301 | if test "x$ac_cv_libc_defines___progname" = "xyes" ; then |
15889 | 30302 | ||
15890 | $as_echo "#define HAVE___PROGNAME 1" >>confdefs.h | 30303 | cat >>confdefs.h <<\_ACEOF |
30304 | #define HAVE___PROGNAME 1 | ||
30305 | _ACEOF | ||
15891 | 30306 | ||
15892 | fi | 30307 | fi |
15893 | 30308 | ||
15894 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5 | 30309 | { echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 |
15895 | $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; } | 30310 | echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6; } |
15896 | if ${ac_cv_cc_implements___FUNCTION__+:} false; then : | 30311 | if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then |
15897 | $as_echo_n "(cached) " >&6 | 30312 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15898 | else | 30313 | else |
15899 | 30314 | ||
15900 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30315 | cat >conftest.$ac_ext <<_ACEOF |
30316 | /* confdefs.h. */ | ||
30317 | _ACEOF | ||
30318 | cat confdefs.h >>conftest.$ac_ext | ||
30319 | cat >>conftest.$ac_ext <<_ACEOF | ||
15901 | /* end confdefs.h. */ | 30320 | /* end confdefs.h. */ |
15902 | #include <stdio.h> | 30321 | #include <stdio.h> |
15903 | int | 30322 | int |
@@ -15908,31 +30327,58 @@ main () | |||
15908 | return 0; | 30327 | return 0; |
15909 | } | 30328 | } |
15910 | _ACEOF | 30329 | _ACEOF |
15911 | if ac_fn_c_try_link "$LINENO"; then : | 30330 | rm -f conftest.$ac_objext conftest$ac_exeext |
30331 | if { (ac_try="$ac_link" | ||
30332 | case "(($ac_try" in | ||
30333 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30334 | *) ac_try_echo=$ac_try;; | ||
30335 | esac | ||
30336 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30337 | (eval "$ac_link") 2>conftest.er1 | ||
30338 | ac_status=$? | ||
30339 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30340 | rm -f conftest.er1 | ||
30341 | cat conftest.err >&5 | ||
30342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30343 | (exit $ac_status); } && { | ||
30344 | test -z "$ac_c_werror_flag" || | ||
30345 | test ! -s conftest.err | ||
30346 | } && test -s conftest$ac_exeext && | ||
30347 | $as_test_x conftest$ac_exeext; then | ||
15912 | ac_cv_cc_implements___FUNCTION__="yes" | 30348 | ac_cv_cc_implements___FUNCTION__="yes" |
15913 | else | 30349 | else |
15914 | ac_cv_cc_implements___FUNCTION__="no" | 30350 | echo "$as_me: failed program was:" >&5 |
30351 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30352 | |||
30353 | ac_cv_cc_implements___FUNCTION__="no" | ||
15915 | 30354 | ||
15916 | fi | 30355 | fi |
15917 | rm -f core conftest.err conftest.$ac_objext \ | 30356 | |
15918 | conftest$ac_exeext conftest.$ac_ext | 30357 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30358 | conftest$ac_exeext conftest.$ac_ext | ||
15919 | 30359 | ||
15920 | fi | 30360 | fi |
15921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_implements___FUNCTION__" >&5 | 30361 | { echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 |
15922 | $as_echo "$ac_cv_cc_implements___FUNCTION__" >&6; } | 30362 | echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6; } |
15923 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then | 30363 | if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then |
15924 | 30364 | ||
15925 | $as_echo "#define HAVE___FUNCTION__ 1" >>confdefs.h | 30365 | cat >>confdefs.h <<\_ACEOF |
30366 | #define HAVE___FUNCTION__ 1 | ||
30367 | _ACEOF | ||
15926 | 30368 | ||
15927 | fi | 30369 | fi |
15928 | 30370 | ||
15929 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5 | 30371 | { echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 |
15930 | $as_echo_n "checking whether $CC implements __func__... " >&6; } | 30372 | echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6; } |
15931 | if ${ac_cv_cc_implements___func__+:} false; then : | 30373 | if test "${ac_cv_cc_implements___func__+set}" = set; then |
15932 | $as_echo_n "(cached) " >&6 | 30374 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15933 | else | 30375 | else |
15934 | 30376 | ||
15935 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30377 | cat >conftest.$ac_ext <<_ACEOF |
30378 | /* confdefs.h. */ | ||
30379 | _ACEOF | ||
30380 | cat confdefs.h >>conftest.$ac_ext | ||
30381 | cat >>conftest.$ac_ext <<_ACEOF | ||
15936 | /* end confdefs.h. */ | 30382 | /* end confdefs.h. */ |
15937 | #include <stdio.h> | 30383 | #include <stdio.h> |
15938 | int | 30384 | int |
@@ -15943,31 +30389,58 @@ main () | |||
15943 | return 0; | 30389 | return 0; |
15944 | } | 30390 | } |
15945 | _ACEOF | 30391 | _ACEOF |
15946 | if ac_fn_c_try_link "$LINENO"; then : | 30392 | rm -f conftest.$ac_objext conftest$ac_exeext |
30393 | if { (ac_try="$ac_link" | ||
30394 | case "(($ac_try" in | ||
30395 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30396 | *) ac_try_echo=$ac_try;; | ||
30397 | esac | ||
30398 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30399 | (eval "$ac_link") 2>conftest.er1 | ||
30400 | ac_status=$? | ||
30401 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30402 | rm -f conftest.er1 | ||
30403 | cat conftest.err >&5 | ||
30404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30405 | (exit $ac_status); } && { | ||
30406 | test -z "$ac_c_werror_flag" || | ||
30407 | test ! -s conftest.err | ||
30408 | } && test -s conftest$ac_exeext && | ||
30409 | $as_test_x conftest$ac_exeext; then | ||
15947 | ac_cv_cc_implements___func__="yes" | 30410 | ac_cv_cc_implements___func__="yes" |
15948 | else | 30411 | else |
15949 | ac_cv_cc_implements___func__="no" | 30412 | echo "$as_me: failed program was:" >&5 |
30413 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30414 | |||
30415 | ac_cv_cc_implements___func__="no" | ||
15950 | 30416 | ||
15951 | fi | 30417 | fi |
15952 | rm -f core conftest.err conftest.$ac_objext \ | 30418 | |
15953 | conftest$ac_exeext conftest.$ac_ext | 30419 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30420 | conftest$ac_exeext conftest.$ac_ext | ||
15954 | 30421 | ||
15955 | fi | 30422 | fi |
15956 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cc_implements___func__" >&5 | 30423 | { echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 |
15957 | $as_echo "$ac_cv_cc_implements___func__" >&6; } | 30424 | echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6; } |
15958 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then | 30425 | if test "x$ac_cv_cc_implements___func__" = "xyes" ; then |
15959 | 30426 | ||
15960 | $as_echo "#define HAVE___func__ 1" >>confdefs.h | 30427 | cat >>confdefs.h <<\_ACEOF |
30428 | #define HAVE___func__ 1 | ||
30429 | _ACEOF | ||
15961 | 30430 | ||
15962 | fi | 30431 | fi |
15963 | 30432 | ||
15964 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_copy exists" >&5 | 30433 | { echo "$as_me:$LINENO: checking whether va_copy exists" >&5 |
15965 | $as_echo_n "checking whether va_copy exists... " >&6; } | 30434 | echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6; } |
15966 | if ${ac_cv_have_va_copy+:} false; then : | 30435 | if test "${ac_cv_have_va_copy+set}" = set; then |
15967 | $as_echo_n "(cached) " >&6 | 30436 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15968 | else | 30437 | else |
15969 | 30438 | ||
15970 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30439 | cat >conftest.$ac_ext <<_ACEOF |
30440 | /* confdefs.h. */ | ||
30441 | _ACEOF | ||
30442 | cat confdefs.h >>conftest.$ac_ext | ||
30443 | cat >>conftest.$ac_ext <<_ACEOF | ||
15971 | /* end confdefs.h. */ | 30444 | /* end confdefs.h. */ |
15972 | 30445 | ||
15973 | #include <stdarg.h> | 30446 | #include <stdarg.h> |
@@ -15981,31 +30454,58 @@ main () | |||
15981 | return 0; | 30454 | return 0; |
15982 | } | 30455 | } |
15983 | _ACEOF | 30456 | _ACEOF |
15984 | if ac_fn_c_try_link "$LINENO"; then : | 30457 | rm -f conftest.$ac_objext conftest$ac_exeext |
30458 | if { (ac_try="$ac_link" | ||
30459 | case "(($ac_try" in | ||
30460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30461 | *) ac_try_echo=$ac_try;; | ||
30462 | esac | ||
30463 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30464 | (eval "$ac_link") 2>conftest.er1 | ||
30465 | ac_status=$? | ||
30466 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30467 | rm -f conftest.er1 | ||
30468 | cat conftest.err >&5 | ||
30469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30470 | (exit $ac_status); } && { | ||
30471 | test -z "$ac_c_werror_flag" || | ||
30472 | test ! -s conftest.err | ||
30473 | } && test -s conftest$ac_exeext && | ||
30474 | $as_test_x conftest$ac_exeext; then | ||
15985 | ac_cv_have_va_copy="yes" | 30475 | ac_cv_have_va_copy="yes" |
15986 | else | 30476 | else |
15987 | ac_cv_have_va_copy="no" | 30477 | echo "$as_me: failed program was:" >&5 |
30478 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30479 | |||
30480 | ac_cv_have_va_copy="no" | ||
15988 | 30481 | ||
15989 | fi | 30482 | fi |
15990 | rm -f core conftest.err conftest.$ac_objext \ | 30483 | |
15991 | conftest$ac_exeext conftest.$ac_ext | 30484 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30485 | conftest$ac_exeext conftest.$ac_ext | ||
15992 | 30486 | ||
15993 | fi | 30487 | fi |
15994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_va_copy" >&5 | 30488 | { echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 |
15995 | $as_echo "$ac_cv_have_va_copy" >&6; } | 30489 | echo "${ECHO_T}$ac_cv_have_va_copy" >&6; } |
15996 | if test "x$ac_cv_have_va_copy" = "xyes" ; then | 30490 | if test "x$ac_cv_have_va_copy" = "xyes" ; then |
15997 | 30491 | ||
15998 | $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h | 30492 | cat >>confdefs.h <<\_ACEOF |
30493 | #define HAVE_VA_COPY 1 | ||
30494 | _ACEOF | ||
15999 | 30495 | ||
16000 | fi | 30496 | fi |
16001 | 30497 | ||
16002 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __va_copy exists" >&5 | 30498 | { echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 |
16003 | $as_echo_n "checking whether __va_copy exists... " >&6; } | 30499 | echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6; } |
16004 | if ${ac_cv_have___va_copy+:} false; then : | 30500 | if test "${ac_cv_have___va_copy+set}" = set; then |
16005 | $as_echo_n "(cached) " >&6 | 30501 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16006 | else | 30502 | else |
16007 | 30503 | ||
16008 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30504 | cat >conftest.$ac_ext <<_ACEOF |
30505 | /* confdefs.h. */ | ||
30506 | _ACEOF | ||
30507 | cat confdefs.h >>conftest.$ac_ext | ||
30508 | cat >>conftest.$ac_ext <<_ACEOF | ||
16009 | /* end confdefs.h. */ | 30509 | /* end confdefs.h. */ |
16010 | 30510 | ||
16011 | #include <stdarg.h> | 30511 | #include <stdarg.h> |
@@ -16019,31 +30519,58 @@ main () | |||
16019 | return 0; | 30519 | return 0; |
16020 | } | 30520 | } |
16021 | _ACEOF | 30521 | _ACEOF |
16022 | if ac_fn_c_try_link "$LINENO"; then : | 30522 | rm -f conftest.$ac_objext conftest$ac_exeext |
30523 | if { (ac_try="$ac_link" | ||
30524 | case "(($ac_try" in | ||
30525 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30526 | *) ac_try_echo=$ac_try;; | ||
30527 | esac | ||
30528 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30529 | (eval "$ac_link") 2>conftest.er1 | ||
30530 | ac_status=$? | ||
30531 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30532 | rm -f conftest.er1 | ||
30533 | cat conftest.err >&5 | ||
30534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30535 | (exit $ac_status); } && { | ||
30536 | test -z "$ac_c_werror_flag" || | ||
30537 | test ! -s conftest.err | ||
30538 | } && test -s conftest$ac_exeext && | ||
30539 | $as_test_x conftest$ac_exeext; then | ||
16023 | ac_cv_have___va_copy="yes" | 30540 | ac_cv_have___va_copy="yes" |
16024 | else | 30541 | else |
16025 | ac_cv_have___va_copy="no" | 30542 | echo "$as_me: failed program was:" >&5 |
30543 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30544 | |||
30545 | ac_cv_have___va_copy="no" | ||
16026 | 30546 | ||
16027 | fi | 30547 | fi |
16028 | rm -f core conftest.err conftest.$ac_objext \ | 30548 | |
16029 | conftest$ac_exeext conftest.$ac_ext | 30549 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30550 | conftest$ac_exeext conftest.$ac_ext | ||
16030 | 30551 | ||
16031 | fi | 30552 | fi |
16032 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___va_copy" >&5 | 30553 | { echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 |
16033 | $as_echo "$ac_cv_have___va_copy" >&6; } | 30554 | echo "${ECHO_T}$ac_cv_have___va_copy" >&6; } |
16034 | if test "x$ac_cv_have___va_copy" = "xyes" ; then | 30555 | if test "x$ac_cv_have___va_copy" = "xyes" ; then |
16035 | 30556 | ||
16036 | $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h | 30557 | cat >>confdefs.h <<\_ACEOF |
30558 | #define HAVE___VA_COPY 1 | ||
30559 | _ACEOF | ||
16037 | 30560 | ||
16038 | fi | 30561 | fi |
16039 | 30562 | ||
16040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt has optreset support" >&5 | 30563 | { echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 |
16041 | $as_echo_n "checking whether getopt has optreset support... " >&6; } | 30564 | echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; } |
16042 | if ${ac_cv_have_getopt_optreset+:} false; then : | 30565 | if test "${ac_cv_have_getopt_optreset+set}" = set; then |
16043 | $as_echo_n "(cached) " >&6 | 30566 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16044 | else | 30567 | else |
16045 | 30568 | ||
16046 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30569 | cat >conftest.$ac_ext <<_ACEOF |
30570 | /* confdefs.h. */ | ||
30571 | _ACEOF | ||
30572 | cat confdefs.h >>conftest.$ac_ext | ||
30573 | cat >>conftest.$ac_ext <<_ACEOF | ||
16047 | /* end confdefs.h. */ | 30574 | /* end confdefs.h. */ |
16048 | #include <getopt.h> | 30575 | #include <getopt.h> |
16049 | int | 30576 | int |
@@ -16054,31 +30581,58 @@ main () | |||
16054 | return 0; | 30581 | return 0; |
16055 | } | 30582 | } |
16056 | _ACEOF | 30583 | _ACEOF |
16057 | if ac_fn_c_try_link "$LINENO"; then : | 30584 | rm -f conftest.$ac_objext conftest$ac_exeext |
30585 | if { (ac_try="$ac_link" | ||
30586 | case "(($ac_try" in | ||
30587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30588 | *) ac_try_echo=$ac_try;; | ||
30589 | esac | ||
30590 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30591 | (eval "$ac_link") 2>conftest.er1 | ||
30592 | ac_status=$? | ||
30593 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30594 | rm -f conftest.er1 | ||
30595 | cat conftest.err >&5 | ||
30596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30597 | (exit $ac_status); } && { | ||
30598 | test -z "$ac_c_werror_flag" || | ||
30599 | test ! -s conftest.err | ||
30600 | } && test -s conftest$ac_exeext && | ||
30601 | $as_test_x conftest$ac_exeext; then | ||
16058 | ac_cv_have_getopt_optreset="yes" | 30602 | ac_cv_have_getopt_optreset="yes" |
16059 | else | 30603 | else |
16060 | ac_cv_have_getopt_optreset="no" | 30604 | echo "$as_me: failed program was:" >&5 |
30605 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30606 | |||
30607 | ac_cv_have_getopt_optreset="no" | ||
16061 | 30608 | ||
16062 | fi | 30609 | fi |
16063 | rm -f core conftest.err conftest.$ac_objext \ | 30610 | |
16064 | conftest$ac_exeext conftest.$ac_ext | 30611 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30612 | conftest$ac_exeext conftest.$ac_ext | ||
16065 | 30613 | ||
16066 | fi | 30614 | fi |
16067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getopt_optreset" >&5 | 30615 | { echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 |
16068 | $as_echo "$ac_cv_have_getopt_optreset" >&6; } | 30616 | echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; } |
16069 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then | 30617 | if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then |
16070 | 30618 | ||
16071 | $as_echo "#define HAVE_GETOPT_OPTRESET 1" >>confdefs.h | 30619 | cat >>confdefs.h <<\_ACEOF |
30620 | #define HAVE_GETOPT_OPTRESET 1 | ||
30621 | _ACEOF | ||
16072 | 30622 | ||
16073 | fi | 30623 | fi |
16074 | 30624 | ||
16075 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines sys_errlist" >&5 | 30625 | { echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 |
16076 | $as_echo_n "checking if libc defines sys_errlist... " >&6; } | 30626 | echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6; } |
16077 | if ${ac_cv_libc_defines_sys_errlist+:} false; then : | 30627 | if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then |
16078 | $as_echo_n "(cached) " >&6 | 30628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16079 | else | 30629 | else |
16080 | 30630 | ||
16081 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30631 | cat >conftest.$ac_ext <<_ACEOF |
30632 | /* confdefs.h. */ | ||
30633 | _ACEOF | ||
30634 | cat confdefs.h >>conftest.$ac_ext | ||
30635 | cat >>conftest.$ac_ext <<_ACEOF | ||
16082 | /* end confdefs.h. */ | 30636 | /* end confdefs.h. */ |
16083 | 30637 | ||
16084 | int | 30638 | int |
@@ -16089,32 +30643,59 @@ main () | |||
16089 | return 0; | 30643 | return 0; |
16090 | } | 30644 | } |
16091 | _ACEOF | 30645 | _ACEOF |
16092 | if ac_fn_c_try_link "$LINENO"; then : | 30646 | rm -f conftest.$ac_objext conftest$ac_exeext |
30647 | if { (ac_try="$ac_link" | ||
30648 | case "(($ac_try" in | ||
30649 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30650 | *) ac_try_echo=$ac_try;; | ||
30651 | esac | ||
30652 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30653 | (eval "$ac_link") 2>conftest.er1 | ||
30654 | ac_status=$? | ||
30655 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30656 | rm -f conftest.er1 | ||
30657 | cat conftest.err >&5 | ||
30658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30659 | (exit $ac_status); } && { | ||
30660 | test -z "$ac_c_werror_flag" || | ||
30661 | test ! -s conftest.err | ||
30662 | } && test -s conftest$ac_exeext && | ||
30663 | $as_test_x conftest$ac_exeext; then | ||
16093 | ac_cv_libc_defines_sys_errlist="yes" | 30664 | ac_cv_libc_defines_sys_errlist="yes" |
16094 | else | 30665 | else |
16095 | ac_cv_libc_defines_sys_errlist="no" | 30666 | echo "$as_me: failed program was:" >&5 |
30667 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30668 | |||
30669 | ac_cv_libc_defines_sys_errlist="no" | ||
16096 | 30670 | ||
16097 | fi | 30671 | fi |
16098 | rm -f core conftest.err conftest.$ac_objext \ | 30672 | |
16099 | conftest$ac_exeext conftest.$ac_ext | 30673 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30674 | conftest$ac_exeext conftest.$ac_ext | ||
16100 | 30675 | ||
16101 | fi | 30676 | fi |
16102 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines_sys_errlist" >&5 | 30677 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 |
16103 | $as_echo "$ac_cv_libc_defines_sys_errlist" >&6; } | 30678 | echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6; } |
16104 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then | 30679 | if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then |
16105 | 30680 | ||
16106 | $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h | 30681 | cat >>confdefs.h <<\_ACEOF |
30682 | #define HAVE_SYS_ERRLIST 1 | ||
30683 | _ACEOF | ||
16107 | 30684 | ||
16108 | fi | 30685 | fi |
16109 | 30686 | ||
16110 | 30687 | ||
16111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libc defines sys_nerr" >&5 | 30688 | { echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 |
16112 | $as_echo_n "checking if libc defines sys_nerr... " >&6; } | 30689 | echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6; } |
16113 | if ${ac_cv_libc_defines_sys_nerr+:} false; then : | 30690 | if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then |
16114 | $as_echo_n "(cached) " >&6 | 30691 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16115 | else | 30692 | else |
16116 | 30693 | ||
16117 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30694 | cat >conftest.$ac_ext <<_ACEOF |
30695 | /* confdefs.h. */ | ||
30696 | _ACEOF | ||
30697 | cat confdefs.h >>conftest.$ac_ext | ||
30698 | cat >>conftest.$ac_ext <<_ACEOF | ||
16118 | /* end confdefs.h. */ | 30699 | /* end confdefs.h. */ |
16119 | 30700 | ||
16120 | int | 30701 | int |
@@ -16125,32 +30706,59 @@ main () | |||
16125 | return 0; | 30706 | return 0; |
16126 | } | 30707 | } |
16127 | _ACEOF | 30708 | _ACEOF |
16128 | if ac_fn_c_try_link "$LINENO"; then : | 30709 | rm -f conftest.$ac_objext conftest$ac_exeext |
30710 | if { (ac_try="$ac_link" | ||
30711 | case "(($ac_try" in | ||
30712 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30713 | *) ac_try_echo=$ac_try;; | ||
30714 | esac | ||
30715 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30716 | (eval "$ac_link") 2>conftest.er1 | ||
30717 | ac_status=$? | ||
30718 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30719 | rm -f conftest.er1 | ||
30720 | cat conftest.err >&5 | ||
30721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30722 | (exit $ac_status); } && { | ||
30723 | test -z "$ac_c_werror_flag" || | ||
30724 | test ! -s conftest.err | ||
30725 | } && test -s conftest$ac_exeext && | ||
30726 | $as_test_x conftest$ac_exeext; then | ||
16129 | ac_cv_libc_defines_sys_nerr="yes" | 30727 | ac_cv_libc_defines_sys_nerr="yes" |
16130 | else | 30728 | else |
16131 | ac_cv_libc_defines_sys_nerr="no" | 30729 | echo "$as_me: failed program was:" >&5 |
30730 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30731 | |||
30732 | ac_cv_libc_defines_sys_nerr="no" | ||
16132 | 30733 | ||
16133 | fi | 30734 | fi |
16134 | rm -f core conftest.err conftest.$ac_objext \ | 30735 | |
16135 | conftest$ac_exeext conftest.$ac_ext | 30736 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
30737 | conftest$ac_exeext conftest.$ac_ext | ||
16136 | 30738 | ||
16137 | fi | 30739 | fi |
16138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libc_defines_sys_nerr" >&5 | 30740 | { echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 |
16139 | $as_echo "$ac_cv_libc_defines_sys_nerr" >&6; } | 30741 | echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6; } |
16140 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then | 30742 | if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then |
16141 | 30743 | ||
16142 | $as_echo "#define HAVE_SYS_NERR 1" >>confdefs.h | 30744 | cat >>confdefs.h <<\_ACEOF |
30745 | #define HAVE_SYS_NERR 1 | ||
30746 | _ACEOF | ||
16143 | 30747 | ||
16144 | fi | 30748 | fi |
16145 | 30749 | ||
16146 | # Check libraries needed by DNS fingerprint support | 30750 | # Check libraries needed by DNS fingerprint support |
16147 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getrrsetbyname" >&5 | 30751 | { echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 |
16148 | $as_echo_n "checking for library containing getrrsetbyname... " >&6; } | 30752 | echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6; } |
16149 | if ${ac_cv_search_getrrsetbyname+:} false; then : | 30753 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
16150 | $as_echo_n "(cached) " >&6 | 30754 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16151 | else | 30755 | else |
16152 | ac_func_search_save_LIBS=$LIBS | 30756 | ac_func_search_save_LIBS=$LIBS |
16153 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30757 | cat >conftest.$ac_ext <<_ACEOF |
30758 | /* confdefs.h. */ | ||
30759 | _ACEOF | ||
30760 | cat confdefs.h >>conftest.$ac_ext | ||
30761 | cat >>conftest.$ac_ext <<_ACEOF | ||
16154 | /* end confdefs.h. */ | 30762 | /* end confdefs.h. */ |
16155 | 30763 | ||
16156 | /* Override any GCC internal prototype to avoid an error. | 30764 | /* Override any GCC internal prototype to avoid an error. |
@@ -16175,41 +30783,70 @@ for ac_lib in '' resolv; do | |||
16175 | ac_res=-l$ac_lib | 30783 | ac_res=-l$ac_lib |
16176 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 30784 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16177 | fi | 30785 | fi |
16178 | if ac_fn_c_try_link "$LINENO"; then : | 30786 | rm -f conftest.$ac_objext conftest$ac_exeext |
30787 | if { (ac_try="$ac_link" | ||
30788 | case "(($ac_try" in | ||
30789 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30790 | *) ac_try_echo=$ac_try;; | ||
30791 | esac | ||
30792 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30793 | (eval "$ac_link") 2>conftest.er1 | ||
30794 | ac_status=$? | ||
30795 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30796 | rm -f conftest.er1 | ||
30797 | cat conftest.err >&5 | ||
30798 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30799 | (exit $ac_status); } && { | ||
30800 | test -z "$ac_c_werror_flag" || | ||
30801 | test ! -s conftest.err | ||
30802 | } && test -s conftest$ac_exeext && | ||
30803 | $as_test_x conftest$ac_exeext; then | ||
16179 | ac_cv_search_getrrsetbyname=$ac_res | 30804 | ac_cv_search_getrrsetbyname=$ac_res |
30805 | else | ||
30806 | echo "$as_me: failed program was:" >&5 | ||
30807 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30808 | |||
30809 | |||
16180 | fi | 30810 | fi |
16181 | rm -f core conftest.err conftest.$ac_objext \ | 30811 | |
16182 | conftest$ac_exeext | 30812 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16183 | if ${ac_cv_search_getrrsetbyname+:} false; then : | 30813 | conftest$ac_exeext |
30814 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then | ||
16184 | break | 30815 | break |
16185 | fi | 30816 | fi |
16186 | done | 30817 | done |
16187 | if ${ac_cv_search_getrrsetbyname+:} false; then : | 30818 | if test "${ac_cv_search_getrrsetbyname+set}" = set; then |
16188 | 30819 | : | |
16189 | else | 30820 | else |
16190 | ac_cv_search_getrrsetbyname=no | 30821 | ac_cv_search_getrrsetbyname=no |
16191 | fi | 30822 | fi |
16192 | rm conftest.$ac_ext | 30823 | rm conftest.$ac_ext |
16193 | LIBS=$ac_func_search_save_LIBS | 30824 | LIBS=$ac_func_search_save_LIBS |
16194 | fi | 30825 | fi |
16195 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getrrsetbyname" >&5 | 30826 | { echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 |
16196 | $as_echo "$ac_cv_search_getrrsetbyname" >&6; } | 30827 | echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6; } |
16197 | ac_res=$ac_cv_search_getrrsetbyname | 30828 | ac_res=$ac_cv_search_getrrsetbyname |
16198 | if test "$ac_res" != no; then : | 30829 | if test "$ac_res" != no; then |
16199 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 30830 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
16200 | 30831 | ||
16201 | $as_echo "#define HAVE_GETRRSETBYNAME 1" >>confdefs.h | 30832 | cat >>confdefs.h <<\_ACEOF |
30833 | #define HAVE_GETRRSETBYNAME 1 | ||
30834 | _ACEOF | ||
16202 | 30835 | ||
16203 | else | 30836 | else |
16204 | 30837 | ||
16205 | # Needed by our getrrsetbyname() | 30838 | # Needed by our getrrsetbyname() |
16206 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_query" >&5 | 30839 | { echo "$as_me:$LINENO: checking for library containing res_query" >&5 |
16207 | $as_echo_n "checking for library containing res_query... " >&6; } | 30840 | echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; } |
16208 | if ${ac_cv_search_res_query+:} false; then : | 30841 | if test "${ac_cv_search_res_query+set}" = set; then |
16209 | $as_echo_n "(cached) " >&6 | 30842 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16210 | else | 30843 | else |
16211 | ac_func_search_save_LIBS=$LIBS | 30844 | ac_func_search_save_LIBS=$LIBS |
16212 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30845 | cat >conftest.$ac_ext <<_ACEOF |
30846 | /* confdefs.h. */ | ||
30847 | _ACEOF | ||
30848 | cat confdefs.h >>conftest.$ac_ext | ||
30849 | cat >>conftest.$ac_ext <<_ACEOF | ||
16213 | /* end confdefs.h. */ | 30850 | /* end confdefs.h. */ |
16214 | 30851 | ||
16215 | /* Override any GCC internal prototype to avoid an error. | 30852 | /* Override any GCC internal prototype to avoid an error. |
@@ -16234,38 +30871,65 @@ for ac_lib in '' resolv; do | |||
16234 | ac_res=-l$ac_lib | 30871 | ac_res=-l$ac_lib |
16235 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 30872 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16236 | fi | 30873 | fi |
16237 | if ac_fn_c_try_link "$LINENO"; then : | 30874 | rm -f conftest.$ac_objext conftest$ac_exeext |
30875 | if { (ac_try="$ac_link" | ||
30876 | case "(($ac_try" in | ||
30877 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30878 | *) ac_try_echo=$ac_try;; | ||
30879 | esac | ||
30880 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30881 | (eval "$ac_link") 2>conftest.er1 | ||
30882 | ac_status=$? | ||
30883 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30884 | rm -f conftest.er1 | ||
30885 | cat conftest.err >&5 | ||
30886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30887 | (exit $ac_status); } && { | ||
30888 | test -z "$ac_c_werror_flag" || | ||
30889 | test ! -s conftest.err | ||
30890 | } && test -s conftest$ac_exeext && | ||
30891 | $as_test_x conftest$ac_exeext; then | ||
16238 | ac_cv_search_res_query=$ac_res | 30892 | ac_cv_search_res_query=$ac_res |
30893 | else | ||
30894 | echo "$as_me: failed program was:" >&5 | ||
30895 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30896 | |||
30897 | |||
16239 | fi | 30898 | fi |
16240 | rm -f core conftest.err conftest.$ac_objext \ | 30899 | |
16241 | conftest$ac_exeext | 30900 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16242 | if ${ac_cv_search_res_query+:} false; then : | 30901 | conftest$ac_exeext |
30902 | if test "${ac_cv_search_res_query+set}" = set; then | ||
16243 | break | 30903 | break |
16244 | fi | 30904 | fi |
16245 | done | 30905 | done |
16246 | if ${ac_cv_search_res_query+:} false; then : | 30906 | if test "${ac_cv_search_res_query+set}" = set; then |
16247 | 30907 | : | |
16248 | else | 30908 | else |
16249 | ac_cv_search_res_query=no | 30909 | ac_cv_search_res_query=no |
16250 | fi | 30910 | fi |
16251 | rm conftest.$ac_ext | 30911 | rm conftest.$ac_ext |
16252 | LIBS=$ac_func_search_save_LIBS | 30912 | LIBS=$ac_func_search_save_LIBS |
16253 | fi | 30913 | fi |
16254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_query" >&5 | 30914 | { echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5 |
16255 | $as_echo "$ac_cv_search_res_query" >&6; } | 30915 | echo "${ECHO_T}$ac_cv_search_res_query" >&6; } |
16256 | ac_res=$ac_cv_search_res_query | 30916 | ac_res=$ac_cv_search_res_query |
16257 | if test "$ac_res" != no; then : | 30917 | if test "$ac_res" != no; then |
16258 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 30918 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
16259 | 30919 | ||
16260 | fi | 30920 | fi |
16261 | 30921 | ||
16262 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dn_expand" >&5 | 30922 | { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 |
16263 | $as_echo_n "checking for library containing dn_expand... " >&6; } | 30923 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } |
16264 | if ${ac_cv_search_dn_expand+:} false; then : | 30924 | if test "${ac_cv_search_dn_expand+set}" = set; then |
16265 | $as_echo_n "(cached) " >&6 | 30925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16266 | else | 30926 | else |
16267 | ac_func_search_save_LIBS=$LIBS | 30927 | ac_func_search_save_LIBS=$LIBS |
16268 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 30928 | cat >conftest.$ac_ext <<_ACEOF |
30929 | /* confdefs.h. */ | ||
30930 | _ACEOF | ||
30931 | cat confdefs.h >>conftest.$ac_ext | ||
30932 | cat >>conftest.$ac_ext <<_ACEOF | ||
16269 | /* end confdefs.h. */ | 30933 | /* end confdefs.h. */ |
16270 | 30934 | ||
16271 | /* Override any GCC internal prototype to avoid an error. | 30935 | /* Override any GCC internal prototype to avoid an error. |
@@ -16290,34 +30954,61 @@ for ac_lib in '' resolv; do | |||
16290 | ac_res=-l$ac_lib | 30954 | ac_res=-l$ac_lib |
16291 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 30955 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16292 | fi | 30956 | fi |
16293 | if ac_fn_c_try_link "$LINENO"; then : | 30957 | rm -f conftest.$ac_objext conftest$ac_exeext |
30958 | if { (ac_try="$ac_link" | ||
30959 | case "(($ac_try" in | ||
30960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
30961 | *) ac_try_echo=$ac_try;; | ||
30962 | esac | ||
30963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
30964 | (eval "$ac_link") 2>conftest.er1 | ||
30965 | ac_status=$? | ||
30966 | grep -v '^ *+' conftest.er1 >conftest.err | ||
30967 | rm -f conftest.er1 | ||
30968 | cat conftest.err >&5 | ||
30969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
30970 | (exit $ac_status); } && { | ||
30971 | test -z "$ac_c_werror_flag" || | ||
30972 | test ! -s conftest.err | ||
30973 | } && test -s conftest$ac_exeext && | ||
30974 | $as_test_x conftest$ac_exeext; then | ||
16294 | ac_cv_search_dn_expand=$ac_res | 30975 | ac_cv_search_dn_expand=$ac_res |
30976 | else | ||
30977 | echo "$as_me: failed program was:" >&5 | ||
30978 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
30979 | |||
30980 | |||
16295 | fi | 30981 | fi |
16296 | rm -f core conftest.err conftest.$ac_objext \ | 30982 | |
16297 | conftest$ac_exeext | 30983 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16298 | if ${ac_cv_search_dn_expand+:} false; then : | 30984 | conftest$ac_exeext |
30985 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
16299 | break | 30986 | break |
16300 | fi | 30987 | fi |
16301 | done | 30988 | done |
16302 | if ${ac_cv_search_dn_expand+:} false; then : | 30989 | if test "${ac_cv_search_dn_expand+set}" = set; then |
16303 | 30990 | : | |
16304 | else | 30991 | else |
16305 | ac_cv_search_dn_expand=no | 30992 | ac_cv_search_dn_expand=no |
16306 | fi | 30993 | fi |
16307 | rm conftest.$ac_ext | 30994 | rm conftest.$ac_ext |
16308 | LIBS=$ac_func_search_save_LIBS | 30995 | LIBS=$ac_func_search_save_LIBS |
16309 | fi | 30996 | fi |
16310 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dn_expand" >&5 | 30997 | { echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 |
16311 | $as_echo "$ac_cv_search_dn_expand" >&6; } | 30998 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } |
16312 | ac_res=$ac_cv_search_dn_expand | 30999 | ac_res=$ac_cv_search_dn_expand |
16313 | if test "$ac_res" != no; then : | 31000 | if test "$ac_res" != no; then |
16314 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 31001 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
16315 | 31002 | ||
16316 | fi | 31003 | fi |
16317 | 31004 | ||
16318 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if res_query will link" >&5 | 31005 | { echo "$as_me:$LINENO: checking if res_query will link" >&5 |
16319 | $as_echo_n "checking if res_query will link... " >&6; } | 31006 | echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6; } |
16320 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 31007 | cat >conftest.$ac_ext <<_ACEOF |
31008 | /* confdefs.h. */ | ||
31009 | _ACEOF | ||
31010 | cat confdefs.h >>conftest.$ac_ext | ||
31011 | cat >>conftest.$ac_ext <<_ACEOF | ||
16321 | /* end confdefs.h. */ | 31012 | /* end confdefs.h. */ |
16322 | 31013 | ||
16323 | #include <sys/types.h> | 31014 | #include <sys/types.h> |
@@ -16336,17 +31027,41 @@ main () | |||
16336 | return 0; | 31027 | return 0; |
16337 | } | 31028 | } |
16338 | _ACEOF | 31029 | _ACEOF |
16339 | if ac_fn_c_try_link "$LINENO"; then : | 31030 | rm -f conftest.$ac_objext conftest$ac_exeext |
16340 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 31031 | if { (ac_try="$ac_link" |
16341 | $as_echo "yes" >&6; } | 31032 | case "(($ac_try" in |
31033 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31034 | *) ac_try_echo=$ac_try;; | ||
31035 | esac | ||
31036 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31037 | (eval "$ac_link") 2>conftest.er1 | ||
31038 | ac_status=$? | ||
31039 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31040 | rm -f conftest.er1 | ||
31041 | cat conftest.err >&5 | ||
31042 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31043 | (exit $ac_status); } && { | ||
31044 | test -z "$ac_c_werror_flag" || | ||
31045 | test ! -s conftest.err | ||
31046 | } && test -s conftest$ac_exeext && | ||
31047 | $as_test_x conftest$ac_exeext; then | ||
31048 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31049 | echo "${ECHO_T}yes" >&6; } | ||
16342 | else | 31050 | else |
16343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 31051 | echo "$as_me: failed program was:" >&5 |
16344 | $as_echo "no" >&6; } | 31052 | sed 's/^/| /' conftest.$ac_ext >&5 |
31053 | |||
31054 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31055 | echo "${ECHO_T}no" >&6; } | ||
16345 | saved_LIBS="$LIBS" | 31056 | saved_LIBS="$LIBS" |
16346 | LIBS="$LIBS -lresolv" | 31057 | LIBS="$LIBS -lresolv" |
16347 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_query in -lresolv" >&5 | 31058 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
16348 | $as_echo_n "checking for res_query in -lresolv... " >&6; } | 31059 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } |
16349 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 31060 | cat >conftest.$ac_ext <<_ACEOF |
31061 | /* confdefs.h. */ | ||
31062 | _ACEOF | ||
31063 | cat confdefs.h >>conftest.$ac_ext | ||
31064 | cat >>conftest.$ac_ext <<_ACEOF | ||
16350 | /* end confdefs.h. */ | 31065 | /* end confdefs.h. */ |
16351 | 31066 | ||
16352 | #include <sys/types.h> | 31067 | #include <sys/types.h> |
@@ -16365,72 +31080,389 @@ main () | |||
16365 | return 0; | 31080 | return 0; |
16366 | } | 31081 | } |
16367 | _ACEOF | 31082 | _ACEOF |
16368 | if ac_fn_c_try_link "$LINENO"; then : | 31083 | rm -f conftest.$ac_objext conftest$ac_exeext |
16369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 31084 | if { (ac_try="$ac_link" |
16370 | $as_echo "yes" >&6; } | 31085 | case "(($ac_try" in |
31086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31087 | *) ac_try_echo=$ac_try;; | ||
31088 | esac | ||
31089 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31090 | (eval "$ac_link") 2>conftest.er1 | ||
31091 | ac_status=$? | ||
31092 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31093 | rm -f conftest.er1 | ||
31094 | cat conftest.err >&5 | ||
31095 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31096 | (exit $ac_status); } && { | ||
31097 | test -z "$ac_c_werror_flag" || | ||
31098 | test ! -s conftest.err | ||
31099 | } && test -s conftest$ac_exeext && | ||
31100 | $as_test_x conftest$ac_exeext; then | ||
31101 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31102 | echo "${ECHO_T}yes" >&6; } | ||
16371 | else | 31103 | else |
16372 | LIBS="$saved_LIBS" | 31104 | echo "$as_me: failed program was:" >&5 |
16373 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 31105 | sed 's/^/| /' conftest.$ac_ext >&5 |
16374 | $as_echo "no" >&6; } | 31106 | |
31107 | LIBS="$saved_LIBS" | ||
31108 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31109 | echo "${ECHO_T}no" >&6; } | ||
16375 | fi | 31110 | fi |
16376 | rm -f core conftest.err conftest.$ac_objext \ | 31111 | |
16377 | conftest$ac_exeext conftest.$ac_ext | 31112 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
31113 | conftest$ac_exeext conftest.$ac_ext | ||
16378 | 31114 | ||
16379 | fi | 31115 | fi |
16380 | rm -f core conftest.err conftest.$ac_objext \ | 31116 | |
16381 | conftest$ac_exeext conftest.$ac_ext | 31117 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16382 | for ac_func in _getshort _getlong | 31118 | conftest$ac_exeext conftest.$ac_ext |
16383 | do : | 31119 | |
16384 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 31120 | |
16385 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 31121 | for ac_func in _getshort _getlong |
16386 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 31122 | do |
31123 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
31124 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
31125 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
31126 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
31127 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
31128 | else | ||
31129 | cat >conftest.$ac_ext <<_ACEOF | ||
31130 | /* confdefs.h. */ | ||
31131 | _ACEOF | ||
31132 | cat confdefs.h >>conftest.$ac_ext | ||
31133 | cat >>conftest.$ac_ext <<_ACEOF | ||
31134 | /* end confdefs.h. */ | ||
31135 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
31136 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
31137 | #define $ac_func innocuous_$ac_func | ||
31138 | |||
31139 | /* System header to define __stub macros and hopefully few prototypes, | ||
31140 | which can conflict with char $ac_func (); below. | ||
31141 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
31142 | <limits.h> exists even on freestanding compilers. */ | ||
31143 | |||
31144 | #ifdef __STDC__ | ||
31145 | # include <limits.h> | ||
31146 | #else | ||
31147 | # include <assert.h> | ||
31148 | #endif | ||
31149 | |||
31150 | #undef $ac_func | ||
31151 | |||
31152 | /* Override any GCC internal prototype to avoid an error. | ||
31153 | Use char because int might match the return type of a GCC | ||
31154 | builtin and then its argument prototype would still apply. */ | ||
31155 | #ifdef __cplusplus | ||
31156 | extern "C" | ||
31157 | #endif | ||
31158 | char $ac_func (); | ||
31159 | /* The GNU C library defines this for functions which it implements | ||
31160 | to always fail with ENOSYS. Some functions are actually named | ||
31161 | something starting with __ and the normal name is an alias. */ | ||
31162 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
31163 | choke me | ||
31164 | #endif | ||
31165 | |||
31166 | int | ||
31167 | main () | ||
31168 | { | ||
31169 | return $ac_func (); | ||
31170 | ; | ||
31171 | return 0; | ||
31172 | } | ||
31173 | _ACEOF | ||
31174 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
31175 | if { (ac_try="$ac_link" | ||
31176 | case "(($ac_try" in | ||
31177 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31178 | *) ac_try_echo=$ac_try;; | ||
31179 | esac | ||
31180 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31181 | (eval "$ac_link") 2>conftest.er1 | ||
31182 | ac_status=$? | ||
31183 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31184 | rm -f conftest.er1 | ||
31185 | cat conftest.err >&5 | ||
31186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31187 | (exit $ac_status); } && { | ||
31188 | test -z "$ac_c_werror_flag" || | ||
31189 | test ! -s conftest.err | ||
31190 | } && test -s conftest$ac_exeext && | ||
31191 | $as_test_x conftest$ac_exeext; then | ||
31192 | eval "$as_ac_var=yes" | ||
31193 | else | ||
31194 | echo "$as_me: failed program was:" >&5 | ||
31195 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31196 | |||
31197 | eval "$as_ac_var=no" | ||
31198 | fi | ||
31199 | |||
31200 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
31201 | conftest$ac_exeext conftest.$ac_ext | ||
31202 | fi | ||
31203 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
31204 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
31205 | echo "${ECHO_T}$ac_res" >&6; } | ||
31206 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16387 | cat >>confdefs.h <<_ACEOF | 31207 | cat >>confdefs.h <<_ACEOF |
16388 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 31208 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16389 | _ACEOF | 31209 | _ACEOF |
16390 | 31210 | ||
16391 | fi | 31211 | fi |
16392 | done | 31212 | done |
16393 | 31213 | ||
16394 | ac_fn_c_check_decl "$LINENO" "_getshort" "ac_cv_have_decl__getshort" "#include <sys/types.h> | 31214 | { echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 |
31215 | echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6; } | ||
31216 | if test "${ac_cv_have_decl__getshort+set}" = set; then | ||
31217 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
31218 | else | ||
31219 | cat >conftest.$ac_ext <<_ACEOF | ||
31220 | /* confdefs.h. */ | ||
31221 | _ACEOF | ||
31222 | cat confdefs.h >>conftest.$ac_ext | ||
31223 | cat >>conftest.$ac_ext <<_ACEOF | ||
31224 | /* end confdefs.h. */ | ||
31225 | #include <sys/types.h> | ||
16395 | #include <arpa/nameser.h> | 31226 | #include <arpa/nameser.h> |
16396 | " | 31227 | |
16397 | if test "x$ac_cv_have_decl__getshort" = xyes; then : | 31228 | int |
16398 | ac_have_decl=1 | 31229 | main () |
31230 | { | ||
31231 | #ifndef _getshort | ||
31232 | (void) _getshort; | ||
31233 | #endif | ||
31234 | |||
31235 | ; | ||
31236 | return 0; | ||
31237 | } | ||
31238 | _ACEOF | ||
31239 | rm -f conftest.$ac_objext | ||
31240 | if { (ac_try="$ac_compile" | ||
31241 | case "(($ac_try" in | ||
31242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31243 | *) ac_try_echo=$ac_try;; | ||
31244 | esac | ||
31245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31246 | (eval "$ac_compile") 2>conftest.er1 | ||
31247 | ac_status=$? | ||
31248 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31249 | rm -f conftest.er1 | ||
31250 | cat conftest.err >&5 | ||
31251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31252 | (exit $ac_status); } && { | ||
31253 | test -z "$ac_c_werror_flag" || | ||
31254 | test ! -s conftest.err | ||
31255 | } && test -s conftest.$ac_objext; then | ||
31256 | ac_cv_have_decl__getshort=yes | ||
16399 | else | 31257 | else |
16400 | ac_have_decl=0 | 31258 | echo "$as_me: failed program was:" >&5 |
31259 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31260 | |||
31261 | ac_cv_have_decl__getshort=no | ||
16401 | fi | 31262 | fi |
16402 | 31263 | ||
31264 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
31265 | fi | ||
31266 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 | ||
31267 | echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6; } | ||
31268 | if test $ac_cv_have_decl__getshort = yes; then | ||
31269 | |||
16403 | cat >>confdefs.h <<_ACEOF | 31270 | cat >>confdefs.h <<_ACEOF |
16404 | #define HAVE_DECL__GETSHORT $ac_have_decl | 31271 | #define HAVE_DECL__GETSHORT 1 |
16405 | _ACEOF | 31272 | _ACEOF |
16406 | ac_fn_c_check_decl "$LINENO" "_getlong" "ac_cv_have_decl__getlong" "#include <sys/types.h> | 31273 | |
31274 | |||
31275 | else | ||
31276 | cat >>confdefs.h <<_ACEOF | ||
31277 | #define HAVE_DECL__GETSHORT 0 | ||
31278 | _ACEOF | ||
31279 | |||
31280 | |||
31281 | fi | ||
31282 | { echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 | ||
31283 | echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6; } | ||
31284 | if test "${ac_cv_have_decl__getlong+set}" = set; then | ||
31285 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
31286 | else | ||
31287 | cat >conftest.$ac_ext <<_ACEOF | ||
31288 | /* confdefs.h. */ | ||
31289 | _ACEOF | ||
31290 | cat confdefs.h >>conftest.$ac_ext | ||
31291 | cat >>conftest.$ac_ext <<_ACEOF | ||
31292 | /* end confdefs.h. */ | ||
31293 | #include <sys/types.h> | ||
16407 | #include <arpa/nameser.h> | 31294 | #include <arpa/nameser.h> |
16408 | " | 31295 | |
16409 | if test "x$ac_cv_have_decl__getlong" = xyes; then : | 31296 | int |
16410 | ac_have_decl=1 | 31297 | main () |
31298 | { | ||
31299 | #ifndef _getlong | ||
31300 | (void) _getlong; | ||
31301 | #endif | ||
31302 | |||
31303 | ; | ||
31304 | return 0; | ||
31305 | } | ||
31306 | _ACEOF | ||
31307 | rm -f conftest.$ac_objext | ||
31308 | if { (ac_try="$ac_compile" | ||
31309 | case "(($ac_try" in | ||
31310 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31311 | *) ac_try_echo=$ac_try;; | ||
31312 | esac | ||
31313 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31314 | (eval "$ac_compile") 2>conftest.er1 | ||
31315 | ac_status=$? | ||
31316 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31317 | rm -f conftest.er1 | ||
31318 | cat conftest.err >&5 | ||
31319 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31320 | (exit $ac_status); } && { | ||
31321 | test -z "$ac_c_werror_flag" || | ||
31322 | test ! -s conftest.err | ||
31323 | } && test -s conftest.$ac_objext; then | ||
31324 | ac_cv_have_decl__getlong=yes | ||
16411 | else | 31325 | else |
16412 | ac_have_decl=0 | 31326 | echo "$as_me: failed program was:" >&5 |
31327 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31328 | |||
31329 | ac_cv_have_decl__getlong=no | ||
31330 | fi | ||
31331 | |||
31332 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16413 | fi | 31333 | fi |
31334 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 | ||
31335 | echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6; } | ||
31336 | if test $ac_cv_have_decl__getlong = yes; then | ||
16414 | 31337 | ||
16415 | cat >>confdefs.h <<_ACEOF | 31338 | cat >>confdefs.h <<_ACEOF |
16416 | #define HAVE_DECL__GETLONG $ac_have_decl | 31339 | #define HAVE_DECL__GETLONG 1 |
16417 | _ACEOF | 31340 | _ACEOF |
16418 | 31341 | ||
16419 | ac_fn_c_check_member "$LINENO" "HEADER" "ad" "ac_cv_member_HEADER_ad" "#include <arpa/nameser.h> | ||
16420 | " | ||
16421 | if test "x$ac_cv_member_HEADER_ad" = xyes; then : | ||
16422 | 31342 | ||
16423 | $as_echo "#define HAVE_HEADER_AD 1" >>confdefs.h | 31343 | else |
31344 | cat >>confdefs.h <<_ACEOF | ||
31345 | #define HAVE_DECL__GETLONG 0 | ||
31346 | _ACEOF | ||
31347 | |||
31348 | |||
31349 | fi | ||
31350 | |||
31351 | |||
31352 | { echo "$as_me:$LINENO: checking for HEADER.ad" >&5 | ||
31353 | echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6; } | ||
31354 | if test "${ac_cv_member_HEADER_ad+set}" = set; then | ||
31355 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
31356 | else | ||
31357 | cat >conftest.$ac_ext <<_ACEOF | ||
31358 | /* confdefs.h. */ | ||
31359 | _ACEOF | ||
31360 | cat confdefs.h >>conftest.$ac_ext | ||
31361 | cat >>conftest.$ac_ext <<_ACEOF | ||
31362 | /* end confdefs.h. */ | ||
31363 | #include <arpa/nameser.h> | ||
31364 | |||
31365 | int | ||
31366 | main () | ||
31367 | { | ||
31368 | static HEADER ac_aggr; | ||
31369 | if (ac_aggr.ad) | ||
31370 | return 0; | ||
31371 | ; | ||
31372 | return 0; | ||
31373 | } | ||
31374 | _ACEOF | ||
31375 | rm -f conftest.$ac_objext | ||
31376 | if { (ac_try="$ac_compile" | ||
31377 | case "(($ac_try" in | ||
31378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31379 | *) ac_try_echo=$ac_try;; | ||
31380 | esac | ||
31381 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31382 | (eval "$ac_compile") 2>conftest.er1 | ||
31383 | ac_status=$? | ||
31384 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31385 | rm -f conftest.er1 | ||
31386 | cat conftest.err >&5 | ||
31387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31388 | (exit $ac_status); } && { | ||
31389 | test -z "$ac_c_werror_flag" || | ||
31390 | test ! -s conftest.err | ||
31391 | } && test -s conftest.$ac_objext; then | ||
31392 | ac_cv_member_HEADER_ad=yes | ||
31393 | else | ||
31394 | echo "$as_me: failed program was:" >&5 | ||
31395 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31396 | |||
31397 | cat >conftest.$ac_ext <<_ACEOF | ||
31398 | /* confdefs.h. */ | ||
31399 | _ACEOF | ||
31400 | cat confdefs.h >>conftest.$ac_ext | ||
31401 | cat >>conftest.$ac_ext <<_ACEOF | ||
31402 | /* end confdefs.h. */ | ||
31403 | #include <arpa/nameser.h> | ||
16424 | 31404 | ||
31405 | int | ||
31406 | main () | ||
31407 | { | ||
31408 | static HEADER ac_aggr; | ||
31409 | if (sizeof ac_aggr.ad) | ||
31410 | return 0; | ||
31411 | ; | ||
31412 | return 0; | ||
31413 | } | ||
31414 | _ACEOF | ||
31415 | rm -f conftest.$ac_objext | ||
31416 | if { (ac_try="$ac_compile" | ||
31417 | case "(($ac_try" in | ||
31418 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31419 | *) ac_try_echo=$ac_try;; | ||
31420 | esac | ||
31421 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31422 | (eval "$ac_compile") 2>conftest.er1 | ||
31423 | ac_status=$? | ||
31424 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31425 | rm -f conftest.er1 | ||
31426 | cat conftest.err >&5 | ||
31427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31428 | (exit $ac_status); } && { | ||
31429 | test -z "$ac_c_werror_flag" || | ||
31430 | test ! -s conftest.err | ||
31431 | } && test -s conftest.$ac_objext; then | ||
31432 | ac_cv_member_HEADER_ad=yes | ||
31433 | else | ||
31434 | echo "$as_me: failed program was:" >&5 | ||
31435 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31436 | |||
31437 | ac_cv_member_HEADER_ad=no | ||
16425 | fi | 31438 | fi |
16426 | 31439 | ||
31440 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
31441 | fi | ||
16427 | 31442 | ||
31443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
16428 | fi | 31444 | fi |
31445 | { echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 | ||
31446 | echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6; } | ||
31447 | if test $ac_cv_member_HEADER_ad = yes; then | ||
16429 | 31448 | ||
31449 | cat >>confdefs.h <<\_ACEOF | ||
31450 | #define HAVE_HEADER_AD 1 | ||
31451 | _ACEOF | ||
31452 | |||
31453 | fi | ||
16430 | 31454 | ||
16431 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if struct __res_state _res is an extern" >&5 | 31455 | |
16432 | $as_echo_n "checking if struct __res_state _res is an extern... " >&6; } | 31456 | fi |
16433 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 31457 | |
31458 | |||
31459 | { echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5 | ||
31460 | echo $ECHO_N "checking if struct __res_state _res is an extern... $ECHO_C" >&6; } | ||
31461 | cat >conftest.$ac_ext <<_ACEOF | ||
31462 | /* confdefs.h. */ | ||
31463 | _ACEOF | ||
31464 | cat confdefs.h >>conftest.$ac_ext | ||
31465 | cat >>conftest.$ac_ext <<_ACEOF | ||
16434 | /* end confdefs.h. */ | 31466 | /* end confdefs.h. */ |
16435 | 31467 | ||
16436 | #include <stdio.h> | 31468 | #include <stdio.h> |
@@ -16450,49 +31482,209 @@ main () | |||
16450 | return 0; | 31482 | return 0; |
16451 | } | 31483 | } |
16452 | _ACEOF | 31484 | _ACEOF |
16453 | if ac_fn_c_try_link "$LINENO"; then : | 31485 | rm -f conftest.$ac_objext conftest$ac_exeext |
16454 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 31486 | if { (ac_try="$ac_link" |
16455 | $as_echo "yes" >&6; } | 31487 | case "(($ac_try" in |
31488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31489 | *) ac_try_echo=$ac_try;; | ||
31490 | esac | ||
31491 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31492 | (eval "$ac_link") 2>conftest.er1 | ||
31493 | ac_status=$? | ||
31494 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31495 | rm -f conftest.er1 | ||
31496 | cat conftest.err >&5 | ||
31497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31498 | (exit $ac_status); } && { | ||
31499 | test -z "$ac_c_werror_flag" || | ||
31500 | test ! -s conftest.err | ||
31501 | } && test -s conftest$ac_exeext && | ||
31502 | $as_test_x conftest$ac_exeext; then | ||
31503 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31504 | echo "${ECHO_T}yes" >&6; } | ||
16456 | 31505 | ||
16457 | $as_echo "#define HAVE__RES_EXTERN 1" >>confdefs.h | 31506 | cat >>confdefs.h <<\_ACEOF |
31507 | #define HAVE__RES_EXTERN 1 | ||
31508 | _ACEOF | ||
16458 | 31509 | ||
16459 | 31510 | ||
16460 | else | 31511 | else |
16461 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 31512 | echo "$as_me: failed program was:" >&5 |
16462 | $as_echo "no" >&6; } | 31513 | sed 's/^/| /' conftest.$ac_ext >&5 |
31514 | |||
31515 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31516 | echo "${ECHO_T}no" >&6; } | ||
16463 | 31517 | ||
16464 | fi | 31518 | fi |
16465 | rm -f core conftest.err conftest.$ac_objext \ | 31519 | |
16466 | conftest$ac_exeext conftest.$ac_ext | 31520 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
31521 | conftest$ac_exeext conftest.$ac_ext | ||
16467 | 31522 | ||
16468 | # Check whether user wants SELinux support | 31523 | # Check whether user wants SELinux support |
16469 | SELINUX_MSG="no" | 31524 | SELINUX_MSG="no" |
16470 | LIBSELINUX="" | 31525 | LIBSELINUX="" |
16471 | 31526 | ||
16472 | # Check whether --with-selinux was given. | 31527 | # Check whether --with-selinux was given. |
16473 | if test "${with_selinux+set}" = set; then : | 31528 | if test "${with_selinux+set}" = set; then |
16474 | withval=$with_selinux; if test "x$withval" != "xno" ; then | 31529 | withval=$with_selinux; if test "x$withval" != "xno" ; then |
16475 | save_LIBS="$LIBS" | 31530 | save_LIBS="$LIBS" |
16476 | 31531 | ||
16477 | $as_echo "#define WITH_SELINUX 1" >>confdefs.h | 31532 | cat >>confdefs.h <<\_ACEOF |
31533 | #define WITH_SELINUX 1 | ||
31534 | _ACEOF | ||
16478 | 31535 | ||
16479 | SELINUX_MSG="yes" | 31536 | SELINUX_MSG="yes" |
16480 | ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default" | 31537 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then |
16481 | if test "x$ac_cv_header_selinux_selinux_h" = xyes; then : | 31538 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 |
31539 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | ||
31540 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
31541 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
31542 | fi | ||
31543 | { echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 | ||
31544 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | ||
31545 | else | ||
31546 | # Is the header compilable? | ||
31547 | { echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 | ||
31548 | echo $ECHO_N "checking selinux/selinux.h usability... $ECHO_C" >&6; } | ||
31549 | cat >conftest.$ac_ext <<_ACEOF | ||
31550 | /* confdefs.h. */ | ||
31551 | _ACEOF | ||
31552 | cat confdefs.h >>conftest.$ac_ext | ||
31553 | cat >>conftest.$ac_ext <<_ACEOF | ||
31554 | /* end confdefs.h. */ | ||
31555 | $ac_includes_default | ||
31556 | #include <selinux/selinux.h> | ||
31557 | _ACEOF | ||
31558 | rm -f conftest.$ac_objext | ||
31559 | if { (ac_try="$ac_compile" | ||
31560 | case "(($ac_try" in | ||
31561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31562 | *) ac_try_echo=$ac_try;; | ||
31563 | esac | ||
31564 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31565 | (eval "$ac_compile") 2>conftest.er1 | ||
31566 | ac_status=$? | ||
31567 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31568 | rm -f conftest.er1 | ||
31569 | cat conftest.err >&5 | ||
31570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31571 | (exit $ac_status); } && { | ||
31572 | test -z "$ac_c_werror_flag" || | ||
31573 | test ! -s conftest.err | ||
31574 | } && test -s conftest.$ac_objext; then | ||
31575 | ac_header_compiler=yes | ||
31576 | else | ||
31577 | echo "$as_me: failed program was:" >&5 | ||
31578 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31579 | |||
31580 | ac_header_compiler=no | ||
31581 | fi | ||
31582 | |||
31583 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
31584 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
31585 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
31586 | |||
31587 | # Is the header present? | ||
31588 | { echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 | ||
31589 | echo $ECHO_N "checking selinux/selinux.h presence... $ECHO_C" >&6; } | ||
31590 | cat >conftest.$ac_ext <<_ACEOF | ||
31591 | /* confdefs.h. */ | ||
31592 | _ACEOF | ||
31593 | cat confdefs.h >>conftest.$ac_ext | ||
31594 | cat >>conftest.$ac_ext <<_ACEOF | ||
31595 | /* end confdefs.h. */ | ||
31596 | #include <selinux/selinux.h> | ||
31597 | _ACEOF | ||
31598 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
31599 | case "(($ac_try" in | ||
31600 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31601 | *) ac_try_echo=$ac_try;; | ||
31602 | esac | ||
31603 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31604 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
31605 | ac_status=$? | ||
31606 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31607 | rm -f conftest.er1 | ||
31608 | cat conftest.err >&5 | ||
31609 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31610 | (exit $ac_status); } >/dev/null && { | ||
31611 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
31612 | test ! -s conftest.err | ||
31613 | }; then | ||
31614 | ac_header_preproc=yes | ||
31615 | else | ||
31616 | echo "$as_me: failed program was:" >&5 | ||
31617 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
16482 | 31618 | ||
31619 | ac_header_preproc=no | ||
31620 | fi | ||
31621 | |||
31622 | rm -f conftest.err conftest.$ac_ext | ||
31623 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
31624 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
31625 | |||
31626 | # So? What about this header? | ||
31627 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
31628 | yes:no: ) | ||
31629 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
31630 | echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
31631 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 | ||
31632 | echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} | ||
31633 | ac_header_preproc=yes | ||
31634 | ;; | ||
31635 | no:yes:* ) | ||
31636 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 | ||
31637 | echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} | ||
31638 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 | ||
31639 | echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} | ||
31640 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 | ||
31641 | echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} | ||
31642 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
31643 | echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
31644 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 | ||
31645 | echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} | ||
31646 | { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 | ||
31647 | echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} | ||
31648 | ( cat <<\_ASBOX | ||
31649 | ## ------------------------------------------- ## | ||
31650 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
31651 | ## ------------------------------------------- ## | ||
31652 | _ASBOX | ||
31653 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
31654 | ;; | ||
31655 | esac | ||
31656 | { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 | ||
31657 | echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } | ||
31658 | if test "${ac_cv_header_selinux_selinux_h+set}" = set; then | ||
31659 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16483 | else | 31660 | else |
16484 | as_fn_error $? "SELinux support requires selinux.h header" "$LINENO" 5 | 31661 | ac_cv_header_selinux_selinux_h=$ac_header_preproc |
16485 | fi | 31662 | fi |
31663 | { echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 | ||
31664 | echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } | ||
16486 | 31665 | ||
31666 | fi | ||
31667 | if test $ac_cv_header_selinux_selinux_h = yes; then | ||
31668 | : | ||
31669 | else | ||
31670 | { { echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5 | ||
31671 | echo "$as_me: error: SELinux support requires selinux.h header" >&2;} | ||
31672 | { (exit 1); exit 1; }; } | ||
31673 | fi | ||
16487 | 31674 | ||
16488 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setexeccon in -lselinux" >&5 | 31675 | |
16489 | $as_echo_n "checking for setexeccon in -lselinux... " >&6; } | 31676 | { echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5 |
16490 | if ${ac_cv_lib_selinux_setexeccon+:} false; then : | 31677 | echo $ECHO_N "checking for setexeccon in -lselinux... $ECHO_C" >&6; } |
16491 | $as_echo_n "(cached) " >&6 | 31678 | if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then |
31679 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
16492 | else | 31680 | else |
16493 | ac_check_lib_save_LIBS=$LIBS | 31681 | ac_check_lib_save_LIBS=$LIBS |
16494 | LIBS="-lselinux $LIBS" | 31682 | LIBS="-lselinux $LIBS" |
16495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 31683 | cat >conftest.$ac_ext <<_ACEOF |
31684 | /* confdefs.h. */ | ||
31685 | _ACEOF | ||
31686 | cat confdefs.h >>conftest.$ac_ext | ||
31687 | cat >>conftest.$ac_ext <<_ACEOF | ||
16496 | /* end confdefs.h. */ | 31688 | /* end confdefs.h. */ |
16497 | 31689 | ||
16498 | /* Override any GCC internal prototype to avoid an error. | 31690 | /* Override any GCC internal prototype to avoid an error. |
@@ -16510,34 +31702,140 @@ return setexeccon (); | |||
16510 | return 0; | 31702 | return 0; |
16511 | } | 31703 | } |
16512 | _ACEOF | 31704 | _ACEOF |
16513 | if ac_fn_c_try_link "$LINENO"; then : | 31705 | rm -f conftest.$ac_objext conftest$ac_exeext |
31706 | if { (ac_try="$ac_link" | ||
31707 | case "(($ac_try" in | ||
31708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31709 | *) ac_try_echo=$ac_try;; | ||
31710 | esac | ||
31711 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31712 | (eval "$ac_link") 2>conftest.er1 | ||
31713 | ac_status=$? | ||
31714 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31715 | rm -f conftest.er1 | ||
31716 | cat conftest.err >&5 | ||
31717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31718 | (exit $ac_status); } && { | ||
31719 | test -z "$ac_c_werror_flag" || | ||
31720 | test ! -s conftest.err | ||
31721 | } && test -s conftest$ac_exeext && | ||
31722 | $as_test_x conftest$ac_exeext; then | ||
16514 | ac_cv_lib_selinux_setexeccon=yes | 31723 | ac_cv_lib_selinux_setexeccon=yes |
16515 | else | 31724 | else |
16516 | ac_cv_lib_selinux_setexeccon=no | 31725 | echo "$as_me: failed program was:" >&5 |
31726 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31727 | |||
31728 | ac_cv_lib_selinux_setexeccon=no | ||
16517 | fi | 31729 | fi |
16518 | rm -f core conftest.err conftest.$ac_objext \ | 31730 | |
16519 | conftest$ac_exeext conftest.$ac_ext | 31731 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
31732 | conftest$ac_exeext conftest.$ac_ext | ||
16520 | LIBS=$ac_check_lib_save_LIBS | 31733 | LIBS=$ac_check_lib_save_LIBS |
16521 | fi | 31734 | fi |
16522 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setexeccon" >&5 | 31735 | { echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5 |
16523 | $as_echo "$ac_cv_lib_selinux_setexeccon" >&6; } | 31736 | echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } |
16524 | if test "x$ac_cv_lib_selinux_setexeccon" = xyes; then : | 31737 | if test $ac_cv_lib_selinux_setexeccon = yes; then |
16525 | LIBSELINUX="-lselinux" | 31738 | LIBSELINUX="-lselinux" |
16526 | LIBS="$LIBS -lselinux" | 31739 | LIBS="$LIBS -lselinux" |
16527 | 31740 | ||
16528 | else | 31741 | else |
16529 | as_fn_error $? "SELinux support requires libselinux library" "$LINENO" 5 | 31742 | { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 |
31743 | echo "$as_me: error: SELinux support requires libselinux library" >&2;} | ||
31744 | { (exit 1); exit 1; }; } | ||
16530 | fi | 31745 | fi |
16531 | 31746 | ||
16532 | SSHLIBS="$SSHLIBS $LIBSELINUX" | 31747 | SSHLIBS="$SSHLIBS $LIBSELINUX" |
16533 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" | 31748 | SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
16534 | for ac_func in getseuserbyname get_default_context_with_level | 31749 | |
16535 | do : | 31750 | |
16536 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 31751 | for ac_func in getseuserbyname get_default_context_with_level |
16537 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 31752 | do |
16538 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 31753 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
31754 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
31755 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
31756 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
31757 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
31758 | else | ||
31759 | cat >conftest.$ac_ext <<_ACEOF | ||
31760 | /* confdefs.h. */ | ||
31761 | _ACEOF | ||
31762 | cat confdefs.h >>conftest.$ac_ext | ||
31763 | cat >>conftest.$ac_ext <<_ACEOF | ||
31764 | /* end confdefs.h. */ | ||
31765 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
31766 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
31767 | #define $ac_func innocuous_$ac_func | ||
31768 | |||
31769 | /* System header to define __stub macros and hopefully few prototypes, | ||
31770 | which can conflict with char $ac_func (); below. | ||
31771 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
31772 | <limits.h> exists even on freestanding compilers. */ | ||
31773 | |||
31774 | #ifdef __STDC__ | ||
31775 | # include <limits.h> | ||
31776 | #else | ||
31777 | # include <assert.h> | ||
31778 | #endif | ||
31779 | |||
31780 | #undef $ac_func | ||
31781 | |||
31782 | /* Override any GCC internal prototype to avoid an error. | ||
31783 | Use char because int might match the return type of a GCC | ||
31784 | builtin and then its argument prototype would still apply. */ | ||
31785 | #ifdef __cplusplus | ||
31786 | extern "C" | ||
31787 | #endif | ||
31788 | char $ac_func (); | ||
31789 | /* The GNU C library defines this for functions which it implements | ||
31790 | to always fail with ENOSYS. Some functions are actually named | ||
31791 | something starting with __ and the normal name is an alias. */ | ||
31792 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
31793 | choke me | ||
31794 | #endif | ||
31795 | |||
31796 | int | ||
31797 | main () | ||
31798 | { | ||
31799 | return $ac_func (); | ||
31800 | ; | ||
31801 | return 0; | ||
31802 | } | ||
31803 | _ACEOF | ||
31804 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
31805 | if { (ac_try="$ac_link" | ||
31806 | case "(($ac_try" in | ||
31807 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31808 | *) ac_try_echo=$ac_try;; | ||
31809 | esac | ||
31810 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31811 | (eval "$ac_link") 2>conftest.er1 | ||
31812 | ac_status=$? | ||
31813 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31814 | rm -f conftest.er1 | ||
31815 | cat conftest.err >&5 | ||
31816 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31817 | (exit $ac_status); } && { | ||
31818 | test -z "$ac_c_werror_flag" || | ||
31819 | test ! -s conftest.err | ||
31820 | } && test -s conftest$ac_exeext && | ||
31821 | $as_test_x conftest$ac_exeext; then | ||
31822 | eval "$as_ac_var=yes" | ||
31823 | else | ||
31824 | echo "$as_me: failed program was:" >&5 | ||
31825 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
31826 | |||
31827 | eval "$as_ac_var=no" | ||
31828 | fi | ||
31829 | |||
31830 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
31831 | conftest$ac_exeext conftest.$ac_ext | ||
31832 | fi | ||
31833 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
31834 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
31835 | echo "${ECHO_T}$ac_res" >&6; } | ||
31836 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
16539 | cat >>confdefs.h <<_ACEOF | 31837 | cat >>confdefs.h <<_ACEOF |
16540 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 31838 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16541 | _ACEOF | 31839 | _ACEOF |
16542 | 31840 | ||
16543 | fi | 31841 | fi |
@@ -16555,7 +31853,7 @@ fi | |||
16555 | KRB5_MSG="no" | 31853 | KRB5_MSG="no" |
16556 | 31854 | ||
16557 | # Check whether --with-kerberos5 was given. | 31855 | # Check whether --with-kerberos5 was given. |
16558 | if test "${with_kerberos5+set}" = set; then : | 31856 | if test "${with_kerberos5+set}" = set; then |
16559 | withval=$with_kerberos5; if test "x$withval" != "xno" ; then | 31857 | withval=$with_kerberos5; if test "x$withval" != "xno" ; then |
16560 | if test "x$withval" = "xyes" ; then | 31858 | if test "x$withval" = "xyes" ; then |
16561 | KRB5ROOT="/usr/local" | 31859 | KRB5ROOT="/usr/local" |
@@ -16564,16 +31862,18 @@ if test "${with_kerberos5+set}" = set; then : | |||
16564 | fi | 31862 | fi |
16565 | 31863 | ||
16566 | 31864 | ||
16567 | $as_echo "#define KRB5 1" >>confdefs.h | 31865 | cat >>confdefs.h <<\_ACEOF |
31866 | #define KRB5 1 | ||
31867 | _ACEOF | ||
16568 | 31868 | ||
16569 | KRB5_MSG="yes" | 31869 | KRB5_MSG="yes" |
16570 | 31870 | ||
16571 | # Extract the first word of "krb5-config", so it can be a program name with args. | 31871 | # Extract the first word of "krb5-config", so it can be a program name with args. |
16572 | set dummy krb5-config; ac_word=$2 | 31872 | set dummy krb5-config; ac_word=$2 |
16573 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 31873 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
16574 | $as_echo_n "checking for $ac_word... " >&6; } | 31874 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
16575 | if ${ac_cv_path_KRB5CONF+:} false; then : | 31875 | if test "${ac_cv_path_KRB5CONF+set}" = set; then |
16576 | $as_echo_n "(cached) " >&6 | 31876 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16577 | else | 31877 | else |
16578 | case $KRB5CONF in | 31878 | case $KRB5CONF in |
16579 | [\\/]* | ?:[\\/]*) | 31879 | [\\/]* | ?:[\\/]*) |
@@ -16586,14 +31886,14 @@ for as_dir in $as_dummy | |||
16586 | do | 31886 | do |
16587 | IFS=$as_save_IFS | 31887 | IFS=$as_save_IFS |
16588 | test -z "$as_dir" && as_dir=. | 31888 | test -z "$as_dir" && as_dir=. |
16589 | for ac_exec_ext in '' $ac_executable_extensions; do | 31889 | for ac_exec_ext in '' $ac_executable_extensions; do |
16590 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 31890 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
16591 | ac_cv_path_KRB5CONF="$as_dir/$ac_word$ac_exec_ext" | 31891 | ac_cv_path_KRB5CONF="$as_dir/$ac_word$ac_exec_ext" |
16592 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 31892 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
16593 | break 2 | 31893 | break 2 |
16594 | fi | 31894 | fi |
16595 | done | 31895 | done |
16596 | done | 31896 | done |
16597 | IFS=$as_save_IFS | 31897 | IFS=$as_save_IFS |
16598 | 31898 | ||
16599 | test -z "$ac_cv_path_KRB5CONF" && ac_cv_path_KRB5CONF="$KRB5ROOT/bin/krb5-config" | 31899 | test -z "$ac_cv_path_KRB5CONF" && ac_cv_path_KRB5CONF="$KRB5ROOT/bin/krb5-config" |
@@ -16602,11 +31902,11 @@ esac | |||
16602 | fi | 31902 | fi |
16603 | KRB5CONF=$ac_cv_path_KRB5CONF | 31903 | KRB5CONF=$ac_cv_path_KRB5CONF |
16604 | if test -n "$KRB5CONF"; then | 31904 | if test -n "$KRB5CONF"; then |
16605 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5CONF" >&5 | 31905 | { echo "$as_me:$LINENO: result: $KRB5CONF" >&5 |
16606 | $as_echo "$KRB5CONF" >&6; } | 31906 | echo "${ECHO_T}$KRB5CONF" >&6; } |
16607 | else | 31907 | else |
16608 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 31908 | { echo "$as_me:$LINENO: result: no" >&5 |
16609 | $as_echo "no" >&6; } | 31909 | echo "${ECHO_T}no" >&6; } |
16610 | fi | 31910 | fi |
16611 | 31911 | ||
16612 | 31912 | ||
@@ -16615,24 +31915,30 @@ fi | |||
16615 | K5LIBS="`$KRB5CONF --libs`" | 31915 | K5LIBS="`$KRB5CONF --libs`" |
16616 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" | 31916 | CPPFLAGS="$CPPFLAGS $K5CFLAGS" |
16617 | 31917 | ||
16618 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gssapi support" >&5 | 31918 | { echo "$as_me:$LINENO: checking for gssapi support" >&5 |
16619 | $as_echo_n "checking for gssapi support... " >&6; } | 31919 | echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6; } |
16620 | if $KRB5CONF | grep gssapi >/dev/null ; then | 31920 | if $KRB5CONF | grep gssapi >/dev/null ; then |
16621 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 31921 | { echo "$as_me:$LINENO: result: yes" >&5 |
16622 | $as_echo "yes" >&6; } | 31922 | echo "${ECHO_T}yes" >&6; } |
16623 | 31923 | ||
16624 | $as_echo "#define GSSAPI 1" >>confdefs.h | 31924 | cat >>confdefs.h <<\_ACEOF |
31925 | #define GSSAPI 1 | ||
31926 | _ACEOF | ||
16625 | 31927 | ||
16626 | GSSCFLAGS="`$KRB5CONF --cflags gssapi`" | 31928 | GSSCFLAGS="`$KRB5CONF --cflags gssapi`" |
16627 | GSSLIBS="`$KRB5CONF --libs gssapi`" | 31929 | GSSLIBS="`$KRB5CONF --libs gssapi`" |
16628 | CPPFLAGS="$CPPFLAGS $GSSCFLAGS" | 31930 | CPPFLAGS="$CPPFLAGS $GSSCFLAGS" |
16629 | else | 31931 | else |
16630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 31932 | { echo "$as_me:$LINENO: result: no" >&5 |
16631 | $as_echo "no" >&6; } | 31933 | echo "${ECHO_T}no" >&6; } |
16632 | fi | 31934 | fi |
16633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Heimdal" >&5 | 31935 | { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
16634 | $as_echo_n "checking whether we are using Heimdal... " >&6; } | 31936 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } |
16635 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 31937 | cat >conftest.$ac_ext <<_ACEOF |
31938 | /* confdefs.h. */ | ||
31939 | _ACEOF | ||
31940 | cat confdefs.h >>conftest.$ac_ext | ||
31941 | cat >>conftest.$ac_ext <<_ACEOF | ||
16636 | /* end confdefs.h. */ | 31942 | /* end confdefs.h. */ |
16637 | #include <krb5.h> | 31943 | #include <krb5.h> |
16638 | 31944 | ||
@@ -16644,24 +31950,50 @@ main () | |||
16644 | return 0; | 31950 | return 0; |
16645 | } | 31951 | } |
16646 | _ACEOF | 31952 | _ACEOF |
16647 | if ac_fn_c_try_compile "$LINENO"; then : | 31953 | rm -f conftest.$ac_objext |
16648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 31954 | if { (ac_try="$ac_compile" |
16649 | $as_echo "yes" >&6; } | 31955 | case "(($ac_try" in |
31956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
31957 | *) ac_try_echo=$ac_try;; | ||
31958 | esac | ||
31959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
31960 | (eval "$ac_compile") 2>conftest.er1 | ||
31961 | ac_status=$? | ||
31962 | grep -v '^ *+' conftest.er1 >conftest.err | ||
31963 | rm -f conftest.er1 | ||
31964 | cat conftest.err >&5 | ||
31965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
31966 | (exit $ac_status); } && { | ||
31967 | test -z "$ac_c_werror_flag" || | ||
31968 | test ! -s conftest.err | ||
31969 | } && test -s conftest.$ac_objext; then | ||
31970 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
31971 | echo "${ECHO_T}yes" >&6; } | ||
16650 | 31972 | ||
16651 | $as_echo "#define HEIMDAL 1" >>confdefs.h | 31973 | cat >>confdefs.h <<\_ACEOF |
31974 | #define HEIMDAL 1 | ||
31975 | _ACEOF | ||
16652 | 31976 | ||
16653 | else | 31977 | else |
16654 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 31978 | echo "$as_me: failed program was:" >&5 |
16655 | $as_echo "no" >&6; } | 31979 | sed 's/^/| /' conftest.$ac_ext >&5 |
31980 | |||
31981 | { echo "$as_me:$LINENO: result: no" >&5 | ||
31982 | echo "${ECHO_T}no" >&6; } | ||
16656 | 31983 | ||
16657 | fi | 31984 | fi |
31985 | |||
16658 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 31986 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16659 | else | 31987 | else |
16660 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" | 31988 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" |
16661 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" | 31989 | LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" |
16662 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Heimdal" >&5 | 31990 | { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 |
16663 | $as_echo_n "checking whether we are using Heimdal... " >&6; } | 31991 | echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } |
16664 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 31992 | cat >conftest.$ac_ext <<_ACEOF |
31993 | /* confdefs.h. */ | ||
31994 | _ACEOF | ||
31995 | cat confdefs.h >>conftest.$ac_ext | ||
31996 | cat >>conftest.$ac_ext <<_ACEOF | ||
16665 | /* end confdefs.h. */ | 31997 | /* end confdefs.h. */ |
16666 | #include <krb5.h> | 31998 | #include <krb5.h> |
16667 | 31999 | ||
@@ -16673,21 +32005,43 @@ main () | |||
16673 | return 0; | 32005 | return 0; |
16674 | } | 32006 | } |
16675 | _ACEOF | 32007 | _ACEOF |
16676 | if ac_fn_c_try_compile "$LINENO"; then : | 32008 | rm -f conftest.$ac_objext |
16677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 32009 | if { (ac_try="$ac_compile" |
16678 | $as_echo "yes" >&6; } | 32010 | case "(($ac_try" in |
16679 | $as_echo "#define HEIMDAL 1" >>confdefs.h | 32011 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
32012 | *) ac_try_echo=$ac_try;; | ||
32013 | esac | ||
32014 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32015 | (eval "$ac_compile") 2>conftest.er1 | ||
32016 | ac_status=$? | ||
32017 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32018 | rm -f conftest.er1 | ||
32019 | cat conftest.err >&5 | ||
32020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32021 | (exit $ac_status); } && { | ||
32022 | test -z "$ac_c_werror_flag" || | ||
32023 | test ! -s conftest.err | ||
32024 | } && test -s conftest.$ac_objext; then | ||
32025 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
32026 | echo "${ECHO_T}yes" >&6; } | ||
32027 | cat >>confdefs.h <<\_ACEOF | ||
32028 | #define HEIMDAL 1 | ||
32029 | _ACEOF | ||
16680 | 32030 | ||
16681 | K5LIBS="-lkrb5" | 32031 | K5LIBS="-lkrb5" |
16682 | K5LIBS="$K5LIBS -lcom_err -lasn1" | 32032 | K5LIBS="$K5LIBS -lcom_err -lasn1" |
16683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for net_write in -lroken" >&5 | 32033 | { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 |
16684 | $as_echo_n "checking for net_write in -lroken... " >&6; } | 32034 | echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } |
16685 | if ${ac_cv_lib_roken_net_write+:} false; then : | 32035 | if test "${ac_cv_lib_roken_net_write+set}" = set; then |
16686 | $as_echo_n "(cached) " >&6 | 32036 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16687 | else | 32037 | else |
16688 | ac_check_lib_save_LIBS=$LIBS | 32038 | ac_check_lib_save_LIBS=$LIBS |
16689 | LIBS="-lroken $LIBS" | 32039 | LIBS="-lroken $LIBS" |
16690 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 32040 | cat >conftest.$ac_ext <<_ACEOF |
32041 | /* confdefs.h. */ | ||
32042 | _ACEOF | ||
32043 | cat confdefs.h >>conftest.$ac_ext | ||
32044 | cat >>conftest.$ac_ext <<_ACEOF | ||
16691 | /* end confdefs.h. */ | 32045 | /* end confdefs.h. */ |
16692 | 32046 | ||
16693 | /* Override any GCC internal prototype to avoid an error. | 32047 | /* Override any GCC internal prototype to avoid an error. |
@@ -16705,29 +32059,54 @@ return net_write (); | |||
16705 | return 0; | 32059 | return 0; |
16706 | } | 32060 | } |
16707 | _ACEOF | 32061 | _ACEOF |
16708 | if ac_fn_c_try_link "$LINENO"; then : | 32062 | rm -f conftest.$ac_objext conftest$ac_exeext |
32063 | if { (ac_try="$ac_link" | ||
32064 | case "(($ac_try" in | ||
32065 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32066 | *) ac_try_echo=$ac_try;; | ||
32067 | esac | ||
32068 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32069 | (eval "$ac_link") 2>conftest.er1 | ||
32070 | ac_status=$? | ||
32071 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32072 | rm -f conftest.er1 | ||
32073 | cat conftest.err >&5 | ||
32074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32075 | (exit $ac_status); } && { | ||
32076 | test -z "$ac_c_werror_flag" || | ||
32077 | test ! -s conftest.err | ||
32078 | } && test -s conftest$ac_exeext && | ||
32079 | $as_test_x conftest$ac_exeext; then | ||
16709 | ac_cv_lib_roken_net_write=yes | 32080 | ac_cv_lib_roken_net_write=yes |
16710 | else | 32081 | else |
16711 | ac_cv_lib_roken_net_write=no | 32082 | echo "$as_me: failed program was:" >&5 |
32083 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32084 | |||
32085 | ac_cv_lib_roken_net_write=no | ||
16712 | fi | 32086 | fi |
16713 | rm -f core conftest.err conftest.$ac_objext \ | 32087 | |
16714 | conftest$ac_exeext conftest.$ac_ext | 32088 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
32089 | conftest$ac_exeext conftest.$ac_ext | ||
16715 | LIBS=$ac_check_lib_save_LIBS | 32090 | LIBS=$ac_check_lib_save_LIBS |
16716 | fi | 32091 | fi |
16717 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_roken_net_write" >&5 | 32092 | { echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5 |
16718 | $as_echo "$ac_cv_lib_roken_net_write" >&6; } | 32093 | echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6; } |
16719 | if test "x$ac_cv_lib_roken_net_write" = xyes; then : | 32094 | if test $ac_cv_lib_roken_net_write = yes; then |
16720 | K5LIBS="$K5LIBS -lroken" | 32095 | K5LIBS="$K5LIBS -lroken" |
16721 | fi | 32096 | fi |
16722 | 32097 | ||
16723 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for des_cbc_encrypt in -ldes" >&5 | 32098 | { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
16724 | $as_echo_n "checking for des_cbc_encrypt in -ldes... " >&6; } | 32099 | echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } |
16725 | if ${ac_cv_lib_des_des_cbc_encrypt+:} false; then : | 32100 | if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
16726 | $as_echo_n "(cached) " >&6 | 32101 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16727 | else | 32102 | else |
16728 | ac_check_lib_save_LIBS=$LIBS | 32103 | ac_check_lib_save_LIBS=$LIBS |
16729 | LIBS="-ldes $LIBS" | 32104 | LIBS="-ldes $LIBS" |
16730 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 32105 | cat >conftest.$ac_ext <<_ACEOF |
32106 | /* confdefs.h. */ | ||
32107 | _ACEOF | ||
32108 | cat confdefs.h >>conftest.$ac_ext | ||
32109 | cat >>conftest.$ac_ext <<_ACEOF | ||
16731 | /* end confdefs.h. */ | 32110 | /* end confdefs.h. */ |
16732 | 32111 | ||
16733 | /* Override any GCC internal prototype to avoid an error. | 32112 | /* Override any GCC internal prototype to avoid an error. |
@@ -16745,37 +32124,66 @@ return des_cbc_encrypt (); | |||
16745 | return 0; | 32124 | return 0; |
16746 | } | 32125 | } |
16747 | _ACEOF | 32126 | _ACEOF |
16748 | if ac_fn_c_try_link "$LINENO"; then : | 32127 | rm -f conftest.$ac_objext conftest$ac_exeext |
32128 | if { (ac_try="$ac_link" | ||
32129 | case "(($ac_try" in | ||
32130 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32131 | *) ac_try_echo=$ac_try;; | ||
32132 | esac | ||
32133 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32134 | (eval "$ac_link") 2>conftest.er1 | ||
32135 | ac_status=$? | ||
32136 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32137 | rm -f conftest.er1 | ||
32138 | cat conftest.err >&5 | ||
32139 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32140 | (exit $ac_status); } && { | ||
32141 | test -z "$ac_c_werror_flag" || | ||
32142 | test ! -s conftest.err | ||
32143 | } && test -s conftest$ac_exeext && | ||
32144 | $as_test_x conftest$ac_exeext; then | ||
16749 | ac_cv_lib_des_des_cbc_encrypt=yes | 32145 | ac_cv_lib_des_des_cbc_encrypt=yes |
16750 | else | 32146 | else |
16751 | ac_cv_lib_des_des_cbc_encrypt=no | 32147 | echo "$as_me: failed program was:" >&5 |
32148 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32149 | |||
32150 | ac_cv_lib_des_des_cbc_encrypt=no | ||
16752 | fi | 32151 | fi |
16753 | rm -f core conftest.err conftest.$ac_objext \ | 32152 | |
16754 | conftest$ac_exeext conftest.$ac_ext | 32153 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
32154 | conftest$ac_exeext conftest.$ac_ext | ||
16755 | LIBS=$ac_check_lib_save_LIBS | 32155 | LIBS=$ac_check_lib_save_LIBS |
16756 | fi | 32156 | fi |
16757 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 32157 | { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
16758 | $as_echo "$ac_cv_lib_des_des_cbc_encrypt" >&6; } | 32158 | echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
16759 | if test "x$ac_cv_lib_des_des_cbc_encrypt" = xyes; then : | 32159 | if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
16760 | K5LIBS="$K5LIBS -ldes" | 32160 | K5LIBS="$K5LIBS -ldes" |
16761 | fi | 32161 | fi |
16762 | 32162 | ||
16763 | 32163 | ||
16764 | else | 32164 | else |
16765 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 32165 | echo "$as_me: failed program was:" >&5 |
16766 | $as_echo "no" >&6; } | 32166 | sed 's/^/| /' conftest.$ac_ext >&5 |
32167 | |||
32168 | { echo "$as_me:$LINENO: result: no" >&5 | ||
32169 | echo "${ECHO_T}no" >&6; } | ||
16767 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" | 32170 | K5LIBS="-lkrb5 -lk5crypto -lcom_err" |
16768 | 32171 | ||
16769 | 32172 | ||
16770 | fi | 32173 | fi |
32174 | |||
16771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 32175 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16772 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dn_expand" >&5 | 32176 | { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 |
16773 | $as_echo_n "checking for library containing dn_expand... " >&6; } | 32177 | echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } |
16774 | if ${ac_cv_search_dn_expand+:} false; then : | 32178 | if test "${ac_cv_search_dn_expand+set}" = set; then |
16775 | $as_echo_n "(cached) " >&6 | 32179 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16776 | else | 32180 | else |
16777 | ac_func_search_save_LIBS=$LIBS | 32181 | ac_func_search_save_LIBS=$LIBS |
16778 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 32182 | cat >conftest.$ac_ext <<_ACEOF |
32183 | /* confdefs.h. */ | ||
32184 | _ACEOF | ||
32185 | cat confdefs.h >>conftest.$ac_ext | ||
32186 | cat >>conftest.$ac_ext <<_ACEOF | ||
16779 | /* end confdefs.h. */ | 32187 | /* end confdefs.h. */ |
16780 | 32188 | ||
16781 | /* Override any GCC internal prototype to avoid an error. | 32189 | /* Override any GCC internal prototype to avoid an error. |
@@ -16800,40 +32208,67 @@ for ac_lib in '' resolv; do | |||
16800 | ac_res=-l$ac_lib | 32208 | ac_res=-l$ac_lib |
16801 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 32209 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
16802 | fi | 32210 | fi |
16803 | if ac_fn_c_try_link "$LINENO"; then : | 32211 | rm -f conftest.$ac_objext conftest$ac_exeext |
32212 | if { (ac_try="$ac_link" | ||
32213 | case "(($ac_try" in | ||
32214 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32215 | *) ac_try_echo=$ac_try;; | ||
32216 | esac | ||
32217 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32218 | (eval "$ac_link") 2>conftest.er1 | ||
32219 | ac_status=$? | ||
32220 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32221 | rm -f conftest.er1 | ||
32222 | cat conftest.err >&5 | ||
32223 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32224 | (exit $ac_status); } && { | ||
32225 | test -z "$ac_c_werror_flag" || | ||
32226 | test ! -s conftest.err | ||
32227 | } && test -s conftest$ac_exeext && | ||
32228 | $as_test_x conftest$ac_exeext; then | ||
16804 | ac_cv_search_dn_expand=$ac_res | 32229 | ac_cv_search_dn_expand=$ac_res |
32230 | else | ||
32231 | echo "$as_me: failed program was:" >&5 | ||
32232 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32233 | |||
32234 | |||
16805 | fi | 32235 | fi |
16806 | rm -f core conftest.err conftest.$ac_objext \ | 32236 | |
16807 | conftest$ac_exeext | 32237 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16808 | if ${ac_cv_search_dn_expand+:} false; then : | 32238 | conftest$ac_exeext |
32239 | if test "${ac_cv_search_dn_expand+set}" = set; then | ||
16809 | break | 32240 | break |
16810 | fi | 32241 | fi |
16811 | done | 32242 | done |
16812 | if ${ac_cv_search_dn_expand+:} false; then : | 32243 | if test "${ac_cv_search_dn_expand+set}" = set; then |
16813 | 32244 | : | |
16814 | else | 32245 | else |
16815 | ac_cv_search_dn_expand=no | 32246 | ac_cv_search_dn_expand=no |
16816 | fi | 32247 | fi |
16817 | rm conftest.$ac_ext | 32248 | rm conftest.$ac_ext |
16818 | LIBS=$ac_func_search_save_LIBS | 32249 | LIBS=$ac_func_search_save_LIBS |
16819 | fi | 32250 | fi |
16820 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dn_expand" >&5 | 32251 | { echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 |
16821 | $as_echo "$ac_cv_search_dn_expand" >&6; } | 32252 | echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } |
16822 | ac_res=$ac_cv_search_dn_expand | 32253 | ac_res=$ac_cv_search_dn_expand |
16823 | if test "$ac_res" != no; then : | 32254 | if test "$ac_res" != no; then |
16824 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 32255 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
16825 | 32256 | ||
16826 | fi | 32257 | fi |
16827 | 32258 | ||
16828 | 32259 | ||
16829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgssapi_krb5" >&5 | 32260 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 |
16830 | $as_echo_n "checking for gss_init_sec_context in -lgssapi_krb5... " >&6; } | 32261 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } |
16831 | if ${ac_cv_lib_gssapi_krb5_gss_init_sec_context+:} false; then : | 32262 | if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then |
16832 | $as_echo_n "(cached) " >&6 | 32263 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16833 | else | 32264 | else |
16834 | ac_check_lib_save_LIBS=$LIBS | 32265 | ac_check_lib_save_LIBS=$LIBS |
16835 | LIBS="-lgssapi_krb5 $LIBS" | 32266 | LIBS="-lgssapi_krb5 $LIBS" |
16836 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 32267 | cat >conftest.$ac_ext <<_ACEOF |
32268 | /* confdefs.h. */ | ||
32269 | _ACEOF | ||
32270 | cat confdefs.h >>conftest.$ac_ext | ||
32271 | cat >>conftest.$ac_ext <<_ACEOF | ||
16837 | /* end confdefs.h. */ | 32272 | /* end confdefs.h. */ |
16838 | 32273 | ||
16839 | /* Override any GCC internal prototype to avoid an error. | 32274 | /* Override any GCC internal prototype to avoid an error. |
@@ -16851,30 +32286,57 @@ return gss_init_sec_context (); | |||
16851 | return 0; | 32286 | return 0; |
16852 | } | 32287 | } |
16853 | _ACEOF | 32288 | _ACEOF |
16854 | if ac_fn_c_try_link "$LINENO"; then : | 32289 | rm -f conftest.$ac_objext conftest$ac_exeext |
32290 | if { (ac_try="$ac_link" | ||
32291 | case "(($ac_try" in | ||
32292 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32293 | *) ac_try_echo=$ac_try;; | ||
32294 | esac | ||
32295 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32296 | (eval "$ac_link") 2>conftest.er1 | ||
32297 | ac_status=$? | ||
32298 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32299 | rm -f conftest.er1 | ||
32300 | cat conftest.err >&5 | ||
32301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32302 | (exit $ac_status); } && { | ||
32303 | test -z "$ac_c_werror_flag" || | ||
32304 | test ! -s conftest.err | ||
32305 | } && test -s conftest$ac_exeext && | ||
32306 | $as_test_x conftest$ac_exeext; then | ||
16855 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes | 32307 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes |
16856 | else | 32308 | else |
16857 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no | 32309 | echo "$as_me: failed program was:" >&5 |
32310 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32311 | |||
32312 | ac_cv_lib_gssapi_krb5_gss_init_sec_context=no | ||
16858 | fi | 32313 | fi |
16859 | rm -f core conftest.err conftest.$ac_objext \ | 32314 | |
16860 | conftest$ac_exeext conftest.$ac_ext | 32315 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
32316 | conftest$ac_exeext conftest.$ac_ext | ||
16861 | LIBS=$ac_check_lib_save_LIBS | 32317 | LIBS=$ac_check_lib_save_LIBS |
16862 | fi | 32318 | fi |
16863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 | 32319 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 |
16864 | $as_echo "$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } | 32320 | echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } |
16865 | if test "x$ac_cv_lib_gssapi_krb5_gss_init_sec_context" = xyes; then : | 32321 | if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then |
16866 | $as_echo "#define GSSAPI 1" >>confdefs.h | 32322 | cat >>confdefs.h <<\_ACEOF |
32323 | #define GSSAPI 1 | ||
32324 | _ACEOF | ||
16867 | 32325 | ||
16868 | GSSLIBS="-lgssapi_krb5" | 32326 | GSSLIBS="-lgssapi_krb5" |
16869 | else | 32327 | else |
16870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgssapi" >&5 | 32328 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 |
16871 | $as_echo_n "checking for gss_init_sec_context in -lgssapi... " >&6; } | 32329 | echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } |
16872 | if ${ac_cv_lib_gssapi_gss_init_sec_context+:} false; then : | 32330 | if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then |
16873 | $as_echo_n "(cached) " >&6 | 32331 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16874 | else | 32332 | else |
16875 | ac_check_lib_save_LIBS=$LIBS | 32333 | ac_check_lib_save_LIBS=$LIBS |
16876 | LIBS="-lgssapi $LIBS" | 32334 | LIBS="-lgssapi $LIBS" |
16877 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 32335 | cat >conftest.$ac_ext <<_ACEOF |
32336 | /* confdefs.h. */ | ||
32337 | _ACEOF | ||
32338 | cat confdefs.h >>conftest.$ac_ext | ||
32339 | cat >>conftest.$ac_ext <<_ACEOF | ||
16878 | /* end confdefs.h. */ | 32340 | /* end confdefs.h. */ |
16879 | 32341 | ||
16880 | /* Override any GCC internal prototype to avoid an error. | 32342 | /* Override any GCC internal prototype to avoid an error. |
@@ -16892,30 +32354,57 @@ return gss_init_sec_context (); | |||
16892 | return 0; | 32354 | return 0; |
16893 | } | 32355 | } |
16894 | _ACEOF | 32356 | _ACEOF |
16895 | if ac_fn_c_try_link "$LINENO"; then : | 32357 | rm -f conftest.$ac_objext conftest$ac_exeext |
32358 | if { (ac_try="$ac_link" | ||
32359 | case "(($ac_try" in | ||
32360 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32361 | *) ac_try_echo=$ac_try;; | ||
32362 | esac | ||
32363 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32364 | (eval "$ac_link") 2>conftest.er1 | ||
32365 | ac_status=$? | ||
32366 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32367 | rm -f conftest.er1 | ||
32368 | cat conftest.err >&5 | ||
32369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32370 | (exit $ac_status); } && { | ||
32371 | test -z "$ac_c_werror_flag" || | ||
32372 | test ! -s conftest.err | ||
32373 | } && test -s conftest$ac_exeext && | ||
32374 | $as_test_x conftest$ac_exeext; then | ||
16896 | ac_cv_lib_gssapi_gss_init_sec_context=yes | 32375 | ac_cv_lib_gssapi_gss_init_sec_context=yes |
16897 | else | 32376 | else |
16898 | ac_cv_lib_gssapi_gss_init_sec_context=no | 32377 | echo "$as_me: failed program was:" >&5 |
32378 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32379 | |||
32380 | ac_cv_lib_gssapi_gss_init_sec_context=no | ||
16899 | fi | 32381 | fi |
16900 | rm -f core conftest.err conftest.$ac_objext \ | 32382 | |
16901 | conftest$ac_exeext conftest.$ac_ext | 32383 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
32384 | conftest$ac_exeext conftest.$ac_ext | ||
16902 | LIBS=$ac_check_lib_save_LIBS | 32385 | LIBS=$ac_check_lib_save_LIBS |
16903 | fi | 32386 | fi |
16904 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 | 32387 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 |
16905 | $as_echo "$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } | 32388 | echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } |
16906 | if test "x$ac_cv_lib_gssapi_gss_init_sec_context" = xyes; then : | 32389 | if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then |
16907 | $as_echo "#define GSSAPI 1" >>confdefs.h | 32390 | cat >>confdefs.h <<\_ACEOF |
32391 | #define GSSAPI 1 | ||
32392 | _ACEOF | ||
16908 | 32393 | ||
16909 | GSSLIBS="-lgssapi" | 32394 | GSSLIBS="-lgssapi" |
16910 | else | 32395 | else |
16911 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_init_sec_context in -lgss" >&5 | 32396 | { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgss" >&5 |
16912 | $as_echo_n "checking for gss_init_sec_context in -lgss... " >&6; } | 32397 | echo $ECHO_N "checking for gss_init_sec_context in -lgss... $ECHO_C" >&6; } |
16913 | if ${ac_cv_lib_gss_gss_init_sec_context+:} false; then : | 32398 | if test "${ac_cv_lib_gss_gss_init_sec_context+set}" = set; then |
16914 | $as_echo_n "(cached) " >&6 | 32399 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16915 | else | 32400 | else |
16916 | ac_check_lib_save_LIBS=$LIBS | 32401 | ac_check_lib_save_LIBS=$LIBS |
16917 | LIBS="-lgss $LIBS" | 32402 | LIBS="-lgss $LIBS" |
16918 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 32403 | cat >conftest.$ac_ext <<_ACEOF |
32404 | /* confdefs.h. */ | ||
32405 | _ACEOF | ||
32406 | cat confdefs.h >>conftest.$ac_ext | ||
32407 | cat >>conftest.$ac_ext <<_ACEOF | ||
16919 | /* end confdefs.h. */ | 32408 | /* end confdefs.h. */ |
16920 | 32409 | ||
16921 | /* Override any GCC internal prototype to avoid an error. | 32410 | /* Override any GCC internal prototype to avoid an error. |
@@ -16933,50 +32422,335 @@ return gss_init_sec_context (); | |||
16933 | return 0; | 32422 | return 0; |
16934 | } | 32423 | } |
16935 | _ACEOF | 32424 | _ACEOF |
16936 | if ac_fn_c_try_link "$LINENO"; then : | 32425 | rm -f conftest.$ac_objext conftest$ac_exeext |
32426 | if { (ac_try="$ac_link" | ||
32427 | case "(($ac_try" in | ||
32428 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32429 | *) ac_try_echo=$ac_try;; | ||
32430 | esac | ||
32431 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32432 | (eval "$ac_link") 2>conftest.er1 | ||
32433 | ac_status=$? | ||
32434 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32435 | rm -f conftest.er1 | ||
32436 | cat conftest.err >&5 | ||
32437 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32438 | (exit $ac_status); } && { | ||
32439 | test -z "$ac_c_werror_flag" || | ||
32440 | test ! -s conftest.err | ||
32441 | } && test -s conftest$ac_exeext && | ||
32442 | $as_test_x conftest$ac_exeext; then | ||
16937 | ac_cv_lib_gss_gss_init_sec_context=yes | 32443 | ac_cv_lib_gss_gss_init_sec_context=yes |
16938 | else | 32444 | else |
16939 | ac_cv_lib_gss_gss_init_sec_context=no | 32445 | echo "$as_me: failed program was:" >&5 |
32446 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32447 | |||
32448 | ac_cv_lib_gss_gss_init_sec_context=no | ||
16940 | fi | 32449 | fi |
16941 | rm -f core conftest.err conftest.$ac_objext \ | 32450 | |
16942 | conftest$ac_exeext conftest.$ac_ext | 32451 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
32452 | conftest$ac_exeext conftest.$ac_ext | ||
16943 | LIBS=$ac_check_lib_save_LIBS | 32453 | LIBS=$ac_check_lib_save_LIBS |
16944 | fi | 32454 | fi |
16945 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gss_gss_init_sec_context" >&5 | 32455 | { echo "$as_me:$LINENO: result: $ac_cv_lib_gss_gss_init_sec_context" >&5 |
16946 | $as_echo "$ac_cv_lib_gss_gss_init_sec_context" >&6; } | 32456 | echo "${ECHO_T}$ac_cv_lib_gss_gss_init_sec_context" >&6; } |
16947 | if test "x$ac_cv_lib_gss_gss_init_sec_context" = xyes; then : | 32457 | if test $ac_cv_lib_gss_gss_init_sec_context = yes; then |
16948 | $as_echo "#define GSSAPI 1" >>confdefs.h | 32458 | cat >>confdefs.h <<\_ACEOF |
32459 | #define GSSAPI 1 | ||
32460 | _ACEOF | ||
16949 | 32461 | ||
16950 | GSSLIBS="-lgss" | 32462 | GSSLIBS="-lgss" |
16951 | else | 32463 | else |
16952 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 | 32464 | { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 |
16953 | $as_echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} | 32465 | echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} |
32466 | fi | ||
32467 | |||
32468 | |||
16954 | fi | 32469 | fi |
16955 | 32470 | ||
16956 | 32471 | ||
16957 | fi | 32472 | fi |
16958 | 32473 | ||
16959 | 32474 | ||
32475 | if test "${ac_cv_header_gssapi_h+set}" = set; then | ||
32476 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 | ||
32477 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } | ||
32478 | if test "${ac_cv_header_gssapi_h+set}" = set; then | ||
32479 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32480 | fi | ||
32481 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 | ||
32482 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } | ||
32483 | else | ||
32484 | # Is the header compilable? | ||
32485 | { echo "$as_me:$LINENO: checking gssapi.h usability" >&5 | ||
32486 | echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; } | ||
32487 | cat >conftest.$ac_ext <<_ACEOF | ||
32488 | /* confdefs.h. */ | ||
32489 | _ACEOF | ||
32490 | cat confdefs.h >>conftest.$ac_ext | ||
32491 | cat >>conftest.$ac_ext <<_ACEOF | ||
32492 | /* end confdefs.h. */ | ||
32493 | $ac_includes_default | ||
32494 | #include <gssapi.h> | ||
32495 | _ACEOF | ||
32496 | rm -f conftest.$ac_objext | ||
32497 | if { (ac_try="$ac_compile" | ||
32498 | case "(($ac_try" in | ||
32499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32500 | *) ac_try_echo=$ac_try;; | ||
32501 | esac | ||
32502 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32503 | (eval "$ac_compile") 2>conftest.er1 | ||
32504 | ac_status=$? | ||
32505 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32506 | rm -f conftest.er1 | ||
32507 | cat conftest.err >&5 | ||
32508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32509 | (exit $ac_status); } && { | ||
32510 | test -z "$ac_c_werror_flag" || | ||
32511 | test ! -s conftest.err | ||
32512 | } && test -s conftest.$ac_objext; then | ||
32513 | ac_header_compiler=yes | ||
32514 | else | ||
32515 | echo "$as_me: failed program was:" >&5 | ||
32516 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32517 | |||
32518 | ac_header_compiler=no | ||
32519 | fi | ||
32520 | |||
32521 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32522 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
32523 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
32524 | |||
32525 | # Is the header present? | ||
32526 | { echo "$as_me:$LINENO: checking gssapi.h presence" >&5 | ||
32527 | echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; } | ||
32528 | cat >conftest.$ac_ext <<_ACEOF | ||
32529 | /* confdefs.h. */ | ||
32530 | _ACEOF | ||
32531 | cat confdefs.h >>conftest.$ac_ext | ||
32532 | cat >>conftest.$ac_ext <<_ACEOF | ||
32533 | /* end confdefs.h. */ | ||
32534 | #include <gssapi.h> | ||
32535 | _ACEOF | ||
32536 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
32537 | case "(($ac_try" in | ||
32538 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32539 | *) ac_try_echo=$ac_try;; | ||
32540 | esac | ||
32541 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32542 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
32543 | ac_status=$? | ||
32544 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32545 | rm -f conftest.er1 | ||
32546 | cat conftest.err >&5 | ||
32547 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32548 | (exit $ac_status); } >/dev/null && { | ||
32549 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
32550 | test ! -s conftest.err | ||
32551 | }; then | ||
32552 | ac_header_preproc=yes | ||
32553 | else | ||
32554 | echo "$as_me: failed program was:" >&5 | ||
32555 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32556 | |||
32557 | ac_header_preproc=no | ||
16960 | fi | 32558 | fi |
16961 | 32559 | ||
32560 | rm -f conftest.err conftest.$ac_ext | ||
32561 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
32562 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
16962 | 32563 | ||
16963 | ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default" | 32564 | # So? What about this header? |
16964 | if test "x$ac_cv_header_gssapi_h" = xyes; then : | 32565 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
32566 | yes:no: ) | ||
32567 | { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
32568 | echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
32569 | { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5 | ||
32570 | echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;} | ||
32571 | ac_header_preproc=yes | ||
32572 | ;; | ||
32573 | no:yes:* ) | ||
32574 | { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5 | ||
32575 | echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;} | ||
32576 | { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5 | ||
32577 | echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;} | ||
32578 | { echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5 | ||
32579 | echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;} | ||
32580 | { echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
32581 | echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
32582 | { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5 | ||
32583 | echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;} | ||
32584 | { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5 | ||
32585 | echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} | ||
32586 | ( cat <<\_ASBOX | ||
32587 | ## ------------------------------------------- ## | ||
32588 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
32589 | ## ------------------------------------------- ## | ||
32590 | _ASBOX | ||
32591 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
32592 | ;; | ||
32593 | esac | ||
32594 | { echo "$as_me:$LINENO: checking for gssapi.h" >&5 | ||
32595 | echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } | ||
32596 | if test "${ac_cv_header_gssapi_h+set}" = set; then | ||
32597 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32598 | else | ||
32599 | ac_cv_header_gssapi_h=$ac_header_preproc | ||
32600 | fi | ||
32601 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 | ||
32602 | echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } | ||
16965 | 32603 | ||
32604 | fi | ||
32605 | if test $ac_cv_header_gssapi_h = yes; then | ||
32606 | : | ||
16966 | else | 32607 | else |
16967 | unset ac_cv_header_gssapi_h | 32608 | unset ac_cv_header_gssapi_h |
16968 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | 32609 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
16969 | for ac_header in gssapi.h | 32610 | |
16970 | do : | 32611 | for ac_header in gssapi.h |
16971 | ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default" | 32612 | do |
16972 | if test "x$ac_cv_header_gssapi_h" = xyes; then : | 32613 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
32614 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32615 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
32616 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
32617 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32618 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32619 | fi | ||
32620 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
32621 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
32622 | echo "${ECHO_T}$ac_res" >&6; } | ||
32623 | else | ||
32624 | # Is the header compilable? | ||
32625 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
32626 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
32627 | cat >conftest.$ac_ext <<_ACEOF | ||
32628 | /* confdefs.h. */ | ||
32629 | _ACEOF | ||
32630 | cat confdefs.h >>conftest.$ac_ext | ||
32631 | cat >>conftest.$ac_ext <<_ACEOF | ||
32632 | /* end confdefs.h. */ | ||
32633 | $ac_includes_default | ||
32634 | #include <$ac_header> | ||
32635 | _ACEOF | ||
32636 | rm -f conftest.$ac_objext | ||
32637 | if { (ac_try="$ac_compile" | ||
32638 | case "(($ac_try" in | ||
32639 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32640 | *) ac_try_echo=$ac_try;; | ||
32641 | esac | ||
32642 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32643 | (eval "$ac_compile") 2>conftest.er1 | ||
32644 | ac_status=$? | ||
32645 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32646 | rm -f conftest.er1 | ||
32647 | cat conftest.err >&5 | ||
32648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32649 | (exit $ac_status); } && { | ||
32650 | test -z "$ac_c_werror_flag" || | ||
32651 | test ! -s conftest.err | ||
32652 | } && test -s conftest.$ac_objext; then | ||
32653 | ac_header_compiler=yes | ||
32654 | else | ||
32655 | echo "$as_me: failed program was:" >&5 | ||
32656 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32657 | |||
32658 | ac_header_compiler=no | ||
32659 | fi | ||
32660 | |||
32661 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32662 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
32663 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
32664 | |||
32665 | # Is the header present? | ||
32666 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
32667 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
32668 | cat >conftest.$ac_ext <<_ACEOF | ||
32669 | /* confdefs.h. */ | ||
32670 | _ACEOF | ||
32671 | cat confdefs.h >>conftest.$ac_ext | ||
32672 | cat >>conftest.$ac_ext <<_ACEOF | ||
32673 | /* end confdefs.h. */ | ||
32674 | #include <$ac_header> | ||
32675 | _ACEOF | ||
32676 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
32677 | case "(($ac_try" in | ||
32678 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32679 | *) ac_try_echo=$ac_try;; | ||
32680 | esac | ||
32681 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32682 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
32683 | ac_status=$? | ||
32684 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32685 | rm -f conftest.er1 | ||
32686 | cat conftest.err >&5 | ||
32687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32688 | (exit $ac_status); } >/dev/null && { | ||
32689 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
32690 | test ! -s conftest.err | ||
32691 | }; then | ||
32692 | ac_header_preproc=yes | ||
32693 | else | ||
32694 | echo "$as_me: failed program was:" >&5 | ||
32695 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32696 | |||
32697 | ac_header_preproc=no | ||
32698 | fi | ||
32699 | |||
32700 | rm -f conftest.err conftest.$ac_ext | ||
32701 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
32702 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
32703 | |||
32704 | # So? What about this header? | ||
32705 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
32706 | yes:no: ) | ||
32707 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
32708 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
32709 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
32710 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
32711 | ac_header_preproc=yes | ||
32712 | ;; | ||
32713 | no:yes:* ) | ||
32714 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
32715 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
32716 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
32717 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
32718 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
32719 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
32720 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
32721 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
32722 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
32723 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
32724 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
32725 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
32726 | ( cat <<\_ASBOX | ||
32727 | ## ------------------------------------------- ## | ||
32728 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
32729 | ## ------------------------------------------- ## | ||
32730 | _ASBOX | ||
32731 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
32732 | ;; | ||
32733 | esac | ||
32734 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
32735 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
32736 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32738 | else | ||
32739 | eval "$as_ac_Header=\$ac_header_preproc" | ||
32740 | fi | ||
32741 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
32742 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
32743 | echo "${ECHO_T}$ac_res" >&6; } | ||
32744 | |||
32745 | fi | ||
32746 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
16973 | cat >>confdefs.h <<_ACEOF | 32747 | cat >>confdefs.h <<_ACEOF |
16974 | #define HAVE_GSSAPI_H 1 | 32748 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16975 | _ACEOF | 32749 | _ACEOF |
16976 | 32750 | ||
16977 | else | 32751 | else |
16978 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 | 32752 | { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 |
16979 | $as_echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} | 32753 | echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} |
16980 | 32754 | ||
16981 | fi | 32755 | fi |
16982 | 32756 | ||
@@ -16990,9 +32764,138 @@ fi | |||
16990 | 32764 | ||
16991 | oldCPP="$CPPFLAGS" | 32765 | oldCPP="$CPPFLAGS" |
16992 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" | 32766 | CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" |
16993 | ac_fn_c_check_header_mongrel "$LINENO" "gssapi_krb5.h" "ac_cv_header_gssapi_krb5_h" "$ac_includes_default" | 32767 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then |
16994 | if test "x$ac_cv_header_gssapi_krb5_h" = xyes; then : | 32768 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 |
32769 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } | ||
32770 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | ||
32771 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32772 | fi | ||
32773 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 | ||
32774 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } | ||
32775 | else | ||
32776 | # Is the header compilable? | ||
32777 | { echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5 | ||
32778 | echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6; } | ||
32779 | cat >conftest.$ac_ext <<_ACEOF | ||
32780 | /* confdefs.h. */ | ||
32781 | _ACEOF | ||
32782 | cat confdefs.h >>conftest.$ac_ext | ||
32783 | cat >>conftest.$ac_ext <<_ACEOF | ||
32784 | /* end confdefs.h. */ | ||
32785 | $ac_includes_default | ||
32786 | #include <gssapi_krb5.h> | ||
32787 | _ACEOF | ||
32788 | rm -f conftest.$ac_objext | ||
32789 | if { (ac_try="$ac_compile" | ||
32790 | case "(($ac_try" in | ||
32791 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32792 | *) ac_try_echo=$ac_try;; | ||
32793 | esac | ||
32794 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32795 | (eval "$ac_compile") 2>conftest.er1 | ||
32796 | ac_status=$? | ||
32797 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32798 | rm -f conftest.er1 | ||
32799 | cat conftest.err >&5 | ||
32800 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32801 | (exit $ac_status); } && { | ||
32802 | test -z "$ac_c_werror_flag" || | ||
32803 | test ! -s conftest.err | ||
32804 | } && test -s conftest.$ac_objext; then | ||
32805 | ac_header_compiler=yes | ||
32806 | else | ||
32807 | echo "$as_me: failed program was:" >&5 | ||
32808 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32809 | |||
32810 | ac_header_compiler=no | ||
32811 | fi | ||
32812 | |||
32813 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32814 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
32815 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
32816 | |||
32817 | # Is the header present? | ||
32818 | { echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5 | ||
32819 | echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6; } | ||
32820 | cat >conftest.$ac_ext <<_ACEOF | ||
32821 | /* confdefs.h. */ | ||
32822 | _ACEOF | ||
32823 | cat confdefs.h >>conftest.$ac_ext | ||
32824 | cat >>conftest.$ac_ext <<_ACEOF | ||
32825 | /* end confdefs.h. */ | ||
32826 | #include <gssapi_krb5.h> | ||
32827 | _ACEOF | ||
32828 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
32829 | case "(($ac_try" in | ||
32830 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32831 | *) ac_try_echo=$ac_try;; | ||
32832 | esac | ||
32833 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32834 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
32835 | ac_status=$? | ||
32836 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32837 | rm -f conftest.er1 | ||
32838 | cat conftest.err >&5 | ||
32839 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32840 | (exit $ac_status); } >/dev/null && { | ||
32841 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
32842 | test ! -s conftest.err | ||
32843 | }; then | ||
32844 | ac_header_preproc=yes | ||
32845 | else | ||
32846 | echo "$as_me: failed program was:" >&5 | ||
32847 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32848 | |||
32849 | ac_header_preproc=no | ||
32850 | fi | ||
32851 | |||
32852 | rm -f conftest.err conftest.$ac_ext | ||
32853 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
32854 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
32855 | |||
32856 | # So? What about this header? | ||
32857 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
32858 | yes:no: ) | ||
32859 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
32860 | echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
32861 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5 | ||
32862 | echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;} | ||
32863 | ac_header_preproc=yes | ||
32864 | ;; | ||
32865 | no:yes:* ) | ||
32866 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5 | ||
32867 | echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;} | ||
32868 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5 | ||
32869 | echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;} | ||
32870 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5 | ||
32871 | echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;} | ||
32872 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5 | ||
32873 | echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;} | ||
32874 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5 | ||
32875 | echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;} | ||
32876 | { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5 | ||
32877 | echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} | ||
32878 | ( cat <<\_ASBOX | ||
32879 | ## ------------------------------------------- ## | ||
32880 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
32881 | ## ------------------------------------------- ## | ||
32882 | _ASBOX | ||
32883 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
32884 | ;; | ||
32885 | esac | ||
32886 | { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 | ||
32887 | echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } | ||
32888 | if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then | ||
32889 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32890 | else | ||
32891 | ac_cv_header_gssapi_krb5_h=$ac_header_preproc | ||
32892 | fi | ||
32893 | { echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 | ||
32894 | echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } | ||
16995 | 32895 | ||
32896 | fi | ||
32897 | if test $ac_cv_header_gssapi_krb5_h = yes; then | ||
32898 | : | ||
16996 | else | 32899 | else |
16997 | CPPFLAGS="$oldCPP" | 32900 | CPPFLAGS="$oldCPP" |
16998 | fi | 32901 | fi |
@@ -17007,39 +32910,438 @@ fi | |||
17007 | blibpath="$blibpath:${KRB5ROOT}/lib" | 32910 | blibpath="$blibpath:${KRB5ROOT}/lib" |
17008 | fi | 32911 | fi |
17009 | 32912 | ||
17010 | for ac_header in gssapi.h gssapi/gssapi.h | 32913 | |
17011 | do : | 32914 | |
17012 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 32915 | for ac_header in gssapi.h gssapi/gssapi.h |
17013 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 32916 | do |
17014 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 32917 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
32918 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32919 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
32920 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
32921 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
32922 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
32923 | fi | ||
32924 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
32925 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
32926 | echo "${ECHO_T}$ac_res" >&6; } | ||
32927 | else | ||
32928 | # Is the header compilable? | ||
32929 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
32930 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
32931 | cat >conftest.$ac_ext <<_ACEOF | ||
32932 | /* confdefs.h. */ | ||
32933 | _ACEOF | ||
32934 | cat confdefs.h >>conftest.$ac_ext | ||
32935 | cat >>conftest.$ac_ext <<_ACEOF | ||
32936 | /* end confdefs.h. */ | ||
32937 | $ac_includes_default | ||
32938 | #include <$ac_header> | ||
32939 | _ACEOF | ||
32940 | rm -f conftest.$ac_objext | ||
32941 | if { (ac_try="$ac_compile" | ||
32942 | case "(($ac_try" in | ||
32943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32944 | *) ac_try_echo=$ac_try;; | ||
32945 | esac | ||
32946 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32947 | (eval "$ac_compile") 2>conftest.er1 | ||
32948 | ac_status=$? | ||
32949 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32950 | rm -f conftest.er1 | ||
32951 | cat conftest.err >&5 | ||
32952 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32953 | (exit $ac_status); } && { | ||
32954 | test -z "$ac_c_werror_flag" || | ||
32955 | test ! -s conftest.err | ||
32956 | } && test -s conftest.$ac_objext; then | ||
32957 | ac_header_compiler=yes | ||
32958 | else | ||
32959 | echo "$as_me: failed program was:" >&5 | ||
32960 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
32961 | |||
32962 | ac_header_compiler=no | ||
32963 | fi | ||
32964 | |||
32965 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
32966 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
32967 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
32968 | |||
32969 | # Is the header present? | ||
32970 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
32971 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
32972 | cat >conftest.$ac_ext <<_ACEOF | ||
32973 | /* confdefs.h. */ | ||
32974 | _ACEOF | ||
32975 | cat confdefs.h >>conftest.$ac_ext | ||
32976 | cat >>conftest.$ac_ext <<_ACEOF | ||
32977 | /* end confdefs.h. */ | ||
32978 | #include <$ac_header> | ||
32979 | _ACEOF | ||
32980 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
32981 | case "(($ac_try" in | ||
32982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
32983 | *) ac_try_echo=$ac_try;; | ||
32984 | esac | ||
32985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
32986 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
32987 | ac_status=$? | ||
32988 | grep -v '^ *+' conftest.er1 >conftest.err | ||
32989 | rm -f conftest.er1 | ||
32990 | cat conftest.err >&5 | ||
32991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
32992 | (exit $ac_status); } >/dev/null && { | ||
32993 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
32994 | test ! -s conftest.err | ||
32995 | }; then | ||
32996 | ac_header_preproc=yes | ||
32997 | else | ||
32998 | echo "$as_me: failed program was:" >&5 | ||
32999 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33000 | |||
33001 | ac_header_preproc=no | ||
33002 | fi | ||
33003 | |||
33004 | rm -f conftest.err conftest.$ac_ext | ||
33005 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33006 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33007 | |||
33008 | # So? What about this header? | ||
33009 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33010 | yes:no: ) | ||
33011 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33012 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33013 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
33014 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
33015 | ac_header_preproc=yes | ||
33016 | ;; | ||
33017 | no:yes:* ) | ||
33018 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
33019 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
33020 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
33021 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
33022 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
33023 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
33024 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
33025 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33026 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
33027 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
33028 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
33029 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
33030 | ( cat <<\_ASBOX | ||
33031 | ## ------------------------------------------- ## | ||
33032 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33033 | ## ------------------------------------------- ## | ||
33034 | _ASBOX | ||
33035 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33036 | ;; | ||
33037 | esac | ||
33038 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33039 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33040 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33041 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33042 | else | ||
33043 | eval "$as_ac_Header=\$ac_header_preproc" | ||
33044 | fi | ||
33045 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33046 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33047 | echo "${ECHO_T}$ac_res" >&6; } | ||
33048 | |||
33049 | fi | ||
33050 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
17015 | cat >>confdefs.h <<_ACEOF | 33051 | cat >>confdefs.h <<_ACEOF |
17016 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 33052 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17017 | _ACEOF | 33053 | _ACEOF |
17018 | 33054 | ||
17019 | fi | 33055 | fi |
17020 | 33056 | ||
17021 | done | 33057 | done |
17022 | 33058 | ||
17023 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h | 33059 | |
17024 | do : | 33060 | |
17025 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 33061 | for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h |
17026 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 33062 | do |
17027 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 33063 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
33064 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33065 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33066 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33067 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33069 | fi | ||
33070 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33071 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33072 | echo "${ECHO_T}$ac_res" >&6; } | ||
33073 | else | ||
33074 | # Is the header compilable? | ||
33075 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
33076 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
33077 | cat >conftest.$ac_ext <<_ACEOF | ||
33078 | /* confdefs.h. */ | ||
33079 | _ACEOF | ||
33080 | cat confdefs.h >>conftest.$ac_ext | ||
33081 | cat >>conftest.$ac_ext <<_ACEOF | ||
33082 | /* end confdefs.h. */ | ||
33083 | $ac_includes_default | ||
33084 | #include <$ac_header> | ||
33085 | _ACEOF | ||
33086 | rm -f conftest.$ac_objext | ||
33087 | if { (ac_try="$ac_compile" | ||
33088 | case "(($ac_try" in | ||
33089 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33090 | *) ac_try_echo=$ac_try;; | ||
33091 | esac | ||
33092 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33093 | (eval "$ac_compile") 2>conftest.er1 | ||
33094 | ac_status=$? | ||
33095 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33096 | rm -f conftest.er1 | ||
33097 | cat conftest.err >&5 | ||
33098 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33099 | (exit $ac_status); } && { | ||
33100 | test -z "$ac_c_werror_flag" || | ||
33101 | test ! -s conftest.err | ||
33102 | } && test -s conftest.$ac_objext; then | ||
33103 | ac_header_compiler=yes | ||
33104 | else | ||
33105 | echo "$as_me: failed program was:" >&5 | ||
33106 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33107 | |||
33108 | ac_header_compiler=no | ||
33109 | fi | ||
33110 | |||
33111 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
33112 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
33113 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
33114 | |||
33115 | # Is the header present? | ||
33116 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
33117 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
33118 | cat >conftest.$ac_ext <<_ACEOF | ||
33119 | /* confdefs.h. */ | ||
33120 | _ACEOF | ||
33121 | cat confdefs.h >>conftest.$ac_ext | ||
33122 | cat >>conftest.$ac_ext <<_ACEOF | ||
33123 | /* end confdefs.h. */ | ||
33124 | #include <$ac_header> | ||
33125 | _ACEOF | ||
33126 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
33127 | case "(($ac_try" in | ||
33128 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33129 | *) ac_try_echo=$ac_try;; | ||
33130 | esac | ||
33131 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33132 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
33133 | ac_status=$? | ||
33134 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33135 | rm -f conftest.er1 | ||
33136 | cat conftest.err >&5 | ||
33137 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33138 | (exit $ac_status); } >/dev/null && { | ||
33139 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
33140 | test ! -s conftest.err | ||
33141 | }; then | ||
33142 | ac_header_preproc=yes | ||
33143 | else | ||
33144 | echo "$as_me: failed program was:" >&5 | ||
33145 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33146 | |||
33147 | ac_header_preproc=no | ||
33148 | fi | ||
33149 | |||
33150 | rm -f conftest.err conftest.$ac_ext | ||
33151 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33152 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33153 | |||
33154 | # So? What about this header? | ||
33155 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33156 | yes:no: ) | ||
33157 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33158 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33159 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
33160 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
33161 | ac_header_preproc=yes | ||
33162 | ;; | ||
33163 | no:yes:* ) | ||
33164 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
33165 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
33166 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
33167 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
33168 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
33169 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
33170 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
33171 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33172 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
33173 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
33174 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
33175 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
33176 | ( cat <<\_ASBOX | ||
33177 | ## ------------------------------------------- ## | ||
33178 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33179 | ## ------------------------------------------- ## | ||
33180 | _ASBOX | ||
33181 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33182 | ;; | ||
33183 | esac | ||
33184 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33185 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33186 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33187 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33188 | else | ||
33189 | eval "$as_ac_Header=\$ac_header_preproc" | ||
33190 | fi | ||
33191 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33192 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33193 | echo "${ECHO_T}$ac_res" >&6; } | ||
33194 | |||
33195 | fi | ||
33196 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
17028 | cat >>confdefs.h <<_ACEOF | 33197 | cat >>confdefs.h <<_ACEOF |
17029 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 33198 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17030 | _ACEOF | 33199 | _ACEOF |
17031 | 33200 | ||
17032 | fi | 33201 | fi |
17033 | 33202 | ||
17034 | done | 33203 | done |
17035 | 33204 | ||
17036 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h | 33205 | |
17037 | do : | 33206 | |
17038 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 33207 | for ac_header in gssapi_generic.h gssapi/gssapi_generic.h |
17039 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 33208 | do |
17040 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 33209 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
33210 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33211 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33212 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33213 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33215 | fi | ||
33216 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33217 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33218 | echo "${ECHO_T}$ac_res" >&6; } | ||
33219 | else | ||
33220 | # Is the header compilable? | ||
33221 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 | ||
33222 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } | ||
33223 | cat >conftest.$ac_ext <<_ACEOF | ||
33224 | /* confdefs.h. */ | ||
33225 | _ACEOF | ||
33226 | cat confdefs.h >>conftest.$ac_ext | ||
33227 | cat >>conftest.$ac_ext <<_ACEOF | ||
33228 | /* end confdefs.h. */ | ||
33229 | $ac_includes_default | ||
33230 | #include <$ac_header> | ||
33231 | _ACEOF | ||
33232 | rm -f conftest.$ac_objext | ||
33233 | if { (ac_try="$ac_compile" | ||
33234 | case "(($ac_try" in | ||
33235 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33236 | *) ac_try_echo=$ac_try;; | ||
33237 | esac | ||
33238 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33239 | (eval "$ac_compile") 2>conftest.er1 | ||
33240 | ac_status=$? | ||
33241 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33242 | rm -f conftest.er1 | ||
33243 | cat conftest.err >&5 | ||
33244 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33245 | (exit $ac_status); } && { | ||
33246 | test -z "$ac_c_werror_flag" || | ||
33247 | test ! -s conftest.err | ||
33248 | } && test -s conftest.$ac_objext; then | ||
33249 | ac_header_compiler=yes | ||
33250 | else | ||
33251 | echo "$as_me: failed program was:" >&5 | ||
33252 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33253 | |||
33254 | ac_header_compiler=no | ||
33255 | fi | ||
33256 | |||
33257 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
33258 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | ||
33259 | echo "${ECHO_T}$ac_header_compiler" >&6; } | ||
33260 | |||
33261 | # Is the header present? | ||
33262 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 | ||
33263 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } | ||
33264 | cat >conftest.$ac_ext <<_ACEOF | ||
33265 | /* confdefs.h. */ | ||
33266 | _ACEOF | ||
33267 | cat confdefs.h >>conftest.$ac_ext | ||
33268 | cat >>conftest.$ac_ext <<_ACEOF | ||
33269 | /* end confdefs.h. */ | ||
33270 | #include <$ac_header> | ||
33271 | _ACEOF | ||
33272 | if { (ac_try="$ac_cpp conftest.$ac_ext" | ||
33273 | case "(($ac_try" in | ||
33274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33275 | *) ac_try_echo=$ac_try;; | ||
33276 | esac | ||
33277 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33278 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | ||
33279 | ac_status=$? | ||
33280 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33281 | rm -f conftest.er1 | ||
33282 | cat conftest.err >&5 | ||
33283 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33284 | (exit $ac_status); } >/dev/null && { | ||
33285 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
33286 | test ! -s conftest.err | ||
33287 | }; then | ||
33288 | ac_header_preproc=yes | ||
33289 | else | ||
33290 | echo "$as_me: failed program was:" >&5 | ||
33291 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33292 | |||
33293 | ac_header_preproc=no | ||
33294 | fi | ||
33295 | |||
33296 | rm -f conftest.err conftest.$ac_ext | ||
33297 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | ||
33298 | echo "${ECHO_T}$ac_header_preproc" >&6; } | ||
33299 | |||
33300 | # So? What about this header? | ||
33301 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | ||
33302 | yes:no: ) | ||
33303 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
33304 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
33305 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 | ||
33306 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} | ||
33307 | ac_header_preproc=yes | ||
33308 | ;; | ||
33309 | no:yes:* ) | ||
33310 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | ||
33311 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | ||
33312 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | ||
33313 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | ||
33314 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 | ||
33315 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} | ||
33316 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 | ||
33317 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | ||
33318 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | ||
33319 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | ||
33320 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | ||
33321 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | ||
33322 | ( cat <<\_ASBOX | ||
33323 | ## ------------------------------------------- ## | ||
33324 | ## Report this to openssh-unix-dev@mindrot.org ## | ||
33325 | ## ------------------------------------------- ## | ||
33326 | _ASBOX | ||
33327 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
33328 | ;; | ||
33329 | esac | ||
33330 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 | ||
33331 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } | ||
33332 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33333 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33334 | else | ||
33335 | eval "$as_ac_Header=\$ac_header_preproc" | ||
33336 | fi | ||
33337 | ac_res=`eval echo '${'$as_ac_Header'}'` | ||
33338 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33339 | echo "${ECHO_T}$ac_res" >&6; } | ||
33340 | |||
33341 | fi | ||
33342 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | ||
17041 | cat >>confdefs.h <<_ACEOF | 33343 | cat >>confdefs.h <<_ACEOF |
17042 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 33344 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17043 | _ACEOF | 33345 | _ACEOF |
17044 | 33346 | ||
17045 | fi | 33347 | fi |
@@ -17047,13 +33349,17 @@ fi | |||
17047 | done | 33349 | done |
17048 | 33350 | ||
17049 | 33351 | ||
17050 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing k_hasafs" >&5 | 33352 | { echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 |
17051 | $as_echo_n "checking for library containing k_hasafs... " >&6; } | 33353 | echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6; } |
17052 | if ${ac_cv_search_k_hasafs+:} false; then : | 33354 | if test "${ac_cv_search_k_hasafs+set}" = set; then |
17053 | $as_echo_n "(cached) " >&6 | 33355 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17054 | else | 33356 | else |
17055 | ac_func_search_save_LIBS=$LIBS | 33357 | ac_func_search_save_LIBS=$LIBS |
17056 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 33358 | cat >conftest.$ac_ext <<_ACEOF |
33359 | /* confdefs.h. */ | ||
33360 | _ACEOF | ||
33361 | cat confdefs.h >>conftest.$ac_ext | ||
33362 | cat >>conftest.$ac_ext <<_ACEOF | ||
17057 | /* end confdefs.h. */ | 33363 | /* end confdefs.h. */ |
17058 | 33364 | ||
17059 | /* Override any GCC internal prototype to avoid an error. | 33365 | /* Override any GCC internal prototype to avoid an error. |
@@ -17078,35 +33384,71 @@ for ac_lib in '' kafs; do | |||
17078 | ac_res=-l$ac_lib | 33384 | ac_res=-l$ac_lib |
17079 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" | 33385 | LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
17080 | fi | 33386 | fi |
17081 | if ac_fn_c_try_link "$LINENO"; then : | 33387 | rm -f conftest.$ac_objext conftest$ac_exeext |
33388 | if { (ac_try="$ac_link" | ||
33389 | case "(($ac_try" in | ||
33390 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33391 | *) ac_try_echo=$ac_try;; | ||
33392 | esac | ||
33393 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33394 | (eval "$ac_link") 2>conftest.er1 | ||
33395 | ac_status=$? | ||
33396 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33397 | rm -f conftest.er1 | ||
33398 | cat conftest.err >&5 | ||
33399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33400 | (exit $ac_status); } && { | ||
33401 | test -z "$ac_c_werror_flag" || | ||
33402 | test ! -s conftest.err | ||
33403 | } && test -s conftest$ac_exeext && | ||
33404 | $as_test_x conftest$ac_exeext; then | ||
17082 | ac_cv_search_k_hasafs=$ac_res | 33405 | ac_cv_search_k_hasafs=$ac_res |
33406 | else | ||
33407 | echo "$as_me: failed program was:" >&5 | ||
33408 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33409 | |||
33410 | |||
17083 | fi | 33411 | fi |
17084 | rm -f core conftest.err conftest.$ac_objext \ | 33412 | |
17085 | conftest$ac_exeext | 33413 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17086 | if ${ac_cv_search_k_hasafs+:} false; then : | 33414 | conftest$ac_exeext |
33415 | if test "${ac_cv_search_k_hasafs+set}" = set; then | ||
17087 | break | 33416 | break |
17088 | fi | 33417 | fi |
17089 | done | 33418 | done |
17090 | if ${ac_cv_search_k_hasafs+:} false; then : | 33419 | if test "${ac_cv_search_k_hasafs+set}" = set; then |
17091 | 33420 | : | |
17092 | else | 33421 | else |
17093 | ac_cv_search_k_hasafs=no | 33422 | ac_cv_search_k_hasafs=no |
17094 | fi | 33423 | fi |
17095 | rm conftest.$ac_ext | 33424 | rm conftest.$ac_ext |
17096 | LIBS=$ac_func_search_save_LIBS | 33425 | LIBS=$ac_func_search_save_LIBS |
17097 | fi | 33426 | fi |
17098 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_k_hasafs" >&5 | 33427 | { echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5 |
17099 | $as_echo "$ac_cv_search_k_hasafs" >&6; } | 33428 | echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6; } |
17100 | ac_res=$ac_cv_search_k_hasafs | 33429 | ac_res=$ac_cv_search_k_hasafs |
17101 | if test "$ac_res" != no; then : | 33430 | if test "$ac_res" != no; then |
17102 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | 33431 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
17103 | 33432 | ||
17104 | $as_echo "#define USE_AFS 1" >>confdefs.h | 33433 | cat >>confdefs.h <<\_ACEOF |
33434 | #define USE_AFS 1 | ||
33435 | _ACEOF | ||
17105 | 33436 | ||
17106 | fi | 33437 | fi |
17107 | 33438 | ||
17108 | 33439 | ||
17109 | ac_fn_c_check_decl "$LINENO" "GSS_C_NT_HOSTBASED_SERVICE" "ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" " | 33440 | { echo "$as_me:$LINENO: checking whether GSS_C_NT_HOSTBASED_SERVICE is declared" >&5 |
33441 | echo $ECHO_N "checking whether GSS_C_NT_HOSTBASED_SERVICE is declared... $ECHO_C" >&6; } | ||
33442 | if test "${ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE+set}" = set; then | ||
33443 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33444 | else | ||
33445 | cat >conftest.$ac_ext <<_ACEOF | ||
33446 | /* confdefs.h. */ | ||
33447 | _ACEOF | ||
33448 | cat confdefs.h >>conftest.$ac_ext | ||
33449 | cat >>conftest.$ac_ext <<_ACEOF | ||
33450 | /* end confdefs.h. */ | ||
33451 | |||
17110 | #ifdef HAVE_GSSAPI_H | 33452 | #ifdef HAVE_GSSAPI_H |
17111 | # include <gssapi.h> | 33453 | # include <gssapi.h> |
17112 | #elif defined(HAVE_GSSAPI_GSSAPI_H) | 33454 | #elif defined(HAVE_GSSAPI_GSSAPI_H) |
@@ -17119,26 +33461,156 @@ fi | |||
17119 | # include <gssapi/gssapi_generic.h> | 33461 | # include <gssapi/gssapi_generic.h> |
17120 | #endif | 33462 | #endif |
17121 | 33463 | ||
17122 | " | 33464 | |
17123 | if test "x$ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" = xyes; then : | 33465 | int |
17124 | ac_have_decl=1 | 33466 | main () |
33467 | { | ||
33468 | #ifndef GSS_C_NT_HOSTBASED_SERVICE | ||
33469 | (void) GSS_C_NT_HOSTBASED_SERVICE; | ||
33470 | #endif | ||
33471 | |||
33472 | ; | ||
33473 | return 0; | ||
33474 | } | ||
33475 | _ACEOF | ||
33476 | rm -f conftest.$ac_objext | ||
33477 | if { (ac_try="$ac_compile" | ||
33478 | case "(($ac_try" in | ||
33479 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33480 | *) ac_try_echo=$ac_try;; | ||
33481 | esac | ||
33482 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33483 | (eval "$ac_compile") 2>conftest.er1 | ||
33484 | ac_status=$? | ||
33485 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33486 | rm -f conftest.er1 | ||
33487 | cat conftest.err >&5 | ||
33488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33489 | (exit $ac_status); } && { | ||
33490 | test -z "$ac_c_werror_flag" || | ||
33491 | test ! -s conftest.err | ||
33492 | } && test -s conftest.$ac_objext; then | ||
33493 | ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE=yes | ||
17125 | else | 33494 | else |
17126 | ac_have_decl=0 | 33495 | echo "$as_me: failed program was:" >&5 |
33496 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33497 | |||
33498 | ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE=no | ||
33499 | fi | ||
33500 | |||
33501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
17127 | fi | 33502 | fi |
33503 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" >&5 | ||
33504 | echo "${ECHO_T}$ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE" >&6; } | ||
33505 | if test $ac_cv_have_decl_GSS_C_NT_HOSTBASED_SERVICE = yes; then | ||
17128 | 33506 | ||
17129 | cat >>confdefs.h <<_ACEOF | 33507 | cat >>confdefs.h <<_ACEOF |
17130 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE $ac_have_decl | 33508 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE 1 |
17131 | _ACEOF | 33509 | _ACEOF |
17132 | 33510 | ||
33511 | |||
33512 | else | ||
33513 | cat >>confdefs.h <<_ACEOF | ||
33514 | #define HAVE_DECL_GSS_C_NT_HOSTBASED_SERVICE 0 | ||
33515 | _ACEOF | ||
33516 | |||
33517 | |||
33518 | fi | ||
33519 | |||
33520 | |||
17133 | saved_LIBS="$LIBS" | 33521 | saved_LIBS="$LIBS" |
17134 | LIBS="$LIBS $K5LIBS" | 33522 | LIBS="$LIBS $K5LIBS" |
17135 | for ac_func in krb5_cc_new_unique krb5_get_error_message krb5_free_error_message | 33523 | |
17136 | do : | 33524 | |
17137 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 33525 | |
17138 | ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 33526 | for ac_func in krb5_cc_new_unique krb5_get_error_message krb5_free_error_message |
17139 | if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 33527 | do |
33528 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | ||
33529 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 | ||
33530 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | ||
33531 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | ||
33532 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
33533 | else | ||
33534 | cat >conftest.$ac_ext <<_ACEOF | ||
33535 | /* confdefs.h. */ | ||
33536 | _ACEOF | ||
33537 | cat confdefs.h >>conftest.$ac_ext | ||
33538 | cat >>conftest.$ac_ext <<_ACEOF | ||
33539 | /* end confdefs.h. */ | ||
33540 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | ||
33541 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
33542 | #define $ac_func innocuous_$ac_func | ||
33543 | |||
33544 | /* System header to define __stub macros and hopefully few prototypes, | ||
33545 | which can conflict with char $ac_func (); below. | ||
33546 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
33547 | <limits.h> exists even on freestanding compilers. */ | ||
33548 | |||
33549 | #ifdef __STDC__ | ||
33550 | # include <limits.h> | ||
33551 | #else | ||
33552 | # include <assert.h> | ||
33553 | #endif | ||
33554 | |||
33555 | #undef $ac_func | ||
33556 | |||
33557 | /* Override any GCC internal prototype to avoid an error. | ||
33558 | Use char because int might match the return type of a GCC | ||
33559 | builtin and then its argument prototype would still apply. */ | ||
33560 | #ifdef __cplusplus | ||
33561 | extern "C" | ||
33562 | #endif | ||
33563 | char $ac_func (); | ||
33564 | /* The GNU C library defines this for functions which it implements | ||
33565 | to always fail with ENOSYS. Some functions are actually named | ||
33566 | something starting with __ and the normal name is an alias. */ | ||
33567 | #if defined __stub_$ac_func || defined __stub___$ac_func | ||
33568 | choke me | ||
33569 | #endif | ||
33570 | |||
33571 | int | ||
33572 | main () | ||
33573 | { | ||
33574 | return $ac_func (); | ||
33575 | ; | ||
33576 | return 0; | ||
33577 | } | ||
33578 | _ACEOF | ||
33579 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
33580 | if { (ac_try="$ac_link" | ||
33581 | case "(($ac_try" in | ||
33582 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33583 | *) ac_try_echo=$ac_try;; | ||
33584 | esac | ||
33585 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33586 | (eval "$ac_link") 2>conftest.er1 | ||
33587 | ac_status=$? | ||
33588 | grep -v '^ *+' conftest.er1 >conftest.err | ||
33589 | rm -f conftest.er1 | ||
33590 | cat conftest.err >&5 | ||
33591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33592 | (exit $ac_status); } && { | ||
33593 | test -z "$ac_c_werror_flag" || | ||
33594 | test ! -s conftest.err | ||
33595 | } && test -s conftest$ac_exeext && | ||
33596 | $as_test_x conftest$ac_exeext; then | ||
33597 | eval "$as_ac_var=yes" | ||
33598 | else | ||
33599 | echo "$as_me: failed program was:" >&5 | ||
33600 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33601 | |||
33602 | eval "$as_ac_var=no" | ||
33603 | fi | ||
33604 | |||
33605 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | ||
33606 | conftest$ac_exeext conftest.$ac_ext | ||
33607 | fi | ||
33608 | ac_res=`eval echo '${'$as_ac_var'}'` | ||
33609 | { echo "$as_me:$LINENO: result: $ac_res" >&5 | ||
33610 | echo "${ECHO_T}$ac_res" >&6; } | ||
33611 | if test `eval echo '${'$as_ac_var'}'` = yes; then | ||
17140 | cat >>confdefs.h <<_ACEOF | 33612 | cat >>confdefs.h <<_ACEOF |
17141 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 33613 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17142 | _ACEOF | 33614 | _ACEOF |
17143 | 33615 | ||
17144 | fi | 33616 | fi |
@@ -17159,7 +33631,7 @@ fi | |||
17159 | PRIVSEP_PATH=/var/empty | 33631 | PRIVSEP_PATH=/var/empty |
17160 | 33632 | ||
17161 | # Check whether --with-privsep-path was given. | 33633 | # Check whether --with-privsep-path was given. |
17162 | if test "${with_privsep_path+set}" = set; then : | 33634 | if test "${with_privsep_path+set}" = set; then |
17163 | withval=$with_privsep_path; | 33635 | withval=$with_privsep_path; |
17164 | if test -n "$withval" && test "x$withval" != "xno" && \ | 33636 | if test -n "$withval" && test "x$withval" != "xno" && \ |
17165 | test "x${withval}" != "xyes"; then | 33637 | test "x${withval}" != "xyes"; then |
@@ -17173,7 +33645,7 @@ fi | |||
17173 | 33645 | ||
17174 | 33646 | ||
17175 | # Check whether --with-xauth was given. | 33647 | # Check whether --with-xauth was given. |
17176 | if test "${with_xauth+set}" = set; then : | 33648 | if test "${with_xauth+set}" = set; then |
17177 | withval=$with_xauth; | 33649 | withval=$with_xauth; |
17178 | if test -n "$withval" && test "x$withval" != "xno" && \ | 33650 | if test -n "$withval" && test "x$withval" != "xno" && \ |
17179 | test "x${withval}" != "xyes"; then | 33651 | test "x${withval}" != "xyes"; then |
@@ -17189,10 +33661,10 @@ else | |||
17189 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" | 33661 | TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" |
17190 | # Extract the first word of "xauth", so it can be a program name with args. | 33662 | # Extract the first word of "xauth", so it can be a program name with args. |
17191 | set dummy xauth; ac_word=$2 | 33663 | set dummy xauth; ac_word=$2 |
17192 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 33664 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
17193 | $as_echo_n "checking for $ac_word... " >&6; } | 33665 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
17194 | if ${ac_cv_path_xauth_path+:} false; then : | 33666 | if test "${ac_cv_path_xauth_path+set}" = set; then |
17195 | $as_echo_n "(cached) " >&6 | 33667 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17196 | else | 33668 | else |
17197 | case $xauth_path in | 33669 | case $xauth_path in |
17198 | [\\/]* | ?:[\\/]*) | 33670 | [\\/]* | ?:[\\/]*) |
@@ -17204,14 +33676,14 @@ for as_dir in $TestPath | |||
17204 | do | 33676 | do |
17205 | IFS=$as_save_IFS | 33677 | IFS=$as_save_IFS |
17206 | test -z "$as_dir" && as_dir=. | 33678 | test -z "$as_dir" && as_dir=. |
17207 | for ac_exec_ext in '' $ac_executable_extensions; do | 33679 | for ac_exec_ext in '' $ac_executable_extensions; do |
17208 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 33680 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
17209 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" | 33681 | ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" |
17210 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 33682 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
17211 | break 2 | 33683 | break 2 |
17212 | fi | 33684 | fi |
17213 | done | 33685 | done |
17214 | done | 33686 | done |
17215 | IFS=$as_save_IFS | 33687 | IFS=$as_save_IFS |
17216 | 33688 | ||
17217 | ;; | 33689 | ;; |
@@ -17219,11 +33691,11 @@ esac | |||
17219 | fi | 33691 | fi |
17220 | xauth_path=$ac_cv_path_xauth_path | 33692 | xauth_path=$ac_cv_path_xauth_path |
17221 | if test -n "$xauth_path"; then | 33693 | if test -n "$xauth_path"; then |
17222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xauth_path" >&5 | 33694 | { echo "$as_me:$LINENO: result: $xauth_path" >&5 |
17223 | $as_echo "$xauth_path" >&6; } | 33695 | echo "${ECHO_T}$xauth_path" >&6; } |
17224 | else | 33696 | else |
17225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 33697 | { echo "$as_me:$LINENO: result: no" >&5 |
17226 | $as_echo "no" >&6; } | 33698 | echo "${ECHO_T}no" >&6; } |
17227 | fi | 33699 | fi |
17228 | 33700 | ||
17229 | 33701 | ||
@@ -17237,7 +33709,7 @@ fi | |||
17237 | 33709 | ||
17238 | STRIP_OPT=-s | 33710 | STRIP_OPT=-s |
17239 | # Check whether --enable-strip was given. | 33711 | # Check whether --enable-strip was given. |
17240 | if test "${enable_strip+set}" = set; then : | 33712 | if test "${enable_strip+set}" = set; then |
17241 | enableval=$enable_strip; | 33713 | enableval=$enable_strip; |
17242 | if test "x$enableval" = "xno" ; then | 33714 | if test "x$enableval" = "xno" ; then |
17243 | STRIP_OPT= | 33715 | STRIP_OPT= |
@@ -17264,7 +33736,7 @@ fi | |||
17264 | # Check for mail directory | 33736 | # Check for mail directory |
17265 | 33737 | ||
17266 | # Check whether --with-maildir was given. | 33738 | # Check whether --with-maildir was given. |
17267 | if test "${with_maildir+set}" = set; then : | 33739 | if test "${with_maildir+set}" = set; then |
17268 | withval=$with_maildir; | 33740 | withval=$with_maildir; |
17269 | if test "X$withval" != X && test "x$withval" != xno && \ | 33741 | if test "X$withval" != X && test "x$withval" != xno && \ |
17270 | test "x${withval}" != xyes; then | 33742 | test "x${withval}" != xyes; then |
@@ -17283,16 +33755,20 @@ else | |||
17283 | _ACEOF | 33755 | _ACEOF |
17284 | 33756 | ||
17285 | else | 33757 | else |
17286 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking Discovering system mail directory" >&5 | 33758 | { echo "$as_me:$LINENO: checking Discovering system mail directory" >&5 |
17287 | $as_echo_n "checking Discovering system mail directory... " >&6; } | 33759 | echo $ECHO_N "checking Discovering system mail directory... $ECHO_C" >&6; } |
17288 | if test "$cross_compiling" = yes; then : | 33760 | if test "$cross_compiling" = yes; then |
17289 | 33761 | ||
17290 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&5 | 33762 | { echo "$as_me:$LINENO: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&5 |
17291 | $as_echo "$as_me: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&2;} | 33763 | echo "$as_me: WARNING: cross compiling: use --with-maildir=/path/to/mail" >&2;} |
17292 | 33764 | ||
17293 | 33765 | ||
17294 | else | 33766 | else |
17295 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 33767 | cat >conftest.$ac_ext <<_ACEOF |
33768 | /* confdefs.h. */ | ||
33769 | _ACEOF | ||
33770 | cat confdefs.h >>conftest.$ac_ext | ||
33771 | cat >>conftest.$ac_ext <<_ACEOF | ||
17296 | /* end confdefs.h. */ | 33772 | /* end confdefs.h. */ |
17297 | 33773 | ||
17298 | #include <stdio.h> | 33774 | #include <stdio.h> |
@@ -17335,13 +33811,32 @@ main () | |||
17335 | return 0; | 33811 | return 0; |
17336 | } | 33812 | } |
17337 | _ACEOF | 33813 | _ACEOF |
17338 | if ac_fn_c_try_run "$LINENO"; then : | 33814 | rm -f conftest$ac_exeext |
33815 | if { (ac_try="$ac_link" | ||
33816 | case "(($ac_try" in | ||
33817 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33818 | *) ac_try_echo=$ac_try;; | ||
33819 | esac | ||
33820 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33821 | (eval "$ac_link") 2>&5 | ||
33822 | ac_status=$? | ||
33823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33824 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
33825 | { (case "(($ac_try" in | ||
33826 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
33827 | *) ac_try_echo=$ac_try;; | ||
33828 | esac | ||
33829 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
33830 | (eval "$ac_try") 2>&5 | ||
33831 | ac_status=$? | ||
33832 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
33833 | (exit $ac_status); }; }; then | ||
17339 | 33834 | ||
17340 | maildir_what=`awk -F: '{print $1}' conftest.maildir` | 33835 | maildir_what=`awk -F: '{print $1}' conftest.maildir` |
17341 | maildir=`awk -F: '{print $2}' conftest.maildir \ | 33836 | maildir=`awk -F: '{print $2}' conftest.maildir \ |
17342 | | sed 's|/$||'` | 33837 | | sed 's|/$||'` |
17343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using: $maildir from $maildir_what" >&5 | 33838 | { echo "$as_me:$LINENO: result: Using: $maildir from $maildir_what" >&5 |
17344 | $as_echo "Using: $maildir from $maildir_what" >&6; } | 33839 | echo "${ECHO_T}Using: $maildir from $maildir_what" >&6; } |
17345 | if test "x$maildir_what" != "x_PATH_MAILDIR"; then | 33840 | if test "x$maildir_what" != "x_PATH_MAILDIR"; then |
17346 | cat >>confdefs.h <<_ACEOF | 33841 | cat >>confdefs.h <<_ACEOF |
17347 | #define MAIL_DIRECTORY "$maildir" | 33842 | #define MAIL_DIRECTORY "$maildir" |
@@ -17350,25 +33845,30 @@ _ACEOF | |||
17350 | fi | 33845 | fi |
17351 | 33846 | ||
17352 | else | 33847 | else |
33848 | echo "$as_me: program exited with status $ac_status" >&5 | ||
33849 | echo "$as_me: failed program was:" >&5 | ||
33850 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
33851 | |||
33852 | ( exit $ac_status ) | ||
17353 | 33853 | ||
17354 | if test "X$ac_status" = "X2";then | 33854 | if test "X$ac_status" = "X2";then |
17355 | # our test program didn't find it. Default to /var/spool/mail | 33855 | # our test program didn't find it. Default to /var/spool/mail |
17356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using: default value of /var/spool/mail" >&5 | 33856 | { echo "$as_me:$LINENO: result: Using: default value of /var/spool/mail" >&5 |
17357 | $as_echo "Using: default value of /var/spool/mail" >&6; } | 33857 | echo "${ECHO_T}Using: default value of /var/spool/mail" >&6; } |
17358 | cat >>confdefs.h <<_ACEOF | 33858 | cat >>confdefs.h <<_ACEOF |
17359 | #define MAIL_DIRECTORY "/var/spool/mail" | 33859 | #define MAIL_DIRECTORY "/var/spool/mail" |
17360 | _ACEOF | 33860 | _ACEOF |
17361 | 33861 | ||
17362 | else | 33862 | else |
17363 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** not found ***" >&5 | 33863 | { echo "$as_me:$LINENO: result: *** not found ***" >&5 |
17364 | $as_echo "*** not found ***" >&6; } | 33864 | echo "${ECHO_T}*** not found ***" >&6; } |
17365 | fi | 33865 | fi |
17366 | 33866 | ||
17367 | fi | 33867 | fi |
17368 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 33868 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17369 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
17370 | fi | 33869 | fi |
17371 | 33870 | ||
33871 | |||
17372 | fi | 33872 | fi |
17373 | 33873 | ||
17374 | 33874 | ||
@@ -17376,30 +33876,30 @@ fi | |||
17376 | # maildir | 33876 | # maildir |
17377 | 33877 | ||
17378 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then | 33878 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then |
17379 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 | 33879 | { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 |
17380 | $as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} | 33880 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} |
17381 | disable_ptmx_check=yes | 33881 | disable_ptmx_check=yes |
17382 | fi | 33882 | fi |
17383 | if test -z "$no_dev_ptmx" ; then | 33883 | if test -z "$no_dev_ptmx" ; then |
17384 | if test "x$disable_ptmx_check" != "xyes" ; then | 33884 | if test "x$disable_ptmx_check" != "xyes" ; then |
17385 | as_ac_File=`$as_echo "ac_cv_file_"/dev/ptmx"" | $as_tr_sh` | 33885 | { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 |
17386 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptmx\"" >&5 | 33886 | echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; } |
17387 | $as_echo_n "checking for \"/dev/ptmx\"... " >&6; } | 33887 | if test "${ac_cv_file___dev_ptmx_+set}" = set; then |
17388 | if eval \${$as_ac_File+:} false; then : | 33888 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17389 | $as_echo_n "(cached) " >&6 | ||
17390 | else | 33889 | else |
17391 | test "$cross_compiling" = yes && | 33890 | test "$cross_compiling" = yes && |
17392 | as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 | 33891 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
33892 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
33893 | { (exit 1); exit 1; }; } | ||
17393 | if test -r ""/dev/ptmx""; then | 33894 | if test -r ""/dev/ptmx""; then |
17394 | eval "$as_ac_File=yes" | 33895 | ac_cv_file___dev_ptmx_=yes |
17395 | else | 33896 | else |
17396 | eval "$as_ac_File=no" | 33897 | ac_cv_file___dev_ptmx_=no |
17397 | fi | 33898 | fi |
17398 | fi | 33899 | fi |
17399 | eval ac_res=\$$as_ac_File | 33900 | { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 |
17400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 33901 | echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; } |
17401 | $as_echo "$ac_res" >&6; } | 33902 | if test $ac_cv_file___dev_ptmx_ = yes; then |
17402 | if eval test \"x\$"$as_ac_File"\" = x"yes"; then : | ||
17403 | 33903 | ||
17404 | 33904 | ||
17405 | cat >>confdefs.h <<_ACEOF | 33905 | cat >>confdefs.h <<_ACEOF |
@@ -17415,24 +33915,24 @@ fi | |||
17415 | fi | 33915 | fi |
17416 | 33916 | ||
17417 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then | 33917 | if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then |
17418 | as_ac_File=`$as_echo "ac_cv_file_"/dev/ptc"" | $as_tr_sh` | 33918 | { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 |
17419 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/ptc\"" >&5 | 33919 | echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; } |
17420 | $as_echo_n "checking for \"/dev/ptc\"... " >&6; } | 33920 | if test "${ac_cv_file___dev_ptc_+set}" = set; then |
17421 | if eval \${$as_ac_File+:} false; then : | 33921 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17422 | $as_echo_n "(cached) " >&6 | ||
17423 | else | 33922 | else |
17424 | test "$cross_compiling" = yes && | 33923 | test "$cross_compiling" = yes && |
17425 | as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 | 33924 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
33925 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
33926 | { (exit 1); exit 1; }; } | ||
17426 | if test -r ""/dev/ptc""; then | 33927 | if test -r ""/dev/ptc""; then |
17427 | eval "$as_ac_File=yes" | 33928 | ac_cv_file___dev_ptc_=yes |
17428 | else | 33929 | else |
17429 | eval "$as_ac_File=no" | 33930 | ac_cv_file___dev_ptc_=no |
17430 | fi | 33931 | fi |
17431 | fi | 33932 | fi |
17432 | eval ac_res=\$$as_ac_File | 33933 | { echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 |
17433 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 33934 | echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; } |
17434 | $as_echo "$ac_res" >&6; } | 33935 | if test $ac_cv_file___dev_ptc_ = yes; then |
17435 | if eval test \"x\$"$as_ac_File"\" = x"yes"; then : | ||
17436 | 33936 | ||
17437 | 33937 | ||
17438 | cat >>confdefs.h <<_ACEOF | 33938 | cat >>confdefs.h <<_ACEOF |
@@ -17445,21 +33945,23 @@ _ACEOF | |||
17445 | fi | 33945 | fi |
17446 | 33946 | ||
17447 | else | 33947 | else |
17448 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: Disabling /dev/ptc test" >&5 | 33948 | { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5 |
17449 | $as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} | 33949 | echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} |
17450 | fi | 33950 | fi |
17451 | 33951 | ||
17452 | # Options from here on. Some of these are preset by platform above | 33952 | # Options from here on. Some of these are preset by platform above |
17453 | 33953 | ||
17454 | # Check whether --with-mantype was given. | 33954 | # Check whether --with-mantype was given. |
17455 | if test "${with_mantype+set}" = set; then : | 33955 | if test "${with_mantype+set}" = set; then |
17456 | withval=$with_mantype; | 33956 | withval=$with_mantype; |
17457 | case "$withval" in | 33957 | case "$withval" in |
17458 | man|cat|doc) | 33958 | man|cat|doc) |
17459 | MANTYPE=$withval | 33959 | MANTYPE=$withval |
17460 | ;; | 33960 | ;; |
17461 | *) | 33961 | *) |
17462 | as_fn_error $? "invalid man type: $withval" "$LINENO" 5 | 33962 | { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 |
33963 | echo "$as_me: error: invalid man type: $withval" >&2;} | ||
33964 | { (exit 1); exit 1; }; } | ||
17463 | ;; | 33965 | ;; |
17464 | esac | 33966 | esac |
17465 | 33967 | ||
@@ -17472,10 +33974,10 @@ if test -z "$MANTYPE"; then | |||
17472 | do | 33974 | do |
17473 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 33975 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
17474 | set dummy $ac_prog; ac_word=$2 | 33976 | set dummy $ac_prog; ac_word=$2 |
17475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 33977 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
17476 | $as_echo_n "checking for $ac_word... " >&6; } | 33978 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
17477 | if ${ac_cv_path_NROFF+:} false; then : | 33979 | if test "${ac_cv_path_NROFF+set}" = set; then |
17478 | $as_echo_n "(cached) " >&6 | 33980 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17479 | else | 33981 | else |
17480 | case $NROFF in | 33982 | case $NROFF in |
17481 | [\\/]* | ?:[\\/]*) | 33983 | [\\/]* | ?:[\\/]*) |
@@ -17487,14 +33989,14 @@ for as_dir in $TestPath | |||
17487 | do | 33989 | do |
17488 | IFS=$as_save_IFS | 33990 | IFS=$as_save_IFS |
17489 | test -z "$as_dir" && as_dir=. | 33991 | test -z "$as_dir" && as_dir=. |
17490 | for ac_exec_ext in '' $ac_executable_extensions; do | 33992 | for ac_exec_ext in '' $ac_executable_extensions; do |
17491 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 33993 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
17492 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" | 33994 | ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" |
17493 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 33995 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
17494 | break 2 | 33996 | break 2 |
17495 | fi | 33997 | fi |
17496 | done | 33998 | done |
17497 | done | 33999 | done |
17498 | IFS=$as_save_IFS | 34000 | IFS=$as_save_IFS |
17499 | 34001 | ||
17500 | ;; | 34002 | ;; |
@@ -17502,11 +34004,11 @@ esac | |||
17502 | fi | 34004 | fi |
17503 | NROFF=$ac_cv_path_NROFF | 34005 | NROFF=$ac_cv_path_NROFF |
17504 | if test -n "$NROFF"; then | 34006 | if test -n "$NROFF"; then |
17505 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NROFF" >&5 | 34007 | { echo "$as_me:$LINENO: result: $NROFF" >&5 |
17506 | $as_echo "$NROFF" >&6; } | 34008 | echo "${ECHO_T}$NROFF" >&6; } |
17507 | else | 34009 | else |
17508 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34010 | { echo "$as_me:$LINENO: result: no" >&5 |
17509 | $as_echo "no" >&6; } | 34011 | echo "${ECHO_T}no" >&6; } |
17510 | fi | 34012 | fi |
17511 | 34013 | ||
17512 | 34014 | ||
@@ -17534,11 +34036,13 @@ fi | |||
17534 | MD5_MSG="no" | 34036 | MD5_MSG="no" |
17535 | 34037 | ||
17536 | # Check whether --with-md5-passwords was given. | 34038 | # Check whether --with-md5-passwords was given. |
17537 | if test "${with_md5_passwords+set}" = set; then : | 34039 | if test "${with_md5_passwords+set}" = set; then |
17538 | withval=$with_md5_passwords; | 34040 | withval=$with_md5_passwords; |
17539 | if test "x$withval" != "xno" ; then | 34041 | if test "x$withval" != "xno" ; then |
17540 | 34042 | ||
17541 | $as_echo "#define HAVE_MD5_PASSWORDS 1" >>confdefs.h | 34043 | cat >>confdefs.h <<\_ACEOF |
34044 | #define HAVE_MD5_PASSWORDS 1 | ||
34045 | _ACEOF | ||
17542 | 34046 | ||
17543 | MD5_MSG="yes" | 34047 | MD5_MSG="yes" |
17544 | fi | 34048 | fi |
@@ -17550,10 +34054,12 @@ fi | |||
17550 | # Whether to disable shadow password support | 34054 | # Whether to disable shadow password support |
17551 | 34055 | ||
17552 | # Check whether --with-shadow was given. | 34056 | # Check whether --with-shadow was given. |
17553 | if test "${with_shadow+set}" = set; then : | 34057 | if test "${with_shadow+set}" = set; then |
17554 | withval=$with_shadow; | 34058 | withval=$with_shadow; |
17555 | if test "x$withval" = "xno" ; then | 34059 | if test "x$withval" = "xno" ; then |
17556 | $as_echo "#define DISABLE_SHADOW 1" >>confdefs.h | 34060 | cat >>confdefs.h <<\_ACEOF |
34061 | #define DISABLE_SHADOW 1 | ||
34062 | _ACEOF | ||
17557 | 34063 | ||
17558 | disable_shadow=yes | 34064 | disable_shadow=yes |
17559 | fi | 34065 | fi |
@@ -17563,9 +34069,13 @@ fi | |||
17563 | 34069 | ||
17564 | 34070 | ||
17565 | if test -z "$disable_shadow" ; then | 34071 | if test -z "$disable_shadow" ; then |
17566 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the systems has expire shadow information" >&5 | 34072 | { echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 |
17567 | $as_echo_n "checking if the systems has expire shadow information... " >&6; } | 34073 | echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6; } |
17568 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34074 | cat >conftest.$ac_ext <<_ACEOF |
34075 | /* confdefs.h. */ | ||
34076 | _ACEOF | ||
34077 | cat confdefs.h >>conftest.$ac_ext | ||
34078 | cat >>conftest.$ac_ext <<_ACEOF | ||
17569 | /* end confdefs.h. */ | 34079 | /* end confdefs.h. */ |
17570 | 34080 | ||
17571 | #include <sys/types.h> | 34081 | #include <sys/types.h> |
@@ -17580,20 +34090,45 @@ main () | |||
17580 | return 0; | 34090 | return 0; |
17581 | } | 34091 | } |
17582 | _ACEOF | 34092 | _ACEOF |
17583 | if ac_fn_c_try_compile "$LINENO"; then : | 34093 | rm -f conftest.$ac_objext |
34094 | if { (ac_try="$ac_compile" | ||
34095 | case "(($ac_try" in | ||
34096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34097 | *) ac_try_echo=$ac_try;; | ||
34098 | esac | ||
34099 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34100 | (eval "$ac_compile") 2>conftest.er1 | ||
34101 | ac_status=$? | ||
34102 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34103 | rm -f conftest.er1 | ||
34104 | cat conftest.err >&5 | ||
34105 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34106 | (exit $ac_status); } && { | ||
34107 | test -z "$ac_c_werror_flag" || | ||
34108 | test ! -s conftest.err | ||
34109 | } && test -s conftest.$ac_objext; then | ||
17584 | sp_expire_available=yes | 34110 | sp_expire_available=yes |
34111 | else | ||
34112 | echo "$as_me: failed program was:" >&5 | ||
34113 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34114 | |||
34115 | |||
34116 | |||
17585 | fi | 34117 | fi |
34118 | |||
17586 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 34119 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17587 | 34120 | ||
17588 | if test "x$sp_expire_available" = "xyes" ; then | 34121 | if test "x$sp_expire_available" = "xyes" ; then |
17589 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34122 | { echo "$as_me:$LINENO: result: yes" >&5 |
17590 | $as_echo "yes" >&6; } | 34123 | echo "${ECHO_T}yes" >&6; } |
17591 | 34124 | ||
17592 | $as_echo "#define HAS_SHADOW_EXPIRE 1" >>confdefs.h | 34125 | cat >>confdefs.h <<\_ACEOF |
34126 | #define HAS_SHADOW_EXPIRE 1 | ||
34127 | _ACEOF | ||
17593 | 34128 | ||
17594 | else | 34129 | else |
17595 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34130 | { echo "$as_me:$LINENO: result: no" >&5 |
17596 | $as_echo "no" >&6; } | 34131 | echo "${ECHO_T}no" >&6; } |
17597 | fi | 34132 | fi |
17598 | fi | 34133 | fi |
17599 | 34134 | ||
@@ -17601,16 +34136,20 @@ fi | |||
17601 | if test ! -z "$IPADDR_IN_DISPLAY" ; then | 34136 | if test ! -z "$IPADDR_IN_DISPLAY" ; then |
17602 | DISPLAY_HACK_MSG="yes" | 34137 | DISPLAY_HACK_MSG="yes" |
17603 | 34138 | ||
17604 | $as_echo "#define IPADDR_IN_DISPLAY 1" >>confdefs.h | 34139 | cat >>confdefs.h <<\_ACEOF |
34140 | #define IPADDR_IN_DISPLAY 1 | ||
34141 | _ACEOF | ||
17605 | 34142 | ||
17606 | else | 34143 | else |
17607 | DISPLAY_HACK_MSG="no" | 34144 | DISPLAY_HACK_MSG="no" |
17608 | 34145 | ||
17609 | # Check whether --with-ipaddr-display was given. | 34146 | # Check whether --with-ipaddr-display was given. |
17610 | if test "${with_ipaddr_display+set}" = set; then : | 34147 | if test "${with_ipaddr_display+set}" = set; then |
17611 | withval=$with_ipaddr_display; | 34148 | withval=$with_ipaddr_display; |
17612 | if test "x$withval" != "xno" ; then | 34149 | if test "x$withval" != "xno" ; then |
17613 | $as_echo "#define IPADDR_IN_DISPLAY 1" >>confdefs.h | 34150 | cat >>confdefs.h <<\_ACEOF |
34151 | #define IPADDR_IN_DISPLAY 1 | ||
34152 | _ACEOF | ||
17614 | 34153 | ||
17615 | DISPLAY_HACK_MSG="yes" | 34154 | DISPLAY_HACK_MSG="yes" |
17616 | fi | 34155 | fi |
@@ -17622,10 +34161,10 @@ fi | |||
17622 | 34161 | ||
17623 | # check for /etc/default/login and use it if present. | 34162 | # check for /etc/default/login and use it if present. |
17624 | # Check whether --enable-etc-default-login was given. | 34163 | # Check whether --enable-etc-default-login was given. |
17625 | if test "${enable_etc_default_login+set}" = set; then : | 34164 | if test "${enable_etc_default_login+set}" = set; then |
17626 | enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then | 34165 | enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then |
17627 | { $as_echo "$as_me:${as_lineno-$LINENO}: /etc/default/login handling disabled" >&5 | 34166 | { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5 |
17628 | $as_echo "$as_me: /etc/default/login handling disabled" >&6;} | 34167 | echo "$as_me: /etc/default/login handling disabled" >&6;} |
17629 | etc_default_login=no | 34168 | etc_default_login=no |
17630 | else | 34169 | else |
17631 | etc_default_login=yes | 34170 | etc_default_login=yes |
@@ -17633,8 +34172,8 @@ $as_echo "$as_me: /etc/default/login handling disabled" >&6;} | |||
17633 | else | 34172 | else |
17634 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; | 34173 | if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; |
17635 | then | 34174 | then |
17636 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking /etc/default/login" >&5 | 34175 | { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5 |
17637 | $as_echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} | 34176 | echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} |
17638 | etc_default_login=no | 34177 | etc_default_login=no |
17639 | else | 34178 | else |
17640 | etc_default_login=yes | 34179 | etc_default_login=yes |
@@ -17644,30 +34183,32 @@ fi | |||
17644 | 34183 | ||
17645 | 34184 | ||
17646 | if test "x$etc_default_login" != "xno"; then | 34185 | if test "x$etc_default_login" != "xno"; then |
17647 | as_ac_File=`$as_echo "ac_cv_file_"/etc/default/login"" | $as_tr_sh` | 34186 | { echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 |
17648 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/etc/default/login\"" >&5 | 34187 | echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6; } |
17649 | $as_echo_n "checking for \"/etc/default/login\"... " >&6; } | 34188 | if test "${ac_cv_file___etc_default_login_+set}" = set; then |
17650 | if eval \${$as_ac_File+:} false; then : | 34189 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17651 | $as_echo_n "(cached) " >&6 | ||
17652 | else | 34190 | else |
17653 | test "$cross_compiling" = yes && | 34191 | test "$cross_compiling" = yes && |
17654 | as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5 | 34192 | { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 |
34193 | echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} | ||
34194 | { (exit 1); exit 1; }; } | ||
17655 | if test -r ""/etc/default/login""; then | 34195 | if test -r ""/etc/default/login""; then |
17656 | eval "$as_ac_File=yes" | 34196 | ac_cv_file___etc_default_login_=yes |
17657 | else | 34197 | else |
17658 | eval "$as_ac_File=no" | 34198 | ac_cv_file___etc_default_login_=no |
17659 | fi | 34199 | fi |
17660 | fi | 34200 | fi |
17661 | eval ac_res=\$$as_ac_File | 34201 | { echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5 |
17662 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 34202 | echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6; } |
17663 | $as_echo "$ac_res" >&6; } | 34203 | if test $ac_cv_file___etc_default_login_ = yes; then |
17664 | if eval test \"x\$"$as_ac_File"\" = x"yes"; then : | ||
17665 | external_path_file=/etc/default/login | 34204 | external_path_file=/etc/default/login |
17666 | fi | 34205 | fi |
17667 | 34206 | ||
17668 | if test "x$external_path_file" = "x/etc/default/login"; then | 34207 | if test "x$external_path_file" = "x/etc/default/login"; then |
17669 | 34208 | ||
17670 | $as_echo "#define HAVE_ETC_DEFAULT_LOGIN 1" >>confdefs.h | 34209 | cat >>confdefs.h <<\_ACEOF |
34210 | #define HAVE_ETC_DEFAULT_LOGIN 1 | ||
34211 | _ACEOF | ||
17671 | 34212 | ||
17672 | fi | 34213 | fi |
17673 | fi | 34214 | fi |
@@ -17681,21 +34222,21 @@ fi | |||
17681 | SERVER_PATH_MSG="(default)" | 34222 | SERVER_PATH_MSG="(default)" |
17682 | 34223 | ||
17683 | # Check whether --with-default-path was given. | 34224 | # Check whether --with-default-path was given. |
17684 | if test "${with_default_path+set}" = set; then : | 34225 | if test "${with_default_path+set}" = set; then |
17685 | withval=$with_default_path; | 34226 | withval=$with_default_path; |
17686 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 34227 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
17687 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | 34228 | { echo "$as_me:$LINENO: WARNING: |
17688 | --with-default-path=PATH has no effect on this system. | 34229 | --with-default-path=PATH has no effect on this system. |
17689 | Edit /etc/login.conf instead." >&5 | 34230 | Edit /etc/login.conf instead." >&5 |
17690 | $as_echo "$as_me: WARNING: | 34231 | echo "$as_me: WARNING: |
17691 | --with-default-path=PATH has no effect on this system. | 34232 | --with-default-path=PATH has no effect on this system. |
17692 | Edit /etc/login.conf instead." >&2;} | 34233 | Edit /etc/login.conf instead." >&2;} |
17693 | elif test "x$withval" != "xno" ; then | 34234 | elif test "x$withval" != "xno" ; then |
17694 | if test ! -z "$external_path_file" ; then | 34235 | if test ! -z "$external_path_file" ; then |
17695 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | 34236 | { echo "$as_me:$LINENO: WARNING: |
17696 | --with-default-path=PATH will only be used if PATH is not defined in | 34237 | --with-default-path=PATH will only be used if PATH is not defined in |
17697 | $external_path_file ." >&5 | 34238 | $external_path_file ." >&5 |
17698 | $as_echo "$as_me: WARNING: | 34239 | echo "$as_me: WARNING: |
17699 | --with-default-path=PATH will only be used if PATH is not defined in | 34240 | --with-default-path=PATH will only be used if PATH is not defined in |
17700 | $external_path_file ." >&2;} | 34241 | $external_path_file ." >&2;} |
17701 | fi | 34242 | fi |
@@ -17705,22 +34246,26 @@ $external_path_file ." >&2;} | |||
17705 | 34246 | ||
17706 | else | 34247 | else |
17707 | if test "x$external_path_file" = "x/etc/login.conf" ; then | 34248 | if test "x$external_path_file" = "x/etc/login.conf" ; then |
17708 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 | 34249 | { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 |
17709 | $as_echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} | 34250 | echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} |
17710 | else | 34251 | else |
17711 | if test ! -z "$external_path_file" ; then | 34252 | if test ! -z "$external_path_file" ; then |
17712 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | 34253 | { echo "$as_me:$LINENO: WARNING: |
17713 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 34254 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
17714 | otherwise scp will not work." >&5 | 34255 | otherwise scp will not work." >&5 |
17715 | $as_echo "$as_me: WARNING: | 34256 | echo "$as_me: WARNING: |
17716 | If PATH is defined in $external_path_file, ensure the path to scp is included, | 34257 | If PATH is defined in $external_path_file, ensure the path to scp is included, |
17717 | otherwise scp will not work." >&2;} | 34258 | otherwise scp will not work." >&2;} |
17718 | fi | 34259 | fi |
17719 | if test "$cross_compiling" = yes; then : | 34260 | if test "$cross_compiling" = yes; then |
17720 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | 34261 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" |
17721 | 34262 | ||
17722 | else | 34263 | else |
17723 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34264 | cat >conftest.$ac_ext <<_ACEOF |
34265 | /* confdefs.h. */ | ||
34266 | _ACEOF | ||
34267 | cat confdefs.h >>conftest.$ac_ext | ||
34268 | cat >>conftest.$ac_ext <<_ACEOF | ||
17724 | /* end confdefs.h. */ | 34269 | /* end confdefs.h. */ |
17725 | 34270 | ||
17726 | /* find out what STDPATH is */ | 34271 | /* find out what STDPATH is */ |
@@ -17760,15 +34305,39 @@ main () | |||
17760 | return 0; | 34305 | return 0; |
17761 | } | 34306 | } |
17762 | _ACEOF | 34307 | _ACEOF |
17763 | if ac_fn_c_try_run "$LINENO"; then : | 34308 | rm -f conftest$ac_exeext |
34309 | if { (ac_try="$ac_link" | ||
34310 | case "(($ac_try" in | ||
34311 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34312 | *) ac_try_echo=$ac_try;; | ||
34313 | esac | ||
34314 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34315 | (eval "$ac_link") 2>&5 | ||
34316 | ac_status=$? | ||
34317 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34318 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | ||
34319 | { (case "(($ac_try" in | ||
34320 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34321 | *) ac_try_echo=$ac_try;; | ||
34322 | esac | ||
34323 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34324 | (eval "$ac_try") 2>&5 | ||
34325 | ac_status=$? | ||
34326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34327 | (exit $ac_status); }; }; then | ||
17764 | user_path=`cat conftest.stdpath` | 34328 | user_path=`cat conftest.stdpath` |
17765 | else | 34329 | else |
17766 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | 34330 | echo "$as_me: program exited with status $ac_status" >&5 |
34331 | echo "$as_me: failed program was:" >&5 | ||
34332 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34333 | |||
34334 | ( exit $ac_status ) | ||
34335 | user_path="/usr/bin:/bin:/usr/sbin:/sbin" | ||
17767 | fi | 34336 | fi |
17768 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 34337 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17769 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
17770 | fi | 34338 | fi |
17771 | 34339 | ||
34340 | |||
17772 | # make sure $bindir is in USER_PATH so scp will work | 34341 | # make sure $bindir is in USER_PATH so scp will work |
17773 | t_bindir="${bindir}" | 34342 | t_bindir="${bindir}" |
17774 | while echo "${t_bindir}" | egrep '\$\{|NONE/' >/dev/null 2>&1; do | 34343 | while echo "${t_bindir}" | egrep '\$\{|NONE/' >/dev/null 2>&1; do |
@@ -17785,8 +34354,8 @@ fi | |||
17785 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 | 34354 | echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 |
17786 | if test $? -ne 0 ; then | 34355 | if test $? -ne 0 ; then |
17787 | user_path=$user_path:$t_bindir | 34356 | user_path=$user_path:$t_bindir |
17788 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Adding $t_bindir to USER_PATH so scp will work" >&5 | 34357 | { echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 |
17789 | $as_echo "Adding $t_bindir to USER_PATH so scp will work" >&6; } | 34358 | echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6; } |
17790 | fi | 34359 | fi |
17791 | fi | 34360 | fi |
17792 | fi | 34361 | fi |
@@ -17805,7 +34374,7 @@ fi | |||
17805 | # Set superuser path separately to user path | 34374 | # Set superuser path separately to user path |
17806 | 34375 | ||
17807 | # Check whether --with-superuser-path was given. | 34376 | # Check whether --with-superuser-path was given. |
17808 | if test "${with_superuser_path+set}" = set; then : | 34377 | if test "${with_superuser_path+set}" = set; then |
17809 | withval=$with_superuser_path; | 34378 | withval=$with_superuser_path; |
17810 | if test -n "$withval" && test "x$withval" != "xno" && \ | 34379 | if test -n "$withval" && test "x$withval" != "xno" && \ |
17811 | test "x${withval}" != "xyes"; then | 34380 | test "x${withval}" != "xyes"; then |
@@ -17822,36 +34391,40 @@ fi | |||
17822 | 34391 | ||
17823 | 34392 | ||
17824 | 34393 | ||
17825 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 | 34394 | { echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 |
17826 | $as_echo_n "checking if we need to convert IPv4 in IPv6-mapped addresses... " >&6; } | 34395 | echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6; } |
17827 | IPV4_IN6_HACK_MSG="no" | 34396 | IPV4_IN6_HACK_MSG="no" |
17828 | 34397 | ||
17829 | # Check whether --with-4in6 was given. | 34398 | # Check whether --with-4in6 was given. |
17830 | if test "${with_4in6+set}" = set; then : | 34399 | if test "${with_4in6+set}" = set; then |
17831 | withval=$with_4in6; | 34400 | withval=$with_4in6; |
17832 | if test "x$withval" != "xno" ; then | 34401 | if test "x$withval" != "xno" ; then |
17833 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34402 | { echo "$as_me:$LINENO: result: yes" >&5 |
17834 | $as_echo "yes" >&6; } | 34403 | echo "${ECHO_T}yes" >&6; } |
17835 | 34404 | ||
17836 | $as_echo "#define IPV4_IN_IPV6 1" >>confdefs.h | 34405 | cat >>confdefs.h <<\_ACEOF |
34406 | #define IPV4_IN_IPV6 1 | ||
34407 | _ACEOF | ||
17837 | 34408 | ||
17838 | IPV4_IN6_HACK_MSG="yes" | 34409 | IPV4_IN6_HACK_MSG="yes" |
17839 | else | 34410 | else |
17840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34411 | { echo "$as_me:$LINENO: result: no" >&5 |
17841 | $as_echo "no" >&6; } | 34412 | echo "${ECHO_T}no" >&6; } |
17842 | fi | 34413 | fi |
17843 | 34414 | ||
17844 | else | 34415 | else |
17845 | 34416 | ||
17846 | if test "x$inet6_default_4in6" = "xyes"; then | 34417 | if test "x$inet6_default_4in6" = "xyes"; then |
17847 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (default)" >&5 | 34418 | { echo "$as_me:$LINENO: result: yes (default)" >&5 |
17848 | $as_echo "yes (default)" >&6; } | 34419 | echo "${ECHO_T}yes (default)" >&6; } |
17849 | $as_echo "#define IPV4_IN_IPV6 1" >>confdefs.h | 34420 | cat >>confdefs.h <<\_ACEOF |
34421 | #define IPV4_IN_IPV6 1 | ||
34422 | _ACEOF | ||
17850 | 34423 | ||
17851 | IPV4_IN6_HACK_MSG="yes" | 34424 | IPV4_IN6_HACK_MSG="yes" |
17852 | else | 34425 | else |
17853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 | 34426 | { echo "$as_me:$LINENO: result: no (default)" >&5 |
17854 | $as_echo "no (default)" >&6; } | 34427 | echo "${ECHO_T}no (default)" >&6; } |
17855 | fi | 34428 | fi |
17856 | 34429 | ||
17857 | 34430 | ||
@@ -17862,11 +34435,13 @@ fi | |||
17862 | BSD_AUTH_MSG=no | 34435 | BSD_AUTH_MSG=no |
17863 | 34436 | ||
17864 | # Check whether --with-bsd-auth was given. | 34437 | # Check whether --with-bsd-auth was given. |
17865 | if test "${with_bsd_auth+set}" = set; then : | 34438 | if test "${with_bsd_auth+set}" = set; then |
17866 | withval=$with_bsd_auth; | 34439 | withval=$with_bsd_auth; |
17867 | if test "x$withval" != "xno" ; then | 34440 | if test "x$withval" != "xno" ; then |
17868 | 34441 | ||
17869 | $as_echo "#define BSD_AUTH 1" >>confdefs.h | 34442 | cat >>confdefs.h <<\_ACEOF |
34443 | #define BSD_AUTH 1 | ||
34444 | _ACEOF | ||
17870 | 34445 | ||
17871 | BSD_AUTH_MSG=yes | 34446 | BSD_AUTH_MSG=yes |
17872 | fi | 34447 | fi |
@@ -17887,14 +34462,14 @@ fi | |||
17887 | 34462 | ||
17888 | 34463 | ||
17889 | # Check whether --with-pid-dir was given. | 34464 | # Check whether --with-pid-dir was given. |
17890 | if test "${with_pid_dir+set}" = set; then : | 34465 | if test "${with_pid_dir+set}" = set; then |
17891 | withval=$with_pid_dir; | 34466 | withval=$with_pid_dir; |
17892 | if test -n "$withval" && test "x$withval" != "xno" && \ | 34467 | if test -n "$withval" && test "x$withval" != "xno" && \ |
17893 | test "x${withval}" != "xyes"; then | 34468 | test "x${withval}" != "xyes"; then |
17894 | piddir=$withval | 34469 | piddir=$withval |
17895 | if test ! -d $piddir ; then | 34470 | if test ! -d $piddir ; then |
17896 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** no $piddir directory on this system **" >&5 | 34471 | { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 |
17897 | $as_echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} | 34472 | echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} |
17898 | fi | 34473 | fi |
17899 | fi | 34474 | fi |
17900 | 34475 | ||
@@ -17910,10 +34485,12 @@ _ACEOF | |||
17910 | 34485 | ||
17911 | 34486 | ||
17912 | # Check whether --enable-lastlog was given. | 34487 | # Check whether --enable-lastlog was given. |
17913 | if test "${enable_lastlog+set}" = set; then : | 34488 | if test "${enable_lastlog+set}" = set; then |
17914 | enableval=$enable_lastlog; | 34489 | enableval=$enable_lastlog; |
17915 | if test "x$enableval" = "xno" ; then | 34490 | if test "x$enableval" = "xno" ; then |
17916 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h | 34491 | cat >>confdefs.h <<\_ACEOF |
34492 | #define DISABLE_LASTLOG 1 | ||
34493 | _ACEOF | ||
17917 | 34494 | ||
17918 | fi | 34495 | fi |
17919 | 34496 | ||
@@ -17921,10 +34498,12 @@ if test "${enable_lastlog+set}" = set; then : | |||
17921 | fi | 34498 | fi |
17922 | 34499 | ||
17923 | # Check whether --enable-utmp was given. | 34500 | # Check whether --enable-utmp was given. |
17924 | if test "${enable_utmp+set}" = set; then : | 34501 | if test "${enable_utmp+set}" = set; then |
17925 | enableval=$enable_utmp; | 34502 | enableval=$enable_utmp; |
17926 | if test "x$enableval" = "xno" ; then | 34503 | if test "x$enableval" = "xno" ; then |
17927 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | 34504 | cat >>confdefs.h <<\_ACEOF |
34505 | #define DISABLE_UTMP 1 | ||
34506 | _ACEOF | ||
17928 | 34507 | ||
17929 | fi | 34508 | fi |
17930 | 34509 | ||
@@ -17932,11 +34511,13 @@ if test "${enable_utmp+set}" = set; then : | |||
17932 | fi | 34511 | fi |
17933 | 34512 | ||
17934 | # Check whether --enable-utmpx was given. | 34513 | # Check whether --enable-utmpx was given. |
17935 | if test "${enable_utmpx+set}" = set; then : | 34514 | if test "${enable_utmpx+set}" = set; then |
17936 | enableval=$enable_utmpx; | 34515 | enableval=$enable_utmpx; |
17937 | if test "x$enableval" = "xno" ; then | 34516 | if test "x$enableval" = "xno" ; then |
17938 | 34517 | ||
17939 | $as_echo "#define DISABLE_UTMPX 1" >>confdefs.h | 34518 | cat >>confdefs.h <<\_ACEOF |
34519 | #define DISABLE_UTMPX 1 | ||
34520 | _ACEOF | ||
17940 | 34521 | ||
17941 | fi | 34522 | fi |
17942 | 34523 | ||
@@ -17944,10 +34525,12 @@ $as_echo "#define DISABLE_UTMPX 1" >>confdefs.h | |||
17944 | fi | 34525 | fi |
17945 | 34526 | ||
17946 | # Check whether --enable-wtmp was given. | 34527 | # Check whether --enable-wtmp was given. |
17947 | if test "${enable_wtmp+set}" = set; then : | 34528 | if test "${enable_wtmp+set}" = set; then |
17948 | enableval=$enable_wtmp; | 34529 | enableval=$enable_wtmp; |
17949 | if test "x$enableval" = "xno" ; then | 34530 | if test "x$enableval" = "xno" ; then |
17950 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h | 34531 | cat >>confdefs.h <<\_ACEOF |
34532 | #define DISABLE_WTMP 1 | ||
34533 | _ACEOF | ||
17951 | 34534 | ||
17952 | fi | 34535 | fi |
17953 | 34536 | ||
@@ -17955,11 +34538,13 @@ if test "${enable_wtmp+set}" = set; then : | |||
17955 | fi | 34538 | fi |
17956 | 34539 | ||
17957 | # Check whether --enable-wtmpx was given. | 34540 | # Check whether --enable-wtmpx was given. |
17958 | if test "${enable_wtmpx+set}" = set; then : | 34541 | if test "${enable_wtmpx+set}" = set; then |
17959 | enableval=$enable_wtmpx; | 34542 | enableval=$enable_wtmpx; |
17960 | if test "x$enableval" = "xno" ; then | 34543 | if test "x$enableval" = "xno" ; then |
17961 | 34544 | ||
17962 | $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h | 34545 | cat >>confdefs.h <<\_ACEOF |
34546 | #define DISABLE_WTMPX 1 | ||
34547 | _ACEOF | ||
17963 | 34548 | ||
17964 | fi | 34549 | fi |
17965 | 34550 | ||
@@ -17967,10 +34552,12 @@ $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h | |||
17967 | fi | 34552 | fi |
17968 | 34553 | ||
17969 | # Check whether --enable-libutil was given. | 34554 | # Check whether --enable-libutil was given. |
17970 | if test "${enable_libutil+set}" = set; then : | 34555 | if test "${enable_libutil+set}" = set; then |
17971 | enableval=$enable_libutil; | 34556 | enableval=$enable_libutil; |
17972 | if test "x$enableval" = "xno" ; then | 34557 | if test "x$enableval" = "xno" ; then |
17973 | $as_echo "#define DISABLE_LOGIN 1" >>confdefs.h | 34558 | cat >>confdefs.h <<\_ACEOF |
34559 | #define DISABLE_LOGIN 1 | ||
34560 | _ACEOF | ||
17974 | 34561 | ||
17975 | fi | 34562 | fi |
17976 | 34563 | ||
@@ -17978,11 +34565,13 @@ if test "${enable_libutil+set}" = set; then : | |||
17978 | fi | 34565 | fi |
17979 | 34566 | ||
17980 | # Check whether --enable-pututline was given. | 34567 | # Check whether --enable-pututline was given. |
17981 | if test "${enable_pututline+set}" = set; then : | 34568 | if test "${enable_pututline+set}" = set; then |
17982 | enableval=$enable_pututline; | 34569 | enableval=$enable_pututline; |
17983 | if test "x$enableval" = "xno" ; then | 34570 | if test "x$enableval" = "xno" ; then |
17984 | 34571 | ||
17985 | $as_echo "#define DISABLE_PUTUTLINE 1" >>confdefs.h | 34572 | cat >>confdefs.h <<\_ACEOF |
34573 | #define DISABLE_PUTUTLINE 1 | ||
34574 | _ACEOF | ||
17986 | 34575 | ||
17987 | fi | 34576 | fi |
17988 | 34577 | ||
@@ -17990,11 +34579,13 @@ $as_echo "#define DISABLE_PUTUTLINE 1" >>confdefs.h | |||
17990 | fi | 34579 | fi |
17991 | 34580 | ||
17992 | # Check whether --enable-pututxline was given. | 34581 | # Check whether --enable-pututxline was given. |
17993 | if test "${enable_pututxline+set}" = set; then : | 34582 | if test "${enable_pututxline+set}" = set; then |
17994 | enableval=$enable_pututxline; | 34583 | enableval=$enable_pututxline; |
17995 | if test "x$enableval" = "xno" ; then | 34584 | if test "x$enableval" = "xno" ; then |
17996 | 34585 | ||
17997 | $as_echo "#define DISABLE_PUTUTXLINE 1" >>confdefs.h | 34586 | cat >>confdefs.h <<\_ACEOF |
34587 | #define DISABLE_PUTUTXLINE 1 | ||
34588 | _ACEOF | ||
17998 | 34589 | ||
17999 | fi | 34590 | fi |
18000 | 34591 | ||
@@ -18003,10 +34594,12 @@ fi | |||
18003 | 34594 | ||
18004 | 34595 | ||
18005 | # Check whether --with-lastlog was given. | 34596 | # Check whether --with-lastlog was given. |
18006 | if test "${with_lastlog+set}" = set; then : | 34597 | if test "${with_lastlog+set}" = set; then |
18007 | withval=$with_lastlog; | 34598 | withval=$with_lastlog; |
18008 | if test "x$withval" = "xno" ; then | 34599 | if test "x$withval" = "xno" ; then |
18009 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h | 34600 | cat >>confdefs.h <<\_ACEOF |
34601 | #define DISABLE_LASTLOG 1 | ||
34602 | _ACEOF | ||
18010 | 34603 | ||
18011 | elif test -n "$withval" && test "x${withval}" != "xyes"; then | 34604 | elif test -n "$withval" && test "x${withval}" != "xyes"; then |
18012 | conf_lastlog_location=$withval | 34605 | conf_lastlog_location=$withval |
@@ -18017,9 +34610,13 @@ fi | |||
18017 | 34610 | ||
18018 | 34611 | ||
18019 | 34612 | ||
18020 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines LASTLOG_FILE" >&5 | 34613 | { echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 |
18021 | $as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; } | 34614 | echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; } |
18022 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34615 | cat >conftest.$ac_ext <<_ACEOF |
34616 | /* confdefs.h. */ | ||
34617 | _ACEOF | ||
34618 | cat confdefs.h >>conftest.$ac_ext | ||
34619 | cat >>conftest.$ac_ext <<_ACEOF | ||
18023 | /* end confdefs.h. */ | 34620 | /* end confdefs.h. */ |
18024 | 34621 | ||
18025 | #include <sys/types.h> | 34622 | #include <sys/types.h> |
@@ -18042,16 +34639,39 @@ main () | |||
18042 | return 0; | 34639 | return 0; |
18043 | } | 34640 | } |
18044 | _ACEOF | 34641 | _ACEOF |
18045 | if ac_fn_c_try_compile "$LINENO"; then : | 34642 | rm -f conftest.$ac_objext |
18046 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34643 | if { (ac_try="$ac_compile" |
18047 | $as_echo "yes" >&6; } | 34644 | case "(($ac_try" in |
34645 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34646 | *) ac_try_echo=$ac_try;; | ||
34647 | esac | ||
34648 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34649 | (eval "$ac_compile") 2>conftest.er1 | ||
34650 | ac_status=$? | ||
34651 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34652 | rm -f conftest.er1 | ||
34653 | cat conftest.err >&5 | ||
34654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34655 | (exit $ac_status); } && { | ||
34656 | test -z "$ac_c_werror_flag" || | ||
34657 | test ! -s conftest.err | ||
34658 | } && test -s conftest.$ac_objext; then | ||
34659 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
34660 | echo "${ECHO_T}yes" >&6; } | ||
18048 | else | 34661 | else |
34662 | echo "$as_me: failed program was:" >&5 | ||
34663 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
34664 | |||
18049 | 34665 | ||
18050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34666 | { echo "$as_me:$LINENO: result: no" >&5 |
18051 | $as_echo "no" >&6; } | 34667 | echo "${ECHO_T}no" >&6; } |
18052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines _PATH_LASTLOG" >&5 | 34668 | { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 |
18053 | $as_echo_n "checking if your system defines _PATH_LASTLOG... " >&6; } | 34669 | echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; } |
18054 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34670 | cat >conftest.$ac_ext <<_ACEOF |
34671 | /* confdefs.h. */ | ||
34672 | _ACEOF | ||
34673 | cat confdefs.h >>conftest.$ac_ext | ||
34674 | cat >>conftest.$ac_ext <<_ACEOF | ||
18055 | /* end confdefs.h. */ | 34675 | /* end confdefs.h. */ |
18056 | 34676 | ||
18057 | #include <sys/types.h> | 34677 | #include <sys/types.h> |
@@ -18071,19 +34691,40 @@ main () | |||
18071 | return 0; | 34691 | return 0; |
18072 | } | 34692 | } |
18073 | _ACEOF | 34693 | _ACEOF |
18074 | if ac_fn_c_try_compile "$LINENO"; then : | 34694 | rm -f conftest.$ac_objext |
18075 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34695 | if { (ac_try="$ac_compile" |
18076 | $as_echo "yes" >&6; } | 34696 | case "(($ac_try" in |
34697 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34698 | *) ac_try_echo=$ac_try;; | ||
34699 | esac | ||
34700 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34701 | (eval "$ac_compile") 2>conftest.er1 | ||
34702 | ac_status=$? | ||
34703 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34704 | rm -f conftest.er1 | ||
34705 | cat conftest.err >&5 | ||
34706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34707 | (exit $ac_status); } && { | ||
34708 | test -z "$ac_c_werror_flag" || | ||
34709 | test ! -s conftest.err | ||
34710 | } && test -s conftest.$ac_objext; then | ||
34711 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
34712 | echo "${ECHO_T}yes" >&6; } | ||
18077 | else | 34713 | else |
34714 | echo "$as_me: failed program was:" >&5 | ||
34715 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
18078 | 34716 | ||
18079 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34717 | |
18080 | $as_echo "no" >&6; } | 34718 | { echo "$as_me:$LINENO: result: no" >&5 |
34719 | echo "${ECHO_T}no" >&6; } | ||
18081 | system_lastlog_path=no | 34720 | system_lastlog_path=no |
18082 | 34721 | ||
18083 | fi | 34722 | fi |
34723 | |||
18084 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 34724 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18085 | 34725 | ||
18086 | fi | 34726 | fi |
34727 | |||
18087 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 34728 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18088 | 34729 | ||
18089 | if test -z "$conf_lastlog_location"; then | 34730 | if test -z "$conf_lastlog_location"; then |
@@ -18094,8 +34735,8 @@ if test -z "$conf_lastlog_location"; then | |||
18094 | fi | 34735 | fi |
18095 | done | 34736 | done |
18096 | if test -z "$conf_lastlog_location"; then | 34737 | if test -z "$conf_lastlog_location"; then |
18097 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ** Cannot find lastlog **" >&5 | 34738 | { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 |
18098 | $as_echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} | 34739 | echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} |
18099 | fi | 34740 | fi |
18100 | fi | 34741 | fi |
18101 | fi | 34742 | fi |
@@ -18108,9 +34749,13 @@ _ACEOF | |||
18108 | 34749 | ||
18109 | fi | 34750 | fi |
18110 | 34751 | ||
18111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines UTMP_FILE" >&5 | 34752 | { echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 |
18112 | $as_echo_n "checking if your system defines UTMP_FILE... " >&6; } | 34753 | echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; } |
18113 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34754 | cat >conftest.$ac_ext <<_ACEOF |
34755 | /* confdefs.h. */ | ||
34756 | _ACEOF | ||
34757 | cat confdefs.h >>conftest.$ac_ext | ||
34758 | cat >>conftest.$ac_ext <<_ACEOF | ||
18114 | /* end confdefs.h. */ | 34759 | /* end confdefs.h. */ |
18115 | 34760 | ||
18116 | #include <sys/types.h> | 34761 | #include <sys/types.h> |
@@ -18127,15 +34772,35 @@ main () | |||
18127 | return 0; | 34772 | return 0; |
18128 | } | 34773 | } |
18129 | _ACEOF | 34774 | _ACEOF |
18130 | if ac_fn_c_try_compile "$LINENO"; then : | 34775 | rm -f conftest.$ac_objext |
18131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34776 | if { (ac_try="$ac_compile" |
18132 | $as_echo "yes" >&6; } | 34777 | case "(($ac_try" in |
34778 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34779 | *) ac_try_echo=$ac_try;; | ||
34780 | esac | ||
34781 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34782 | (eval "$ac_compile") 2>conftest.er1 | ||
34783 | ac_status=$? | ||
34784 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34785 | rm -f conftest.er1 | ||
34786 | cat conftest.err >&5 | ||
34787 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34788 | (exit $ac_status); } && { | ||
34789 | test -z "$ac_c_werror_flag" || | ||
34790 | test ! -s conftest.err | ||
34791 | } && test -s conftest.$ac_objext; then | ||
34792 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
34793 | echo "${ECHO_T}yes" >&6; } | ||
18133 | else | 34794 | else |
18134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34795 | echo "$as_me: failed program was:" >&5 |
18135 | $as_echo "no" >&6; } | 34796 | sed 's/^/| /' conftest.$ac_ext >&5 |
34797 | |||
34798 | { echo "$as_me:$LINENO: result: no" >&5 | ||
34799 | echo "${ECHO_T}no" >&6; } | ||
18136 | system_utmp_path=no | 34800 | system_utmp_path=no |
18137 | 34801 | ||
18138 | fi | 34802 | fi |
34803 | |||
18139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 34804 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18140 | if test -z "$conf_utmp_location"; then | 34805 | if test -z "$conf_utmp_location"; then |
18141 | if test x"$system_utmp_path" = x"no" ; then | 34806 | if test x"$system_utmp_path" = x"no" ; then |
@@ -18145,7 +34810,9 @@ if test -z "$conf_utmp_location"; then | |||
18145 | fi | 34810 | fi |
18146 | done | 34811 | done |
18147 | if test -z "$conf_utmp_location"; then | 34812 | if test -z "$conf_utmp_location"; then |
18148 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | 34813 | cat >>confdefs.h <<\_ACEOF |
34814 | #define DISABLE_UTMP 1 | ||
34815 | _ACEOF | ||
18149 | 34816 | ||
18150 | fi | 34817 | fi |
18151 | fi | 34818 | fi |
@@ -18158,9 +34825,13 @@ _ACEOF | |||
18158 | 34825 | ||
18159 | fi | 34826 | fi |
18160 | 34827 | ||
18161 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMP_FILE" >&5 | 34828 | { echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 |
18162 | $as_echo_n "checking if your system defines WTMP_FILE... " >&6; } | 34829 | echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; } |
18163 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34830 | cat >conftest.$ac_ext <<_ACEOF |
34831 | /* confdefs.h. */ | ||
34832 | _ACEOF | ||
34833 | cat confdefs.h >>conftest.$ac_ext | ||
34834 | cat >>conftest.$ac_ext <<_ACEOF | ||
18164 | /* end confdefs.h. */ | 34835 | /* end confdefs.h. */ |
18165 | 34836 | ||
18166 | #include <sys/types.h> | 34837 | #include <sys/types.h> |
@@ -18177,15 +34848,35 @@ main () | |||
18177 | return 0; | 34848 | return 0; |
18178 | } | 34849 | } |
18179 | _ACEOF | 34850 | _ACEOF |
18180 | if ac_fn_c_try_compile "$LINENO"; then : | 34851 | rm -f conftest.$ac_objext |
18181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34852 | if { (ac_try="$ac_compile" |
18182 | $as_echo "yes" >&6; } | 34853 | case "(($ac_try" in |
34854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34855 | *) ac_try_echo=$ac_try;; | ||
34856 | esac | ||
34857 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34858 | (eval "$ac_compile") 2>conftest.er1 | ||
34859 | ac_status=$? | ||
34860 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34861 | rm -f conftest.er1 | ||
34862 | cat conftest.err >&5 | ||
34863 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34864 | (exit $ac_status); } && { | ||
34865 | test -z "$ac_c_werror_flag" || | ||
34866 | test ! -s conftest.err | ||
34867 | } && test -s conftest.$ac_objext; then | ||
34868 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
34869 | echo "${ECHO_T}yes" >&6; } | ||
18183 | else | 34870 | else |
18184 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34871 | echo "$as_me: failed program was:" >&5 |
18185 | $as_echo "no" >&6; } | 34872 | sed 's/^/| /' conftest.$ac_ext >&5 |
34873 | |||
34874 | { echo "$as_me:$LINENO: result: no" >&5 | ||
34875 | echo "${ECHO_T}no" >&6; } | ||
18186 | system_wtmp_path=no | 34876 | system_wtmp_path=no |
18187 | 34877 | ||
18188 | fi | 34878 | fi |
34879 | |||
18189 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 34880 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18190 | if test -z "$conf_wtmp_location"; then | 34881 | if test -z "$conf_wtmp_location"; then |
18191 | if test x"$system_wtmp_path" = x"no" ; then | 34882 | if test x"$system_wtmp_path" = x"no" ; then |
@@ -18195,7 +34886,9 @@ if test -z "$conf_wtmp_location"; then | |||
18195 | fi | 34886 | fi |
18196 | done | 34887 | done |
18197 | if test -z "$conf_wtmp_location"; then | 34888 | if test -z "$conf_wtmp_location"; then |
18198 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h | 34889 | cat >>confdefs.h <<\_ACEOF |
34890 | #define DISABLE_WTMP 1 | ||
34891 | _ACEOF | ||
18199 | 34892 | ||
18200 | fi | 34893 | fi |
18201 | fi | 34894 | fi |
@@ -18208,9 +34901,13 @@ _ACEOF | |||
18208 | 34901 | ||
18209 | fi | 34902 | fi |
18210 | 34903 | ||
18211 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if your system defines WTMPX_FILE" >&5 | 34904 | { echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 |
18212 | $as_echo_n "checking if your system defines WTMPX_FILE... " >&6; } | 34905 | echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; } |
18213 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 34906 | cat >conftest.$ac_ext <<_ACEOF |
34907 | /* confdefs.h. */ | ||
34908 | _ACEOF | ||
34909 | cat confdefs.h >>conftest.$ac_ext | ||
34910 | cat >>conftest.$ac_ext <<_ACEOF | ||
18214 | /* end confdefs.h. */ | 34911 | /* end confdefs.h. */ |
18215 | 34912 | ||
18216 | #include <sys/types.h> | 34913 | #include <sys/types.h> |
@@ -18230,19 +34927,41 @@ main () | |||
18230 | return 0; | 34927 | return 0; |
18231 | } | 34928 | } |
18232 | _ACEOF | 34929 | _ACEOF |
18233 | if ac_fn_c_try_compile "$LINENO"; then : | 34930 | rm -f conftest.$ac_objext |
18234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 34931 | if { (ac_try="$ac_compile" |
18235 | $as_echo "yes" >&6; } | 34932 | case "(($ac_try" in |
34933 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
34934 | *) ac_try_echo=$ac_try;; | ||
34935 | esac | ||
34936 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
34937 | (eval "$ac_compile") 2>conftest.er1 | ||
34938 | ac_status=$? | ||
34939 | grep -v '^ *+' conftest.er1 >conftest.err | ||
34940 | rm -f conftest.er1 | ||
34941 | cat conftest.err >&5 | ||
34942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
34943 | (exit $ac_status); } && { | ||
34944 | test -z "$ac_c_werror_flag" || | ||
34945 | test ! -s conftest.err | ||
34946 | } && test -s conftest.$ac_objext; then | ||
34947 | { echo "$as_me:$LINENO: result: yes" >&5 | ||
34948 | echo "${ECHO_T}yes" >&6; } | ||
18236 | else | 34949 | else |
18237 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 34950 | echo "$as_me: failed program was:" >&5 |
18238 | $as_echo "no" >&6; } | 34951 | sed 's/^/| /' conftest.$ac_ext >&5 |
34952 | |||
34953 | { echo "$as_me:$LINENO: result: no" >&5 | ||
34954 | echo "${ECHO_T}no" >&6; } | ||
18239 | system_wtmpx_path=no | 34955 | system_wtmpx_path=no |
18240 | 34956 | ||
18241 | fi | 34957 | fi |
34958 | |||
18242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 34959 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
18243 | if test -z "$conf_wtmpx_location"; then | 34960 | if test -z "$conf_wtmpx_location"; then |
18244 | if test x"$system_wtmpx_path" = x"no" ; then | 34961 | if test x"$system_wtmpx_path" = x"no" ; then |
18245 | $as_echo "#define DISABLE_WTMPX 1" >>confdefs.h | 34962 | cat >>confdefs.h <<\_ACEOF |
34963 | #define DISABLE_WTMPX 1 | ||
34964 | _ACEOF | ||
18246 | 34965 | ||
18247 | fi | 34966 | fi |
18248 | else | 34967 | else |
@@ -18256,11 +34975,75 @@ fi | |||
18256 | 34975 | ||
18257 | if test ! -z "$blibpath" ; then | 34976 | if test ! -z "$blibpath" ; then |
18258 | LDFLAGS="$LDFLAGS $blibflags$blibpath" | 34977 | LDFLAGS="$LDFLAGS $blibflags$blibpath" |
18259 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 | 34978 | { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 |
18260 | $as_echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} | 34979 | echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} |
18261 | fi | 34980 | fi |
18262 | 34981 | ||
18263 | ac_fn_c_check_member "$LINENO" "struct lastlog" "ll_line" "ac_cv_member_struct_lastlog_ll_line" " | 34982 | { echo "$as_me:$LINENO: checking for struct lastlog.ll_line" >&5 |
34983 | echo $ECHO_N "checking for struct lastlog.ll_line... $ECHO_C" >&6; } | ||
34984 | if test "${ac_cv_member_struct_lastlog_ll_line+set}" = set; then | ||
34985 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
34986 | else | ||
34987 | cat >conftest.$ac_ext <<_ACEOF | ||
34988 | /* confdefs.h. */ | ||
34989 | _ACEOF | ||
34990 | cat confdefs.h >>conftest.$ac_ext | ||
34991 | cat >>conftest.$ac_ext <<_ACEOF | ||
34992 | /* end confdefs.h. */ | ||
34993 | |||
34994 | #ifdef HAVE_SYS_TYPES_H | ||
34995 | #include <sys/types.h> | ||
34996 | #endif | ||
34997 | #ifdef HAVE_UTMP_H | ||
34998 | #include <utmp.h> | ||
34999 | #endif | ||
35000 | #ifdef HAVE_UTMPX_H | ||
35001 | #include <utmpx.h> | ||
35002 | #endif | ||
35003 | #ifdef HAVE_LASTLOG_H | ||
35004 | #include <lastlog.h> | ||
35005 | #endif | ||
35006 | |||
35007 | |||
35008 | int | ||
35009 | main () | ||
35010 | { | ||
35011 | static struct lastlog ac_aggr; | ||
35012 | if (ac_aggr.ll_line) | ||
35013 | return 0; | ||
35014 | ; | ||
35015 | return 0; | ||
35016 | } | ||
35017 | _ACEOF | ||
35018 | rm -f conftest.$ac_objext | ||
35019 | if { (ac_try="$ac_compile" | ||
35020 | case "(($ac_try" in | ||
35021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35022 | *) ac_try_echo=$ac_try;; | ||
35023 | esac | ||
35024 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35025 | (eval "$ac_compile") 2>conftest.er1 | ||
35026 | ac_status=$? | ||
35027 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35028 | rm -f conftest.er1 | ||
35029 | cat conftest.err >&5 | ||
35030 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35031 | (exit $ac_status); } && { | ||
35032 | test -z "$ac_c_werror_flag" || | ||
35033 | test ! -s conftest.err | ||
35034 | } && test -s conftest.$ac_objext; then | ||
35035 | ac_cv_member_struct_lastlog_ll_line=yes | ||
35036 | else | ||
35037 | echo "$as_me: failed program was:" >&5 | ||
35038 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35039 | |||
35040 | cat >conftest.$ac_ext <<_ACEOF | ||
35041 | /* confdefs.h. */ | ||
35042 | _ACEOF | ||
35043 | cat confdefs.h >>conftest.$ac_ext | ||
35044 | cat >>conftest.$ac_ext <<_ACEOF | ||
35045 | /* end confdefs.h. */ | ||
35046 | |||
18264 | #ifdef HAVE_SYS_TYPES_H | 35047 | #ifdef HAVE_SYS_TYPES_H |
18265 | #include <sys/types.h> | 35048 | #include <sys/types.h> |
18266 | #endif | 35049 | #endif |
@@ -18274,20 +35057,128 @@ ac_fn_c_check_member "$LINENO" "struct lastlog" "ll_line" "ac_cv_member_struct_l | |||
18274 | #include <lastlog.h> | 35057 | #include <lastlog.h> |
18275 | #endif | 35058 | #endif |
18276 | 35059 | ||
18277 | " | ||
18278 | if test "x$ac_cv_member_struct_lastlog_ll_line" = xyes; then : | ||
18279 | 35060 | ||
35061 | int | ||
35062 | main () | ||
35063 | { | ||
35064 | static struct lastlog ac_aggr; | ||
35065 | if (sizeof ac_aggr.ll_line) | ||
35066 | return 0; | ||
35067 | ; | ||
35068 | return 0; | ||
35069 | } | ||
35070 | _ACEOF | ||
35071 | rm -f conftest.$ac_objext | ||
35072 | if { (ac_try="$ac_compile" | ||
35073 | case "(($ac_try" in | ||
35074 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35075 | *) ac_try_echo=$ac_try;; | ||
35076 | esac | ||
35077 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35078 | (eval "$ac_compile") 2>conftest.er1 | ||
35079 | ac_status=$? | ||
35080 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35081 | rm -f conftest.er1 | ||
35082 | cat conftest.err >&5 | ||
35083 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35084 | (exit $ac_status); } && { | ||
35085 | test -z "$ac_c_werror_flag" || | ||
35086 | test ! -s conftest.err | ||
35087 | } && test -s conftest.$ac_objext; then | ||
35088 | ac_cv_member_struct_lastlog_ll_line=yes | ||
35089 | else | ||
35090 | echo "$as_me: failed program was:" >&5 | ||
35091 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35092 | |||
35093 | ac_cv_member_struct_lastlog_ll_line=no | ||
35094 | fi | ||
35095 | |||
35096 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
35097 | fi | ||
35098 | |||
35099 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
35100 | fi | ||
35101 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_lastlog_ll_line" >&5 | ||
35102 | echo "${ECHO_T}$ac_cv_member_struct_lastlog_ll_line" >&6; } | ||
35103 | if test $ac_cv_member_struct_lastlog_ll_line = yes; then | ||
35104 | : | ||
18280 | else | 35105 | else |
18281 | 35106 | ||
18282 | if test x$SKIP_DISABLE_LASTLOG_DEFINE != "xyes" ; then | 35107 | if test x$SKIP_DISABLE_LASTLOG_DEFINE != "xyes" ; then |
18283 | $as_echo "#define DISABLE_LASTLOG 1" >>confdefs.h | 35108 | cat >>confdefs.h <<\_ACEOF |
35109 | #define DISABLE_LASTLOG 1 | ||
35110 | _ACEOF | ||
18284 | 35111 | ||
18285 | fi | 35112 | fi |
18286 | 35113 | ||
18287 | fi | 35114 | fi |
18288 | 35115 | ||
18289 | 35116 | ||
18290 | ac_fn_c_check_member "$LINENO" "struct utmp" "ut_line" "ac_cv_member_struct_utmp_ut_line" " | 35117 | { echo "$as_me:$LINENO: checking for struct utmp.ut_line" >&5 |
35118 | echo $ECHO_N "checking for struct utmp.ut_line... $ECHO_C" >&6; } | ||
35119 | if test "${ac_cv_member_struct_utmp_ut_line+set}" = set; then | ||
35120 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
35121 | else | ||
35122 | cat >conftest.$ac_ext <<_ACEOF | ||
35123 | /* confdefs.h. */ | ||
35124 | _ACEOF | ||
35125 | cat confdefs.h >>conftest.$ac_ext | ||
35126 | cat >>conftest.$ac_ext <<_ACEOF | ||
35127 | /* end confdefs.h. */ | ||
35128 | |||
35129 | #ifdef HAVE_SYS_TYPES_H | ||
35130 | #include <sys/types.h> | ||
35131 | #endif | ||
35132 | #ifdef HAVE_UTMP_H | ||
35133 | #include <utmp.h> | ||
35134 | #endif | ||
35135 | #ifdef HAVE_UTMPX_H | ||
35136 | #include <utmpx.h> | ||
35137 | #endif | ||
35138 | #ifdef HAVE_LASTLOG_H | ||
35139 | #include <lastlog.h> | ||
35140 | #endif | ||
35141 | |||
35142 | |||
35143 | int | ||
35144 | main () | ||
35145 | { | ||
35146 | static struct utmp ac_aggr; | ||
35147 | if (ac_aggr.ut_line) | ||
35148 | return 0; | ||
35149 | ; | ||
35150 | return 0; | ||
35151 | } | ||
35152 | _ACEOF | ||
35153 | rm -f conftest.$ac_objext | ||
35154 | if { (ac_try="$ac_compile" | ||
35155 | case "(($ac_try" in | ||
35156 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35157 | *) ac_try_echo=$ac_try;; | ||
35158 | esac | ||
35159 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35160 | (eval "$ac_compile") 2>conftest.er1 | ||
35161 | ac_status=$? | ||
35162 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35163 | rm -f conftest.er1 | ||
35164 | cat conftest.err >&5 | ||
35165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35166 | (exit $ac_status); } && { | ||
35167 | test -z "$ac_c_werror_flag" || | ||
35168 | test ! -s conftest.err | ||
35169 | } && test -s conftest.$ac_objext; then | ||
35170 | ac_cv_member_struct_utmp_ut_line=yes | ||
35171 | else | ||
35172 | echo "$as_me: failed program was:" >&5 | ||
35173 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35174 | |||
35175 | cat >conftest.$ac_ext <<_ACEOF | ||
35176 | /* confdefs.h. */ | ||
35177 | _ACEOF | ||
35178 | cat confdefs.h >>conftest.$ac_ext | ||
35179 | cat >>conftest.$ac_ext <<_ACEOF | ||
35180 | /* end confdefs.h. */ | ||
35181 | |||
18291 | #ifdef HAVE_SYS_TYPES_H | 35182 | #ifdef HAVE_SYS_TYPES_H |
18292 | #include <sys/types.h> | 35183 | #include <sys/types.h> |
18293 | #endif | 35184 | #endif |
@@ -18301,14 +35192,60 @@ ac_fn_c_check_member "$LINENO" "struct utmp" "ut_line" "ac_cv_member_struct_utmp | |||
18301 | #include <lastlog.h> | 35192 | #include <lastlog.h> |
18302 | #endif | 35193 | #endif |
18303 | 35194 | ||
18304 | " | ||
18305 | if test "x$ac_cv_member_struct_utmp_ut_line" = xyes; then : | ||
18306 | 35195 | ||
35196 | int | ||
35197 | main () | ||
35198 | { | ||
35199 | static struct utmp ac_aggr; | ||
35200 | if (sizeof ac_aggr.ut_line) | ||
35201 | return 0; | ||
35202 | ; | ||
35203 | return 0; | ||
35204 | } | ||
35205 | _ACEOF | ||
35206 | rm -f conftest.$ac_objext | ||
35207 | if { (ac_try="$ac_compile" | ||
35208 | case "(($ac_try" in | ||
35209 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35210 | *) ac_try_echo=$ac_try;; | ||
35211 | esac | ||
35212 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35213 | (eval "$ac_compile") 2>conftest.er1 | ||
35214 | ac_status=$? | ||
35215 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35216 | rm -f conftest.er1 | ||
35217 | cat conftest.err >&5 | ||
35218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35219 | (exit $ac_status); } && { | ||
35220 | test -z "$ac_c_werror_flag" || | ||
35221 | test ! -s conftest.err | ||
35222 | } && test -s conftest.$ac_objext; then | ||
35223 | ac_cv_member_struct_utmp_ut_line=yes | ||
35224 | else | ||
35225 | echo "$as_me: failed program was:" >&5 | ||
35226 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35227 | |||
35228 | ac_cv_member_struct_utmp_ut_line=no | ||
35229 | fi | ||
35230 | |||
35231 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
35232 | fi | ||
35233 | |||
35234 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
35235 | fi | ||
35236 | { echo "$as_me:$LINENO: result: $ac_cv_member_struct_utmp_ut_line" >&5 | ||
35237 | echo "${ECHO_T}$ac_cv_member_struct_utmp_ut_line" >&6; } | ||
35238 | if test $ac_cv_member_struct_utmp_ut_line = yes; then | ||
35239 | : | ||
18307 | else | 35240 | else |
18308 | 35241 | ||
18309 | $as_echo "#define DISABLE_UTMP 1" >>confdefs.h | 35242 | cat >>confdefs.h <<\_ACEOF |
35243 | #define DISABLE_UTMP 1 | ||
35244 | _ACEOF | ||
18310 | 35245 | ||
18311 | $as_echo "#define DISABLE_WTMP 1" >>confdefs.h | 35246 | cat >>confdefs.h <<\_ACEOF |
35247 | #define DISABLE_WTMP 1 | ||
35248 | _ACEOF | ||
18312 | 35249 | ||
18313 | 35250 | ||
18314 | fi | 35251 | fi |
@@ -18321,8 +35258,59 @@ if test "x$ac_cv_func_getaddrinfo" != "xyes" ; then | |||
18321 | else | 35258 | else |
18322 | TEST_SSH_IPV6=yes | 35259 | TEST_SSH_IPV6=yes |
18323 | fi | 35260 | fi |
18324 | ac_fn_c_check_decl "$LINENO" "BROKEN_GETADDRINFO" "ac_cv_have_decl_BROKEN_GETADDRINFO" "$ac_includes_default" | 35261 | { echo "$as_me:$LINENO: checking whether BROKEN_GETADDRINFO is declared" >&5 |
18325 | if test "x$ac_cv_have_decl_BROKEN_GETADDRINFO" = xyes; then : | 35262 | echo $ECHO_N "checking whether BROKEN_GETADDRINFO is declared... $ECHO_C" >&6; } |
35263 | if test "${ac_cv_have_decl_BROKEN_GETADDRINFO+set}" = set; then | ||
35264 | echo $ECHO_N "(cached) $ECHO_C" >&6 | ||
35265 | else | ||
35266 | cat >conftest.$ac_ext <<_ACEOF | ||
35267 | /* confdefs.h. */ | ||
35268 | _ACEOF | ||
35269 | cat confdefs.h >>conftest.$ac_ext | ||
35270 | cat >>conftest.$ac_ext <<_ACEOF | ||
35271 | /* end confdefs.h. */ | ||
35272 | $ac_includes_default | ||
35273 | int | ||
35274 | main () | ||
35275 | { | ||
35276 | #ifndef BROKEN_GETADDRINFO | ||
35277 | (void) BROKEN_GETADDRINFO; | ||
35278 | #endif | ||
35279 | |||
35280 | ; | ||
35281 | return 0; | ||
35282 | } | ||
35283 | _ACEOF | ||
35284 | rm -f conftest.$ac_objext | ||
35285 | if { (ac_try="$ac_compile" | ||
35286 | case "(($ac_try" in | ||
35287 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
35288 | *) ac_try_echo=$ac_try;; | ||
35289 | esac | ||
35290 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | ||
35291 | (eval "$ac_compile") 2>conftest.er1 | ||
35292 | ac_status=$? | ||
35293 | grep -v '^ *+' conftest.er1 >conftest.err | ||
35294 | rm -f conftest.er1 | ||
35295 | cat conftest.err >&5 | ||
35296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
35297 | (exit $ac_status); } && { | ||
35298 | test -z "$ac_c_werror_flag" || | ||
35299 | test ! -s conftest.err | ||
35300 | } && test -s conftest.$ac_objext; then | ||
35301 | ac_cv_have_decl_BROKEN_GETADDRINFO=yes | ||
35302 | else | ||
35303 | echo "$as_me: failed program was:" >&5 | ||
35304 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
35305 | |||
35306 | ac_cv_have_decl_BROKEN_GETADDRINFO=no | ||
35307 | fi | ||
35308 | |||
35309 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
35310 | fi | ||
35311 | { echo "$as_me:$LINENO: result: $ac_cv_have_decl_BROKEN_GETADDRINFO" >&5 | ||
35312 | echo "${ECHO_T}$ac_cv_have_decl_BROKEN_GETADDRINFO" >&6; } | ||
35313 | if test $ac_cv_have_decl_BROKEN_GETADDRINFO = yes; then | ||
18326 | TEST_SSH_IPV6=no | 35314 | TEST_SSH_IPV6=no |
18327 | fi | 35315 | fi |
18328 | 35316 | ||
@@ -18363,13 +35351,12 @@ _ACEOF | |||
18363 | case $ac_val in #( | 35351 | case $ac_val in #( |
18364 | *${as_nl}*) | 35352 | *${as_nl}*) |
18365 | case $ac_var in #( | 35353 | case $ac_var in #( |
18366 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 35354 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
18367 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 35355 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
18368 | esac | 35356 | esac |
18369 | case $ac_var in #( | 35357 | case $ac_var in #( |
18370 | _ | IFS | as_nl) ;; #( | 35358 | _ | IFS | as_nl) ;; #( |
18371 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 35359 | *) $as_unset $ac_var ;; |
18372 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
18373 | esac ;; | 35360 | esac ;; |
18374 | esac | 35361 | esac |
18375 | done | 35362 | done |
@@ -18377,8 +35364,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
18377 | (set) 2>&1 | | 35364 | (set) 2>&1 | |
18378 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 35365 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
18379 | *${as_nl}ac_space=\ *) | 35366 | *${as_nl}ac_space=\ *) |
18380 | # `set' does not quote correctly, so add quotes: double-quote | 35367 | # `set' does not quote correctly, so add quotes (double-quote |
18381 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 35368 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
18382 | sed -n \ | 35369 | sed -n \ |
18383 | "s/'/'\\\\''/g; | 35370 | "s/'/'\\\\''/g; |
18384 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 35371 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
@@ -18400,24 +35387,13 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |||
18400 | :end' >>confcache | 35387 | :end' >>confcache |
18401 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 35388 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
18402 | if test -w "$cache_file"; then | 35389 | if test -w "$cache_file"; then |
18403 | if test "x$cache_file" != "x/dev/null"; then | 35390 | test "x$cache_file" != "x/dev/null" && |
18404 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 35391 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
18405 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 35392 | echo "$as_me: updating cache $cache_file" >&6;} |
18406 | if test ! -f "$cache_file" || test -h "$cache_file"; then | 35393 | cat confcache >$cache_file |
18407 | cat confcache >"$cache_file" | ||
18408 | else | ||
18409 | case $cache_file in #( | ||
18410 | */* | ?:*) | ||
18411 | mv -f confcache "$cache_file"$$ && | ||
18412 | mv -f "$cache_file"$$ "$cache_file" ;; #( | ||
18413 | *) | ||
18414 | mv -f confcache "$cache_file" ;; | ||
18415 | esac | ||
18416 | fi | ||
18417 | fi | ||
18418 | else | 35394 | else |
18419 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 35395 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
18420 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 35396 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
18421 | fi | 35397 | fi |
18422 | fi | 35398 | fi |
18423 | rm -f confcache | 35399 | rm -f confcache |
@@ -18430,15 +35406,14 @@ DEFS=-DHAVE_CONFIG_H | |||
18430 | 35406 | ||
18431 | ac_libobjs= | 35407 | ac_libobjs= |
18432 | ac_ltlibobjs= | 35408 | ac_ltlibobjs= |
18433 | U= | ||
18434 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 35409 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
18435 | # 1. Remove the extension, and $U if already installed. | 35410 | # 1. Remove the extension, and $U if already installed. |
18436 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 35411 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
18437 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 35412 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
18438 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 35413 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
18439 | # will be set to the directory where LIBOBJS objects are built. | 35414 | # will be set to the directory where LIBOBJS objects are built. |
18440 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 35415 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
18441 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 35416 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
18442 | done | 35417 | done |
18443 | LIBOBJS=$ac_libobjs | 35418 | LIBOBJS=$ac_libobjs |
18444 | 35419 | ||
@@ -18446,15 +35421,12 @@ LTLIBOBJS=$ac_ltlibobjs | |||
18446 | 35421 | ||
18447 | 35422 | ||
18448 | 35423 | ||
18449 | 35424 | : ${CONFIG_STATUS=./config.status} | |
18450 | : "${CONFIG_STATUS=./config.status}" | ||
18451 | ac_write_fail=0 | ||
18452 | ac_clean_files_save=$ac_clean_files | 35425 | ac_clean_files_save=$ac_clean_files |
18453 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 35426 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
18454 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 35427 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
18455 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 35428 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
18456 | as_write_fail=0 | 35429 | cat >$CONFIG_STATUS <<_ACEOF |
18457 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | ||
18458 | #! $SHELL | 35430 | #! $SHELL |
18459 | # Generated by $as_me. | 35431 | # Generated by $as_me. |
18460 | # Run this file to recreate the current configuration. | 35432 | # Run this file to recreate the current configuration. |
@@ -18464,79 +35436,59 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |||
18464 | debug=false | 35436 | debug=false |
18465 | ac_cs_recheck=false | 35437 | ac_cs_recheck=false |
18466 | ac_cs_silent=false | 35438 | ac_cs_silent=false |
18467 | |||
18468 | SHELL=\${CONFIG_SHELL-$SHELL} | 35439 | SHELL=\${CONFIG_SHELL-$SHELL} |
18469 | export SHELL | 35440 | _ACEOF |
18470 | _ASEOF | 35441 | |
18471 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 35442 | cat >>$CONFIG_STATUS <<\_ACEOF |
18472 | ## -------------------- ## | 35443 | ## --------------------- ## |
18473 | ## M4sh Initialization. ## | 35444 | ## M4sh Initialization. ## |
18474 | ## -------------------- ## | 35445 | ## --------------------- ## |
18475 | 35446 | ||
18476 | # Be more Bourne compatible | 35447 | # Be more Bourne compatible |
18477 | DUALCASE=1; export DUALCASE # for MKS sh | 35448 | DUALCASE=1; export DUALCASE # for MKS sh |
18478 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 35449 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
18479 | emulate sh | 35450 | emulate sh |
18480 | NULLCMD=: | 35451 | NULLCMD=: |
18481 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 35452 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
18482 | # is contrary to our usage. Disable this feature. | 35453 | # is contrary to our usage. Disable this feature. |
18483 | alias -g '${1+"$@"}'='"$@"' | 35454 | alias -g '${1+"$@"}'='"$@"' |
18484 | setopt NO_GLOB_SUBST | 35455 | setopt NO_GLOB_SUBST |
18485 | else | 35456 | else |
18486 | case `(set -o) 2>/dev/null` in #( | 35457 | case `(set -o) 2>/dev/null` in |
18487 | *posix*) : | 35458 | *posix*) set -o posix ;; |
18488 | set -o posix ;; #( | ||
18489 | *) : | ||
18490 | ;; | ||
18491 | esac | 35459 | esac |
35460 | |||
18492 | fi | 35461 | fi |
18493 | 35462 | ||
18494 | 35463 | ||
18495 | as_nl=' | 35464 | |
18496 | ' | 35465 | |
18497 | export as_nl | 35466 | # PATH needs CR |
18498 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 35467 | # Avoid depending upon Character Ranges. |
18499 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 35468 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
18500 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 35469 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
18501 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 35470 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
18502 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 35471 | as_cr_digits='0123456789' |
18503 | # but without wasting forks for bash or zsh. | 35472 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
18504 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 35473 | |
18505 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 35474 | # The user is always right. |
18506 | as_echo='print -r --' | 35475 | if test "${PATH_SEPARATOR+set}" != set; then |
18507 | as_echo_n='print -rn --' | 35476 | echo "#! /bin/sh" >conf$$.sh |
18508 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 35477 | echo "exit 0" >>conf$$.sh |
18509 | as_echo='printf %s\n' | 35478 | chmod +x conf$$.sh |
18510 | as_echo_n='printf %s' | 35479 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then |
18511 | else | 35480 | PATH_SEPARATOR=';' |
18512 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
18513 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
18514 | as_echo_n='/usr/ucb/echo -n' | ||
18515 | else | 35481 | else |
18516 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 35482 | PATH_SEPARATOR=: |
18517 | as_echo_n_body='eval | ||
18518 | arg=$1; | ||
18519 | case $arg in #( | ||
18520 | *"$as_nl"*) | ||
18521 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
18522 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
18523 | esac; | ||
18524 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
18525 | ' | ||
18526 | export as_echo_n_body | ||
18527 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
18528 | fi | 35483 | fi |
18529 | export as_echo_body | 35484 | rm -f conf$$.sh |
18530 | as_echo='sh -c $as_echo_body as_echo' | ||
18531 | fi | 35485 | fi |
18532 | 35486 | ||
18533 | # The user is always right. | 35487 | # Support unset when possible. |
18534 | if test "${PATH_SEPARATOR+set}" != set; then | 35488 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
18535 | PATH_SEPARATOR=: | 35489 | as_unset=unset |
18536 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 35490 | else |
18537 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 35491 | as_unset=false |
18538 | PATH_SEPARATOR=';' | ||
18539 | } | ||
18540 | fi | 35492 | fi |
18541 | 35493 | ||
18542 | 35494 | ||
@@ -18545,19 +35497,20 @@ fi | |||
18545 | # there to prevent editors from complaining about space-tab. | 35497 | # there to prevent editors from complaining about space-tab. |
18546 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 35498 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
18547 | # splitting by setting IFS to empty value.) | 35499 | # splitting by setting IFS to empty value.) |
35500 | as_nl=' | ||
35501 | ' | ||
18548 | IFS=" "" $as_nl" | 35502 | IFS=" "" $as_nl" |
18549 | 35503 | ||
18550 | # Find who we are. Look in the path if we contain no directory separator. | 35504 | # Find who we are. Look in the path if we contain no directory separator. |
18551 | as_myself= | 35505 | case $0 in |
18552 | case $0 in #(( | ||
18553 | *[\\/]* ) as_myself=$0 ;; | 35506 | *[\\/]* ) as_myself=$0 ;; |
18554 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 35507 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
18555 | for as_dir in $PATH | 35508 | for as_dir in $PATH |
18556 | do | 35509 | do |
18557 | IFS=$as_save_IFS | 35510 | IFS=$as_save_IFS |
18558 | test -z "$as_dir" && as_dir=. | 35511 | test -z "$as_dir" && as_dir=. |
18559 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 35512 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
18560 | done | 35513 | done |
18561 | IFS=$as_save_IFS | 35514 | IFS=$as_save_IFS |
18562 | 35515 | ||
18563 | ;; | 35516 | ;; |
@@ -18568,111 +35521,32 @@ if test "x$as_myself" = x; then | |||
18568 | as_myself=$0 | 35521 | as_myself=$0 |
18569 | fi | 35522 | fi |
18570 | if test ! -f "$as_myself"; then | 35523 | if test ! -f "$as_myself"; then |
18571 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 35524 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
18572 | exit 1 | 35525 | { (exit 1); exit 1; } |
18573 | fi | 35526 | fi |
18574 | 35527 | ||
18575 | # Unset variables that we do not need and which cause bugs (e.g. in | 35528 | # Work around bugs in pre-3.0 UWIN ksh. |
18576 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 35529 | for as_var in ENV MAIL MAILPATH |
18577 | # suppresses any "Segmentation fault" message there. '((' could | 35530 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
18578 | # trigger a bug in pdksh 5.2.14. | ||
18579 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
18580 | do eval test x\${$as_var+set} = xset \ | ||
18581 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
18582 | done | 35531 | done |
18583 | PS1='$ ' | 35532 | PS1='$ ' |
18584 | PS2='> ' | 35533 | PS2='> ' |
18585 | PS4='+ ' | 35534 | PS4='+ ' |
18586 | 35535 | ||
18587 | # NLS nuisances. | 35536 | # NLS nuisances. |
18588 | LC_ALL=C | 35537 | for as_var in \ |
18589 | export LC_ALL | 35538 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
18590 | LANGUAGE=C | 35539 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
18591 | export LANGUAGE | 35540 | LC_TELEPHONE LC_TIME |
18592 | 35541 | do | |
18593 | # CDPATH. | 35542 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
18594 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 35543 | eval $as_var=C; export $as_var |
18595 | 35544 | else | |
18596 | 35545 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
18597 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | ||
18598 | # ---------------------------------------- | ||
18599 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
18600 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
18601 | # script with STATUS, using 1 if that was 0. | ||
18602 | as_fn_error () | ||
18603 | { | ||
18604 | as_status=$1; test $as_status -eq 0 && as_status=1 | ||
18605 | if test "$4"; then | ||
18606 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
18607 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | ||
18608 | fi | 35546 | fi |
18609 | $as_echo "$as_me: error: $2" >&2 | 35547 | done |
18610 | as_fn_exit $as_status | ||
18611 | } # as_fn_error | ||
18612 | |||
18613 | |||
18614 | # as_fn_set_status STATUS | ||
18615 | # ----------------------- | ||
18616 | # Set $? to STATUS, without forking. | ||
18617 | as_fn_set_status () | ||
18618 | { | ||
18619 | return $1 | ||
18620 | } # as_fn_set_status | ||
18621 | |||
18622 | # as_fn_exit STATUS | ||
18623 | # ----------------- | ||
18624 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
18625 | as_fn_exit () | ||
18626 | { | ||
18627 | set +e | ||
18628 | as_fn_set_status $1 | ||
18629 | exit $1 | ||
18630 | } # as_fn_exit | ||
18631 | |||
18632 | # as_fn_unset VAR | ||
18633 | # --------------- | ||
18634 | # Portably unset VAR. | ||
18635 | as_fn_unset () | ||
18636 | { | ||
18637 | { eval $1=; unset $1;} | ||
18638 | } | ||
18639 | as_unset=as_fn_unset | ||
18640 | # as_fn_append VAR VALUE | ||
18641 | # ---------------------- | ||
18642 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
18643 | # advantage of any shell optimizations that allow amortized linear growth over | ||
18644 | # repeated appends, instead of the typical quadratic growth present in naive | ||
18645 | # implementations. | ||
18646 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
18647 | eval 'as_fn_append () | ||
18648 | { | ||
18649 | eval $1+=\$2 | ||
18650 | }' | ||
18651 | else | ||
18652 | as_fn_append () | ||
18653 | { | ||
18654 | eval $1=\$$1\$2 | ||
18655 | } | ||
18656 | fi # as_fn_append | ||
18657 | |||
18658 | # as_fn_arith ARG... | ||
18659 | # ------------------ | ||
18660 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
18661 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
18662 | # must be portable across $(()) and expr. | ||
18663 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
18664 | eval 'as_fn_arith () | ||
18665 | { | ||
18666 | as_val=$(( $* )) | ||
18667 | }' | ||
18668 | else | ||
18669 | as_fn_arith () | ||
18670 | { | ||
18671 | as_val=`expr "$@" || test $? -eq 1` | ||
18672 | } | ||
18673 | fi # as_fn_arith | ||
18674 | |||
18675 | 35548 | ||
35549 | # Required to use basename. | ||
18676 | if expr a : '\(a\)' >/dev/null 2>&1 && | 35550 | if expr a : '\(a\)' >/dev/null 2>&1 && |
18677 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 35551 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
18678 | as_expr=expr | 35552 | as_expr=expr |
@@ -18686,17 +35560,13 @@ else | |||
18686 | as_basename=false | 35560 | as_basename=false |
18687 | fi | 35561 | fi |
18688 | 35562 | ||
18689 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
18690 | as_dirname=dirname | ||
18691 | else | ||
18692 | as_dirname=false | ||
18693 | fi | ||
18694 | 35563 | ||
35564 | # Name of the executable. | ||
18695 | as_me=`$as_basename -- "$0" || | 35565 | as_me=`$as_basename -- "$0" || |
18696 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 35566 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
18697 | X"$0" : 'X\(//\)$' \| \ | 35567 | X"$0" : 'X\(//\)$' \| \ |
18698 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 35568 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
18699 | $as_echo X/"$0" | | 35569 | echo X/"$0" | |
18700 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 35570 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
18701 | s//\1/ | 35571 | s//\1/ |
18702 | q | 35572 | q |
@@ -18711,103 +35581,104 @@ $as_echo X/"$0" | | |||
18711 | } | 35581 | } |
18712 | s/.*/./; q'` | 35582 | s/.*/./; q'` |
18713 | 35583 | ||
18714 | # Avoid depending upon Character Ranges. | 35584 | # CDPATH. |
18715 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 35585 | $as_unset CDPATH |
18716 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 35586 | |
18717 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 35587 | |
18718 | as_cr_digits='0123456789' | 35588 | |
18719 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 35589 | as_lineno_1=$LINENO |
35590 | as_lineno_2=$LINENO | ||
35591 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
35592 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | ||
35593 | |||
35594 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | ||
35595 | # uniformly replaced by the line number. The first 'sed' inserts a | ||
35596 | # line-number line after each line using $LINENO; the second 'sed' | ||
35597 | # does the real work. The second script uses 'N' to pair each | ||
35598 | # line-number line with the line containing $LINENO, and appends | ||
35599 | # trailing '-' during substitution so that $LINENO is not a special | ||
35600 | # case at line end. | ||
35601 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | ||
35602 | # scripts with optimization help from Paolo Bonzini. Blame Lee | ||
35603 | # E. McMahon (1931-1989) for sed's syntax. :-) | ||
35604 | sed -n ' | ||
35605 | p | ||
35606 | /[$]LINENO/= | ||
35607 | ' <$as_myself | | ||
35608 | sed ' | ||
35609 | s/[$]LINENO.*/&-/ | ||
35610 | t lineno | ||
35611 | b | ||
35612 | :lineno | ||
35613 | N | ||
35614 | :loop | ||
35615 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
35616 | t loop | ||
35617 | s/-\n.*// | ||
35618 | ' >$as_me.lineno && | ||
35619 | chmod +x "$as_me.lineno" || | ||
35620 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | ||
35621 | { (exit 1); exit 1; }; } | ||
35622 | |||
35623 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
35624 | # (the dirname of $[0] is not the place where we might find the | ||
35625 | # original and so on. Autoconf is especially sensitive to this). | ||
35626 | . "./$as_me.lineno" | ||
35627 | # Exit status is that of the last command. | ||
35628 | exit | ||
35629 | } | ||
35630 | |||
35631 | |||
35632 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
35633 | as_dirname=dirname | ||
35634 | else | ||
35635 | as_dirname=false | ||
35636 | fi | ||
18720 | 35637 | ||
18721 | ECHO_C= ECHO_N= ECHO_T= | 35638 | ECHO_C= ECHO_N= ECHO_T= |
18722 | case `echo -n x` in #((((( | 35639 | case `echo -n x` in |
18723 | -n*) | 35640 | -n*) |
18724 | case `echo 'xy\c'` in | 35641 | case `echo 'x\c'` in |
18725 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 35642 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
18726 | xy) ECHO_C='\c';; | 35643 | *) ECHO_C='\c';; |
18727 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
18728 | ECHO_T=' ';; | ||
18729 | esac;; | 35644 | esac;; |
18730 | *) | 35645 | *) |
18731 | ECHO_N='-n';; | 35646 | ECHO_N='-n';; |
18732 | esac | 35647 | esac |
18733 | 35648 | ||
35649 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
35650 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
35651 | as_expr=expr | ||
35652 | else | ||
35653 | as_expr=false | ||
35654 | fi | ||
35655 | |||
18734 | rm -f conf$$ conf$$.exe conf$$.file | 35656 | rm -f conf$$ conf$$.exe conf$$.file |
18735 | if test -d conf$$.dir; then | 35657 | if test -d conf$$.dir; then |
18736 | rm -f conf$$.dir/conf$$.file | 35658 | rm -f conf$$.dir/conf$$.file |
18737 | else | 35659 | else |
18738 | rm -f conf$$.dir | 35660 | rm -f conf$$.dir |
18739 | mkdir conf$$.dir 2>/dev/null | 35661 | mkdir conf$$.dir |
18740 | fi | 35662 | fi |
18741 | if (echo >conf$$.file) 2>/dev/null; then | 35663 | echo >conf$$.file |
18742 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 35664 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
18743 | as_ln_s='ln -s' | 35665 | as_ln_s='ln -s' |
18744 | # ... but there are two gotchas: | 35666 | # ... but there are two gotchas: |
18745 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 35667 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
18746 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 35668 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
18747 | # In both cases, we have to default to `cp -p'. | 35669 | # In both cases, we have to default to `cp -p'. |
18748 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 35670 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
18749 | as_ln_s='cp -p' | ||
18750 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
18751 | as_ln_s=ln | ||
18752 | else | ||
18753 | as_ln_s='cp -p' | 35671 | as_ln_s='cp -p' |
18754 | fi | 35672 | elif ln conf$$.file conf$$ 2>/dev/null; then |
35673 | as_ln_s=ln | ||
18755 | else | 35674 | else |
18756 | as_ln_s='cp -p' | 35675 | as_ln_s='cp -p' |
18757 | fi | 35676 | fi |
18758 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 35677 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
18759 | rmdir conf$$.dir 2>/dev/null | 35678 | rmdir conf$$.dir 2>/dev/null |
18760 | 35679 | ||
18761 | |||
18762 | # as_fn_mkdir_p | ||
18763 | # ------------- | ||
18764 | # Create "$as_dir" as a directory, including parents if necessary. | ||
18765 | as_fn_mkdir_p () | ||
18766 | { | ||
18767 | |||
18768 | case $as_dir in #( | ||
18769 | -*) as_dir=./$as_dir;; | ||
18770 | esac | ||
18771 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
18772 | as_dirs= | ||
18773 | while :; do | ||
18774 | case $as_dir in #( | ||
18775 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
18776 | *) as_qdir=$as_dir;; | ||
18777 | esac | ||
18778 | as_dirs="'$as_qdir' $as_dirs" | ||
18779 | as_dir=`$as_dirname -- "$as_dir" || | ||
18780 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
18781 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
18782 | X"$as_dir" : 'X\(//\)$' \| \ | ||
18783 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
18784 | $as_echo X"$as_dir" | | ||
18785 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
18786 | s//\1/ | ||
18787 | q | ||
18788 | } | ||
18789 | /^X\(\/\/\)[^/].*/{ | ||
18790 | s//\1/ | ||
18791 | q | ||
18792 | } | ||
18793 | /^X\(\/\/\)$/{ | ||
18794 | s//\1/ | ||
18795 | q | ||
18796 | } | ||
18797 | /^X\(\/\).*/{ | ||
18798 | s//\1/ | ||
18799 | q | ||
18800 | } | ||
18801 | s/.*/./; q'` | ||
18802 | test -d "$as_dir" && break | ||
18803 | done | ||
18804 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
18805 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | ||
18806 | |||
18807 | |||
18808 | } # as_fn_mkdir_p | ||
18809 | if mkdir -p . 2>/dev/null; then | 35680 | if mkdir -p . 2>/dev/null; then |
18810 | as_mkdir_p='mkdir -p "$as_dir"' | 35681 | as_mkdir_p=: |
18811 | else | 35682 | else |
18812 | test -d ./-p && rmdir ./-p | 35683 | test -d ./-p && rmdir ./-p |
18813 | as_mkdir_p=false | 35684 | as_mkdir_p=false |
@@ -18824,12 +35695,12 @@ else | |||
18824 | as_test_x=' | 35695 | as_test_x=' |
18825 | eval sh -c '\'' | 35696 | eval sh -c '\'' |
18826 | if test -d "$1"; then | 35697 | if test -d "$1"; then |
18827 | test -d "$1/."; | 35698 | test -d "$1/."; |
18828 | else | 35699 | else |
18829 | case $1 in #( | 35700 | case $1 in |
18830 | -*)set "./$1";; | 35701 | -*)set "./$1";; |
18831 | esac; | 35702 | esac; |
18832 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 35703 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
18833 | ???[sx]*):;;*)false;;esac;fi | 35704 | ???[sx]*):;;*)false;;esac;fi |
18834 | '\'' sh | 35705 | '\'' sh |
18835 | ' | 35706 | ' |
@@ -18844,19 +35715,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |||
18844 | 35715 | ||
18845 | 35716 | ||
18846 | exec 6>&1 | 35717 | exec 6>&1 |
18847 | ## ----------------------------------- ## | ||
18848 | ## Main body of $CONFIG_STATUS script. ## | ||
18849 | ## ----------------------------------- ## | ||
18850 | _ASEOF | ||
18851 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | ||
18852 | 35718 | ||
18853 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 35719 | # Save the log message, to keep $[0] and so on meaningful, and to |
18854 | # Save the log message, to keep $0 and so on meaningful, and to | ||
18855 | # report actual input values of CONFIG_FILES etc. instead of their | 35720 | # report actual input values of CONFIG_FILES etc. instead of their |
18856 | # values after options handling. | 35721 | # values after options handling. |
18857 | ac_log=" | 35722 | ac_log=" |
18858 | This file was extended by OpenSSH $as_me Portable, which was | 35723 | This file was extended by OpenSSH $as_me Portable, which was |
18859 | generated by GNU Autoconf 2.68. Invocation command line was | 35724 | generated by GNU Autoconf 2.61. Invocation command line was |
18860 | 35725 | ||
18861 | CONFIG_FILES = $CONFIG_FILES | 35726 | CONFIG_FILES = $CONFIG_FILES |
18862 | CONFIG_HEADERS = $CONFIG_HEADERS | 35727 | CONFIG_HEADERS = $CONFIG_HEADERS |
@@ -18869,41 +35734,29 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q` | |||
18869 | 35734 | ||
18870 | _ACEOF | 35735 | _ACEOF |
18871 | 35736 | ||
18872 | case $ac_config_files in *" | 35737 | cat >>$CONFIG_STATUS <<_ACEOF |
18873 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | ||
18874 | esac | ||
18875 | |||
18876 | case $ac_config_headers in *" | ||
18877 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | ||
18878 | esac | ||
18879 | |||
18880 | |||
18881 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
18882 | # Files that config.status was made for. | 35738 | # Files that config.status was made for. |
18883 | config_files="$ac_config_files" | 35739 | config_files="$ac_config_files" |
18884 | config_headers="$ac_config_headers" | 35740 | config_headers="$ac_config_headers" |
18885 | 35741 | ||
18886 | _ACEOF | 35742 | _ACEOF |
18887 | 35743 | ||
18888 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 35744 | cat >>$CONFIG_STATUS <<\_ACEOF |
18889 | ac_cs_usage="\ | 35745 | ac_cs_usage="\ |
18890 | \`$as_me' instantiates files and other configuration actions | 35746 | \`$as_me' instantiates files from templates according to the |
18891 | from templates according to the current configuration. Unless the files | 35747 | current configuration. |
18892 | and actions are specified as TAGs, all are instantiated by default. | ||
18893 | 35748 | ||
18894 | Usage: $0 [OPTION]... [TAG]... | 35749 | Usage: $0 [OPTIONS] [FILE]... |
18895 | 35750 | ||
18896 | -h, --help print this help, then exit | 35751 | -h, --help print this help, then exit |
18897 | -V, --version print version number and configuration settings, then exit | 35752 | -V, --version print version number and configuration settings, then exit |
18898 | --config print configuration, then exit | 35753 | -q, --quiet do not print progress messages |
18899 | -q, --quiet, --silent | ||
18900 | do not print progress messages | ||
18901 | -d, --debug don't remove temporary files | 35754 | -d, --debug don't remove temporary files |
18902 | --recheck update $as_me by reconfiguring in the same conditions | 35755 | --recheck update $as_me by reconfiguring in the same conditions |
18903 | --file=FILE[:TEMPLATE] | 35756 | --file=FILE[:TEMPLATE] |
18904 | instantiate the configuration file FILE | 35757 | instantiate the configuration file FILE |
18905 | --header=FILE[:TEMPLATE] | 35758 | --header=FILE[:TEMPLATE] |
18906 | instantiate the configuration header FILE | 35759 | instantiate the configuration header FILE |
18907 | 35760 | ||
18908 | Configuration files: | 35761 | Configuration files: |
18909 | $config_files | 35762 | $config_files |
@@ -18911,43 +35764,36 @@ $config_files | |||
18911 | Configuration headers: | 35764 | Configuration headers: |
18912 | $config_headers | 35765 | $config_headers |
18913 | 35766 | ||
18914 | Report bugs to <openssh-unix-dev@mindrot.org>." | 35767 | Report bugs to <bug-autoconf@gnu.org>." |
18915 | 35768 | ||
18916 | _ACEOF | 35769 | _ACEOF |
18917 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 35770 | cat >>$CONFIG_STATUS <<_ACEOF |
18918 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
18919 | ac_cs_version="\\ | 35771 | ac_cs_version="\\ |
18920 | OpenSSH config.status Portable | 35772 | OpenSSH config.status Portable |
18921 | configured by $0, generated by GNU Autoconf 2.68, | 35773 | configured by $0, generated by GNU Autoconf 2.61, |
18922 | with options \\"\$ac_cs_config\\" | 35774 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
18923 | 35775 | ||
18924 | Copyright (C) 2010 Free Software Foundation, Inc. | 35776 | Copyright (C) 2006 Free Software Foundation, Inc. |
18925 | This config.status script is free software; the Free Software Foundation | 35777 | This config.status script is free software; the Free Software Foundation |
18926 | gives unlimited permission to copy, distribute and modify it." | 35778 | gives unlimited permission to copy, distribute and modify it." |
18927 | 35779 | ||
18928 | ac_pwd='$ac_pwd' | 35780 | ac_pwd='$ac_pwd' |
18929 | srcdir='$srcdir' | 35781 | srcdir='$srcdir' |
18930 | INSTALL='$INSTALL' | 35782 | INSTALL='$INSTALL' |
18931 | AWK='$AWK' | ||
18932 | test -n "\$AWK" || AWK=awk | ||
18933 | _ACEOF | 35783 | _ACEOF |
18934 | 35784 | ||
18935 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 35785 | cat >>$CONFIG_STATUS <<\_ACEOF |
18936 | # The default lists apply if the user does not specify any file. | 35786 | # If no file are specified by the user, then we need to provide default |
35787 | # value. By we need to know if files were specified by the user. | ||
18937 | ac_need_defaults=: | 35788 | ac_need_defaults=: |
18938 | while test $# != 0 | 35789 | while test $# != 0 |
18939 | do | 35790 | do |
18940 | case $1 in | 35791 | case $1 in |
18941 | --*=?*) | 35792 | --*=*) |
18942 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 35793 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
18943 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 35794 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
18944 | ac_shift=: | 35795 | ac_shift=: |
18945 | ;; | 35796 | ;; |
18946 | --*=) | ||
18947 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | ||
18948 | ac_optarg= | ||
18949 | ac_shift=: | ||
18950 | ;; | ||
18951 | *) | 35797 | *) |
18952 | ac_option=$1 | 35798 | ac_option=$1 |
18953 | ac_optarg=$2 | 35799 | ac_optarg=$2 |
@@ -18960,41 +35806,34 @@ do | |||
18960 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 35806 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
18961 | ac_cs_recheck=: ;; | 35807 | ac_cs_recheck=: ;; |
18962 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 35808 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
18963 | $as_echo "$ac_cs_version"; exit ;; | 35809 | echo "$ac_cs_version"; exit ;; |
18964 | --config | --confi | --conf | --con | --co | --c ) | ||
18965 | $as_echo "$ac_cs_config"; exit ;; | ||
18966 | --debug | --debu | --deb | --de | --d | -d ) | 35810 | --debug | --debu | --deb | --de | --d | -d ) |
18967 | debug=: ;; | 35811 | debug=: ;; |
18968 | --file | --fil | --fi | --f ) | 35812 | --file | --fil | --fi | --f ) |
18969 | $ac_shift | 35813 | $ac_shift |
18970 | case $ac_optarg in | 35814 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
18971 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
18972 | '') as_fn_error $? "missing file argument" ;; | ||
18973 | esac | ||
18974 | as_fn_append CONFIG_FILES " '$ac_optarg'" | ||
18975 | ac_need_defaults=false;; | 35815 | ac_need_defaults=false;; |
18976 | --header | --heade | --head | --hea ) | 35816 | --header | --heade | --head | --hea ) |
18977 | $ac_shift | 35817 | $ac_shift |
18978 | case $ac_optarg in | 35818 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
18979 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
18980 | esac | ||
18981 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | ||
18982 | ac_need_defaults=false;; | 35819 | ac_need_defaults=false;; |
18983 | --he | --h) | 35820 | --he | --h) |
18984 | # Conflict between --help and --header | 35821 | # Conflict between --help and --header |
18985 | as_fn_error $? "ambiguous option: \`$1' | 35822 | { echo "$as_me: error: ambiguous option: $1 |
18986 | Try \`$0 --help' for more information.";; | 35823 | Try \`$0 --help' for more information." >&2 |
35824 | { (exit 1); exit 1; }; };; | ||
18987 | --help | --hel | -h ) | 35825 | --help | --hel | -h ) |
18988 | $as_echo "$ac_cs_usage"; exit ;; | 35826 | echo "$ac_cs_usage"; exit ;; |
18989 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 35827 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
18990 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 35828 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
18991 | ac_cs_silent=: ;; | 35829 | ac_cs_silent=: ;; |
18992 | 35830 | ||
18993 | # This is an error. | 35831 | # This is an error. |
18994 | -*) as_fn_error $? "unrecognized option: \`$1' | 35832 | -*) { echo "$as_me: error: unrecognized option: $1 |
18995 | Try \`$0 --help' for more information." ;; | 35833 | Try \`$0 --help' for more information." >&2 |
35834 | { (exit 1); exit 1; }; } ;; | ||
18996 | 35835 | ||
18997 | *) as_fn_append ac_config_targets " $1" | 35836 | *) ac_config_targets="$ac_config_targets $1" |
18998 | ac_need_defaults=false ;; | 35837 | ac_need_defaults=false ;; |
18999 | 35838 | ||
19000 | esac | 35839 | esac |
@@ -19009,32 +35848,30 @@ if $ac_cs_silent; then | |||
19009 | fi | 35848 | fi |
19010 | 35849 | ||
19011 | _ACEOF | 35850 | _ACEOF |
19012 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 35851 | cat >>$CONFIG_STATUS <<_ACEOF |
19013 | if \$ac_cs_recheck; then | 35852 | if \$ac_cs_recheck; then |
19014 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 35853 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
19015 | shift | 35854 | CONFIG_SHELL=$SHELL |
19016 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | ||
19017 | CONFIG_SHELL='$SHELL' | ||
19018 | export CONFIG_SHELL | 35855 | export CONFIG_SHELL |
19019 | exec "\$@" | 35856 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
19020 | fi | 35857 | fi |
19021 | 35858 | ||
19022 | _ACEOF | 35859 | _ACEOF |
19023 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 35860 | cat >>$CONFIG_STATUS <<\_ACEOF |
19024 | exec 5>>config.log | 35861 | exec 5>>config.log |
19025 | { | 35862 | { |
19026 | echo | 35863 | echo |
19027 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 35864 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
19028 | ## Running $as_me. ## | 35865 | ## Running $as_me. ## |
19029 | _ASBOX | 35866 | _ASBOX |
19030 | $as_echo "$ac_log" | 35867 | echo "$ac_log" |
19031 | } >&5 | 35868 | } >&5 |
19032 | 35869 | ||
19033 | _ACEOF | 35870 | _ACEOF |
19034 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 35871 | cat >>$CONFIG_STATUS <<_ACEOF |
19035 | _ACEOF | 35872 | _ACEOF |
19036 | 35873 | ||
19037 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 35874 | cat >>$CONFIG_STATUS <<\_ACEOF |
19038 | 35875 | ||
19039 | # Handling of arguments. | 35876 | # Handling of arguments. |
19040 | for ac_config_target in $ac_config_targets | 35877 | for ac_config_target in $ac_config_targets |
@@ -19049,7 +35886,9 @@ do | |||
19049 | "openbsd-compat/regress/Makefile") CONFIG_FILES="$CONFIG_FILES openbsd-compat/regress/Makefile" ;; | 35886 | "openbsd-compat/regress/Makefile") CONFIG_FILES="$CONFIG_FILES openbsd-compat/regress/Makefile" ;; |
19050 | "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; | 35887 | "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; |
19051 | 35888 | ||
19052 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 35889 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
35890 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | ||
35891 | { (exit 1); exit 1; }; };; | ||
19053 | esac | 35892 | esac |
19054 | done | 35893 | done |
19055 | 35894 | ||
@@ -19071,302 +35910,255 @@ fi | |||
19071 | # after its creation but before its name has been assigned to `$tmp'. | 35910 | # after its creation but before its name has been assigned to `$tmp'. |
19072 | $debug || | 35911 | $debug || |
19073 | { | 35912 | { |
19074 | tmp= ac_tmp= | 35913 | tmp= |
19075 | trap 'exit_status=$? | 35914 | trap 'exit_status=$? |
19076 | : "${ac_tmp:=$tmp}" | 35915 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
19077 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | ||
19078 | ' 0 | 35916 | ' 0 |
19079 | trap 'as_fn_exit 1' 1 2 13 15 | 35917 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
19080 | } | 35918 | } |
19081 | # Create a (secure) tmp directory for tmp files. | 35919 | # Create a (secure) tmp directory for tmp files. |
19082 | 35920 | ||
19083 | { | 35921 | { |
19084 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 35922 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
19085 | test -d "$tmp" | 35923 | test -n "$tmp" && test -d "$tmp" |
19086 | } || | 35924 | } || |
19087 | { | 35925 | { |
19088 | tmp=./conf$$-$RANDOM | 35926 | tmp=./conf$$-$RANDOM |
19089 | (umask 077 && mkdir "$tmp") | 35927 | (umask 077 && mkdir "$tmp") |
19090 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 35928 | } || |
19091 | ac_tmp=$tmp | 35929 | { |
19092 | 35930 | echo "$me: cannot create a temporary directory in ." >&2 | |
19093 | # Set up the scripts for CONFIG_FILES section. | 35931 | { (exit 1); exit 1; } |
19094 | # No need to generate them if there are no CONFIG_FILES. | 35932 | } |
19095 | # This happens for instance with `./config.status config.h'. | ||
19096 | if test -n "$CONFIG_FILES"; then | ||
19097 | 35933 | ||
35934 | # | ||
35935 | # Set up the sed scripts for CONFIG_FILES section. | ||
35936 | # | ||
19098 | 35937 | ||
19099 | ac_cr=`echo X | tr X '\015'` | 35938 | # No need to generate the scripts if there are no CONFIG_FILES. |
19100 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | 35939 | # This happens for instance when ./config.status config.h |
19101 | # But we know of no other shell where ac_cr would be empty at this | 35940 | if test -n "$CONFIG_FILES"; then |
19102 | # point, so we can use a bashism as a fallback. | ||
19103 | if test "x$ac_cr" = x; then | ||
19104 | eval ac_cr=\$\'\\r\' | ||
19105 | fi | ||
19106 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | ||
19107 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | ||
19108 | ac_cs_awk_cr='\\r' | ||
19109 | else | ||
19110 | ac_cs_awk_cr=$ac_cr | ||
19111 | fi | ||
19112 | 35941 | ||
19113 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | ||
19114 | _ACEOF | 35942 | _ACEOF |
19115 | 35943 | ||
19116 | 35944 | ||
19117 | { | 35945 | |
19118 | echo "cat >conf$$subs.awk <<_ACEOF" && | ||
19119 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | ||
19120 | echo "_ACEOF" | ||
19121 | } >conf$$subs.sh || | ||
19122 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | ||
19123 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | ||
19124 | ac_delim='%!_!# ' | 35946 | ac_delim='%!_!# ' |
19125 | for ac_last_try in false false false false false :; do | 35947 | for ac_last_try in false false false false false :; do |
19126 | . ./conf$$subs.sh || | 35948 | cat >conf$$subs.sed <<_ACEOF |
19127 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 35949 | SHELL!$SHELL$ac_delim |
19128 | 35950 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim | |
19129 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 35951 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
19130 | if test $ac_delim_n = $ac_delim_num; then | 35952 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
35953 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim | ||
35954 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim | ||
35955 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim | ||
35956 | exec_prefix!$exec_prefix$ac_delim | ||
35957 | prefix!$prefix$ac_delim | ||
35958 | program_transform_name!$program_transform_name$ac_delim | ||
35959 | bindir!$bindir$ac_delim | ||
35960 | sbindir!$sbindir$ac_delim | ||
35961 | libexecdir!$libexecdir$ac_delim | ||
35962 | datarootdir!$datarootdir$ac_delim | ||
35963 | datadir!$datadir$ac_delim | ||
35964 | sysconfdir!$sysconfdir$ac_delim | ||
35965 | sharedstatedir!$sharedstatedir$ac_delim | ||
35966 | localstatedir!$localstatedir$ac_delim | ||
35967 | includedir!$includedir$ac_delim | ||
35968 | oldincludedir!$oldincludedir$ac_delim | ||
35969 | docdir!$docdir$ac_delim | ||
35970 | infodir!$infodir$ac_delim | ||
35971 | htmldir!$htmldir$ac_delim | ||
35972 | dvidir!$dvidir$ac_delim | ||
35973 | pdfdir!$pdfdir$ac_delim | ||
35974 | psdir!$psdir$ac_delim | ||
35975 | libdir!$libdir$ac_delim | ||
35976 | localedir!$localedir$ac_delim | ||
35977 | mandir!$mandir$ac_delim | ||
35978 | DEFS!$DEFS$ac_delim | ||
35979 | ECHO_C!$ECHO_C$ac_delim | ||
35980 | ECHO_N!$ECHO_N$ac_delim | ||
35981 | ECHO_T!$ECHO_T$ac_delim | ||
35982 | LIBS!$LIBS$ac_delim | ||
35983 | build_alias!$build_alias$ac_delim | ||
35984 | host_alias!$host_alias$ac_delim | ||
35985 | target_alias!$target_alias$ac_delim | ||
35986 | CC!$CC$ac_delim | ||
35987 | CFLAGS!$CFLAGS$ac_delim | ||
35988 | LDFLAGS!$LDFLAGS$ac_delim | ||
35989 | CPPFLAGS!$CPPFLAGS$ac_delim | ||
35990 | ac_ct_CC!$ac_ct_CC$ac_delim | ||
35991 | EXEEXT!$EXEEXT$ac_delim | ||
35992 | OBJEXT!$OBJEXT$ac_delim | ||
35993 | build!$build$ac_delim | ||
35994 | build_cpu!$build_cpu$ac_delim | ||
35995 | build_vendor!$build_vendor$ac_delim | ||
35996 | build_os!$build_os$ac_delim | ||
35997 | host!$host$ac_delim | ||
35998 | host_cpu!$host_cpu$ac_delim | ||
35999 | host_vendor!$host_vendor$ac_delim | ||
36000 | host_os!$host_os$ac_delim | ||
36001 | CPP!$CPP$ac_delim | ||
36002 | GREP!$GREP$ac_delim | ||
36003 | EGREP!$EGREP$ac_delim | ||
36004 | AWK!$AWK$ac_delim | ||
36005 | RANLIB!$RANLIB$ac_delim | ||
36006 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim | ||
36007 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim | ||
36008 | INSTALL_DATA!$INSTALL_DATA$ac_delim | ||
36009 | AR!$AR$ac_delim | ||
36010 | CAT!$CAT$ac_delim | ||
36011 | KILL!$KILL$ac_delim | ||
36012 | PERL!$PERL$ac_delim | ||
36013 | SED!$SED$ac_delim | ||
36014 | ENT!$ENT$ac_delim | ||
36015 | TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim | ||
36016 | SH!$SH$ac_delim | ||
36017 | GROFF!$GROFF$ac_delim | ||
36018 | NROFF!$NROFF$ac_delim | ||
36019 | MANDOC!$MANDOC$ac_delim | ||
36020 | TEST_SHELL!$TEST_SHELL$ac_delim | ||
36021 | MANFMT!$MANFMT$ac_delim | ||
36022 | PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim | ||
36023 | PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim | ||
36024 | MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim | ||
36025 | STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim | ||
36026 | LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim | ||
36027 | PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim | ||
36028 | LD!$LD$ac_delim | ||
36029 | PKGCONFIG!$PKGCONFIG$ac_delim | ||
36030 | LIBEDIT!$LIBEDIT$ac_delim | ||
36031 | TEST_SSH_ECC!$TEST_SSH_ECC$ac_delim | ||
36032 | COMMENT_OUT_ECC!$COMMENT_OUT_ECC$ac_delim | ||
36033 | SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim | ||
36034 | SSHLIBS!$SSHLIBS$ac_delim | ||
36035 | SSHDLIBS!$SSHDLIBS$ac_delim | ||
36036 | KRB5CONF!$KRB5CONF$ac_delim | ||
36037 | GSSLIBS!$GSSLIBS$ac_delim | ||
36038 | K5LIBS!$K5LIBS$ac_delim | ||
36039 | PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim | ||
36040 | xauth_path!$xauth_path$ac_delim | ||
36041 | STRIP_OPT!$STRIP_OPT$ac_delim | ||
36042 | XAUTH_PATH!$XAUTH_PATH$ac_delim | ||
36043 | MANTYPE!$MANTYPE$ac_delim | ||
36044 | mansubdir!$mansubdir$ac_delim | ||
36045 | user_path!$user_path$ac_delim | ||
36046 | _ACEOF | ||
36047 | |||
36048 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then | ||
19131 | break | 36049 | break |
19132 | elif $ac_last_try; then | 36050 | elif $ac_last_try; then |
19133 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 36051 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
36052 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
36053 | { (exit 1); exit 1; }; } | ||
19134 | else | 36054 | else |
19135 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 36055 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
19136 | fi | 36056 | fi |
19137 | done | 36057 | done |
19138 | rm -f conf$$subs.sh | ||
19139 | |||
19140 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
19141 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | ||
19142 | _ACEOF | ||
19143 | sed -n ' | ||
19144 | h | ||
19145 | s/^/S["/; s/!.*/"]=/ | ||
19146 | p | ||
19147 | g | ||
19148 | s/^[^!]*!// | ||
19149 | :repl | ||
19150 | t repl | ||
19151 | s/'"$ac_delim"'$// | ||
19152 | t delim | ||
19153 | :nl | ||
19154 | h | ||
19155 | s/\(.\{148\}\)..*/\1/ | ||
19156 | t more1 | ||
19157 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | ||
19158 | p | ||
19159 | n | ||
19160 | b repl | ||
19161 | :more1 | ||
19162 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
19163 | p | ||
19164 | g | ||
19165 | s/.\{148\}// | ||
19166 | t nl | ||
19167 | :delim | ||
19168 | h | ||
19169 | s/\(.\{148\}\)..*/\1/ | ||
19170 | t more2 | ||
19171 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | ||
19172 | p | ||
19173 | b | ||
19174 | :more2 | ||
19175 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | ||
19176 | p | ||
19177 | g | ||
19178 | s/.\{148\}// | ||
19179 | t delim | ||
19180 | ' <conf$$subs.awk | sed ' | ||
19181 | /^[^""]/{ | ||
19182 | N | ||
19183 | s/\n// | ||
19184 | } | ||
19185 | ' >>$CONFIG_STATUS || ac_write_fail=1 | ||
19186 | rm -f conf$$subs.awk | ||
19187 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
19188 | _ACAWK | ||
19189 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | ||
19190 | for (key in S) S_is_set[key] = 1 | ||
19191 | FS = "" | ||
19192 | |||
19193 | } | ||
19194 | { | ||
19195 | line = $ 0 | ||
19196 | nfields = split(line, field, "@") | ||
19197 | substed = 0 | ||
19198 | len = length(field[1]) | ||
19199 | for (i = 2; i < nfields; i++) { | ||
19200 | key = field[i] | ||
19201 | keylen = length(key) | ||
19202 | if (S_is_set[key]) { | ||
19203 | value = S[key] | ||
19204 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | ||
19205 | len += length(value) + length(field[++i]) | ||
19206 | substed = 1 | ||
19207 | } else | ||
19208 | len += 1 + keylen | ||
19209 | } | ||
19210 | |||
19211 | print line | ||
19212 | } | ||
19213 | |||
19214 | _ACAWK | ||
19215 | _ACEOF | ||
19216 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
19217 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | ||
19218 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | ||
19219 | else | ||
19220 | cat | ||
19221 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | ||
19222 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | ||
19223 | _ACEOF | ||
19224 | |||
19225 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | ||
19226 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | ||
19227 | # trailing colons and then remove the whole line if VPATH becomes empty | ||
19228 | # (actually we leave an empty line to preserve line numbers). | ||
19229 | if test "x$srcdir" = x.; then | ||
19230 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | ||
19231 | h | ||
19232 | s/// | ||
19233 | s/^/:/ | ||
19234 | s/[ ]*$/:/ | ||
19235 | s/:\$(srcdir):/:/g | ||
19236 | s/:\${srcdir}:/:/g | ||
19237 | s/:@srcdir@:/:/g | ||
19238 | s/^:*// | ||
19239 | s/:*$// | ||
19240 | x | ||
19241 | s/\(=[ ]*\).*/\1/ | ||
19242 | G | ||
19243 | s/\n// | ||
19244 | s/^[^=]*=[ ]*$// | ||
19245 | }' | ||
19246 | fi | ||
19247 | 36058 | ||
19248 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 36059 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
19249 | fi # test -n "$CONFIG_FILES" | 36060 | if test -n "$ac_eof"; then |
36061 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | ||
36062 | ac_eof=`expr $ac_eof + 1` | ||
36063 | fi | ||
19250 | 36064 | ||
19251 | # Set up the scripts for CONFIG_HEADERS section. | 36065 | cat >>$CONFIG_STATUS <<_ACEOF |
19252 | # No need to generate them if there are no CONFIG_HEADERS. | 36066 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
19253 | # This happens for instance with `./config.status Makefile'. | 36067 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
19254 | if test -n "$CONFIG_HEADERS"; then | 36068 | _ACEOF |
19255 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | 36069 | sed ' |
19256 | BEGIN { | 36070 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
36071 | s/^/s,@/; s/!/@,|#_!!_#|/ | ||
36072 | :n | ||
36073 | t n | ||
36074 | s/'"$ac_delim"'$/,g/; t | ||
36075 | s/$/\\/; p | ||
36076 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | ||
36077 | ' >>$CONFIG_STATUS <conf$$subs.sed | ||
36078 | rm -f conf$$subs.sed | ||
36079 | cat >>$CONFIG_STATUS <<_ACEOF | ||
36080 | CEOF$ac_eof | ||
19257 | _ACEOF | 36081 | _ACEOF |
19258 | 36082 | ||
19259 | # Transform confdefs.h into an awk script `defines.awk', embedded as | ||
19260 | # here-document in config.status, that substitutes the proper values into | ||
19261 | # config.h.in to produce config.h. | ||
19262 | 36083 | ||
19263 | # Create a delimiter string that does not exist in confdefs.h, to ease | ||
19264 | # handling of long lines. | ||
19265 | ac_delim='%!_!# ' | 36084 | ac_delim='%!_!# ' |
19266 | for ac_last_try in false false :; do | 36085 | for ac_last_try in false false false false false :; do |
19267 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | 36086 | cat >conf$$subs.sed <<_ACEOF |
19268 | if test -z "$ac_tt"; then | 36087 | piddir!$piddir$ac_delim |
36088 | TEST_SSH_IPV6!$TEST_SSH_IPV6$ac_delim | ||
36089 | TEST_MALLOC_OPTIONS!$TEST_MALLOC_OPTIONS$ac_delim | ||
36090 | UNSUPPORTED_ALGORITHMS!$UNSUPPORTED_ALGORITHMS$ac_delim | ||
36091 | LIBOBJS!$LIBOBJS$ac_delim | ||
36092 | LTLIBOBJS!$LTLIBOBJS$ac_delim | ||
36093 | _ACEOF | ||
36094 | |||
36095 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then | ||
19269 | break | 36096 | break |
19270 | elif $ac_last_try; then | 36097 | elif $ac_last_try; then |
19271 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 36098 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
36099 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | ||
36100 | { (exit 1); exit 1; }; } | ||
19272 | else | 36101 | else |
19273 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 36102 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
19274 | fi | 36103 | fi |
19275 | done | 36104 | done |
19276 | 36105 | ||
19277 | # For the awk script, D is an array of macro values keyed by name, | 36106 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
19278 | # likewise P contains macro parameters if any. Preserve backslash | 36107 | if test -n "$ac_eof"; then |
19279 | # newline sequences. | 36108 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
36109 | ac_eof=`expr $ac_eof + 1` | ||
36110 | fi | ||
19280 | 36111 | ||
19281 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | 36112 | cat >>$CONFIG_STATUS <<_ACEOF |
19282 | sed -n ' | 36113 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
19283 | s/.\{148\}/&'"$ac_delim"'/g | 36114 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
19284 | t rset | 36115 | _ACEOF |
19285 | :rset | 36116 | sed ' |
19286 | s/^[ ]*#[ ]*define[ ][ ]*/ / | 36117 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
19287 | t def | 36118 | s/^/s,@/; s/!/@,|#_!!_#|/ |
19288 | d | 36119 | :n |
19289 | :def | 36120 | t n |
19290 | s/\\$// | 36121 | s/'"$ac_delim"'$/,g/; t |
19291 | t bsnl | 36122 | s/$/\\/; p |
19292 | s/["\\]/\\&/g | 36123 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
19293 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | 36124 | ' >>$CONFIG_STATUS <conf$$subs.sed |
19294 | D["\1"]=" \3"/p | 36125 | rm -f conf$$subs.sed |
19295 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | 36126 | cat >>$CONFIG_STATUS <<_ACEOF |
19296 | d | 36127 | :end |
19297 | :bsnl | 36128 | s/|#_!!_#|//g |
19298 | s/["\\]/\\&/g | 36129 | CEOF$ac_eof |
19299 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | ||
19300 | D["\1"]=" \3\\\\\\n"\\/p | ||
19301 | t cont | ||
19302 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | ||
19303 | t cont | ||
19304 | d | ||
19305 | :cont | ||
19306 | n | ||
19307 | s/.\{148\}/&'"$ac_delim"'/g | ||
19308 | t clear | ||
19309 | :clear | ||
19310 | s/\\$// | ||
19311 | t bsnlc | ||
19312 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | ||
19313 | d | ||
19314 | :bsnlc | ||
19315 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | ||
19316 | b cont | ||
19317 | ' <confdefs.h | sed ' | ||
19318 | s/'"$ac_delim"'/"\\\ | ||
19319 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | ||
19320 | |||
19321 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
19322 | for (key in D) D_is_set[key] = 1 | ||
19323 | FS = "" | ||
19324 | } | ||
19325 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | ||
19326 | line = \$ 0 | ||
19327 | split(line, arg, " ") | ||
19328 | if (arg[1] == "#") { | ||
19329 | defundef = arg[2] | ||
19330 | mac1 = arg[3] | ||
19331 | } else { | ||
19332 | defundef = substr(arg[1], 2) | ||
19333 | mac1 = arg[2] | ||
19334 | } | ||
19335 | split(mac1, mac2, "(") #) | ||
19336 | macro = mac2[1] | ||
19337 | prefix = substr(line, 1, index(line, defundef) - 1) | ||
19338 | if (D_is_set[macro]) { | ||
19339 | # Preserve the white space surrounding the "#". | ||
19340 | print prefix "define", macro P[macro] D[macro] | ||
19341 | next | ||
19342 | } else { | ||
19343 | # Replace #undef with comments. This is necessary, for example, | ||
19344 | # in the case of _POSIX_SOURCE, which is predefined and required | ||
19345 | # on some systems where configure will not decide to define it. | ||
19346 | if (defundef == "undef") { | ||
19347 | print "/*", prefix defundef, macro, "*/" | ||
19348 | next | ||
19349 | } | ||
19350 | } | ||
19351 | } | ||
19352 | { print } | ||
19353 | _ACAWK | ||
19354 | _ACEOF | 36130 | _ACEOF |
19355 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
19356 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | ||
19357 | fi # test -n "$CONFIG_HEADERS" | ||
19358 | 36131 | ||
19359 | 36132 | ||
19360 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " | 36133 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
19361 | shift | 36134 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
19362 | for ac_tag | 36135 | # trailing colons and then remove the whole line if VPATH becomes empty |
36136 | # (actually we leave an empty line to preserve line numbers). | ||
36137 | if test "x$srcdir" = x.; then | ||
36138 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ | ||
36139 | s/:*\$(srcdir):*/:/ | ||
36140 | s/:*\${srcdir}:*/:/ | ||
36141 | s/:*@srcdir@:*/:/ | ||
36142 | s/^\([^=]*=[ ]*\):*/\1/ | ||
36143 | s/:*$// | ||
36144 | s/^[^=]*=[ ]*$// | ||
36145 | }' | ||
36146 | fi | ||
36147 | |||
36148 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
36149 | fi # test -n "$CONFIG_FILES" | ||
36150 | |||
36151 | |||
36152 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS | ||
19363 | do | 36153 | do |
19364 | case $ac_tag in | 36154 | case $ac_tag in |
19365 | :[FHLC]) ac_mode=$ac_tag; continue;; | 36155 | :[FHLC]) ac_mode=$ac_tag; continue;; |
19366 | esac | 36156 | esac |
19367 | case $ac_mode$ac_tag in | 36157 | case $ac_mode$ac_tag in |
19368 | :[FHL]*:*);; | 36158 | :[FHL]*:*);; |
19369 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 36159 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
36160 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} | ||
36161 | { (exit 1); exit 1; }; };; | ||
19370 | :[FH]-) ac_tag=-:-;; | 36162 | :[FH]-) ac_tag=-:-;; |
19371 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 36163 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
19372 | esac | 36164 | esac |
@@ -19385,7 +36177,7 @@ do | |||
19385 | for ac_f | 36177 | for ac_f |
19386 | do | 36178 | do |
19387 | case $ac_f in | 36179 | case $ac_f in |
19388 | -) ac_f="$ac_tmp/stdin";; | 36180 | -) ac_f="$tmp/stdin";; |
19389 | *) # Look for the file first in the build tree, then in the source tree | 36181 | *) # Look for the file first in the build tree, then in the source tree |
19390 | # (if the path is not absolute). The absolute path cannot be DOS-style, | 36182 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
19391 | # because $ac_f cannot contain `:'. | 36183 | # because $ac_f cannot contain `:'. |
@@ -19394,34 +36186,26 @@ do | |||
19394 | [\\/$]*) false;; | 36186 | [\\/$]*) false;; |
19395 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 36187 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
19396 | esac || | 36188 | esac || |
19397 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 36189 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
36190 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} | ||
36191 | { (exit 1); exit 1; }; };; | ||
19398 | esac | 36192 | esac |
19399 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 36193 | ac_file_inputs="$ac_file_inputs $ac_f" |
19400 | as_fn_append ac_file_inputs " '$ac_f'" | ||
19401 | done | 36194 | done |
19402 | 36195 | ||
19403 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 36196 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
19404 | # use $as_me), people would be surprised to read: | 36197 | # use $as_me), people would be surprised to read: |
19405 | # /* config.h. Generated by config.status. */ | 36198 | # /* config.h. Generated by config.status. */ |
19406 | configure_input='Generated from '` | 36199 | configure_input="Generated from "`IFS=: |
19407 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 36200 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
19408 | `' by configure.' | ||
19409 | if test x"$ac_file" != x-; then | 36201 | if test x"$ac_file" != x-; then |
19410 | configure_input="$ac_file. $configure_input" | 36202 | configure_input="$ac_file. $configure_input" |
19411 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 36203 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
19412 | $as_echo "$as_me: creating $ac_file" >&6;} | 36204 | echo "$as_me: creating $ac_file" >&6;} |
19413 | fi | 36205 | fi |
19414 | # Neutralize special characters interpreted by sed in replacement strings. | ||
19415 | case $configure_input in #( | ||
19416 | *\&* | *\|* | *\\* ) | ||
19417 | ac_sed_conf_input=`$as_echo "$configure_input" | | ||
19418 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | ||
19419 | *) ac_sed_conf_input=$configure_input;; | ||
19420 | esac | ||
19421 | 36206 | ||
19422 | case $ac_tag in | 36207 | case $ac_tag in |
19423 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 36208 | *:-:* | *:-) cat >"$tmp/stdin";; |
19424 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | ||
19425 | esac | 36209 | esac |
19426 | ;; | 36210 | ;; |
19427 | esac | 36211 | esac |
@@ -19431,7 +36215,42 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |||
19431 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 36215 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
19432 | X"$ac_file" : 'X\(//\)$' \| \ | 36216 | X"$ac_file" : 'X\(//\)$' \| \ |
19433 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 36217 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
19434 | $as_echo X"$ac_file" | | 36218 | echo X"$ac_file" | |
36219 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
36220 | s//\1/ | ||
36221 | q | ||
36222 | } | ||
36223 | /^X\(\/\/\)[^/].*/{ | ||
36224 | s//\1/ | ||
36225 | q | ||
36226 | } | ||
36227 | /^X\(\/\/\)$/{ | ||
36228 | s//\1/ | ||
36229 | q | ||
36230 | } | ||
36231 | /^X\(\/\).*/{ | ||
36232 | s//\1/ | ||
36233 | q | ||
36234 | } | ||
36235 | s/.*/./; q'` | ||
36236 | { as_dir="$ac_dir" | ||
36237 | case $as_dir in #( | ||
36238 | -*) as_dir=./$as_dir;; | ||
36239 | esac | ||
36240 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | ||
36241 | as_dirs= | ||
36242 | while :; do | ||
36243 | case $as_dir in #( | ||
36244 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( | ||
36245 | *) as_qdir=$as_dir;; | ||
36246 | esac | ||
36247 | as_dirs="'$as_qdir' $as_dirs" | ||
36248 | as_dir=`$as_dirname -- "$as_dir" || | ||
36249 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
36250 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
36251 | X"$as_dir" : 'X\(//\)$' \| \ | ||
36252 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
36253 | echo X"$as_dir" | | ||
19435 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 36254 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
19436 | s//\1/ | 36255 | s//\1/ |
19437 | q | 36256 | q |
@@ -19449,15 +36268,20 @@ $as_echo X"$ac_file" | | |||
19449 | q | 36268 | q |
19450 | } | 36269 | } |
19451 | s/.*/./; q'` | 36270 | s/.*/./; q'` |
19452 | as_dir="$ac_dir"; as_fn_mkdir_p | 36271 | test -d "$as_dir" && break |
36272 | done | ||
36273 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
36274 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 | ||
36275 | echo "$as_me: error: cannot create directory $as_dir" >&2;} | ||
36276 | { (exit 1); exit 1; }; }; } | ||
19453 | ac_builddir=. | 36277 | ac_builddir=. |
19454 | 36278 | ||
19455 | case "$ac_dir" in | 36279 | case "$ac_dir" in |
19456 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 36280 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
19457 | *) | 36281 | *) |
19458 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 36282 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
19459 | # A ".." for each directory in $ac_dir_suffix. | 36283 | # A ".." for each directory in $ac_dir_suffix. |
19460 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 36284 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
19461 | case $ac_top_builddir_sub in | 36285 | case $ac_top_builddir_sub in |
19462 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 36286 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
19463 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 36287 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
@@ -19497,12 +36321,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |||
19497 | esac | 36321 | esac |
19498 | _ACEOF | 36322 | _ACEOF |
19499 | 36323 | ||
19500 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 36324 | cat >>$CONFIG_STATUS <<\_ACEOF |
19501 | # If the template does not know about datarootdir, expand it. | 36325 | # If the template does not know about datarootdir, expand it. |
19502 | # FIXME: This hack should be removed a few years after 2.60. | 36326 | # FIXME: This hack should be removed a few years after 2.60. |
19503 | ac_datarootdir_hack=; ac_datarootdir_seen= | 36327 | ac_datarootdir_hack=; ac_datarootdir_seen= |
19504 | ac_sed_dataroot=' | 36328 | |
19505 | /datarootdir/ { | 36329 | case `sed -n '/datarootdir/ { |
19506 | p | 36330 | p |
19507 | q | 36331 | q |
19508 | } | 36332 | } |
@@ -19510,37 +36334,36 @@ ac_sed_dataroot=' | |||
19510 | /@docdir@/p | 36334 | /@docdir@/p |
19511 | /@infodir@/p | 36335 | /@infodir@/p |
19512 | /@localedir@/p | 36336 | /@localedir@/p |
19513 | /@mandir@/p' | 36337 | /@mandir@/p |
19514 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 36338 | ' $ac_file_inputs` in |
19515 | *datarootdir*) ac_datarootdir_seen=yes;; | 36339 | *datarootdir*) ac_datarootdir_seen=yes;; |
19516 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 36340 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
19517 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 36341 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
19518 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 36342 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
19519 | _ACEOF | 36343 | _ACEOF |
19520 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 36344 | cat >>$CONFIG_STATUS <<_ACEOF |
19521 | ac_datarootdir_hack=' | 36345 | ac_datarootdir_hack=' |
19522 | s&@datadir@&$datadir&g | 36346 | s&@datadir@&$datadir&g |
19523 | s&@docdir@&$docdir&g | 36347 | s&@docdir@&$docdir&g |
19524 | s&@infodir@&$infodir&g | 36348 | s&@infodir@&$infodir&g |
19525 | s&@localedir@&$localedir&g | 36349 | s&@localedir@&$localedir&g |
19526 | s&@mandir@&$mandir&g | 36350 | s&@mandir@&$mandir&g |
19527 | s&\\\${datarootdir}&$datarootdir&g' ;; | 36351 | s&\\\${datarootdir}&$datarootdir&g' ;; |
19528 | esac | 36352 | esac |
19529 | _ACEOF | 36353 | _ACEOF |
19530 | 36354 | ||
19531 | # Neutralize VPATH when `$srcdir' = `.'. | 36355 | # Neutralize VPATH when `$srcdir' = `.'. |
19532 | # Shell code in configure.ac might set extrasub. | 36356 | # Shell code in configure.ac might set extrasub. |
19533 | # FIXME: do we really want to maintain this feature? | 36357 | # FIXME: do we really want to maintain this feature? |
19534 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 36358 | cat >>$CONFIG_STATUS <<_ACEOF |
19535 | ac_sed_extra="$ac_vpsub | 36359 | sed "$ac_vpsub |
19536 | $extrasub | 36360 | $extrasub |
19537 | _ACEOF | 36361 | _ACEOF |
19538 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 36362 | cat >>$CONFIG_STATUS <<\_ACEOF |
19539 | :t | 36363 | :t |
19540 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 36364 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
19541 | s|@configure_input@|$ac_sed_conf_input|;t t | 36365 | s&@configure_input@&$configure_input&;t t |
19542 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 36366 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
19543 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | ||
19544 | s&@srcdir@&$ac_srcdir&;t t | 36367 | s&@srcdir@&$ac_srcdir&;t t |
19545 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 36368 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
19546 | s&@top_srcdir@&$ac_top_srcdir&;t t | 36369 | s&@top_srcdir@&$ac_top_srcdir&;t t |
@@ -19550,49 +36373,119 @@ s&@abs_builddir@&$ac_abs_builddir&;t t | |||
19550 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 36373 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
19551 | s&@INSTALL@&$ac_INSTALL&;t t | 36374 | s&@INSTALL@&$ac_INSTALL&;t t |
19552 | $ac_datarootdir_hack | 36375 | $ac_datarootdir_hack |
19553 | " | 36376 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
19554 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | ||
19555 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
19556 | 36377 | ||
19557 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 36378 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
19558 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 36379 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
19559 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | 36380 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
19560 | "$ac_tmp/out"`; test -z "$ac_out"; } && | 36381 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
19561 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 36382 | which seems to be undefined. Please make sure it is defined." >&5 |
19562 | which seems to be undefined. Please make sure it is defined" >&5 | 36383 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
19563 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 36384 | which seems to be undefined. Please make sure it is defined." >&2;} |
19564 | which seems to be undefined. Please make sure it is defined" >&2;} | 36385 | |
19565 | 36386 | rm -f "$tmp/stdin" | |
19566 | rm -f "$ac_tmp/stdin" | ||
19567 | case $ac_file in | 36387 | case $ac_file in |
19568 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 36388 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
19569 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 36389 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
19570 | esac \ | 36390 | esac |
19571 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
19572 | ;; | 36391 | ;; |
19573 | :H) | 36392 | :H) |
19574 | # | 36393 | # |
19575 | # CONFIG_HEADER | 36394 | # CONFIG_HEADER |
19576 | # | 36395 | # |
36396 | _ACEOF | ||
36397 | |||
36398 | # Transform confdefs.h into a sed script `conftest.defines', that | ||
36399 | # substitutes the proper values into config.h.in to produce config.h. | ||
36400 | rm -f conftest.defines conftest.tail | ||
36401 | # First, append a space to every undef/define line, to ease matching. | ||
36402 | echo 's/$/ /' >conftest.defines | ||
36403 | # Then, protect against being on the right side of a sed subst, or in | ||
36404 | # an unquoted here document, in config.status. If some macros were | ||
36405 | # called several times there might be several #defines for the same | ||
36406 | # symbol, which is useless. But do not sort them, since the last | ||
36407 | # AC_DEFINE must be honored. | ||
36408 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | ||
36409 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | ||
36410 | # NAME is the cpp macro being defined, VALUE is the value it is being given. | ||
36411 | # PARAMS is the parameter list in the macro definition--in most cases, it's | ||
36412 | # just an empty string. | ||
36413 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | ||
36414 | ac_dB='\\)[ (].*,\\1define\\2' | ||
36415 | ac_dC=' ' | ||
36416 | ac_dD=' ,' | ||
36417 | |||
36418 | uniq confdefs.h | | ||
36419 | sed -n ' | ||
36420 | t rset | ||
36421 | :rset | ||
36422 | s/^[ ]*#[ ]*define[ ][ ]*// | ||
36423 | t ok | ||
36424 | d | ||
36425 | :ok | ||
36426 | s/[\\&,]/\\&/g | ||
36427 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p | ||
36428 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p | ||
36429 | ' >>conftest.defines | ||
36430 | |||
36431 | # Remove the space that was appended to ease matching. | ||
36432 | # Then replace #undef with comments. This is necessary, for | ||
36433 | # example, in the case of _POSIX_SOURCE, which is predefined and required | ||
36434 | # on some systems where configure will not decide to define it. | ||
36435 | # (The regexp can be short, since the line contains either #define or #undef.) | ||
36436 | echo 's/ $// | ||
36437 | s,^[ #]*u.*,/* & */,' >>conftest.defines | ||
36438 | |||
36439 | # Break up conftest.defines: | ||
36440 | ac_max_sed_lines=50 | ||
36441 | |||
36442 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" | ||
36443 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" | ||
36444 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" | ||
36445 | # et cetera. | ||
36446 | ac_in='$ac_file_inputs' | ||
36447 | ac_out='"$tmp/out1"' | ||
36448 | ac_nxt='"$tmp/out2"' | ||
36449 | |||
36450 | while : | ||
36451 | do | ||
36452 | # Write a here document: | ||
36453 | cat >>$CONFIG_STATUS <<_ACEOF | ||
36454 | # First, check the format of the line: | ||
36455 | cat >"\$tmp/defines.sed" <<\\CEOF | ||
36456 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def | ||
36457 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def | ||
36458 | b | ||
36459 | :def | ||
36460 | _ACEOF | ||
36461 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | ||
36462 | echo 'CEOF | ||
36463 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS | ||
36464 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in | ||
36465 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail | ||
36466 | grep . conftest.tail >/dev/null || break | ||
36467 | rm -f conftest.defines | ||
36468 | mv conftest.tail conftest.defines | ||
36469 | done | ||
36470 | rm -f conftest.defines conftest.tail | ||
36471 | |||
36472 | echo "ac_result=$ac_in" >>$CONFIG_STATUS | ||
36473 | cat >>$CONFIG_STATUS <<\_ACEOF | ||
19577 | if test x"$ac_file" != x-; then | 36474 | if test x"$ac_file" != x-; then |
19578 | { | 36475 | echo "/* $configure_input */" >"$tmp/config.h" |
19579 | $as_echo "/* $configure_input */" \ | 36476 | cat "$ac_result" >>"$tmp/config.h" |
19580 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 36477 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
19581 | } >"$ac_tmp/config.h" \ | 36478 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
19582 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 36479 | echo "$as_me: $ac_file is unchanged" >&6;} |
19583 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | ||
19584 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | ||
19585 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | ||
19586 | else | 36480 | else |
19587 | rm -f "$ac_file" | 36481 | rm -f $ac_file |
19588 | mv "$ac_tmp/config.h" "$ac_file" \ | 36482 | mv "$tmp/config.h" $ac_file |
19589 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | ||
19590 | fi | 36483 | fi |
19591 | else | 36484 | else |
19592 | $as_echo "/* $configure_input */" \ | 36485 | echo "/* $configure_input */" |
19593 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 36486 | cat "$ac_result" |
19594 | || as_fn_error $? "could not create -" "$LINENO" 5 | ||
19595 | fi | 36487 | fi |
36488 | rm -f "$tmp/out12" | ||
19596 | ;; | 36489 | ;; |
19597 | 36490 | ||
19598 | 36491 | ||
@@ -19601,13 +36494,11 @@ $as_echo "$as_me: $ac_file is unchanged" >&6;} | |||
19601 | done # for ac_tag | 36494 | done # for ac_tag |
19602 | 36495 | ||
19603 | 36496 | ||
19604 | as_fn_exit 0 | 36497 | { (exit 0); exit 0; } |
19605 | _ACEOF | 36498 | _ACEOF |
36499 | chmod +x $CONFIG_STATUS | ||
19606 | ac_clean_files=$ac_clean_files_save | 36500 | ac_clean_files=$ac_clean_files_save |
19607 | 36501 | ||
19608 | test $ac_write_fail = 0 || | ||
19609 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | ||
19610 | |||
19611 | 36502 | ||
19612 | # configure is writing to config.log, and then calls config.status. | 36503 | # configure is writing to config.log, and then calls config.status. |
19613 | # config.status does its own redirection, appending to config.log. | 36504 | # config.status does its own redirection, appending to config.log. |
@@ -19627,11 +36518,7 @@ if test "$no_create" != yes; then | |||
19627 | exec 5>>config.log | 36518 | exec 5>>config.log |
19628 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 36519 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
19629 | # would make configure fail if this is the last instruction. | 36520 | # would make configure fail if this is the last instruction. |
19630 | $ac_cs_success || as_fn_exit 1 | 36521 | $ac_cs_success || { (exit 1); exit 1; } |
19631 | fi | ||
19632 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | ||
19633 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | ||
19634 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | ||
19635 | fi | 36522 | fi |
19636 | 36523 | ||
19637 | 36524 | ||