1 | #! /bin/sh |
1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.59 for libspf 1.0.0-p5. |
3 | # Generated by GNU Autoconf 2.61 for libspf 1.0.0-p5. |
4 | # |
4 | # |
5 | # Report bugs to <jcouzens@codeshare.ca>. |
5 | # Report bugs to <jcouzens@codeshare.ca>. |
6 | # |
6 | # |
7 | # Copyright (C) 2003 Free Software Foundation, Inc. |
7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
8 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
8 | # This configure script is free software; the Free Software Foundation |
9 | # This configure script is free software; the Free Software Foundation |
9 | # gives unlimited permission to copy, distribute and modify it. |
10 | # gives unlimited permission to copy, distribute and modify it. |
10 | ## --------------------- ## |
11 | ## --------------------- ## |
11 | ## M4sh Initialization. ## |
12 | ## M4sh Initialization. ## |
12 | ## --------------------- ## |
13 | ## --------------------- ## |
13 | |
14 | |
14 | # Be Bourne compatible |
15 | # Be more Bourne compatible |
|
|
16 | DUALCASE=1; export DUALCASE # for MKS sh |
15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
16 | emulate sh |
18 | emulate sh |
17 | NULLCMD=: |
19 | NULLCMD=: |
18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
20 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
19 | # is contrary to our usage. Disable this feature. |
21 | # is contrary to our usage. Disable this feature. |
20 | alias -g '${1+"$@"}'='"$@"' |
22 | alias -g '${1+"$@"}'='"$@"' |
21 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
23 | setopt NO_GLOB_SUBST |
22 | set -o posix |
|
|
23 | fi |
|
|
24 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
25 | |
|
|
26 | # Support unset when possible. |
|
|
27 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
28 | as_unset=unset |
|
|
29 | else |
|
|
30 | as_unset=false |
|
|
31 | fi |
|
|
32 | |
|
|
33 | |
|
|
34 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
35 | $as_unset ENV MAIL MAILPATH |
|
|
36 | PS1='$ ' |
|
|
37 | PS2='> ' |
|
|
38 | PS4='+ ' |
|
|
39 | |
|
|
40 | # NLS nuisances. |
|
|
41 | for as_var in \ |
|
|
42 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
43 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
44 | LC_TELEPHONE LC_TIME |
|
|
45 | do |
|
|
46 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
47 | eval $as_var=C; export $as_var |
|
|
48 | else |
24 | else |
49 | $as_unset $as_var |
25 | case `(set -o) 2>/dev/null` in |
50 | fi |
26 | *posix*) set -o posix ;; |
51 | done |
27 | esac |
52 | |
28 | |
53 | # Required to use basename. |
|
|
54 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
55 | as_expr=expr |
|
|
56 | else |
|
|
57 | as_expr=false |
|
|
58 | fi |
29 | fi |
59 | |
30 | |
60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
|
61 | as_basename=basename |
|
|
62 | else |
|
|
63 | as_basename=false |
|
|
64 | fi |
|
|
65 | |
31 | |
66 | |
32 | |
67 | # Name of the executable. |
|
|
68 | as_me=`$as_basename "$0" || |
|
|
69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
70 | X"$0" : 'X\(//\)$' \| \ |
|
|
71 | X"$0" : 'X\(/\)$' \| \ |
|
|
72 | . : '\(.\)' 2>/dev/null || |
|
|
73 | echo X/"$0" | |
|
|
74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
|
75 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
|
76 | /^X\/\(\/\).*/{ s//\1/; q; } |
|
|
77 | s/.*/./; q'` |
|
|
78 | |
33 | |
79 | |
34 | # PATH needs CR |
80 | # PATH needs CR, and LINENO needs CR and PATH. |
|
|
81 | # Avoid depending upon Character Ranges. |
35 | # Avoid depending upon Character Ranges. |
82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
85 | as_cr_digits='0123456789' |
39 | as_cr_digits='0123456789' |
… | |
… | |
96 | PATH_SEPARATOR=: |
50 | PATH_SEPARATOR=: |
97 | fi |
51 | fi |
98 | rm -f conf$$.sh |
52 | rm -f conf$$.sh |
99 | fi |
53 | fi |
100 | |
54 | |
|
|
55 | # Support unset when possible. |
|
|
56 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
57 | as_unset=unset |
|
|
58 | else |
|
|
59 | as_unset=false |
|
|
60 | fi |
101 | |
61 | |
102 | as_lineno_1=$LINENO |
62 | |
103 | as_lineno_2=$LINENO |
63 | # IFS |
104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
64 | # We need space, tab and new line, in precisely that order. Quoting is |
105 | test "x$as_lineno_1" != "x$as_lineno_2" && |
65 | # there to prevent editors from complaining about space-tab. |
106 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
66 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
67 | # splitting by setting IFS to empty value.) |
|
|
68 | as_nl=' |
|
|
69 | ' |
|
|
70 | IFS=" "" $as_nl" |
|
|
71 | |
107 | # Find who we are. Look in the path if we contain no path at all |
72 | # Find who we are. Look in the path if we contain no directory separator. |
108 | # relative or not. |
|
|
109 | case $0 in |
73 | case $0 in |
110 | *[\\/]* ) as_myself=$0 ;; |
74 | *[\\/]* ) as_myself=$0 ;; |
111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
75 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
112 | for as_dir in $PATH |
76 | for as_dir in $PATH |
113 | do |
77 | do |
114 | IFS=$as_save_IFS |
78 | IFS=$as_save_IFS |
115 | test -z "$as_dir" && as_dir=. |
79 | test -z "$as_dir" && as_dir=. |
116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
80 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
117 | done |
81 | done |
|
|
82 | IFS=$as_save_IFS |
118 | |
83 | |
119 | ;; |
84 | ;; |
120 | esac |
85 | esac |
121 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
86 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
122 | # in which case we are not to be found in the path. |
87 | # in which case we are not to be found in the path. |
123 | if test "x$as_myself" = x; then |
88 | if test "x$as_myself" = x; then |
124 | as_myself=$0 |
89 | as_myself=$0 |
|
|
90 | fi |
|
|
91 | if test ! -f "$as_myself"; then |
|
|
92 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
|
93 | { (exit 1); exit 1; } |
|
|
94 | fi |
|
|
95 | |
|
|
96 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
97 | for as_var in ENV MAIL MAILPATH |
|
|
98 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
99 | done |
|
|
100 | PS1='$ ' |
|
|
101 | PS2='> ' |
|
|
102 | PS4='+ ' |
|
|
103 | |
|
|
104 | # NLS nuisances. |
|
|
105 | for as_var in \ |
|
|
106 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
107 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
108 | LC_TELEPHONE LC_TIME |
|
|
109 | do |
|
|
110 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
111 | eval $as_var=C; export $as_var |
|
|
112 | else |
|
|
113 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
125 | fi |
114 | fi |
126 | if test ! -f "$as_myself"; then |
115 | done |
127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
116 | |
128 | { (exit 1); exit 1; }; } |
117 | # Required to use basename. |
129 | fi |
118 | if expr a : '\(a\)' >/dev/null 2>&1 && |
130 | case $CONFIG_SHELL in |
119 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
131 | '') |
120 | as_expr=expr |
|
|
121 | else |
|
|
122 | as_expr=false |
|
|
123 | fi |
|
|
124 | |
|
|
125 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
|
126 | as_basename=basename |
|
|
127 | else |
|
|
128 | as_basename=false |
|
|
129 | fi |
|
|
130 | |
|
|
131 | |
|
|
132 | # Name of the executable. |
|
|
133 | as_me=`$as_basename -- "$0" || |
|
|
134 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
135 | X"$0" : 'X\(//\)$' \| \ |
|
|
136 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
|
137 | echo X/"$0" | |
|
|
138 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
|
139 | s//\1/ |
|
|
140 | q |
|
|
141 | } |
|
|
142 | /^X\/\(\/\/\)$/{ |
|
|
143 | s//\1/ |
|
|
144 | q |
|
|
145 | } |
|
|
146 | /^X\/\(\/\).*/{ |
|
|
147 | s//\1/ |
|
|
148 | q |
|
|
149 | } |
|
|
150 | s/.*/./; q'` |
|
|
151 | |
|
|
152 | # CDPATH. |
|
|
153 | $as_unset CDPATH |
|
|
154 | |
|
|
155 | |
|
|
156 | if test "x$CONFIG_SHELL" = x; then |
|
|
157 | if (eval ":") 2>/dev/null; then |
|
|
158 | as_have_required=yes |
|
|
159 | else |
|
|
160 | as_have_required=no |
|
|
161 | fi |
|
|
162 | |
|
|
163 | if test $as_have_required = yes && (eval ": |
|
|
164 | (as_func_return () { |
|
|
165 | (exit \$1) |
|
|
166 | } |
|
|
167 | as_func_success () { |
|
|
168 | as_func_return 0 |
|
|
169 | } |
|
|
170 | as_func_failure () { |
|
|
171 | as_func_return 1 |
|
|
172 | } |
|
|
173 | as_func_ret_success () { |
|
|
174 | return 0 |
|
|
175 | } |
|
|
176 | as_func_ret_failure () { |
|
|
177 | return 1 |
|
|
178 | } |
|
|
179 | |
|
|
180 | exitcode=0 |
|
|
181 | if as_func_success; then |
|
|
182 | : |
|
|
183 | else |
|
|
184 | exitcode=1 |
|
|
185 | echo as_func_success failed. |
|
|
186 | fi |
|
|
187 | |
|
|
188 | if as_func_failure; then |
|
|
189 | exitcode=1 |
|
|
190 | echo as_func_failure succeeded. |
|
|
191 | fi |
|
|
192 | |
|
|
193 | if as_func_ret_success; then |
|
|
194 | : |
|
|
195 | else |
|
|
196 | exitcode=1 |
|
|
197 | echo as_func_ret_success failed. |
|
|
198 | fi |
|
|
199 | |
|
|
200 | if as_func_ret_failure; then |
|
|
201 | exitcode=1 |
|
|
202 | echo as_func_ret_failure succeeded. |
|
|
203 | fi |
|
|
204 | |
|
|
205 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
206 | : |
|
|
207 | else |
|
|
208 | exitcode=1 |
|
|
209 | echo positional parameters were not saved. |
|
|
210 | fi |
|
|
211 | |
|
|
212 | test \$exitcode = 0) || { (exit 1); exit 1; } |
|
|
213 | |
|
|
214 | ( |
|
|
215 | as_lineno_1=\$LINENO |
|
|
216 | as_lineno_2=\$LINENO |
|
|
217 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && |
|
|
218 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } |
|
|
219 | ") 2> /dev/null; then |
|
|
220 | : |
|
|
221 | else |
|
|
222 | as_candidate_shells= |
132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
223 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
224 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
134 | do |
225 | do |
135 | IFS=$as_save_IFS |
226 | IFS=$as_save_IFS |
136 | test -z "$as_dir" && as_dir=. |
227 | test -z "$as_dir" && as_dir=. |
137 | for as_base in sh bash ksh sh5; do |
|
|
138 | case $as_dir in |
228 | case $as_dir in |
139 | /*) |
229 | /*) |
140 | if ("$as_dir/$as_base" -c ' |
230 | for as_base in sh bash ksh sh5; do |
|
|
231 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
|
|
232 | done;; |
|
|
233 | esac |
|
|
234 | done |
|
|
235 | IFS=$as_save_IFS |
|
|
236 | |
|
|
237 | |
|
|
238 | for as_shell in $as_candidate_shells $SHELL; do |
|
|
239 | # Try only shells that exist, to save several forks. |
|
|
240 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
|
241 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
|
|
242 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
243 | emulate sh |
|
|
244 | NULLCMD=: |
|
|
245 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
246 | # is contrary to our usage. Disable this feature. |
|
|
247 | alias -g '${1+"$@"}'='"$@"' |
|
|
248 | setopt NO_GLOB_SUBST |
|
|
249 | else |
|
|
250 | case `(set -o) 2>/dev/null` in |
|
|
251 | *posix*) set -o posix ;; |
|
|
252 | esac |
|
|
253 | |
|
|
254 | fi |
|
|
255 | |
|
|
256 | |
|
|
257 | : |
|
|
258 | _ASEOF |
|
|
259 | }; then |
|
|
260 | CONFIG_SHELL=$as_shell |
|
|
261 | as_have_required=yes |
|
|
262 | if { "$as_shell" 2> /dev/null <<\_ASEOF |
|
|
263 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
|
|
264 | emulate sh |
|
|
265 | NULLCMD=: |
|
|
266 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
|
|
267 | # is contrary to our usage. Disable this feature. |
|
|
268 | alias -g '${1+"$@"}'='"$@"' |
|
|
269 | setopt NO_GLOB_SUBST |
|
|
270 | else |
|
|
271 | case `(set -o) 2>/dev/null` in |
|
|
272 | *posix*) set -o posix ;; |
|
|
273 | esac |
|
|
274 | |
|
|
275 | fi |
|
|
276 | |
|
|
277 | |
|
|
278 | : |
|
|
279 | (as_func_return () { |
|
|
280 | (exit $1) |
|
|
281 | } |
|
|
282 | as_func_success () { |
|
|
283 | as_func_return 0 |
|
|
284 | } |
|
|
285 | as_func_failure () { |
|
|
286 | as_func_return 1 |
|
|
287 | } |
|
|
288 | as_func_ret_success () { |
|
|
289 | return 0 |
|
|
290 | } |
|
|
291 | as_func_ret_failure () { |
|
|
292 | return 1 |
|
|
293 | } |
|
|
294 | |
|
|
295 | exitcode=0 |
|
|
296 | if as_func_success; then |
|
|
297 | : |
|
|
298 | else |
|
|
299 | exitcode=1 |
|
|
300 | echo as_func_success failed. |
|
|
301 | fi |
|
|
302 | |
|
|
303 | if as_func_failure; then |
|
|
304 | exitcode=1 |
|
|
305 | echo as_func_failure succeeded. |
|
|
306 | fi |
|
|
307 | |
|
|
308 | if as_func_ret_success; then |
|
|
309 | : |
|
|
310 | else |
|
|
311 | exitcode=1 |
|
|
312 | echo as_func_ret_success failed. |
|
|
313 | fi |
|
|
314 | |
|
|
315 | if as_func_ret_failure; then |
|
|
316 | exitcode=1 |
|
|
317 | echo as_func_ret_failure succeeded. |
|
|
318 | fi |
|
|
319 | |
|
|
320 | if ( set x; as_func_ret_success y && test x = "$1" ); then |
|
|
321 | : |
|
|
322 | else |
|
|
323 | exitcode=1 |
|
|
324 | echo positional parameters were not saved. |
|
|
325 | fi |
|
|
326 | |
|
|
327 | test $exitcode = 0) || { (exit 1); exit 1; } |
|
|
328 | |
|
|
329 | ( |
141 | as_lineno_1=$LINENO |
330 | as_lineno_1=$LINENO |
142 | as_lineno_2=$LINENO |
331 | as_lineno_2=$LINENO |
143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
144 | test "x$as_lineno_1" != "x$as_lineno_2" && |
332 | test "x$as_lineno_1" != "x$as_lineno_2" && |
145 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
333 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
334 | |
147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
335 | _ASEOF |
148 | CONFIG_SHELL=$as_dir/$as_base |
336 | }; then |
149 | export CONFIG_SHELL |
337 | break |
150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
338 | fi |
151 | fi;; |
339 | |
152 | esac |
340 | fi |
|
|
341 | |
|
|
342 | done |
|
|
343 | |
|
|
344 | if test "x$CONFIG_SHELL" != x; then |
|
|
345 | for as_var in BASH_ENV ENV |
|
|
346 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
153 | done |
347 | done |
154 | done |
348 | export CONFIG_SHELL |
155 | ;; |
349 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
156 | esac |
350 | fi |
|
|
351 | |
|
|
352 | |
|
|
353 | if test $as_have_required = no; then |
|
|
354 | echo This script requires a shell more modern than all the |
|
|
355 | echo shells that I found on your system. Please install a |
|
|
356 | echo modern shell, or manually run the script under such a |
|
|
357 | echo shell if you do have one. |
|
|
358 | { (exit 1); exit 1; } |
|
|
359 | fi |
|
|
360 | |
|
|
361 | |
|
|
362 | fi |
|
|
363 | |
|
|
364 | fi |
|
|
365 | |
|
|
366 | |
|
|
367 | |
|
|
368 | (eval "as_func_return () { |
|
|
369 | (exit \$1) |
|
|
370 | } |
|
|
371 | as_func_success () { |
|
|
372 | as_func_return 0 |
|
|
373 | } |
|
|
374 | as_func_failure () { |
|
|
375 | as_func_return 1 |
|
|
376 | } |
|
|
377 | as_func_ret_success () { |
|
|
378 | return 0 |
|
|
379 | } |
|
|
380 | as_func_ret_failure () { |
|
|
381 | return 1 |
|
|
382 | } |
|
|
383 | |
|
|
384 | exitcode=0 |
|
|
385 | if as_func_success; then |
|
|
386 | : |
|
|
387 | else |
|
|
388 | exitcode=1 |
|
|
389 | echo as_func_success failed. |
|
|
390 | fi |
|
|
391 | |
|
|
392 | if as_func_failure; then |
|
|
393 | exitcode=1 |
|
|
394 | echo as_func_failure succeeded. |
|
|
395 | fi |
|
|
396 | |
|
|
397 | if as_func_ret_success; then |
|
|
398 | : |
|
|
399 | else |
|
|
400 | exitcode=1 |
|
|
401 | echo as_func_ret_success failed. |
|
|
402 | fi |
|
|
403 | |
|
|
404 | if as_func_ret_failure; then |
|
|
405 | exitcode=1 |
|
|
406 | echo as_func_ret_failure succeeded. |
|
|
407 | fi |
|
|
408 | |
|
|
409 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
|
|
410 | : |
|
|
411 | else |
|
|
412 | exitcode=1 |
|
|
413 | echo positional parameters were not saved. |
|
|
414 | fi |
|
|
415 | |
|
|
416 | test \$exitcode = 0") || { |
|
|
417 | echo No shell found that supports shell functions. |
|
|
418 | echo Please tell autoconf@gnu.org about your system, |
|
|
419 | echo including any error possibly output before this |
|
|
420 | echo message |
|
|
421 | } |
|
|
422 | |
|
|
423 | |
|
|
424 | |
|
|
425 | as_lineno_1=$LINENO |
|
|
426 | as_lineno_2=$LINENO |
|
|
427 | test "x$as_lineno_1" != "x$as_lineno_2" && |
|
|
428 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
157 | |
429 | |
158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
430 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
159 | # uniformly replaced by the line number. The first 'sed' inserts a |
431 | # uniformly replaced by the line number. The first 'sed' inserts a |
160 | # line-number line before each line; the second 'sed' does the real |
432 | # line-number line after each line using $LINENO; the second 'sed' |
161 | # work. The second script uses 'N' to pair each line-number line |
433 | # does the real work. The second script uses 'N' to pair each |
162 | # with the numbered line, and appends trailing '-' during |
434 | # line-number line with the line containing $LINENO, and appends |
163 | # substitution so that $LINENO is not a special case at line end. |
435 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
436 | # case at line end. |
164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
437 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
165 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
438 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
439 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
440 | sed -n ' |
|
|
441 | p |
|
|
442 | /[$]LINENO/= |
166 | sed '=' <$as_myself | |
443 | ' <$as_myself | |
167 | sed ' |
444 | sed ' |
|
|
445 | s/[$]LINENO.*/&-/ |
|
|
446 | t lineno |
|
|
447 | b |
|
|
448 | :lineno |
168 | N |
449 | N |
169 | s,$,-, |
|
|
170 | : loop |
450 | :loop |
171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
451 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
172 | t loop |
452 | t loop |
173 | s,-$,, |
453 | s/-\n.*// |
174 | s,^['$as_cr_digits']*\n,, |
|
|
175 | ' >$as_me.lineno && |
454 | ' >$as_me.lineno && |
176 | chmod +x $as_me.lineno || |
455 | chmod +x "$as_me.lineno" || |
177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
456 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
178 | { (exit 1); exit 1; }; } |
457 | { (exit 1); exit 1; }; } |
179 | |
458 | |
180 | # Don't try to exec as it changes $[0], causing all sort of problems |
459 | # Don't try to exec as it changes $[0], causing all sort of problems |
181 | # (the dirname of $[0] is not the place where we might find the |
460 | # (the dirname of $[0] is not the place where we might find the |
182 | # original and so on. Autoconf is especially sensible to this). |
461 | # original and so on. Autoconf is especially sensitive to this). |
183 | . ./$as_me.lineno |
462 | . "./$as_me.lineno" |
184 | # Exit status is that of the last command. |
463 | # Exit status is that of the last command. |
185 | exit |
464 | exit |
186 | } |
465 | } |
187 | |
466 | |
188 | |
467 | |
189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
468 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
190 | *c*,-n*) ECHO_N= ECHO_C=' |
469 | as_dirname=dirname |
191 | ' ECHO_T=' ' ;; |
470 | else |
192 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
471 | as_dirname=false |
193 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
472 | fi |
|
|
473 | |
|
|
474 | ECHO_C= ECHO_N= ECHO_T= |
|
|
475 | case `echo -n x` in |
|
|
476 | -n*) |
|
|
477 | case `echo 'x\c'` in |
|
|
478 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
|
479 | *) ECHO_C='\c';; |
|
|
480 | esac;; |
|
|
481 | *) |
|
|
482 | ECHO_N='-n';; |
194 | esac |
483 | esac |
195 | |
484 | |
196 | if expr a : '\(a\)' >/dev/null 2>&1; then |
485 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
486 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
197 | as_expr=expr |
487 | as_expr=expr |
198 | else |
488 | else |
199 | as_expr=false |
489 | as_expr=false |
200 | fi |
490 | fi |
201 | |
491 | |
202 | rm -f conf$$ conf$$.exe conf$$.file |
492 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
493 | if test -d conf$$.dir; then |
|
|
494 | rm -f conf$$.dir/conf$$.file |
|
|
495 | else |
|
|
496 | rm -f conf$$.dir |
|
|
497 | mkdir conf$$.dir |
|
|
498 | fi |
203 | echo >conf$$.file |
499 | echo >conf$$.file |
204 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
500 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
205 | # We could just check for DJGPP; but this test a) works b) is more generic |
501 | as_ln_s='ln -s' |
206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
502 | # ... but there are two gotchas: |
207 | if test -f conf$$.exe; then |
503 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
208 | # Don't use ln at all; we don't have any links |
504 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
|
505 | # In both cases, we have to default to `cp -p'. |
|
|
506 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
209 | as_ln_s='cp -p' |
507 | as_ln_s='cp -p' |
210 | else |
|
|
211 | as_ln_s='ln -s' |
|
|
212 | fi |
|
|
213 | elif ln conf$$.file conf$$ 2>/dev/null; then |
508 | elif ln conf$$.file conf$$ 2>/dev/null; then |
214 | as_ln_s=ln |
509 | as_ln_s=ln |
215 | else |
510 | else |
216 | as_ln_s='cp -p' |
511 | as_ln_s='cp -p' |
217 | fi |
512 | fi |
218 | rm -f conf$$ conf$$.exe conf$$.file |
513 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
|
514 | rmdir conf$$.dir 2>/dev/null |
219 | |
515 | |
220 | if mkdir -p . 2>/dev/null; then |
516 | if mkdir -p . 2>/dev/null; then |
221 | as_mkdir_p=: |
517 | as_mkdir_p=: |
222 | else |
518 | else |
223 | test -d ./-p && rmdir ./-p |
519 | test -d ./-p && rmdir ./-p |
224 | as_mkdir_p=false |
520 | as_mkdir_p=false |
225 | fi |
521 | fi |
226 | |
522 | |
|
|
523 | if test -x / >/dev/null 2>&1; then |
|
|
524 | as_test_x='test -x' |
|
|
525 | else |
|
|
526 | if ls -dL / >/dev/null 2>&1; then |
|
|
527 | as_ls_L_option=L |
|
|
528 | else |
|
|
529 | as_ls_L_option= |
|
|
530 | fi |
|
|
531 | as_test_x=' |
|
|
532 | eval sh -c '\'' |
|
|
533 | if test -d "$1"; then |
|
|
534 | test -d "$1/."; |
|
|
535 | else |
|
|
536 | case $1 in |
|
|
537 | -*)set "./$1";; |
|
|
538 | esac; |
|
|
539 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
540 | ???[sx]*):;;*)false;;esac;fi |
|
|
541 | '\'' sh |
|
|
542 | ' |
|
|
543 | fi |
227 | as_executable_p="test -f" |
544 | as_executable_p=$as_test_x |
228 | |
545 | |
229 | # Sed expression to map a string onto a valid CPP name. |
546 | # Sed expression to map a string onto a valid CPP name. |
230 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
547 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 | |
548 | |
232 | # Sed expression to map a string onto a valid variable name. |
549 | # Sed expression to map a string onto a valid variable name. |
233 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
550 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 | |
551 | |
235 | |
|
|
236 | # IFS |
|
|
237 | # We need space, tab and new line, in precisely that order. |
|
|
238 | as_nl=' |
|
|
239 | ' |
|
|
240 | IFS=" $as_nl" |
|
|
241 | |
|
|
242 | # CDPATH. |
|
|
243 | $as_unset CDPATH |
|
|
244 | |
552 | |
245 | |
553 | |
246 | |
554 | |
247 | # Check that we are running under the correct shell. |
555 | # Check that we are running under the correct shell. |
248 | SHELL=${CONFIG_SHELL-/bin/sh} |
556 | SHELL=${CONFIG_SHELL-/bin/sh} |
… | |
… | |
395 | |
703 | |
396 | tagnames=${tagnames+${tagnames},}CXX |
704 | tagnames=${tagnames+${tagnames},}CXX |
397 | |
705 | |
398 | tagnames=${tagnames+${tagnames},}F77 |
706 | tagnames=${tagnames+${tagnames},}F77 |
399 | |
707 | |
|
|
708 | exec 7<&0 </dev/null 6>&1 |
|
|
709 | |
400 | # Name of the host. |
710 | # Name of the host. |
401 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
711 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
402 | # so uname gets run too. |
712 | # so uname gets run too. |
403 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
713 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
404 | |
714 | |
405 | exec 6>&1 |
|
|
406 | |
|
|
407 | # |
715 | # |
408 | # Initializations. |
716 | # Initializations. |
409 | # |
717 | # |
410 | ac_default_prefix=/usr/local |
718 | ac_default_prefix=/usr/local |
|
|
719 | ac_clean_files= |
411 | ac_config_libobj_dir=. |
720 | ac_config_libobj_dir=. |
|
|
721 | LIBOBJS= |
412 | cross_compiling=no |
722 | cross_compiling=no |
413 | subdirs= |
723 | subdirs= |
414 | MFLAGS= |
724 | MFLAGS= |
415 | MAKEFLAGS= |
725 | MAKEFLAGS= |
416 | SHELL=${CONFIG_SHELL-/bin/sh} |
726 | SHELL=${CONFIG_SHELL-/bin/sh} |
417 | |
|
|
418 | # Maximum number of lines to put in a shell here document. |
|
|
419 | # This variable seems obsolete. It should probably be removed, and |
|
|
420 | # only ac_max_sed_lines should be used. |
|
|
421 | : ${ac_max_here_lines=38} |
|
|
422 | |
727 | |
423 | # Identity of this package. |
728 | # Identity of this package. |
424 | PACKAGE_NAME='libspf' |
729 | PACKAGE_NAME='libspf' |
425 | PACKAGE_TARNAME='libspf' |
730 | PACKAGE_TARNAME='libspf' |
426 | PACKAGE_VERSION='1.0.0-p5' |
731 | PACKAGE_VERSION='1.0.0-p5' |
… | |
… | |
428 | PACKAGE_BUGREPORT='jcouzens@codeshare.ca' |
733 | PACKAGE_BUGREPORT='jcouzens@codeshare.ca' |
429 | |
734 | |
430 | # Factoring default headers for most tests. |
735 | # Factoring default headers for most tests. |
431 | ac_includes_default="\ |
736 | ac_includes_default="\ |
432 | #include <stdio.h> |
737 | #include <stdio.h> |
433 | #if HAVE_SYS_TYPES_H |
738 | #ifdef HAVE_SYS_TYPES_H |
434 | # include <sys/types.h> |
739 | # include <sys/types.h> |
435 | #endif |
740 | #endif |
436 | #if HAVE_SYS_STAT_H |
741 | #ifdef HAVE_SYS_STAT_H |
437 | # include <sys/stat.h> |
742 | # include <sys/stat.h> |
438 | #endif |
743 | #endif |
439 | #if STDC_HEADERS |
744 | #ifdef STDC_HEADERS |
440 | # include <stdlib.h> |
745 | # include <stdlib.h> |
441 | # include <stddef.h> |
746 | # include <stddef.h> |
442 | #else |
747 | #else |
443 | # if HAVE_STDLIB_H |
748 | # ifdef HAVE_STDLIB_H |
444 | # include <stdlib.h> |
749 | # include <stdlib.h> |
445 | # endif |
750 | # endif |
446 | #endif |
751 | #endif |
447 | #if HAVE_STRING_H |
752 | #ifdef HAVE_STRING_H |
448 | # if !STDC_HEADERS && HAVE_MEMORY_H |
753 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
449 | # include <memory.h> |
754 | # include <memory.h> |
450 | # endif |
755 | # endif |
451 | # include <string.h> |
756 | # include <string.h> |
452 | #endif |
757 | #endif |
453 | #if HAVE_STRINGS_H |
758 | #ifdef HAVE_STRINGS_H |
454 | # include <strings.h> |
759 | # include <strings.h> |
455 | #endif |
760 | #endif |
456 | #if HAVE_INTTYPES_H |
761 | #ifdef HAVE_INTTYPES_H |
457 | # include <inttypes.h> |
762 | # include <inttypes.h> |
458 | #else |
|
|
459 | # if HAVE_STDINT_H |
|
|
460 | # include <stdint.h> |
|
|
461 | # endif |
|
|
462 | #endif |
763 | #endif |
|
|
764 | #ifdef HAVE_STDINT_H |
|
|
765 | # include <stdint.h> |
|
|
766 | #endif |
463 | #if HAVE_UNISTD_H |
767 | #ifdef HAVE_UNISTD_H |
464 | # include <unistd.h> |
768 | # include <unistd.h> |
465 | #endif" |
769 | #endif" |
466 | |
770 | |
467 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE LN_S RANLIB ac_ct_RANLIB CPP GCC_TRUE GCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP ECHO AR ac_ct_AR CXX CXXFLAGS ac_ct_CXX CXXDEPMODE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL enable_shared enable_static LIBTOOL_DEPS LIBSPF_MAJOR_VERSION LIBSPF_MINOR_VERSION LIBSPF_MICRO_VERSION LIBSPF_VERSION LIBSPF_INTERFACE_AGE LIBSPF_BINARY_AGE LT_RELEASE LT_CURRENT LT_REVISION LT_AGE UNSIGNED_INT_ARG LIBOBJS __BEGIN_DECLS __END_DECLS LIBSPF_RESOLV_LIB LIBSPF_PTHREADS_LIB LIBSPF_BUILD_DIRS LTLIBOBJS' |
771 | ac_subst_vars='SHELL |
|
|
772 | PATH_SEPARATOR |
|
|
773 | PACKAGE_NAME |
|
|
774 | PACKAGE_TARNAME |
|
|
775 | PACKAGE_VERSION |
|
|
776 | PACKAGE_STRING |
|
|
777 | PACKAGE_BUGREPORT |
|
|
778 | exec_prefix |
|
|
779 | prefix |
|
|
780 | program_transform_name |
|
|
781 | bindir |
|
|
782 | sbindir |
|
|
783 | libexecdir |
|
|
784 | datarootdir |
|
|
785 | datadir |
|
|
786 | sysconfdir |
|
|
787 | sharedstatedir |
|
|
788 | localstatedir |
|
|
789 | includedir |
|
|
790 | oldincludedir |
|
|
791 | docdir |
|
|
792 | infodir |
|
|
793 | htmldir |
|
|
794 | dvidir |
|
|
795 | pdfdir |
|
|
796 | psdir |
|
|
797 | libdir |
|
|
798 | localedir |
|
|
799 | mandir |
|
|
800 | DEFS |
|
|
801 | ECHO_C |
|
|
802 | ECHO_N |
|
|
803 | ECHO_T |
|
|
804 | LIBS |
|
|
805 | build_alias |
|
|
806 | host_alias |
|
|
807 | target_alias |
|
|
808 | INSTALL_PROGRAM |
|
|
809 | INSTALL_SCRIPT |
|
|
810 | INSTALL_DATA |
|
|
811 | PACKAGE |
|
|
812 | VERSION |
|
|
813 | ACLOCAL |
|
|
814 | AUTOCONF |
|
|
815 | AUTOMAKE |
|
|
816 | AUTOHEADER |
|
|
817 | MAKEINFO |
|
|
818 | AMTAR |
|
|
819 | install_sh |
|
|
820 | STRIP |
|
|
821 | INSTALL_STRIP_PROGRAM |
|
|
822 | AWK |
|
|
823 | SET_MAKE |
|
|
824 | CC |
|
|
825 | CFLAGS |
|
|
826 | LDFLAGS |
|
|
827 | CPPFLAGS |
|
|
828 | ac_ct_CC |
|
|
829 | EXEEXT |
|
|
830 | OBJEXT |
|
|
831 | DEPDIR |
|
|
832 | am__include |
|
|
833 | am__quote |
|
|
834 | AMDEP_TRUE |
|
|
835 | AMDEP_FALSE |
|
|
836 | AMDEPBACKSLASH |
|
|
837 | CCDEPMODE |
|
|
838 | LN_S |
|
|
839 | RANLIB |
|
|
840 | CPP |
|
|
841 | GCC_TRUE |
|
|
842 | GCC_FALSE |
|
|
843 | build |
|
|
844 | build_cpu |
|
|
845 | build_vendor |
|
|
846 | build_os |
|
|
847 | host |
|
|
848 | host_cpu |
|
|
849 | host_vendor |
|
|
850 | host_os |
|
|
851 | GREP |
|
|
852 | EGREP |
|
|
853 | ECHO |
|
|
854 | AR |
|
|
855 | CXX |
|
|
856 | CXXFLAGS |
|
|
857 | ac_ct_CXX |
|
|
858 | CXXDEPMODE |
|
|
859 | CXXCPP |
|
|
860 | F77 |
|
|
861 | FFLAGS |
|
|
862 | ac_ct_F77 |
|
|
863 | LIBTOOL |
|
|
864 | enable_shared |
|
|
865 | enable_static |
|
|
866 | LIBTOOL_DEPS |
|
|
867 | LIBSPF_MAJOR_VERSION |
|
|
868 | LIBSPF_MINOR_VERSION |
|
|
869 | LIBSPF_MICRO_VERSION |
|
|
870 | LIBSPF_VERSION |
|
|
871 | LIBSPF_INTERFACE_AGE |
|
|
872 | LIBSPF_BINARY_AGE |
|
|
873 | LT_RELEASE |
|
|
874 | LT_CURRENT |
|
|
875 | LT_REVISION |
|
|
876 | LT_AGE |
|
|
877 | UNSIGNED_INT_ARG |
|
|
878 | LIBOBJS |
|
|
879 | __BEGIN_DECLS |
|
|
880 | __END_DECLS |
|
|
881 | LIBSPF_RESOLV_LIB |
|
|
882 | LIBSPF_PTHREADS_LIB |
|
|
883 | LIBSPF_BUILD_DIRS |
|
|
884 | LTLIBOBJS' |
468 | ac_subst_files='__BEGIN_DECLS_INCL __END_DECLS_INCL' |
885 | ac_subst_files='__BEGIN_DECLS_INCL |
|
|
886 | __END_DECLS_INCL' |
|
|
887 | ac_precious_vars='build_alias |
|
|
888 | host_alias |
|
|
889 | target_alias |
|
|
890 | CC |
|
|
891 | CFLAGS |
|
|
892 | LDFLAGS |
|
|
893 | LIBS |
|
|
894 | CPPFLAGS |
|
|
895 | CPP |
|
|
896 | CXX |
|
|
897 | CXXFLAGS |
|
|
898 | CCC |
|
|
899 | CXXCPP |
|
|
900 | F77 |
|
|
901 | FFLAGS' |
|
|
902 | |
469 | |
903 | |
470 | # Initialize some variables set by options. |
904 | # Initialize some variables set by options. |
471 | ac_init_help= |
905 | ac_init_help= |
472 | ac_init_version=false |
906 | ac_init_version=false |
473 | # The variables have the same names as the options, with |
907 | # The variables have the same names as the options, with |
… | |
… | |
490 | # Installation directory options. |
924 | # Installation directory options. |
491 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
925 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
492 | # and all the variables that are supposed to be based on exec_prefix |
926 | # and all the variables that are supposed to be based on exec_prefix |
493 | # by default will actually change. |
927 | # by default will actually change. |
494 | # Use braces instead of parens because sh, perl, etc. also accept them. |
928 | # Use braces instead of parens because sh, perl, etc. also accept them. |
|
|
929 | # (The list follows the same order as the GNU Coding Standards.) |
495 | bindir='${exec_prefix}/bin' |
930 | bindir='${exec_prefix}/bin' |
496 | sbindir='${exec_prefix}/sbin' |
931 | sbindir='${exec_prefix}/sbin' |
497 | libexecdir='${exec_prefix}/libexec' |
932 | libexecdir='${exec_prefix}/libexec' |
498 | datadir='${prefix}/share' |
933 | datarootdir='${prefix}/share' |
|
|
934 | datadir='${datarootdir}' |
499 | sysconfdir='${prefix}/etc' |
935 | sysconfdir='${prefix}/etc' |
500 | sharedstatedir='${prefix}/com' |
936 | sharedstatedir='${prefix}/com' |
501 | localstatedir='${prefix}/var' |
937 | localstatedir='${prefix}/var' |
502 | libdir='${exec_prefix}/lib' |
|
|
503 | includedir='${prefix}/include' |
938 | includedir='${prefix}/include' |
504 | oldincludedir='/usr/include' |
939 | oldincludedir='/usr/include' |
|
|
940 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
505 | infodir='${prefix}/info' |
941 | infodir='${datarootdir}/info' |
506 | mandir='${prefix}/man' |
942 | htmldir='${docdir}' |
|
|
943 | dvidir='${docdir}' |
|
|
944 | pdfdir='${docdir}' |
|
|
945 | psdir='${docdir}' |
|
|
946 | libdir='${exec_prefix}/lib' |
|
|
947 | localedir='${datarootdir}/locale' |
|
|
948 | mandir='${datarootdir}/man' |
507 | |
949 | |
508 | ac_prev= |
950 | ac_prev= |
|
|
951 | ac_dashdash= |
509 | for ac_option |
952 | for ac_option |
510 | do |
953 | do |
511 | # If the previous option needs an argument, assign it. |
954 | # If the previous option needs an argument, assign it. |
512 | if test -n "$ac_prev"; then |
955 | if test -n "$ac_prev"; then |
513 | eval "$ac_prev=\$ac_option" |
956 | eval $ac_prev=\$ac_option |
514 | ac_prev= |
957 | ac_prev= |
515 | continue |
958 | continue |
516 | fi |
959 | fi |
517 | |
960 | |
|
|
961 | case $ac_option in |
518 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
962 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
|
963 | *) ac_optarg=yes ;; |
|
|
964 | esac |
519 | |
965 | |
520 | # Accept the important Cygnus configure options, so we can diagnose typos. |
966 | # Accept the important Cygnus configure options, so we can diagnose typos. |
521 | |
967 | |
522 | case $ac_option in |
968 | case $ac_dashdash$ac_option in |
|
|
969 | --) |
|
|
970 | ac_dashdash=yes ;; |
523 | |
971 | |
524 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
972 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
525 | ac_prev=bindir ;; |
973 | ac_prev=bindir ;; |
526 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
974 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
527 | bindir=$ac_optarg ;; |
975 | bindir=$ac_optarg ;; |
… | |
… | |
539 | cache_file=$ac_optarg ;; |
987 | cache_file=$ac_optarg ;; |
540 | |
988 | |
541 | --config-cache | -C) |
989 | --config-cache | -C) |
542 | cache_file=config.cache ;; |
990 | cache_file=config.cache ;; |
543 | |
991 | |
544 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
992 | -datadir | --datadir | --datadi | --datad) |
545 | ac_prev=datadir ;; |
993 | ac_prev=datadir ;; |
546 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
994 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
547 | | --da=*) |
|
|
548 | datadir=$ac_optarg ;; |
995 | datadir=$ac_optarg ;; |
|
|
996 | |
|
|
997 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
|
998 | | --dataroo | --dataro | --datar) |
|
|
999 | ac_prev=datarootdir ;; |
|
|
1000 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
|
1001 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
|
1002 | datarootdir=$ac_optarg ;; |
549 | |
1003 | |
550 | -disable-* | --disable-*) |
1004 | -disable-* | --disable-*) |
551 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
1005 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
552 | # Reject names that are not valid shell variable names. |
1006 | # Reject names that are not valid shell variable names. |
553 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1007 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
554 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1008 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
555 | { (exit 1); exit 1; }; } |
1009 | { (exit 1); exit 1; }; } |
556 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
1010 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
557 | eval "enable_$ac_feature=no" ;; |
1011 | eval enable_$ac_feature=no ;; |
|
|
1012 | |
|
|
1013 | -docdir | --docdir | --docdi | --doc | --do) |
|
|
1014 | ac_prev=docdir ;; |
|
|
1015 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
|
1016 | docdir=$ac_optarg ;; |
|
|
1017 | |
|
|
1018 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
|
1019 | ac_prev=dvidir ;; |
|
|
1020 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
|
1021 | dvidir=$ac_optarg ;; |
558 | |
1022 | |
559 | -enable-* | --enable-*) |
1023 | -enable-* | --enable-*) |
560 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
1024 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
561 | # Reject names that are not valid shell variable names. |
1025 | # Reject names that are not valid shell variable names. |
562 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1026 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && |
563 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
1027 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
564 | { (exit 1); exit 1; }; } |
1028 | { (exit 1); exit 1; }; } |
565 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
1029 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` |
566 | case $ac_option in |
|
|
567 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
|
568 | *) ac_optarg=yes ;; |
|
|
569 | esac |
|
|
570 | eval "enable_$ac_feature='$ac_optarg'" ;; |
1030 | eval enable_$ac_feature=\$ac_optarg ;; |
571 | |
1031 | |
572 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
1032 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
573 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
1033 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
574 | | --exec | --exe | --ex) |
1034 | | --exec | --exe | --ex) |
575 | ac_prev=exec_prefix ;; |
1035 | ac_prev=exec_prefix ;; |
… | |
… | |
592 | -host | --host | --hos | --ho) |
1052 | -host | --host | --hos | --ho) |
593 | ac_prev=host_alias ;; |
1053 | ac_prev=host_alias ;; |
594 | -host=* | --host=* | --hos=* | --ho=*) |
1054 | -host=* | --host=* | --hos=* | --ho=*) |
595 | host_alias=$ac_optarg ;; |
1055 | host_alias=$ac_optarg ;; |
596 | |
1056 | |
|
|
1057 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
|
1058 | ac_prev=htmldir ;; |
|
|
1059 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
|
1060 | | --ht=*) |
|
|
1061 | htmldir=$ac_optarg ;; |
|
|
1062 | |
597 | -includedir | --includedir | --includedi | --included | --include \ |
1063 | -includedir | --includedir | --includedi | --included | --include \ |
598 | | --includ | --inclu | --incl | --inc) |
1064 | | --includ | --inclu | --incl | --inc) |
599 | ac_prev=includedir ;; |
1065 | ac_prev=includedir ;; |
600 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
1066 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
601 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
1067 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
… | |
… | |
616 | ac_prev=libexecdir ;; |
1082 | ac_prev=libexecdir ;; |
617 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
1083 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
618 | | --libexe=* | --libex=* | --libe=*) |
1084 | | --libexe=* | --libex=* | --libe=*) |
619 | libexecdir=$ac_optarg ;; |
1085 | libexecdir=$ac_optarg ;; |
620 | |
1086 | |
|
|
1087 | -localedir | --localedir | --localedi | --localed | --locale) |
|
|
1088 | ac_prev=localedir ;; |
|
|
1089 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
|
1090 | localedir=$ac_optarg ;; |
|
|
1091 | |
621 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
1092 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
622 | | --localstate | --localstat | --localsta | --localst \ |
1093 | | --localstate | --localstat | --localsta | --localst | --locals) |
623 | | --locals | --local | --loca | --loc | --lo) |
|
|
624 | ac_prev=localstatedir ;; |
1094 | ac_prev=localstatedir ;; |
625 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
1095 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
626 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
1096 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
627 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
|
|
628 | localstatedir=$ac_optarg ;; |
1097 | localstatedir=$ac_optarg ;; |
629 | |
1098 | |
630 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
1099 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
631 | ac_prev=mandir ;; |
1100 | ac_prev=mandir ;; |
632 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
1101 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
… | |
… | |
687 | | --program-transfo=* | --program-transf=* \ |
1156 | | --program-transfo=* | --program-transf=* \ |
688 | | --program-trans=* | --program-tran=* \ |
1157 | | --program-trans=* | --program-tran=* \ |
689 | | --progr-tra=* | --program-tr=* | --program-t=*) |
1158 | | --progr-tra=* | --program-tr=* | --program-t=*) |
690 | program_transform_name=$ac_optarg ;; |
1159 | program_transform_name=$ac_optarg ;; |
691 | |
1160 | |
|
|
1161 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
|
1162 | ac_prev=pdfdir ;; |
|
|
1163 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
|
1164 | pdfdir=$ac_optarg ;; |
|
|
1165 | |
|
|
1166 | -psdir | --psdir | --psdi | --psd | --ps) |
|
|
1167 | ac_prev=psdir ;; |
|
|
1168 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
|
1169 | psdir=$ac_optarg ;; |
|
|
1170 | |
692 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1171 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
693 | | -silent | --silent | --silen | --sile | --sil) |
1172 | | -silent | --silent | --silen | --sile | --sil) |
694 | silent=yes ;; |
1173 | silent=yes ;; |
695 | |
1174 | |
696 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1175 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
… | |
… | |
739 | ac_init_version=: ;; |
1218 | ac_init_version=: ;; |
740 | |
1219 | |
741 | -with-* | --with-*) |
1220 | -with-* | --with-*) |
742 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1221 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
743 | # Reject names that are not valid shell variable names. |
1222 | # Reject names that are not valid shell variable names. |
744 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1223 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
745 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1224 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
746 | { (exit 1); exit 1; }; } |
1225 | { (exit 1); exit 1; }; } |
747 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
1226 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
748 | case $ac_option in |
|
|
749 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
|
|
750 | *) ac_optarg=yes ;; |
|
|
751 | esac |
|
|
752 | eval "with_$ac_package='$ac_optarg'" ;; |
1227 | eval with_$ac_package=\$ac_optarg ;; |
753 | |
1228 | |
754 | -without-* | --without-*) |
1229 | -without-* | --without-*) |
755 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1230 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
756 | # Reject names that are not valid shell variable names. |
1231 | # Reject names that are not valid shell variable names. |
757 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
1232 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && |
758 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
1233 | { echo "$as_me: error: invalid package name: $ac_package" >&2 |
759 | { (exit 1); exit 1; }; } |
1234 | { (exit 1); exit 1; }; } |
760 | ac_package=`echo $ac_package | sed 's/-/_/g'` |
1235 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'` |
761 | eval "with_$ac_package=no" ;; |
1236 | eval with_$ac_package=no ;; |
762 | |
1237 | |
763 | --x) |
1238 | --x) |
764 | # Obsolete; use --with-x. |
1239 | # Obsolete; use --with-x. |
765 | with_x=yes ;; |
1240 | with_x=yes ;; |
766 | |
1241 | |
… | |
… | |
787 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1262 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
788 | # Reject names that are not valid shell variable names. |
1263 | # Reject names that are not valid shell variable names. |
789 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
1264 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
790 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
1265 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
791 | { (exit 1); exit 1; }; } |
1266 | { (exit 1); exit 1; }; } |
792 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
|
|
793 | eval "$ac_envvar='$ac_optarg'" |
1267 | eval $ac_envvar=\$ac_optarg |
794 | export $ac_envvar ;; |
1268 | export $ac_envvar ;; |
795 | |
1269 | |
796 | *) |
1270 | *) |
797 | # FIXME: should be removed in autoconf 3.0. |
1271 | # FIXME: should be removed in autoconf 3.0. |
798 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1272 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
… | |
… | |
808 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1282 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
809 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
1283 | { echo "$as_me: error: missing argument to $ac_option" >&2 |
810 | { (exit 1); exit 1; }; } |
1284 | { (exit 1); exit 1; }; } |
811 | fi |
1285 | fi |
812 | |
1286 | |
813 | # Be sure to have absolute paths. |
1287 | # Be sure to have absolute directory names. |
814 | for ac_var in exec_prefix prefix |
1288 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
|
1289 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
|
1290 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
|
1291 | libdir localedir mandir |
815 | do |
1292 | do |
816 | eval ac_val=$`echo $ac_var` |
1293 | eval ac_val=\$$ac_var |
817 | case $ac_val in |
1294 | case $ac_val in |
818 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
1295 | [\\/$]* | ?:[\\/]* ) continue;; |
819 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1296 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
820 | { (exit 1); exit 1; }; };; |
|
|
821 | esac |
1297 | esac |
822 | done |
|
|
823 | |
|
|
824 | # Be sure to have absolute paths. |
|
|
825 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
|
|
826 | localstatedir libdir includedir oldincludedir infodir mandir |
|
|
827 | do |
|
|
828 | eval ac_val=$`echo $ac_var` |
|
|
829 | case $ac_val in |
|
|
830 | [\\/$]* | ?:[\\/]* ) ;; |
|
|
831 | *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
1298 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
832 | { (exit 1); exit 1; }; };; |
1299 | { (exit 1); exit 1; }; } |
833 | esac |
|
|
834 | done |
1300 | done |
835 | |
1301 | |
836 | # There might be people who depend on the old broken behavior: `$host' |
1302 | # There might be people who depend on the old broken behavior: `$host' |
837 | # used to hold the argument of --host etc. |
1303 | # used to hold the argument of --host etc. |
838 | # FIXME: To remove some day. |
1304 | # FIXME: To remove some day. |
… | |
… | |
855 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1321 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
856 | |
1322 | |
857 | test "$silent" = yes && exec 6>/dev/null |
1323 | test "$silent" = yes && exec 6>/dev/null |
858 | |
1324 | |
859 | |
1325 | |
|
|
1326 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
|
1327 | ac_ls_di=`ls -di .` && |
|
|
1328 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
|
1329 | { echo "$as_me: error: Working directory cannot be determined" >&2 |
|
|
1330 | { (exit 1); exit 1; }; } |
|
|
1331 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
|
1332 | { echo "$as_me: error: pwd does not report name of working directory" >&2 |
|
|
1333 | { (exit 1); exit 1; }; } |
|
|
1334 | |
|
|
1335 | |
860 | # Find the source files, if location was not specified. |
1336 | # Find the source files, if location was not specified. |
861 | if test -z "$srcdir"; then |
1337 | if test -z "$srcdir"; then |
862 | ac_srcdir_defaulted=yes |
1338 | ac_srcdir_defaulted=yes |
863 | # Try the directory containing this script, then its parent. |
1339 | # Try the directory containing this script, then the parent directory. |
864 | ac_confdir=`(dirname "$0") 2>/dev/null || |
1340 | ac_confdir=`$as_dirname -- "$0" || |
865 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1341 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
866 | X"$0" : 'X\(//\)[^/]' \| \ |
1342 | X"$0" : 'X\(//\)[^/]' \| \ |
867 | X"$0" : 'X\(//\)$' \| \ |
1343 | X"$0" : 'X\(//\)$' \| \ |
868 | X"$0" : 'X\(/\)' \| \ |
1344 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
869 | . : '\(.\)' 2>/dev/null || |
|
|
870 | echo X"$0" | |
1345 | echo X"$0" | |
871 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
1346 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
872 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
1347 | s//\1/ |
873 | /^X\(\/\/\)$/{ s//\1/; q; } |
1348 | q |
874 | /^X\(\/\).*/{ s//\1/; q; } |
1349 | } |
|
|
1350 | /^X\(\/\/\)[^/].*/{ |
|
|
1351 | s//\1/ |
|
|
1352 | q |
|
|
1353 | } |
|
|
1354 | /^X\(\/\/\)$/{ |
|
|
1355 | s//\1/ |
|
|
1356 | q |
|
|
1357 | } |
|
|
1358 | /^X\(\/\).*/{ |
|
|
1359 | s//\1/ |
|
|
1360 | q |
|
|
1361 | } |
875 | s/.*/./; q'` |
1362 | s/.*/./; q'` |
876 | srcdir=$ac_confdir |
1363 | srcdir=$ac_confdir |
877 | if test ! -r $srcdir/$ac_unique_file; then |
1364 | if test ! -r "$srcdir/$ac_unique_file"; then |
878 | srcdir=.. |
1365 | srcdir=.. |
879 | fi |
1366 | fi |
880 | else |
1367 | else |
881 | ac_srcdir_defaulted=no |
1368 | ac_srcdir_defaulted=no |
882 | fi |
1369 | fi |
883 | if test ! -r $srcdir/$ac_unique_file; then |
1370 | if test ! -r "$srcdir/$ac_unique_file"; then |
884 | if test "$ac_srcdir_defaulted" = yes; then |
1371 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
885 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
1372 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
886 | { (exit 1); exit 1; }; } |
1373 | { (exit 1); exit 1; }; } |
887 | else |
1374 | fi |
888 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
1375 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
|
1376 | ac_abs_confdir=`( |
|
|
1377 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 |
889 | { (exit 1); exit 1; }; } |
1378 | { (exit 1); exit 1; }; } |
890 | fi |
1379 | pwd)` |
|
|
1380 | # When building in place, set srcdir=. |
|
|
1381 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
|
1382 | srcdir=. |
891 | fi |
1383 | fi |
892 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || |
1384 | # Remove unnecessary trailing slashes from srcdir. |
893 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 |
1385 | # Double slashes in file names in object file debugging info |
894 | { (exit 1); exit 1; }; } |
1386 | # mess up M-x gdb in Emacs. |
895 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
1387 | case $srcdir in |
896 | ac_env_build_alias_set=${build_alias+set} |
1388 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
897 | ac_env_build_alias_value=$build_alias |
1389 | esac |
898 | ac_cv_env_build_alias_set=${build_alias+set} |
1390 | for ac_var in $ac_precious_vars; do |
899 | ac_cv_env_build_alias_value=$build_alias |
1391 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
900 | ac_env_host_alias_set=${host_alias+set} |
1392 | eval ac_env_${ac_var}_value=\$${ac_var} |
901 | ac_env_host_alias_value=$host_alias |
1393 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
902 | ac_cv_env_host_alias_set=${host_alias+set} |
1394 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
903 | ac_cv_env_host_alias_value=$host_alias |
1395 | done |
904 | ac_env_target_alias_set=${target_alias+set} |
|
|
905 | ac_env_target_alias_value=$target_alias |
|
|
906 | ac_cv_env_target_alias_set=${target_alias+set} |
|
|
907 | ac_cv_env_target_alias_value=$target_alias |
|
|
908 | ac_env_CC_set=${CC+set} |
|
|
909 | ac_env_CC_value=$CC |
|
|
910 | ac_cv_env_CC_set=${CC+set} |
|
|
911 | ac_cv_env_CC_value=$CC |
|
|
912 | ac_env_CFLAGS_set=${CFLAGS+set} |
|
|
913 | ac_env_CFLAGS_value=$CFLAGS |
|
|
914 | ac_cv_env_CFLAGS_set=${CFLAGS+set} |
|
|
915 | ac_cv_env_CFLAGS_value=$CFLAGS |
|
|
916 | ac_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
917 | ac_env_LDFLAGS_value=$LDFLAGS |
|
|
918 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
|
|
919 | ac_cv_env_LDFLAGS_value=$LDFLAGS |
|
|
920 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
921 | ac_env_CPPFLAGS_value=$CPPFLAGS |
|
|
922 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
|
|
923 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
|
924 | ac_env_CPP_set=${CPP+set} |
|
|
925 | ac_env_CPP_value=$CPP |
|
|
926 | ac_cv_env_CPP_set=${CPP+set} |
|
|
927 | ac_cv_env_CPP_value=$CPP |
|
|
928 | ac_env_CXX_set=${CXX+set} |
|
|
929 | ac_env_CXX_value=$CXX |
|
|
930 | ac_cv_env_CXX_set=${CXX+set} |
|
|
931 | ac_cv_env_CXX_value=$CXX |
|
|
932 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
933 | ac_env_CXXFLAGS_value=$CXXFLAGS |
|
|
934 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
|
|
935 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
|
|
936 | ac_env_CXXCPP_set=${CXXCPP+set} |
|
|
937 | ac_env_CXXCPP_value=$CXXCPP |
|
|
938 | ac_cv_env_CXXCPP_set=${CXXCPP+set} |
|
|
939 | ac_cv_env_CXXCPP_value=$CXXCPP |
|
|
940 | ac_env_F77_set=${F77+set} |
|
|
941 | ac_env_F77_value=$F77 |
|
|
942 | ac_cv_env_F77_set=${F77+set} |
|
|
943 | ac_cv_env_F77_value=$F77 |
|
|
944 | ac_env_FFLAGS_set=${FFLAGS+set} |
|
|
945 | ac_env_FFLAGS_value=$FFLAGS |
|
|
946 | ac_cv_env_FFLAGS_set=${FFLAGS+set} |
|
|
947 | ac_cv_env_FFLAGS_value=$FFLAGS |
|
|
948 | |
1396 | |
949 | # |
1397 | # |
950 | # Report the --help message. |
1398 | # Report the --help message. |
951 | # |
1399 | # |
952 | if test "$ac_init_help" = "long"; then |
1400 | if test "$ac_init_help" = "long"; then |
… | |
… | |
971 | --cache-file=FILE cache test results in FILE [disabled] |
1419 | --cache-file=FILE cache test results in FILE [disabled] |
972 | -C, --config-cache alias for \`--cache-file=config.cache' |
1420 | -C, --config-cache alias for \`--cache-file=config.cache' |
973 | -n, --no-create do not create output files |
1421 | -n, --no-create do not create output files |
974 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1422 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
975 | |
1423 | |
976 | _ACEOF |
|
|
977 | |
|
|
978 | cat <<_ACEOF |
|
|
979 | Installation directories: |
1424 | Installation directories: |
980 | --prefix=PREFIX install architecture-independent files in PREFIX |
1425 | --prefix=PREFIX install architecture-independent files in PREFIX |
981 | [$ac_default_prefix] |
1426 | [$ac_default_prefix] |
982 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1427 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
983 | [PREFIX] |
1428 | [PREFIX] |
… | |
… | |
991 | |
1436 | |
992 | Fine tuning of the installation directories: |
1437 | Fine tuning of the installation directories: |
993 | --bindir=DIR user executables [EPREFIX/bin] |
1438 | --bindir=DIR user executables [EPREFIX/bin] |
994 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1439 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
995 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1440 | --libexecdir=DIR program executables [EPREFIX/libexec] |
996 | --datadir=DIR read-only architecture-independent data [PREFIX/share] |
|
|
997 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1441 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
998 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1442 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
999 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1443 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1000 | --libdir=DIR object code libraries [EPREFIX/lib] |
1444 | --libdir=DIR object code libraries [EPREFIX/lib] |
1001 | --includedir=DIR C header files [PREFIX/include] |
1445 | --includedir=DIR C header files [PREFIX/include] |
1002 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1446 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
|
1447 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
|
1448 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1003 | --infodir=DIR info documentation [PREFIX/info] |
1449 | --infodir=DIR info documentation [DATAROOTDIR/info] |
|
|
1450 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1004 | --mandir=DIR man documentation [PREFIX/man] |
1451 | --mandir=DIR man documentation [DATAROOTDIR/man] |
|
|
1452 | --docdir=DIR documentation root [DATAROOTDIR/doc/libspf] |
|
|
1453 | --htmldir=DIR html documentation [DOCDIR] |
|
|
1454 | --dvidir=DIR dvi documentation [DOCDIR] |
|
|
1455 | --pdfdir=DIR pdf documentation [DOCDIR] |
|
|
1456 | --psdir=DIR ps documentation [DOCDIR] |
1005 | _ACEOF |
1457 | _ACEOF |
1006 | |
1458 | |
1007 | cat <<\_ACEOF |
1459 | cat <<\_ACEOF |
1008 | |
1460 | |
1009 | Program names: |
1461 | Program names: |
… | |
… | |
1026 | Optional Features: |
1478 | Optional Features: |
1027 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1479 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1028 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1480 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1029 | --disable-dependency-tracking Speeds up one-time builds |
1481 | --disable-dependency-tracking Speeds up one-time builds |
1030 | --enable-dependency-tracking Do not reject slow dependency extractors |
1482 | --enable-dependency-tracking Do not reject slow dependency extractors |
1031 | --enable-shared[=PKGS] |
1483 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1032 | build shared libraries [default=yes] |
1484 | --enable-static[=PKGS] build static libraries [default=yes] |
1033 | --enable-static[=PKGS] |
|
|
1034 | build static libraries [default=yes] |
|
|
1035 | --enable-fast-install[=PKGS] |
1485 | --enable-fast-install[=PKGS] |
1036 | optimize for fast installation [default=yes] |
1486 | optimize for fast installation [default=yes] |
1037 | --disable-libtool-lock avoid locking (might break parallel builds) |
1487 | --disable-libtool-lock avoid locking (might break parallel builds) |
1038 | --enable-libbind Link libbind instead of libresolv (default=no) |
1488 | --enable-libbind Link libbind instead of libresolv (default=no) |
1039 | --enable-debug Enables debug option (default=no) |
1489 | --enable-debug Enables debug option (default=no) |
… | |
… | |
1051 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1501 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1052 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1502 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1053 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1503 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1054 | --with-pic try to use only PIC/non-PIC objects [default=use |
1504 | --with-pic try to use only PIC/non-PIC objects [default=use |
1055 | both] |
1505 | both] |
1056 | --with-tags[=TAGS] |
1506 | --with-tags[=TAGS] include additional configurations [automatic] |
1057 | include additional configurations [automatic] |
|
|
1058 | |
1507 | |
1059 | Some influential environment variables: |
1508 | Some influential environment variables: |
1060 | CC C compiler command |
1509 | CC C compiler command |
1061 | CFLAGS C compiler flags |
1510 | CFLAGS C compiler flags |
1062 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1511 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1063 | nonstandard directory <lib dir> |
1512 | nonstandard directory <lib dir> |
|
|
1513 | LIBS libraries to pass to the linker, e.g. -l<library> |
1064 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
1514 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1065 | headers in a nonstandard directory <include dir> |
1515 | you have headers in a nonstandard directory <include dir> |
1066 | CPP C preprocessor |
1516 | CPP C preprocessor |
1067 | CXX C++ compiler command |
1517 | CXX C++ compiler command |
1068 | CXXFLAGS C++ compiler flags |
1518 | CXXFLAGS C++ compiler flags |
1069 | CXXCPP C++ preprocessor |
1519 | CXXCPP C++ preprocessor |
1070 | F77 Fortran 77 compiler command |
1520 | F77 Fortran 77 compiler command |
… | |
… | |
1073 | Use these variables to override the choices made by `configure' or to help |
1523 | Use these variables to override the choices made by `configure' or to help |
1074 | it to find libraries and programs with nonstandard names/locations. |
1524 | it to find libraries and programs with nonstandard names/locations. |
1075 | |
1525 | |
1076 | Report bugs to <jcouzens@codeshare.ca>. |
1526 | Report bugs to <jcouzens@codeshare.ca>. |
1077 | _ACEOF |
1527 | _ACEOF |
|
|
1528 | ac_status=$? |
1078 | fi |
1529 | fi |
1079 | |
1530 | |
1080 | if test "$ac_init_help" = "recursive"; then |
1531 | if test "$ac_init_help" = "recursive"; then |
1081 | # If there are subdirs, report their specific --help. |
1532 | # If there are subdirs, report their specific --help. |
1082 | ac_popdir=`pwd` |
|
|
1083 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1533 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1084 | test -d $ac_dir || continue |
1534 | test -d "$ac_dir" || continue |
1085 | ac_builddir=. |
1535 | ac_builddir=. |
1086 | |
1536 | |
1087 | if test "$ac_dir" != .; then |
1537 | case "$ac_dir" in |
|
|
1538 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
1539 | *) |
1088 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1540 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
1089 | # A "../" for each directory in $ac_dir_suffix. |
1541 | # A ".." for each directory in $ac_dir_suffix. |
1090 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
1542 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
1091 | else |
1543 | case $ac_top_builddir_sub in |
1092 | ac_dir_suffix= ac_top_builddir= |
1544 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1093 | fi |
1545 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
|
1546 | esac ;; |
|
|
1547 | esac |
|
|
1548 | ac_abs_top_builddir=$ac_pwd |
|
|
1549 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
|
1550 | # for backward compatibility: |
|
|
1551 | ac_top_builddir=$ac_top_build_prefix |
1094 | |
1552 | |
1095 | case $srcdir in |
1553 | case $srcdir in |
1096 | .) # No --srcdir option. We are building in place. |
1554 | .) # We are building in place. |
1097 | ac_srcdir=. |
1555 | ac_srcdir=. |
1098 | if test -z "$ac_top_builddir"; then |
1556 | ac_top_srcdir=$ac_top_builddir_sub |
1099 | ac_top_srcdir=. |
1557 | ac_abs_top_srcdir=$ac_pwd ;; |
1100 | else |
|
|
1101 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
1102 | fi ;; |
|
|
1103 | [\\/]* | ?:[\\/]* ) # Absolute path. |
1558 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1104 | ac_srcdir=$srcdir$ac_dir_suffix; |
1559 | ac_srcdir=$srcdir$ac_dir_suffix; |
1105 | ac_top_srcdir=$srcdir ;; |
1560 | ac_top_srcdir=$srcdir |
|
|
1561 | ac_abs_top_srcdir=$srcdir ;; |
1106 | *) # Relative path. |
1562 | *) # Relative name. |
1107 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
1563 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1108 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
1564 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
|
1565 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1109 | esac |
1566 | esac |
|
|
1567 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1110 | |
1568 | |
1111 | # Do not use `cd foo && pwd` to compute absolute paths, because |
1569 | cd "$ac_dir" || { ac_status=$?; continue; } |
1112 | # the directories may not exist. |
1570 | # Check for guested configure. |
1113 | case `pwd` in |
|
|
1114 | .) ac_abs_builddir="$ac_dir";; |
|
|
1115 | *) |
|
|
1116 | case "$ac_dir" in |
|
|
1117 | .) ac_abs_builddir=`pwd`;; |
|
|
1118 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
1119 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
1120 | esac;; |
|
|
1121 | esac |
|
|
1122 | case $ac_abs_builddir in |
|
|
1123 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
1124 | *) |
|
|
1125 | case ${ac_top_builddir}. in |
|
|
1126 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
1127 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
1128 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
1129 | esac;; |
|
|
1130 | esac |
|
|
1131 | case $ac_abs_builddir in |
|
|
1132 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
1133 | *) |
|
|
1134 | case $ac_srcdir in |
|
|
1135 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
1136 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
1137 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
1138 | esac;; |
|
|
1139 | esac |
|
|
1140 | case $ac_abs_builddir in |
|
|
1141 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1142 | *) |
|
|
1143 | case $ac_top_srcdir in |
|
|
1144 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
1145 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
1146 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
1147 | esac;; |
|
|
1148 | esac |
|
|
1149 | |
|
|
1150 | cd $ac_dir |
|
|
1151 | # Check for guested configure; otherwise get Cygnus style configure. |
|
|
1152 | if test -f $ac_srcdir/configure.gnu; then |
1571 | if test -f "$ac_srcdir/configure.gnu"; then |
1153 | echo |
1572 | echo && |
1154 | $SHELL $ac_srcdir/configure.gnu --help=recursive |
1573 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1155 | elif test -f $ac_srcdir/configure; then |
1574 | elif test -f "$ac_srcdir/configure"; then |
1156 | echo |
1575 | echo && |
1157 | $SHELL $ac_srcdir/configure --help=recursive |
1576 | $SHELL "$ac_srcdir/configure" --help=recursive |
1158 | elif test -f $ac_srcdir/configure.ac || |
|
|
1159 | test -f $ac_srcdir/configure.in; then |
|
|
1160 | echo |
|
|
1161 | $ac_configure --help |
|
|
1162 | else |
1577 | else |
1163 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1578 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1164 | fi |
1579 | fi || ac_status=$? |
1165 | cd $ac_popdir |
1580 | cd "$ac_pwd" || { ac_status=$?; break; } |
1166 | done |
1581 | done |
1167 | fi |
1582 | fi |
1168 | |
1583 | |
1169 | test -n "$ac_init_help" && exit 0 |
1584 | test -n "$ac_init_help" && exit $ac_status |
1170 | if $ac_init_version; then |
1585 | if $ac_init_version; then |
1171 | cat <<\_ACEOF |
1586 | cat <<\_ACEOF |
1172 | libspf configure 1.0.0-p5 |
1587 | libspf configure 1.0.0-p5 |
1173 | generated by GNU Autoconf 2.59 |
1588 | generated by GNU Autoconf 2.61 |
1174 | |
1589 | |
1175 | Copyright (C) 2003 Free Software Foundation, Inc. |
1590 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
|
|
1591 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
1176 | This configure script is free software; the Free Software Foundation |
1592 | This configure script is free software; the Free Software Foundation |
1177 | gives unlimited permission to copy, distribute and modify it. |
1593 | gives unlimited permission to copy, distribute and modify it. |
1178 | _ACEOF |
1594 | _ACEOF |
1179 | exit 0 |
1595 | exit |
1180 | fi |
1596 | fi |
1181 | exec 5>config.log |
1597 | cat >config.log <<_ACEOF |
1182 | cat >&5 <<_ACEOF |
|
|
1183 | This file contains any messages produced by compilers while |
1598 | This file contains any messages produced by compilers while |
1184 | running configure, to aid debugging if configure makes a mistake. |
1599 | running configure, to aid debugging if configure makes a mistake. |
1185 | |
1600 | |
1186 | It was created by libspf $as_me 1.0.0-p5, which was |
1601 | It was created by libspf $as_me 1.0.0-p5, which was |
1187 | generated by GNU Autoconf 2.59. Invocation command line was |
1602 | generated by GNU Autoconf 2.61. Invocation command line was |
1188 | |
1603 | |
1189 | $ $0 $@ |
1604 | $ $0 $@ |
1190 | |
1605 | |
1191 | _ACEOF |
1606 | _ACEOF |
|
|
1607 | exec 5>>config.log |
1192 | { |
1608 | { |
1193 | cat <<_ASUNAME |
1609 | cat <<_ASUNAME |
1194 | ## --------- ## |
1610 | ## --------- ## |
1195 | ## Platform. ## |
1611 | ## Platform. ## |
1196 | ## --------- ## |
1612 | ## --------- ## |
… | |
… | |
1205 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1621 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1206 | |
1622 | |
1207 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1623 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1208 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1624 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1209 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1625 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1210 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1626 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1211 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1627 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1212 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1628 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1213 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1629 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1214 | |
1630 | |
1215 | _ASUNAME |
1631 | _ASUNAME |
… | |
… | |
1219 | do |
1635 | do |
1220 | IFS=$as_save_IFS |
1636 | IFS=$as_save_IFS |
1221 | test -z "$as_dir" && as_dir=. |
1637 | test -z "$as_dir" && as_dir=. |
1222 | echo "PATH: $as_dir" |
1638 | echo "PATH: $as_dir" |
1223 | done |
1639 | done |
|
|
1640 | IFS=$as_save_IFS |
1224 | |
1641 | |
1225 | } >&5 |
1642 | } >&5 |
1226 | |
1643 | |
1227 | cat >&5 <<_ACEOF |
1644 | cat >&5 <<_ACEOF |
1228 | |
1645 | |
… | |
… | |
1240 | # Also quote any args containing shell meta-characters. |
1657 | # Also quote any args containing shell meta-characters. |
1241 | # Make two passes to allow for proper duplicate-argument suppression. |
1658 | # Make two passes to allow for proper duplicate-argument suppression. |
1242 | ac_configure_args= |
1659 | ac_configure_args= |
1243 | ac_configure_args0= |
1660 | ac_configure_args0= |
1244 | ac_configure_args1= |
1661 | ac_configure_args1= |
1245 | ac_sep= |
|
|
1246 | ac_must_keep_next=false |
1662 | ac_must_keep_next=false |
1247 | for ac_pass in 1 2 |
1663 | for ac_pass in 1 2 |
1248 | do |
1664 | do |
1249 | for ac_arg |
1665 | for ac_arg |
1250 | do |
1666 | do |
1251 | case $ac_arg in |
1667 | case $ac_arg in |
1252 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1668 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1253 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1669 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1254 | | -silent | --silent | --silen | --sile | --sil) |
1670 | | -silent | --silent | --silen | --sile | --sil) |
1255 | continue ;; |
1671 | continue ;; |
1256 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1672 | *\'*) |
1257 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1673 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1258 | esac |
1674 | esac |
1259 | case $ac_pass in |
1675 | case $ac_pass in |
1260 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1676 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1261 | 2) |
1677 | 2) |
… | |
… | |
1273 | esac |
1689 | esac |
1274 | ;; |
1690 | ;; |
1275 | -* ) ac_must_keep_next=true ;; |
1691 | -* ) ac_must_keep_next=true ;; |
1276 | esac |
1692 | esac |
1277 | fi |
1693 | fi |
1278 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1694 | ac_configure_args="$ac_configure_args '$ac_arg'" |
1279 | # Get rid of the leading space. |
|
|
1280 | ac_sep=" " |
|
|
1281 | ;; |
1695 | ;; |
1282 | esac |
1696 | esac |
1283 | done |
1697 | done |
1284 | done |
1698 | done |
1285 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1699 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1286 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1700 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1287 | |
1701 | |
1288 | # When interrupted or exit'd, cleanup temporary files, and complete |
1702 | # When interrupted or exit'd, cleanup temporary files, and complete |
1289 | # config.log. We remove comments because anyway the quotes in there |
1703 | # config.log. We remove comments because anyway the quotes in there |
1290 | # would cause problems or look ugly. |
1704 | # would cause problems or look ugly. |
1291 | # WARNING: Be sure not to use single quotes in there, as some shells, |
1705 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1292 | # such as our DU 5.0 friend, will then `close' the trap. |
1706 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1293 | trap 'exit_status=$? |
1707 | trap 'exit_status=$? |
1294 | # Save into config.log some information that might help in debugging. |
1708 | # Save into config.log some information that might help in debugging. |
1295 | { |
1709 | { |
1296 | echo |
1710 | echo |
1297 | |
1711 | |
… | |
… | |
1300 | ## Cache variables. ## |
1714 | ## Cache variables. ## |
1301 | ## ---------------- ## |
1715 | ## ---------------- ## |
1302 | _ASBOX |
1716 | _ASBOX |
1303 | echo |
1717 | echo |
1304 | # The following way of writing the cache mishandles newlines in values, |
1718 | # The following way of writing the cache mishandles newlines in values, |
1305 | { |
1719 | ( |
|
|
1720 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
|
1721 | eval ac_val=\$$ac_var |
|
|
1722 | case $ac_val in #( |
|
|
1723 | *${as_nl}*) |
|
|
1724 | case $ac_var in #( |
|
|
1725 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|
|
1726 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|
|
1727 | esac |
|
|
1728 | case $ac_var in #( |
|
|
1729 | _ | IFS | as_nl) ;; #( |
|
|
1730 | *) $as_unset $ac_var ;; |
|
|
1731 | esac ;; |
|
|
1732 | esac |
|
|
1733 | done |
1306 | (set) 2>&1 | |
1734 | (set) 2>&1 | |
1307 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1735 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1308 | *ac_space=\ *) |
1736 | *${as_nl}ac_space=\ *) |
1309 | sed -n \ |
1737 | sed -n \ |
1310 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1738 | "s/'\''/'\''\\\\'\'''\''/g; |
1311 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1739 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1312 | ;; |
1740 | ;; #( |
1313 | *) |
1741 | *) |
1314 | sed -n \ |
1742 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1315 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
1316 | ;; |
1743 | ;; |
1317 | esac; |
1744 | esac | |
1318 | } |
1745 | sort |
|
|
1746 | ) |
1319 | echo |
1747 | echo |
1320 | |
1748 | |
1321 | cat <<\_ASBOX |
1749 | cat <<\_ASBOX |
1322 | ## ----------------- ## |
1750 | ## ----------------- ## |
1323 | ## Output variables. ## |
1751 | ## Output variables. ## |
1324 | ## ----------------- ## |
1752 | ## ----------------- ## |
1325 | _ASBOX |
1753 | _ASBOX |
1326 | echo |
1754 | echo |
1327 | for ac_var in $ac_subst_vars |
1755 | for ac_var in $ac_subst_vars |
1328 | do |
1756 | do |
1329 | eval ac_val=$`echo $ac_var` |
1757 | eval ac_val=\$$ac_var |
|
|
1758 | case $ac_val in |
|
|
1759 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
|
1760 | esac |
1330 | echo "$ac_var='"'"'$ac_val'"'"'" |
1761 | echo "$ac_var='\''$ac_val'\''" |
1331 | done | sort |
1762 | done | sort |
1332 | echo |
1763 | echo |
1333 | |
1764 | |
1334 | if test -n "$ac_subst_files"; then |
1765 | if test -n "$ac_subst_files"; then |
1335 | cat <<\_ASBOX |
1766 | cat <<\_ASBOX |
1336 | ## ------------- ## |
1767 | ## ------------------- ## |
1337 | ## Output files. ## |
1768 | ## File substitutions. ## |
1338 | ## ------------- ## |
1769 | ## ------------------- ## |
1339 | _ASBOX |
1770 | _ASBOX |
1340 | echo |
1771 | echo |
1341 | for ac_var in $ac_subst_files |
1772 | for ac_var in $ac_subst_files |
1342 | do |
1773 | do |
1343 | eval ac_val=$`echo $ac_var` |
1774 | eval ac_val=\$$ac_var |
|
|
1775 | case $ac_val in |
|
|
1776 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
|
1777 | esac |
1344 | echo "$ac_var='"'"'$ac_val'"'"'" |
1778 | echo "$ac_var='\''$ac_val'\''" |
1345 | done | sort |
1779 | done | sort |
1346 | echo |
1780 | echo |
1347 | fi |
1781 | fi |
1348 | |
1782 | |
1349 | if test -s confdefs.h; then |
1783 | if test -s confdefs.h; then |
… | |
… | |
1351 | ## ----------- ## |
1785 | ## ----------- ## |
1352 | ## confdefs.h. ## |
1786 | ## confdefs.h. ## |
1353 | ## ----------- ## |
1787 | ## ----------- ## |
1354 | _ASBOX |
1788 | _ASBOX |
1355 | echo |
1789 | echo |
1356 | sed "/^$/d" confdefs.h | sort |
1790 | cat confdefs.h |
1357 | echo |
1791 | echo |
1358 | fi |
1792 | fi |
1359 | test "$ac_signal" != 0 && |
1793 | test "$ac_signal" != 0 && |
1360 | echo "$as_me: caught signal $ac_signal" |
1794 | echo "$as_me: caught signal $ac_signal" |
1361 | echo "$as_me: exit $exit_status" |
1795 | echo "$as_me: exit $exit_status" |
1362 | } >&5 |
1796 | } >&5 |
1363 | rm -f core *.core && |
1797 | rm -f core *.core core.conftest.* && |
1364 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1798 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1365 | exit $exit_status |
1799 | exit $exit_status |
1366 | ' 0 |
1800 | ' 0 |
1367 | for ac_signal in 1 2 13 15; do |
1801 | for ac_signal in 1 2 13 15; do |
1368 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1802 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1369 | done |
1803 | done |
1370 | ac_signal=0 |
1804 | ac_signal=0 |
1371 | |
1805 | |
1372 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1806 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1373 | rm -rf conftest* confdefs.h |
1807 | rm -f -r conftest* confdefs.h |
1374 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
|
|
1375 | echo >confdefs.h |
|
|
1376 | |
1808 | |
1377 | # Predefined preprocessor variables. |
1809 | # Predefined preprocessor variables. |
1378 | |
1810 | |
1379 | cat >>confdefs.h <<_ACEOF |
1811 | cat >>confdefs.h <<_ACEOF |
1380 | #define PACKAGE_NAME "$PACKAGE_NAME" |
1812 | #define PACKAGE_NAME "$PACKAGE_NAME" |
… | |
… | |
1401 | _ACEOF |
1833 | _ACEOF |
1402 | |
1834 | |
1403 | |
1835 | |
1404 | # Let the site file select an alternate cache file if it wants to. |
1836 | # Let the site file select an alternate cache file if it wants to. |
1405 | # Prefer explicitly selected file to automatically selected ones. |
1837 | # Prefer explicitly selected file to automatically selected ones. |
1406 | if test -z "$CONFIG_SITE"; then |
1838 | if test -n "$CONFIG_SITE"; then |
|
|
1839 | set x "$CONFIG_SITE" |
1407 | if test "x$prefix" != xNONE; then |
1840 | elif test "x$prefix" != xNONE; then |
1408 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1841 | set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1409 | else |
1842 | else |
1410 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1843 | set x "$ac_default_prefix/share/config.site" \ |
1411 | fi |
1844 | "$ac_default_prefix/etc/config.site" |
1412 | fi |
1845 | fi |
1413 | for ac_site_file in $CONFIG_SITE; do |
1846 | shift |
|
|
1847 | for ac_site_file |
|
|
1848 | do |
1414 | if test -r "$ac_site_file"; then |
1849 | if test -r "$ac_site_file"; then |
1415 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1850 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1416 | echo "$as_me: loading site script $ac_site_file" >&6;} |
1851 | echo "$as_me: loading site script $ac_site_file" >&6;} |
1417 | sed 's/^/| /' "$ac_site_file" >&5 |
1852 | sed 's/^/| /' "$ac_site_file" >&5 |
1418 | . "$ac_site_file" |
1853 | . "$ac_site_file" |
… | |
… | |
1424 | # files actually), so we avoid doing that. |
1859 | # files actually), so we avoid doing that. |
1425 | if test -f "$cache_file"; then |
1860 | if test -f "$cache_file"; then |
1426 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1861 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1427 | echo "$as_me: loading cache $cache_file" >&6;} |
1862 | echo "$as_me: loading cache $cache_file" >&6;} |
1428 | case $cache_file in |
1863 | case $cache_file in |
1429 | [\\/]* | ?:[\\/]* ) . $cache_file;; |
1864 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1430 | *) . ./$cache_file;; |
1865 | *) . "./$cache_file";; |
1431 | esac |
1866 | esac |
1432 | fi |
1867 | fi |
1433 | else |
1868 | else |
1434 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1869 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1435 | echo "$as_me: creating cache $cache_file" >&6;} |
1870 | echo "$as_me: creating cache $cache_file" >&6;} |
… | |
… | |
1437 | fi |
1872 | fi |
1438 | |
1873 | |
1439 | # Check that the precious variables saved in the cache have kept the same |
1874 | # Check that the precious variables saved in the cache have kept the same |
1440 | # value. |
1875 | # value. |
1441 | ac_cache_corrupted=false |
1876 | ac_cache_corrupted=false |
1442 | for ac_var in `(set) 2>&1 | |
1877 | for ac_var in $ac_precious_vars; do |
1443 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
|
|
1444 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1878 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1445 | eval ac_new_set=\$ac_env_${ac_var}_set |
1879 | eval ac_new_set=\$ac_env_${ac_var}_set |
1446 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1880 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1447 | eval ac_new_val="\$ac_env_${ac_var}_value" |
1881 | eval ac_new_val=\$ac_env_${ac_var}_value |
1448 | case $ac_old_set,$ac_new_set in |
1882 | case $ac_old_set,$ac_new_set in |
1449 | set,) |
1883 | set,) |
1450 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1884 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1451 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1885 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1452 | ac_cache_corrupted=: ;; |
1886 | ac_cache_corrupted=: ;; |
… | |
… | |
1467 | fi;; |
1901 | fi;; |
1468 | esac |
1902 | esac |
1469 | # Pass precious variables to config.status. |
1903 | # Pass precious variables to config.status. |
1470 | if test "$ac_new_set" = set; then |
1904 | if test "$ac_new_set" = set; then |
1471 | case $ac_new_val in |
1905 | case $ac_new_val in |
1472 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
|
|
1473 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1906 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1474 | *) ac_arg=$ac_var=$ac_new_val ;; |
1907 | *) ac_arg=$ac_var=$ac_new_val ;; |
1475 | esac |
1908 | esac |
1476 | case " $ac_configure_args " in |
1909 | case " $ac_configure_args " in |
1477 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1910 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1478 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1911 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
… | |
… | |
1485 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1918 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1486 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1919 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1487 | { (exit 1); exit 1; }; } |
1920 | { (exit 1); exit 1; }; } |
1488 | fi |
1921 | fi |
1489 | |
1922 | |
|
|
1923 | |
|
|
1924 | |
|
|
1925 | |
|
|
1926 | |
|
|
1927 | |
|
|
1928 | |
|
|
1929 | |
|
|
1930 | |
|
|
1931 | |
|
|
1932 | |
|
|
1933 | |
|
|
1934 | |
|
|
1935 | |
|
|
1936 | |
|
|
1937 | |
|
|
1938 | |
|
|
1939 | |
|
|
1940 | |
|
|
1941 | |
|
|
1942 | |
|
|
1943 | |
|
|
1944 | |
|
|
1945 | |
|
|
1946 | |
1490 | ac_ext=c |
1947 | ac_ext=c |
1491 | ac_cpp='$CPP $CPPFLAGS' |
1948 | ac_cpp='$CPP $CPPFLAGS' |
1492 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1949 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1493 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1950 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1494 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1951 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1495 | |
1952 | |
1496 | |
1953 | |
1497 | |
|
|
1498 | |
|
|
1499 | |
|
|
1500 | |
|
|
1501 | |
|
|
1502 | |
|
|
1503 | |
|
|
1504 | |
|
|
1505 | |
|
|
1506 | |
|
|
1507 | |
|
|
1508 | |
|
|
1509 | |
|
|
1510 | |
|
|
1511 | |
|
|
1512 | |
|
|
1513 | |
|
|
1514 | |
|
|
1515 | |
|
|
1516 | |
|
|
1517 | |
|
|
1518 | |
|
|
1519 | |
|
|
1520 | |
|
|
1521 | |
|
|
1522 | ac_aux_dir= |
1954 | ac_aux_dir= |
1523 | for ac_dir in build_tools $srcdir/build_tools; do |
1955 | for ac_dir in build_tools "$srcdir"/build_tools; do |
1524 | if test -f $ac_dir/install-sh; then |
1956 | if test -f "$ac_dir/install-sh"; then |
1525 | ac_aux_dir=$ac_dir |
1957 | ac_aux_dir=$ac_dir |
1526 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1958 | ac_install_sh="$ac_aux_dir/install-sh -c" |
1527 | break |
1959 | break |
1528 | elif test -f $ac_dir/install.sh; then |
1960 | elif test -f "$ac_dir/install.sh"; then |
1529 | ac_aux_dir=$ac_dir |
1961 | ac_aux_dir=$ac_dir |
1530 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1962 | ac_install_sh="$ac_aux_dir/install.sh -c" |
1531 | break |
1963 | break |
1532 | elif test -f $ac_dir/shtool; then |
1964 | elif test -f "$ac_dir/shtool"; then |
1533 | ac_aux_dir=$ac_dir |
1965 | ac_aux_dir=$ac_dir |
1534 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1966 | ac_install_sh="$ac_aux_dir/shtool install -c" |
1535 | break |
1967 | break |
1536 | fi |
1968 | fi |
1537 | done |
1969 | done |
1538 | if test -z "$ac_aux_dir"; then |
1970 | if test -z "$ac_aux_dir"; then |
1539 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build_tools $srcdir/build_tools" >&5 |
1971 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build_tools \"$srcdir\"/build_tools" >&5 |
1540 | echo "$as_me: error: cannot find install-sh or install.sh in build_tools $srcdir/build_tools" >&2;} |
1972 | echo "$as_me: error: cannot find install-sh or install.sh in build_tools \"$srcdir\"/build_tools" >&2;} |
1541 | { (exit 1); exit 1; }; } |
1973 | { (exit 1); exit 1; }; } |
1542 | fi |
1974 | fi |
|
|
1975 | |
|
|
1976 | # These three variables are undocumented and unsupported, |
|
|
1977 | # and are intended to be withdrawn in a future Autoconf release. |
|
|
1978 | # They can cause serious problems if a builder's source tree is in a directory |
|
|
1979 | # whose full name contains unusual characters. |
1543 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1980 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
1544 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1981 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
1545 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1982 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
|
1983 | |
1546 | |
1984 | |
1547 | am__api_version="1.6" |
1985 | am__api_version="1.6" |
1548 | # Find a good install program. We prefer a C program (faster), |
1986 | # Find a good install program. We prefer a C program (faster), |
1549 | # so one script is as good as another. But avoid the broken or |
1987 | # so one script is as good as another. But avoid the broken or |
1550 | # incompatible versions: |
1988 | # incompatible versions: |
… | |
… | |
1556 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1994 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
1557 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1995 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
1558 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1996 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
1559 | # OS/2's system install, which has a completely different semantic |
1997 | # OS/2's system install, which has a completely different semantic |
1560 | # ./install, which can be erroneously created by make from ./install.sh. |
1998 | # ./install, which can be erroneously created by make from ./install.sh. |
1561 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1999 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
1562 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2000 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
1563 | if test -z "$INSTALL"; then |
2001 | if test -z "$INSTALL"; then |
1564 | if test "${ac_cv_path_install+set}" = set; then |
2002 | if test "${ac_cv_path_install+set}" = set; then |
1565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2003 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1566 | else |
2004 | else |
1567 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2005 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
… | |
… | |
1579 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2017 | # OSF1 and SCO ODT 3.0 have their own names for install. |
1580 | # Don't use installbsd from OSF since it installs stuff as root |
2018 | # Don't use installbsd from OSF since it installs stuff as root |
1581 | # by default. |
2019 | # by default. |
1582 | for ac_prog in ginstall scoinst install; do |
2020 | for ac_prog in ginstall scoinst install; do |
1583 | for ac_exec_ext in '' $ac_executable_extensions; do |
2021 | for ac_exec_ext in '' $ac_executable_extensions; do |
1584 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2022 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
1585 | if test $ac_prog = install && |
2023 | if test $ac_prog = install && |
1586 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2024 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
1587 | # AIX install. It has an incompatible calling convention. |
2025 | # AIX install. It has an incompatible calling convention. |
1588 | : |
2026 | : |
1589 | elif test $ac_prog = install && |
2027 | elif test $ac_prog = install && |
… | |
… | |
1598 | done |
2036 | done |
1599 | done |
2037 | done |
1600 | ;; |
2038 | ;; |
1601 | esac |
2039 | esac |
1602 | done |
2040 | done |
|
|
2041 | IFS=$as_save_IFS |
1603 | |
2042 | |
1604 | |
2043 | |
1605 | fi |
2044 | fi |
1606 | if test "${ac_cv_path_install+set}" = set; then |
2045 | if test "${ac_cv_path_install+set}" = set; then |
1607 | INSTALL=$ac_cv_path_install |
2046 | INSTALL=$ac_cv_path_install |
1608 | else |
2047 | else |
1609 | # As a last resort, use the slow shell script. We don't cache a |
2048 | # As a last resort, use the slow shell script. Don't cache a |
1610 | # path for INSTALL within a source directory, because that will |
2049 | # value for INSTALL within a source directory, because that will |
1611 | # break other packages using the cache if that directory is |
2050 | # break other packages using the cache if that directory is |
1612 | # removed, or if the path is relative. |
2051 | # removed, or if the value is a relative name. |
1613 | INSTALL=$ac_install_sh |
2052 | INSTALL=$ac_install_sh |
1614 | fi |
2053 | fi |
1615 | fi |
2054 | fi |
1616 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2055 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
1617 | echo "${ECHO_T}$INSTALL" >&6 |
2056 | echo "${ECHO_T}$INSTALL" >&6; } |
1618 | |
2057 | |
1619 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2058 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
1620 | # It thinks the first close brace ends the variable substitution. |
2059 | # It thinks the first close brace ends the variable substitution. |
1621 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2060 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
1622 | |
2061 | |
1623 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2062 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
1624 | |
2063 | |
1625 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2064 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
1626 | |
2065 | |
1627 | echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
2066 | { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
1628 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 |
2067 | echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } |
1629 | # Just in case |
2068 | # Just in case |
1630 | sleep 1 |
2069 | sleep 1 |
1631 | echo timestamp > conftest.file |
2070 | echo timestamp > conftest.file |
1632 | # Do `set' in a subshell so we don't clobber the current shell's |
2071 | # Do `set' in a subshell so we don't clobber the current shell's |
1633 | # arguments. Must try -L first in case configure is actually a |
2072 | # arguments. Must try -L first in case configure is actually a |
… | |
… | |
1665 | Check your system clock" >&5 |
2104 | Check your system clock" >&5 |
1666 | echo "$as_me: error: newly created file is older than distributed files! |
2105 | echo "$as_me: error: newly created file is older than distributed files! |
1667 | Check your system clock" >&2;} |
2106 | Check your system clock" >&2;} |
1668 | { (exit 1); exit 1; }; } |
2107 | { (exit 1); exit 1; }; } |
1669 | fi |
2108 | fi |
1670 | echo "$as_me:$LINENO: result: yes" >&5 |
2109 | { echo "$as_me:$LINENO: result: yes" >&5 |
1671 | echo "${ECHO_T}yes" >&6 |
2110 | echo "${ECHO_T}yes" >&6; } |
1672 | test "$program_prefix" != NONE && |
2111 | test "$program_prefix" != NONE && |
1673 | program_transform_name="s,^,$program_prefix,;$program_transform_name" |
2112 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1674 | # Use a double $ so make ignores it. |
2113 | # Use a double $ so make ignores it. |
1675 | test "$program_suffix" != NONE && |
2114 | test "$program_suffix" != NONE && |
1676 | program_transform_name="s,\$,$program_suffix,;$program_transform_name" |
2115 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1677 | # Double any \ or $. echo might interpret backslashes. |
2116 | # Double any \ or $. echo might interpret backslashes. |
1678 | # By default was `s,x,x', remove it if useless. |
2117 | # By default was `s,x,x', remove it if useless. |
1679 | cat <<\_ACEOF >conftest.sed |
2118 | cat <<\_ACEOF >conftest.sed |
1680 | s/[\\$]/&&/g;s/;s,x,x,$// |
2119 | s/[\\$]/&&/g;s/;s,x,x,$// |
1681 | _ACEOF |
2120 | _ACEOF |
1682 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
2121 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1683 | rm conftest.sed |
2122 | rm -f conftest.sed |
1684 | |
2123 | |
1685 | |
2124 | |
1686 | # expand $ac_aux_dir to an absolute path |
2125 | # expand $ac_aux_dir to an absolute path |
1687 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2126 | am_aux_dir=`cd $ac_aux_dir && pwd` |
1688 | |
2127 | |
… | |
… | |
1698 | |
2137 | |
1699 | for ac_prog in gawk mawk nawk awk |
2138 | for ac_prog in gawk mawk nawk awk |
1700 | do |
2139 | do |
1701 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2140 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
1702 | set dummy $ac_prog; ac_word=$2 |
2141 | set dummy $ac_prog; ac_word=$2 |
1703 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2142 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1704 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2143 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1705 | if test "${ac_cv_prog_AWK+set}" = set; then |
2144 | if test "${ac_cv_prog_AWK+set}" = set; then |
1706 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2145 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1707 | else |
2146 | else |
1708 | if test -n "$AWK"; then |
2147 | if test -n "$AWK"; then |
1709 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2148 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
… | |
… | |
1712 | for as_dir in $PATH |
2151 | for as_dir in $PATH |
1713 | do |
2152 | do |
1714 | IFS=$as_save_IFS |
2153 | IFS=$as_save_IFS |
1715 | test -z "$as_dir" && as_dir=. |
2154 | test -z "$as_dir" && as_dir=. |
1716 | for ac_exec_ext in '' $ac_executable_extensions; do |
2155 | for ac_exec_ext in '' $ac_executable_extensions; do |
1717 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2156 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1718 | ac_cv_prog_AWK="$ac_prog" |
2157 | ac_cv_prog_AWK="$ac_prog" |
1719 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2158 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1720 | break 2 |
2159 | break 2 |
1721 | fi |
2160 | fi |
1722 | done |
2161 | done |
1723 | done |
2162 | done |
|
|
2163 | IFS=$as_save_IFS |
1724 | |
2164 | |
1725 | fi |
2165 | fi |
1726 | fi |
2166 | fi |
1727 | AWK=$ac_cv_prog_AWK |
2167 | AWK=$ac_cv_prog_AWK |
1728 | if test -n "$AWK"; then |
2168 | if test -n "$AWK"; then |
1729 | echo "$as_me:$LINENO: result: $AWK" >&5 |
2169 | { echo "$as_me:$LINENO: result: $AWK" >&5 |
1730 | echo "${ECHO_T}$AWK" >&6 |
2170 | echo "${ECHO_T}$AWK" >&6; } |
1731 | else |
2171 | else |
1732 | echo "$as_me:$LINENO: result: no" >&5 |
2172 | { echo "$as_me:$LINENO: result: no" >&5 |
1733 | echo "${ECHO_T}no" >&6 |
2173 | echo "${ECHO_T}no" >&6; } |
1734 | fi |
2174 | fi |
|
|
2175 | |
1735 | |
2176 | |
1736 | test -n "$AWK" && break |
2177 | test -n "$AWK" && break |
1737 | done |
2178 | done |
1738 | |
2179 | |
1739 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2180 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
1740 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
2181 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
1741 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
2182 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
1742 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
2183 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
1743 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2184 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1744 | else |
2185 | else |
1745 | cat >conftest.make <<\_ACEOF |
2186 | cat >conftest.make <<\_ACEOF |
|
|
2187 | SHELL = /bin/sh |
1746 | all: |
2188 | all: |
1747 | @echo 'ac_maketemp="$(MAKE)"' |
2189 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
1748 | _ACEOF |
2190 | _ACEOF |
1749 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
2191 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
1750 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
2192 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
1751 | if test -n "$ac_maketemp"; then |
2193 | *@@@%%%=?*=@@@%%%*) |
1752 | eval ac_cv_prog_make_${ac_make}_set=yes |
2194 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
1753 | else |
2195 | *) |
1754 | eval ac_cv_prog_make_${ac_make}_set=no |
2196 | eval ac_cv_prog_make_${ac_make}_set=no;; |
1755 | fi |
2197 | esac |
1756 | rm -f conftest.make |
2198 | rm -f conftest.make |
1757 | fi |
2199 | fi |
1758 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
2200 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
1759 | echo "$as_me:$LINENO: result: yes" >&5 |
2201 | { echo "$as_me:$LINENO: result: yes" >&5 |
1760 | echo "${ECHO_T}yes" >&6 |
2202 | echo "${ECHO_T}yes" >&6; } |
1761 | SET_MAKE= |
2203 | SET_MAKE= |
1762 | else |
2204 | else |
1763 | echo "$as_me:$LINENO: result: no" >&5 |
2205 | { echo "$as_me:$LINENO: result: no" >&5 |
1764 | echo "${ECHO_T}no" >&6 |
2206 | echo "${ECHO_T}no" >&6; } |
1765 | SET_MAKE="MAKE=${MAKE-make}" |
2207 | SET_MAKE="MAKE=${MAKE-make}" |
1766 | fi |
2208 | fi |
1767 | |
2209 | |
1768 | # test to see if srcdir already configured |
2210 | # test to see if srcdir already configured |
1769 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
2211 | if test "`cd $srcdir && pwd`" != "`pwd`" && |
… | |
… | |
1805 | # will honor the `STRIP' environment variable to overrule this program. |
2247 | # will honor the `STRIP' environment variable to overrule this program. |
1806 | if test "$cross_compiling" != no; then |
2248 | if test "$cross_compiling" != no; then |
1807 | if test -n "$ac_tool_prefix"; then |
2249 | if test -n "$ac_tool_prefix"; then |
1808 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2250 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
1809 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2251 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
1810 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2252 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1811 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2253 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1812 | if test "${ac_cv_prog_STRIP+set}" = set; then |
2254 | if test "${ac_cv_prog_STRIP+set}" = set; then |
1813 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2255 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1814 | else |
2256 | else |
1815 | if test -n "$STRIP"; then |
2257 | if test -n "$STRIP"; then |
1816 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2258 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
… | |
… | |
1819 | for as_dir in $PATH |
2261 | for as_dir in $PATH |
1820 | do |
2262 | do |
1821 | IFS=$as_save_IFS |
2263 | IFS=$as_save_IFS |
1822 | test -z "$as_dir" && as_dir=. |
2264 | test -z "$as_dir" && as_dir=. |
1823 | for ac_exec_ext in '' $ac_executable_extensions; do |
2265 | for ac_exec_ext in '' $ac_executable_extensions; do |
1824 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2266 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1825 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2267 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
1826 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2268 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1827 | break 2 |
2269 | break 2 |
1828 | fi |
2270 | fi |
1829 | done |
2271 | done |
1830 | done |
2272 | done |
|
|
2273 | IFS=$as_save_IFS |
1831 | |
2274 | |
1832 | fi |
2275 | fi |
1833 | fi |
2276 | fi |
1834 | STRIP=$ac_cv_prog_STRIP |
2277 | STRIP=$ac_cv_prog_STRIP |
1835 | if test -n "$STRIP"; then |
2278 | if test -n "$STRIP"; then |
1836 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
2279 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
1837 | echo "${ECHO_T}$STRIP" >&6 |
2280 | echo "${ECHO_T}$STRIP" >&6; } |
1838 | else |
2281 | else |
1839 | echo "$as_me:$LINENO: result: no" >&5 |
2282 | { echo "$as_me:$LINENO: result: no" >&5 |
1840 | echo "${ECHO_T}no" >&6 |
2283 | echo "${ECHO_T}no" >&6; } |
1841 | fi |
2284 | fi |
|
|
2285 | |
1842 | |
2286 | |
1843 | fi |
2287 | fi |
1844 | if test -z "$ac_cv_prog_STRIP"; then |
2288 | if test -z "$ac_cv_prog_STRIP"; then |
1845 | ac_ct_STRIP=$STRIP |
2289 | ac_ct_STRIP=$STRIP |
1846 | # Extract the first word of "strip", so it can be a program name with args. |
2290 | # Extract the first word of "strip", so it can be a program name with args. |
1847 | set dummy strip; ac_word=$2 |
2291 | set dummy strip; ac_word=$2 |
1848 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2292 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1849 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2293 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1850 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
2294 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
1851 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1852 | else |
2296 | else |
1853 | if test -n "$ac_ct_STRIP"; then |
2297 | if test -n "$ac_ct_STRIP"; then |
1854 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2298 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
… | |
… | |
1857 | for as_dir in $PATH |
2301 | for as_dir in $PATH |
1858 | do |
2302 | do |
1859 | IFS=$as_save_IFS |
2303 | IFS=$as_save_IFS |
1860 | test -z "$as_dir" && as_dir=. |
2304 | test -z "$as_dir" && as_dir=. |
1861 | for ac_exec_ext in '' $ac_executable_extensions; do |
2305 | for ac_exec_ext in '' $ac_executable_extensions; do |
1862 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2306 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1863 | ac_cv_prog_ac_ct_STRIP="strip" |
2307 | ac_cv_prog_ac_ct_STRIP="strip" |
1864 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2308 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1865 | break 2 |
2309 | break 2 |
1866 | fi |
2310 | fi |
1867 | done |
2311 | done |
1868 | done |
2312 | done |
|
|
2313 | IFS=$as_save_IFS |
1869 | |
2314 | |
1870 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
|
1871 | fi |
2315 | fi |
1872 | fi |
2316 | fi |
1873 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2317 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
1874 | if test -n "$ac_ct_STRIP"; then |
2318 | if test -n "$ac_ct_STRIP"; then |
1875 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
2319 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
1876 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
2320 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
1877 | else |
2321 | else |
1878 | echo "$as_me:$LINENO: result: no" >&5 |
2322 | { echo "$as_me:$LINENO: result: no" >&5 |
1879 | echo "${ECHO_T}no" >&6 |
2323 | echo "${ECHO_T}no" >&6; } |
1880 | fi |
2324 | fi |
1881 | |
2325 | |
|
|
2326 | if test "x$ac_ct_STRIP" = x; then |
|
|
2327 | STRIP=":" |
|
|
2328 | else |
|
|
2329 | case $cross_compiling:$ac_tool_warned in |
|
|
2330 | yes:) |
|
|
2331 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2332 | whose name does not start with the host triplet. If you think this |
|
|
2333 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2334 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2335 | whose name does not start with the host triplet. If you think this |
|
|
2336 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2337 | ac_tool_warned=yes ;; |
|
|
2338 | esac |
1882 | STRIP=$ac_ct_STRIP |
2339 | STRIP=$ac_ct_STRIP |
|
|
2340 | fi |
1883 | else |
2341 | else |
1884 | STRIP="$ac_cv_prog_STRIP" |
2342 | STRIP="$ac_cv_prog_STRIP" |
1885 | fi |
2343 | fi |
1886 | |
2344 | |
1887 | fi |
2345 | fi |
… | |
… | |
1900 | # Required programs |
2358 | # Required programs |
1901 | #------------------------------------------------------------------------------- |
2359 | #------------------------------------------------------------------------------- |
1902 | |
2360 | |
1903 | # Add the stamp file to the list of files AC keeps track of, |
2361 | # Add the stamp file to the list of files AC keeps track of, |
1904 | # along with our hook. |
2362 | # along with our hook. |
1905 | ac_config_headers="$ac_config_headers config.h" |
2363 | ac_config_headers="$ac_config_headers config.h" |
1906 | |
2364 | |
1907 | |
2365 | |
1908 | |
2366 | |
1909 | #AC_CONFIG_SRCDIR([src/libspf/main.c]) |
2367 | #AC_CONFIG_SRCDIR([src/libspf/main.c]) |
1910 | |
2368 | |
… | |
… | |
1914 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2372 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2373 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1916 | if test -n "$ac_tool_prefix"; then |
2374 | if test -n "$ac_tool_prefix"; then |
1917 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2375 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1918 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2376 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
1919 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2377 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1920 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2378 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1921 | if test "${ac_cv_prog_CC+set}" = set; then |
2379 | if test "${ac_cv_prog_CC+set}" = set; then |
1922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1923 | else |
2381 | else |
1924 | if test -n "$CC"; then |
2382 | if test -n "$CC"; then |
1925 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2383 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
1928 | for as_dir in $PATH |
2386 | for as_dir in $PATH |
1929 | do |
2387 | do |
1930 | IFS=$as_save_IFS |
2388 | IFS=$as_save_IFS |
1931 | test -z "$as_dir" && as_dir=. |
2389 | test -z "$as_dir" && as_dir=. |
1932 | for ac_exec_ext in '' $ac_executable_extensions; do |
2390 | for ac_exec_ext in '' $ac_executable_extensions; do |
1933 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2391 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1934 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2392 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1935 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2393 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1936 | break 2 |
2394 | break 2 |
1937 | fi |
2395 | fi |
1938 | done |
2396 | done |
1939 | done |
2397 | done |
|
|
2398 | IFS=$as_save_IFS |
1940 | |
2399 | |
1941 | fi |
2400 | fi |
1942 | fi |
2401 | fi |
1943 | CC=$ac_cv_prog_CC |
2402 | CC=$ac_cv_prog_CC |
1944 | if test -n "$CC"; then |
2403 | if test -n "$CC"; then |
1945 | echo "$as_me:$LINENO: result: $CC" >&5 |
2404 | { echo "$as_me:$LINENO: result: $CC" >&5 |
1946 | echo "${ECHO_T}$CC" >&6 |
2405 | echo "${ECHO_T}$CC" >&6; } |
1947 | else |
2406 | else |
1948 | echo "$as_me:$LINENO: result: no" >&5 |
2407 | { echo "$as_me:$LINENO: result: no" >&5 |
1949 | echo "${ECHO_T}no" >&6 |
2408 | echo "${ECHO_T}no" >&6; } |
1950 | fi |
2409 | fi |
|
|
2410 | |
1951 | |
2411 | |
1952 | fi |
2412 | fi |
1953 | if test -z "$ac_cv_prog_CC"; then |
2413 | if test -z "$ac_cv_prog_CC"; then |
1954 | ac_ct_CC=$CC |
2414 | ac_ct_CC=$CC |
1955 | # Extract the first word of "gcc", so it can be a program name with args. |
2415 | # Extract the first word of "gcc", so it can be a program name with args. |
1956 | set dummy gcc; ac_word=$2 |
2416 | set dummy gcc; ac_word=$2 |
1957 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2417 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1958 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2418 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
1959 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2419 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
1960 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2420 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
1961 | else |
2421 | else |
1962 | if test -n "$ac_ct_CC"; then |
2422 | if test -n "$ac_ct_CC"; then |
1963 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2423 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
… | |
… | |
1966 | for as_dir in $PATH |
2426 | for as_dir in $PATH |
1967 | do |
2427 | do |
1968 | IFS=$as_save_IFS |
2428 | IFS=$as_save_IFS |
1969 | test -z "$as_dir" && as_dir=. |
2429 | test -z "$as_dir" && as_dir=. |
1970 | for ac_exec_ext in '' $ac_executable_extensions; do |
2430 | for ac_exec_ext in '' $ac_executable_extensions; do |
1971 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2431 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
1972 | ac_cv_prog_ac_ct_CC="gcc" |
2432 | ac_cv_prog_ac_ct_CC="gcc" |
1973 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2433 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1974 | break 2 |
2434 | break 2 |
1975 | fi |
2435 | fi |
1976 | done |
2436 | done |
1977 | done |
2437 | done |
|
|
2438 | IFS=$as_save_IFS |
1978 | |
2439 | |
1979 | fi |
2440 | fi |
1980 | fi |
2441 | fi |
1981 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2442 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1982 | if test -n "$ac_ct_CC"; then |
2443 | if test -n "$ac_ct_CC"; then |
1983 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2444 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
1984 | echo "${ECHO_T}$ac_ct_CC" >&6 |
2445 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
1985 | else |
2446 | else |
1986 | echo "$as_me:$LINENO: result: no" >&5 |
2447 | { echo "$as_me:$LINENO: result: no" >&5 |
1987 | echo "${ECHO_T}no" >&6 |
2448 | echo "${ECHO_T}no" >&6; } |
1988 | fi |
2449 | fi |
1989 | |
2450 | |
|
|
2451 | if test "x$ac_ct_CC" = x; then |
|
|
2452 | CC="" |
|
|
2453 | else |
|
|
2454 | case $cross_compiling:$ac_tool_warned in |
|
|
2455 | yes:) |
|
|
2456 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2457 | whose name does not start with the host triplet. If you think this |
|
|
2458 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2459 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2460 | whose name does not start with the host triplet. If you think this |
|
|
2461 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2462 | ac_tool_warned=yes ;; |
|
|
2463 | esac |
1990 | CC=$ac_ct_CC |
2464 | CC=$ac_ct_CC |
|
|
2465 | fi |
1991 | else |
2466 | else |
1992 | CC="$ac_cv_prog_CC" |
2467 | CC="$ac_cv_prog_CC" |
1993 | fi |
2468 | fi |
1994 | |
2469 | |
1995 | if test -z "$CC"; then |
2470 | if test -z "$CC"; then |
1996 | if test -n "$ac_tool_prefix"; then |
2471 | if test -n "$ac_tool_prefix"; then |
1997 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2472 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
1998 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2473 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
1999 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2474 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2000 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2475 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2001 | if test "${ac_cv_prog_CC+set}" = set; then |
2476 | if test "${ac_cv_prog_CC+set}" = set; then |
2002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2477 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2003 | else |
2478 | else |
2004 | if test -n "$CC"; then |
2479 | if test -n "$CC"; then |
2005 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2480 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
2008 | for as_dir in $PATH |
2483 | for as_dir in $PATH |
2009 | do |
2484 | do |
2010 | IFS=$as_save_IFS |
2485 | IFS=$as_save_IFS |
2011 | test -z "$as_dir" && as_dir=. |
2486 | test -z "$as_dir" && as_dir=. |
2012 | for ac_exec_ext in '' $ac_executable_extensions; do |
2487 | for ac_exec_ext in '' $ac_executable_extensions; do |
2013 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2488 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2014 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2489 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
2015 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2490 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2016 | break 2 |
2491 | break 2 |
2017 | fi |
2492 | fi |
2018 | done |
2493 | done |
2019 | done |
2494 | done |
|
|
2495 | IFS=$as_save_IFS |
2020 | |
2496 | |
2021 | fi |
2497 | fi |
2022 | fi |
2498 | fi |
2023 | CC=$ac_cv_prog_CC |
2499 | CC=$ac_cv_prog_CC |
2024 | if test -n "$CC"; then |
2500 | if test -n "$CC"; then |
2025 | echo "$as_me:$LINENO: result: $CC" >&5 |
2501 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2026 | echo "${ECHO_T}$CC" >&6 |
2502 | echo "${ECHO_T}$CC" >&6; } |
2027 | else |
2503 | else |
2028 | echo "$as_me:$LINENO: result: no" >&5 |
2504 | { echo "$as_me:$LINENO: result: no" >&5 |
2029 | echo "${ECHO_T}no" >&6 |
2505 | echo "${ECHO_T}no" >&6; } |
2030 | fi |
2506 | fi |
2031 | |
2507 | |
2032 | fi |
2508 | |
2033 | if test -z "$ac_cv_prog_CC"; then |
|
|
2034 | ac_ct_CC=$CC |
|
|
2035 | # Extract the first word of "cc", so it can be a program name with args. |
|
|
2036 | set dummy cc; ac_word=$2 |
|
|
2037 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
2038 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
2039 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
|
|
2040 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
2041 | else |
|
|
2042 | if test -n "$ac_ct_CC"; then |
|
|
2043 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
|
2044 | else |
|
|
2045 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
2046 | for as_dir in $PATH |
|
|
2047 | do |
|
|
2048 | IFS=$as_save_IFS |
|
|
2049 | test -z "$as_dir" && as_dir=. |
|
|
2050 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
2051 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
2052 | ac_cv_prog_ac_ct_CC="cc" |
|
|
2053 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
2054 | break 2 |
|
|
2055 | fi |
2509 | fi |
2056 | done |
|
|
2057 | done |
|
|
2058 | |
|
|
2059 | fi |
|
|
2060 | fi |
|
|
2061 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
|
2062 | if test -n "$ac_ct_CC"; then |
|
|
2063 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
|
|
2064 | echo "${ECHO_T}$ac_ct_CC" >&6 |
|
|
2065 | else |
|
|
2066 | echo "$as_me:$LINENO: result: no" >&5 |
|
|
2067 | echo "${ECHO_T}no" >&6 |
|
|
2068 | fi |
|
|
2069 | |
|
|
2070 | CC=$ac_ct_CC |
|
|
2071 | else |
|
|
2072 | CC="$ac_cv_prog_CC" |
|
|
2073 | fi |
|
|
2074 | |
|
|
2075 | fi |
2510 | fi |
2076 | if test -z "$CC"; then |
2511 | if test -z "$CC"; then |
2077 | # Extract the first word of "cc", so it can be a program name with args. |
2512 | # Extract the first word of "cc", so it can be a program name with args. |
2078 | set dummy cc; ac_word=$2 |
2513 | set dummy cc; ac_word=$2 |
2079 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2514 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2080 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2515 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2081 | if test "${ac_cv_prog_CC+set}" = set; then |
2516 | if test "${ac_cv_prog_CC+set}" = set; then |
2082 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2083 | else |
2518 | else |
2084 | if test -n "$CC"; then |
2519 | if test -n "$CC"; then |
2085 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2520 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
2089 | for as_dir in $PATH |
2524 | for as_dir in $PATH |
2090 | do |
2525 | do |
2091 | IFS=$as_save_IFS |
2526 | IFS=$as_save_IFS |
2092 | test -z "$as_dir" && as_dir=. |
2527 | test -z "$as_dir" && as_dir=. |
2093 | for ac_exec_ext in '' $ac_executable_extensions; do |
2528 | for ac_exec_ext in '' $ac_executable_extensions; do |
2094 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2529 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2095 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2530 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2096 | ac_prog_rejected=yes |
2531 | ac_prog_rejected=yes |
2097 | continue |
2532 | continue |
2098 | fi |
2533 | fi |
2099 | ac_cv_prog_CC="cc" |
2534 | ac_cv_prog_CC="cc" |
2100 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2535 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2101 | break 2 |
2536 | break 2 |
2102 | fi |
2537 | fi |
2103 | done |
2538 | done |
2104 | done |
2539 | done |
|
|
2540 | IFS=$as_save_IFS |
2105 | |
2541 | |
2106 | if test $ac_prog_rejected = yes; then |
2542 | if test $ac_prog_rejected = yes; then |
2107 | # We found a bogon in the path, so make sure we never use it. |
2543 | # We found a bogon in the path, so make sure we never use it. |
2108 | set dummy $ac_cv_prog_CC |
2544 | set dummy $ac_cv_prog_CC |
2109 | shift |
2545 | shift |
… | |
… | |
2117 | fi |
2553 | fi |
2118 | fi |
2554 | fi |
2119 | fi |
2555 | fi |
2120 | CC=$ac_cv_prog_CC |
2556 | CC=$ac_cv_prog_CC |
2121 | if test -n "$CC"; then |
2557 | if test -n "$CC"; then |
2122 | echo "$as_me:$LINENO: result: $CC" >&5 |
2558 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2123 | echo "${ECHO_T}$CC" >&6 |
2559 | echo "${ECHO_T}$CC" >&6; } |
2124 | else |
2560 | else |
2125 | echo "$as_me:$LINENO: result: no" >&5 |
2561 | { echo "$as_me:$LINENO: result: no" >&5 |
2126 | echo "${ECHO_T}no" >&6 |
2562 | echo "${ECHO_T}no" >&6; } |
2127 | fi |
2563 | fi |
|
|
2564 | |
2128 | |
2565 | |
2129 | fi |
2566 | fi |
2130 | if test -z "$CC"; then |
2567 | if test -z "$CC"; then |
2131 | if test -n "$ac_tool_prefix"; then |
2568 | if test -n "$ac_tool_prefix"; then |
2132 | for ac_prog in cl |
2569 | for ac_prog in cl.exe |
2133 | do |
2570 | do |
2134 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2571 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2135 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2572 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2136 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2573 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2137 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2574 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2138 | if test "${ac_cv_prog_CC+set}" = set; then |
2575 | if test "${ac_cv_prog_CC+set}" = set; then |
2139 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2576 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2140 | else |
2577 | else |
2141 | if test -n "$CC"; then |
2578 | if test -n "$CC"; then |
2142 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2579 | ac_cv_prog_CC="$CC" # Let the user override the test. |
… | |
… | |
2145 | for as_dir in $PATH |
2582 | for as_dir in $PATH |
2146 | do |
2583 | do |
2147 | IFS=$as_save_IFS |
2584 | IFS=$as_save_IFS |
2148 | test -z "$as_dir" && as_dir=. |
2585 | test -z "$as_dir" && as_dir=. |
2149 | for ac_exec_ext in '' $ac_executable_extensions; do |
2586 | for ac_exec_ext in '' $ac_executable_extensions; do |
2150 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2587 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2151 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2588 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2152 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2153 | break 2 |
2590 | break 2 |
2154 | fi |
2591 | fi |
2155 | done |
2592 | done |
2156 | done |
2593 | done |
|
|
2594 | IFS=$as_save_IFS |
2157 | |
2595 | |
2158 | fi |
2596 | fi |
2159 | fi |
2597 | fi |
2160 | CC=$ac_cv_prog_CC |
2598 | CC=$ac_cv_prog_CC |
2161 | if test -n "$CC"; then |
2599 | if test -n "$CC"; then |
2162 | echo "$as_me:$LINENO: result: $CC" >&5 |
2600 | { echo "$as_me:$LINENO: result: $CC" >&5 |
2163 | echo "${ECHO_T}$CC" >&6 |
2601 | echo "${ECHO_T}$CC" >&6; } |
2164 | else |
2602 | else |
2165 | echo "$as_me:$LINENO: result: no" >&5 |
2603 | { echo "$as_me:$LINENO: result: no" >&5 |
2166 | echo "${ECHO_T}no" >&6 |
2604 | echo "${ECHO_T}no" >&6; } |
2167 | fi |
2605 | fi |
|
|
2606 | |
2168 | |
2607 | |
2169 | test -n "$CC" && break |
2608 | test -n "$CC" && break |
2170 | done |
2609 | done |
2171 | fi |
2610 | fi |
2172 | if test -z "$CC"; then |
2611 | if test -z "$CC"; then |
2173 | ac_ct_CC=$CC |
2612 | ac_ct_CC=$CC |
2174 | for ac_prog in cl |
2613 | for ac_prog in cl.exe |
2175 | do |
2614 | do |
2176 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2615 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2177 | set dummy $ac_prog; ac_word=$2 |
2616 | set dummy $ac_prog; ac_word=$2 |
2178 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2617 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2179 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2618 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2180 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2619 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2181 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2620 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2182 | else |
2621 | else |
2183 | if test -n "$ac_ct_CC"; then |
2622 | if test -n "$ac_ct_CC"; then |
2184 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2623 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
… | |
… | |
2187 | for as_dir in $PATH |
2626 | for as_dir in $PATH |
2188 | do |
2627 | do |
2189 | IFS=$as_save_IFS |
2628 | IFS=$as_save_IFS |
2190 | test -z "$as_dir" && as_dir=. |
2629 | test -z "$as_dir" && as_dir=. |
2191 | for ac_exec_ext in '' $ac_executable_extensions; do |
2630 | for ac_exec_ext in '' $ac_executable_extensions; do |
2192 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2631 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2193 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2632 | ac_cv_prog_ac_ct_CC="$ac_prog" |
2194 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2633 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2195 | break 2 |
2634 | break 2 |
2196 | fi |
2635 | fi |
2197 | done |
2636 | done |
2198 | done |
2637 | done |
|
|
2638 | IFS=$as_save_IFS |
2199 | |
2639 | |
2200 | fi |
2640 | fi |
2201 | fi |
2641 | fi |
2202 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2642 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2203 | if test -n "$ac_ct_CC"; then |
2643 | if test -n "$ac_ct_CC"; then |
2204 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2644 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2205 | echo "${ECHO_T}$ac_ct_CC" >&6 |
2645 | echo "${ECHO_T}$ac_ct_CC" >&6; } |
2206 | else |
2646 | else |
2207 | echo "$as_me:$LINENO: result: no" >&5 |
2647 | { echo "$as_me:$LINENO: result: no" >&5 |
2208 | echo "${ECHO_T}no" >&6 |
2648 | echo "${ECHO_T}no" >&6; } |
2209 | fi |
2649 | fi |
|
|
2650 | |
2210 | |
2651 | |
2211 | test -n "$ac_ct_CC" && break |
2652 | test -n "$ac_ct_CC" && break |
2212 | done |
2653 | done |
2213 | |
2654 | |
|
|
2655 | if test "x$ac_ct_CC" = x; then |
|
|
2656 | CC="" |
|
|
2657 | else |
|
|
2658 | case $cross_compiling:$ac_tool_warned in |
|
|
2659 | yes:) |
|
|
2660 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2661 | whose name does not start with the host triplet. If you think this |
|
|
2662 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
2663 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
2664 | whose name does not start with the host triplet. If you think this |
|
|
2665 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
2666 | ac_tool_warned=yes ;; |
|
|
2667 | esac |
2214 | CC=$ac_ct_CC |
2668 | CC=$ac_ct_CC |
|
|
2669 | fi |
2215 | fi |
2670 | fi |
2216 | |
2671 | |
2217 | fi |
2672 | fi |
2218 | |
2673 | |
2219 | |
2674 | |
… | |
… | |
2222 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2677 | echo "$as_me: error: no acceptable C compiler found in \$PATH |
2223 | See \`config.log' for more details." >&2;} |
2678 | See \`config.log' for more details." >&2;} |
2224 | { (exit 1); exit 1; }; } |
2679 | { (exit 1); exit 1; }; } |
2225 | |
2680 | |
2226 | # Provide some information about the compiler. |
2681 | # Provide some information about the compiler. |
2227 | echo "$as_me:$LINENO:" \ |
|
|
2228 | "checking for C compiler version" >&5 |
2682 | echo "$as_me:$LINENO: checking for C compiler version" >&5 |
2229 | ac_compiler=`set X $ac_compile; echo $2` |
2683 | ac_compiler=`set X $ac_compile; echo $2` |
2230 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2684 | { (ac_try="$ac_compiler --version >&5" |
|
|
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 |
2231 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
2690 | (eval "$ac_compiler --version >&5") 2>&5 |
2232 | ac_status=$? |
2691 | ac_status=$? |
2233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2692 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2234 | (exit $ac_status); } |
2693 | (exit $ac_status); } |
2235 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2694 | { (ac_try="$ac_compiler -v >&5" |
|
|
2695 | case "(($ac_try" in |
|
|
2696 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2697 | *) ac_try_echo=$ac_try;; |
|
|
2698 | esac |
|
|
2699 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2236 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
2700 | (eval "$ac_compiler -v >&5") 2>&5 |
2237 | ac_status=$? |
2701 | ac_status=$? |
2238 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2702 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2239 | (exit $ac_status); } |
2703 | (exit $ac_status); } |
2240 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2704 | { (ac_try="$ac_compiler -V >&5" |
|
|
2705 | case "(($ac_try" in |
|
|
2706 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2707 | *) ac_try_echo=$ac_try;; |
|
|
2708 | esac |
|
|
2709 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2241 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
2710 | (eval "$ac_compiler -V >&5") 2>&5 |
2242 | ac_status=$? |
2711 | ac_status=$? |
2243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2712 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2244 | (exit $ac_status); } |
2713 | (exit $ac_status); } |
2245 | |
2714 | |
2246 | cat >conftest.$ac_ext <<_ACEOF |
2715 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
2261 | ac_clean_files_save=$ac_clean_files |
2730 | ac_clean_files_save=$ac_clean_files |
2262 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2731 | ac_clean_files="$ac_clean_files a.out a.exe b.out" |
2263 | # Try to create an executable without -o first, disregard a.out. |
2732 | # Try to create an executable without -o first, disregard a.out. |
2264 | # It will help us diagnose broken compilers, and finding out an intuition |
2733 | # It will help us diagnose broken compilers, and finding out an intuition |
2265 | # of exeext. |
2734 | # of exeext. |
2266 | echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2735 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
2267 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
2736 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
2268 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2737 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
|
2738 | # |
|
|
2739 | # List of possible output files, starting from the most likely. |
|
|
2740 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) |
|
|
2741 | # only as a last resort. b.out is created by i960 compilers. |
|
|
2742 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' |
|
|
2743 | # |
|
|
2744 | # The IRIX 6 linker writes into existing files which may not be |
|
|
2745 | # executable, retaining their permissions. Remove them first so a |
|
|
2746 | # subsequent execution test works. |
|
|
2747 | ac_rmfiles= |
|
|
2748 | for ac_file in $ac_files |
|
|
2749 | do |
|
|
2750 | case $ac_file in |
|
|
2751 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
|
|
2752 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
|
2753 | esac |
|
|
2754 | done |
|
|
2755 | rm -f $ac_rmfiles |
|
|
2756 | |
|
|
2757 | if { (ac_try="$ac_link_default" |
|
|
2758 | case "(($ac_try" in |
|
|
2759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2760 | *) ac_try_echo=$ac_try;; |
|
|
2761 | esac |
2269 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2762 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2270 | (eval $ac_link_default) 2>&5 |
2763 | (eval "$ac_link_default") 2>&5 |
2271 | ac_status=$? |
2764 | ac_status=$? |
2272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2273 | (exit $ac_status); }; then |
2766 | (exit $ac_status); }; then |
2274 | # Find the output, starting from the most likely. This scheme is |
2767 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
2275 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2768 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
2276 | # resort. |
2769 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
2277 | |
2770 | # so that the user can short-circuit this test for compilers unknown to |
2278 | # Be careful to initialize this variable, since it used to be cached. |
2771 | # Autoconf. |
2279 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2772 | for ac_file in $ac_files '' |
2280 | ac_cv_exeext= |
|
|
2281 | # b.out is created by i960 compilers. |
|
|
2282 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out |
|
|
2283 | do |
2773 | do |
2284 | test -f "$ac_file" || continue |
2774 | test -f "$ac_file" || continue |
2285 | case $ac_file in |
2775 | case $ac_file in |
2286 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
2776 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
2287 | ;; |
|
|
2288 | conftest.$ac_ext ) |
|
|
2289 | # This is the source file. |
|
|
2290 | ;; |
2777 | ;; |
2291 | [ab].out ) |
2778 | [ab].out ) |
2292 | # We found the default executable, but exeext='' is most |
2779 | # We found the default executable, but exeext='' is most |
2293 | # certainly right. |
2780 | # certainly right. |
2294 | break;; |
2781 | break;; |
2295 | *.* ) |
2782 | *.* ) |
|
|
2783 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
|
2784 | then :; else |
2296 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2785 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2297 | # FIXME: I believe we export ac_cv_exeext for Libtool, |
2786 | fi |
2298 | # but it would be cool to find out if it's true. Does anybody |
2787 | # We set ac_cv_exeext here because the later test for it is not |
2299 | # maintain Libtool? --akim. |
2788 | # safe: cross compilers may not add the suffix if given an `-o' |
2300 | export ac_cv_exeext |
2789 | # argument, so we may need to know it at that point already. |
|
|
2790 | # Even if this section looks crufty: it has the advantage of |
|
|
2791 | # actually working. |
2301 | break;; |
2792 | break;; |
2302 | * ) |
2793 | * ) |
2303 | break;; |
2794 | break;; |
2304 | esac |
2795 | esac |
2305 | done |
2796 | done |
|
|
2797 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
|
2798 | |
2306 | else |
2799 | else |
|
|
2800 | ac_file='' |
|
|
2801 | fi |
|
|
2802 | |
|
|
2803 | { echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2804 | echo "${ECHO_T}$ac_file" >&6; } |
|
|
2805 | if test -z "$ac_file"; then |
2307 | echo "$as_me: failed program was:" >&5 |
2806 | echo "$as_me: failed program was:" >&5 |
2308 | sed 's/^/| /' conftest.$ac_ext >&5 |
2807 | sed 's/^/| /' conftest.$ac_ext >&5 |
2309 | |
2808 | |
2310 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2809 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
2311 | See \`config.log' for more details." >&5 |
2810 | See \`config.log' for more details." >&5 |
… | |
… | |
2313 | See \`config.log' for more details." >&2;} |
2812 | See \`config.log' for more details." >&2;} |
2314 | { (exit 77); exit 77; }; } |
2813 | { (exit 77); exit 77; }; } |
2315 | fi |
2814 | fi |
2316 | |
2815 | |
2317 | ac_exeext=$ac_cv_exeext |
2816 | ac_exeext=$ac_cv_exeext |
2318 | echo "$as_me:$LINENO: result: $ac_file" >&5 |
|
|
2319 | echo "${ECHO_T}$ac_file" >&6 |
|
|
2320 | |
2817 | |
2321 | # Check the compiler produces executables we can run. If not, either |
2818 | # Check that the compiler produces executables we can run. If not, either |
2322 | # the compiler is broken, or we cross compile. |
2819 | # the compiler is broken, or we cross compile. |
2323 | echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2820 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2324 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2821 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
2325 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2822 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2326 | # If not cross compiling, check that we can run a simple program. |
2823 | # If not cross compiling, check that we can run a simple program. |
2327 | if test "$cross_compiling" != yes; then |
2824 | if test "$cross_compiling" != yes; then |
2328 | if { ac_try='./$ac_file' |
2825 | if { ac_try='./$ac_file' |
|
|
2826 | { (case "(($ac_try" in |
|
|
2827 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2828 | *) ac_try_echo=$ac_try;; |
|
|
2829 | esac |
2329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2830 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2330 | (eval $ac_try) 2>&5 |
2831 | (eval "$ac_try") 2>&5 |
2331 | ac_status=$? |
2832 | ac_status=$? |
2332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2833 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2333 | (exit $ac_status); }; }; then |
2834 | (exit $ac_status); }; }; then |
2334 | cross_compiling=no |
2835 | cross_compiling=no |
2335 | else |
2836 | else |
… | |
… | |
2344 | See \`config.log' for more details." >&2;} |
2845 | See \`config.log' for more details." >&2;} |
2345 | { (exit 1); exit 1; }; } |
2846 | { (exit 1); exit 1; }; } |
2346 | fi |
2847 | fi |
2347 | fi |
2848 | fi |
2348 | fi |
2849 | fi |
2349 | echo "$as_me:$LINENO: result: yes" >&5 |
2850 | { echo "$as_me:$LINENO: result: yes" >&5 |
2350 | echo "${ECHO_T}yes" >&6 |
2851 | echo "${ECHO_T}yes" >&6; } |
2351 | |
2852 | |
2352 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2853 | rm -f a.out a.exe conftest$ac_cv_exeext b.out |
2353 | ac_clean_files=$ac_clean_files_save |
2854 | ac_clean_files=$ac_clean_files_save |
2354 | # Check the compiler produces executables we can run. If not, either |
2855 | # Check that the compiler produces executables we can run. If not, either |
2355 | # the compiler is broken, or we cross compile. |
2856 | # the compiler is broken, or we cross compile. |
2356 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2857 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
2357 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
2858 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
2358 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2859 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
2359 | echo "${ECHO_T}$cross_compiling" >&6 |
2860 | echo "${ECHO_T}$cross_compiling" >&6; } |
2360 | |
2861 | |
2361 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2862 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
2362 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
2863 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
|
|
2864 | if { (ac_try="$ac_link" |
|
|
2865 | case "(($ac_try" in |
|
|
2866 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2867 | *) ac_try_echo=$ac_try;; |
|
|
2868 | esac |
2363 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
2869 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2364 | (eval $ac_link) 2>&5 |
2870 | (eval "$ac_link") 2>&5 |
2365 | ac_status=$? |
2871 | ac_status=$? |
2366 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2872 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2367 | (exit $ac_status); }; then |
2873 | (exit $ac_status); }; then |
2368 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2874 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
2369 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2875 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
2370 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2876 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
2371 | # `rm'. |
2877 | # `rm'. |
2372 | for ac_file in conftest.exe conftest conftest.*; do |
2878 | for ac_file in conftest.exe conftest conftest.*; do |
2373 | test -f "$ac_file" || continue |
2879 | test -f "$ac_file" || continue |
2374 | case $ac_file in |
2880 | case $ac_file in |
2375 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2881 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
2376 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2882 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2377 | export ac_cv_exeext |
|
|
2378 | break;; |
2883 | break;; |
2379 | * ) break;; |
2884 | * ) break;; |
2380 | esac |
2885 | esac |
2381 | done |
2886 | done |
2382 | else |
2887 | else |
… | |
… | |
2386 | See \`config.log' for more details." >&2;} |
2891 | See \`config.log' for more details." >&2;} |
2387 | { (exit 1); exit 1; }; } |
2892 | { (exit 1); exit 1; }; } |
2388 | fi |
2893 | fi |
2389 | |
2894 | |
2390 | rm -f conftest$ac_cv_exeext |
2895 | rm -f conftest$ac_cv_exeext |
2391 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2896 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2392 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
2897 | echo "${ECHO_T}$ac_cv_exeext" >&6; } |
2393 | |
2898 | |
2394 | rm -f conftest.$ac_ext |
2899 | rm -f conftest.$ac_ext |
2395 | EXEEXT=$ac_cv_exeext |
2900 | EXEEXT=$ac_cv_exeext |
2396 | ac_exeext=$EXEEXT |
2901 | ac_exeext=$EXEEXT |
2397 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2902 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2398 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2903 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
2399 | if test "${ac_cv_objext+set}" = set; then |
2904 | if test "${ac_cv_objext+set}" = set; then |
2400 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2905 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2401 | else |
2906 | else |
2402 | cat >conftest.$ac_ext <<_ACEOF |
2907 | cat >conftest.$ac_ext <<_ACEOF |
2403 | /* confdefs.h. */ |
2908 | /* confdefs.h. */ |
… | |
… | |
2413 | ; |
2918 | ; |
2414 | return 0; |
2919 | return 0; |
2415 | } |
2920 | } |
2416 | _ACEOF |
2921 | _ACEOF |
2417 | rm -f conftest.o conftest.obj |
2922 | rm -f conftest.o conftest.obj |
|
|
2923 | if { (ac_try="$ac_compile" |
|
|
2924 | case "(($ac_try" in |
|
|
2925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2926 | *) ac_try_echo=$ac_try;; |
|
|
2927 | esac |
2418 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2419 | (eval $ac_compile) 2>&5 |
2929 | (eval "$ac_compile") 2>&5 |
2420 | ac_status=$? |
2930 | ac_status=$? |
2421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2422 | (exit $ac_status); }; then |
2932 | (exit $ac_status); }; then |
2423 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2933 | for ac_file in conftest.o conftest.obj conftest.*; do |
|
|
2934 | test -f "$ac_file" || continue; |
2424 | case $ac_file in |
2935 | case $ac_file in |
2425 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2936 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
2426 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2937 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2427 | break;; |
2938 | break;; |
2428 | esac |
2939 | esac |
2429 | done |
2940 | done |
2430 | else |
2941 | else |
… | |
… | |
2438 | { (exit 1); exit 1; }; } |
2949 | { (exit 1); exit 1; }; } |
2439 | fi |
2950 | fi |
2440 | |
2951 | |
2441 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2952 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2442 | fi |
2953 | fi |
2443 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2954 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2444 | echo "${ECHO_T}$ac_cv_objext" >&6 |
2955 | echo "${ECHO_T}$ac_cv_objext" >&6; } |
2445 | OBJEXT=$ac_cv_objext |
2956 | OBJEXT=$ac_cv_objext |
2446 | ac_objext=$OBJEXT |
2957 | ac_objext=$OBJEXT |
2447 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2958 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2448 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2959 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
2449 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2960 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2451 | else |
2962 | else |
2452 | cat >conftest.$ac_ext <<_ACEOF |
2963 | cat >conftest.$ac_ext <<_ACEOF |
2453 | /* confdefs.h. */ |
2964 | /* confdefs.h. */ |
… | |
… | |
2466 | ; |
2977 | ; |
2467 | return 0; |
2978 | return 0; |
2468 | } |
2979 | } |
2469 | _ACEOF |
2980 | _ACEOF |
2470 | rm -f conftest.$ac_objext |
2981 | rm -f conftest.$ac_objext |
|
|
2982 | if { (ac_try="$ac_compile" |
|
|
2983 | case "(($ac_try" in |
|
|
2984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
2985 | *) ac_try_echo=$ac_try;; |
|
|
2986 | esac |
2471 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2987 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2472 | (eval $ac_compile) 2>conftest.er1 |
2988 | (eval "$ac_compile") 2>conftest.er1 |
2473 | ac_status=$? |
2989 | ac_status=$? |
2474 | grep -v '^ *+' conftest.er1 >conftest.err |
2990 | grep -v '^ *+' conftest.er1 >conftest.err |
2475 | rm -f conftest.er1 |
2991 | rm -f conftest.er1 |
2476 | cat conftest.err >&5 |
2992 | cat conftest.err >&5 |
2477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2993 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2478 | (exit $ac_status); } && |
2994 | (exit $ac_status); } && { |
2479 | { ac_try='test -z "$ac_c_werror_flag" |
2995 | test -z "$ac_c_werror_flag" || |
2480 | || test ! -s conftest.err' |
2996 | test ! -s conftest.err |
2481 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2997 | } && test -s conftest.$ac_objext; then |
2482 | (eval $ac_try) 2>&5 |
|
|
2483 | ac_status=$? |
|
|
2484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2485 | (exit $ac_status); }; } && |
|
|
2486 | { ac_try='test -s conftest.$ac_objext' |
|
|
2487 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2488 | (eval $ac_try) 2>&5 |
|
|
2489 | ac_status=$? |
|
|
2490 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2491 | (exit $ac_status); }; }; then |
|
|
2492 | ac_compiler_gnu=yes |
2998 | ac_compiler_gnu=yes |
2493 | else |
2999 | else |
2494 | echo "$as_me: failed program was:" >&5 |
3000 | echo "$as_me: failed program was:" >&5 |
2495 | sed 's/^/| /' conftest.$ac_ext >&5 |
3001 | sed 's/^/| /' conftest.$ac_ext >&5 |
2496 | |
3002 | |
2497 | ac_compiler_gnu=no |
3003 | ac_compiler_gnu=no |
2498 | fi |
3004 | fi |
|
|
3005 | |
2499 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3006 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2500 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3007 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2501 | |
3008 | |
2502 | fi |
3009 | fi |
2503 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3010 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2504 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
3011 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
2505 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
3012 | GCC=`test $ac_compiler_gnu = yes && echo yes` |
2506 | ac_test_CFLAGS=${CFLAGS+set} |
3013 | ac_test_CFLAGS=${CFLAGS+set} |
2507 | ac_save_CFLAGS=$CFLAGS |
3014 | ac_save_CFLAGS=$CFLAGS |
2508 | CFLAGS="-g" |
|
|
2509 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3015 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2510 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
3016 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
2511 | if test "${ac_cv_prog_cc_g+set}" = set; then |
3017 | if test "${ac_cv_prog_cc_g+set}" = set; then |
2512 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2513 | else |
3019 | else |
|
|
3020 | ac_save_c_werror_flag=$ac_c_werror_flag |
|
|
3021 | ac_c_werror_flag=yes |
|
|
3022 | ac_cv_prog_cc_g=no |
|
|
3023 | CFLAGS="-g" |
2514 | cat >conftest.$ac_ext <<_ACEOF |
3024 | cat >conftest.$ac_ext <<_ACEOF |
2515 | /* confdefs.h. */ |
3025 | /* confdefs.h. */ |
2516 | _ACEOF |
3026 | _ACEOF |
2517 | cat confdefs.h >>conftest.$ac_ext |
3027 | cat confdefs.h >>conftest.$ac_ext |
2518 | cat >>conftest.$ac_ext <<_ACEOF |
3028 | cat >>conftest.$ac_ext <<_ACEOF |
2519 | /* end confdefs.h. */ |
3029 | /* end confdefs.h. */ |
… | |
… | |
2525 | ; |
3035 | ; |
2526 | return 0; |
3036 | return 0; |
2527 | } |
3037 | } |
2528 | _ACEOF |
3038 | _ACEOF |
2529 | rm -f conftest.$ac_objext |
3039 | rm -f conftest.$ac_objext |
|
|
3040 | if { (ac_try="$ac_compile" |
|
|
3041 | case "(($ac_try" in |
|
|
3042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3043 | *) ac_try_echo=$ac_try;; |
|
|
3044 | esac |
2530 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3045 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2531 | (eval $ac_compile) 2>conftest.er1 |
3046 | (eval "$ac_compile") 2>conftest.er1 |
2532 | ac_status=$? |
3047 | ac_status=$? |
2533 | grep -v '^ *+' conftest.er1 >conftest.err |
3048 | grep -v '^ *+' conftest.er1 >conftest.err |
2534 | rm -f conftest.er1 |
3049 | rm -f conftest.er1 |
2535 | cat conftest.err >&5 |
3050 | cat conftest.err >&5 |
2536 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2537 | (exit $ac_status); } && |
3052 | (exit $ac_status); } && { |
2538 | { ac_try='test -z "$ac_c_werror_flag" |
3053 | test -z "$ac_c_werror_flag" || |
2539 | || test ! -s conftest.err' |
3054 | test ! -s conftest.err |
2540 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3055 | } && test -s conftest.$ac_objext; then |
2541 | (eval $ac_try) 2>&5 |
|
|
2542 | ac_status=$? |
|
|
2543 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2544 | (exit $ac_status); }; } && |
|
|
2545 | { ac_try='test -s conftest.$ac_objext' |
|
|
2546 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2547 | (eval $ac_try) 2>&5 |
|
|
2548 | ac_status=$? |
|
|
2549 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2550 | (exit $ac_status); }; }; then |
|
|
2551 | ac_cv_prog_cc_g=yes |
3056 | ac_cv_prog_cc_g=yes |
2552 | else |
3057 | else |
2553 | echo "$as_me: failed program was:" >&5 |
3058 | echo "$as_me: failed program was:" >&5 |
2554 | sed 's/^/| /' conftest.$ac_ext >&5 |
3059 | sed 's/^/| /' conftest.$ac_ext >&5 |
2555 | |
3060 | |
|
|
3061 | CFLAGS="" |
|
|
3062 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3063 | /* confdefs.h. */ |
|
|
3064 | _ACEOF |
|
|
3065 | cat confdefs.h >>conftest.$ac_ext |
|
|
3066 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3067 | /* end confdefs.h. */ |
|
|
3068 | |
|
|
3069 | int |
|
|
3070 | main () |
|
|
3071 | { |
|
|
3072 | |
|
|
3073 | ; |
|
|
3074 | return 0; |
|
|
3075 | } |
|
|
3076 | _ACEOF |
|
|
3077 | rm -f conftest.$ac_objext |
|
|
3078 | if { (ac_try="$ac_compile" |
|
|
3079 | case "(($ac_try" in |
|
|
3080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3081 | *) ac_try_echo=$ac_try;; |
|
|
3082 | esac |
|
|
3083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3084 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3085 | ac_status=$? |
|
|
3086 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3087 | rm -f conftest.er1 |
|
|
3088 | cat conftest.err >&5 |
|
|
3089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3090 | (exit $ac_status); } && { |
|
|
3091 | test -z "$ac_c_werror_flag" || |
|
|
3092 | test ! -s conftest.err |
|
|
3093 | } && test -s conftest.$ac_objext; then |
|
|
3094 | : |
|
|
3095 | else |
|
|
3096 | echo "$as_me: failed program was:" >&5 |
|
|
3097 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3098 | |
|
|
3099 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3100 | CFLAGS="-g" |
|
|
3101 | cat >conftest.$ac_ext <<_ACEOF |
|
|
3102 | /* confdefs.h. */ |
|
|
3103 | _ACEOF |
|
|
3104 | cat confdefs.h >>conftest.$ac_ext |
|
|
3105 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
3106 | /* end confdefs.h. */ |
|
|
3107 | |
|
|
3108 | int |
|
|
3109 | main () |
|
|
3110 | { |
|
|
3111 | |
|
|
3112 | ; |
|
|
3113 | return 0; |
|
|
3114 | } |
|
|
3115 | _ACEOF |
|
|
3116 | rm -f conftest.$ac_objext |
|
|
3117 | if { (ac_try="$ac_compile" |
|
|
3118 | case "(($ac_try" in |
|
|
3119 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3120 | *) ac_try_echo=$ac_try;; |
|
|
3121 | esac |
|
|
3122 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
3123 | (eval "$ac_compile") 2>conftest.er1 |
|
|
3124 | ac_status=$? |
|
|
3125 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
3126 | rm -f conftest.er1 |
|
|
3127 | cat conftest.err >&5 |
|
|
3128 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
3129 | (exit $ac_status); } && { |
|
|
3130 | test -z "$ac_c_werror_flag" || |
|
|
3131 | test ! -s conftest.err |
|
|
3132 | } && test -s conftest.$ac_objext; then |
2556 | ac_cv_prog_cc_g=no |
3133 | ac_cv_prog_cc_g=yes |
|
|
3134 | else |
|
|
3135 | echo "$as_me: failed program was:" >&5 |
|
|
3136 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
3137 | |
|
|
3138 | |
2557 | fi |
3139 | fi |
|
|
3140 | |
2558 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3141 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
2559 | fi |
3142 | fi |
|
|
3143 | |
|
|
3144 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3145 | fi |
|
|
3146 | |
|
|
3147 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
3148 | ac_c_werror_flag=$ac_save_c_werror_flag |
|
|
3149 | fi |
2560 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
3150 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
2561 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
3151 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } |
2562 | if test "$ac_test_CFLAGS" = set; then |
3152 | if test "$ac_test_CFLAGS" = set; then |
2563 | CFLAGS=$ac_save_CFLAGS |
3153 | CFLAGS=$ac_save_CFLAGS |
2564 | elif test $ac_cv_prog_cc_g = yes; then |
3154 | elif test $ac_cv_prog_cc_g = yes; then |
2565 | if test "$GCC" = yes; then |
3155 | if test "$GCC" = yes; then |
2566 | CFLAGS="-g -O2" |
3156 | CFLAGS="-g -O2" |
… | |
… | |
2572 | CFLAGS="-O2" |
3162 | CFLAGS="-O2" |
2573 | else |
3163 | else |
2574 | CFLAGS= |
3164 | CFLAGS= |
2575 | fi |
3165 | fi |
2576 | fi |
3166 | fi |
2577 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
3167 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
2578 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
3168 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
2579 | if test "${ac_cv_prog_cc_stdc+set}" = set; then |
3169 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
2580 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3170 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2581 | else |
3171 | else |
2582 | ac_cv_prog_cc_stdc=no |
3172 | ac_cv_prog_cc_c89=no |
2583 | ac_save_CC=$CC |
3173 | ac_save_CC=$CC |
2584 | cat >conftest.$ac_ext <<_ACEOF |
3174 | cat >conftest.$ac_ext <<_ACEOF |
2585 | /* confdefs.h. */ |
3175 | /* confdefs.h. */ |
2586 | _ACEOF |
3176 | _ACEOF |
2587 | cat confdefs.h >>conftest.$ac_ext |
3177 | cat confdefs.h >>conftest.$ac_ext |
… | |
… | |
2611 | } |
3201 | } |
2612 | |
3202 | |
2613 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3203 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
2614 | function prototypes and stuff, but not '\xHH' hex character constants. |
3204 | function prototypes and stuff, but not '\xHH' hex character constants. |
2615 | These don't provoke an error unfortunately, instead are silently treated |
3205 | These don't provoke an error unfortunately, instead are silently treated |
2616 | as 'x'. The following induces an error, until -std1 is added to get |
3206 | as 'x'. The following induces an error, until -std is added to get |
2617 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3207 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
2618 | array size at least. It's necessary to write '\x00'==0 to get something |
3208 | array size at least. It's necessary to write '\x00'==0 to get something |
2619 | that's true only with -std1. */ |
3209 | that's true only with -std. */ |
2620 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3210 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
3211 | |
|
|
3212 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
|
3213 | inside strings and character constants. */ |
|
|
3214 | #define FOO(x) 'x' |
|
|
3215 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
2621 | |
3216 | |
2622 | int test (int i, double x); |
3217 | int test (int i, double x); |
2623 | struct s1 {int (*f) (int a);}; |
3218 | struct s1 {int (*f) (int a);}; |
2624 | struct s2 {int (*f) (double a);}; |
3219 | struct s2 {int (*f) (double a);}; |
2625 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3220 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
… | |
… | |
2631 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3226 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2632 | ; |
3227 | ; |
2633 | return 0; |
3228 | return 0; |
2634 | } |
3229 | } |
2635 | _ACEOF |
3230 | _ACEOF |
2636 | # Don't try gcc -ansi; that turns off useful extensions and |
3231 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
2637 | # breaks some systems' header files. |
3232 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2638 | # AIX -qlanglvl=ansi |
|
|
2639 | # Ultrix and OSF/1 -std1 |
|
|
2640 | # HP-UX 10.20 and later -Ae |
|
|
2641 | # HP-UX older versions -Aa -D_HPUX_SOURCE |
|
|
2642 | # SVR4 -Xc -D__EXTENSIONS__ |
|
|
2643 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
|
2644 | do |
3233 | do |
2645 | CC="$ac_save_CC $ac_arg" |
3234 | CC="$ac_save_CC $ac_arg" |
2646 | rm -f conftest.$ac_objext |
3235 | rm -f conftest.$ac_objext |
|
|
3236 | if { (ac_try="$ac_compile" |
|
|
3237 | case "(($ac_try" in |
|
|
3238 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3239 | *) ac_try_echo=$ac_try;; |
|
|
3240 | esac |
2647 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3241 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
2648 | (eval $ac_compile) 2>conftest.er1 |
3242 | (eval "$ac_compile") 2>conftest.er1 |
2649 | ac_status=$? |
3243 | ac_status=$? |
2650 | grep -v '^ *+' conftest.er1 >conftest.err |
3244 | grep -v '^ *+' conftest.er1 >conftest.err |
2651 | rm -f conftest.er1 |
3245 | rm -f conftest.er1 |
2652 | cat conftest.err >&5 |
3246 | cat conftest.err >&5 |
2653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3247 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2654 | (exit $ac_status); } && |
3248 | (exit $ac_status); } && { |
2655 | { ac_try='test -z "$ac_c_werror_flag" |
3249 | test -z "$ac_c_werror_flag" || |
2656 | || test ! -s conftest.err' |
3250 | test ! -s conftest.err |
2657 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3251 | } && test -s conftest.$ac_objext; then |
2658 | (eval $ac_try) 2>&5 |
|
|
2659 | ac_status=$? |
|
|
2660 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2661 | (exit $ac_status); }; } && |
|
|
2662 | { ac_try='test -s conftest.$ac_objext' |
|
|
2663 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2664 | (eval $ac_try) 2>&5 |
|
|
2665 | ac_status=$? |
|
|
2666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2667 | (exit $ac_status); }; }; then |
|
|
2668 | ac_cv_prog_cc_stdc=$ac_arg |
3252 | ac_cv_prog_cc_c89=$ac_arg |
2669 | break |
|
|
2670 | else |
3253 | else |
2671 | echo "$as_me: failed program was:" >&5 |
3254 | echo "$as_me: failed program was:" >&5 |
2672 | sed 's/^/| /' conftest.$ac_ext >&5 |
3255 | sed 's/^/| /' conftest.$ac_ext >&5 |
2673 | |
3256 | |
|
|
3257 | |
2674 | fi |
3258 | fi |
|
|
3259 | |
2675 | rm -f conftest.err conftest.$ac_objext |
3260 | rm -f core conftest.err conftest.$ac_objext |
|
|
3261 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
2676 | done |
3262 | done |
2677 | rm -f conftest.$ac_ext conftest.$ac_objext |
3263 | rm -f conftest.$ac_ext |
2678 | CC=$ac_save_CC |
3264 | CC=$ac_save_CC |
2679 | |
3265 | |
2680 | fi |
3266 | fi |
2681 | |
3267 | # AC_CACHE_VAL |
2682 | case "x$ac_cv_prog_cc_stdc" in |
3268 | case "x$ac_cv_prog_cc_c89" in |
2683 | x|xno) |
3269 | x) |
2684 | echo "$as_me:$LINENO: result: none needed" >&5 |
3270 | { echo "$as_me:$LINENO: result: none needed" >&5 |
2685 | echo "${ECHO_T}none needed" >&6 ;; |
3271 | echo "${ECHO_T}none needed" >&6; } ;; |
|
|
3272 | xno) |
|
|
3273 | { echo "$as_me:$LINENO: result: unsupported" >&5 |
|
|
3274 | echo "${ECHO_T}unsupported" >&6; } ;; |
2686 | *) |
3275 | *) |
|
|
3276 | CC="$CC $ac_cv_prog_cc_c89" |
2687 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
3277 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
2688 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
3278 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
2689 | CC="$CC $ac_cv_prog_cc_stdc" ;; |
|
|
2690 | esac |
3279 | esac |
2691 | |
3280 | |
2692 | # Some people use a C++ compiler to compile C. Since we use `exit', |
|
|
2693 | # in C++ we need to declare it. In case someone uses the same compiler |
|
|
2694 | # for both compiling C and C++ we need to have the C++ compiler decide |
|
|
2695 | # the declaration of exit, since it's the most demanding environment. |
|
|
2696 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2697 | #ifndef __cplusplus |
|
|
2698 | choke me |
|
|
2699 | #endif |
|
|
2700 | _ACEOF |
|
|
2701 | rm -f conftest.$ac_objext |
|
|
2702 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2703 | (eval $ac_compile) 2>conftest.er1 |
|
|
2704 | ac_status=$? |
|
|
2705 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2706 | rm -f conftest.er1 |
|
|
2707 | cat conftest.err >&5 |
|
|
2708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2709 | (exit $ac_status); } && |
|
|
2710 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2711 | || test ! -s conftest.err' |
|
|
2712 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2713 | (eval $ac_try) 2>&5 |
|
|
2714 | ac_status=$? |
|
|
2715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2716 | (exit $ac_status); }; } && |
|
|
2717 | { ac_try='test -s conftest.$ac_objext' |
|
|
2718 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2719 | (eval $ac_try) 2>&5 |
|
|
2720 | ac_status=$? |
|
|
2721 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2722 | (exit $ac_status); }; }; then |
|
|
2723 | for ac_declaration in \ |
|
|
2724 | '' \ |
|
|
2725 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
2726 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
2727 | 'extern "C" void exit (int) throw ();' \ |
|
|
2728 | 'extern "C" void exit (int);' \ |
|
|
2729 | 'void exit (int);' |
|
|
2730 | do |
|
|
2731 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2732 | /* confdefs.h. */ |
|
|
2733 | _ACEOF |
|
|
2734 | cat confdefs.h >>conftest.$ac_ext |
|
|
2735 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2736 | /* end confdefs.h. */ |
|
|
2737 | $ac_declaration |
|
|
2738 | #include <stdlib.h> |
|
|
2739 | int |
|
|
2740 | main () |
|
|
2741 | { |
|
|
2742 | exit (42); |
|
|
2743 | ; |
|
|
2744 | return 0; |
|
|
2745 | } |
|
|
2746 | _ACEOF |
|
|
2747 | rm -f conftest.$ac_objext |
|
|
2748 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2749 | (eval $ac_compile) 2>conftest.er1 |
|
|
2750 | ac_status=$? |
|
|
2751 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2752 | rm -f conftest.er1 |
|
|
2753 | cat conftest.err >&5 |
|
|
2754 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2755 | (exit $ac_status); } && |
|
|
2756 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2757 | || test ! -s conftest.err' |
|
|
2758 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2759 | (eval $ac_try) 2>&5 |
|
|
2760 | ac_status=$? |
|
|
2761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2762 | (exit $ac_status); }; } && |
|
|
2763 | { ac_try='test -s conftest.$ac_objext' |
|
|
2764 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2765 | (eval $ac_try) 2>&5 |
|
|
2766 | ac_status=$? |
|
|
2767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2768 | (exit $ac_status); }; }; then |
|
|
2769 | : |
|
|
2770 | else |
|
|
2771 | echo "$as_me: failed program was:" >&5 |
|
|
2772 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2773 | |
3281 | |
2774 | continue |
|
|
2775 | fi |
|
|
2776 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2777 | cat >conftest.$ac_ext <<_ACEOF |
|
|
2778 | /* confdefs.h. */ |
|
|
2779 | _ACEOF |
|
|
2780 | cat confdefs.h >>conftest.$ac_ext |
|
|
2781 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
2782 | /* end confdefs.h. */ |
|
|
2783 | $ac_declaration |
|
|
2784 | int |
|
|
2785 | main () |
|
|
2786 | { |
|
|
2787 | exit (42); |
|
|
2788 | ; |
|
|
2789 | return 0; |
|
|
2790 | } |
|
|
2791 | _ACEOF |
|
|
2792 | rm -f conftest.$ac_objext |
|
|
2793 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
2794 | (eval $ac_compile) 2>conftest.er1 |
|
|
2795 | ac_status=$? |
|
|
2796 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
2797 | rm -f conftest.er1 |
|
|
2798 | cat conftest.err >&5 |
|
|
2799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2800 | (exit $ac_status); } && |
|
|
2801 | { ac_try='test -z "$ac_c_werror_flag" |
|
|
2802 | || test ! -s conftest.err' |
|
|
2803 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2804 | (eval $ac_try) 2>&5 |
|
|
2805 | ac_status=$? |
|
|
2806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2807 | (exit $ac_status); }; } && |
|
|
2808 | { ac_try='test -s conftest.$ac_objext' |
|
|
2809 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
2810 | (eval $ac_try) 2>&5 |
|
|
2811 | ac_status=$? |
|
|
2812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
2813 | (exit $ac_status); }; }; then |
|
|
2814 | break |
|
|
2815 | else |
|
|
2816 | echo "$as_me: failed program was:" >&5 |
|
|
2817 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2818 | |
|
|
2819 | fi |
|
|
2820 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2821 | done |
|
|
2822 | rm -f conftest* |
|
|
2823 | if test -n "$ac_declaration"; then |
|
|
2824 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
2825 | echo $ac_declaration >>confdefs.h |
|
|
2826 | echo '#endif' >>confdefs.h |
|
|
2827 | fi |
|
|
2828 | |
|
|
2829 | else |
|
|
2830 | echo "$as_me: failed program was:" >&5 |
|
|
2831 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
2832 | |
|
|
2833 | fi |
|
|
2834 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
2835 | ac_ext=c |
3282 | ac_ext=c |
2836 | ac_cpp='$CPP $CPPFLAGS' |
3283 | ac_cpp='$CPP $CPPFLAGS' |
2837 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3284 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2838 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3285 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2839 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3286 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
2846 | DEPDIR=_deps |
3293 | DEPDIR=_deps |
2847 | fi |
3294 | fi |
2848 | rmdir .deps 2>/dev/null |
3295 | rmdir .deps 2>/dev/null |
2849 | |
3296 | |
2850 | |
3297 | |
2851 | ac_config_commands="$ac_config_commands depfiles" |
3298 | ac_config_commands="$ac_config_commands depfiles" |
2852 | |
3299 | |
2853 | |
3300 | |
2854 | am_make=${MAKE-make} |
3301 | am_make=${MAKE-make} |
2855 | cat > confinc << 'END' |
3302 | cat > confinc << 'END' |
2856 | doit: |
3303 | doit: |
2857 | @echo done |
3304 | @echo done |
2858 | END |
3305 | END |
2859 | # If we don't find an include directive, just comment out the code. |
3306 | # If we don't find an include directive, just comment out the code. |
2860 | echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3307 | { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
2861 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 |
3308 | echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } |
2862 | am__include="#" |
3309 | am__include="#" |
2863 | am__quote= |
3310 | am__quote= |
2864 | _am_result=none |
3311 | _am_result=none |
2865 | # First try GNU make style include. |
3312 | # First try GNU make style include. |
2866 | echo "include confinc" > confmf |
3313 | echo "include confinc" > confmf |
… | |
… | |
2883 | _am_result=BSD |
3330 | _am_result=BSD |
2884 | fi |
3331 | fi |
2885 | fi |
3332 | fi |
2886 | |
3333 | |
2887 | |
3334 | |
2888 | echo "$as_me:$LINENO: result: $_am_result" >&5 |
3335 | { echo "$as_me:$LINENO: result: $_am_result" >&5 |
2889 | echo "${ECHO_T}$_am_result" >&6 |
3336 | echo "${ECHO_T}$_am_result" >&6; } |
2890 | rm -f confinc confmf |
3337 | rm -f confinc confmf |
2891 | |
3338 | |
2892 | # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. |
3339 | # Check whether --enable-dependency-tracking was given. |
2893 | if test "${enable_dependency_tracking+set}" = set; then |
3340 | if test "${enable_dependency_tracking+set}" = set; then |
2894 | enableval="$enable_dependency_tracking" |
3341 | enableval=$enable_dependency_tracking; |
2895 | |
|
|
2896 | fi; |
3342 | fi |
|
|
3343 | |
2897 | if test "x$enable_dependency_tracking" != xno; then |
3344 | if test "x$enable_dependency_tracking" != xno; then |
2898 | am_depcomp="$ac_aux_dir/depcomp" |
3345 | am_depcomp="$ac_aux_dir/depcomp" |
2899 | AMDEPBACKSLASH='\' |
3346 | AMDEPBACKSLASH='\' |
2900 | fi |
3347 | fi |
2901 | |
3348 | |
… | |
… | |
2911 | |
3358 | |
2912 | |
3359 | |
2913 | |
3360 | |
2914 | depcc="$CC" am_compiler_list= |
3361 | depcc="$CC" am_compiler_list= |
2915 | |
3362 | |
2916 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
3363 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
2917 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
3364 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
2918 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
3365 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
2919 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
2920 | else |
3367 | else |
2921 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3368 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
2922 | # We make a subdir and do the tests there. Otherwise we can end up |
3369 | # We make a subdir and do the tests there. Otherwise we can end up |
… | |
… | |
2973 | else |
3420 | else |
2974 | am_cv_CC_dependencies_compiler_type=none |
3421 | am_cv_CC_dependencies_compiler_type=none |
2975 | fi |
3422 | fi |
2976 | |
3423 | |
2977 | fi |
3424 | fi |
2978 | echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3425 | { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
2979 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 |
3426 | echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } |
2980 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3427 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
2981 | |
3428 | |
2982 | |
3429 | |
2983 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
3430 | { echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
2984 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3431 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
2985 | LN_S=$as_ln_s |
3432 | LN_S=$as_ln_s |
2986 | if test "$LN_S" = "ln -s"; then |
3433 | if test "$LN_S" = "ln -s"; then |
2987 | echo "$as_me:$LINENO: result: yes" >&5 |
3434 | { echo "$as_me:$LINENO: result: yes" >&5 |
2988 | echo "${ECHO_T}yes" >&6 |
3435 | echo "${ECHO_T}yes" >&6; } |
2989 | else |
3436 | else |
2990 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
3437 | { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
2991 | echo "${ECHO_T}no, using $LN_S" >&6 |
3438 | echo "${ECHO_T}no, using $LN_S" >&6; } |
2992 | fi |
3439 | fi |
2993 | |
3440 | |
2994 | if test -n "$ac_tool_prefix"; then |
3441 | if test -n "$ac_tool_prefix"; then |
2995 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
3442 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
2996 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
3443 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
2997 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3444 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2998 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3445 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2999 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
3446 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
3000 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3447 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3001 | else |
3448 | else |
3002 | if test -n "$RANLIB"; then |
3449 | if test -n "$RANLIB"; then |
3003 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3450 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
… | |
… | |
3006 | for as_dir in $PATH |
3453 | for as_dir in $PATH |
3007 | do |
3454 | do |
3008 | IFS=$as_save_IFS |
3455 | IFS=$as_save_IFS |
3009 | test -z "$as_dir" && as_dir=. |
3456 | test -z "$as_dir" && as_dir=. |
3010 | for ac_exec_ext in '' $ac_executable_extensions; do |
3457 | for ac_exec_ext in '' $ac_executable_extensions; do |
3011 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3458 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3012 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3459 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
3013 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3460 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3014 | break 2 |
3461 | break 2 |
3015 | fi |
3462 | fi |
3016 | done |
3463 | done |
3017 | done |
3464 | done |
|
|
3465 | IFS=$as_save_IFS |
3018 | |
3466 | |
3019 | fi |
3467 | fi |
3020 | fi |
3468 | fi |
3021 | RANLIB=$ac_cv_prog_RANLIB |
3469 | RANLIB=$ac_cv_prog_RANLIB |
3022 | if test -n "$RANLIB"; then |
3470 | if test -n "$RANLIB"; then |
3023 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3471 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
3024 | echo "${ECHO_T}$RANLIB" >&6 |
3472 | echo "${ECHO_T}$RANLIB" >&6; } |
3025 | else |
3473 | else |
3026 | echo "$as_me:$LINENO: result: no" >&5 |
3474 | { echo "$as_me:$LINENO: result: no" >&5 |
3027 | echo "${ECHO_T}no" >&6 |
3475 | echo "${ECHO_T}no" >&6; } |
3028 | fi |
3476 | fi |
|
|
3477 | |
3029 | |
3478 | |
3030 | fi |
3479 | fi |
3031 | if test -z "$ac_cv_prog_RANLIB"; then |
3480 | if test -z "$ac_cv_prog_RANLIB"; then |
3032 | ac_ct_RANLIB=$RANLIB |
3481 | ac_ct_RANLIB=$RANLIB |
3033 | # Extract the first word of "ranlib", so it can be a program name with args. |
3482 | # Extract the first word of "ranlib", so it can be a program name with args. |
3034 | set dummy ranlib; ac_word=$2 |
3483 | set dummy ranlib; ac_word=$2 |
3035 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3484 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3036 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3485 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
3037 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3486 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3487 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3039 | else |
3488 | else |
3040 | if test -n "$ac_ct_RANLIB"; then |
3489 | if test -n "$ac_ct_RANLIB"; then |
3041 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3490 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
… | |
… | |
3044 | for as_dir in $PATH |
3493 | for as_dir in $PATH |
3045 | do |
3494 | do |
3046 | IFS=$as_save_IFS |
3495 | IFS=$as_save_IFS |
3047 | test -z "$as_dir" && as_dir=. |
3496 | test -z "$as_dir" && as_dir=. |
3048 | for ac_exec_ext in '' $ac_executable_extensions; do |
3497 | for ac_exec_ext in '' $ac_executable_extensions; do |
3049 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3498 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3050 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3499 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
3051 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3500 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3052 | break 2 |
3501 | break 2 |
3053 | fi |
3502 | fi |
3054 | done |
3503 | done |
3055 | done |
3504 | done |
|
|
3505 | IFS=$as_save_IFS |
3056 | |
3506 | |
3057 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
3058 | fi |
3507 | fi |
3059 | fi |
3508 | fi |
3060 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3509 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
3061 | if test -n "$ac_ct_RANLIB"; then |
3510 | if test -n "$ac_ct_RANLIB"; then |
3062 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3511 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3063 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
3512 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
3064 | else |
3513 | else |
3065 | echo "$as_me:$LINENO: result: no" >&5 |
3514 | { echo "$as_me:$LINENO: result: no" >&5 |
3066 | echo "${ECHO_T}no" >&6 |
3515 | echo "${ECHO_T}no" >&6; } |
3067 | fi |
3516 | fi |
3068 | |
3517 | |
|
|
3518 | if test "x$ac_ct_RANLIB" = x; then |
|
|
3519 | RANLIB=":" |
|
|
3520 | else |
|
|
3521 | case $cross_compiling:$ac_tool_warned in |
|
|
3522 | yes:) |
|
|
3523 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
3524 | whose name does not start with the host triplet. If you think this |
|
|
3525 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
3526 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
3527 | whose name does not start with the host triplet. If you think this |
|
|
3528 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
3529 | ac_tool_warned=yes ;; |
|
|
3530 | esac |
3069 | RANLIB=$ac_ct_RANLIB |
3531 | RANLIB=$ac_ct_RANLIB |
|
|
3532 | fi |
3070 | else |
3533 | else |
3071 | RANLIB="$ac_cv_prog_RANLIB" |
3534 | RANLIB="$ac_cv_prog_RANLIB" |
3072 | fi |
3535 | fi |
3073 | |
3536 | |
3074 | #AC_ARG_PROGRAM |
3537 | #AC_ARG_PROGRAM |
3075 | echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3538 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3076 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
3539 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
3077 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
3540 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3078 | if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then |
3541 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
3079 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3542 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3080 | else |
3543 | else |
3081 | cat >conftest.make <<\_ACEOF |
3544 | cat >conftest.make <<\_ACEOF |
|
|
3545 | SHELL = /bin/sh |
3082 | all: |
3546 | all: |
3083 | @echo 'ac_maketemp="$(MAKE)"' |
3547 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
3084 | _ACEOF |
3548 | _ACEOF |
3085 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3549 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
3086 | eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` |
3550 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
3087 | if test -n "$ac_maketemp"; then |
3551 | *@@@%%%=?*=@@@%%%*) |
3088 | eval ac_cv_prog_make_${ac_make}_set=yes |
3552 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
3089 | else |
3553 | *) |
3090 | eval ac_cv_prog_make_${ac_make}_set=no |
3554 | eval ac_cv_prog_make_${ac_make}_set=no;; |
3091 | fi |
3555 | esac |
3092 | rm -f conftest.make |
3556 | rm -f conftest.make |
3093 | fi |
3557 | fi |
3094 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
3558 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3095 | echo "$as_me:$LINENO: result: yes" >&5 |
3559 | { echo "$as_me:$LINENO: result: yes" >&5 |
3096 | echo "${ECHO_T}yes" >&6 |
3560 | echo "${ECHO_T}yes" >&6; } |
3097 | SET_MAKE= |
3561 | SET_MAKE= |
3098 | else |
3562 | else |
3099 | echo "$as_me:$LINENO: result: no" >&5 |
3563 | { echo "$as_me:$LINENO: result: no" >&5 |
3100 | echo "${ECHO_T}no" >&6 |
3564 | echo "${ECHO_T}no" >&6; } |
3101 | SET_MAKE="MAKE=${MAKE-make}" |
3565 | SET_MAKE="MAKE=${MAKE-make}" |
3102 | fi |
3566 | fi |
3103 | |
3567 | |
3104 | ac_ext=c |
3568 | ac_ext=c |
3105 | ac_cpp='$CPP $CPPFLAGS' |
3569 | ac_cpp='$CPP $CPPFLAGS' |
3106 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3570 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3107 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3571 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3108 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3572 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3109 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3573 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3110 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
3574 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3111 | # On Suns, sometimes $CPP names a directory. |
3575 | # On Suns, sometimes $CPP names a directory. |
3112 | if test -n "$CPP" && test -d "$CPP"; then |
3576 | if test -n "$CPP" && test -d "$CPP"; then |
3113 | CPP= |
3577 | CPP= |
3114 | fi |
3578 | fi |
3115 | if test -z "$CPP"; then |
3579 | if test -z "$CPP"; then |
… | |
… | |
3139 | #else |
3603 | #else |
3140 | # include <assert.h> |
3604 | # include <assert.h> |
3141 | #endif |
3605 | #endif |
3142 | Syntax error |
3606 | Syntax error |
3143 | _ACEOF |
3607 | _ACEOF |
3144 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3608 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3609 | case "(($ac_try" in |
|
|
3610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3611 | *) ac_try_echo=$ac_try;; |
|
|
3612 | esac |
|
|
3613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3145 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3614 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3146 | ac_status=$? |
3615 | ac_status=$? |
3147 | grep -v '^ *+' conftest.er1 >conftest.err |
3616 | grep -v '^ *+' conftest.er1 >conftest.err |
3148 | rm -f conftest.er1 |
3617 | rm -f conftest.er1 |
3149 | cat conftest.err >&5 |
3618 | cat conftest.err >&5 |
3150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3151 | (exit $ac_status); } >/dev/null; then |
3620 | (exit $ac_status); } >/dev/null && { |
|
|
3621 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3152 | if test -s conftest.err; then |
3622 | test ! -s conftest.err |
3153 | ac_cpp_err=$ac_c_preproc_warn_flag |
3623 | }; then |
3154 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3155 | else |
|
|
3156 | ac_cpp_err= |
|
|
3157 | fi |
|
|
3158 | else |
|
|
3159 | ac_cpp_err=yes |
|
|
3160 | fi |
|
|
3161 | if test -z "$ac_cpp_err"; then |
|
|
3162 | : |
3624 | : |
3163 | else |
3625 | else |
3164 | echo "$as_me: failed program was:" >&5 |
3626 | echo "$as_me: failed program was:" >&5 |
3165 | sed 's/^/| /' conftest.$ac_ext >&5 |
3627 | sed 's/^/| /' conftest.$ac_ext >&5 |
3166 | |
3628 | |
3167 | # Broken: fails on valid input. |
3629 | # Broken: fails on valid input. |
3168 | continue |
3630 | continue |
3169 | fi |
3631 | fi |
|
|
3632 | |
3170 | rm -f conftest.err conftest.$ac_ext |
3633 | rm -f conftest.err conftest.$ac_ext |
3171 | |
3634 | |
3172 | # OK, works on sane cases. Now check whether non-existent headers |
3635 | # OK, works on sane cases. Now check whether nonexistent headers |
3173 | # can be detected and how. |
3636 | # can be detected and how. |
3174 | cat >conftest.$ac_ext <<_ACEOF |
3637 | cat >conftest.$ac_ext <<_ACEOF |
3175 | /* confdefs.h. */ |
3638 | /* confdefs.h. */ |
3176 | _ACEOF |
3639 | _ACEOF |
3177 | cat confdefs.h >>conftest.$ac_ext |
3640 | cat confdefs.h >>conftest.$ac_ext |
3178 | cat >>conftest.$ac_ext <<_ACEOF |
3641 | cat >>conftest.$ac_ext <<_ACEOF |
3179 | /* end confdefs.h. */ |
3642 | /* end confdefs.h. */ |
3180 | #include <ac_nonexistent.h> |
3643 | #include <ac_nonexistent.h> |
3181 | _ACEOF |
3644 | _ACEOF |
3182 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3645 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3646 | case "(($ac_try" in |
|
|
3647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3648 | *) ac_try_echo=$ac_try;; |
|
|
3649 | esac |
|
|
3650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3183 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3651 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3184 | ac_status=$? |
3652 | ac_status=$? |
3185 | grep -v '^ *+' conftest.er1 >conftest.err |
3653 | grep -v '^ *+' conftest.er1 >conftest.err |
3186 | rm -f conftest.er1 |
3654 | rm -f conftest.er1 |
3187 | cat conftest.err >&5 |
3655 | cat conftest.err >&5 |
3188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3656 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3189 | (exit $ac_status); } >/dev/null; then |
3657 | (exit $ac_status); } >/dev/null && { |
|
|
3658 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3190 | if test -s conftest.err; then |
3659 | test ! -s conftest.err |
3191 | ac_cpp_err=$ac_c_preproc_warn_flag |
3660 | }; then |
3192 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3193 | else |
|
|
3194 | ac_cpp_err= |
|
|
3195 | fi |
|
|
3196 | else |
|
|
3197 | ac_cpp_err=yes |
|
|
3198 | fi |
|
|
3199 | if test -z "$ac_cpp_err"; then |
|
|
3200 | # Broken: success on invalid input. |
3661 | # Broken: success on invalid input. |
3201 | continue |
3662 | continue |
3202 | else |
3663 | else |
3203 | echo "$as_me: failed program was:" >&5 |
3664 | echo "$as_me: failed program was:" >&5 |
3204 | sed 's/^/| /' conftest.$ac_ext >&5 |
3665 | sed 's/^/| /' conftest.$ac_ext >&5 |
3205 | |
3666 | |
3206 | # Passes both tests. |
3667 | # Passes both tests. |
3207 | ac_preproc_ok=: |
3668 | ac_preproc_ok=: |
3208 | break |
3669 | break |
3209 | fi |
3670 | fi |
|
|
3671 | |
3210 | rm -f conftest.err conftest.$ac_ext |
3672 | rm -f conftest.err conftest.$ac_ext |
3211 | |
3673 | |
3212 | done |
3674 | done |
3213 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3675 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3214 | rm -f conftest.err conftest.$ac_ext |
3676 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
3222 | fi |
3684 | fi |
3223 | CPP=$ac_cv_prog_CPP |
3685 | CPP=$ac_cv_prog_CPP |
3224 | else |
3686 | else |
3225 | ac_cv_prog_CPP=$CPP |
3687 | ac_cv_prog_CPP=$CPP |
3226 | fi |
3688 | fi |
3227 | echo "$as_me:$LINENO: result: $CPP" >&5 |
3689 | { echo "$as_me:$LINENO: result: $CPP" >&5 |
3228 | echo "${ECHO_T}$CPP" >&6 |
3690 | echo "${ECHO_T}$CPP" >&6; } |
3229 | ac_preproc_ok=false |
3691 | ac_preproc_ok=false |
3230 | for ac_c_preproc_warn_flag in '' yes |
3692 | for ac_c_preproc_warn_flag in '' yes |
3231 | do |
3693 | do |
3232 | # Use a header file that comes with gcc, so configuring glibc |
3694 | # Use a header file that comes with gcc, so configuring glibc |
3233 | # with a fresh cross-compiler works. |
3695 | # with a fresh cross-compiler works. |
… | |
… | |
3246 | #else |
3708 | #else |
3247 | # include <assert.h> |
3709 | # include <assert.h> |
3248 | #endif |
3710 | #endif |
3249 | Syntax error |
3711 | Syntax error |
3250 | _ACEOF |
3712 | _ACEOF |
3251 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3713 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3714 | case "(($ac_try" in |
|
|
3715 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3716 | *) ac_try_echo=$ac_try;; |
|
|
3717 | esac |
|
|
3718 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3252 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3719 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3253 | ac_status=$? |
3720 | ac_status=$? |
3254 | grep -v '^ *+' conftest.er1 >conftest.err |
3721 | grep -v '^ *+' conftest.er1 >conftest.err |
3255 | rm -f conftest.er1 |
3722 | rm -f conftest.er1 |
3256 | cat conftest.err >&5 |
3723 | cat conftest.err >&5 |
3257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3724 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3258 | (exit $ac_status); } >/dev/null; then |
3725 | (exit $ac_status); } >/dev/null && { |
|
|
3726 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3259 | if test -s conftest.err; then |
3727 | test ! -s conftest.err |
3260 | ac_cpp_err=$ac_c_preproc_warn_flag |
3728 | }; then |
3261 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3262 | else |
|
|
3263 | ac_cpp_err= |
|
|
3264 | fi |
|
|
3265 | else |
|
|
3266 | ac_cpp_err=yes |
|
|
3267 | fi |
|
|
3268 | if test -z "$ac_cpp_err"; then |
|
|
3269 | : |
3729 | : |
3270 | else |
3730 | else |
3271 | echo "$as_me: failed program was:" >&5 |
3731 | echo "$as_me: failed program was:" >&5 |
3272 | sed 's/^/| /' conftest.$ac_ext >&5 |
3732 | sed 's/^/| /' conftest.$ac_ext >&5 |
3273 | |
3733 | |
3274 | # Broken: fails on valid input. |
3734 | # Broken: fails on valid input. |
3275 | continue |
3735 | continue |
3276 | fi |
3736 | fi |
|
|
3737 | |
3277 | rm -f conftest.err conftest.$ac_ext |
3738 | rm -f conftest.err conftest.$ac_ext |
3278 | |
3739 | |
3279 | # OK, works on sane cases. Now check whether non-existent headers |
3740 | # OK, works on sane cases. Now check whether nonexistent headers |
3280 | # can be detected and how. |
3741 | # can be detected and how. |
3281 | cat >conftest.$ac_ext <<_ACEOF |
3742 | cat >conftest.$ac_ext <<_ACEOF |
3282 | /* confdefs.h. */ |
3743 | /* confdefs.h. */ |
3283 | _ACEOF |
3744 | _ACEOF |
3284 | cat confdefs.h >>conftest.$ac_ext |
3745 | cat confdefs.h >>conftest.$ac_ext |
3285 | cat >>conftest.$ac_ext <<_ACEOF |
3746 | cat >>conftest.$ac_ext <<_ACEOF |
3286 | /* end confdefs.h. */ |
3747 | /* end confdefs.h. */ |
3287 | #include <ac_nonexistent.h> |
3748 | #include <ac_nonexistent.h> |
3288 | _ACEOF |
3749 | _ACEOF |
3289 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3750 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
3751 | case "(($ac_try" in |
|
|
3752 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
3753 | *) ac_try_echo=$ac_try;; |
|
|
3754 | esac |
|
|
3755 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
3290 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3756 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
3291 | ac_status=$? |
3757 | ac_status=$? |
3292 | grep -v '^ *+' conftest.er1 >conftest.err |
3758 | grep -v '^ *+' conftest.er1 >conftest.err |
3293 | rm -f conftest.er1 |
3759 | rm -f conftest.er1 |
3294 | cat conftest.err >&5 |
3760 | cat conftest.err >&5 |
3295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3761 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3296 | (exit $ac_status); } >/dev/null; then |
3762 | (exit $ac_status); } >/dev/null && { |
|
|
3763 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
3297 | if test -s conftest.err; then |
3764 | test ! -s conftest.err |
3298 | ac_cpp_err=$ac_c_preproc_warn_flag |
3765 | }; then |
3299 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
3300 | else |
|
|
3301 | ac_cpp_err= |
|
|
3302 | fi |
|
|
3303 | else |
|
|
3304 | ac_cpp_err=yes |
|
|
3305 | fi |
|
|
3306 | if test -z "$ac_cpp_err"; then |
|
|
3307 | # Broken: success on invalid input. |
3766 | # Broken: success on invalid input. |
3308 | continue |
3767 | continue |
3309 | else |
3768 | else |
3310 | echo "$as_me: failed program was:" >&5 |
3769 | echo "$as_me: failed program was:" >&5 |
3311 | sed 's/^/| /' conftest.$ac_ext >&5 |
3770 | sed 's/^/| /' conftest.$ac_ext >&5 |
3312 | |
3771 | |
3313 | # Passes both tests. |
3772 | # Passes both tests. |
3314 | ac_preproc_ok=: |
3773 | ac_preproc_ok=: |
3315 | break |
3774 | break |
3316 | fi |
3775 | fi |
|
|
3776 | |
3317 | rm -f conftest.err conftest.$ac_ext |
3777 | rm -f conftest.err conftest.$ac_ext |
3318 | |
3778 | |
3319 | done |
3779 | done |
3320 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3780 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3321 | rm -f conftest.err conftest.$ac_ext |
3781 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
3346 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3806 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3347 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3807 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3348 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3808 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3349 | # OS/2's system install, which has a completely different semantic |
3809 | # OS/2's system install, which has a completely different semantic |
3350 | # ./install, which can be erroneously created by make from ./install.sh. |
3810 | # ./install, which can be erroneously created by make from ./install.sh. |
3351 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3811 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3352 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
3812 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
3353 | if test -z "$INSTALL"; then |
3813 | if test -z "$INSTALL"; then |
3354 | if test "${ac_cv_path_install+set}" = set; then |
3814 | if test "${ac_cv_path_install+set}" = set; then |
3355 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3815 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3356 | else |
3816 | else |
3357 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3817 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
… | |
… | |
3369 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3829 | # OSF1 and SCO ODT 3.0 have their own names for install. |
3370 | # Don't use installbsd from OSF since it installs stuff as root |
3830 | # Don't use installbsd from OSF since it installs stuff as root |
3371 | # by default. |
3831 | # by default. |
3372 | for ac_prog in ginstall scoinst install; do |
3832 | for ac_prog in ginstall scoinst install; do |
3373 | for ac_exec_ext in '' $ac_executable_extensions; do |
3833 | for ac_exec_ext in '' $ac_executable_extensions; do |
3374 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
3834 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
3375 | if test $ac_prog = install && |
3835 | if test $ac_prog = install && |
3376 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3836 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3377 | # AIX install. It has an incompatible calling convention. |
3837 | # AIX install. It has an incompatible calling convention. |
3378 | : |
3838 | : |
3379 | elif test $ac_prog = install && |
3839 | elif test $ac_prog = install && |
… | |
… | |
3388 | done |
3848 | done |
3389 | done |
3849 | done |
3390 | ;; |
3850 | ;; |
3391 | esac |
3851 | esac |
3392 | done |
3852 | done |
|
|
3853 | IFS=$as_save_IFS |
3393 | |
3854 | |
3394 | |
3855 | |
3395 | fi |
3856 | fi |
3396 | if test "${ac_cv_path_install+set}" = set; then |
3857 | if test "${ac_cv_path_install+set}" = set; then |
3397 | INSTALL=$ac_cv_path_install |
3858 | INSTALL=$ac_cv_path_install |
3398 | else |
3859 | else |
3399 | # As a last resort, use the slow shell script. We don't cache a |
3860 | # As a last resort, use the slow shell script. Don't cache a |
3400 | # path for INSTALL within a source directory, because that will |
3861 | # value for INSTALL within a source directory, because that will |
3401 | # break other packages using the cache if that directory is |
3862 | # break other packages using the cache if that directory is |
3402 | # removed, or if the path is relative. |
3863 | # removed, or if the value is a relative name. |
3403 | INSTALL=$ac_install_sh |
3864 | INSTALL=$ac_install_sh |
3404 | fi |
3865 | fi |
3405 | fi |
3866 | fi |
3406 | echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3867 | { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3407 | echo "${ECHO_T}$INSTALL" >&6 |
3868 | echo "${ECHO_T}$INSTALL" >&6; } |
3408 | |
3869 | |
3409 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3870 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3410 | # It thinks the first close brace ends the variable substitution. |
3871 | # It thinks the first close brace ends the variable substitution. |
3411 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3872 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3412 | |
3873 | |
… | |
… | |
3431 | |
3892 | |
3432 | #------------------------------------------------------------------------------- |
3893 | #------------------------------------------------------------------------------- |
3433 | # LIBTOOL |
3894 | # LIBTOOL |
3434 | #------------------------------------------------------------------------------- |
3895 | #------------------------------------------------------------------------------- |
3435 | |
3896 | |
3436 | # Check whether --enable-shared or --disable-shared was given. |
3897 | # Check whether --enable-shared was given. |
3437 | if test "${enable_shared+set}" = set; then |
3898 | if test "${enable_shared+set}" = set; then |
3438 | enableval="$enable_shared" |
3899 | enableval=$enable_shared; p=${PACKAGE-default} |
3439 | p=${PACKAGE-default} |
|
|
3440 | case $enableval in |
3900 | case $enableval in |
3441 | yes) enable_shared=yes ;; |
3901 | yes) enable_shared=yes ;; |
3442 | no) enable_shared=no ;; |
3902 | no) enable_shared=no ;; |
3443 | *) |
3903 | *) |
3444 | enable_shared=no |
3904 | enable_shared=no |
… | |
… | |
3453 | IFS="$lt_save_ifs" |
3913 | IFS="$lt_save_ifs" |
3454 | ;; |
3914 | ;; |
3455 | esac |
3915 | esac |
3456 | else |
3916 | else |
3457 | enable_shared=yes |
3917 | enable_shared=yes |
3458 | fi; |
3918 | fi |
3459 | |
3919 | |
|
|
3920 | |
3460 | # Check whether --enable-static or --disable-static was given. |
3921 | # Check whether --enable-static was given. |
3461 | if test "${enable_static+set}" = set; then |
3922 | if test "${enable_static+set}" = set; then |
3462 | enableval="$enable_static" |
3923 | enableval=$enable_static; p=${PACKAGE-default} |
3463 | p=${PACKAGE-default} |
|
|
3464 | case $enableval in |
3924 | case $enableval in |
3465 | yes) enable_static=yes ;; |
3925 | yes) enable_static=yes ;; |
3466 | no) enable_static=no ;; |
3926 | no) enable_static=no ;; |
3467 | *) |
3927 | *) |
3468 | enable_static=no |
3928 | enable_static=no |
… | |
… | |
3477 | IFS="$lt_save_ifs" |
3937 | IFS="$lt_save_ifs" |
3478 | ;; |
3938 | ;; |
3479 | esac |
3939 | esac |
3480 | else |
3940 | else |
3481 | enable_static=yes |
3941 | enable_static=yes |
3482 | fi; |
3942 | fi |
3483 | |
3943 | |
|
|
3944 | |
3484 | # Check whether --enable-fast-install or --disable-fast-install was given. |
3945 | # Check whether --enable-fast-install was given. |
3485 | if test "${enable_fast_install+set}" = set; then |
3946 | if test "${enable_fast_install+set}" = set; then |
3486 | enableval="$enable_fast_install" |
3947 | enableval=$enable_fast_install; p=${PACKAGE-default} |
3487 | p=${PACKAGE-default} |
|
|
3488 | case $enableval in |
3948 | case $enableval in |
3489 | yes) enable_fast_install=yes ;; |
3949 | yes) enable_fast_install=yes ;; |
3490 | no) enable_fast_install=no ;; |
3950 | no) enable_fast_install=no ;; |
3491 | *) |
3951 | *) |
3492 | enable_fast_install=no |
3952 | enable_fast_install=no |
… | |
… | |
3501 | IFS="$lt_save_ifs" |
3961 | IFS="$lt_save_ifs" |
3502 | ;; |
3962 | ;; |
3503 | esac |
3963 | esac |
3504 | else |
3964 | else |
3505 | enable_fast_install=yes |
3965 | enable_fast_install=yes |
3506 | fi; |
3966 | fi |
|
|
3967 | |
3507 | |
3968 | |
3508 | # Make sure we can run config.sub. |
3969 | # Make sure we can run config.sub. |
3509 | $ac_config_sub sun4 >/dev/null 2>&1 || |
3970 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3510 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
3971 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3511 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
3972 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
3512 | { (exit 1); exit 1; }; } |
3973 | { (exit 1); exit 1; }; } |
3513 | |
3974 | |
3514 | echo "$as_me:$LINENO: checking build system type" >&5 |
3975 | { echo "$as_me:$LINENO: checking build system type" >&5 |
3515 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
3976 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
3516 | if test "${ac_cv_build+set}" = set; then |
3977 | if test "${ac_cv_build+set}" = set; then |
3517 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3978 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3518 | else |
3979 | else |
3519 | ac_cv_build_alias=$build_alias |
3980 | ac_build_alias=$build_alias |
3520 | test -z "$ac_cv_build_alias" && |
3981 | test "x$ac_build_alias" = x && |
3521 | ac_cv_build_alias=`$ac_config_guess` |
3982 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3522 | test -z "$ac_cv_build_alias" && |
3983 | test "x$ac_build_alias" = x && |
3523 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3984 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3524 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3985 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
3525 | { (exit 1); exit 1; }; } |
3986 | { (exit 1); exit 1; }; } |
3526 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
3987 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3527 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
3988 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3528 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
3989 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
3529 | { (exit 1); exit 1; }; } |
3990 | { (exit 1); exit 1; }; } |
3530 | |
3991 | |
3531 | fi |
3992 | fi |
3532 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3993 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3533 | echo "${ECHO_T}$ac_cv_build" >&6 |
3994 | echo "${ECHO_T}$ac_cv_build" >&6; } |
|
|
3995 | case $ac_cv_build in |
|
|
3996 | *-*-*) ;; |
|
|
3997 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
|
|
3998 | echo "$as_me: error: invalid value of canonical build" >&2;} |
|
|
3999 | { (exit 1); exit 1; }; };; |
|
|
4000 | esac |
3534 | build=$ac_cv_build |
4001 | build=$ac_cv_build |
3535 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
4002 | ac_save_IFS=$IFS; IFS='-' |
3536 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
4003 | set x $ac_cv_build |
3537 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
4004 | shift |
|
|
4005 | build_cpu=$1 |
|
|
4006 | build_vendor=$2 |
|
|
4007 | shift; shift |
|
|
4008 | # Remember, the first character of IFS is used to create $*, |
|
|
4009 | # except with old shells: |
|
|
4010 | build_os=$* |
|
|
4011 | IFS=$ac_save_IFS |
|
|
4012 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3538 | |
4013 | |
3539 | |
4014 | |
3540 | echo "$as_me:$LINENO: checking host system type" >&5 |
4015 | { echo "$as_me:$LINENO: checking host system type" >&5 |
3541 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
4016 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; } |
3542 | if test "${ac_cv_host+set}" = set; then |
4017 | if test "${ac_cv_host+set}" = set; then |
3543 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3544 | else |
4019 | else |
3545 | ac_cv_host_alias=$host_alias |
4020 | if test "x$host_alias" = x; then |
3546 | test -z "$ac_cv_host_alias" && |
|
|
3547 | ac_cv_host_alias=$ac_cv_build_alias |
4021 | ac_cv_host=$ac_cv_build |
|
|
4022 | else |
3548 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
4023 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3549 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
4024 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3550 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
4025 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
3551 | { (exit 1); exit 1; }; } |
4026 | { (exit 1); exit 1; }; } |
3552 | |
|
|
3553 | fi |
4027 | fi |
|
|
4028 | |
|
|
4029 | fi |
3554 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
4030 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3555 | echo "${ECHO_T}$ac_cv_host" >&6 |
4031 | echo "${ECHO_T}$ac_cv_host" >&6; } |
|
|
4032 | case $ac_cv_host in |
|
|
4033 | *-*-*) ;; |
|
|
4034 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
|
|
4035 | echo "$as_me: error: invalid value of canonical host" >&2;} |
|
|
4036 | { (exit 1); exit 1; }; };; |
|
|
4037 | esac |
3556 | host=$ac_cv_host |
4038 | host=$ac_cv_host |
3557 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
4039 | ac_save_IFS=$IFS; IFS='-' |
3558 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
4040 | set x $ac_cv_host |
3559 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
4041 | shift |
|
|
4042 | host_cpu=$1 |
|
|
4043 | host_vendor=$2 |
|
|
4044 | shift; shift |
|
|
4045 | # Remember, the first character of IFS is used to create $*, |
|
|
4046 | # except with old shells: |
|
|
4047 | host_os=$* |
|
|
4048 | IFS=$ac_save_IFS |
|
|
4049 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
3560 | |
4050 | |
3561 | |
4051 | |
3562 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
4052 | { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
3563 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 |
4053 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } |
3564 | if test "${lt_cv_path_SED+set}" = set; then |
4054 | if test "${lt_cv_path_SED+set}" = set; then |
3565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4055 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3566 | else |
4056 | else |
3567 | # Loop through the user's path and test for sed and gsed. |
4057 | # Loop through the user's path and test for sed and gsed. |
3568 | # Then use that list of sed's as ones to test for truncation. |
4058 | # Then use that list of sed's as ones to test for truncation. |
… | |
… | |
3611 | done |
4101 | done |
3612 | SED=$lt_cv_path_SED |
4102 | SED=$lt_cv_path_SED |
3613 | |
4103 | |
3614 | fi |
4104 | fi |
3615 | |
4105 | |
3616 | echo "$as_me:$LINENO: result: $SED" >&5 |
4106 | { echo "$as_me:$LINENO: result: $SED" >&5 |
3617 | echo "${ECHO_T}$SED" >&6 |
4107 | echo "${ECHO_T}$SED" >&6; } |
3618 | |
4108 | |
3619 | echo "$as_me:$LINENO: checking for egrep" >&5 |
4109 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3620 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 |
4110 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3621 | if test "${ac_cv_prog_egrep+set}" = set; then |
4111 | if test "${ac_cv_path_GREP+set}" = set; then |
3622 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4112 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3623 | else |
4113 | else |
3624 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 |
4114 | # Extract the first word of "grep ggrep" to use in msg output |
3625 | then ac_cv_prog_egrep='grep -E' |
4115 | if test -z "$GREP"; then |
3626 | else ac_cv_prog_egrep='egrep' |
4116 | set dummy grep ggrep; ac_prog_name=$2 |
|
|
4117 | if test "${ac_cv_path_GREP+set}" = set; then |
|
|
4118 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4119 | else |
|
|
4120 | ac_path_GREP_found=false |
|
|
4121 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
4122 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4123 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
4124 | do |
|
|
4125 | IFS=$as_save_IFS |
|
|
4126 | test -z "$as_dir" && as_dir=. |
|
|
4127 | for ac_prog in grep ggrep; do |
|
|
4128 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4129 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
4130 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
|
|
4131 | # Check for GNU ac_path_GREP and select it if it is found. |
|
|
4132 | # Check for GNU $ac_path_GREP |
|
|
4133 | case `"$ac_path_GREP" --version 2>&1` in |
|
|
4134 | *GNU*) |
|
|
4135 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
|
4136 | *) |
|
|
4137 | ac_count=0 |
|
|
4138 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|
|
4139 | while : |
|
|
4140 | do |
|
|
4141 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
4142 | mv "conftest.tmp" "conftest.in" |
|
|
4143 | cp "conftest.in" "conftest.nl" |
|
|
4144 | echo 'GREP' >> "conftest.nl" |
|
|
4145 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
4146 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
4147 | ac_count=`expr $ac_count + 1` |
|
|
4148 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
|
4149 | # Best one so far, save it but keep looking for a better one |
|
|
4150 | ac_cv_path_GREP="$ac_path_GREP" |
|
|
4151 | ac_path_GREP_max=$ac_count |
3627 | fi |
4152 | fi |
|
|
4153 | # 10*(2^10) chars as input seems more than enough |
|
|
4154 | test $ac_count -gt 10 && break |
|
|
4155 | done |
|
|
4156 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
4157 | esac |
|
|
4158 | |
|
|
4159 | |
|
|
4160 | $ac_path_GREP_found && break 3 |
|
|
4161 | done |
|
|
4162 | done |
|
|
4163 | |
|
|
4164 | done |
|
|
4165 | IFS=$as_save_IFS |
|
|
4166 | |
|
|
4167 | |
3628 | fi |
4168 | fi |
|
|
4169 | |
|
|
4170 | GREP="$ac_cv_path_GREP" |
|
|
4171 | if test -z "$GREP"; then |
|
|
4172 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
4173 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
4174 | { (exit 1); exit 1; }; } |
|
|
4175 | fi |
|
|
4176 | |
|
|
4177 | else |
|
|
4178 | ac_cv_path_GREP=$GREP |
|
|
4179 | fi |
|
|
4180 | |
|
|
4181 | |
|
|
4182 | fi |
3629 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 |
4183 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 |
3630 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 |
4184 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; } |
3631 | EGREP=$ac_cv_prog_egrep |
4185 | GREP="$ac_cv_path_GREP" |
3632 | |
4186 | |
3633 | |
4187 | |
|
|
4188 | { echo "$as_me:$LINENO: checking for egrep" >&5 |
|
|
4189 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } |
|
|
4190 | if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
4191 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4192 | else |
|
|
4193 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
|
4194 | then ac_cv_path_EGREP="$GREP -E" |
|
|
4195 | else |
|
|
4196 | # Extract the first word of "egrep" to use in msg output |
|
|
4197 | if test -z "$EGREP"; then |
|
|
4198 | set dummy egrep; ac_prog_name=$2 |
|
|
4199 | if test "${ac_cv_path_EGREP+set}" = set; then |
|
|
4200 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4201 | else |
|
|
4202 | ac_path_EGREP_found=false |
|
|
4203 | # Loop through the user's path and test for each of PROGNAME-LIST |
|
|
4204 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
4205 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
|
4206 | do |
|
|
4207 | IFS=$as_save_IFS |
|
|
4208 | test -z "$as_dir" && as_dir=. |
|
|
4209 | for ac_prog in egrep; do |
|
|
4210 | for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
4211 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
|
4212 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
|
|
4213 | # Check for GNU ac_path_EGREP and select it if it is found. |
|
|
4214 | # Check for GNU $ac_path_EGREP |
|
|
4215 | case `"$ac_path_EGREP" --version 2>&1` in |
|
|
4216 | *GNU*) |
|
|
4217 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
|
4218 | *) |
|
|
4219 | ac_count=0 |
|
|
4220 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" |
|
|
4221 | while : |
|
|
4222 | do |
|
|
4223 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
|
4224 | mv "conftest.tmp" "conftest.in" |
|
|
4225 | cp "conftest.in" "conftest.nl" |
|
|
4226 | echo 'EGREP' >> "conftest.nl" |
|
|
4227 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
|
4228 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
|
4229 | ac_count=`expr $ac_count + 1` |
|
|
4230 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
|
4231 | # Best one so far, save it but keep looking for a better one |
|
|
4232 | ac_cv_path_EGREP="$ac_path_EGREP" |
|
|
4233 | ac_path_EGREP_max=$ac_count |
|
|
4234 | fi |
|
|
4235 | # 10*(2^10) chars as input seems more than enough |
|
|
4236 | test $ac_count -gt 10 && break |
|
|
4237 | done |
|
|
4238 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
|
4239 | esac |
3634 | |
4240 | |
|
|
4241 | |
|
|
4242 | $ac_path_EGREP_found && break 3 |
|
|
4243 | done |
|
|
4244 | done |
|
|
4245 | |
|
|
4246 | done |
|
|
4247 | IFS=$as_save_IFS |
|
|
4248 | |
|
|
4249 | |
|
|
4250 | fi |
|
|
4251 | |
|
|
4252 | EGREP="$ac_cv_path_EGREP" |
|
|
4253 | if test -z "$EGREP"; then |
|
|
4254 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 |
|
|
4255 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} |
|
|
4256 | { (exit 1); exit 1; }; } |
|
|
4257 | fi |
|
|
4258 | |
|
|
4259 | else |
|
|
4260 | ac_cv_path_EGREP=$EGREP |
|
|
4261 | fi |
|
|
4262 | |
|
|
4263 | |
|
|
4264 | fi |
|
|
4265 | fi |
|
|
4266 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 |
|
|
4267 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } |
|
|
4268 | EGREP="$ac_cv_path_EGREP" |
|
|
4269 | |
|
|
4270 | |
|
|
4271 | |
3635 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
4272 | # Check whether --with-gnu-ld was given. |
3636 | if test "${with_gnu_ld+set}" = set; then |
4273 | if test "${with_gnu_ld+set}" = set; then |
3637 | withval="$with_gnu_ld" |
|
|
3638 | test "$withval" = no || with_gnu_ld=yes |
4274 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
3639 | else |
4275 | else |
3640 | with_gnu_ld=no |
4276 | with_gnu_ld=no |
3641 | fi; |
4277 | fi |
|
|
4278 | |
3642 | ac_prog=ld |
4279 | ac_prog=ld |
3643 | if test "$GCC" = yes; then |
4280 | if test "$GCC" = yes; then |
3644 | # Check if gcc -print-prog-name=ld gives a path. |
4281 | # Check if gcc -print-prog-name=ld gives a path. |
3645 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
4282 | { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
3646 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 |
4283 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
3647 | case $host in |
4284 | case $host in |
3648 | *-*-mingw*) |
4285 | *-*-mingw*) |
3649 | # gcc leaves a trailing carriage return which upsets mingw |
4286 | # gcc leaves a trailing carriage return which upsets mingw |
3650 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
4287 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
3651 | *) |
4288 | *) |
… | |
… | |
3670 | # If it is relative, then search for the first ld in PATH. |
4307 | # If it is relative, then search for the first ld in PATH. |
3671 | with_gnu_ld=unknown |
4308 | with_gnu_ld=unknown |
3672 | ;; |
4309 | ;; |
3673 | esac |
4310 | esac |
3674 | elif test "$with_gnu_ld" = yes; then |
4311 | elif test "$with_gnu_ld" = yes; then |
3675 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
4312 | { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
3676 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
4313 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
3677 | else |
4314 | else |
3678 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
4315 | { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
3679 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
4316 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
3680 | fi |
4317 | fi |
3681 | if test "${lt_cv_path_LD+set}" = set; then |
4318 | if test "${lt_cv_path_LD+set}" = set; then |
3682 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4319 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3683 | else |
4320 | else |
3684 | if test -z "$LD"; then |
4321 | if test -z "$LD"; then |
… | |
… | |
3707 | fi |
4344 | fi |
3708 | fi |
4345 | fi |
3709 | |
4346 | |
3710 | LD="$lt_cv_path_LD" |
4347 | LD="$lt_cv_path_LD" |
3711 | if test -n "$LD"; then |
4348 | if test -n "$LD"; then |
3712 | echo "$as_me:$LINENO: result: $LD" >&5 |
4349 | { echo "$as_me:$LINENO: result: $LD" >&5 |
3713 | echo "${ECHO_T}$LD" >&6 |
4350 | echo "${ECHO_T}$LD" >&6; } |
3714 | else |
4351 | else |
3715 | echo "$as_me:$LINENO: result: no" >&5 |
4352 | { echo "$as_me:$LINENO: result: no" >&5 |
3716 | echo "${ECHO_T}no" >&6 |
4353 | echo "${ECHO_T}no" >&6; } |
3717 | fi |
4354 | fi |
3718 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
4355 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
3719 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
4356 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
3720 | { (exit 1); exit 1; }; } |
4357 | { (exit 1); exit 1; }; } |
3721 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
4358 | { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
3722 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
4359 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
3723 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
4360 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
3724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4361 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3725 | else |
4362 | else |
3726 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
4363 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
3727 | case `$LD -v 2>&1 </dev/null` in |
4364 | case `$LD -v 2>&1 </dev/null` in |
… | |
… | |
3731 | *) |
4368 | *) |
3732 | lt_cv_prog_gnu_ld=no |
4369 | lt_cv_prog_gnu_ld=no |
3733 | ;; |
4370 | ;; |
3734 | esac |
4371 | esac |
3735 | fi |
4372 | fi |
3736 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
4373 | { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
3737 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
4374 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
3738 | with_gnu_ld=$lt_cv_prog_gnu_ld |
4375 | with_gnu_ld=$lt_cv_prog_gnu_ld |
3739 | |
4376 | |
3740 | |
4377 | |
3741 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
4378 | { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 |
3742 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 |
4379 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } |
3743 | if test "${lt_cv_ld_reload_flag+set}" = set; then |
4380 | if test "${lt_cv_ld_reload_flag+set}" = set; then |
3744 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4381 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3745 | else |
4382 | else |
3746 | lt_cv_ld_reload_flag='-r' |
4383 | lt_cv_ld_reload_flag='-r' |
3747 | fi |
4384 | fi |
3748 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
4385 | { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 |
3749 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 |
4386 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } |
3750 | reload_flag=$lt_cv_ld_reload_flag |
4387 | reload_flag=$lt_cv_ld_reload_flag |
3751 | case $reload_flag in |
4388 | case $reload_flag in |
3752 | "" | " "*) ;; |
4389 | "" | " "*) ;; |
3753 | *) reload_flag=" $reload_flag" ;; |
4390 | *) reload_flag=" $reload_flag" ;; |
3754 | esac |
4391 | esac |
3755 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
4392 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
3756 | |
4393 | |
3757 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
4394 | { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 |
3758 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 |
4395 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } |
3759 | if test "${lt_cv_path_NM+set}" = set; then |
4396 | if test "${lt_cv_path_NM+set}" = set; then |
3760 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4397 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3761 | else |
4398 | else |
3762 | if test -n "$NM"; then |
4399 | if test -n "$NM"; then |
3763 | # Let the user override the test. |
4400 | # Let the user override the test. |
… | |
… | |
3794 | done |
4431 | done |
3795 | IFS="$lt_save_ifs" |
4432 | IFS="$lt_save_ifs" |
3796 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
4433 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm |
3797 | fi |
4434 | fi |
3798 | fi |
4435 | fi |
3799 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
4436 | { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 |
3800 | echo "${ECHO_T}$lt_cv_path_NM" >&6 |
4437 | echo "${ECHO_T}$lt_cv_path_NM" >&6; } |
3801 | NM="$lt_cv_path_NM" |
4438 | NM="$lt_cv_path_NM" |
3802 | |
4439 | |
3803 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
4440 | { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 |
3804 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 |
4441 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } |
3805 | if test "${lt_cv_deplibs_check_method+set}" = set; then |
4442 | if test "${lt_cv_deplibs_check_method+set}" = set; then |
3806 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4443 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3807 | else |
4444 | else |
3808 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
4445 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
3809 | lt_cv_file_magic_test_file= |
4446 | lt_cv_file_magic_test_file= |
… | |
… | |
3981 | lt_cv_deplibs_check_method=pass_all |
4618 | lt_cv_deplibs_check_method=pass_all |
3982 | ;; |
4619 | ;; |
3983 | esac |
4620 | esac |
3984 | |
4621 | |
3985 | fi |
4622 | fi |
3986 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
4623 | { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 |
3987 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 |
4624 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } |
3988 | file_magic_cmd=$lt_cv_file_magic_cmd |
4625 | file_magic_cmd=$lt_cv_file_magic_cmd |
3989 | deplibs_check_method=$lt_cv_deplibs_check_method |
4626 | deplibs_check_method=$lt_cv_deplibs_check_method |
3990 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
4627 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
3991 | |
4628 | |
3992 | |
4629 | |
… | |
… | |
3997 | |
4634 | |
3998 | # Allow CC to be a program name with arguments. |
4635 | # Allow CC to be a program name with arguments. |
3999 | compiler=$CC |
4636 | compiler=$CC |
4000 | |
4637 | |
4001 | |
4638 | |
4002 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
4639 | # Check whether --enable-libtool-lock was given. |
4003 | if test "${enable_libtool_lock+set}" = set; then |
4640 | if test "${enable_libtool_lock+set}" = set; then |
4004 | enableval="$enable_libtool_lock" |
4641 | enableval=$enable_libtool_lock; |
4005 | |
|
|
4006 | fi; |
4642 | fi |
|
|
4643 | |
4007 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4644 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
4008 | |
4645 | |
4009 | # Some flags need to be propagated to the compiler or linker for good |
4646 | # Some flags need to be propagated to the compiler or linker for good |
4010 | # libtool support. |
4647 | # libtool support. |
4011 | case $host in |
4648 | case $host in |
… | |
… | |
4028 | fi |
4665 | fi |
4029 | rm -rf conftest* |
4666 | rm -rf conftest* |
4030 | ;; |
4667 | ;; |
4031 | *-*-irix6*) |
4668 | *-*-irix6*) |
4032 | # Find out which ABI we are using. |
4669 | # Find out which ABI we are using. |
4033 | echo '#line 4033 "configure"' > conftest.$ac_ext |
4670 | echo '#line 4670 "configure"' > conftest.$ac_ext |
4034 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4671 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4035 | (eval $ac_compile) 2>&5 |
4672 | (eval $ac_compile) 2>&5 |
4036 | ac_status=$? |
4673 | ac_status=$? |
4037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4038 | (exit $ac_status); }; then |
4675 | (exit $ac_status); }; then |
… | |
… | |
4113 | |
4750 | |
4114 | *-*-sco3.2v5*) |
4751 | *-*-sco3.2v5*) |
4115 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4752 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
4116 | SAVE_CFLAGS="$CFLAGS" |
4753 | SAVE_CFLAGS="$CFLAGS" |
4117 | CFLAGS="$CFLAGS -belf" |
4754 | CFLAGS="$CFLAGS -belf" |
4118 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
4755 | { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 |
4119 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 |
4756 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } |
4120 | if test "${lt_cv_cc_needs_belf+set}" = set; then |
4757 | if test "${lt_cv_cc_needs_belf+set}" = set; then |
4121 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4758 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4122 | else |
4759 | else |
4123 | ac_ext=c |
4760 | ac_ext=c |
4124 | ac_cpp='$CPP $CPPFLAGS' |
4761 | ac_cpp='$CPP $CPPFLAGS' |
… | |
… | |
4140 | ; |
4777 | ; |
4141 | return 0; |
4778 | return 0; |
4142 | } |
4779 | } |
4143 | _ACEOF |
4780 | _ACEOF |
4144 | rm -f conftest.$ac_objext conftest$ac_exeext |
4781 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
4782 | if { (ac_try="$ac_link" |
|
|
4783 | case "(($ac_try" in |
|
|
4784 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4785 | *) ac_try_echo=$ac_try;; |
|
|
4786 | esac |
4145 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4787 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4146 | (eval $ac_link) 2>conftest.er1 |
4788 | (eval "$ac_link") 2>conftest.er1 |
4147 | ac_status=$? |
4789 | ac_status=$? |
4148 | grep -v '^ *+' conftest.er1 >conftest.err |
4790 | grep -v '^ *+' conftest.er1 >conftest.err |
4149 | rm -f conftest.er1 |
4791 | rm -f conftest.er1 |
4150 | cat conftest.err >&5 |
4792 | cat conftest.err >&5 |
4151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4152 | (exit $ac_status); } && |
4794 | (exit $ac_status); } && { |
4153 | { ac_try='test -z "$ac_c_werror_flag" |
4795 | test -z "$ac_c_werror_flag" || |
4154 | || test ! -s conftest.err' |
4796 | test ! -s conftest.err |
4155 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4797 | } && test -s conftest$ac_exeext && |
4156 | (eval $ac_try) 2>&5 |
4798 | $as_test_x conftest$ac_exeext; then |
4157 | ac_status=$? |
|
|
4158 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4159 | (exit $ac_status); }; } && |
|
|
4160 | { ac_try='test -s conftest$ac_exeext' |
|
|
4161 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4162 | (eval $ac_try) 2>&5 |
|
|
4163 | ac_status=$? |
|
|
4164 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4165 | (exit $ac_status); }; }; then |
|
|
4166 | lt_cv_cc_needs_belf=yes |
4799 | lt_cv_cc_needs_belf=yes |
4167 | else |
4800 | else |
4168 | echo "$as_me: failed program was:" >&5 |
4801 | echo "$as_me: failed program was:" >&5 |
4169 | sed 's/^/| /' conftest.$ac_ext >&5 |
4802 | sed 's/^/| /' conftest.$ac_ext >&5 |
4170 | |
4803 | |
4171 | lt_cv_cc_needs_belf=no |
4804 | lt_cv_cc_needs_belf=no |
4172 | fi |
4805 | fi |
4173 | rm -f conftest.err conftest.$ac_objext \ |
4806 | |
|
|
4807 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
4174 | conftest$ac_exeext conftest.$ac_ext |
4808 | conftest$ac_exeext conftest.$ac_ext |
4175 | ac_ext=c |
4809 | ac_ext=c |
4176 | ac_cpp='$CPP $CPPFLAGS' |
4810 | ac_cpp='$CPP $CPPFLAGS' |
4177 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4811 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4178 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4812 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4179 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4813 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4180 | |
4814 | |
4181 | fi |
4815 | fi |
4182 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
4816 | { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 |
4183 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 |
4817 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } |
4184 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4818 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
4185 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4819 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
4186 | CFLAGS="$SAVE_CFLAGS" |
4820 | CFLAGS="$SAVE_CFLAGS" |
4187 | fi |
4821 | fi |
4188 | ;; |
4822 | ;; |
… | |
… | |
4191 | |
4825 | |
4192 | need_locks="$enable_libtool_lock" |
4826 | need_locks="$enable_libtool_lock" |
4193 | |
4827 | |
4194 | |
4828 | |
4195 | |
4829 | |
4196 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4830 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4197 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4831 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
4198 | if test "${ac_cv_header_stdc+set}" = set; then |
4832 | if test "${ac_cv_header_stdc+set}" = set; then |
4199 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4833 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4200 | else |
4834 | else |
4201 | cat >conftest.$ac_ext <<_ACEOF |
4835 | cat >conftest.$ac_ext <<_ACEOF |
4202 | /* confdefs.h. */ |
4836 | /* confdefs.h. */ |
… | |
… | |
4216 | ; |
4850 | ; |
4217 | return 0; |
4851 | return 0; |
4218 | } |
4852 | } |
4219 | _ACEOF |
4853 | _ACEOF |
4220 | rm -f conftest.$ac_objext |
4854 | rm -f conftest.$ac_objext |
|
|
4855 | if { (ac_try="$ac_compile" |
|
|
4856 | case "(($ac_try" in |
|
|
4857 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4858 | *) ac_try_echo=$ac_try;; |
|
|
4859 | esac |
4221 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4860 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4222 | (eval $ac_compile) 2>conftest.er1 |
4861 | (eval "$ac_compile") 2>conftest.er1 |
4223 | ac_status=$? |
4862 | ac_status=$? |
4224 | grep -v '^ *+' conftest.er1 >conftest.err |
4863 | grep -v '^ *+' conftest.er1 >conftest.err |
4225 | rm -f conftest.er1 |
4864 | rm -f conftest.er1 |
4226 | cat conftest.err >&5 |
4865 | cat conftest.err >&5 |
4227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4228 | (exit $ac_status); } && |
4867 | (exit $ac_status); } && { |
4229 | { ac_try='test -z "$ac_c_werror_flag" |
4868 | test -z "$ac_c_werror_flag" || |
4230 | || test ! -s conftest.err' |
4869 | test ! -s conftest.err |
4231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4870 | } && test -s conftest.$ac_objext; then |
4232 | (eval $ac_try) 2>&5 |
|
|
4233 | ac_status=$? |
|
|
4234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4235 | (exit $ac_status); }; } && |
|
|
4236 | { ac_try='test -s conftest.$ac_objext' |
|
|
4237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4238 | (eval $ac_try) 2>&5 |
|
|
4239 | ac_status=$? |
|
|
4240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4241 | (exit $ac_status); }; }; then |
|
|
4242 | ac_cv_header_stdc=yes |
4871 | ac_cv_header_stdc=yes |
4243 | else |
4872 | else |
4244 | echo "$as_me: failed program was:" >&5 |
4873 | echo "$as_me: failed program was:" >&5 |
4245 | sed 's/^/| /' conftest.$ac_ext >&5 |
4874 | sed 's/^/| /' conftest.$ac_ext >&5 |
4246 | |
4875 | |
4247 | ac_cv_header_stdc=no |
4876 | ac_cv_header_stdc=no |
4248 | fi |
4877 | fi |
|
|
4878 | |
4249 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4879 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4250 | |
4880 | |
4251 | if test $ac_cv_header_stdc = yes; then |
4881 | if test $ac_cv_header_stdc = yes; then |
4252 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4882 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4253 | cat >conftest.$ac_ext <<_ACEOF |
4883 | cat >conftest.$ac_ext <<_ACEOF |
4254 | /* confdefs.h. */ |
4884 | /* confdefs.h. */ |
… | |
… | |
4300 | _ACEOF |
4930 | _ACEOF |
4301 | cat confdefs.h >>conftest.$ac_ext |
4931 | cat confdefs.h >>conftest.$ac_ext |
4302 | cat >>conftest.$ac_ext <<_ACEOF |
4932 | cat >>conftest.$ac_ext <<_ACEOF |
4303 | /* end confdefs.h. */ |
4933 | /* end confdefs.h. */ |
4304 | #include <ctype.h> |
4934 | #include <ctype.h> |
|
|
4935 | #include <stdlib.h> |
4305 | #if ((' ' & 0x0FF) == 0x020) |
4936 | #if ((' ' & 0x0FF) == 0x020) |
4306 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4937 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4307 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4938 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4308 | #else |
4939 | #else |
4309 | # define ISLOWER(c) \ |
4940 | # define ISLOWER(c) \ |
… | |
… | |
4319 | { |
4950 | { |
4320 | int i; |
4951 | int i; |
4321 | for (i = 0; i < 256; i++) |
4952 | for (i = 0; i < 256; i++) |
4322 | if (XOR (islower (i), ISLOWER (i)) |
4953 | if (XOR (islower (i), ISLOWER (i)) |
4323 | || toupper (i) != TOUPPER (i)) |
4954 | || toupper (i) != TOUPPER (i)) |
4324 | exit(2); |
4955 | return 2; |
4325 | exit (0); |
4956 | return 0; |
4326 | } |
4957 | } |
4327 | _ACEOF |
4958 | _ACEOF |
4328 | rm -f conftest$ac_exeext |
4959 | rm -f conftest$ac_exeext |
|
|
4960 | if { (ac_try="$ac_link" |
|
|
4961 | case "(($ac_try" in |
|
|
4962 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4963 | *) ac_try_echo=$ac_try;; |
|
|
4964 | esac |
4329 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4965 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4330 | (eval $ac_link) 2>&5 |
4966 | (eval "$ac_link") 2>&5 |
4331 | ac_status=$? |
4967 | ac_status=$? |
4332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4333 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4969 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
4970 | { (case "(($ac_try" in |
|
|
4971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4972 | *) ac_try_echo=$ac_try;; |
|
|
4973 | esac |
4334 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4974 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4335 | (eval $ac_try) 2>&5 |
4975 | (eval "$ac_try") 2>&5 |
4336 | ac_status=$? |
4976 | ac_status=$? |
4337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4977 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4338 | (exit $ac_status); }; }; then |
4978 | (exit $ac_status); }; }; then |
4339 | : |
4979 | : |
4340 | else |
4980 | else |
… | |
… | |
4343 | sed 's/^/| /' conftest.$ac_ext >&5 |
4983 | sed 's/^/| /' conftest.$ac_ext >&5 |
4344 | |
4984 | |
4345 | ( exit $ac_status ) |
4985 | ( exit $ac_status ) |
4346 | ac_cv_header_stdc=no |
4986 | ac_cv_header_stdc=no |
4347 | fi |
4987 | fi |
4348 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4988 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4349 | fi |
4989 | fi |
|
|
4990 | |
|
|
4991 | |
4350 | fi |
4992 | fi |
4351 | fi |
4993 | fi |
4352 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4994 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4353 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4995 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
4354 | if test $ac_cv_header_stdc = yes; then |
4996 | if test $ac_cv_header_stdc = yes; then |
4355 | |
4997 | |
4356 | cat >>confdefs.h <<\_ACEOF |
4998 | cat >>confdefs.h <<\_ACEOF |
4357 | #define STDC_HEADERS 1 |
4999 | #define STDC_HEADERS 1 |
4358 | _ACEOF |
5000 | _ACEOF |
… | |
… | |
4371 | |
5013 | |
4372 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5014 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4373 | inttypes.h stdint.h unistd.h |
5015 | inttypes.h stdint.h unistd.h |
4374 | do |
5016 | do |
4375 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5017 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4376 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5018 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4377 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5019 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4378 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5020 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4379 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5021 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4380 | else |
5022 | else |
4381 | cat >conftest.$ac_ext <<_ACEOF |
5023 | cat >conftest.$ac_ext <<_ACEOF |
4382 | /* confdefs.h. */ |
5024 | /* confdefs.h. */ |
4383 | _ACEOF |
5025 | _ACEOF |
… | |
… | |
4387 | $ac_includes_default |
5029 | $ac_includes_default |
4388 | |
5030 | |
4389 | #include <$ac_header> |
5031 | #include <$ac_header> |
4390 | _ACEOF |
5032 | _ACEOF |
4391 | rm -f conftest.$ac_objext |
5033 | rm -f conftest.$ac_objext |
|
|
5034 | if { (ac_try="$ac_compile" |
|
|
5035 | case "(($ac_try" in |
|
|
5036 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5037 | *) ac_try_echo=$ac_try;; |
|
|
5038 | esac |
4392 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5039 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4393 | (eval $ac_compile) 2>conftest.er1 |
5040 | (eval "$ac_compile") 2>conftest.er1 |
4394 | ac_status=$? |
5041 | ac_status=$? |
4395 | grep -v '^ *+' conftest.er1 >conftest.err |
5042 | grep -v '^ *+' conftest.er1 >conftest.err |
4396 | rm -f conftest.er1 |
5043 | rm -f conftest.er1 |
4397 | cat conftest.err >&5 |
5044 | cat conftest.err >&5 |
4398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5045 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4399 | (exit $ac_status); } && |
5046 | (exit $ac_status); } && { |
4400 | { ac_try='test -z "$ac_c_werror_flag" |
5047 | test -z "$ac_c_werror_flag" || |
4401 | || test ! -s conftest.err' |
5048 | test ! -s conftest.err |
4402 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5049 | } && test -s conftest.$ac_objext; then |
4403 | (eval $ac_try) 2>&5 |
|
|
4404 | ac_status=$? |
|
|
4405 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4406 | (exit $ac_status); }; } && |
|
|
4407 | { ac_try='test -s conftest.$ac_objext' |
|
|
4408 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4409 | (eval $ac_try) 2>&5 |
|
|
4410 | ac_status=$? |
|
|
4411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4412 | (exit $ac_status); }; }; then |
|
|
4413 | eval "$as_ac_Header=yes" |
5050 | eval "$as_ac_Header=yes" |
4414 | else |
5051 | else |
4415 | echo "$as_me: failed program was:" >&5 |
5052 | echo "$as_me: failed program was:" >&5 |
4416 | sed 's/^/| /' conftest.$ac_ext >&5 |
5053 | sed 's/^/| /' conftest.$ac_ext >&5 |
4417 | |
5054 | |
4418 | eval "$as_ac_Header=no" |
5055 | eval "$as_ac_Header=no" |
4419 | fi |
5056 | fi |
|
|
5057 | |
4420 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5058 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4421 | fi |
5059 | fi |
4422 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5060 | ac_res=`eval echo '${'$as_ac_Header'}'` |
4423 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5061 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5062 | echo "${ECHO_T}$ac_res" >&6; } |
4424 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5063 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4425 | cat >>confdefs.h <<_ACEOF |
5064 | cat >>confdefs.h <<_ACEOF |
4426 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5065 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4427 | _ACEOF |
5066 | _ACEOF |
4428 | |
5067 | |
… | |
… | |
4433 | |
5072 | |
4434 | |
5073 | |
4435 | for ac_header in dlfcn.h |
5074 | for ac_header in dlfcn.h |
4436 | do |
5075 | do |
4437 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5076 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4438 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5077 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4439 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5078 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4440 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5079 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4441 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5080 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4442 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5081 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4443 | fi |
5082 | fi |
4444 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5083 | ac_res=`eval echo '${'$as_ac_Header'}'` |
4445 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5084 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5085 | echo "${ECHO_T}$ac_res" >&6; } |
4446 | else |
5086 | else |
4447 | # Is the header compilable? |
5087 | # Is the header compilable? |
4448 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5088 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4449 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5089 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
4450 | cat >conftest.$ac_ext <<_ACEOF |
5090 | cat >conftest.$ac_ext <<_ACEOF |
4451 | /* confdefs.h. */ |
5091 | /* confdefs.h. */ |
4452 | _ACEOF |
5092 | _ACEOF |
4453 | cat confdefs.h >>conftest.$ac_ext |
5093 | cat confdefs.h >>conftest.$ac_ext |
4454 | cat >>conftest.$ac_ext <<_ACEOF |
5094 | cat >>conftest.$ac_ext <<_ACEOF |
4455 | /* end confdefs.h. */ |
5095 | /* end confdefs.h. */ |
4456 | $ac_includes_default |
5096 | $ac_includes_default |
4457 | #include <$ac_header> |
5097 | #include <$ac_header> |
4458 | _ACEOF |
5098 | _ACEOF |
4459 | rm -f conftest.$ac_objext |
5099 | rm -f conftest.$ac_objext |
|
|
5100 | if { (ac_try="$ac_compile" |
|
|
5101 | case "(($ac_try" in |
|
|
5102 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5103 | *) ac_try_echo=$ac_try;; |
|
|
5104 | esac |
4460 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5105 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4461 | (eval $ac_compile) 2>conftest.er1 |
5106 | (eval "$ac_compile") 2>conftest.er1 |
4462 | ac_status=$? |
5107 | ac_status=$? |
4463 | grep -v '^ *+' conftest.er1 >conftest.err |
5108 | grep -v '^ *+' conftest.er1 >conftest.err |
4464 | rm -f conftest.er1 |
5109 | rm -f conftest.er1 |
4465 | cat conftest.err >&5 |
5110 | cat conftest.err >&5 |
4466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5111 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4467 | (exit $ac_status); } && |
5112 | (exit $ac_status); } && { |
4468 | { ac_try='test -z "$ac_c_werror_flag" |
5113 | test -z "$ac_c_werror_flag" || |
4469 | || test ! -s conftest.err' |
5114 | test ! -s conftest.err |
4470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5115 | } && test -s conftest.$ac_objext; then |
4471 | (eval $ac_try) 2>&5 |
|
|
4472 | ac_status=$? |
|
|
4473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4474 | (exit $ac_status); }; } && |
|
|
4475 | { ac_try='test -s conftest.$ac_objext' |
|
|
4476 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4477 | (eval $ac_try) 2>&5 |
|
|
4478 | ac_status=$? |
|
|
4479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4480 | (exit $ac_status); }; }; then |
|
|
4481 | ac_header_compiler=yes |
5116 | ac_header_compiler=yes |
4482 | else |
5117 | else |
4483 | echo "$as_me: failed program was:" >&5 |
5118 | echo "$as_me: failed program was:" >&5 |
4484 | sed 's/^/| /' conftest.$ac_ext >&5 |
5119 | sed 's/^/| /' conftest.$ac_ext >&5 |
4485 | |
5120 | |
4486 | ac_header_compiler=no |
5121 | ac_header_compiler=no |
4487 | fi |
5122 | fi |
|
|
5123 | |
4488 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5124 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4489 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5125 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4490 | echo "${ECHO_T}$ac_header_compiler" >&6 |
5126 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
4491 | |
5127 | |
4492 | # Is the header present? |
5128 | # Is the header present? |
4493 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5129 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4494 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5130 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
4495 | cat >conftest.$ac_ext <<_ACEOF |
5131 | cat >conftest.$ac_ext <<_ACEOF |
4496 | /* confdefs.h. */ |
5132 | /* confdefs.h. */ |
4497 | _ACEOF |
5133 | _ACEOF |
4498 | cat confdefs.h >>conftest.$ac_ext |
5134 | cat confdefs.h >>conftest.$ac_ext |
4499 | cat >>conftest.$ac_ext <<_ACEOF |
5135 | cat >>conftest.$ac_ext <<_ACEOF |
4500 | /* end confdefs.h. */ |
5136 | /* end confdefs.h. */ |
4501 | #include <$ac_header> |
5137 | #include <$ac_header> |
4502 | _ACEOF |
5138 | _ACEOF |
4503 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5139 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5140 | case "(($ac_try" in |
|
|
5141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5142 | *) ac_try_echo=$ac_try;; |
|
|
5143 | esac |
|
|
5144 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4504 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5145 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
4505 | ac_status=$? |
5146 | ac_status=$? |
4506 | grep -v '^ *+' conftest.er1 >conftest.err |
5147 | grep -v '^ *+' conftest.er1 >conftest.err |
4507 | rm -f conftest.er1 |
5148 | rm -f conftest.er1 |
4508 | cat conftest.err >&5 |
5149 | cat conftest.err >&5 |
4509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5150 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4510 | (exit $ac_status); } >/dev/null; then |
5151 | (exit $ac_status); } >/dev/null && { |
|
|
5152 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
4511 | if test -s conftest.err; then |
5153 | test ! -s conftest.err |
4512 | ac_cpp_err=$ac_c_preproc_warn_flag |
5154 | }; then |
4513 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
4514 | else |
|
|
4515 | ac_cpp_err= |
|
|
4516 | fi |
|
|
4517 | else |
|
|
4518 | ac_cpp_err=yes |
|
|
4519 | fi |
|
|
4520 | if test -z "$ac_cpp_err"; then |
|
|
4521 | ac_header_preproc=yes |
5155 | ac_header_preproc=yes |
4522 | else |
5156 | else |
4523 | echo "$as_me: failed program was:" >&5 |
5157 | echo "$as_me: failed program was:" >&5 |
4524 | sed 's/^/| /' conftest.$ac_ext >&5 |
5158 | sed 's/^/| /' conftest.$ac_ext >&5 |
4525 | |
5159 | |
4526 | ac_header_preproc=no |
5160 | ac_header_preproc=no |
4527 | fi |
5161 | fi |
|
|
5162 | |
4528 | rm -f conftest.err conftest.$ac_ext |
5163 | rm -f conftest.err conftest.$ac_ext |
4529 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5164 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4530 | echo "${ECHO_T}$ac_header_preproc" >&6 |
5165 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
4531 | |
5166 | |
4532 | # So? What about this header? |
5167 | # So? What about this header? |
4533 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5168 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4534 | yes:no: ) |
5169 | yes:no: ) |
4535 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5170 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
4549 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5184 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4550 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5185 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4551 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5186 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4552 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5187 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4553 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5188 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4554 | ( |
|
|
4555 | cat <<\_ASBOX |
5189 | ( cat <<\_ASBOX |
4556 | ## ------------------------------------ ## |
5190 | ## ------------------------------------ ## |
4557 | ## Report this to jcouzens@codeshare.ca ## |
5191 | ## Report this to jcouzens@codeshare.ca ## |
4558 | ## ------------------------------------ ## |
5192 | ## ------------------------------------ ## |
4559 | _ASBOX |
5193 | _ASBOX |
4560 | ) | |
|
|
4561 | sed "s/^/$as_me: WARNING: /" >&2 |
5194 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
4562 | ;; |
5195 | ;; |
4563 | esac |
5196 | esac |
4564 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5197 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4565 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5198 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
4566 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5199 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
4567 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5200 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4568 | else |
5201 | else |
4569 | eval "$as_ac_Header=\$ac_header_preproc" |
5202 | eval "$as_ac_Header=\$ac_header_preproc" |
4570 | fi |
5203 | fi |
4571 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5204 | ac_res=`eval echo '${'$as_ac_Header'}'` |
4572 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5205 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5206 | echo "${ECHO_T}$ac_res" >&6; } |
4573 | |
5207 | |
4574 | fi |
5208 | fi |
4575 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5209 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4576 | cat >>confdefs.h <<_ACEOF |
5210 | cat >>confdefs.h <<_ACEOF |
4577 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5211 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
4579 | |
5213 | |
4580 | fi |
5214 | fi |
4581 | |
5215 | |
4582 | done |
5216 | done |
4583 | |
5217 | |
4584 | ac_ext=cc |
5218 | ac_ext=cpp |
4585 | ac_cpp='$CXXCPP $CPPFLAGS' |
5219 | ac_cpp='$CXXCPP $CPPFLAGS' |
4586 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5220 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4587 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5221 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4588 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5222 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5223 | if test -z "$CXX"; then |
|
|
5224 | if test -n "$CCC"; then |
|
|
5225 | CXX=$CCC |
|
|
5226 | else |
4589 | if test -n "$ac_tool_prefix"; then |
5227 | if test -n "$ac_tool_prefix"; then |
4590 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
5228 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4591 | do |
5229 | do |
4592 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5230 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4593 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5231 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4594 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5232 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4595 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5233 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4596 | if test "${ac_cv_prog_CXX+set}" = set; then |
5234 | if test "${ac_cv_prog_CXX+set}" = set; then |
4597 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5235 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4598 | else |
5236 | else |
4599 | if test -n "$CXX"; then |
5237 | if test -n "$CXX"; then |
4600 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
5238 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
… | |
… | |
4603 | for as_dir in $PATH |
5241 | for as_dir in $PATH |
4604 | do |
5242 | do |
4605 | IFS=$as_save_IFS |
5243 | IFS=$as_save_IFS |
4606 | test -z "$as_dir" && as_dir=. |
5244 | test -z "$as_dir" && as_dir=. |
4607 | for ac_exec_ext in '' $ac_executable_extensions; do |
5245 | for ac_exec_ext in '' $ac_executable_extensions; do |
4608 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5246 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4609 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
5247 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
4610 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5248 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4611 | break 2 |
5249 | break 2 |
4612 | fi |
5250 | fi |
4613 | done |
5251 | done |
4614 | done |
5252 | done |
|
|
5253 | IFS=$as_save_IFS |
4615 | |
5254 | |
4616 | fi |
5255 | fi |
4617 | fi |
5256 | fi |
4618 | CXX=$ac_cv_prog_CXX |
5257 | CXX=$ac_cv_prog_CXX |
4619 | if test -n "$CXX"; then |
5258 | if test -n "$CXX"; then |
4620 | echo "$as_me:$LINENO: result: $CXX" >&5 |
5259 | { echo "$as_me:$LINENO: result: $CXX" >&5 |
4621 | echo "${ECHO_T}$CXX" >&6 |
5260 | echo "${ECHO_T}$CXX" >&6; } |
4622 | else |
5261 | else |
4623 | echo "$as_me:$LINENO: result: no" >&5 |
5262 | { echo "$as_me:$LINENO: result: no" >&5 |
4624 | echo "${ECHO_T}no" >&6 |
5263 | echo "${ECHO_T}no" >&6; } |
4625 | fi |
5264 | fi |
|
|
5265 | |
4626 | |
5266 | |
4627 | test -n "$CXX" && break |
5267 | test -n "$CXX" && break |
4628 | done |
5268 | done |
4629 | fi |
5269 | fi |
4630 | if test -z "$CXX"; then |
5270 | if test -z "$CXX"; then |
4631 | ac_ct_CXX=$CXX |
5271 | ac_ct_CXX=$CXX |
4632 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
5272 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
4633 | do |
5273 | do |
4634 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5274 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4635 | set dummy $ac_prog; ac_word=$2 |
5275 | set dummy $ac_prog; ac_word=$2 |
4636 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5276 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4637 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5277 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4638 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
5278 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
4639 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5279 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4640 | else |
5280 | else |
4641 | if test -n "$ac_ct_CXX"; then |
5281 | if test -n "$ac_ct_CXX"; then |
4642 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
5282 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
… | |
… | |
4645 | for as_dir in $PATH |
5285 | for as_dir in $PATH |
4646 | do |
5286 | do |
4647 | IFS=$as_save_IFS |
5287 | IFS=$as_save_IFS |
4648 | test -z "$as_dir" && as_dir=. |
5288 | test -z "$as_dir" && as_dir=. |
4649 | for ac_exec_ext in '' $ac_executable_extensions; do |
5289 | for ac_exec_ext in '' $ac_executable_extensions; do |
4650 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5290 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4651 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
5291 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
4652 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5292 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4653 | break 2 |
5293 | break 2 |
4654 | fi |
5294 | fi |
4655 | done |
5295 | done |
4656 | done |
5296 | done |
|
|
5297 | IFS=$as_save_IFS |
4657 | |
5298 | |
4658 | fi |
5299 | fi |
4659 | fi |
5300 | fi |
4660 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
5301 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
4661 | if test -n "$ac_ct_CXX"; then |
5302 | if test -n "$ac_ct_CXX"; then |
4662 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
5303 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
4663 | echo "${ECHO_T}$ac_ct_CXX" >&6 |
5304 | echo "${ECHO_T}$ac_ct_CXX" >&6; } |
4664 | else |
5305 | else |
4665 | echo "$as_me:$LINENO: result: no" >&5 |
5306 | { echo "$as_me:$LINENO: result: no" >&5 |
4666 | echo "${ECHO_T}no" >&6 |
5307 | echo "${ECHO_T}no" >&6; } |
4667 | fi |
5308 | fi |
|
|
5309 | |
4668 | |
5310 | |
4669 | test -n "$ac_ct_CXX" && break |
5311 | test -n "$ac_ct_CXX" && break |
4670 | done |
5312 | done |
4671 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
|
4672 | |
5313 | |
|
|
5314 | if test "x$ac_ct_CXX" = x; then |
|
|
5315 | CXX="g++" |
|
|
5316 | else |
|
|
5317 | case $cross_compiling:$ac_tool_warned in |
|
|
5318 | yes:) |
|
|
5319 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5320 | whose name does not start with the host triplet. If you think this |
|
|
5321 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5322 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5323 | whose name does not start with the host triplet. If you think this |
|
|
5324 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5325 | ac_tool_warned=yes ;; |
|
|
5326 | esac |
4673 | CXX=$ac_ct_CXX |
5327 | CXX=$ac_ct_CXX |
|
|
5328 | fi |
4674 | fi |
5329 | fi |
4675 | |
5330 | |
4676 | |
5331 | fi |
|
|
5332 | fi |
4677 | # Provide some information about the compiler. |
5333 | # Provide some information about the compiler. |
4678 | echo "$as_me:$LINENO:" \ |
|
|
4679 | "checking for C++ compiler version" >&5 |
5334 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5 |
4680 | ac_compiler=`set X $ac_compile; echo $2` |
5335 | ac_compiler=`set X $ac_compile; echo $2` |
4681 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5336 | { (ac_try="$ac_compiler --version >&5" |
|
|
5337 | case "(($ac_try" in |
|
|
5338 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5339 | *) ac_try_echo=$ac_try;; |
|
|
5340 | esac |
|
|
5341 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4682 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
5342 | (eval "$ac_compiler --version >&5") 2>&5 |
4683 | ac_status=$? |
5343 | ac_status=$? |
4684 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4685 | (exit $ac_status); } |
5345 | (exit $ac_status); } |
4686 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
5346 | { (ac_try="$ac_compiler -v >&5" |
|
|
5347 | case "(($ac_try" in |
|
|
5348 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5349 | *) ac_try_echo=$ac_try;; |
|
|
5350 | esac |
|
|
5351 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4687 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
5352 | (eval "$ac_compiler -v >&5") 2>&5 |
4688 | ac_status=$? |
5353 | ac_status=$? |
4689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4690 | (exit $ac_status); } |
5355 | (exit $ac_status); } |
4691 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
5356 | { (ac_try="$ac_compiler -V >&5" |
|
|
5357 | case "(($ac_try" in |
|
|
5358 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5359 | *) ac_try_echo=$ac_try;; |
|
|
5360 | esac |
|
|
5361 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4692 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
5362 | (eval "$ac_compiler -V >&5") 2>&5 |
4693 | ac_status=$? |
5363 | ac_status=$? |
4694 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5364 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4695 | (exit $ac_status); } |
5365 | (exit $ac_status); } |
4696 | |
5366 | |
4697 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
5367 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
4698 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
5368 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } |
4699 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
5369 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
4700 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4701 | else |
5371 | else |
4702 | cat >conftest.$ac_ext <<_ACEOF |
5372 | cat >conftest.$ac_ext <<_ACEOF |
4703 | /* confdefs.h. */ |
5373 | /* confdefs.h. */ |
… | |
… | |
4716 | ; |
5386 | ; |
4717 | return 0; |
5387 | return 0; |
4718 | } |
5388 | } |
4719 | _ACEOF |
5389 | _ACEOF |
4720 | rm -f conftest.$ac_objext |
5390 | rm -f conftest.$ac_objext |
|
|
5391 | if { (ac_try="$ac_compile" |
|
|
5392 | case "(($ac_try" in |
|
|
5393 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5394 | *) ac_try_echo=$ac_try;; |
|
|
5395 | esac |
4721 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5396 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4722 | (eval $ac_compile) 2>conftest.er1 |
5397 | (eval "$ac_compile") 2>conftest.er1 |
4723 | ac_status=$? |
5398 | ac_status=$? |
4724 | grep -v '^ *+' conftest.er1 >conftest.err |
5399 | grep -v '^ *+' conftest.er1 >conftest.err |
4725 | rm -f conftest.er1 |
5400 | rm -f conftest.er1 |
4726 | cat conftest.err >&5 |
5401 | cat conftest.err >&5 |
4727 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4728 | (exit $ac_status); } && |
5403 | (exit $ac_status); } && { |
4729 | { ac_try='test -z "$ac_cxx_werror_flag" |
5404 | test -z "$ac_cxx_werror_flag" || |
4730 | || test ! -s conftest.err' |
5405 | test ! -s conftest.err |
4731 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5406 | } && test -s conftest.$ac_objext; then |
4732 | (eval $ac_try) 2>&5 |
|
|
4733 | ac_status=$? |
|
|
4734 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4735 | (exit $ac_status); }; } && |
|
|
4736 | { ac_try='test -s conftest.$ac_objext' |
|
|
4737 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4738 | (eval $ac_try) 2>&5 |
|
|
4739 | ac_status=$? |
|
|
4740 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4741 | (exit $ac_status); }; }; then |
|
|
4742 | ac_compiler_gnu=yes |
5407 | ac_compiler_gnu=yes |
4743 | else |
5408 | else |
4744 | echo "$as_me: failed program was:" >&5 |
5409 | echo "$as_me: failed program was:" >&5 |
4745 | sed 's/^/| /' conftest.$ac_ext >&5 |
5410 | sed 's/^/| /' conftest.$ac_ext >&5 |
4746 | |
5411 | |
4747 | ac_compiler_gnu=no |
5412 | ac_compiler_gnu=no |
4748 | fi |
5413 | fi |
|
|
5414 | |
4749 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5415 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4750 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
5416 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
4751 | |
5417 | |
4752 | fi |
5418 | fi |
4753 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
5419 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
4754 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
5420 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } |
4755 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
5421 | GXX=`test $ac_compiler_gnu = yes && echo yes` |
4756 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
5422 | ac_test_CXXFLAGS=${CXXFLAGS+set} |
4757 | ac_save_CXXFLAGS=$CXXFLAGS |
5423 | ac_save_CXXFLAGS=$CXXFLAGS |
4758 | CXXFLAGS="-g" |
|
|
4759 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
5424 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
4760 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
5425 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } |
4761 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
5426 | if test "${ac_cv_prog_cxx_g+set}" = set; then |
4762 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5427 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4763 | else |
5428 | else |
|
|
5429 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
|
5430 | ac_cxx_werror_flag=yes |
|
|
5431 | ac_cv_prog_cxx_g=no |
|
|
5432 | CXXFLAGS="-g" |
4764 | cat >conftest.$ac_ext <<_ACEOF |
5433 | cat >conftest.$ac_ext <<_ACEOF |
4765 | /* confdefs.h. */ |
5434 | /* confdefs.h. */ |
4766 | _ACEOF |
5435 | _ACEOF |
4767 | cat confdefs.h >>conftest.$ac_ext |
5436 | cat confdefs.h >>conftest.$ac_ext |
4768 | cat >>conftest.$ac_ext <<_ACEOF |
5437 | cat >>conftest.$ac_ext <<_ACEOF |
4769 | /* end confdefs.h. */ |
5438 | /* end confdefs.h. */ |
… | |
… | |
4775 | ; |
5444 | ; |
4776 | return 0; |
5445 | return 0; |
4777 | } |
5446 | } |
4778 | _ACEOF |
5447 | _ACEOF |
4779 | rm -f conftest.$ac_objext |
5448 | rm -f conftest.$ac_objext |
|
|
5449 | if { (ac_try="$ac_compile" |
|
|
5450 | case "(($ac_try" in |
|
|
5451 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5452 | *) ac_try_echo=$ac_try;; |
|
|
5453 | esac |
4780 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5454 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
4781 | (eval $ac_compile) 2>conftest.er1 |
5455 | (eval "$ac_compile") 2>conftest.er1 |
4782 | ac_status=$? |
5456 | ac_status=$? |
4783 | grep -v '^ *+' conftest.er1 >conftest.err |
5457 | grep -v '^ *+' conftest.er1 >conftest.err |
4784 | rm -f conftest.er1 |
5458 | rm -f conftest.er1 |
4785 | cat conftest.err >&5 |
5459 | cat conftest.err >&5 |
4786 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4787 | (exit $ac_status); } && |
5461 | (exit $ac_status); } && { |
4788 | { ac_try='test -z "$ac_cxx_werror_flag" |
5462 | test -z "$ac_cxx_werror_flag" || |
4789 | || test ! -s conftest.err' |
5463 | test ! -s conftest.err |
4790 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5464 | } && test -s conftest.$ac_objext; then |
4791 | (eval $ac_try) 2>&5 |
|
|
4792 | ac_status=$? |
|
|
4793 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4794 | (exit $ac_status); }; } && |
|
|
4795 | { ac_try='test -s conftest.$ac_objext' |
|
|
4796 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4797 | (eval $ac_try) 2>&5 |
|
|
4798 | ac_status=$? |
|
|
4799 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4800 | (exit $ac_status); }; }; then |
|
|
4801 | ac_cv_prog_cxx_g=yes |
5465 | ac_cv_prog_cxx_g=yes |
4802 | else |
5466 | else |
4803 | echo "$as_me: failed program was:" >&5 |
5467 | echo "$as_me: failed program was:" >&5 |
4804 | sed 's/^/| /' conftest.$ac_ext >&5 |
5468 | sed 's/^/| /' conftest.$ac_ext >&5 |
4805 | |
5469 | |
|
|
5470 | CXXFLAGS="" |
|
|
5471 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5472 | /* confdefs.h. */ |
|
|
5473 | _ACEOF |
|
|
5474 | cat confdefs.h >>conftest.$ac_ext |
|
|
5475 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5476 | /* end confdefs.h. */ |
|
|
5477 | |
|
|
5478 | int |
|
|
5479 | main () |
|
|
5480 | { |
|
|
5481 | |
|
|
5482 | ; |
|
|
5483 | return 0; |
|
|
5484 | } |
|
|
5485 | _ACEOF |
|
|
5486 | rm -f conftest.$ac_objext |
|
|
5487 | if { (ac_try="$ac_compile" |
|
|
5488 | case "(($ac_try" in |
|
|
5489 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5490 | *) ac_try_echo=$ac_try;; |
|
|
5491 | esac |
|
|
5492 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5493 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5494 | ac_status=$? |
|
|
5495 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5496 | rm -f conftest.er1 |
|
|
5497 | cat conftest.err >&5 |
|
|
5498 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5499 | (exit $ac_status); } && { |
|
|
5500 | test -z "$ac_cxx_werror_flag" || |
|
|
5501 | test ! -s conftest.err |
|
|
5502 | } && test -s conftest.$ac_objext; then |
|
|
5503 | : |
|
|
5504 | else |
|
|
5505 | echo "$as_me: failed program was:" >&5 |
|
|
5506 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5507 | |
|
|
5508 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
|
5509 | CXXFLAGS="-g" |
|
|
5510 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5511 | /* confdefs.h. */ |
|
|
5512 | _ACEOF |
|
|
5513 | cat confdefs.h >>conftest.$ac_ext |
|
|
5514 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5515 | /* end confdefs.h. */ |
|
|
5516 | |
|
|
5517 | int |
|
|
5518 | main () |
|
|
5519 | { |
|
|
5520 | |
|
|
5521 | ; |
|
|
5522 | return 0; |
|
|
5523 | } |
|
|
5524 | _ACEOF |
|
|
5525 | rm -f conftest.$ac_objext |
|
|
5526 | if { (ac_try="$ac_compile" |
|
|
5527 | case "(($ac_try" in |
|
|
5528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5529 | *) ac_try_echo=$ac_try;; |
|
|
5530 | esac |
|
|
5531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5532 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5533 | ac_status=$? |
|
|
5534 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5535 | rm -f conftest.er1 |
|
|
5536 | cat conftest.err >&5 |
|
|
5537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5538 | (exit $ac_status); } && { |
|
|
5539 | test -z "$ac_cxx_werror_flag" || |
|
|
5540 | test ! -s conftest.err |
|
|
5541 | } && test -s conftest.$ac_objext; then |
4806 | ac_cv_prog_cxx_g=no |
5542 | ac_cv_prog_cxx_g=yes |
|
|
5543 | else |
|
|
5544 | echo "$as_me: failed program was:" >&5 |
|
|
5545 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5546 | |
|
|
5547 | |
4807 | fi |
5548 | fi |
|
|
5549 | |
4808 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4809 | fi |
5551 | fi |
|
|
5552 | |
|
|
5553 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5554 | fi |
|
|
5555 | |
|
|
5556 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5557 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
|
5558 | fi |
4810 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
5559 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
4811 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
5560 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } |
4812 | if test "$ac_test_CXXFLAGS" = set; then |
5561 | if test "$ac_test_CXXFLAGS" = set; then |
4813 | CXXFLAGS=$ac_save_CXXFLAGS |
5562 | CXXFLAGS=$ac_save_CXXFLAGS |
4814 | elif test $ac_cv_prog_cxx_g = yes; then |
5563 | elif test $ac_cv_prog_cxx_g = yes; then |
4815 | if test "$GXX" = yes; then |
5564 | if test "$GXX" = yes; then |
4816 | CXXFLAGS="-g -O2" |
5565 | CXXFLAGS="-g -O2" |
… | |
… | |
4822 | CXXFLAGS="-O2" |
5571 | CXXFLAGS="-O2" |
4823 | else |
5572 | else |
4824 | CXXFLAGS= |
5573 | CXXFLAGS= |
4825 | fi |
5574 | fi |
4826 | fi |
5575 | fi |
4827 | for ac_declaration in \ |
|
|
4828 | '' \ |
|
|
4829 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
|
4830 | 'extern "C" void std::exit (int); using std::exit;' \ |
|
|
4831 | 'extern "C" void exit (int) throw ();' \ |
|
|
4832 | 'extern "C" void exit (int);' \ |
|
|
4833 | 'void exit (int);' |
|
|
4834 | do |
|
|
4835 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4836 | /* confdefs.h. */ |
|
|
4837 | _ACEOF |
|
|
4838 | cat confdefs.h >>conftest.$ac_ext |
|
|
4839 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4840 | /* end confdefs.h. */ |
|
|
4841 | $ac_declaration |
|
|
4842 | #include <stdlib.h> |
|
|
4843 | int |
|
|
4844 | main () |
|
|
4845 | { |
|
|
4846 | exit (42); |
|
|
4847 | ; |
|
|
4848 | return 0; |
|
|
4849 | } |
|
|
4850 | _ACEOF |
|
|
4851 | rm -f conftest.$ac_objext |
|
|
4852 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4853 | (eval $ac_compile) 2>conftest.er1 |
|
|
4854 | ac_status=$? |
|
|
4855 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4856 | rm -f conftest.er1 |
|
|
4857 | cat conftest.err >&5 |
|
|
4858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4859 | (exit $ac_status); } && |
|
|
4860 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4861 | || test ! -s conftest.err' |
|
|
4862 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4863 | (eval $ac_try) 2>&5 |
|
|
4864 | ac_status=$? |
|
|
4865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4866 | (exit $ac_status); }; } && |
|
|
4867 | { ac_try='test -s conftest.$ac_objext' |
|
|
4868 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4869 | (eval $ac_try) 2>&5 |
|
|
4870 | ac_status=$? |
|
|
4871 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4872 | (exit $ac_status); }; }; then |
|
|
4873 | : |
|
|
4874 | else |
|
|
4875 | echo "$as_me: failed program was:" >&5 |
|
|
4876 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4877 | |
|
|
4878 | continue |
|
|
4879 | fi |
|
|
4880 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4881 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4882 | /* confdefs.h. */ |
|
|
4883 | _ACEOF |
|
|
4884 | cat confdefs.h >>conftest.$ac_ext |
|
|
4885 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4886 | /* end confdefs.h. */ |
|
|
4887 | $ac_declaration |
|
|
4888 | int |
|
|
4889 | main () |
|
|
4890 | { |
|
|
4891 | exit (42); |
|
|
4892 | ; |
|
|
4893 | return 0; |
|
|
4894 | } |
|
|
4895 | _ACEOF |
|
|
4896 | rm -f conftest.$ac_objext |
|
|
4897 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
4898 | (eval $ac_compile) 2>conftest.er1 |
|
|
4899 | ac_status=$? |
|
|
4900 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4901 | rm -f conftest.er1 |
|
|
4902 | cat conftest.err >&5 |
|
|
4903 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4904 | (exit $ac_status); } && |
|
|
4905 | { ac_try='test -z "$ac_cxx_werror_flag" |
|
|
4906 | || test ! -s conftest.err' |
|
|
4907 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4908 | (eval $ac_try) 2>&5 |
|
|
4909 | ac_status=$? |
|
|
4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4911 | (exit $ac_status); }; } && |
|
|
4912 | { ac_try='test -s conftest.$ac_objext' |
|
|
4913 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4914 | (eval $ac_try) 2>&5 |
|
|
4915 | ac_status=$? |
|
|
4916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4917 | (exit $ac_status); }; }; then |
|
|
4918 | break |
|
|
4919 | else |
|
|
4920 | echo "$as_me: failed program was:" >&5 |
|
|
4921 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4922 | |
|
|
4923 | fi |
|
|
4924 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4925 | done |
|
|
4926 | rm -f conftest* |
|
|
4927 | if test -n "$ac_declaration"; then |
|
|
4928 | echo '#ifdef __cplusplus' >>confdefs.h |
|
|
4929 | echo $ac_declaration >>confdefs.h |
|
|
4930 | echo '#endif' >>confdefs.h |
|
|
4931 | fi |
|
|
4932 | |
|
|
4933 | ac_ext=cc |
5576 | ac_ext=cpp |
4934 | ac_cpp='$CXXCPP $CPPFLAGS' |
5577 | ac_cpp='$CXXCPP $CPPFLAGS' |
4935 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5578 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4936 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5579 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4937 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5580 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
4938 | |
5581 | |
4939 | depcc="$CXX" am_compiler_list= |
5582 | depcc="$CXX" am_compiler_list= |
4940 | |
5583 | |
4941 | echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
5584 | { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4942 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 |
5585 | echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } |
4943 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
5586 | if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then |
4944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5587 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
4945 | else |
5588 | else |
4946 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
5589 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4947 | # We make a subdir and do the tests there. Otherwise we can end up |
5590 | # We make a subdir and do the tests there. Otherwise we can end up |
… | |
… | |
4998 | else |
5641 | else |
4999 | am_cv_CXX_dependencies_compiler_type=none |
5642 | am_cv_CXX_dependencies_compiler_type=none |
5000 | fi |
5643 | fi |
5001 | |
5644 | |
5002 | fi |
5645 | fi |
5003 | echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
5646 | { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
5004 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 |
5647 | echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } |
5005 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
5648 | CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
5006 | |
5649 | |
5007 | |
5650 | |
5008 | ac_ext=cc |
5651 | ac_ext=cpp |
5009 | ac_cpp='$CXXCPP $CPPFLAGS' |
5652 | ac_cpp='$CXXCPP $CPPFLAGS' |
5010 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5653 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5011 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5654 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5012 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5655 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5013 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
5656 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
5014 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 |
5657 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
5015 | if test -z "$CXXCPP"; then |
5658 | if test -z "$CXXCPP"; then |
5016 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
5659 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
5017 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5660 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5018 | else |
5661 | else |
5019 | # Double quotes because CXXCPP needs to be expanded |
5662 | # Double quotes because CXXCPP needs to be expanded |
… | |
… | |
5039 | #else |
5682 | #else |
5040 | # include <assert.h> |
5683 | # include <assert.h> |
5041 | #endif |
5684 | #endif |
5042 | Syntax error |
5685 | Syntax error |
5043 | _ACEOF |
5686 | _ACEOF |
5044 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5687 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5688 | case "(($ac_try" in |
|
|
5689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5690 | *) ac_try_echo=$ac_try;; |
|
|
5691 | esac |
|
|
5692 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5045 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5693 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5046 | ac_status=$? |
5694 | ac_status=$? |
5047 | grep -v '^ *+' conftest.er1 >conftest.err |
5695 | grep -v '^ *+' conftest.er1 >conftest.err |
5048 | rm -f conftest.er1 |
5696 | rm -f conftest.er1 |
5049 | cat conftest.err >&5 |
5697 | cat conftest.err >&5 |
5050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5051 | (exit $ac_status); } >/dev/null; then |
5699 | (exit $ac_status); } >/dev/null && { |
|
|
5700 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5052 | if test -s conftest.err; then |
5701 | test ! -s conftest.err |
5053 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5702 | }; then |
5054 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5055 | else |
|
|
5056 | ac_cpp_err= |
|
|
5057 | fi |
|
|
5058 | else |
|
|
5059 | ac_cpp_err=yes |
|
|
5060 | fi |
|
|
5061 | if test -z "$ac_cpp_err"; then |
|
|
5062 | : |
5703 | : |
5063 | else |
5704 | else |
5064 | echo "$as_me: failed program was:" >&5 |
5705 | echo "$as_me: failed program was:" >&5 |
5065 | sed 's/^/| /' conftest.$ac_ext >&5 |
5706 | sed 's/^/| /' conftest.$ac_ext >&5 |
5066 | |
5707 | |
5067 | # Broken: fails on valid input. |
5708 | # Broken: fails on valid input. |
5068 | continue |
5709 | continue |
5069 | fi |
5710 | fi |
|
|
5711 | |
5070 | rm -f conftest.err conftest.$ac_ext |
5712 | rm -f conftest.err conftest.$ac_ext |
5071 | |
5713 | |
5072 | # OK, works on sane cases. Now check whether non-existent headers |
5714 | # OK, works on sane cases. Now check whether nonexistent headers |
5073 | # can be detected and how. |
5715 | # can be detected and how. |
5074 | cat >conftest.$ac_ext <<_ACEOF |
5716 | cat >conftest.$ac_ext <<_ACEOF |
5075 | /* confdefs.h. */ |
5717 | /* confdefs.h. */ |
5076 | _ACEOF |
5718 | _ACEOF |
5077 | cat confdefs.h >>conftest.$ac_ext |
5719 | cat confdefs.h >>conftest.$ac_ext |
5078 | cat >>conftest.$ac_ext <<_ACEOF |
5720 | cat >>conftest.$ac_ext <<_ACEOF |
5079 | /* end confdefs.h. */ |
5721 | /* end confdefs.h. */ |
5080 | #include <ac_nonexistent.h> |
5722 | #include <ac_nonexistent.h> |
5081 | _ACEOF |
5723 | _ACEOF |
5082 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5724 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5725 | case "(($ac_try" in |
|
|
5726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5727 | *) ac_try_echo=$ac_try;; |
|
|
5728 | esac |
|
|
5729 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5083 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5730 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5084 | ac_status=$? |
5731 | ac_status=$? |
5085 | grep -v '^ *+' conftest.er1 >conftest.err |
5732 | grep -v '^ *+' conftest.er1 >conftest.err |
5086 | rm -f conftest.er1 |
5733 | rm -f conftest.er1 |
5087 | cat conftest.err >&5 |
5734 | cat conftest.err >&5 |
5088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5089 | (exit $ac_status); } >/dev/null; then |
5736 | (exit $ac_status); } >/dev/null && { |
|
|
5737 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5090 | if test -s conftest.err; then |
5738 | test ! -s conftest.err |
5091 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5739 | }; then |
5092 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5093 | else |
|
|
5094 | ac_cpp_err= |
|
|
5095 | fi |
|
|
5096 | else |
|
|
5097 | ac_cpp_err=yes |
|
|
5098 | fi |
|
|
5099 | if test -z "$ac_cpp_err"; then |
|
|
5100 | # Broken: success on invalid input. |
5740 | # Broken: success on invalid input. |
5101 | continue |
5741 | continue |
5102 | else |
5742 | else |
5103 | echo "$as_me: failed program was:" >&5 |
5743 | echo "$as_me: failed program was:" >&5 |
5104 | sed 's/^/| /' conftest.$ac_ext >&5 |
5744 | sed 's/^/| /' conftest.$ac_ext >&5 |
5105 | |
5745 | |
5106 | # Passes both tests. |
5746 | # Passes both tests. |
5107 | ac_preproc_ok=: |
5747 | ac_preproc_ok=: |
5108 | break |
5748 | break |
5109 | fi |
5749 | fi |
|
|
5750 | |
5110 | rm -f conftest.err conftest.$ac_ext |
5751 | rm -f conftest.err conftest.$ac_ext |
5111 | |
5752 | |
5112 | done |
5753 | done |
5113 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5754 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5114 | rm -f conftest.err conftest.$ac_ext |
5755 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
5122 | fi |
5763 | fi |
5123 | CXXCPP=$ac_cv_prog_CXXCPP |
5764 | CXXCPP=$ac_cv_prog_CXXCPP |
5124 | else |
5765 | else |
5125 | ac_cv_prog_CXXCPP=$CXXCPP |
5766 | ac_cv_prog_CXXCPP=$CXXCPP |
5126 | fi |
5767 | fi |
5127 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
5768 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
5128 | echo "${ECHO_T}$CXXCPP" >&6 |
5769 | echo "${ECHO_T}$CXXCPP" >&6; } |
5129 | ac_preproc_ok=false |
5770 | ac_preproc_ok=false |
5130 | for ac_cxx_preproc_warn_flag in '' yes |
5771 | for ac_cxx_preproc_warn_flag in '' yes |
5131 | do |
5772 | do |
5132 | # Use a header file that comes with gcc, so configuring glibc |
5773 | # Use a header file that comes with gcc, so configuring glibc |
5133 | # with a fresh cross-compiler works. |
5774 | # with a fresh cross-compiler works. |
… | |
… | |
5146 | #else |
5787 | #else |
5147 | # include <assert.h> |
5788 | # include <assert.h> |
5148 | #endif |
5789 | #endif |
5149 | Syntax error |
5790 | Syntax error |
5150 | _ACEOF |
5791 | _ACEOF |
5151 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5792 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5793 | case "(($ac_try" in |
|
|
5794 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5795 | *) ac_try_echo=$ac_try;; |
|
|
5796 | esac |
|
|
5797 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5152 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5798 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5153 | ac_status=$? |
5799 | ac_status=$? |
5154 | grep -v '^ *+' conftest.er1 >conftest.err |
5800 | grep -v '^ *+' conftest.er1 >conftest.err |
5155 | rm -f conftest.er1 |
5801 | rm -f conftest.er1 |
5156 | cat conftest.err >&5 |
5802 | cat conftest.err >&5 |
5157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5803 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5158 | (exit $ac_status); } >/dev/null; then |
5804 | (exit $ac_status); } >/dev/null && { |
|
|
5805 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5159 | if test -s conftest.err; then |
5806 | test ! -s conftest.err |
5160 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5807 | }; then |
5161 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5162 | else |
|
|
5163 | ac_cpp_err= |
|
|
5164 | fi |
|
|
5165 | else |
|
|
5166 | ac_cpp_err=yes |
|
|
5167 | fi |
|
|
5168 | if test -z "$ac_cpp_err"; then |
|
|
5169 | : |
5808 | : |
5170 | else |
5809 | else |
5171 | echo "$as_me: failed program was:" >&5 |
5810 | echo "$as_me: failed program was:" >&5 |
5172 | sed 's/^/| /' conftest.$ac_ext >&5 |
5811 | sed 's/^/| /' conftest.$ac_ext >&5 |
5173 | |
5812 | |
5174 | # Broken: fails on valid input. |
5813 | # Broken: fails on valid input. |
5175 | continue |
5814 | continue |
5176 | fi |
5815 | fi |
|
|
5816 | |
5177 | rm -f conftest.err conftest.$ac_ext |
5817 | rm -f conftest.err conftest.$ac_ext |
5178 | |
5818 | |
5179 | # OK, works on sane cases. Now check whether non-existent headers |
5819 | # OK, works on sane cases. Now check whether nonexistent headers |
5180 | # can be detected and how. |
5820 | # can be detected and how. |
5181 | cat >conftest.$ac_ext <<_ACEOF |
5821 | cat >conftest.$ac_ext <<_ACEOF |
5182 | /* confdefs.h. */ |
5822 | /* confdefs.h. */ |
5183 | _ACEOF |
5823 | _ACEOF |
5184 | cat confdefs.h >>conftest.$ac_ext |
5824 | cat confdefs.h >>conftest.$ac_ext |
5185 | cat >>conftest.$ac_ext <<_ACEOF |
5825 | cat >>conftest.$ac_ext <<_ACEOF |
5186 | /* end confdefs.h. */ |
5826 | /* end confdefs.h. */ |
5187 | #include <ac_nonexistent.h> |
5827 | #include <ac_nonexistent.h> |
5188 | _ACEOF |
5828 | _ACEOF |
5189 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5829 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5830 | case "(($ac_try" in |
|
|
5831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5832 | *) ac_try_echo=$ac_try;; |
|
|
5833 | esac |
|
|
5834 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5190 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5835 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
5191 | ac_status=$? |
5836 | ac_status=$? |
5192 | grep -v '^ *+' conftest.er1 >conftest.err |
5837 | grep -v '^ *+' conftest.er1 >conftest.err |
5193 | rm -f conftest.er1 |
5838 | rm -f conftest.er1 |
5194 | cat conftest.err >&5 |
5839 | cat conftest.err >&5 |
5195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5840 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5196 | (exit $ac_status); } >/dev/null; then |
5841 | (exit $ac_status); } >/dev/null && { |
|
|
5842 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
5197 | if test -s conftest.err; then |
5843 | test ! -s conftest.err |
5198 | ac_cpp_err=$ac_cxx_preproc_warn_flag |
5844 | }; then |
5199 | ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
|
|
5200 | else |
|
|
5201 | ac_cpp_err= |
|
|
5202 | fi |
|
|
5203 | else |
|
|
5204 | ac_cpp_err=yes |
|
|
5205 | fi |
|
|
5206 | if test -z "$ac_cpp_err"; then |
|
|
5207 | # Broken: success on invalid input. |
5845 | # Broken: success on invalid input. |
5208 | continue |
5846 | continue |
5209 | else |
5847 | else |
5210 | echo "$as_me: failed program was:" >&5 |
5848 | echo "$as_me: failed program was:" >&5 |
5211 | sed 's/^/| /' conftest.$ac_ext >&5 |
5849 | sed 's/^/| /' conftest.$ac_ext >&5 |
5212 | |
5850 | |
5213 | # Passes both tests. |
5851 | # Passes both tests. |
5214 | ac_preproc_ok=: |
5852 | ac_preproc_ok=: |
5215 | break |
5853 | break |
5216 | fi |
5854 | fi |
|
|
5855 | |
5217 | rm -f conftest.err conftest.$ac_ext |
5856 | rm -f conftest.err conftest.$ac_ext |
5218 | |
5857 | |
5219 | done |
5858 | done |
5220 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5859 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5221 | rm -f conftest.err conftest.$ac_ext |
5860 | rm -f conftest.err conftest.$ac_ext |
… | |
… | |
5227 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
5866 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
5228 | See \`config.log' for more details." >&2;} |
5867 | See \`config.log' for more details." >&2;} |
5229 | { (exit 1); exit 1; }; } |
5868 | { (exit 1); exit 1; }; } |
5230 | fi |
5869 | fi |
5231 | |
5870 | |
5232 | ac_ext=cc |
5871 | ac_ext=cpp |
5233 | ac_cpp='$CXXCPP $CPPFLAGS' |
5872 | ac_cpp='$CXXCPP $CPPFLAGS' |
5234 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5873 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5235 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5874 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5236 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5875 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
5237 | |
5876 | |
… | |
… | |
5239 | ac_ext=f |
5878 | ac_ext=f |
5240 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
5879 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' |
5241 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5880 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5242 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5881 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu |
5243 | if test -n "$ac_tool_prefix"; then |
5882 | if test -n "$ac_tool_prefix"; then |
5244 | for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
5883 | for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
5245 | do |
5884 | do |
5246 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5885 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
5247 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5886 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
5248 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5887 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5249 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5888 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5250 | if test "${ac_cv_prog_F77+set}" = set; then |
5889 | if test "${ac_cv_prog_F77+set}" = set; then |
5251 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5890 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5252 | else |
5891 | else |
5253 | if test -n "$F77"; then |
5892 | if test -n "$F77"; then |
5254 | ac_cv_prog_F77="$F77" # Let the user override the test. |
5893 | ac_cv_prog_F77="$F77" # Let the user override the test. |
… | |
… | |
5257 | for as_dir in $PATH |
5896 | for as_dir in $PATH |
5258 | do |
5897 | do |
5259 | IFS=$as_save_IFS |
5898 | IFS=$as_save_IFS |
5260 | test -z "$as_dir" && as_dir=. |
5899 | test -z "$as_dir" && as_dir=. |
5261 | for ac_exec_ext in '' $ac_executable_extensions; do |
5900 | for ac_exec_ext in '' $ac_executable_extensions; do |
5262 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5901 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5263 | ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
5902 | ac_cv_prog_F77="$ac_tool_prefix$ac_prog" |
5264 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5903 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5265 | break 2 |
5904 | break 2 |
5266 | fi |
5905 | fi |
5267 | done |
5906 | done |
5268 | done |
5907 | done |
|
|
5908 | IFS=$as_save_IFS |
5269 | |
5909 | |
5270 | fi |
5910 | fi |
5271 | fi |
5911 | fi |
5272 | F77=$ac_cv_prog_F77 |
5912 | F77=$ac_cv_prog_F77 |
5273 | if test -n "$F77"; then |
5913 | if test -n "$F77"; then |
5274 | echo "$as_me:$LINENO: result: $F77" >&5 |
5914 | { echo "$as_me:$LINENO: result: $F77" >&5 |
5275 | echo "${ECHO_T}$F77" >&6 |
5915 | echo "${ECHO_T}$F77" >&6; } |
5276 | else |
5916 | else |
5277 | echo "$as_me:$LINENO: result: no" >&5 |
5917 | { echo "$as_me:$LINENO: result: no" >&5 |
5278 | echo "${ECHO_T}no" >&6 |
5918 | echo "${ECHO_T}no" >&6; } |
5279 | fi |
5919 | fi |
|
|
5920 | |
5280 | |
5921 | |
5281 | test -n "$F77" && break |
5922 | test -n "$F77" && break |
5282 | done |
5923 | done |
5283 | fi |
5924 | fi |
5284 | if test -z "$F77"; then |
5925 | if test -z "$F77"; then |
5285 | ac_ct_F77=$F77 |
5926 | ac_ct_F77=$F77 |
5286 | for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran |
5927 | for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn |
5287 | do |
5928 | do |
5288 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5929 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
5289 | set dummy $ac_prog; ac_word=$2 |
5930 | set dummy $ac_prog; ac_word=$2 |
5290 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5931 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5291 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
5932 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5292 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
5933 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then |
5293 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5934 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5294 | else |
5935 | else |
5295 | if test -n "$ac_ct_F77"; then |
5936 | if test -n "$ac_ct_F77"; then |
5296 | ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
5937 | ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. |
… | |
… | |
5299 | for as_dir in $PATH |
5940 | for as_dir in $PATH |
5300 | do |
5941 | do |
5301 | IFS=$as_save_IFS |
5942 | IFS=$as_save_IFS |
5302 | test -z "$as_dir" && as_dir=. |
5943 | test -z "$as_dir" && as_dir=. |
5303 | for ac_exec_ext in '' $ac_executable_extensions; do |
5944 | for ac_exec_ext in '' $ac_executable_extensions; do |
5304 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
5945 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5305 | ac_cv_prog_ac_ct_F77="$ac_prog" |
5946 | ac_cv_prog_ac_ct_F77="$ac_prog" |
5306 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5947 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5307 | break 2 |
5948 | break 2 |
5308 | fi |
5949 | fi |
5309 | done |
5950 | done |
5310 | done |
5951 | done |
|
|
5952 | IFS=$as_save_IFS |
5311 | |
5953 | |
5312 | fi |
5954 | fi |
5313 | fi |
5955 | fi |
5314 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
5956 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 |
5315 | if test -n "$ac_ct_F77"; then |
5957 | if test -n "$ac_ct_F77"; then |
5316 | echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
5958 | { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 |
5317 | echo "${ECHO_T}$ac_ct_F77" >&6 |
5959 | echo "${ECHO_T}$ac_ct_F77" >&6; } |
5318 | else |
5960 | else |
5319 | echo "$as_me:$LINENO: result: no" >&5 |
5961 | { echo "$as_me:$LINENO: result: no" >&5 |
5320 | echo "${ECHO_T}no" >&6 |
5962 | echo "${ECHO_T}no" >&6; } |
5321 | fi |
5963 | fi |
|
|
5964 | |
5322 | |
5965 | |
5323 | test -n "$ac_ct_F77" && break |
5966 | test -n "$ac_ct_F77" && break |
5324 | done |
5967 | done |
5325 | |
5968 | |
|
|
5969 | if test "x$ac_ct_F77" = x; then |
|
|
5970 | F77="" |
|
|
5971 | else |
|
|
5972 | case $cross_compiling:$ac_tool_warned in |
|
|
5973 | yes:) |
|
|
5974 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5975 | whose name does not start with the host triplet. If you think this |
|
|
5976 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
5977 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
5978 | whose name does not start with the host triplet. If you think this |
|
|
5979 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
5980 | ac_tool_warned=yes ;; |
|
|
5981 | esac |
5326 | F77=$ac_ct_F77 |
5982 | F77=$ac_ct_F77 |
|
|
5983 | fi |
5327 | fi |
5984 | fi |
5328 | |
5985 | |
5329 | |
5986 | |
5330 | # Provide some information about the compiler. |
5987 | # Provide some information about the compiler. |
5331 | echo "$as_me:5331:" \ |
|
|
5332 | "checking for Fortran 77 compiler version" >&5 |
5988 | echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5 |
5333 | ac_compiler=`set X $ac_compile; echo $2` |
5989 | ac_compiler=`set X $ac_compile; echo $2` |
5334 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5990 | { (ac_try="$ac_compiler --version >&5" |
|
|
5991 | case "(($ac_try" in |
|
|
5992 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5993 | *) ac_try_echo=$ac_try;; |
|
|
5994 | esac |
|
|
5995 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5335 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
5996 | (eval "$ac_compiler --version >&5") 2>&5 |
5336 | ac_status=$? |
5997 | ac_status=$? |
5337 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5338 | (exit $ac_status); } |
5999 | (exit $ac_status); } |
5339 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
6000 | { (ac_try="$ac_compiler -v >&5" |
|
|
6001 | case "(($ac_try" in |
|
|
6002 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6003 | *) ac_try_echo=$ac_try;; |
|
|
6004 | esac |
|
|
6005 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5340 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
6006 | (eval "$ac_compiler -v >&5") 2>&5 |
5341 | ac_status=$? |
6007 | ac_status=$? |
5342 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5343 | (exit $ac_status); } |
6009 | (exit $ac_status); } |
5344 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
6010 | { (ac_try="$ac_compiler -V >&5" |
|
|
6011 | case "(($ac_try" in |
|
|
6012 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6013 | *) ac_try_echo=$ac_try;; |
|
|
6014 | esac |
|
|
6015 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5345 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
6016 | (eval "$ac_compiler -V >&5") 2>&5 |
5346 | ac_status=$? |
6017 | ac_status=$? |
5347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6018 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5348 | (exit $ac_status); } |
6019 | (exit $ac_status); } |
5349 | rm -f a.out |
6020 | rm -f a.out |
5350 | |
6021 | |
5351 | # If we don't use `.F' as extension, the preprocessor is not run on the |
6022 | # If we don't use `.F' as extension, the preprocessor is not run on the |
5352 | # input file. (Note that this only needs to work for GNU compilers.) |
6023 | # input file. (Note that this only needs to work for GNU compilers.) |
5353 | ac_save_ext=$ac_ext |
6024 | ac_save_ext=$ac_ext |
5354 | ac_ext=F |
6025 | ac_ext=F |
5355 | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
6026 | { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 |
5356 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 |
6027 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } |
5357 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
6028 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then |
5358 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6029 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5359 | else |
6030 | else |
5360 | cat >conftest.$ac_ext <<_ACEOF |
6031 | cat >conftest.$ac_ext <<_ACEOF |
5361 | program main |
6032 | program main |
… | |
… | |
5364 | #endif |
6035 | #endif |
5365 | |
6036 | |
5366 | end |
6037 | end |
5367 | _ACEOF |
6038 | _ACEOF |
5368 | rm -f conftest.$ac_objext |
6039 | rm -f conftest.$ac_objext |
|
|
6040 | if { (ac_try="$ac_compile" |
|
|
6041 | case "(($ac_try" in |
|
|
6042 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6043 | *) ac_try_echo=$ac_try;; |
|
|
6044 | esac |
5369 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6045 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5370 | (eval $ac_compile) 2>conftest.er1 |
6046 | (eval "$ac_compile") 2>conftest.er1 |
5371 | ac_status=$? |
6047 | ac_status=$? |
5372 | grep -v '^ *+' conftest.er1 >conftest.err |
6048 | grep -v '^ *+' conftest.er1 >conftest.err |
5373 | rm -f conftest.er1 |
6049 | rm -f conftest.er1 |
5374 | cat conftest.err >&5 |
6050 | cat conftest.err >&5 |
5375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5376 | (exit $ac_status); } && |
6052 | (exit $ac_status); } && { |
5377 | { ac_try='test -z "$ac_f77_werror_flag" |
6053 | test -z "$ac_f77_werror_flag" || |
5378 | || test ! -s conftest.err' |
6054 | test ! -s conftest.err |
5379 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6055 | } && test -s conftest.$ac_objext; then |
5380 | (eval $ac_try) 2>&5 |
|
|
5381 | ac_status=$? |
|
|
5382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5383 | (exit $ac_status); }; } && |
|
|
5384 | { ac_try='test -s conftest.$ac_objext' |
|
|
5385 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5386 | (eval $ac_try) 2>&5 |
|
|
5387 | ac_status=$? |
|
|
5388 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5389 | (exit $ac_status); }; }; then |
|
|
5390 | ac_compiler_gnu=yes |
6056 | ac_compiler_gnu=yes |
5391 | else |
6057 | else |
5392 | echo "$as_me: failed program was:" >&5 |
6058 | echo "$as_me: failed program was:" >&5 |
5393 | sed 's/^/| /' conftest.$ac_ext >&5 |
6059 | sed 's/^/| /' conftest.$ac_ext >&5 |
5394 | |
6060 | |
5395 | ac_compiler_gnu=no |
6061 | ac_compiler_gnu=no |
5396 | fi |
6062 | fi |
|
|
6063 | |
5397 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6064 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5398 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
6065 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu |
5399 | |
6066 | |
5400 | fi |
6067 | fi |
5401 | echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
6068 | { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 |
5402 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 |
6069 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } |
5403 | ac_ext=$ac_save_ext |
6070 | ac_ext=$ac_save_ext |
5404 | ac_test_FFLAGS=${FFLAGS+set} |
6071 | ac_test_FFLAGS=${FFLAGS+set} |
5405 | ac_save_FFLAGS=$FFLAGS |
6072 | ac_save_FFLAGS=$FFLAGS |
5406 | FFLAGS= |
6073 | FFLAGS= |
5407 | echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
6074 | { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 |
5408 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 |
6075 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } |
5409 | if test "${ac_cv_prog_f77_g+set}" = set; then |
6076 | if test "${ac_cv_prog_f77_g+set}" = set; then |
5410 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6077 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5411 | else |
6078 | else |
5412 | FFLAGS=-g |
6079 | FFLAGS=-g |
5413 | cat >conftest.$ac_ext <<_ACEOF |
6080 | cat >conftest.$ac_ext <<_ACEOF |
5414 | program main |
6081 | program main |
5415 | |
6082 | |
5416 | end |
6083 | end |
5417 | _ACEOF |
6084 | _ACEOF |
5418 | rm -f conftest.$ac_objext |
6085 | rm -f conftest.$ac_objext |
|
|
6086 | if { (ac_try="$ac_compile" |
|
|
6087 | case "(($ac_try" in |
|
|
6088 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6089 | *) ac_try_echo=$ac_try;; |
|
|
6090 | esac |
5419 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6091 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
5420 | (eval $ac_compile) 2>conftest.er1 |
6092 | (eval "$ac_compile") 2>conftest.er1 |
5421 | ac_status=$? |
6093 | ac_status=$? |
5422 | grep -v '^ *+' conftest.er1 >conftest.err |
6094 | grep -v '^ *+' conftest.er1 >conftest.err |
5423 | rm -f conftest.er1 |
6095 | rm -f conftest.er1 |
5424 | cat conftest.err >&5 |
6096 | cat conftest.err >&5 |
5425 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6097 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5426 | (exit $ac_status); } && |
6098 | (exit $ac_status); } && { |
5427 | { ac_try='test -z "$ac_f77_werror_flag" |
6099 | test -z "$ac_f77_werror_flag" || |
5428 | || test ! -s conftest.err' |
6100 | test ! -s conftest.err |
5429 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6101 | } && test -s conftest.$ac_objext; then |
5430 | (eval $ac_try) 2>&5 |
|
|
5431 | ac_status=$? |
|
|
5432 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5433 | (exit $ac_status); }; } && |
|
|
5434 | { ac_try='test -s conftest.$ac_objext' |
|
|
5435 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
5436 | (eval $ac_try) 2>&5 |
|
|
5437 | ac_status=$? |
|
|
5438 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5439 | (exit $ac_status); }; }; then |
|
|
5440 | ac_cv_prog_f77_g=yes |
6102 | ac_cv_prog_f77_g=yes |
5441 | else |
6103 | else |
5442 | echo "$as_me: failed program was:" >&5 |
6104 | echo "$as_me: failed program was:" >&5 |
5443 | sed 's/^/| /' conftest.$ac_ext >&5 |
6105 | sed 's/^/| /' conftest.$ac_ext >&5 |
5444 | |
6106 | |
5445 | ac_cv_prog_f77_g=no |
6107 | ac_cv_prog_f77_g=no |
5446 | fi |
6108 | fi |
|
|
6109 | |
5447 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6110 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5448 | |
6111 | |
5449 | fi |
6112 | fi |
5450 | echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
6113 | { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 |
5451 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 |
6114 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } |
5452 | if test "$ac_test_FFLAGS" = set; then |
6115 | if test "$ac_test_FFLAGS" = set; then |
5453 | FFLAGS=$ac_save_FFLAGS |
6116 | FFLAGS=$ac_save_FFLAGS |
5454 | elif test $ac_cv_prog_f77_g = yes; then |
6117 | elif test $ac_cv_prog_f77_g = yes; then |
5455 | if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
6118 | if test "x$ac_cv_f77_compiler_gnu" = xyes; then |
5456 | FFLAGS="-g -O2" |
6119 | FFLAGS="-g -O2" |
… | |
… | |
5475 | |
6138 | |
5476 | |
6139 | |
5477 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
6140 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
5478 | |
6141 | |
5479 | # find the maximum length of command line arguments |
6142 | # find the maximum length of command line arguments |
5480 | echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
6143 | { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 |
5481 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 |
6144 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } |
5482 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
6145 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then |
5483 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5484 | else |
6147 | else |
5485 | i=0 |
6148 | i=0 |
5486 | testring="ABCD" |
6149 | testring="ABCD" |
… | |
… | |
5540 | esac |
6203 | esac |
5541 | |
6204 | |
5542 | fi |
6205 | fi |
5543 | |
6206 | |
5544 | if test -n $lt_cv_sys_max_cmd_len ; then |
6207 | if test -n $lt_cv_sys_max_cmd_len ; then |
5545 | echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
6208 | { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 |
5546 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 |
6209 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } |
5547 | else |
6210 | else |
5548 | echo "$as_me:$LINENO: result: none" >&5 |
6211 | { echo "$as_me:$LINENO: result: none" >&5 |
5549 | echo "${ECHO_T}none" >&6 |
6212 | echo "${ECHO_T}none" >&6; } |
5550 | fi |
6213 | fi |
5551 | |
6214 | |
5552 | |
6215 | |
5553 | |
6216 | |
5554 | |
6217 | |
5555 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
6218 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
5556 | echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
6219 | { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 |
5557 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 |
6220 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } |
5558 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
6221 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then |
5559 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6222 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5560 | else |
6223 | else |
5561 | |
6224 | |
5562 | # These are sane defaults that work on at least a few old systems. |
6225 | # These are sane defaults that work on at least a few old systems. |
… | |
… | |
5740 | |
6403 | |
5741 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
6404 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
5742 | lt_cv_sys_global_symbol_to_cdecl= |
6405 | lt_cv_sys_global_symbol_to_cdecl= |
5743 | fi |
6406 | fi |
5744 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
6407 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
5745 | echo "$as_me:$LINENO: result: failed" >&5 |
6408 | { echo "$as_me:$LINENO: result: failed" >&5 |
5746 | echo "${ECHO_T}failed" >&6 |
6409 | echo "${ECHO_T}failed" >&6; } |
5747 | else |
6410 | else |
5748 | echo "$as_me:$LINENO: result: ok" >&5 |
6411 | { echo "$as_me:$LINENO: result: ok" >&5 |
5749 | echo "${ECHO_T}ok" >&6 |
6412 | echo "${ECHO_T}ok" >&6; } |
5750 | fi |
6413 | fi |
5751 | |
6414 | |
5752 | echo "$as_me:$LINENO: checking for objdir" >&5 |
6415 | { echo "$as_me:$LINENO: checking for objdir" >&5 |
5753 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 |
6416 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } |
5754 | if test "${lt_cv_objdir+set}" = set; then |
6417 | if test "${lt_cv_objdir+set}" = set; then |
5755 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6418 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5756 | else |
6419 | else |
5757 | rm -f .libs 2>/dev/null |
6420 | rm -f .libs 2>/dev/null |
5758 | mkdir .libs 2>/dev/null |
6421 | mkdir .libs 2>/dev/null |
… | |
… | |
5762 | # MS-DOS does not allow filenames that begin with a dot. |
6425 | # MS-DOS does not allow filenames that begin with a dot. |
5763 | lt_cv_objdir=_libs |
6426 | lt_cv_objdir=_libs |
5764 | fi |
6427 | fi |
5765 | rmdir .libs 2>/dev/null |
6428 | rmdir .libs 2>/dev/null |
5766 | fi |
6429 | fi |
5767 | echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
6430 | { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 |
5768 | echo "${ECHO_T}$lt_cv_objdir" >&6 |
6431 | echo "${ECHO_T}$lt_cv_objdir" >&6; } |
5769 | objdir=$lt_cv_objdir |
6432 | objdir=$lt_cv_objdir |
5770 | |
6433 | |
5771 | |
6434 | |
5772 | |
6435 | |
5773 | |
6436 | |
… | |
… | |
5814 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
6477 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
5815 | |
6478 | |
5816 | if test -n "$ac_tool_prefix"; then |
6479 | if test -n "$ac_tool_prefix"; then |
5817 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
6480 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. |
5818 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
6481 | set dummy ${ac_tool_prefix}ar; ac_word=$2 |
5819 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6482 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5820 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6483 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5821 | if test "${ac_cv_prog_AR+set}" = set; then |
6484 | if test "${ac_cv_prog_AR+set}" = set; then |
5822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6485 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5823 | else |
6486 | else |
5824 | if test -n "$AR"; then |
6487 | if test -n "$AR"; then |
5825 | ac_cv_prog_AR="$AR" # Let the user override the test. |
6488 | ac_cv_prog_AR="$AR" # Let the user override the test. |
… | |
… | |
5828 | for as_dir in $PATH |
6491 | for as_dir in $PATH |
5829 | do |
6492 | do |
5830 | IFS=$as_save_IFS |
6493 | IFS=$as_save_IFS |
5831 | test -z "$as_dir" && as_dir=. |
6494 | test -z "$as_dir" && as_dir=. |
5832 | for ac_exec_ext in '' $ac_executable_extensions; do |
6495 | for ac_exec_ext in '' $ac_executable_extensions; do |
5833 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6496 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5834 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
6497 | ac_cv_prog_AR="${ac_tool_prefix}ar" |
5835 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6498 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5836 | break 2 |
6499 | break 2 |
5837 | fi |
6500 | fi |
5838 | done |
6501 | done |
5839 | done |
6502 | done |
|
|
6503 | IFS=$as_save_IFS |
5840 | |
6504 | |
5841 | fi |
6505 | fi |
5842 | fi |
6506 | fi |
5843 | AR=$ac_cv_prog_AR |
6507 | AR=$ac_cv_prog_AR |
5844 | if test -n "$AR"; then |
6508 | if test -n "$AR"; then |
5845 | echo "$as_me:$LINENO: result: $AR" >&5 |
6509 | { echo "$as_me:$LINENO: result: $AR" >&5 |
5846 | echo "${ECHO_T}$AR" >&6 |
6510 | echo "${ECHO_T}$AR" >&6; } |
5847 | else |
6511 | else |
5848 | echo "$as_me:$LINENO: result: no" >&5 |
6512 | { echo "$as_me:$LINENO: result: no" >&5 |
5849 | echo "${ECHO_T}no" >&6 |
6513 | echo "${ECHO_T}no" >&6; } |
5850 | fi |
6514 | fi |
|
|
6515 | |
5851 | |
6516 | |
5852 | fi |
6517 | fi |
5853 | if test -z "$ac_cv_prog_AR"; then |
6518 | if test -z "$ac_cv_prog_AR"; then |
5854 | ac_ct_AR=$AR |
6519 | ac_ct_AR=$AR |
5855 | # Extract the first word of "ar", so it can be a program name with args. |
6520 | # Extract the first word of "ar", so it can be a program name with args. |
5856 | set dummy ar; ac_word=$2 |
6521 | set dummy ar; ac_word=$2 |
5857 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6522 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5858 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6523 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5859 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
6524 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then |
5860 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6525 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5861 | else |
6526 | else |
5862 | if test -n "$ac_ct_AR"; then |
6527 | if test -n "$ac_ct_AR"; then |
5863 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
6528 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
… | |
… | |
5866 | for as_dir in $PATH |
6531 | for as_dir in $PATH |
5867 | do |
6532 | do |
5868 | IFS=$as_save_IFS |
6533 | IFS=$as_save_IFS |
5869 | test -z "$as_dir" && as_dir=. |
6534 | test -z "$as_dir" && as_dir=. |
5870 | for ac_exec_ext in '' $ac_executable_extensions; do |
6535 | for ac_exec_ext in '' $ac_executable_extensions; do |
5871 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6536 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5872 | ac_cv_prog_ac_ct_AR="ar" |
6537 | ac_cv_prog_ac_ct_AR="ar" |
5873 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6538 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5874 | break 2 |
6539 | break 2 |
5875 | fi |
6540 | fi |
5876 | done |
6541 | done |
5877 | done |
6542 | done |
|
|
6543 | IFS=$as_save_IFS |
5878 | |
6544 | |
5879 | test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" |
|
|
5880 | fi |
6545 | fi |
5881 | fi |
6546 | fi |
5882 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
6547 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
5883 | if test -n "$ac_ct_AR"; then |
6548 | if test -n "$ac_ct_AR"; then |
5884 | echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
6549 | { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 |
5885 | echo "${ECHO_T}$ac_ct_AR" >&6 |
6550 | echo "${ECHO_T}$ac_ct_AR" >&6; } |
5886 | else |
6551 | else |
5887 | echo "$as_me:$LINENO: result: no" >&5 |
6552 | { echo "$as_me:$LINENO: result: no" >&5 |
5888 | echo "${ECHO_T}no" >&6 |
6553 | echo "${ECHO_T}no" >&6; } |
5889 | fi |
6554 | fi |
5890 | |
6555 | |
|
|
6556 | if test "x$ac_ct_AR" = x; then |
|
|
6557 | AR="false" |
|
|
6558 | else |
|
|
6559 | case $cross_compiling:$ac_tool_warned in |
|
|
6560 | yes:) |
|
|
6561 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6562 | whose name does not start with the host triplet. If you think this |
|
|
6563 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6564 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6565 | whose name does not start with the host triplet. If you think this |
|
|
6566 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6567 | ac_tool_warned=yes ;; |
|
|
6568 | esac |
5891 | AR=$ac_ct_AR |
6569 | AR=$ac_ct_AR |
|
|
6570 | fi |
5892 | else |
6571 | else |
5893 | AR="$ac_cv_prog_AR" |
6572 | AR="$ac_cv_prog_AR" |
5894 | fi |
6573 | fi |
5895 | |
6574 | |
5896 | if test -n "$ac_tool_prefix"; then |
6575 | if test -n "$ac_tool_prefix"; then |
5897 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
6576 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
5898 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
6577 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
5899 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6578 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5900 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6579 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5901 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
6580 | if test "${ac_cv_prog_RANLIB+set}" = set; then |
5902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6581 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5903 | else |
6582 | else |
5904 | if test -n "$RANLIB"; then |
6583 | if test -n "$RANLIB"; then |
5905 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
6584 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
… | |
… | |
5908 | for as_dir in $PATH |
6587 | for as_dir in $PATH |
5909 | do |
6588 | do |
5910 | IFS=$as_save_IFS |
6589 | IFS=$as_save_IFS |
5911 | test -z "$as_dir" && as_dir=. |
6590 | test -z "$as_dir" && as_dir=. |
5912 | for ac_exec_ext in '' $ac_executable_extensions; do |
6591 | for ac_exec_ext in '' $ac_executable_extensions; do |
5913 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6592 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5914 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
6593 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
5915 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6594 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5916 | break 2 |
6595 | break 2 |
5917 | fi |
6596 | fi |
5918 | done |
6597 | done |
5919 | done |
6598 | done |
|
|
6599 | IFS=$as_save_IFS |
5920 | |
6600 | |
5921 | fi |
6601 | fi |
5922 | fi |
6602 | fi |
5923 | RANLIB=$ac_cv_prog_RANLIB |
6603 | RANLIB=$ac_cv_prog_RANLIB |
5924 | if test -n "$RANLIB"; then |
6604 | if test -n "$RANLIB"; then |
5925 | echo "$as_me:$LINENO: result: $RANLIB" >&5 |
6605 | { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
5926 | echo "${ECHO_T}$RANLIB" >&6 |
6606 | echo "${ECHO_T}$RANLIB" >&6; } |
5927 | else |
6607 | else |
5928 | echo "$as_me:$LINENO: result: no" >&5 |
6608 | { echo "$as_me:$LINENO: result: no" >&5 |
5929 | echo "${ECHO_T}no" >&6 |
6609 | echo "${ECHO_T}no" >&6; } |
5930 | fi |
6610 | fi |
|
|
6611 | |
5931 | |
6612 | |
5932 | fi |
6613 | fi |
5933 | if test -z "$ac_cv_prog_RANLIB"; then |
6614 | if test -z "$ac_cv_prog_RANLIB"; then |
5934 | ac_ct_RANLIB=$RANLIB |
6615 | ac_ct_RANLIB=$RANLIB |
5935 | # Extract the first word of "ranlib", so it can be a program name with args. |
6616 | # Extract the first word of "ranlib", so it can be a program name with args. |
5936 | set dummy ranlib; ac_word=$2 |
6617 | set dummy ranlib; ac_word=$2 |
5937 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6618 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5938 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6619 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5939 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
6620 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
5940 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6621 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5941 | else |
6622 | else |
5942 | if test -n "$ac_ct_RANLIB"; then |
6623 | if test -n "$ac_ct_RANLIB"; then |
5943 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
6624 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
… | |
… | |
5946 | for as_dir in $PATH |
6627 | for as_dir in $PATH |
5947 | do |
6628 | do |
5948 | IFS=$as_save_IFS |
6629 | IFS=$as_save_IFS |
5949 | test -z "$as_dir" && as_dir=. |
6630 | test -z "$as_dir" && as_dir=. |
5950 | for ac_exec_ext in '' $ac_executable_extensions; do |
6631 | for ac_exec_ext in '' $ac_executable_extensions; do |
5951 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6632 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5952 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
6633 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
5953 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6634 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5954 | break 2 |
6635 | break 2 |
5955 | fi |
6636 | fi |
5956 | done |
6637 | done |
5957 | done |
6638 | done |
|
|
6639 | IFS=$as_save_IFS |
5958 | |
6640 | |
5959 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
|
|
5960 | fi |
6641 | fi |
5961 | fi |
6642 | fi |
5962 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
6643 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
5963 | if test -n "$ac_ct_RANLIB"; then |
6644 | if test -n "$ac_ct_RANLIB"; then |
5964 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
6645 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
5965 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
6646 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
5966 | else |
6647 | else |
5967 | echo "$as_me:$LINENO: result: no" >&5 |
6648 | { echo "$as_me:$LINENO: result: no" >&5 |
5968 | echo "${ECHO_T}no" >&6 |
6649 | echo "${ECHO_T}no" >&6; } |
5969 | fi |
6650 | fi |
5970 | |
6651 | |
|
|
6652 | if test "x$ac_ct_RANLIB" = x; then |
|
|
6653 | RANLIB=":" |
|
|
6654 | else |
|
|
6655 | case $cross_compiling:$ac_tool_warned in |
|
|
6656 | yes:) |
|
|
6657 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6658 | whose name does not start with the host triplet. If you think this |
|
|
6659 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6660 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6661 | whose name does not start with the host triplet. If you think this |
|
|
6662 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6663 | ac_tool_warned=yes ;; |
|
|
6664 | esac |
5971 | RANLIB=$ac_ct_RANLIB |
6665 | RANLIB=$ac_ct_RANLIB |
|
|
6666 | fi |
5972 | else |
6667 | else |
5973 | RANLIB="$ac_cv_prog_RANLIB" |
6668 | RANLIB="$ac_cv_prog_RANLIB" |
5974 | fi |
6669 | fi |
5975 | |
6670 | |
5976 | if test -n "$ac_tool_prefix"; then |
6671 | if test -n "$ac_tool_prefix"; then |
5977 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
6672 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
5978 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
6673 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
5979 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6674 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5980 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6675 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5981 | if test "${ac_cv_prog_STRIP+set}" = set; then |
6676 | if test "${ac_cv_prog_STRIP+set}" = set; then |
5982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6677 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5983 | else |
6678 | else |
5984 | if test -n "$STRIP"; then |
6679 | if test -n "$STRIP"; then |
5985 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
6680 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
… | |
… | |
5988 | for as_dir in $PATH |
6683 | for as_dir in $PATH |
5989 | do |
6684 | do |
5990 | IFS=$as_save_IFS |
6685 | IFS=$as_save_IFS |
5991 | test -z "$as_dir" && as_dir=. |
6686 | test -z "$as_dir" && as_dir=. |
5992 | for ac_exec_ext in '' $ac_executable_extensions; do |
6687 | for ac_exec_ext in '' $ac_executable_extensions; do |
5993 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6688 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
5994 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
6689 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
5995 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6690 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5996 | break 2 |
6691 | break 2 |
5997 | fi |
6692 | fi |
5998 | done |
6693 | done |
5999 | done |
6694 | done |
|
|
6695 | IFS=$as_save_IFS |
6000 | |
6696 | |
6001 | fi |
6697 | fi |
6002 | fi |
6698 | fi |
6003 | STRIP=$ac_cv_prog_STRIP |
6699 | STRIP=$ac_cv_prog_STRIP |
6004 | if test -n "$STRIP"; then |
6700 | if test -n "$STRIP"; then |
6005 | echo "$as_me:$LINENO: result: $STRIP" >&5 |
6701 | { echo "$as_me:$LINENO: result: $STRIP" >&5 |
6006 | echo "${ECHO_T}$STRIP" >&6 |
6702 | echo "${ECHO_T}$STRIP" >&6; } |
6007 | else |
6703 | else |
6008 | echo "$as_me:$LINENO: result: no" >&5 |
6704 | { echo "$as_me:$LINENO: result: no" >&5 |
6009 | echo "${ECHO_T}no" >&6 |
6705 | echo "${ECHO_T}no" >&6; } |
6010 | fi |
6706 | fi |
|
|
6707 | |
6011 | |
6708 | |
6012 | fi |
6709 | fi |
6013 | if test -z "$ac_cv_prog_STRIP"; then |
6710 | if test -z "$ac_cv_prog_STRIP"; then |
6014 | ac_ct_STRIP=$STRIP |
6711 | ac_ct_STRIP=$STRIP |
6015 | # Extract the first word of "strip", so it can be a program name with args. |
6712 | # Extract the first word of "strip", so it can be a program name with args. |
6016 | set dummy strip; ac_word=$2 |
6713 | set dummy strip; ac_word=$2 |
6017 | echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6714 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
6018 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
6715 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
6019 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
6716 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
6020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6717 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6021 | else |
6718 | else |
6022 | if test -n "$ac_ct_STRIP"; then |
6719 | if test -n "$ac_ct_STRIP"; then |
6023 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
6720 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
… | |
… | |
6026 | for as_dir in $PATH |
6723 | for as_dir in $PATH |
6027 | do |
6724 | do |
6028 | IFS=$as_save_IFS |
6725 | IFS=$as_save_IFS |
6029 | test -z "$as_dir" && as_dir=. |
6726 | test -z "$as_dir" && as_dir=. |
6030 | for ac_exec_ext in '' $ac_executable_extensions; do |
6727 | for ac_exec_ext in '' $ac_executable_extensions; do |
6031 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
6728 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6032 | ac_cv_prog_ac_ct_STRIP="strip" |
6729 | ac_cv_prog_ac_ct_STRIP="strip" |
6033 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6730 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6034 | break 2 |
6731 | break 2 |
6035 | fi |
6732 | fi |
6036 | done |
6733 | done |
6037 | done |
6734 | done |
|
|
6735 | IFS=$as_save_IFS |
6038 | |
6736 | |
6039 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" |
|
|
6040 | fi |
6737 | fi |
6041 | fi |
6738 | fi |
6042 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
6739 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
6043 | if test -n "$ac_ct_STRIP"; then |
6740 | if test -n "$ac_ct_STRIP"; then |
6044 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
6741 | { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
6045 | echo "${ECHO_T}$ac_ct_STRIP" >&6 |
6742 | echo "${ECHO_T}$ac_ct_STRIP" >&6; } |
6046 | else |
6743 | else |
6047 | echo "$as_me:$LINENO: result: no" >&5 |
6744 | { echo "$as_me:$LINENO: result: no" >&5 |
6048 | echo "${ECHO_T}no" >&6 |
6745 | echo "${ECHO_T}no" >&6; } |
6049 | fi |
6746 | fi |
6050 | |
6747 | |
|
|
6748 | if test "x$ac_ct_STRIP" = x; then |
|
|
6749 | STRIP=":" |
|
|
6750 | else |
|
|
6751 | case $cross_compiling:$ac_tool_warned in |
|
|
6752 | yes:) |
|
|
6753 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6754 | whose name does not start with the host triplet. If you think this |
|
|
6755 | configuration is useful to you, please write to autoconf@gnu.org." >&5 |
|
|
6756 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools |
|
|
6757 | whose name does not start with the host triplet. If you think this |
|
|
6758 | configuration is useful to you, please write to autoconf@gnu.org." >&2;} |
|
|
6759 | ac_tool_warned=yes ;; |
|
|
6760 | esac |
6051 | STRIP=$ac_ct_STRIP |
6761 | STRIP=$ac_ct_STRIP |
|
|
6762 | fi |
6052 | else |
6763 | else |
6053 | STRIP="$ac_cv_prog_STRIP" |
6764 | STRIP="$ac_cv_prog_STRIP" |
6054 | fi |
6765 | fi |
6055 | |
6766 | |
6056 | |
6767 | |
… | |
… | |
6093 | |
6804 | |
6094 | # Only perform the check for file, if the check method requires it |
6805 | # Only perform the check for file, if the check method requires it |
6095 | case $deplibs_check_method in |
6806 | case $deplibs_check_method in |
6096 | file_magic*) |
6807 | file_magic*) |
6097 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
6808 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
6098 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
6809 | { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 |
6099 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 |
6810 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } |
6100 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6811 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6101 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6102 | else |
6813 | else |
6103 | case $MAGIC_CMD in |
6814 | case $MAGIC_CMD in |
6104 | [\\/*] | ?:[\\/]*) |
6815 | [\\/*] | ?:[\\/]*) |
… | |
… | |
6146 | esac |
6857 | esac |
6147 | fi |
6858 | fi |
6148 | |
6859 | |
6149 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6860 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6150 | if test -n "$MAGIC_CMD"; then |
6861 | if test -n "$MAGIC_CMD"; then |
6151 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6862 | { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6152 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
6863 | echo "${ECHO_T}$MAGIC_CMD" >&6; } |
6153 | else |
6864 | else |
6154 | echo "$as_me:$LINENO: result: no" >&5 |
6865 | { echo "$as_me:$LINENO: result: no" >&5 |
6155 | echo "${ECHO_T}no" >&6 |
6866 | echo "${ECHO_T}no" >&6; } |
6156 | fi |
6867 | fi |
6157 | |
6868 | |
6158 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
6869 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
6159 | if test -n "$ac_tool_prefix"; then |
6870 | if test -n "$ac_tool_prefix"; then |
6160 | echo "$as_me:$LINENO: checking for file" >&5 |
6871 | { echo "$as_me:$LINENO: checking for file" >&5 |
6161 | echo $ECHO_N "checking for file... $ECHO_C" >&6 |
6872 | echo $ECHO_N "checking for file... $ECHO_C" >&6; } |
6162 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6873 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then |
6163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6874 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6164 | else |
6875 | else |
6165 | case $MAGIC_CMD in |
6876 | case $MAGIC_CMD in |
6166 | [\\/*] | ?:[\\/]*) |
6877 | [\\/*] | ?:[\\/]*) |
… | |
… | |
6208 | esac |
6919 | esac |
6209 | fi |
6920 | fi |
6210 | |
6921 | |
6211 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6922 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
6212 | if test -n "$MAGIC_CMD"; then |
6923 | if test -n "$MAGIC_CMD"; then |
6213 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6924 | { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 |
6214 | echo "${ECHO_T}$MAGIC_CMD" >&6 |
6925 | echo "${ECHO_T}$MAGIC_CMD" >&6; } |
6215 | else |
6926 | else |
6216 | echo "$as_me:$LINENO: result: no" >&5 |
6927 | { echo "$as_me:$LINENO: result: no" >&5 |
6217 | echo "${ECHO_T}no" >&6 |
6928 | echo "${ECHO_T}no" >&6; } |
6218 | fi |
6929 | fi |
6219 | |
6930 | |
6220 | else |
6931 | else |
6221 | MAGIC_CMD=: |
6932 | MAGIC_CMD=: |
6222 | fi |
6933 | fi |
… | |
… | |
6227 | esac |
6938 | esac |
6228 | |
6939 | |
6229 | enable_dlopen=no |
6940 | enable_dlopen=no |
6230 | enable_win32_dll=no |
6941 | enable_win32_dll=no |
6231 | |
6942 | |
6232 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
6943 | # Check whether --enable-libtool-lock was given. |
6233 | if test "${enable_libtool_lock+set}" = set; then |
6944 | if test "${enable_libtool_lock+set}" = set; then |
6234 | enableval="$enable_libtool_lock" |
6945 | enableval=$enable_libtool_lock; |
6235 | |
|
|
6236 | fi; |
6946 | fi |
|
|
6947 | |
6237 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
6948 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
6238 | |
6949 | |
6239 | |
6950 | |
6240 | # Check whether --with-pic or --without-pic was given. |
6951 | # Check whether --with-pic was given. |
6241 | if test "${with_pic+set}" = set; then |
6952 | if test "${with_pic+set}" = set; then |
6242 | withval="$with_pic" |
6953 | withval=$with_pic; pic_mode="$withval" |
6243 | pic_mode="$withval" |
|
|
6244 | else |
6954 | else |
6245 | pic_mode=default |
6955 | pic_mode=default |
6246 | fi; |
6956 | fi |
|
|
6957 | |
6247 | test -z "$pic_mode" && pic_mode=default |
6958 | test -z "$pic_mode" && pic_mode=default |
6248 | |
6959 | |
6249 | # Use C for the default configuration in the libtool script |
6960 | # Use C for the default configuration in the libtool script |
6250 | tagname= |
6961 | tagname= |
6251 | lt_save_CC="$CC" |
6962 | lt_save_CC="$CC" |
… | |
… | |
6301 | |
7012 | |
6302 | |
7013 | |
6303 | # |
7014 | # |
6304 | # Check to make sure the static flag actually works. |
7015 | # Check to make sure the static flag actually works. |
6305 | # |
7016 | # |
6306 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 |
7017 | { echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 |
6307 | echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 |
7018 | echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6; } |
6308 | if test "${lt_prog_compiler_static_works+set}" = set; then |
7019 | if test "${lt_prog_compiler_static_works+set}" = set; then |
6309 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7020 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6310 | else |
7021 | else |
6311 | lt_prog_compiler_static_works=no |
7022 | lt_prog_compiler_static_works=no |
6312 | save_LDFLAGS="$LDFLAGS" |
7023 | save_LDFLAGS="$LDFLAGS" |
… | |
… | |
6324 | fi |
7035 | fi |
6325 | $rm conftest* |
7036 | $rm conftest* |
6326 | LDFLAGS="$save_LDFLAGS" |
7037 | LDFLAGS="$save_LDFLAGS" |
6327 | |
7038 | |
6328 | fi |
7039 | fi |
6329 | echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
7040 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 |
6330 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 |
7041 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } |
6331 | |
7042 | |
6332 | if test x"$lt_prog_compiler_static_works" = xyes; then |
7043 | if test x"$lt_prog_compiler_static_works" = xyes; then |
6333 | : |
7044 | : |
6334 | else |
7045 | else |
6335 | lt_prog_compiler_static= |
7046 | lt_prog_compiler_static= |
… | |
… | |
6342 | |
7053 | |
6343 | if test "$GCC" = yes; then |
7054 | if test "$GCC" = yes; then |
6344 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
7055 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' |
6345 | |
7056 | |
6346 | |
7057 | |
6347 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
7058 | { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
6348 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
7059 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } |
6349 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
7060 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
6350 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7061 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6351 | else |
7062 | else |
6352 | lt_cv_prog_compiler_rtti_exceptions=no |
7063 | lt_cv_prog_compiler_rtti_exceptions=no |
6353 | ac_outfile=conftest.$ac_objext |
7064 | ac_outfile=conftest.$ac_objext |
… | |
… | |
6360 | # The option is referenced via a variable to avoid confusing sed. |
7071 | # The option is referenced via a variable to avoid confusing sed. |
6361 | lt_compile=`echo "$ac_compile" | $SED \ |
7072 | lt_compile=`echo "$ac_compile" | $SED \ |
6362 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7073 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6363 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7074 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6364 | -e 's:$: $lt_compiler_flag:'` |
7075 | -e 's:$: $lt_compiler_flag:'` |
6365 | (eval echo "\"\$as_me:6365: $lt_compile\"" >&5) |
7076 | (eval echo "\"\$as_me:7076: $lt_compile\"" >&5) |
6366 | (eval "$lt_compile" 2>conftest.err) |
7077 | (eval "$lt_compile" 2>conftest.err) |
6367 | ac_status=$? |
7078 | ac_status=$? |
6368 | cat conftest.err >&5 |
7079 | cat conftest.err >&5 |
6369 | echo "$as_me:6369: \$? = $ac_status" >&5 |
7080 | echo "$as_me:7080: \$? = $ac_status" >&5 |
6370 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7081 | if (exit $ac_status) && test -s "$ac_outfile"; then |
6371 | # The compiler can only warn and ignore the option if not recognized |
7082 | # The compiler can only warn and ignore the option if not recognized |
6372 | # So say no if there are warnings |
7083 | # So say no if there are warnings |
6373 | if test ! -s conftest.err; then |
7084 | if test ! -s conftest.err; then |
6374 | lt_cv_prog_compiler_rtti_exceptions=yes |
7085 | lt_cv_prog_compiler_rtti_exceptions=yes |
6375 | fi |
7086 | fi |
6376 | fi |
7087 | fi |
6377 | $rm conftest* |
7088 | $rm conftest* |
6378 | |
7089 | |
6379 | fi |
7090 | fi |
6380 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
7091 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
6381 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 |
7092 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
6382 | |
7093 | |
6383 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
7094 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
6384 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
7095 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
6385 | else |
7096 | else |
6386 | : |
7097 | : |
… | |
… | |
6390 | |
7101 | |
6391 | lt_prog_compiler_wl= |
7102 | lt_prog_compiler_wl= |
6392 | lt_prog_compiler_pic= |
7103 | lt_prog_compiler_pic= |
6393 | lt_prog_compiler_static= |
7104 | lt_prog_compiler_static= |
6394 | |
7105 | |
6395 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
7106 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
6396 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
7107 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
6397 | |
7108 | |
6398 | if test "$GCC" = yes; then |
7109 | if test "$GCC" = yes; then |
6399 | lt_prog_compiler_wl='-Wl,' |
7110 | lt_prog_compiler_wl='-Wl,' |
6400 | lt_prog_compiler_static='-static' |
7111 | lt_prog_compiler_static='-static' |
6401 | |
7112 | |
… | |
… | |
6567 | lt_prog_compiler_can_build_shared=no |
7278 | lt_prog_compiler_can_build_shared=no |
6568 | ;; |
7279 | ;; |
6569 | esac |
7280 | esac |
6570 | fi |
7281 | fi |
6571 | |
7282 | |
6572 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
7283 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 |
6573 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6 |
7284 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } |
6574 | |
7285 | |
6575 | # |
7286 | # |
6576 | # Check to make sure the PIC flag actually works. |
7287 | # Check to make sure the PIC flag actually works. |
6577 | # |
7288 | # |
6578 | if test -n "$lt_prog_compiler_pic"; then |
7289 | if test -n "$lt_prog_compiler_pic"; then |
6579 | |
7290 | |
6580 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
7291 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
6581 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 |
7292 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } |
6582 | if test "${lt_prog_compiler_pic_works+set}" = set; then |
7293 | if test "${lt_prog_compiler_pic_works+set}" = set; then |
6583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7294 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6584 | else |
7295 | else |
6585 | lt_prog_compiler_pic_works=no |
7296 | lt_prog_compiler_pic_works=no |
6586 | ac_outfile=conftest.$ac_objext |
7297 | ac_outfile=conftest.$ac_objext |
… | |
… | |
6593 | # The option is referenced via a variable to avoid confusing sed. |
7304 | # The option is referenced via a variable to avoid confusing sed. |
6594 | lt_compile=`echo "$ac_compile" | $SED \ |
7305 | lt_compile=`echo "$ac_compile" | $SED \ |
6595 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7306 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6596 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7307 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6597 | -e 's:$: $lt_compiler_flag:'` |
7308 | -e 's:$: $lt_compiler_flag:'` |
6598 | (eval echo "\"\$as_me:6598: $lt_compile\"" >&5) |
7309 | (eval echo "\"\$as_me:7309: $lt_compile\"" >&5) |
6599 | (eval "$lt_compile" 2>conftest.err) |
7310 | (eval "$lt_compile" 2>conftest.err) |
6600 | ac_status=$? |
7311 | ac_status=$? |
6601 | cat conftest.err >&5 |
7312 | cat conftest.err >&5 |
6602 | echo "$as_me:6602: \$? = $ac_status" >&5 |
7313 | echo "$as_me:7313: \$? = $ac_status" >&5 |
6603 | if (exit $ac_status) && test -s "$ac_outfile"; then |
7314 | if (exit $ac_status) && test -s "$ac_outfile"; then |
6604 | # The compiler can only warn and ignore the option if not recognized |
7315 | # The compiler can only warn and ignore the option if not recognized |
6605 | # So say no if there are warnings |
7316 | # So say no if there are warnings |
6606 | if test ! -s conftest.err; then |
7317 | if test ! -s conftest.err; then |
6607 | lt_prog_compiler_pic_works=yes |
7318 | lt_prog_compiler_pic_works=yes |
6608 | fi |
7319 | fi |
6609 | fi |
7320 | fi |
6610 | $rm conftest* |
7321 | $rm conftest* |
6611 | |
7322 | |
6612 | fi |
7323 | fi |
6613 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 |
7324 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 |
6614 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 |
7325 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } |
6615 | |
7326 | |
6616 | if test x"$lt_prog_compiler_pic_works" = xyes; then |
7327 | if test x"$lt_prog_compiler_pic_works" = xyes; then |
6617 | case $lt_prog_compiler_pic in |
7328 | case $lt_prog_compiler_pic in |
6618 | "" | " "*) ;; |
7329 | "" | " "*) ;; |
6619 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
7330 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
… | |
… | |
6632 | *) |
7343 | *) |
6633 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
7344 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
6634 | ;; |
7345 | ;; |
6635 | esac |
7346 | esac |
6636 | |
7347 | |
6637 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
7348 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
6638 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
7349 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
6639 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
7350 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then |
6640 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7351 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6641 | else |
7352 | else |
6642 | lt_cv_prog_compiler_c_o=no |
7353 | lt_cv_prog_compiler_c_o=no |
6643 | $rm -r conftest 2>/dev/null |
7354 | $rm -r conftest 2>/dev/null |
… | |
… | |
6653 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
7364 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
6654 | lt_compile=`echo "$ac_compile" | $SED \ |
7365 | lt_compile=`echo "$ac_compile" | $SED \ |
6655 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
7366 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6656 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7367 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6657 | -e 's:$: $lt_compiler_flag:'` |
7368 | -e 's:$: $lt_compiler_flag:'` |
6658 | (eval echo "\"\$as_me:6658: $lt_compile\"" >&5) |
7369 | (eval echo "\"\$as_me:7369: $lt_compile\"" >&5) |
6659 | (eval "$lt_compile" 2>out/conftest.err) |
7370 | (eval "$lt_compile" 2>out/conftest.err) |
6660 | ac_status=$? |
7371 | ac_status=$? |
6661 | cat out/conftest.err >&5 |
7372 | cat out/conftest.err >&5 |
6662 | echo "$as_me:6662: \$? = $ac_status" >&5 |
7373 | echo "$as_me:7373: \$? = $ac_status" >&5 |
6663 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
7374 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6664 | then |
7375 | then |
6665 | # The compiler can only warn and ignore the option if not recognized |
7376 | # The compiler can only warn and ignore the option if not recognized |
6666 | # So say no if there are warnings |
7377 | # So say no if there are warnings |
6667 | if test ! -s out/conftest.err; then |
7378 | if test ! -s out/conftest.err; then |
… | |
… | |
6677 | cd .. |
7388 | cd .. |
6678 | rmdir conftest |
7389 | rmdir conftest |
6679 | $rm conftest* |
7390 | $rm conftest* |
6680 | |
7391 | |
6681 | fi |
7392 | fi |
6682 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
7393 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 |
6683 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 |
7394 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } |
6684 | |
7395 | |
6685 | |
7396 | |
6686 | hard_links="nottested" |
7397 | hard_links="nottested" |
6687 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
7398 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
6688 | # do not overwrite the value of need_locks provided by the user |
7399 | # do not overwrite the value of need_locks provided by the user |
6689 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
7400 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
6690 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
7401 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
6691 | hard_links=yes |
7402 | hard_links=yes |
6692 | $rm conftest* |
7403 | $rm conftest* |
6693 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
7404 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
6694 | touch conftest.a |
7405 | touch conftest.a |
6695 | ln conftest.a conftest.b 2>&5 || hard_links=no |
7406 | ln conftest.a conftest.b 2>&5 || hard_links=no |
6696 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
7407 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
6697 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
7408 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
6698 | echo "${ECHO_T}$hard_links" >&6 |
7409 | echo "${ECHO_T}$hard_links" >&6; } |
6699 | if test "$hard_links" = no; then |
7410 | if test "$hard_links" = no; then |
6700 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
7411 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
6701 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
7412 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
6702 | need_locks=warn |
7413 | need_locks=warn |
6703 | fi |
7414 | fi |
6704 | else |
7415 | else |
6705 | need_locks=no |
7416 | need_locks=no |
6706 | fi |
7417 | fi |
6707 | |
7418 | |
6708 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
7419 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
6709 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
7420 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
6710 | |
7421 | |
6711 | runpath_var= |
7422 | runpath_var= |
6712 | allow_undefined_flag= |
7423 | allow_undefined_flag= |
6713 | enable_shared_with_static_runtimes=no |
7424 | enable_shared_with_static_runtimes=no |
6714 | archive_cmds= |
7425 | archive_cmds= |
… | |
… | |
7036 | ; |
7747 | ; |
7037 | return 0; |
7748 | return 0; |
7038 | } |
7749 | } |
7039 | _ACEOF |
7750 | _ACEOF |
7040 | rm -f conftest.$ac_objext conftest$ac_exeext |
7751 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7752 | if { (ac_try="$ac_link" |
|
|
7753 | case "(($ac_try" in |
|
|
7754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7755 | *) ac_try_echo=$ac_try;; |
|
|
7756 | esac |
7041 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7757 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7042 | (eval $ac_link) 2>conftest.er1 |
7758 | (eval "$ac_link") 2>conftest.er1 |
7043 | ac_status=$? |
7759 | ac_status=$? |
7044 | grep -v '^ *+' conftest.er1 >conftest.err |
7760 | grep -v '^ *+' conftest.er1 >conftest.err |
7045 | rm -f conftest.er1 |
7761 | rm -f conftest.er1 |
7046 | cat conftest.err >&5 |
7762 | cat conftest.err >&5 |
7047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7048 | (exit $ac_status); } && |
7764 | (exit $ac_status); } && { |
7049 | { ac_try='test -z "$ac_c_werror_flag" |
7765 | test -z "$ac_c_werror_flag" || |
7050 | || test ! -s conftest.err' |
7766 | test ! -s conftest.err |
7051 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7767 | } && test -s conftest$ac_exeext && |
7052 | (eval $ac_try) 2>&5 |
7768 | $as_test_x conftest$ac_exeext; then |
7053 | ac_status=$? |
|
|
7054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7055 | (exit $ac_status); }; } && |
|
|
7056 | { ac_try='test -s conftest$ac_exeext' |
|
|
7057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7058 | (eval $ac_try) 2>&5 |
|
|
7059 | ac_status=$? |
|
|
7060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7061 | (exit $ac_status); }; }; then |
|
|
7062 | |
7769 | |
7063 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7770 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7064 | }'` |
7771 | }'` |
7065 | # Check for a 64-bit object if we didn't find anything. |
7772 | # Check for a 64-bit object if we didn't find anything. |
7066 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7773 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7067 | }'`; fi |
7774 | }'`; fi |
7068 | else |
7775 | else |
7069 | echo "$as_me: failed program was:" >&5 |
7776 | echo "$as_me: failed program was:" >&5 |
7070 | sed 's/^/| /' conftest.$ac_ext >&5 |
7777 | sed 's/^/| /' conftest.$ac_ext >&5 |
7071 | |
7778 | |
|
|
7779 | |
7072 | fi |
7780 | fi |
7073 | rm -f conftest.err conftest.$ac_objext \ |
7781 | |
|
|
7782 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7074 | conftest$ac_exeext conftest.$ac_ext |
7783 | conftest$ac_exeext conftest.$ac_ext |
7075 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7784 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7076 | |
7785 | |
7077 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7786 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7078 | archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
7787 | archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
… | |
… | |
7097 | ; |
7806 | ; |
7098 | return 0; |
7807 | return 0; |
7099 | } |
7808 | } |
7100 | _ACEOF |
7809 | _ACEOF |
7101 | rm -f conftest.$ac_objext conftest$ac_exeext |
7810 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
7811 | if { (ac_try="$ac_link" |
|
|
7812 | case "(($ac_try" in |
|
|
7813 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7814 | *) ac_try_echo=$ac_try;; |
|
|
7815 | esac |
7102 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7816 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
7103 | (eval $ac_link) 2>conftest.er1 |
7817 | (eval "$ac_link") 2>conftest.er1 |
7104 | ac_status=$? |
7818 | ac_status=$? |
7105 | grep -v '^ *+' conftest.er1 >conftest.err |
7819 | grep -v '^ *+' conftest.er1 >conftest.err |
7106 | rm -f conftest.er1 |
7820 | rm -f conftest.er1 |
7107 | cat conftest.err >&5 |
7821 | cat conftest.err >&5 |
7108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7822 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7109 | (exit $ac_status); } && |
7823 | (exit $ac_status); } && { |
7110 | { ac_try='test -z "$ac_c_werror_flag" |
7824 | test -z "$ac_c_werror_flag" || |
7111 | || test ! -s conftest.err' |
7825 | test ! -s conftest.err |
7112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7826 | } && test -s conftest$ac_exeext && |
7113 | (eval $ac_try) 2>&5 |
7827 | $as_test_x conftest$ac_exeext; then |
7114 | ac_status=$? |
|
|
7115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7116 | (exit $ac_status); }; } && |
|
|
7117 | { ac_try='test -s conftest$ac_exeext' |
|
|
7118 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
7119 | (eval $ac_try) 2>&5 |
|
|
7120 | ac_status=$? |
|
|
7121 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7122 | (exit $ac_status); }; }; then |
|
|
7123 | |
7828 | |
7124 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7829 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7125 | }'` |
7830 | }'` |
7126 | # Check for a 64-bit object if we didn't find anything. |
7831 | # Check for a 64-bit object if we didn't find anything. |
7127 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7832 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
7128 | }'`; fi |
7833 | }'`; fi |
7129 | else |
7834 | else |
7130 | echo "$as_me: failed program was:" >&5 |
7835 | echo "$as_me: failed program was:" >&5 |
7131 | sed 's/^/| /' conftest.$ac_ext >&5 |
7836 | sed 's/^/| /' conftest.$ac_ext >&5 |
7132 | |
7837 | |
|
|
7838 | |
7133 | fi |
7839 | fi |
7134 | rm -f conftest.err conftest.$ac_objext \ |
7840 | |
|
|
7841 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
7135 | conftest$ac_exeext conftest.$ac_ext |
7842 | conftest$ac_exeext conftest.$ac_ext |
7136 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7843 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
7137 | |
7844 | |
7138 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7845 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
7139 | # Warning - without using the other run time loading flags, |
7846 | # Warning - without using the other run time loading flags, |
… | |
… | |
7551 | ld_shlibs=no |
8258 | ld_shlibs=no |
7552 | ;; |
8259 | ;; |
7553 | esac |
8260 | esac |
7554 | fi |
8261 | fi |
7555 | |
8262 | |
7556 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
8263 | { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 |
7557 | echo "${ECHO_T}$ld_shlibs" >&6 |
8264 | echo "${ECHO_T}$ld_shlibs" >&6; } |
7558 | test "$ld_shlibs" = no && can_build_shared=no |
8265 | test "$ld_shlibs" = no && can_build_shared=no |
7559 | |
8266 | |
7560 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
8267 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
7561 | if test "$GCC" = yes; then |
8268 | if test "$GCC" = yes; then |
7562 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
8269 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
… | |
… | |
7577 | ;; |
8284 | ;; |
7578 | '$CC '*) |
8285 | '$CC '*) |
7579 | # Test whether the compiler implicitly links with -lc since on some |
8286 | # Test whether the compiler implicitly links with -lc since on some |
7580 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
8287 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
7581 | # to ld, don't add -lc before -lgcc. |
8288 | # to ld, don't add -lc before -lgcc. |
7582 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
8289 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
7583 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
8290 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
7584 | $rm conftest* |
8291 | $rm conftest* |
7585 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
8292 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
7586 | |
8293 | |
7587 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8294 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7588 | (eval $ac_compile) 2>&5 |
8295 | (eval $ac_compile) 2>&5 |
… | |
… | |
7614 | allow_undefined_flag=$lt_save_allow_undefined_flag |
8321 | allow_undefined_flag=$lt_save_allow_undefined_flag |
7615 | else |
8322 | else |
7616 | cat conftest.err 1>&5 |
8323 | cat conftest.err 1>&5 |
7617 | fi |
8324 | fi |
7618 | $rm conftest* |
8325 | $rm conftest* |
7619 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
8326 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 |
7620 | echo "${ECHO_T}$archive_cmds_need_lc" >&6 |
8327 | echo "${ECHO_T}$archive_cmds_need_lc" >&6; } |
7621 | ;; |
8328 | ;; |
7622 | esac |
8329 | esac |
7623 | fi |
8330 | fi |
7624 | ;; |
8331 | ;; |
7625 | esac |
8332 | esac |
7626 | |
8333 | |
7627 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
8334 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
7628 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
8335 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
7629 | library_names_spec= |
8336 | library_names_spec= |
7630 | libname_spec='lib$name' |
8337 | libname_spec='lib$name' |
7631 | soname_spec= |
8338 | soname_spec= |
7632 | shrext=".so" |
8339 | shrext=".so" |
7633 | postinstall_cmds= |
8340 | postinstall_cmds= |
… | |
… | |
8162 | |
8869 | |
8163 | *) |
8870 | *) |
8164 | dynamic_linker=no |
8871 | dynamic_linker=no |
8165 | ;; |
8872 | ;; |
8166 | esac |
8873 | esac |
8167 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
8874 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
8168 | echo "${ECHO_T}$dynamic_linker" >&6 |
8875 | echo "${ECHO_T}$dynamic_linker" >&6; } |
8169 | test "$dynamic_linker" = no && can_build_shared=no |
8876 | test "$dynamic_linker" = no && can_build_shared=no |
8170 | |
8877 | |
8171 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
8878 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
8172 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
8879 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
8173 | hardcode_action= |
8880 | hardcode_action= |
8174 | if test -n "$hardcode_libdir_flag_spec" || \ |
8881 | if test -n "$hardcode_libdir_flag_spec" || \ |
8175 | test -n "$runpath_var " || \ |
8882 | test -n "$runpath_var " || \ |
8176 | test "X$hardcode_automatic"="Xyes" ; then |
8883 | test "X$hardcode_automatic"="Xyes" ; then |
8177 | |
8884 | |
… | |
… | |
8191 | else |
8898 | else |
8192 | # We cannot hardcode anything, or else we can only hardcode existing |
8899 | # We cannot hardcode anything, or else we can only hardcode existing |
8193 | # directories. |
8900 | # directories. |
8194 | hardcode_action=unsupported |
8901 | hardcode_action=unsupported |
8195 | fi |
8902 | fi |
8196 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
8903 | { echo "$as_me:$LINENO: result: $hardcode_action" >&5 |
8197 | echo "${ECHO_T}$hardcode_action" >&6 |
8904 | echo "${ECHO_T}$hardcode_action" >&6; } |
8198 | |
8905 | |
8199 | if test "$hardcode_action" = relink; then |
8906 | if test "$hardcode_action" = relink; then |
8200 | # Fast installation is not supported |
8907 | # Fast installation is not supported |
8201 | enable_fast_install=no |
8908 | enable_fast_install=no |
8202 | elif test "$shlibpath_overrides_runpath" = yes || |
8909 | elif test "$shlibpath_overrides_runpath" = yes || |
… | |
… | |
8205 | enable_fast_install=needless |
8912 | enable_fast_install=needless |
8206 | fi |
8913 | fi |
8207 | |
8914 | |
8208 | striplib= |
8915 | striplib= |
8209 | old_striplib= |
8916 | old_striplib= |
8210 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
8917 | { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
8211 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
8918 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } |
8212 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
8919 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
8213 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
8920 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
8214 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
8921 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
8215 | echo "$as_me:$LINENO: result: yes" >&5 |
8922 | { echo "$as_me:$LINENO: result: yes" >&5 |
8216 | echo "${ECHO_T}yes" >&6 |
8923 | echo "${ECHO_T}yes" >&6; } |
8217 | else |
8924 | else |
8218 | # FIXME - insert some real tests, host_os isn't really good enough |
8925 | # FIXME - insert some real tests, host_os isn't really good enough |
8219 | case $host_os in |
8926 | case $host_os in |
8220 | darwin*) |
8927 | darwin*) |
8221 | if test -n "$STRIP" ; then |
8928 | if test -n "$STRIP" ; then |
8222 | striplib="$STRIP -x" |
8929 | striplib="$STRIP -x" |
8223 | echo "$as_me:$LINENO: result: yes" >&5 |
8930 | { echo "$as_me:$LINENO: result: yes" >&5 |
8224 | echo "${ECHO_T}yes" >&6 |
8931 | echo "${ECHO_T}yes" >&6; } |
8225 | else |
8932 | else |
8226 | echo "$as_me:$LINENO: result: no" >&5 |
8933 | { echo "$as_me:$LINENO: result: no" >&5 |
8227 | echo "${ECHO_T}no" >&6 |
8934 | echo "${ECHO_T}no" >&6; } |
8228 | fi |
8935 | fi |
8229 | ;; |
8936 | ;; |
8230 | *) |
8937 | *) |
8231 | echo "$as_me:$LINENO: result: no" >&5 |
8938 | { echo "$as_me:$LINENO: result: no" >&5 |
8232 | echo "${ECHO_T}no" >&6 |
8939 | echo "${ECHO_T}no" >&6; } |
8233 | ;; |
8940 | ;; |
8234 | esac |
8941 | esac |
8235 | fi |
8942 | fi |
8236 | |
8943 | |
8237 | if test "x$enable_dlopen" != xyes; then |
8944 | if test "x$enable_dlopen" != xyes; then |
… | |
… | |
8259 | lt_cv_dlopen_libs= |
8966 | lt_cv_dlopen_libs= |
8260 | ;; |
8967 | ;; |
8261 | |
8968 | |
8262 | darwin*) |
8969 | darwin*) |
8263 | # if libdl is installed we need to link against it |
8970 | # if libdl is installed we need to link against it |
8264 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
8971 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
8265 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
8972 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
8266 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
8973 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
8267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8974 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8268 | else |
8975 | else |
8269 | ac_check_lib_save_LIBS=$LIBS |
8976 | ac_check_lib_save_LIBS=$LIBS |
8270 | LIBS="-ldl $LIBS" |
8977 | LIBS="-ldl $LIBS" |
… | |
… | |
8273 | _ACEOF |
8980 | _ACEOF |
8274 | cat confdefs.h >>conftest.$ac_ext |
8981 | cat confdefs.h >>conftest.$ac_ext |
8275 | cat >>conftest.$ac_ext <<_ACEOF |
8982 | cat >>conftest.$ac_ext <<_ACEOF |
8276 | /* end confdefs.h. */ |
8983 | /* end confdefs.h. */ |
8277 | |
8984 | |
8278 | /* Override any gcc2 internal prototype to avoid an error. */ |
8985 | /* Override any GCC internal prototype to avoid an error. |
|
|
8986 | Use char because int might match the return type of a GCC |
|
|
8987 | builtin and then its argument prototype would still apply. */ |
8279 | #ifdef __cplusplus |
8988 | #ifdef __cplusplus |
8280 | extern "C" |
8989 | extern "C" |
8281 | #endif |
8990 | #endif |
8282 | /* We use char because int might match the return type of a gcc2 |
|
|
8283 | builtin and then its argument prototype would still apply. */ |
|
|
8284 | char dlopen (); |
8991 | char dlopen (); |
8285 | int |
8992 | int |
8286 | main () |
8993 | main () |
8287 | { |
8994 | { |
8288 | dlopen (); |
8995 | return dlopen (); |
8289 | ; |
8996 | ; |
8290 | return 0; |
8997 | return 0; |
8291 | } |
8998 | } |
8292 | _ACEOF |
8999 | _ACEOF |
8293 | rm -f conftest.$ac_objext conftest$ac_exeext |
9000 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9001 | if { (ac_try="$ac_link" |
|
|
9002 | case "(($ac_try" in |
|
|
9003 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9004 | *) ac_try_echo=$ac_try;; |
|
|
9005 | esac |
8294 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9006 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8295 | (eval $ac_link) 2>conftest.er1 |
9007 | (eval "$ac_link") 2>conftest.er1 |
8296 | ac_status=$? |
9008 | ac_status=$? |
8297 | grep -v '^ *+' conftest.er1 >conftest.err |
9009 | grep -v '^ *+' conftest.er1 >conftest.err |
8298 | rm -f conftest.er1 |
9010 | rm -f conftest.er1 |
8299 | cat conftest.err >&5 |
9011 | cat conftest.err >&5 |
8300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9012 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8301 | (exit $ac_status); } && |
9013 | (exit $ac_status); } && { |
8302 | { ac_try='test -z "$ac_c_werror_flag" |
9014 | test -z "$ac_c_werror_flag" || |
8303 | || test ! -s conftest.err' |
9015 | test ! -s conftest.err |
8304 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9016 | } && test -s conftest$ac_exeext && |
8305 | (eval $ac_try) 2>&5 |
9017 | $as_test_x conftest$ac_exeext; then |
8306 | ac_status=$? |
|
|
8307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8308 | (exit $ac_status); }; } && |
|
|
8309 | { ac_try='test -s conftest$ac_exeext' |
|
|
8310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8311 | (eval $ac_try) 2>&5 |
|
|
8312 | ac_status=$? |
|
|
8313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8314 | (exit $ac_status); }; }; then |
|
|
8315 | ac_cv_lib_dl_dlopen=yes |
9018 | ac_cv_lib_dl_dlopen=yes |
8316 | else |
9019 | else |
8317 | echo "$as_me: failed program was:" >&5 |
9020 | echo "$as_me: failed program was:" >&5 |
8318 | sed 's/^/| /' conftest.$ac_ext >&5 |
9021 | sed 's/^/| /' conftest.$ac_ext >&5 |
8319 | |
9022 | |
8320 | ac_cv_lib_dl_dlopen=no |
9023 | ac_cv_lib_dl_dlopen=no |
8321 | fi |
9024 | fi |
8322 | rm -f conftest.err conftest.$ac_objext \ |
9025 | |
|
|
9026 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8323 | conftest$ac_exeext conftest.$ac_ext |
9027 | conftest$ac_exeext conftest.$ac_ext |
8324 | LIBS=$ac_check_lib_save_LIBS |
9028 | LIBS=$ac_check_lib_save_LIBS |
8325 | fi |
9029 | fi |
8326 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9030 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8327 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9031 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
8328 | if test $ac_cv_lib_dl_dlopen = yes; then |
9032 | if test $ac_cv_lib_dl_dlopen = yes; then |
8329 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
9033 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
8330 | else |
9034 | else |
8331 | |
9035 | |
8332 | lt_cv_dlopen="dyld" |
9036 | lt_cv_dlopen="dyld" |
… | |
… | |
8336 | fi |
9040 | fi |
8337 | |
9041 | |
8338 | ;; |
9042 | ;; |
8339 | |
9043 | |
8340 | *) |
9044 | *) |
8341 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
9045 | { echo "$as_me:$LINENO: checking for shl_load" >&5 |
8342 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
9046 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } |
8343 | if test "${ac_cv_func_shl_load+set}" = set; then |
9047 | if test "${ac_cv_func_shl_load+set}" = set; then |
8344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9048 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8345 | else |
9049 | else |
8346 | cat >conftest.$ac_ext <<_ACEOF |
9050 | cat >conftest.$ac_ext <<_ACEOF |
8347 | /* confdefs.h. */ |
9051 | /* confdefs.h. */ |
… | |
… | |
8364 | # include <assert.h> |
9068 | # include <assert.h> |
8365 | #endif |
9069 | #endif |
8366 | |
9070 | |
8367 | #undef shl_load |
9071 | #undef shl_load |
8368 | |
9072 | |
8369 | /* Override any gcc2 internal prototype to avoid an error. */ |
9073 | /* Override any GCC internal prototype to avoid an error. |
|
|
9074 | Use char because int might match the return type of a GCC |
|
|
9075 | builtin and then its argument prototype would still apply. */ |
8370 | #ifdef __cplusplus |
9076 | #ifdef __cplusplus |
8371 | extern "C" |
9077 | extern "C" |
8372 | { |
|
|
8373 | #endif |
9078 | #endif |
8374 | /* We use char because int might match the return type of a gcc2 |
|
|
8375 | builtin and then its argument prototype would still apply. */ |
|
|
8376 | char shl_load (); |
9079 | char shl_load (); |
8377 | /* The GNU C library defines this for functions which it implements |
9080 | /* The GNU C library defines this for functions which it implements |
8378 | to always fail with ENOSYS. Some functions are actually named |
9081 | to always fail with ENOSYS. Some functions are actually named |
8379 | something starting with __ and the normal name is an alias. */ |
9082 | something starting with __ and the normal name is an alias. */ |
8380 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
9083 | #if defined __stub_shl_load || defined __stub___shl_load |
8381 | choke me |
9084 | choke me |
8382 | #else |
|
|
8383 | char (*f) () = shl_load; |
|
|
8384 | #endif |
|
|
8385 | #ifdef __cplusplus |
|
|
8386 | } |
|
|
8387 | #endif |
9085 | #endif |
8388 | |
9086 | |
8389 | int |
9087 | int |
8390 | main () |
9088 | main () |
8391 | { |
9089 | { |
8392 | return f != shl_load; |
9090 | return shl_load (); |
8393 | ; |
9091 | ; |
8394 | return 0; |
9092 | return 0; |
8395 | } |
9093 | } |
8396 | _ACEOF |
9094 | _ACEOF |
8397 | rm -f conftest.$ac_objext conftest$ac_exeext |
9095 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9096 | if { (ac_try="$ac_link" |
|
|
9097 | case "(($ac_try" in |
|
|
9098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9099 | *) ac_try_echo=$ac_try;; |
|
|
9100 | esac |
8398 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9101 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8399 | (eval $ac_link) 2>conftest.er1 |
9102 | (eval "$ac_link") 2>conftest.er1 |
8400 | ac_status=$? |
9103 | ac_status=$? |
8401 | grep -v '^ *+' conftest.er1 >conftest.err |
9104 | grep -v '^ *+' conftest.er1 >conftest.err |
8402 | rm -f conftest.er1 |
9105 | rm -f conftest.er1 |
8403 | cat conftest.err >&5 |
9106 | cat conftest.err >&5 |
8404 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8405 | (exit $ac_status); } && |
9108 | (exit $ac_status); } && { |
8406 | { ac_try='test -z "$ac_c_werror_flag" |
9109 | test -z "$ac_c_werror_flag" || |
8407 | || test ! -s conftest.err' |
9110 | test ! -s conftest.err |
8408 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9111 | } && test -s conftest$ac_exeext && |
8409 | (eval $ac_try) 2>&5 |
9112 | $as_test_x conftest$ac_exeext; then |
8410 | ac_status=$? |
|
|
8411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8412 | (exit $ac_status); }; } && |
|
|
8413 | { ac_try='test -s conftest$ac_exeext' |
|
|
8414 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8415 | (eval $ac_try) 2>&5 |
|
|
8416 | ac_status=$? |
|
|
8417 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8418 | (exit $ac_status); }; }; then |
|
|
8419 | ac_cv_func_shl_load=yes |
9113 | ac_cv_func_shl_load=yes |
8420 | else |
9114 | else |
8421 | echo "$as_me: failed program was:" >&5 |
9115 | echo "$as_me: failed program was:" >&5 |
8422 | sed 's/^/| /' conftest.$ac_ext >&5 |
9116 | sed 's/^/| /' conftest.$ac_ext >&5 |
8423 | |
9117 | |
8424 | ac_cv_func_shl_load=no |
9118 | ac_cv_func_shl_load=no |
8425 | fi |
9119 | fi |
8426 | rm -f conftest.err conftest.$ac_objext \ |
9120 | |
|
|
9121 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8427 | conftest$ac_exeext conftest.$ac_ext |
9122 | conftest$ac_exeext conftest.$ac_ext |
8428 | fi |
9123 | fi |
8429 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
9124 | { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
8430 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
9125 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } |
8431 | if test $ac_cv_func_shl_load = yes; then |
9126 | if test $ac_cv_func_shl_load = yes; then |
8432 | lt_cv_dlopen="shl_load" |
9127 | lt_cv_dlopen="shl_load" |
8433 | else |
9128 | else |
8434 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
9129 | { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
8435 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
9130 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } |
8436 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
9131 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
8437 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9132 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8438 | else |
9133 | else |
8439 | ac_check_lib_save_LIBS=$LIBS |
9134 | ac_check_lib_save_LIBS=$LIBS |
8440 | LIBS="-ldld $LIBS" |
9135 | LIBS="-ldld $LIBS" |
… | |
… | |
8443 | _ACEOF |
9138 | _ACEOF |
8444 | cat confdefs.h >>conftest.$ac_ext |
9139 | cat confdefs.h >>conftest.$ac_ext |
8445 | cat >>conftest.$ac_ext <<_ACEOF |
9140 | cat >>conftest.$ac_ext <<_ACEOF |
8446 | /* end confdefs.h. */ |
9141 | /* end confdefs.h. */ |
8447 | |
9142 | |
8448 | /* Override any gcc2 internal prototype to avoid an error. */ |
9143 | /* Override any GCC internal prototype to avoid an error. |
|
|
9144 | Use char because int might match the return type of a GCC |
|
|
9145 | builtin and then its argument prototype would still apply. */ |
8449 | #ifdef __cplusplus |
9146 | #ifdef __cplusplus |
8450 | extern "C" |
9147 | extern "C" |
8451 | #endif |
9148 | #endif |
8452 | /* We use char because int might match the return type of a gcc2 |
|
|
8453 | builtin and then its argument prototype would still apply. */ |
|
|
8454 | char shl_load (); |
9149 | char shl_load (); |
8455 | int |
9150 | int |
8456 | main () |
9151 | main () |
8457 | { |
9152 | { |
8458 | shl_load (); |
9153 | return shl_load (); |
8459 | ; |
9154 | ; |
8460 | return 0; |
9155 | return 0; |
8461 | } |
9156 | } |
8462 | _ACEOF |
9157 | _ACEOF |
8463 | rm -f conftest.$ac_objext conftest$ac_exeext |
9158 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9159 | if { (ac_try="$ac_link" |
|
|
9160 | case "(($ac_try" in |
|
|
9161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9162 | *) ac_try_echo=$ac_try;; |
|
|
9163 | esac |
8464 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8465 | (eval $ac_link) 2>conftest.er1 |
9165 | (eval "$ac_link") 2>conftest.er1 |
8466 | ac_status=$? |
9166 | ac_status=$? |
8467 | grep -v '^ *+' conftest.er1 >conftest.err |
9167 | grep -v '^ *+' conftest.er1 >conftest.err |
8468 | rm -f conftest.er1 |
9168 | rm -f conftest.er1 |
8469 | cat conftest.err >&5 |
9169 | cat conftest.err >&5 |
8470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8471 | (exit $ac_status); } && |
9171 | (exit $ac_status); } && { |
8472 | { ac_try='test -z "$ac_c_werror_flag" |
9172 | test -z "$ac_c_werror_flag" || |
8473 | || test ! -s conftest.err' |
9173 | test ! -s conftest.err |
8474 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9174 | } && test -s conftest$ac_exeext && |
8475 | (eval $ac_try) 2>&5 |
9175 | $as_test_x conftest$ac_exeext; then |
8476 | ac_status=$? |
|
|
8477 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8478 | (exit $ac_status); }; } && |
|
|
8479 | { ac_try='test -s conftest$ac_exeext' |
|
|
8480 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8481 | (eval $ac_try) 2>&5 |
|
|
8482 | ac_status=$? |
|
|
8483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8484 | (exit $ac_status); }; }; then |
|
|
8485 | ac_cv_lib_dld_shl_load=yes |
9176 | ac_cv_lib_dld_shl_load=yes |
8486 | else |
9177 | else |
8487 | echo "$as_me: failed program was:" >&5 |
9178 | echo "$as_me: failed program was:" >&5 |
8488 | sed 's/^/| /' conftest.$ac_ext >&5 |
9179 | sed 's/^/| /' conftest.$ac_ext >&5 |
8489 | |
9180 | |
8490 | ac_cv_lib_dld_shl_load=no |
9181 | ac_cv_lib_dld_shl_load=no |
8491 | fi |
9182 | fi |
8492 | rm -f conftest.err conftest.$ac_objext \ |
9183 | |
|
|
9184 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8493 | conftest$ac_exeext conftest.$ac_ext |
9185 | conftest$ac_exeext conftest.$ac_ext |
8494 | LIBS=$ac_check_lib_save_LIBS |
9186 | LIBS=$ac_check_lib_save_LIBS |
8495 | fi |
9187 | fi |
8496 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
9188 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
8497 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
9189 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
8498 | if test $ac_cv_lib_dld_shl_load = yes; then |
9190 | if test $ac_cv_lib_dld_shl_load = yes; then |
8499 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
9191 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
8500 | else |
9192 | else |
8501 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
9193 | { echo "$as_me:$LINENO: checking for dlopen" >&5 |
8502 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
9194 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
8503 | if test "${ac_cv_func_dlopen+set}" = set; then |
9195 | if test "${ac_cv_func_dlopen+set}" = set; then |
8504 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9196 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8505 | else |
9197 | else |
8506 | cat >conftest.$ac_ext <<_ACEOF |
9198 | cat >conftest.$ac_ext <<_ACEOF |
8507 | /* confdefs.h. */ |
9199 | /* confdefs.h. */ |
… | |
… | |
8524 | # include <assert.h> |
9216 | # include <assert.h> |
8525 | #endif |
9217 | #endif |
8526 | |
9218 | |
8527 | #undef dlopen |
9219 | #undef dlopen |
8528 | |
9220 | |
8529 | /* Override any gcc2 internal prototype to avoid an error. */ |
9221 | /* Override any GCC internal prototype to avoid an error. |
|
|
9222 | Use char because int might match the return type of a GCC |
|
|
9223 | builtin and then its argument prototype would still apply. */ |
8530 | #ifdef __cplusplus |
9224 | #ifdef __cplusplus |
8531 | extern "C" |
9225 | extern "C" |
8532 | { |
|
|
8533 | #endif |
9226 | #endif |
8534 | /* We use char because int might match the return type of a gcc2 |
|
|
8535 | builtin and then its argument prototype would still apply. */ |
|
|
8536 | char dlopen (); |
9227 | char dlopen (); |
8537 | /* The GNU C library defines this for functions which it implements |
9228 | /* The GNU C library defines this for functions which it implements |
8538 | to always fail with ENOSYS. Some functions are actually named |
9229 | to always fail with ENOSYS. Some functions are actually named |
8539 | something starting with __ and the normal name is an alias. */ |
9230 | something starting with __ and the normal name is an alias. */ |
8540 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
9231 | #if defined __stub_dlopen || defined __stub___dlopen |
8541 | choke me |
9232 | choke me |
8542 | #else |
|
|
8543 | char (*f) () = dlopen; |
|
|
8544 | #endif |
|
|
8545 | #ifdef __cplusplus |
|
|
8546 | } |
|
|
8547 | #endif |
9233 | #endif |
8548 | |
9234 | |
8549 | int |
9235 | int |
8550 | main () |
9236 | main () |
8551 | { |
9237 | { |
8552 | return f != dlopen; |
9238 | return dlopen (); |
8553 | ; |
9239 | ; |
8554 | return 0; |
9240 | return 0; |
8555 | } |
9241 | } |
8556 | _ACEOF |
9242 | _ACEOF |
8557 | rm -f conftest.$ac_objext conftest$ac_exeext |
9243 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9244 | if { (ac_try="$ac_link" |
|
|
9245 | case "(($ac_try" in |
|
|
9246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9247 | *) ac_try_echo=$ac_try;; |
|
|
9248 | esac |
8558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8559 | (eval $ac_link) 2>conftest.er1 |
9250 | (eval "$ac_link") 2>conftest.er1 |
8560 | ac_status=$? |
9251 | ac_status=$? |
8561 | grep -v '^ *+' conftest.er1 >conftest.err |
9252 | grep -v '^ *+' conftest.er1 >conftest.err |
8562 | rm -f conftest.er1 |
9253 | rm -f conftest.er1 |
8563 | cat conftest.err >&5 |
9254 | cat conftest.err >&5 |
8564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8565 | (exit $ac_status); } && |
9256 | (exit $ac_status); } && { |
8566 | { ac_try='test -z "$ac_c_werror_flag" |
9257 | test -z "$ac_c_werror_flag" || |
8567 | || test ! -s conftest.err' |
9258 | test ! -s conftest.err |
8568 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9259 | } && test -s conftest$ac_exeext && |
8569 | (eval $ac_try) 2>&5 |
9260 | $as_test_x conftest$ac_exeext; then |
8570 | ac_status=$? |
|
|
8571 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8572 | (exit $ac_status); }; } && |
|
|
8573 | { ac_try='test -s conftest$ac_exeext' |
|
|
8574 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8575 | (eval $ac_try) 2>&5 |
|
|
8576 | ac_status=$? |
|
|
8577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8578 | (exit $ac_status); }; }; then |
|
|
8579 | ac_cv_func_dlopen=yes |
9261 | ac_cv_func_dlopen=yes |
8580 | else |
9262 | else |
8581 | echo "$as_me: failed program was:" >&5 |
9263 | echo "$as_me: failed program was:" >&5 |
8582 | sed 's/^/| /' conftest.$ac_ext >&5 |
9264 | sed 's/^/| /' conftest.$ac_ext >&5 |
8583 | |
9265 | |
8584 | ac_cv_func_dlopen=no |
9266 | ac_cv_func_dlopen=no |
8585 | fi |
9267 | fi |
8586 | rm -f conftest.err conftest.$ac_objext \ |
9268 | |
|
|
9269 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8587 | conftest$ac_exeext conftest.$ac_ext |
9270 | conftest$ac_exeext conftest.$ac_ext |
8588 | fi |
9271 | fi |
8589 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
9272 | { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
8590 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
9273 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } |
8591 | if test $ac_cv_func_dlopen = yes; then |
9274 | if test $ac_cv_func_dlopen = yes; then |
8592 | lt_cv_dlopen="dlopen" |
9275 | lt_cv_dlopen="dlopen" |
8593 | else |
9276 | else |
8594 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
9277 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
8595 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
9278 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
8596 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
9279 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
8597 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9280 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8598 | else |
9281 | else |
8599 | ac_check_lib_save_LIBS=$LIBS |
9282 | ac_check_lib_save_LIBS=$LIBS |
8600 | LIBS="-ldl $LIBS" |
9283 | LIBS="-ldl $LIBS" |
… | |
… | |
8603 | _ACEOF |
9286 | _ACEOF |
8604 | cat confdefs.h >>conftest.$ac_ext |
9287 | cat confdefs.h >>conftest.$ac_ext |
8605 | cat >>conftest.$ac_ext <<_ACEOF |
9288 | cat >>conftest.$ac_ext <<_ACEOF |
8606 | /* end confdefs.h. */ |
9289 | /* end confdefs.h. */ |
8607 | |
9290 | |
8608 | /* Override any gcc2 internal prototype to avoid an error. */ |
9291 | /* Override any GCC internal prototype to avoid an error. |
|
|
9292 | Use char because int might match the return type of a GCC |
|
|
9293 | builtin and then its argument prototype would still apply. */ |
8609 | #ifdef __cplusplus |
9294 | #ifdef __cplusplus |
8610 | extern "C" |
9295 | extern "C" |
8611 | #endif |
9296 | #endif |
8612 | /* We use char because int might match the return type of a gcc2 |
|
|
8613 | builtin and then its argument prototype would still apply. */ |
|
|
8614 | char dlopen (); |
9297 | char dlopen (); |
8615 | int |
9298 | int |
8616 | main () |
9299 | main () |
8617 | { |
9300 | { |
8618 | dlopen (); |
9301 | return dlopen (); |
8619 | ; |
9302 | ; |
8620 | return 0; |
9303 | return 0; |
8621 | } |
9304 | } |
8622 | _ACEOF |
9305 | _ACEOF |
8623 | rm -f conftest.$ac_objext conftest$ac_exeext |
9306 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9307 | if { (ac_try="$ac_link" |
|
|
9308 | case "(($ac_try" in |
|
|
9309 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9310 | *) ac_try_echo=$ac_try;; |
|
|
9311 | esac |
8624 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9312 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8625 | (eval $ac_link) 2>conftest.er1 |
9313 | (eval "$ac_link") 2>conftest.er1 |
8626 | ac_status=$? |
9314 | ac_status=$? |
8627 | grep -v '^ *+' conftest.er1 >conftest.err |
9315 | grep -v '^ *+' conftest.er1 >conftest.err |
8628 | rm -f conftest.er1 |
9316 | rm -f conftest.er1 |
8629 | cat conftest.err >&5 |
9317 | cat conftest.err >&5 |
8630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9318 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8631 | (exit $ac_status); } && |
9319 | (exit $ac_status); } && { |
8632 | { ac_try='test -z "$ac_c_werror_flag" |
9320 | test -z "$ac_c_werror_flag" || |
8633 | || test ! -s conftest.err' |
9321 | test ! -s conftest.err |
8634 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9322 | } && test -s conftest$ac_exeext && |
8635 | (eval $ac_try) 2>&5 |
9323 | $as_test_x conftest$ac_exeext; then |
8636 | ac_status=$? |
|
|
8637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8638 | (exit $ac_status); }; } && |
|
|
8639 | { ac_try='test -s conftest$ac_exeext' |
|
|
8640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8641 | (eval $ac_try) 2>&5 |
|
|
8642 | ac_status=$? |
|
|
8643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8644 | (exit $ac_status); }; }; then |
|
|
8645 | ac_cv_lib_dl_dlopen=yes |
9324 | ac_cv_lib_dl_dlopen=yes |
8646 | else |
9325 | else |
8647 | echo "$as_me: failed program was:" >&5 |
9326 | echo "$as_me: failed program was:" >&5 |
8648 | sed 's/^/| /' conftest.$ac_ext >&5 |
9327 | sed 's/^/| /' conftest.$ac_ext >&5 |
8649 | |
9328 | |
8650 | ac_cv_lib_dl_dlopen=no |
9329 | ac_cv_lib_dl_dlopen=no |
8651 | fi |
9330 | fi |
8652 | rm -f conftest.err conftest.$ac_objext \ |
9331 | |
|
|
9332 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8653 | conftest$ac_exeext conftest.$ac_ext |
9333 | conftest$ac_exeext conftest.$ac_ext |
8654 | LIBS=$ac_check_lib_save_LIBS |
9334 | LIBS=$ac_check_lib_save_LIBS |
8655 | fi |
9335 | fi |
8656 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
9336 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
8657 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
9337 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
8658 | if test $ac_cv_lib_dl_dlopen = yes; then |
9338 | if test $ac_cv_lib_dl_dlopen = yes; then |
8659 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
9339 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
8660 | else |
9340 | else |
8661 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
9341 | { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
8662 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
9342 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } |
8663 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
9343 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
8664 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9344 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8665 | else |
9345 | else |
8666 | ac_check_lib_save_LIBS=$LIBS |
9346 | ac_check_lib_save_LIBS=$LIBS |
8667 | LIBS="-lsvld $LIBS" |
9347 | LIBS="-lsvld $LIBS" |
… | |
… | |
8670 | _ACEOF |
9350 | _ACEOF |
8671 | cat confdefs.h >>conftest.$ac_ext |
9351 | cat confdefs.h >>conftest.$ac_ext |
8672 | cat >>conftest.$ac_ext <<_ACEOF |
9352 | cat >>conftest.$ac_ext <<_ACEOF |
8673 | /* end confdefs.h. */ |
9353 | /* end confdefs.h. */ |
8674 | |
9354 | |
8675 | /* Override any gcc2 internal prototype to avoid an error. */ |
9355 | /* Override any GCC internal prototype to avoid an error. |
|
|
9356 | Use char because int might match the return type of a GCC |
|
|
9357 | builtin and then its argument prototype would still apply. */ |
8676 | #ifdef __cplusplus |
9358 | #ifdef __cplusplus |
8677 | extern "C" |
9359 | extern "C" |
8678 | #endif |
9360 | #endif |
8679 | /* We use char because int might match the return type of a gcc2 |
|
|
8680 | builtin and then its argument prototype would still apply. */ |
|
|
8681 | char dlopen (); |
9361 | char dlopen (); |
8682 | int |
9362 | int |
8683 | main () |
9363 | main () |
8684 | { |
9364 | { |
8685 | dlopen (); |
9365 | return dlopen (); |
8686 | ; |
9366 | ; |
8687 | return 0; |
9367 | return 0; |
8688 | } |
9368 | } |
8689 | _ACEOF |
9369 | _ACEOF |
8690 | rm -f conftest.$ac_objext conftest$ac_exeext |
9370 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9371 | if { (ac_try="$ac_link" |
|
|
9372 | case "(($ac_try" in |
|
|
9373 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9374 | *) ac_try_echo=$ac_try;; |
|
|
9375 | esac |
8691 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9376 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8692 | (eval $ac_link) 2>conftest.er1 |
9377 | (eval "$ac_link") 2>conftest.er1 |
8693 | ac_status=$? |
9378 | ac_status=$? |
8694 | grep -v '^ *+' conftest.er1 >conftest.err |
9379 | grep -v '^ *+' conftest.er1 >conftest.err |
8695 | rm -f conftest.er1 |
9380 | rm -f conftest.er1 |
8696 | cat conftest.err >&5 |
9381 | cat conftest.err >&5 |
8697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9382 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8698 | (exit $ac_status); } && |
9383 | (exit $ac_status); } && { |
8699 | { ac_try='test -z "$ac_c_werror_flag" |
9384 | test -z "$ac_c_werror_flag" || |
8700 | || test ! -s conftest.err' |
9385 | test ! -s conftest.err |
8701 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9386 | } && test -s conftest$ac_exeext && |
8702 | (eval $ac_try) 2>&5 |
9387 | $as_test_x conftest$ac_exeext; then |
8703 | ac_status=$? |
|
|
8704 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8705 | (exit $ac_status); }; } && |
|
|
8706 | { ac_try='test -s conftest$ac_exeext' |
|
|
8707 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8708 | (eval $ac_try) 2>&5 |
|
|
8709 | ac_status=$? |
|
|
8710 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8711 | (exit $ac_status); }; }; then |
|
|
8712 | ac_cv_lib_svld_dlopen=yes |
9388 | ac_cv_lib_svld_dlopen=yes |
8713 | else |
9389 | else |
8714 | echo "$as_me: failed program was:" >&5 |
9390 | echo "$as_me: failed program was:" >&5 |
8715 | sed 's/^/| /' conftest.$ac_ext >&5 |
9391 | sed 's/^/| /' conftest.$ac_ext >&5 |
8716 | |
9392 | |
8717 | ac_cv_lib_svld_dlopen=no |
9393 | ac_cv_lib_svld_dlopen=no |
8718 | fi |
9394 | fi |
8719 | rm -f conftest.err conftest.$ac_objext \ |
9395 | |
|
|
9396 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8720 | conftest$ac_exeext conftest.$ac_ext |
9397 | conftest$ac_exeext conftest.$ac_ext |
8721 | LIBS=$ac_check_lib_save_LIBS |
9398 | LIBS=$ac_check_lib_save_LIBS |
8722 | fi |
9399 | fi |
8723 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
9400 | { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
8724 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
9401 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } |
8725 | if test $ac_cv_lib_svld_dlopen = yes; then |
9402 | if test $ac_cv_lib_svld_dlopen = yes; then |
8726 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
9403 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
8727 | else |
9404 | else |
8728 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
9405 | { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
8729 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
9406 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } |
8730 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
9407 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
8731 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9408 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8732 | else |
9409 | else |
8733 | ac_check_lib_save_LIBS=$LIBS |
9410 | ac_check_lib_save_LIBS=$LIBS |
8734 | LIBS="-ldld $LIBS" |
9411 | LIBS="-ldld $LIBS" |
… | |
… | |
8737 | _ACEOF |
9414 | _ACEOF |
8738 | cat confdefs.h >>conftest.$ac_ext |
9415 | cat confdefs.h >>conftest.$ac_ext |
8739 | cat >>conftest.$ac_ext <<_ACEOF |
9416 | cat >>conftest.$ac_ext <<_ACEOF |
8740 | /* end confdefs.h. */ |
9417 | /* end confdefs.h. */ |
8741 | |
9418 | |
8742 | /* Override any gcc2 internal prototype to avoid an error. */ |
9419 | /* Override any GCC internal prototype to avoid an error. |
|
|
9420 | Use char because int might match the return type of a GCC |
|
|
9421 | builtin and then its argument prototype would still apply. */ |
8743 | #ifdef __cplusplus |
9422 | #ifdef __cplusplus |
8744 | extern "C" |
9423 | extern "C" |
8745 | #endif |
9424 | #endif |
8746 | /* We use char because int might match the return type of a gcc2 |
|
|
8747 | builtin and then its argument prototype would still apply. */ |
|
|
8748 | char dld_link (); |
9425 | char dld_link (); |
8749 | int |
9426 | int |
8750 | main () |
9427 | main () |
8751 | { |
9428 | { |
8752 | dld_link (); |
9429 | return dld_link (); |
8753 | ; |
9430 | ; |
8754 | return 0; |
9431 | return 0; |
8755 | } |
9432 | } |
8756 | _ACEOF |
9433 | _ACEOF |
8757 | rm -f conftest.$ac_objext conftest$ac_exeext |
9434 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
9435 | if { (ac_try="$ac_link" |
|
|
9436 | case "(($ac_try" in |
|
|
9437 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9438 | *) ac_try_echo=$ac_try;; |
|
|
9439 | esac |
8758 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9440 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
8759 | (eval $ac_link) 2>conftest.er1 |
9441 | (eval "$ac_link") 2>conftest.er1 |
8760 | ac_status=$? |
9442 | ac_status=$? |
8761 | grep -v '^ *+' conftest.er1 >conftest.err |
9443 | grep -v '^ *+' conftest.er1 >conftest.err |
8762 | rm -f conftest.er1 |
9444 | rm -f conftest.er1 |
8763 | cat conftest.err >&5 |
9445 | cat conftest.err >&5 |
8764 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9446 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8765 | (exit $ac_status); } && |
9447 | (exit $ac_status); } && { |
8766 | { ac_try='test -z "$ac_c_werror_flag" |
9448 | test -z "$ac_c_werror_flag" || |
8767 | || test ! -s conftest.err' |
9449 | test ! -s conftest.err |
8768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9450 | } && test -s conftest$ac_exeext && |
8769 | (eval $ac_try) 2>&5 |
9451 | $as_test_x conftest$ac_exeext; then |
8770 | ac_status=$? |
|
|
8771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8772 | (exit $ac_status); }; } && |
|
|
8773 | { ac_try='test -s conftest$ac_exeext' |
|
|
8774 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
8775 | (eval $ac_try) 2>&5 |
|
|
8776 | ac_status=$? |
|
|
8777 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8778 | (exit $ac_status); }; }; then |
|
|
8779 | ac_cv_lib_dld_dld_link=yes |
9452 | ac_cv_lib_dld_dld_link=yes |
8780 | else |
9453 | else |
8781 | echo "$as_me: failed program was:" >&5 |
9454 | echo "$as_me: failed program was:" >&5 |
8782 | sed 's/^/| /' conftest.$ac_ext >&5 |
9455 | sed 's/^/| /' conftest.$ac_ext >&5 |
8783 | |
9456 | |
8784 | ac_cv_lib_dld_dld_link=no |
9457 | ac_cv_lib_dld_dld_link=no |
8785 | fi |
9458 | fi |
8786 | rm -f conftest.err conftest.$ac_objext \ |
9459 | |
|
|
9460 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
8787 | conftest$ac_exeext conftest.$ac_ext |
9461 | conftest$ac_exeext conftest.$ac_ext |
8788 | LIBS=$ac_check_lib_save_LIBS |
9462 | LIBS=$ac_check_lib_save_LIBS |
8789 | fi |
9463 | fi |
8790 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
9464 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
8791 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
9465 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
8792 | if test $ac_cv_lib_dld_dld_link = yes; then |
9466 | if test $ac_cv_lib_dld_dld_link = yes; then |
8793 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
9467 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
8794 | fi |
9468 | fi |
8795 | |
9469 | |
8796 | |
9470 | |
… | |
… | |
8826 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
9500 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
8827 | |
9501 | |
8828 | save_LIBS="$LIBS" |
9502 | save_LIBS="$LIBS" |
8829 | LIBS="$lt_cv_dlopen_libs $LIBS" |
9503 | LIBS="$lt_cv_dlopen_libs $LIBS" |
8830 | |
9504 | |
8831 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
9505 | { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
8832 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
9506 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } |
8833 | if test "${lt_cv_dlopen_self+set}" = set; then |
9507 | if test "${lt_cv_dlopen_self+set}" = set; then |
8834 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9508 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8835 | else |
9509 | else |
8836 | if test "$cross_compiling" = yes; then : |
9510 | if test "$cross_compiling" = yes; then : |
8837 | lt_cv_dlopen_self=cross |
9511 | lt_cv_dlopen_self=cross |
8838 | else |
9512 | else |
8839 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9513 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8840 | lt_status=$lt_dlunknown |
9514 | lt_status=$lt_dlunknown |
8841 | cat > conftest.$ac_ext <<EOF |
9515 | cat > conftest.$ac_ext <<EOF |
8842 | #line 8842 "configure" |
9516 | #line 9516 "configure" |
8843 | #include "confdefs.h" |
9517 | #include "confdefs.h" |
8844 | |
9518 | |
8845 | #if HAVE_DLFCN_H |
9519 | #if HAVE_DLFCN_H |
8846 | #include <dlfcn.h> |
9520 | #include <dlfcn.h> |
8847 | #endif |
9521 | #endif |
… | |
… | |
8919 | fi |
9593 | fi |
8920 | rm -fr conftest* |
9594 | rm -fr conftest* |
8921 | |
9595 | |
8922 | |
9596 | |
8923 | fi |
9597 | fi |
8924 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
9598 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
8925 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
9599 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } |
8926 | |
9600 | |
8927 | if test "x$lt_cv_dlopen_self" = xyes; then |
9601 | if test "x$lt_cv_dlopen_self" = xyes; then |
8928 | LDFLAGS="$LDFLAGS $link_static_flag" |
9602 | LDFLAGS="$LDFLAGS $link_static_flag" |
8929 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
9603 | { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
8930 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
9604 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } |
8931 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
9605 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
8932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9606 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8933 | else |
9607 | else |
8934 | if test "$cross_compiling" = yes; then : |
9608 | if test "$cross_compiling" = yes; then : |
8935 | lt_cv_dlopen_self_static=cross |
9609 | lt_cv_dlopen_self_static=cross |
8936 | else |
9610 | else |
8937 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
9611 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8938 | lt_status=$lt_dlunknown |
9612 | lt_status=$lt_dlunknown |
8939 | cat > conftest.$ac_ext <<EOF |
9613 | cat > conftest.$ac_ext <<EOF |
8940 | #line 8940 "configure" |
9614 | #line 9614 "configure" |
8941 | #include "confdefs.h" |
9615 | #include "confdefs.h" |
8942 | |
9616 | |
8943 | #if HAVE_DLFCN_H |
9617 | #if HAVE_DLFCN_H |
8944 | #include <dlfcn.h> |
9618 | #include <dlfcn.h> |
8945 | #endif |
9619 | #endif |
… | |
… | |
9017 | fi |
9691 | fi |
9018 | rm -fr conftest* |
9692 | rm -fr conftest* |
9019 | |
9693 | |
9020 | |
9694 | |
9021 | fi |
9695 | fi |
9022 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
9696 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
9023 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
9697 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } |
9024 | fi |
9698 | fi |
9025 | |
9699 | |
9026 | CPPFLAGS="$save_CPPFLAGS" |
9700 | CPPFLAGS="$save_CPPFLAGS" |
9027 | LDFLAGS="$save_LDFLAGS" |
9701 | LDFLAGS="$save_LDFLAGS" |
9028 | LIBS="$save_LIBS" |
9702 | LIBS="$save_LIBS" |
… | |
… | |
9040 | esac |
9714 | esac |
9041 | fi |
9715 | fi |
9042 | |
9716 | |
9043 | |
9717 | |
9044 | # Report which librarie types wil actually be built |
9718 | # Report which librarie types wil actually be built |
9045 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
9719 | { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
9046 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
9720 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
9047 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
9721 | { echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
9048 | echo "${ECHO_T}$can_build_shared" >&6 |
9722 | echo "${ECHO_T}$can_build_shared" >&6; } |
9049 | |
9723 | |
9050 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
9724 | { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
9051 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 |
9725 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
9052 | test "$can_build_shared" = "no" && enable_shared=no |
9726 | test "$can_build_shared" = "no" && enable_shared=no |
9053 | |
9727 | |
9054 | # On AIX, shared libraries and static libraries use the same namespace, and |
9728 | # On AIX, shared libraries and static libraries use the same namespace, and |
9055 | # are all built from PIC. |
9729 | # are all built from PIC. |
9056 | case "$host_os" in |
9730 | case "$host_os" in |
… | |
… | |
9103 | else |
9777 | else |
9104 | ld_shlibs=no |
9778 | ld_shlibs=no |
9105 | fi |
9779 | fi |
9106 | ;; |
9780 | ;; |
9107 | esac |
9781 | esac |
9108 | echo "$as_me:$LINENO: result: $enable_shared" >&5 |
9782 | { echo "$as_me:$LINENO: result: $enable_shared" >&5 |
9109 | echo "${ECHO_T}$enable_shared" >&6 |
9783 | echo "${ECHO_T}$enable_shared" >&6; } |
9110 | |
9784 | |
9111 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
9785 | { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
9112 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 |
9786 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
9113 | # Make sure either enable_shared or enable_static is yes. |
9787 | # Make sure either enable_shared or enable_static is yes. |
9114 | test "$enable_shared" = yes || enable_static=yes |
9788 | test "$enable_shared" = yes || enable_static=yes |
9115 | echo "$as_me:$LINENO: result: $enable_static" >&5 |
9789 | { echo "$as_me:$LINENO: result: $enable_static" >&5 |
9116 | echo "${ECHO_T}$enable_static" >&6 |
9790 | echo "${ECHO_T}$enable_static" >&6; } |
9117 | |
9791 | |
9118 | # The else clause should only fire when bootstrapping the |
9792 | # The else clause should only fire when bootstrapping the |
9119 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
9793 | # libtool distribution, otherwise you forgot to ship ltmain.sh |
9120 | # with your package, and you will get complaints that there are |
9794 | # with your package, and you will get complaints that there are |
9121 | # no rules to generate ltmain.sh. |
9795 | # no rules to generate ltmain.sh. |
… | |
… | |
9594 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
10268 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9595 | |
10269 | |
9596 | CC="$lt_save_CC" |
10270 | CC="$lt_save_CC" |
9597 | |
10271 | |
9598 | |
10272 | |
9599 | # Check whether --with-tags or --without-tags was given. |
10273 | # Check whether --with-tags was given. |
9600 | if test "${with_tags+set}" = set; then |
10274 | if test "${with_tags+set}" = set; then |
9601 | withval="$with_tags" |
10275 | withval=$with_tags; tagnames="$withval" |
9602 | tagnames="$withval" |
|
|
9603 | fi; |
10276 | fi |
|
|
10277 | |
9604 | |
10278 | |
9605 | if test -f "$ltmain" && test -n "$tagnames"; then |
10279 | if test -f "$ltmain" && test -n "$tagnames"; then |
9606 | if test ! -f "${ofile}"; then |
10280 | if test ! -f "${ofile}"; then |
9607 | { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
10281 | { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 |
9608 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
10282 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} |
… | |
… | |
9647 | echo appending configuration tag \"$tagname\" to $ofile |
10321 | echo appending configuration tag \"$tagname\" to $ofile |
9648 | |
10322 | |
9649 | case $tagname in |
10323 | case $tagname in |
9650 | CXX) |
10324 | CXX) |
9651 | if test -n "$CXX" && test "X$CXX" != "Xno"; then |
10325 | if test -n "$CXX" && test "X$CXX" != "Xno"; then |
9652 | ac_ext=cc |
10326 | ac_ext=cpp |
9653 | ac_cpp='$CXXCPP $CPPFLAGS' |
10327 | ac_cpp='$CXXCPP $CPPFLAGS' |
9654 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
10328 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9655 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
10329 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9656 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
10330 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
9657 | |
10331 | |
… | |
… | |
9739 | |
10413 | |
9740 | if test "$GXX" = yes; then |
10414 | if test "$GXX" = yes; then |
9741 | # Set up default GNU C++ configuration |
10415 | # Set up default GNU C++ configuration |
9742 | |
10416 | |
9743 | |
10417 | |
9744 | # Check whether --with-gnu-ld or --without-gnu-ld was given. |
10418 | # Check whether --with-gnu-ld was given. |
9745 | if test "${with_gnu_ld+set}" = set; then |
10419 | if test "${with_gnu_ld+set}" = set; then |
9746 | withval="$with_gnu_ld" |
|
|
9747 | test "$withval" = no || with_gnu_ld=yes |
10420 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
9748 | else |
10421 | else |
9749 | with_gnu_ld=no |
10422 | with_gnu_ld=no |
9750 | fi; |
10423 | fi |
|
|
10424 | |
9751 | ac_prog=ld |
10425 | ac_prog=ld |
9752 | if test "$GCC" = yes; then |
10426 | if test "$GCC" = yes; then |
9753 | # Check if gcc -print-prog-name=ld gives a path. |
10427 | # Check if gcc -print-prog-name=ld gives a path. |
9754 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
10428 | { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 |
9755 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 |
10429 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } |
9756 | case $host in |
10430 | case $host in |
9757 | *-*-mingw*) |
10431 | *-*-mingw*) |
9758 | # gcc leaves a trailing carriage return which upsets mingw |
10432 | # gcc leaves a trailing carriage return which upsets mingw |
9759 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
10433 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
9760 | *) |
10434 | *) |
… | |
… | |
9779 | # If it is relative, then search for the first ld in PATH. |
10453 | # If it is relative, then search for the first ld in PATH. |
9780 | with_gnu_ld=unknown |
10454 | with_gnu_ld=unknown |
9781 | ;; |
10455 | ;; |
9782 | esac |
10456 | esac |
9783 | elif test "$with_gnu_ld" = yes; then |
10457 | elif test "$with_gnu_ld" = yes; then |
9784 | echo "$as_me:$LINENO: checking for GNU ld" >&5 |
10458 | { echo "$as_me:$LINENO: checking for GNU ld" >&5 |
9785 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 |
10459 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } |
9786 | else |
10460 | else |
9787 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
10461 | { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 |
9788 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 |
10462 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } |
9789 | fi |
10463 | fi |
9790 | if test "${lt_cv_path_LD+set}" = set; then |
10464 | if test "${lt_cv_path_LD+set}" = set; then |
9791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10465 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9792 | else |
10466 | else |
9793 | if test -z "$LD"; then |
10467 | if test -z "$LD"; then |
… | |
… | |
9816 | fi |
10490 | fi |
9817 | fi |
10491 | fi |
9818 | |
10492 | |
9819 | LD="$lt_cv_path_LD" |
10493 | LD="$lt_cv_path_LD" |
9820 | if test -n "$LD"; then |
10494 | if test -n "$LD"; then |
9821 | echo "$as_me:$LINENO: result: $LD" >&5 |
10495 | { echo "$as_me:$LINENO: result: $LD" >&5 |
9822 | echo "${ECHO_T}$LD" >&6 |
10496 | echo "${ECHO_T}$LD" >&6; } |
9823 | else |
10497 | else |
9824 | echo "$as_me:$LINENO: result: no" >&5 |
10498 | { echo "$as_me:$LINENO: result: no" >&5 |
9825 | echo "${ECHO_T}no" >&6 |
10499 | echo "${ECHO_T}no" >&6; } |
9826 | fi |
10500 | fi |
9827 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
10501 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 |
9828 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
10502 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} |
9829 | { (exit 1); exit 1; }; } |
10503 | { (exit 1); exit 1; }; } |
9830 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
10504 | { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 |
9831 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 |
10505 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } |
9832 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
10506 | if test "${lt_cv_prog_gnu_ld+set}" = set; then |
9833 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9834 | else |
10508 | else |
9835 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
10509 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
9836 | case `$LD -v 2>&1 </dev/null` in |
10510 | case `$LD -v 2>&1 </dev/null` in |
… | |
… | |
9840 | *) |
10514 | *) |
9841 | lt_cv_prog_gnu_ld=no |
10515 | lt_cv_prog_gnu_ld=no |
9842 | ;; |
10516 | ;; |
9843 | esac |
10517 | esac |
9844 | fi |
10518 | fi |
9845 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
10519 | { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 |
9846 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 |
10520 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } |
9847 | with_gnu_ld=$lt_cv_prog_gnu_ld |
10521 | with_gnu_ld=$lt_cv_prog_gnu_ld |
9848 | |
10522 | |
9849 | |
10523 | |
9850 | |
10524 | |
9851 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
10525 | # Check if GNU C++ uses GNU ld as the underlying linker, since the |
… | |
… | |
9891 | with_gnu_ld=no |
10565 | with_gnu_ld=no |
9892 | wlarc= |
10566 | wlarc= |
9893 | fi |
10567 | fi |
9894 | |
10568 | |
9895 | # PORTME: fill in a description of your system's C++ link characteristics |
10569 | # PORTME: fill in a description of your system's C++ link characteristics |
9896 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
10570 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
9897 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
10571 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
9898 | ld_shlibs_CXX=yes |
10572 | ld_shlibs_CXX=yes |
9899 | case $host_os in |
10573 | case $host_os in |
9900 | aix3*) |
10574 | aix3*) |
9901 | # FIXME: insert proper C++ library support |
10575 | # FIXME: insert proper C++ library support |
9902 | ld_shlibs_CXX=no |
10576 | ld_shlibs_CXX=no |
… | |
… | |
9999 | ; |
10673 | ; |
10000 | return 0; |
10674 | return 0; |
10001 | } |
10675 | } |
10002 | _ACEOF |
10676 | _ACEOF |
10003 | rm -f conftest.$ac_objext conftest$ac_exeext |
10677 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10678 | if { (ac_try="$ac_link" |
|
|
10679 | case "(($ac_try" in |
|
|
10680 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10681 | *) ac_try_echo=$ac_try;; |
|
|
10682 | esac |
10004 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10683 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10005 | (eval $ac_link) 2>conftest.er1 |
10684 | (eval "$ac_link") 2>conftest.er1 |
10006 | ac_status=$? |
10685 | ac_status=$? |
10007 | grep -v '^ *+' conftest.er1 >conftest.err |
10686 | grep -v '^ *+' conftest.er1 >conftest.err |
10008 | rm -f conftest.er1 |
10687 | rm -f conftest.er1 |
10009 | cat conftest.err >&5 |
10688 | cat conftest.err >&5 |
10010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10689 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10011 | (exit $ac_status); } && |
10690 | (exit $ac_status); } && { |
10012 | { ac_try='test -z "$ac_cxx_werror_flag" |
10691 | test -z "$ac_cxx_werror_flag" || |
10013 | || test ! -s conftest.err' |
10692 | test ! -s conftest.err |
10014 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10693 | } && test -s conftest$ac_exeext && |
10015 | (eval $ac_try) 2>&5 |
10694 | $as_test_x conftest$ac_exeext; then |
10016 | ac_status=$? |
|
|
10017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10018 | (exit $ac_status); }; } && |
|
|
10019 | { ac_try='test -s conftest$ac_exeext' |
|
|
10020 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10021 | (eval $ac_try) 2>&5 |
|
|
10022 | ac_status=$? |
|
|
10023 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10024 | (exit $ac_status); }; }; then |
|
|
10025 | |
10695 | |
10026 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10696 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10027 | }'` |
10697 | }'` |
10028 | # Check for a 64-bit object if we didn't find anything. |
10698 | # Check for a 64-bit object if we didn't find anything. |
10029 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10699 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10030 | }'`; fi |
10700 | }'`; fi |
10031 | else |
10701 | else |
10032 | echo "$as_me: failed program was:" >&5 |
10702 | echo "$as_me: failed program was:" >&5 |
10033 | sed 's/^/| /' conftest.$ac_ext >&5 |
10703 | sed 's/^/| /' conftest.$ac_ext >&5 |
10034 | |
10704 | |
|
|
10705 | |
10035 | fi |
10706 | fi |
10036 | rm -f conftest.err conftest.$ac_objext \ |
10707 | |
|
|
10708 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10037 | conftest$ac_exeext conftest.$ac_ext |
10709 | conftest$ac_exeext conftest.$ac_ext |
10038 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10710 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10039 | |
10711 | |
10040 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10712 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10041 | |
10713 | |
… | |
… | |
10061 | ; |
10733 | ; |
10062 | return 0; |
10734 | return 0; |
10063 | } |
10735 | } |
10064 | _ACEOF |
10736 | _ACEOF |
10065 | rm -f conftest.$ac_objext conftest$ac_exeext |
10737 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
10738 | if { (ac_try="$ac_link" |
|
|
10739 | case "(($ac_try" in |
|
|
10740 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10741 | *) ac_try_echo=$ac_try;; |
|
|
10742 | esac |
10066 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10743 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10067 | (eval $ac_link) 2>conftest.er1 |
10744 | (eval "$ac_link") 2>conftest.er1 |
10068 | ac_status=$? |
10745 | ac_status=$? |
10069 | grep -v '^ *+' conftest.er1 >conftest.err |
10746 | grep -v '^ *+' conftest.er1 >conftest.err |
10070 | rm -f conftest.er1 |
10747 | rm -f conftest.er1 |
10071 | cat conftest.err >&5 |
10748 | cat conftest.err >&5 |
10072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10749 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10073 | (exit $ac_status); } && |
10750 | (exit $ac_status); } && { |
10074 | { ac_try='test -z "$ac_cxx_werror_flag" |
10751 | test -z "$ac_cxx_werror_flag" || |
10075 | || test ! -s conftest.err' |
10752 | test ! -s conftest.err |
10076 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10753 | } && test -s conftest$ac_exeext && |
10077 | (eval $ac_try) 2>&5 |
10754 | $as_test_x conftest$ac_exeext; then |
10078 | ac_status=$? |
|
|
10079 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10080 | (exit $ac_status); }; } && |
|
|
10081 | { ac_try='test -s conftest$ac_exeext' |
|
|
10082 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
10083 | (eval $ac_try) 2>&5 |
|
|
10084 | ac_status=$? |
|
|
10085 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10086 | (exit $ac_status); }; }; then |
|
|
10087 | |
10755 | |
10088 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10756 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10089 | }'` |
10757 | }'` |
10090 | # Check for a 64-bit object if we didn't find anything. |
10758 | # Check for a 64-bit object if we didn't find anything. |
10091 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10759 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
10092 | }'`; fi |
10760 | }'`; fi |
10093 | else |
10761 | else |
10094 | echo "$as_me: failed program was:" >&5 |
10762 | echo "$as_me: failed program was:" >&5 |
10095 | sed 's/^/| /' conftest.$ac_ext >&5 |
10763 | sed 's/^/| /' conftest.$ac_ext >&5 |
10096 | |
10764 | |
|
|
10765 | |
10097 | fi |
10766 | fi |
10098 | rm -f conftest.err conftest.$ac_objext \ |
10767 | |
|
|
10768 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
10099 | conftest$ac_exeext conftest.$ac_ext |
10769 | conftest$ac_exeext conftest.$ac_ext |
10100 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10770 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
10101 | |
10771 | |
10102 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10772 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" |
10103 | # Warning - without using the other run time loading flags, |
10773 | # Warning - without using the other run time loading flags, |
… | |
… | |
10719 | *) |
11389 | *) |
10720 | # FIXME: insert proper C++ library support |
11390 | # FIXME: insert proper C++ library support |
10721 | ld_shlibs_CXX=no |
11391 | ld_shlibs_CXX=no |
10722 | ;; |
11392 | ;; |
10723 | esac |
11393 | esac |
10724 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
11394 | { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
10725 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
11395 | echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
10726 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
11396 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
10727 | |
11397 | |
10728 | GCC_CXX="$GXX" |
11398 | GCC_CXX="$GXX" |
10729 | LD_CXX="$LD" |
11399 | LD_CXX="$LD" |
10730 | |
11400 | |
… | |
… | |
10836 | |
11506 | |
10837 | lt_prog_compiler_wl_CXX= |
11507 | lt_prog_compiler_wl_CXX= |
10838 | lt_prog_compiler_pic_CXX= |
11508 | lt_prog_compiler_pic_CXX= |
10839 | lt_prog_compiler_static_CXX= |
11509 | lt_prog_compiler_static_CXX= |
10840 | |
11510 | |
10841 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
11511 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
10842 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
11512 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
10843 | |
11513 | |
10844 | # C++ specific cases for pic, static, wl, etc. |
11514 | # C++ specific cases for pic, static, wl, etc. |
10845 | if test "$GXX" = yes; then |
11515 | if test "$GXX" = yes; then |
10846 | lt_prog_compiler_wl_CXX='-Wl,' |
11516 | lt_prog_compiler_wl_CXX='-Wl,' |
10847 | lt_prog_compiler_static_CXX='-static' |
11517 | lt_prog_compiler_static_CXX='-static' |
… | |
… | |
11088 | lt_prog_compiler_can_build_shared_CXX=no |
11758 | lt_prog_compiler_can_build_shared_CXX=no |
11089 | ;; |
11759 | ;; |
11090 | esac |
11760 | esac |
11091 | fi |
11761 | fi |
11092 | |
11762 | |
11093 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
11763 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 |
11094 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 |
11764 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } |
11095 | |
11765 | |
11096 | # |
11766 | # |
11097 | # Check to make sure the PIC flag actually works. |
11767 | # Check to make sure the PIC flag actually works. |
11098 | # |
11768 | # |
11099 | if test -n "$lt_prog_compiler_pic_CXX"; then |
11769 | if test -n "$lt_prog_compiler_pic_CXX"; then |
11100 | |
11770 | |
11101 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
11771 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 |
11102 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 |
11772 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } |
11103 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
11773 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then |
11104 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11774 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11105 | else |
11775 | else |
11106 | lt_prog_compiler_pic_works_CXX=no |
11776 | lt_prog_compiler_pic_works_CXX=no |
11107 | ac_outfile=conftest.$ac_objext |
11777 | ac_outfile=conftest.$ac_objext |
… | |
… | |
11114 | # The option is referenced via a variable to avoid confusing sed. |
11784 | # The option is referenced via a variable to avoid confusing sed. |
11115 | lt_compile=`echo "$ac_compile" | $SED \ |
11785 | lt_compile=`echo "$ac_compile" | $SED \ |
11116 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11786 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11117 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11787 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11118 | -e 's:$: $lt_compiler_flag:'` |
11788 | -e 's:$: $lt_compiler_flag:'` |
11119 | (eval echo "\"\$as_me:11119: $lt_compile\"" >&5) |
11789 | (eval echo "\"\$as_me:11789: $lt_compile\"" >&5) |
11120 | (eval "$lt_compile" 2>conftest.err) |
11790 | (eval "$lt_compile" 2>conftest.err) |
11121 | ac_status=$? |
11791 | ac_status=$? |
11122 | cat conftest.err >&5 |
11792 | cat conftest.err >&5 |
11123 | echo "$as_me:11123: \$? = $ac_status" >&5 |
11793 | echo "$as_me:11793: \$? = $ac_status" >&5 |
11124 | if (exit $ac_status) && test -s "$ac_outfile"; then |
11794 | if (exit $ac_status) && test -s "$ac_outfile"; then |
11125 | # The compiler can only warn and ignore the option if not recognized |
11795 | # The compiler can only warn and ignore the option if not recognized |
11126 | # So say no if there are warnings |
11796 | # So say no if there are warnings |
11127 | if test ! -s conftest.err; then |
11797 | if test ! -s conftest.err; then |
11128 | lt_prog_compiler_pic_works_CXX=yes |
11798 | lt_prog_compiler_pic_works_CXX=yes |
11129 | fi |
11799 | fi |
11130 | fi |
11800 | fi |
11131 | $rm conftest* |
11801 | $rm conftest* |
11132 | |
11802 | |
11133 | fi |
11803 | fi |
11134 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 |
11804 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 |
11135 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 |
11805 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } |
11136 | |
11806 | |
11137 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then |
11807 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then |
11138 | case $lt_prog_compiler_pic_CXX in |
11808 | case $lt_prog_compiler_pic_CXX in |
11139 | "" | " "*) ;; |
11809 | "" | " "*) ;; |
11140 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
11810 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; |
… | |
… | |
11153 | *) |
11823 | *) |
11154 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
11824 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" |
11155 | ;; |
11825 | ;; |
11156 | esac |
11826 | esac |
11157 | |
11827 | |
11158 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
11828 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
11159 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
11829 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
11160 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
11830 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then |
11161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11831 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11162 | else |
11832 | else |
11163 | lt_cv_prog_compiler_c_o_CXX=no |
11833 | lt_cv_prog_compiler_c_o_CXX=no |
11164 | $rm -r conftest 2>/dev/null |
11834 | $rm -r conftest 2>/dev/null |
… | |
… | |
11174 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
11844 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
11175 | lt_compile=`echo "$ac_compile" | $SED \ |
11845 | lt_compile=`echo "$ac_compile" | $SED \ |
11176 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11846 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
11177 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11847 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
11178 | -e 's:$: $lt_compiler_flag:'` |
11848 | -e 's:$: $lt_compiler_flag:'` |
11179 | (eval echo "\"\$as_me:11179: $lt_compile\"" >&5) |
11849 | (eval echo "\"\$as_me:11849: $lt_compile\"" >&5) |
11180 | (eval "$lt_compile" 2>out/conftest.err) |
11850 | (eval "$lt_compile" 2>out/conftest.err) |
11181 | ac_status=$? |
11851 | ac_status=$? |
11182 | cat out/conftest.err >&5 |
11852 | cat out/conftest.err >&5 |
11183 | echo "$as_me:11183: \$? = $ac_status" >&5 |
11853 | echo "$as_me:11853: \$? = $ac_status" >&5 |
11184 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11854 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
11185 | then |
11855 | then |
11186 | # The compiler can only warn and ignore the option if not recognized |
11856 | # The compiler can only warn and ignore the option if not recognized |
11187 | # So say no if there are warnings |
11857 | # So say no if there are warnings |
11188 | if test ! -s out/conftest.err; then |
11858 | if test ! -s out/conftest.err; then |
… | |
… | |
11198 | cd .. |
11868 | cd .. |
11199 | rmdir conftest |
11869 | rmdir conftest |
11200 | $rm conftest* |
11870 | $rm conftest* |
11201 | |
11871 | |
11202 | fi |
11872 | fi |
11203 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
11873 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 |
11204 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 |
11874 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } |
11205 | |
11875 | |
11206 | |
11876 | |
11207 | hard_links="nottested" |
11877 | hard_links="nottested" |
11208 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
11878 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then |
11209 | # do not overwrite the value of need_locks provided by the user |
11879 | # do not overwrite the value of need_locks provided by the user |
11210 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
11880 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
11211 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
11881 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
11212 | hard_links=yes |
11882 | hard_links=yes |
11213 | $rm conftest* |
11883 | $rm conftest* |
11214 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11884 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11215 | touch conftest.a |
11885 | touch conftest.a |
11216 | ln conftest.a conftest.b 2>&5 || hard_links=no |
11886 | ln conftest.a conftest.b 2>&5 || hard_links=no |
11217 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11887 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
11218 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
11888 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
11219 | echo "${ECHO_T}$hard_links" >&6 |
11889 | echo "${ECHO_T}$hard_links" >&6; } |
11220 | if test "$hard_links" = no; then |
11890 | if test "$hard_links" = no; then |
11221 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
11891 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
11222 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
11892 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
11223 | need_locks=warn |
11893 | need_locks=warn |
11224 | fi |
11894 | fi |
11225 | else |
11895 | else |
11226 | need_locks=no |
11896 | need_locks=no |
11227 | fi |
11897 | fi |
11228 | |
11898 | |
11229 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
11899 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
11230 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
11900 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
11231 | |
11901 | |
11232 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11902 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11233 | case $host_os in |
11903 | case $host_os in |
11234 | aix4* | aix5*) |
11904 | aix4* | aix5*) |
11235 | # If we're using GNU nm, then we don't want the "-C" option. |
11905 | # If we're using GNU nm, then we don't want the "-C" option. |
… | |
… | |
11249 | *) |
11919 | *) |
11250 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11920 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
11251 | ;; |
11921 | ;; |
11252 | esac |
11922 | esac |
11253 | |
11923 | |
11254 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
11924 | { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 |
11255 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 |
11925 | echo "${ECHO_T}$ld_shlibs_CXX" >&6; } |
11256 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
11926 | test "$ld_shlibs_CXX" = no && can_build_shared=no |
11257 | |
11927 | |
11258 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
11928 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
11259 | if test "$GCC" = yes; then |
11929 | if test "$GCC" = yes; then |
11260 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
11930 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
… | |
… | |
11275 | ;; |
11945 | ;; |
11276 | '$CC '*) |
11946 | '$CC '*) |
11277 | # Test whether the compiler implicitly links with -lc since on some |
11947 | # Test whether the compiler implicitly links with -lc since on some |
11278 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
11948 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
11279 | # to ld, don't add -lc before -lgcc. |
11949 | # to ld, don't add -lc before -lgcc. |
11280 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
11950 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
11281 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
11951 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
11282 | $rm conftest* |
11952 | $rm conftest* |
11283 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
11953 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
11284 | |
11954 | |
11285 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11955 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11286 | (eval $ac_compile) 2>&5 |
11956 | (eval $ac_compile) 2>&5 |
… | |
… | |
11312 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
11982 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag |
11313 | else |
11983 | else |
11314 | cat conftest.err 1>&5 |
11984 | cat conftest.err 1>&5 |
11315 | fi |
11985 | fi |
11316 | $rm conftest* |
11986 | $rm conftest* |
11317 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
11987 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 |
11318 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 |
11988 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } |
11319 | ;; |
11989 | ;; |
11320 | esac |
11990 | esac |
11321 | fi |
11991 | fi |
11322 | ;; |
11992 | ;; |
11323 | esac |
11993 | esac |
11324 | |
11994 | |
11325 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
11995 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
11326 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
11996 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
11327 | library_names_spec= |
11997 | library_names_spec= |
11328 | libname_spec='lib$name' |
11998 | libname_spec='lib$name' |
11329 | soname_spec= |
11999 | soname_spec= |
11330 | shrext=".so" |
12000 | shrext=".so" |
11331 | postinstall_cmds= |
12001 | postinstall_cmds= |
… | |
… | |
11860 | |
12530 | |
11861 | *) |
12531 | *) |
11862 | dynamic_linker=no |
12532 | dynamic_linker=no |
11863 | ;; |
12533 | ;; |
11864 | esac |
12534 | esac |
11865 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
12535 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
11866 | echo "${ECHO_T}$dynamic_linker" >&6 |
12536 | echo "${ECHO_T}$dynamic_linker" >&6; } |
11867 | test "$dynamic_linker" = no && can_build_shared=no |
12537 | test "$dynamic_linker" = no && can_build_shared=no |
11868 | |
12538 | |
11869 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
12539 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
11870 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
12540 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
11871 | hardcode_action_CXX= |
12541 | hardcode_action_CXX= |
11872 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
12542 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ |
11873 | test -n "$runpath_var CXX" || \ |
12543 | test -n "$runpath_var CXX" || \ |
11874 | test "X$hardcode_automatic_CXX"="Xyes" ; then |
12544 | test "X$hardcode_automatic_CXX"="Xyes" ; then |
11875 | |
12545 | |
… | |
… | |
11889 | else |
12559 | else |
11890 | # We cannot hardcode anything, or else we can only hardcode existing |
12560 | # We cannot hardcode anything, or else we can only hardcode existing |
11891 | # directories. |
12561 | # directories. |
11892 | hardcode_action_CXX=unsupported |
12562 | hardcode_action_CXX=unsupported |
11893 | fi |
12563 | fi |
11894 | echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
12564 | { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 |
11895 | echo "${ECHO_T}$hardcode_action_CXX" >&6 |
12565 | echo "${ECHO_T}$hardcode_action_CXX" >&6; } |
11896 | |
12566 | |
11897 | if test "$hardcode_action_CXX" = relink; then |
12567 | if test "$hardcode_action_CXX" = relink; then |
11898 | # Fast installation is not supported |
12568 | # Fast installation is not supported |
11899 | enable_fast_install=no |
12569 | enable_fast_install=no |
11900 | elif test "$shlibpath_overrides_runpath" = yes || |
12570 | elif test "$shlibpath_overrides_runpath" = yes || |
… | |
… | |
11903 | enable_fast_install=needless |
12573 | enable_fast_install=needless |
11904 | fi |
12574 | fi |
11905 | |
12575 | |
11906 | striplib= |
12576 | striplib= |
11907 | old_striplib= |
12577 | old_striplib= |
11908 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
12578 | { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
11909 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
12579 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } |
11910 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
12580 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
11911 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
12581 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
11912 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
12582 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
11913 | echo "$as_me:$LINENO: result: yes" >&5 |
12583 | { echo "$as_me:$LINENO: result: yes" >&5 |
11914 | echo "${ECHO_T}yes" >&6 |
12584 | echo "${ECHO_T}yes" >&6; } |
11915 | else |
12585 | else |
11916 | # FIXME - insert some real tests, host_os isn't really good enough |
12586 | # FIXME - insert some real tests, host_os isn't really good enough |
11917 | case $host_os in |
12587 | case $host_os in |
11918 | darwin*) |
12588 | darwin*) |
11919 | if test -n "$STRIP" ; then |
12589 | if test -n "$STRIP" ; then |
11920 | striplib="$STRIP -x" |
12590 | striplib="$STRIP -x" |
11921 | echo "$as_me:$LINENO: result: yes" >&5 |
12591 | { echo "$as_me:$LINENO: result: yes" >&5 |
11922 | echo "${ECHO_T}yes" >&6 |
12592 | echo "${ECHO_T}yes" >&6; } |
11923 | else |
12593 | else |
11924 | echo "$as_me:$LINENO: result: no" >&5 |
12594 | { echo "$as_me:$LINENO: result: no" >&5 |
11925 | echo "${ECHO_T}no" >&6 |
12595 | echo "${ECHO_T}no" >&6; } |
11926 | fi |
12596 | fi |
11927 | ;; |
12597 | ;; |
11928 | *) |
12598 | *) |
11929 | echo "$as_me:$LINENO: result: no" >&5 |
12599 | { echo "$as_me:$LINENO: result: no" >&5 |
11930 | echo "${ECHO_T}no" >&6 |
12600 | echo "${ECHO_T}no" >&6; } |
11931 | ;; |
12601 | ;; |
11932 | esac |
12602 | esac |
11933 | fi |
12603 | fi |
11934 | |
12604 | |
11935 | if test "x$enable_dlopen" != xyes; then |
12605 | if test "x$enable_dlopen" != xyes; then |
… | |
… | |
11957 | lt_cv_dlopen_libs= |
12627 | lt_cv_dlopen_libs= |
11958 | ;; |
12628 | ;; |
11959 | |
12629 | |
11960 | darwin*) |
12630 | darwin*) |
11961 | # if libdl is installed we need to link against it |
12631 | # if libdl is installed we need to link against it |
11962 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
12632 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
11963 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
12633 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
11964 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
12634 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12635 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11966 | else |
12636 | else |
11967 | ac_check_lib_save_LIBS=$LIBS |
12637 | ac_check_lib_save_LIBS=$LIBS |
11968 | LIBS="-ldl $LIBS" |
12638 | LIBS="-ldl $LIBS" |
… | |
… | |
11971 | _ACEOF |
12641 | _ACEOF |
11972 | cat confdefs.h >>conftest.$ac_ext |
12642 | cat confdefs.h >>conftest.$ac_ext |
11973 | cat >>conftest.$ac_ext <<_ACEOF |
12643 | cat >>conftest.$ac_ext <<_ACEOF |
11974 | /* end confdefs.h. */ |
12644 | /* end confdefs.h. */ |
11975 | |
12645 | |
11976 | /* Override any gcc2 internal prototype to avoid an error. */ |
12646 | /* Override any GCC internal prototype to avoid an error. |
|
|
12647 | Use char because int might match the return type of a GCC |
|
|
12648 | builtin and then its argument prototype would still apply. */ |
11977 | #ifdef __cplusplus |
12649 | #ifdef __cplusplus |
11978 | extern "C" |
12650 | extern "C" |
11979 | #endif |
12651 | #endif |
11980 | /* We use char because int might match the return type of a gcc2 |
|
|
11981 | builtin and then its argument prototype would still apply. */ |
|
|
11982 | char dlopen (); |
12652 | char dlopen (); |
11983 | int |
12653 | int |
11984 | main () |
12654 | main () |
11985 | { |
12655 | { |
11986 | dlopen (); |
12656 | return dlopen (); |
11987 | ; |
12657 | ; |
11988 | return 0; |
12658 | return 0; |
11989 | } |
12659 | } |
11990 | _ACEOF |
12660 | _ACEOF |
11991 | rm -f conftest.$ac_objext conftest$ac_exeext |
12661 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12662 | if { (ac_try="$ac_link" |
|
|
12663 | case "(($ac_try" in |
|
|
12664 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12665 | *) ac_try_echo=$ac_try;; |
|
|
12666 | esac |
11992 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12667 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11993 | (eval $ac_link) 2>conftest.er1 |
12668 | (eval "$ac_link") 2>conftest.er1 |
11994 | ac_status=$? |
12669 | ac_status=$? |
11995 | grep -v '^ *+' conftest.er1 >conftest.err |
12670 | grep -v '^ *+' conftest.er1 >conftest.err |
11996 | rm -f conftest.er1 |
12671 | rm -f conftest.er1 |
11997 | cat conftest.err >&5 |
12672 | cat conftest.err >&5 |
11998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11999 | (exit $ac_status); } && |
12674 | (exit $ac_status); } && { |
12000 | { ac_try='test -z "$ac_cxx_werror_flag" |
12675 | test -z "$ac_cxx_werror_flag" || |
12001 | || test ! -s conftest.err' |
12676 | test ! -s conftest.err |
12002 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12677 | } && test -s conftest$ac_exeext && |
12003 | (eval $ac_try) 2>&5 |
12678 | $as_test_x conftest$ac_exeext; then |
12004 | ac_status=$? |
|
|
12005 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12006 | (exit $ac_status); }; } && |
|
|
12007 | { ac_try='test -s conftest$ac_exeext' |
|
|
12008 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12009 | (eval $ac_try) 2>&5 |
|
|
12010 | ac_status=$? |
|
|
12011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12012 | (exit $ac_status); }; }; then |
|
|
12013 | ac_cv_lib_dl_dlopen=yes |
12679 | ac_cv_lib_dl_dlopen=yes |
12014 | else |
12680 | else |
12015 | echo "$as_me: failed program was:" >&5 |
12681 | echo "$as_me: failed program was:" >&5 |
12016 | sed 's/^/| /' conftest.$ac_ext >&5 |
12682 | sed 's/^/| /' conftest.$ac_ext >&5 |
12017 | |
12683 | |
12018 | ac_cv_lib_dl_dlopen=no |
12684 | ac_cv_lib_dl_dlopen=no |
12019 | fi |
12685 | fi |
12020 | rm -f conftest.err conftest.$ac_objext \ |
12686 | |
|
|
12687 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12021 | conftest$ac_exeext conftest.$ac_ext |
12688 | conftest$ac_exeext conftest.$ac_ext |
12022 | LIBS=$ac_check_lib_save_LIBS |
12689 | LIBS=$ac_check_lib_save_LIBS |
12023 | fi |
12690 | fi |
12024 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12691 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12025 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
12692 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
12026 | if test $ac_cv_lib_dl_dlopen = yes; then |
12693 | if test $ac_cv_lib_dl_dlopen = yes; then |
12027 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
12694 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
12028 | else |
12695 | else |
12029 | |
12696 | |
12030 | lt_cv_dlopen="dyld" |
12697 | lt_cv_dlopen="dyld" |
… | |
… | |
12034 | fi |
12701 | fi |
12035 | |
12702 | |
12036 | ;; |
12703 | ;; |
12037 | |
12704 | |
12038 | *) |
12705 | *) |
12039 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
12706 | { echo "$as_me:$LINENO: checking for shl_load" >&5 |
12040 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
12707 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } |
12041 | if test "${ac_cv_func_shl_load+set}" = set; then |
12708 | if test "${ac_cv_func_shl_load+set}" = set; then |
12042 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12709 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12043 | else |
12710 | else |
12044 | cat >conftest.$ac_ext <<_ACEOF |
12711 | cat >conftest.$ac_ext <<_ACEOF |
12045 | /* confdefs.h. */ |
12712 | /* confdefs.h. */ |
… | |
… | |
12062 | # include <assert.h> |
12729 | # include <assert.h> |
12063 | #endif |
12730 | #endif |
12064 | |
12731 | |
12065 | #undef shl_load |
12732 | #undef shl_load |
12066 | |
12733 | |
12067 | /* Override any gcc2 internal prototype to avoid an error. */ |
12734 | /* Override any GCC internal prototype to avoid an error. |
|
|
12735 | Use char because int might match the return type of a GCC |
|
|
12736 | builtin and then its argument prototype would still apply. */ |
12068 | #ifdef __cplusplus |
12737 | #ifdef __cplusplus |
12069 | extern "C" |
12738 | extern "C" |
12070 | { |
|
|
12071 | #endif |
12739 | #endif |
12072 | /* We use char because int might match the return type of a gcc2 |
|
|
12073 | builtin and then its argument prototype would still apply. */ |
|
|
12074 | char shl_load (); |
12740 | char shl_load (); |
12075 | /* The GNU C library defines this for functions which it implements |
12741 | /* The GNU C library defines this for functions which it implements |
12076 | to always fail with ENOSYS. Some functions are actually named |
12742 | to always fail with ENOSYS. Some functions are actually named |
12077 | something starting with __ and the normal name is an alias. */ |
12743 | something starting with __ and the normal name is an alias. */ |
12078 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
12744 | #if defined __stub_shl_load || defined __stub___shl_load |
12079 | choke me |
12745 | choke me |
12080 | #else |
|
|
12081 | char (*f) () = shl_load; |
|
|
12082 | #endif |
|
|
12083 | #ifdef __cplusplus |
|
|
12084 | } |
|
|
12085 | #endif |
12746 | #endif |
12086 | |
12747 | |
12087 | int |
12748 | int |
12088 | main () |
12749 | main () |
12089 | { |
12750 | { |
12090 | return f != shl_load; |
12751 | return shl_load (); |
12091 | ; |
12752 | ; |
12092 | return 0; |
12753 | return 0; |
12093 | } |
12754 | } |
12094 | _ACEOF |
12755 | _ACEOF |
12095 | rm -f conftest.$ac_objext conftest$ac_exeext |
12756 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12757 | if { (ac_try="$ac_link" |
|
|
12758 | case "(($ac_try" in |
|
|
12759 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12760 | *) ac_try_echo=$ac_try;; |
|
|
12761 | esac |
12096 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12762 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12097 | (eval $ac_link) 2>conftest.er1 |
12763 | (eval "$ac_link") 2>conftest.er1 |
12098 | ac_status=$? |
12764 | ac_status=$? |
12099 | grep -v '^ *+' conftest.er1 >conftest.err |
12765 | grep -v '^ *+' conftest.er1 >conftest.err |
12100 | rm -f conftest.er1 |
12766 | rm -f conftest.er1 |
12101 | cat conftest.err >&5 |
12767 | cat conftest.err >&5 |
12102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12103 | (exit $ac_status); } && |
12769 | (exit $ac_status); } && { |
12104 | { ac_try='test -z "$ac_cxx_werror_flag" |
12770 | test -z "$ac_cxx_werror_flag" || |
12105 | || test ! -s conftest.err' |
12771 | test ! -s conftest.err |
12106 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12772 | } && test -s conftest$ac_exeext && |
12107 | (eval $ac_try) 2>&5 |
12773 | $as_test_x conftest$ac_exeext; then |
12108 | ac_status=$? |
|
|
12109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12110 | (exit $ac_status); }; } && |
|
|
12111 | { ac_try='test -s conftest$ac_exeext' |
|
|
12112 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12113 | (eval $ac_try) 2>&5 |
|
|
12114 | ac_status=$? |
|
|
12115 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12116 | (exit $ac_status); }; }; then |
|
|
12117 | ac_cv_func_shl_load=yes |
12774 | ac_cv_func_shl_load=yes |
12118 | else |
12775 | else |
12119 | echo "$as_me: failed program was:" >&5 |
12776 | echo "$as_me: failed program was:" >&5 |
12120 | sed 's/^/| /' conftest.$ac_ext >&5 |
12777 | sed 's/^/| /' conftest.$ac_ext >&5 |
12121 | |
12778 | |
12122 | ac_cv_func_shl_load=no |
12779 | ac_cv_func_shl_load=no |
12123 | fi |
12780 | fi |
12124 | rm -f conftest.err conftest.$ac_objext \ |
12781 | |
|
|
12782 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12125 | conftest$ac_exeext conftest.$ac_ext |
12783 | conftest$ac_exeext conftest.$ac_ext |
12126 | fi |
12784 | fi |
12127 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12785 | { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
12128 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
12786 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } |
12129 | if test $ac_cv_func_shl_load = yes; then |
12787 | if test $ac_cv_func_shl_load = yes; then |
12130 | lt_cv_dlopen="shl_load" |
12788 | lt_cv_dlopen="shl_load" |
12131 | else |
12789 | else |
12132 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
12790 | { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
12133 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
12791 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } |
12134 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
12792 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
12135 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12793 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12136 | else |
12794 | else |
12137 | ac_check_lib_save_LIBS=$LIBS |
12795 | ac_check_lib_save_LIBS=$LIBS |
12138 | LIBS="-ldld $LIBS" |
12796 | LIBS="-ldld $LIBS" |
… | |
… | |
12141 | _ACEOF |
12799 | _ACEOF |
12142 | cat confdefs.h >>conftest.$ac_ext |
12800 | cat confdefs.h >>conftest.$ac_ext |
12143 | cat >>conftest.$ac_ext <<_ACEOF |
12801 | cat >>conftest.$ac_ext <<_ACEOF |
12144 | /* end confdefs.h. */ |
12802 | /* end confdefs.h. */ |
12145 | |
12803 | |
12146 | /* Override any gcc2 internal prototype to avoid an error. */ |
12804 | /* Override any GCC internal prototype to avoid an error. |
|
|
12805 | Use char because int might match the return type of a GCC |
|
|
12806 | builtin and then its argument prototype would still apply. */ |
12147 | #ifdef __cplusplus |
12807 | #ifdef __cplusplus |
12148 | extern "C" |
12808 | extern "C" |
12149 | #endif |
12809 | #endif |
12150 | /* We use char because int might match the return type of a gcc2 |
|
|
12151 | builtin and then its argument prototype would still apply. */ |
|
|
12152 | char shl_load (); |
12810 | char shl_load (); |
12153 | int |
12811 | int |
12154 | main () |
12812 | main () |
12155 | { |
12813 | { |
12156 | shl_load (); |
12814 | return shl_load (); |
12157 | ; |
12815 | ; |
12158 | return 0; |
12816 | return 0; |
12159 | } |
12817 | } |
12160 | _ACEOF |
12818 | _ACEOF |
12161 | rm -f conftest.$ac_objext conftest$ac_exeext |
12819 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12820 | if { (ac_try="$ac_link" |
|
|
12821 | case "(($ac_try" in |
|
|
12822 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12823 | *) ac_try_echo=$ac_try;; |
|
|
12824 | esac |
12162 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12825 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12163 | (eval $ac_link) 2>conftest.er1 |
12826 | (eval "$ac_link") 2>conftest.er1 |
12164 | ac_status=$? |
12827 | ac_status=$? |
12165 | grep -v '^ *+' conftest.er1 >conftest.err |
12828 | grep -v '^ *+' conftest.er1 >conftest.err |
12166 | rm -f conftest.er1 |
12829 | rm -f conftest.er1 |
12167 | cat conftest.err >&5 |
12830 | cat conftest.err >&5 |
12168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12169 | (exit $ac_status); } && |
12832 | (exit $ac_status); } && { |
12170 | { ac_try='test -z "$ac_cxx_werror_flag" |
12833 | test -z "$ac_cxx_werror_flag" || |
12171 | || test ! -s conftest.err' |
12834 | test ! -s conftest.err |
12172 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12835 | } && test -s conftest$ac_exeext && |
12173 | (eval $ac_try) 2>&5 |
12836 | $as_test_x conftest$ac_exeext; then |
12174 | ac_status=$? |
|
|
12175 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12176 | (exit $ac_status); }; } && |
|
|
12177 | { ac_try='test -s conftest$ac_exeext' |
|
|
12178 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12179 | (eval $ac_try) 2>&5 |
|
|
12180 | ac_status=$? |
|
|
12181 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12182 | (exit $ac_status); }; }; then |
|
|
12183 | ac_cv_lib_dld_shl_load=yes |
12837 | ac_cv_lib_dld_shl_load=yes |
12184 | else |
12838 | else |
12185 | echo "$as_me: failed program was:" >&5 |
12839 | echo "$as_me: failed program was:" >&5 |
12186 | sed 's/^/| /' conftest.$ac_ext >&5 |
12840 | sed 's/^/| /' conftest.$ac_ext >&5 |
12187 | |
12841 | |
12188 | ac_cv_lib_dld_shl_load=no |
12842 | ac_cv_lib_dld_shl_load=no |
12189 | fi |
12843 | fi |
12190 | rm -f conftest.err conftest.$ac_objext \ |
12844 | |
|
|
12845 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12191 | conftest$ac_exeext conftest.$ac_ext |
12846 | conftest$ac_exeext conftest.$ac_ext |
12192 | LIBS=$ac_check_lib_save_LIBS |
12847 | LIBS=$ac_check_lib_save_LIBS |
12193 | fi |
12848 | fi |
12194 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
12849 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
12195 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
12850 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
12196 | if test $ac_cv_lib_dld_shl_load = yes; then |
12851 | if test $ac_cv_lib_dld_shl_load = yes; then |
12197 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
12852 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
12198 | else |
12853 | else |
12199 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
12854 | { echo "$as_me:$LINENO: checking for dlopen" >&5 |
12200 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
12855 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
12201 | if test "${ac_cv_func_dlopen+set}" = set; then |
12856 | if test "${ac_cv_func_dlopen+set}" = set; then |
12202 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12857 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12203 | else |
12858 | else |
12204 | cat >conftest.$ac_ext <<_ACEOF |
12859 | cat >conftest.$ac_ext <<_ACEOF |
12205 | /* confdefs.h. */ |
12860 | /* confdefs.h. */ |
… | |
… | |
12222 | # include <assert.h> |
12877 | # include <assert.h> |
12223 | #endif |
12878 | #endif |
12224 | |
12879 | |
12225 | #undef dlopen |
12880 | #undef dlopen |
12226 | |
12881 | |
12227 | /* Override any gcc2 internal prototype to avoid an error. */ |
12882 | /* Override any GCC internal prototype to avoid an error. |
|
|
12883 | Use char because int might match the return type of a GCC |
|
|
12884 | builtin and then its argument prototype would still apply. */ |
12228 | #ifdef __cplusplus |
12885 | #ifdef __cplusplus |
12229 | extern "C" |
12886 | extern "C" |
12230 | { |
|
|
12231 | #endif |
12887 | #endif |
12232 | /* We use char because int might match the return type of a gcc2 |
|
|
12233 | builtin and then its argument prototype would still apply. */ |
|
|
12234 | char dlopen (); |
12888 | char dlopen (); |
12235 | /* The GNU C library defines this for functions which it implements |
12889 | /* The GNU C library defines this for functions which it implements |
12236 | to always fail with ENOSYS. Some functions are actually named |
12890 | to always fail with ENOSYS. Some functions are actually named |
12237 | something starting with __ and the normal name is an alias. */ |
12891 | something starting with __ and the normal name is an alias. */ |
12238 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
12892 | #if defined __stub_dlopen || defined __stub___dlopen |
12239 | choke me |
12893 | choke me |
12240 | #else |
|
|
12241 | char (*f) () = dlopen; |
|
|
12242 | #endif |
|
|
12243 | #ifdef __cplusplus |
|
|
12244 | } |
|
|
12245 | #endif |
12894 | #endif |
12246 | |
12895 | |
12247 | int |
12896 | int |
12248 | main () |
12897 | main () |
12249 | { |
12898 | { |
12250 | return f != dlopen; |
12899 | return dlopen (); |
12251 | ; |
12900 | ; |
12252 | return 0; |
12901 | return 0; |
12253 | } |
12902 | } |
12254 | _ACEOF |
12903 | _ACEOF |
12255 | rm -f conftest.$ac_objext conftest$ac_exeext |
12904 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12905 | if { (ac_try="$ac_link" |
|
|
12906 | case "(($ac_try" in |
|
|
12907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12908 | *) ac_try_echo=$ac_try;; |
|
|
12909 | esac |
12256 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12910 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12257 | (eval $ac_link) 2>conftest.er1 |
12911 | (eval "$ac_link") 2>conftest.er1 |
12258 | ac_status=$? |
12912 | ac_status=$? |
12259 | grep -v '^ *+' conftest.er1 >conftest.err |
12913 | grep -v '^ *+' conftest.er1 >conftest.err |
12260 | rm -f conftest.er1 |
12914 | rm -f conftest.er1 |
12261 | cat conftest.err >&5 |
12915 | cat conftest.err >&5 |
12262 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12916 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12263 | (exit $ac_status); } && |
12917 | (exit $ac_status); } && { |
12264 | { ac_try='test -z "$ac_cxx_werror_flag" |
12918 | test -z "$ac_cxx_werror_flag" || |
12265 | || test ! -s conftest.err' |
12919 | test ! -s conftest.err |
12266 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12920 | } && test -s conftest$ac_exeext && |
12267 | (eval $ac_try) 2>&5 |
12921 | $as_test_x conftest$ac_exeext; then |
12268 | ac_status=$? |
|
|
12269 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12270 | (exit $ac_status); }; } && |
|
|
12271 | { ac_try='test -s conftest$ac_exeext' |
|
|
12272 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12273 | (eval $ac_try) 2>&5 |
|
|
12274 | ac_status=$? |
|
|
12275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12276 | (exit $ac_status); }; }; then |
|
|
12277 | ac_cv_func_dlopen=yes |
12922 | ac_cv_func_dlopen=yes |
12278 | else |
12923 | else |
12279 | echo "$as_me: failed program was:" >&5 |
12924 | echo "$as_me: failed program was:" >&5 |
12280 | sed 's/^/| /' conftest.$ac_ext >&5 |
12925 | sed 's/^/| /' conftest.$ac_ext >&5 |
12281 | |
12926 | |
12282 | ac_cv_func_dlopen=no |
12927 | ac_cv_func_dlopen=no |
12283 | fi |
12928 | fi |
12284 | rm -f conftest.err conftest.$ac_objext \ |
12929 | |
|
|
12930 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12285 | conftest$ac_exeext conftest.$ac_ext |
12931 | conftest$ac_exeext conftest.$ac_ext |
12286 | fi |
12932 | fi |
12287 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12933 | { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
12288 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
12934 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } |
12289 | if test $ac_cv_func_dlopen = yes; then |
12935 | if test $ac_cv_func_dlopen = yes; then |
12290 | lt_cv_dlopen="dlopen" |
12936 | lt_cv_dlopen="dlopen" |
12291 | else |
12937 | else |
12292 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
12938 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
12293 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
12939 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
12294 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
12940 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
12295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12941 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12296 | else |
12942 | else |
12297 | ac_check_lib_save_LIBS=$LIBS |
12943 | ac_check_lib_save_LIBS=$LIBS |
12298 | LIBS="-ldl $LIBS" |
12944 | LIBS="-ldl $LIBS" |
… | |
… | |
12301 | _ACEOF |
12947 | _ACEOF |
12302 | cat confdefs.h >>conftest.$ac_ext |
12948 | cat confdefs.h >>conftest.$ac_ext |
12303 | cat >>conftest.$ac_ext <<_ACEOF |
12949 | cat >>conftest.$ac_ext <<_ACEOF |
12304 | /* end confdefs.h. */ |
12950 | /* end confdefs.h. */ |
12305 | |
12951 | |
12306 | /* Override any gcc2 internal prototype to avoid an error. */ |
12952 | /* Override any GCC internal prototype to avoid an error. |
|
|
12953 | Use char because int might match the return type of a GCC |
|
|
12954 | builtin and then its argument prototype would still apply. */ |
12307 | #ifdef __cplusplus |
12955 | #ifdef __cplusplus |
12308 | extern "C" |
12956 | extern "C" |
12309 | #endif |
12957 | #endif |
12310 | /* We use char because int might match the return type of a gcc2 |
|
|
12311 | builtin and then its argument prototype would still apply. */ |
|
|
12312 | char dlopen (); |
12958 | char dlopen (); |
12313 | int |
12959 | int |
12314 | main () |
12960 | main () |
12315 | { |
12961 | { |
12316 | dlopen (); |
12962 | return dlopen (); |
12317 | ; |
12963 | ; |
12318 | return 0; |
12964 | return 0; |
12319 | } |
12965 | } |
12320 | _ACEOF |
12966 | _ACEOF |
12321 | rm -f conftest.$ac_objext conftest$ac_exeext |
12967 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
12968 | if { (ac_try="$ac_link" |
|
|
12969 | case "(($ac_try" in |
|
|
12970 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12971 | *) ac_try_echo=$ac_try;; |
|
|
12972 | esac |
12322 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12973 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12323 | (eval $ac_link) 2>conftest.er1 |
12974 | (eval "$ac_link") 2>conftest.er1 |
12324 | ac_status=$? |
12975 | ac_status=$? |
12325 | grep -v '^ *+' conftest.er1 >conftest.err |
12976 | grep -v '^ *+' conftest.er1 >conftest.err |
12326 | rm -f conftest.er1 |
12977 | rm -f conftest.er1 |
12327 | cat conftest.err >&5 |
12978 | cat conftest.err >&5 |
12328 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12979 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12329 | (exit $ac_status); } && |
12980 | (exit $ac_status); } && { |
12330 | { ac_try='test -z "$ac_cxx_werror_flag" |
12981 | test -z "$ac_cxx_werror_flag" || |
12331 | || test ! -s conftest.err' |
12982 | test ! -s conftest.err |
12332 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12983 | } && test -s conftest$ac_exeext && |
12333 | (eval $ac_try) 2>&5 |
12984 | $as_test_x conftest$ac_exeext; then |
12334 | ac_status=$? |
|
|
12335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12336 | (exit $ac_status); }; } && |
|
|
12337 | { ac_try='test -s conftest$ac_exeext' |
|
|
12338 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12339 | (eval $ac_try) 2>&5 |
|
|
12340 | ac_status=$? |
|
|
12341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12342 | (exit $ac_status); }; }; then |
|
|
12343 | ac_cv_lib_dl_dlopen=yes |
12985 | ac_cv_lib_dl_dlopen=yes |
12344 | else |
12986 | else |
12345 | echo "$as_me: failed program was:" >&5 |
12987 | echo "$as_me: failed program was:" >&5 |
12346 | sed 's/^/| /' conftest.$ac_ext >&5 |
12988 | sed 's/^/| /' conftest.$ac_ext >&5 |
12347 | |
12989 | |
12348 | ac_cv_lib_dl_dlopen=no |
12990 | ac_cv_lib_dl_dlopen=no |
12349 | fi |
12991 | fi |
12350 | rm -f conftest.err conftest.$ac_objext \ |
12992 | |
|
|
12993 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12351 | conftest$ac_exeext conftest.$ac_ext |
12994 | conftest$ac_exeext conftest.$ac_ext |
12352 | LIBS=$ac_check_lib_save_LIBS |
12995 | LIBS=$ac_check_lib_save_LIBS |
12353 | fi |
12996 | fi |
12354 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12997 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
12355 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
12998 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
12356 | if test $ac_cv_lib_dl_dlopen = yes; then |
12999 | if test $ac_cv_lib_dl_dlopen = yes; then |
12357 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
13000 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
12358 | else |
13001 | else |
12359 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
13002 | { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
12360 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
13003 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } |
12361 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
13004 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
12362 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13005 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12363 | else |
13006 | else |
12364 | ac_check_lib_save_LIBS=$LIBS |
13007 | ac_check_lib_save_LIBS=$LIBS |
12365 | LIBS="-lsvld $LIBS" |
13008 | LIBS="-lsvld $LIBS" |
… | |
… | |
12368 | _ACEOF |
13011 | _ACEOF |
12369 | cat confdefs.h >>conftest.$ac_ext |
13012 | cat confdefs.h >>conftest.$ac_ext |
12370 | cat >>conftest.$ac_ext <<_ACEOF |
13013 | cat >>conftest.$ac_ext <<_ACEOF |
12371 | /* end confdefs.h. */ |
13014 | /* end confdefs.h. */ |
12372 | |
13015 | |
12373 | /* Override any gcc2 internal prototype to avoid an error. */ |
13016 | /* Override any GCC internal prototype to avoid an error. |
|
|
13017 | Use char because int might match the return type of a GCC |
|
|
13018 | builtin and then its argument prototype would still apply. */ |
12374 | #ifdef __cplusplus |
13019 | #ifdef __cplusplus |
12375 | extern "C" |
13020 | extern "C" |
12376 | #endif |
13021 | #endif |
12377 | /* We use char because int might match the return type of a gcc2 |
|
|
12378 | builtin and then its argument prototype would still apply. */ |
|
|
12379 | char dlopen (); |
13022 | char dlopen (); |
12380 | int |
13023 | int |
12381 | main () |
13024 | main () |
12382 | { |
13025 | { |
12383 | dlopen (); |
13026 | return dlopen (); |
12384 | ; |
13027 | ; |
12385 | return 0; |
13028 | return 0; |
12386 | } |
13029 | } |
12387 | _ACEOF |
13030 | _ACEOF |
12388 | rm -f conftest.$ac_objext conftest$ac_exeext |
13031 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13032 | if { (ac_try="$ac_link" |
|
|
13033 | case "(($ac_try" in |
|
|
13034 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
13035 | *) ac_try_echo=$ac_try;; |
|
|
13036 | esac |
12389 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13037 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12390 | (eval $ac_link) 2>conftest.er1 |
13038 | (eval "$ac_link") 2>conftest.er1 |
12391 | ac_status=$? |
13039 | ac_status=$? |
12392 | grep -v '^ *+' conftest.er1 >conftest.err |
13040 | grep -v '^ *+' conftest.er1 >conftest.err |
12393 | rm -f conftest.er1 |
13041 | rm -f conftest.er1 |
12394 | cat conftest.err >&5 |
13042 | cat conftest.err >&5 |
12395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13043 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12396 | (exit $ac_status); } && |
13044 | (exit $ac_status); } && { |
12397 | { ac_try='test -z "$ac_cxx_werror_flag" |
13045 | test -z "$ac_cxx_werror_flag" || |
12398 | || test ! -s conftest.err' |
13046 | test ! -s conftest.err |
12399 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13047 | } && test -s conftest$ac_exeext && |
12400 | (eval $ac_try) 2>&5 |
13048 | $as_test_x conftest$ac_exeext; then |
12401 | ac_status=$? |
|
|
12402 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12403 | (exit $ac_status); }; } && |
|
|
12404 | { ac_try='test -s conftest$ac_exeext' |
|
|
12405 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12406 | (eval $ac_try) 2>&5 |
|
|
12407 | ac_status=$? |
|
|
12408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12409 | (exit $ac_status); }; }; then |
|
|
12410 | ac_cv_lib_svld_dlopen=yes |
13049 | ac_cv_lib_svld_dlopen=yes |
12411 | else |
13050 | else |
12412 | echo "$as_me: failed program was:" >&5 |
13051 | echo "$as_me: failed program was:" >&5 |
12413 | sed 's/^/| /' conftest.$ac_ext >&5 |
13052 | sed 's/^/| /' conftest.$ac_ext >&5 |
12414 | |
13053 | |
12415 | ac_cv_lib_svld_dlopen=no |
13054 | ac_cv_lib_svld_dlopen=no |
12416 | fi |
13055 | fi |
12417 | rm -f conftest.err conftest.$ac_objext \ |
13056 | |
|
|
13057 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12418 | conftest$ac_exeext conftest.$ac_ext |
13058 | conftest$ac_exeext conftest.$ac_ext |
12419 | LIBS=$ac_check_lib_save_LIBS |
13059 | LIBS=$ac_check_lib_save_LIBS |
12420 | fi |
13060 | fi |
12421 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
13061 | { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
12422 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
13062 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } |
12423 | if test $ac_cv_lib_svld_dlopen = yes; then |
13063 | if test $ac_cv_lib_svld_dlopen = yes; then |
12424 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
13064 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
12425 | else |
13065 | else |
12426 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
13066 | { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
12427 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
13067 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } |
12428 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
13068 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
12429 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13069 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12430 | else |
13070 | else |
12431 | ac_check_lib_save_LIBS=$LIBS |
13071 | ac_check_lib_save_LIBS=$LIBS |
12432 | LIBS="-ldld $LIBS" |
13072 | LIBS="-ldld $LIBS" |
… | |
… | |
12435 | _ACEOF |
13075 | _ACEOF |
12436 | cat confdefs.h >>conftest.$ac_ext |
13076 | cat confdefs.h >>conftest.$ac_ext |
12437 | cat >>conftest.$ac_ext <<_ACEOF |
13077 | cat >>conftest.$ac_ext <<_ACEOF |
12438 | /* end confdefs.h. */ |
13078 | /* end confdefs.h. */ |
12439 | |
13079 | |
12440 | /* Override any gcc2 internal prototype to avoid an error. */ |
13080 | /* Override any GCC internal prototype to avoid an error. |
|
|
13081 | Use char because int might match the return type of a GCC |
|
|
13082 | builtin and then its argument prototype would still apply. */ |
12441 | #ifdef __cplusplus |
13083 | #ifdef __cplusplus |
12442 | extern "C" |
13084 | extern "C" |
12443 | #endif |
13085 | #endif |
12444 | /* We use char because int might match the return type of a gcc2 |
|
|
12445 | builtin and then its argument prototype would still apply. */ |
|
|
12446 | char dld_link (); |
13086 | char dld_link (); |
12447 | int |
13087 | int |
12448 | main () |
13088 | main () |
12449 | { |
13089 | { |
12450 | dld_link (); |
13090 | return dld_link (); |
12451 | ; |
13091 | ; |
12452 | return 0; |
13092 | return 0; |
12453 | } |
13093 | } |
12454 | _ACEOF |
13094 | _ACEOF |
12455 | rm -f conftest.$ac_objext conftest$ac_exeext |
13095 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
13096 | if { (ac_try="$ac_link" |
|
|
13097 | case "(($ac_try" in |
|
|
13098 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
13099 | *) ac_try_echo=$ac_try;; |
|
|
13100 | esac |
12456 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
13101 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
12457 | (eval $ac_link) 2>conftest.er1 |
13102 | (eval "$ac_link") 2>conftest.er1 |
12458 | ac_status=$? |
13103 | ac_status=$? |
12459 | grep -v '^ *+' conftest.er1 >conftest.err |
13104 | grep -v '^ *+' conftest.er1 >conftest.err |
12460 | rm -f conftest.er1 |
13105 | rm -f conftest.er1 |
12461 | cat conftest.err >&5 |
13106 | cat conftest.err >&5 |
12462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12463 | (exit $ac_status); } && |
13108 | (exit $ac_status); } && { |
12464 | { ac_try='test -z "$ac_cxx_werror_flag" |
13109 | test -z "$ac_cxx_werror_flag" || |
12465 | || test ! -s conftest.err' |
13110 | test ! -s conftest.err |
12466 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13111 | } && test -s conftest$ac_exeext && |
12467 | (eval $ac_try) 2>&5 |
13112 | $as_test_x conftest$ac_exeext; then |
12468 | ac_status=$? |
|
|
12469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12470 | (exit $ac_status); }; } && |
|
|
12471 | { ac_try='test -s conftest$ac_exeext' |
|
|
12472 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
12473 | (eval $ac_try) 2>&5 |
|
|
12474 | ac_status=$? |
|
|
12475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12476 | (exit $ac_status); }; }; then |
|
|
12477 | ac_cv_lib_dld_dld_link=yes |
13113 | ac_cv_lib_dld_dld_link=yes |
12478 | else |
13114 | else |
12479 | echo "$as_me: failed program was:" >&5 |
13115 | echo "$as_me: failed program was:" >&5 |
12480 | sed 's/^/| /' conftest.$ac_ext >&5 |
13116 | sed 's/^/| /' conftest.$ac_ext >&5 |
12481 | |
13117 | |
12482 | ac_cv_lib_dld_dld_link=no |
13118 | ac_cv_lib_dld_dld_link=no |
12483 | fi |
13119 | fi |
12484 | rm -f conftest.err conftest.$ac_objext \ |
13120 | |
|
|
13121 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
12485 | conftest$ac_exeext conftest.$ac_ext |
13122 | conftest$ac_exeext conftest.$ac_ext |
12486 | LIBS=$ac_check_lib_save_LIBS |
13123 | LIBS=$ac_check_lib_save_LIBS |
12487 | fi |
13124 | fi |
12488 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
13125 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
12489 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
13126 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
12490 | if test $ac_cv_lib_dld_dld_link = yes; then |
13127 | if test $ac_cv_lib_dld_dld_link = yes; then |
12491 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
13128 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
12492 | fi |
13129 | fi |
12493 | |
13130 | |
12494 | |
13131 | |
… | |
… | |
12524 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
13161 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
12525 | |
13162 | |
12526 | save_LIBS="$LIBS" |
13163 | save_LIBS="$LIBS" |
12527 | LIBS="$lt_cv_dlopen_libs $LIBS" |
13164 | LIBS="$lt_cv_dlopen_libs $LIBS" |
12528 | |
13165 | |
12529 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
13166 | { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
12530 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
13167 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } |
12531 | if test "${lt_cv_dlopen_self+set}" = set; then |
13168 | if test "${lt_cv_dlopen_self+set}" = set; then |
12532 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13169 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12533 | else |
13170 | else |
12534 | if test "$cross_compiling" = yes; then : |
13171 | if test "$cross_compiling" = yes; then : |
12535 | lt_cv_dlopen_self=cross |
13172 | lt_cv_dlopen_self=cross |
12536 | else |
13173 | else |
12537 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13174 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12538 | lt_status=$lt_dlunknown |
13175 | lt_status=$lt_dlunknown |
12539 | cat > conftest.$ac_ext <<EOF |
13176 | cat > conftest.$ac_ext <<EOF |
12540 | #line 12540 "configure" |
13177 | #line 13177 "configure" |
12541 | #include "confdefs.h" |
13178 | #include "confdefs.h" |
12542 | |
13179 | |
12543 | #if HAVE_DLFCN_H |
13180 | #if HAVE_DLFCN_H |
12544 | #include <dlfcn.h> |
13181 | #include <dlfcn.h> |
12545 | #endif |
13182 | #endif |
… | |
… | |
12617 | fi |
13254 | fi |
12618 | rm -fr conftest* |
13255 | rm -fr conftest* |
12619 | |
13256 | |
12620 | |
13257 | |
12621 | fi |
13258 | fi |
12622 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
13259 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
12623 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
13260 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } |
12624 | |
13261 | |
12625 | if test "x$lt_cv_dlopen_self" = xyes; then |
13262 | if test "x$lt_cv_dlopen_self" = xyes; then |
12626 | LDFLAGS="$LDFLAGS $link_static_flag" |
13263 | LDFLAGS="$LDFLAGS $link_static_flag" |
12627 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
13264 | { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
12628 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
13265 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } |
12629 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
13266 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
12630 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13267 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12631 | else |
13268 | else |
12632 | if test "$cross_compiling" = yes; then : |
13269 | if test "$cross_compiling" = yes; then : |
12633 | lt_cv_dlopen_self_static=cross |
13270 | lt_cv_dlopen_self_static=cross |
12634 | else |
13271 | else |
12635 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13272 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12636 | lt_status=$lt_dlunknown |
13273 | lt_status=$lt_dlunknown |
12637 | cat > conftest.$ac_ext <<EOF |
13274 | cat > conftest.$ac_ext <<EOF |
12638 | #line 12638 "configure" |
13275 | #line 13275 "configure" |
12639 | #include "confdefs.h" |
13276 | #include "confdefs.h" |
12640 | |
13277 | |
12641 | #if HAVE_DLFCN_H |
13278 | #if HAVE_DLFCN_H |
12642 | #include <dlfcn.h> |
13279 | #include <dlfcn.h> |
12643 | #endif |
13280 | #endif |
… | |
… | |
12715 | fi |
13352 | fi |
12716 | rm -fr conftest* |
13353 | rm -fr conftest* |
12717 | |
13354 | |
12718 | |
13355 | |
12719 | fi |
13356 | fi |
12720 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
13357 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
12721 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
13358 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } |
12722 | fi |
13359 | fi |
12723 | |
13360 | |
12724 | CPPFLAGS="$save_CPPFLAGS" |
13361 | CPPFLAGS="$save_CPPFLAGS" |
12725 | LDFLAGS="$save_LDFLAGS" |
13362 | LDFLAGS="$save_LDFLAGS" |
12726 | LIBS="$save_LIBS" |
13363 | LIBS="$save_LIBS" |
… | |
… | |
13215 | CC=${F77-"f77"} |
13852 | CC=${F77-"f77"} |
13216 | compiler=$CC |
13853 | compiler=$CC |
13217 | compiler_F77=$CC |
13854 | compiler_F77=$CC |
13218 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
13855 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` |
13219 | |
13856 | |
13220 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13857 | { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 |
13221 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 |
13858 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } |
13222 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
13859 | { echo "$as_me:$LINENO: result: $can_build_shared" >&5 |
13223 | echo "${ECHO_T}$can_build_shared" >&6 |
13860 | echo "${ECHO_T}$can_build_shared" >&6; } |
13224 | |
13861 | |
13225 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
13862 | { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 |
13226 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 |
13863 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } |
13227 | test "$can_build_shared" = "no" && enable_shared=no |
13864 | test "$can_build_shared" = "no" && enable_shared=no |
13228 | |
13865 | |
13229 | # On AIX, shared libraries and static libraries use the same namespace, and |
13866 | # On AIX, shared libraries and static libraries use the same namespace, and |
13230 | # are all built from PIC. |
13867 | # are all built from PIC. |
13231 | case "$host_os" in |
13868 | case "$host_os" in |
… | |
… | |
13238 | ;; |
13875 | ;; |
13239 | aix4*) |
13876 | aix4*) |
13240 | test "$enable_shared" = yes && enable_static=no |
13877 | test "$enable_shared" = yes && enable_static=no |
13241 | ;; |
13878 | ;; |
13242 | esac |
13879 | esac |
13243 | echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13880 | { echo "$as_me:$LINENO: result: $enable_shared" >&5 |
13244 | echo "${ECHO_T}$enable_shared" >&6 |
13881 | echo "${ECHO_T}$enable_shared" >&6; } |
13245 | |
13882 | |
13246 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
13883 | { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 |
13247 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 |
13884 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } |
13248 | # Make sure either enable_shared or enable_static is yes. |
13885 | # Make sure either enable_shared or enable_static is yes. |
13249 | test "$enable_shared" = yes || enable_static=yes |
13886 | test "$enable_shared" = yes || enable_static=yes |
13250 | echo "$as_me:$LINENO: result: $enable_static" >&5 |
13887 | { echo "$as_me:$LINENO: result: $enable_static" >&5 |
13251 | echo "${ECHO_T}$enable_static" >&6 |
13888 | echo "${ECHO_T}$enable_static" >&6; } |
13252 | |
13889 | |
13253 | test "$ld_shlibs_F77" = no && can_build_shared=no |
13890 | test "$ld_shlibs_F77" = no && can_build_shared=no |
13254 | |
13891 | |
13255 | GCC_F77="$G77" |
13892 | GCC_F77="$G77" |
13256 | LD_F77="$LD" |
13893 | LD_F77="$LD" |
13257 | |
13894 | |
13258 | lt_prog_compiler_wl_F77= |
13895 | lt_prog_compiler_wl_F77= |
13259 | lt_prog_compiler_pic_F77= |
13896 | lt_prog_compiler_pic_F77= |
13260 | lt_prog_compiler_static_F77= |
13897 | lt_prog_compiler_static_F77= |
13261 | |
13898 | |
13262 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
13899 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
13263 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
13900 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
13264 | |
13901 | |
13265 | if test "$GCC" = yes; then |
13902 | if test "$GCC" = yes; then |
13266 | lt_prog_compiler_wl_F77='-Wl,' |
13903 | lt_prog_compiler_wl_F77='-Wl,' |
13267 | lt_prog_compiler_static_F77='-static' |
13904 | lt_prog_compiler_static_F77='-static' |
13268 | |
13905 | |
… | |
… | |
13434 | lt_prog_compiler_can_build_shared_F77=no |
14071 | lt_prog_compiler_can_build_shared_F77=no |
13435 | ;; |
14072 | ;; |
13436 | esac |
14073 | esac |
13437 | fi |
14074 | fi |
13438 | |
14075 | |
13439 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
14076 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 |
13440 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 |
14077 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } |
13441 | |
14078 | |
13442 | # |
14079 | # |
13443 | # Check to make sure the PIC flag actually works. |
14080 | # Check to make sure the PIC flag actually works. |
13444 | # |
14081 | # |
13445 | if test -n "$lt_prog_compiler_pic_F77"; then |
14082 | if test -n "$lt_prog_compiler_pic_F77"; then |
13446 | |
14083 | |
13447 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
14084 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 |
13448 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 |
14085 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } |
13449 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
14086 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then |
13450 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14087 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13451 | else |
14088 | else |
13452 | lt_prog_compiler_pic_works_F77=no |
14089 | lt_prog_compiler_pic_works_F77=no |
13453 | ac_outfile=conftest.$ac_objext |
14090 | ac_outfile=conftest.$ac_objext |
… | |
… | |
13460 | # The option is referenced via a variable to avoid confusing sed. |
14097 | # The option is referenced via a variable to avoid confusing sed. |
13461 | lt_compile=`echo "$ac_compile" | $SED \ |
14098 | lt_compile=`echo "$ac_compile" | $SED \ |
13462 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
14099 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13463 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14100 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13464 | -e 's:$: $lt_compiler_flag:'` |
14101 | -e 's:$: $lt_compiler_flag:'` |
13465 | (eval echo "\"\$as_me:13465: $lt_compile\"" >&5) |
14102 | (eval echo "\"\$as_me:14102: $lt_compile\"" >&5) |
13466 | (eval "$lt_compile" 2>conftest.err) |
14103 | (eval "$lt_compile" 2>conftest.err) |
13467 | ac_status=$? |
14104 | ac_status=$? |
13468 | cat conftest.err >&5 |
14105 | cat conftest.err >&5 |
13469 | echo "$as_me:13469: \$? = $ac_status" >&5 |
14106 | echo "$as_me:14106: \$? = $ac_status" >&5 |
13470 | if (exit $ac_status) && test -s "$ac_outfile"; then |
14107 | if (exit $ac_status) && test -s "$ac_outfile"; then |
13471 | # The compiler can only warn and ignore the option if not recognized |
14108 | # The compiler can only warn and ignore the option if not recognized |
13472 | # So say no if there are warnings |
14109 | # So say no if there are warnings |
13473 | if test ! -s conftest.err; then |
14110 | if test ! -s conftest.err; then |
13474 | lt_prog_compiler_pic_works_F77=yes |
14111 | lt_prog_compiler_pic_works_F77=yes |
13475 | fi |
14112 | fi |
13476 | fi |
14113 | fi |
13477 | $rm conftest* |
14114 | $rm conftest* |
13478 | |
14115 | |
13479 | fi |
14116 | fi |
13480 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 |
14117 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 |
13481 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 |
14118 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } |
13482 | |
14119 | |
13483 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then |
14120 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then |
13484 | case $lt_prog_compiler_pic_F77 in |
14121 | case $lt_prog_compiler_pic_F77 in |
13485 | "" | " "*) ;; |
14122 | "" | " "*) ;; |
13486 | *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
14123 | *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; |
… | |
… | |
13499 | *) |
14136 | *) |
13500 | lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
14137 | lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" |
13501 | ;; |
14138 | ;; |
13502 | esac |
14139 | esac |
13503 | |
14140 | |
13504 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
14141 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
13505 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
14142 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
13506 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
14143 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then |
13507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
14144 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13508 | else |
14145 | else |
13509 | lt_cv_prog_compiler_c_o_F77=no |
14146 | lt_cv_prog_compiler_c_o_F77=no |
13510 | $rm -r conftest 2>/dev/null |
14147 | $rm -r conftest 2>/dev/null |
… | |
… | |
13520 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
14157 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
13521 | lt_compile=`echo "$ac_compile" | $SED \ |
14158 | lt_compile=`echo "$ac_compile" | $SED \ |
13522 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
14159 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13523 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
14160 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13524 | -e 's:$: $lt_compiler_flag:'` |
14161 | -e 's:$: $lt_compiler_flag:'` |
13525 | (eval echo "\"\$as_me:13525: $lt_compile\"" >&5) |
14162 | (eval echo "\"\$as_me:14162: $lt_compile\"" >&5) |
13526 | (eval "$lt_compile" 2>out/conftest.err) |
14163 | (eval "$lt_compile" 2>out/conftest.err) |
13527 | ac_status=$? |
14164 | ac_status=$? |
13528 | cat out/conftest.err >&5 |
14165 | cat out/conftest.err >&5 |
13529 | echo "$as_me:13529: \$? = $ac_status" >&5 |
14166 | echo "$as_me:14166: \$? = $ac_status" >&5 |
13530 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
14167 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13531 | then |
14168 | then |
13532 | # The compiler can only warn and ignore the option if not recognized |
14169 | # The compiler can only warn and ignore the option if not recognized |
13533 | # So say no if there are warnings |
14170 | # So say no if there are warnings |
13534 | if test ! -s out/conftest.err; then |
14171 | if test ! -s out/conftest.err; then |
… | |
… | |
13544 | cd .. |
14181 | cd .. |
13545 | rmdir conftest |
14182 | rmdir conftest |
13546 | $rm conftest* |
14183 | $rm conftest* |
13547 | |
14184 | |
13548 | fi |
14185 | fi |
13549 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
14186 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 |
13550 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 |
14187 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } |
13551 | |
14188 | |
13552 | |
14189 | |
13553 | hard_links="nottested" |
14190 | hard_links="nottested" |
13554 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
14191 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then |
13555 | # do not overwrite the value of need_locks provided by the user |
14192 | # do not overwrite the value of need_locks provided by the user |
13556 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
14193 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
13557 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
14194 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
13558 | hard_links=yes |
14195 | hard_links=yes |
13559 | $rm conftest* |
14196 | $rm conftest* |
13560 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
14197 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
13561 | touch conftest.a |
14198 | touch conftest.a |
13562 | ln conftest.a conftest.b 2>&5 || hard_links=no |
14199 | ln conftest.a conftest.b 2>&5 || hard_links=no |
13563 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
14200 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
13564 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
14201 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
13565 | echo "${ECHO_T}$hard_links" >&6 |
14202 | echo "${ECHO_T}$hard_links" >&6; } |
13566 | if test "$hard_links" = no; then |
14203 | if test "$hard_links" = no; then |
13567 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
14204 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
13568 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
14205 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
13569 | need_locks=warn |
14206 | need_locks=warn |
13570 | fi |
14207 | fi |
13571 | else |
14208 | else |
13572 | need_locks=no |
14209 | need_locks=no |
13573 | fi |
14210 | fi |
13574 | |
14211 | |
13575 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
14212 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
13576 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
14213 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
13577 | |
14214 | |
13578 | runpath_var= |
14215 | runpath_var= |
13579 | allow_undefined_flag_F77= |
14216 | allow_undefined_flag_F77= |
13580 | enable_shared_with_static_runtimes_F77=no |
14217 | enable_shared_with_static_runtimes_F77=no |
13581 | archive_cmds_F77= |
14218 | archive_cmds_F77= |
… | |
… | |
13893 | program main |
14530 | program main |
13894 | |
14531 | |
13895 | end |
14532 | end |
13896 | _ACEOF |
14533 | _ACEOF |
13897 | rm -f conftest.$ac_objext conftest$ac_exeext |
14534 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
14535 | if { (ac_try="$ac_link" |
|
|
14536 | case "(($ac_try" in |
|
|
14537 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
14538 | *) ac_try_echo=$ac_try;; |
|
|
14539 | esac |
13898 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14540 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13899 | (eval $ac_link) 2>conftest.er1 |
14541 | (eval "$ac_link") 2>conftest.er1 |
13900 | ac_status=$? |
14542 | ac_status=$? |
13901 | grep -v '^ *+' conftest.er1 >conftest.err |
14543 | grep -v '^ *+' conftest.er1 >conftest.err |
13902 | rm -f conftest.er1 |
14544 | rm -f conftest.er1 |
13903 | cat conftest.err >&5 |
14545 | cat conftest.err >&5 |
13904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14546 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13905 | (exit $ac_status); } && |
14547 | (exit $ac_status); } && { |
13906 | { ac_try='test -z "$ac_f77_werror_flag" |
14548 | test -z "$ac_f77_werror_flag" || |
13907 | || test ! -s conftest.err' |
14549 | test ! -s conftest.err |
13908 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14550 | } && test -s conftest$ac_exeext && |
13909 | (eval $ac_try) 2>&5 |
14551 | $as_test_x conftest$ac_exeext; then |
13910 | ac_status=$? |
|
|
13911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13912 | (exit $ac_status); }; } && |
|
|
13913 | { ac_try='test -s conftest$ac_exeext' |
|
|
13914 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13915 | (eval $ac_try) 2>&5 |
|
|
13916 | ac_status=$? |
|
|
13917 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13918 | (exit $ac_status); }; }; then |
|
|
13919 | |
14552 | |
13920 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14553 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13921 | }'` |
14554 | }'` |
13922 | # Check for a 64-bit object if we didn't find anything. |
14555 | # Check for a 64-bit object if we didn't find anything. |
13923 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14556 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13924 | }'`; fi |
14557 | }'`; fi |
13925 | else |
14558 | else |
13926 | echo "$as_me: failed program was:" >&5 |
14559 | echo "$as_me: failed program was:" >&5 |
13927 | sed 's/^/| /' conftest.$ac_ext >&5 |
14560 | sed 's/^/| /' conftest.$ac_ext >&5 |
13928 | |
14561 | |
|
|
14562 | |
13929 | fi |
14563 | fi |
13930 | rm -f conftest.err conftest.$ac_objext \ |
14564 | |
|
|
14565 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13931 | conftest$ac_exeext conftest.$ac_ext |
14566 | conftest$ac_exeext conftest.$ac_ext |
13932 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14567 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13933 | |
14568 | |
13934 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14569 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13935 | archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
14570 | archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
… | |
… | |
13944 | program main |
14579 | program main |
13945 | |
14580 | |
13946 | end |
14581 | end |
13947 | _ACEOF |
14582 | _ACEOF |
13948 | rm -f conftest.$ac_objext conftest$ac_exeext |
14583 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
14584 | if { (ac_try="$ac_link" |
|
|
14585 | case "(($ac_try" in |
|
|
14586 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
14587 | *) ac_try_echo=$ac_try;; |
|
|
14588 | esac |
13949 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
14589 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
13950 | (eval $ac_link) 2>conftest.er1 |
14590 | (eval "$ac_link") 2>conftest.er1 |
13951 | ac_status=$? |
14591 | ac_status=$? |
13952 | grep -v '^ *+' conftest.er1 >conftest.err |
14592 | grep -v '^ *+' conftest.er1 >conftest.err |
13953 | rm -f conftest.er1 |
14593 | rm -f conftest.er1 |
13954 | cat conftest.err >&5 |
14594 | cat conftest.err >&5 |
13955 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14595 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13956 | (exit $ac_status); } && |
14596 | (exit $ac_status); } && { |
13957 | { ac_try='test -z "$ac_f77_werror_flag" |
14597 | test -z "$ac_f77_werror_flag" || |
13958 | || test ! -s conftest.err' |
14598 | test ! -s conftest.err |
13959 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14599 | } && test -s conftest$ac_exeext && |
13960 | (eval $ac_try) 2>&5 |
14600 | $as_test_x conftest$ac_exeext; then |
13961 | ac_status=$? |
|
|
13962 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13963 | (exit $ac_status); }; } && |
|
|
13964 | { ac_try='test -s conftest$ac_exeext' |
|
|
13965 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
13966 | (eval $ac_try) 2>&5 |
|
|
13967 | ac_status=$? |
|
|
13968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
13969 | (exit $ac_status); }; }; then |
|
|
13970 | |
14601 | |
13971 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14602 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13972 | }'` |
14603 | }'` |
13973 | # Check for a 64-bit object if we didn't find anything. |
14604 | # Check for a 64-bit object if we didn't find anything. |
13974 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
14605 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
13975 | }'`; fi |
14606 | }'`; fi |
13976 | else |
14607 | else |
13977 | echo "$as_me: failed program was:" >&5 |
14608 | echo "$as_me: failed program was:" >&5 |
13978 | sed 's/^/| /' conftest.$ac_ext >&5 |
14609 | sed 's/^/| /' conftest.$ac_ext >&5 |
13979 | |
14610 | |
|
|
14611 | |
13980 | fi |
14612 | fi |
13981 | rm -f conftest.err conftest.$ac_objext \ |
14613 | |
|
|
14614 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
13982 | conftest$ac_exeext conftest.$ac_ext |
14615 | conftest$ac_exeext conftest.$ac_ext |
13983 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
14616 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
13984 | |
14617 | |
13985 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
14618 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" |
13986 | # Warning - without using the other run time loading flags, |
14619 | # Warning - without using the other run time loading flags, |
… | |
… | |
14398 | ld_shlibs_F77=no |
15031 | ld_shlibs_F77=no |
14399 | ;; |
15032 | ;; |
14400 | esac |
15033 | esac |
14401 | fi |
15034 | fi |
14402 | |
15035 | |
14403 | echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
15036 | { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 |
14404 | echo "${ECHO_T}$ld_shlibs_F77" >&6 |
15037 | echo "${ECHO_T}$ld_shlibs_F77" >&6; } |
14405 | test "$ld_shlibs_F77" = no && can_build_shared=no |
15038 | test "$ld_shlibs_F77" = no && can_build_shared=no |
14406 | |
15039 | |
14407 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
15040 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
14408 | if test "$GCC" = yes; then |
15041 | if test "$GCC" = yes; then |
14409 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
15042 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
… | |
… | |
14424 | ;; |
15057 | ;; |
14425 | '$CC '*) |
15058 | '$CC '*) |
14426 | # Test whether the compiler implicitly links with -lc since on some |
15059 | # Test whether the compiler implicitly links with -lc since on some |
14427 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
15060 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
14428 | # to ld, don't add -lc before -lgcc. |
15061 | # to ld, don't add -lc before -lgcc. |
14429 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
15062 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
14430 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
15063 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
14431 | $rm conftest* |
15064 | $rm conftest* |
14432 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
15065 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
14433 | |
15066 | |
14434 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
15067 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
14435 | (eval $ac_compile) 2>&5 |
15068 | (eval $ac_compile) 2>&5 |
… | |
… | |
14461 | allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
15094 | allow_undefined_flag_F77=$lt_save_allow_undefined_flag |
14462 | else |
15095 | else |
14463 | cat conftest.err 1>&5 |
15096 | cat conftest.err 1>&5 |
14464 | fi |
15097 | fi |
14465 | $rm conftest* |
15098 | $rm conftest* |
14466 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
15099 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 |
14467 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 |
15100 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } |
14468 | ;; |
15101 | ;; |
14469 | esac |
15102 | esac |
14470 | fi |
15103 | fi |
14471 | ;; |
15104 | ;; |
14472 | esac |
15105 | esac |
14473 | |
15106 | |
14474 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
15107 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
14475 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
15108 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
14476 | library_names_spec= |
15109 | library_names_spec= |
14477 | libname_spec='lib$name' |
15110 | libname_spec='lib$name' |
14478 | soname_spec= |
15111 | soname_spec= |
14479 | shrext=".so" |
15112 | shrext=".so" |
14480 | postinstall_cmds= |
15113 | postinstall_cmds= |
… | |
… | |
15009 | |
15642 | |
15010 | *) |
15643 | *) |
15011 | dynamic_linker=no |
15644 | dynamic_linker=no |
15012 | ;; |
15645 | ;; |
15013 | esac |
15646 | esac |
15014 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
15647 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
15015 | echo "${ECHO_T}$dynamic_linker" >&6 |
15648 | echo "${ECHO_T}$dynamic_linker" >&6; } |
15016 | test "$dynamic_linker" = no && can_build_shared=no |
15649 | test "$dynamic_linker" = no && can_build_shared=no |
15017 | |
15650 | |
15018 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
15651 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
15019 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
15652 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
15020 | hardcode_action_F77= |
15653 | hardcode_action_F77= |
15021 | if test -n "$hardcode_libdir_flag_spec_F77" || \ |
15654 | if test -n "$hardcode_libdir_flag_spec_F77" || \ |
15022 | test -n "$runpath_var F77" || \ |
15655 | test -n "$runpath_var F77" || \ |
15023 | test "X$hardcode_automatic_F77"="Xyes" ; then |
15656 | test "X$hardcode_automatic_F77"="Xyes" ; then |
15024 | |
15657 | |
… | |
… | |
15038 | else |
15671 | else |
15039 | # We cannot hardcode anything, or else we can only hardcode existing |
15672 | # We cannot hardcode anything, or else we can only hardcode existing |
15040 | # directories. |
15673 | # directories. |
15041 | hardcode_action_F77=unsupported |
15674 | hardcode_action_F77=unsupported |
15042 | fi |
15675 | fi |
15043 | echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
15676 | { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 |
15044 | echo "${ECHO_T}$hardcode_action_F77" >&6 |
15677 | echo "${ECHO_T}$hardcode_action_F77" >&6; } |
15045 | |
15678 | |
15046 | if test "$hardcode_action_F77" = relink; then |
15679 | if test "$hardcode_action_F77" = relink; then |
15047 | # Fast installation is not supported |
15680 | # Fast installation is not supported |
15048 | enable_fast_install=no |
15681 | enable_fast_install=no |
15049 | elif test "$shlibpath_overrides_runpath" = yes || |
15682 | elif test "$shlibpath_overrides_runpath" = yes || |
… | |
… | |
15052 | enable_fast_install=needless |
15685 | enable_fast_install=needless |
15053 | fi |
15686 | fi |
15054 | |
15687 | |
15055 | striplib= |
15688 | striplib= |
15056 | old_striplib= |
15689 | old_striplib= |
15057 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
15690 | { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
15058 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
15691 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } |
15059 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
15692 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
15060 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
15693 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
15061 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
15694 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
15062 | echo "$as_me:$LINENO: result: yes" >&5 |
15695 | { echo "$as_me:$LINENO: result: yes" >&5 |
15063 | echo "${ECHO_T}yes" >&6 |
15696 | echo "${ECHO_T}yes" >&6; } |
15064 | else |
15697 | else |
15065 | # FIXME - insert some real tests, host_os isn't really good enough |
15698 | # FIXME - insert some real tests, host_os isn't really good enough |
15066 | case $host_os in |
15699 | case $host_os in |
15067 | darwin*) |
15700 | darwin*) |
15068 | if test -n "$STRIP" ; then |
15701 | if test -n "$STRIP" ; then |
15069 | striplib="$STRIP -x" |
15702 | striplib="$STRIP -x" |
15070 | echo "$as_me:$LINENO: result: yes" >&5 |
15703 | { echo "$as_me:$LINENO: result: yes" >&5 |
15071 | echo "${ECHO_T}yes" >&6 |
15704 | echo "${ECHO_T}yes" >&6; } |
15072 | else |
15705 | else |
15073 | echo "$as_me:$LINENO: result: no" >&5 |
15706 | { echo "$as_me:$LINENO: result: no" >&5 |
15074 | echo "${ECHO_T}no" >&6 |
15707 | echo "${ECHO_T}no" >&6; } |
15075 | fi |
15708 | fi |
15076 | ;; |
15709 | ;; |
15077 | *) |
15710 | *) |
15078 | echo "$as_me:$LINENO: result: no" >&5 |
15711 | { echo "$as_me:$LINENO: result: no" >&5 |
15079 | echo "${ECHO_T}no" >&6 |
15712 | echo "${ECHO_T}no" >&6; } |
15080 | ;; |
15713 | ;; |
15081 | esac |
15714 | esac |
15082 | fi |
15715 | fi |
15083 | |
15716 | |
15084 | |
15717 | |
… | |
… | |
15497 | |
16130 | |
15498 | GCJ) |
16131 | GCJ) |
15499 | if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
16132 | if test -n "$GCJ" && test "X$GCJ" != "Xno"; then |
15500 | |
16133 | |
15501 | |
16134 | |
15502 | |
|
|
15503 | # Source file extension for Java test sources. |
16135 | # Source file extension for Java test sources. |
15504 | ac_ext=java |
16136 | ac_ext=java |
15505 | |
16137 | |
15506 | # Object file extension for compiled Java test sources. |
16138 | # Object file extension for compiled Java test sources. |
15507 | objext=o |
16139 | objext=o |
… | |
… | |
15536 | |
16168 | |
15537 | if test "$GCC" = yes; then |
16169 | if test "$GCC" = yes; then |
15538 | lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
16170 | lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' |
15539 | |
16171 | |
15540 | |
16172 | |
15541 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
16173 | { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
15542 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 |
16174 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } |
15543 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
16175 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then |
15544 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16176 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15545 | else |
16177 | else |
15546 | lt_cv_prog_compiler_rtti_exceptions=no |
16178 | lt_cv_prog_compiler_rtti_exceptions=no |
15547 | ac_outfile=conftest.$ac_objext |
16179 | ac_outfile=conftest.$ac_objext |
… | |
… | |
15554 | # The option is referenced via a variable to avoid confusing sed. |
16186 | # The option is referenced via a variable to avoid confusing sed. |
15555 | lt_compile=`echo "$ac_compile" | $SED \ |
16187 | lt_compile=`echo "$ac_compile" | $SED \ |
15556 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16188 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15557 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16189 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15558 | -e 's:$: $lt_compiler_flag:'` |
16190 | -e 's:$: $lt_compiler_flag:'` |
15559 | (eval echo "\"\$as_me:15559: $lt_compile\"" >&5) |
16191 | (eval echo "\"\$as_me:16191: $lt_compile\"" >&5) |
15560 | (eval "$lt_compile" 2>conftest.err) |
16192 | (eval "$lt_compile" 2>conftest.err) |
15561 | ac_status=$? |
16193 | ac_status=$? |
15562 | cat conftest.err >&5 |
16194 | cat conftest.err >&5 |
15563 | echo "$as_me:15563: \$? = $ac_status" >&5 |
16195 | echo "$as_me:16195: \$? = $ac_status" >&5 |
15564 | if (exit $ac_status) && test -s "$ac_outfile"; then |
16196 | if (exit $ac_status) && test -s "$ac_outfile"; then |
15565 | # The compiler can only warn and ignore the option if not recognized |
16197 | # The compiler can only warn and ignore the option if not recognized |
15566 | # So say no if there are warnings |
16198 | # So say no if there are warnings |
15567 | if test ! -s conftest.err; then |
16199 | if test ! -s conftest.err; then |
15568 | lt_cv_prog_compiler_rtti_exceptions=yes |
16200 | lt_cv_prog_compiler_rtti_exceptions=yes |
15569 | fi |
16201 | fi |
15570 | fi |
16202 | fi |
15571 | $rm conftest* |
16203 | $rm conftest* |
15572 | |
16204 | |
15573 | fi |
16205 | fi |
15574 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
16206 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
15575 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 |
16207 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
15576 | |
16208 | |
15577 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
16209 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
15578 | lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
16210 | lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" |
15579 | else |
16211 | else |
15580 | : |
16212 | : |
… | |
… | |
15584 | |
16216 | |
15585 | lt_prog_compiler_wl_GCJ= |
16217 | lt_prog_compiler_wl_GCJ= |
15586 | lt_prog_compiler_pic_GCJ= |
16218 | lt_prog_compiler_pic_GCJ= |
15587 | lt_prog_compiler_static_GCJ= |
16219 | lt_prog_compiler_static_GCJ= |
15588 | |
16220 | |
15589 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
16221 | { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 |
15590 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 |
16222 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } |
15591 | |
16223 | |
15592 | if test "$GCC" = yes; then |
16224 | if test "$GCC" = yes; then |
15593 | lt_prog_compiler_wl_GCJ='-Wl,' |
16225 | lt_prog_compiler_wl_GCJ='-Wl,' |
15594 | lt_prog_compiler_static_GCJ='-static' |
16226 | lt_prog_compiler_static_GCJ='-static' |
15595 | |
16227 | |
… | |
… | |
15761 | lt_prog_compiler_can_build_shared_GCJ=no |
16393 | lt_prog_compiler_can_build_shared_GCJ=no |
15762 | ;; |
16394 | ;; |
15763 | esac |
16395 | esac |
15764 | fi |
16396 | fi |
15765 | |
16397 | |
15766 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
16398 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 |
15767 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 |
16399 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } |
15768 | |
16400 | |
15769 | # |
16401 | # |
15770 | # Check to make sure the PIC flag actually works. |
16402 | # Check to make sure the PIC flag actually works. |
15771 | # |
16403 | # |
15772 | if test -n "$lt_prog_compiler_pic_GCJ"; then |
16404 | if test -n "$lt_prog_compiler_pic_GCJ"; then |
15773 | |
16405 | |
15774 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
16406 | { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 |
15775 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 |
16407 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } |
15776 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
16408 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then |
15777 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16409 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15778 | else |
16410 | else |
15779 | lt_prog_compiler_pic_works_GCJ=no |
16411 | lt_prog_compiler_pic_works_GCJ=no |
15780 | ac_outfile=conftest.$ac_objext |
16412 | ac_outfile=conftest.$ac_objext |
… | |
… | |
15787 | # The option is referenced via a variable to avoid confusing sed. |
16419 | # The option is referenced via a variable to avoid confusing sed. |
15788 | lt_compile=`echo "$ac_compile" | $SED \ |
16420 | lt_compile=`echo "$ac_compile" | $SED \ |
15789 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16421 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15790 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16422 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15791 | -e 's:$: $lt_compiler_flag:'` |
16423 | -e 's:$: $lt_compiler_flag:'` |
15792 | (eval echo "\"\$as_me:15792: $lt_compile\"" >&5) |
16424 | (eval echo "\"\$as_me:16424: $lt_compile\"" >&5) |
15793 | (eval "$lt_compile" 2>conftest.err) |
16425 | (eval "$lt_compile" 2>conftest.err) |
15794 | ac_status=$? |
16426 | ac_status=$? |
15795 | cat conftest.err >&5 |
16427 | cat conftest.err >&5 |
15796 | echo "$as_me:15796: \$? = $ac_status" >&5 |
16428 | echo "$as_me:16428: \$? = $ac_status" >&5 |
15797 | if (exit $ac_status) && test -s "$ac_outfile"; then |
16429 | if (exit $ac_status) && test -s "$ac_outfile"; then |
15798 | # The compiler can only warn and ignore the option if not recognized |
16430 | # The compiler can only warn and ignore the option if not recognized |
15799 | # So say no if there are warnings |
16431 | # So say no if there are warnings |
15800 | if test ! -s conftest.err; then |
16432 | if test ! -s conftest.err; then |
15801 | lt_prog_compiler_pic_works_GCJ=yes |
16433 | lt_prog_compiler_pic_works_GCJ=yes |
15802 | fi |
16434 | fi |
15803 | fi |
16435 | fi |
15804 | $rm conftest* |
16436 | $rm conftest* |
15805 | |
16437 | |
15806 | fi |
16438 | fi |
15807 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 |
16439 | { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 |
15808 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 |
16440 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } |
15809 | |
16441 | |
15810 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then |
16442 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then |
15811 | case $lt_prog_compiler_pic_GCJ in |
16443 | case $lt_prog_compiler_pic_GCJ in |
15812 | "" | " "*) ;; |
16444 | "" | " "*) ;; |
15813 | *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
16445 | *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; |
… | |
… | |
15826 | *) |
16458 | *) |
15827 | lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
16459 | lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" |
15828 | ;; |
16460 | ;; |
15829 | esac |
16461 | esac |
15830 | |
16462 | |
15831 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
16463 | { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 |
15832 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 |
16464 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } |
15833 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
16465 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then |
15834 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
16466 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
15835 | else |
16467 | else |
15836 | lt_cv_prog_compiler_c_o_GCJ=no |
16468 | lt_cv_prog_compiler_c_o_GCJ=no |
15837 | $rm -r conftest 2>/dev/null |
16469 | $rm -r conftest 2>/dev/null |
… | |
… | |
15847 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
16479 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
15848 | lt_compile=`echo "$ac_compile" | $SED \ |
16480 | lt_compile=`echo "$ac_compile" | $SED \ |
15849 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
16481 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15850 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
16482 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15851 | -e 's:$: $lt_compiler_flag:'` |
16483 | -e 's:$: $lt_compiler_flag:'` |
15852 | (eval echo "\"\$as_me:15852: $lt_compile\"" >&5) |
16484 | (eval echo "\"\$as_me:16484: $lt_compile\"" >&5) |
15853 | (eval "$lt_compile" 2>out/conftest.err) |
16485 | (eval "$lt_compile" 2>out/conftest.err) |
15854 | ac_status=$? |
16486 | ac_status=$? |
15855 | cat out/conftest.err >&5 |
16487 | cat out/conftest.err >&5 |
15856 | echo "$as_me:15856: \$? = $ac_status" >&5 |
16488 | echo "$as_me:16488: \$? = $ac_status" >&5 |
15857 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
16489 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15858 | then |
16490 | then |
15859 | # The compiler can only warn and ignore the option if not recognized |
16491 | # The compiler can only warn and ignore the option if not recognized |
15860 | # So say no if there are warnings |
16492 | # So say no if there are warnings |
15861 | if test ! -s out/conftest.err; then |
16493 | if test ! -s out/conftest.err; then |
… | |
… | |
15871 | cd .. |
16503 | cd .. |
15872 | rmdir conftest |
16504 | rmdir conftest |
15873 | $rm conftest* |
16505 | $rm conftest* |
15874 | |
16506 | |
15875 | fi |
16507 | fi |
15876 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
16508 | { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 |
15877 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 |
16509 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } |
15878 | |
16510 | |
15879 | |
16511 | |
15880 | hard_links="nottested" |
16512 | hard_links="nottested" |
15881 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
16513 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then |
15882 | # do not overwrite the value of need_locks provided by the user |
16514 | # do not overwrite the value of need_locks provided by the user |
15883 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
16515 | { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 |
15884 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 |
16516 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } |
15885 | hard_links=yes |
16517 | hard_links=yes |
15886 | $rm conftest* |
16518 | $rm conftest* |
15887 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
16519 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
15888 | touch conftest.a |
16520 | touch conftest.a |
15889 | ln conftest.a conftest.b 2>&5 || hard_links=no |
16521 | ln conftest.a conftest.b 2>&5 || hard_links=no |
15890 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
16522 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
15891 | echo "$as_me:$LINENO: result: $hard_links" >&5 |
16523 | { echo "$as_me:$LINENO: result: $hard_links" >&5 |
15892 | echo "${ECHO_T}$hard_links" >&6 |
16524 | echo "${ECHO_T}$hard_links" >&6; } |
15893 | if test "$hard_links" = no; then |
16525 | if test "$hard_links" = no; then |
15894 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
16526 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
15895 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
16527 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
15896 | need_locks=warn |
16528 | need_locks=warn |
15897 | fi |
16529 | fi |
15898 | else |
16530 | else |
15899 | need_locks=no |
16531 | need_locks=no |
15900 | fi |
16532 | fi |
15901 | |
16533 | |
15902 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
16534 | { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
15903 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 |
16535 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } |
15904 | |
16536 | |
15905 | runpath_var= |
16537 | runpath_var= |
15906 | allow_undefined_flag_GCJ= |
16538 | allow_undefined_flag_GCJ= |
15907 | enable_shared_with_static_runtimes_GCJ=no |
16539 | enable_shared_with_static_runtimes_GCJ=no |
15908 | archive_cmds_GCJ= |
16540 | archive_cmds_GCJ= |
… | |
… | |
16230 | ; |
16862 | ; |
16231 | return 0; |
16863 | return 0; |
16232 | } |
16864 | } |
16233 | _ACEOF |
16865 | _ACEOF |
16234 | rm -f conftest.$ac_objext conftest$ac_exeext |
16866 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16867 | if { (ac_try="$ac_link" |
|
|
16868 | case "(($ac_try" in |
|
|
16869 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
16870 | *) ac_try_echo=$ac_try;; |
|
|
16871 | esac |
16235 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16872 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16236 | (eval $ac_link) 2>conftest.er1 |
16873 | (eval "$ac_link") 2>conftest.er1 |
16237 | ac_status=$? |
16874 | ac_status=$? |
16238 | grep -v '^ *+' conftest.er1 >conftest.err |
16875 | grep -v '^ *+' conftest.er1 >conftest.err |
16239 | rm -f conftest.er1 |
16876 | rm -f conftest.er1 |
16240 | cat conftest.err >&5 |
16877 | cat conftest.err >&5 |
16241 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16878 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16242 | (exit $ac_status); } && |
16879 | (exit $ac_status); } && { |
16243 | { ac_try='test -z "$ac_c_werror_flag" |
16880 | test -z "$ac_c_werror_flag" || |
16244 | || test ! -s conftest.err' |
16881 | test ! -s conftest.err |
16245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16882 | } && test -s conftest$ac_exeext && |
16246 | (eval $ac_try) 2>&5 |
16883 | $as_test_x conftest$ac_exeext; then |
16247 | ac_status=$? |
|
|
16248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16249 | (exit $ac_status); }; } && |
|
|
16250 | { ac_try='test -s conftest$ac_exeext' |
|
|
16251 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16252 | (eval $ac_try) 2>&5 |
|
|
16253 | ac_status=$? |
|
|
16254 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16255 | (exit $ac_status); }; }; then |
|
|
16256 | |
16884 | |
16257 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16885 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16258 | }'` |
16886 | }'` |
16259 | # Check for a 64-bit object if we didn't find anything. |
16887 | # Check for a 64-bit object if we didn't find anything. |
16260 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16888 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16261 | }'`; fi |
16889 | }'`; fi |
16262 | else |
16890 | else |
16263 | echo "$as_me: failed program was:" >&5 |
16891 | echo "$as_me: failed program was:" >&5 |
16264 | sed 's/^/| /' conftest.$ac_ext >&5 |
16892 | sed 's/^/| /' conftest.$ac_ext >&5 |
16265 | |
16893 | |
|
|
16894 | |
16266 | fi |
16895 | fi |
16267 | rm -f conftest.err conftest.$ac_objext \ |
16896 | |
|
|
16897 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16268 | conftest$ac_exeext conftest.$ac_ext |
16898 | conftest$ac_exeext conftest.$ac_ext |
16269 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16899 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16270 | |
16900 | |
16271 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16901 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16272 | archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
16902 | archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
… | |
… | |
16291 | ; |
16921 | ; |
16292 | return 0; |
16922 | return 0; |
16293 | } |
16923 | } |
16294 | _ACEOF |
16924 | _ACEOF |
16295 | rm -f conftest.$ac_objext conftest$ac_exeext |
16925 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
16926 | if { (ac_try="$ac_link" |
|
|
16927 | case "(($ac_try" in |
|
|
16928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
16929 | *) ac_try_echo=$ac_try;; |
|
|
16930 | esac |
16296 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
16931 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
16297 | (eval $ac_link) 2>conftest.er1 |
16932 | (eval "$ac_link") 2>conftest.er1 |
16298 | ac_status=$? |
16933 | ac_status=$? |
16299 | grep -v '^ *+' conftest.er1 >conftest.err |
16934 | grep -v '^ *+' conftest.er1 >conftest.err |
16300 | rm -f conftest.er1 |
16935 | rm -f conftest.er1 |
16301 | cat conftest.err >&5 |
16936 | cat conftest.err >&5 |
16302 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16303 | (exit $ac_status); } && |
16938 | (exit $ac_status); } && { |
16304 | { ac_try='test -z "$ac_c_werror_flag" |
16939 | test -z "$ac_c_werror_flag" || |
16305 | || test ! -s conftest.err' |
16940 | test ! -s conftest.err |
16306 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16941 | } && test -s conftest$ac_exeext && |
16307 | (eval $ac_try) 2>&5 |
16942 | $as_test_x conftest$ac_exeext; then |
16308 | ac_status=$? |
|
|
16309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16310 | (exit $ac_status); }; } && |
|
|
16311 | { ac_try='test -s conftest$ac_exeext' |
|
|
16312 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
16313 | (eval $ac_try) 2>&5 |
|
|
16314 | ac_status=$? |
|
|
16315 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
16316 | (exit $ac_status); }; }; then |
|
|
16317 | |
16943 | |
16318 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16944 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16319 | }'` |
16945 | }'` |
16320 | # Check for a 64-bit object if we didn't find anything. |
16946 | # Check for a 64-bit object if we didn't find anything. |
16321 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16947 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } |
16322 | }'`; fi |
16948 | }'`; fi |
16323 | else |
16949 | else |
16324 | echo "$as_me: failed program was:" >&5 |
16950 | echo "$as_me: failed program was:" >&5 |
16325 | sed 's/^/| /' conftest.$ac_ext >&5 |
16951 | sed 's/^/| /' conftest.$ac_ext >&5 |
16326 | |
16952 | |
|
|
16953 | |
16327 | fi |
16954 | fi |
16328 | rm -f conftest.err conftest.$ac_objext \ |
16955 | |
|
|
16956 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
16329 | conftest$ac_exeext conftest.$ac_ext |
16957 | conftest$ac_exeext conftest.$ac_ext |
16330 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16958 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi |
16331 | |
16959 | |
16332 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16960 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" |
16333 | # Warning - without using the other run time loading flags, |
16961 | # Warning - without using the other run time loading flags, |
… | |
… | |
16745 | ld_shlibs_GCJ=no |
17373 | ld_shlibs_GCJ=no |
16746 | ;; |
17374 | ;; |
16747 | esac |
17375 | esac |
16748 | fi |
17376 | fi |
16749 | |
17377 | |
16750 | echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
17378 | { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 |
16751 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6 |
17379 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } |
16752 | test "$ld_shlibs_GCJ" = no && can_build_shared=no |
17380 | test "$ld_shlibs_GCJ" = no && can_build_shared=no |
16753 | |
17381 | |
16754 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
17382 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
16755 | if test "$GCC" = yes; then |
17383 | if test "$GCC" = yes; then |
16756 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
17384 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
… | |
… | |
16771 | ;; |
17399 | ;; |
16772 | '$CC '*) |
17400 | '$CC '*) |
16773 | # Test whether the compiler implicitly links with -lc since on some |
17401 | # Test whether the compiler implicitly links with -lc since on some |
16774 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
17402 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
16775 | # to ld, don't add -lc before -lgcc. |
17403 | # to ld, don't add -lc before -lgcc. |
16776 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
17404 | { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 |
16777 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 |
17405 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } |
16778 | $rm conftest* |
17406 | $rm conftest* |
16779 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
17407 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext |
16780 | |
17408 | |
16781 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
17409 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16782 | (eval $ac_compile) 2>&5 |
17410 | (eval $ac_compile) 2>&5 |
… | |
… | |
16808 | allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
17436 | allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag |
16809 | else |
17437 | else |
16810 | cat conftest.err 1>&5 |
17438 | cat conftest.err 1>&5 |
16811 | fi |
17439 | fi |
16812 | $rm conftest* |
17440 | $rm conftest* |
16813 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
17441 | { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 |
16814 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 |
17442 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } |
16815 | ;; |
17443 | ;; |
16816 | esac |
17444 | esac |
16817 | fi |
17445 | fi |
16818 | ;; |
17446 | ;; |
16819 | esac |
17447 | esac |
16820 | |
17448 | |
16821 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
17449 | { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 |
16822 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 |
17450 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } |
16823 | library_names_spec= |
17451 | library_names_spec= |
16824 | libname_spec='lib$name' |
17452 | libname_spec='lib$name' |
16825 | soname_spec= |
17453 | soname_spec= |
16826 | shrext=".so" |
17454 | shrext=".so" |
16827 | postinstall_cmds= |
17455 | postinstall_cmds= |
… | |
… | |
17356 | |
17984 | |
17357 | *) |
17985 | *) |
17358 | dynamic_linker=no |
17986 | dynamic_linker=no |
17359 | ;; |
17987 | ;; |
17360 | esac |
17988 | esac |
17361 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
17989 | { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 |
17362 | echo "${ECHO_T}$dynamic_linker" >&6 |
17990 | echo "${ECHO_T}$dynamic_linker" >&6; } |
17363 | test "$dynamic_linker" = no && can_build_shared=no |
17991 | test "$dynamic_linker" = no && can_build_shared=no |
17364 | |
17992 | |
17365 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
17993 | { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 |
17366 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 |
17994 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } |
17367 | hardcode_action_GCJ= |
17995 | hardcode_action_GCJ= |
17368 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
17996 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ |
17369 | test -n "$runpath_var GCJ" || \ |
17997 | test -n "$runpath_var GCJ" || \ |
17370 | test "X$hardcode_automatic_GCJ"="Xyes" ; then |
17998 | test "X$hardcode_automatic_GCJ"="Xyes" ; then |
17371 | |
17999 | |
… | |
… | |
17385 | else |
18013 | else |
17386 | # We cannot hardcode anything, or else we can only hardcode existing |
18014 | # We cannot hardcode anything, or else we can only hardcode existing |
17387 | # directories. |
18015 | # directories. |
17388 | hardcode_action_GCJ=unsupported |
18016 | hardcode_action_GCJ=unsupported |
17389 | fi |
18017 | fi |
17390 | echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
18018 | { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 |
17391 | echo "${ECHO_T}$hardcode_action_GCJ" >&6 |
18019 | echo "${ECHO_T}$hardcode_action_GCJ" >&6; } |
17392 | |
18020 | |
17393 | if test "$hardcode_action_GCJ" = relink; then |
18021 | if test "$hardcode_action_GCJ" = relink; then |
17394 | # Fast installation is not supported |
18022 | # Fast installation is not supported |
17395 | enable_fast_install=no |
18023 | enable_fast_install=no |
17396 | elif test "$shlibpath_overrides_runpath" = yes || |
18024 | elif test "$shlibpath_overrides_runpath" = yes || |
… | |
… | |
17399 | enable_fast_install=needless |
18027 | enable_fast_install=needless |
17400 | fi |
18028 | fi |
17401 | |
18029 | |
17402 | striplib= |
18030 | striplib= |
17403 | old_striplib= |
18031 | old_striplib= |
17404 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
18032 | { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 |
17405 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 |
18033 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } |
17406 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
18034 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then |
17407 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
18035 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
17408 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
18036 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
17409 | echo "$as_me:$LINENO: result: yes" >&5 |
18037 | { echo "$as_me:$LINENO: result: yes" >&5 |
17410 | echo "${ECHO_T}yes" >&6 |
18038 | echo "${ECHO_T}yes" >&6; } |
17411 | else |
18039 | else |
17412 | # FIXME - insert some real tests, host_os isn't really good enough |
18040 | # FIXME - insert some real tests, host_os isn't really good enough |
17413 | case $host_os in |
18041 | case $host_os in |
17414 | darwin*) |
18042 | darwin*) |
17415 | if test -n "$STRIP" ; then |
18043 | if test -n "$STRIP" ; then |
17416 | striplib="$STRIP -x" |
18044 | striplib="$STRIP -x" |
17417 | echo "$as_me:$LINENO: result: yes" >&5 |
18045 | { echo "$as_me:$LINENO: result: yes" >&5 |
17418 | echo "${ECHO_T}yes" >&6 |
18046 | echo "${ECHO_T}yes" >&6; } |
17419 | else |
18047 | else |
17420 | echo "$as_me:$LINENO: result: no" >&5 |
18048 | { echo "$as_me:$LINENO: result: no" >&5 |
17421 | echo "${ECHO_T}no" >&6 |
18049 | echo "${ECHO_T}no" >&6; } |
17422 | fi |
18050 | fi |
17423 | ;; |
18051 | ;; |
17424 | *) |
18052 | *) |
17425 | echo "$as_me:$LINENO: result: no" >&5 |
18053 | { echo "$as_me:$LINENO: result: no" >&5 |
17426 | echo "${ECHO_T}no" >&6 |
18054 | echo "${ECHO_T}no" >&6; } |
17427 | ;; |
18055 | ;; |
17428 | esac |
18056 | esac |
17429 | fi |
18057 | fi |
17430 | |
18058 | |
17431 | if test "x$enable_dlopen" != xyes; then |
18059 | if test "x$enable_dlopen" != xyes; then |
… | |
… | |
17453 | lt_cv_dlopen_libs= |
18081 | lt_cv_dlopen_libs= |
17454 | ;; |
18082 | ;; |
17455 | |
18083 | |
17456 | darwin*) |
18084 | darwin*) |
17457 | # if libdl is installed we need to link against it |
18085 | # if libdl is installed we need to link against it |
17458 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
18086 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
17459 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
18087 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
17460 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
18088 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
17461 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18089 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17462 | else |
18090 | else |
17463 | ac_check_lib_save_LIBS=$LIBS |
18091 | ac_check_lib_save_LIBS=$LIBS |
17464 | LIBS="-ldl $LIBS" |
18092 | LIBS="-ldl $LIBS" |
… | |
… | |
17467 | _ACEOF |
18095 | _ACEOF |
17468 | cat confdefs.h >>conftest.$ac_ext |
18096 | cat confdefs.h >>conftest.$ac_ext |
17469 | cat >>conftest.$ac_ext <<_ACEOF |
18097 | cat >>conftest.$ac_ext <<_ACEOF |
17470 | /* end confdefs.h. */ |
18098 | /* end confdefs.h. */ |
17471 | |
18099 | |
17472 | /* Override any gcc2 internal prototype to avoid an error. */ |
18100 | /* Override any GCC internal prototype to avoid an error. |
|
|
18101 | Use char because int might match the return type of a GCC |
|
|
18102 | builtin and then its argument prototype would still apply. */ |
17473 | #ifdef __cplusplus |
18103 | #ifdef __cplusplus |
17474 | extern "C" |
18104 | extern "C" |
17475 | #endif |
18105 | #endif |
17476 | /* We use char because int might match the return type of a gcc2 |
|
|
17477 | builtin and then its argument prototype would still apply. */ |
|
|
17478 | char dlopen (); |
18106 | char dlopen (); |
17479 | int |
18107 | int |
17480 | main () |
18108 | main () |
17481 | { |
18109 | { |
17482 | dlopen (); |
18110 | return dlopen (); |
17483 | ; |
18111 | ; |
17484 | return 0; |
18112 | return 0; |
17485 | } |
18113 | } |
17486 | _ACEOF |
18114 | _ACEOF |
17487 | rm -f conftest.$ac_objext conftest$ac_exeext |
18115 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18116 | if { (ac_try="$ac_link" |
|
|
18117 | case "(($ac_try" in |
|
|
18118 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18119 | *) ac_try_echo=$ac_try;; |
|
|
18120 | esac |
17488 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18121 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17489 | (eval $ac_link) 2>conftest.er1 |
18122 | (eval "$ac_link") 2>conftest.er1 |
17490 | ac_status=$? |
18123 | ac_status=$? |
17491 | grep -v '^ *+' conftest.er1 >conftest.err |
18124 | grep -v '^ *+' conftest.er1 >conftest.err |
17492 | rm -f conftest.er1 |
18125 | rm -f conftest.er1 |
17493 | cat conftest.err >&5 |
18126 | cat conftest.err >&5 |
17494 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18127 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17495 | (exit $ac_status); } && |
18128 | (exit $ac_status); } && { |
17496 | { ac_try='test -z "$ac_c_werror_flag" |
18129 | test -z "$ac_c_werror_flag" || |
17497 | || test ! -s conftest.err' |
18130 | test ! -s conftest.err |
17498 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18131 | } && test -s conftest$ac_exeext && |
17499 | (eval $ac_try) 2>&5 |
18132 | $as_test_x conftest$ac_exeext; then |
17500 | ac_status=$? |
|
|
17501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17502 | (exit $ac_status); }; } && |
|
|
17503 | { ac_try='test -s conftest$ac_exeext' |
|
|
17504 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17505 | (eval $ac_try) 2>&5 |
|
|
17506 | ac_status=$? |
|
|
17507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17508 | (exit $ac_status); }; }; then |
|
|
17509 | ac_cv_lib_dl_dlopen=yes |
18133 | ac_cv_lib_dl_dlopen=yes |
17510 | else |
18134 | else |
17511 | echo "$as_me: failed program was:" >&5 |
18135 | echo "$as_me: failed program was:" >&5 |
17512 | sed 's/^/| /' conftest.$ac_ext >&5 |
18136 | sed 's/^/| /' conftest.$ac_ext >&5 |
17513 | |
18137 | |
17514 | ac_cv_lib_dl_dlopen=no |
18138 | ac_cv_lib_dl_dlopen=no |
17515 | fi |
18139 | fi |
17516 | rm -f conftest.err conftest.$ac_objext \ |
18140 | |
|
|
18141 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17517 | conftest$ac_exeext conftest.$ac_ext |
18142 | conftest$ac_exeext conftest.$ac_ext |
17518 | LIBS=$ac_check_lib_save_LIBS |
18143 | LIBS=$ac_check_lib_save_LIBS |
17519 | fi |
18144 | fi |
17520 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
18145 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17521 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
18146 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
17522 | if test $ac_cv_lib_dl_dlopen = yes; then |
18147 | if test $ac_cv_lib_dl_dlopen = yes; then |
17523 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
18148 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
17524 | else |
18149 | else |
17525 | |
18150 | |
17526 | lt_cv_dlopen="dyld" |
18151 | lt_cv_dlopen="dyld" |
… | |
… | |
17530 | fi |
18155 | fi |
17531 | |
18156 | |
17532 | ;; |
18157 | ;; |
17533 | |
18158 | |
17534 | *) |
18159 | *) |
17535 | echo "$as_me:$LINENO: checking for shl_load" >&5 |
18160 | { echo "$as_me:$LINENO: checking for shl_load" >&5 |
17536 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 |
18161 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } |
17537 | if test "${ac_cv_func_shl_load+set}" = set; then |
18162 | if test "${ac_cv_func_shl_load+set}" = set; then |
17538 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18163 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17539 | else |
18164 | else |
17540 | cat >conftest.$ac_ext <<_ACEOF |
18165 | cat >conftest.$ac_ext <<_ACEOF |
17541 | /* confdefs.h. */ |
18166 | /* confdefs.h. */ |
… | |
… | |
17558 | # include <assert.h> |
18183 | # include <assert.h> |
17559 | #endif |
18184 | #endif |
17560 | |
18185 | |
17561 | #undef shl_load |
18186 | #undef shl_load |
17562 | |
18187 | |
17563 | /* Override any gcc2 internal prototype to avoid an error. */ |
18188 | /* Override any GCC internal prototype to avoid an error. |
|
|
18189 | Use char because int might match the return type of a GCC |
|
|
18190 | builtin and then its argument prototype would still apply. */ |
17564 | #ifdef __cplusplus |
18191 | #ifdef __cplusplus |
17565 | extern "C" |
18192 | extern "C" |
17566 | { |
|
|
17567 | #endif |
18193 | #endif |
17568 | /* We use char because int might match the return type of a gcc2 |
|
|
17569 | builtin and then its argument prototype would still apply. */ |
|
|
17570 | char shl_load (); |
18194 | char shl_load (); |
17571 | /* The GNU C library defines this for functions which it implements |
18195 | /* The GNU C library defines this for functions which it implements |
17572 | to always fail with ENOSYS. Some functions are actually named |
18196 | to always fail with ENOSYS. Some functions are actually named |
17573 | something starting with __ and the normal name is an alias. */ |
18197 | something starting with __ and the normal name is an alias. */ |
17574 | #if defined (__stub_shl_load) || defined (__stub___shl_load) |
18198 | #if defined __stub_shl_load || defined __stub___shl_load |
17575 | choke me |
18199 | choke me |
17576 | #else |
|
|
17577 | char (*f) () = shl_load; |
|
|
17578 | #endif |
|
|
17579 | #ifdef __cplusplus |
|
|
17580 | } |
|
|
17581 | #endif |
18200 | #endif |
17582 | |
18201 | |
17583 | int |
18202 | int |
17584 | main () |
18203 | main () |
17585 | { |
18204 | { |
17586 | return f != shl_load; |
18205 | return shl_load (); |
17587 | ; |
18206 | ; |
17588 | return 0; |
18207 | return 0; |
17589 | } |
18208 | } |
17590 | _ACEOF |
18209 | _ACEOF |
17591 | rm -f conftest.$ac_objext conftest$ac_exeext |
18210 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18211 | if { (ac_try="$ac_link" |
|
|
18212 | case "(($ac_try" in |
|
|
18213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18214 | *) ac_try_echo=$ac_try;; |
|
|
18215 | esac |
17592 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18216 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17593 | (eval $ac_link) 2>conftest.er1 |
18217 | (eval "$ac_link") 2>conftest.er1 |
17594 | ac_status=$? |
18218 | ac_status=$? |
17595 | grep -v '^ *+' conftest.er1 >conftest.err |
18219 | grep -v '^ *+' conftest.er1 >conftest.err |
17596 | rm -f conftest.er1 |
18220 | rm -f conftest.er1 |
17597 | cat conftest.err >&5 |
18221 | cat conftest.err >&5 |
17598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17599 | (exit $ac_status); } && |
18223 | (exit $ac_status); } && { |
17600 | { ac_try='test -z "$ac_c_werror_flag" |
18224 | test -z "$ac_c_werror_flag" || |
17601 | || test ! -s conftest.err' |
18225 | test ! -s conftest.err |
17602 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18226 | } && test -s conftest$ac_exeext && |
17603 | (eval $ac_try) 2>&5 |
18227 | $as_test_x conftest$ac_exeext; then |
17604 | ac_status=$? |
|
|
17605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17606 | (exit $ac_status); }; } && |
|
|
17607 | { ac_try='test -s conftest$ac_exeext' |
|
|
17608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17609 | (eval $ac_try) 2>&5 |
|
|
17610 | ac_status=$? |
|
|
17611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17612 | (exit $ac_status); }; }; then |
|
|
17613 | ac_cv_func_shl_load=yes |
18228 | ac_cv_func_shl_load=yes |
17614 | else |
18229 | else |
17615 | echo "$as_me: failed program was:" >&5 |
18230 | echo "$as_me: failed program was:" >&5 |
17616 | sed 's/^/| /' conftest.$ac_ext >&5 |
18231 | sed 's/^/| /' conftest.$ac_ext >&5 |
17617 | |
18232 | |
17618 | ac_cv_func_shl_load=no |
18233 | ac_cv_func_shl_load=no |
17619 | fi |
18234 | fi |
17620 | rm -f conftest.err conftest.$ac_objext \ |
18235 | |
|
|
18236 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17621 | conftest$ac_exeext conftest.$ac_ext |
18237 | conftest$ac_exeext conftest.$ac_ext |
17622 | fi |
18238 | fi |
17623 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
18239 | { echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 |
17624 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 |
18240 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } |
17625 | if test $ac_cv_func_shl_load = yes; then |
18241 | if test $ac_cv_func_shl_load = yes; then |
17626 | lt_cv_dlopen="shl_load" |
18242 | lt_cv_dlopen="shl_load" |
17627 | else |
18243 | else |
17628 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
18244 | { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 |
17629 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 |
18245 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } |
17630 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
18246 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then |
17631 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18247 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17632 | else |
18248 | else |
17633 | ac_check_lib_save_LIBS=$LIBS |
18249 | ac_check_lib_save_LIBS=$LIBS |
17634 | LIBS="-ldld $LIBS" |
18250 | LIBS="-ldld $LIBS" |
… | |
… | |
17637 | _ACEOF |
18253 | _ACEOF |
17638 | cat confdefs.h >>conftest.$ac_ext |
18254 | cat confdefs.h >>conftest.$ac_ext |
17639 | cat >>conftest.$ac_ext <<_ACEOF |
18255 | cat >>conftest.$ac_ext <<_ACEOF |
17640 | /* end confdefs.h. */ |
18256 | /* end confdefs.h. */ |
17641 | |
18257 | |
17642 | /* Override any gcc2 internal prototype to avoid an error. */ |
18258 | /* Override any GCC internal prototype to avoid an error. |
|
|
18259 | Use char because int might match the return type of a GCC |
|
|
18260 | builtin and then its argument prototype would still apply. */ |
17643 | #ifdef __cplusplus |
18261 | #ifdef __cplusplus |
17644 | extern "C" |
18262 | extern "C" |
17645 | #endif |
18263 | #endif |
17646 | /* We use char because int might match the return type of a gcc2 |
|
|
17647 | builtin and then its argument prototype would still apply. */ |
|
|
17648 | char shl_load (); |
18264 | char shl_load (); |
17649 | int |
18265 | int |
17650 | main () |
18266 | main () |
17651 | { |
18267 | { |
17652 | shl_load (); |
18268 | return shl_load (); |
17653 | ; |
18269 | ; |
17654 | return 0; |
18270 | return 0; |
17655 | } |
18271 | } |
17656 | _ACEOF |
18272 | _ACEOF |
17657 | rm -f conftest.$ac_objext conftest$ac_exeext |
18273 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18274 | if { (ac_try="$ac_link" |
|
|
18275 | case "(($ac_try" in |
|
|
18276 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18277 | *) ac_try_echo=$ac_try;; |
|
|
18278 | esac |
17658 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18279 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17659 | (eval $ac_link) 2>conftest.er1 |
18280 | (eval "$ac_link") 2>conftest.er1 |
17660 | ac_status=$? |
18281 | ac_status=$? |
17661 | grep -v '^ *+' conftest.er1 >conftest.err |
18282 | grep -v '^ *+' conftest.er1 >conftest.err |
17662 | rm -f conftest.er1 |
18283 | rm -f conftest.er1 |
17663 | cat conftest.err >&5 |
18284 | cat conftest.err >&5 |
17664 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18285 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17665 | (exit $ac_status); } && |
18286 | (exit $ac_status); } && { |
17666 | { ac_try='test -z "$ac_c_werror_flag" |
18287 | test -z "$ac_c_werror_flag" || |
17667 | || test ! -s conftest.err' |
18288 | test ! -s conftest.err |
17668 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18289 | } && test -s conftest$ac_exeext && |
17669 | (eval $ac_try) 2>&5 |
18290 | $as_test_x conftest$ac_exeext; then |
17670 | ac_status=$? |
|
|
17671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17672 | (exit $ac_status); }; } && |
|
|
17673 | { ac_try='test -s conftest$ac_exeext' |
|
|
17674 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17675 | (eval $ac_try) 2>&5 |
|
|
17676 | ac_status=$? |
|
|
17677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17678 | (exit $ac_status); }; }; then |
|
|
17679 | ac_cv_lib_dld_shl_load=yes |
18291 | ac_cv_lib_dld_shl_load=yes |
17680 | else |
18292 | else |
17681 | echo "$as_me: failed program was:" >&5 |
18293 | echo "$as_me: failed program was:" >&5 |
17682 | sed 's/^/| /' conftest.$ac_ext >&5 |
18294 | sed 's/^/| /' conftest.$ac_ext >&5 |
17683 | |
18295 | |
17684 | ac_cv_lib_dld_shl_load=no |
18296 | ac_cv_lib_dld_shl_load=no |
17685 | fi |
18297 | fi |
17686 | rm -f conftest.err conftest.$ac_objext \ |
18298 | |
|
|
18299 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17687 | conftest$ac_exeext conftest.$ac_ext |
18300 | conftest$ac_exeext conftest.$ac_ext |
17688 | LIBS=$ac_check_lib_save_LIBS |
18301 | LIBS=$ac_check_lib_save_LIBS |
17689 | fi |
18302 | fi |
17690 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
18303 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 |
17691 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 |
18304 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } |
17692 | if test $ac_cv_lib_dld_shl_load = yes; then |
18305 | if test $ac_cv_lib_dld_shl_load = yes; then |
17693 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
18306 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" |
17694 | else |
18307 | else |
17695 | echo "$as_me:$LINENO: checking for dlopen" >&5 |
18308 | { echo "$as_me:$LINENO: checking for dlopen" >&5 |
17696 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 |
18309 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } |
17697 | if test "${ac_cv_func_dlopen+set}" = set; then |
18310 | if test "${ac_cv_func_dlopen+set}" = set; then |
17698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18311 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17699 | else |
18312 | else |
17700 | cat >conftest.$ac_ext <<_ACEOF |
18313 | cat >conftest.$ac_ext <<_ACEOF |
17701 | /* confdefs.h. */ |
18314 | /* confdefs.h. */ |
… | |
… | |
17718 | # include <assert.h> |
18331 | # include <assert.h> |
17719 | #endif |
18332 | #endif |
17720 | |
18333 | |
17721 | #undef dlopen |
18334 | #undef dlopen |
17722 | |
18335 | |
17723 | /* Override any gcc2 internal prototype to avoid an error. */ |
18336 | /* Override any GCC internal prototype to avoid an error. |
|
|
18337 | Use char because int might match the return type of a GCC |
|
|
18338 | builtin and then its argument prototype would still apply. */ |
17724 | #ifdef __cplusplus |
18339 | #ifdef __cplusplus |
17725 | extern "C" |
18340 | extern "C" |
17726 | { |
|
|
17727 | #endif |
18341 | #endif |
17728 | /* We use char because int might match the return type of a gcc2 |
|
|
17729 | builtin and then its argument prototype would still apply. */ |
|
|
17730 | char dlopen (); |
18342 | char dlopen (); |
17731 | /* The GNU C library defines this for functions which it implements |
18343 | /* The GNU C library defines this for functions which it implements |
17732 | to always fail with ENOSYS. Some functions are actually named |
18344 | to always fail with ENOSYS. Some functions are actually named |
17733 | something starting with __ and the normal name is an alias. */ |
18345 | something starting with __ and the normal name is an alias. */ |
17734 | #if defined (__stub_dlopen) || defined (__stub___dlopen) |
18346 | #if defined __stub_dlopen || defined __stub___dlopen |
17735 | choke me |
18347 | choke me |
17736 | #else |
|
|
17737 | char (*f) () = dlopen; |
|
|
17738 | #endif |
|
|
17739 | #ifdef __cplusplus |
|
|
17740 | } |
|
|
17741 | #endif |
18348 | #endif |
17742 | |
18349 | |
17743 | int |
18350 | int |
17744 | main () |
18351 | main () |
17745 | { |
18352 | { |
17746 | return f != dlopen; |
18353 | return dlopen (); |
17747 | ; |
18354 | ; |
17748 | return 0; |
18355 | return 0; |
17749 | } |
18356 | } |
17750 | _ACEOF |
18357 | _ACEOF |
17751 | rm -f conftest.$ac_objext conftest$ac_exeext |
18358 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18359 | if { (ac_try="$ac_link" |
|
|
18360 | case "(($ac_try" in |
|
|
18361 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18362 | *) ac_try_echo=$ac_try;; |
|
|
18363 | esac |
17752 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18364 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17753 | (eval $ac_link) 2>conftest.er1 |
18365 | (eval "$ac_link") 2>conftest.er1 |
17754 | ac_status=$? |
18366 | ac_status=$? |
17755 | grep -v '^ *+' conftest.er1 >conftest.err |
18367 | grep -v '^ *+' conftest.er1 >conftest.err |
17756 | rm -f conftest.er1 |
18368 | rm -f conftest.er1 |
17757 | cat conftest.err >&5 |
18369 | cat conftest.err >&5 |
17758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18370 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17759 | (exit $ac_status); } && |
18371 | (exit $ac_status); } && { |
17760 | { ac_try='test -z "$ac_c_werror_flag" |
18372 | test -z "$ac_c_werror_flag" || |
17761 | || test ! -s conftest.err' |
18373 | test ! -s conftest.err |
17762 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18374 | } && test -s conftest$ac_exeext && |
17763 | (eval $ac_try) 2>&5 |
18375 | $as_test_x conftest$ac_exeext; then |
17764 | ac_status=$? |
|
|
17765 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17766 | (exit $ac_status); }; } && |
|
|
17767 | { ac_try='test -s conftest$ac_exeext' |
|
|
17768 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17769 | (eval $ac_try) 2>&5 |
|
|
17770 | ac_status=$? |
|
|
17771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17772 | (exit $ac_status); }; }; then |
|
|
17773 | ac_cv_func_dlopen=yes |
18376 | ac_cv_func_dlopen=yes |
17774 | else |
18377 | else |
17775 | echo "$as_me: failed program was:" >&5 |
18378 | echo "$as_me: failed program was:" >&5 |
17776 | sed 's/^/| /' conftest.$ac_ext >&5 |
18379 | sed 's/^/| /' conftest.$ac_ext >&5 |
17777 | |
18380 | |
17778 | ac_cv_func_dlopen=no |
18381 | ac_cv_func_dlopen=no |
17779 | fi |
18382 | fi |
17780 | rm -f conftest.err conftest.$ac_objext \ |
18383 | |
|
|
18384 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17781 | conftest$ac_exeext conftest.$ac_ext |
18385 | conftest$ac_exeext conftest.$ac_ext |
17782 | fi |
18386 | fi |
17783 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
18387 | { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 |
17784 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 |
18388 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } |
17785 | if test $ac_cv_func_dlopen = yes; then |
18389 | if test $ac_cv_func_dlopen = yes; then |
17786 | lt_cv_dlopen="dlopen" |
18390 | lt_cv_dlopen="dlopen" |
17787 | else |
18391 | else |
17788 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
18392 | { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
17789 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
18393 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } |
17790 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
18394 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
17791 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18395 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17792 | else |
18396 | else |
17793 | ac_check_lib_save_LIBS=$LIBS |
18397 | ac_check_lib_save_LIBS=$LIBS |
17794 | LIBS="-ldl $LIBS" |
18398 | LIBS="-ldl $LIBS" |
… | |
… | |
17797 | _ACEOF |
18401 | _ACEOF |
17798 | cat confdefs.h >>conftest.$ac_ext |
18402 | cat confdefs.h >>conftest.$ac_ext |
17799 | cat >>conftest.$ac_ext <<_ACEOF |
18403 | cat >>conftest.$ac_ext <<_ACEOF |
17800 | /* end confdefs.h. */ |
18404 | /* end confdefs.h. */ |
17801 | |
18405 | |
17802 | /* Override any gcc2 internal prototype to avoid an error. */ |
18406 | /* Override any GCC internal prototype to avoid an error. |
|
|
18407 | Use char because int might match the return type of a GCC |
|
|
18408 | builtin and then its argument prototype would still apply. */ |
17803 | #ifdef __cplusplus |
18409 | #ifdef __cplusplus |
17804 | extern "C" |
18410 | extern "C" |
17805 | #endif |
18411 | #endif |
17806 | /* We use char because int might match the return type of a gcc2 |
|
|
17807 | builtin and then its argument prototype would still apply. */ |
|
|
17808 | char dlopen (); |
18412 | char dlopen (); |
17809 | int |
18413 | int |
17810 | main () |
18414 | main () |
17811 | { |
18415 | { |
17812 | dlopen (); |
18416 | return dlopen (); |
17813 | ; |
18417 | ; |
17814 | return 0; |
18418 | return 0; |
17815 | } |
18419 | } |
17816 | _ACEOF |
18420 | _ACEOF |
17817 | rm -f conftest.$ac_objext conftest$ac_exeext |
18421 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18422 | if { (ac_try="$ac_link" |
|
|
18423 | case "(($ac_try" in |
|
|
18424 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18425 | *) ac_try_echo=$ac_try;; |
|
|
18426 | esac |
17818 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18427 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17819 | (eval $ac_link) 2>conftest.er1 |
18428 | (eval "$ac_link") 2>conftest.er1 |
17820 | ac_status=$? |
18429 | ac_status=$? |
17821 | grep -v '^ *+' conftest.er1 >conftest.err |
18430 | grep -v '^ *+' conftest.er1 >conftest.err |
17822 | rm -f conftest.er1 |
18431 | rm -f conftest.er1 |
17823 | cat conftest.err >&5 |
18432 | cat conftest.err >&5 |
17824 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18433 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17825 | (exit $ac_status); } && |
18434 | (exit $ac_status); } && { |
17826 | { ac_try='test -z "$ac_c_werror_flag" |
18435 | test -z "$ac_c_werror_flag" || |
17827 | || test ! -s conftest.err' |
18436 | test ! -s conftest.err |
17828 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18437 | } && test -s conftest$ac_exeext && |
17829 | (eval $ac_try) 2>&5 |
18438 | $as_test_x conftest$ac_exeext; then |
17830 | ac_status=$? |
|
|
17831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17832 | (exit $ac_status); }; } && |
|
|
17833 | { ac_try='test -s conftest$ac_exeext' |
|
|
17834 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17835 | (eval $ac_try) 2>&5 |
|
|
17836 | ac_status=$? |
|
|
17837 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17838 | (exit $ac_status); }; }; then |
|
|
17839 | ac_cv_lib_dl_dlopen=yes |
18439 | ac_cv_lib_dl_dlopen=yes |
17840 | else |
18440 | else |
17841 | echo "$as_me: failed program was:" >&5 |
18441 | echo "$as_me: failed program was:" >&5 |
17842 | sed 's/^/| /' conftest.$ac_ext >&5 |
18442 | sed 's/^/| /' conftest.$ac_ext >&5 |
17843 | |
18443 | |
17844 | ac_cv_lib_dl_dlopen=no |
18444 | ac_cv_lib_dl_dlopen=no |
17845 | fi |
18445 | fi |
17846 | rm -f conftest.err conftest.$ac_objext \ |
18446 | |
|
|
18447 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17847 | conftest$ac_exeext conftest.$ac_ext |
18448 | conftest$ac_exeext conftest.$ac_ext |
17848 | LIBS=$ac_check_lib_save_LIBS |
18449 | LIBS=$ac_check_lib_save_LIBS |
17849 | fi |
18450 | fi |
17850 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
18451 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
17851 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
18452 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } |
17852 | if test $ac_cv_lib_dl_dlopen = yes; then |
18453 | if test $ac_cv_lib_dl_dlopen = yes; then |
17853 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
18454 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
17854 | else |
18455 | else |
17855 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
18456 | { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 |
17856 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 |
18457 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } |
17857 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
18458 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then |
17858 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18459 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17859 | else |
18460 | else |
17860 | ac_check_lib_save_LIBS=$LIBS |
18461 | ac_check_lib_save_LIBS=$LIBS |
17861 | LIBS="-lsvld $LIBS" |
18462 | LIBS="-lsvld $LIBS" |
… | |
… | |
17864 | _ACEOF |
18465 | _ACEOF |
17865 | cat confdefs.h >>conftest.$ac_ext |
18466 | cat confdefs.h >>conftest.$ac_ext |
17866 | cat >>conftest.$ac_ext <<_ACEOF |
18467 | cat >>conftest.$ac_ext <<_ACEOF |
17867 | /* end confdefs.h. */ |
18468 | /* end confdefs.h. */ |
17868 | |
18469 | |
17869 | /* Override any gcc2 internal prototype to avoid an error. */ |
18470 | /* Override any GCC internal prototype to avoid an error. |
|
|
18471 | Use char because int might match the return type of a GCC |
|
|
18472 | builtin and then its argument prototype would still apply. */ |
17870 | #ifdef __cplusplus |
18473 | #ifdef __cplusplus |
17871 | extern "C" |
18474 | extern "C" |
17872 | #endif |
18475 | #endif |
17873 | /* We use char because int might match the return type of a gcc2 |
|
|
17874 | builtin and then its argument prototype would still apply. */ |
|
|
17875 | char dlopen (); |
18476 | char dlopen (); |
17876 | int |
18477 | int |
17877 | main () |
18478 | main () |
17878 | { |
18479 | { |
17879 | dlopen (); |
18480 | return dlopen (); |
17880 | ; |
18481 | ; |
17881 | return 0; |
18482 | return 0; |
17882 | } |
18483 | } |
17883 | _ACEOF |
18484 | _ACEOF |
17884 | rm -f conftest.$ac_objext conftest$ac_exeext |
18485 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18486 | if { (ac_try="$ac_link" |
|
|
18487 | case "(($ac_try" in |
|
|
18488 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18489 | *) ac_try_echo=$ac_try;; |
|
|
18490 | esac |
17885 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18491 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17886 | (eval $ac_link) 2>conftest.er1 |
18492 | (eval "$ac_link") 2>conftest.er1 |
17887 | ac_status=$? |
18493 | ac_status=$? |
17888 | grep -v '^ *+' conftest.er1 >conftest.err |
18494 | grep -v '^ *+' conftest.er1 >conftest.err |
17889 | rm -f conftest.er1 |
18495 | rm -f conftest.er1 |
17890 | cat conftest.err >&5 |
18496 | cat conftest.err >&5 |
17891 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17892 | (exit $ac_status); } && |
18498 | (exit $ac_status); } && { |
17893 | { ac_try='test -z "$ac_c_werror_flag" |
18499 | test -z "$ac_c_werror_flag" || |
17894 | || test ! -s conftest.err' |
18500 | test ! -s conftest.err |
17895 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18501 | } && test -s conftest$ac_exeext && |
17896 | (eval $ac_try) 2>&5 |
18502 | $as_test_x conftest$ac_exeext; then |
17897 | ac_status=$? |
|
|
17898 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17899 | (exit $ac_status); }; } && |
|
|
17900 | { ac_try='test -s conftest$ac_exeext' |
|
|
17901 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17902 | (eval $ac_try) 2>&5 |
|
|
17903 | ac_status=$? |
|
|
17904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17905 | (exit $ac_status); }; }; then |
|
|
17906 | ac_cv_lib_svld_dlopen=yes |
18503 | ac_cv_lib_svld_dlopen=yes |
17907 | else |
18504 | else |
17908 | echo "$as_me: failed program was:" >&5 |
18505 | echo "$as_me: failed program was:" >&5 |
17909 | sed 's/^/| /' conftest.$ac_ext >&5 |
18506 | sed 's/^/| /' conftest.$ac_ext >&5 |
17910 | |
18507 | |
17911 | ac_cv_lib_svld_dlopen=no |
18508 | ac_cv_lib_svld_dlopen=no |
17912 | fi |
18509 | fi |
17913 | rm -f conftest.err conftest.$ac_objext \ |
18510 | |
|
|
18511 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17914 | conftest$ac_exeext conftest.$ac_ext |
18512 | conftest$ac_exeext conftest.$ac_ext |
17915 | LIBS=$ac_check_lib_save_LIBS |
18513 | LIBS=$ac_check_lib_save_LIBS |
17916 | fi |
18514 | fi |
17917 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
18515 | { echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 |
17918 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 |
18516 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } |
17919 | if test $ac_cv_lib_svld_dlopen = yes; then |
18517 | if test $ac_cv_lib_svld_dlopen = yes; then |
17920 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
18518 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
17921 | else |
18519 | else |
17922 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
18520 | { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 |
17923 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 |
18521 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } |
17924 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
18522 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then |
17925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18523 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
17926 | else |
18524 | else |
17927 | ac_check_lib_save_LIBS=$LIBS |
18525 | ac_check_lib_save_LIBS=$LIBS |
17928 | LIBS="-ldld $LIBS" |
18526 | LIBS="-ldld $LIBS" |
… | |
… | |
17931 | _ACEOF |
18529 | _ACEOF |
17932 | cat confdefs.h >>conftest.$ac_ext |
18530 | cat confdefs.h >>conftest.$ac_ext |
17933 | cat >>conftest.$ac_ext <<_ACEOF |
18531 | cat >>conftest.$ac_ext <<_ACEOF |
17934 | /* end confdefs.h. */ |
18532 | /* end confdefs.h. */ |
17935 | |
18533 | |
17936 | /* Override any gcc2 internal prototype to avoid an error. */ |
18534 | /* Override any GCC internal prototype to avoid an error. |
|
|
18535 | Use char because int might match the return type of a GCC |
|
|
18536 | builtin and then its argument prototype would still apply. */ |
17937 | #ifdef __cplusplus |
18537 | #ifdef __cplusplus |
17938 | extern "C" |
18538 | extern "C" |
17939 | #endif |
18539 | #endif |
17940 | /* We use char because int might match the return type of a gcc2 |
|
|
17941 | builtin and then its argument prototype would still apply. */ |
|
|
17942 | char dld_link (); |
18540 | char dld_link (); |
17943 | int |
18541 | int |
17944 | main () |
18542 | main () |
17945 | { |
18543 | { |
17946 | dld_link (); |
18544 | return dld_link (); |
17947 | ; |
18545 | ; |
17948 | return 0; |
18546 | return 0; |
17949 | } |
18547 | } |
17950 | _ACEOF |
18548 | _ACEOF |
17951 | rm -f conftest.$ac_objext conftest$ac_exeext |
18549 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
18550 | if { (ac_try="$ac_link" |
|
|
18551 | case "(($ac_try" in |
|
|
18552 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
18553 | *) ac_try_echo=$ac_try;; |
|
|
18554 | esac |
17952 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18555 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
17953 | (eval $ac_link) 2>conftest.er1 |
18556 | (eval "$ac_link") 2>conftest.er1 |
17954 | ac_status=$? |
18557 | ac_status=$? |
17955 | grep -v '^ *+' conftest.er1 >conftest.err |
18558 | grep -v '^ *+' conftest.er1 >conftest.err |
17956 | rm -f conftest.er1 |
18559 | rm -f conftest.er1 |
17957 | cat conftest.err >&5 |
18560 | cat conftest.err >&5 |
17958 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17959 | (exit $ac_status); } && |
18562 | (exit $ac_status); } && { |
17960 | { ac_try='test -z "$ac_c_werror_flag" |
18563 | test -z "$ac_c_werror_flag" || |
17961 | || test ! -s conftest.err' |
18564 | test ! -s conftest.err |
17962 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18565 | } && test -s conftest$ac_exeext && |
17963 | (eval $ac_try) 2>&5 |
18566 | $as_test_x conftest$ac_exeext; then |
17964 | ac_status=$? |
|
|
17965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17966 | (exit $ac_status); }; } && |
|
|
17967 | { ac_try='test -s conftest$ac_exeext' |
|
|
17968 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
17969 | (eval $ac_try) 2>&5 |
|
|
17970 | ac_status=$? |
|
|
17971 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17972 | (exit $ac_status); }; }; then |
|
|
17973 | ac_cv_lib_dld_dld_link=yes |
18567 | ac_cv_lib_dld_dld_link=yes |
17974 | else |
18568 | else |
17975 | echo "$as_me: failed program was:" >&5 |
18569 | echo "$as_me: failed program was:" >&5 |
17976 | sed 's/^/| /' conftest.$ac_ext >&5 |
18570 | sed 's/^/| /' conftest.$ac_ext >&5 |
17977 | |
18571 | |
17978 | ac_cv_lib_dld_dld_link=no |
18572 | ac_cv_lib_dld_dld_link=no |
17979 | fi |
18573 | fi |
17980 | rm -f conftest.err conftest.$ac_objext \ |
18574 | |
|
|
18575 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
17981 | conftest$ac_exeext conftest.$ac_ext |
18576 | conftest$ac_exeext conftest.$ac_ext |
17982 | LIBS=$ac_check_lib_save_LIBS |
18577 | LIBS=$ac_check_lib_save_LIBS |
17983 | fi |
18578 | fi |
17984 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
18579 | { echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 |
17985 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 |
18580 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } |
17986 | if test $ac_cv_lib_dld_dld_link = yes; then |
18581 | if test $ac_cv_lib_dld_dld_link = yes; then |
17987 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
18582 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" |
17988 | fi |
18583 | fi |
17989 | |
18584 | |
17990 | |
18585 | |
… | |
… | |
18020 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
18615 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
18021 | |
18616 | |
18022 | save_LIBS="$LIBS" |
18617 | save_LIBS="$LIBS" |
18023 | LIBS="$lt_cv_dlopen_libs $LIBS" |
18618 | LIBS="$lt_cv_dlopen_libs $LIBS" |
18024 | |
18619 | |
18025 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
18620 | { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 |
18026 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 |
18621 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } |
18027 | if test "${lt_cv_dlopen_self+set}" = set; then |
18622 | if test "${lt_cv_dlopen_self+set}" = set; then |
18028 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18623 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18029 | else |
18624 | else |
18030 | if test "$cross_compiling" = yes; then : |
18625 | if test "$cross_compiling" = yes; then : |
18031 | lt_cv_dlopen_self=cross |
18626 | lt_cv_dlopen_self=cross |
18032 | else |
18627 | else |
18033 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18628 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18034 | lt_status=$lt_dlunknown |
18629 | lt_status=$lt_dlunknown |
18035 | cat > conftest.$ac_ext <<EOF |
18630 | cat > conftest.$ac_ext <<EOF |
18036 | #line 18036 "configure" |
18631 | #line 18631 "configure" |
18037 | #include "confdefs.h" |
18632 | #include "confdefs.h" |
18038 | |
18633 | |
18039 | #if HAVE_DLFCN_H |
18634 | #if HAVE_DLFCN_H |
18040 | #include <dlfcn.h> |
18635 | #include <dlfcn.h> |
18041 | #endif |
18636 | #endif |
… | |
… | |
18113 | fi |
18708 | fi |
18114 | rm -fr conftest* |
18709 | rm -fr conftest* |
18115 | |
18710 | |
18116 | |
18711 | |
18117 | fi |
18712 | fi |
18118 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
18713 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 |
18119 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 |
18714 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } |
18120 | |
18715 | |
18121 | if test "x$lt_cv_dlopen_self" = xyes; then |
18716 | if test "x$lt_cv_dlopen_self" = xyes; then |
18122 | LDFLAGS="$LDFLAGS $link_static_flag" |
18717 | LDFLAGS="$LDFLAGS $link_static_flag" |
18123 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
18718 | { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 |
18124 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 |
18719 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } |
18125 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
18720 | if test "${lt_cv_dlopen_self_static+set}" = set; then |
18126 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18721 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
18127 | else |
18722 | else |
18128 | if test "$cross_compiling" = yes; then : |
18723 | if test "$cross_compiling" = yes; then : |
18129 | lt_cv_dlopen_self_static=cross |
18724 | lt_cv_dlopen_self_static=cross |
18130 | else |
18725 | else |
18131 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18726 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
18132 | lt_status=$lt_dlunknown |
18727 | lt_status=$lt_dlunknown |
18133 | cat > conftest.$ac_ext <<EOF |
18728 | cat > conftest.$ac_ext <<EOF |
18134 | #line 18134 "configure" |
18729 | #line 18729 "configure" |
18135 | #include "confdefs.h" |
18730 | #include "confdefs.h" |
18136 | |
18731 | |
18137 | #if HAVE_DLFCN_H |
18732 | #if HAVE_DLFCN_H |
18138 | #include <dlfcn.h> |
18733 | #include <dlfcn.h> |
18139 | #endif |
18734 | #endif |
… | |
… | |
18211 | fi |
18806 | fi |
18212 | rm -fr conftest* |
18807 | rm -fr conftest* |
18213 | |
18808 | |
18214 | |
18809 | |
18215 | fi |
18810 | fi |
18216 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
18811 | { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 |
18217 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 |
18812 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } |
18218 | fi |
18813 | fi |
18219 | |
18814 | |
18220 | CPPFLAGS="$save_CPPFLAGS" |
18815 | CPPFLAGS="$save_CPPFLAGS" |
18221 | LDFLAGS="$save_LDFLAGS" |
18816 | LDFLAGS="$save_LDFLAGS" |
18222 | LIBS="$save_LIBS" |
18817 | LIBS="$save_LIBS" |
… | |
… | |
18648 | ;; |
19243 | ;; |
18649 | |
19244 | |
18650 | RC) |
19245 | RC) |
18651 | |
19246 | |
18652 | |
19247 | |
18653 | |
|
|
18654 | # Source file extension for RC test sources. |
19248 | # Source file extension for RC test sources. |
18655 | ac_ext=rc |
19249 | ac_ext=rc |
18656 | |
19250 | |
18657 | # Object file extension for compiled RC test sources. |
19251 | # Object file extension for compiled RC test sources. |
18658 | objext=o |
19252 | objext=o |
… | |
… | |
19210 | #------------------------------------------------------------------------------- |
19804 | #------------------------------------------------------------------------------- |
19211 | # Check for some library functions |
19805 | # Check for some library functions |
19212 | #------------------------------------------------------------------------------- |
19806 | #------------------------------------------------------------------------------- |
19213 | |
19807 | |
19214 | |
19808 | |
19215 | echo "$as_me:$LINENO: checking for exit in -lc" >&5 |
19809 | { echo "$as_me:$LINENO: checking for exit in -lc" >&5 |
19216 | echo $ECHO_N "checking for exit in -lc... $ECHO_C" >&6 |
19810 | echo $ECHO_N "checking for exit in -lc... $ECHO_C" >&6; } |
19217 | if test "${ac_cv_lib_c_exit+set}" = set; then |
19811 | if test "${ac_cv_lib_c_exit+set}" = set; then |
19218 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19219 | else |
19813 | else |
19220 | ac_check_lib_save_LIBS=$LIBS |
19814 | ac_check_lib_save_LIBS=$LIBS |
19221 | LIBS="-lc $LIBS" |
19815 | LIBS="-lc $LIBS" |
… | |
… | |
19224 | _ACEOF |
19818 | _ACEOF |
19225 | cat confdefs.h >>conftest.$ac_ext |
19819 | cat confdefs.h >>conftest.$ac_ext |
19226 | cat >>conftest.$ac_ext <<_ACEOF |
19820 | cat >>conftest.$ac_ext <<_ACEOF |
19227 | /* end confdefs.h. */ |
19821 | /* end confdefs.h. */ |
19228 | |
19822 | |
19229 | /* Override any gcc2 internal prototype to avoid an error. */ |
19823 | /* Override any GCC internal prototype to avoid an error. |
|
|
19824 | Use char because int might match the return type of a GCC |
|
|
19825 | builtin and then its argument prototype would still apply. */ |
19230 | #ifdef __cplusplus |
19826 | #ifdef __cplusplus |
19231 | extern "C" |
19827 | extern "C" |
19232 | #endif |
19828 | #endif |
19233 | /* We use char because int might match the return type of a gcc2 |
|
|
19234 | builtin and then its argument prototype would still apply. */ |
|
|
19235 | char exit (); |
19829 | char exit (); |
19236 | int |
19830 | int |
19237 | main () |
19831 | main () |
19238 | { |
19832 | { |
19239 | exit (); |
19833 | return exit (); |
19240 | ; |
19834 | ; |
19241 | return 0; |
19835 | return 0; |
19242 | } |
19836 | } |
19243 | _ACEOF |
19837 | _ACEOF |
19244 | rm -f conftest.$ac_objext conftest$ac_exeext |
19838 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19839 | if { (ac_try="$ac_link" |
|
|
19840 | case "(($ac_try" in |
|
|
19841 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19842 | *) ac_try_echo=$ac_try;; |
|
|
19843 | esac |
19245 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19844 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19246 | (eval $ac_link) 2>conftest.er1 |
19845 | (eval "$ac_link") 2>conftest.er1 |
19247 | ac_status=$? |
19846 | ac_status=$? |
19248 | grep -v '^ *+' conftest.er1 >conftest.err |
19847 | grep -v '^ *+' conftest.er1 >conftest.err |
19249 | rm -f conftest.er1 |
19848 | rm -f conftest.er1 |
19250 | cat conftest.err >&5 |
19849 | cat conftest.err >&5 |
19251 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19850 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19252 | (exit $ac_status); } && |
19851 | (exit $ac_status); } && { |
19253 | { ac_try='test -z "$ac_c_werror_flag" |
19852 | test -z "$ac_c_werror_flag" || |
19254 | || test ! -s conftest.err' |
19853 | test ! -s conftest.err |
19255 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19854 | } && test -s conftest$ac_exeext && |
19256 | (eval $ac_try) 2>&5 |
19855 | $as_test_x conftest$ac_exeext; then |
19257 | ac_status=$? |
|
|
19258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19259 | (exit $ac_status); }; } && |
|
|
19260 | { ac_try='test -s conftest$ac_exeext' |
|
|
19261 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19262 | (eval $ac_try) 2>&5 |
|
|
19263 | ac_status=$? |
|
|
19264 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19265 | (exit $ac_status); }; }; then |
|
|
19266 | ac_cv_lib_c_exit=yes |
19856 | ac_cv_lib_c_exit=yes |
19267 | else |
19857 | else |
19268 | echo "$as_me: failed program was:" >&5 |
19858 | echo "$as_me: failed program was:" >&5 |
19269 | sed 's/^/| /' conftest.$ac_ext >&5 |
19859 | sed 's/^/| /' conftest.$ac_ext >&5 |
19270 | |
19860 | |
19271 | ac_cv_lib_c_exit=no |
19861 | ac_cv_lib_c_exit=no |
19272 | fi |
19862 | fi |
19273 | rm -f conftest.err conftest.$ac_objext \ |
19863 | |
|
|
19864 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19274 | conftest$ac_exeext conftest.$ac_ext |
19865 | conftest$ac_exeext conftest.$ac_ext |
19275 | LIBS=$ac_check_lib_save_LIBS |
19866 | LIBS=$ac_check_lib_save_LIBS |
19276 | fi |
19867 | fi |
19277 | echo "$as_me:$LINENO: result: $ac_cv_lib_c_exit" >&5 |
19868 | { echo "$as_me:$LINENO: result: $ac_cv_lib_c_exit" >&5 |
19278 | echo "${ECHO_T}$ac_cv_lib_c_exit" >&6 |
19869 | echo "${ECHO_T}$ac_cv_lib_c_exit" >&6; } |
19279 | if test $ac_cv_lib_c_exit = yes; then |
19870 | if test $ac_cv_lib_c_exit = yes; then |
19280 | cat >>confdefs.h <<_ACEOF |
19871 | cat >>confdefs.h <<_ACEOF |
19281 | #define HAVE_LIBC 1 |
19872 | #define HAVE_LIBC 1 |
19282 | _ACEOF |
19873 | _ACEOF |
19283 | |
19874 | |
19284 | LIBS="-lc $LIBS" |
19875 | LIBS="-lc $LIBS" |
19285 | |
19876 | |
19286 | fi |
19877 | fi |
19287 | |
19878 | |
19288 | |
19879 | |
19289 | echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5 |
19880 | { echo "$as_me:$LINENO: checking for inet_pton in -lnsl" >&5 |
19290 | echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6 |
19881 | echo $ECHO_N "checking for inet_pton in -lnsl... $ECHO_C" >&6; } |
19291 | if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then |
19882 | if test "${ac_cv_lib_nsl_inet_pton+set}" = set; then |
19292 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19883 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19293 | else |
19884 | else |
19294 | ac_check_lib_save_LIBS=$LIBS |
19885 | ac_check_lib_save_LIBS=$LIBS |
19295 | LIBS="-lnsl $LIBS" |
19886 | LIBS="-lnsl $LIBS" |
… | |
… | |
19298 | _ACEOF |
19889 | _ACEOF |
19299 | cat confdefs.h >>conftest.$ac_ext |
19890 | cat confdefs.h >>conftest.$ac_ext |
19300 | cat >>conftest.$ac_ext <<_ACEOF |
19891 | cat >>conftest.$ac_ext <<_ACEOF |
19301 | /* end confdefs.h. */ |
19892 | /* end confdefs.h. */ |
19302 | |
19893 | |
19303 | /* Override any gcc2 internal prototype to avoid an error. */ |
19894 | /* Override any GCC internal prototype to avoid an error. |
|
|
19895 | Use char because int might match the return type of a GCC |
|
|
19896 | builtin and then its argument prototype would still apply. */ |
19304 | #ifdef __cplusplus |
19897 | #ifdef __cplusplus |
19305 | extern "C" |
19898 | extern "C" |
19306 | #endif |
19899 | #endif |
19307 | /* We use char because int might match the return type of a gcc2 |
|
|
19308 | builtin and then its argument prototype would still apply. */ |
|
|
19309 | char inet_pton (); |
19900 | char inet_pton (); |
19310 | int |
19901 | int |
19311 | main () |
19902 | main () |
19312 | { |
19903 | { |
19313 | inet_pton (); |
19904 | return inet_pton (); |
19314 | ; |
19905 | ; |
19315 | return 0; |
19906 | return 0; |
19316 | } |
19907 | } |
19317 | _ACEOF |
19908 | _ACEOF |
19318 | rm -f conftest.$ac_objext conftest$ac_exeext |
19909 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19910 | if { (ac_try="$ac_link" |
|
|
19911 | case "(($ac_try" in |
|
|
19912 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19913 | *) ac_try_echo=$ac_try;; |
|
|
19914 | esac |
19319 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19915 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19320 | (eval $ac_link) 2>conftest.er1 |
19916 | (eval "$ac_link") 2>conftest.er1 |
19321 | ac_status=$? |
19917 | ac_status=$? |
19322 | grep -v '^ *+' conftest.er1 >conftest.err |
19918 | grep -v '^ *+' conftest.er1 >conftest.err |
19323 | rm -f conftest.er1 |
19919 | rm -f conftest.er1 |
19324 | cat conftest.err >&5 |
19920 | cat conftest.err >&5 |
19325 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19326 | (exit $ac_status); } && |
19922 | (exit $ac_status); } && { |
19327 | { ac_try='test -z "$ac_c_werror_flag" |
19923 | test -z "$ac_c_werror_flag" || |
19328 | || test ! -s conftest.err' |
19924 | test ! -s conftest.err |
19329 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19925 | } && test -s conftest$ac_exeext && |
19330 | (eval $ac_try) 2>&5 |
19926 | $as_test_x conftest$ac_exeext; then |
19331 | ac_status=$? |
|
|
19332 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19333 | (exit $ac_status); }; } && |
|
|
19334 | { ac_try='test -s conftest$ac_exeext' |
|
|
19335 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19336 | (eval $ac_try) 2>&5 |
|
|
19337 | ac_status=$? |
|
|
19338 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19339 | (exit $ac_status); }; }; then |
|
|
19340 | ac_cv_lib_nsl_inet_pton=yes |
19927 | ac_cv_lib_nsl_inet_pton=yes |
19341 | else |
19928 | else |
19342 | echo "$as_me: failed program was:" >&5 |
19929 | echo "$as_me: failed program was:" >&5 |
19343 | sed 's/^/| /' conftest.$ac_ext >&5 |
19930 | sed 's/^/| /' conftest.$ac_ext >&5 |
19344 | |
19931 | |
19345 | ac_cv_lib_nsl_inet_pton=no |
19932 | ac_cv_lib_nsl_inet_pton=no |
19346 | fi |
19933 | fi |
19347 | rm -f conftest.err conftest.$ac_objext \ |
19934 | |
|
|
19935 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19348 | conftest$ac_exeext conftest.$ac_ext |
19936 | conftest$ac_exeext conftest.$ac_ext |
19349 | LIBS=$ac_check_lib_save_LIBS |
19937 | LIBS=$ac_check_lib_save_LIBS |
19350 | fi |
19938 | fi |
19351 | echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5 |
19939 | { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_pton" >&5 |
19352 | echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6 |
19940 | echo "${ECHO_T}$ac_cv_lib_nsl_inet_pton" >&6; } |
19353 | if test $ac_cv_lib_nsl_inet_pton = yes; then |
19941 | if test $ac_cv_lib_nsl_inet_pton = yes; then |
19354 | cat >>confdefs.h <<_ACEOF |
19942 | cat >>confdefs.h <<_ACEOF |
19355 | #define HAVE_LIBNSL 1 |
19943 | #define HAVE_LIBNSL 1 |
19356 | _ACEOF |
19944 | _ACEOF |
19357 | |
19945 | |
19358 | LIBS="-lnsl $LIBS" |
19946 | LIBS="-lnsl $LIBS" |
19359 | |
19947 | |
19360 | fi |
19948 | fi |
19361 | |
19949 | |
19362 | |
19950 | |
19363 | echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
19951 | { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 |
19364 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 |
19952 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; } |
19365 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
19953 | if test "${ac_cv_lib_socket_socket+set}" = set; then |
19366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19954 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19367 | else |
19955 | else |
19368 | ac_check_lib_save_LIBS=$LIBS |
19956 | ac_check_lib_save_LIBS=$LIBS |
19369 | LIBS="-lsocket $LIBS" |
19957 | LIBS="-lsocket $LIBS" |
… | |
… | |
19372 | _ACEOF |
19960 | _ACEOF |
19373 | cat confdefs.h >>conftest.$ac_ext |
19961 | cat confdefs.h >>conftest.$ac_ext |
19374 | cat >>conftest.$ac_ext <<_ACEOF |
19962 | cat >>conftest.$ac_ext <<_ACEOF |
19375 | /* end confdefs.h. */ |
19963 | /* end confdefs.h. */ |
19376 | |
19964 | |
19377 | /* Override any gcc2 internal prototype to avoid an error. */ |
19965 | /* Override any GCC internal prototype to avoid an error. |
|
|
19966 | Use char because int might match the return type of a GCC |
|
|
19967 | builtin and then its argument prototype would still apply. */ |
19378 | #ifdef __cplusplus |
19968 | #ifdef __cplusplus |
19379 | extern "C" |
19969 | extern "C" |
19380 | #endif |
19970 | #endif |
19381 | /* We use char because int might match the return type of a gcc2 |
|
|
19382 | builtin and then its argument prototype would still apply. */ |
|
|
19383 | char socket (); |
19971 | char socket (); |
19384 | int |
19972 | int |
19385 | main () |
19973 | main () |
19386 | { |
19974 | { |
19387 | socket (); |
19975 | return socket (); |
19388 | ; |
19976 | ; |
19389 | return 0; |
19977 | return 0; |
19390 | } |
19978 | } |
19391 | _ACEOF |
19979 | _ACEOF |
19392 | rm -f conftest.$ac_objext conftest$ac_exeext |
19980 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
19981 | if { (ac_try="$ac_link" |
|
|
19982 | case "(($ac_try" in |
|
|
19983 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
19984 | *) ac_try_echo=$ac_try;; |
|
|
19985 | esac |
19393 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19986 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19394 | (eval $ac_link) 2>conftest.er1 |
19987 | (eval "$ac_link") 2>conftest.er1 |
19395 | ac_status=$? |
19988 | ac_status=$? |
19396 | grep -v '^ *+' conftest.er1 >conftest.err |
19989 | grep -v '^ *+' conftest.er1 >conftest.err |
19397 | rm -f conftest.er1 |
19990 | rm -f conftest.er1 |
19398 | cat conftest.err >&5 |
19991 | cat conftest.err >&5 |
19399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19400 | (exit $ac_status); } && |
19993 | (exit $ac_status); } && { |
19401 | { ac_try='test -z "$ac_c_werror_flag" |
19994 | test -z "$ac_c_werror_flag" || |
19402 | || test ! -s conftest.err' |
19995 | test ! -s conftest.err |
19403 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19996 | } && test -s conftest$ac_exeext && |
19404 | (eval $ac_try) 2>&5 |
19997 | $as_test_x conftest$ac_exeext; then |
19405 | ac_status=$? |
|
|
19406 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19407 | (exit $ac_status); }; } && |
|
|
19408 | { ac_try='test -s conftest$ac_exeext' |
|
|
19409 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19410 | (eval $ac_try) 2>&5 |
|
|
19411 | ac_status=$? |
|
|
19412 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19413 | (exit $ac_status); }; }; then |
|
|
19414 | ac_cv_lib_socket_socket=yes |
19998 | ac_cv_lib_socket_socket=yes |
19415 | else |
19999 | else |
19416 | echo "$as_me: failed program was:" >&5 |
20000 | echo "$as_me: failed program was:" >&5 |
19417 | sed 's/^/| /' conftest.$ac_ext >&5 |
20001 | sed 's/^/| /' conftest.$ac_ext >&5 |
19418 | |
20002 | |
19419 | ac_cv_lib_socket_socket=no |
20003 | ac_cv_lib_socket_socket=no |
19420 | fi |
20004 | fi |
19421 | rm -f conftest.err conftest.$ac_objext \ |
20005 | |
|
|
20006 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19422 | conftest$ac_exeext conftest.$ac_ext |
20007 | conftest$ac_exeext conftest.$ac_ext |
19423 | LIBS=$ac_check_lib_save_LIBS |
20008 | LIBS=$ac_check_lib_save_LIBS |
19424 | fi |
20009 | fi |
19425 | echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
20010 | { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 |
19426 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 |
20011 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; } |
19427 | if test $ac_cv_lib_socket_socket = yes; then |
20012 | if test $ac_cv_lib_socket_socket = yes; then |
19428 | cat >>confdefs.h <<_ACEOF |
20013 | cat >>confdefs.h <<_ACEOF |
19429 | #define HAVE_LIBSOCKET 1 |
20014 | #define HAVE_LIBSOCKET 1 |
19430 | _ACEOF |
20015 | _ACEOF |
19431 | |
20016 | |
19432 | LIBS="-lsocket $LIBS" |
20017 | LIBS="-lsocket $LIBS" |
19433 | |
20018 | |
19434 | fi |
20019 | fi |
19435 | |
20020 | |
19436 | |
20021 | |
19437 | echo "$as_me:$LINENO: checking for SPF_sanitize in -lspf2" >&5 |
20022 | { echo "$as_me:$LINENO: checking for SPF_sanitize in -lspf2" >&5 |
19438 | echo $ECHO_N "checking for SPF_sanitize in -lspf2... $ECHO_C" >&6 |
20023 | echo $ECHO_N "checking for SPF_sanitize in -lspf2... $ECHO_C" >&6; } |
19439 | if test "${ac_cv_lib_spf2_SPF_sanitize+set}" = set; then |
20024 | if test "${ac_cv_lib_spf2_SPF_sanitize+set}" = set; then |
19440 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20025 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19441 | else |
20026 | else |
19442 | ac_check_lib_save_LIBS=$LIBS |
20027 | ac_check_lib_save_LIBS=$LIBS |
19443 | LIBS="-lspf2 $LIBS" |
20028 | LIBS="-lspf2 $LIBS" |
… | |
… | |
19446 | _ACEOF |
20031 | _ACEOF |
19447 | cat confdefs.h >>conftest.$ac_ext |
20032 | cat confdefs.h >>conftest.$ac_ext |
19448 | cat >>conftest.$ac_ext <<_ACEOF |
20033 | cat >>conftest.$ac_ext <<_ACEOF |
19449 | /* end confdefs.h. */ |
20034 | /* end confdefs.h. */ |
19450 | |
20035 | |
19451 | /* Override any gcc2 internal prototype to avoid an error. */ |
20036 | /* Override any GCC internal prototype to avoid an error. |
|
|
20037 | Use char because int might match the return type of a GCC |
|
|
20038 | builtin and then its argument prototype would still apply. */ |
19452 | #ifdef __cplusplus |
20039 | #ifdef __cplusplus |
19453 | extern "C" |
20040 | extern "C" |
19454 | #endif |
20041 | #endif |
19455 | /* We use char because int might match the return type of a gcc2 |
|
|
19456 | builtin and then its argument prototype would still apply. */ |
|
|
19457 | char SPF_sanitize (); |
20042 | char SPF_sanitize (); |
19458 | int |
20043 | int |
19459 | main () |
20044 | main () |
19460 | { |
20045 | { |
19461 | SPF_sanitize (); |
20046 | return SPF_sanitize (); |
19462 | ; |
20047 | ; |
19463 | return 0; |
20048 | return 0; |
19464 | } |
20049 | } |
19465 | _ACEOF |
20050 | _ACEOF |
19466 | rm -f conftest.$ac_objext conftest$ac_exeext |
20051 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
20052 | if { (ac_try="$ac_link" |
|
|
20053 | case "(($ac_try" in |
|
|
20054 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20055 | *) ac_try_echo=$ac_try;; |
|
|
20056 | esac |
19467 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20057 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19468 | (eval $ac_link) 2>conftest.er1 |
20058 | (eval "$ac_link") 2>conftest.er1 |
19469 | ac_status=$? |
20059 | ac_status=$? |
19470 | grep -v '^ *+' conftest.er1 >conftest.err |
20060 | grep -v '^ *+' conftest.er1 >conftest.err |
19471 | rm -f conftest.er1 |
20061 | rm -f conftest.er1 |
19472 | cat conftest.err >&5 |
20062 | cat conftest.err >&5 |
19473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20063 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19474 | (exit $ac_status); } && |
20064 | (exit $ac_status); } && { |
19475 | { ac_try='test -z "$ac_c_werror_flag" |
20065 | test -z "$ac_c_werror_flag" || |
19476 | || test ! -s conftest.err' |
20066 | test ! -s conftest.err |
19477 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20067 | } && test -s conftest$ac_exeext && |
19478 | (eval $ac_try) 2>&5 |
20068 | $as_test_x conftest$ac_exeext; then |
19479 | ac_status=$? |
|
|
19480 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19481 | (exit $ac_status); }; } && |
|
|
19482 | { ac_try='test -s conftest$ac_exeext' |
|
|
19483 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19484 | (eval $ac_try) 2>&5 |
|
|
19485 | ac_status=$? |
|
|
19486 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19487 | (exit $ac_status); }; }; then |
|
|
19488 | ac_cv_lib_spf2_SPF_sanitize=yes |
20069 | ac_cv_lib_spf2_SPF_sanitize=yes |
19489 | else |
20070 | else |
19490 | echo "$as_me: failed program was:" >&5 |
20071 | echo "$as_me: failed program was:" >&5 |
19491 | sed 's/^/| /' conftest.$ac_ext >&5 |
20072 | sed 's/^/| /' conftest.$ac_ext >&5 |
19492 | |
20073 | |
19493 | ac_cv_lib_spf2_SPF_sanitize=no |
20074 | ac_cv_lib_spf2_SPF_sanitize=no |
19494 | fi |
20075 | fi |
19495 | rm -f conftest.err conftest.$ac_objext \ |
20076 | |
|
|
20077 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
19496 | conftest$ac_exeext conftest.$ac_ext |
20078 | conftest$ac_exeext conftest.$ac_ext |
19497 | LIBS=$ac_check_lib_save_LIBS |
20079 | LIBS=$ac_check_lib_save_LIBS |
19498 | fi |
20080 | fi |
19499 | echo "$as_me:$LINENO: result: $ac_cv_lib_spf2_SPF_sanitize" >&5 |
20081 | { echo "$as_me:$LINENO: result: $ac_cv_lib_spf2_SPF_sanitize" >&5 |
19500 | echo "${ECHO_T}$ac_cv_lib_spf2_SPF_sanitize" >&6 |
20082 | echo "${ECHO_T}$ac_cv_lib_spf2_SPF_sanitize" >&6; } |
19501 | if test $ac_cv_lib_spf2_SPF_sanitize = yes; then |
20083 | if test $ac_cv_lib_spf2_SPF_sanitize = yes; then |
19502 | LIBSPF2_POOPOO="true" |
20084 | LIBSPF2_POOPOO="true" |
19503 | fi |
20085 | fi |
19504 | |
20086 | |
19505 | if test "$LIBSPF2_POOPOO" ; then |
20087 | if test "$LIBSPF2_POOPOO" ; then |
… | |
… | |
19515 | #------------------------------------------------------------------------------- |
20097 | #------------------------------------------------------------------------------- |
19516 | # Check up on GCC |
20098 | # Check up on GCC |
19517 | #------------------------------------------------------------------------------- |
20099 | #------------------------------------------------------------------------------- |
19518 | |
20100 | |
19519 | # We don't want gcc 2.7 |
20101 | # We don't want gcc 2.7 |
19520 | echo "$as_me:$LINENO: checking for a supported version of gcc" >&5 |
20102 | { echo "$as_me:$LINENO: checking for a supported version of gcc" >&5 |
19521 | echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6 |
20103 | echo $ECHO_N "checking for a supported version of gcc... $ECHO_C" >&6; } |
19522 | |
20104 | |
19523 | gcc_version=`${CC} --version | head -n 1` |
20105 | gcc_version=`${CC} --version | head -n 1` |
19524 | gcc_special_cflags="" |
20106 | gcc_special_cflags="" |
19525 | case "${gcc_version}" in |
20107 | case "${gcc_version}" in |
19526 | 2.7.*) |
20108 | 2.7.*) |
19527 | echo "$as_me:$LINENO: result: no (${gcc_version})" >&5 |
20109 | { echo "$as_me:$LINENO: result: no (${gcc_version})" >&5 |
19528 | echo "${ECHO_T}no (${gcc_version})" >&6 |
20110 | echo "${ECHO_T}no (${gcc_version})" >&6; } |
19529 | { { echo "$as_me:$LINENO: error: please use a recent (>= gcc-2.95) version of gcc" >&5 |
20111 | { { echo "$as_me:$LINENO: error: please use a recent (>= gcc-2.95) version of gcc" >&5 |
19530 | echo "$as_me: error: please use a recent (>= gcc-2.95) version of gcc" >&2;} |
20112 | echo "$as_me: error: please use a recent (>= gcc-2.95) version of gcc" >&2;} |
19531 | { (exit 1); exit 1; }; } |
20113 | { (exit 1); exit 1; }; } |
19532 | ;; |
20114 | ;; |
19533 | 2.95.*) |
20115 | 2.95.*) |
19534 | echo "$as_me:$LINENO: result: yes (${gcc_version}) using %d instead of %zu" >&5 |
20116 | { echo "$as_me:$LINENO: result: yes (${gcc_version}) using %d instead of %zu" >&5 |
19535 | echo "${ECHO_T}yes (${gcc_version}) using %d instead of %zu" >&6 |
20117 | echo "${ECHO_T}yes (${gcc_version}) using %d instead of %zu" >&6; } |
19536 | UNSIGNED_INT_ARG="%d" |
20118 | UNSIGNED_INT_ARG="%d" |
19537 | |
20119 | |
19538 | gcc_special_cflags="-mcpu=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5" |
20120 | gcc_special_cflags="-mcpu=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5" |
19539 | ;; |
20121 | ;; |
19540 | 3.*) |
20122 | 3.*) |
19541 | echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
20123 | { echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
19542 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6 |
20124 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6; } |
19543 | UNSIGNED_INT_ARG="%zu" |
20125 | UNSIGNED_INT_ARG="%zu" |
19544 | |
20126 | |
19545 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
20127 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
19546 | ;; |
20128 | ;; |
19547 | 4.*) |
20129 | 4.*) |
19548 | echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
20130 | { echo "$as_me:$LINENO: result: yes (${gcc_version}) using -falign instead of -malign" >&5 |
19549 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6 |
20131 | echo "${ECHO_T}yes (${gcc_version}) using -falign instead of -malign" >&6; } |
19550 | UNSIGNED_INT_ARG="%zu" |
20132 | UNSIGNED_INT_ARG="%zu" |
19551 | |
20133 | |
19552 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
20134 | gcc_special_cflags="-mcpu=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5" |
19553 | ;; |
20135 | ;; |
19554 | *) |
20136 | *) |
19555 | echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5 |
20137 | { echo "$as_me:$LINENO: result: ok (${gcc_version})" >&5 |
19556 | echo "${ECHO_T}ok (${gcc_version})" >&6 |
20138 | echo "${ECHO_T}ok (${gcc_version})" >&6; } |
19557 | UNSIGNED_INT_ARG="%zu" |
20139 | UNSIGNED_INT_ARG="%zu" |
19558 | |
20140 | |
19559 | ;; |
20141 | ;; |
19560 | esac |
20142 | esac |
19561 | |
20143 | |
… | |
… | |
19610 | |
20192 | |
19611 | #------------------------------------------------------------------------------- |
20193 | #------------------------------------------------------------------------------- |
19612 | # Checks for header files. |
20194 | # Checks for header files. |
19613 | #------------------------------------------------------------------------------- |
20195 | #------------------------------------------------------------------------------- |
19614 | |
20196 | |
19615 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
20197 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
19616 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
20198 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
19617 | if test "${ac_cv_header_stdc+set}" = set; then |
20199 | if test "${ac_cv_header_stdc+set}" = set; then |
19618 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20200 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19619 | else |
20201 | else |
19620 | cat >conftest.$ac_ext <<_ACEOF |
20202 | cat >conftest.$ac_ext <<_ACEOF |
19621 | /* confdefs.h. */ |
20203 | /* confdefs.h. */ |
… | |
… | |
19635 | ; |
20217 | ; |
19636 | return 0; |
20218 | return 0; |
19637 | } |
20219 | } |
19638 | _ACEOF |
20220 | _ACEOF |
19639 | rm -f conftest.$ac_objext |
20221 | rm -f conftest.$ac_objext |
|
|
20222 | if { (ac_try="$ac_compile" |
|
|
20223 | case "(($ac_try" in |
|
|
20224 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20225 | *) ac_try_echo=$ac_try;; |
|
|
20226 | esac |
19640 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20227 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19641 | (eval $ac_compile) 2>conftest.er1 |
20228 | (eval "$ac_compile") 2>conftest.er1 |
19642 | ac_status=$? |
20229 | ac_status=$? |
19643 | grep -v '^ *+' conftest.er1 >conftest.err |
20230 | grep -v '^ *+' conftest.er1 >conftest.err |
19644 | rm -f conftest.er1 |
20231 | rm -f conftest.er1 |
19645 | cat conftest.err >&5 |
20232 | cat conftest.err >&5 |
19646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19647 | (exit $ac_status); } && |
20234 | (exit $ac_status); } && { |
19648 | { ac_try='test -z "$ac_c_werror_flag" |
20235 | test -z "$ac_c_werror_flag" || |
19649 | || test ! -s conftest.err' |
20236 | test ! -s conftest.err |
19650 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20237 | } && test -s conftest.$ac_objext; then |
19651 | (eval $ac_try) 2>&5 |
|
|
19652 | ac_status=$? |
|
|
19653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19654 | (exit $ac_status); }; } && |
|
|
19655 | { ac_try='test -s conftest.$ac_objext' |
|
|
19656 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19657 | (eval $ac_try) 2>&5 |
|
|
19658 | ac_status=$? |
|
|
19659 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19660 | (exit $ac_status); }; }; then |
|
|
19661 | ac_cv_header_stdc=yes |
20238 | ac_cv_header_stdc=yes |
19662 | else |
20239 | else |
19663 | echo "$as_me: failed program was:" >&5 |
20240 | echo "$as_me: failed program was:" >&5 |
19664 | sed 's/^/| /' conftest.$ac_ext >&5 |
20241 | sed 's/^/| /' conftest.$ac_ext >&5 |
19665 | |
20242 | |
19666 | ac_cv_header_stdc=no |
20243 | ac_cv_header_stdc=no |
19667 | fi |
20244 | fi |
|
|
20245 | |
19668 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20246 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19669 | |
20247 | |
19670 | if test $ac_cv_header_stdc = yes; then |
20248 | if test $ac_cv_header_stdc = yes; then |
19671 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
20249 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
19672 | cat >conftest.$ac_ext <<_ACEOF |
20250 | cat >conftest.$ac_ext <<_ACEOF |
19673 | /* confdefs.h. */ |
20251 | /* confdefs.h. */ |
… | |
… | |
19719 | _ACEOF |
20297 | _ACEOF |
19720 | cat confdefs.h >>conftest.$ac_ext |
20298 | cat confdefs.h >>conftest.$ac_ext |
19721 | cat >>conftest.$ac_ext <<_ACEOF |
20299 | cat >>conftest.$ac_ext <<_ACEOF |
19722 | /* end confdefs.h. */ |
20300 | /* end confdefs.h. */ |
19723 | #include <ctype.h> |
20301 | #include <ctype.h> |
|
|
20302 | #include <stdlib.h> |
19724 | #if ((' ' & 0x0FF) == 0x020) |
20303 | #if ((' ' & 0x0FF) == 0x020) |
19725 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
20304 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
19726 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
20305 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
19727 | #else |
20306 | #else |
19728 | # define ISLOWER(c) \ |
20307 | # define ISLOWER(c) \ |
… | |
… | |
19738 | { |
20317 | { |
19739 | int i; |
20318 | int i; |
19740 | for (i = 0; i < 256; i++) |
20319 | for (i = 0; i < 256; i++) |
19741 | if (XOR (islower (i), ISLOWER (i)) |
20320 | if (XOR (islower (i), ISLOWER (i)) |
19742 | || toupper (i) != TOUPPER (i)) |
20321 | || toupper (i) != TOUPPER (i)) |
19743 | exit(2); |
20322 | return 2; |
19744 | exit (0); |
20323 | return 0; |
19745 | } |
20324 | } |
19746 | _ACEOF |
20325 | _ACEOF |
19747 | rm -f conftest$ac_exeext |
20326 | rm -f conftest$ac_exeext |
|
|
20327 | if { (ac_try="$ac_link" |
|
|
20328 | case "(($ac_try" in |
|
|
20329 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20330 | *) ac_try_echo=$ac_try;; |
|
|
20331 | esac |
19748 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20332 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19749 | (eval $ac_link) 2>&5 |
20333 | (eval "$ac_link") 2>&5 |
19750 | ac_status=$? |
20334 | ac_status=$? |
19751 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20335 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19752 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20336 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
20337 | { (case "(($ac_try" in |
|
|
20338 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20339 | *) ac_try_echo=$ac_try;; |
|
|
20340 | esac |
19753 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20341 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19754 | (eval $ac_try) 2>&5 |
20342 | (eval "$ac_try") 2>&5 |
19755 | ac_status=$? |
20343 | ac_status=$? |
19756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19757 | (exit $ac_status); }; }; then |
20345 | (exit $ac_status); }; }; then |
19758 | : |
20346 | : |
19759 | else |
20347 | else |
… | |
… | |
19762 | sed 's/^/| /' conftest.$ac_ext >&5 |
20350 | sed 's/^/| /' conftest.$ac_ext >&5 |
19763 | |
20351 | |
19764 | ( exit $ac_status ) |
20352 | ( exit $ac_status ) |
19765 | ac_cv_header_stdc=no |
20353 | ac_cv_header_stdc=no |
19766 | fi |
20354 | fi |
19767 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20355 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
19768 | fi |
20356 | fi |
|
|
20357 | |
|
|
20358 | |
19769 | fi |
20359 | fi |
19770 | fi |
20360 | fi |
19771 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
20361 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
19772 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
20362 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
19773 | if test $ac_cv_header_stdc = yes; then |
20363 | if test $ac_cv_header_stdc = yes; then |
19774 | |
20364 | |
19775 | cat >>confdefs.h <<\_ACEOF |
20365 | cat >>confdefs.h <<\_ACEOF |
19776 | #define STDC_HEADERS 1 |
20366 | #define STDC_HEADERS 1 |
19777 | _ACEOF |
20367 | _ACEOF |
… | |
… | |
19790 | |
20380 | |
19791 | for ac_header in arpa/inet.h, netdb.h, netinet/in.h, stdlib.h, \ |
20381 | for ac_header in arpa/inet.h, netdb.h, netinet/in.h, stdlib.h, \ |
19792 | string.h, strings.h, sys/socket.h unistd.h, error.h, inttypes.h |
20382 | string.h, strings.h, sys/socket.h unistd.h, error.h, inttypes.h |
19793 | do |
20383 | do |
19794 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20384 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19795 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20385 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19796 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20386 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19797 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20387 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19798 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20388 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19799 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20389 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19800 | fi |
20390 | fi |
19801 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20391 | ac_res=`eval echo '${'$as_ac_Header'}'` |
19802 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20392 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20393 | echo "${ECHO_T}$ac_res" >&6; } |
19803 | else |
20394 | else |
19804 | # Is the header compilable? |
20395 | # Is the header compilable? |
19805 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20396 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19806 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
20397 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19807 | cat >conftest.$ac_ext <<_ACEOF |
20398 | cat >conftest.$ac_ext <<_ACEOF |
19808 | /* confdefs.h. */ |
20399 | /* confdefs.h. */ |
19809 | _ACEOF |
20400 | _ACEOF |
19810 | cat confdefs.h >>conftest.$ac_ext |
20401 | cat confdefs.h >>conftest.$ac_ext |
19811 | cat >>conftest.$ac_ext <<_ACEOF |
20402 | cat >>conftest.$ac_ext <<_ACEOF |
19812 | /* end confdefs.h. */ |
20403 | /* end confdefs.h. */ |
19813 | $ac_includes_default |
20404 | $ac_includes_default |
19814 | #include <$ac_header> |
20405 | #include <$ac_header> |
19815 | _ACEOF |
20406 | _ACEOF |
19816 | rm -f conftest.$ac_objext |
20407 | rm -f conftest.$ac_objext |
|
|
20408 | if { (ac_try="$ac_compile" |
|
|
20409 | case "(($ac_try" in |
|
|
20410 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20411 | *) ac_try_echo=$ac_try;; |
|
|
20412 | esac |
19817 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20413 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19818 | (eval $ac_compile) 2>conftest.er1 |
20414 | (eval "$ac_compile") 2>conftest.er1 |
19819 | ac_status=$? |
20415 | ac_status=$? |
19820 | grep -v '^ *+' conftest.er1 >conftest.err |
20416 | grep -v '^ *+' conftest.er1 >conftest.err |
19821 | rm -f conftest.er1 |
20417 | rm -f conftest.er1 |
19822 | cat conftest.err >&5 |
20418 | cat conftest.err >&5 |
19823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19824 | (exit $ac_status); } && |
20420 | (exit $ac_status); } && { |
19825 | { ac_try='test -z "$ac_c_werror_flag" |
20421 | test -z "$ac_c_werror_flag" || |
19826 | || test ! -s conftest.err' |
20422 | test ! -s conftest.err |
19827 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20423 | } && test -s conftest.$ac_objext; then |
19828 | (eval $ac_try) 2>&5 |
|
|
19829 | ac_status=$? |
|
|
19830 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19831 | (exit $ac_status); }; } && |
|
|
19832 | { ac_try='test -s conftest.$ac_objext' |
|
|
19833 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19834 | (eval $ac_try) 2>&5 |
|
|
19835 | ac_status=$? |
|
|
19836 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
19837 | (exit $ac_status); }; }; then |
|
|
19838 | ac_header_compiler=yes |
20424 | ac_header_compiler=yes |
19839 | else |
20425 | else |
19840 | echo "$as_me: failed program was:" >&5 |
20426 | echo "$as_me: failed program was:" >&5 |
19841 | sed 's/^/| /' conftest.$ac_ext >&5 |
20427 | sed 's/^/| /' conftest.$ac_ext >&5 |
19842 | |
20428 | |
19843 | ac_header_compiler=no |
20429 | ac_header_compiler=no |
19844 | fi |
20430 | fi |
|
|
20431 | |
19845 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20432 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19846 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20433 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19847 | echo "${ECHO_T}$ac_header_compiler" >&6 |
20434 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
19848 | |
20435 | |
19849 | # Is the header present? |
20436 | # Is the header present? |
19850 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20437 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19851 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
20438 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19852 | cat >conftest.$ac_ext <<_ACEOF |
20439 | cat >conftest.$ac_ext <<_ACEOF |
19853 | /* confdefs.h. */ |
20440 | /* confdefs.h. */ |
19854 | _ACEOF |
20441 | _ACEOF |
19855 | cat confdefs.h >>conftest.$ac_ext |
20442 | cat confdefs.h >>conftest.$ac_ext |
19856 | cat >>conftest.$ac_ext <<_ACEOF |
20443 | cat >>conftest.$ac_ext <<_ACEOF |
19857 | /* end confdefs.h. */ |
20444 | /* end confdefs.h. */ |
19858 | #include <$ac_header> |
20445 | #include <$ac_header> |
19859 | _ACEOF |
20446 | _ACEOF |
19860 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
20447 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
20448 | case "(($ac_try" in |
|
|
20449 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20450 | *) ac_try_echo=$ac_try;; |
|
|
20451 | esac |
|
|
20452 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
19861 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
20453 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
19862 | ac_status=$? |
20454 | ac_status=$? |
19863 | grep -v '^ *+' conftest.er1 >conftest.err |
20455 | grep -v '^ *+' conftest.er1 >conftest.err |
19864 | rm -f conftest.er1 |
20456 | rm -f conftest.er1 |
19865 | cat conftest.err >&5 |
20457 | cat conftest.err >&5 |
19866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20458 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19867 | (exit $ac_status); } >/dev/null; then |
20459 | (exit $ac_status); } >/dev/null && { |
|
|
20460 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
19868 | if test -s conftest.err; then |
20461 | test ! -s conftest.err |
19869 | ac_cpp_err=$ac_c_preproc_warn_flag |
20462 | }; then |
19870 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
19871 | else |
|
|
19872 | ac_cpp_err= |
|
|
19873 | fi |
|
|
19874 | else |
|
|
19875 | ac_cpp_err=yes |
|
|
19876 | fi |
|
|
19877 | if test -z "$ac_cpp_err"; then |
|
|
19878 | ac_header_preproc=yes |
20463 | ac_header_preproc=yes |
19879 | else |
20464 | else |
19880 | echo "$as_me: failed program was:" >&5 |
20465 | echo "$as_me: failed program was:" >&5 |
19881 | sed 's/^/| /' conftest.$ac_ext >&5 |
20466 | sed 's/^/| /' conftest.$ac_ext >&5 |
19882 | |
20467 | |
19883 | ac_header_preproc=no |
20468 | ac_header_preproc=no |
19884 | fi |
20469 | fi |
|
|
20470 | |
19885 | rm -f conftest.err conftest.$ac_ext |
20471 | rm -f conftest.err conftest.$ac_ext |
19886 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20472 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19887 | echo "${ECHO_T}$ac_header_preproc" >&6 |
20473 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
19888 | |
20474 | |
19889 | # So? What about this header? |
20475 | # So? What about this header? |
19890 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20476 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19891 | yes:no: ) |
20477 | yes:no: ) |
19892 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20478 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
19906 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20492 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19907 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20493 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19908 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20494 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19909 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20495 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19910 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20496 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19911 | ( |
|
|
19912 | cat <<\_ASBOX |
20497 | ( cat <<\_ASBOX |
19913 | ## ------------------------------------ ## |
20498 | ## ------------------------------------ ## |
19914 | ## Report this to jcouzens@codeshare.ca ## |
20499 | ## Report this to jcouzens@codeshare.ca ## |
19915 | ## ------------------------------------ ## |
20500 | ## ------------------------------------ ## |
19916 | _ASBOX |
20501 | _ASBOX |
19917 | ) | |
|
|
19918 | sed "s/^/$as_me: WARNING: /" >&2 |
20502 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
19919 | ;; |
20503 | ;; |
19920 | esac |
20504 | esac |
19921 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20505 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19922 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
20506 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19923 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
20507 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19924 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20508 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19925 | else |
20509 | else |
19926 | eval "$as_ac_Header=\$ac_header_preproc" |
20510 | eval "$as_ac_Header=\$ac_header_preproc" |
19927 | fi |
20511 | fi |
19928 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
20512 | ac_res=`eval echo '${'$as_ac_Header'}'` |
19929 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
20513 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
20514 | echo "${ECHO_T}$ac_res" >&6; } |
19930 | |
20515 | |
19931 | fi |
20516 | fi |
19932 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20517 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19933 | cat >>confdefs.h <<_ACEOF |
20518 | cat >>confdefs.h <<_ACEOF |
19934 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20519 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
19942 | |
20527 | |
19943 | #------------------------------------------------------------------------------- |
20528 | #------------------------------------------------------------------------------- |
19944 | # Required Types, structures and other compiler requirements |
20529 | # Required Types, structures and other compiler requirements |
19945 | #------------------------------------------------------------------------------- |
20530 | #------------------------------------------------------------------------------- |
19946 | |
20531 | |
19947 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
20532 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
19948 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
20533 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
19949 | if test "${ac_cv_c_const+set}" = set; then |
20534 | if test "${ac_cv_c_const+set}" = set; then |
19950 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20535 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
19951 | else |
20536 | else |
19952 | cat >conftest.$ac_ext <<_ACEOF |
20537 | cat >conftest.$ac_ext <<_ACEOF |
19953 | /* confdefs.h. */ |
20538 | /* confdefs.h. */ |
… | |
… | |
19961 | { |
20546 | { |
19962 | /* FIXME: Include the comments suggested by Paul. */ |
20547 | /* FIXME: Include the comments suggested by Paul. */ |
19963 | #ifndef __cplusplus |
20548 | #ifndef __cplusplus |
19964 | /* Ultrix mips cc rejects this. */ |
20549 | /* Ultrix mips cc rejects this. */ |
19965 | typedef int charset[2]; |
20550 | typedef int charset[2]; |
19966 | const charset x; |
20551 | const charset cs; |
19967 | /* SunOS 4.1.1 cc rejects this. */ |
20552 | /* SunOS 4.1.1 cc rejects this. */ |
19968 | char const *const *ccp; |
20553 | char const *const *pcpcc; |
19969 | char **p; |
20554 | char **ppc; |
19970 | /* NEC SVR4.0.2 mips cc rejects this. */ |
20555 | /* NEC SVR4.0.2 mips cc rejects this. */ |
19971 | struct point {int x, y;}; |
20556 | struct point {int x, y;}; |
19972 | static struct point const zero = {0,0}; |
20557 | static struct point const zero = {0,0}; |
19973 | /* AIX XL C 1.02.0.0 rejects this. |
20558 | /* AIX XL C 1.02.0.0 rejects this. |
19974 | It does not let you subtract one const X* pointer from another in |
20559 | It does not let you subtract one const X* pointer from another in |
19975 | an arm of an if-expression whose if-part is not a constant |
20560 | an arm of an if-expression whose if-part is not a constant |
19976 | expression */ |
20561 | expression */ |
19977 | const char *g = "string"; |
20562 | const char *g = "string"; |
19978 | ccp = &g + (g ? g-g : 0); |
20563 | pcpcc = &g + (g ? g-g : 0); |
19979 | /* HPUX 7.0 cc rejects these. */ |
20564 | /* HPUX 7.0 cc rejects these. */ |
19980 | ++ccp; |
20565 | ++pcpcc; |
19981 | p = (char**) ccp; |
20566 | ppc = (char**) pcpcc; |
19982 | ccp = (char const *const *) p; |
20567 | pcpcc = (char const *const *) ppc; |
19983 | { /* SCO 3.2v4 cc rejects this. */ |
20568 | { /* SCO 3.2v4 cc rejects this. */ |
19984 | char *t; |
20569 | char *t; |
19985 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
20570 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
19986 | |
20571 | |
19987 | *t++ = 0; |
20572 | *t++ = 0; |
|
|
20573 | if (s) return 0; |
19988 | } |
20574 | } |
19989 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
20575 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
19990 | int x[] = {25, 17}; |
20576 | int x[] = {25, 17}; |
19991 | const int *foo = &x[0]; |
20577 | const int *foo = &x[0]; |
19992 | ++foo; |
20578 | ++foo; |
… | |
… | |
20001 | struct s { int j; const int *ap[3]; }; |
20587 | struct s { int j; const int *ap[3]; }; |
20002 | struct s *b; b->j = 5; |
20588 | struct s *b; b->j = 5; |
20003 | } |
20589 | } |
20004 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
20590 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
20005 | const int foo = 10; |
20591 | const int foo = 10; |
|
|
20592 | if (!foo) return 0; |
20006 | } |
20593 | } |
|
|
20594 | return !cs[0] && !zero.x; |
20007 | #endif |
20595 | #endif |
20008 | |
20596 | |
20009 | ; |
20597 | ; |
20010 | return 0; |
20598 | return 0; |
20011 | } |
20599 | } |
20012 | _ACEOF |
20600 | _ACEOF |
20013 | rm -f conftest.$ac_objext |
20601 | rm -f conftest.$ac_objext |
|
|
20602 | if { (ac_try="$ac_compile" |
|
|
20603 | case "(($ac_try" in |
|
|
20604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20605 | *) ac_try_echo=$ac_try;; |
|
|
20606 | esac |
20014 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20607 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20015 | (eval $ac_compile) 2>conftest.er1 |
20608 | (eval "$ac_compile") 2>conftest.er1 |
20016 | ac_status=$? |
20609 | ac_status=$? |
20017 | grep -v '^ *+' conftest.er1 >conftest.err |
20610 | grep -v '^ *+' conftest.er1 >conftest.err |
20018 | rm -f conftest.er1 |
20611 | rm -f conftest.er1 |
20019 | cat conftest.err >&5 |
20612 | cat conftest.err >&5 |
20020 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20613 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20021 | (exit $ac_status); } && |
20614 | (exit $ac_status); } && { |
20022 | { ac_try='test -z "$ac_c_werror_flag" |
20615 | test -z "$ac_c_werror_flag" || |
20023 | || test ! -s conftest.err' |
20616 | test ! -s conftest.err |
20024 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20617 | } && test -s conftest.$ac_objext; then |
20025 | (eval $ac_try) 2>&5 |
|
|
20026 | ac_status=$? |
|
|
20027 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20028 | (exit $ac_status); }; } && |
|
|
20029 | { ac_try='test -s conftest.$ac_objext' |
|
|
20030 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20031 | (eval $ac_try) 2>&5 |
|
|
20032 | ac_status=$? |
|
|
20033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20034 | (exit $ac_status); }; }; then |
|
|
20035 | ac_cv_c_const=yes |
20618 | ac_cv_c_const=yes |
20036 | else |
20619 | else |
20037 | echo "$as_me: failed program was:" >&5 |
20620 | echo "$as_me: failed program was:" >&5 |
20038 | sed 's/^/| /' conftest.$ac_ext >&5 |
20621 | sed 's/^/| /' conftest.$ac_ext >&5 |
20039 | |
20622 | |
20040 | ac_cv_c_const=no |
20623 | ac_cv_c_const=no |
20041 | fi |
20624 | fi |
|
|
20625 | |
20042 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20626 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20043 | fi |
20627 | fi |
20044 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
20628 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
20045 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
20629 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
20046 | if test $ac_cv_c_const = no; then |
20630 | if test $ac_cv_c_const = no; then |
20047 | |
20631 | |
20048 | cat >>confdefs.h <<\_ACEOF |
20632 | cat >>confdefs.h <<\_ACEOF |
20049 | #define const |
20633 | #define const |
20050 | _ACEOF |
20634 | _ACEOF |
20051 | |
20635 | |
20052 | fi |
20636 | fi |
20053 | |
20637 | |
20054 | echo "$as_me:$LINENO: checking for inline" >&5 |
20638 | { echo "$as_me:$LINENO: checking for inline" >&5 |
20055 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 |
20639 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
20056 | if test "${ac_cv_c_inline+set}" = set; then |
20640 | if test "${ac_cv_c_inline+set}" = set; then |
20057 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20641 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20058 | else |
20642 | else |
20059 | ac_cv_c_inline=no |
20643 | ac_cv_c_inline=no |
20060 | for ac_kw in inline __inline__ __inline; do |
20644 | for ac_kw in inline __inline__ __inline; do |
… | |
… | |
20070 | $ac_kw foo_t foo () {return 0; } |
20654 | $ac_kw foo_t foo () {return 0; } |
20071 | #endif |
20655 | #endif |
20072 | |
20656 | |
20073 | _ACEOF |
20657 | _ACEOF |
20074 | rm -f conftest.$ac_objext |
20658 | rm -f conftest.$ac_objext |
|
|
20659 | if { (ac_try="$ac_compile" |
|
|
20660 | case "(($ac_try" in |
|
|
20661 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20662 | *) ac_try_echo=$ac_try;; |
|
|
20663 | esac |
20075 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20664 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20076 | (eval $ac_compile) 2>conftest.er1 |
20665 | (eval "$ac_compile") 2>conftest.er1 |
20077 | ac_status=$? |
20666 | ac_status=$? |
20078 | grep -v '^ *+' conftest.er1 >conftest.err |
20667 | grep -v '^ *+' conftest.er1 >conftest.err |
20079 | rm -f conftest.er1 |
20668 | rm -f conftest.er1 |
20080 | cat conftest.err >&5 |
20669 | cat conftest.err >&5 |
20081 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20082 | (exit $ac_status); } && |
20671 | (exit $ac_status); } && { |
20083 | { ac_try='test -z "$ac_c_werror_flag" |
20672 | test -z "$ac_c_werror_flag" || |
20084 | || test ! -s conftest.err' |
20673 | test ! -s conftest.err |
20085 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20674 | } && test -s conftest.$ac_objext; then |
20086 | (eval $ac_try) 2>&5 |
|
|
20087 | ac_status=$? |
|
|
20088 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20089 | (exit $ac_status); }; } && |
|
|
20090 | { ac_try='test -s conftest.$ac_objext' |
|
|
20091 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20092 | (eval $ac_try) 2>&5 |
|
|
20093 | ac_status=$? |
|
|
20094 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20095 | (exit $ac_status); }; }; then |
|
|
20096 | ac_cv_c_inline=$ac_kw; break |
20675 | ac_cv_c_inline=$ac_kw |
20097 | else |
20676 | else |
20098 | echo "$as_me: failed program was:" >&5 |
20677 | echo "$as_me: failed program was:" >&5 |
20099 | sed 's/^/| /' conftest.$ac_ext >&5 |
20678 | sed 's/^/| /' conftest.$ac_ext >&5 |
20100 | |
20679 | |
|
|
20680 | |
20101 | fi |
20681 | fi |
|
|
20682 | |
20102 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20683 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
20684 | test "$ac_cv_c_inline" != no && break |
20103 | done |
20685 | done |
20104 | |
20686 | |
20105 | fi |
20687 | fi |
20106 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
20688 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
20107 | echo "${ECHO_T}$ac_cv_c_inline" >&6 |
20689 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
20108 | |
20690 | |
20109 | |
20691 | |
20110 | case $ac_cv_c_inline in |
20692 | case $ac_cv_c_inline in |
20111 | inline | yes) ;; |
20693 | inline | yes) ;; |
20112 | *) |
20694 | *) |
… | |
… | |
20120 | #endif |
20702 | #endif |
20121 | _ACEOF |
20703 | _ACEOF |
20122 | ;; |
20704 | ;; |
20123 | esac |
20705 | esac |
20124 | |
20706 | |
20125 | echo "$as_me:$LINENO: checking for size_t" >&5 |
20707 | { echo "$as_me:$LINENO: checking for size_t" >&5 |
20126 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
20708 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
20127 | if test "${ac_cv_type_size_t+set}" = set; then |
20709 | if test "${ac_cv_type_size_t+set}" = set; then |
20128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20710 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20129 | else |
20711 | else |
20130 | cat >conftest.$ac_ext <<_ACEOF |
20712 | cat >conftest.$ac_ext <<_ACEOF |
20131 | /* confdefs.h. */ |
20713 | /* confdefs.h. */ |
20132 | _ACEOF |
20714 | _ACEOF |
20133 | cat confdefs.h >>conftest.$ac_ext |
20715 | cat confdefs.h >>conftest.$ac_ext |
20134 | cat >>conftest.$ac_ext <<_ACEOF |
20716 | cat >>conftest.$ac_ext <<_ACEOF |
20135 | /* end confdefs.h. */ |
20717 | /* end confdefs.h. */ |
20136 | $ac_includes_default |
20718 | $ac_includes_default |
|
|
20719 | typedef size_t ac__type_new_; |
20137 | int |
20720 | int |
20138 | main () |
20721 | main () |
20139 | { |
20722 | { |
20140 | if ((size_t *) 0) |
20723 | if ((ac__type_new_ *) 0) |
20141 | return 0; |
20724 | return 0; |
20142 | if (sizeof (size_t)) |
20725 | if (sizeof (ac__type_new_)) |
20143 | return 0; |
20726 | return 0; |
20144 | ; |
20727 | ; |
20145 | return 0; |
20728 | return 0; |
20146 | } |
20729 | } |
20147 | _ACEOF |
20730 | _ACEOF |
20148 | rm -f conftest.$ac_objext |
20731 | rm -f conftest.$ac_objext |
|
|
20732 | if { (ac_try="$ac_compile" |
|
|
20733 | case "(($ac_try" in |
|
|
20734 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20735 | *) ac_try_echo=$ac_try;; |
|
|
20736 | esac |
20149 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20737 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20150 | (eval $ac_compile) 2>conftest.er1 |
20738 | (eval "$ac_compile") 2>conftest.er1 |
20151 | ac_status=$? |
20739 | ac_status=$? |
20152 | grep -v '^ *+' conftest.er1 >conftest.err |
20740 | grep -v '^ *+' conftest.er1 >conftest.err |
20153 | rm -f conftest.er1 |
20741 | rm -f conftest.er1 |
20154 | cat conftest.err >&5 |
20742 | cat conftest.err >&5 |
20155 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20156 | (exit $ac_status); } && |
20744 | (exit $ac_status); } && { |
20157 | { ac_try='test -z "$ac_c_werror_flag" |
20745 | test -z "$ac_c_werror_flag" || |
20158 | || test ! -s conftest.err' |
20746 | test ! -s conftest.err |
20159 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20747 | } && test -s conftest.$ac_objext; then |
20160 | (eval $ac_try) 2>&5 |
|
|
20161 | ac_status=$? |
|
|
20162 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20163 | (exit $ac_status); }; } && |
|
|
20164 | { ac_try='test -s conftest.$ac_objext' |
|
|
20165 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20166 | (eval $ac_try) 2>&5 |
|
|
20167 | ac_status=$? |
|
|
20168 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20169 | (exit $ac_status); }; }; then |
|
|
20170 | ac_cv_type_size_t=yes |
20748 | ac_cv_type_size_t=yes |
20171 | else |
20749 | else |
20172 | echo "$as_me: failed program was:" >&5 |
20750 | echo "$as_me: failed program was:" >&5 |
20173 | sed 's/^/| /' conftest.$ac_ext >&5 |
20751 | sed 's/^/| /' conftest.$ac_ext >&5 |
20174 | |
20752 | |
20175 | ac_cv_type_size_t=no |
20753 | ac_cv_type_size_t=no |
20176 | fi |
20754 | fi |
|
|
20755 | |
20177 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20756 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20178 | fi |
20757 | fi |
20179 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
20758 | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
20180 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
20759 | echo "${ECHO_T}$ac_cv_type_size_t" >&6; } |
20181 | if test $ac_cv_type_size_t = yes; then |
20760 | if test $ac_cv_type_size_t = yes; then |
20182 | : |
20761 | : |
20183 | else |
20762 | else |
20184 | |
20763 | |
20185 | cat >>confdefs.h <<_ACEOF |
20764 | cat >>confdefs.h <<_ACEOF |
20186 | #define size_t unsigned |
20765 | #define size_t unsigned int |
20187 | _ACEOF |
20766 | _ACEOF |
20188 | |
20767 | |
20189 | fi |
20768 | fi |
20190 | |
20769 | |
20191 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
20770 | { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
20192 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
20771 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } |
20193 | if test "${ac_cv_struct_tm+set}" = set; then |
20772 | if test "${ac_cv_struct_tm+set}" = set; then |
20194 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20773 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20195 | else |
20774 | else |
20196 | cat >conftest.$ac_ext <<_ACEOF |
20775 | cat >conftest.$ac_ext <<_ACEOF |
20197 | /* confdefs.h. */ |
20776 | /* confdefs.h. */ |
… | |
… | |
20203 | #include <time.h> |
20782 | #include <time.h> |
20204 | |
20783 | |
20205 | int |
20784 | int |
20206 | main () |
20785 | main () |
20207 | { |
20786 | { |
20208 | struct tm *tp; tp->tm_sec; |
20787 | struct tm tm; |
|
|
20788 | int *p = &tm.tm_sec; |
|
|
20789 | return !p; |
20209 | ; |
20790 | ; |
20210 | return 0; |
20791 | return 0; |
20211 | } |
20792 | } |
20212 | _ACEOF |
20793 | _ACEOF |
20213 | rm -f conftest.$ac_objext |
20794 | rm -f conftest.$ac_objext |
|
|
20795 | if { (ac_try="$ac_compile" |
|
|
20796 | case "(($ac_try" in |
|
|
20797 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20798 | *) ac_try_echo=$ac_try;; |
|
|
20799 | esac |
20214 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20800 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20215 | (eval $ac_compile) 2>conftest.er1 |
20801 | (eval "$ac_compile") 2>conftest.er1 |
20216 | ac_status=$? |
20802 | ac_status=$? |
20217 | grep -v '^ *+' conftest.er1 >conftest.err |
20803 | grep -v '^ *+' conftest.er1 >conftest.err |
20218 | rm -f conftest.er1 |
20804 | rm -f conftest.er1 |
20219 | cat conftest.err >&5 |
20805 | cat conftest.err >&5 |
20220 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20806 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20221 | (exit $ac_status); } && |
20807 | (exit $ac_status); } && { |
20222 | { ac_try='test -z "$ac_c_werror_flag" |
20808 | test -z "$ac_c_werror_flag" || |
20223 | || test ! -s conftest.err' |
20809 | test ! -s conftest.err |
20224 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20810 | } && test -s conftest.$ac_objext; then |
20225 | (eval $ac_try) 2>&5 |
|
|
20226 | ac_status=$? |
|
|
20227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20228 | (exit $ac_status); }; } && |
|
|
20229 | { ac_try='test -s conftest.$ac_objext' |
|
|
20230 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20231 | (eval $ac_try) 2>&5 |
|
|
20232 | ac_status=$? |
|
|
20233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20234 | (exit $ac_status); }; }; then |
|
|
20235 | ac_cv_struct_tm=time.h |
20811 | ac_cv_struct_tm=time.h |
20236 | else |
20812 | else |
20237 | echo "$as_me: failed program was:" >&5 |
20813 | echo "$as_me: failed program was:" >&5 |
20238 | sed 's/^/| /' conftest.$ac_ext >&5 |
20814 | sed 's/^/| /' conftest.$ac_ext >&5 |
20239 | |
20815 | |
20240 | ac_cv_struct_tm=sys/time.h |
20816 | ac_cv_struct_tm=sys/time.h |
20241 | fi |
20817 | fi |
|
|
20818 | |
20242 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20819 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20243 | fi |
20820 | fi |
20244 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
20821 | { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
20245 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
20822 | echo "${ECHO_T}$ac_cv_struct_tm" >&6; } |
20246 | if test $ac_cv_struct_tm = sys/time.h; then |
20823 | if test $ac_cv_struct_tm = sys/time.h; then |
20247 | |
20824 | |
20248 | cat >>confdefs.h <<\_ACEOF |
20825 | cat >>confdefs.h <<\_ACEOF |
20249 | #define TM_IN_SYS_TIME 1 |
20826 | #define TM_IN_SYS_TIME 1 |
20250 | _ACEOF |
20827 | _ACEOF |
20251 | |
20828 | |
20252 | fi |
20829 | fi |
20253 | |
20830 | |
20254 | |
20831 | |
20255 | echo "$as_me:$LINENO: checking whether char is unsigned" >&5 |
20832 | { echo "$as_me:$LINENO: checking whether char is unsigned" >&5 |
20256 | echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6 |
20833 | echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; } |
20257 | if test "${ac_cv_c_char_unsigned+set}" = set; then |
20834 | if test "${ac_cv_c_char_unsigned+set}" = set; then |
20258 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20835 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20259 | else |
20836 | else |
20260 | cat >conftest.$ac_ext <<_ACEOF |
20837 | cat >conftest.$ac_ext <<_ACEOF |
20261 | /* confdefs.h. */ |
20838 | /* confdefs.h. */ |
… | |
… | |
20273 | ; |
20850 | ; |
20274 | return 0; |
20851 | return 0; |
20275 | } |
20852 | } |
20276 | _ACEOF |
20853 | _ACEOF |
20277 | rm -f conftest.$ac_objext |
20854 | rm -f conftest.$ac_objext |
|
|
20855 | if { (ac_try="$ac_compile" |
|
|
20856 | case "(($ac_try" in |
|
|
20857 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20858 | *) ac_try_echo=$ac_try;; |
|
|
20859 | esac |
20278 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20860 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20279 | (eval $ac_compile) 2>conftest.er1 |
20861 | (eval "$ac_compile") 2>conftest.er1 |
20280 | ac_status=$? |
20862 | ac_status=$? |
20281 | grep -v '^ *+' conftest.er1 >conftest.err |
20863 | grep -v '^ *+' conftest.er1 >conftest.err |
20282 | rm -f conftest.er1 |
20864 | rm -f conftest.er1 |
20283 | cat conftest.err >&5 |
20865 | cat conftest.err >&5 |
20284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20285 | (exit $ac_status); } && |
20867 | (exit $ac_status); } && { |
20286 | { ac_try='test -z "$ac_c_werror_flag" |
20868 | test -z "$ac_c_werror_flag" || |
20287 | || test ! -s conftest.err' |
20869 | test ! -s conftest.err |
20288 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20870 | } && test -s conftest.$ac_objext; then |
20289 | (eval $ac_try) 2>&5 |
|
|
20290 | ac_status=$? |
|
|
20291 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20292 | (exit $ac_status); }; } && |
|
|
20293 | { ac_try='test -s conftest.$ac_objext' |
|
|
20294 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20295 | (eval $ac_try) 2>&5 |
|
|
20296 | ac_status=$? |
|
|
20297 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20298 | (exit $ac_status); }; }; then |
|
|
20299 | ac_cv_c_char_unsigned=no |
20871 | ac_cv_c_char_unsigned=no |
20300 | else |
20872 | else |
20301 | echo "$as_me: failed program was:" >&5 |
20873 | echo "$as_me: failed program was:" >&5 |
20302 | sed 's/^/| /' conftest.$ac_ext >&5 |
20874 | sed 's/^/| /' conftest.$ac_ext >&5 |
20303 | |
20875 | |
20304 | ac_cv_c_char_unsigned=yes |
20876 | ac_cv_c_char_unsigned=yes |
20305 | fi |
20877 | fi |
|
|
20878 | |
20306 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20879 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20307 | fi |
20880 | fi |
20308 | echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 |
20881 | { echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 |
20309 | echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6 |
20882 | echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; } |
20310 | if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then |
20883 | if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then |
20311 | cat >>confdefs.h <<\_ACEOF |
20884 | cat >>confdefs.h <<\_ACEOF |
20312 | #define __CHAR_UNSIGNED__ 1 |
20885 | #define __CHAR_UNSIGNED__ 1 |
20313 | _ACEOF |
20886 | _ACEOF |
20314 | |
20887 | |
20315 | fi |
20888 | fi |
20316 | |
20889 | |
20317 | echo "$as_me:$LINENO: checking for u_char" >&5 |
20890 | { echo "$as_me:$LINENO: checking for u_char" >&5 |
20318 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6 |
20891 | echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } |
20319 | if test "${ac_cv_type_u_char+set}" = set; then |
20892 | if test "${ac_cv_type_u_char+set}" = set; then |
20320 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20893 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20321 | else |
20894 | else |
20322 | cat >conftest.$ac_ext <<_ACEOF |
20895 | cat >conftest.$ac_ext <<_ACEOF |
20323 | /* confdefs.h. */ |
20896 | /* confdefs.h. */ |
20324 | _ACEOF |
20897 | _ACEOF |
20325 | cat confdefs.h >>conftest.$ac_ext |
20898 | cat confdefs.h >>conftest.$ac_ext |
20326 | cat >>conftest.$ac_ext <<_ACEOF |
20899 | cat >>conftest.$ac_ext <<_ACEOF |
20327 | /* end confdefs.h. */ |
20900 | /* end confdefs.h. */ |
20328 | $ac_includes_default |
20901 | $ac_includes_default |
|
|
20902 | typedef u_char ac__type_new_; |
20329 | int |
20903 | int |
20330 | main () |
20904 | main () |
20331 | { |
20905 | { |
20332 | if ((u_char *) 0) |
20906 | if ((ac__type_new_ *) 0) |
20333 | return 0; |
20907 | return 0; |
20334 | if (sizeof (u_char)) |
20908 | if (sizeof (ac__type_new_)) |
20335 | return 0; |
20909 | return 0; |
20336 | ; |
20910 | ; |
20337 | return 0; |
20911 | return 0; |
20338 | } |
20912 | } |
20339 | _ACEOF |
20913 | _ACEOF |
20340 | rm -f conftest.$ac_objext |
20914 | rm -f conftest.$ac_objext |
|
|
20915 | if { (ac_try="$ac_compile" |
|
|
20916 | case "(($ac_try" in |
|
|
20917 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20918 | *) ac_try_echo=$ac_try;; |
|
|
20919 | esac |
20341 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20920 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20342 | (eval $ac_compile) 2>conftest.er1 |
20921 | (eval "$ac_compile") 2>conftest.er1 |
20343 | ac_status=$? |
20922 | ac_status=$? |
20344 | grep -v '^ *+' conftest.er1 >conftest.err |
20923 | grep -v '^ *+' conftest.er1 >conftest.err |
20345 | rm -f conftest.er1 |
20924 | rm -f conftest.er1 |
20346 | cat conftest.err >&5 |
20925 | cat conftest.err >&5 |
20347 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20926 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20348 | (exit $ac_status); } && |
20927 | (exit $ac_status); } && { |
20349 | { ac_try='test -z "$ac_c_werror_flag" |
20928 | test -z "$ac_c_werror_flag" || |
20350 | || test ! -s conftest.err' |
20929 | test ! -s conftest.err |
20351 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20930 | } && test -s conftest.$ac_objext; then |
20352 | (eval $ac_try) 2>&5 |
|
|
20353 | ac_status=$? |
|
|
20354 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20355 | (exit $ac_status); }; } && |
|
|
20356 | { ac_try='test -s conftest.$ac_objext' |
|
|
20357 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20358 | (eval $ac_try) 2>&5 |
|
|
20359 | ac_status=$? |
|
|
20360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20361 | (exit $ac_status); }; }; then |
|
|
20362 | ac_cv_type_u_char=yes |
20931 | ac_cv_type_u_char=yes |
20363 | else |
20932 | else |
20364 | echo "$as_me: failed program was:" >&5 |
20933 | echo "$as_me: failed program was:" >&5 |
20365 | sed 's/^/| /' conftest.$ac_ext >&5 |
20934 | sed 's/^/| /' conftest.$ac_ext >&5 |
20366 | |
20935 | |
20367 | ac_cv_type_u_char=no |
20936 | ac_cv_type_u_char=no |
20368 | fi |
20937 | fi |
|
|
20938 | |
20369 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
20939 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20370 | fi |
20940 | fi |
20371 | echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5 |
20941 | { echo "$as_me:$LINENO: result: $ac_cv_type_u_char" >&5 |
20372 | echo "${ECHO_T}$ac_cv_type_u_char" >&6 |
20942 | echo "${ECHO_T}$ac_cv_type_u_char" >&6; } |
20373 | if test $ac_cv_type_u_char = yes; then |
20943 | if test $ac_cv_type_u_char = yes; then |
20374 | |
20944 | |
20375 | cat >>confdefs.h <<_ACEOF |
20945 | cat >>confdefs.h <<_ACEOF |
20376 | #define HAVE_U_CHAR 1 |
20946 | #define HAVE_U_CHAR 1 |
20377 | _ACEOF |
20947 | _ACEOF |
20378 | |
20948 | |
20379 | |
20949 | |
20380 | fi |
20950 | fi |
20381 | echo "$as_me:$LINENO: checking for time_t" >&5 |
20951 | { echo "$as_me:$LINENO: checking for time_t" >&5 |
20382 | echo $ECHO_N "checking for time_t... $ECHO_C" >&6 |
20952 | echo $ECHO_N "checking for time_t... $ECHO_C" >&6; } |
20383 | if test "${ac_cv_type_time_t+set}" = set; then |
20953 | if test "${ac_cv_type_time_t+set}" = set; then |
20384 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20954 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20385 | else |
20955 | else |
20386 | cat >conftest.$ac_ext <<_ACEOF |
20956 | cat >conftest.$ac_ext <<_ACEOF |
20387 | /* confdefs.h. */ |
20957 | /* confdefs.h. */ |
20388 | _ACEOF |
20958 | _ACEOF |
20389 | cat confdefs.h >>conftest.$ac_ext |
20959 | cat confdefs.h >>conftest.$ac_ext |
20390 | cat >>conftest.$ac_ext <<_ACEOF |
20960 | cat >>conftest.$ac_ext <<_ACEOF |
20391 | /* end confdefs.h. */ |
20961 | /* end confdefs.h. */ |
20392 | $ac_includes_default |
20962 | $ac_includes_default |
|
|
20963 | typedef time_t ac__type_new_; |
20393 | int |
20964 | int |
20394 | main () |
20965 | main () |
20395 | { |
20966 | { |
20396 | if ((time_t *) 0) |
20967 | if ((ac__type_new_ *) 0) |
20397 | return 0; |
20968 | return 0; |
20398 | if (sizeof (time_t)) |
20969 | if (sizeof (ac__type_new_)) |
20399 | return 0; |
20970 | return 0; |
20400 | ; |
20971 | ; |
20401 | return 0; |
20972 | return 0; |
20402 | } |
20973 | } |
20403 | _ACEOF |
20974 | _ACEOF |
20404 | rm -f conftest.$ac_objext |
20975 | rm -f conftest.$ac_objext |
|
|
20976 | if { (ac_try="$ac_compile" |
|
|
20977 | case "(($ac_try" in |
|
|
20978 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
20979 | *) ac_try_echo=$ac_try;; |
|
|
20980 | esac |
20405 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
20981 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20406 | (eval $ac_compile) 2>conftest.er1 |
20982 | (eval "$ac_compile") 2>conftest.er1 |
20407 | ac_status=$? |
20983 | ac_status=$? |
20408 | grep -v '^ *+' conftest.er1 >conftest.err |
20984 | grep -v '^ *+' conftest.er1 >conftest.err |
20409 | rm -f conftest.er1 |
20985 | rm -f conftest.er1 |
20410 | cat conftest.err >&5 |
20986 | cat conftest.err >&5 |
20411 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20987 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20412 | (exit $ac_status); } && |
20988 | (exit $ac_status); } && { |
20413 | { ac_try='test -z "$ac_c_werror_flag" |
20989 | test -z "$ac_c_werror_flag" || |
20414 | || test ! -s conftest.err' |
20990 | test ! -s conftest.err |
20415 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20991 | } && test -s conftest.$ac_objext; then |
20416 | (eval $ac_try) 2>&5 |
|
|
20417 | ac_status=$? |
|
|
20418 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20419 | (exit $ac_status); }; } && |
|
|
20420 | { ac_try='test -s conftest.$ac_objext' |
|
|
20421 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20422 | (eval $ac_try) 2>&5 |
|
|
20423 | ac_status=$? |
|
|
20424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20425 | (exit $ac_status); }; }; then |
|
|
20426 | ac_cv_type_time_t=yes |
20992 | ac_cv_type_time_t=yes |
20427 | else |
20993 | else |
20428 | echo "$as_me: failed program was:" >&5 |
20994 | echo "$as_me: failed program was:" >&5 |
20429 | sed 's/^/| /' conftest.$ac_ext >&5 |
20995 | sed 's/^/| /' conftest.$ac_ext >&5 |
20430 | |
20996 | |
20431 | ac_cv_type_time_t=no |
20997 | ac_cv_type_time_t=no |
20432 | fi |
20998 | fi |
|
|
20999 | |
20433 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21000 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20434 | fi |
21001 | fi |
20435 | echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5 |
21002 | { echo "$as_me:$LINENO: result: $ac_cv_type_time_t" >&5 |
20436 | echo "${ECHO_T}$ac_cv_type_time_t" >&6 |
21003 | echo "${ECHO_T}$ac_cv_type_time_t" >&6; } |
20437 | if test $ac_cv_type_time_t = yes; then |
21004 | if test $ac_cv_type_time_t = yes; then |
20438 | |
21005 | |
20439 | cat >>confdefs.h <<_ACEOF |
21006 | cat >>confdefs.h <<_ACEOF |
20440 | #define HAVE_TIME_T 1 |
21007 | #define HAVE_TIME_T 1 |
20441 | _ACEOF |
21008 | _ACEOF |
… | |
… | |
20451 | |
21018 | |
20452 | |
21019 | |
20453 | for ac_header in stdlib.h |
21020 | for ac_header in stdlib.h |
20454 | do |
21021 | do |
20455 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21022 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20456 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21023 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20457 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21024 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20458 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
21025 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20459 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21026 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20460 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21027 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20461 | fi |
21028 | fi |
20462 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
21029 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20463 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
21030 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21031 | echo "${ECHO_T}$ac_res" >&6; } |
20464 | else |
21032 | else |
20465 | # Is the header compilable? |
21033 | # Is the header compilable? |
20466 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
21034 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20467 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
21035 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20468 | cat >conftest.$ac_ext <<_ACEOF |
21036 | cat >conftest.$ac_ext <<_ACEOF |
20469 | /* confdefs.h. */ |
21037 | /* confdefs.h. */ |
20470 | _ACEOF |
21038 | _ACEOF |
20471 | cat confdefs.h >>conftest.$ac_ext |
21039 | cat confdefs.h >>conftest.$ac_ext |
20472 | cat >>conftest.$ac_ext <<_ACEOF |
21040 | cat >>conftest.$ac_ext <<_ACEOF |
20473 | /* end confdefs.h. */ |
21041 | /* end confdefs.h. */ |
20474 | $ac_includes_default |
21042 | $ac_includes_default |
20475 | #include <$ac_header> |
21043 | #include <$ac_header> |
20476 | _ACEOF |
21044 | _ACEOF |
20477 | rm -f conftest.$ac_objext |
21045 | rm -f conftest.$ac_objext |
|
|
21046 | if { (ac_try="$ac_compile" |
|
|
21047 | case "(($ac_try" in |
|
|
21048 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21049 | *) ac_try_echo=$ac_try;; |
|
|
21050 | esac |
20478 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21051 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20479 | (eval $ac_compile) 2>conftest.er1 |
21052 | (eval "$ac_compile") 2>conftest.er1 |
20480 | ac_status=$? |
21053 | ac_status=$? |
20481 | grep -v '^ *+' conftest.er1 >conftest.err |
21054 | grep -v '^ *+' conftest.er1 >conftest.err |
20482 | rm -f conftest.er1 |
21055 | rm -f conftest.er1 |
20483 | cat conftest.err >&5 |
21056 | cat conftest.err >&5 |
20484 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21057 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20485 | (exit $ac_status); } && |
21058 | (exit $ac_status); } && { |
20486 | { ac_try='test -z "$ac_c_werror_flag" |
21059 | test -z "$ac_c_werror_flag" || |
20487 | || test ! -s conftest.err' |
21060 | test ! -s conftest.err |
20488 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21061 | } && test -s conftest.$ac_objext; then |
20489 | (eval $ac_try) 2>&5 |
|
|
20490 | ac_status=$? |
|
|
20491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20492 | (exit $ac_status); }; } && |
|
|
20493 | { ac_try='test -s conftest.$ac_objext' |
|
|
20494 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20495 | (eval $ac_try) 2>&5 |
|
|
20496 | ac_status=$? |
|
|
20497 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20498 | (exit $ac_status); }; }; then |
|
|
20499 | ac_header_compiler=yes |
21062 | ac_header_compiler=yes |
20500 | else |
21063 | else |
20501 | echo "$as_me: failed program was:" >&5 |
21064 | echo "$as_me: failed program was:" >&5 |
20502 | sed 's/^/| /' conftest.$ac_ext >&5 |
21065 | sed 's/^/| /' conftest.$ac_ext >&5 |
20503 | |
21066 | |
20504 | ac_header_compiler=no |
21067 | ac_header_compiler=no |
20505 | fi |
21068 | fi |
|
|
21069 | |
20506 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21070 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20507 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
21071 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20508 | echo "${ECHO_T}$ac_header_compiler" >&6 |
21072 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
20509 | |
21073 | |
20510 | # Is the header present? |
21074 | # Is the header present? |
20511 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
21075 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20512 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
21076 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20513 | cat >conftest.$ac_ext <<_ACEOF |
21077 | cat >conftest.$ac_ext <<_ACEOF |
20514 | /* confdefs.h. */ |
21078 | /* confdefs.h. */ |
20515 | _ACEOF |
21079 | _ACEOF |
20516 | cat confdefs.h >>conftest.$ac_ext |
21080 | cat confdefs.h >>conftest.$ac_ext |
20517 | cat >>conftest.$ac_ext <<_ACEOF |
21081 | cat >>conftest.$ac_ext <<_ACEOF |
20518 | /* end confdefs.h. */ |
21082 | /* end confdefs.h. */ |
20519 | #include <$ac_header> |
21083 | #include <$ac_header> |
20520 | _ACEOF |
21084 | _ACEOF |
20521 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
21085 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
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 |
20522 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
21091 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20523 | ac_status=$? |
21092 | ac_status=$? |
20524 | grep -v '^ *+' conftest.er1 >conftest.err |
21093 | grep -v '^ *+' conftest.er1 >conftest.err |
20525 | rm -f conftest.er1 |
21094 | rm -f conftest.er1 |
20526 | cat conftest.err >&5 |
21095 | cat conftest.err >&5 |
20527 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20528 | (exit $ac_status); } >/dev/null; then |
21097 | (exit $ac_status); } >/dev/null && { |
|
|
21098 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20529 | if test -s conftest.err; then |
21099 | test ! -s conftest.err |
20530 | ac_cpp_err=$ac_c_preproc_warn_flag |
21100 | }; then |
20531 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
20532 | else |
|
|
20533 | ac_cpp_err= |
|
|
20534 | fi |
|
|
20535 | else |
|
|
20536 | ac_cpp_err=yes |
|
|
20537 | fi |
|
|
20538 | if test -z "$ac_cpp_err"; then |
|
|
20539 | ac_header_preproc=yes |
21101 | ac_header_preproc=yes |
20540 | else |
21102 | else |
20541 | echo "$as_me: failed program was:" >&5 |
21103 | echo "$as_me: failed program was:" >&5 |
20542 | sed 's/^/| /' conftest.$ac_ext >&5 |
21104 | sed 's/^/| /' conftest.$ac_ext >&5 |
20543 | |
21105 | |
20544 | ac_header_preproc=no |
21106 | ac_header_preproc=no |
20545 | fi |
21107 | fi |
|
|
21108 | |
20546 | rm -f conftest.err conftest.$ac_ext |
21109 | rm -f conftest.err conftest.$ac_ext |
20547 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21110 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20548 | echo "${ECHO_T}$ac_header_preproc" >&6 |
21111 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
20549 | |
21112 | |
20550 | # So? What about this header? |
21113 | # So? What about this header? |
20551 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21114 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20552 | yes:no: ) |
21115 | yes:no: ) |
20553 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
21116 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
20567 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
21130 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20568 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
21131 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20569 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
21132 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20570 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
21133 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20571 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21134 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20572 | ( |
|
|
20573 | cat <<\_ASBOX |
21135 | ( cat <<\_ASBOX |
20574 | ## ------------------------------------ ## |
21136 | ## ------------------------------------ ## |
20575 | ## Report this to jcouzens@codeshare.ca ## |
21137 | ## Report this to jcouzens@codeshare.ca ## |
20576 | ## ------------------------------------ ## |
21138 | ## ------------------------------------ ## |
20577 | _ASBOX |
21139 | _ASBOX |
20578 | ) | |
|
|
20579 | sed "s/^/$as_me: WARNING: /" >&2 |
21140 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
20580 | ;; |
21141 | ;; |
20581 | esac |
21142 | esac |
20582 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21143 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20583 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
21144 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20584 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21145 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20585 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20586 | else |
21147 | else |
20587 | eval "$as_ac_Header=\$ac_header_preproc" |
21148 | eval "$as_ac_Header=\$ac_header_preproc" |
20588 | fi |
21149 | fi |
20589 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
21150 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20590 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
21151 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21152 | echo "${ECHO_T}$ac_res" >&6; } |
20591 | |
21153 | |
20592 | fi |
21154 | fi |
20593 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
21155 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20594 | cat >>confdefs.h <<_ACEOF |
21156 | cat >>confdefs.h <<_ACEOF |
20595 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21157 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
20597 | |
21159 | |
20598 | fi |
21160 | fi |
20599 | |
21161 | |
20600 | done |
21162 | done |
20601 | |
21163 | |
20602 | echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
21164 | { echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5 |
20603 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6 |
21165 | echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; } |
20604 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then |
21166 | if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then |
20605 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21167 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20606 | else |
21168 | else |
20607 | if test "$cross_compiling" = yes; then |
21169 | if test "$cross_compiling" = yes; then |
20608 | ac_cv_func_malloc_0_nonnull=no |
21170 | ac_cv_func_malloc_0_nonnull=no |
… | |
… | |
20611 | /* confdefs.h. */ |
21173 | /* confdefs.h. */ |
20612 | _ACEOF |
21174 | _ACEOF |
20613 | cat confdefs.h >>conftest.$ac_ext |
21175 | cat confdefs.h >>conftest.$ac_ext |
20614 | cat >>conftest.$ac_ext <<_ACEOF |
21176 | cat >>conftest.$ac_ext <<_ACEOF |
20615 | /* end confdefs.h. */ |
21177 | /* end confdefs.h. */ |
20616 | #if STDC_HEADERS || HAVE_STDLIB_H |
21178 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
20617 | # include <stdlib.h> |
21179 | # include <stdlib.h> |
20618 | #else |
21180 | #else |
20619 | char *malloc (); |
21181 | char *malloc (); |
20620 | #endif |
21182 | #endif |
20621 | |
21183 | |
20622 | int |
21184 | int |
20623 | main () |
21185 | main () |
20624 | { |
21186 | { |
20625 | exit (malloc (0) ? 0 : 1); |
21187 | return ! malloc (0); |
20626 | ; |
21188 | ; |
20627 | return 0; |
21189 | return 0; |
20628 | } |
21190 | } |
20629 | _ACEOF |
21191 | _ACEOF |
20630 | rm -f conftest$ac_exeext |
21192 | rm -f conftest$ac_exeext |
|
|
21193 | if { (ac_try="$ac_link" |
|
|
21194 | case "(($ac_try" in |
|
|
21195 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21196 | *) ac_try_echo=$ac_try;; |
|
|
21197 | esac |
20631 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21198 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20632 | (eval $ac_link) 2>&5 |
21199 | (eval "$ac_link") 2>&5 |
20633 | ac_status=$? |
21200 | ac_status=$? |
20634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21201 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20635 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21202 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
21203 | { (case "(($ac_try" in |
|
|
21204 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21205 | *) ac_try_echo=$ac_try;; |
|
|
21206 | esac |
20636 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21207 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20637 | (eval $ac_try) 2>&5 |
21208 | (eval "$ac_try") 2>&5 |
20638 | ac_status=$? |
21209 | ac_status=$? |
20639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21210 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20640 | (exit $ac_status); }; }; then |
21211 | (exit $ac_status); }; }; then |
20641 | ac_cv_func_malloc_0_nonnull=yes |
21212 | ac_cv_func_malloc_0_nonnull=yes |
20642 | else |
21213 | else |
… | |
… | |
20645 | sed 's/^/| /' conftest.$ac_ext >&5 |
21216 | sed 's/^/| /' conftest.$ac_ext >&5 |
20646 | |
21217 | |
20647 | ( exit $ac_status ) |
21218 | ( exit $ac_status ) |
20648 | ac_cv_func_malloc_0_nonnull=no |
21219 | ac_cv_func_malloc_0_nonnull=no |
20649 | fi |
21220 | fi |
20650 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21221 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20651 | fi |
21222 | fi |
|
|
21223 | |
|
|
21224 | |
20652 | fi |
21225 | fi |
20653 | echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
21226 | { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5 |
20654 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6 |
21227 | echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; } |
20655 | if test $ac_cv_func_malloc_0_nonnull = yes; then |
21228 | if test $ac_cv_func_malloc_0_nonnull = yes; then |
20656 | |
21229 | |
20657 | cat >>confdefs.h <<\_ACEOF |
21230 | cat >>confdefs.h <<\_ACEOF |
20658 | #define HAVE_MALLOC 1 |
21231 | #define HAVE_MALLOC 1 |
20659 | _ACEOF |
21232 | _ACEOF |
… | |
… | |
20661 | else |
21234 | else |
20662 | cat >>confdefs.h <<\_ACEOF |
21235 | cat >>confdefs.h <<\_ACEOF |
20663 | #define HAVE_MALLOC 0 |
21236 | #define HAVE_MALLOC 0 |
20664 | _ACEOF |
21237 | _ACEOF |
20665 | |
21238 | |
20666 | case $LIBOBJS in |
21239 | case " $LIBOBJS " in |
20667 | "malloc.$ac_objext" | \ |
|
|
20668 | *" malloc.$ac_objext" | \ |
|
|
20669 | "malloc.$ac_objext "* | \ |
|
|
20670 | *" malloc.$ac_objext "* ) ;; |
21240 | *" malloc.$ac_objext "* ) ;; |
20671 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; |
21241 | *) LIBOBJS="$LIBOBJS malloc.$ac_objext" |
|
|
21242 | ;; |
20672 | esac |
21243 | esac |
20673 | |
21244 | |
20674 | |
21245 | |
20675 | cat >>confdefs.h <<\_ACEOF |
21246 | cat >>confdefs.h <<\_ACEOF |
20676 | #define malloc rpl_malloc |
21247 | #define malloc rpl_malloc |
… | |
… | |
20682 | |
21253 | |
20683 | |
21254 | |
20684 | for ac_header in stdlib.h |
21255 | for ac_header in stdlib.h |
20685 | do |
21256 | do |
20686 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21257 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20687 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21258 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20688 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21259 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20689 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
21260 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20690 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21261 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20691 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21262 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20692 | fi |
21263 | fi |
20693 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
21264 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20694 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
21265 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21266 | echo "${ECHO_T}$ac_res" >&6; } |
20695 | else |
21267 | else |
20696 | # Is the header compilable? |
21268 | # Is the header compilable? |
20697 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
21269 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20698 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
21270 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20699 | cat >conftest.$ac_ext <<_ACEOF |
21271 | cat >conftest.$ac_ext <<_ACEOF |
20700 | /* confdefs.h. */ |
21272 | /* confdefs.h. */ |
20701 | _ACEOF |
21273 | _ACEOF |
20702 | cat confdefs.h >>conftest.$ac_ext |
21274 | cat confdefs.h >>conftest.$ac_ext |
20703 | cat >>conftest.$ac_ext <<_ACEOF |
21275 | cat >>conftest.$ac_ext <<_ACEOF |
20704 | /* end confdefs.h. */ |
21276 | /* end confdefs.h. */ |
20705 | $ac_includes_default |
21277 | $ac_includes_default |
20706 | #include <$ac_header> |
21278 | #include <$ac_header> |
20707 | _ACEOF |
21279 | _ACEOF |
20708 | rm -f conftest.$ac_objext |
21280 | rm -f conftest.$ac_objext |
|
|
21281 | if { (ac_try="$ac_compile" |
|
|
21282 | case "(($ac_try" in |
|
|
21283 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21284 | *) ac_try_echo=$ac_try;; |
|
|
21285 | esac |
20709 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21286 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20710 | (eval $ac_compile) 2>conftest.er1 |
21287 | (eval "$ac_compile") 2>conftest.er1 |
20711 | ac_status=$? |
21288 | ac_status=$? |
20712 | grep -v '^ *+' conftest.er1 >conftest.err |
21289 | grep -v '^ *+' conftest.er1 >conftest.err |
20713 | rm -f conftest.er1 |
21290 | rm -f conftest.er1 |
20714 | cat conftest.err >&5 |
21291 | cat conftest.err >&5 |
20715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21292 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20716 | (exit $ac_status); } && |
21293 | (exit $ac_status); } && { |
20717 | { ac_try='test -z "$ac_c_werror_flag" |
21294 | test -z "$ac_c_werror_flag" || |
20718 | || test ! -s conftest.err' |
21295 | test ! -s conftest.err |
20719 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21296 | } && test -s conftest.$ac_objext; then |
20720 | (eval $ac_try) 2>&5 |
|
|
20721 | ac_status=$? |
|
|
20722 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20723 | (exit $ac_status); }; } && |
|
|
20724 | { ac_try='test -s conftest.$ac_objext' |
|
|
20725 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20726 | (eval $ac_try) 2>&5 |
|
|
20727 | ac_status=$? |
|
|
20728 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20729 | (exit $ac_status); }; }; then |
|
|
20730 | ac_header_compiler=yes |
21297 | ac_header_compiler=yes |
20731 | else |
21298 | else |
20732 | echo "$as_me: failed program was:" >&5 |
21299 | echo "$as_me: failed program was:" >&5 |
20733 | sed 's/^/| /' conftest.$ac_ext >&5 |
21300 | sed 's/^/| /' conftest.$ac_ext >&5 |
20734 | |
21301 | |
20735 | ac_header_compiler=no |
21302 | ac_header_compiler=no |
20736 | fi |
21303 | fi |
|
|
21304 | |
20737 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21305 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20738 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
21306 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20739 | echo "${ECHO_T}$ac_header_compiler" >&6 |
21307 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
20740 | |
21308 | |
20741 | # Is the header present? |
21309 | # Is the header present? |
20742 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
21310 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20743 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
21311 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20744 | cat >conftest.$ac_ext <<_ACEOF |
21312 | cat >conftest.$ac_ext <<_ACEOF |
20745 | /* confdefs.h. */ |
21313 | /* confdefs.h. */ |
20746 | _ACEOF |
21314 | _ACEOF |
20747 | cat confdefs.h >>conftest.$ac_ext |
21315 | cat confdefs.h >>conftest.$ac_ext |
20748 | cat >>conftest.$ac_ext <<_ACEOF |
21316 | cat >>conftest.$ac_ext <<_ACEOF |
20749 | /* end confdefs.h. */ |
21317 | /* end confdefs.h. */ |
20750 | #include <$ac_header> |
21318 | #include <$ac_header> |
20751 | _ACEOF |
21319 | _ACEOF |
20752 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
21320 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
21321 | case "(($ac_try" in |
|
|
21322 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21323 | *) ac_try_echo=$ac_try;; |
|
|
21324 | esac |
|
|
21325 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20753 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
21326 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
20754 | ac_status=$? |
21327 | ac_status=$? |
20755 | grep -v '^ *+' conftest.er1 >conftest.err |
21328 | grep -v '^ *+' conftest.er1 >conftest.err |
20756 | rm -f conftest.er1 |
21329 | rm -f conftest.er1 |
20757 | cat conftest.err >&5 |
21330 | cat conftest.err >&5 |
20758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20759 | (exit $ac_status); } >/dev/null; then |
21332 | (exit $ac_status); } >/dev/null && { |
|
|
21333 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
20760 | if test -s conftest.err; then |
21334 | test ! -s conftest.err |
20761 | ac_cpp_err=$ac_c_preproc_warn_flag |
21335 | }; then |
20762 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
20763 | else |
|
|
20764 | ac_cpp_err= |
|
|
20765 | fi |
|
|
20766 | else |
|
|
20767 | ac_cpp_err=yes |
|
|
20768 | fi |
|
|
20769 | if test -z "$ac_cpp_err"; then |
|
|
20770 | ac_header_preproc=yes |
21336 | ac_header_preproc=yes |
20771 | else |
21337 | else |
20772 | echo "$as_me: failed program was:" >&5 |
21338 | echo "$as_me: failed program was:" >&5 |
20773 | sed 's/^/| /' conftest.$ac_ext >&5 |
21339 | sed 's/^/| /' conftest.$ac_ext >&5 |
20774 | |
21340 | |
20775 | ac_header_preproc=no |
21341 | ac_header_preproc=no |
20776 | fi |
21342 | fi |
|
|
21343 | |
20777 | rm -f conftest.err conftest.$ac_ext |
21344 | rm -f conftest.err conftest.$ac_ext |
20778 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21345 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20779 | echo "${ECHO_T}$ac_header_preproc" >&6 |
21346 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
20780 | |
21347 | |
20781 | # So? What about this header? |
21348 | # So? What about this header? |
20782 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21349 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20783 | yes:no: ) |
21350 | yes:no: ) |
20784 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
21351 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
20798 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
21365 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20799 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
21366 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20800 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
21367 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20801 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
21368 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20802 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21369 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20803 | ( |
|
|
20804 | cat <<\_ASBOX |
21370 | ( cat <<\_ASBOX |
20805 | ## ------------------------------------ ## |
21371 | ## ------------------------------------ ## |
20806 | ## Report this to jcouzens@codeshare.ca ## |
21372 | ## Report this to jcouzens@codeshare.ca ## |
20807 | ## ------------------------------------ ## |
21373 | ## ------------------------------------ ## |
20808 | _ASBOX |
21374 | _ASBOX |
20809 | ) | |
|
|
20810 | sed "s/^/$as_me: WARNING: /" >&2 |
21375 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
20811 | ;; |
21376 | ;; |
20812 | esac |
21377 | esac |
20813 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21378 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20814 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
21379 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20815 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
21380 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20816 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21381 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20817 | else |
21382 | else |
20818 | eval "$as_ac_Header=\$ac_header_preproc" |
21383 | eval "$as_ac_Header=\$ac_header_preproc" |
20819 | fi |
21384 | fi |
20820 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
21385 | ac_res=`eval echo '${'$as_ac_Header'}'` |
20821 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
21386 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21387 | echo "${ECHO_T}$ac_res" >&6; } |
20822 | |
21388 | |
20823 | fi |
21389 | fi |
20824 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
21390 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20825 | cat >>confdefs.h <<_ACEOF |
21391 | cat >>confdefs.h <<_ACEOF |
20826 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21392 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
20828 | |
21394 | |
20829 | fi |
21395 | fi |
20830 | |
21396 | |
20831 | done |
21397 | done |
20832 | |
21398 | |
20833 | echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
21399 | { echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5 |
20834 | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6 |
21400 | echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6; } |
20835 | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
21401 | if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then |
20836 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21402 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20837 | else |
21403 | else |
20838 | if test "$cross_compiling" = yes; then |
21404 | if test "$cross_compiling" = yes; then |
20839 | ac_cv_func_realloc_0_nonnull=no |
21405 | ac_cv_func_realloc_0_nonnull=no |
… | |
… | |
20842 | /* confdefs.h. */ |
21408 | /* confdefs.h. */ |
20843 | _ACEOF |
21409 | _ACEOF |
20844 | cat confdefs.h >>conftest.$ac_ext |
21410 | cat confdefs.h >>conftest.$ac_ext |
20845 | cat >>conftest.$ac_ext <<_ACEOF |
21411 | cat >>conftest.$ac_ext <<_ACEOF |
20846 | /* end confdefs.h. */ |
21412 | /* end confdefs.h. */ |
20847 | #if STDC_HEADERS || HAVE_STDLIB_H |
21413 | #if defined STDC_HEADERS || defined HAVE_STDLIB_H |
20848 | # include <stdlib.h> |
21414 | # include <stdlib.h> |
20849 | #else |
21415 | #else |
20850 | char *realloc (); |
21416 | char *realloc (); |
20851 | #endif |
21417 | #endif |
20852 | |
21418 | |
20853 | int |
21419 | int |
20854 | main () |
21420 | main () |
20855 | { |
21421 | { |
20856 | exit (realloc (0, 0) ? 0 : 1); |
21422 | return ! realloc (0, 0); |
20857 | ; |
21423 | ; |
20858 | return 0; |
21424 | return 0; |
20859 | } |
21425 | } |
20860 | _ACEOF |
21426 | _ACEOF |
20861 | rm -f conftest$ac_exeext |
21427 | rm -f conftest$ac_exeext |
|
|
21428 | if { (ac_try="$ac_link" |
|
|
21429 | case "(($ac_try" in |
|
|
21430 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21431 | *) ac_try_echo=$ac_try;; |
|
|
21432 | esac |
20862 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21433 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20863 | (eval $ac_link) 2>&5 |
21434 | (eval "$ac_link") 2>&5 |
20864 | ac_status=$? |
21435 | ac_status=$? |
20865 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20866 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21437 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
21438 | { (case "(($ac_try" in |
|
|
21439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21440 | *) ac_try_echo=$ac_try;; |
|
|
21441 | esac |
20867 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21442 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20868 | (eval $ac_try) 2>&5 |
21443 | (eval "$ac_try") 2>&5 |
20869 | ac_status=$? |
21444 | ac_status=$? |
20870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20871 | (exit $ac_status); }; }; then |
21446 | (exit $ac_status); }; }; then |
20872 | ac_cv_func_realloc_0_nonnull=yes |
21447 | ac_cv_func_realloc_0_nonnull=yes |
20873 | else |
21448 | else |
… | |
… | |
20876 | sed 's/^/| /' conftest.$ac_ext >&5 |
21451 | sed 's/^/| /' conftest.$ac_ext >&5 |
20877 | |
21452 | |
20878 | ( exit $ac_status ) |
21453 | ( exit $ac_status ) |
20879 | ac_cv_func_realloc_0_nonnull=no |
21454 | ac_cv_func_realloc_0_nonnull=no |
20880 | fi |
21455 | fi |
20881 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21456 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20882 | fi |
21457 | fi |
|
|
21458 | |
|
|
21459 | |
20883 | fi |
21460 | fi |
20884 | echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
21461 | { echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5 |
20885 | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6 |
21462 | echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6; } |
20886 | if test $ac_cv_func_realloc_0_nonnull = yes; then |
21463 | if test $ac_cv_func_realloc_0_nonnull = yes; then |
20887 | |
21464 | |
20888 | cat >>confdefs.h <<\_ACEOF |
21465 | cat >>confdefs.h <<\_ACEOF |
20889 | #define HAVE_REALLOC 1 |
21466 | #define HAVE_REALLOC 1 |
20890 | _ACEOF |
21467 | _ACEOF |
… | |
… | |
20892 | else |
21469 | else |
20893 | cat >>confdefs.h <<\_ACEOF |
21470 | cat >>confdefs.h <<\_ACEOF |
20894 | #define HAVE_REALLOC 0 |
21471 | #define HAVE_REALLOC 0 |
20895 | _ACEOF |
21472 | _ACEOF |
20896 | |
21473 | |
20897 | case $LIBOBJS in |
21474 | case " $LIBOBJS " in |
20898 | "realloc.$ac_objext" | \ |
|
|
20899 | *" realloc.$ac_objext" | \ |
|
|
20900 | "realloc.$ac_objext "* | \ |
|
|
20901 | *" realloc.$ac_objext "* ) ;; |
21475 | *" realloc.$ac_objext "* ) ;; |
20902 | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;; |
21476 | *) LIBOBJS="$LIBOBJS realloc.$ac_objext" |
|
|
21477 | ;; |
20903 | esac |
21478 | esac |
20904 | |
21479 | |
20905 | |
21480 | |
20906 | cat >>confdefs.h <<\_ACEOF |
21481 | cat >>confdefs.h <<\_ACEOF |
20907 | #define realloc rpl_realloc |
21482 | #define realloc rpl_realloc |
… | |
… | |
20913 | |
21488 | |
20914 | |
21489 | |
20915 | for ac_func in strftime |
21490 | for ac_func in strftime |
20916 | do |
21491 | do |
20917 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21492 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20918 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21493 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20919 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
21494 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
20920 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
21495 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
20921 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21496 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
20922 | else |
21497 | else |
20923 | cat >conftest.$ac_ext <<_ACEOF |
21498 | cat >conftest.$ac_ext <<_ACEOF |
20924 | /* confdefs.h. */ |
21499 | /* confdefs.h. */ |
20925 | _ACEOF |
21500 | _ACEOF |
… | |
… | |
20941 | # include <assert.h> |
21516 | # include <assert.h> |
20942 | #endif |
21517 | #endif |
20943 | |
21518 | |
20944 | #undef $ac_func |
21519 | #undef $ac_func |
20945 | |
21520 | |
20946 | /* Override any gcc2 internal prototype to avoid an error. */ |
21521 | /* Override any GCC internal prototype to avoid an error. |
|
|
21522 | Use char because int might match the return type of a GCC |
|
|
21523 | builtin and then its argument prototype would still apply. */ |
20947 | #ifdef __cplusplus |
21524 | #ifdef __cplusplus |
20948 | extern "C" |
21525 | extern "C" |
20949 | { |
|
|
20950 | #endif |
21526 | #endif |
20951 | /* We use char because int might match the return type of a gcc2 |
|
|
20952 | builtin and then its argument prototype would still apply. */ |
|
|
20953 | char $ac_func (); |
21527 | char $ac_func (); |
20954 | /* The GNU C library defines this for functions which it implements |
21528 | /* The GNU C library defines this for functions which it implements |
20955 | to always fail with ENOSYS. Some functions are actually named |
21529 | to always fail with ENOSYS. Some functions are actually named |
20956 | something starting with __ and the normal name is an alias. */ |
21530 | something starting with __ and the normal name is an alias. */ |
20957 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
21531 | #if defined __stub_$ac_func || defined __stub___$ac_func |
20958 | choke me |
21532 | choke me |
20959 | #else |
|
|
20960 | char (*f) () = $ac_func; |
|
|
20961 | #endif |
|
|
20962 | #ifdef __cplusplus |
|
|
20963 | } |
|
|
20964 | #endif |
21533 | #endif |
20965 | |
21534 | |
20966 | int |
21535 | int |
20967 | main () |
21536 | main () |
20968 | { |
21537 | { |
20969 | return f != $ac_func; |
21538 | return $ac_func (); |
20970 | ; |
21539 | ; |
20971 | return 0; |
21540 | return 0; |
20972 | } |
21541 | } |
20973 | _ACEOF |
21542 | _ACEOF |
20974 | rm -f conftest.$ac_objext conftest$ac_exeext |
21543 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
21544 | if { (ac_try="$ac_link" |
|
|
21545 | case "(($ac_try" in |
|
|
21546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21547 | *) ac_try_echo=$ac_try;; |
|
|
21548 | esac |
20975 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21549 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
20976 | (eval $ac_link) 2>conftest.er1 |
21550 | (eval "$ac_link") 2>conftest.er1 |
20977 | ac_status=$? |
21551 | ac_status=$? |
20978 | grep -v '^ *+' conftest.er1 >conftest.err |
21552 | grep -v '^ *+' conftest.er1 >conftest.err |
20979 | rm -f conftest.er1 |
21553 | rm -f conftest.er1 |
20980 | cat conftest.err >&5 |
21554 | cat conftest.err >&5 |
20981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21555 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20982 | (exit $ac_status); } && |
21556 | (exit $ac_status); } && { |
20983 | { ac_try='test -z "$ac_c_werror_flag" |
21557 | test -z "$ac_c_werror_flag" || |
20984 | || test ! -s conftest.err' |
21558 | test ! -s conftest.err |
20985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21559 | } && test -s conftest$ac_exeext && |
20986 | (eval $ac_try) 2>&5 |
21560 | $as_test_x conftest$ac_exeext; then |
20987 | ac_status=$? |
|
|
20988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20989 | (exit $ac_status); }; } && |
|
|
20990 | { ac_try='test -s conftest$ac_exeext' |
|
|
20991 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
20992 | (eval $ac_try) 2>&5 |
|
|
20993 | ac_status=$? |
|
|
20994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
20995 | (exit $ac_status); }; }; then |
|
|
20996 | eval "$as_ac_var=yes" |
21561 | eval "$as_ac_var=yes" |
20997 | else |
21562 | else |
20998 | echo "$as_me: failed program was:" >&5 |
21563 | echo "$as_me: failed program was:" >&5 |
20999 | sed 's/^/| /' conftest.$ac_ext >&5 |
21564 | sed 's/^/| /' conftest.$ac_ext >&5 |
21000 | |
21565 | |
21001 | eval "$as_ac_var=no" |
21566 | eval "$as_ac_var=no" |
21002 | fi |
21567 | fi |
21003 | rm -f conftest.err conftest.$ac_objext \ |
21568 | |
|
|
21569 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21004 | conftest$ac_exeext conftest.$ac_ext |
21570 | conftest$ac_exeext conftest.$ac_ext |
21005 | fi |
21571 | fi |
21006 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
21572 | ac_res=`eval echo '${'$as_ac_var'}'` |
21007 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
21573 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21574 | echo "${ECHO_T}$ac_res" >&6; } |
21008 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21575 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21009 | cat >>confdefs.h <<_ACEOF |
21576 | cat >>confdefs.h <<_ACEOF |
21010 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21577 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21011 | _ACEOF |
21578 | _ACEOF |
21012 | |
21579 | |
21013 | else |
21580 | else |
21014 | # strftime is in -lintl on SCO UNIX. |
21581 | # strftime is in -lintl on SCO UNIX. |
21015 | echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
21582 | { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
21016 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
21583 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
21017 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
21584 | if test "${ac_cv_lib_intl_strftime+set}" = set; then |
21018 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21585 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21019 | else |
21586 | else |
21020 | ac_check_lib_save_LIBS=$LIBS |
21587 | ac_check_lib_save_LIBS=$LIBS |
21021 | LIBS="-lintl $LIBS" |
21588 | LIBS="-lintl $LIBS" |
… | |
… | |
21024 | _ACEOF |
21591 | _ACEOF |
21025 | cat confdefs.h >>conftest.$ac_ext |
21592 | cat confdefs.h >>conftest.$ac_ext |
21026 | cat >>conftest.$ac_ext <<_ACEOF |
21593 | cat >>conftest.$ac_ext <<_ACEOF |
21027 | /* end confdefs.h. */ |
21594 | /* end confdefs.h. */ |
21028 | |
21595 | |
21029 | /* Override any gcc2 internal prototype to avoid an error. */ |
21596 | /* Override any GCC internal prototype to avoid an error. |
|
|
21597 | Use char because int might match the return type of a GCC |
|
|
21598 | builtin and then its argument prototype would still apply. */ |
21030 | #ifdef __cplusplus |
21599 | #ifdef __cplusplus |
21031 | extern "C" |
21600 | extern "C" |
21032 | #endif |
21601 | #endif |
21033 | /* We use char because int might match the return type of a gcc2 |
|
|
21034 | builtin and then its argument prototype would still apply. */ |
|
|
21035 | char strftime (); |
21602 | char strftime (); |
21036 | int |
21603 | int |
21037 | main () |
21604 | main () |
21038 | { |
21605 | { |
21039 | strftime (); |
21606 | return strftime (); |
21040 | ; |
21607 | ; |
21041 | return 0; |
21608 | return 0; |
21042 | } |
21609 | } |
21043 | _ACEOF |
21610 | _ACEOF |
21044 | rm -f conftest.$ac_objext conftest$ac_exeext |
21611 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
21612 | if { (ac_try="$ac_link" |
|
|
21613 | case "(($ac_try" in |
|
|
21614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21615 | *) ac_try_echo=$ac_try;; |
|
|
21616 | esac |
21045 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21046 | (eval $ac_link) 2>conftest.er1 |
21618 | (eval "$ac_link") 2>conftest.er1 |
21047 | ac_status=$? |
21619 | ac_status=$? |
21048 | grep -v '^ *+' conftest.er1 >conftest.err |
21620 | grep -v '^ *+' conftest.er1 >conftest.err |
21049 | rm -f conftest.er1 |
21621 | rm -f conftest.er1 |
21050 | cat conftest.err >&5 |
21622 | cat conftest.err >&5 |
21051 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21052 | (exit $ac_status); } && |
21624 | (exit $ac_status); } && { |
21053 | { ac_try='test -z "$ac_c_werror_flag" |
21625 | test -z "$ac_c_werror_flag" || |
21054 | || test ! -s conftest.err' |
21626 | test ! -s conftest.err |
21055 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21627 | } && test -s conftest$ac_exeext && |
21056 | (eval $ac_try) 2>&5 |
21628 | $as_test_x conftest$ac_exeext; then |
21057 | ac_status=$? |
|
|
21058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21059 | (exit $ac_status); }; } && |
|
|
21060 | { ac_try='test -s conftest$ac_exeext' |
|
|
21061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21062 | (eval $ac_try) 2>&5 |
|
|
21063 | ac_status=$? |
|
|
21064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21065 | (exit $ac_status); }; }; then |
|
|
21066 | ac_cv_lib_intl_strftime=yes |
21629 | ac_cv_lib_intl_strftime=yes |
21067 | else |
21630 | else |
21068 | echo "$as_me: failed program was:" >&5 |
21631 | echo "$as_me: failed program was:" >&5 |
21069 | sed 's/^/| /' conftest.$ac_ext >&5 |
21632 | sed 's/^/| /' conftest.$ac_ext >&5 |
21070 | |
21633 | |
21071 | ac_cv_lib_intl_strftime=no |
21634 | ac_cv_lib_intl_strftime=no |
21072 | fi |
21635 | fi |
21073 | rm -f conftest.err conftest.$ac_objext \ |
21636 | |
|
|
21637 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21074 | conftest$ac_exeext conftest.$ac_ext |
21638 | conftest$ac_exeext conftest.$ac_ext |
21075 | LIBS=$ac_check_lib_save_LIBS |
21639 | LIBS=$ac_check_lib_save_LIBS |
21076 | fi |
21640 | fi |
21077 | echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
21641 | { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
21078 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
21642 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
21079 | if test $ac_cv_lib_intl_strftime = yes; then |
21643 | if test $ac_cv_lib_intl_strftime = yes; then |
21080 | cat >>confdefs.h <<\_ACEOF |
21644 | cat >>confdefs.h <<\_ACEOF |
21081 | #define HAVE_STRFTIME 1 |
21645 | #define HAVE_STRFTIME 1 |
21082 | _ACEOF |
21646 | _ACEOF |
21083 | |
21647 | |
… | |
… | |
21099 | |
21663 | |
21100 | for ac_func in gethostbyname, inet_ntoa, memset, strcasecmp, \ |
21664 | for ac_func in gethostbyname, inet_ntoa, memset, strcasecmp, \ |
21101 | localtime_r, strchr, strdup, strrchr, strstr, mkdir |
21665 | localtime_r, strchr, strdup, strrchr, strstr, mkdir |
21102 | do |
21666 | do |
21103 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21667 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21104 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21668 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21105 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
21669 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
21106 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
21670 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
21107 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21671 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21108 | else |
21672 | else |
21109 | cat >conftest.$ac_ext <<_ACEOF |
21673 | cat >conftest.$ac_ext <<_ACEOF |
21110 | /* confdefs.h. */ |
21674 | /* confdefs.h. */ |
21111 | _ACEOF |
21675 | _ACEOF |
… | |
… | |
21127 | # include <assert.h> |
21691 | # include <assert.h> |
21128 | #endif |
21692 | #endif |
21129 | |
21693 | |
21130 | #undef $ac_func |
21694 | #undef $ac_func |
21131 | |
21695 | |
21132 | /* Override any gcc2 internal prototype to avoid an error. */ |
21696 | /* Override any GCC internal prototype to avoid an error. |
|
|
21697 | Use char because int might match the return type of a GCC |
|
|
21698 | builtin and then its argument prototype would still apply. */ |
21133 | #ifdef __cplusplus |
21699 | #ifdef __cplusplus |
21134 | extern "C" |
21700 | extern "C" |
21135 | { |
|
|
21136 | #endif |
21701 | #endif |
21137 | /* We use char because int might match the return type of a gcc2 |
|
|
21138 | builtin and then its argument prototype would still apply. */ |
|
|
21139 | char $ac_func (); |
21702 | char $ac_func (); |
21140 | /* The GNU C library defines this for functions which it implements |
21703 | /* The GNU C library defines this for functions which it implements |
21141 | to always fail with ENOSYS. Some functions are actually named |
21704 | to always fail with ENOSYS. Some functions are actually named |
21142 | something starting with __ and the normal name is an alias. */ |
21705 | something starting with __ and the normal name is an alias. */ |
21143 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
21706 | #if defined __stub_$ac_func || defined __stub___$ac_func |
21144 | choke me |
21707 | choke me |
21145 | #else |
|
|
21146 | char (*f) () = $ac_func; |
|
|
21147 | #endif |
|
|
21148 | #ifdef __cplusplus |
|
|
21149 | } |
|
|
21150 | #endif |
21708 | #endif |
21151 | |
21709 | |
21152 | int |
21710 | int |
21153 | main () |
21711 | main () |
21154 | { |
21712 | { |
21155 | return f != $ac_func; |
21713 | return $ac_func (); |
21156 | ; |
21714 | ; |
21157 | return 0; |
21715 | return 0; |
21158 | } |
21716 | } |
21159 | _ACEOF |
21717 | _ACEOF |
21160 | rm -f conftest.$ac_objext conftest$ac_exeext |
21718 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
21719 | if { (ac_try="$ac_link" |
|
|
21720 | case "(($ac_try" in |
|
|
21721 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21722 | *) ac_try_echo=$ac_try;; |
|
|
21723 | esac |
21161 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21724 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21162 | (eval $ac_link) 2>conftest.er1 |
21725 | (eval "$ac_link") 2>conftest.er1 |
21163 | ac_status=$? |
21726 | ac_status=$? |
21164 | grep -v '^ *+' conftest.er1 >conftest.err |
21727 | grep -v '^ *+' conftest.er1 >conftest.err |
21165 | rm -f conftest.er1 |
21728 | rm -f conftest.er1 |
21166 | cat conftest.err >&5 |
21729 | cat conftest.err >&5 |
21167 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21730 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21168 | (exit $ac_status); } && |
21731 | (exit $ac_status); } && { |
21169 | { ac_try='test -z "$ac_c_werror_flag" |
21732 | test -z "$ac_c_werror_flag" || |
21170 | || test ! -s conftest.err' |
21733 | test ! -s conftest.err |
21171 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21734 | } && test -s conftest$ac_exeext && |
21172 | (eval $ac_try) 2>&5 |
21735 | $as_test_x conftest$ac_exeext; then |
21173 | ac_status=$? |
|
|
21174 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21175 | (exit $ac_status); }; } && |
|
|
21176 | { ac_try='test -s conftest$ac_exeext' |
|
|
21177 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21178 | (eval $ac_try) 2>&5 |
|
|
21179 | ac_status=$? |
|
|
21180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21181 | (exit $ac_status); }; }; then |
|
|
21182 | eval "$as_ac_var=yes" |
21736 | eval "$as_ac_var=yes" |
21183 | else |
21737 | else |
21184 | echo "$as_me: failed program was:" >&5 |
21738 | echo "$as_me: failed program was:" >&5 |
21185 | sed 's/^/| /' conftest.$ac_ext >&5 |
21739 | sed 's/^/| /' conftest.$ac_ext >&5 |
21186 | |
21740 | |
21187 | eval "$as_ac_var=no" |
21741 | eval "$as_ac_var=no" |
21188 | fi |
21742 | fi |
21189 | rm -f conftest.err conftest.$ac_objext \ |
21743 | |
|
|
21744 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
21190 | conftest$ac_exeext conftest.$ac_ext |
21745 | conftest$ac_exeext conftest.$ac_ext |
21191 | fi |
21746 | fi |
21192 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
21747 | ac_res=`eval echo '${'$as_ac_var'}'` |
21193 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
21748 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
21749 | echo "${ECHO_T}$ac_res" >&6; } |
21194 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21750 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
21195 | cat >>confdefs.h <<_ACEOF |
21751 | cat >>confdefs.h <<_ACEOF |
21196 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21752 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21197 | _ACEOF |
21753 | _ACEOF |
21198 | |
21754 | |
… | |
… | |
21203 | |
21759 | |
21204 | #------------------------------------------------------------------------------- |
21760 | #------------------------------------------------------------------------------- |
21205 | # __BEGIN_DECLS / __END_DECLS defined ? |
21761 | # __BEGIN_DECLS / __END_DECLS defined ? |
21206 | #------------------------------------------------------------------------------- |
21762 | #------------------------------------------------------------------------------- |
21207 | |
21763 | |
21208 | echo "$as_me:$LINENO: checking __BEGIN_DECLS" >&5 |
21764 | { echo "$as_me:$LINENO: checking __BEGIN_DECLS" >&5 |
21209 | echo $ECHO_N "checking __BEGIN_DECLS... $ECHO_C" >&6 |
21765 | echo $ECHO_N "checking __BEGIN_DECLS... $ECHO_C" >&6; } |
21210 | cat >conftest.$ac_ext <<_ACEOF |
21766 | cat >conftest.$ac_ext <<_ACEOF |
21211 | |
21767 | |
21212 | #include <features.h> |
21768 | #include <features.h> |
21213 | __BEGIN_DECLS |
21769 | __BEGIN_DECLS |
21214 | extern int x; |
21770 | extern int x; |
21215 | __END_DECLS |
21771 | __END_DECLS |
21216 | _ACEOF |
21772 | _ACEOF |
21217 | rm -f conftest.$ac_objext |
21773 | rm -f conftest.$ac_objext |
|
|
21774 | if { (ac_try="$ac_compile" |
|
|
21775 | case "(($ac_try" in |
|
|
21776 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21777 | *) ac_try_echo=$ac_try;; |
|
|
21778 | esac |
21218 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21779 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21219 | (eval $ac_compile) 2>conftest.er1 |
21780 | (eval "$ac_compile") 2>conftest.er1 |
21220 | ac_status=$? |
21781 | ac_status=$? |
21221 | grep -v '^ *+' conftest.er1 >conftest.err |
21782 | grep -v '^ *+' conftest.er1 >conftest.err |
21222 | rm -f conftest.er1 |
21783 | rm -f conftest.er1 |
21223 | cat conftest.err >&5 |
21784 | cat conftest.err >&5 |
21224 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21225 | (exit $ac_status); } && |
21786 | (exit $ac_status); } && { |
21226 | { ac_try='test -z "$ac_c_werror_flag" |
21787 | test -z "$ac_c_werror_flag" || |
21227 | || test ! -s conftest.err' |
21788 | test ! -s conftest.err |
21228 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21789 | } && test -s conftest.$ac_objext; then |
21229 | (eval $ac_try) 2>&5 |
|
|
21230 | ac_status=$? |
|
|
21231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21232 | (exit $ac_status); }; } && |
|
|
21233 | { ac_try='test -s conftest.$ac_objext' |
|
|
21234 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21235 | (eval $ac_try) 2>&5 |
|
|
21236 | ac_status=$? |
|
|
21237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21238 | (exit $ac_status); }; }; then |
|
|
21239 | echo "$as_me:$LINENO: result: yes" >&5 |
21790 | { echo "$as_me:$LINENO: result: yes" >&5 |
21240 | echo "${ECHO_T}yes" >&6 |
21791 | echo "${ECHO_T}yes" >&6; } |
21241 | |
21792 | |
21242 | cat >>confdefs.h <<\_ACEOF |
21793 | cat >>confdefs.h <<\_ACEOF |
21243 | #define HAVE__BEGIN_DECLS 1 |
21794 | #define HAVE__BEGIN_DECLS 1 |
21244 | _ACEOF |
21795 | _ACEOF |
21245 | |
21796 | |
… | |
… | |
21249 | |
21800 | |
21250 | else |
21801 | else |
21251 | echo "$as_me: failed program was:" >&5 |
21802 | echo "$as_me: failed program was:" >&5 |
21252 | sed 's/^/| /' conftest.$ac_ext >&5 |
21803 | sed 's/^/| /' conftest.$ac_ext >&5 |
21253 | |
21804 | |
21254 | echo "$as_me:$LINENO: result: no" >&5 |
21805 | { echo "$as_me:$LINENO: result: no" >&5 |
21255 | echo "${ECHO_T}no" >&6 |
21806 | echo "${ECHO_T}no" >&6; } |
21256 | |
21807 | |
21257 | __BEGIN_DECLS_INCL=$srcdir/conf/begin_decls |
21808 | __BEGIN_DECLS_INCL=$srcdir/conf/begin_decls |
21258 | |
21809 | |
21259 | __END_DECLS_INCL=$srcdir/conf/end_decls |
21810 | __END_DECLS_INCL=$srcdir/conf/end_decls |
21260 | |
21811 | |
21261 | fi |
21812 | fi |
|
|
21813 | |
21262 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21814 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21263 | |
21815 | |
21264 | |
21816 | |
21265 | #------------------------------------------------------------------------------- |
21817 | #------------------------------------------------------------------------------- |
21266 | # Unsigned int types |
21818 | # Unsigned int types |
21267 | #------------------------------------------------------------------------------- |
21819 | #------------------------------------------------------------------------------- |
21268 | |
21820 | |
21269 | |
21821 | |
21270 | |
21822 | |
21271 | |
21823 | |
21272 | echo "$as_me:$LINENO: checking size of int" >&5 |
21824 | { echo "$as_me:$LINENO: checking size of int" >&5 |
21273 | echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
21825 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
21274 | if test "${ac_cv_sizeof_int+set}" = set; then |
21826 | if test "${ac_cv_sizeof_int+set}" = set; then |
21275 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21827 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21276 | else |
21828 | else |
21277 | if test "$cross_compiling" = yes; then |
21829 | if test "$cross_compiling" = yes; then |
21278 | { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 |
21830 | { { echo "$as_me:$LINENO: error: failed to compile test program" >&5 |
… | |
… | |
21293 | fprintf(f, "%d\n", (int)sizeof(int)); |
21845 | fprintf(f, "%d\n", (int)sizeof(int)); |
21294 | exit(0); |
21846 | exit(0); |
21295 | } |
21847 | } |
21296 | _ACEOF |
21848 | _ACEOF |
21297 | rm -f conftest$ac_exeext |
21849 | rm -f conftest$ac_exeext |
|
|
21850 | if { (ac_try="$ac_link" |
|
|
21851 | case "(($ac_try" in |
|
|
21852 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21853 | *) ac_try_echo=$ac_try;; |
|
|
21854 | esac |
21298 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21855 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21299 | (eval $ac_link) 2>&5 |
21856 | (eval "$ac_link") 2>&5 |
21300 | ac_status=$? |
21857 | ac_status=$? |
21301 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21302 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21859 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
21860 | { (case "(($ac_try" in |
|
|
21861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21862 | *) ac_try_echo=$ac_try;; |
|
|
21863 | esac |
21303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21304 | (eval $ac_try) 2>&5 |
21865 | (eval "$ac_try") 2>&5 |
21305 | ac_status=$? |
21866 | ac_status=$? |
21306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21307 | (exit $ac_status); }; }; then |
21868 | (exit $ac_status); }; }; then |
21308 | ac_cv_sizeof_int=`cat conftestval` |
21869 | ac_cv_sizeof_int=`cat conftestval` |
21309 | else |
21870 | else |
… | |
… | |
21312 | sed 's/^/| /' conftest.$ac_ext >&5 |
21873 | sed 's/^/| /' conftest.$ac_ext >&5 |
21313 | |
21874 | |
21314 | ( exit $ac_status ) |
21875 | ( exit $ac_status ) |
21315 | ac_cv_sizeof_int=0 |
21876 | ac_cv_sizeof_int=0 |
21316 | fi |
21877 | fi |
21317 | rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21878 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21318 | fi |
21879 | fi |
21319 | fi |
|
|
21320 | |
21880 | |
|
|
21881 | |
|
|
21882 | fi |
|
|
21883 | |
21321 | echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
21884 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
21322 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
21885 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
21323 | |
21886 | |
21324 | cat >>confdefs.h <<_ACEOF |
21887 | cat >>confdefs.h <<_ACEOF |
21325 | #define SIZEOF_INT $ac_cv_sizeof_int |
21888 | #define SIZEOF_INT $ac_cv_sizeof_int |
21326 | _ACEOF |
21889 | _ACEOF |
21327 | |
21890 | |
21328 | #AC_DEFINE([SIZEOF_INT], [$ac_cv_sizeof_int], [Check to fix sizeof bug that can't print %d]) |
21891 | #AC_DEFINE([SIZEOF_INT], [$ac_cv_sizeof_int], [Check to fix sizeof bug that can't print %d]) |
21329 | |
21892 | |
21330 | |
21893 | |
21331 | |
21894 | |
21332 | # ------ AC CREATE STDINT H ------------------------------------- |
21895 | # ------ AC CREATE STDINT H ------------------------------------- |
21333 | echo "$as_me:$LINENO: checking for stdint-types...." >&5 |
21896 | { echo "$as_me:$LINENO: checking for stdint-types...." >&5 |
21334 | echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6 |
21897 | echo $ECHO_N "checking for stdint-types....... $ECHO_C" >&6; } |
21335 | ac_stdint_h=`echo src/libspf/_stdint.h` |
21898 | ac_stdint_h=`echo src/libspf/_stdint.h` |
21336 | if test "$ac_stdint_h" = "stdint.h" ; then |
21899 | if test "$ac_stdint_h" = "stdint.h" ; then |
21337 | echo "$as_me:$LINENO: result: \"(are you sure you want them in ./stdint.h?)\"" >&5 |
21900 | { echo "$as_me:$LINENO: result: \"(are you sure you want them in ./stdint.h?)\"" >&5 |
21338 | echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6 |
21901 | echo "${ECHO_T}\"(are you sure you want them in ./stdint.h?)\"" >&6; } |
21339 | elif test "$ac_stdint_h" = "inttypes.h" ; then |
21902 | elif test "$ac_stdint_h" = "inttypes.h" ; then |
21340 | echo "$as_me:$LINENO: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5 |
21903 | { echo "$as_me:$LINENO: result: \"(are you sure you want them in ./inttypes.h?)\"" >&5 |
21341 | echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6 |
21904 | echo "${ECHO_T}\"(are you sure you want them in ./inttypes.h?)\"" >&6; } |
21342 | else |
21905 | else |
21343 | echo "$as_me:$LINENO: result: \"(putting them into $ac_stdint_h)\"" >&5 |
21906 | { echo "$as_me:$LINENO: result: \"(putting them into $ac_stdint_h)\"" >&5 |
21344 | echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6 |
21907 | echo "${ECHO_T}\"(putting them into $ac_stdint_h)\"" >&6; } |
21345 | fi |
21908 | fi |
21346 | |
21909 | |
21347 | inttype_headers=`echo inttypes.h sys/inttypes.h sys/inttypes.h \ |
21910 | inttype_headers=`echo inttypes.h sys/inttypes.h sys/inttypes.h \ |
21348 | | sed -e 's/,/ /g'` |
21911 | | sed -e 's/,/ /g'` |
21349 | |
21912 | |
… | |
… | |
21351 | ac_cv_header_stdint_o="no-file" |
21914 | ac_cv_header_stdint_o="no-file" |
21352 | ac_cv_header_stdint_u="no-file" |
21915 | ac_cv_header_stdint_u="no-file" |
21353 | for i in stdint.h $inttype_headers ; do |
21916 | for i in stdint.h $inttype_headers ; do |
21354 | unset ac_cv_type_uintptr_t |
21917 | unset ac_cv_type_uintptr_t |
21355 | unset ac_cv_type_uint64_t |
21918 | unset ac_cv_type_uint64_t |
21356 | echo "$as_me:$LINENO: checking for uintptr_t" >&5 |
21919 | { echo "$as_me:$LINENO: checking for uintptr_t" >&5 |
21357 | echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6 |
21920 | echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; } |
21358 | if test "${ac_cv_type_uintptr_t+set}" = set; then |
21921 | if test "${ac_cv_type_uintptr_t+set}" = set; then |
21359 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21360 | else |
21923 | else |
21361 | cat >conftest.$ac_ext <<_ACEOF |
21924 | cat >conftest.$ac_ext <<_ACEOF |
21362 | /* confdefs.h. */ |
21925 | /* confdefs.h. */ |
… | |
… | |
21364 | cat confdefs.h >>conftest.$ac_ext |
21927 | cat confdefs.h >>conftest.$ac_ext |
21365 | cat >>conftest.$ac_ext <<_ACEOF |
21928 | cat >>conftest.$ac_ext <<_ACEOF |
21366 | /* end confdefs.h. */ |
21929 | /* end confdefs.h. */ |
21367 | #include <$i> |
21930 | #include <$i> |
21368 | |
21931 | |
|
|
21932 | typedef uintptr_t ac__type_new_; |
21369 | int |
21933 | int |
21370 | main () |
21934 | main () |
21371 | { |
21935 | { |
21372 | if ((uintptr_t *) 0) |
21936 | if ((ac__type_new_ *) 0) |
21373 | return 0; |
21937 | return 0; |
21374 | if (sizeof (uintptr_t)) |
21938 | if (sizeof (ac__type_new_)) |
21375 | return 0; |
21939 | return 0; |
21376 | ; |
21940 | ; |
21377 | return 0; |
21941 | return 0; |
21378 | } |
21942 | } |
21379 | _ACEOF |
21943 | _ACEOF |
21380 | rm -f conftest.$ac_objext |
21944 | rm -f conftest.$ac_objext |
|
|
21945 | if { (ac_try="$ac_compile" |
|
|
21946 | case "(($ac_try" in |
|
|
21947 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
21948 | *) ac_try_echo=$ac_try;; |
|
|
21949 | esac |
21381 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21950 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21382 | (eval $ac_compile) 2>conftest.er1 |
21951 | (eval "$ac_compile") 2>conftest.er1 |
21383 | ac_status=$? |
21952 | ac_status=$? |
21384 | grep -v '^ *+' conftest.er1 >conftest.err |
21953 | grep -v '^ *+' conftest.er1 >conftest.err |
21385 | rm -f conftest.er1 |
21954 | rm -f conftest.er1 |
21386 | cat conftest.err >&5 |
21955 | cat conftest.err >&5 |
21387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21388 | (exit $ac_status); } && |
21957 | (exit $ac_status); } && { |
21389 | { ac_try='test -z "$ac_c_werror_flag" |
21958 | test -z "$ac_c_werror_flag" || |
21390 | || test ! -s conftest.err' |
21959 | test ! -s conftest.err |
21391 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21960 | } && test -s conftest.$ac_objext; then |
21392 | (eval $ac_try) 2>&5 |
|
|
21393 | ac_status=$? |
|
|
21394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21395 | (exit $ac_status); }; } && |
|
|
21396 | { ac_try='test -s conftest.$ac_objext' |
|
|
21397 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21398 | (eval $ac_try) 2>&5 |
|
|
21399 | ac_status=$? |
|
|
21400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21401 | (exit $ac_status); }; }; then |
|
|
21402 | ac_cv_type_uintptr_t=yes |
21961 | ac_cv_type_uintptr_t=yes |
21403 | else |
21962 | else |
21404 | echo "$as_me: failed program was:" >&5 |
21963 | echo "$as_me: failed program was:" >&5 |
21405 | sed 's/^/| /' conftest.$ac_ext >&5 |
21964 | sed 's/^/| /' conftest.$ac_ext >&5 |
21406 | |
21965 | |
21407 | ac_cv_type_uintptr_t=no |
21966 | ac_cv_type_uintptr_t=no |
21408 | fi |
21967 | fi |
|
|
21968 | |
21409 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
21969 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21410 | fi |
21970 | fi |
21411 | echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 |
21971 | { echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 |
21412 | echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6 |
21972 | echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; } |
21413 | if test $ac_cv_type_uintptr_t = yes; then |
21973 | if test $ac_cv_type_uintptr_t = yes; then |
21414 | ac_cv_header_stdint_x=$i |
21974 | ac_cv_header_stdint_x=$i |
21415 | else |
21975 | else |
21416 | continue |
21976 | continue |
21417 | fi |
21977 | fi |
21418 | |
21978 | |
21419 | echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21979 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21420 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
21980 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
21421 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21981 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21422 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21982 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21423 | else |
21983 | else |
21424 | cat >conftest.$ac_ext <<_ACEOF |
21984 | cat >conftest.$ac_ext <<_ACEOF |
21425 | /* confdefs.h. */ |
21985 | /* confdefs.h. */ |
… | |
… | |
21427 | cat confdefs.h >>conftest.$ac_ext |
21987 | cat confdefs.h >>conftest.$ac_ext |
21428 | cat >>conftest.$ac_ext <<_ACEOF |
21988 | cat >>conftest.$ac_ext <<_ACEOF |
21429 | /* end confdefs.h. */ |
21989 | /* end confdefs.h. */ |
21430 | #include<$i> |
21990 | #include<$i> |
21431 | |
21991 | |
|
|
21992 | typedef uint64_t ac__type_new_; |
21432 | int |
21993 | int |
21433 | main () |
21994 | main () |
21434 | { |
21995 | { |
21435 | if ((uint64_t *) 0) |
21996 | if ((ac__type_new_ *) 0) |
21436 | return 0; |
21997 | return 0; |
21437 | if (sizeof (uint64_t)) |
21998 | if (sizeof (ac__type_new_)) |
21438 | return 0; |
21999 | return 0; |
21439 | ; |
22000 | ; |
21440 | return 0; |
22001 | return 0; |
21441 | } |
22002 | } |
21442 | _ACEOF |
22003 | _ACEOF |
21443 | rm -f conftest.$ac_objext |
22004 | rm -f conftest.$ac_objext |
|
|
22005 | if { (ac_try="$ac_compile" |
|
|
22006 | case "(($ac_try" in |
|
|
22007 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22008 | *) ac_try_echo=$ac_try;; |
|
|
22009 | esac |
21444 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22010 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21445 | (eval $ac_compile) 2>conftest.er1 |
22011 | (eval "$ac_compile") 2>conftest.er1 |
21446 | ac_status=$? |
22012 | ac_status=$? |
21447 | grep -v '^ *+' conftest.er1 >conftest.err |
22013 | grep -v '^ *+' conftest.er1 >conftest.err |
21448 | rm -f conftest.er1 |
22014 | rm -f conftest.er1 |
21449 | cat conftest.err >&5 |
22015 | cat conftest.err >&5 |
21450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22016 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21451 | (exit $ac_status); } && |
22017 | (exit $ac_status); } && { |
21452 | { ac_try='test -z "$ac_c_werror_flag" |
22018 | test -z "$ac_c_werror_flag" || |
21453 | || test ! -s conftest.err' |
22019 | test ! -s conftest.err |
21454 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22020 | } && test -s conftest.$ac_objext; then |
21455 | (eval $ac_try) 2>&5 |
|
|
21456 | ac_status=$? |
|
|
21457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21458 | (exit $ac_status); }; } && |
|
|
21459 | { ac_try='test -s conftest.$ac_objext' |
|
|
21460 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21461 | (eval $ac_try) 2>&5 |
|
|
21462 | ac_status=$? |
|
|
21463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21464 | (exit $ac_status); }; }; then |
|
|
21465 | ac_cv_type_uint64_t=yes |
22021 | ac_cv_type_uint64_t=yes |
21466 | else |
22022 | else |
21467 | echo "$as_me: failed program was:" >&5 |
22023 | echo "$as_me: failed program was:" >&5 |
21468 | sed 's/^/| /' conftest.$ac_ext >&5 |
22024 | sed 's/^/| /' conftest.$ac_ext >&5 |
21469 | |
22025 | |
21470 | ac_cv_type_uint64_t=no |
22026 | ac_cv_type_uint64_t=no |
21471 | fi |
22027 | fi |
|
|
22028 | |
21472 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22029 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21473 | fi |
22030 | fi |
21474 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
22031 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21475 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
22032 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
21476 | if test $ac_cv_type_uint64_t = yes; then |
22033 | if test $ac_cv_type_uint64_t = yes; then |
21477 | and64="(uint64_t too)" |
22034 | and64="(uint64_t too)" |
21478 | else |
22035 | else |
21479 | and64="" |
22036 | and64="" |
21480 | fi |
22037 | fi |
21481 | |
22038 | |
21482 | echo "$as_me:$LINENO: result: ... seen our uintptr_t in $i $and64" >&5 |
22039 | { echo "$as_me:$LINENO: result: ... seen our uintptr_t in $i $and64" >&5 |
21483 | echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6 |
22040 | echo "${ECHO_T}... seen our uintptr_t in $i $and64" >&6; } |
21484 | break; |
22041 | break; |
21485 | done |
22042 | done |
21486 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
22043 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
21487 | for i in stdint.h $inttype_headers ; do |
22044 | for i in stdint.h $inttype_headers ; do |
21488 | unset ac_cv_type_uint32_t |
22045 | unset ac_cv_type_uint32_t |
21489 | unset ac_cv_type_uint64_t |
22046 | unset ac_cv_type_uint64_t |
21490 | echo "$as_me:$LINENO: checking for uint32_t" >&5 |
22047 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
21491 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6 |
22048 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
21492 | if test "${ac_cv_type_uint32_t+set}" = set; then |
22049 | if test "${ac_cv_type_uint32_t+set}" = set; then |
21493 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21494 | else |
22051 | else |
21495 | cat >conftest.$ac_ext <<_ACEOF |
22052 | cat >conftest.$ac_ext <<_ACEOF |
21496 | /* confdefs.h. */ |
22053 | /* confdefs.h. */ |
… | |
… | |
21498 | cat confdefs.h >>conftest.$ac_ext |
22055 | cat confdefs.h >>conftest.$ac_ext |
21499 | cat >>conftest.$ac_ext <<_ACEOF |
22056 | cat >>conftest.$ac_ext <<_ACEOF |
21500 | /* end confdefs.h. */ |
22057 | /* end confdefs.h. */ |
21501 | #include <$i> |
22058 | #include <$i> |
21502 | |
22059 | |
|
|
22060 | typedef uint32_t ac__type_new_; |
21503 | int |
22061 | int |
21504 | main () |
22062 | main () |
21505 | { |
22063 | { |
21506 | if ((uint32_t *) 0) |
22064 | if ((ac__type_new_ *) 0) |
21507 | return 0; |
22065 | return 0; |
21508 | if (sizeof (uint32_t)) |
22066 | if (sizeof (ac__type_new_)) |
21509 | return 0; |
22067 | return 0; |
21510 | ; |
22068 | ; |
21511 | return 0; |
22069 | return 0; |
21512 | } |
22070 | } |
21513 | _ACEOF |
22071 | _ACEOF |
21514 | rm -f conftest.$ac_objext |
22072 | rm -f conftest.$ac_objext |
|
|
22073 | if { (ac_try="$ac_compile" |
|
|
22074 | case "(($ac_try" in |
|
|
22075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22076 | *) ac_try_echo=$ac_try;; |
|
|
22077 | esac |
21515 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22078 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21516 | (eval $ac_compile) 2>conftest.er1 |
22079 | (eval "$ac_compile") 2>conftest.er1 |
21517 | ac_status=$? |
22080 | ac_status=$? |
21518 | grep -v '^ *+' conftest.er1 >conftest.err |
22081 | grep -v '^ *+' conftest.er1 >conftest.err |
21519 | rm -f conftest.er1 |
22082 | rm -f conftest.er1 |
21520 | cat conftest.err >&5 |
22083 | cat conftest.err >&5 |
21521 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21522 | (exit $ac_status); } && |
22085 | (exit $ac_status); } && { |
21523 | { ac_try='test -z "$ac_c_werror_flag" |
22086 | test -z "$ac_c_werror_flag" || |
21524 | || test ! -s conftest.err' |
22087 | test ! -s conftest.err |
21525 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22088 | } && test -s conftest.$ac_objext; then |
21526 | (eval $ac_try) 2>&5 |
|
|
21527 | ac_status=$? |
|
|
21528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21529 | (exit $ac_status); }; } && |
|
|
21530 | { ac_try='test -s conftest.$ac_objext' |
|
|
21531 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21532 | (eval $ac_try) 2>&5 |
|
|
21533 | ac_status=$? |
|
|
21534 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21535 | (exit $ac_status); }; }; then |
|
|
21536 | ac_cv_type_uint32_t=yes |
22089 | ac_cv_type_uint32_t=yes |
21537 | else |
22090 | else |
21538 | echo "$as_me: failed program was:" >&5 |
22091 | echo "$as_me: failed program was:" >&5 |
21539 | sed 's/^/| /' conftest.$ac_ext >&5 |
22092 | sed 's/^/| /' conftest.$ac_ext >&5 |
21540 | |
22093 | |
21541 | ac_cv_type_uint32_t=no |
22094 | ac_cv_type_uint32_t=no |
21542 | fi |
22095 | fi |
|
|
22096 | |
21543 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22097 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21544 | fi |
22098 | fi |
21545 | echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
22099 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 |
21546 | echo "${ECHO_T}$ac_cv_type_uint32_t" >&6 |
22100 | echo "${ECHO_T}$ac_cv_type_uint32_t" >&6; } |
21547 | if test $ac_cv_type_uint32_t = yes; then |
22101 | if test $ac_cv_type_uint32_t = yes; then |
21548 | ac_cv_header_stdint_o=$i |
22102 | ac_cv_header_stdint_o=$i |
21549 | else |
22103 | else |
21550 | continue |
22104 | continue |
21551 | fi |
22105 | fi |
21552 | |
22106 | |
21553 | echo "$as_me:$LINENO: checking for uint64_t" >&5 |
22107 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21554 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
22108 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
21555 | if test "${ac_cv_type_uint64_t+set}" = set; then |
22109 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21557 | else |
22111 | else |
21558 | cat >conftest.$ac_ext <<_ACEOF |
22112 | cat >conftest.$ac_ext <<_ACEOF |
21559 | /* confdefs.h. */ |
22113 | /* confdefs.h. */ |
… | |
… | |
21561 | cat confdefs.h >>conftest.$ac_ext |
22115 | cat confdefs.h >>conftest.$ac_ext |
21562 | cat >>conftest.$ac_ext <<_ACEOF |
22116 | cat >>conftest.$ac_ext <<_ACEOF |
21563 | /* end confdefs.h. */ |
22117 | /* end confdefs.h. */ |
21564 | #include<$i> |
22118 | #include<$i> |
21565 | |
22119 | |
|
|
22120 | typedef uint64_t ac__type_new_; |
21566 | int |
22121 | int |
21567 | main () |
22122 | main () |
21568 | { |
22123 | { |
21569 | if ((uint64_t *) 0) |
22124 | if ((ac__type_new_ *) 0) |
21570 | return 0; |
22125 | return 0; |
21571 | if (sizeof (uint64_t)) |
22126 | if (sizeof (ac__type_new_)) |
21572 | return 0; |
22127 | return 0; |
21573 | ; |
22128 | ; |
21574 | return 0; |
22129 | return 0; |
21575 | } |
22130 | } |
21576 | _ACEOF |
22131 | _ACEOF |
21577 | rm -f conftest.$ac_objext |
22132 | rm -f conftest.$ac_objext |
|
|
22133 | if { (ac_try="$ac_compile" |
|
|
22134 | case "(($ac_try" in |
|
|
22135 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22136 | *) ac_try_echo=$ac_try;; |
|
|
22137 | esac |
21578 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22138 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21579 | (eval $ac_compile) 2>conftest.er1 |
22139 | (eval "$ac_compile") 2>conftest.er1 |
21580 | ac_status=$? |
22140 | ac_status=$? |
21581 | grep -v '^ *+' conftest.er1 >conftest.err |
22141 | grep -v '^ *+' conftest.er1 >conftest.err |
21582 | rm -f conftest.er1 |
22142 | rm -f conftest.er1 |
21583 | cat conftest.err >&5 |
22143 | cat conftest.err >&5 |
21584 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21585 | (exit $ac_status); } && |
22145 | (exit $ac_status); } && { |
21586 | { ac_try='test -z "$ac_c_werror_flag" |
22146 | test -z "$ac_c_werror_flag" || |
21587 | || test ! -s conftest.err' |
22147 | test ! -s conftest.err |
21588 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22148 | } && test -s conftest.$ac_objext; then |
21589 | (eval $ac_try) 2>&5 |
|
|
21590 | ac_status=$? |
|
|
21591 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21592 | (exit $ac_status); }; } && |
|
|
21593 | { ac_try='test -s conftest.$ac_objext' |
|
|
21594 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21595 | (eval $ac_try) 2>&5 |
|
|
21596 | ac_status=$? |
|
|
21597 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21598 | (exit $ac_status); }; }; then |
|
|
21599 | ac_cv_type_uint64_t=yes |
22149 | ac_cv_type_uint64_t=yes |
21600 | else |
22150 | else |
21601 | echo "$as_me: failed program was:" >&5 |
22151 | echo "$as_me: failed program was:" >&5 |
21602 | sed 's/^/| /' conftest.$ac_ext >&5 |
22152 | sed 's/^/| /' conftest.$ac_ext >&5 |
21603 | |
22153 | |
21604 | ac_cv_type_uint64_t=no |
22154 | ac_cv_type_uint64_t=no |
21605 | fi |
22155 | fi |
|
|
22156 | |
21606 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22157 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21607 | fi |
22158 | fi |
21608 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
22159 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21609 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
22160 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
21610 | if test $ac_cv_type_uint64_t = yes; then |
22161 | if test $ac_cv_type_uint64_t = yes; then |
21611 | and64="(uint64_t too)" |
22162 | and64="(uint64_t too)" |
21612 | else |
22163 | else |
21613 | and64="" |
22164 | and64="" |
21614 | fi |
22165 | fi |
21615 | |
22166 | |
21616 | echo "$as_me:$LINENO: result: ... seen our uint32_t in $i $and64" >&5 |
22167 | { echo "$as_me:$LINENO: result: ... seen our uint32_t in $i $and64" >&5 |
21617 | echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6 |
22168 | echo "${ECHO_T}... seen our uint32_t in $i $and64" >&6; } |
21618 | break; |
22169 | break; |
21619 | done |
22170 | done |
21620 | if test "$ac_cv_header_stdint_o" = "no-file" ; then |
22171 | if test "$ac_cv_header_stdint_o" = "no-file" ; then |
21621 | for i in sys/types.h $inttype_headers ; do |
22172 | for i in sys/types.h $inttype_headers ; do |
21622 | unset ac_cv_type_u_int32_t |
22173 | unset ac_cv_type_u_int32_t |
21623 | unset ac_cv_type_u_int64_t |
22174 | unset ac_cv_type_u_int64_t |
21624 | echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
22175 | { echo "$as_me:$LINENO: checking for u_int32_t" >&5 |
21625 | echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6 |
22176 | echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6; } |
21626 | if test "${ac_cv_type_u_int32_t+set}" = set; then |
22177 | if test "${ac_cv_type_u_int32_t+set}" = set; then |
21627 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22178 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21628 | else |
22179 | else |
21629 | cat >conftest.$ac_ext <<_ACEOF |
22180 | cat >conftest.$ac_ext <<_ACEOF |
21630 | /* confdefs.h. */ |
22181 | /* confdefs.h. */ |
… | |
… | |
21632 | cat confdefs.h >>conftest.$ac_ext |
22183 | cat confdefs.h >>conftest.$ac_ext |
21633 | cat >>conftest.$ac_ext <<_ACEOF |
22184 | cat >>conftest.$ac_ext <<_ACEOF |
21634 | /* end confdefs.h. */ |
22185 | /* end confdefs.h. */ |
21635 | #include <$i> |
22186 | #include <$i> |
21636 | |
22187 | |
|
|
22188 | typedef u_int32_t ac__type_new_; |
21637 | int |
22189 | int |
21638 | main () |
22190 | main () |
21639 | { |
22191 | { |
21640 | if ((u_int32_t *) 0) |
22192 | if ((ac__type_new_ *) 0) |
21641 | return 0; |
22193 | return 0; |
21642 | if (sizeof (u_int32_t)) |
22194 | if (sizeof (ac__type_new_)) |
21643 | return 0; |
22195 | return 0; |
21644 | ; |
22196 | ; |
21645 | return 0; |
22197 | return 0; |
21646 | } |
22198 | } |
21647 | _ACEOF |
22199 | _ACEOF |
21648 | rm -f conftest.$ac_objext |
22200 | rm -f conftest.$ac_objext |
|
|
22201 | if { (ac_try="$ac_compile" |
|
|
22202 | case "(($ac_try" in |
|
|
22203 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22204 | *) ac_try_echo=$ac_try;; |
|
|
22205 | esac |
21649 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22206 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21650 | (eval $ac_compile) 2>conftest.er1 |
22207 | (eval "$ac_compile") 2>conftest.er1 |
21651 | ac_status=$? |
22208 | ac_status=$? |
21652 | grep -v '^ *+' conftest.er1 >conftest.err |
22209 | grep -v '^ *+' conftest.er1 >conftest.err |
21653 | rm -f conftest.er1 |
22210 | rm -f conftest.er1 |
21654 | cat conftest.err >&5 |
22211 | cat conftest.err >&5 |
21655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21656 | (exit $ac_status); } && |
22213 | (exit $ac_status); } && { |
21657 | { ac_try='test -z "$ac_c_werror_flag" |
22214 | test -z "$ac_c_werror_flag" || |
21658 | || test ! -s conftest.err' |
22215 | test ! -s conftest.err |
21659 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22216 | } && test -s conftest.$ac_objext; then |
21660 | (eval $ac_try) 2>&5 |
|
|
21661 | ac_status=$? |
|
|
21662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21663 | (exit $ac_status); }; } && |
|
|
21664 | { ac_try='test -s conftest.$ac_objext' |
|
|
21665 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21666 | (eval $ac_try) 2>&5 |
|
|
21667 | ac_status=$? |
|
|
21668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21669 | (exit $ac_status); }; }; then |
|
|
21670 | ac_cv_type_u_int32_t=yes |
22217 | ac_cv_type_u_int32_t=yes |
21671 | else |
22218 | else |
21672 | echo "$as_me: failed program was:" >&5 |
22219 | echo "$as_me: failed program was:" >&5 |
21673 | sed 's/^/| /' conftest.$ac_ext >&5 |
22220 | sed 's/^/| /' conftest.$ac_ext >&5 |
21674 | |
22221 | |
21675 | ac_cv_type_u_int32_t=no |
22222 | ac_cv_type_u_int32_t=no |
21676 | fi |
22223 | fi |
|
|
22224 | |
21677 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22225 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21678 | fi |
22226 | fi |
21679 | echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
22227 | { echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 |
21680 | echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6 |
22228 | echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6; } |
21681 | if test $ac_cv_type_u_int32_t = yes; then |
22229 | if test $ac_cv_type_u_int32_t = yes; then |
21682 | ac_cv_header_stdint_u=$i |
22230 | ac_cv_header_stdint_u=$i |
21683 | else |
22231 | else |
21684 | continue |
22232 | continue |
21685 | fi |
22233 | fi |
21686 | |
22234 | |
21687 | echo "$as_me:$LINENO: checking for uint64_t" >&5 |
22235 | { echo "$as_me:$LINENO: checking for uint64_t" >&5 |
21688 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 |
22236 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; } |
21689 | if test "${ac_cv_type_uint64_t+set}" = set; then |
22237 | if test "${ac_cv_type_uint64_t+set}" = set; then |
21690 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22238 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
21691 | else |
22239 | else |
21692 | cat >conftest.$ac_ext <<_ACEOF |
22240 | cat >conftest.$ac_ext <<_ACEOF |
21693 | /* confdefs.h. */ |
22241 | /* confdefs.h. */ |
… | |
… | |
21695 | cat confdefs.h >>conftest.$ac_ext |
22243 | cat confdefs.h >>conftest.$ac_ext |
21696 | cat >>conftest.$ac_ext <<_ACEOF |
22244 | cat >>conftest.$ac_ext <<_ACEOF |
21697 | /* end confdefs.h. */ |
22245 | /* end confdefs.h. */ |
21698 | #include<$i> |
22246 | #include<$i> |
21699 | |
22247 | |
|
|
22248 | typedef uint64_t ac__type_new_; |
21700 | int |
22249 | int |
21701 | main () |
22250 | main () |
21702 | { |
22251 | { |
21703 | if ((uint64_t *) 0) |
22252 | if ((ac__type_new_ *) 0) |
21704 | return 0; |
22253 | return 0; |
21705 | if (sizeof (uint64_t)) |
22254 | if (sizeof (ac__type_new_)) |
21706 | return 0; |
22255 | return 0; |
21707 | ; |
22256 | ; |
21708 | return 0; |
22257 | return 0; |
21709 | } |
22258 | } |
21710 | _ACEOF |
22259 | _ACEOF |
21711 | rm -f conftest.$ac_objext |
22260 | rm -f conftest.$ac_objext |
|
|
22261 | if { (ac_try="$ac_compile" |
|
|
22262 | case "(($ac_try" in |
|
|
22263 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22264 | *) ac_try_echo=$ac_try;; |
|
|
22265 | esac |
21712 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22266 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21713 | (eval $ac_compile) 2>conftest.er1 |
22267 | (eval "$ac_compile") 2>conftest.er1 |
21714 | ac_status=$? |
22268 | ac_status=$? |
21715 | grep -v '^ *+' conftest.er1 >conftest.err |
22269 | grep -v '^ *+' conftest.er1 >conftest.err |
21716 | rm -f conftest.er1 |
22270 | rm -f conftest.er1 |
21717 | cat conftest.err >&5 |
22271 | cat conftest.err >&5 |
21718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21719 | (exit $ac_status); } && |
22273 | (exit $ac_status); } && { |
21720 | { ac_try='test -z "$ac_c_werror_flag" |
22274 | test -z "$ac_c_werror_flag" || |
21721 | || test ! -s conftest.err' |
22275 | test ! -s conftest.err |
21722 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22276 | } && test -s conftest.$ac_objext; then |
21723 | (eval $ac_try) 2>&5 |
|
|
21724 | ac_status=$? |
|
|
21725 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21726 | (exit $ac_status); }; } && |
|
|
21727 | { ac_try='test -s conftest.$ac_objext' |
|
|
21728 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21729 | (eval $ac_try) 2>&5 |
|
|
21730 | ac_status=$? |
|
|
21731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21732 | (exit $ac_status); }; }; then |
|
|
21733 | ac_cv_type_uint64_t=yes |
22277 | ac_cv_type_uint64_t=yes |
21734 | else |
22278 | else |
21735 | echo "$as_me: failed program was:" >&5 |
22279 | echo "$as_me: failed program was:" >&5 |
21736 | sed 's/^/| /' conftest.$ac_ext >&5 |
22280 | sed 's/^/| /' conftest.$ac_ext >&5 |
21737 | |
22281 | |
21738 | ac_cv_type_uint64_t=no |
22282 | ac_cv_type_uint64_t=no |
21739 | fi |
22283 | fi |
|
|
22284 | |
21740 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22285 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21741 | fi |
22286 | fi |
21742 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
22287 | { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 |
21743 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 |
22288 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; } |
21744 | if test $ac_cv_type_uint64_t = yes; then |
22289 | if test $ac_cv_type_uint64_t = yes; then |
21745 | and64="(u_int64_t too)" |
22290 | and64="(u_int64_t too)" |
21746 | else |
22291 | else |
21747 | and64="" |
22292 | and64="" |
21748 | fi |
22293 | fi |
21749 | |
22294 | |
21750 | echo "$as_me:$LINENO: result: ... seen our u_int32_t in $i $and64" >&5 |
22295 | { echo "$as_me:$LINENO: result: ... seen our u_int32_t in $i $and64" >&5 |
21751 | echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6 |
22296 | echo "${ECHO_T}... seen our u_int32_t in $i $and64" >&6; } |
21752 | break; |
22297 | break; |
21753 | done |
22298 | done |
21754 | fi |
22299 | fi |
21755 | fi |
22300 | fi |
21756 | |
22301 | |
21757 | # ----------------- DONE inttypes.h checks MAYBE C basic types -------- |
22302 | # ----------------- DONE inttypes.h checks MAYBE C basic types -------- |
21758 | |
22303 | |
21759 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
22304 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
21760 | echo "$as_me:$LINENO: checking that size of char is " >&5 |
22305 | { echo "$as_me:$LINENO: checking that size of char is " >&5 |
21761 | echo $ECHO_N "checking that size of char is ... $ECHO_C" >&6 |
22306 | echo $ECHO_N "checking that size of char is ... $ECHO_C" >&6; } |
21762 | cat >conftest.$ac_ext <<_ACEOF |
22307 | cat >conftest.$ac_ext <<_ACEOF |
21763 | /* confdefs.h. */ |
22308 | /* confdefs.h. */ |
21764 | _ACEOF |
22309 | _ACEOF |
21765 | cat confdefs.h >>conftest.$ac_ext |
22310 | cat confdefs.h >>conftest.$ac_ext |
21766 | cat >>conftest.$ac_ext <<_ACEOF |
22311 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21773 | ; |
22318 | ; |
21774 | return 0; |
22319 | return 0; |
21775 | } |
22320 | } |
21776 | _ACEOF |
22321 | _ACEOF |
21777 | rm -f conftest.$ac_objext |
22322 | rm -f conftest.$ac_objext |
|
|
22323 | if { (ac_try="$ac_compile" |
|
|
22324 | case "(($ac_try" in |
|
|
22325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22326 | *) ac_try_echo=$ac_try;; |
|
|
22327 | esac |
21778 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22328 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21779 | (eval $ac_compile) 2>conftest.er1 |
22329 | (eval "$ac_compile") 2>conftest.er1 |
21780 | ac_status=$? |
22330 | ac_status=$? |
21781 | grep -v '^ *+' conftest.er1 >conftest.err |
22331 | grep -v '^ *+' conftest.er1 >conftest.err |
21782 | rm -f conftest.er1 |
22332 | rm -f conftest.er1 |
21783 | cat conftest.err >&5 |
22333 | cat conftest.err >&5 |
21784 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22334 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21785 | (exit $ac_status); } && |
22335 | (exit $ac_status); } && { |
21786 | { ac_try='test -z "$ac_c_werror_flag" |
22336 | test -z "$ac_c_werror_flag" || |
21787 | || test ! -s conftest.err' |
22337 | test ! -s conftest.err |
21788 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22338 | } && test -s conftest.$ac_objext; then |
21789 | (eval $ac_try) 2>&5 |
|
|
21790 | ac_status=$? |
|
|
21791 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21792 | (exit $ac_status); }; } && |
|
|
21793 | { ac_try='test -s conftest.$ac_objext' |
|
|
21794 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21795 | (eval $ac_try) 2>&5 |
|
|
21796 | ac_status=$? |
|
|
21797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21798 | (exit $ac_status); }; }; then |
|
|
21799 | : |
22339 | : |
21800 | else |
22340 | else |
21801 | echo "$as_me: failed program was:" >&5 |
22341 | echo "$as_me: failed program was:" >&5 |
21802 | sed 's/^/| /' conftest.$ac_ext >&5 |
22342 | sed 's/^/| /' conftest.$ac_ext >&5 |
21803 | |
22343 | |
21804 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22344 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21805 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22345 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21806 | { (exit 1); exit 1; }; } |
22346 | { (exit 1); exit 1; }; } |
21807 | fi |
22347 | fi |
|
|
22348 | |
21808 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22349 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21809 | echo "$as_me:$LINENO: result: yes" >&5 |
22350 | { echo "$as_me:$LINENO: result: yes" >&5 |
21810 | echo "${ECHO_T}yes" >&6 |
22351 | echo "${ECHO_T}yes" >&6; } |
21811 | echo "$as_me:$LINENO: checking that size of short is " >&5 |
22352 | { echo "$as_me:$LINENO: checking that size of short is " >&5 |
21812 | echo $ECHO_N "checking that size of short is ... $ECHO_C" >&6 |
22353 | echo $ECHO_N "checking that size of short is ... $ECHO_C" >&6; } |
21813 | cat >conftest.$ac_ext <<_ACEOF |
22354 | cat >conftest.$ac_ext <<_ACEOF |
21814 | /* confdefs.h. */ |
22355 | /* confdefs.h. */ |
21815 | _ACEOF |
22356 | _ACEOF |
21816 | cat confdefs.h >>conftest.$ac_ext |
22357 | cat confdefs.h >>conftest.$ac_ext |
21817 | cat >>conftest.$ac_ext <<_ACEOF |
22358 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21824 | ; |
22365 | ; |
21825 | return 0; |
22366 | return 0; |
21826 | } |
22367 | } |
21827 | _ACEOF |
22368 | _ACEOF |
21828 | rm -f conftest.$ac_objext |
22369 | rm -f conftest.$ac_objext |
|
|
22370 | if { (ac_try="$ac_compile" |
|
|
22371 | case "(($ac_try" in |
|
|
22372 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22373 | *) ac_try_echo=$ac_try;; |
|
|
22374 | esac |
21829 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22375 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21830 | (eval $ac_compile) 2>conftest.er1 |
22376 | (eval "$ac_compile") 2>conftest.er1 |
21831 | ac_status=$? |
22377 | ac_status=$? |
21832 | grep -v '^ *+' conftest.er1 >conftest.err |
22378 | grep -v '^ *+' conftest.er1 >conftest.err |
21833 | rm -f conftest.er1 |
22379 | rm -f conftest.er1 |
21834 | cat conftest.err >&5 |
22380 | cat conftest.err >&5 |
21835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22381 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21836 | (exit $ac_status); } && |
22382 | (exit $ac_status); } && { |
21837 | { ac_try='test -z "$ac_c_werror_flag" |
22383 | test -z "$ac_c_werror_flag" || |
21838 | || test ! -s conftest.err' |
22384 | test ! -s conftest.err |
21839 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22385 | } && test -s conftest.$ac_objext; then |
21840 | (eval $ac_try) 2>&5 |
|
|
21841 | ac_status=$? |
|
|
21842 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21843 | (exit $ac_status); }; } && |
|
|
21844 | { ac_try='test -s conftest.$ac_objext' |
|
|
21845 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21846 | (eval $ac_try) 2>&5 |
|
|
21847 | ac_status=$? |
|
|
21848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21849 | (exit $ac_status); }; }; then |
|
|
21850 | : |
22386 | : |
21851 | else |
22387 | else |
21852 | echo "$as_me: failed program was:" >&5 |
22388 | echo "$as_me: failed program was:" >&5 |
21853 | sed 's/^/| /' conftest.$ac_ext >&5 |
22389 | sed 's/^/| /' conftest.$ac_ext >&5 |
21854 | |
22390 | |
21855 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22391 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21856 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22392 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21857 | { (exit 1); exit 1; }; } |
22393 | { (exit 1); exit 1; }; } |
21858 | fi |
22394 | fi |
|
|
22395 | |
21859 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22396 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21860 | echo "$as_me:$LINENO: result: yes" >&5 |
22397 | { echo "$as_me:$LINENO: result: yes" >&5 |
21861 | echo "${ECHO_T}yes" >&6 |
22398 | echo "${ECHO_T}yes" >&6; } |
21862 | echo "$as_me:$LINENO: checking that size of int is " >&5 |
22399 | { echo "$as_me:$LINENO: checking that size of int is " >&5 |
21863 | echo $ECHO_N "checking that size of int is ... $ECHO_C" >&6 |
22400 | echo $ECHO_N "checking that size of int is ... $ECHO_C" >&6; } |
21864 | cat >conftest.$ac_ext <<_ACEOF |
22401 | cat >conftest.$ac_ext <<_ACEOF |
21865 | /* confdefs.h. */ |
22402 | /* confdefs.h. */ |
21866 | _ACEOF |
22403 | _ACEOF |
21867 | cat confdefs.h >>conftest.$ac_ext |
22404 | cat confdefs.h >>conftest.$ac_ext |
21868 | cat >>conftest.$ac_ext <<_ACEOF |
22405 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21875 | ; |
22412 | ; |
21876 | return 0; |
22413 | return 0; |
21877 | } |
22414 | } |
21878 | _ACEOF |
22415 | _ACEOF |
21879 | rm -f conftest.$ac_objext |
22416 | rm -f conftest.$ac_objext |
|
|
22417 | if { (ac_try="$ac_compile" |
|
|
22418 | case "(($ac_try" in |
|
|
22419 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22420 | *) ac_try_echo=$ac_try;; |
|
|
22421 | esac |
21880 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22422 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21881 | (eval $ac_compile) 2>conftest.er1 |
22423 | (eval "$ac_compile") 2>conftest.er1 |
21882 | ac_status=$? |
22424 | ac_status=$? |
21883 | grep -v '^ *+' conftest.er1 >conftest.err |
22425 | grep -v '^ *+' conftest.er1 >conftest.err |
21884 | rm -f conftest.er1 |
22426 | rm -f conftest.er1 |
21885 | cat conftest.err >&5 |
22427 | cat conftest.err >&5 |
21886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22428 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21887 | (exit $ac_status); } && |
22429 | (exit $ac_status); } && { |
21888 | { ac_try='test -z "$ac_c_werror_flag" |
22430 | test -z "$ac_c_werror_flag" || |
21889 | || test ! -s conftest.err' |
22431 | test ! -s conftest.err |
21890 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22432 | } && test -s conftest.$ac_objext; then |
21891 | (eval $ac_try) 2>&5 |
|
|
21892 | ac_status=$? |
|
|
21893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21894 | (exit $ac_status); }; } && |
|
|
21895 | { ac_try='test -s conftest.$ac_objext' |
|
|
21896 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21897 | (eval $ac_try) 2>&5 |
|
|
21898 | ac_status=$? |
|
|
21899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21900 | (exit $ac_status); }; }; then |
|
|
21901 | : |
22433 | : |
21902 | else |
22434 | else |
21903 | echo "$as_me: failed program was:" >&5 |
22435 | echo "$as_me: failed program was:" >&5 |
21904 | sed 's/^/| /' conftest.$ac_ext >&5 |
22436 | sed 's/^/| /' conftest.$ac_ext >&5 |
21905 | |
22437 | |
21906 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22438 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21907 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22439 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21908 | { (exit 1); exit 1; }; } |
22440 | { (exit 1); exit 1; }; } |
21909 | fi |
22441 | fi |
|
|
22442 | |
21910 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22443 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21911 | echo "$as_me:$LINENO: result: yes" >&5 |
22444 | { echo "$as_me:$LINENO: result: yes" >&5 |
21912 | echo "${ECHO_T}yes" >&6 |
22445 | echo "${ECHO_T}yes" >&6; } |
21913 | echo "$as_me:$LINENO: checking that size of long is " >&5 |
22446 | { echo "$as_me:$LINENO: checking that size of long is " >&5 |
21914 | echo $ECHO_N "checking that size of long is ... $ECHO_C" >&6 |
22447 | echo $ECHO_N "checking that size of long is ... $ECHO_C" >&6; } |
21915 | cat >conftest.$ac_ext <<_ACEOF |
22448 | cat >conftest.$ac_ext <<_ACEOF |
21916 | /* confdefs.h. */ |
22449 | /* confdefs.h. */ |
21917 | _ACEOF |
22450 | _ACEOF |
21918 | cat confdefs.h >>conftest.$ac_ext |
22451 | cat confdefs.h >>conftest.$ac_ext |
21919 | cat >>conftest.$ac_ext <<_ACEOF |
22452 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21926 | ; |
22459 | ; |
21927 | return 0; |
22460 | return 0; |
21928 | } |
22461 | } |
21929 | _ACEOF |
22462 | _ACEOF |
21930 | rm -f conftest.$ac_objext |
22463 | rm -f conftest.$ac_objext |
|
|
22464 | if { (ac_try="$ac_compile" |
|
|
22465 | case "(($ac_try" in |
|
|
22466 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22467 | *) ac_try_echo=$ac_try;; |
|
|
22468 | esac |
21931 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22469 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21932 | (eval $ac_compile) 2>conftest.er1 |
22470 | (eval "$ac_compile") 2>conftest.er1 |
21933 | ac_status=$? |
22471 | ac_status=$? |
21934 | grep -v '^ *+' conftest.er1 >conftest.err |
22472 | grep -v '^ *+' conftest.er1 >conftest.err |
21935 | rm -f conftest.er1 |
22473 | rm -f conftest.er1 |
21936 | cat conftest.err >&5 |
22474 | cat conftest.err >&5 |
21937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22475 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21938 | (exit $ac_status); } && |
22476 | (exit $ac_status); } && { |
21939 | { ac_try='test -z "$ac_c_werror_flag" |
22477 | test -z "$ac_c_werror_flag" || |
21940 | || test ! -s conftest.err' |
22478 | test ! -s conftest.err |
21941 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22479 | } && test -s conftest.$ac_objext; then |
21942 | (eval $ac_try) 2>&5 |
|
|
21943 | ac_status=$? |
|
|
21944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21945 | (exit $ac_status); }; } && |
|
|
21946 | { ac_try='test -s conftest.$ac_objext' |
|
|
21947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21948 | (eval $ac_try) 2>&5 |
|
|
21949 | ac_status=$? |
|
|
21950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21951 | (exit $ac_status); }; }; then |
|
|
21952 | : |
22480 | : |
21953 | else |
22481 | else |
21954 | echo "$as_me: failed program was:" >&5 |
22482 | echo "$as_me: failed program was:" >&5 |
21955 | sed 's/^/| /' conftest.$ac_ext >&5 |
22483 | sed 's/^/| /' conftest.$ac_ext >&5 |
21956 | |
22484 | |
21957 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22485 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
21958 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22486 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
21959 | { (exit 1); exit 1; }; } |
22487 | { (exit 1); exit 1; }; } |
21960 | fi |
22488 | fi |
|
|
22489 | |
21961 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22490 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21962 | echo "$as_me:$LINENO: result: yes" >&5 |
22491 | { echo "$as_me:$LINENO: result: yes" >&5 |
21963 | echo "${ECHO_T}yes" >&6 |
22492 | echo "${ECHO_T}yes" >&6; } |
21964 | echo "$as_me:$LINENO: checking that size of void* is " >&5 |
22493 | { echo "$as_me:$LINENO: checking that size of void* is " >&5 |
21965 | echo $ECHO_N "checking that size of void* is ... $ECHO_C" >&6 |
22494 | echo $ECHO_N "checking that size of void* is ... $ECHO_C" >&6; } |
21966 | cat >conftest.$ac_ext <<_ACEOF |
22495 | cat >conftest.$ac_ext <<_ACEOF |
21967 | /* confdefs.h. */ |
22496 | /* confdefs.h. */ |
21968 | _ACEOF |
22497 | _ACEOF |
21969 | cat confdefs.h >>conftest.$ac_ext |
22498 | cat confdefs.h >>conftest.$ac_ext |
21970 | cat >>conftest.$ac_ext <<_ACEOF |
22499 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
21977 | ; |
22506 | ; |
21978 | return 0; |
22507 | return 0; |
21979 | } |
22508 | } |
21980 | _ACEOF |
22509 | _ACEOF |
21981 | rm -f conftest.$ac_objext |
22510 | rm -f conftest.$ac_objext |
|
|
22511 | if { (ac_try="$ac_compile" |
|
|
22512 | case "(($ac_try" in |
|
|
22513 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22514 | *) ac_try_echo=$ac_try;; |
|
|
22515 | esac |
21982 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22516 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
21983 | (eval $ac_compile) 2>conftest.er1 |
22517 | (eval "$ac_compile") 2>conftest.er1 |
21984 | ac_status=$? |
22518 | ac_status=$? |
21985 | grep -v '^ *+' conftest.er1 >conftest.err |
22519 | grep -v '^ *+' conftest.er1 >conftest.err |
21986 | rm -f conftest.er1 |
22520 | rm -f conftest.er1 |
21987 | cat conftest.err >&5 |
22521 | cat conftest.err >&5 |
21988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22522 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21989 | (exit $ac_status); } && |
22523 | (exit $ac_status); } && { |
21990 | { ac_try='test -z "$ac_c_werror_flag" |
22524 | test -z "$ac_c_werror_flag" || |
21991 | || test ! -s conftest.err' |
22525 | test ! -s conftest.err |
21992 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22526 | } && test -s conftest.$ac_objext; then |
21993 | (eval $ac_try) 2>&5 |
|
|
21994 | ac_status=$? |
|
|
21995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
21996 | (exit $ac_status); }; } && |
|
|
21997 | { ac_try='test -s conftest.$ac_objext' |
|
|
21998 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
21999 | (eval $ac_try) 2>&5 |
|
|
22000 | ac_status=$? |
|
|
22001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22002 | (exit $ac_status); }; }; then |
|
|
22003 | : |
22527 | : |
22004 | else |
22528 | else |
22005 | echo "$as_me: failed program was:" >&5 |
22529 | echo "$as_me: failed program was:" >&5 |
22006 | sed 's/^/| /' conftest.$ac_ext >&5 |
22530 | sed 's/^/| /' conftest.$ac_ext >&5 |
22007 | |
22531 | |
22008 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22532 | { { echo "$as_me:$LINENO: error: can not build a default inttypes.h" >&5 |
22009 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22533 | echo "$as_me: error: can not build a default inttypes.h" >&2;} |
22010 | { (exit 1); exit 1; }; } |
22534 | { (exit 1); exit 1; }; } |
22011 | fi |
22535 | fi |
|
|
22536 | |
22012 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22537 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22013 | echo "$as_me:$LINENO: result: yes" >&5 |
22538 | { echo "$as_me:$LINENO: result: yes" >&5 |
22014 | echo "${ECHO_T}yes" >&6 |
22539 | echo "${ECHO_T}yes" >&6; } |
22015 | ac_cv_header_stdint_test="yes" |
22540 | ac_cv_header_stdint_test="yes" |
22016 | else |
22541 | else |
22017 | ac_cv_header_stdint_test="no" |
22542 | ac_cv_header_stdint_test="no" |
22018 | fi |
22543 | fi |
22019 | |
22544 | |
22020 | # ----------------- DONE inttypes.h checks START header ------------- |
22545 | # ----------------- DONE inttypes.h checks START header ------------- |
22021 | _ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp` |
22546 | _ac_stdint_h=`echo "_$ac_stdint_h" | $as_tr_cpp` |
22022 | echo "$as_me:$LINENO: result: creating $ac_stdint_h : $_ac_stdint_h" >&5 |
22547 | { echo "$as_me:$LINENO: result: creating $ac_stdint_h : $_ac_stdint_h" >&5 |
22023 | echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6 |
22548 | echo "${ECHO_T}creating $ac_stdint_h : $_ac_stdint_h" >&6; } |
22024 | echo "#ifndef" $_ac_stdint_h >$ac_stdint_h |
22549 | echo "#ifndef" $_ac_stdint_h >$ac_stdint_h |
22025 | echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h |
22550 | echo "#define" $_ac_stdint_h "1" >>$ac_stdint_h |
22026 | echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h |
22551 | echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint_h |
22027 | echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h |
22552 | echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint_h |
22028 | if test "$GCC" = "yes" ; then |
22553 | if test "$GCC" = "yes" ; then |
… | |
… | |
22044 | fi |
22569 | fi |
22045 | |
22570 | |
22046 | # ----------------- See if int_least and int_fast types are present |
22571 | # ----------------- See if int_least and int_fast types are present |
22047 | unset ac_cv_type_int_least32_t |
22572 | unset ac_cv_type_int_least32_t |
22048 | unset ac_cv_type_int_fast32_t |
22573 | unset ac_cv_type_int_fast32_t |
22049 | echo "$as_me:$LINENO: checking for int_least32_t" >&5 |
22574 | { echo "$as_me:$LINENO: checking for int_least32_t" >&5 |
22050 | echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6 |
22575 | echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6; } |
22051 | if test "${ac_cv_type_int_least32_t+set}" = set; then |
22576 | if test "${ac_cv_type_int_least32_t+set}" = set; then |
22052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22577 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22053 | else |
22578 | else |
22054 | cat >conftest.$ac_ext <<_ACEOF |
22579 | cat >conftest.$ac_ext <<_ACEOF |
22055 | /* confdefs.h. */ |
22580 | /* confdefs.h. */ |
… | |
… | |
22057 | cat confdefs.h >>conftest.$ac_ext |
22582 | cat confdefs.h >>conftest.$ac_ext |
22058 | cat >>conftest.$ac_ext <<_ACEOF |
22583 | cat >>conftest.$ac_ext <<_ACEOF |
22059 | /* end confdefs.h. */ |
22584 | /* end confdefs.h. */ |
22060 | #include <$ac_cv_header_stdint> |
22585 | #include <$ac_cv_header_stdint> |
22061 | |
22586 | |
|
|
22587 | typedef int_least32_t ac__type_new_; |
22062 | int |
22588 | int |
22063 | main () |
22589 | main () |
22064 | { |
22590 | { |
22065 | if ((int_least32_t *) 0) |
22591 | if ((ac__type_new_ *) 0) |
22066 | return 0; |
22592 | return 0; |
22067 | if (sizeof (int_least32_t)) |
22593 | if (sizeof (ac__type_new_)) |
22068 | return 0; |
22594 | return 0; |
22069 | ; |
22595 | ; |
22070 | return 0; |
22596 | return 0; |
22071 | } |
22597 | } |
22072 | _ACEOF |
22598 | _ACEOF |
22073 | rm -f conftest.$ac_objext |
22599 | rm -f conftest.$ac_objext |
|
|
22600 | if { (ac_try="$ac_compile" |
|
|
22601 | case "(($ac_try" in |
|
|
22602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22603 | *) ac_try_echo=$ac_try;; |
|
|
22604 | esac |
22074 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22605 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22075 | (eval $ac_compile) 2>conftest.er1 |
22606 | (eval "$ac_compile") 2>conftest.er1 |
22076 | ac_status=$? |
22607 | ac_status=$? |
22077 | grep -v '^ *+' conftest.er1 >conftest.err |
22608 | grep -v '^ *+' conftest.er1 >conftest.err |
22078 | rm -f conftest.er1 |
22609 | rm -f conftest.er1 |
22079 | cat conftest.err >&5 |
22610 | cat conftest.err >&5 |
22080 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22081 | (exit $ac_status); } && |
22612 | (exit $ac_status); } && { |
22082 | { ac_try='test -z "$ac_c_werror_flag" |
22613 | test -z "$ac_c_werror_flag" || |
22083 | || test ! -s conftest.err' |
22614 | test ! -s conftest.err |
22084 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22615 | } && test -s conftest.$ac_objext; then |
22085 | (eval $ac_try) 2>&5 |
|
|
22086 | ac_status=$? |
|
|
22087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22088 | (exit $ac_status); }; } && |
|
|
22089 | { ac_try='test -s conftest.$ac_objext' |
|
|
22090 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22091 | (eval $ac_try) 2>&5 |
|
|
22092 | ac_status=$? |
|
|
22093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22094 | (exit $ac_status); }; }; then |
|
|
22095 | ac_cv_type_int_least32_t=yes |
22616 | ac_cv_type_int_least32_t=yes |
22096 | else |
22617 | else |
22097 | echo "$as_me: failed program was:" >&5 |
22618 | echo "$as_me: failed program was:" >&5 |
22098 | sed 's/^/| /' conftest.$ac_ext >&5 |
22619 | sed 's/^/| /' conftest.$ac_ext >&5 |
22099 | |
22620 | |
22100 | ac_cv_type_int_least32_t=no |
22621 | ac_cv_type_int_least32_t=no |
22101 | fi |
22622 | fi |
|
|
22623 | |
22102 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22624 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22103 | fi |
22625 | fi |
22104 | echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 |
22626 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 |
22105 | echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6 |
22627 | echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6; } |
22106 | |
22628 | |
22107 | echo "$as_me:$LINENO: checking for int_fast32_t" >&5 |
22629 | { echo "$as_me:$LINENO: checking for int_fast32_t" >&5 |
22108 | echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6 |
22630 | echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6; } |
22109 | if test "${ac_cv_type_int_fast32_t+set}" = set; then |
22631 | if test "${ac_cv_type_int_fast32_t+set}" = set; then |
22110 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22111 | else |
22633 | else |
22112 | cat >conftest.$ac_ext <<_ACEOF |
22634 | cat >conftest.$ac_ext <<_ACEOF |
22113 | /* confdefs.h. */ |
22635 | /* confdefs.h. */ |
… | |
… | |
22115 | cat confdefs.h >>conftest.$ac_ext |
22637 | cat confdefs.h >>conftest.$ac_ext |
22116 | cat >>conftest.$ac_ext <<_ACEOF |
22638 | cat >>conftest.$ac_ext <<_ACEOF |
22117 | /* end confdefs.h. */ |
22639 | /* end confdefs.h. */ |
22118 | #include<$ac_cv_header_stdint> |
22640 | #include<$ac_cv_header_stdint> |
22119 | |
22641 | |
|
|
22642 | typedef int_fast32_t ac__type_new_; |
22120 | int |
22643 | int |
22121 | main () |
22644 | main () |
22122 | { |
22645 | { |
22123 | if ((int_fast32_t *) 0) |
22646 | if ((ac__type_new_ *) 0) |
22124 | return 0; |
22647 | return 0; |
22125 | if (sizeof (int_fast32_t)) |
22648 | if (sizeof (ac__type_new_)) |
22126 | return 0; |
22649 | return 0; |
22127 | ; |
22650 | ; |
22128 | return 0; |
22651 | return 0; |
22129 | } |
22652 | } |
22130 | _ACEOF |
22653 | _ACEOF |
22131 | rm -f conftest.$ac_objext |
22654 | rm -f conftest.$ac_objext |
|
|
22655 | if { (ac_try="$ac_compile" |
|
|
22656 | case "(($ac_try" in |
|
|
22657 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
22658 | *) ac_try_echo=$ac_try;; |
|
|
22659 | esac |
22132 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
22660 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22133 | (eval $ac_compile) 2>conftest.er1 |
22661 | (eval "$ac_compile") 2>conftest.er1 |
22134 | ac_status=$? |
22662 | ac_status=$? |
22135 | grep -v '^ *+' conftest.er1 >conftest.err |
22663 | grep -v '^ *+' conftest.er1 >conftest.err |
22136 | rm -f conftest.er1 |
22664 | rm -f conftest.er1 |
22137 | cat conftest.err >&5 |
22665 | cat conftest.err >&5 |
22138 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22666 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22139 | (exit $ac_status); } && |
22667 | (exit $ac_status); } && { |
22140 | { ac_try='test -z "$ac_c_werror_flag" |
22668 | test -z "$ac_c_werror_flag" || |
22141 | || test ! -s conftest.err' |
22669 | test ! -s conftest.err |
22142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
22670 | } && test -s conftest.$ac_objext; then |
22143 | (eval $ac_try) 2>&5 |
|
|
22144 | ac_status=$? |
|
|
22145 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22146 | (exit $ac_status); }; } && |
|
|
22147 | { ac_try='test -s conftest.$ac_objext' |
|
|
22148 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22149 | (eval $ac_try) 2>&5 |
|
|
22150 | ac_status=$? |
|
|
22151 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22152 | (exit $ac_status); }; }; then |
|
|
22153 | ac_cv_type_int_fast32_t=yes |
22671 | ac_cv_type_int_fast32_t=yes |
22154 | else |
22672 | else |
22155 | echo "$as_me: failed program was:" >&5 |
22673 | echo "$as_me: failed program was:" >&5 |
22156 | sed 's/^/| /' conftest.$ac_ext >&5 |
22674 | sed 's/^/| /' conftest.$ac_ext >&5 |
22157 | |
22675 | |
22158 | ac_cv_type_int_fast32_t=no |
22676 | ac_cv_type_int_fast32_t=no |
22159 | fi |
22677 | fi |
|
|
22678 | |
22160 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
22679 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22161 | fi |
22680 | fi |
22162 | echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 |
22681 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 |
22163 | echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6 |
22682 | echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6; } |
22164 | |
22683 | |
22165 | |
22684 | |
22166 | if test "$ac_cv_header_stdint" != "stddef.h" ; then |
22685 | if test "$ac_cv_header_stdint" != "stddef.h" ; then |
22167 | if test "$ac_cv_header_stdint" != "stdint.h" ; then |
22686 | if test "$ac_cv_header_stdint" != "stdint.h" ; then |
22168 | echo "$as_me:$LINENO: result: ..adding include stddef.h" >&5 |
22687 | { echo "$as_me:$LINENO: result: ..adding include stddef.h" >&5 |
22169 | echo "${ECHO_T}..adding include stddef.h" >&6 |
22688 | echo "${ECHO_T}..adding include stddef.h" >&6; } |
22170 | echo "#include <stddef.h>" >>$ac_stdint_h |
22689 | echo "#include <stddef.h>" >>$ac_stdint_h |
22171 | fi ; fi |
22690 | fi ; fi |
22172 | echo "$as_me:$LINENO: result: ..adding include $ac_cv_header_stdint" >&5 |
22691 | { echo "$as_me:$LINENO: result: ..adding include $ac_cv_header_stdint" >&5 |
22173 | echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6 |
22692 | echo "${ECHO_T}..adding include $ac_cv_header_stdint" >&6; } |
22174 | echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h |
22693 | echo "#include <$ac_cv_header_stdint>" >>$ac_stdint_h |
22175 | echo "" >>$ac_stdint_h |
22694 | echo "" >>$ac_stdint_h |
22176 | |
22695 | |
22177 | # ----------------- DONE header START basic int types ------------- |
22696 | # ----------------- DONE header START basic int types ------------- |
22178 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
22697 | if test "$ac_cv_header_stdint_x" = "no-file" ; then |
22179 | echo "$as_me:$LINENO: result: ... need to look at C basic types" >&5 |
22698 | { echo "$as_me:$LINENO: result: ... need to look at C basic types" >&5 |
22180 | echo "${ECHO_T}... need to look at C basic types" >&6 |
22699 | echo "${ECHO_T}... need to look at C basic types" >&6; } |
22181 | else |
22700 | else |
22182 | echo "$as_me:$LINENO: result: ... seen good stdint.h inttypes" >&5 |
22701 | { echo "$as_me:$LINENO: result: ... seen good stdint.h inttypes" >&5 |
22183 | echo "${ECHO_T}... seen good stdint.h inttypes" >&6 |
22702 | echo "${ECHO_T}... seen good stdint.h inttypes" >&6; } |
22184 | fi |
22703 | fi |
22185 | |
22704 | |
22186 | if test "$ac_cv_header_stdint_u" != "no-file" ; then |
22705 | if test "$ac_cv_header_stdint_u" != "no-file" ; then |
22187 | echo "$as_me:$LINENO: result: ... seen bsd/sysv typedefs" >&5 |
22706 | { echo "$as_me:$LINENO: result: ... seen bsd/sysv typedefs" >&5 |
22188 | echo "${ECHO_T}... seen bsd/sysv typedefs" >&6 |
22707 | echo "${ECHO_T}... seen bsd/sysv typedefs" >&6; } |
22189 | cat >>$ac_stdint_h <<EOF |
22708 | cat >>$ac_stdint_h <<EOF |
22190 | |
22709 | |
22191 | /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */ |
22710 | /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */ |
22192 | typedef u_int8_t uint8_t; |
22711 | typedef u_int8_t uint8_t; |
22193 | typedef u_int16_t uint16_t; |
22712 | typedef u_int16_t uint16_t; |
… | |
… | |
22211 | cat >>$ac_stdint_h <<EOF |
22730 | cat >>$ac_stdint_h <<EOF |
22212 | /* ------------ BITSPECIFIC INTTYPES SECTION --------------- */ |
22731 | /* ------------ BITSPECIFIC INTTYPES SECTION --------------- */ |
22213 | EOF |
22732 | EOF |
22214 | t="typedefs for a" |
22733 | t="typedefs for a" |
22215 | case "$ac_cv_sizeof_X" in |
22734 | case "$ac_cv_sizeof_X" in |
22216 | 1:2:2:2:4) echo "$as_me:$LINENO: result: ..adding $t normal 16-bit system" >&5 |
22735 | 1:2:2:2:4) { echo "$as_me:$LINENO: result: ..adding $t normal 16-bit system" >&5 |
22217 | echo "${ECHO_T}..adding $t normal 16-bit system" >&6 |
22736 | echo "${ECHO_T}..adding $t normal 16-bit system" >&6; } |
22218 | cat >>$ac_stdint_h <<EOF |
22737 | cat >>$ac_stdint_h <<EOF |
22219 | /* a normal 16-bit system */ |
22738 | /* a normal 16-bit system */ |
22220 | typedef unsigned char uint8_t; |
22739 | typedef unsigned char uint8_t; |
22221 | typedef unsigned short uint16_t; |
22740 | typedef unsigned short uint16_t; |
22222 | typedef unsigned long uint32_t; |
22741 | typedef unsigned long uint32_t; |
… | |
… | |
22226 | typedef short int16_t; |
22745 | typedef short int16_t; |
22227 | typedef long int32_t; |
22746 | typedef long int32_t; |
22228 | #endif |
22747 | #endif |
22229 | EOF |
22748 | EOF |
22230 | ;; |
22749 | ;; |
22231 | 1:2:2:4:4) echo "$as_me:$LINENO: result: ..adding $t 32-bit system derived from a 16-bit" >&5 |
22750 | 1:2:2:4:4) { echo "$as_me:$LINENO: result: ..adding $t 32-bit system derived from a 16-bit" >&5 |
22232 | echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6 |
22751 | echo "${ECHO_T}..adding $t 32-bit system derived from a 16-bit" >&6; } |
22233 | cat >>$ac_stdint_h <<EOF |
22752 | cat >>$ac_stdint_h <<EOF |
22234 | /* a 32-bit system derived from a 16-bit */ |
22753 | /* a 32-bit system derived from a 16-bit */ |
22235 | typedef unsigned char uint8_t; |
22754 | typedef unsigned char uint8_t; |
22236 | typedef unsigned short uint16_t; |
22755 | typedef unsigned short uint16_t; |
22237 | typedef unsigned int uint32_t; |
22756 | typedef unsigned int uint32_t; |
… | |
… | |
22241 | typedef short int16_t; |
22760 | typedef short int16_t; |
22242 | typedef int int32_t; |
22761 | typedef int int32_t; |
22243 | #endif |
22762 | #endif |
22244 | EOF |
22763 | EOF |
22245 | ;; |
22764 | ;; |
22246 | 1:2:4:4:4) echo "$as_me:$LINENO: result: ..adding $t normal 32-bit system" >&5 |
22765 | 1:2:4:4:4) { echo "$as_me:$LINENO: result: ..adding $t normal 32-bit system" >&5 |
22247 | echo "${ECHO_T}..adding $t normal 32-bit system" >&6 |
22766 | echo "${ECHO_T}..adding $t normal 32-bit system" >&6; } |
22248 | cat >>$ac_stdint_h <<EOF |
22767 | cat >>$ac_stdint_h <<EOF |
22249 | /* a normal 32-bit system */ |
22768 | /* a normal 32-bit system */ |
22250 | typedef unsigned char uint8_t; |
22769 | typedef unsigned char uint8_t; |
22251 | typedef unsigned short uint16_t; |
22770 | typedef unsigned short uint16_t; |
22252 | typedef unsigned int uint32_t; |
22771 | typedef unsigned int uint32_t; |
… | |
… | |
22256 | typedef short int16_t; |
22775 | typedef short int16_t; |
22257 | typedef int int32_t; |
22776 | typedef int int32_t; |
22258 | #endif |
22777 | #endif |
22259 | EOF |
22778 | EOF |
22260 | ;; |
22779 | ;; |
22261 | 1:2:4:4:8) echo "$as_me:$LINENO: result: ..adding $t 32-bit system prepared for 64-bit" >&5 |
22780 | 1:2:4:4:8) { echo "$as_me:$LINENO: result: ..adding $t 32-bit system prepared for 64-bit" >&5 |
22262 | echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6 |
22781 | echo "${ECHO_T}..adding $t 32-bit system prepared for 64-bit" >&6; } |
22263 | cat >>$ac_stdint_h <<EOF |
22782 | cat >>$ac_stdint_h <<EOF |
22264 | |
22783 | |
22265 | /* a 32-bit system prepared for 64-bit */ |
22784 | /* a 32-bit system prepared for 64-bit */ |
22266 | typedef unsigned char uint8_t; |
22785 | typedef unsigned char uint8_t; |
22267 | typedef unsigned short uint16_t; |
22786 | typedef unsigned short uint16_t; |
… | |
… | |
22272 | typedef short int16_t; |
22791 | typedef short int16_t; |
22273 | typedef int int32_t; |
22792 | typedef int int32_t; |
22274 | #endif |
22793 | #endif |
22275 | EOF |
22794 | EOF |
22276 | ;; |
22795 | ;; |
22277 | 1:2:4:8:8) echo "$as_me:$LINENO: result: ..adding $t normal 64-bit system" >&5 |
22796 | 1:2:4:8:8) { echo "$as_me:$LINENO: result: ..adding $t normal 64-bit system" >&5 |
22278 | echo "${ECHO_T}..adding $t normal 64-bit system" >&6 |
22797 | echo "${ECHO_T}..adding $t normal 64-bit system" >&6; } |
22279 | cat >>$ac_stdint_h <<EOF |
22798 | cat >>$ac_stdint_h <<EOF |
22280 | |
22799 | |
22281 | /* a normal 64-bit system */ |
22800 | /* a normal 64-bit system */ |
22282 | typedef unsigned char uint8_t; |
22801 | typedef unsigned char uint8_t; |
22283 | typedef unsigned short uint16_t; |
22802 | typedef unsigned short uint16_t; |
… | |
… | |
22288 | typedef short int16_t; |
22807 | typedef short int16_t; |
22289 | typedef int int32_t; |
22808 | typedef int int32_t; |
22290 | #endif |
22809 | #endif |
22291 | EOF |
22810 | EOF |
22292 | ;; |
22811 | ;; |
22293 | 1:2:4:8:4) echo "$as_me:$LINENO: result: ..adding $t 64-bit system derived from a 32-bit" >&5 |
22812 | 1:2:4:8:4) { echo "$as_me:$LINENO: result: ..adding $t 64-bit system derived from a 32-bit" >&5 |
22294 | echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6 |
22813 | echo "${ECHO_T}..adding $t 64-bit system derived from a 32-bit" >&6; } |
22295 | cat >>$ac_stdint_h <<EOF |
22814 | cat >>$ac_stdint_h <<EOF |
22296 | |
22815 | |
22297 | /* a 64-bit system derived from a 32-bit system */ |
22816 | /* a 64-bit system derived from a 32-bit system */ |
22298 | typedef unsigned char uint8_t; |
22817 | typedef unsigned char uint8_t; |
22299 | typedef unsigned short uint16_t; |
22818 | typedef unsigned short uint16_t; |
… | |
… | |
22315 | esac |
22834 | esac |
22316 | fi |
22835 | fi |
22317 | |
22836 | |
22318 | # ------------- DONE basic int types START int64_t types ------------ |
22837 | # ------------- DONE basic int types START int64_t types ------------ |
22319 | if test "$ac_cv_type_uint64_t" = "yes" |
22838 | if test "$ac_cv_type_uint64_t" = "yes" |
22320 | then echo "$as_me:$LINENO: result: ... seen good uint64_t" >&5 |
22839 | then { echo "$as_me:$LINENO: result: ... seen good uint64_t" >&5 |
22321 | echo "${ECHO_T}... seen good uint64_t" >&6 |
22840 | echo "${ECHO_T}... seen good uint64_t" >&6; } |
22322 | cat >>$ac_stdint_h <<EOF |
22841 | cat >>$ac_stdint_h <<EOF |
22323 | |
22842 | |
22324 | /* system headers have good uint64_t */ |
22843 | /* system headers have good uint64_t */ |
22325 | #ifndef _HAVE_UINT64_T |
22844 | #ifndef _HAVE_UINT64_T |
22326 | #define _HAVE_UINT64_T |
22845 | #define _HAVE_UINT64_T |
22327 | #endif |
22846 | #endif |
22328 | EOF |
22847 | EOF |
22329 | |
22848 | |
22330 | elif test "$ac_cv_type_u_int64_t" = "yes" |
22849 | elif test "$ac_cv_type_u_int64_t" = "yes" |
22331 | then echo "$as_me:$LINENO: result: ..adding typedef u_int64_t uint64_t" >&5 |
22850 | then { echo "$as_me:$LINENO: result: ..adding typedef u_int64_t uint64_t" >&5 |
22332 | echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6 |
22851 | echo "${ECHO_T}..adding typedef u_int64_t uint64_t" >&6; } |
22333 | cat >>$ac_stdint_h <<EOF |
22852 | cat >>$ac_stdint_h <<EOF |
22334 | |
22853 | |
22335 | /* system headers have an u_int64_t */ |
22854 | /* system headers have an u_int64_t */ |
22336 | #ifndef _HAVE_UINT64_T |
22855 | #ifndef _HAVE_UINT64_T |
22337 | #define _HAVE_UINT64_T |
22856 | #define _HAVE_UINT64_T |
22338 | typedef u_int64_t uint64_t; |
22857 | typedef u_int64_t uint64_t; |
22339 | #endif |
22858 | #endif |
22340 | EOF |
22859 | EOF |
22341 | else echo "$as_me:$LINENO: result: ..adding generic uint64_t runtime checks" >&5 |
22860 | else { echo "$as_me:$LINENO: result: ..adding generic uint64_t runtime checks" >&5 |
22342 | echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6 |
22861 | echo "${ECHO_T}..adding generic uint64_t runtime checks" >&6; } |
22343 | cat >>$ac_stdint_h <<EOF |
22862 | cat >>$ac_stdint_h <<EOF |
22344 | |
22863 | |
22345 | /* -------------------- 64 BIT GENERIC SECTION -------------------- */ |
22864 | /* -------------------- 64 BIT GENERIC SECTION -------------------- */ |
22346 | /* here are some common heuristics using compiler runtime specifics */ |
22865 | /* here are some common heuristics using compiler runtime specifics */ |
22347 | #if defined __STDC_VERSION__ && defined __STDC_VERSION__ > 199901L |
22866 | #if defined __STDC_VERSION__ && defined __STDC_VERSION__ > 199901L |
… | |
… | |
22385 | #endif |
22904 | #endif |
22386 | EOF |
22905 | EOF |
22387 | |
22906 | |
22388 | # plus a default 64-bit for systems that are likely to be 64-bit ready |
22907 | # plus a default 64-bit for systems that are likely to be 64-bit ready |
22389 | case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in |
22908 | case "$ac_cv_sizeof_x:$ac_cv_sizeof_voidp:$ac_cv_sizeof_long" in |
22390 | 1:2:8:8) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22909 | 1:2:8:8) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22391 | echo "${ECHO_T}..adding uint64_t default" >&6 |
22910 | echo "${ECHO_T}..adding uint64_t default" >&6; } |
22392 | cat >>$ac_stdint_h <<EOF |
22911 | cat >>$ac_stdint_h <<EOF |
22393 | /* DEFAULT: */ |
22912 | /* DEFAULT: */ |
22394 | /* seen normal 64-bit system, CC has sizeof(long and void*) == 8 bytes */ |
22913 | /* seen normal 64-bit system, CC has sizeof(long and void*) == 8 bytes */ |
22395 | #ifndef _HAVE_UINT64_T |
22914 | #ifndef _HAVE_UINT64_T |
22396 | #define _HAVE_UINT64_T |
22915 | #define _HAVE_UINT64_T |
22397 | typedef long int64_t; |
22916 | typedef long int64_t; |
22398 | typedef unsigned long uint64_t; |
22917 | typedef unsigned long uint64_t; |
22399 | #endif |
22918 | #endif |
22400 | EOF |
22919 | EOF |
22401 | ;; |
22920 | ;; |
22402 | 1:2:4:8) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22921 | 1:2:4:8) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22403 | echo "${ECHO_T}..adding uint64_t default" >&6 |
22922 | echo "${ECHO_T}..adding uint64_t default" >&6; } |
22404 | cat >>$ac_stdint_h <<EOF |
22923 | cat >>$ac_stdint_h <<EOF |
22405 | /* DEFAULT: */ |
22924 | /* DEFAULT: */ |
22406 | /* seen 32-bit system prepared for 64-bit, CC has sizeof(long) == 8 bytes */ |
22925 | /* seen 32-bit system prepared for 64-bit, CC has sizeof(long) == 8 bytes */ |
22407 | #ifndef _HAVE_UINT64_T |
22926 | #ifndef _HAVE_UINT64_T |
22408 | #define _HAVE_UINT64_T |
22927 | #define _HAVE_UINT64_T |
22409 | typedef long int64_t; |
22928 | typedef long int64_t; |
22410 | typedef unsigned long uint64_t; |
22929 | typedef unsigned long uint64_t; |
22411 | #endif |
22930 | #endif |
22412 | EOF |
22931 | EOF |
22413 | ;; |
22932 | ;; |
22414 | 1:2:8:4) echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22933 | 1:2:8:4) { echo "$as_me:$LINENO: result: ..adding uint64_t default" >&5 |
22415 | echo "${ECHO_T}..adding uint64_t default" >&6 |
22934 | echo "${ECHO_T}..adding uint64_t default" >&6; } |
22416 | cat >>$ac_stdint_h <<EOF |
22935 | cat >>$ac_stdint_h <<EOF |
22417 | /* DEFAULT: */ |
22936 | /* DEFAULT: */ |
22418 | /* seen 64-bit derived from a 32-bit, CC has sizeof(long) == 4 bytes */ |
22937 | /* seen 64-bit derived from a 32-bit, CC has sizeof(long) == 4 bytes */ |
22419 | #ifndef _HAVE_UINT64_T |
22938 | #ifndef _HAVE_UINT64_T |
22420 | #define _HAVE_UINT64_T |
22939 | #define _HAVE_UINT64_T |
… | |
… | |
22470 | typedef unsigned long uintptr_t; |
22989 | typedef unsigned long uintptr_t; |
22471 | typedef long intptr_t; |
22990 | typedef long intptr_t; |
22472 | EOF |
22991 | EOF |
22473 | ;; |
22992 | ;; |
22474 | esac |
22993 | esac |
22475 | echo "$as_me:$LINENO: result: ..adding typedef $a intptr_t" >&5 |
22994 | { echo "$as_me:$LINENO: result: ..adding typedef $a intptr_t" >&5 |
22476 | echo "${ECHO_T}..adding typedef $a intptr_t" >&6 |
22995 | echo "${ECHO_T}..adding typedef $a intptr_t" >&6; } |
22477 | fi |
22996 | fi |
22478 | |
22997 | |
22479 | # ------------- DONE intptr types START int_least types ------------ |
22998 | # ------------- DONE intptr types START int_least types ------------ |
22480 | if test "$ac_cv_type_int_least32_t" = "no"; then |
22999 | if test "$ac_cv_type_int_least32_t" = "no"; then |
22481 | echo "$as_me:$LINENO: result: ..adding generic int_least-types" >&5 |
23000 | { echo "$as_me:$LINENO: result: ..adding generic int_least-types" >&5 |
22482 | echo "${ECHO_T}..adding generic int_least-types" >&6 |
23001 | echo "${ECHO_T}..adding generic int_least-types" >&6; } |
22483 | cat >>$ac_stdint_h <<EOF |
23002 | cat >>$ac_stdint_h <<EOF |
22484 | |
23003 | |
22485 | /* --------------GENERIC INT_LEAST ------------------ */ |
23004 | /* --------------GENERIC INT_LEAST ------------------ */ |
22486 | |
23005 | |
22487 | typedef int8_t int_least8_t; |
23006 | typedef int8_t int_least8_t; |
… | |
… | |
22500 | EOF |
23019 | EOF |
22501 | fi |
23020 | fi |
22502 | |
23021 | |
22503 | # ------------- DONE intptr types START int_least types ------------ |
23022 | # ------------- DONE intptr types START int_least types ------------ |
22504 | if test "$ac_cv_type_int_fast32_t" = "no"; then |
23023 | if test "$ac_cv_type_int_fast32_t" = "no"; then |
22505 | echo "$as_me:$LINENO: result: ..adding generic int_fast-types" >&5 |
23024 | { echo "$as_me:$LINENO: result: ..adding generic int_fast-types" >&5 |
22506 | echo "${ECHO_T}..adding generic int_fast-types" >&6 |
23025 | echo "${ECHO_T}..adding generic int_fast-types" >&6; } |
22507 | cat >>$ac_stdint_h <<EOF |
23026 | cat >>$ac_stdint_h <<EOF |
22508 | |
23027 | |
22509 | /* --------------GENERIC INT_FAST ------------------ */ |
23028 | /* --------------GENERIC INT_FAST ------------------ */ |
22510 | |
23029 | |
22511 | typedef int8_t int_fast8_t; |
23030 | typedef int8_t int_fast8_t; |
… | |
… | |
22535 | typedef unsigned long uintmax_t; |
23054 | typedef unsigned long uintmax_t; |
22536 | #endif |
23055 | #endif |
22537 | EOF |
23056 | EOF |
22538 | fi |
23057 | fi |
22539 | |
23058 | |
22540 | echo "$as_me:$LINENO: result: ... DONE $ac_stdint_h" >&5 |
23059 | { echo "$as_me:$LINENO: result: ... DONE $ac_stdint_h" >&5 |
22541 | echo "${ECHO_T}... DONE $ac_stdint_h" >&6 |
23060 | echo "${ECHO_T}... DONE $ac_stdint_h" >&6; } |
22542 | cat >>$ac_stdint_h <<EOF |
23061 | cat >>$ac_stdint_h <<EOF |
22543 | |
23062 | |
22544 | /* once */ |
23063 | /* once */ |
22545 | #endif |
23064 | #endif |
22546 | #endif |
23065 | #endif |
… | |
… | |
22576 | |
23095 | |
22577 | #------------------------------------------------------------------------------- |
23096 | #------------------------------------------------------------------------------- |
22578 | # __FUNCTION__ |
23097 | # __FUNCTION__ |
22579 | #------------------------------------------------------------------------------- |
23098 | #------------------------------------------------------------------------------- |
22580 | |
23099 | |
22581 | echo "$as_me:$LINENO: checking __FUNCTION__" >&5 |
23100 | { echo "$as_me:$LINENO: checking __FUNCTION__" >&5 |
22582 | echo $ECHO_N "checking __FUNCTION__... $ECHO_C" >&6 |
23101 | echo $ECHO_N "checking __FUNCTION__... $ECHO_C" >&6; } |
22583 | func=none |
23102 | func=none |
22584 | cat >conftest.$ac_ext <<_ACEOF |
23103 | cat >conftest.$ac_ext <<_ACEOF |
22585 | int x() { f(__FUNCTION__); } |
23104 | int x() { f(__FUNCTION__); } |
22586 | _ACEOF |
23105 | _ACEOF |
22587 | rm -f conftest.$ac_objext |
23106 | rm -f conftest.$ac_objext |
|
|
23107 | if { (ac_try="$ac_compile" |
|
|
23108 | case "(($ac_try" in |
|
|
23109 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23110 | *) ac_try_echo=$ac_try;; |
|
|
23111 | esac |
22588 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23112 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22589 | (eval $ac_compile) 2>conftest.er1 |
23113 | (eval "$ac_compile") 2>conftest.er1 |
22590 | ac_status=$? |
23114 | ac_status=$? |
22591 | grep -v '^ *+' conftest.er1 >conftest.err |
23115 | grep -v '^ *+' conftest.er1 >conftest.err |
22592 | rm -f conftest.er1 |
23116 | rm -f conftest.er1 |
22593 | cat conftest.err >&5 |
23117 | cat conftest.err >&5 |
22594 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23118 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22595 | (exit $ac_status); } && |
23119 | (exit $ac_status); } && { |
22596 | { ac_try='test -z "$ac_c_werror_flag" |
23120 | test -z "$ac_c_werror_flag" || |
22597 | || test ! -s conftest.err' |
23121 | test ! -s conftest.err |
22598 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23122 | } && test -s conftest.$ac_objext; then |
22599 | (eval $ac_try) 2>&5 |
|
|
22600 | ac_status=$? |
|
|
22601 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22602 | (exit $ac_status); }; } && |
|
|
22603 | { ac_try='test -s conftest.$ac_objext' |
|
|
22604 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22605 | (eval $ac_try) 2>&5 |
|
|
22606 | ac_status=$? |
|
|
22607 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22608 | (exit $ac_status); }; }; then |
|
|
22609 | echo "$as_me:$LINENO: result: __FUNCTION__" >&5 |
23123 | { echo "$as_me:$LINENO: result: __FUNCTION__" >&5 |
22610 | echo "${ECHO_T}__FUNCTION__" >&6 |
23124 | echo "${ECHO_T}__FUNCTION__" >&6; } |
22611 | |
23125 | |
22612 | cat >>confdefs.h <<\_ACEOF |
23126 | cat >>confdefs.h <<\_ACEOF |
22613 | #define HAVE___FUNCTION__ |
23127 | #define HAVE___FUNCTION__ |
22614 | _ACEOF |
23128 | _ACEOF |
22615 | |
23129 | |
22616 | else |
23130 | else |
22617 | echo "$as_me: failed program was:" >&5 |
23131 | echo "$as_me: failed program was:" >&5 |
22618 | sed 's/^/| /' conftest.$ac_ext >&5 |
23132 | sed 's/^/| /' conftest.$ac_ext >&5 |
22619 | |
23133 | |
22620 | cat >conftest.$ac_ext <<_ACEOF |
23134 | cat >conftest.$ac_ext <<_ACEOF |
22621 | int x() { f(__func__); } |
23135 | int x() { f(__func__); } |
22622 | _ACEOF |
23136 | _ACEOF |
22623 | rm -f conftest.$ac_objext |
23137 | rm -f conftest.$ac_objext |
|
|
23138 | if { (ac_try="$ac_compile" |
|
|
23139 | case "(($ac_try" in |
|
|
23140 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23141 | *) ac_try_echo=$ac_try;; |
|
|
23142 | esac |
22624 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
23143 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22625 | (eval $ac_compile) 2>conftest.er1 |
23144 | (eval "$ac_compile") 2>conftest.er1 |
22626 | ac_status=$? |
23145 | ac_status=$? |
22627 | grep -v '^ *+' conftest.er1 >conftest.err |
23146 | grep -v '^ *+' conftest.er1 >conftest.err |
22628 | rm -f conftest.er1 |
23147 | rm -f conftest.er1 |
22629 | cat conftest.err >&5 |
23148 | cat conftest.err >&5 |
22630 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23149 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22631 | (exit $ac_status); } && |
23150 | (exit $ac_status); } && { |
22632 | { ac_try='test -z "$ac_c_werror_flag" |
23151 | test -z "$ac_c_werror_flag" || |
22633 | || test ! -s conftest.err' |
23152 | test ! -s conftest.err |
22634 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23153 | } && test -s conftest.$ac_objext; then |
22635 | (eval $ac_try) 2>&5 |
|
|
22636 | ac_status=$? |
|
|
22637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22638 | (exit $ac_status); }; } && |
|
|
22639 | { ac_try='test -s conftest.$ac_objext' |
|
|
22640 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22641 | (eval $ac_try) 2>&5 |
|
|
22642 | ac_status=$? |
|
|
22643 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22644 | (exit $ac_status); }; }; then |
|
|
22645 | echo "$as_me:$LINENO: result: __func__" >&5 |
23154 | { echo "$as_me:$LINENO: result: __func__" >&5 |
22646 | echo "${ECHO_T}__func__" >&6 |
23155 | echo "${ECHO_T}__func__" >&6; } |
22647 | |
23156 | |
22648 | cat >>confdefs.h <<\_ACEOF |
23157 | cat >>confdefs.h <<\_ACEOF |
22649 | #define HAVE___FUNC__ |
23158 | #define HAVE___FUNC__ |
22650 | _ACEOF |
23159 | _ACEOF |
22651 | |
23160 | |
22652 | else |
23161 | else |
22653 | echo "$as_me: failed program was:" >&5 |
23162 | echo "$as_me: failed program was:" >&5 |
22654 | sed 's/^/| /' conftest.$ac_ext >&5 |
23163 | sed 's/^/| /' conftest.$ac_ext >&5 |
22655 | |
23164 | |
|
|
23165 | |
22656 | fi |
23166 | fi |
|
|
23167 | |
22657 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23168 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22658 | fi |
23169 | fi |
|
|
23170 | |
22659 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
23171 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22660 | |
23172 | |
22661 | |
23173 | |
22662 | #------------------------------------------------------------------------------- |
23174 | #------------------------------------------------------------------------------- |
22663 | # Setup build directories |
23175 | # Setup build directories |
22664 | #------------------------------------------------------------------------------- |
23176 | #------------------------------------------------------------------------------- |
… | |
… | |
22686 | |
23198 | |
22687 | #------------------------------------------------------------------------------- |
23199 | #------------------------------------------------------------------------------- |
22688 | # Check to see if we want to link libbind |
23200 | # Check to see if we want to link libbind |
22689 | #------------------------------------------------------------------------------- |
23201 | #------------------------------------------------------------------------------- |
22690 | |
23202 | |
22691 | echo "$as_me:$LINENO: checking whether to link libbind is eanbled" >&5 |
23203 | { echo "$as_me:$LINENO: checking whether to link libbind is eanbled" >&5 |
22692 | echo $ECHO_N "checking whether to link libbind is eanbled... $ECHO_C" >&6 |
23204 | echo $ECHO_N "checking whether to link libbind is eanbled... $ECHO_C" >&6; } |
22693 | # Check whether --enable-libbind or --disable-libbind was given. |
23205 | # Check whether --enable-libbind was given. |
22694 | if test "${enable_libbind+set}" = set; then |
23206 | if test "${enable_libbind+set}" = set; then |
22695 | enableval="$enable_libbind" |
23207 | enableval=$enable_libbind; case "${enableval}" in |
22696 | case "${enableval}" in |
|
|
22697 | yes) |
23208 | yes) |
22698 | libbind=true |
23209 | libbind=true |
22699 | echo "$as_me:$LINENO: result: yes" >&5 |
23210 | { echo "$as_me:$LINENO: result: yes" >&5 |
22700 | echo "${ECHO_T}yes" >&6 |
23211 | echo "${ECHO_T}yes" >&6; } |
22701 | ;; |
23212 | ;; |
22702 | no) |
23213 | no) |
22703 | libbind=false |
23214 | libbind=false |
22704 | echo "$as_me:$LINENO: result: no" >&5 |
23215 | { echo "$as_me:$LINENO: result: no" >&5 |
22705 | echo "${ECHO_T}no" >&6 |
23216 | echo "${ECHO_T}no" >&6; } |
22706 | ;; |
23217 | ;; |
22707 | *) |
23218 | *) |
22708 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libbind" >&5 |
23219 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libbind" >&5 |
22709 | echo "$as_me: error: bad value ${enableval} for --enable-libbind" >&2;} |
23220 | echo "$as_me: error: bad value ${enableval} for --enable-libbind" >&2;} |
22710 | { (exit 1); exit 1; }; } |
23221 | { (exit 1); exit 1; }; } |
22711 | ;; |
23222 | ;; |
22712 | esac |
23223 | esac |
22713 | else |
23224 | else |
|
|
23225 | libbind=false |
22714 | libbind=false echo "$as_me:$LINENO: result: no" >&5 |
23226 | { echo "$as_me:$LINENO: result: no" >&5 |
22715 | echo "${ECHO_T}no" >&6 |
23227 | echo "${ECHO_T}no" >&6; } |
22716 | fi; |
23228 | fi |
|
|
23229 | |
22717 | |
23230 | |
22718 | if test "$libbind" = "true"; then |
23231 | if test "$libbind" = "true"; then |
22719 | LIBSPF_RESOLV_LIB="-lbind" |
23232 | LIBSPF_RESOLV_LIB="-lbind" |
22720 | fi |
23233 | fi |
22721 | |
23234 | |
… | |
… | |
22729 | |
23242 | |
22730 | |
23243 | |
22731 | for ac_func in res_query |
23244 | for ac_func in res_query |
22732 | do |
23245 | do |
22733 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23246 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
22734 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
23247 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
22735 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
23248 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
22736 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
23249 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
22737 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23250 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22738 | else |
23251 | else |
22739 | cat >conftest.$ac_ext <<_ACEOF |
23252 | cat >conftest.$ac_ext <<_ACEOF |
22740 | /* confdefs.h. */ |
23253 | /* confdefs.h. */ |
22741 | _ACEOF |
23254 | _ACEOF |
… | |
… | |
22757 | # include <assert.h> |
23270 | # include <assert.h> |
22758 | #endif |
23271 | #endif |
22759 | |
23272 | |
22760 | #undef $ac_func |
23273 | #undef $ac_func |
22761 | |
23274 | |
22762 | /* Override any gcc2 internal prototype to avoid an error. */ |
23275 | /* Override any GCC internal prototype to avoid an error. |
|
|
23276 | Use char because int might match the return type of a GCC |
|
|
23277 | builtin and then its argument prototype would still apply. */ |
22763 | #ifdef __cplusplus |
23278 | #ifdef __cplusplus |
22764 | extern "C" |
23279 | extern "C" |
22765 | { |
|
|
22766 | #endif |
23280 | #endif |
22767 | /* We use char because int might match the return type of a gcc2 |
|
|
22768 | builtin and then its argument prototype would still apply. */ |
|
|
22769 | char $ac_func (); |
23281 | char $ac_func (); |
22770 | /* The GNU C library defines this for functions which it implements |
23282 | /* The GNU C library defines this for functions which it implements |
22771 | to always fail with ENOSYS. Some functions are actually named |
23283 | to always fail with ENOSYS. Some functions are actually named |
22772 | something starting with __ and the normal name is an alias. */ |
23284 | something starting with __ and the normal name is an alias. */ |
22773 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
23285 | #if defined __stub_$ac_func || defined __stub___$ac_func |
22774 | choke me |
23286 | choke me |
22775 | #else |
|
|
22776 | char (*f) () = $ac_func; |
|
|
22777 | #endif |
|
|
22778 | #ifdef __cplusplus |
|
|
22779 | } |
|
|
22780 | #endif |
23287 | #endif |
22781 | |
23288 | |
22782 | int |
23289 | int |
22783 | main () |
23290 | main () |
22784 | { |
23291 | { |
22785 | return f != $ac_func; |
23292 | return $ac_func (); |
22786 | ; |
23293 | ; |
22787 | return 0; |
23294 | return 0; |
22788 | } |
23295 | } |
22789 | _ACEOF |
23296 | _ACEOF |
22790 | rm -f conftest.$ac_objext conftest$ac_exeext |
23297 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23298 | if { (ac_try="$ac_link" |
|
|
23299 | case "(($ac_try" in |
|
|
23300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23301 | *) ac_try_echo=$ac_try;; |
|
|
23302 | esac |
22791 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23303 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22792 | (eval $ac_link) 2>conftest.er1 |
23304 | (eval "$ac_link") 2>conftest.er1 |
22793 | ac_status=$? |
23305 | ac_status=$? |
22794 | grep -v '^ *+' conftest.er1 >conftest.err |
23306 | grep -v '^ *+' conftest.er1 >conftest.err |
22795 | rm -f conftest.er1 |
23307 | rm -f conftest.er1 |
22796 | cat conftest.err >&5 |
23308 | cat conftest.err >&5 |
22797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22798 | (exit $ac_status); } && |
23310 | (exit $ac_status); } && { |
22799 | { ac_try='test -z "$ac_c_werror_flag" |
23311 | test -z "$ac_c_werror_flag" || |
22800 | || test ! -s conftest.err' |
23312 | test ! -s conftest.err |
22801 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23313 | } && test -s conftest$ac_exeext && |
22802 | (eval $ac_try) 2>&5 |
23314 | $as_test_x conftest$ac_exeext; then |
22803 | ac_status=$? |
|
|
22804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22805 | (exit $ac_status); }; } && |
|
|
22806 | { ac_try='test -s conftest$ac_exeext' |
|
|
22807 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22808 | (eval $ac_try) 2>&5 |
|
|
22809 | ac_status=$? |
|
|
22810 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22811 | (exit $ac_status); }; }; then |
|
|
22812 | eval "$as_ac_var=yes" |
23315 | eval "$as_ac_var=yes" |
22813 | else |
23316 | else |
22814 | echo "$as_me: failed program was:" >&5 |
23317 | echo "$as_me: failed program was:" >&5 |
22815 | sed 's/^/| /' conftest.$ac_ext >&5 |
23318 | sed 's/^/| /' conftest.$ac_ext >&5 |
22816 | |
23319 | |
22817 | eval "$as_ac_var=no" |
23320 | eval "$as_ac_var=no" |
22818 | fi |
23321 | fi |
22819 | rm -f conftest.err conftest.$ac_objext \ |
23322 | |
|
|
23323 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22820 | conftest$ac_exeext conftest.$ac_ext |
23324 | conftest$ac_exeext conftest.$ac_ext |
22821 | fi |
23325 | fi |
22822 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
23326 | ac_res=`eval echo '${'$as_ac_var'}'` |
22823 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
23327 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
23328 | echo "${ECHO_T}$ac_res" >&6; } |
22824 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
23329 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
22825 | cat >>confdefs.h <<_ACEOF |
23330 | cat >>confdefs.h <<_ACEOF |
22826 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
23331 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
22827 | _ACEOF |
23332 | _ACEOF |
22828 | res_search |
23333 | res_search |
… | |
… | |
22838 | have_res_search=yes |
23343 | have_res_search=yes |
22839 | fi |
23344 | fi |
22840 | |
23345 | |
22841 | if test "x-$have_res_query" = "x-no" || test "x-$have_res_search" = "no" ; then |
23346 | if test "x-$have_res_query" = "x-no" || test "x-$have_res_search" = "no" ; then |
22842 | |
23347 | |
22843 | echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
23348 | { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 |
22844 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6 |
23349 | echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } |
22845 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
23350 | if test "${ac_cv_lib_resolv_res_query+set}" = set; then |
22846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23351 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22847 | else |
23352 | else |
22848 | ac_check_lib_save_LIBS=$LIBS |
23353 | ac_check_lib_save_LIBS=$LIBS |
22849 | LIBS="-lresolv $LIBS" |
23354 | LIBS="-lresolv $LIBS" |
… | |
… | |
22852 | _ACEOF |
23357 | _ACEOF |
22853 | cat confdefs.h >>conftest.$ac_ext |
23358 | cat confdefs.h >>conftest.$ac_ext |
22854 | cat >>conftest.$ac_ext <<_ACEOF |
23359 | cat >>conftest.$ac_ext <<_ACEOF |
22855 | /* end confdefs.h. */ |
23360 | /* end confdefs.h. */ |
22856 | |
23361 | |
22857 | /* Override any gcc2 internal prototype to avoid an error. */ |
23362 | /* Override any GCC internal prototype to avoid an error. |
|
|
23363 | Use char because int might match the return type of a GCC |
|
|
23364 | builtin and then its argument prototype would still apply. */ |
22858 | #ifdef __cplusplus |
23365 | #ifdef __cplusplus |
22859 | extern "C" |
23366 | extern "C" |
22860 | #endif |
23367 | #endif |
22861 | /* We use char because int might match the return type of a gcc2 |
|
|
22862 | builtin and then its argument prototype would still apply. */ |
|
|
22863 | char res_query (); |
23368 | char res_query (); |
22864 | int |
23369 | int |
22865 | main () |
23370 | main () |
22866 | { |
23371 | { |
22867 | res_query (); |
23372 | return res_query (); |
22868 | ; |
23373 | ; |
22869 | return 0; |
23374 | return 0; |
22870 | } |
23375 | } |
22871 | _ACEOF |
23376 | _ACEOF |
22872 | rm -f conftest.$ac_objext conftest$ac_exeext |
23377 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23378 | if { (ac_try="$ac_link" |
|
|
23379 | case "(($ac_try" in |
|
|
23380 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23381 | *) ac_try_echo=$ac_try;; |
|
|
23382 | esac |
22873 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23383 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22874 | (eval $ac_link) 2>conftest.er1 |
23384 | (eval "$ac_link") 2>conftest.er1 |
22875 | ac_status=$? |
23385 | ac_status=$? |
22876 | grep -v '^ *+' conftest.er1 >conftest.err |
23386 | grep -v '^ *+' conftest.er1 >conftest.err |
22877 | rm -f conftest.er1 |
23387 | rm -f conftest.er1 |
22878 | cat conftest.err >&5 |
23388 | cat conftest.err >&5 |
22879 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22880 | (exit $ac_status); } && |
23390 | (exit $ac_status); } && { |
22881 | { ac_try='test -z "$ac_c_werror_flag" |
23391 | test -z "$ac_c_werror_flag" || |
22882 | || test ! -s conftest.err' |
23392 | test ! -s conftest.err |
22883 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23393 | } && test -s conftest$ac_exeext && |
22884 | (eval $ac_try) 2>&5 |
23394 | $as_test_x conftest$ac_exeext; then |
22885 | ac_status=$? |
|
|
22886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22887 | (exit $ac_status); }; } && |
|
|
22888 | { ac_try='test -s conftest$ac_exeext' |
|
|
22889 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22890 | (eval $ac_try) 2>&5 |
|
|
22891 | ac_status=$? |
|
|
22892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22893 | (exit $ac_status); }; }; then |
|
|
22894 | ac_cv_lib_resolv_res_query=yes |
23395 | ac_cv_lib_resolv_res_query=yes |
22895 | else |
23396 | else |
22896 | echo "$as_me: failed program was:" >&5 |
23397 | echo "$as_me: failed program was:" >&5 |
22897 | sed 's/^/| /' conftest.$ac_ext >&5 |
23398 | sed 's/^/| /' conftest.$ac_ext >&5 |
22898 | |
23399 | |
22899 | ac_cv_lib_resolv_res_query=no |
23400 | ac_cv_lib_resolv_res_query=no |
22900 | fi |
23401 | fi |
22901 | rm -f conftest.err conftest.$ac_objext \ |
23402 | |
|
|
23403 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22902 | conftest$ac_exeext conftest.$ac_ext |
23404 | conftest$ac_exeext conftest.$ac_ext |
22903 | LIBS=$ac_check_lib_save_LIBS |
23405 | LIBS=$ac_check_lib_save_LIBS |
22904 | fi |
23406 | fi |
22905 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
23407 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 |
22906 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6 |
23408 | echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } |
22907 | if test $ac_cv_lib_resolv_res_query = yes; then |
23409 | if test $ac_cv_lib_resolv_res_query = yes; then |
22908 | cat >>confdefs.h <<_ACEOF |
23410 | cat >>confdefs.h <<_ACEOF |
22909 | #define HAVE_LIBRESOLV 1 |
23411 | #define HAVE_LIBRESOLV 1 |
22910 | _ACEOF |
23412 | _ACEOF |
22911 | |
23413 | |
… | |
… | |
22915 | |
23417 | |
22916 | if test "x-$ac_cv_lib_resolv_res_query" = "x-yes" ; then |
23418 | if test "x-$ac_cv_lib_resolv_res_query" = "x-yes" ; then |
22917 | have_res_query=yes |
23419 | have_res_query=yes |
22918 | else |
23420 | else |
22919 | |
23421 | |
22920 | echo "$as_me:$LINENO: checking for res_query in -lbind" >&5 |
23422 | { echo "$as_me:$LINENO: checking for res_query in -lbind" >&5 |
22921 | echo $ECHO_N "checking for res_query in -lbind... $ECHO_C" >&6 |
23423 | echo $ECHO_N "checking for res_query in -lbind... $ECHO_C" >&6; } |
22922 | if test "${ac_cv_lib_bind_res_query+set}" = set; then |
23424 | if test "${ac_cv_lib_bind_res_query+set}" = set; then |
22923 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23425 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
22924 | else |
23426 | else |
22925 | ac_check_lib_save_LIBS=$LIBS |
23427 | ac_check_lib_save_LIBS=$LIBS |
22926 | LIBS="-lbind $LIBS" |
23428 | LIBS="-lbind $LIBS" |
… | |
… | |
22929 | _ACEOF |
23431 | _ACEOF |
22930 | cat confdefs.h >>conftest.$ac_ext |
23432 | cat confdefs.h >>conftest.$ac_ext |
22931 | cat >>conftest.$ac_ext <<_ACEOF |
23433 | cat >>conftest.$ac_ext <<_ACEOF |
22932 | /* end confdefs.h. */ |
23434 | /* end confdefs.h. */ |
22933 | |
23435 | |
22934 | /* Override any gcc2 internal prototype to avoid an error. */ |
23436 | /* Override any GCC internal prototype to avoid an error. |
|
|
23437 | Use char because int might match the return type of a GCC |
|
|
23438 | builtin and then its argument prototype would still apply. */ |
22935 | #ifdef __cplusplus |
23439 | #ifdef __cplusplus |
22936 | extern "C" |
23440 | extern "C" |
22937 | #endif |
23441 | #endif |
22938 | /* We use char because int might match the return type of a gcc2 |
|
|
22939 | builtin and then its argument prototype would still apply. */ |
|
|
22940 | char res_query (); |
23442 | char res_query (); |
22941 | int |
23443 | int |
22942 | main () |
23444 | main () |
22943 | { |
23445 | { |
22944 | res_query (); |
23446 | return res_query (); |
22945 | ; |
23447 | ; |
22946 | return 0; |
23448 | return 0; |
22947 | } |
23449 | } |
22948 | _ACEOF |
23450 | _ACEOF |
22949 | rm -f conftest.$ac_objext conftest$ac_exeext |
23451 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23452 | if { (ac_try="$ac_link" |
|
|
23453 | case "(($ac_try" in |
|
|
23454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23455 | *) ac_try_echo=$ac_try;; |
|
|
23456 | esac |
22950 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23457 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
22951 | (eval $ac_link) 2>conftest.er1 |
23458 | (eval "$ac_link") 2>conftest.er1 |
22952 | ac_status=$? |
23459 | ac_status=$? |
22953 | grep -v '^ *+' conftest.er1 >conftest.err |
23460 | grep -v '^ *+' conftest.er1 >conftest.err |
22954 | rm -f conftest.er1 |
23461 | rm -f conftest.er1 |
22955 | cat conftest.err >&5 |
23462 | cat conftest.err >&5 |
22956 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22957 | (exit $ac_status); } && |
23464 | (exit $ac_status); } && { |
22958 | { ac_try='test -z "$ac_c_werror_flag" |
23465 | test -z "$ac_c_werror_flag" || |
22959 | || test ! -s conftest.err' |
23466 | test ! -s conftest.err |
22960 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23467 | } && test -s conftest$ac_exeext && |
22961 | (eval $ac_try) 2>&5 |
23468 | $as_test_x conftest$ac_exeext; then |
22962 | ac_status=$? |
|
|
22963 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22964 | (exit $ac_status); }; } && |
|
|
22965 | { ac_try='test -s conftest$ac_exeext' |
|
|
22966 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
22967 | (eval $ac_try) 2>&5 |
|
|
22968 | ac_status=$? |
|
|
22969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
22970 | (exit $ac_status); }; }; then |
|
|
22971 | ac_cv_lib_bind_res_query=yes |
23469 | ac_cv_lib_bind_res_query=yes |
22972 | else |
23470 | else |
22973 | echo "$as_me: failed program was:" >&5 |
23471 | echo "$as_me: failed program was:" >&5 |
22974 | sed 's/^/| /' conftest.$ac_ext >&5 |
23472 | sed 's/^/| /' conftest.$ac_ext >&5 |
22975 | |
23473 | |
22976 | ac_cv_lib_bind_res_query=no |
23474 | ac_cv_lib_bind_res_query=no |
22977 | fi |
23475 | fi |
22978 | rm -f conftest.err conftest.$ac_objext \ |
23476 | |
|
|
23477 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
22979 | conftest$ac_exeext conftest.$ac_ext |
23478 | conftest$ac_exeext conftest.$ac_ext |
22980 | LIBS=$ac_check_lib_save_LIBS |
23479 | LIBS=$ac_check_lib_save_LIBS |
22981 | fi |
23480 | fi |
22982 | echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_query" >&5 |
23481 | { echo "$as_me:$LINENO: result: $ac_cv_lib_bind_res_query" >&5 |
22983 | echo "${ECHO_T}$ac_cv_lib_bind_res_query" >&6 |
23482 | echo "${ECHO_T}$ac_cv_lib_bind_res_query" >&6; } |
22984 | if test $ac_cv_lib_bind_res_query = yes; then |
23483 | if test $ac_cv_lib_bind_res_query = yes; then |
22985 | cat >>confdefs.h <<_ACEOF |
23484 | cat >>confdefs.h <<_ACEOF |
22986 | #define HAVE_LIBBIND 1 |
23485 | #define HAVE_LIBBIND 1 |
22987 | _ACEOF |
23486 | _ACEOF |
22988 | |
23487 | |
… | |
… | |
22991 | fi |
23490 | fi |
22992 | |
23491 | |
22993 | if test "x-$ac_cv_lib_bind_res_query" = "x-yes" ; then |
23492 | if test "x-$ac_cv_lib_bind_res_query" = "x-yes" ; then |
22994 | have_res_query=yes |
23493 | have_res_query=yes |
22995 | else |
23494 | else |
22996 | echo "$as_me:$LINENO: checking for res_query in -lresolv (alternate version)" >&5 |
23495 | { echo "$as_me:$LINENO: checking for res_query in -lresolv (alternate version)" >&5 |
22997 | echo $ECHO_N "checking for res_query in -lresolv (alternate version)... $ECHO_C" >&6 |
23496 | echo $ECHO_N "checking for res_query in -lresolv (alternate version)... $ECHO_C" >&6; } |
22998 | save_libs="$LIBS" |
23497 | save_libs="$LIBS" |
22999 | libresolv=true |
23498 | libresolv=true |
23000 | LIBS="-lresolv $LIBS" |
23499 | LIBS="-lresolv $LIBS" |
23001 | LIBSPF_RESOLV_LIB="-lresolv" |
23500 | LIBSPF_RESOLV_LIB="-lresolv" |
23002 | cat >conftest.$ac_ext <<_ACEOF |
23501 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
23013 | ; |
23512 | ; |
23014 | return 0; |
23513 | return 0; |
23015 | } |
23514 | } |
23016 | _ACEOF |
23515 | _ACEOF |
23017 | rm -f conftest.$ac_objext conftest$ac_exeext |
23516 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23517 | if { (ac_try="$ac_link" |
|
|
23518 | case "(($ac_try" in |
|
|
23519 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23520 | *) ac_try_echo=$ac_try;; |
|
|
23521 | esac |
23018 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23522 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23019 | (eval $ac_link) 2>conftest.er1 |
23523 | (eval "$ac_link") 2>conftest.er1 |
23020 | ac_status=$? |
23524 | ac_status=$? |
23021 | grep -v '^ *+' conftest.er1 >conftest.err |
23525 | grep -v '^ *+' conftest.er1 >conftest.err |
23022 | rm -f conftest.er1 |
23526 | rm -f conftest.er1 |
23023 | cat conftest.err >&5 |
23527 | cat conftest.err >&5 |
23024 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23025 | (exit $ac_status); } && |
23529 | (exit $ac_status); } && { |
23026 | { ac_try='test -z "$ac_c_werror_flag" |
23530 | test -z "$ac_c_werror_flag" || |
23027 | || test ! -s conftest.err' |
23531 | test ! -s conftest.err |
23028 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23532 | } && test -s conftest$ac_exeext && |
23029 | (eval $ac_try) 2>&5 |
23533 | $as_test_x conftest$ac_exeext; then |
23030 | ac_status=$? |
|
|
23031 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23032 | (exit $ac_status); }; } && |
|
|
23033 | { ac_try='test -s conftest$ac_exeext' |
|
|
23034 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23035 | (eval $ac_try) 2>&5 |
|
|
23036 | ac_status=$? |
|
|
23037 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23038 | (exit $ac_status); }; }; then |
|
|
23039 | echo "$as_me:$LINENO: result: yes" >&5 |
23534 | { echo "$as_me:$LINENO: result: yes" >&5 |
23040 | echo "${ECHO_T}yes" >&6 |
23535 | echo "${ECHO_T}yes" >&6; } |
23041 | have_res_query=yes |
23536 | have_res_query=yes |
23042 | else |
23537 | else |
23043 | echo "$as_me: failed program was:" >&5 |
23538 | echo "$as_me: failed program was:" >&5 |
23044 | sed 's/^/| /' conftest.$ac_ext >&5 |
23539 | sed 's/^/| /' conftest.$ac_ext >&5 |
23045 | |
23540 | |
23046 | echo "$as_me:$LINENO: result: no" >&5 |
23541 | { echo "$as_me:$LINENO: result: no" >&5 |
23047 | echo "${ECHO_T}no" >&6 |
23542 | echo "${ECHO_T}no" >&6; } |
23048 | libresolv=false |
23543 | libresolv=false |
23049 | LIBS="$save_libs" |
23544 | LIBS="$save_libs" |
23050 | fi |
23545 | fi |
23051 | rm -f conftest.err conftest.$ac_objext \ |
23546 | |
|
|
23547 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23052 | conftest$ac_exeext conftest.$ac_ext |
23548 | conftest$ac_exeext conftest.$ac_ext |
23053 | fi |
23549 | fi |
23054 | fi |
23550 | fi |
23055 | fi |
23551 | fi |
23056 | |
23552 | |
… | |
… | |
23068 | |
23564 | |
23069 | fi |
23565 | fi |
23070 | |
23566 | |
23071 | # Checks for libraries. |
23567 | # Checks for libraries. |
23072 | |
23568 | |
23073 | echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
23569 | { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5 |
23074 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6 |
23570 | echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; } |
23075 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
23571 | if test "${ac_cv_lib_resolv_res_search+set}" = set; then |
23076 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23572 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23077 | else |
23573 | else |
23078 | ac_check_lib_save_LIBS=$LIBS |
23574 | ac_check_lib_save_LIBS=$LIBS |
23079 | LIBS="-lresolv $LIBS" |
23575 | LIBS="-lresolv $LIBS" |
… | |
… | |
23082 | _ACEOF |
23578 | _ACEOF |
23083 | cat confdefs.h >>conftest.$ac_ext |
23579 | cat confdefs.h >>conftest.$ac_ext |
23084 | cat >>conftest.$ac_ext <<_ACEOF |
23580 | cat >>conftest.$ac_ext <<_ACEOF |
23085 | /* end confdefs.h. */ |
23581 | /* end confdefs.h. */ |
23086 | |
23582 | |
23087 | /* Override any gcc2 internal prototype to avoid an error. */ |
23583 | /* Override any GCC internal prototype to avoid an error. |
|
|
23584 | Use char because int might match the return type of a GCC |
|
|
23585 | builtin and then its argument prototype would still apply. */ |
23088 | #ifdef __cplusplus |
23586 | #ifdef __cplusplus |
23089 | extern "C" |
23587 | extern "C" |
23090 | #endif |
23588 | #endif |
23091 | /* We use char because int might match the return type of a gcc2 |
|
|
23092 | builtin and then its argument prototype would still apply. */ |
|
|
23093 | char res_search (); |
23589 | char res_search (); |
23094 | int |
23590 | int |
23095 | main () |
23591 | main () |
23096 | { |
23592 | { |
23097 | res_search (); |
23593 | return res_search (); |
23098 | ; |
23594 | ; |
23099 | return 0; |
23595 | return 0; |
23100 | } |
23596 | } |
23101 | _ACEOF |
23597 | _ACEOF |
23102 | rm -f conftest.$ac_objext conftest$ac_exeext |
23598 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
23599 | if { (ac_try="$ac_link" |
|
|
23600 | case "(($ac_try" in |
|
|
23601 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
23602 | *) ac_try_echo=$ac_try;; |
|
|
23603 | esac |
23103 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
23604 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23104 | (eval $ac_link) 2>conftest.er1 |
23605 | (eval "$ac_link") 2>conftest.er1 |
23105 | ac_status=$? |
23606 | ac_status=$? |
23106 | grep -v '^ *+' conftest.er1 >conftest.err |
23607 | grep -v '^ *+' conftest.er1 >conftest.err |
23107 | rm -f conftest.er1 |
23608 | rm -f conftest.er1 |
23108 | cat conftest.err >&5 |
23609 | cat conftest.err >&5 |
23109 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23610 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23110 | (exit $ac_status); } && |
23611 | (exit $ac_status); } && { |
23111 | { ac_try='test -z "$ac_c_werror_flag" |
23612 | test -z "$ac_c_werror_flag" || |
23112 | || test ! -s conftest.err' |
23613 | test ! -s conftest.err |
23113 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
23614 | } && test -s conftest$ac_exeext && |
23114 | (eval $ac_try) 2>&5 |
23615 | $as_test_x conftest$ac_exeext; then |
23115 | ac_status=$? |
|
|
23116 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23117 | (exit $ac_status); }; } && |
|
|
23118 | { ac_try='test -s conftest$ac_exeext' |
|
|
23119 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23120 | (eval $ac_try) 2>&5 |
|
|
23121 | ac_status=$? |
|
|
23122 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23123 | (exit $ac_status); }; }; then |
|
|
23124 | ac_cv_lib_resolv_res_search=yes |
23616 | ac_cv_lib_resolv_res_search=yes |
23125 | else |
23617 | else |
23126 | echo "$as_me: failed program was:" >&5 |
23618 | echo "$as_me: failed program was:" >&5 |
23127 | sed 's/^/| /' conftest.$ac_ext >&5 |
23619 | sed 's/^/| /' conftest.$ac_ext >&5 |
23128 | |
23620 | |
23129 | ac_cv_lib_resolv_res_search=no |
23621 | ac_cv_lib_resolv_res_search=no |
23130 | fi |
23622 | fi |
23131 | rm -f conftest.err conftest.$ac_objext \ |
23623 | |
|
|
23624 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23132 | conftest$ac_exeext conftest.$ac_ext |
23625 | conftest$ac_exeext conftest.$ac_ext |
23133 | LIBS=$ac_check_lib_save_LIBS |
23626 | LIBS=$ac_check_lib_save_LIBS |
23134 | fi |
23627 | fi |
23135 | echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
23628 | { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5 |
23136 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6 |
23629 | echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; } |
23137 | if test $ac_cv_lib_resolv_res_search = yes; then |
23630 | if test $ac_cv_lib_resolv_res_search = yes; then |
23138 | cat >>confdefs.h <<_ACEOF |
23631 | cat >>confdefs.h <<_ACEOF |
23139 | #define HAVE_LIBRESOLV 1 |
23632 | #define HAVE_LIBRESOLV 1 |
23140 | _ACEOF |
23633 | _ACEOF |
23141 | |
23634 | |
… | |
… | |
23148 | |
23641 | |
23149 | #------------------------------------------------------------------------------- |
23642 | #------------------------------------------------------------------------------- |
23150 | # Check to see if we want to enable debugging |
23643 | # Check to see if we want to enable debugging |
23151 | #------------------------------------------------------------------------------- |
23644 | #------------------------------------------------------------------------------- |
23152 | |
23645 | |
23153 | echo "$as_me:$LINENO: checking whether DEBUG is eanbled" >&5 |
23646 | { echo "$as_me:$LINENO: checking whether DEBUG is eanbled" >&5 |
23154 | echo $ECHO_N "checking whether DEBUG is eanbled... $ECHO_C" >&6 |
23647 | echo $ECHO_N "checking whether DEBUG is eanbled... $ECHO_C" >&6; } |
23155 | # Check whether --enable-debug or --disable-debug was given. |
23648 | # Check whether --enable-debug was given. |
23156 | if test "${enable_debug+set}" = set; then |
23649 | if test "${enable_debug+set}" = set; then |
23157 | enableval="$enable_debug" |
23650 | enableval=$enable_debug; case "${enableval}" in |
23158 | case "${enableval}" in |
|
|
23159 | yes) |
23651 | yes) |
23160 | debug=true |
23652 | debug=true |
23161 | echo "$as_me:$LINENO: result: yes" >&5 |
23653 | { echo "$as_me:$LINENO: result: yes" >&5 |
23162 | echo "${ECHO_T}yes" >&6 |
23654 | echo "${ECHO_T}yes" >&6; } |
23163 | ;; |
23655 | ;; |
23164 | no) |
23656 | no) |
23165 | debug=false |
23657 | debug=false |
23166 | echo "$as_me:$LINENO: result: no" >&5 |
23658 | { echo "$as_me:$LINENO: result: no" >&5 |
23167 | echo "${ECHO_T}no" >&6 |
23659 | echo "${ECHO_T}no" >&6; } |
23168 | ;; |
23660 | ;; |
23169 | *) |
23661 | *) |
23170 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 |
23662 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 |
23171 | echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} |
23663 | echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} |
23172 | { (exit 1); exit 1; }; } |
23664 | { (exit 1); exit 1; }; } |
23173 | ;; |
23665 | ;; |
23174 | esac |
23666 | esac |
23175 | else |
23667 | else |
|
|
23668 | debug=false |
23176 | debug=false echo "$as_me:$LINENO: result: no" >&5 |
23669 | { echo "$as_me:$LINENO: result: no" >&5 |
23177 | echo "${ECHO_T}no" >&6 |
23670 | echo "${ECHO_T}no" >&6; } |
23178 | fi; |
23671 | fi |
|
|
23672 | |
23179 | |
23673 | |
23180 | CFLAGS="" |
23674 | CFLAGS="" |
23181 | if test "$debug" = "true"; then |
23675 | if test "$debug" = "true"; then |
23182 | CFLAGS="-ggdb -O -D_SPF_DEBUG" |
23676 | CFLAGS="-ggdb -O -D_SPF_DEBUG" |
23183 | else |
23677 | else |
23184 | echo "$as_me:$LINENO: result: Enabling GCC optimisations" >&5 |
23678 | { echo "$as_me:$LINENO: result: Enabling GCC optimisations" >&5 |
23185 | echo "${ECHO_T}Enabling GCC optimisations" >&6 |
23679 | echo "${ECHO_T}Enabling GCC optimisations" >&6; } |
23186 | CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
23680 | CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
23187 | |
23681 | |
23188 | if [ "x$GCC_VERSION" = "x3" ]; then |
23682 | if [ "x$GCC_VERSION" = "x3" ]; then |
23189 | echo "$as_me:$LINENO: result: Enabling GCC v3 optimizations" >&5 |
23683 | { echo "$as_me:$LINENO: result: Enabling GCC v3 optimizations" >&5 |
23190 | echo "${ECHO_T}Enabling GCC v3 optimizations" >&6 |
23684 | echo "${ECHO_T}Enabling GCC v3 optimizations" >&6; } |
23191 | CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno" |
23685 | CFLAGS="$CFLAGS -minline-all-stringops -fno-math-errno" |
23192 | fi |
23686 | fi |
23193 | fi |
23687 | fi |
23194 | |
23688 | |
23195 | case "${host_cpu}" in |
23689 | case "${host_cpu}" in |
23196 | i?86) |
23690 | i?86) |
23197 | echo "$as_me:$LINENO: result: CPU: ${host_cpu}; Enabling pentium optimisations" >&5 |
23691 | { echo "$as_me:$LINENO: result: CPU: ${host_cpu}; Enabling pentium optimisations" >&5 |
23198 | echo "${ECHO_T}CPU: ${host_cpu}; Enabling pentium optimisations" >&6 |
23692 | echo "${ECHO_T}CPU: ${host_cpu}; Enabling pentium optimisations" >&6; } |
23199 | # cannot do malign-double as we link to other libraries and it |
23693 | # cannot do malign-double as we link to other libraries and it |
23200 | # would break binary compatibility |
23694 | # would break binary compatibility |
23201 | CFLAGS="$CFLAGS ${gcc_special_cflags}" |
23695 | CFLAGS="$CFLAGS ${gcc_special_cflags}" |
23202 | ;; |
23696 | ;; |
23203 | *) |
23697 | *) |
23204 | echo "$as_me:$LINENO: result: Please e-mail author optimizations for this cpu" >&5 |
23698 | { echo "$as_me:$LINENO: result: Please e-mail author optimizations for this cpu" >&5 |
23205 | echo "${ECHO_T}Please e-mail author optimizations for this cpu" >&6 |
23699 | echo "${ECHO_T}Please e-mail author optimizations for this cpu" >&6; } |
23206 | ;; |
23700 | ;; |
23207 | esac |
23701 | esac |
23208 | |
23702 | |
23209 | |
23703 | |
23210 | #------------------------------------------------------------------------------- |
23704 | #------------------------------------------------------------------------------- |
23211 | # Check to see if we want to enable debugging output to logfile |
23705 | # Check to see if we want to enable debugging output to logfile |
23212 | #------------------------------------------------------------------------------- |
23706 | #------------------------------------------------------------------------------- |
23213 | |
23707 | |
23214 | if test "$debug" = "true"; then |
23708 | if test "$debug" = "true"; then |
23215 | echo "$as_me:$LINENO: checking whether you want debug output to a logfile" >&5 |
23709 | { echo "$as_me:$LINENO: checking whether you want debug output to a logfile" >&5 |
23216 | echo $ECHO_N "checking whether you want debug output to a logfile... $ECHO_C" >&6 |
23710 | echo $ECHO_N "checking whether you want debug output to a logfile... $ECHO_C" >&6; } |
23217 | # Check whether --enable-debug_logfile or --disable-debug_logfile was given. |
23711 | # Check whether --enable-debug_logfile was given. |
23218 | if test "${enable_debug_logfile+set}" = set; then |
23712 | if test "${enable_debug_logfile+set}" = set; then |
23219 | enableval="$enable_debug_logfile" |
23713 | enableval=$enable_debug_logfile; case "${enableval}" in |
23220 | case "${enableval}" in |
|
|
23221 | yes) |
23714 | yes) |
23222 | debug_logfile=true |
23715 | debug_logfile=true |
23223 | echo "$as_me:$LINENO: result: yes" >&5 |
23716 | { echo "$as_me:$LINENO: result: yes" >&5 |
23224 | echo "${ECHO_T}yes" >&6 |
23717 | echo "${ECHO_T}yes" >&6; } |
23225 | ;; |
23718 | ;; |
23226 | no) |
23719 | no) |
23227 | debug_logfile=false |
23720 | debug_logfile=false |
23228 | echo "$as_me:$LINENO: result: no" >&5 |
23721 | { echo "$as_me:$LINENO: result: no" >&5 |
23229 | echo "${ECHO_T}no" >&6 |
23722 | echo "${ECHO_T}no" >&6; } |
23230 | ;; |
23723 | ;; |
23231 | *) |
23724 | *) |
23232 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-logfile" >&5 |
23725 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug-logfile" >&5 |
23233 | echo "$as_me: error: bad value ${enableval} for --enable-debug-logfile" >&2;} |
23726 | echo "$as_me: error: bad value ${enableval} for --enable-debug-logfile" >&2;} |
23234 | { (exit 1); exit 1; }; } |
23727 | { (exit 1); exit 1; }; } |
23235 | ;; |
23728 | ;; |
23236 | esac |
23729 | esac |
23237 | else |
23730 | else |
|
|
23731 | debug_logfile=true |
23238 | debug_logfile=true echo "$as_me:$LINENO: result: no" >&5 |
23732 | { echo "$as_me:$LINENO: result: no" >&5 |
23239 | echo "${ECHO_T}no" >&6 |
23733 | echo "${ECHO_T}no" >&6; } |
23240 | fi; |
23734 | fi |
|
|
23735 | |
23241 | |
23736 | |
23242 | if test "$debug_logfile" = "true"; then |
23737 | if test "$debug_logfile" = "true"; then |
23243 | CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS" |
23738 | CFLAGS="-D_SPF_DEBUG_LOGFILE $CFLAGS" |
23244 | fi |
23739 | fi |
23245 | fi |
23740 | fi |
… | |
… | |
23248 | #------------------------------------------------------------------------------- |
23743 | #------------------------------------------------------------------------------- |
23249 | # Check to see if we want to enable logfile statistics |
23744 | # Check to see if we want to enable logfile statistics |
23250 | #------------------------------------------------------------------------------- |
23745 | #------------------------------------------------------------------------------- |
23251 | |
23746 | |
23252 | logfile_stats=false |
23747 | logfile_stats=false |
23253 | echo "$as_me:$LINENO: checking whether you want logfile statistics" >&5 |
23748 | { echo "$as_me:$LINENO: checking whether you want logfile statistics" >&5 |
23254 | echo $ECHO_N "checking whether you want logfile statistics... $ECHO_C" >&6 |
23749 | echo $ECHO_N "checking whether you want logfile statistics... $ECHO_C" >&6; } |
23255 | # Check whether --enable-logfile_stats or --disable-logfile_stats was given. |
23750 | # Check whether --enable-logfile_stats was given. |
23256 | if test "${enable_logfile_stats+set}" = set; then |
23751 | if test "${enable_logfile_stats+set}" = set; then |
23257 | enableval="$enable_logfile_stats" |
23752 | enableval=$enable_logfile_stats; case "${enableval}" in |
23258 | case "${enableval}" in |
|
|
23259 | yes) |
23753 | yes) |
23260 | logfile_stats=true |
23754 | logfile_stats=true |
23261 | echo "$as_me:$LINENO: result: yes" >&5 |
23755 | { echo "$as_me:$LINENO: result: yes" >&5 |
23262 | echo "${ECHO_T}yes" >&6 |
23756 | echo "${ECHO_T}yes" >&6; } |
23263 | ;; |
23757 | ;; |
23264 | no) |
23758 | no) |
23265 | logfile_stats=false |
23759 | logfile_stats=false |
23266 | echo "$as_me:$LINENO: result: no" >&5 |
23760 | { echo "$as_me:$LINENO: result: no" >&5 |
23267 | echo "${ECHO_T}no" >&6 |
23761 | echo "${ECHO_T}no" >&6; } |
23268 | ;; |
23762 | ;; |
23269 | *) |
23763 | *) |
23270 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-logfile-stats" >&5 |
23764 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-logfile-stats" >&5 |
23271 | echo "$as_me: error: bad value ${enableval} for --enable-logfile-stats" >&2;} |
23765 | echo "$as_me: error: bad value ${enableval} for --enable-logfile-stats" >&2;} |
23272 | { (exit 1); exit 1; }; } |
23766 | { (exit 1); exit 1; }; } |
23273 | ;; |
23767 | ;; |
23274 | esac |
23768 | esac |
23275 | else |
23769 | else |
|
|
23770 | logfile_stats=false |
23276 | logfile_stats=false echo "$as_me:$LINENO: result: no" >&5 |
23771 | { echo "$as_me:$LINENO: result: no" >&5 |
23277 | echo "${ECHO_T}no" >&6 |
23772 | echo "${ECHO_T}no" >&6; } |
23278 | fi; |
23773 | fi |
|
|
23774 | |
23279 | |
23775 | |
23280 | if test "$logfile_stats" = "true"; then |
23776 | if test "$logfile_stats" = "true"; then |
23281 | CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS" |
23777 | CFLAGS="-D_SPF_LOGFILE_STATS $CFLAGS" |
23282 | fi |
23778 | fi |
23283 | |
23779 | |
… | |
… | |
23285 | #------------------------------------------------------------------------------- |
23781 | #------------------------------------------------------------------------------- |
23286 | # Check whether to enable a memset after each malloc |
23782 | # Check whether to enable a memset after each malloc |
23287 | #------------------------------------------------------------------------------- |
23783 | #------------------------------------------------------------------------------- |
23288 | |
23784 | |
23289 | rfc_recursion=false |
23785 | rfc_recursion=false |
23290 | echo "$as_me:$LINENO: checking whether to abide by the RFC as regards recursiveness" >&5 |
23786 | { echo "$as_me:$LINENO: checking whether to abide by the RFC as regards recursiveness" >&5 |
23291 | echo $ECHO_N "checking whether to abide by the RFC as regards recursiveness... $ECHO_C" >&6 |
23787 | echo $ECHO_N "checking whether to abide by the RFC as regards recursiveness... $ECHO_C" >&6; } |
23292 | # Check whether --enable-rfc_recursion or --disable-rfc_recursion was given. |
23788 | # Check whether --enable-rfc_recursion was given. |
23293 | if test "${enable_rfc_recursion+set}" = set; then |
23789 | if test "${enable_rfc_recursion+set}" = set; then |
23294 | enableval="$enable_rfc_recursion" |
23790 | enableval=$enable_rfc_recursion; case "${enableval}" in |
23295 | case "${enableval}" in |
|
|
23296 | yes) |
23791 | yes) |
23297 | rfc_recursion=true |
23792 | rfc_recursion=true |
23298 | echo "$as_me:$LINENO: result: yes" >&5 |
23793 | { echo "$as_me:$LINENO: result: yes" >&5 |
23299 | echo "${ECHO_T}yes" >&6 |
23794 | echo "${ECHO_T}yes" >&6; } |
23300 | ;; |
23795 | ;; |
23301 | no) |
23796 | no) |
23302 | rfc_recursion=false |
23797 | rfc_recursion=false |
23303 | echo "$as_me:$LINENO: result: no" >&5 |
23798 | { echo "$as_me:$LINENO: result: no" >&5 |
23304 | echo "${ECHO_T}no" >&6 |
23799 | echo "${ECHO_T}no" >&6; } |
23305 | ;; |
23800 | ;; |
23306 | *) |
23801 | *) |
23307 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rfc-recursion" >&5 |
23802 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rfc-recursion" >&5 |
23308 | echo "$as_me: error: bad value ${enableval} for --enable-rfc-recursion" >&2;} |
23803 | echo "$as_me: error: bad value ${enableval} for --enable-rfc-recursion" >&2;} |
23309 | { (exit 1); exit 1; }; } |
23804 | { (exit 1); exit 1; }; } |
23310 | ;; |
23805 | ;; |
23311 | esac |
23806 | esac |
23312 | else |
23807 | else |
|
|
23808 | rfc_recursion=false |
23313 | rfc_recursion=false echo "$as_me:$LINENO: result: no" >&5 |
23809 | { echo "$as_me:$LINENO: result: no" >&5 |
23314 | echo "${ECHO_T}no" >&6 |
23810 | echo "${ECHO_T}no" >&6; } |
23315 | fi; |
23811 | fi |
|
|
23812 | |
23316 | |
23813 | |
23317 | if test "$rfc_recursion" = "true"; then |
23814 | if test "$rfc_recursion" = "true"; then |
23318 | CFLAGS="-D_RFC_RECURSION $CFLAGS" |
23815 | CFLAGS="-D_RFC_RECURSION $CFLAGS" |
23319 | { echo "$as_me:$LINENO: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&5 |
23816 | { echo "$as_me:$LINENO: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&5 |
23320 | echo "$as_me: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&2;} |
23817 | echo "$as_me: WARNING: === THE INTERNET IS FULL OF ILLITERATE AND LAZY PEOPLE ===" >&2;} |
… | |
… | |
23349 | #------------------------------------------------------------------------------- |
23846 | #------------------------------------------------------------------------------- |
23350 | # Check whether to enable a memset after each malloc |
23847 | # Check whether to enable a memset after each malloc |
23351 | #------------------------------------------------------------------------------- |
23848 | #------------------------------------------------------------------------------- |
23352 | |
23849 | |
23353 | paranoid_malloc=true |
23850 | paranoid_malloc=true |
23354 | echo "$as_me:$LINENO: checking whether to memset after every malloc (paranoid malloc)?" >&5 |
23851 | { echo "$as_me:$LINENO: checking whether to memset after every malloc (paranoid malloc)?" >&5 |
23355 | echo $ECHO_N "checking whether to memset after every malloc (paranoid malloc)?... $ECHO_C" >&6 |
23852 | echo $ECHO_N "checking whether to memset after every malloc (paranoid malloc)?... $ECHO_C" >&6; } |
23356 | # Check whether --enable-paranoid_malloc or --disable-paranoid_malloc was given. |
23853 | # Check whether --enable-paranoid_malloc was given. |
23357 | if test "${enable_paranoid_malloc+set}" = set; then |
23854 | if test "${enable_paranoid_malloc+set}" = set; then |
23358 | enableval="$enable_paranoid_malloc" |
23855 | enableval=$enable_paranoid_malloc; case "${enableval}" in |
23359 | case "${enableval}" in |
|
|
23360 | yes) |
23856 | yes) |
23361 | paranoid_malloc=true |
23857 | paranoid_malloc=true |
23362 | echo "$as_me:$LINENO: result: yes" >&5 |
23858 | { echo "$as_me:$LINENO: result: yes" >&5 |
23363 | echo "${ECHO_T}yes" >&6 |
23859 | echo "${ECHO_T}yes" >&6; } |
23364 | ;; |
23860 | ;; |
23365 | no) |
23861 | no) |
23366 | paranoid_malloc=false |
23862 | paranoid_malloc=false |
23367 | echo "$as_me:$LINENO: result: no" >&5 |
23863 | { echo "$as_me:$LINENO: result: no" >&5 |
23368 | echo "${ECHO_T}no" >&6 |
23864 | echo "${ECHO_T}no" >&6; } |
23369 | ;; |
23865 | ;; |
23370 | *) |
23866 | *) |
23371 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-paranoid-malloc" >&5 |
23867 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-paranoid-malloc" >&5 |
23372 | echo "$as_me: error: bad value ${enableval} for --enable-paranoid-malloc" >&2;} |
23868 | echo "$as_me: error: bad value ${enableval} for --enable-paranoid-malloc" >&2;} |
23373 | { (exit 1); exit 1; }; } |
23869 | { (exit 1); exit 1; }; } |
23374 | ;; |
23870 | ;; |
23375 | esac |
23871 | esac |
23376 | else |
23872 | else |
|
|
23873 | paranoid_malloc=true |
23377 | paranoid_malloc=true echo "$as_me:$LINENO: result: yes" >&5 |
23874 | { echo "$as_me:$LINENO: result: yes" >&5 |
23378 | echo "${ECHO_T}yes" >&6 |
23875 | echo "${ECHO_T}yes" >&6; } |
23379 | fi; |
23876 | fi |
|
|
23877 | |
23380 | |
23878 | |
23381 | if test "$paranoid_malloc" = "true"; then |
23879 | if test "$paranoid_malloc" = "true"; then |
23382 | CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS" |
23880 | CFLAGS="-D_WITH_PARANOID_MALLOC $CFLAGS" |
23383 | fi |
23881 | fi |
23384 | |
23882 | |
… | |
… | |
23388 | # res_query behaviour. See Debian bug tracking list thread: |
23886 | # res_query behaviour. See Debian bug tracking list thread: |
23389 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297060 for more information. |
23887 | # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=297060 for more information. |
23390 | #------------------------------------------------------------------------------- |
23888 | #------------------------------------------------------------------------------- |
23391 | |
23889 | |
23392 | res_search=false |
23890 | res_search=false |
23393 | echo "$as_me:$LINENO: checking whether to use res_search instead of res_query?" >&5 |
23891 | { echo "$as_me:$LINENO: checking whether to use res_search instead of res_query?" >&5 |
23394 | echo $ECHO_N "checking whether to use res_search instead of res_query?... $ECHO_C" >&6 |
23892 | echo $ECHO_N "checking whether to use res_search instead of res_query?... $ECHO_C" >&6; } |
23395 | # Check whether --enable-res_search or --disable-res_search was given. |
23893 | # Check whether --enable-res_search was given. |
23396 | if test "${enable_res_search+set}" = set; then |
23894 | if test "${enable_res_search+set}" = set; then |
23397 | enableval="$enable_res_search" |
23895 | enableval=$enable_res_search; case "${enableval}" in |
23398 | case "${enableval}" in |
|
|
23399 | yes) |
23896 | yes) |
23400 | res_search=true |
23897 | res_search=true |
23401 | echo "$as_me:$LINENO: result: yes" >&5 |
23898 | { echo "$as_me:$LINENO: result: yes" >&5 |
23402 | echo "${ECHO_T}yes" >&6 |
23899 | echo "${ECHO_T}yes" >&6; } |
23403 | ;; |
23900 | ;; |
23404 | no) |
23901 | no) |
23405 | res_search=false |
23902 | res_search=false |
23406 | echo "$as_me:$LINENO: result: no" >&5 |
23903 | { echo "$as_me:$LINENO: result: no" >&5 |
23407 | echo "${ECHO_T}no" >&6 |
23904 | echo "${ECHO_T}no" >&6; } |
23408 | ;; |
23905 | ;; |
23409 | *) |
23906 | *) |
23410 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-res_search" >&5 |
23907 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-res_search" >&5 |
23411 | echo "$as_me: error: bad value ${enableval} for --enable-res_search" >&2;} |
23908 | echo "$as_me: error: bad value ${enableval} for --enable-res_search" >&2;} |
23412 | { (exit 1); exit 1; }; } |
23909 | { (exit 1); exit 1; }; } |
23413 | ;; |
23910 | ;; |
23414 | esac |
23911 | esac |
23415 | else |
23912 | else |
|
|
23913 | res_search=false |
23416 | res_search=falsee echo "$as_me:$LINENO: result: no" >&5 |
23914 | { echo "$as_me:$LINENO: result: no" >&5 |
23417 | echo "${ECHO_T}no" >&6 |
23915 | echo "${ECHO_T}no" >&6; } |
23418 | fi; |
23916 | fi |
|
|
23917 | |
23419 | |
23918 | |
23420 | if test "$res_search" = "true"; then |
23919 | if test "$res_search" = "true"; then |
23421 | CFLAGS="-D_WITH_RES_SEARCH $CFLAGS" |
23920 | CFLAGS="-D_WITH_RES_SEARCH $CFLAGS" |
23422 | fi |
23921 | fi |
23423 | |
23922 | |
23424 | |
23923 | |
23425 | #------------------------------------------------------------------------------- |
23924 | #------------------------------------------------------------------------------- |
23426 | # Check to see if we should build libSPF Query Tool |
23925 | # Check to see if we should build libSPF Query Tool |
23427 | #------------------------------------------------------------------------------- |
23926 | #------------------------------------------------------------------------------- |
23428 | |
23927 | |
23429 | echo "$as_me:$LINENO: checking whether to disable build the libSPF Query Tool?" >&5 |
23928 | { echo "$as_me:$LINENO: checking whether to disable build the libSPF Query Tool?" >&5 |
23430 | echo $ECHO_N "checking whether to disable build the libSPF Query Tool?... $ECHO_C" >&6 |
23929 | echo $ECHO_N "checking whether to disable build the libSPF Query Tool?... $ECHO_C" >&6; } |
23431 | # Check whether --enable-spfqtool or --disable-spfqtool was given. |
23930 | # Check whether --enable-spfqtool was given. |
23432 | if test "${enable_spfqtool+set}" = set; then |
23931 | if test "${enable_spfqtool+set}" = set; then |
23433 | enableval="$enable_spfqtool" |
23932 | enableval=$enable_spfqtool; case "${enableval}" in |
23434 | case "${enableval}" in |
|
|
23435 | yes) |
23933 | yes) |
23436 | spfqtool=true |
23934 | spfqtool=true |
23437 | echo "$as_me:$LINENO: result: yes" >&5 |
23935 | { echo "$as_me:$LINENO: result: yes" >&5 |
23438 | echo "${ECHO_T}yes" >&6 |
23936 | echo "${ECHO_T}yes" >&6; } |
23439 | ;; |
23937 | ;; |
23440 | no) |
23938 | no) |
23441 | spfqtool=false |
23939 | spfqtool=false |
23442 | echo "$as_me:$LINENO: result: no" >&5 |
23940 | { echo "$as_me:$LINENO: result: no" >&5 |
23443 | echo "${ECHO_T}no" >&6 |
23941 | echo "${ECHO_T}no" >&6; } |
23444 | ;; |
23942 | ;; |
23445 | *) |
23943 | *) |
23446 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-spfqtool" >&5 |
23944 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-spfqtool" >&5 |
23447 | echo "$as_me: error: bad value ${enableval} for --disable-spfqtool" >&2;} |
23945 | echo "$as_me: error: bad value ${enableval} for --disable-spfqtool" >&2;} |
23448 | { (exit 1); exit 1; }; } |
23946 | { (exit 1); exit 1; }; } |
23449 | ;; |
23947 | ;; |
23450 | esac |
23948 | esac |
23451 | else |
23949 | else |
|
|
23950 | spfqtool=false |
23452 | spfqtool=false echo "$as_me:$LINENO: result: no" >&5 |
23951 | { echo "$as_me:$LINENO: result: no" >&5 |
23453 | echo "${ECHO_T}no" >&6 |
23952 | echo "${ECHO_T}no" >&6; } |
23454 | fi; |
23953 | fi |
|
|
23954 | |
23455 | |
23955 | |
23456 | if test "$spfqtool" = "true"; then |
23956 | if test "$spfqtool" = "true"; then |
23457 | LIBSPF_BUILD_DIRS="libspf" |
23957 | LIBSPF_BUILD_DIRS="libspf" |
23458 | fi |
23958 | fi |
23459 | #AC_SUBST(LIBSPF_BUILD_DIRS) |
23959 | #AC_SUBST(LIBSPF_BUILD_DIRS) |
… | |
… | |
23465 | # _DNS_gethostbyname_r reentrant wrapper to gethostbyname unless |
23965 | # _DNS_gethostbyname_r reentrant wrapper to gethostbyname unless |
23466 | # gethostbyname_r is available (GNU extention) then the wrapper will |
23966 | # gethostbyname_r is available (GNU extention) then the wrapper will |
23467 | # be around that instead and won't use the mutex |
23967 | # be around that instead and won't use the mutex |
23468 | #------------------------------------------------------------------------------- |
23968 | #------------------------------------------------------------------------------- |
23469 | |
23969 | |
23470 | echo "$as_me:$LINENO: checking whether to compile with reentrant capabilities" >&5 |
23970 | { echo "$as_me:$LINENO: checking whether to compile with reentrant capabilities" >&5 |
23471 | echo $ECHO_N "checking whether to compile with reentrant capabilities... $ECHO_C" >&6 |
23971 | echo $ECHO_N "checking whether to compile with reentrant capabilities... $ECHO_C" >&6; } |
23472 | # Check whether --enable-pthreads or --disable-pthreads was given. |
23972 | # Check whether --enable-pthreads was given. |
23473 | if test "${enable_pthreads+set}" = set; then |
23973 | if test "${enable_pthreads+set}" = set; then |
23474 | enableval="$enable_pthreads" |
23974 | enableval=$enable_pthreads; case "${enableval}" in |
23475 | case "${enableval}" in |
|
|
23476 | yes) |
23975 | yes) |
23477 | pthreads=true |
23976 | pthreads=true |
23478 | echo "$as_me:$LINENO: result: yes" >&5 |
23977 | { echo "$as_me:$LINENO: result: yes" >&5 |
23479 | echo "${ECHO_T}yes" >&6 |
23978 | echo "${ECHO_T}yes" >&6; } |
23480 | ;; |
23979 | ;; |
23481 | no) |
23980 | no) |
23482 | pthreads=false |
23981 | pthreads=false |
23483 | echo "$as_me:$LINENO: result: no" >&5 |
23982 | { echo "$as_me:$LINENO: result: no" >&5 |
23484 | echo "${ECHO_T}no" >&6 |
23983 | echo "${ECHO_T}no" >&6; } |
23485 | ;; |
23984 | ;; |
23486 | *) |
23985 | *) |
23487 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pthreads" >&5 |
23986 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pthreads" >&5 |
23488 | echo "$as_me: error: bad value ${enableval} for --enable-pthreads" >&2;} |
23987 | echo "$as_me: error: bad value ${enableval} for --enable-pthreads" >&2;} |
23489 | { (exit 1); exit 1; }; } |
23988 | { (exit 1); exit 1; }; } |
23490 | ;; |
23989 | ;; |
23491 | esac |
23990 | esac |
23492 | else |
23991 | else |
|
|
23992 | pthreads=false |
23493 | pthreads=false echo "$as_me:$LINENO: result: no" >&5 |
23993 | { echo "$as_me:$LINENO: result: no" >&5 |
23494 | echo "${ECHO_T}no" >&6 |
23994 | echo "${ECHO_T}no" >&6; } |
23495 | fi; |
23995 | fi |
|
|
23996 | |
23496 | |
23997 | |
23497 | if test "$pthreads" = "true"; then |
23998 | if test "$pthreads" = "true"; then |
23498 | |
23999 | |
23499 | |
24000 | |
23500 | for ac_header in pthread.h |
24001 | for ac_header in pthread.h |
23501 | do |
24002 | do |
23502 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
24003 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
23503 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24004 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23504 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24005 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23505 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
24006 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
23506 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24007 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24008 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23508 | fi |
24009 | fi |
23509 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
24010 | ac_res=`eval echo '${'$as_ac_Header'}'` |
23510 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
24011 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
24012 | echo "${ECHO_T}$ac_res" >&6; } |
23511 | else |
24013 | else |
23512 | # Is the header compilable? |
24014 | # Is the header compilable? |
23513 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
24015 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
23514 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
24016 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
23515 | cat >conftest.$ac_ext <<_ACEOF |
24017 | cat >conftest.$ac_ext <<_ACEOF |
23516 | /* confdefs.h. */ |
24018 | /* confdefs.h. */ |
23517 | _ACEOF |
24019 | _ACEOF |
23518 | cat confdefs.h >>conftest.$ac_ext |
24020 | cat confdefs.h >>conftest.$ac_ext |
23519 | cat >>conftest.$ac_ext <<_ACEOF |
24021 | cat >>conftest.$ac_ext <<_ACEOF |
23520 | /* end confdefs.h. */ |
24022 | /* end confdefs.h. */ |
23521 | $ac_includes_default |
24023 | $ac_includes_default |
23522 | #include <$ac_header> |
24024 | #include <$ac_header> |
23523 | _ACEOF |
24025 | _ACEOF |
23524 | rm -f conftest.$ac_objext |
24026 | rm -f conftest.$ac_objext |
|
|
24027 | if { (ac_try="$ac_compile" |
|
|
24028 | case "(($ac_try" in |
|
|
24029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24030 | *) ac_try_echo=$ac_try;; |
|
|
24031 | esac |
23525 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
24032 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23526 | (eval $ac_compile) 2>conftest.er1 |
24033 | (eval "$ac_compile") 2>conftest.er1 |
23527 | ac_status=$? |
24034 | ac_status=$? |
23528 | grep -v '^ *+' conftest.er1 >conftest.err |
24035 | grep -v '^ *+' conftest.er1 >conftest.err |
23529 | rm -f conftest.er1 |
24036 | rm -f conftest.er1 |
23530 | cat conftest.err >&5 |
24037 | cat conftest.err >&5 |
23531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24038 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23532 | (exit $ac_status); } && |
24039 | (exit $ac_status); } && { |
23533 | { ac_try='test -z "$ac_c_werror_flag" |
24040 | test -z "$ac_c_werror_flag" || |
23534 | || test ! -s conftest.err' |
24041 | test ! -s conftest.err |
23535 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24042 | } && test -s conftest.$ac_objext; then |
23536 | (eval $ac_try) 2>&5 |
|
|
23537 | ac_status=$? |
|
|
23538 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23539 | (exit $ac_status); }; } && |
|
|
23540 | { ac_try='test -s conftest.$ac_objext' |
|
|
23541 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23542 | (eval $ac_try) 2>&5 |
|
|
23543 | ac_status=$? |
|
|
23544 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23545 | (exit $ac_status); }; }; then |
|
|
23546 | ac_header_compiler=yes |
24043 | ac_header_compiler=yes |
23547 | else |
24044 | else |
23548 | echo "$as_me: failed program was:" >&5 |
24045 | echo "$as_me: failed program was:" >&5 |
23549 | sed 's/^/| /' conftest.$ac_ext >&5 |
24046 | sed 's/^/| /' conftest.$ac_ext >&5 |
23550 | |
24047 | |
23551 | ac_header_compiler=no |
24048 | ac_header_compiler=no |
23552 | fi |
24049 | fi |
|
|
24050 | |
23553 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
24051 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
23554 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24052 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23555 | echo "${ECHO_T}$ac_header_compiler" >&6 |
24053 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
23556 | |
24054 | |
23557 | # Is the header present? |
24055 | # Is the header present? |
23558 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
24056 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
23559 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
24057 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
23560 | cat >conftest.$ac_ext <<_ACEOF |
24058 | cat >conftest.$ac_ext <<_ACEOF |
23561 | /* confdefs.h. */ |
24059 | /* confdefs.h. */ |
23562 | _ACEOF |
24060 | _ACEOF |
23563 | cat confdefs.h >>conftest.$ac_ext |
24061 | cat confdefs.h >>conftest.$ac_ext |
23564 | cat >>conftest.$ac_ext <<_ACEOF |
24062 | cat >>conftest.$ac_ext <<_ACEOF |
23565 | /* end confdefs.h. */ |
24063 | /* end confdefs.h. */ |
23566 | #include <$ac_header> |
24064 | #include <$ac_header> |
23567 | _ACEOF |
24065 | _ACEOF |
23568 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
24066 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
24067 | case "(($ac_try" in |
|
|
24068 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24069 | *) ac_try_echo=$ac_try;; |
|
|
24070 | esac |
|
|
24071 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23569 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
24072 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
23570 | ac_status=$? |
24073 | ac_status=$? |
23571 | grep -v '^ *+' conftest.er1 >conftest.err |
24074 | grep -v '^ *+' conftest.er1 >conftest.err |
23572 | rm -f conftest.er1 |
24075 | rm -f conftest.er1 |
23573 | cat conftest.err >&5 |
24076 | cat conftest.err >&5 |
23574 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23575 | (exit $ac_status); } >/dev/null; then |
24078 | (exit $ac_status); } >/dev/null && { |
|
|
24079 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
23576 | if test -s conftest.err; then |
24080 | test ! -s conftest.err |
23577 | ac_cpp_err=$ac_c_preproc_warn_flag |
24081 | }; then |
23578 | ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
23579 | else |
|
|
23580 | ac_cpp_err= |
|
|
23581 | fi |
|
|
23582 | else |
|
|
23583 | ac_cpp_err=yes |
|
|
23584 | fi |
|
|
23585 | if test -z "$ac_cpp_err"; then |
|
|
23586 | ac_header_preproc=yes |
24082 | ac_header_preproc=yes |
23587 | else |
24083 | else |
23588 | echo "$as_me: failed program was:" >&5 |
24084 | echo "$as_me: failed program was:" >&5 |
23589 | sed 's/^/| /' conftest.$ac_ext >&5 |
24085 | sed 's/^/| /' conftest.$ac_ext >&5 |
23590 | |
24086 | |
23591 | ac_header_preproc=no |
24087 | ac_header_preproc=no |
23592 | fi |
24088 | fi |
|
|
24089 | |
23593 | rm -f conftest.err conftest.$ac_ext |
24090 | rm -f conftest.err conftest.$ac_ext |
23594 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
24091 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
23595 | echo "${ECHO_T}$ac_header_preproc" >&6 |
24092 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
23596 | |
24093 | |
23597 | # So? What about this header? |
24094 | # So? What about this header? |
23598 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
24095 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
23599 | yes:no: ) |
24096 | yes:no: ) |
23600 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
24097 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
… | |
… | |
23614 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
24111 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
23615 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
24112 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
23616 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
24113 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
23617 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
24114 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
23618 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
24115 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
23619 | ( |
|
|
23620 | cat <<\_ASBOX |
24116 | ( cat <<\_ASBOX |
23621 | ## ------------------------------------ ## |
24117 | ## ------------------------------------ ## |
23622 | ## Report this to jcouzens@codeshare.ca ## |
24118 | ## Report this to jcouzens@codeshare.ca ## |
23623 | ## ------------------------------------ ## |
24119 | ## ------------------------------------ ## |
23624 | _ASBOX |
24120 | _ASBOX |
23625 | ) | |
|
|
23626 | sed "s/^/$as_me: WARNING: /" >&2 |
24121 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
23627 | ;; |
24122 | ;; |
23628 | esac |
24123 | esac |
23629 | echo "$as_me:$LINENO: checking for $ac_header" >&5 |
24124 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
23630 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
24125 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
23631 | if eval "test \"\${$as_ac_Header+set}\" = set"; then |
24126 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
23632 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23633 | else |
24128 | else |
23634 | eval "$as_ac_Header=\$ac_header_preproc" |
24129 | eval "$as_ac_Header=\$ac_header_preproc" |
23635 | fi |
24130 | fi |
23636 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
24131 | ac_res=`eval echo '${'$as_ac_Header'}'` |
23637 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
24132 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
24133 | echo "${ECHO_T}$ac_res" >&6; } |
23638 | |
24134 | |
23639 | fi |
24135 | fi |
23640 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
24136 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
23641 | cat >>confdefs.h <<_ACEOF |
24137 | cat >>confdefs.h <<_ACEOF |
23642 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
24138 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
… | |
… | |
23667 | |
24163 | |
23668 | |
24164 | |
23669 | for ac_func in gethostbyname_r |
24165 | for ac_func in gethostbyname_r |
23670 | do |
24166 | do |
23671 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
24167 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
23672 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
24168 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
23673 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
24169 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
23674 | if eval "test \"\${$as_ac_var+set}\" = set"; then |
24170 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
23675 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23676 | else |
24172 | else |
23677 | cat >conftest.$ac_ext <<_ACEOF |
24173 | cat >conftest.$ac_ext <<_ACEOF |
23678 | /* confdefs.h. */ |
24174 | /* confdefs.h. */ |
23679 | _ACEOF |
24175 | _ACEOF |
… | |
… | |
23695 | # include <assert.h> |
24191 | # include <assert.h> |
23696 | #endif |
24192 | #endif |
23697 | |
24193 | |
23698 | #undef $ac_func |
24194 | #undef $ac_func |
23699 | |
24195 | |
23700 | /* Override any gcc2 internal prototype to avoid an error. */ |
24196 | /* Override any GCC internal prototype to avoid an error. |
|
|
24197 | Use char because int might match the return type of a GCC |
|
|
24198 | builtin and then its argument prototype would still apply. */ |
23701 | #ifdef __cplusplus |
24199 | #ifdef __cplusplus |
23702 | extern "C" |
24200 | extern "C" |
23703 | { |
|
|
23704 | #endif |
24201 | #endif |
23705 | /* We use char because int might match the return type of a gcc2 |
|
|
23706 | builtin and then its argument prototype would still apply. */ |
|
|
23707 | char $ac_func (); |
24202 | char $ac_func (); |
23708 | /* The GNU C library defines this for functions which it implements |
24203 | /* The GNU C library defines this for functions which it implements |
23709 | to always fail with ENOSYS. Some functions are actually named |
24204 | to always fail with ENOSYS. Some functions are actually named |
23710 | something starting with __ and the normal name is an alias. */ |
24205 | something starting with __ and the normal name is an alias. */ |
23711 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
24206 | #if defined __stub_$ac_func || defined __stub___$ac_func |
23712 | choke me |
24207 | choke me |
23713 | #else |
|
|
23714 | char (*f) () = $ac_func; |
|
|
23715 | #endif |
|
|
23716 | #ifdef __cplusplus |
|
|
23717 | } |
|
|
23718 | #endif |
24208 | #endif |
23719 | |
24209 | |
23720 | int |
24210 | int |
23721 | main () |
24211 | main () |
23722 | { |
24212 | { |
23723 | return f != $ac_func; |
24213 | return $ac_func (); |
23724 | ; |
24214 | ; |
23725 | return 0; |
24215 | return 0; |
23726 | } |
24216 | } |
23727 | _ACEOF |
24217 | _ACEOF |
23728 | rm -f conftest.$ac_objext conftest$ac_exeext |
24218 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24219 | if { (ac_try="$ac_link" |
|
|
24220 | case "(($ac_try" in |
|
|
24221 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24222 | *) ac_try_echo=$ac_try;; |
|
|
24223 | esac |
23729 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24224 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23730 | (eval $ac_link) 2>conftest.er1 |
24225 | (eval "$ac_link") 2>conftest.er1 |
23731 | ac_status=$? |
24226 | ac_status=$? |
23732 | grep -v '^ *+' conftest.er1 >conftest.err |
24227 | grep -v '^ *+' conftest.er1 >conftest.err |
23733 | rm -f conftest.er1 |
24228 | rm -f conftest.er1 |
23734 | cat conftest.err >&5 |
24229 | cat conftest.err >&5 |
23735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24230 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23736 | (exit $ac_status); } && |
24231 | (exit $ac_status); } && { |
23737 | { ac_try='test -z "$ac_c_werror_flag" |
24232 | test -z "$ac_c_werror_flag" || |
23738 | || test ! -s conftest.err' |
24233 | test ! -s conftest.err |
23739 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24234 | } && test -s conftest$ac_exeext && |
23740 | (eval $ac_try) 2>&5 |
24235 | $as_test_x conftest$ac_exeext; then |
23741 | ac_status=$? |
|
|
23742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23743 | (exit $ac_status); }; } && |
|
|
23744 | { ac_try='test -s conftest$ac_exeext' |
|
|
23745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23746 | (eval $ac_try) 2>&5 |
|
|
23747 | ac_status=$? |
|
|
23748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23749 | (exit $ac_status); }; }; then |
|
|
23750 | eval "$as_ac_var=yes" |
24236 | eval "$as_ac_var=yes" |
23751 | else |
24237 | else |
23752 | echo "$as_me: failed program was:" >&5 |
24238 | echo "$as_me: failed program was:" >&5 |
23753 | sed 's/^/| /' conftest.$ac_ext >&5 |
24239 | sed 's/^/| /' conftest.$ac_ext >&5 |
23754 | |
24240 | |
23755 | eval "$as_ac_var=no" |
24241 | eval "$as_ac_var=no" |
23756 | fi |
24242 | fi |
23757 | rm -f conftest.err conftest.$ac_objext \ |
24243 | |
|
|
24244 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23758 | conftest$ac_exeext conftest.$ac_ext |
24245 | conftest$ac_exeext conftest.$ac_ext |
23759 | fi |
24246 | fi |
23760 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
24247 | ac_res=`eval echo '${'$as_ac_var'}'` |
23761 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
24248 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
24249 | echo "${ECHO_T}$ac_res" >&6; } |
23762 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
24250 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
23763 | cat >>confdefs.h <<_ACEOF |
24251 | cat >>confdefs.h <<_ACEOF |
23764 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
24252 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
23765 | _ACEOF |
24253 | _ACEOF |
23766 | |
24254 | |
… | |
… | |
23790 | # Check to see if we should build Sendmail SPF milter and perform the pthreads |
24278 | # Check to see if we should build Sendmail SPF milter and perform the pthreads |
23791 | # check again and in the event it wasn't specified (its required) or it failed, |
24279 | # check again and in the event it wasn't specified (its required) or it failed, |
23792 | # we will catch it (and enable it if successful) here. |
24280 | # we will catch it (and enable it if successful) here. |
23793 | #------------------------------------------------------------------------------- |
24281 | #------------------------------------------------------------------------------- |
23794 | |
24282 | |
23795 | echo "$as_me:$LINENO: checking whether to build the Sendmail SPF milter?" >&5 |
24283 | { echo "$as_me:$LINENO: checking whether to build the Sendmail SPF milter?" >&5 |
23796 | echo $ECHO_N "checking whether to build the Sendmail SPF milter?... $ECHO_C" >&6 |
24284 | echo $ECHO_N "checking whether to build the Sendmail SPF milter?... $ECHO_C" >&6; } |
23797 | # Check whether --enable-spfmilter or --disable-spfmilter was given. |
24285 | # Check whether --enable-spfmilter was given. |
23798 | if test "${enable_spfmilter+set}" = set; then |
24286 | if test "${enable_spfmilter+set}" = set; then |
23799 | enableval="$enable_spfmilter" |
24287 | enableval=$enable_spfmilter; case "${enableval}" in |
23800 | case "${enableval}" in |
|
|
23801 | yes) |
24288 | yes) |
23802 | spfmilter=true |
24289 | spfmilter=true |
23803 | echo "$as_me:$LINENO: result: yes" >&5 |
24290 | { echo "$as_me:$LINENO: result: yes" >&5 |
23804 | echo "${ECHO_T}yes" >&6 |
24291 | echo "${ECHO_T}yes" >&6; } |
23805 | ;; |
24292 | ;; |
23806 | no) |
24293 | no) |
23807 | spfmilter=false |
24294 | spfmilter=false |
23808 | echo "$as_me:$LINENO: result: no" >&5 |
24295 | { echo "$as_me:$LINENO: result: no" >&5 |
23809 | echo "${ECHO_T}no" >&6 |
24296 | echo "${ECHO_T}no" >&6; } |
23810 | ;; |
24297 | ;; |
23811 | *) |
24298 | *) |
23812 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spfmilter" >&5 |
24299 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-spfmilter" >&5 |
23813 | echo "$as_me: error: bad value ${enableval} for --enable-spfmilter" >&2;} |
24300 | echo "$as_me: error: bad value ${enableval} for --enable-spfmilter" >&2;} |
23814 | { (exit 1); exit 1; }; } |
24301 | { (exit 1); exit 1; }; } |
23815 | ;; |
24302 | ;; |
23816 | esac |
24303 | esac |
23817 | else |
24304 | else |
|
|
24305 | spfmilter=false |
23818 | spfmilter=false echo "$as_me:$LINENO: result: no" >&5 |
24306 | { echo "$as_me:$LINENO: result: no" >&5 |
23819 | echo "${ECHO_T}no" >&6 |
24307 | echo "${ECHO_T}no" >&6; } |
23820 | fi; |
24308 | fi |
|
|
24309 | |
23821 | |
24310 | |
23822 | if test "$pthreads" = "false"; then |
24311 | if test "$pthreads" = "false"; then |
23823 | if test "$spfmilter" = "true"; then |
24312 | if test "$spfmilter" = "true"; then |
23824 | { { echo "$as_me:$LINENO: error: pthreads is required, please re-configure with --enable-pthreads" >&5 |
24313 | { { echo "$as_me:$LINENO: error: pthreads is required, please re-configure with --enable-pthreads" >&5 |
23825 | echo "$as_me: error: pthreads is required, please re-configure with --enable-pthreads" >&2;} |
24314 | echo "$as_me: error: pthreads is required, please re-configure with --enable-pthreads" >&2;} |
… | |
… | |
23857 | |
24346 | |
23858 | #------------------------------------------------------------------------------- |
24347 | #------------------------------------------------------------------------------- |
23859 | # getpwuid (pwd.h) |
24348 | # getpwuid (pwd.h) |
23860 | #------------------------------------------------------------------------------- |
24349 | #------------------------------------------------------------------------------- |
23861 | |
24350 | |
23862 | echo "$as_me:$LINENO: checking getpwuid" >&5 |
24351 | { echo "$as_me:$LINENO: checking getpwuid" >&5 |
23863 | echo $ECHO_N "checking getpwuid... $ECHO_C" >&6 |
24352 | echo $ECHO_N "checking getpwuid... $ECHO_C" >&6; } |
23864 | use_getpwuid=no |
24353 | use_getpwuid=no |
23865 | echo "$as_me:$LINENO: checking for getpwuid" >&5 |
24354 | { echo "$as_me:$LINENO: checking for getpwuid" >&5 |
23866 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6 |
24355 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6; } |
23867 | if test "${ac_cv_func_getpwuid+set}" = set; then |
24356 | if test "${ac_cv_func_getpwuid+set}" = set; then |
23868 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24357 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23869 | else |
24358 | else |
23870 | cat >conftest.$ac_ext <<_ACEOF |
24359 | cat >conftest.$ac_ext <<_ACEOF |
23871 | /* confdefs.h. */ |
24360 | /* confdefs.h. */ |
… | |
… | |
23888 | # include <assert.h> |
24377 | # include <assert.h> |
23889 | #endif |
24378 | #endif |
23890 | |
24379 | |
23891 | #undef getpwuid |
24380 | #undef getpwuid |
23892 | |
24381 | |
23893 | /* Override any gcc2 internal prototype to avoid an error. */ |
24382 | /* Override any GCC internal prototype to avoid an error. |
|
|
24383 | Use char because int might match the return type of a GCC |
|
|
24384 | builtin and then its argument prototype would still apply. */ |
23894 | #ifdef __cplusplus |
24385 | #ifdef __cplusplus |
23895 | extern "C" |
24386 | extern "C" |
23896 | { |
|
|
23897 | #endif |
24387 | #endif |
23898 | /* We use char because int might match the return type of a gcc2 |
|
|
23899 | builtin and then its argument prototype would still apply. */ |
|
|
23900 | char getpwuid (); |
24388 | char getpwuid (); |
23901 | /* The GNU C library defines this for functions which it implements |
24389 | /* The GNU C library defines this for functions which it implements |
23902 | to always fail with ENOSYS. Some functions are actually named |
24390 | to always fail with ENOSYS. Some functions are actually named |
23903 | something starting with __ and the normal name is an alias. */ |
24391 | something starting with __ and the normal name is an alias. */ |
23904 | #if defined (__stub_getpwuid) || defined (__stub___getpwuid) |
24392 | #if defined __stub_getpwuid || defined __stub___getpwuid |
23905 | choke me |
24393 | choke me |
23906 | #else |
|
|
23907 | char (*f) () = getpwuid; |
|
|
23908 | #endif |
|
|
23909 | #ifdef __cplusplus |
|
|
23910 | } |
|
|
23911 | #endif |
24394 | #endif |
23912 | |
24395 | |
23913 | int |
24396 | int |
23914 | main () |
24397 | main () |
23915 | { |
24398 | { |
23916 | return f != getpwuid; |
24399 | return getpwuid (); |
23917 | ; |
24400 | ; |
23918 | return 0; |
24401 | return 0; |
23919 | } |
24402 | } |
23920 | _ACEOF |
24403 | _ACEOF |
23921 | rm -f conftest.$ac_objext conftest$ac_exeext |
24404 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24405 | if { (ac_try="$ac_link" |
|
|
24406 | case "(($ac_try" in |
|
|
24407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24408 | *) ac_try_echo=$ac_try;; |
|
|
24409 | esac |
23922 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24410 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
23923 | (eval $ac_link) 2>conftest.er1 |
24411 | (eval "$ac_link") 2>conftest.er1 |
23924 | ac_status=$? |
24412 | ac_status=$? |
23925 | grep -v '^ *+' conftest.er1 >conftest.err |
24413 | grep -v '^ *+' conftest.er1 >conftest.err |
23926 | rm -f conftest.er1 |
24414 | rm -f conftest.er1 |
23927 | cat conftest.err >&5 |
24415 | cat conftest.err >&5 |
23928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
23929 | (exit $ac_status); } && |
24417 | (exit $ac_status); } && { |
23930 | { ac_try='test -z "$ac_c_werror_flag" |
24418 | test -z "$ac_c_werror_flag" || |
23931 | || test ! -s conftest.err' |
24419 | test ! -s conftest.err |
23932 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24420 | } && test -s conftest$ac_exeext && |
23933 | (eval $ac_try) 2>&5 |
24421 | $as_test_x conftest$ac_exeext; then |
23934 | ac_status=$? |
|
|
23935 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23936 | (exit $ac_status); }; } && |
|
|
23937 | { ac_try='test -s conftest$ac_exeext' |
|
|
23938 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
23939 | (eval $ac_try) 2>&5 |
|
|
23940 | ac_status=$? |
|
|
23941 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
23942 | (exit $ac_status); }; }; then |
|
|
23943 | ac_cv_func_getpwuid=yes |
24422 | ac_cv_func_getpwuid=yes |
23944 | else |
24423 | else |
23945 | echo "$as_me: failed program was:" >&5 |
24424 | echo "$as_me: failed program was:" >&5 |
23946 | sed 's/^/| /' conftest.$ac_ext >&5 |
24425 | sed 's/^/| /' conftest.$ac_ext >&5 |
23947 | |
24426 | |
23948 | ac_cv_func_getpwuid=no |
24427 | ac_cv_func_getpwuid=no |
23949 | fi |
24428 | fi |
23950 | rm -f conftest.err conftest.$ac_objext \ |
24429 | |
|
|
24430 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
23951 | conftest$ac_exeext conftest.$ac_ext |
24431 | conftest$ac_exeext conftest.$ac_ext |
23952 | fi |
24432 | fi |
23953 | echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
24433 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
23954 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6 |
24434 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6; } |
23955 | if test $ac_cv_func_getpwuid = yes; then |
24435 | if test $ac_cv_func_getpwuid = yes; then |
23956 | use_getpwuid=yes |
24436 | use_getpwuid=yes |
23957 | else |
24437 | else |
23958 | echo "$as_me:$LINENO: checking for getpwuid" >&5 |
24438 | { echo "$as_me:$LINENO: checking for getpwuid" >&5 |
23959 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6 |
24439 | echo $ECHO_N "checking for getpwuid... $ECHO_C" >&6; } |
23960 | if test "${ac_cv_func_getpwuid+set}" = set; then |
24440 | if test "${ac_cv_func_getpwuid+set}" = set; then |
23961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24441 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
23962 | else |
24442 | else |
23963 | cat >conftest.$ac_ext <<_ACEOF |
24443 | cat >conftest.$ac_ext <<_ACEOF |
23964 | /* confdefs.h. */ |
24444 | /* confdefs.h. */ |
… | |
… | |
23981 | # include <assert.h> |
24461 | # include <assert.h> |
23982 | #endif |
24462 | #endif |
23983 | |
24463 | |
23984 | #undef getpwuid |
24464 | #undef getpwuid |
23985 | |
24465 | |
23986 | /* Override any gcc2 internal prototype to avoid an error. */ |
24466 | /* Override any GCC internal prototype to avoid an error. |
|
|
24467 | Use char because int might match the return type of a GCC |
|
|
24468 | builtin and then its argument prototype would still apply. */ |
23987 | #ifdef __cplusplus |
24469 | #ifdef __cplusplus |
23988 | extern "C" |
24470 | extern "C" |
23989 | { |
|
|
23990 | #endif |
24471 | #endif |
23991 | /* We use char because int might match the return type of a gcc2 |
|
|
23992 | builtin and then its argument prototype would still apply. */ |
|
|
23993 | char getpwuid (); |
24472 | char getpwuid (); |
23994 | /* The GNU C library defines this for functions which it implements |
24473 | /* The GNU C library defines this for functions which it implements |
23995 | to always fail with ENOSYS. Some functions are actually named |
24474 | to always fail with ENOSYS. Some functions are actually named |
23996 | something starting with __ and the normal name is an alias. */ |
24475 | something starting with __ and the normal name is an alias. */ |
23997 | #if defined (__stub_getpwuid) || defined (__stub___getpwuid) |
24476 | #if defined __stub_getpwuid || defined __stub___getpwuid |
23998 | choke me |
24477 | choke me |
23999 | #else |
|
|
24000 | char (*f) () = getpwuid; |
|
|
24001 | #endif |
|
|
24002 | #ifdef __cplusplus |
|
|
24003 | } |
|
|
24004 | #endif |
24478 | #endif |
24005 | |
24479 | |
24006 | int |
24480 | int |
24007 | main () |
24481 | main () |
24008 | { |
24482 | { |
24009 | return f != getpwuid; |
24483 | return getpwuid (); |
24010 | ; |
24484 | ; |
24011 | return 0; |
24485 | return 0; |
24012 | } |
24486 | } |
24013 | _ACEOF |
24487 | _ACEOF |
24014 | rm -f conftest.$ac_objext conftest$ac_exeext |
24488 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24489 | if { (ac_try="$ac_link" |
|
|
24490 | case "(($ac_try" in |
|
|
24491 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24492 | *) ac_try_echo=$ac_try;; |
|
|
24493 | esac |
24015 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24494 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
24016 | (eval $ac_link) 2>conftest.er1 |
24495 | (eval "$ac_link") 2>conftest.er1 |
24017 | ac_status=$? |
24496 | ac_status=$? |
24018 | grep -v '^ *+' conftest.er1 >conftest.err |
24497 | grep -v '^ *+' conftest.er1 >conftest.err |
24019 | rm -f conftest.er1 |
24498 | rm -f conftest.er1 |
24020 | cat conftest.err >&5 |
24499 | cat conftest.err >&5 |
24021 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24500 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24022 | (exit $ac_status); } && |
24501 | (exit $ac_status); } && { |
24023 | { ac_try='test -z "$ac_c_werror_flag" |
24502 | test -z "$ac_c_werror_flag" || |
24024 | || test ! -s conftest.err' |
24503 | test ! -s conftest.err |
24025 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24504 | } && test -s conftest$ac_exeext && |
24026 | (eval $ac_try) 2>&5 |
24505 | $as_test_x conftest$ac_exeext; then |
24027 | ac_status=$? |
|
|
24028 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24029 | (exit $ac_status); }; } && |
|
|
24030 | { ac_try='test -s conftest$ac_exeext' |
|
|
24031 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
24032 | (eval $ac_try) 2>&5 |
|
|
24033 | ac_status=$? |
|
|
24034 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24035 | (exit $ac_status); }; }; then |
|
|
24036 | ac_cv_func_getpwuid=yes |
24506 | ac_cv_func_getpwuid=yes |
24037 | else |
24507 | else |
24038 | echo "$as_me: failed program was:" >&5 |
24508 | echo "$as_me: failed program was:" >&5 |
24039 | sed 's/^/| /' conftest.$ac_ext >&5 |
24509 | sed 's/^/| /' conftest.$ac_ext >&5 |
24040 | |
24510 | |
24041 | ac_cv_func_getpwuid=no |
24511 | ac_cv_func_getpwuid=no |
24042 | fi |
24512 | fi |
24043 | rm -f conftest.err conftest.$ac_objext \ |
24513 | |
|
|
24514 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
24044 | conftest$ac_exeext conftest.$ac_ext |
24515 | conftest$ac_exeext conftest.$ac_ext |
24045 | fi |
24516 | fi |
24046 | echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
24517 | { echo "$as_me:$LINENO: result: $ac_cv_func_getpwuid" >&5 |
24047 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6 |
24518 | echo "${ECHO_T}$ac_cv_func_getpwuid" >&6; } |
24048 | |
24519 | |
24049 | fi |
24520 | fi |
24050 | |
24521 | |
24051 | if test "x$use_getpwuid" = "xyes"; then |
24522 | if test "x$use_getpwuid" = "xyes"; then |
24052 | |
24523 | |
… | |
… | |
24063 | |
24534 | |
24064 | #------------------------------------------------------------------------------- |
24535 | #------------------------------------------------------------------------------- |
24065 | # setgroups (grp.h) |
24536 | # setgroups (grp.h) |
24066 | #------------------------------------------------------------------------------- |
24537 | #------------------------------------------------------------------------------- |
24067 | |
24538 | |
24068 | echo "$as_me:$LINENO: checking setgroups" >&5 |
24539 | { echo "$as_me:$LINENO: checking setgroups" >&5 |
24069 | echo $ECHO_N "checking setgroups... $ECHO_C" >&6 |
24540 | echo $ECHO_N "checking setgroups... $ECHO_C" >&6; } |
24070 | use_setgroups=no |
24541 | use_setgroups=no |
24071 | echo "$as_me:$LINENO: checking for setgroups" >&5 |
24542 | { echo "$as_me:$LINENO: checking for setgroups" >&5 |
24072 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6 |
24543 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; } |
24073 | if test "${ac_cv_func_setgroups+set}" = set; then |
24544 | if test "${ac_cv_func_setgroups+set}" = set; then |
24074 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24545 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24075 | else |
24546 | else |
24076 | cat >conftest.$ac_ext <<_ACEOF |
24547 | cat >conftest.$ac_ext <<_ACEOF |
24077 | /* confdefs.h. */ |
24548 | /* confdefs.h. */ |
… | |
… | |
24094 | # include <assert.h> |
24565 | # include <assert.h> |
24095 | #endif |
24566 | #endif |
24096 | |
24567 | |
24097 | #undef setgroups |
24568 | #undef setgroups |
24098 | |
24569 | |
24099 | /* Override any gcc2 internal prototype to avoid an error. */ |
24570 | /* Override any GCC internal prototype to avoid an error. |
|
|
24571 | Use char because int might match the return type of a GCC |
|
|
24572 | builtin and then its argument prototype would still apply. */ |
24100 | #ifdef __cplusplus |
24573 | #ifdef __cplusplus |
24101 | extern "C" |
24574 | extern "C" |
24102 | { |
|
|
24103 | #endif |
24575 | #endif |
24104 | /* We use char because int might match the return type of a gcc2 |
|
|
24105 | builtin and then its argument prototype would still apply. */ |
|
|
24106 | char setgroups (); |
24576 | char setgroups (); |
24107 | /* The GNU C library defines this for functions which it implements |
24577 | /* The GNU C library defines this for functions which it implements |
24108 | to always fail with ENOSYS. Some functions are actually named |
24578 | to always fail with ENOSYS. Some functions are actually named |
24109 | something starting with __ and the normal name is an alias. */ |
24579 | something starting with __ and the normal name is an alias. */ |
24110 | #if defined (__stub_setgroups) || defined (__stub___setgroups) |
24580 | #if defined __stub_setgroups || defined __stub___setgroups |
24111 | choke me |
24581 | choke me |
24112 | #else |
|
|
24113 | char (*f) () = setgroups; |
|
|
24114 | #endif |
|
|
24115 | #ifdef __cplusplus |
|
|
24116 | } |
|
|
24117 | #endif |
24582 | #endif |
24118 | |
24583 | |
24119 | int |
24584 | int |
24120 | main () |
24585 | main () |
24121 | { |
24586 | { |
24122 | return f != setgroups; |
24587 | return setgroups (); |
24123 | ; |
24588 | ; |
24124 | return 0; |
24589 | return 0; |
24125 | } |
24590 | } |
24126 | _ACEOF |
24591 | _ACEOF |
24127 | rm -f conftest.$ac_objext conftest$ac_exeext |
24592 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24593 | if { (ac_try="$ac_link" |
|
|
24594 | case "(($ac_try" in |
|
|
24595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24596 | *) ac_try_echo=$ac_try;; |
|
|
24597 | esac |
24128 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
24129 | (eval $ac_link) 2>conftest.er1 |
24599 | (eval "$ac_link") 2>conftest.er1 |
24130 | ac_status=$? |
24600 | ac_status=$? |
24131 | grep -v '^ *+' conftest.er1 >conftest.err |
24601 | grep -v '^ *+' conftest.er1 >conftest.err |
24132 | rm -f conftest.er1 |
24602 | rm -f conftest.er1 |
24133 | cat conftest.err >&5 |
24603 | cat conftest.err >&5 |
24134 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24135 | (exit $ac_status); } && |
24605 | (exit $ac_status); } && { |
24136 | { ac_try='test -z "$ac_c_werror_flag" |
24606 | test -z "$ac_c_werror_flag" || |
24137 | || test ! -s conftest.err' |
24607 | test ! -s conftest.err |
24138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24608 | } && test -s conftest$ac_exeext && |
24139 | (eval $ac_try) 2>&5 |
24609 | $as_test_x conftest$ac_exeext; then |
24140 | ac_status=$? |
|
|
24141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24142 | (exit $ac_status); }; } && |
|
|
24143 | { ac_try='test -s conftest$ac_exeext' |
|
|
24144 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
24145 | (eval $ac_try) 2>&5 |
|
|
24146 | ac_status=$? |
|
|
24147 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24148 | (exit $ac_status); }; }; then |
|
|
24149 | ac_cv_func_setgroups=yes |
24610 | ac_cv_func_setgroups=yes |
24150 | else |
24611 | else |
24151 | echo "$as_me: failed program was:" >&5 |
24612 | echo "$as_me: failed program was:" >&5 |
24152 | sed 's/^/| /' conftest.$ac_ext >&5 |
24613 | sed 's/^/| /' conftest.$ac_ext >&5 |
24153 | |
24614 | |
24154 | ac_cv_func_setgroups=no |
24615 | ac_cv_func_setgroups=no |
24155 | fi |
24616 | fi |
24156 | rm -f conftest.err conftest.$ac_objext \ |
24617 | |
|
|
24618 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
24157 | conftest$ac_exeext conftest.$ac_ext |
24619 | conftest$ac_exeext conftest.$ac_ext |
24158 | fi |
24620 | fi |
24159 | echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24621 | { echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24160 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6 |
24622 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6; } |
24161 | if test $ac_cv_func_setgroups = yes; then |
24623 | if test $ac_cv_func_setgroups = yes; then |
24162 | use_setgroups=yes |
24624 | use_setgroups=yes |
24163 | else |
24625 | else |
24164 | echo "$as_me:$LINENO: checking for setgroups" >&5 |
24626 | { echo "$as_me:$LINENO: checking for setgroups" >&5 |
24165 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6 |
24627 | echo $ECHO_N "checking for setgroups... $ECHO_C" >&6; } |
24166 | if test "${ac_cv_func_setgroups+set}" = set; then |
24628 | if test "${ac_cv_func_setgroups+set}" = set; then |
24167 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24629 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
24168 | else |
24630 | else |
24169 | cat >conftest.$ac_ext <<_ACEOF |
24631 | cat >conftest.$ac_ext <<_ACEOF |
24170 | /* confdefs.h. */ |
24632 | /* confdefs.h. */ |
… | |
… | |
24187 | # include <assert.h> |
24649 | # include <assert.h> |
24188 | #endif |
24650 | #endif |
24189 | |
24651 | |
24190 | #undef setgroups |
24652 | #undef setgroups |
24191 | |
24653 | |
24192 | /* Override any gcc2 internal prototype to avoid an error. */ |
24654 | /* Override any GCC internal prototype to avoid an error. |
|
|
24655 | Use char because int might match the return type of a GCC |
|
|
24656 | builtin and then its argument prototype would still apply. */ |
24193 | #ifdef __cplusplus |
24657 | #ifdef __cplusplus |
24194 | extern "C" |
24658 | extern "C" |
24195 | { |
|
|
24196 | #endif |
24659 | #endif |
24197 | /* We use char because int might match the return type of a gcc2 |
|
|
24198 | builtin and then its argument prototype would still apply. */ |
|
|
24199 | char setgroups (); |
24660 | char setgroups (); |
24200 | /* The GNU C library defines this for functions which it implements |
24661 | /* The GNU C library defines this for functions which it implements |
24201 | to always fail with ENOSYS. Some functions are actually named |
24662 | to always fail with ENOSYS. Some functions are actually named |
24202 | something starting with __ and the normal name is an alias. */ |
24663 | something starting with __ and the normal name is an alias. */ |
24203 | #if defined (__stub_setgroups) || defined (__stub___setgroups) |
24664 | #if defined __stub_setgroups || defined __stub___setgroups |
24204 | choke me |
24665 | choke me |
24205 | #else |
|
|
24206 | char (*f) () = setgroups; |
|
|
24207 | #endif |
|
|
24208 | #ifdef __cplusplus |
|
|
24209 | } |
|
|
24210 | #endif |
24666 | #endif |
24211 | |
24667 | |
24212 | int |
24668 | int |
24213 | main () |
24669 | main () |
24214 | { |
24670 | { |
24215 | return f != setgroups; |
24671 | return setgroups (); |
24216 | ; |
24672 | ; |
24217 | return 0; |
24673 | return 0; |
24218 | } |
24674 | } |
24219 | _ACEOF |
24675 | _ACEOF |
24220 | rm -f conftest.$ac_objext conftest$ac_exeext |
24676 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
24677 | if { (ac_try="$ac_link" |
|
|
24678 | case "(($ac_try" in |
|
|
24679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
24680 | *) ac_try_echo=$ac_try;; |
|
|
24681 | esac |
24221 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
24682 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
24222 | (eval $ac_link) 2>conftest.er1 |
24683 | (eval "$ac_link") 2>conftest.er1 |
24223 | ac_status=$? |
24684 | ac_status=$? |
24224 | grep -v '^ *+' conftest.er1 >conftest.err |
24685 | grep -v '^ *+' conftest.er1 >conftest.err |
24225 | rm -f conftest.er1 |
24686 | rm -f conftest.er1 |
24226 | cat conftest.err >&5 |
24687 | cat conftest.err >&5 |
24227 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
24228 | (exit $ac_status); } && |
24689 | (exit $ac_status); } && { |
24229 | { ac_try='test -z "$ac_c_werror_flag" |
24690 | test -z "$ac_c_werror_flag" || |
24230 | || test ! -s conftest.err' |
24691 | test ! -s conftest.err |
24231 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
24692 | } && test -s conftest$ac_exeext && |
24232 | (eval $ac_try) 2>&5 |
24693 | $as_test_x conftest$ac_exeext; then |
24233 | ac_status=$? |
|
|
24234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24235 | (exit $ac_status); }; } && |
|
|
24236 | { ac_try='test -s conftest$ac_exeext' |
|
|
24237 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
24238 | (eval $ac_try) 2>&5 |
|
|
24239 | ac_status=$? |
|
|
24240 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
24241 | (exit $ac_status); }; }; then |
|
|
24242 | ac_cv_func_setgroups=yes |
24694 | ac_cv_func_setgroups=yes |
24243 | else |
24695 | else |
24244 | echo "$as_me: failed program was:" >&5 |
24696 | echo "$as_me: failed program was:" >&5 |
24245 | sed 's/^/| /' conftest.$ac_ext >&5 |
24697 | sed 's/^/| /' conftest.$ac_ext >&5 |
24246 | |
24698 | |
24247 | ac_cv_func_setgroups=no |
24699 | ac_cv_func_setgroups=no |
24248 | fi |
24700 | fi |
24249 | rm -f conftest.err conftest.$ac_objext \ |
24701 | |
|
|
24702 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
24250 | conftest$ac_exeext conftest.$ac_ext |
24703 | conftest$ac_exeext conftest.$ac_ext |
24251 | fi |
24704 | fi |
24252 | echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24705 | { echo "$as_me:$LINENO: result: $ac_cv_func_setgroups" >&5 |
24253 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6 |
24706 | echo "${ECHO_T}$ac_cv_func_setgroups" >&6; } |
24254 | |
24707 | |
24255 | fi |
24708 | fi |
24256 | |
24709 | |
24257 | if test "x$use_setgroups" = "xyes"; then |
24710 | if test "x$use_setgroups" = "xyes"; then |
24258 | |
24711 | |
… | |
… | |
24273 | # Enable compiler full-optimizations which lead to greater performance |
24726 | # Enable compiler full-optimizations which lead to greater performance |
24274 | #------------------------------------------------------------------------------- |
24727 | #------------------------------------------------------------------------------- |
24275 | |
24728 | |
24276 | if test "$debug" = "false"; then |
24729 | if test "$debug" = "false"; then |
24277 | |
24730 | |
24278 | echo "$as_me:$LINENO: checking whether I should enable full optimizations" >&5 |
24731 | { echo "$as_me:$LINENO: checking whether I should enable full optimizations" >&5 |
24279 | echo $ECHO_N "checking whether I should enable full optimizations... $ECHO_C" >&6 |
24732 | echo $ECHO_N "checking whether I should enable full optimizations... $ECHO_C" >&6; } |
24280 | # Check whether --enable-full_optimizations or --disable-full_optimizations was given. |
24733 | # Check whether --enable-full_optimizations was given. |
24281 | if test "${enable_full_optimizations+set}" = set; then |
24734 | if test "${enable_full_optimizations+set}" = set; then |
24282 | enableval="$enable_full_optimizations" |
24735 | enableval=$enable_full_optimizations; case "${enableval}" in |
24283 | case "${enableval}" in |
|
|
24284 | yes) |
24736 | yes) |
24285 | full_optimizations=true |
24737 | full_optimizations=true |
24286 | echo "$as_me:$LINENO: result: yes" >&5 |
24738 | { echo "$as_me:$LINENO: result: yes" >&5 |
24287 | echo "${ECHO_T}yes" >&6 |
24739 | echo "${ECHO_T}yes" >&6; } |
24288 | ;; |
24740 | ;; |
24289 | no) |
24741 | no) |
24290 | full_optimizations=false |
24742 | full_optimizations=false |
24291 | echo "$as_me:$LINENO: result: no" >&5 |
24743 | { echo "$as_me:$LINENO: result: no" >&5 |
24292 | echo "${ECHO_T}no" >&6 |
24744 | echo "${ECHO_T}no" >&6; } |
24293 | ;; |
24745 | ;; |
24294 | *) |
24746 | *) |
24295 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-full-optimizations" >&5 |
24747 | { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-full-optimizations" >&5 |
24296 | echo "$as_me: error: bad value ${enableval} for --enable-full-optimizations" >&2;} |
24748 | echo "$as_me: error: bad value ${enableval} for --enable-full-optimizations" >&2;} |
24297 | { (exit 1); exit 1; }; } |
24749 | { (exit 1); exit 1; }; } |
24298 | ;; |
24750 | ;; |
24299 | esac |
24751 | esac |
24300 | else |
24752 | else |
|
|
24753 | full_optimizations=false |
24301 | full_optimizations=false echo "$as_me:$LINENO: result: no" >&5 |
24754 | { echo "$as_me:$LINENO: result: no" >&5 |
24302 | echo "${ECHO_T}no" >&6 |
24755 | echo "${ECHO_T}no" >&6; } |
24303 | fi; |
24756 | fi |
|
|
24757 | |
24304 | |
24758 | |
24305 | if test "$full_optimizations" = "true"; then |
24759 | if test "$full_optimizations" = "true"; then |
24306 | if [ "x$GCCVER" != "xno" ]; then |
24760 | if [ "x$GCCVER" != "xno" ]; then |
24307 | echo "$as_me:$LINENO: result: yes" >&5 |
24761 | { echo "$as_me:$LINENO: result: yes" >&5 |
24308 | echo "${ECHO_T}yes" >&6 |
24762 | echo "${ECHO_T}yes" >&6; } |
24309 | #CFLAGS="$CFLAGS -O2 -pipe -funroll-loops -ffast-math -ftracer -fweb" |
24763 | #CFLAGS="$CFLAGS -O2 -pipe -funroll-loops -ffast-math -ftracer -fweb" |
24310 | #CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
24764 | #CFLAGS="$CFLAGS -O3 -ffast-math -fomit-frame-pointer" |
24311 | fi |
24765 | fi |
24312 | fi |
24766 | fi |
24313 | fi |
24767 | fi |
… | |
… | |
24315 | |
24769 | |
24316 | #------------------------------------------------------------------------------- |
24770 | #------------------------------------------------------------------------------- |
24317 | # Generate Makefiles |
24771 | # Generate Makefiles |
24318 | #------------------------------------------------------------------------------- |
24772 | #------------------------------------------------------------------------------- |
24319 | |
24773 | |
24320 | ac_config_files="$ac_config_files Makefile src/Makefile src/libspf/Makefile src/spfqtool/Makefile src/libspf/spf.h src/libspf/util.c src/spfmilter/Makefile" |
24774 | ac_config_files="$ac_config_files Makefile src/Makefile src/libspf/Makefile src/spfqtool/Makefile src/libspf/spf.h src/libspf/util.c src/spfmilter/Makefile" |
|
|
24775 | |
24321 | cat >confcache <<\_ACEOF |
24776 | cat >confcache <<\_ACEOF |
24322 | # This file is a shell script that caches the results of configure |
24777 | # This file is a shell script that caches the results of configure |
24323 | # tests run on this system so they can be shared between configure |
24778 | # tests run on this system so they can be shared between configure |
24324 | # scripts and configure runs, see configure's option --config-cache. |
24779 | # scripts and configure runs, see configure's option --config-cache. |
24325 | # It is not useful on other systems. If it contains results you don't |
24780 | # It is not useful on other systems. If it contains results you don't |
… | |
… | |
24334 | |
24789 | |
24335 | _ACEOF |
24790 | _ACEOF |
24336 | |
24791 | |
24337 | # The following way of writing the cache mishandles newlines in values, |
24792 | # The following way of writing the cache mishandles newlines in values, |
24338 | # but we know of no workaround that is simple, portable, and efficient. |
24793 | # but we know of no workaround that is simple, portable, and efficient. |
24339 | # So, don't put newlines in cache variables' values. |
24794 | # So, we kill variables containing newlines. |
24340 | # Ultrix sh set writes to stderr and can't be redirected directly, |
24795 | # Ultrix sh set writes to stderr and can't be redirected directly, |
24341 | # and sets the high bit in the cache file unless we assign to the vars. |
24796 | # and sets the high bit in the cache file unless we assign to the vars. |
24342 | { |
24797 | ( |
|
|
24798 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
|
24799 | eval ac_val=\$$ac_var |
|
|
24800 | case $ac_val in #( |
|
|
24801 | *${as_nl}*) |
|
|
24802 | case $ac_var in #( |
|
|
24803 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 |
|
|
24804 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; |
|
|
24805 | esac |
|
|
24806 | case $ac_var in #( |
|
|
24807 | _ | IFS | as_nl) ;; #( |
|
|
24808 | *) $as_unset $ac_var ;; |
|
|
24809 | esac ;; |
|
|
24810 | esac |
|
|
24811 | done |
|
|
24812 | |
24343 | (set) 2>&1 | |
24813 | (set) 2>&1 | |
24344 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
24814 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
24345 | *ac_space=\ *) |
24815 | *${as_nl}ac_space=\ *) |
24346 | # `set' does not quote correctly, so add quotes (double-quote |
24816 | # `set' does not quote correctly, so add quotes (double-quote |
24347 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
24817 | # substitution turns \\\\ into \\, and sed turns \\ into \). |
24348 | sed -n \ |
24818 | sed -n \ |
24349 | "s/'/'\\\\''/g; |
24819 | "s/'/'\\\\''/g; |
24350 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
24820 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
24351 | ;; |
24821 | ;; #( |
24352 | *) |
24822 | *) |
24353 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
24823 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
24354 | sed -n \ |
24824 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
24355 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
|
|
24356 | ;; |
24825 | ;; |
24357 | esac; |
24826 | esac | |
24358 | } | |
24827 | sort |
|
|
24828 | ) | |
24359 | sed ' |
24829 | sed ' |
|
|
24830 | /^ac_cv_env_/b end |
24360 | t clear |
24831 | t clear |
24361 | : clear |
24832 | :clear |
24362 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
24833 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
24363 | t end |
24834 | t end |
24364 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
24835 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
24365 | : end' >>confcache |
24836 | :end' >>confcache |
24366 | if diff $cache_file confcache >/dev/null 2>&1; then :; else |
24837 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
24367 | if test -w $cache_file; then |
24838 | if test -w "$cache_file"; then |
24368 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
24839 | test "x$cache_file" != "x/dev/null" && |
|
|
24840 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5 |
|
|
24841 | echo "$as_me: updating cache $cache_file" >&6;} |
24369 | cat confcache >$cache_file |
24842 | cat confcache >$cache_file |
24370 | else |
24843 | else |
|
|
24844 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
24371 | echo "not updating unwritable cache $cache_file" |
24845 | echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
24372 | fi |
24846 | fi |
24373 | fi |
24847 | fi |
24374 | rm -f confcache |
24848 | rm -f confcache |
24375 | |
24849 | |
24376 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
24850 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
24377 | # Let make expand exec_prefix. |
24851 | # Let make expand exec_prefix. |
24378 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
24852 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
24379 | |
|
|
24380 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
|
24381 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
24382 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
24383 | # (actually we leave an empty line to preserve line numbers). |
|
|
24384 | if test "x$srcdir" = x.; then |
|
|
24385 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
24386 | s/:*\$(srcdir):*/:/; |
|
|
24387 | s/:*\${srcdir}:*/:/; |
|
|
24388 | s/:*@srcdir@:*/:/; |
|
|
24389 | s/^\([^=]*=[ ]*\):*/\1/; |
|
|
24390 | s/:*$//; |
|
|
24391 | s/^[^=]*=[ ]*$//; |
|
|
24392 | }' |
|
|
24393 | fi |
|
|
24394 | |
24853 | |
24395 | DEFS=-DHAVE_CONFIG_H |
24854 | DEFS=-DHAVE_CONFIG_H |
24396 | |
24855 | |
24397 | ac_libobjs= |
24856 | ac_libobjs= |
24398 | ac_ltlibobjs= |
24857 | ac_ltlibobjs= |
24399 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
24858 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
24400 | # 1. Remove the extension, and $U if already installed. |
24859 | # 1. Remove the extension, and $U if already installed. |
24401 | ac_i=`echo "$ac_i" | |
|
|
24402 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
24860 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
24403 | # 2. Add them. |
24861 | ac_i=`echo "$ac_i" | sed "$ac_script"` |
|
|
24862 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
|
24863 | # will be set to the directory where LIBOBJS objects are built. |
24404 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" |
24864 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
24405 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' |
24865 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' |
24406 | done |
24866 | done |
24407 | LIBOBJS=$ac_libobjs |
24867 | LIBOBJS=$ac_libobjs |
24408 | |
24868 | |
24409 | LTLIBOBJS=$ac_ltlibobjs |
24869 | LTLIBOBJS=$ac_ltlibobjs |
24410 | |
24870 | |
… | |
… | |
24445 | cat >>$CONFIG_STATUS <<\_ACEOF |
24905 | cat >>$CONFIG_STATUS <<\_ACEOF |
24446 | ## --------------------- ## |
24906 | ## --------------------- ## |
24447 | ## M4sh Initialization. ## |
24907 | ## M4sh Initialization. ## |
24448 | ## --------------------- ## |
24908 | ## --------------------- ## |
24449 | |
24909 | |
24450 | # Be Bourne compatible |
24910 | # Be more Bourne compatible |
|
|
24911 | DUALCASE=1; export DUALCASE # for MKS sh |
24451 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
24912 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
24452 | emulate sh |
24913 | emulate sh |
24453 | NULLCMD=: |
24914 | NULLCMD=: |
24454 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
24915 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
24455 | # is contrary to our usage. Disable this feature. |
24916 | # is contrary to our usage. Disable this feature. |
24456 | alias -g '${1+"$@"}'='"$@"' |
24917 | alias -g '${1+"$@"}'='"$@"' |
24457 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
24918 | setopt NO_GLOB_SUBST |
24458 | set -o posix |
|
|
24459 | fi |
|
|
24460 | DUALCASE=1; export DUALCASE # for MKS sh |
|
|
24461 | |
|
|
24462 | # Support unset when possible. |
|
|
24463 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
24464 | as_unset=unset |
|
|
24465 | else |
|
|
24466 | as_unset=false |
|
|
24467 | fi |
|
|
24468 | |
|
|
24469 | |
|
|
24470 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
24471 | $as_unset ENV MAIL MAILPATH |
|
|
24472 | PS1='$ ' |
|
|
24473 | PS2='> ' |
|
|
24474 | PS4='+ ' |
|
|
24475 | |
|
|
24476 | # NLS nuisances. |
|
|
24477 | for as_var in \ |
|
|
24478 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
24479 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
24480 | LC_TELEPHONE LC_TIME |
|
|
24481 | do |
|
|
24482 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
24483 | eval $as_var=C; export $as_var |
|
|
24484 | else |
24919 | else |
24485 | $as_unset $as_var |
24920 | case `(set -o) 2>/dev/null` in |
24486 | fi |
24921 | *posix*) set -o posix ;; |
24487 | done |
24922 | esac |
24488 | |
24923 | |
24489 | # Required to use basename. |
|
|
24490 | if expr a : '\(a\)' >/dev/null 2>&1; then |
|
|
24491 | as_expr=expr |
|
|
24492 | else |
|
|
24493 | as_expr=false |
|
|
24494 | fi |
24924 | fi |
24495 | |
24925 | |
24496 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
|
|
24497 | as_basename=basename |
|
|
24498 | else |
|
|
24499 | as_basename=false |
|
|
24500 | fi |
|
|
24501 | |
24926 | |
24502 | |
24927 | |
24503 | # Name of the executable. |
|
|
24504 | as_me=`$as_basename "$0" || |
|
|
24505 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
24506 | X"$0" : 'X\(//\)$' \| \ |
|
|
24507 | X"$0" : 'X\(/\)$' \| \ |
|
|
24508 | . : '\(.\)' 2>/dev/null || |
|
|
24509 | echo X/"$0" | |
|
|
24510 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
|
|
24511 | /^X\/\(\/\/\)$/{ s//\1/; q; } |
|
|
24512 | /^X\/\(\/\).*/{ s//\1/; q; } |
|
|
24513 | s/.*/./; q'` |
|
|
24514 | |
24928 | |
24515 | |
24929 | # PATH needs CR |
24516 | # PATH needs CR, and LINENO needs CR and PATH. |
|
|
24517 | # Avoid depending upon Character Ranges. |
24930 | # Avoid depending upon Character Ranges. |
24518 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
24931 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
24519 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
24932 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
24520 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
24933 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
24521 | as_cr_digits='0123456789' |
24934 | as_cr_digits='0123456789' |
… | |
… | |
24532 | PATH_SEPARATOR=: |
24945 | PATH_SEPARATOR=: |
24533 | fi |
24946 | fi |
24534 | rm -f conf$$.sh |
24947 | rm -f conf$$.sh |
24535 | fi |
24948 | fi |
24536 | |
24949 | |
|
|
24950 | # Support unset when possible. |
|
|
24951 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
|
|
24952 | as_unset=unset |
|
|
24953 | else |
|
|
24954 | as_unset=false |
|
|
24955 | fi |
24537 | |
24956 | |
24538 | as_lineno_1=$LINENO |
24957 | |
24539 | as_lineno_2=$LINENO |
24958 | # IFS |
24540 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
24959 | # We need space, tab and new line, in precisely that order. Quoting is |
24541 | test "x$as_lineno_1" != "x$as_lineno_2" && |
24960 | # there to prevent editors from complaining about space-tab. |
24542 | test "x$as_lineno_3" = "x$as_lineno_2" || { |
24961 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
|
24962 | # splitting by setting IFS to empty value.) |
|
|
24963 | as_nl=' |
|
|
24964 | ' |
|
|
24965 | IFS=" "" $as_nl" |
|
|
24966 | |
24543 | # Find who we are. Look in the path if we contain no path at all |
24967 | # Find who we are. Look in the path if we contain no directory separator. |
24544 | # relative or not. |
|
|
24545 | case $0 in |
24968 | case $0 in |
24546 | *[\\/]* ) as_myself=$0 ;; |
24969 | *[\\/]* ) as_myself=$0 ;; |
24547 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
24970 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
24548 | for as_dir in $PATH |
24971 | for as_dir in $PATH |
24549 | do |
24972 | do |
24550 | IFS=$as_save_IFS |
24973 | IFS=$as_save_IFS |
24551 | test -z "$as_dir" && as_dir=. |
24974 | test -z "$as_dir" && as_dir=. |
24552 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
24975 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
24553 | done |
24976 | done |
|
|
24977 | IFS=$as_save_IFS |
24554 | |
24978 | |
24555 | ;; |
24979 | ;; |
24556 | esac |
24980 | esac |
24557 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
24981 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
24558 | # in which case we are not to be found in the path. |
24982 | # in which case we are not to be found in the path. |
24559 | if test "x$as_myself" = x; then |
24983 | if test "x$as_myself" = x; then |
24560 | as_myself=$0 |
24984 | as_myself=$0 |
|
|
24985 | fi |
|
|
24986 | if test ! -f "$as_myself"; then |
|
|
24987 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
|
24988 | { (exit 1); exit 1; } |
|
|
24989 | fi |
|
|
24990 | |
|
|
24991 | # Work around bugs in pre-3.0 UWIN ksh. |
|
|
24992 | for as_var in ENV MAIL MAILPATH |
|
|
24993 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
|
|
24994 | done |
|
|
24995 | PS1='$ ' |
|
|
24996 | PS2='> ' |
|
|
24997 | PS4='+ ' |
|
|
24998 | |
|
|
24999 | # NLS nuisances. |
|
|
25000 | for as_var in \ |
|
|
25001 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ |
|
|
25002 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ |
|
|
25003 | LC_TELEPHONE LC_TIME |
|
|
25004 | do |
|
|
25005 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
|
|
25006 | eval $as_var=C; export $as_var |
|
|
25007 | else |
|
|
25008 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
24561 | fi |
25009 | fi |
24562 | if test ! -f "$as_myself"; then |
25010 | done |
24563 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
25011 | |
24564 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
25012 | # Required to use basename. |
24565 | { (exit 1); exit 1; }; } |
25013 | if expr a : '\(a\)' >/dev/null 2>&1 && |
24566 | fi |
25014 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
24567 | case $CONFIG_SHELL in |
25015 | as_expr=expr |
24568 | '') |
25016 | else |
24569 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
25017 | as_expr=false |
24570 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
25018 | fi |
24571 | do |
25019 | |
24572 | IFS=$as_save_IFS |
25020 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
24573 | test -z "$as_dir" && as_dir=. |
25021 | as_basename=basename |
24574 | for as_base in sh bash ksh sh5; do |
25022 | else |
24575 | case $as_dir in |
25023 | as_basename=false |
24576 | /*) |
25024 | fi |
24577 | if ("$as_dir/$as_base" -c ' |
25025 | |
|
|
25026 | |
|
|
25027 | # Name of the executable. |
|
|
25028 | as_me=`$as_basename -- "$0" || |
|
|
25029 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
|
25030 | X"$0" : 'X\(//\)$' \| \ |
|
|
25031 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
|
25032 | echo X/"$0" | |
|
|
25033 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
|
25034 | s//\1/ |
|
|
25035 | q |
|
|
25036 | } |
|
|
25037 | /^X\/\(\/\/\)$/{ |
|
|
25038 | s//\1/ |
|
|
25039 | q |
|
|
25040 | } |
|
|
25041 | /^X\/\(\/\).*/{ |
|
|
25042 | s//\1/ |
|
|
25043 | q |
|
|
25044 | } |
|
|
25045 | s/.*/./; q'` |
|
|
25046 | |
|
|
25047 | # CDPATH. |
|
|
25048 | $as_unset CDPATH |
|
|
25049 | |
|
|
25050 | |
|
|
25051 | |
24578 | as_lineno_1=$LINENO |
25052 | as_lineno_1=$LINENO |
24579 | as_lineno_2=$LINENO |
25053 | as_lineno_2=$LINENO |
24580 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
|
|
24581 | test "x$as_lineno_1" != "x$as_lineno_2" && |
25054 | test "x$as_lineno_1" != "x$as_lineno_2" && |
24582 | test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
25055 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
24583 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
|
|
24584 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
|
|
24585 | CONFIG_SHELL=$as_dir/$as_base |
|
|
24586 | export CONFIG_SHELL |
|
|
24587 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
|
|
24588 | fi;; |
|
|
24589 | esac |
|
|
24590 | done |
|
|
24591 | done |
|
|
24592 | ;; |
|
|
24593 | esac |
|
|
24594 | |
25056 | |
24595 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
25057 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
24596 | # uniformly replaced by the line number. The first 'sed' inserts a |
25058 | # uniformly replaced by the line number. The first 'sed' inserts a |
24597 | # line-number line before each line; the second 'sed' does the real |
25059 | # line-number line after each line using $LINENO; the second 'sed' |
24598 | # work. The second script uses 'N' to pair each line-number line |
25060 | # does the real work. The second script uses 'N' to pair each |
24599 | # with the numbered line, and appends trailing '-' during |
25061 | # line-number line with the line containing $LINENO, and appends |
24600 | # substitution so that $LINENO is not a special case at line end. |
25062 | # trailing '-' during substitution so that $LINENO is not a special |
|
|
25063 | # case at line end. |
24601 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
25064 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
24602 | # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
25065 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
|
|
25066 | # E. McMahon (1931-1989) for sed's syntax. :-) |
|
|
25067 | sed -n ' |
|
|
25068 | p |
|
|
25069 | /[$]LINENO/= |
24603 | sed '=' <$as_myself | |
25070 | ' <$as_myself | |
24604 | sed ' |
25071 | sed ' |
|
|
25072 | s/[$]LINENO.*/&-/ |
|
|
25073 | t lineno |
|
|
25074 | b |
|
|
25075 | :lineno |
24605 | N |
25076 | N |
24606 | s,$,-, |
|
|
24607 | : loop |
25077 | :loop |
24608 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
25078 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
24609 | t loop |
25079 | t loop |
24610 | s,-$,, |
25080 | s/-\n.*// |
24611 | s,^['$as_cr_digits']*\n,, |
|
|
24612 | ' >$as_me.lineno && |
25081 | ' >$as_me.lineno && |
24613 | chmod +x $as_me.lineno || |
25082 | chmod +x "$as_me.lineno" || |
24614 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
|
|
24615 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
25083 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
24616 | { (exit 1); exit 1; }; } |
25084 | { (exit 1); exit 1; }; } |
24617 | |
25085 | |
24618 | # Don't try to exec as it changes $[0], causing all sort of problems |
25086 | # Don't try to exec as it changes $[0], causing all sort of problems |
24619 | # (the dirname of $[0] is not the place where we might find the |
25087 | # (the dirname of $[0] is not the place where we might find the |
24620 | # original and so on. Autoconf is especially sensible to this). |
25088 | # original and so on. Autoconf is especially sensitive to this). |
24621 | . ./$as_me.lineno |
25089 | . "./$as_me.lineno" |
24622 | # Exit status is that of the last command. |
25090 | # Exit status is that of the last command. |
24623 | exit |
25091 | exit |
24624 | } |
25092 | } |
24625 | |
25093 | |
24626 | |
25094 | |
24627 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
25095 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
24628 | *c*,-n*) ECHO_N= ECHO_C=' |
25096 | as_dirname=dirname |
24629 | ' ECHO_T=' ' ;; |
25097 | else |
24630 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
25098 | as_dirname=false |
24631 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
25099 | fi |
|
|
25100 | |
|
|
25101 | ECHO_C= ECHO_N= ECHO_T= |
|
|
25102 | case `echo -n x` in |
|
|
25103 | -n*) |
|
|
25104 | case `echo 'x\c'` in |
|
|
25105 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
|
25106 | *) ECHO_C='\c';; |
|
|
25107 | esac;; |
|
|
25108 | *) |
|
|
25109 | ECHO_N='-n';; |
24632 | esac |
25110 | esac |
24633 | |
25111 | |
24634 | if expr a : '\(a\)' >/dev/null 2>&1; then |
25112 | if expr a : '\(a\)' >/dev/null 2>&1 && |
|
|
25113 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
24635 | as_expr=expr |
25114 | as_expr=expr |
24636 | else |
25115 | else |
24637 | as_expr=false |
25116 | as_expr=false |
24638 | fi |
25117 | fi |
24639 | |
25118 | |
24640 | rm -f conf$$ conf$$.exe conf$$.file |
25119 | rm -f conf$$ conf$$.exe conf$$.file |
|
|
25120 | if test -d conf$$.dir; then |
|
|
25121 | rm -f conf$$.dir/conf$$.file |
|
|
25122 | else |
|
|
25123 | rm -f conf$$.dir |
|
|
25124 | mkdir conf$$.dir |
|
|
25125 | fi |
24641 | echo >conf$$.file |
25126 | echo >conf$$.file |
24642 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
25127 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
24643 | # We could just check for DJGPP; but this test a) works b) is more generic |
25128 | as_ln_s='ln -s' |
24644 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
25129 | # ... but there are two gotchas: |
24645 | if test -f conf$$.exe; then |
25130 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
24646 | # Don't use ln at all; we don't have any links |
25131 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
|
25132 | # In both cases, we have to default to `cp -p'. |
|
|
25133 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
24647 | as_ln_s='cp -p' |
25134 | as_ln_s='cp -p' |
24648 | else |
|
|
24649 | as_ln_s='ln -s' |
|
|
24650 | fi |
|
|
24651 | elif ln conf$$.file conf$$ 2>/dev/null; then |
25135 | elif ln conf$$.file conf$$ 2>/dev/null; then |
24652 | as_ln_s=ln |
25136 | as_ln_s=ln |
24653 | else |
25137 | else |
24654 | as_ln_s='cp -p' |
25138 | as_ln_s='cp -p' |
24655 | fi |
25139 | fi |
24656 | rm -f conf$$ conf$$.exe conf$$.file |
25140 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
|
25141 | rmdir conf$$.dir 2>/dev/null |
24657 | |
25142 | |
24658 | if mkdir -p . 2>/dev/null; then |
25143 | if mkdir -p . 2>/dev/null; then |
24659 | as_mkdir_p=: |
25144 | as_mkdir_p=: |
24660 | else |
25145 | else |
24661 | test -d ./-p && rmdir ./-p |
25146 | test -d ./-p && rmdir ./-p |
24662 | as_mkdir_p=false |
25147 | as_mkdir_p=false |
24663 | fi |
25148 | fi |
24664 | |
25149 | |
|
|
25150 | if test -x / >/dev/null 2>&1; then |
|
|
25151 | as_test_x='test -x' |
|
|
25152 | else |
|
|
25153 | if ls -dL / >/dev/null 2>&1; then |
|
|
25154 | as_ls_L_option=L |
|
|
25155 | else |
|
|
25156 | as_ls_L_option= |
|
|
25157 | fi |
|
|
25158 | as_test_x=' |
|
|
25159 | eval sh -c '\'' |
|
|
25160 | if test -d "$1"; then |
|
|
25161 | test -d "$1/."; |
|
|
25162 | else |
|
|
25163 | case $1 in |
|
|
25164 | -*)set "./$1";; |
|
|
25165 | esac; |
|
|
25166 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in |
|
|
25167 | ???[sx]*):;;*)false;;esac;fi |
|
|
25168 | '\'' sh |
|
|
25169 | ' |
|
|
25170 | fi |
24665 | as_executable_p="test -f" |
25171 | as_executable_p=$as_test_x |
24666 | |
25172 | |
24667 | # Sed expression to map a string onto a valid CPP name. |
25173 | # Sed expression to map a string onto a valid CPP name. |
24668 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
25174 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
24669 | |
25175 | |
24670 | # Sed expression to map a string onto a valid variable name. |
25176 | # Sed expression to map a string onto a valid variable name. |
24671 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
25177 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
24672 | |
25178 | |
24673 | |
25179 | |
24674 | # IFS |
|
|
24675 | # We need space, tab and new line, in precisely that order. |
|
|
24676 | as_nl=' |
|
|
24677 | ' |
|
|
24678 | IFS=" $as_nl" |
|
|
24679 | |
|
|
24680 | # CDPATH. |
|
|
24681 | $as_unset CDPATH |
|
|
24682 | |
|
|
24683 | exec 6>&1 |
25180 | exec 6>&1 |
24684 | |
25181 | |
24685 | # Open the log real soon, to keep \$[0] and so on meaningful, and to |
25182 | # Save the log message, to keep $[0] and so on meaningful, and to |
24686 | # report actual input values of CONFIG_FILES etc. instead of their |
25183 | # report actual input values of CONFIG_FILES etc. instead of their |
24687 | # values after options handling. Logging --version etc. is OK. |
25184 | # values after options handling. |
24688 | exec 5>>config.log |
25185 | ac_log=" |
24689 | { |
|
|
24690 | echo |
|
|
24691 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
24692 | ## Running $as_me. ## |
|
|
24693 | _ASBOX |
|
|
24694 | } >&5 |
|
|
24695 | cat >&5 <<_CSEOF |
|
|
24696 | |
|
|
24697 | This file was extended by libspf $as_me 1.0.0-p5, which was |
25186 | This file was extended by libspf $as_me 1.0.0-p5, which was |
24698 | generated by GNU Autoconf 2.59. Invocation command line was |
25187 | generated by GNU Autoconf 2.61. Invocation command line was |
24699 | |
25188 | |
24700 | CONFIG_FILES = $CONFIG_FILES |
25189 | CONFIG_FILES = $CONFIG_FILES |
24701 | CONFIG_HEADERS = $CONFIG_HEADERS |
25190 | CONFIG_HEADERS = $CONFIG_HEADERS |
24702 | CONFIG_LINKS = $CONFIG_LINKS |
25191 | CONFIG_LINKS = $CONFIG_LINKS |
24703 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
25192 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
24704 | $ $0 $@ |
25193 | $ $0 $@ |
24705 | |
25194 | |
24706 | _CSEOF |
|
|
24707 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
25195 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
24708 | echo >&5 |
25196 | " |
24709 | _ACEOF |
|
|
24710 | |
25197 | |
|
|
25198 | _ACEOF |
|
|
25199 | |
|
|
25200 | cat >>$CONFIG_STATUS <<_ACEOF |
24711 | # Files that config.status was made for. |
25201 | # Files that config.status was made for. |
24712 | if test -n "$ac_config_files"; then |
25202 | config_files="$ac_config_files" |
24713 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
25203 | config_headers="$ac_config_headers" |
24714 | fi |
25204 | config_commands="$ac_config_commands" |
24715 | |
25205 | |
24716 | if test -n "$ac_config_headers"; then |
25206 | _ACEOF |
24717 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
|
|
24718 | fi |
|
|
24719 | |
|
|
24720 | if test -n "$ac_config_links"; then |
|
|
24721 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
|
|
24722 | fi |
|
|
24723 | |
|
|
24724 | if test -n "$ac_config_commands"; then |
|
|
24725 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
|
|
24726 | fi |
|
|
24727 | |
25207 | |
24728 | cat >>$CONFIG_STATUS <<\_ACEOF |
25208 | cat >>$CONFIG_STATUS <<\_ACEOF |
24729 | |
|
|
24730 | ac_cs_usage="\ |
25209 | ac_cs_usage="\ |
24731 | \`$as_me' instantiates files from templates according to the |
25210 | \`$as_me' instantiates files from templates according to the |
24732 | current configuration. |
25211 | current configuration. |
24733 | |
25212 | |
24734 | Usage: $0 [OPTIONS] [FILE]... |
25213 | Usage: $0 [OPTIONS] [FILE]... |
24735 | |
25214 | |
24736 | -h, --help print this help, then exit |
25215 | -h, --help print this help, then exit |
24737 | -V, --version print version number, then exit |
25216 | -V, --version print version number and configuration settings, then exit |
24738 | -q, --quiet do not print progress messages |
25217 | -q, --quiet do not print progress messages |
24739 | -d, --debug don't remove temporary files |
25218 | -d, --debug don't remove temporary files |
24740 | --recheck update $as_me by reconfiguring in the same conditions |
25219 | --recheck update $as_me by reconfiguring in the same conditions |
24741 | --file=FILE[:TEMPLATE] |
25220 | --file=FILE[:TEMPLATE] |
24742 | instantiate the configuration file FILE |
25221 | instantiate the configuration file FILE |
… | |
… | |
24751 | |
25230 | |
24752 | Configuration commands: |
25231 | Configuration commands: |
24753 | $config_commands |
25232 | $config_commands |
24754 | |
25233 | |
24755 | Report bugs to <bug-autoconf@gnu.org>." |
25234 | Report bugs to <bug-autoconf@gnu.org>." |
24756 | _ACEOF |
|
|
24757 | |
25235 | |
|
|
25236 | _ACEOF |
24758 | cat >>$CONFIG_STATUS <<_ACEOF |
25237 | cat >>$CONFIG_STATUS <<_ACEOF |
24759 | ac_cs_version="\\ |
25238 | ac_cs_version="\\ |
24760 | libspf config.status 1.0.0-p5 |
25239 | libspf config.status 1.0.0-p5 |
24761 | configured by $0, generated by GNU Autoconf 2.59, |
25240 | configured by $0, generated by GNU Autoconf 2.61, |
24762 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
25241 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
24763 | |
25242 | |
24764 | Copyright (C) 2003 Free Software Foundation, Inc. |
25243 | Copyright (C) 2006 Free Software Foundation, Inc. |
24765 | This config.status script is free software; the Free Software Foundation |
25244 | This config.status script is free software; the Free Software Foundation |
24766 | gives unlimited permission to copy, distribute and modify it." |
25245 | gives unlimited permission to copy, distribute and modify it." |
|
|
25246 | |
|
|
25247 | ac_pwd='$ac_pwd' |
24767 | srcdir=$srcdir |
25248 | srcdir='$srcdir' |
24768 | INSTALL="$INSTALL" |
25249 | INSTALL='$INSTALL' |
24769 | _ACEOF |
25250 | _ACEOF |
24770 | |
25251 | |
24771 | cat >>$CONFIG_STATUS <<\_ACEOF |
25252 | cat >>$CONFIG_STATUS <<\_ACEOF |
24772 | # If no file are specified by the user, then we need to provide default |
25253 | # If no file are specified by the user, then we need to provide default |
24773 | # value. By we need to know if files were specified by the user. |
25254 | # value. By we need to know if files were specified by the user. |
24774 | ac_need_defaults=: |
25255 | ac_need_defaults=: |
24775 | while test $# != 0 |
25256 | while test $# != 0 |
24776 | do |
25257 | do |
24777 | case $1 in |
25258 | case $1 in |
24778 | --*=*) |
25259 | --*=*) |
24779 | ac_option=`expr "x$1" : 'x\([^=]*\)='` |
25260 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
24780 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
25261 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
24781 | ac_shift=: |
25262 | ac_shift=: |
24782 | ;; |
25263 | ;; |
24783 | -*) |
25264 | *) |
24784 | ac_option=$1 |
25265 | ac_option=$1 |
24785 | ac_optarg=$2 |
25266 | ac_optarg=$2 |
24786 | ac_shift=shift |
25267 | ac_shift=shift |
24787 | ;; |
25268 | ;; |
24788 | *) # This is not an option, so the user has probably given explicit |
|
|
24789 | # arguments. |
|
|
24790 | ac_option=$1 |
|
|
24791 | ac_need_defaults=false;; |
|
|
24792 | esac |
25269 | esac |
24793 | |
25270 | |
24794 | case $ac_option in |
25271 | case $ac_option in |
24795 | # Handling of the options. |
25272 | # Handling of the options. |
24796 | _ACEOF |
|
|
24797 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
24798 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
25273 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
24799 | ac_cs_recheck=: ;; |
25274 | ac_cs_recheck=: ;; |
24800 | --version | --vers* | -V ) |
25275 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
24801 | echo "$ac_cs_version"; exit 0 ;; |
25276 | echo "$ac_cs_version"; exit ;; |
24802 | --he | --h) |
25277 | --debug | --debu | --deb | --de | --d | -d ) |
24803 | # Conflict between --help and --header |
|
|
24804 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 |
|
|
24805 | Try \`$0 --help' for more information." >&5 |
|
|
24806 | echo "$as_me: error: ambiguous option: $1 |
|
|
24807 | Try \`$0 --help' for more information." >&2;} |
|
|
24808 | { (exit 1); exit 1; }; };; |
|
|
24809 | --help | --hel | -h ) |
|
|
24810 | echo "$ac_cs_usage"; exit 0 ;; |
|
|
24811 | --debug | --d* | -d ) |
|
|
24812 | debug=: ;; |
25278 | debug=: ;; |
24813 | --file | --fil | --fi | --f ) |
25279 | --file | --fil | --fi | --f ) |
24814 | $ac_shift |
25280 | $ac_shift |
24815 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
25281 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
24816 | ac_need_defaults=false;; |
25282 | ac_need_defaults=false;; |
24817 | --header | --heade | --head | --hea ) |
25283 | --header | --heade | --head | --hea ) |
24818 | $ac_shift |
25284 | $ac_shift |
24819 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
25285 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
24820 | ac_need_defaults=false;; |
25286 | ac_need_defaults=false;; |
|
|
25287 | --he | --h) |
|
|
25288 | # Conflict between --help and --header |
|
|
25289 | { echo "$as_me: error: ambiguous option: $1 |
|
|
25290 | Try \`$0 --help' for more information." >&2 |
|
|
25291 | { (exit 1); exit 1; }; };; |
|
|
25292 | --help | --hel | -h ) |
|
|
25293 | echo "$ac_cs_usage"; exit ;; |
24821 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
25294 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
24822 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
25295 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
24823 | ac_cs_silent=: ;; |
25296 | ac_cs_silent=: ;; |
24824 | |
25297 | |
24825 | # This is an error. |
25298 | # This is an error. |
24826 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
|
|
24827 | Try \`$0 --help' for more information." >&5 |
|
|
24828 | echo "$as_me: error: unrecognized option: $1 |
25299 | -*) { echo "$as_me: error: unrecognized option: $1 |
24829 | Try \`$0 --help' for more information." >&2;} |
25300 | Try \`$0 --help' for more information." >&2 |
24830 | { (exit 1); exit 1; }; } ;; |
25301 | { (exit 1); exit 1; }; } ;; |
24831 | |
25302 | |
24832 | *) ac_config_targets="$ac_config_targets $1" ;; |
25303 | *) ac_config_targets="$ac_config_targets $1" |
|
|
25304 | ac_need_defaults=false ;; |
24833 | |
25305 | |
24834 | esac |
25306 | esac |
24835 | shift |
25307 | shift |
24836 | done |
25308 | done |
24837 | |
25309 | |
… | |
… | |
24843 | fi |
25315 | fi |
24844 | |
25316 | |
24845 | _ACEOF |
25317 | _ACEOF |
24846 | cat >>$CONFIG_STATUS <<_ACEOF |
25318 | cat >>$CONFIG_STATUS <<_ACEOF |
24847 | if \$ac_cs_recheck; then |
25319 | if \$ac_cs_recheck; then |
24848 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
25320 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
|
|
25321 | CONFIG_SHELL=$SHELL |
|
|
25322 | export CONFIG_SHELL |
24849 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
25323 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
24850 | fi |
25324 | fi |
24851 | |
25325 | |
24852 | _ACEOF |
25326 | _ACEOF |
|
|
25327 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25328 | exec 5>>config.log |
|
|
25329 | { |
|
|
25330 | echo |
|
|
25331 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
|
25332 | ## Running $as_me. ## |
|
|
25333 | _ASBOX |
|
|
25334 | echo "$ac_log" |
|
|
25335 | } >&5 |
24853 | |
25336 | |
|
|
25337 | _ACEOF |
24854 | cat >>$CONFIG_STATUS <<_ACEOF |
25338 | cat >>$CONFIG_STATUS <<_ACEOF |
24855 | # |
25339 | # |
24856 | # INIT-COMMANDS section. |
25340 | # INIT-COMMANDS |
24857 | # |
25341 | # |
24858 | |
|
|
24859 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
25342 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
24860 | |
25343 | |
24861 | _ACEOF |
25344 | _ACEOF |
24862 | |
25345 | |
24863 | |
|
|
24864 | |
|
|
24865 | cat >>$CONFIG_STATUS <<\_ACEOF |
25346 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25347 | |
|
|
25348 | # Handling of arguments. |
24866 | for ac_config_target in $ac_config_targets |
25349 | for ac_config_target in $ac_config_targets |
24867 | do |
25350 | do |
24868 | case "$ac_config_target" in |
25351 | case $ac_config_target in |
24869 | # Handling of arguments. |
25352 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
25353 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
24870 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
25354 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
24871 | "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
25355 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
24872 | "src/libspf/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/libspf/Makefile" ;; |
25356 | "src/libspf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libspf/Makefile" ;; |
24873 | "src/spfqtool/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spfqtool/Makefile" ;; |
25357 | "src/spfqtool/Makefile") CONFIG_FILES="$CONFIG_FILES src/spfqtool/Makefile" ;; |
24874 | "src/libspf/spf.h" ) CONFIG_FILES="$CONFIG_FILES src/libspf/spf.h" ;; |
25358 | "src/libspf/spf.h") CONFIG_FILES="$CONFIG_FILES src/libspf/spf.h" ;; |
24875 | "src/libspf/util.c" ) CONFIG_FILES="$CONFIG_FILES src/libspf/util.c" ;; |
25359 | "src/libspf/util.c") CONFIG_FILES="$CONFIG_FILES src/libspf/util.c" ;; |
24876 | "src/spfmilter/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/spfmilter/Makefile" ;; |
25360 | "src/spfmilter/Makefile") CONFIG_FILES="$CONFIG_FILES src/spfmilter/Makefile" ;; |
24877 | "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
25361 | |
24878 | "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
|
24879 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
25362 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
24880 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
25363 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
24881 | { (exit 1); exit 1; }; };; |
25364 | { (exit 1); exit 1; }; };; |
24882 | esac |
25365 | esac |
24883 | done |
25366 | done |
|
|
25367 | |
24884 | |
25368 | |
24885 | # If the user did not use the arguments to specify the items to instantiate, |
25369 | # If the user did not use the arguments to specify the items to instantiate, |
24886 | # then the envvar interface is used. Set only those that are not. |
25370 | # then the envvar interface is used. Set only those that are not. |
24887 | # We use the long form for the default assignment because of an extremely |
25371 | # We use the long form for the default assignment because of an extremely |
24888 | # bizarre bug on SunOS 4.1.3. |
25372 | # bizarre bug on SunOS 4.1.3. |
… | |
… | |
24891 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
25375 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
24892 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
25376 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
24893 | fi |
25377 | fi |
24894 | |
25378 | |
24895 | # Have a temporary directory for convenience. Make it in the build tree |
25379 | # Have a temporary directory for convenience. Make it in the build tree |
24896 | # simply because there is no reason to put it here, and in addition, |
25380 | # simply because there is no reason against having it here, and in addition, |
24897 | # creating and moving files from /tmp can sometimes cause problems. |
25381 | # creating and moving files from /tmp can sometimes cause problems. |
24898 | # Create a temporary directory, and hook for its removal unless debugging. |
25382 | # Hook for its removal unless debugging. |
|
|
25383 | # Note that there is a small window in which the directory will not be cleaned: |
|
|
25384 | # after its creation but before its name has been assigned to `$tmp'. |
24899 | $debug || |
25385 | $debug || |
24900 | { |
25386 | { |
24901 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
25387 | tmp= |
|
|
25388 | trap 'exit_status=$? |
|
|
25389 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status |
|
|
25390 | ' 0 |
24902 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
25391 | trap '{ (exit 1); exit 1; }' 1 2 13 15 |
24903 | } |
25392 | } |
24904 | |
|
|
24905 | # Create a (secure) tmp directory for tmp files. |
25393 | # Create a (secure) tmp directory for tmp files. |
24906 | |
25394 | |
24907 | { |
25395 | { |
24908 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && |
25396 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
24909 | test -n "$tmp" && test -d "$tmp" |
25397 | test -n "$tmp" && test -d "$tmp" |
24910 | } || |
25398 | } || |
24911 | { |
25399 | { |
24912 | tmp=./confstat$$-$RANDOM |
25400 | tmp=./conf$$-$RANDOM |
24913 | (umask 077 && mkdir $tmp) |
25401 | (umask 077 && mkdir "$tmp") |
24914 | } || |
25402 | } || |
24915 | { |
25403 | { |
24916 | echo "$me: cannot create a temporary directory in ." >&2 |
25404 | echo "$me: cannot create a temporary directory in ." >&2 |
24917 | { (exit 1); exit 1; } |
25405 | { (exit 1); exit 1; } |
24918 | } |
25406 | } |
24919 | |
25407 | |
24920 | _ACEOF |
|
|
24921 | |
|
|
24922 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
24923 | |
|
|
24924 | # |
25408 | # |
24925 | # CONFIG_FILES section. |
25409 | # Set up the sed scripts for CONFIG_FILES section. |
24926 | # |
25410 | # |
24927 | |
25411 | |
24928 | # No need to generate the scripts if there are no CONFIG_FILES. |
25412 | # No need to generate the scripts if there are no CONFIG_FILES. |
24929 | # This happens for instance when ./config.status config.h |
25413 | # This happens for instance when ./config.status config.h |
24930 | if test -n "\$CONFIG_FILES"; then |
25414 | if test -n "$CONFIG_FILES"; then |
24931 | # Protect against being on the right side of a sed subst in config.status. |
25415 | |
24932 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
25416 | _ACEOF |
24933 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
25417 | |
24934 | s,@SHELL@,$SHELL,;t t |
25418 | # Create sed commands to just substitute file output variables. |
24935 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
25419 | |
24936 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
25420 | # Remaining file output variables are in a fragment that also has non-file |
|
|
25421 | # output varibles. |
|
|
25422 | |
|
|
25423 | |
|
|
25424 | |
|
|
25425 | ac_delim='%!_!# ' |
|
|
25426 | for ac_last_try in false false false false false :; do |
|
|
25427 | cat >conf$$subs.sed <<_ACEOF |
|
|
25428 | SHELL!$SHELL$ac_delim |
|
|
25429 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
|
|
25430 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
24937 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
25431 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
24938 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
25432 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
24939 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
25433 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
24940 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
25434 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
24941 | s,@exec_prefix@,$exec_prefix,;t t |
25435 | exec_prefix!$exec_prefix$ac_delim |
24942 | s,@prefix@,$prefix,;t t |
25436 | prefix!$prefix$ac_delim |
24943 | s,@program_transform_name@,$program_transform_name,;t t |
25437 | program_transform_name!$program_transform_name$ac_delim |
24944 | s,@bindir@,$bindir,;t t |
25438 | bindir!$bindir$ac_delim |
24945 | s,@sbindir@,$sbindir,;t t |
25439 | sbindir!$sbindir$ac_delim |
24946 | s,@libexecdir@,$libexecdir,;t t |
25440 | libexecdir!$libexecdir$ac_delim |
24947 | s,@datadir@,$datadir,;t t |
25441 | datarootdir!$datarootdir$ac_delim |
24948 | s,@sysconfdir@,$sysconfdir,;t t |
25442 | datadir!$datadir$ac_delim |
24949 | s,@sharedstatedir@,$sharedstatedir,;t t |
25443 | sysconfdir!$sysconfdir$ac_delim |
24950 | s,@localstatedir@,$localstatedir,;t t |
25444 | sharedstatedir!$sharedstatedir$ac_delim |
24951 | s,@libdir@,$libdir,;t t |
25445 | localstatedir!$localstatedir$ac_delim |
24952 | s,@includedir@,$includedir,;t t |
25446 | includedir!$includedir$ac_delim |
24953 | s,@oldincludedir@,$oldincludedir,;t t |
25447 | oldincludedir!$oldincludedir$ac_delim |
24954 | s,@infodir@,$infodir,;t t |
25448 | docdir!$docdir$ac_delim |
24955 | s,@mandir@,$mandir,;t t |
25449 | infodir!$infodir$ac_delim |
24956 | s,@build_alias@,$build_alias,;t t |
25450 | htmldir!$htmldir$ac_delim |
24957 | s,@host_alias@,$host_alias,;t t |
25451 | dvidir!$dvidir$ac_delim |
24958 | s,@target_alias@,$target_alias,;t t |
25452 | pdfdir!$pdfdir$ac_delim |
24959 | s,@DEFS@,$DEFS,;t t |
25453 | psdir!$psdir$ac_delim |
24960 | s,@ECHO_C@,$ECHO_C,;t t |
25454 | libdir!$libdir$ac_delim |
24961 | s,@ECHO_N@,$ECHO_N,;t t |
25455 | localedir!$localedir$ac_delim |
24962 | s,@ECHO_T@,$ECHO_T,;t t |
25456 | mandir!$mandir$ac_delim |
24963 | s,@LIBS@,$LIBS,;t t |
25457 | DEFS!$DEFS$ac_delim |
|
|
25458 | ECHO_C!$ECHO_C$ac_delim |
|
|
25459 | ECHO_N!$ECHO_N$ac_delim |
|
|
25460 | ECHO_T!$ECHO_T$ac_delim |
|
|
25461 | LIBS!$LIBS$ac_delim |
|
|
25462 | build_alias!$build_alias$ac_delim |
|
|
25463 | host_alias!$host_alias$ac_delim |
|
|
25464 | target_alias!$target_alias$ac_delim |
24964 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
25465 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
24965 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
25466 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
24966 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
25467 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
24967 | s,@PACKAGE@,$PACKAGE,;t t |
25468 | PACKAGE!$PACKAGE$ac_delim |
24968 | s,@VERSION@,$VERSION,;t t |
25469 | VERSION!$VERSION$ac_delim |
24969 | s,@ACLOCAL@,$ACLOCAL,;t t |
25470 | ACLOCAL!$ACLOCAL$ac_delim |
24970 | s,@AUTOCONF@,$AUTOCONF,;t t |
25471 | AUTOCONF!$AUTOCONF$ac_delim |
24971 | s,@AUTOMAKE@,$AUTOMAKE,;t t |
25472 | AUTOMAKE!$AUTOMAKE$ac_delim |
24972 | s,@AUTOHEADER@,$AUTOHEADER,;t t |
25473 | AUTOHEADER!$AUTOHEADER$ac_delim |
24973 | s,@MAKEINFO@,$MAKEINFO,;t t |
25474 | MAKEINFO!$MAKEINFO$ac_delim |
24974 | s,@AMTAR@,$AMTAR,;t t |
25475 | AMTAR!$AMTAR$ac_delim |
24975 | s,@install_sh@,$install_sh,;t t |
25476 | install_sh!$install_sh$ac_delim |
24976 | s,@STRIP@,$STRIP,;t t |
25477 | STRIP!$STRIP$ac_delim |
24977 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t |
|
|
24978 | s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t |
25478 | INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim |
24979 | s,@AWK@,$AWK,;t t |
25479 | AWK!$AWK$ac_delim |
24980 | s,@SET_MAKE@,$SET_MAKE,;t t |
25480 | SET_MAKE!$SET_MAKE$ac_delim |
24981 | s,@CC@,$CC,;t t |
25481 | CC!$CC$ac_delim |
24982 | s,@CFLAGS@,$CFLAGS,;t t |
25482 | CFLAGS!$CFLAGS$ac_delim |
24983 | s,@LDFLAGS@,$LDFLAGS,;t t |
25483 | LDFLAGS!$LDFLAGS$ac_delim |
24984 | s,@CPPFLAGS@,$CPPFLAGS,;t t |
25484 | CPPFLAGS!$CPPFLAGS$ac_delim |
24985 | s,@ac_ct_CC@,$ac_ct_CC,;t t |
25485 | ac_ct_CC!$ac_ct_CC$ac_delim |
24986 | s,@EXEEXT@,$EXEEXT,;t t |
25486 | EXEEXT!$EXEEXT$ac_delim |
24987 | s,@OBJEXT@,$OBJEXT,;t t |
25487 | OBJEXT!$OBJEXT$ac_delim |
24988 | s,@DEPDIR@,$DEPDIR,;t t |
25488 | DEPDIR!$DEPDIR$ac_delim |
24989 | s,@am__include@,$am__include,;t t |
25489 | am__include!$am__include$ac_delim |
24990 | s,@am__quote@,$am__quote,;t t |
25490 | am__quote!$am__quote$ac_delim |
24991 | s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t |
25491 | AMDEP_TRUE!$AMDEP_TRUE$ac_delim |
24992 | s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t |
25492 | AMDEP_FALSE!$AMDEP_FALSE$ac_delim |
24993 | s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t |
25493 | AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim |
24994 | s,@CCDEPMODE@,$CCDEPMODE,;t t |
25494 | CCDEPMODE!$CCDEPMODE$ac_delim |
24995 | s,@LN_S@,$LN_S,;t t |
25495 | LN_S!$LN_S$ac_delim |
24996 | s,@RANLIB@,$RANLIB,;t t |
25496 | RANLIB!$RANLIB$ac_delim |
24997 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
25497 | CPP!$CPP$ac_delim |
24998 | s,@CPP@,$CPP,;t t |
25498 | GCC_TRUE!$GCC_TRUE$ac_delim |
24999 | s,@GCC_TRUE@,$GCC_TRUE,;t t |
25499 | GCC_FALSE!$GCC_FALSE$ac_delim |
25000 | s,@GCC_FALSE@,$GCC_FALSE,;t t |
25500 | build!$build$ac_delim |
25001 | s,@build@,$build,;t t |
25501 | build_cpu!$build_cpu$ac_delim |
25002 | s,@build_cpu@,$build_cpu,;t t |
25502 | build_vendor!$build_vendor$ac_delim |
25003 | s,@build_vendor@,$build_vendor,;t t |
25503 | build_os!$build_os$ac_delim |
25004 | s,@build_os@,$build_os,;t t |
25504 | host!$host$ac_delim |
25005 | s,@host@,$host,;t t |
25505 | host_cpu!$host_cpu$ac_delim |
25006 | s,@host_cpu@,$host_cpu,;t t |
25506 | host_vendor!$host_vendor$ac_delim |
25007 | s,@host_vendor@,$host_vendor,;t t |
25507 | host_os!$host_os$ac_delim |
25008 | s,@host_os@,$host_os,;t t |
25508 | GREP!$GREP$ac_delim |
25009 | s,@EGREP@,$EGREP,;t t |
25509 | EGREP!$EGREP$ac_delim |
25010 | s,@ECHO@,$ECHO,;t t |
25510 | ECHO!$ECHO$ac_delim |
25011 | s,@AR@,$AR,;t t |
25511 | AR!$AR$ac_delim |
25012 | s,@ac_ct_AR@,$ac_ct_AR,;t t |
25512 | CXX!$CXX$ac_delim |
25013 | s,@CXX@,$CXX,;t t |
25513 | CXXFLAGS!$CXXFLAGS$ac_delim |
25014 | s,@CXXFLAGS@,$CXXFLAGS,;t t |
25514 | ac_ct_CXX!$ac_ct_CXX$ac_delim |
25015 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
25515 | CXXDEPMODE!$CXXDEPMODE$ac_delim |
25016 | s,@CXXDEPMODE@,$CXXDEPMODE,;t t |
25516 | CXXCPP!$CXXCPP$ac_delim |
25017 | s,@CXXCPP@,$CXXCPP,;t t |
25517 | F77!$F77$ac_delim |
25018 | s,@F77@,$F77,;t t |
25518 | FFLAGS!$FFLAGS$ac_delim |
25019 | s,@FFLAGS@,$FFLAGS,;t t |
25519 | _ACEOF |
25020 | s,@ac_ct_F77@,$ac_ct_F77,;t t |
25520 | |
25021 | s,@LIBTOOL@,$LIBTOOL,;t t |
25521 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then |
25022 | s,@enable_shared@,$enable_shared,;t t |
25522 | break |
25023 | s,@enable_static@,$enable_static,;t t |
25523 | elif $ac_last_try; then |
25024 | s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t |
25524 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
25525 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
25526 | { (exit 1); exit 1; }; } |
|
|
25527 | else |
|
|
25528 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
25529 | fi |
|
|
25530 | done |
|
|
25531 | |
|
|
25532 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
25533 | if test -n "$ac_eof"; then |
|
|
25534 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
25535 | ac_eof=`expr $ac_eof + 1` |
|
|
25536 | fi |
|
|
25537 | |
|
|
25538 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25539 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
|
|
25540 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
25541 | /^[ ]*@__BEGIN_DECLS_INCL@[ ]*$/{ |
|
|
25542 | r $__BEGIN_DECLS_INCL |
|
|
25543 | d |
|
|
25544 | } |
|
|
25545 | /^[ ]*@__END_DECLS_INCL@[ ]*$/{ |
|
|
25546 | r $__END_DECLS_INCL |
|
|
25547 | d |
|
|
25548 | } |
|
|
25549 | _ACEOF |
|
|
25550 | sed ' |
|
|
25551 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
25552 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
25553 | :n |
|
|
25554 | t n |
|
|
25555 | s/'"$ac_delim"'$/,g/; t |
|
|
25556 | s/$/\\/; p |
|
|
25557 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
25558 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
25559 | rm -f conf$$subs.sed |
|
|
25560 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25561 | CEOF$ac_eof |
|
|
25562 | _ACEOF |
|
|
25563 | |
|
|
25564 | |
|
|
25565 | ac_delim='%!_!# ' |
|
|
25566 | for ac_last_try in false false false false false :; do |
|
|
25567 | cat >conf$$subs.sed <<_ACEOF |
|
|
25568 | ac_ct_F77!$ac_ct_F77$ac_delim |
|
|
25569 | LIBTOOL!$LIBTOOL$ac_delim |
|
|
25570 | enable_shared!$enable_shared$ac_delim |
|
|
25571 | enable_static!$enable_static$ac_delim |
|
|
25572 | LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim |
25025 | s,@LIBSPF_MAJOR_VERSION@,$LIBSPF_MAJOR_VERSION,;t t |
25573 | LIBSPF_MAJOR_VERSION!$LIBSPF_MAJOR_VERSION$ac_delim |
25026 | s,@LIBSPF_MINOR_VERSION@,$LIBSPF_MINOR_VERSION,;t t |
25574 | LIBSPF_MINOR_VERSION!$LIBSPF_MINOR_VERSION$ac_delim |
25027 | s,@LIBSPF_MICRO_VERSION@,$LIBSPF_MICRO_VERSION,;t t |
25575 | LIBSPF_MICRO_VERSION!$LIBSPF_MICRO_VERSION$ac_delim |
25028 | s,@LIBSPF_VERSION@,$LIBSPF_VERSION,;t t |
25576 | LIBSPF_VERSION!$LIBSPF_VERSION$ac_delim |
25029 | s,@LIBSPF_INTERFACE_AGE@,$LIBSPF_INTERFACE_AGE,;t t |
25577 | LIBSPF_INTERFACE_AGE!$LIBSPF_INTERFACE_AGE$ac_delim |
25030 | s,@LIBSPF_BINARY_AGE@,$LIBSPF_BINARY_AGE,;t t |
25578 | LIBSPF_BINARY_AGE!$LIBSPF_BINARY_AGE$ac_delim |
25031 | s,@LT_RELEASE@,$LT_RELEASE,;t t |
25579 | LT_RELEASE!$LT_RELEASE$ac_delim |
25032 | s,@LT_CURRENT@,$LT_CURRENT,;t t |
25580 | LT_CURRENT!$LT_CURRENT$ac_delim |
25033 | s,@LT_REVISION@,$LT_REVISION,;t t |
25581 | LT_REVISION!$LT_REVISION$ac_delim |
25034 | s,@LT_AGE@,$LT_AGE,;t t |
25582 | LT_AGE!$LT_AGE$ac_delim |
25035 | s,@UNSIGNED_INT_ARG@,$UNSIGNED_INT_ARG,;t t |
25583 | UNSIGNED_INT_ARG!$UNSIGNED_INT_ARG$ac_delim |
25036 | s,@LIBOBJS@,$LIBOBJS,;t t |
25584 | LIBOBJS!$LIBOBJS$ac_delim |
25037 | s,@__BEGIN_DECLS@,$__BEGIN_DECLS,;t t |
25585 | __BEGIN_DECLS!$__BEGIN_DECLS$ac_delim |
25038 | s,@__END_DECLS@,$__END_DECLS,;t t |
25586 | __END_DECLS!$__END_DECLS$ac_delim |
25039 | s,@LIBSPF_RESOLV_LIB@,$LIBSPF_RESOLV_LIB,;t t |
25587 | LIBSPF_RESOLV_LIB!$LIBSPF_RESOLV_LIB$ac_delim |
25040 | s,@LIBSPF_PTHREADS_LIB@,$LIBSPF_PTHREADS_LIB,;t t |
25588 | LIBSPF_PTHREADS_LIB!$LIBSPF_PTHREADS_LIB$ac_delim |
25041 | s,@LIBSPF_BUILD_DIRS@,$LIBSPF_BUILD_DIRS,;t t |
25589 | LIBSPF_BUILD_DIRS!$LIBSPF_BUILD_DIRS$ac_delim |
25042 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t |
25590 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
25043 | /@__BEGIN_DECLS_INCL@/r $__BEGIN_DECLS_INCL |
|
|
25044 | s,@__BEGIN_DECLS_INCL@,,;t t |
|
|
25045 | /@__END_DECLS_INCL@/r $__END_DECLS_INCL |
|
|
25046 | s,@__END_DECLS_INCL@,,;t t |
|
|
25047 | CEOF |
25591 | _ACEOF |
25048 | |
25592 | |
25049 | _ACEOF |
25593 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then |
|
|
25594 | break |
|
|
25595 | elif $ac_last_try; then |
|
|
25596 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
25597 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
25598 | { (exit 1); exit 1; }; } |
|
|
25599 | else |
|
|
25600 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
25601 | fi |
|
|
25602 | done |
25050 | |
25603 | |
|
|
25604 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
25605 | if test -n "$ac_eof"; then |
|
|
25606 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
25607 | ac_eof=`expr $ac_eof + 1` |
|
|
25608 | fi |
|
|
25609 | |
|
|
25610 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25611 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
|
25612 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
|
|
25613 | _ACEOF |
|
|
25614 | sed ' |
|
|
25615 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
25616 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
25617 | :n |
|
|
25618 | t n |
|
|
25619 | s/'"$ac_delim"'$/,g/; t |
|
|
25620 | s/$/\\/; p |
|
|
25621 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
25622 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
25623 | rm -f conf$$subs.sed |
|
|
25624 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25625 | :end |
|
|
25626 | s/|#_!!_#|//g |
|
|
25627 | CEOF$ac_eof |
|
|
25628 | _ACEOF |
|
|
25629 | |
|
|
25630 | |
|
|
25631 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
|
|
25632 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
|
|
25633 | # trailing colons and then remove the whole line if VPATH becomes empty |
|
|
25634 | # (actually we leave an empty line to preserve line numbers). |
|
|
25635 | if test "x$srcdir" = x.; then |
|
|
25636 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
25637 | s/:*\$(srcdir):*/:/ |
|
|
25638 | s/:*\${srcdir}:*/:/ |
|
|
25639 | s/:*@srcdir@:*/:/ |
|
|
25640 | s/^\([^=]*=[ ]*\):*/\1/ |
|
|
25641 | s/:*$// |
|
|
25642 | s/^[^=]*=[ ]*$// |
|
|
25643 | }' |
|
|
25644 | fi |
|
|
25645 | |
25051 | cat >>$CONFIG_STATUS <<\_ACEOF |
25646 | cat >>$CONFIG_STATUS <<\_ACEOF |
25052 | # Split the substitutions into bite-sized pieces for seds with |
25647 | fi # test -n "$CONFIG_FILES" |
25053 | # small command number limits, like on Digital OSF/1 and HP-UX. |
25648 | |
25054 | ac_max_sed_lines=48 |
25649 | |
25055 | ac_sed_frag=1 # Number of current file. |
25650 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS |
25056 | ac_beg=1 # First line for current file. |
25651 | do |
25057 | ac_end=$ac_max_sed_lines # Line after last line for current file. |
25652 | case $ac_tag in |
25058 | ac_more_lines=: |
25653 | :[FHLC]) ac_mode=$ac_tag; continue;; |
25059 | ac_sed_cmds= |
25654 | esac |
25060 | while $ac_more_lines; do |
25655 | case $ac_mode$ac_tag in |
25061 | if test $ac_beg -gt 1; then |
25656 | :[FHL]*:*);; |
25062 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
25657 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 |
25063 | else |
25658 | echo "$as_me: error: Invalid tag $ac_tag." >&2;} |
25064 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
25659 | { (exit 1); exit 1; }; };; |
|
|
25660 | :[FH]-) ac_tag=-:-;; |
|
|
25661 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
|
25662 | esac |
|
|
25663 | ac_save_IFS=$IFS |
|
|
25664 | IFS=: |
|
|
25665 | set x $ac_tag |
|
|
25666 | IFS=$ac_save_IFS |
|
|
25667 | shift |
|
|
25668 | ac_file=$1 |
|
|
25669 | shift |
|
|
25670 | |
|
|
25671 | case $ac_mode in |
|
|
25672 | :L) ac_source=$1;; |
|
|
25673 | :[FH]) |
|
|
25674 | ac_file_inputs= |
|
|
25675 | for ac_f |
|
|
25676 | do |
|
|
25677 | case $ac_f in |
|
|
25678 | -) ac_f="$tmp/stdin";; |
|
|
25679 | *) # Look for the file first in the build tree, then in the source tree |
|
|
25680 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
|
|
25681 | # because $ac_f cannot contain `:'. |
|
|
25682 | test -f "$ac_f" || |
|
|
25683 | case $ac_f in |
|
|
25684 | [\\/$]*) false;; |
|
|
25685 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
|
25686 | esac || |
|
|
25687 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 |
|
|
25688 | echo "$as_me: error: cannot find input file: $ac_f" >&2;} |
|
|
25689 | { (exit 1); exit 1; }; };; |
|
|
25690 | esac |
|
|
25691 | ac_file_inputs="$ac_file_inputs $ac_f" |
|
|
25692 | done |
|
|
25693 | |
|
|
25694 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
25695 | # use $as_me), people would be surprised to read: |
|
|
25696 | # /* config.h. Generated by config.status. */ |
|
|
25697 | configure_input="Generated from "`IFS=: |
|
|
25698 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." |
|
|
25699 | if test x"$ac_file" != x-; then |
|
|
25700 | configure_input="$ac_file. $configure_input" |
|
|
25701 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
25702 | echo "$as_me: creating $ac_file" >&6;} |
25065 | fi |
25703 | fi |
25066 | if test ! -s $tmp/subs.frag; then |
|
|
25067 | ac_more_lines=false |
|
|
25068 | else |
|
|
25069 | # The purpose of the label and of the branching condition is to |
|
|
25070 | # speed up the sed processing (if there are no `@' at all, there |
|
|
25071 | # is no need to browse any of the substitutions). |
|
|
25072 | # These are the two extra sed commands mentioned above. |
|
|
25073 | (echo ':t |
|
|
25074 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
|
|
25075 | if test -z "$ac_sed_cmds"; then |
|
|
25076 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
25077 | else |
|
|
25078 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
|
|
25079 | fi |
|
|
25080 | ac_sed_frag=`expr $ac_sed_frag + 1` |
|
|
25081 | ac_beg=$ac_end |
|
|
25082 | ac_end=`expr $ac_end + $ac_max_sed_lines` |
|
|
25083 | fi |
|
|
25084 | done |
|
|
25085 | if test -z "$ac_sed_cmds"; then |
|
|
25086 | ac_sed_cmds=cat |
|
|
25087 | fi |
|
|
25088 | fi # test -n "$CONFIG_FILES" |
|
|
25089 | |
25704 | |
25090 | _ACEOF |
|
|
25091 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25092 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
|
|
25093 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
|
|
25094 | case $ac_file in |
25705 | case $ac_tag in |
25095 | - | *:- | *:-:* ) # input from stdin |
25706 | *:-:* | *:-) cat >"$tmp/stdin";; |
25096 | cat >$tmp/stdin |
25707 | esac |
25097 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
25708 | ;; |
25098 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
25099 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
25100 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
25101 | * ) ac_file_in=$ac_file.in ;; |
|
|
25102 | esac |
25709 | esac |
25103 | |
25710 | |
25104 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
25711 | ac_dir=`$as_dirname -- "$ac_file" || |
25105 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
|
25106 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25712 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25107 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
25713 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
25108 | X"$ac_file" : 'X\(//\)$' \| \ |
25714 | X"$ac_file" : 'X\(//\)$' \| \ |
25109 | X"$ac_file" : 'X\(/\)' \| \ |
25715 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
25110 | . : '\(.\)' 2>/dev/null || |
|
|
25111 | echo X"$ac_file" | |
25716 | echo X"$ac_file" | |
25112 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25717 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25113 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25718 | s//\1/ |
25114 | /^X\(\/\/\)$/{ s//\1/; q; } |
25719 | q |
25115 | /^X\(\/\).*/{ s//\1/; q; } |
25720 | } |
|
|
25721 | /^X\(\/\/\)[^/].*/{ |
|
|
25722 | s//\1/ |
|
|
25723 | q |
|
|
25724 | } |
|
|
25725 | /^X\(\/\/\)$/{ |
|
|
25726 | s//\1/ |
|
|
25727 | q |
|
|
25728 | } |
|
|
25729 | /^X\(\/\).*/{ |
|
|
25730 | s//\1/ |
|
|
25731 | q |
|
|
25732 | } |
25116 | s/.*/./; q'` |
25733 | s/.*/./; q'` |
25117 | { if $as_mkdir_p; then |
|
|
25118 | mkdir -p "$ac_dir" |
|
|
25119 | else |
|
|
25120 | as_dir="$ac_dir" |
25734 | { as_dir="$ac_dir" |
|
|
25735 | case $as_dir in #( |
|
|
25736 | -*) as_dir=./$as_dir;; |
|
|
25737 | esac |
|
|
25738 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
25121 | as_dirs= |
25739 | as_dirs= |
25122 | while test ! -d "$as_dir"; do |
25740 | while :; do |
|
|
25741 | case $as_dir in #( |
|
|
25742 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
|
25743 | *) as_qdir=$as_dir;; |
|
|
25744 | esac |
25123 | as_dirs="$as_dir $as_dirs" |
25745 | as_dirs="'$as_qdir' $as_dirs" |
25124 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
25746 | as_dir=`$as_dirname -- "$as_dir" || |
25125 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25747 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25126 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25748 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25127 | X"$as_dir" : 'X\(//\)$' \| \ |
25749 | X"$as_dir" : 'X\(//\)$' \| \ |
25128 | X"$as_dir" : 'X\(/\)' \| \ |
25750 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
25129 | . : '\(.\)' 2>/dev/null || |
|
|
25130 | echo X"$as_dir" | |
25751 | echo X"$as_dir" | |
25131 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
25752 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25132 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
25753 | s//\1/ |
25133 | /^X\(\/\/\)$/{ s//\1/; q; } |
25754 | q |
25134 | /^X\(\/\).*/{ s//\1/; q; } |
25755 | } |
|
|
25756 | /^X\(\/\/\)[^/].*/{ |
|
|
25757 | s//\1/ |
|
|
25758 | q |
|
|
25759 | } |
|
|
25760 | /^X\(\/\/\)$/{ |
|
|
25761 | s//\1/ |
|
|
25762 | q |
|
|
25763 | } |
|
|
25764 | /^X\(\/\).*/{ |
|
|
25765 | s//\1/ |
|
|
25766 | q |
|
|
25767 | } |
25135 | s/.*/./; q'` |
25768 | s/.*/./; q'` |
|
|
25769 | test -d "$as_dir" && break |
25136 | done |
25770 | done |
25137 | test ! -n "$as_dirs" || mkdir $as_dirs |
25771 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
25138 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
25772 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
25139 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
25773 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
25140 | { (exit 1); exit 1; }; }; } |
25774 | { (exit 1); exit 1; }; }; } |
25141 | |
|
|
25142 | ac_builddir=. |
25775 | ac_builddir=. |
25143 | |
25776 | |
25144 | if test "$ac_dir" != .; then |
25777 | case "$ac_dir" in |
|
|
25778 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
|
25779 | *) |
25145 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
25780 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
25146 | # A "../" for each directory in $ac_dir_suffix. |
25781 | # A ".." for each directory in $ac_dir_suffix. |
25147 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
25782 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
25148 | else |
25783 | case $ac_top_builddir_sub in |
25149 | ac_dir_suffix= ac_top_builddir= |
25784 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
25150 | fi |
25785 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
|
25786 | esac ;; |
|
|
25787 | esac |
|
|
25788 | ac_abs_top_builddir=$ac_pwd |
|
|
25789 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
|
25790 | # for backward compatibility: |
|
|
25791 | ac_top_builddir=$ac_top_build_prefix |
25151 | |
25792 | |
25152 | case $srcdir in |
25793 | case $srcdir in |
25153 | .) # No --srcdir option. We are building in place. |
25794 | .) # We are building in place. |
25154 | ac_srcdir=. |
25795 | ac_srcdir=. |
25155 | if test -z "$ac_top_builddir"; then |
25796 | ac_top_srcdir=$ac_top_builddir_sub |
25156 | ac_top_srcdir=. |
25797 | ac_abs_top_srcdir=$ac_pwd ;; |
25157 | else |
|
|
25158 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
25159 | fi ;; |
|
|
25160 | [\\/]* | ?:[\\/]* ) # Absolute path. |
25798 | [\\/]* | ?:[\\/]* ) # Absolute name. |
25161 | ac_srcdir=$srcdir$ac_dir_suffix; |
25799 | ac_srcdir=$srcdir$ac_dir_suffix; |
25162 | ac_top_srcdir=$srcdir ;; |
25800 | ac_top_srcdir=$srcdir |
|
|
25801 | ac_abs_top_srcdir=$srcdir ;; |
25163 | *) # Relative path. |
25802 | *) # Relative name. |
25164 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
25803 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
25165 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
25804 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
|
25805 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
25166 | esac |
25806 | esac |
|
|
25807 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
25167 | |
25808 | |
25168 | # Do not use `cd foo && pwd` to compute absolute paths, because |
25809 | |
25169 | # the directories may not exist. |
|
|
25170 | case `pwd` in |
|
|
25171 | .) ac_abs_builddir="$ac_dir";; |
|
|
25172 | *) |
|
|
25173 | case "$ac_dir" in |
25810 | case $ac_mode in |
25174 | .) ac_abs_builddir=`pwd`;; |
25811 | :F) |
25175 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
25812 | # |
25176 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
25813 | # CONFIG_FILE |
25177 | esac;; |
25814 | # |
25178 | esac |
|
|
25179 | case $ac_abs_builddir in |
|
|
25180 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25181 | *) |
|
|
25182 | case ${ac_top_builddir}. in |
|
|
25183 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
25184 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25185 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
25186 | esac;; |
|
|
25187 | esac |
|
|
25188 | case $ac_abs_builddir in |
|
|
25189 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
25190 | *) |
|
|
25191 | case $ac_srcdir in |
|
|
25192 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
25193 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
25194 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
25195 | esac;; |
|
|
25196 | esac |
|
|
25197 | case $ac_abs_builddir in |
|
|
25198 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25199 | *) |
|
|
25200 | case $ac_top_srcdir in |
|
|
25201 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
25202 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25203 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
25204 | esac;; |
|
|
25205 | esac |
|
|
25206 | |
|
|
25207 | |
25815 | |
25208 | case $INSTALL in |
25816 | case $INSTALL in |
25209 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
25817 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
25210 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
25818 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
25211 | esac |
25819 | esac |
25212 | |
|
|
25213 | if test x"$ac_file" != x-; then |
|
|
25214 | { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
25215 | echo "$as_me: creating $ac_file" >&6;} |
|
|
25216 | rm -f "$ac_file" |
|
|
25217 | fi |
|
|
25218 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
25219 | # use $as_me), people would be surprised to read: |
|
|
25220 | # /* config.h. Generated by config.status. */ |
|
|
25221 | if test x"$ac_file" = x-; then |
|
|
25222 | configure_input= |
|
|
25223 | else |
|
|
25224 | configure_input="$ac_file. " |
|
|
25225 | fi |
|
|
25226 | configure_input=$configure_input"Generated from `echo $ac_file_in | |
|
|
25227 | sed 's,.*/,,'` by configure." |
|
|
25228 | |
|
|
25229 | # First look for the input files in the build tree, otherwise in the |
|
|
25230 | # src tree. |
|
|
25231 | ac_file_inputs=`IFS=: |
|
|
25232 | for f in $ac_file_in; do |
|
|
25233 | case $f in |
|
|
25234 | -) echo $tmp/stdin ;; |
|
|
25235 | [\\/$]*) |
|
|
25236 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
25237 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25238 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25239 | { (exit 1); exit 1; }; } |
|
|
25240 | echo "$f";; |
|
|
25241 | *) # Relative |
|
|
25242 | if test -f "$f"; then |
|
|
25243 | # Build tree |
|
|
25244 | echo "$f" |
|
|
25245 | elif test -f "$srcdir/$f"; then |
|
|
25246 | # Source tree |
|
|
25247 | echo "$srcdir/$f" |
|
|
25248 | else |
|
|
25249 | # /dev/null tree |
|
|
25250 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25251 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25252 | { (exit 1); exit 1; }; } |
|
|
25253 | fi;; |
|
|
25254 | esac |
|
|
25255 | done` || { (exit 1); exit 1; } |
|
|
25256 | _ACEOF |
25820 | _ACEOF |
|
|
25821 | |
|
|
25822 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25823 | # If the template does not know about datarootdir, expand it. |
|
|
25824 | # FIXME: This hack should be removed a few years after 2.60. |
|
|
25825 | ac_datarootdir_hack=; ac_datarootdir_seen= |
|
|
25826 | |
|
|
25827 | case `sed -n '/datarootdir/ { |
|
|
25828 | p |
|
|
25829 | q |
|
|
25830 | } |
|
|
25831 | /@datadir@/p |
|
|
25832 | /@docdir@/p |
|
|
25833 | /@infodir@/p |
|
|
25834 | /@localedir@/p |
|
|
25835 | /@mandir@/p |
|
|
25836 | ' $ac_file_inputs` in |
|
|
25837 | *datarootdir*) ac_datarootdir_seen=yes;; |
|
|
25838 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
|
25839 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
|
25840 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
|
25841 | _ACEOF |
|
|
25842 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
25843 | ac_datarootdir_hack=' |
|
|
25844 | s&@datadir@&$datadir&g |
|
|
25845 | s&@docdir@&$docdir&g |
|
|
25846 | s&@infodir@&$infodir&g |
|
|
25847 | s&@localedir@&$localedir&g |
|
|
25848 | s&@mandir@&$mandir&g |
|
|
25849 | s&\\\${datarootdir}&$datarootdir&g' ;; |
|
|
25850 | esac |
|
|
25851 | _ACEOF |
|
|
25852 | |
|
|
25853 | # Neutralize VPATH when `$srcdir' = `.'. |
|
|
25854 | # Shell code in configure.ac might set extrasub. |
|
|
25855 | # FIXME: do we really want to maintain this feature? |
25257 | cat >>$CONFIG_STATUS <<_ACEOF |
25856 | cat >>$CONFIG_STATUS <<_ACEOF |
25258 | sed "$ac_vpsub |
25857 | sed "$ac_vpsub |
25259 | $extrasub |
25858 | $extrasub |
25260 | _ACEOF |
25859 | _ACEOF |
25261 | cat >>$CONFIG_STATUS <<\_ACEOF |
25860 | cat >>$CONFIG_STATUS <<\_ACEOF |
25262 | :t |
25861 | :t |
25263 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
25862 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
25264 | s,@configure_input@,$configure_input,;t t |
25863 | s&@configure_input@&$configure_input&;t t |
|
|
25864 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
25265 | s,@srcdir@,$ac_srcdir,;t t |
25865 | s&@srcdir@&$ac_srcdir&;t t |
25266 | s,@abs_srcdir@,$ac_abs_srcdir,;t t |
25866 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
25267 | s,@top_srcdir@,$ac_top_srcdir,;t t |
25867 | s&@top_srcdir@&$ac_top_srcdir&;t t |
25268 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
25868 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
25269 | s,@builddir@,$ac_builddir,;t t |
25869 | s&@builddir@&$ac_builddir&;t t |
25270 | s,@abs_builddir@,$ac_abs_builddir,;t t |
25870 | s&@abs_builddir@&$ac_abs_builddir&;t t |
25271 | s,@top_builddir@,$ac_top_builddir,;t t |
|
|
25272 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
25871 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
25273 | s,@INSTALL@,$ac_INSTALL,;t t |
25872 | s&@INSTALL@&$ac_INSTALL&;t t |
25274 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
25873 | $ac_datarootdir_hack |
|
|
25874 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
|
|
25875 | |
|
|
25876 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
|
25877 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
|
|
25878 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
|
|
25879 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
|
25880 | which seems to be undefined. Please make sure it is defined." >&5 |
|
|
25881 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
|
25882 | which seems to be undefined. Please make sure it is defined." >&2;} |
|
|
25883 | |
25275 | rm -f $tmp/stdin |
25884 | rm -f "$tmp/stdin" |
25276 | if test x"$ac_file" != x-; then |
25885 | case $ac_file in |
25277 | mv $tmp/out $ac_file |
25886 | -) cat "$tmp/out"; rm -f "$tmp/out";; |
25278 | else |
25887 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
25279 | cat $tmp/out |
25888 | esac |
25280 | rm -f $tmp/out |
25889 | ;; |
25281 | fi |
25890 | :H) |
25282 | |
25891 | # |
25283 | done |
25892 | # CONFIG_HEADER |
|
|
25893 | # |
25284 | _ACEOF |
25894 | _ACEOF |
25285 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25286 | |
25895 | |
25287 | # |
25896 | # Transform confdefs.h into a sed script `conftest.defines', that |
25288 | # CONFIG_HEADER section. |
25897 | # substitutes the proper values into config.h.in to produce config.h. |
25289 | # |
25898 | rm -f conftest.defines conftest.tail |
25290 | |
25899 | # First, append a space to every undef/define line, to ease matching. |
|
|
25900 | echo 's/$/ /' >conftest.defines |
|
|
25901 | # Then, protect against being on the right side of a sed subst, or in |
|
|
25902 | # an unquoted here document, in config.status. If some macros were |
|
|
25903 | # called several times there might be several #defines for the same |
|
|
25904 | # symbol, which is useless. But do not sort them, since the last |
|
|
25905 | # AC_DEFINE must be honored. |
|
|
25906 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
25291 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
25907 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where |
25292 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
25908 | # NAME is the cpp macro being defined, VALUE is the value it is being given. |
25293 | # |
25909 | # PARAMS is the parameter list in the macro definition--in most cases, it's |
25294 | # ac_d sets the value in "#define NAME VALUE" lines. |
25910 | # just an empty string. |
25295 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
25911 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' |
25296 | ac_dB='[ ].*$,\1#\2' |
25912 | ac_dB='\\)[ (].*,\\1define\\2' |
25297 | ac_dC=' ' |
25913 | ac_dC=' ' |
25298 | ac_dD=',;t' |
25914 | ac_dD=' ,' |
25299 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
25300 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
|
|
25301 | ac_uB='$,\1#\2define\3' |
|
|
25302 | ac_uC=' ' |
|
|
25303 | ac_uD=',;t' |
|
|
25304 | |
25915 | |
25305 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
25916 | uniq confdefs.h | |
25306 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
25917 | sed -n ' |
25307 | case $ac_file in |
25918 | t rset |
25308 | - | *:- | *:-:* ) # input from stdin |
25919 | :rset |
25309 | cat >$tmp/stdin |
25920 | s/^[ ]*#[ ]*define[ ][ ]*// |
25310 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
25921 | t ok |
25311 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
25922 | d |
25312 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
25923 | :ok |
25313 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
|
|
25314 | * ) ac_file_in=$ac_file.in ;; |
|
|
25315 | esac |
|
|
25316 | |
|
|
25317 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
25318 | echo "$as_me: creating $ac_file" >&6;} |
|
|
25319 | |
|
|
25320 | # First look for the input files in the build tree, otherwise in the |
|
|
25321 | # src tree. |
|
|
25322 | ac_file_inputs=`IFS=: |
|
|
25323 | for f in $ac_file_in; do |
|
|
25324 | case $f in |
|
|
25325 | -) echo $tmp/stdin ;; |
|
|
25326 | [\\/$]*) |
|
|
25327 | # Absolute (can't be DOS-style, as IFS=:) |
|
|
25328 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25329 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25330 | { (exit 1); exit 1; }; } |
|
|
25331 | # Do quote $f, to prevent DOS paths from being IFS'd. |
|
|
25332 | echo "$f";; |
|
|
25333 | *) # Relative |
|
|
25334 | if test -f "$f"; then |
|
|
25335 | # Build tree |
|
|
25336 | echo "$f" |
|
|
25337 | elif test -f "$srcdir/$f"; then |
|
|
25338 | # Source tree |
|
|
25339 | echo "$srcdir/$f" |
|
|
25340 | else |
|
|
25341 | # /dev/null tree |
|
|
25342 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
|
|
25343 | echo "$as_me: error: cannot find input file: $f" >&2;} |
|
|
25344 | { (exit 1); exit 1; }; } |
|
|
25345 | fi;; |
|
|
25346 | esac |
|
|
25347 | done` || { (exit 1); exit 1; } |
|
|
25348 | # Remove the trailing spaces. |
|
|
25349 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
|
|
25350 | |
|
|
25351 | _ACEOF |
|
|
25352 | |
|
|
25353 | # Transform confdefs.h into two sed scripts, `conftest.defines' and |
|
|
25354 | # `conftest.undefs', that substitutes the proper values into |
|
|
25355 | # config.h.in to produce config.h. The first handles `#define' |
|
|
25356 | # templates, and the second `#undef' templates. |
|
|
25357 | # And first: Protect against being on the right side of a sed subst in |
|
|
25358 | # config.status. Protect against being in an unquoted here document |
|
|
25359 | # in config.status. |
|
|
25360 | rm -f conftest.defines conftest.undefs |
|
|
25361 | # Using a here document instead of a string reduces the quoting nightmare. |
|
|
25362 | # Putting comments in sed scripts is not portable. |
|
|
25363 | # |
|
|
25364 | # `end' is used to avoid that the second main sed command (meant for |
|
|
25365 | # 0-ary CPP macros) applies to n-ary macro definitions. |
|
|
25366 | # See the Autoconf documentation for `clear'. |
|
|
25367 | cat >confdef2sed.sed <<\_ACEOF |
|
|
25368 | s/[\\&,]/\\&/g |
25924 | s/[\\&,]/\\&/g |
25369 | s,[\\$`],\\&,g |
25925 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
25370 | t clear |
25926 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
25371 | : clear |
25927 | ' >>conftest.defines |
25372 | s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
|
|
25373 | t end |
|
|
25374 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
|
|
25375 | : end |
|
|
25376 | _ACEOF |
|
|
25377 | # If some macros were called several times there might be several times |
|
|
25378 | # the same #defines, which is useless. Nevertheless, we may not want to |
|
|
25379 | # sort them, since we want the *last* AC-DEFINE to be honored. |
|
|
25380 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
|
|
25381 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
|
|
25382 | rm -f confdef2sed.sed |
|
|
25383 | |
25928 | |
|
|
25929 | # Remove the space that was appended to ease matching. |
25384 | # This sed command replaces #undef with comments. This is necessary, for |
25930 | # Then replace #undef with comments. This is necessary, for |
25385 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
25931 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
25386 | # on some systems where configure will not decide to define it. |
25932 | # on some systems where configure will not decide to define it. |
25387 | cat >>conftest.undefs <<\_ACEOF |
25933 | # (The regexp can be short, since the line contains either #define or #undef.) |
25388 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
25934 | echo 's/ $// |
25389 | _ACEOF |
25935 | s,^[ #]*u.*,/* & */,' >>conftest.defines |
25390 | |
25936 | |
25391 | # Break up conftest.defines because some shells have a limit on the size |
25937 | # Break up conftest.defines: |
25392 | # of here documents, and old seds have small limits too (100 cmds). |
25938 | ac_max_sed_lines=50 |
25393 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
25939 | |
25394 | echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
25940 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
25395 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
25941 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
25396 | echo ' :' >>$CONFIG_STATUS |
25942 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
25397 | rm -f conftest.tail |
25943 | # et cetera. |
25398 | while grep . conftest.defines >/dev/null |
25944 | ac_in='$ac_file_inputs' |
|
|
25945 | ac_out='"$tmp/out1"' |
|
|
25946 | ac_nxt='"$tmp/out2"' |
|
|
25947 | |
|
|
25948 | while : |
25399 | do |
25949 | do |
25400 | # Write a limited-size here document to $tmp/defines.sed. |
25950 | # Write a here document: |
25401 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
25951 | cat >>$CONFIG_STATUS <<_ACEOF |
25402 | # Speed up: don't consider the non `#define' lines. |
25952 | # First, check the format of the line: |
25403 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
25953 | cat >"\$tmp/defines.sed" <<\\CEOF |
25404 | # Work around the forget-to-reset-the-flag bug. |
25954 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
25405 | echo 't clr' >>$CONFIG_STATUS |
25955 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
25406 | echo ': clr' >>$CONFIG_STATUS |
25956 | b |
|
|
25957 | :def |
|
|
25958 | _ACEOF |
25407 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
25959 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS |
25408 | echo 'CEOF |
25960 | echo 'CEOF |
25409 | sed -f $tmp/defines.sed $tmp/in >$tmp/out |
25961 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
25410 | rm -f $tmp/in |
25962 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
25411 | mv $tmp/out $tmp/in |
|
|
25412 | ' >>$CONFIG_STATUS |
|
|
25413 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
25963 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
|
|
25964 | grep . conftest.tail >/dev/null || break |
25414 | rm -f conftest.defines |
25965 | rm -f conftest.defines |
25415 | mv conftest.tail conftest.defines |
25966 | mv conftest.tail conftest.defines |
25416 | done |
25967 | done |
25417 | rm -f conftest.defines |
25968 | rm -f conftest.defines conftest.tail |
25418 | echo ' fi # grep' >>$CONFIG_STATUS |
|
|
25419 | echo >>$CONFIG_STATUS |
|
|
25420 | |
25969 | |
25421 | # Break up conftest.undefs because some shells have a limit on the size |
25970 | echo "ac_result=$ac_in" >>$CONFIG_STATUS |
25422 | # of here documents, and old seds have small limits too (100 cmds). |
|
|
25423 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
|
|
25424 | rm -f conftest.tail |
|
|
25425 | while grep . conftest.undefs >/dev/null |
|
|
25426 | do |
|
|
25427 | # Write a limited-size here document to $tmp/undefs.sed. |
|
|
25428 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
|
|
25429 | # Speed up: don't consider the non `#undef' |
|
|
25430 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
|
|
25431 | # Work around the forget-to-reset-the-flag bug. |
|
|
25432 | echo 't clr' >>$CONFIG_STATUS |
|
|
25433 | echo ': clr' >>$CONFIG_STATUS |
|
|
25434 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
|
|
25435 | echo 'CEOF |
|
|
25436 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
|
|
25437 | rm -f $tmp/in |
|
|
25438 | mv $tmp/out $tmp/in |
|
|
25439 | ' >>$CONFIG_STATUS |
|
|
25440 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
|
|
25441 | rm -f conftest.undefs |
|
|
25442 | mv conftest.tail conftest.undefs |
|
|
25443 | done |
|
|
25444 | rm -f conftest.undefs |
|
|
25445 | |
|
|
25446 | cat >>$CONFIG_STATUS <<\_ACEOF |
25971 | cat >>$CONFIG_STATUS <<\_ACEOF |
25447 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
|
|
25448 | # use $as_me), people would be surprised to read: |
|
|
25449 | # /* config.h. Generated by config.status. */ |
|
|
25450 | if test x"$ac_file" = x-; then |
|
|
25451 | echo "/* Generated by configure. */" >$tmp/config.h |
|
|
25452 | else |
|
|
25453 | echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
|
|
25454 | fi |
|
|
25455 | cat $tmp/in >>$tmp/config.h |
|
|
25456 | rm -f $tmp/in |
|
|
25457 | if test x"$ac_file" != x-; then |
25972 | if test x"$ac_file" != x-; then |
|
|
25973 | echo "/* $configure_input */" >"$tmp/config.h" |
|
|
25974 | cat "$ac_result" >>"$tmp/config.h" |
25458 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then |
25975 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then |
25459 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
25976 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
25460 | echo "$as_me: $ac_file is unchanged" >&6;} |
25977 | echo "$as_me: $ac_file is unchanged" >&6;} |
25461 | else |
25978 | else |
25462 | ac_dir=`(dirname "$ac_file") 2>/dev/null || |
|
|
25463 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25464 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
|
25465 | X"$ac_file" : 'X\(//\)$' \| \ |
|
|
25466 | X"$ac_file" : 'X\(/\)' \| \ |
|
|
25467 | . : '\(.\)' 2>/dev/null || |
|
|
25468 | echo X"$ac_file" | |
|
|
25469 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25470 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25471 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25472 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25473 | s/.*/./; q'` |
|
|
25474 | { if $as_mkdir_p; then |
|
|
25475 | mkdir -p "$ac_dir" |
|
|
25476 | else |
|
|
25477 | as_dir="$ac_dir" |
|
|
25478 | as_dirs= |
|
|
25479 | while test ! -d "$as_dir"; do |
|
|
25480 | as_dirs="$as_dir $as_dirs" |
|
|
25481 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
25482 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25483 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
25484 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
25485 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
25486 | . : '\(.\)' 2>/dev/null || |
|
|
25487 | echo X"$as_dir" | |
|
|
25488 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25489 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25490 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25491 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25492 | s/.*/./; q'` |
|
|
25493 | done |
|
|
25494 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
25495 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
25496 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
25497 | { (exit 1); exit 1; }; }; } |
|
|
25498 | |
|
|
25499 | rm -f $ac_file |
25979 | rm -f $ac_file |
25500 | mv $tmp/config.h $ac_file |
25980 | mv "$tmp/config.h" $ac_file |
25501 | fi |
25981 | fi |
25502 | else |
25982 | else |
25503 | cat $tmp/config.h |
25983 | echo "/* $configure_input */" |
25504 | rm -f $tmp/config.h |
25984 | cat "$ac_result" |
25505 | fi |
25985 | fi |
25506 | # Run the commands associated with the file. |
25986 | rm -f "$tmp/out12" |
|
|
25987 | ;; |
|
|
25988 | |
|
|
25989 | :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
|
|
25990 | echo "$as_me: executing $ac_file commands" >&6;} |
|
|
25991 | ;; |
|
|
25992 | esac |
|
|
25993 | |
|
|
25994 | |
25507 | case $ac_file in |
25995 | case $ac_file$ac_mode in |
25508 | config.h ) # update the timestamp |
25996 | "config.h":H) # update the timestamp |
25509 | echo 'timestamp for config.h' >"./stamp-h1" |
25997 | echo 'timestamp for config.h' >"./stamp-h1" |
25510 | ;; |
25998 | ;; |
25511 | esac |
|
|
25512 | done |
|
|
25513 | _ACEOF |
|
|
25514 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25515 | |
|
|
25516 | # |
|
|
25517 | # CONFIG_COMMANDS section. |
|
|
25518 | # |
|
|
25519 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
|
|
25520 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
|
|
25521 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
25522 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
|
|
25523 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25524 | X"$ac_dest" : 'X\(//\)[^/]' \| \ |
|
|
25525 | X"$ac_dest" : 'X\(//\)$' \| \ |
|
|
25526 | X"$ac_dest" : 'X\(/\)' \| \ |
|
|
25527 | . : '\(.\)' 2>/dev/null || |
|
|
25528 | echo X"$ac_dest" | |
|
|
25529 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25530 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25531 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25532 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25533 | s/.*/./; q'` |
|
|
25534 | { if $as_mkdir_p; then |
|
|
25535 | mkdir -p "$ac_dir" |
|
|
25536 | else |
|
|
25537 | as_dir="$ac_dir" |
|
|
25538 | as_dirs= |
|
|
25539 | while test ! -d "$as_dir"; do |
|
|
25540 | as_dirs="$as_dir $as_dirs" |
|
|
25541 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
|
|
25542 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
|
25543 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
25544 | X"$as_dir" : 'X\(//\)$' \| \ |
|
|
25545 | X"$as_dir" : 'X\(/\)' \| \ |
|
|
25546 | . : '\(.\)' 2>/dev/null || |
|
|
25547 | echo X"$as_dir" | |
|
|
25548 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
|
|
25549 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
|
|
25550 | /^X\(\/\/\)$/{ s//\1/; q; } |
|
|
25551 | /^X\(\/\).*/{ s//\1/; q; } |
|
|
25552 | s/.*/./; q'` |
|
|
25553 | done |
|
|
25554 | test ! -n "$as_dirs" || mkdir $as_dirs |
|
|
25555 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
|
|
25556 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
|
|
25557 | { (exit 1); exit 1; }; }; } |
|
|
25558 | |
|
|
25559 | ac_builddir=. |
|
|
25560 | |
|
|
25561 | if test "$ac_dir" != .; then |
|
|
25562 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
|
|
25563 | # A "../" for each directory in $ac_dir_suffix. |
|
|
25564 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
|
|
25565 | else |
|
|
25566 | ac_dir_suffix= ac_top_builddir= |
|
|
25567 | fi |
|
|
25568 | |
|
|
25569 | case $srcdir in |
|
|
25570 | .) # No --srcdir option. We are building in place. |
|
|
25571 | ac_srcdir=. |
|
|
25572 | if test -z "$ac_top_builddir"; then |
|
|
25573 | ac_top_srcdir=. |
|
|
25574 | else |
|
|
25575 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
|
|
25576 | fi ;; |
|
|
25577 | [\\/]* | ?:[\\/]* ) # Absolute path. |
|
|
25578 | ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
25579 | ac_top_srcdir=$srcdir ;; |
|
|
25580 | *) # Relative path. |
|
|
25581 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
|
|
25582 | ac_top_srcdir=$ac_top_builddir$srcdir ;; |
|
|
25583 | esac |
|
|
25584 | |
|
|
25585 | # Do not use `cd foo && pwd` to compute absolute paths, because |
|
|
25586 | # the directories may not exist. |
|
|
25587 | case `pwd` in |
|
|
25588 | .) ac_abs_builddir="$ac_dir";; |
|
|
25589 | *) |
|
|
25590 | case "$ac_dir" in |
|
|
25591 | .) ac_abs_builddir=`pwd`;; |
|
|
25592 | [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; |
|
|
25593 | *) ac_abs_builddir=`pwd`/"$ac_dir";; |
|
|
25594 | esac;; |
|
|
25595 | esac |
|
|
25596 | case $ac_abs_builddir in |
|
|
25597 | .) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25598 | *) |
|
|
25599 | case ${ac_top_builddir}. in |
|
|
25600 | .) ac_abs_top_builddir=$ac_abs_builddir;; |
|
|
25601 | [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; |
|
|
25602 | *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; |
|
|
25603 | esac;; |
|
|
25604 | esac |
|
|
25605 | case $ac_abs_builddir in |
|
|
25606 | .) ac_abs_srcdir=$ac_srcdir;; |
|
|
25607 | *) |
|
|
25608 | case $ac_srcdir in |
|
|
25609 | .) ac_abs_srcdir=$ac_abs_builddir;; |
|
|
25610 | [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; |
|
|
25611 | *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; |
|
|
25612 | esac;; |
|
|
25613 | esac |
|
|
25614 | case $ac_abs_builddir in |
|
|
25615 | .) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25616 | *) |
|
|
25617 | case $ac_top_srcdir in |
|
|
25618 | .) ac_abs_top_srcdir=$ac_abs_builddir;; |
|
|
25619 | [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; |
|
|
25620 | *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; |
|
|
25621 | esac;; |
|
|
25622 | esac |
|
|
25623 | |
|
|
25624 | |
|
|
25625 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
|
|
25626 | echo "$as_me: executing $ac_dest commands" >&6;} |
|
|
25627 | case $ac_dest in |
|
|
25628 | depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
25999 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do |
25629 | # Strip MF so we end up with the name of the file. |
26000 | # Strip MF so we end up with the name of the file. |
25630 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
26001 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
25631 | # Check whether this is an Automake generated Makefile or not. |
26002 | # Check whether this is an Automake generated Makefile or not. |
25632 | # We used to match only the files named `Makefile.in', but |
26003 | # We used to match only the files named `Makefile.in', but |
25633 | # some people rename them; so instead we look at the file content. |
26004 | # some people rename them; so instead we look at the file content. |
25634 | # Grep'ing the first line is not enough: some people post-process |
26005 | # Grep'ing the first line is not enough: some people post-process |
25635 | # each Makefile.in and add a new line on top of each file to say so. |
26006 | # each Makefile.in and add a new line on top of each file to say so. |
25636 | # So let's grep whole file. |
26007 | # So let's grep whole file. |
25637 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
26008 | if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then |
25638 | dirpart=`(dirname "$mf") 2>/dev/null || |
26009 | dirpart=`$as_dirname -- "$mf" || |
25639 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
26010 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25640 | X"$mf" : 'X\(//\)[^/]' \| \ |
26011 | X"$mf" : 'X\(//\)[^/]' \| \ |
25641 | X"$mf" : 'X\(//\)$' \| \ |
26012 | X"$mf" : 'X\(//\)$' \| \ |
25642 | X"$mf" : 'X\(/\)' \| \ |
26013 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
25643 | . : '\(.\)' 2>/dev/null || |
|
|
25644 | echo X"$mf" | |
26014 | echo X"$mf" | |
25645 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
26015 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25646 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
26016 | s//\1/ |
25647 | /^X\(\/\/\)$/{ s//\1/; q; } |
26017 | q |
25648 | /^X\(\/\).*/{ s//\1/; q; } |
26018 | } |
|
|
26019 | /^X\(\/\/\)[^/].*/{ |
|
|
26020 | s//\1/ |
|
|
26021 | q |
|
|
26022 | } |
|
|
26023 | /^X\(\/\/\)$/{ |
|
|
26024 | s//\1/ |
|
|
26025 | q |
|
|
26026 | } |
|
|
26027 | /^X\(\/\).*/{ |
|
|
26028 | s//\1/ |
|
|
26029 | q |
|
|
26030 | } |
25649 | s/.*/./; q'` |
26031 | s/.*/./; q'` |
25650 | else |
26032 | else |
25651 | continue |
26033 | continue |
25652 | fi |
26034 | fi |
25653 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
26035 | grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue |
25654 | # Extract the definition of DEP_FILES from the Makefile without |
26036 | # Extract the definition of DEP_FILES from the Makefile without |
… | |
… | |
25672 | } |
26054 | } |
25673 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
26055 | /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ |
25674 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
26056 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
25675 | # Make sure the directory exists. |
26057 | # Make sure the directory exists. |
25676 | test -f "$dirpart/$file" && continue |
26058 | test -f "$dirpart/$file" && continue |
25677 | fdir=`(dirname "$file") 2>/dev/null || |
26059 | fdir=`$as_dirname -- "$file" || |
25678 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
26060 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25679 | X"$file" : 'X\(//\)[^/]' \| \ |
26061 | X"$file" : 'X\(//\)[^/]' \| \ |
25680 | X"$file" : 'X\(//\)$' \| \ |
26062 | X"$file" : 'X\(//\)$' \| \ |
25681 | X"$file" : 'X\(/\)' \| \ |
26063 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
25682 | . : '\(.\)' 2>/dev/null || |
|
|
25683 | echo X"$file" | |
26064 | echo X"$file" | |
25684 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
26065 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25685 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
26066 | s//\1/ |
25686 | /^X\(\/\/\)$/{ s//\1/; q; } |
26067 | q |
25687 | /^X\(\/\).*/{ s//\1/; q; } |
26068 | } |
|
|
26069 | /^X\(\/\/\)[^/].*/{ |
|
|
26070 | s//\1/ |
|
|
26071 | q |
|
|
26072 | } |
|
|
26073 | /^X\(\/\/\)$/{ |
|
|
26074 | s//\1/ |
|
|
26075 | q |
|
|
26076 | } |
|
|
26077 | /^X\(\/\).*/{ |
|
|
26078 | s//\1/ |
|
|
26079 | q |
|
|
26080 | } |
25688 | s/.*/./; q'` |
26081 | s/.*/./; q'` |
25689 | { if $as_mkdir_p; then |
|
|
25690 | mkdir -p $dirpart/$fdir |
|
|
25691 | else |
|
|
25692 | as_dir=$dirpart/$fdir |
26082 | { as_dir=$dirpart/$fdir |
|
|
26083 | case $as_dir in #( |
|
|
26084 | -*) as_dir=./$as_dir;; |
|
|
26085 | esac |
|
|
26086 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { |
25693 | as_dirs= |
26087 | as_dirs= |
25694 | while test ! -d "$as_dir"; do |
26088 | while :; do |
|
|
26089 | case $as_dir in #( |
|
|
26090 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
|
|
26091 | *) as_qdir=$as_dir;; |
|
|
26092 | esac |
25695 | as_dirs="$as_dir $as_dirs" |
26093 | as_dirs="'$as_qdir' $as_dirs" |
25696 | as_dir=`(dirname "$as_dir") 2>/dev/null || |
26094 | as_dir=`$as_dirname -- "$as_dir" || |
25697 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
26095 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
25698 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
26096 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
25699 | X"$as_dir" : 'X\(//\)$' \| \ |
26097 | X"$as_dir" : 'X\(//\)$' \| \ |
25700 | X"$as_dir" : 'X\(/\)' \| \ |
26098 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
25701 | . : '\(.\)' 2>/dev/null || |
|
|
25702 | echo X"$as_dir" | |
26099 | echo X"$as_dir" | |
25703 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
26100 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
25704 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } |
26101 | s//\1/ |
25705 | /^X\(\/\/\)$/{ s//\1/; q; } |
26102 | q |
25706 | /^X\(\/\).*/{ s//\1/; q; } |
26103 | } |
|
|
26104 | /^X\(\/\/\)[^/].*/{ |
|
|
26105 | s//\1/ |
|
|
26106 | q |
|
|
26107 | } |
|
|
26108 | /^X\(\/\/\)$/{ |
|
|
26109 | s//\1/ |
|
|
26110 | q |
|
|
26111 | } |
|
|
26112 | /^X\(\/\).*/{ |
|
|
26113 | s//\1/ |
|
|
26114 | q |
|
|
26115 | } |
25707 | s/.*/./; q'` |
26116 | s/.*/./; q'` |
|
|
26117 | test -d "$as_dir" && break |
25708 | done |
26118 | done |
25709 | test ! -n "$as_dirs" || mkdir $as_dirs |
26119 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
25710 | fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 |
26120 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
25711 | echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} |
26121 | echo "$as_me: error: cannot create directory $as_dir" >&2;} |
25712 | { (exit 1); exit 1; }; }; } |
26122 | { (exit 1); exit 1; }; }; } |
25713 | |
|
|
25714 | # echo "creating $dirpart/$file" |
26123 | # echo "creating $dirpart/$file" |
25715 | echo '# dummy' > "$dirpart/$file" |
26124 | echo '# dummy' > "$dirpart/$file" |
25716 | done |
26125 | done |
25717 | done |
26126 | done |
25718 | ;; |
26127 | ;; |
|
|
26128 | |
25719 | esac |
26129 | esac |
25720 | done |
26130 | done # for ac_tag |
25721 | _ACEOF |
|
|
25722 | |
26131 | |
25723 | cat >>$CONFIG_STATUS <<\_ACEOF |
|
|
25724 | |
26132 | |
25725 | { (exit 0); exit 0; } |
26133 | { (exit 0); exit 0; } |
25726 | _ACEOF |
26134 | _ACEOF |
25727 | chmod +x $CONFIG_STATUS |
26135 | chmod +x $CONFIG_STATUS |
25728 | ac_clean_files=$ac_clean_files_save |
26136 | ac_clean_files=$ac_clean_files_save |