Mercurial > emacs
comparison configure @ 74735:5dc48c97ce7b
Regenerate
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 19 Dec 2006 06:48:53 +0000 (2006-12-19) |
parents | 16519aeef440 |
children | 1b8ea6fcd267 |
comparison
equal
deleted
inserted
replaced
74734:8a1893a214bd | 74735:5dc48c97ce7b |
---|---|
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. | 3 # Generated by GNU Autoconf 2.60. |
4 # | 4 # |
5 # Copyright (C) 2003 Free Software Foundation, Inc. | 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
6 # This configure script is free software; the Free Software Foundation | 7 # This configure script is free software; the Free Software Foundation |
7 # gives unlimited permission to copy, distribute and modify it. | 8 # gives unlimited permission to copy, distribute and modify it. |
8 ## --------------------- ## | 9 ## --------------------- ## |
9 ## M4sh Initialization. ## | 10 ## M4sh Initialization. ## |
10 ## --------------------- ## | 11 ## --------------------- ## |
14 emulate sh | 15 emulate sh |
15 NULLCMD=: | 16 NULLCMD=: |
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
17 # is contrary to our usage. Disable this feature. | 18 # is contrary to our usage. Disable this feature. |
18 alias -g '${1+"$@"}'='"$@"' | 19 alias -g '${1+"$@"}'='"$@"' |
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 20 setopt NO_GLOB_SUBST |
20 set -o posix | 21 else |
21 fi | 22 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
23 fi | |
24 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
22 DUALCASE=1; export DUALCASE # for MKS sh | 25 DUALCASE=1; export DUALCASE # for MKS sh |
23 | 26 |
24 # Support unset when possible. | 27 |
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 28 # PATH needs CR |
26 as_unset=unset | |
27 else | |
28 as_unset=false | |
29 fi | |
30 | |
31 | |
32 # Work around bugs in pre-3.0 UWIN ksh. | |
33 $as_unset ENV MAIL MAILPATH | |
34 PS1='$ ' | |
35 PS2='> ' | |
36 PS4='+ ' | |
37 | |
38 # NLS nuisances. | |
39 for as_var in \ | |
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
42 LC_TELEPHONE LC_TIME | |
43 do | |
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
45 eval $as_var=C; export $as_var | |
46 else | |
47 $as_unset $as_var | |
48 fi | |
49 done | |
50 | |
51 # Required to use basename. | |
52 if expr a : '\(a\)' >/dev/null 2>&1; then | |
53 as_expr=expr | |
54 else | |
55 as_expr=false | |
56 fi | |
57 | |
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
59 as_basename=basename | |
60 else | |
61 as_basename=false | |
62 fi | |
63 | |
64 | |
65 # Name of the executable. | |
66 as_me=`$as_basename "$0" || | |
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
68 X"$0" : 'X\(//\)$' \| \ | |
69 X"$0" : 'X\(/\)$' \| \ | |
70 . : '\(.\)' 2>/dev/null || | |
71 echo X/"$0" | | |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
73 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
74 /^X\/\(\/\).*/{ s//\1/; q; } | |
75 s/.*/./; q'` | |
76 | |
77 | |
78 # PATH needs CR, and LINENO needs CR and PATH. | |
79 # Avoid depending upon Character Ranges. | 29 # Avoid depending upon Character Ranges. |
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 30 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 31 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 32 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
83 as_cr_digits='0123456789' | 33 as_cr_digits='0123456789' |
94 PATH_SEPARATOR=: | 44 PATH_SEPARATOR=: |
95 fi | 45 fi |
96 rm -f conf$$.sh | 46 rm -f conf$$.sh |
97 fi | 47 fi |
98 | 48 |
99 | 49 # Support unset when possible. |
100 as_lineno_1=$LINENO | 50 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
101 as_lineno_2=$LINENO | 51 as_unset=unset |
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 52 else |
103 test "x$as_lineno_1" != "x$as_lineno_2" && | 53 as_unset=false |
104 test "x$as_lineno_3" = "x$as_lineno_2" || { | 54 fi |
105 # Find who we are. Look in the path if we contain no path at all | 55 |
106 # relative or not. | 56 |
107 case $0 in | 57 # IFS |
108 *[\\/]* ) as_myself=$0 ;; | 58 # We need space, tab and new line, in precisely that order. Quoting is |
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 59 # there to prevent editors from complaining about space-tab. |
60 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
61 # splitting by setting IFS to empty value.) | |
62 as_nl=' | |
63 ' | |
64 IFS=" "" $as_nl" | |
65 | |
66 # Find who we are. Look in the path if we contain no directory separator. | |
67 case $0 in | |
68 *[\\/]* ) as_myself=$0 ;; | |
69 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
110 for as_dir in $PATH | 70 for as_dir in $PATH |
111 do | 71 do |
112 IFS=$as_save_IFS | 72 IFS=$as_save_IFS |
113 test -z "$as_dir" && as_dir=. | 73 test -z "$as_dir" && as_dir=. |
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 74 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
115 done | 75 done |
116 | 76 IFS=$as_save_IFS |
117 ;; | 77 |
118 esac | 78 ;; |
119 # We did not find ourselves, most probably we were run as `sh COMMAND' | 79 esac |
120 # in which case we are not to be found in the path. | 80 # We did not find ourselves, most probably we were run as `sh COMMAND' |
121 if test "x$as_myself" = x; then | 81 # in which case we are not to be found in the path. |
122 as_myself=$0 | 82 if test "x$as_myself" = x; then |
83 as_myself=$0 | |
84 fi | |
85 if test ! -f "$as_myself"; then | |
86 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
87 { (exit 1); exit 1; } | |
88 fi | |
89 | |
90 # Work around bugs in pre-3.0 UWIN ksh. | |
91 for as_var in ENV MAIL MAILPATH | |
92 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
93 done | |
94 PS1='$ ' | |
95 PS2='> ' | |
96 PS4='+ ' | |
97 | |
98 # NLS nuisances. | |
99 for as_var in \ | |
100 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
101 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
102 LC_TELEPHONE LC_TIME | |
103 do | |
104 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
105 eval $as_var=C; export $as_var | |
106 else | |
107 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
123 fi | 108 fi |
124 if test ! -f "$as_myself"; then | 109 done |
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 110 |
126 { (exit 1); exit 1; }; } | 111 # Required to use basename. |
127 fi | 112 if expr a : '\(a\)' >/dev/null 2>&1 && |
128 case $CONFIG_SHELL in | 113 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
129 '') | 114 as_expr=expr |
115 else | |
116 as_expr=false | |
117 fi | |
118 | |
119 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
120 as_basename=basename | |
121 else | |
122 as_basename=false | |
123 fi | |
124 | |
125 | |
126 # Name of the executable. | |
127 as_me=`$as_basename -- "$0" || | |
128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
129 X"$0" : 'X\(//\)$' \| \ | |
130 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
131 echo X/"$0" | | |
132 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
133 s//\1/ | |
134 q | |
135 } | |
136 /^X\/\(\/\/\)$/{ | |
137 s//\1/ | |
138 q | |
139 } | |
140 /^X\/\(\/\).*/{ | |
141 s//\1/ | |
142 q | |
143 } | |
144 s/.*/./; q'` | |
145 | |
146 # CDPATH. | |
147 $as_unset CDPATH | |
148 | |
149 | |
150 if test "x$CONFIG_SHELL" = x; then | |
151 if (eval ":") 2>/dev/null; then | |
152 as_have_required=yes | |
153 else | |
154 as_have_required=no | |
155 fi | |
156 | |
157 if test $as_have_required = yes && (eval ": | |
158 (as_func_return () { | |
159 (exit \$1) | |
160 } | |
161 as_func_success () { | |
162 as_func_return 0 | |
163 } | |
164 as_func_failure () { | |
165 as_func_return 1 | |
166 } | |
167 as_func_ret_success () { | |
168 return 0 | |
169 } | |
170 as_func_ret_failure () { | |
171 return 1 | |
172 } | |
173 | |
174 exitcode=0 | |
175 if as_func_success; then | |
176 : | |
177 else | |
178 exitcode=1 | |
179 echo as_func_success failed. | |
180 fi | |
181 | |
182 if as_func_failure; then | |
183 exitcode=1 | |
184 echo as_func_failure succeeded. | |
185 fi | |
186 | |
187 if as_func_ret_success; then | |
188 : | |
189 else | |
190 exitcode=1 | |
191 echo as_func_ret_success failed. | |
192 fi | |
193 | |
194 if as_func_ret_failure; then | |
195 exitcode=1 | |
196 echo as_func_ret_failure succeeded. | |
197 fi | |
198 | |
199 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
200 : | |
201 else | |
202 exitcode=1 | |
203 echo positional parameters were not saved. | |
204 fi | |
205 | |
206 test \$exitcode = 0) || { (exit 1); exit 1; } | |
207 | |
208 ( | |
209 as_lineno_1=\$LINENO | |
210 as_lineno_2=\$LINENO | |
211 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | |
212 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | |
213 ") 2> /dev/null; then | |
214 : | |
215 else | |
216 as_candidate_shells= | |
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 218 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
132 do | 219 do |
133 IFS=$as_save_IFS | 220 IFS=$as_save_IFS |
134 test -z "$as_dir" && as_dir=. | 221 test -z "$as_dir" && as_dir=. |
135 for as_base in sh bash ksh sh5; do | 222 case $as_dir in |
136 case $as_dir in | |
137 /*) | 223 /*) |
138 if ("$as_dir/$as_base" -c ' | 224 for as_base in sh bash ksh sh5; do |
225 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" | |
226 done;; | |
227 esac | |
228 done | |
229 IFS=$as_save_IFS | |
230 | |
231 | |
232 for as_shell in $as_candidate_shells $SHELL; do | |
233 # Try only shells that exist, to save several forks. | |
234 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
235 { ("$as_shell") 2> /dev/null <<\_ASEOF | |
236 # Be Bourne compatible | |
237 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
238 emulate sh | |
239 NULLCMD=: | |
240 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
241 # is contrary to our usage. Disable this feature. | |
242 alias -g '${1+"$@"}'='"$@"' | |
243 setopt NO_GLOB_SUBST | |
244 else | |
245 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
246 fi | |
247 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
248 DUALCASE=1; export DUALCASE # for MKS sh | |
249 | |
250 : | |
251 _ASEOF | |
252 }; then | |
253 CONFIG_SHELL=$as_shell | |
254 as_have_required=yes | |
255 if { "$as_shell" 2> /dev/null <<\_ASEOF | |
256 # Be Bourne compatible | |
257 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
258 emulate sh | |
259 NULLCMD=: | |
260 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | |
261 # is contrary to our usage. Disable this feature. | |
262 alias -g '${1+"$@"}'='"$@"' | |
263 setopt NO_GLOB_SUBST | |
264 else | |
265 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac | |
266 fi | |
267 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
268 DUALCASE=1; export DUALCASE # for MKS sh | |
269 | |
270 : | |
271 (as_func_return () { | |
272 (exit $1) | |
273 } | |
274 as_func_success () { | |
275 as_func_return 0 | |
276 } | |
277 as_func_failure () { | |
278 as_func_return 1 | |
279 } | |
280 as_func_ret_success () { | |
281 return 0 | |
282 } | |
283 as_func_ret_failure () { | |
284 return 1 | |
285 } | |
286 | |
287 exitcode=0 | |
288 if as_func_success; then | |
289 : | |
290 else | |
291 exitcode=1 | |
292 echo as_func_success failed. | |
293 fi | |
294 | |
295 if as_func_failure; then | |
296 exitcode=1 | |
297 echo as_func_failure succeeded. | |
298 fi | |
299 | |
300 if as_func_ret_success; then | |
301 : | |
302 else | |
303 exitcode=1 | |
304 echo as_func_ret_success failed. | |
305 fi | |
306 | |
307 if as_func_ret_failure; then | |
308 exitcode=1 | |
309 echo as_func_ret_failure succeeded. | |
310 fi | |
311 | |
312 if ( set x; as_func_ret_success y && test x = "$1" ); then | |
313 : | |
314 else | |
315 exitcode=1 | |
316 echo positional parameters were not saved. | |
317 fi | |
318 | |
319 test $exitcode = 0) || { (exit 1); exit 1; } | |
320 | |
321 ( | |
139 as_lineno_1=$LINENO | 322 as_lineno_1=$LINENO |
140 as_lineno_2=$LINENO | 323 as_lineno_2=$LINENO |
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
142 test "x$as_lineno_1" != "x$as_lineno_2" && | 324 test "x$as_lineno_1" != "x$as_lineno_2" && |
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 325 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } |
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 326 |
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 327 _ASEOF |
146 CONFIG_SHELL=$as_dir/$as_base | 328 }; then |
147 export CONFIG_SHELL | 329 break |
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 330 fi |
149 fi;; | 331 |
150 esac | 332 fi |
151 done | 333 |
152 done | 334 done |
153 ;; | 335 |
154 esac | 336 if test "x$CONFIG_SHELL" != x; then |
337 for as_var in BASH_ENV ENV | |
338 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
339 done | |
340 export CONFIG_SHELL | |
341 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | |
342 fi | |
343 | |
344 | |
345 if test $as_have_required = no; then | |
346 echo This script requires a shell more modern than all the | |
347 echo shells that I found on your system. Please install a | |
348 echo modern shell, or manually run the script under such a | |
349 echo shell if you do have one. | |
350 { (exit 1); exit 1; } | |
351 fi | |
352 | |
353 | |
354 fi | |
355 | |
356 fi | |
357 | |
358 | |
359 | |
360 (eval "as_func_return () { | |
361 (exit \$1) | |
362 } | |
363 as_func_success () { | |
364 as_func_return 0 | |
365 } | |
366 as_func_failure () { | |
367 as_func_return 1 | |
368 } | |
369 as_func_ret_success () { | |
370 return 0 | |
371 } | |
372 as_func_ret_failure () { | |
373 return 1 | |
374 } | |
375 | |
376 exitcode=0 | |
377 if as_func_success; then | |
378 : | |
379 else | |
380 exitcode=1 | |
381 echo as_func_success failed. | |
382 fi | |
383 | |
384 if as_func_failure; then | |
385 exitcode=1 | |
386 echo as_func_failure succeeded. | |
387 fi | |
388 | |
389 if as_func_ret_success; then | |
390 : | |
391 else | |
392 exitcode=1 | |
393 echo as_func_ret_success failed. | |
394 fi | |
395 | |
396 if as_func_ret_failure; then | |
397 exitcode=1 | |
398 echo as_func_ret_failure succeeded. | |
399 fi | |
400 | |
401 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | |
402 : | |
403 else | |
404 exitcode=1 | |
405 echo positional parameters were not saved. | |
406 fi | |
407 | |
408 test \$exitcode = 0") || { | |
409 echo No shell found that supports shell functions. | |
410 echo Please tell autoconf@gnu.org about your system, | |
411 echo including any error possibly output before this | |
412 echo message | |
413 } | |
414 | |
415 | |
416 | |
417 as_lineno_1=$LINENO | |
418 as_lineno_2=$LINENO | |
419 test "x$as_lineno_1" != "x$as_lineno_2" && | |
420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { | |
155 | 421 |
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
157 # uniformly replaced by the line number. The first 'sed' inserts a | 423 # uniformly replaced by the line number. The first 'sed' inserts a |
158 # line-number line before each line; the second 'sed' does the real | 424 # line-number line after each line using $LINENO; the second 'sed' |
159 # work. The second script uses 'N' to pair each line-number line | 425 # does the real work. The second script uses 'N' to pair each |
160 # with the numbered line, and appends trailing '-' during | 426 # line-number line with the line containing $LINENO, and appends |
161 # substitution so that $LINENO is not a special case at line end. | 427 # trailing '-' during substitution so that $LINENO is not a special |
428 # case at line end. | |
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 430 # scripts with optimization help from Paolo Bonzini. Blame Lee |
164 sed '=' <$as_myself | | 431 # E. McMahon (1931-1989) for sed's syntax. :-) |
432 sed -n ' | |
433 p | |
434 /[$]LINENO/= | |
435 ' <$as_myself | | |
165 sed ' | 436 sed ' |
437 s/[$]LINENO.*/&-/ | |
438 t lineno | |
439 b | |
440 :lineno | |
166 N | 441 N |
167 s,$,-, | 442 :loop |
168 : loop | 443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
170 t loop | 444 t loop |
171 s,-$,, | 445 s/-\n.*// |
172 s,^['$as_cr_digits']*\n,, | |
173 ' >$as_me.lineno && | 446 ' >$as_me.lineno && |
174 chmod +x $as_me.lineno || | 447 chmod +x "$as_me.lineno" || |
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
176 { (exit 1); exit 1; }; } | 449 { (exit 1); exit 1; }; } |
177 | 450 |
178 # Don't try to exec as it changes $[0], causing all sort of problems | 451 # Don't try to exec as it changes $[0], causing all sort of problems |
179 # (the dirname of $[0] is not the place where we might find the | 452 # (the dirname of $[0] is not the place where we might find the |
180 # original and so on. Autoconf is especially sensible to this). | 453 # original and so on. Autoconf is especially sensitive to this). |
181 . ./$as_me.lineno | 454 . "./$as_me.lineno" |
182 # Exit status is that of the last command. | 455 # Exit status is that of the last command. |
183 exit | 456 exit |
184 } | 457 } |
185 | 458 |
186 | 459 |
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
188 *c*,-n*) ECHO_N= ECHO_C=' | 461 as_dirname=dirname |
189 ' ECHO_T=' ' ;; | 462 else |
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 463 as_dirname=false |
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 464 fi |
192 esac | 465 |
193 | 466 ECHO_C= ECHO_N= ECHO_T= |
194 if expr a : '\(a\)' >/dev/null 2>&1; then | 467 case `echo -n x` in |
468 -n*) | |
469 case `echo 'x\c'` in | |
470 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
471 *) ECHO_C='\c';; | |
472 esac;; | |
473 *) | |
474 ECHO_N='-n';; | |
475 esac | |
476 | |
477 if expr a : '\(a\)' >/dev/null 2>&1 && | |
478 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
195 as_expr=expr | 479 as_expr=expr |
196 else | 480 else |
197 as_expr=false | 481 as_expr=false |
198 fi | 482 fi |
199 | 483 |
200 rm -f conf$$ conf$$.exe conf$$.file | 484 rm -f conf$$ conf$$.exe conf$$.file |
485 if test -d conf$$.dir; then | |
486 rm -f conf$$.dir/conf$$.file | |
487 else | |
488 rm -f conf$$.dir | |
489 mkdir conf$$.dir | |
490 fi | |
201 echo >conf$$.file | 491 echo >conf$$.file |
202 if ln -s conf$$.file conf$$ 2>/dev/null; then | 492 if ln -s conf$$.file conf$$ 2>/dev/null; then |
203 # We could just check for DJGPP; but this test a) works b) is more generic | 493 as_ln_s='ln -s' |
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 494 # ... but there are two gotchas: |
205 if test -f conf$$.exe; then | 495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
206 # Don't use ln at all; we don't have any links | 496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
497 # In both cases, we have to default to `cp -p'. | |
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
207 as_ln_s='cp -p' | 499 as_ln_s='cp -p' |
208 else | |
209 as_ln_s='ln -s' | |
210 fi | |
211 elif ln conf$$.file conf$$ 2>/dev/null; then | 500 elif ln conf$$.file conf$$ 2>/dev/null; then |
212 as_ln_s=ln | 501 as_ln_s=ln |
213 else | 502 else |
214 as_ln_s='cp -p' | 503 as_ln_s='cp -p' |
215 fi | 504 fi |
216 rm -f conf$$ conf$$.exe conf$$.file | 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
506 rmdir conf$$.dir 2>/dev/null | |
217 | 507 |
218 if mkdir -p . 2>/dev/null; then | 508 if mkdir -p . 2>/dev/null; then |
219 as_mkdir_p=: | 509 as_mkdir_p=: |
220 else | 510 else |
221 test -d ./-p && rmdir ./-p | 511 test -d ./-p && rmdir ./-p |
222 as_mkdir_p=false | 512 as_mkdir_p=false |
223 fi | 513 fi |
224 | 514 |
225 as_executable_p="test -f" | 515 # Find out whether ``test -x'' works. Don't use a zero-byte file, as |
516 # systems may use methods other than mode bits to determine executability. | |
517 cat >conf$$.file <<_ASEOF | |
518 #! /bin/sh | |
519 exit 0 | |
520 _ASEOF | |
521 chmod +x conf$$.file | |
522 if test -x conf$$.file >/dev/null 2>&1; then | |
523 as_executable_p="test -x" | |
524 else | |
525 as_executable_p=: | |
526 fi | |
527 rm -f conf$$.file | |
226 | 528 |
227 # Sed expression to map a string onto a valid CPP name. | 529 # Sed expression to map a string onto a valid CPP name. |
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
229 | 531 |
230 # Sed expression to map a string onto a valid variable name. | 532 # Sed expression to map a string onto a valid variable name. |
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
232 | 534 |
233 | 535 |
234 # IFS | 536 |
235 # We need space, tab and new line, in precisely that order. | 537 exec 7<&0 </dev/null 6>&1 |
236 as_nl=' | |
237 ' | |
238 IFS=" $as_nl" | |
239 | |
240 # CDPATH. | |
241 $as_unset CDPATH | |
242 | |
243 | 538 |
244 # Name of the host. | 539 # Name of the host. |
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
246 # so uname gets run too. | 541 # so uname gets run too. |
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
248 | 543 |
249 exec 6>&1 | |
250 | |
251 # | 544 # |
252 # Initializations. | 545 # Initializations. |
253 # | 546 # |
254 ac_default_prefix=/usr/local | 547 ac_default_prefix=/usr/local |
548 ac_clean_files= | |
255 ac_config_libobj_dir=. | 549 ac_config_libobj_dir=. |
550 LIBOBJS= | |
256 cross_compiling=no | 551 cross_compiling=no |
257 subdirs= | 552 subdirs= |
258 MFLAGS= | 553 MFLAGS= |
259 MAKEFLAGS= | 554 MAKEFLAGS= |
260 SHELL=${CONFIG_SHELL-/bin/sh} | 555 SHELL=${CONFIG_SHELL-/bin/sh} |
261 | |
262 # Maximum number of lines to put in a shell here document. | |
263 # This variable seems obsolete. It should probably be removed, and | |
264 # only ac_max_sed_lines should be used. | |
265 : ${ac_max_here_lines=38} | |
266 | 556 |
267 # Identity of this package. | 557 # Identity of this package. |
268 PACKAGE_NAME= | 558 PACKAGE_NAME= |
269 PACKAGE_TARNAME= | 559 PACKAGE_TARNAME= |
270 PACKAGE_VERSION= | 560 PACKAGE_VERSION= |
299 #if HAVE_STRINGS_H | 589 #if HAVE_STRINGS_H |
300 # include <strings.h> | 590 # include <strings.h> |
301 #endif | 591 #endif |
302 #if HAVE_INTTYPES_H | 592 #if HAVE_INTTYPES_H |
303 # include <inttypes.h> | 593 # include <inttypes.h> |
304 #else | 594 #endif |
305 # if HAVE_STDINT_H | 595 #if HAVE_STDINT_H |
306 # include <stdint.h> | 596 # include <stdint.h> |
307 # endif | |
308 #endif | 597 #endif |
309 #if HAVE_UNISTD_H | 598 #if HAVE_UNISTD_H |
310 # include <unistd.h> | 599 # include <unistd.h> |
311 #endif" | 600 #endif" |
312 | 601 |
313 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 MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB INSTALL_INFO GZIP_PROG LIBSOUND PKG_CONFIG ALSA_CFLAGS ALSA_LIBS CFLAGS_SOUND SET_MAKE GTK_CFLAGS GTK_LIBS ALLOCA liblockfile LIBOBJS NEED_SETGID KMEM_GROUP GETLOADAVG_LIBS GETOPT_H GETOPTOBJS version configuration canonical srcdir lispdir locallisppath lisppath x_default_search_path etcdir archlibdir docdir bitmapdir gamedir gameuser c_switch_system c_switch_machine LD_SWITCH_X_SITE LD_SWITCH_X_SITE_AUX C_SWITCH_X_SITE X_TOOLKIT_TYPE machfile opsysfile carbon_appdir LTLIBOBJS' | 602 ac_subst_vars='SHELL |
603 PATH_SEPARATOR | |
604 PACKAGE_NAME | |
605 PACKAGE_TARNAME | |
606 PACKAGE_VERSION | |
607 PACKAGE_STRING | |
608 PACKAGE_BUGREPORT | |
609 exec_prefix | |
610 prefix | |
611 program_transform_name | |
612 bindir | |
613 sbindir | |
614 libexecdir | |
615 datarootdir | |
616 datadir | |
617 sysconfdir | |
618 sharedstatedir | |
619 localstatedir | |
620 includedir | |
621 oldincludedir | |
622 docdir | |
623 infodir | |
624 htmldir | |
625 dvidir | |
626 pdfdir | |
627 psdir | |
628 libdir | |
629 localedir | |
630 mandir | |
631 DEFS | |
632 ECHO_C | |
633 ECHO_N | |
634 ECHO_T | |
635 LIBS | |
636 build_alias | |
637 host_alias | |
638 target_alias | |
639 MAINT | |
640 build | |
641 build_cpu | |
642 build_vendor | |
643 build_os | |
644 host | |
645 host_cpu | |
646 host_vendor | |
647 host_os | |
648 CC | |
649 CFLAGS | |
650 LDFLAGS | |
651 CPPFLAGS | |
652 ac_ct_CC | |
653 EXEEXT | |
654 OBJEXT | |
655 CPP | |
656 GREP | |
657 EGREP | |
658 LN_S | |
659 INSTALL_PROGRAM | |
660 INSTALL_SCRIPT | |
661 INSTALL_DATA | |
662 RANLIB | |
663 INSTALL_INFO | |
664 GZIP_PROG | |
665 LIBSOUND | |
666 PKG_CONFIG | |
667 ALSA_CFLAGS | |
668 ALSA_LIBS | |
669 CFLAGS_SOUND | |
670 SET_MAKE | |
671 XMKMF | |
672 GTK_CFLAGS | |
673 GTK_LIBS | |
674 ALLOCA | |
675 liblockfile | |
676 LIBOBJS | |
677 NEED_SETGID | |
678 KMEM_GROUP | |
679 GETLOADAVG_LIBS | |
680 GETOPT_H | |
681 GETOPTOBJS | |
682 version | |
683 configuration | |
684 canonical | |
685 srcdir | |
686 lispdir | |
687 locallisppath | |
688 lisppath | |
689 x_default_search_path | |
690 etcdir | |
691 archlibdir | |
692 bitmapdir | |
693 gamedir | |
694 gameuser | |
695 c_switch_system | |
696 c_switch_machine | |
697 LD_SWITCH_X_SITE | |
698 LD_SWITCH_X_SITE_AUX | |
699 C_SWITCH_X_SITE | |
700 X_TOOLKIT_TYPE | |
701 machfile | |
702 opsysfile | |
703 carbon_appdir | |
704 LTLIBOBJS' | |
314 ac_subst_files='' | 705 ac_subst_files='' |
706 ac_precious_vars='build_alias | |
707 host_alias | |
708 target_alias | |
709 CC | |
710 CFLAGS | |
711 LDFLAGS | |
712 CPPFLAGS | |
713 CPP | |
714 XMKMF' | |
715 | |
315 | 716 |
316 # Initialize some variables set by options. | 717 # Initialize some variables set by options. |
317 ac_init_help= | 718 ac_init_help= |
318 ac_init_version=false | 719 ac_init_version=false |
319 # The variables have the same names as the options, with | 720 # The variables have the same names as the options, with |
336 # Installation directory options. | 737 # Installation directory options. |
337 # These are left unexpanded so users can "make install exec_prefix=/foo" | 738 # These are left unexpanded so users can "make install exec_prefix=/foo" |
338 # and all the variables that are supposed to be based on exec_prefix | 739 # and all the variables that are supposed to be based on exec_prefix |
339 # by default will actually change. | 740 # by default will actually change. |
340 # Use braces instead of parens because sh, perl, etc. also accept them. | 741 # Use braces instead of parens because sh, perl, etc. also accept them. |
742 # (The list follows the same order as the GNU Coding Standards.) | |
341 bindir='${exec_prefix}/bin' | 743 bindir='${exec_prefix}/bin' |
342 sbindir='${exec_prefix}/sbin' | 744 sbindir='${exec_prefix}/sbin' |
343 libexecdir='${exec_prefix}/libexec' | 745 libexecdir='${exec_prefix}/libexec' |
344 datadir='${prefix}/share' | 746 datarootdir='${prefix}/share' |
747 datadir='${datarootdir}' | |
345 sysconfdir='${prefix}/etc' | 748 sysconfdir='${prefix}/etc' |
346 sharedstatedir='${prefix}/com' | 749 sharedstatedir='${prefix}/com' |
347 localstatedir='${prefix}/var' | 750 localstatedir='${prefix}/var' |
348 libdir='${exec_prefix}/lib' | |
349 includedir='${prefix}/include' | 751 includedir='${prefix}/include' |
350 oldincludedir='/usr/include' | 752 oldincludedir='/usr/include' |
351 infodir='${prefix}/info' | 753 docdir='${datarootdir}/doc/${PACKAGE}' |
352 mandir='${prefix}/man' | 754 infodir='${datarootdir}/info' |
755 htmldir='${docdir}' | |
756 dvidir='${docdir}' | |
757 pdfdir='${docdir}' | |
758 psdir='${docdir}' | |
759 libdir='${exec_prefix}/lib' | |
760 localedir='${datarootdir}/locale' | |
761 mandir='${datarootdir}/man' | |
353 | 762 |
354 ac_prev= | 763 ac_prev= |
764 ac_dashdash= | |
355 for ac_option | 765 for ac_option |
356 do | 766 do |
357 # If the previous option needs an argument, assign it. | 767 # If the previous option needs an argument, assign it. |
358 if test -n "$ac_prev"; then | 768 if test -n "$ac_prev"; then |
359 eval "$ac_prev=\$ac_option" | 769 eval $ac_prev=\$ac_option |
360 ac_prev= | 770 ac_prev= |
361 continue | 771 continue |
362 fi | 772 fi |
363 | 773 |
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 774 case $ac_option in |
775 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
776 *) ac_optarg=yes ;; | |
777 esac | |
365 | 778 |
366 # Accept the important Cygnus configure options, so we can diagnose typos. | 779 # Accept the important Cygnus configure options, so we can diagnose typos. |
367 | 780 |
368 case $ac_option in | 781 case $ac_dashdash$ac_option in |
782 --) | |
783 ac_dashdash=yes ;; | |
369 | 784 |
370 -bindir | --bindir | --bindi | --bind | --bin | --bi) | 785 -bindir | --bindir | --bindi | --bind | --bin | --bi) |
371 ac_prev=bindir ;; | 786 ac_prev=bindir ;; |
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 787 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
373 bindir=$ac_optarg ;; | 788 bindir=$ac_optarg ;; |
385 cache_file=$ac_optarg ;; | 800 cache_file=$ac_optarg ;; |
386 | 801 |
387 --config-cache | -C) | 802 --config-cache | -C) |
388 cache_file=config.cache ;; | 803 cache_file=config.cache ;; |
389 | 804 |
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 805 -datadir | --datadir | --datadi | --datad) |
391 ac_prev=datadir ;; | 806 ac_prev=datadir ;; |
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 807 -datadir=* | --datadir=* | --datadi=* | --datad=*) |
393 | --da=*) | |
394 datadir=$ac_optarg ;; | 808 datadir=$ac_optarg ;; |
809 | |
810 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
811 | --dataroo | --dataro | --datar) | |
812 ac_prev=datarootdir ;; | |
813 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
814 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
815 datarootdir=$ac_optarg ;; | |
395 | 816 |
396 -disable-* | --disable-*) | 817 -disable-* | --disable-*) |
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 818 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
398 # Reject names that are not valid shell variable names. | 819 # Reject names that are not valid shell variable names. |
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 820 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 821 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
401 { (exit 1); exit 1; }; } | 822 { (exit 1); exit 1; }; } |
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 823 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
403 eval "enable_$ac_feature=no" ;; | 824 eval enable_$ac_feature=no ;; |
825 | |
826 -docdir | --docdir | --docdi | --doc | --do) | |
827 ac_prev=docdir ;; | |
828 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
829 docdir=$ac_optarg ;; | |
830 | |
831 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
832 ac_prev=dvidir ;; | |
833 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
834 dvidir=$ac_optarg ;; | |
404 | 835 |
405 -enable-* | --enable-*) | 836 -enable-* | --enable-*) |
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 837 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
407 # Reject names that are not valid shell variable names. | 838 # Reject names that are not valid shell variable names. |
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 839 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
410 { (exit 1); exit 1; }; } | 841 { (exit 1); exit 1; }; } |
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 842 ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
412 case $ac_option in | 843 eval enable_$ac_feature=\$ac_optarg ;; |
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
414 *) ac_optarg=yes ;; | |
415 esac | |
416 eval "enable_$ac_feature='$ac_optarg'" ;; | |
417 | 844 |
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 845 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 846 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
420 | --exec | --exe | --ex) | 847 | --exec | --exe | --ex) |
421 ac_prev=exec_prefix ;; | 848 ac_prev=exec_prefix ;; |
438 -host | --host | --hos | --ho) | 865 -host | --host | --hos | --ho) |
439 ac_prev=host_alias ;; | 866 ac_prev=host_alias ;; |
440 -host=* | --host=* | --hos=* | --ho=*) | 867 -host=* | --host=* | --hos=* | --ho=*) |
441 host_alias=$ac_optarg ;; | 868 host_alias=$ac_optarg ;; |
442 | 869 |
870 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
871 ac_prev=htmldir ;; | |
872 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
873 | --ht=*) | |
874 htmldir=$ac_optarg ;; | |
875 | |
443 -includedir | --includedir | --includedi | --included | --include \ | 876 -includedir | --includedir | --includedi | --included | --include \ |
444 | --includ | --inclu | --incl | --inc) | 877 | --includ | --inclu | --incl | --inc) |
445 ac_prev=includedir ;; | 878 ac_prev=includedir ;; |
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 879 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
447 | --includ=* | --inclu=* | --incl=* | --inc=*) | 880 | --includ=* | --inclu=* | --incl=* | --inc=*) |
462 ac_prev=libexecdir ;; | 895 ac_prev=libexecdir ;; |
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 896 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
464 | --libexe=* | --libex=* | --libe=*) | 897 | --libexe=* | --libex=* | --libe=*) |
465 libexecdir=$ac_optarg ;; | 898 libexecdir=$ac_optarg ;; |
466 | 899 |
900 -localedir | --localedir | --localedi | --localed | --locale) | |
901 ac_prev=localedir ;; | |
902 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
903 localedir=$ac_optarg ;; | |
904 | |
467 -localstatedir | --localstatedir | --localstatedi | --localstated \ | 905 -localstatedir | --localstatedir | --localstatedi | --localstated \ |
468 | --localstate | --localstat | --localsta | --localst \ | 906 | --localstate | --localstat | --localsta | --localst | --locals) |
469 | --locals | --local | --loca | --loc | --lo) | |
470 ac_prev=localstatedir ;; | 907 ac_prev=localstatedir ;; |
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 908 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 909 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
474 localstatedir=$ac_optarg ;; | 910 localstatedir=$ac_optarg ;; |
475 | 911 |
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 912 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
477 ac_prev=mandir ;; | 913 ac_prev=mandir ;; |
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 914 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
533 | --program-transfo=* | --program-transf=* \ | 969 | --program-transfo=* | --program-transf=* \ |
534 | --program-trans=* | --program-tran=* \ | 970 | --program-trans=* | --program-tran=* \ |
535 | --progr-tra=* | --program-tr=* | --program-t=*) | 971 | --progr-tra=* | --program-tr=* | --program-t=*) |
536 program_transform_name=$ac_optarg ;; | 972 program_transform_name=$ac_optarg ;; |
537 | 973 |
974 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
975 ac_prev=pdfdir ;; | |
976 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
977 pdfdir=$ac_optarg ;; | |
978 | |
979 -psdir | --psdir | --psdi | --psd | --ps) | |
980 ac_prev=psdir ;; | |
981 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
982 psdir=$ac_optarg ;; | |
983 | |
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
539 | -silent | --silent | --silen | --sile | --sil) | 985 | -silent | --silent | --silen | --sile | --sil) |
540 silent=yes ;; | 986 silent=yes ;; |
541 | 987 |
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 988 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
589 # Reject names that are not valid shell variable names. | 1035 # Reject names that are not valid shell variable names. |
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1036 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
591 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1037 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
592 { (exit 1); exit 1; }; } | 1038 { (exit 1); exit 1; }; } |
593 ac_package=`echo $ac_package| sed 's/-/_/g'` | 1039 ac_package=`echo $ac_package| sed 's/-/_/g'` |
594 case $ac_option in | 1040 eval with_$ac_package=\$ac_optarg ;; |
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
596 *) ac_optarg=yes ;; | |
597 esac | |
598 eval "with_$ac_package='$ac_optarg'" ;; | |
599 | 1041 |
600 -without-* | --without-*) | 1042 -without-* | --without-*) |
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1043 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
602 # Reject names that are not valid shell variable names. | 1044 # Reject names that are not valid shell variable names. |
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 1045 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
604 { echo "$as_me: error: invalid package name: $ac_package" >&2 | 1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 |
605 { (exit 1); exit 1; }; } | 1047 { (exit 1); exit 1; }; } |
606 ac_package=`echo $ac_package | sed 's/-/_/g'` | 1048 ac_package=`echo $ac_package | sed 's/-/_/g'` |
607 eval "with_$ac_package=no" ;; | 1049 eval with_$ac_package=no ;; |
608 | 1050 |
609 --x) | 1051 --x) |
610 # Obsolete; use --with-x. | 1052 # Obsolete; use --with-x. |
611 with_x=yes ;; | 1053 with_x=yes ;; |
612 | 1054 |
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1075 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
634 # Reject names that are not valid shell variable names. | 1076 # Reject names that are not valid shell variable names. |
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 1077 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 1078 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
637 { (exit 1); exit 1; }; } | 1079 { (exit 1); exit 1; }; } |
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 1080 eval $ac_envvar=\$ac_optarg |
639 eval "$ac_envvar='$ac_optarg'" | |
640 export $ac_envvar ;; | 1081 export $ac_envvar ;; |
641 | 1082 |
642 *) | 1083 *) |
643 # FIXME: should be removed in autoconf 3.0. | 1084 # FIXME: should be removed in autoconf 3.0. |
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1085 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1095 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
655 { echo "$as_me: error: missing argument to $ac_option" >&2 | 1096 { echo "$as_me: error: missing argument to $ac_option" >&2 |
656 { (exit 1); exit 1; }; } | 1097 { (exit 1); exit 1; }; } |
657 fi | 1098 fi |
658 | 1099 |
659 # Be sure to have absolute paths. | 1100 # Be sure to have absolute directory names. |
660 for ac_var in exec_prefix prefix | 1101 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1102 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
1103 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
1104 libdir localedir mandir | |
661 do | 1105 do |
662 eval ac_val=$`echo $ac_var` | 1106 eval ac_val=\$$ac_var |
663 case $ac_val in | 1107 case $ac_val in |
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 1108 [\\/$]* | ?:[\\/]* ) continue;; |
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 1109 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
666 { (exit 1); exit 1; }; };; | |
667 esac | 1110 esac |
668 done | 1111 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
669 | 1112 { (exit 1); exit 1; }; } |
670 # Be sure to have absolute paths. | |
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
672 localstatedir libdir includedir oldincludedir infodir mandir | |
673 do | |
674 eval ac_val=$`echo $ac_var` | |
675 case $ac_val in | |
676 [\\/$]* | ?:[\\/]* ) ;; | |
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | |
678 { (exit 1); exit 1; }; };; | |
679 esac | |
680 done | 1113 done |
681 | 1114 |
682 # There might be people who depend on the old broken behavior: `$host' | 1115 # There might be people who depend on the old broken behavior: `$host' |
683 # used to hold the argument of --host etc. | 1116 # used to hold the argument of --host etc. |
684 # FIXME: To remove some day. | 1117 # FIXME: To remove some day. |
701 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1134 test -n "$host_alias" && ac_tool_prefix=$host_alias- |
702 | 1135 |
703 test "$silent" = yes && exec 6>/dev/null | 1136 test "$silent" = yes && exec 6>/dev/null |
704 | 1137 |
705 | 1138 |
1139 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
1140 ac_ls_di=`ls -di .` && | |
1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
1142 { echo "$as_me: error: Working directory cannot be determined" >&2 | |
1143 { (exit 1); exit 1; }; } | |
1144 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
1145 { echo "$as_me: error: pwd does not report name of working directory" >&2 | |
1146 { (exit 1); exit 1; }; } | |
1147 | |
1148 | |
706 # Find the source files, if location was not specified. | 1149 # Find the source files, if location was not specified. |
707 if test -z "$srcdir"; then | 1150 if test -z "$srcdir"; then |
708 ac_srcdir_defaulted=yes | 1151 ac_srcdir_defaulted=yes |
709 # Try the directory containing this script, then its parent. | 1152 # Try the directory containing this script, then the parent directory. |
710 ac_confdir=`(dirname "$0") 2>/dev/null || | 1153 ac_confdir=`$as_dirname -- "$0" || |
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1154 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
712 X"$0" : 'X\(//\)[^/]' \| \ | 1155 X"$0" : 'X\(//\)[^/]' \| \ |
713 X"$0" : 'X\(//\)$' \| \ | 1156 X"$0" : 'X\(//\)$' \| \ |
714 X"$0" : 'X\(/\)' \| \ | 1157 X"$0" : 'X\(/\)' \| . 2>/dev/null || |
715 . : '\(.\)' 2>/dev/null || | |
716 echo X"$0" | | 1158 echo X"$0" | |
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 1160 s//\1/ |
719 /^X\(\/\/\)$/{ s//\1/; q; } | 1161 q |
720 /^X\(\/\).*/{ s//\1/; q; } | 1162 } |
721 s/.*/./; q'` | 1163 /^X\(\/\/\)[^/].*/{ |
1164 s//\1/ | |
1165 q | |
1166 } | |
1167 /^X\(\/\/\)$/{ | |
1168 s//\1/ | |
1169 q | |
1170 } | |
1171 /^X\(\/\).*/{ | |
1172 s//\1/ | |
1173 q | |
1174 } | |
1175 s/.*/./; q'` | |
722 srcdir=$ac_confdir | 1176 srcdir=$ac_confdir |
723 if test ! -r $srcdir/$ac_unique_file; then | 1177 if test ! -r "$srcdir/$ac_unique_file"; then |
724 srcdir=.. | 1178 srcdir=.. |
725 fi | 1179 fi |
726 else | 1180 else |
727 ac_srcdir_defaulted=no | 1181 ac_srcdir_defaulted=no |
728 fi | 1182 fi |
729 if test ! -r $srcdir/$ac_unique_file; then | 1183 if test ! -r "$srcdir/$ac_unique_file"; then |
730 if test "$ac_srcdir_defaulted" = yes; then | 1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 1185 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
732 { (exit 1); exit 1; }; } | 1186 { (exit 1); exit 1; }; } |
733 else | 1187 fi |
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 1188 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1189 ac_abs_confdir=`( | |
1190 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 | |
735 { (exit 1); exit 1; }; } | 1191 { (exit 1); exit 1; }; } |
736 fi | 1192 pwd)` |
737 fi | 1193 # When building in place, set srcdir=. |
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 1194 if test "$ac_abs_confdir" = "$ac_pwd"; then |
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 1195 srcdir=. |
740 { (exit 1); exit 1; }; } | 1196 fi |
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 1197 # Remove unnecessary trailing slashes from srcdir. |
742 ac_env_build_alias_set=${build_alias+set} | 1198 # Double slashes in file names in object file debugging info |
743 ac_env_build_alias_value=$build_alias | 1199 # mess up M-x gdb in Emacs. |
744 ac_cv_env_build_alias_set=${build_alias+set} | 1200 case $srcdir in |
745 ac_cv_env_build_alias_value=$build_alias | 1201 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
746 ac_env_host_alias_set=${host_alias+set} | 1202 esac |
747 ac_env_host_alias_value=$host_alias | 1203 for ac_var in $ac_precious_vars; do |
748 ac_cv_env_host_alias_set=${host_alias+set} | 1204 eval ac_env_${ac_var}_set=\${${ac_var}+set} |
749 ac_cv_env_host_alias_value=$host_alias | 1205 eval ac_env_${ac_var}_value=\$${ac_var} |
750 ac_env_target_alias_set=${target_alias+set} | 1206 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
751 ac_env_target_alias_value=$target_alias | 1207 eval ac_cv_env_${ac_var}_value=\$${ac_var} |
752 ac_cv_env_target_alias_set=${target_alias+set} | 1208 done |
753 ac_cv_env_target_alias_value=$target_alias | |
754 ac_env_CC_set=${CC+set} | |
755 ac_env_CC_value=$CC | |
756 ac_cv_env_CC_set=${CC+set} | |
757 ac_cv_env_CC_value=$CC | |
758 ac_env_CFLAGS_set=${CFLAGS+set} | |
759 ac_env_CFLAGS_value=$CFLAGS | |
760 ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
761 ac_cv_env_CFLAGS_value=$CFLAGS | |
762 ac_env_LDFLAGS_set=${LDFLAGS+set} | |
763 ac_env_LDFLAGS_value=$LDFLAGS | |
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
765 ac_cv_env_LDFLAGS_value=$LDFLAGS | |
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
767 ac_env_CPPFLAGS_value=$CPPFLAGS | |
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
770 ac_env_CPP_set=${CPP+set} | |
771 ac_env_CPP_value=$CPP | |
772 ac_cv_env_CPP_set=${CPP+set} | |
773 ac_cv_env_CPP_value=$CPP | |
774 | 1209 |
775 # | 1210 # |
776 # Report the --help message. | 1211 # Report the --help message. |
777 # | 1212 # |
778 if test "$ac_init_help" = "long"; then | 1213 if test "$ac_init_help" = "long"; then |
797 --cache-file=FILE cache test results in FILE [disabled] | 1232 --cache-file=FILE cache test results in FILE [disabled] |
798 -C, --config-cache alias for \`--cache-file=config.cache' | 1233 -C, --config-cache alias for \`--cache-file=config.cache' |
799 -n, --no-create do not create output files | 1234 -n, --no-create do not create output files |
800 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1235 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
801 | 1236 |
802 _ACEOF | |
803 | |
804 cat <<_ACEOF | |
805 Installation directories: | 1237 Installation directories: |
806 --prefix=PREFIX install architecture-independent files in PREFIX | 1238 --prefix=PREFIX install architecture-independent files in PREFIX |
807 [$ac_default_prefix] | 1239 [$ac_default_prefix] |
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1240 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
809 [PREFIX] | 1241 [PREFIX] |
817 | 1249 |
818 Fine tuning of the installation directories: | 1250 Fine tuning of the installation directories: |
819 --bindir=DIR user executables [EPREFIX/bin] | 1251 --bindir=DIR user executables [EPREFIX/bin] |
820 --sbindir=DIR system admin executables [EPREFIX/sbin] | 1252 --sbindir=DIR system admin executables [EPREFIX/sbin] |
821 --libexecdir=DIR program executables [EPREFIX/libexec] | 1253 --libexecdir=DIR program executables [EPREFIX/libexec] |
822 --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1254 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1255 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1256 --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
826 --libdir=DIR object code libraries [EPREFIX/lib] | 1257 --libdir=DIR object code libraries [EPREFIX/lib] |
827 --includedir=DIR C header files [PREFIX/include] | 1258 --includedir=DIR C header files [PREFIX/include] |
828 --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1259 --oldincludedir=DIR C header files for non-gcc [/usr/include] |
829 --infodir=DIR info documentation [PREFIX/info] | 1260 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
830 --mandir=DIR man documentation [PREFIX/man] | 1261 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1262 --infodir=DIR info documentation [DATAROOTDIR/info] | |
1263 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
1264 --mandir=DIR man documentation [DATAROOTDIR/man] | |
1265 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | |
1266 --htmldir=DIR html documentation [DOCDIR] | |
1267 --dvidir=DIR dvi documentation [DOCDIR] | |
1268 --pdfdir=DIR pdf documentation [DOCDIR] | |
1269 --psdir=DIR ps documentation [DOCDIR] | |
831 _ACEOF | 1270 _ACEOF |
832 | 1271 |
833 cat <<\_ACEOF | 1272 cat <<\_ACEOF |
834 | 1273 |
835 Program names: | 1274 Program names: |
891 Some influential environment variables: | 1330 Some influential environment variables: |
892 CC C compiler command | 1331 CC C compiler command |
893 CFLAGS C compiler flags | 1332 CFLAGS C compiler flags |
894 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1333 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
895 nonstandard directory <lib dir> | 1334 nonstandard directory <lib dir> |
896 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | 1335 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
897 headers in a nonstandard directory <include dir> | 1336 you have headers in a nonstandard directory <include dir> |
898 CPP C preprocessor | 1337 CPP C preprocessor |
1338 XMKMF Path to xmkmf, Makefile generator for X Window System | |
899 | 1339 |
900 Use these variables to override the choices made by `configure' or to help | 1340 Use these variables to override the choices made by `configure' or to help |
901 it to find libraries and programs with nonstandard names/locations. | 1341 it to find libraries and programs with nonstandard names/locations. |
902 | 1342 |
903 _ACEOF | 1343 _ACEOF |
1344 ac_status=$? | |
904 fi | 1345 fi |
905 | 1346 |
906 if test "$ac_init_help" = "recursive"; then | 1347 if test "$ac_init_help" = "recursive"; then |
907 # If there are subdirs, report their specific --help. | 1348 # If there are subdirs, report their specific --help. |
908 ac_popdir=`pwd` | |
909 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
910 test -d $ac_dir || continue | 1350 test -d "$ac_dir" || continue |
911 ac_builddir=. | 1351 ac_builddir=. |
912 | 1352 |
913 if test "$ac_dir" != .; then | 1353 case "$ac_dir" in |
1354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
1355 *) | |
914 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 1356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
915 # A "../" for each directory in $ac_dir_suffix. | 1357 # A ".." for each directory in $ac_dir_suffix. |
916 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 1358 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
917 else | 1359 case $ac_top_builddir_sub in |
918 ac_dir_suffix= ac_top_builddir= | 1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
919 fi | 1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1362 esac ;; | |
1363 esac | |
1364 ac_abs_top_builddir=$ac_pwd | |
1365 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
1366 # for backward compatibility: | |
1367 ac_top_builddir=$ac_top_build_prefix | |
920 | 1368 |
921 case $srcdir in | 1369 case $srcdir in |
922 .) # No --srcdir option. We are building in place. | 1370 .) # We are building in place. |
923 ac_srcdir=. | 1371 ac_srcdir=. |
924 if test -z "$ac_top_builddir"; then | 1372 ac_top_srcdir=$ac_top_builddir_sub |
925 ac_top_srcdir=. | 1373 ac_abs_top_srcdir=$ac_pwd ;; |
926 else | 1374 [\\/]* | ?:[\\/]* ) # Absolute name. |
927 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
928 fi ;; | |
929 [\\/]* | ?:[\\/]* ) # Absolute path. | |
930 ac_srcdir=$srcdir$ac_dir_suffix; | 1375 ac_srcdir=$srcdir$ac_dir_suffix; |
931 ac_top_srcdir=$srcdir ;; | 1376 ac_top_srcdir=$srcdir |
932 *) # Relative path. | 1377 ac_abs_top_srcdir=$srcdir ;; |
933 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 1378 *) # Relative name. |
934 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
935 esac | 1380 ac_top_srcdir=$ac_top_build_prefix$srcdir |
936 | 1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
937 # Do not use `cd foo && pwd` to compute absolute paths, because | 1382 esac |
938 # the directories may not exist. | 1383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
939 case `pwd` in | 1384 |
940 .) ac_abs_builddir="$ac_dir";; | 1385 cd "$ac_dir" || { ac_status=$?; continue; } |
941 *) | 1386 # Check for guested configure. |
942 case "$ac_dir" in | 1387 if test -f "$ac_srcdir/configure.gnu"; then |
943 .) ac_abs_builddir=`pwd`;; | 1388 echo && |
944 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
945 *) ac_abs_builddir=`pwd`/"$ac_dir";; | 1390 elif test -f "$ac_srcdir/configure"; then |
946 esac;; | 1391 echo && |
947 esac | 1392 $SHELL "$ac_srcdir/configure" --help=recursive |
948 case $ac_abs_builddir in | |
949 .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
950 *) | |
951 case ${ac_top_builddir}. in | |
952 .) ac_abs_top_builddir=$ac_abs_builddir;; | |
953 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
954 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
955 esac;; | |
956 esac | |
957 case $ac_abs_builddir in | |
958 .) ac_abs_srcdir=$ac_srcdir;; | |
959 *) | |
960 case $ac_srcdir in | |
961 .) ac_abs_srcdir=$ac_abs_builddir;; | |
962 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
963 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
964 esac;; | |
965 esac | |
966 case $ac_abs_builddir in | |
967 .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
968 *) | |
969 case $ac_top_srcdir in | |
970 .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
971 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
972 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
973 esac;; | |
974 esac | |
975 | |
976 cd $ac_dir | |
977 # Check for guested configure; otherwise get Cygnus style configure. | |
978 if test -f $ac_srcdir/configure.gnu; then | |
979 echo | |
980 $SHELL $ac_srcdir/configure.gnu --help=recursive | |
981 elif test -f $ac_srcdir/configure; then | |
982 echo | |
983 $SHELL $ac_srcdir/configure --help=recursive | |
984 elif test -f $ac_srcdir/configure.ac || | |
985 test -f $ac_srcdir/configure.in; then | |
986 echo | |
987 $ac_configure --help | |
988 else | 1393 else |
989 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1394 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
990 fi | 1395 fi || ac_status=$? |
991 cd $ac_popdir | 1396 cd "$ac_pwd" || { ac_status=$?; break; } |
992 done | 1397 done |
993 fi | 1398 fi |
994 | 1399 |
995 test -n "$ac_init_help" && exit 0 | 1400 test -n "$ac_init_help" && exit $ac_status |
996 if $ac_init_version; then | 1401 if $ac_init_version; then |
997 cat <<\_ACEOF | 1402 cat <<\_ACEOF |
998 | 1403 configure |
999 Copyright (C) 2003 Free Software Foundation, Inc. | 1404 generated by GNU Autoconf 2.60 |
1405 | |
1406 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
1407 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
1000 This configure script is free software; the Free Software Foundation | 1408 This configure script is free software; the Free Software Foundation |
1001 gives unlimited permission to copy, distribute and modify it. | 1409 gives unlimited permission to copy, distribute and modify it. |
1002 _ACEOF | 1410 _ACEOF |
1003 exit 0 | 1411 exit |
1004 fi | 1412 fi |
1005 exec 5>config.log | 1413 cat >config.log <<_ACEOF |
1006 cat >&5 <<_ACEOF | |
1007 This file contains any messages produced by compilers while | 1414 This file contains any messages produced by compilers while |
1008 running configure, to aid debugging if configure makes a mistake. | 1415 running configure, to aid debugging if configure makes a mistake. |
1009 | 1416 |
1010 It was created by $as_me, which was | 1417 It was created by $as_me, which was |
1011 generated by GNU Autoconf 2.59. Invocation command line was | 1418 generated by GNU Autoconf 2.60. Invocation command line was |
1012 | 1419 |
1013 $ $0 $@ | 1420 $ $0 $@ |
1014 | 1421 |
1015 _ACEOF | 1422 _ACEOF |
1423 exec 5>>config.log | |
1016 { | 1424 { |
1017 cat <<_ASUNAME | 1425 cat <<_ASUNAME |
1018 ## --------- ## | 1426 ## --------- ## |
1019 ## Platform. ## | 1427 ## Platform. ## |
1020 ## --------- ## | 1428 ## --------- ## |
1029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1437 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1030 | 1438 |
1031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1439 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1440 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1441 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1034 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | 1442 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1443 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1444 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1445 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1038 | 1446 |
1039 _ASUNAME | 1447 _ASUNAME |
1043 do | 1451 do |
1044 IFS=$as_save_IFS | 1452 IFS=$as_save_IFS |
1045 test -z "$as_dir" && as_dir=. | 1453 test -z "$as_dir" && as_dir=. |
1046 echo "PATH: $as_dir" | 1454 echo "PATH: $as_dir" |
1047 done | 1455 done |
1456 IFS=$as_save_IFS | |
1048 | 1457 |
1049 } >&5 | 1458 } >&5 |
1050 | 1459 |
1051 cat >&5 <<_ACEOF | 1460 cat >&5 <<_ACEOF |
1052 | 1461 |
1064 # Also quote any args containing shell meta-characters. | 1473 # Also quote any args containing shell meta-characters. |
1065 # Make two passes to allow for proper duplicate-argument suppression. | 1474 # Make two passes to allow for proper duplicate-argument suppression. |
1066 ac_configure_args= | 1475 ac_configure_args= |
1067 ac_configure_args0= | 1476 ac_configure_args0= |
1068 ac_configure_args1= | 1477 ac_configure_args1= |
1069 ac_sep= | |
1070 ac_must_keep_next=false | 1478 ac_must_keep_next=false |
1071 for ac_pass in 1 2 | 1479 for ac_pass in 1 2 |
1072 do | 1480 do |
1073 for ac_arg | 1481 for ac_arg |
1074 do | 1482 do |
1075 case $ac_arg in | 1483 case $ac_arg in |
1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1078 | -silent | --silent | --silen | --sile | --sil) | 1486 | -silent | --silent | --silen | --sile | --sil) |
1079 continue ;; | 1487 continue ;; |
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1488 *\'*) |
1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1489 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1082 esac | 1490 esac |
1083 case $ac_pass in | 1491 case $ac_pass in |
1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 1492 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
1085 2) | 1493 2) |
1097 esac | 1505 esac |
1098 ;; | 1506 ;; |
1099 -* ) ac_must_keep_next=true ;; | 1507 -* ) ac_must_keep_next=true ;; |
1100 esac | 1508 esac |
1101 fi | 1509 fi |
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 1510 ac_configure_args="$ac_configure_args '$ac_arg'" |
1103 # Get rid of the leading space. | |
1104 ac_sep=" " | |
1105 ;; | 1511 ;; |
1106 esac | 1512 esac |
1107 done | 1513 done |
1108 done | 1514 done |
1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 1515 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } |
1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 1516 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } |
1111 | 1517 |
1112 # When interrupted or exit'd, cleanup temporary files, and complete | 1518 # When interrupted or exit'd, cleanup temporary files, and complete |
1113 # config.log. We remove comments because anyway the quotes in there | 1519 # config.log. We remove comments because anyway the quotes in there |
1114 # would cause problems or look ugly. | 1520 # would cause problems or look ugly. |
1115 # WARNING: Be sure not to use single quotes in there, as some shells, | 1521 # WARNING: Use '\'' to represent an apostrophe within the trap. |
1116 # such as our DU 5.0 friend, will then `close' the trap. | 1522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1117 trap 'exit_status=$? | 1523 trap 'exit_status=$? |
1118 # Save into config.log some information that might help in debugging. | 1524 # Save into config.log some information that might help in debugging. |
1119 { | 1525 { |
1120 echo | 1526 echo |
1121 | 1527 |
1124 ## Cache variables. ## | 1530 ## Cache variables. ## |
1125 ## ---------------- ## | 1531 ## ---------------- ## |
1126 _ASBOX | 1532 _ASBOX |
1127 echo | 1533 echo |
1128 # The following way of writing the cache mishandles newlines in values, | 1534 # The following way of writing the cache mishandles newlines in values, |
1129 { | 1535 ( |
1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
1537 eval ac_val=\$$ac_var | |
1538 case $ac_val in #( | |
1539 *${as_nl}*) | |
1540 case $ac_var in #( | |
1541 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
1542 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
1543 esac | |
1544 case $ac_var in #( | |
1545 _ | IFS | as_nl) ;; #( | |
1546 *) $as_unset $ac_var ;; | |
1547 esac ;; | |
1548 esac | |
1549 done | |
1130 (set) 2>&1 | | 1550 (set) 2>&1 | |
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 1551 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1132 *ac_space=\ *) | 1552 *${as_nl}ac_space=\ *) |
1133 sed -n \ | 1553 sed -n \ |
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 1554 "s/'\''/'\''\\\\'\'''\''/g; |
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1555 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1556 ;; #( | |
1557 *) | |
1558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
1136 ;; | 1559 ;; |
1137 *) | 1560 esac | |
1138 sed -n \ | 1561 sort |
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1562 ) |
1140 ;; | |
1141 esac; | |
1142 } | |
1143 echo | 1563 echo |
1144 | 1564 |
1145 cat <<\_ASBOX | 1565 cat <<\_ASBOX |
1146 ## ----------------- ## | 1566 ## ----------------- ## |
1147 ## Output variables. ## | 1567 ## Output variables. ## |
1148 ## ----------------- ## | 1568 ## ----------------- ## |
1149 _ASBOX | 1569 _ASBOX |
1150 echo | 1570 echo |
1151 for ac_var in $ac_subst_vars | 1571 for ac_var in $ac_subst_vars |
1152 do | 1572 do |
1153 eval ac_val=$`echo $ac_var` | 1573 eval ac_val=\$$ac_var |
1154 echo "$ac_var='"'"'$ac_val'"'"'" | 1574 case $ac_val in |
1575 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1576 esac | |
1577 echo "$ac_var='\''$ac_val'\''" | |
1155 done | sort | 1578 done | sort |
1156 echo | 1579 echo |
1157 | 1580 |
1158 if test -n "$ac_subst_files"; then | 1581 if test -n "$ac_subst_files"; then |
1159 cat <<\_ASBOX | 1582 cat <<\_ASBOX |
1160 ## ------------- ## | 1583 ## ------------------- ## |
1161 ## Output files. ## | 1584 ## File substitutions. ## |
1162 ## ------------- ## | 1585 ## ------------------- ## |
1163 _ASBOX | 1586 _ASBOX |
1164 echo | 1587 echo |
1165 for ac_var in $ac_subst_files | 1588 for ac_var in $ac_subst_files |
1166 do | 1589 do |
1167 eval ac_val=$`echo $ac_var` | 1590 eval ac_val=\$$ac_var |
1168 echo "$ac_var='"'"'$ac_val'"'"'" | 1591 case $ac_val in |
1592 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
1593 esac | |
1594 echo "$ac_var='\''$ac_val'\''" | |
1169 done | sort | 1595 done | sort |
1170 echo | 1596 echo |
1171 fi | 1597 fi |
1172 | 1598 |
1173 if test -s confdefs.h; then | 1599 if test -s confdefs.h; then |
1175 ## ----------- ## | 1601 ## ----------- ## |
1176 ## confdefs.h. ## | 1602 ## confdefs.h. ## |
1177 ## ----------- ## | 1603 ## ----------- ## |
1178 _ASBOX | 1604 _ASBOX |
1179 echo | 1605 echo |
1180 sed "/^$/d" confdefs.h | sort | 1606 cat confdefs.h |
1181 echo | 1607 echo |
1182 fi | 1608 fi |
1183 test "$ac_signal" != 0 && | 1609 test "$ac_signal" != 0 && |
1184 echo "$as_me: caught signal $ac_signal" | 1610 echo "$as_me: caught signal $ac_signal" |
1185 echo "$as_me: exit $exit_status" | 1611 echo "$as_me: exit $exit_status" |
1186 } >&5 | 1612 } >&5 |
1187 rm -f core *.core && | 1613 rm -f core *.core core.conftest.* && |
1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 1614 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
1189 exit $exit_status | 1615 exit $exit_status |
1190 ' 0 | 1616 ' 0 |
1191 for ac_signal in 1 2 13 15; do | 1617 for ac_signal in 1 2 13 15; do |
1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 1618 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1193 done | 1619 done |
1194 ac_signal=0 | 1620 ac_signal=0 |
1195 | 1621 |
1196 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 1622 # confdefs.h avoids OS command line length limits that DEFS can exceed. |
1197 rm -rf conftest* confdefs.h | 1623 rm -f -r conftest* confdefs.h |
1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
1199 echo >confdefs.h | |
1200 | 1624 |
1201 # Predefined preprocessor variables. | 1625 # Predefined preprocessor variables. |
1202 | 1626 |
1203 cat >>confdefs.h <<_ACEOF | 1627 cat >>confdefs.h <<_ACEOF |
1204 #define PACKAGE_NAME "$PACKAGE_NAME" | 1628 #define PACKAGE_NAME "$PACKAGE_NAME" |
1225 _ACEOF | 1649 _ACEOF |
1226 | 1650 |
1227 | 1651 |
1228 # Let the site file select an alternate cache file if it wants to. | 1652 # Let the site file select an alternate cache file if it wants to. |
1229 # Prefer explicitly selected file to automatically selected ones. | 1653 # Prefer explicitly selected file to automatically selected ones. |
1230 if test -z "$CONFIG_SITE"; then | 1654 if test -n "$CONFIG_SITE"; then |
1231 if test "x$prefix" != xNONE; then | 1655 set x "$CONFIG_SITE" |
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 1656 elif test "x$prefix" != xNONE; then |
1233 else | 1657 set x "$prefix/share/config.site" "$prefix/etc/config.site" |
1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 1658 else |
1235 fi | 1659 set x "$ac_default_prefix/share/config.site" \ |
1236 fi | 1660 "$ac_default_prefix/etc/config.site" |
1237 for ac_site_file in $CONFIG_SITE; do | 1661 fi |
1662 shift | |
1663 for ac_site_file | |
1664 do | |
1238 if test -r "$ac_site_file"; then | 1665 if test -r "$ac_site_file"; then |
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 1666 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1240 echo "$as_me: loading site script $ac_site_file" >&6;} | 1667 echo "$as_me: loading site script $ac_site_file" >&6;} |
1241 sed 's/^/| /' "$ac_site_file" >&5 | 1668 sed 's/^/| /' "$ac_site_file" >&5 |
1242 . "$ac_site_file" | 1669 . "$ac_site_file" |
1248 # files actually), so we avoid doing that. | 1675 # files actually), so we avoid doing that. |
1249 if test -f "$cache_file"; then | 1676 if test -f "$cache_file"; then |
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 1677 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1251 echo "$as_me: loading cache $cache_file" >&6;} | 1678 echo "$as_me: loading cache $cache_file" >&6;} |
1252 case $cache_file in | 1679 case $cache_file in |
1253 [\\/]* | ?:[\\/]* ) . $cache_file;; | 1680 [\\/]* | ?:[\\/]* ) . "$cache_file";; |
1254 *) . ./$cache_file;; | 1681 *) . "./$cache_file";; |
1255 esac | 1682 esac |
1256 fi | 1683 fi |
1257 else | 1684 else |
1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 1685 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1259 echo "$as_me: creating cache $cache_file" >&6;} | 1686 echo "$as_me: creating cache $cache_file" >&6;} |
1261 fi | 1688 fi |
1262 | 1689 |
1263 # Check that the precious variables saved in the cache have kept the same | 1690 # Check that the precious variables saved in the cache have kept the same |
1264 # value. | 1691 # value. |
1265 ac_cache_corrupted=false | 1692 ac_cache_corrupted=false |
1266 for ac_var in `(set) 2>&1 | | 1693 for ac_var in $ac_precious_vars; do |
1267 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set | 1694 eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1269 eval ac_new_set=\$ac_env_${ac_var}_set | 1695 eval ac_new_set=\$ac_env_${ac_var}_set |
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 1696 eval ac_old_val=\$ac_cv_env_${ac_var}_value |
1271 eval ac_new_val="\$ac_env_${ac_var}_value" | 1697 eval ac_new_val=\$ac_env_${ac_var}_value |
1272 case $ac_old_set,$ac_new_set in | 1698 case $ac_old_set,$ac_new_set in |
1273 set,) | 1699 set,) |
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 1700 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 1701 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1276 ac_cache_corrupted=: ;; | 1702 ac_cache_corrupted=: ;; |
1291 fi;; | 1717 fi;; |
1292 esac | 1718 esac |
1293 # Pass precious variables to config.status. | 1719 # Pass precious variables to config.status. |
1294 if test "$ac_new_set" = set; then | 1720 if test "$ac_new_set" = set; then |
1295 case $ac_new_val in | 1721 case $ac_new_val in |
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 1722 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1297 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
1298 *) ac_arg=$ac_var=$ac_new_val ;; | 1723 *) ac_arg=$ac_var=$ac_new_val ;; |
1299 esac | 1724 esac |
1300 case " $ac_configure_args " in | 1725 case " $ac_configure_args " in |
1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 1727 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1309 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 1734 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1310 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 1735 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1311 { (exit 1); exit 1; }; } | 1736 { (exit 1); exit 1; }; } |
1312 fi | 1737 fi |
1313 | 1738 |
1739 | |
1740 | |
1741 | |
1742 | |
1743 | |
1744 | |
1745 | |
1746 | |
1747 | |
1748 | |
1749 | |
1750 | |
1751 | |
1752 | |
1753 | |
1754 | |
1314 ac_ext=c | 1755 ac_ext=c |
1315 ac_cpp='$CPP $CPPFLAGS' | 1756 ac_cpp='$CPP $CPPFLAGS' |
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 1757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 1758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 1759 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1319 | 1760 |
1320 | 1761 |
1321 | 1762 ac_config_headers="$ac_config_headers src/config.h:src/config.in" |
1322 | |
1323 | |
1324 | |
1325 | |
1326 | |
1327 | |
1328 | |
1329 | |
1330 | |
1331 | |
1332 | |
1333 | |
1334 | |
1335 | |
1336 | |
1337 | |
1338 ac_config_headers="$ac_config_headers src/config.h:src/config.in" | |
1339 | 1763 |
1340 | 1764 |
1341 test "$program_prefix" != NONE && | 1765 test "$program_prefix" != NONE && |
1342 program_transform_name="s,^,$program_prefix,;$program_transform_name" | 1766 program_transform_name="s&^&$program_prefix&;$program_transform_name" |
1343 # Use a double $ so make ignores it. | 1767 # Use a double $ so make ignores it. |
1344 test "$program_suffix" != NONE && | 1768 test "$program_suffix" != NONE && |
1345 program_transform_name="s,\$,$program_suffix,;$program_transform_name" | 1769 program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
1346 # Double any \ or $. echo might interpret backslashes. | 1770 # Double any \ or $. echo might interpret backslashes. |
1347 # By default was `s,x,x', remove it if useless. | 1771 # By default was `s,x,x', remove it if useless. |
1348 cat <<\_ACEOF >conftest.sed | 1772 cat <<\_ACEOF >conftest.sed |
1349 s/[\\$]/&&/g;s/;s,x,x,$// | 1773 s/[\\$]/&&/g;s/;s,x,x,$// |
1350 _ACEOF | 1774 _ACEOF |
1351 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` | 1775 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
1352 rm conftest.sed | 1776 rm -f conftest.sed |
1353 | 1777 |
1354 | 1778 |
1355 lispdir='${datadir}/emacs/${version}/lisp' | 1779 lispdir='${datadir}/emacs/${version}/lisp' |
1356 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ | 1780 locallisppath='${datadir}/emacs/${version}/site-lisp:'\ |
1357 '${datadir}/emacs/site-lisp' | 1781 '${datadir}/emacs/site-lisp' |
1362 gamedir='${localstatedir}/games/emacs' | 1786 gamedir='${localstatedir}/games/emacs' |
1363 | 1787 |
1364 gameuser=games | 1788 gameuser=games |
1365 | 1789 |
1366 | 1790 |
1367 # Check whether --with-gcc or --without-gcc was given. | 1791 # Check whether --with-gcc was given. |
1368 if test "${with_gcc+set}" = set; then | 1792 if test "${with_gcc+set}" = set; then |
1369 withval="$with_gcc" | 1793 withval=$with_gcc; |
1370 | 1794 fi |
1371 fi; | 1795 |
1372 | 1796 |
1373 # Check whether --with-pop or --without-pop was given. | 1797 # Check whether --with-pop was given. |
1374 if test "${with_pop+set}" = set; then | 1798 if test "${with_pop+set}" = set; then |
1375 withval="$with_pop" | 1799 withval=$with_pop; if test "$withval" = yes; then |
1376 if test "$withval" = yes; then | |
1377 cat >>confdefs.h <<\_ACEOF | 1800 cat >>confdefs.h <<\_ACEOF |
1378 #define MAIL_USE_POP 1 | 1801 #define MAIL_USE_POP 1 |
1379 _ACEOF | 1802 _ACEOF |
1380 | 1803 |
1381 else : | 1804 else : |
1383 else | 1806 else |
1384 cat >>confdefs.h <<\_ACEOF | 1807 cat >>confdefs.h <<\_ACEOF |
1385 #define MAIL_USE_POP 1 | 1808 #define MAIL_USE_POP 1 |
1386 _ACEOF | 1809 _ACEOF |
1387 | 1810 |
1388 fi; | 1811 fi |
1389 | 1812 |
1390 | 1813 |
1391 # Check whether --with-kerberos or --without-kerberos was given. | 1814 |
1815 # Check whether --with-kerberos was given. | |
1392 if test "${with_kerberos+set}" = set; then | 1816 if test "${with_kerberos+set}" = set; then |
1393 withval="$with_kerberos" | 1817 withval=$with_kerberos; cat >>confdefs.h <<\_ACEOF |
1394 cat >>confdefs.h <<\_ACEOF | |
1395 #define KERBEROS 1 | 1818 #define KERBEROS 1 |
1396 _ACEOF | 1819 _ACEOF |
1397 | 1820 |
1398 fi; | 1821 fi |
1399 | 1822 |
1400 | 1823 |
1401 # Check whether --with-kerberos5 or --without-kerberos5 was given. | 1824 |
1825 # Check whether --with-kerberos5 was given. | |
1402 if test "${with_kerberos5+set}" = set; then | 1826 if test "${with_kerberos5+set}" = set; then |
1403 withval="$with_kerberos5" | 1827 withval=$with_kerberos5; if test "${with_kerberos5+set}" = set; then |
1404 if test "${with_kerberos5+set}" = set; then | |
1405 if test "${with_kerberos+set}" != set; then | 1828 if test "${with_kerberos+set}" != set; then |
1406 with_kerberos=yes | 1829 with_kerberos=yes |
1407 cat >>confdefs.h <<\_ACEOF | 1830 cat >>confdefs.h <<\_ACEOF |
1408 #define KERBEROS 1 | 1831 #define KERBEROS 1 |
1409 _ACEOF | 1832 _ACEOF |
1413 | 1836 |
1414 cat >>confdefs.h <<\_ACEOF | 1837 cat >>confdefs.h <<\_ACEOF |
1415 #define KERBEROS5 1 | 1838 #define KERBEROS5 1 |
1416 _ACEOF | 1839 _ACEOF |
1417 | 1840 |
1418 fi; | 1841 fi |
1419 | 1842 |
1420 # Check whether --with-hesiod or --without-hesiod was given. | 1843 |
1844 # Check whether --with-hesiod was given. | |
1421 if test "${with_hesiod+set}" = set; then | 1845 if test "${with_hesiod+set}" = set; then |
1422 withval="$with_hesiod" | 1846 withval=$with_hesiod; |
1423 | |
1424 cat >>confdefs.h <<\_ACEOF | 1847 cat >>confdefs.h <<\_ACEOF |
1425 #define HESIOD 1 | 1848 #define HESIOD 1 |
1426 _ACEOF | 1849 _ACEOF |
1427 | 1850 |
1428 fi; | 1851 fi |
1429 | 1852 |
1430 | 1853 |
1431 # Check whether --with-sound or --without-sound was given. | 1854 |
1855 # Check whether --with-sound was given. | |
1432 if test "${with_sound+set}" = set; then | 1856 if test "${with_sound+set}" = set; then |
1433 withval="$with_sound" | 1857 withval=$with_sound; |
1434 | 1858 fi |
1435 fi; | 1859 |
1436 | 1860 |
1437 | 1861 |
1438 # Check whether --with-x-toolkit or --without-x-toolkit was given. | 1862 # Check whether --with-x-toolkit was given. |
1439 if test "${with_x_toolkit+set}" = set; then | 1863 if test "${with_x_toolkit+set}" = set; then |
1440 withval="$with_x_toolkit" | 1864 withval=$with_x_toolkit; case "${withval}" in |
1441 case "${withval}" in | |
1442 y | ye | yes ) val=athena ;; | 1865 y | ye | yes ) val=athena ;; |
1443 n | no ) val=no ;; | 1866 n | no ) val=no ;; |
1444 l | lu | luc | luci | lucid ) val=lucid ;; | 1867 l | lu | luc | luci | lucid ) val=lucid ;; |
1445 a | at | ath | athe | athen | athena ) val=athena ;; | 1868 a | at | ath | athe | athen | athena ) val=athena ;; |
1446 m | mo | mot | moti | motif ) val=motif ;; | 1869 m | mo | mot | moti | motif ) val=motif ;; |
1455 { (exit 1); exit 1; }; } | 1878 { (exit 1); exit 1; }; } |
1456 ;; | 1879 ;; |
1457 esac | 1880 esac |
1458 with_x_toolkit=$val | 1881 with_x_toolkit=$val |
1459 | 1882 |
1460 fi; | 1883 fi |
1461 | 1884 |
1462 # Check whether --with-xpm or --without-xpm was given. | 1885 |
1886 # Check whether --with-xpm was given. | |
1463 if test "${with_xpm+set}" = set; then | 1887 if test "${with_xpm+set}" = set; then |
1464 withval="$with_xpm" | 1888 withval=$with_xpm; |
1465 | 1889 fi |
1466 fi; | 1890 |
1467 | 1891 |
1468 # Check whether --with-jpeg or --without-jpeg was given. | 1892 # Check whether --with-jpeg was given. |
1469 if test "${with_jpeg+set}" = set; then | 1893 if test "${with_jpeg+set}" = set; then |
1470 withval="$with_jpeg" | 1894 withval=$with_jpeg; |
1471 | 1895 fi |
1472 fi; | 1896 |
1473 | 1897 |
1474 # Check whether --with-tiff or --without-tiff was given. | 1898 # Check whether --with-tiff was given. |
1475 if test "${with_tiff+set}" = set; then | 1899 if test "${with_tiff+set}" = set; then |
1476 withval="$with_tiff" | 1900 withval=$with_tiff; |
1477 | 1901 fi |
1478 fi; | 1902 |
1479 | 1903 |
1480 # Check whether --with-gif or --without-gif was given. | 1904 # Check whether --with-gif was given. |
1481 if test "${with_gif+set}" = set; then | 1905 if test "${with_gif+set}" = set; then |
1482 withval="$with_gif" | 1906 withval=$with_gif; |
1483 | 1907 fi |
1484 fi; | 1908 |
1485 | 1909 |
1486 # Check whether --with-png or --without-png was given. | 1910 # Check whether --with-png was given. |
1487 if test "${with_png+set}" = set; then | 1911 if test "${with_png+set}" = set; then |
1488 withval="$with_png" | 1912 withval=$with_png; |
1489 | 1913 fi |
1490 fi; | 1914 |
1491 | 1915 |
1492 # Check whether --with-gtk or --without-gtk was given. | 1916 # Check whether --with-gtk was given. |
1493 if test "${with_gtk+set}" = set; then | 1917 if test "${with_gtk+set}" = set; then |
1494 withval="$with_gtk" | 1918 withval=$with_gtk; |
1495 | 1919 fi |
1496 fi; | 1920 |
1497 | 1921 |
1498 # Check whether --with-pkg-config-prog or --without-pkg-config-prog was given. | 1922 # Check whether --with-pkg-config-prog was given. |
1499 if test "${with_pkg_config_prog+set}" = set; then | 1923 if test "${with_pkg_config_prog+set}" = set; then |
1500 withval="$with_pkg_config_prog" | 1924 withval=$with_pkg_config_prog; |
1501 | 1925 fi |
1502 fi; | 1926 |
1503 | 1927 |
1504 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given. | 1928 # Check whether --with-toolkit-scroll-bars was given. |
1505 if test "${with_toolkit_scroll_bars+set}" = set; then | 1929 if test "${with_toolkit_scroll_bars+set}" = set; then |
1506 withval="$with_toolkit_scroll_bars" | 1930 withval=$with_toolkit_scroll_bars; |
1507 | 1931 fi |
1508 fi; | 1932 |
1509 | 1933 |
1510 # Check whether --with-xim or --without-xim was given. | 1934 # Check whether --with-xim was given. |
1511 if test "${with_xim+set}" = set; then | 1935 if test "${with_xim+set}" = set; then |
1512 withval="$with_xim" | 1936 withval=$with_xim; |
1513 | 1937 fi |
1514 fi; | 1938 |
1515 | 1939 |
1516 # Check whether --with-carbon or --without-carbon was given. | 1940 # Check whether --with-carbon was given. |
1517 if test "${with_carbon+set}" = set; then | 1941 if test "${with_carbon+set}" = set; then |
1518 withval="$with_carbon" | 1942 withval=$with_carbon; |
1519 | 1943 fi |
1520 fi; | 1944 |
1521 # Check whether --enable-carbon-app or --disable-carbon-app was given. | 1945 # Check whether --enable-carbon-app was given. |
1522 if test "${enable_carbon_app+set}" = set; then | 1946 if test "${enable_carbon_app+set}" = set; then |
1523 enableval="$enable_carbon_app" | 1947 enableval=$enable_carbon_app; carbon_appdir_x=${enableval} |
1524 carbon_appdir_x=${enableval} | 1948 fi |
1525 fi; | 1949 |
1526 | 1950 |
1527 # Check whether --enable-asserts or --disable-asserts was given. | 1951 # Check whether --enable-asserts was given. |
1528 if test "${enable_asserts+set}" = set; then | 1952 if test "${enable_asserts+set}" = set; then |
1529 enableval="$enable_asserts" | 1953 enableval=$enable_asserts; USE_XASSERTS=$enableval |
1530 USE_XASSERTS=$enableval | |
1531 else | 1954 else |
1532 USE_XASSERTS=no | 1955 USE_XASSERTS=no |
1533 fi; | 1956 fi |
1534 | 1957 |
1535 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 1958 |
1959 # Check whether --enable-maintainer-mode was given. | |
1536 if test "${enable_maintainer_mode+set}" = set; then | 1960 if test "${enable_maintainer_mode+set}" = set; then |
1537 enableval="$enable_maintainer_mode" | 1961 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
1538 USE_MAINTAINER_MODE=$enableval | |
1539 else | 1962 else |
1540 USE_MAINTAINER_MODE=no | 1963 USE_MAINTAINER_MODE=no |
1541 fi; | 1964 fi |
1965 | |
1542 if test $USE_MAINTAINER_MODE = yes; then | 1966 if test $USE_MAINTAINER_MODE = yes; then |
1543 MAINT= | 1967 MAINT= |
1544 else | 1968 else |
1545 MAINT=# | 1969 MAINT=# |
1546 fi | 1970 fi |
1547 | 1971 |
1548 | 1972 |
1549 # Check whether --enable-locallisppath or --disable-locallisppath was given. | 1973 # Check whether --enable-locallisppath was given. |
1550 if test "${enable_locallisppath+set}" = set; then | 1974 if test "${enable_locallisppath+set}" = set; then |
1551 enableval="$enable_locallisppath" | 1975 enableval=$enable_locallisppath; if test "${enableval}" = "no"; then |
1552 if test "${enableval}" = "no"; then | |
1553 locallisppath= | 1976 locallisppath= |
1554 elif test "${enableval}" != "yes"; then | 1977 elif test "${enableval}" != "yes"; then |
1555 locallisppath=${enableval} | 1978 locallisppath=${enableval} |
1556 fi | 1979 fi |
1557 fi; | 1980 fi |
1981 | |
1558 | 1982 |
1559 #### Make srcdir absolute, if it isn't already. It's important to | 1983 #### Make srcdir absolute, if it isn't already. It's important to |
1560 #### avoid running the path through pwd unnecessarily, since pwd can | 1984 #### avoid running the path through pwd unnecessarily, since pwd can |
1561 #### give you automounter prefixes, which can go away. We do all this | 1985 #### give you automounter prefixes, which can go away. We do all this |
1562 #### so Emacs can find its files when run uninstalled. | 1986 #### so Emacs can find its files when run uninstalled. |
1601 #### names of the m/*.h and s/*.h files we should use. | 2025 #### names of the m/*.h and s/*.h files we should use. |
1602 | 2026 |
1603 ### Canonicalize the configuration name. | 2027 ### Canonicalize the configuration name. |
1604 | 2028 |
1605 ac_aux_dir= | 2029 ac_aux_dir= |
1606 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 2030 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
1607 if test -f $ac_dir/install-sh; then | 2031 if test -f "$ac_dir/install-sh"; then |
1608 ac_aux_dir=$ac_dir | 2032 ac_aux_dir=$ac_dir |
1609 ac_install_sh="$ac_aux_dir/install-sh -c" | 2033 ac_install_sh="$ac_aux_dir/install-sh -c" |
1610 break | 2034 break |
1611 elif test -f $ac_dir/install.sh; then | 2035 elif test -f "$ac_dir/install.sh"; then |
1612 ac_aux_dir=$ac_dir | 2036 ac_aux_dir=$ac_dir |
1613 ac_install_sh="$ac_aux_dir/install.sh -c" | 2037 ac_install_sh="$ac_aux_dir/install.sh -c" |
1614 break | 2038 break |
1615 elif test -f $ac_dir/shtool; then | 2039 elif test -f "$ac_dir/shtool"; then |
1616 ac_aux_dir=$ac_dir | 2040 ac_aux_dir=$ac_dir |
1617 ac_install_sh="$ac_aux_dir/shtool install -c" | 2041 ac_install_sh="$ac_aux_dir/shtool install -c" |
1618 break | 2042 break |
1619 fi | 2043 fi |
1620 done | 2044 done |
1621 if test -z "$ac_aux_dir"; then | 2045 if test -z "$ac_aux_dir"; then |
1622 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 2046 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 |
1623 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 2047 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} |
1624 { (exit 1); exit 1; }; } | 2048 { (exit 1); exit 1; }; } |
1625 fi | 2049 fi |
1626 ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 2050 |
1627 ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 2051 # These three variables are undocumented and unsupported, |
1628 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 2052 # and are intended to be withdrawn in a future Autoconf release. |
2053 # They can cause serious problems if a builder's source tree is in a directory | |
2054 # whose full name contains unusual characters. | |
2055 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | |
2056 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | |
2057 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | |
2058 | |
1629 | 2059 |
1630 # Make sure we can run config.sub. | 2060 # Make sure we can run config.sub. |
1631 $ac_config_sub sun4 >/dev/null 2>&1 || | 2061 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 2062 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
1633 echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 2063 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} |
1634 { (exit 1); exit 1; }; } | 2064 { (exit 1); exit 1; }; } |
1635 | 2065 |
1636 echo "$as_me:$LINENO: checking build system type" >&5 | 2066 { echo "$as_me:$LINENO: checking build system type" >&5 |
1637 echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 2067 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } |
1638 if test "${ac_cv_build+set}" = set; then | 2068 if test "${ac_cv_build+set}" = set; then |
1639 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2069 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1640 else | 2070 else |
1641 ac_cv_build_alias=$build_alias | 2071 ac_build_alias=$build_alias |
1642 test -z "$ac_cv_build_alias" && | 2072 test "x$ac_build_alias" = x && |
1643 ac_cv_build_alias=`$ac_config_guess` | 2073 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
1644 test -z "$ac_cv_build_alias" && | 2074 test "x$ac_build_alias" = x && |
1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 2075 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1646 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 2076 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1647 { (exit 1); exit 1; }; } | 2077 { (exit 1); exit 1; }; } |
1648 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 2078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 2079 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
1650 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 2080 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} |
1651 { (exit 1); exit 1; }; } | 2081 { (exit 1); exit 1; }; } |
1652 | 2082 |
1653 fi | 2083 fi |
1654 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 2084 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1655 echo "${ECHO_T}$ac_cv_build" >&6 | 2085 echo "${ECHO_T}$ac_cv_build" >&6; } |
2086 case $ac_cv_build in | |
2087 *-*-*) ;; | |
2088 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 | |
2089 echo "$as_me: error: invalid value of canonical build" >&2;} | |
2090 { (exit 1); exit 1; }; };; | |
2091 esac | |
1656 build=$ac_cv_build | 2092 build=$ac_cv_build |
1657 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2093 ac_save_IFS=$IFS; IFS='-' |
1658 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2094 set x $ac_cv_build |
1659 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2095 shift |
1660 | 2096 build_cpu=$1 |
1661 | 2097 build_vendor=$2 |
1662 echo "$as_me:$LINENO: checking host system type" >&5 | 2098 shift; shift |
1663 echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 2099 # Remember, the first character of IFS is used to create $*, |
2100 # except with old shells: | |
2101 build_os=$* | |
2102 IFS=$ac_save_IFS | |
2103 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | |
2104 | |
2105 | |
2106 { echo "$as_me:$LINENO: checking host system type" >&5 | |
2107 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } | |
1664 if test "${ac_cv_host+set}" = set; then | 2108 if test "${ac_cv_host+set}" = set; then |
1665 echo $ECHO_N "(cached) $ECHO_C" >&6 | 2109 echo $ECHO_N "(cached) $ECHO_C" >&6 |
1666 else | 2110 else |
1667 ac_cv_host_alias=$host_alias | 2111 if test "x$host_alias" = x; then |
1668 test -z "$ac_cv_host_alias" && | 2112 ac_cv_host=$ac_cv_build |
1669 ac_cv_host_alias=$ac_cv_build_alias | 2113 else |
1670 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 2114 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 2115 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
1672 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 2116 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} |
1673 { (exit 1); exit 1; }; } | 2117 { (exit 1); exit 1; }; } |
1674 | 2118 fi |
1675 fi | 2119 |
1676 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 2120 fi |
1677 echo "${ECHO_T}$ac_cv_host" >&6 | 2121 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
2122 echo "${ECHO_T}$ac_cv_host" >&6; } | |
2123 case $ac_cv_host in | |
2124 *-*-*) ;; | |
2125 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 | |
2126 echo "$as_me: error: invalid value of canonical host" >&2;} | |
2127 { (exit 1); exit 1; }; };; | |
2128 esac | |
1678 host=$ac_cv_host | 2129 host=$ac_cv_host |
1679 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 2130 ac_save_IFS=$IFS; IFS='-' |
1680 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 2131 set x $ac_cv_host |
1681 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 2132 shift |
2133 host_cpu=$1 | |
2134 host_vendor=$2 | |
2135 shift; shift | |
2136 # Remember, the first character of IFS is used to create $*, | |
2137 # except with old shells: | |
2138 host_os=$* | |
2139 IFS=$ac_save_IFS | |
2140 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | |
1682 | 2141 |
1683 | 2142 |
1684 canonical=$host | 2143 canonical=$host |
1685 configuration=${host_alias-$host} | 2144 configuration=${host_alias-$host} |
1686 | 2145 |
2726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2727 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2728 if test -n "$ac_tool_prefix"; then | 3187 if test -n "$ac_tool_prefix"; then |
2729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 3188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2730 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3189 set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2731 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3190 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2733 if test "${ac_cv_prog_CC+set}" = set; then | 3192 if test "${ac_cv_prog_CC+set}" = set; then |
2734 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3193 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2735 else | 3194 else |
2736 if test -n "$CC"; then | 3195 if test -n "$CC"; then |
2737 ac_cv_prog_CC="$CC" # Let the user override the test. | 3196 ac_cv_prog_CC="$CC" # Let the user override the test. |
2740 for as_dir in $PATH | 3199 for as_dir in $PATH |
2741 do | 3200 do |
2742 IFS=$as_save_IFS | 3201 IFS=$as_save_IFS |
2743 test -z "$as_dir" && as_dir=. | 3202 test -z "$as_dir" && as_dir=. |
2744 for ac_exec_ext in '' $ac_executable_extensions; do | 3203 for ac_exec_ext in '' $ac_executable_extensions; do |
2745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2746 ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3205 ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2748 break 2 | 3207 break 2 |
2749 fi | 3208 fi |
2750 done | 3209 done |
2751 done | 3210 done |
3211 IFS=$as_save_IFS | |
2752 | 3212 |
2753 fi | 3213 fi |
2754 fi | 3214 fi |
2755 CC=$ac_cv_prog_CC | 3215 CC=$ac_cv_prog_CC |
2756 if test -n "$CC"; then | 3216 if test -n "$CC"; then |
2757 echo "$as_me:$LINENO: result: $CC" >&5 | 3217 { echo "$as_me:$LINENO: result: $CC" >&5 |
2758 echo "${ECHO_T}$CC" >&6 | 3218 echo "${ECHO_T}$CC" >&6; } |
2759 else | 3219 else |
2760 echo "$as_me:$LINENO: result: no" >&5 | 3220 { echo "$as_me:$LINENO: result: no" >&5 |
2761 echo "${ECHO_T}no" >&6 | 3221 echo "${ECHO_T}no" >&6; } |
2762 fi | 3222 fi |
3223 | |
2763 | 3224 |
2764 fi | 3225 fi |
2765 if test -z "$ac_cv_prog_CC"; then | 3226 if test -z "$ac_cv_prog_CC"; then |
2766 ac_ct_CC=$CC | 3227 ac_ct_CC=$CC |
2767 # Extract the first word of "gcc", so it can be a program name with args. | 3228 # Extract the first word of "gcc", so it can be a program name with args. |
2768 set dummy gcc; ac_word=$2 | 3229 set dummy gcc; ac_word=$2 |
2769 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3230 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2772 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3233 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2773 else | 3234 else |
2774 if test -n "$ac_ct_CC"; then | 3235 if test -n "$ac_ct_CC"; then |
2775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2778 for as_dir in $PATH | 3239 for as_dir in $PATH |
2779 do | 3240 do |
2780 IFS=$as_save_IFS | 3241 IFS=$as_save_IFS |
2781 test -z "$as_dir" && as_dir=. | 3242 test -z "$as_dir" && as_dir=. |
2782 for ac_exec_ext in '' $ac_executable_extensions; do | 3243 for ac_exec_ext in '' $ac_executable_extensions; do |
2783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2784 ac_cv_prog_ac_ct_CC="gcc" | 3245 ac_cv_prog_ac_ct_CC="gcc" |
2785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2786 break 2 | 3247 break 2 |
2787 fi | 3248 fi |
2788 done | 3249 done |
2789 done | 3250 done |
3251 IFS=$as_save_IFS | |
2790 | 3252 |
2791 fi | 3253 fi |
2792 fi | 3254 fi |
2793 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3255 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2794 if test -n "$ac_ct_CC"; then | 3256 if test -n "$ac_ct_CC"; then |
2795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3257 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2796 echo "${ECHO_T}$ac_ct_CC" >&6 | 3258 echo "${ECHO_T}$ac_ct_CC" >&6; } |
2797 else | 3259 else |
2798 echo "$as_me:$LINENO: result: no" >&5 | 3260 { echo "$as_me:$LINENO: result: no" >&5 |
2799 echo "${ECHO_T}no" >&6 | 3261 echo "${ECHO_T}no" >&6; } |
2800 fi | 3262 fi |
2801 | 3263 |
2802 CC=$ac_ct_CC | 3264 if test "x$ac_ct_CC" = x; then |
3265 CC="" | |
3266 else | |
3267 case $cross_compiling:$ac_tool_warned in | |
3268 yes:) | |
3269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
3270 whose name does not start with the host triplet. If you think this | |
3271 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3273 whose name does not start with the host triplet. If you think this | |
3274 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3275 ac_tool_warned=yes ;; | |
3276 esac | |
3277 CC=$ac_ct_CC | |
3278 fi | |
2803 else | 3279 else |
2804 CC="$ac_cv_prog_CC" | 3280 CC="$ac_cv_prog_CC" |
2805 fi | 3281 fi |
2806 | 3282 |
2807 if test -z "$CC"; then | 3283 if test -z "$CC"; then |
2808 if test -n "$ac_tool_prefix"; then | 3284 if test -n "$ac_tool_prefix"; then |
2809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3285 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2810 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3286 set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3287 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2813 if test "${ac_cv_prog_CC+set}" = set; then | 3289 if test "${ac_cv_prog_CC+set}" = set; then |
2814 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3290 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2815 else | 3291 else |
2816 if test -n "$CC"; then | 3292 if test -n "$CC"; then |
2817 ac_cv_prog_CC="$CC" # Let the user override the test. | 3293 ac_cv_prog_CC="$CC" # Let the user override the test. |
2820 for as_dir in $PATH | 3296 for as_dir in $PATH |
2821 do | 3297 do |
2822 IFS=$as_save_IFS | 3298 IFS=$as_save_IFS |
2823 test -z "$as_dir" && as_dir=. | 3299 test -z "$as_dir" && as_dir=. |
2824 for ac_exec_ext in '' $ac_executable_extensions; do | 3300 for ac_exec_ext in '' $ac_executable_extensions; do |
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2826 ac_cv_prog_CC="${ac_tool_prefix}cc" | 3302 ac_cv_prog_CC="${ac_tool_prefix}cc" |
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2828 break 2 | 3304 break 2 |
2829 fi | 3305 fi |
2830 done | 3306 done |
2831 done | 3307 done |
3308 IFS=$as_save_IFS | |
2832 | 3309 |
2833 fi | 3310 fi |
2834 fi | 3311 fi |
2835 CC=$ac_cv_prog_CC | 3312 CC=$ac_cv_prog_CC |
2836 if test -n "$CC"; then | 3313 if test -n "$CC"; then |
2837 echo "$as_me:$LINENO: result: $CC" >&5 | 3314 { echo "$as_me:$LINENO: result: $CC" >&5 |
2838 echo "${ECHO_T}$CC" >&6 | 3315 echo "${ECHO_T}$CC" >&6; } |
2839 else | 3316 else |
2840 echo "$as_me:$LINENO: result: no" >&5 | 3317 { echo "$as_me:$LINENO: result: no" >&5 |
2841 echo "${ECHO_T}no" >&6 | 3318 echo "${ECHO_T}no" >&6; } |
2842 fi | 3319 fi |
2843 | 3320 |
2844 fi | 3321 |
2845 if test -z "$ac_cv_prog_CC"; then | |
2846 ac_ct_CC=$CC | |
2847 # Extract the first word of "cc", so it can be a program name with args. | |
2848 set dummy cc; ac_word=$2 | |
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5 | |
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | |
2851 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
2852 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2853 else | |
2854 if test -n "$ac_ct_CC"; then | |
2855 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
2856 else | |
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
2858 for as_dir in $PATH | |
2859 do | |
2860 IFS=$as_save_IFS | |
2861 test -z "$as_dir" && as_dir=. | |
2862 for ac_exec_ext in '' $ac_executable_extensions; do | |
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2864 ac_cv_prog_ac_ct_CC="cc" | |
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
2866 break 2 | |
2867 fi | 3322 fi |
2868 done | |
2869 done | |
2870 | |
2871 fi | |
2872 fi | |
2873 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
2874 if test -n "$ac_ct_CC"; then | |
2875 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | |
2876 echo "${ECHO_T}$ac_ct_CC" >&6 | |
2877 else | |
2878 echo "$as_me:$LINENO: result: no" >&5 | |
2879 echo "${ECHO_T}no" >&6 | |
2880 fi | |
2881 | |
2882 CC=$ac_ct_CC | |
2883 else | |
2884 CC="$ac_cv_prog_CC" | |
2885 fi | |
2886 | |
2887 fi | 3323 fi |
2888 if test -z "$CC"; then | 3324 if test -z "$CC"; then |
2889 # Extract the first word of "cc", so it can be a program name with args. | 3325 # Extract the first word of "cc", so it can be a program name with args. |
2890 set dummy cc; ac_word=$2 | 3326 set dummy cc; ac_word=$2 |
2891 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3327 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2893 if test "${ac_cv_prog_CC+set}" = set; then | 3329 if test "${ac_cv_prog_CC+set}" = set; then |
2894 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3330 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2895 else | 3331 else |
2896 if test -n "$CC"; then | 3332 if test -n "$CC"; then |
2897 ac_cv_prog_CC="$CC" # Let the user override the test. | 3333 ac_cv_prog_CC="$CC" # Let the user override the test. |
2901 for as_dir in $PATH | 3337 for as_dir in $PATH |
2902 do | 3338 do |
2903 IFS=$as_save_IFS | 3339 IFS=$as_save_IFS |
2904 test -z "$as_dir" && as_dir=. | 3340 test -z "$as_dir" && as_dir=. |
2905 for ac_exec_ext in '' $ac_executable_extensions; do | 3341 for ac_exec_ext in '' $ac_executable_extensions; do |
2906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3343 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2908 ac_prog_rejected=yes | 3344 ac_prog_rejected=yes |
2909 continue | 3345 continue |
2910 fi | 3346 fi |
2911 ac_cv_prog_CC="cc" | 3347 ac_cv_prog_CC="cc" |
2912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2913 break 2 | 3349 break 2 |
2914 fi | 3350 fi |
2915 done | 3351 done |
2916 done | 3352 done |
3353 IFS=$as_save_IFS | |
2917 | 3354 |
2918 if test $ac_prog_rejected = yes; then | 3355 if test $ac_prog_rejected = yes; then |
2919 # We found a bogon in the path, so make sure we never use it. | 3356 # We found a bogon in the path, so make sure we never use it. |
2920 set dummy $ac_cv_prog_CC | 3357 set dummy $ac_cv_prog_CC |
2921 shift | 3358 shift |
2929 fi | 3366 fi |
2930 fi | 3367 fi |
2931 fi | 3368 fi |
2932 CC=$ac_cv_prog_CC | 3369 CC=$ac_cv_prog_CC |
2933 if test -n "$CC"; then | 3370 if test -n "$CC"; then |
2934 echo "$as_me:$LINENO: result: $CC" >&5 | 3371 { echo "$as_me:$LINENO: result: $CC" >&5 |
2935 echo "${ECHO_T}$CC" >&6 | 3372 echo "${ECHO_T}$CC" >&6; } |
2936 else | 3373 else |
2937 echo "$as_me:$LINENO: result: no" >&5 | 3374 { echo "$as_me:$LINENO: result: no" >&5 |
2938 echo "${ECHO_T}no" >&6 | 3375 echo "${ECHO_T}no" >&6; } |
2939 fi | 3376 fi |
3377 | |
2940 | 3378 |
2941 fi | 3379 fi |
2942 if test -z "$CC"; then | 3380 if test -z "$CC"; then |
2943 if test -n "$ac_tool_prefix"; then | 3381 if test -n "$ac_tool_prefix"; then |
2944 for ac_prog in cl | 3382 for ac_prog in cl.exe |
2945 do | 3383 do |
2946 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2947 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3385 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2948 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3386 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2950 if test "${ac_cv_prog_CC+set}" = set; then | 3388 if test "${ac_cv_prog_CC+set}" = set; then |
2951 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3389 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2952 else | 3390 else |
2953 if test -n "$CC"; then | 3391 if test -n "$CC"; then |
2954 ac_cv_prog_CC="$CC" # Let the user override the test. | 3392 ac_cv_prog_CC="$CC" # Let the user override the test. |
2957 for as_dir in $PATH | 3395 for as_dir in $PATH |
2958 do | 3396 do |
2959 IFS=$as_save_IFS | 3397 IFS=$as_save_IFS |
2960 test -z "$as_dir" && as_dir=. | 3398 test -z "$as_dir" && as_dir=. |
2961 for ac_exec_ext in '' $ac_executable_extensions; do | 3399 for ac_exec_ext in '' $ac_executable_extensions; do |
2962 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
2963 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3401 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
2964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2965 break 2 | 3403 break 2 |
2966 fi | 3404 fi |
2967 done | 3405 done |
2968 done | 3406 done |
3407 IFS=$as_save_IFS | |
2969 | 3408 |
2970 fi | 3409 fi |
2971 fi | 3410 fi |
2972 CC=$ac_cv_prog_CC | 3411 CC=$ac_cv_prog_CC |
2973 if test -n "$CC"; then | 3412 if test -n "$CC"; then |
2974 echo "$as_me:$LINENO: result: $CC" >&5 | 3413 { echo "$as_me:$LINENO: result: $CC" >&5 |
2975 echo "${ECHO_T}$CC" >&6 | 3414 echo "${ECHO_T}$CC" >&6; } |
2976 else | 3415 else |
2977 echo "$as_me:$LINENO: result: no" >&5 | 3416 { echo "$as_me:$LINENO: result: no" >&5 |
2978 echo "${ECHO_T}no" >&6 | 3417 echo "${ECHO_T}no" >&6; } |
2979 fi | 3418 fi |
3419 | |
2980 | 3420 |
2981 test -n "$CC" && break | 3421 test -n "$CC" && break |
2982 done | 3422 done |
2983 fi | 3423 fi |
2984 if test -z "$CC"; then | 3424 if test -z "$CC"; then |
2985 ac_ct_CC=$CC | 3425 ac_ct_CC=$CC |
2986 for ac_prog in cl | 3426 for ac_prog in cl.exe |
2987 do | 3427 do |
2988 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3428 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2989 set dummy $ac_prog; ac_word=$2 | 3429 set dummy $ac_prog; ac_word=$2 |
2990 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 3430 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 3431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
2992 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 3432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2993 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3433 echo $ECHO_N "(cached) $ECHO_C" >&6 |
2994 else | 3434 else |
2995 if test -n "$ac_ct_CC"; then | 3435 if test -n "$ac_ct_CC"; then |
2996 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2999 for as_dir in $PATH | 3439 for as_dir in $PATH |
3000 do | 3440 do |
3001 IFS=$as_save_IFS | 3441 IFS=$as_save_IFS |
3002 test -z "$as_dir" && as_dir=. | 3442 test -z "$as_dir" && as_dir=. |
3003 for ac_exec_ext in '' $ac_executable_extensions; do | 3443 for ac_exec_ext in '' $ac_executable_extensions; do |
3004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
3005 ac_cv_prog_ac_ct_CC="$ac_prog" | 3445 ac_cv_prog_ac_ct_CC="$ac_prog" |
3006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3007 break 2 | 3447 break 2 |
3008 fi | 3448 fi |
3009 done | 3449 done |
3010 done | 3450 done |
3451 IFS=$as_save_IFS | |
3011 | 3452 |
3012 fi | 3453 fi |
3013 fi | 3454 fi |
3014 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3015 if test -n "$ac_ct_CC"; then | 3456 if test -n "$ac_ct_CC"; then |
3016 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 3457 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
3017 echo "${ECHO_T}$ac_ct_CC" >&6 | 3458 echo "${ECHO_T}$ac_ct_CC" >&6; } |
3018 else | 3459 else |
3019 echo "$as_me:$LINENO: result: no" >&5 | 3460 { echo "$as_me:$LINENO: result: no" >&5 |
3020 echo "${ECHO_T}no" >&6 | 3461 echo "${ECHO_T}no" >&6; } |
3021 fi | 3462 fi |
3463 | |
3022 | 3464 |
3023 test -n "$ac_ct_CC" && break | 3465 test -n "$ac_ct_CC" && break |
3024 done | 3466 done |
3025 | 3467 |
3026 CC=$ac_ct_CC | 3468 if test "x$ac_ct_CC" = x; then |
3469 CC="" | |
3470 else | |
3471 case $cross_compiling:$ac_tool_warned in | |
3472 yes:) | |
3473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
3474 whose name does not start with the host triplet. If you think this | |
3475 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
3476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
3477 whose name does not start with the host triplet. If you think this | |
3478 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
3479 ac_tool_warned=yes ;; | |
3480 esac | |
3481 CC=$ac_ct_CC | |
3482 fi | |
3027 fi | 3483 fi |
3028 | 3484 |
3029 fi | 3485 fi |
3030 | 3486 |
3031 | 3487 |
3034 echo "$as_me: error: no acceptable C compiler found in \$PATH | 3490 echo "$as_me: error: no acceptable C compiler found in \$PATH |
3035 See \`config.log' for more details." >&2;} | 3491 See \`config.log' for more details." >&2;} |
3036 { (exit 1); exit 1; }; } | 3492 { (exit 1); exit 1; }; } |
3037 | 3493 |
3038 # Provide some information about the compiler. | 3494 # Provide some information about the compiler. |
3039 echo "$as_me:$LINENO:" \ | 3495 echo "$as_me:$LINENO: checking for C compiler version" >&5 |
3040 "checking for C compiler version" >&5 | |
3041 ac_compiler=`set X $ac_compile; echo $2` | 3496 ac_compiler=`set X $ac_compile; echo $2` |
3042 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 3497 { (ac_try="$ac_compiler --version >&5" |
3043 (eval $ac_compiler --version </dev/null >&5) 2>&5 | 3498 case "(($ac_try" in |
3499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3500 *) ac_try_echo=$ac_try;; | |
3501 esac | |
3502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3503 (eval "$ac_compiler --version >&5") 2>&5 | |
3044 ac_status=$? | 3504 ac_status=$? |
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3046 (exit $ac_status); } | 3506 (exit $ac_status); } |
3047 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 3507 { (ac_try="$ac_compiler -v >&5" |
3048 (eval $ac_compiler -v </dev/null >&5) 2>&5 | 3508 case "(($ac_try" in |
3509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3510 *) ac_try_echo=$ac_try;; | |
3511 esac | |
3512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3513 (eval "$ac_compiler -v >&5") 2>&5 | |
3049 ac_status=$? | 3514 ac_status=$? |
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3051 (exit $ac_status); } | 3516 (exit $ac_status); } |
3052 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 3517 { (ac_try="$ac_compiler -V >&5" |
3053 (eval $ac_compiler -V </dev/null >&5) 2>&5 | 3518 case "(($ac_try" in |
3519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3520 *) ac_try_echo=$ac_try;; | |
3521 esac | |
3522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3523 (eval "$ac_compiler -V >&5") 2>&5 | |
3054 ac_status=$? | 3524 ac_status=$? |
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3056 (exit $ac_status); } | 3526 (exit $ac_status); } |
3057 | 3527 |
3058 cat >conftest.$ac_ext <<_ACEOF | 3528 cat >conftest.$ac_ext <<_ACEOF |
3073 ac_clean_files_save=$ac_clean_files | 3543 ac_clean_files_save=$ac_clean_files |
3074 ac_clean_files="$ac_clean_files a.out a.exe b.out" | 3544 ac_clean_files="$ac_clean_files a.out a.exe b.out" |
3075 # Try to create an executable without -o first, disregard a.out. | 3545 # Try to create an executable without -o first, disregard a.out. |
3076 # It will help us diagnose broken compilers, and finding out an intuition | 3546 # It will help us diagnose broken compilers, and finding out an intuition |
3077 # of exeext. | 3547 # of exeext. |
3078 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 | 3548 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
3079 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 | 3549 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } |
3080 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3550 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 3551 # |
3082 (eval $ac_link_default) 2>&5 | 3552 # List of possible output files, starting from the most likely. |
3553 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) | |
3554 # only as a last resort. b.out is created by i960 compilers. | |
3555 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' | |
3556 # | |
3557 # The IRIX 6 linker writes into existing files which may not be | |
3558 # executable, retaining their permissions. Remove them first so a | |
3559 # subsequent execution test works. | |
3560 ac_rmfiles= | |
3561 for ac_file in $ac_files | |
3562 do | |
3563 case $ac_file in | |
3564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; | |
3565 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
3566 esac | |
3567 done | |
3568 rm -f $ac_rmfiles | |
3569 | |
3570 if { (ac_try="$ac_link_default" | |
3571 case "(($ac_try" in | |
3572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3573 *) ac_try_echo=$ac_try;; | |
3574 esac | |
3575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3576 (eval "$ac_link_default") 2>&5 | |
3083 ac_status=$? | 3577 ac_status=$? |
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3085 (exit $ac_status); }; then | 3579 (exit $ac_status); }; then |
3086 # Find the output, starting from the most likely. This scheme is | 3580 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 3581 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3088 # resort. | 3582 # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3089 | 3583 # so that the user can short-circuit this test for compilers unknown to |
3090 # Be careful to initialize this variable, since it used to be cached. | 3584 # Autoconf. |
3091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 3585 for ac_file in $ac_files |
3092 ac_cv_exeext= | |
3093 # b.out is created by i960 compilers. | |
3094 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | |
3095 do | 3586 do |
3096 test -f "$ac_file" || continue | 3587 test -f "$ac_file" || continue |
3097 case $ac_file in | 3588 case $ac_file in |
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 3589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) |
3099 ;; | |
3100 conftest.$ac_ext ) | |
3101 # This is the source file. | |
3102 ;; | 3590 ;; |
3103 [ab].out ) | 3591 [ab].out ) |
3104 # We found the default executable, but exeext='' is most | 3592 # We found the default executable, but exeext='' is most |
3105 # certainly right. | 3593 # certainly right. |
3106 break;; | 3594 break;; |
3107 *.* ) | 3595 *.* ) |
3108 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3596 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3109 # FIXME: I believe we export ac_cv_exeext for Libtool, | 3597 then :; else |
3110 # but it would be cool to find out if it's true. Does anybody | 3598 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3111 # maintain Libtool? --akim. | 3599 fi |
3112 export ac_cv_exeext | 3600 # We set ac_cv_exeext here because the later test for it is not |
3601 # safe: cross compilers may not add the suffix if given an `-o' | |
3602 # argument, so we may need to know it at that point already. | |
3603 # Even if this section looks crufty: it has the advantage of | |
3604 # actually working. | |
3113 break;; | 3605 break;; |
3114 * ) | 3606 * ) |
3115 break;; | 3607 break;; |
3116 esac | 3608 esac |
3117 done | 3609 done |
3610 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
3611 | |
3118 else | 3612 else |
3119 echo "$as_me: failed program was:" >&5 | 3613 echo "$as_me: failed program was:" >&5 |
3120 sed 's/^/| /' conftest.$ac_ext >&5 | 3614 sed 's/^/| /' conftest.$ac_ext >&5 |
3121 | 3615 |
3122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables | 3616 { { echo "$as_me:$LINENO: error: C compiler cannot create executables |
3125 See \`config.log' for more details." >&2;} | 3619 See \`config.log' for more details." >&2;} |
3126 { (exit 77); exit 77; }; } | 3620 { (exit 77); exit 77; }; } |
3127 fi | 3621 fi |
3128 | 3622 |
3129 ac_exeext=$ac_cv_exeext | 3623 ac_exeext=$ac_cv_exeext |
3130 echo "$as_me:$LINENO: result: $ac_file" >&5 | 3624 { echo "$as_me:$LINENO: result: $ac_file" >&5 |
3131 echo "${ECHO_T}$ac_file" >&6 | 3625 echo "${ECHO_T}$ac_file" >&6; } |
3132 | 3626 |
3133 # Check the compiler produces executables we can run. If not, either | 3627 # Check that the compiler produces executables we can run. If not, either |
3134 # the compiler is broken, or we cross compile. | 3628 # the compiler is broken, or we cross compile. |
3135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | 3629 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
3136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 | 3630 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } |
3137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 3631 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
3138 # If not cross compiling, check that we can run a simple program. | 3632 # If not cross compiling, check that we can run a simple program. |
3139 if test "$cross_compiling" != yes; then | 3633 if test "$cross_compiling" != yes; then |
3140 if { ac_try='./$ac_file' | 3634 if { ac_try='./$ac_file' |
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3635 { (case "(($ac_try" in |
3142 (eval $ac_try) 2>&5 | 3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3637 *) ac_try_echo=$ac_try;; | |
3638 esac | |
3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3640 (eval "$ac_try") 2>&5 | |
3143 ac_status=$? | 3641 ac_status=$? |
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3145 (exit $ac_status); }; }; then | 3643 (exit $ac_status); }; }; then |
3146 cross_compiling=no | 3644 cross_compiling=no |
3147 else | 3645 else |
3156 See \`config.log' for more details." >&2;} | 3654 See \`config.log' for more details." >&2;} |
3157 { (exit 1); exit 1; }; } | 3655 { (exit 1); exit 1; }; } |
3158 fi | 3656 fi |
3159 fi | 3657 fi |
3160 fi | 3658 fi |
3161 echo "$as_me:$LINENO: result: yes" >&5 | 3659 { echo "$as_me:$LINENO: result: yes" >&5 |
3162 echo "${ECHO_T}yes" >&6 | 3660 echo "${ECHO_T}yes" >&6; } |
3163 | 3661 |
3164 rm -f a.out a.exe conftest$ac_cv_exeext b.out | 3662 rm -f a.out a.exe conftest$ac_cv_exeext b.out |
3165 ac_clean_files=$ac_clean_files_save | 3663 ac_clean_files=$ac_clean_files_save |
3166 # Check the compiler produces executables we can run. If not, either | 3664 # Check that the compiler produces executables we can run. If not, either |
3167 # the compiler is broken, or we cross compile. | 3665 # the compiler is broken, or we cross compile. |
3168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 3666 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
3169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 3667 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } |
3170 echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 3668 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
3171 echo "${ECHO_T}$cross_compiling" >&6 | 3669 echo "${ECHO_T}$cross_compiling" >&6; } |
3172 | 3670 |
3173 echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 3671 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
3174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 3672 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } |
3175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 3673 if { (ac_try="$ac_link" |
3176 (eval $ac_link) 2>&5 | 3674 case "(($ac_try" in |
3675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3676 *) ac_try_echo=$ac_try;; | |
3677 esac | |
3678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3679 (eval "$ac_link") 2>&5 | |
3177 ac_status=$? | 3680 ac_status=$? |
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3179 (exit $ac_status); }; then | 3682 (exit $ac_status); }; then |
3180 # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3683 # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3684 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3182 # work properly (i.e., refer to `conftest.exe'), while it won't with | 3685 # work properly (i.e., refer to `conftest.exe'), while it won't with |
3183 # `rm'. | 3686 # `rm'. |
3184 for ac_file in conftest.exe conftest conftest.*; do | 3687 for ac_file in conftest.exe conftest conftest.*; do |
3185 test -f "$ac_file" || continue | 3688 test -f "$ac_file" || continue |
3186 case $ac_file in | 3689 case $ac_file in |
3187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 3690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; |
3188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3691 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3189 export ac_cv_exeext | |
3190 break;; | 3692 break;; |
3191 * ) break;; | 3693 * ) break;; |
3192 esac | 3694 esac |
3193 done | 3695 done |
3194 else | 3696 else |
3198 See \`config.log' for more details." >&2;} | 3700 See \`config.log' for more details." >&2;} |
3199 { (exit 1); exit 1; }; } | 3701 { (exit 1); exit 1; }; } |
3200 fi | 3702 fi |
3201 | 3703 |
3202 rm -f conftest$ac_cv_exeext | 3704 rm -f conftest$ac_cv_exeext |
3203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 3705 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
3204 echo "${ECHO_T}$ac_cv_exeext" >&6 | 3706 echo "${ECHO_T}$ac_cv_exeext" >&6; } |
3205 | 3707 |
3206 rm -f conftest.$ac_ext | 3708 rm -f conftest.$ac_ext |
3207 EXEEXT=$ac_cv_exeext | 3709 EXEEXT=$ac_cv_exeext |
3208 ac_exeext=$EXEEXT | 3710 ac_exeext=$EXEEXT |
3209 echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 3711 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
3210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 3712 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } |
3211 if test "${ac_cv_objext+set}" = set; then | 3713 if test "${ac_cv_objext+set}" = set; then |
3212 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3714 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3213 else | 3715 else |
3214 cat >conftest.$ac_ext <<_ACEOF | 3716 cat >conftest.$ac_ext <<_ACEOF |
3215 /* confdefs.h. */ | 3717 /* confdefs.h. */ |
3225 ; | 3727 ; |
3226 return 0; | 3728 return 0; |
3227 } | 3729 } |
3228 _ACEOF | 3730 _ACEOF |
3229 rm -f conftest.o conftest.obj | 3731 rm -f conftest.o conftest.obj |
3230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3732 if { (ac_try="$ac_compile" |
3231 (eval $ac_compile) 2>&5 | 3733 case "(($ac_try" in |
3734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3735 *) ac_try_echo=$ac_try;; | |
3736 esac | |
3737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3738 (eval "$ac_compile") 2>&5 | |
3232 ac_status=$? | 3739 ac_status=$? |
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3234 (exit $ac_status); }; then | 3741 (exit $ac_status); }; then |
3235 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 3742 for ac_file in conftest.o conftest.obj conftest.*; do |
3743 test -f "$ac_file" || continue; | |
3236 case $ac_file in | 3744 case $ac_file in |
3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 3745 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; |
3238 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3746 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3239 break;; | 3747 break;; |
3240 esac | 3748 esac |
3241 done | 3749 done |
3242 else | 3750 else |
3250 { (exit 1); exit 1; }; } | 3758 { (exit 1); exit 1; }; } |
3251 fi | 3759 fi |
3252 | 3760 |
3253 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3761 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3254 fi | 3762 fi |
3255 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 3763 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
3256 echo "${ECHO_T}$ac_cv_objext" >&6 | 3764 echo "${ECHO_T}$ac_cv_objext" >&6; } |
3257 OBJEXT=$ac_cv_objext | 3765 OBJEXT=$ac_cv_objext |
3258 ac_objext=$OBJEXT | 3766 ac_objext=$OBJEXT |
3259 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 3767 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
3260 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 3768 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } |
3261 if test "${ac_cv_c_compiler_gnu+set}" = set; then | 3769 if test "${ac_cv_c_compiler_gnu+set}" = set; then |
3262 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3770 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3263 else | 3771 else |
3264 cat >conftest.$ac_ext <<_ACEOF | 3772 cat >conftest.$ac_ext <<_ACEOF |
3265 /* confdefs.h. */ | 3773 /* confdefs.h. */ |
3278 ; | 3786 ; |
3279 return 0; | 3787 return 0; |
3280 } | 3788 } |
3281 _ACEOF | 3789 _ACEOF |
3282 rm -f conftest.$ac_objext | 3790 rm -f conftest.$ac_objext |
3283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3791 if { (ac_try="$ac_compile" |
3284 (eval $ac_compile) 2>conftest.er1 | 3792 case "(($ac_try" in |
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3794 *) ac_try_echo=$ac_try;; | |
3795 esac | |
3796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3797 (eval "$ac_compile") 2>conftest.er1 | |
3285 ac_status=$? | 3798 ac_status=$? |
3286 grep -v '^ *+' conftest.er1 >conftest.err | 3799 grep -v '^ *+' conftest.er1 >conftest.err |
3287 rm -f conftest.er1 | 3800 rm -f conftest.er1 |
3288 cat conftest.err >&5 | 3801 cat conftest.err >&5 |
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3290 (exit $ac_status); } && | 3803 (exit $ac_status); } && |
3291 { ac_try='test -z "$ac_c_werror_flag" | 3804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3292 || test ! -s conftest.err' | 3805 { (case "(($ac_try" in |
3293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3294 (eval $ac_try) 2>&5 | 3807 *) ac_try_echo=$ac_try;; |
3808 esac | |
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3810 (eval "$ac_try") 2>&5 | |
3295 ac_status=$? | 3811 ac_status=$? |
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3297 (exit $ac_status); }; } && | 3813 (exit $ac_status); }; } && |
3298 { ac_try='test -s conftest.$ac_objext' | 3814 { ac_try='test -s conftest.$ac_objext' |
3299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3815 { (case "(($ac_try" in |
3300 (eval $ac_try) 2>&5 | 3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3817 *) ac_try_echo=$ac_try;; | |
3818 esac | |
3819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3820 (eval "$ac_try") 2>&5 | |
3301 ac_status=$? | 3821 ac_status=$? |
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3303 (exit $ac_status); }; }; then | 3823 (exit $ac_status); }; }; then |
3304 ac_compiler_gnu=yes | 3824 ac_compiler_gnu=yes |
3305 else | 3825 else |
3306 echo "$as_me: failed program was:" >&5 | 3826 echo "$as_me: failed program was:" >&5 |
3307 sed 's/^/| /' conftest.$ac_ext >&5 | 3827 sed 's/^/| /' conftest.$ac_ext >&5 |
3308 | 3828 |
3309 ac_compiler_gnu=no | 3829 ac_compiler_gnu=no |
3310 fi | 3830 fi |
3311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3831 |
3832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
3312 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3833 ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3313 | 3834 |
3314 fi | 3835 fi |
3315 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 3836 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
3316 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 3837 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } |
3317 GCC=`test $ac_compiler_gnu = yes && echo yes` | 3838 GCC=`test $ac_compiler_gnu = yes && echo yes` |
3318 ac_test_CFLAGS=${CFLAGS+set} | 3839 ac_test_CFLAGS=${CFLAGS+set} |
3319 ac_save_CFLAGS=$CFLAGS | 3840 ac_save_CFLAGS=$CFLAGS |
3320 CFLAGS="-g" | 3841 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
3321 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 3842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } |
3322 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | |
3323 if test "${ac_cv_prog_cc_g+set}" = set; then | 3843 if test "${ac_cv_prog_cc_g+set}" = set; then |
3324 echo $ECHO_N "(cached) $ECHO_C" >&6 | 3844 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3325 else | 3845 else |
3326 cat >conftest.$ac_ext <<_ACEOF | 3846 ac_save_c_werror_flag=$ac_c_werror_flag |
3847 ac_c_werror_flag=yes | |
3848 ac_cv_prog_cc_g=no | |
3849 CFLAGS="-g" | |
3850 cat >conftest.$ac_ext <<_ACEOF | |
3327 /* confdefs.h. */ | 3851 /* confdefs.h. */ |
3328 _ACEOF | 3852 _ACEOF |
3329 cat confdefs.h >>conftest.$ac_ext | 3853 cat confdefs.h >>conftest.$ac_ext |
3330 cat >>conftest.$ac_ext <<_ACEOF | 3854 cat >>conftest.$ac_ext <<_ACEOF |
3331 /* end confdefs.h. */ | 3855 /* end confdefs.h. */ |
3337 ; | 3861 ; |
3338 return 0; | 3862 return 0; |
3339 } | 3863 } |
3340 _ACEOF | 3864 _ACEOF |
3341 rm -f conftest.$ac_objext | 3865 rm -f conftest.$ac_objext |
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3866 if { (ac_try="$ac_compile" |
3343 (eval $ac_compile) 2>conftest.er1 | 3867 case "(($ac_try" in |
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3869 *) ac_try_echo=$ac_try;; | |
3870 esac | |
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3872 (eval "$ac_compile") 2>conftest.er1 | |
3344 ac_status=$? | 3873 ac_status=$? |
3345 grep -v '^ *+' conftest.er1 >conftest.err | 3874 grep -v '^ *+' conftest.er1 >conftest.err |
3346 rm -f conftest.er1 | 3875 rm -f conftest.er1 |
3347 cat conftest.err >&5 | 3876 cat conftest.err >&5 |
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3349 (exit $ac_status); } && | 3878 (exit $ac_status); } && |
3350 { ac_try='test -z "$ac_c_werror_flag" | 3879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3351 || test ! -s conftest.err' | 3880 { (case "(($ac_try" in |
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3353 (eval $ac_try) 2>&5 | 3882 *) ac_try_echo=$ac_try;; |
3883 esac | |
3884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3885 (eval "$ac_try") 2>&5 | |
3354 ac_status=$? | 3886 ac_status=$? |
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3356 (exit $ac_status); }; } && | 3888 (exit $ac_status); }; } && |
3357 { ac_try='test -s conftest.$ac_objext' | 3889 { ac_try='test -s conftest.$ac_objext' |
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 3890 { (case "(($ac_try" in |
3359 (eval $ac_try) 2>&5 | 3891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3892 *) ac_try_echo=$ac_try;; | |
3893 esac | |
3894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3895 (eval "$ac_try") 2>&5 | |
3360 ac_status=$? | 3896 ac_status=$? |
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3362 (exit $ac_status); }; }; then | 3898 (exit $ac_status); }; }; then |
3363 ac_cv_prog_cc_g=yes | 3899 ac_cv_prog_cc_g=yes |
3364 else | 3900 else |
3365 echo "$as_me: failed program was:" >&5 | 3901 echo "$as_me: failed program was:" >&5 |
3366 sed 's/^/| /' conftest.$ac_ext >&5 | 3902 sed 's/^/| /' conftest.$ac_ext >&5 |
3367 | 3903 |
3368 ac_cv_prog_cc_g=no | 3904 CFLAGS="" |
3369 fi | 3905 cat >conftest.$ac_ext <<_ACEOF |
3370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 3906 /* confdefs.h. */ |
3371 fi | 3907 _ACEOF |
3372 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 3908 cat confdefs.h >>conftest.$ac_ext |
3373 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 3909 cat >>conftest.$ac_ext <<_ACEOF |
3910 /* end confdefs.h. */ | |
3911 | |
3912 int | |
3913 main () | |
3914 { | |
3915 | |
3916 ; | |
3917 return 0; | |
3918 } | |
3919 _ACEOF | |
3920 rm -f conftest.$ac_objext | |
3921 if { (ac_try="$ac_compile" | |
3922 case "(($ac_try" in | |
3923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3924 *) ac_try_echo=$ac_try;; | |
3925 esac | |
3926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3927 (eval "$ac_compile") 2>conftest.er1 | |
3928 ac_status=$? | |
3929 grep -v '^ *+' conftest.er1 >conftest.err | |
3930 rm -f conftest.er1 | |
3931 cat conftest.err >&5 | |
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3933 (exit $ac_status); } && | |
3934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3935 { (case "(($ac_try" in | |
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3937 *) ac_try_echo=$ac_try;; | |
3938 esac | |
3939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3940 (eval "$ac_try") 2>&5 | |
3941 ac_status=$? | |
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3943 (exit $ac_status); }; } && | |
3944 { ac_try='test -s conftest.$ac_objext' | |
3945 { (case "(($ac_try" in | |
3946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3947 *) ac_try_echo=$ac_try;; | |
3948 esac | |
3949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3950 (eval "$ac_try") 2>&5 | |
3951 ac_status=$? | |
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3953 (exit $ac_status); }; }; then | |
3954 : | |
3955 else | |
3956 echo "$as_me: failed program was:" >&5 | |
3957 sed 's/^/| /' conftest.$ac_ext >&5 | |
3958 | |
3959 ac_c_werror_flag=$ac_save_c_werror_flag | |
3960 CFLAGS="-g" | |
3961 cat >conftest.$ac_ext <<_ACEOF | |
3962 /* confdefs.h. */ | |
3963 _ACEOF | |
3964 cat confdefs.h >>conftest.$ac_ext | |
3965 cat >>conftest.$ac_ext <<_ACEOF | |
3966 /* end confdefs.h. */ | |
3967 | |
3968 int | |
3969 main () | |
3970 { | |
3971 | |
3972 ; | |
3973 return 0; | |
3974 } | |
3975 _ACEOF | |
3976 rm -f conftest.$ac_objext | |
3977 if { (ac_try="$ac_compile" | |
3978 case "(($ac_try" in | |
3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3980 *) ac_try_echo=$ac_try;; | |
3981 esac | |
3982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3983 (eval "$ac_compile") 2>conftest.er1 | |
3984 ac_status=$? | |
3985 grep -v '^ *+' conftest.er1 >conftest.err | |
3986 rm -f conftest.er1 | |
3987 cat conftest.err >&5 | |
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3989 (exit $ac_status); } && | |
3990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
3991 { (case "(($ac_try" in | |
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
3993 *) ac_try_echo=$ac_try;; | |
3994 esac | |
3995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
3996 (eval "$ac_try") 2>&5 | |
3997 ac_status=$? | |
3998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3999 (exit $ac_status); }; } && | |
4000 { ac_try='test -s conftest.$ac_objext' | |
4001 { (case "(($ac_try" in | |
4002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4003 *) ac_try_echo=$ac_try;; | |
4004 esac | |
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4006 (eval "$ac_try") 2>&5 | |
4007 ac_status=$? | |
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
4009 (exit $ac_status); }; }; then | |
4010 ac_cv_prog_cc_g=yes | |
4011 else | |
4012 echo "$as_me: failed program was:" >&5 | |
4013 sed 's/^/| /' conftest.$ac_ext >&5 | |
4014 | |
4015 | |
4016 fi | |
4017 | |
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4019 fi | |
4020 | |
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4022 fi | |
4023 | |
4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4025 ac_c_werror_flag=$ac_save_c_werror_flag | |
4026 fi | |
4027 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | |
4028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } | |
3374 if test "$ac_test_CFLAGS" = set; then | 4029 if test "$ac_test_CFLAGS" = set; then |
3375 CFLAGS=$ac_save_CFLAGS | 4030 CFLAGS=$ac_save_CFLAGS |
3376 elif test $ac_cv_prog_cc_g = yes; then | 4031 elif test $ac_cv_prog_cc_g = yes; then |
3377 if test "$GCC" = yes; then | 4032 if test "$GCC" = yes; then |
3378 CFLAGS="-g -O2" | 4033 CFLAGS="-g -O2" |
3384 CFLAGS="-O2" | 4039 CFLAGS="-O2" |
3385 else | 4040 else |
3386 CFLAGS= | 4041 CFLAGS= |
3387 fi | 4042 fi |
3388 fi | 4043 fi |
3389 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 4044 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
3390 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 4045 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } |
3391 if test "${ac_cv_prog_cc_stdc+set}" = set; then | 4046 if test "${ac_cv_prog_cc_c89+set}" = set; then |
3392 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4047 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3393 else | 4048 else |
3394 ac_cv_prog_cc_stdc=no | 4049 ac_cv_prog_cc_c89=no |
3395 ac_save_CC=$CC | 4050 ac_save_CC=$CC |
3396 cat >conftest.$ac_ext <<_ACEOF | 4051 cat >conftest.$ac_ext <<_ACEOF |
3397 /* confdefs.h. */ | 4052 /* confdefs.h. */ |
3398 _ACEOF | 4053 _ACEOF |
3399 cat confdefs.h >>conftest.$ac_ext | 4054 cat confdefs.h >>conftest.$ac_ext |
3423 } | 4078 } |
3424 | 4079 |
3425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 4080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3426 function prototypes and stuff, but not '\xHH' hex character constants. | 4081 function prototypes and stuff, but not '\xHH' hex character constants. |
3427 These don't provoke an error unfortunately, instead are silently treated | 4082 These don't provoke an error unfortunately, instead are silently treated |
3428 as 'x'. The following induces an error, until -std1 is added to get | 4083 as 'x'. The following induces an error, until -std is added to get |
3429 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 4084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3430 array size at least. It's necessary to write '\x00'==0 to get something | 4085 array size at least. It's necessary to write '\x00'==0 to get something |
3431 that's true only with -std1. */ | 4086 that's true only with -std. */ |
3432 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 4087 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4088 | |
4089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
4090 inside strings and character constants. */ | |
4091 #define FOO(x) 'x' | |
4092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
3433 | 4093 |
3434 int test (int i, double x); | 4094 int test (int i, double x); |
3435 struct s1 {int (*f) (int a);}; | 4095 struct s1 {int (*f) (int a);}; |
3436 struct s2 {int (*f) (double a);}; | 4096 struct s2 {int (*f) (double a);}; |
3437 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 4097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3443 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 4103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3444 ; | 4104 ; |
3445 return 0; | 4105 return 0; |
3446 } | 4106 } |
3447 _ACEOF | 4107 _ACEOF |
3448 # Don't try gcc -ansi; that turns off useful extensions and | 4108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3449 # breaks some systems' header files. | 4109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3450 # AIX -qlanglvl=ansi | |
3451 # Ultrix and OSF/1 -std1 | |
3452 # HP-UX 10.20 and later -Ae | |
3453 # HP-UX older versions -Aa -D_HPUX_SOURCE | |
3454 # SVR4 -Xc -D__EXTENSIONS__ | |
3455 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
3456 do | 4110 do |
3457 CC="$ac_save_CC $ac_arg" | 4111 CC="$ac_save_CC $ac_arg" |
3458 rm -f conftest.$ac_objext | 4112 rm -f conftest.$ac_objext |
3459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4113 if { (ac_try="$ac_compile" |
3460 (eval $ac_compile) 2>conftest.er1 | 4114 case "(($ac_try" in |
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4116 *) ac_try_echo=$ac_try;; | |
4117 esac | |
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4119 (eval "$ac_compile") 2>conftest.er1 | |
3461 ac_status=$? | 4120 ac_status=$? |
3462 grep -v '^ *+' conftest.er1 >conftest.err | 4121 grep -v '^ *+' conftest.er1 >conftest.err |
3463 rm -f conftest.er1 | 4122 rm -f conftest.er1 |
3464 cat conftest.err >&5 | 4123 cat conftest.err >&5 |
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3466 (exit $ac_status); } && | 4125 (exit $ac_status); } && |
3467 { ac_try='test -z "$ac_c_werror_flag" | 4126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
3468 || test ! -s conftest.err' | 4127 { (case "(($ac_try" in |
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3470 (eval $ac_try) 2>&5 | 4129 *) ac_try_echo=$ac_try;; |
4130 esac | |
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4132 (eval "$ac_try") 2>&5 | |
3471 ac_status=$? | 4133 ac_status=$? |
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3473 (exit $ac_status); }; } && | 4135 (exit $ac_status); }; } && |
3474 { ac_try='test -s conftest.$ac_objext' | 4136 { ac_try='test -s conftest.$ac_objext' |
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4137 { (case "(($ac_try" in |
3476 (eval $ac_try) 2>&5 | 4138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4139 *) ac_try_echo=$ac_try;; | |
4140 esac | |
4141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4142 (eval "$ac_try") 2>&5 | |
3477 ac_status=$? | 4143 ac_status=$? |
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3479 (exit $ac_status); }; }; then | 4145 (exit $ac_status); }; }; then |
3480 ac_cv_prog_cc_stdc=$ac_arg | 4146 ac_cv_prog_cc_c89=$ac_arg |
3481 break | |
3482 else | 4147 else |
3483 echo "$as_me: failed program was:" >&5 | 4148 echo "$as_me: failed program was:" >&5 |
3484 sed 's/^/| /' conftest.$ac_ext >&5 | 4149 sed 's/^/| /' conftest.$ac_ext >&5 |
3485 | 4150 |
3486 fi | 4151 |
3487 rm -f conftest.err conftest.$ac_objext | 4152 fi |
4153 | |
4154 rm -f core conftest.err conftest.$ac_objext | |
4155 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
3488 done | 4156 done |
3489 rm -f conftest.$ac_ext conftest.$ac_objext | 4157 rm -f conftest.$ac_ext |
3490 CC=$ac_save_CC | 4158 CC=$ac_save_CC |
3491 | 4159 |
3492 fi | 4160 fi |
3493 | 4161 # AC_CACHE_VAL |
3494 case "x$ac_cv_prog_cc_stdc" in | 4162 case "x$ac_cv_prog_cc_c89" in |
3495 x|xno) | 4163 x) |
3496 echo "$as_me:$LINENO: result: none needed" >&5 | 4164 { echo "$as_me:$LINENO: result: none needed" >&5 |
3497 echo "${ECHO_T}none needed" >&6 ;; | 4165 echo "${ECHO_T}none needed" >&6; } ;; |
4166 xno) | |
4167 { echo "$as_me:$LINENO: result: unsupported" >&5 | |
4168 echo "${ECHO_T}unsupported" >&6; } ;; | |
3498 *) | 4169 *) |
3499 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 4170 CC="$CC $ac_cv_prog_cc_c89" |
3500 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 4171 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
3501 CC="$CC $ac_cv_prog_cc_stdc" ;; | 4172 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; |
3502 esac | 4173 esac |
3503 | 4174 |
3504 # Some people use a C++ compiler to compile C. Since we use `exit', | 4175 |
3505 # in C++ we need to declare it. In case someone uses the same compiler | |
3506 # for both compiling C and C++ we need to have the C++ compiler decide | |
3507 # the declaration of exit, since it's the most demanding environment. | |
3508 cat >conftest.$ac_ext <<_ACEOF | |
3509 #ifndef __cplusplus | |
3510 choke me | |
3511 #endif | |
3512 _ACEOF | |
3513 rm -f conftest.$ac_objext | |
3514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3515 (eval $ac_compile) 2>conftest.er1 | |
3516 ac_status=$? | |
3517 grep -v '^ *+' conftest.er1 >conftest.err | |
3518 rm -f conftest.er1 | |
3519 cat conftest.err >&5 | |
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3521 (exit $ac_status); } && | |
3522 { ac_try='test -z "$ac_c_werror_flag" | |
3523 || test ! -s conftest.err' | |
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3525 (eval $ac_try) 2>&5 | |
3526 ac_status=$? | |
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3528 (exit $ac_status); }; } && | |
3529 { ac_try='test -s conftest.$ac_objext' | |
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3531 (eval $ac_try) 2>&5 | |
3532 ac_status=$? | |
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3534 (exit $ac_status); }; }; then | |
3535 for ac_declaration in \ | |
3536 '' \ | |
3537 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
3538 'extern "C" void std::exit (int); using std::exit;' \ | |
3539 'extern "C" void exit (int) throw ();' \ | |
3540 'extern "C" void exit (int);' \ | |
3541 'void exit (int);' | |
3542 do | |
3543 cat >conftest.$ac_ext <<_ACEOF | |
3544 /* confdefs.h. */ | |
3545 _ACEOF | |
3546 cat confdefs.h >>conftest.$ac_ext | |
3547 cat >>conftest.$ac_ext <<_ACEOF | |
3548 /* end confdefs.h. */ | |
3549 $ac_declaration | |
3550 #include <stdlib.h> | |
3551 int | |
3552 main () | |
3553 { | |
3554 exit (42); | |
3555 ; | |
3556 return 0; | |
3557 } | |
3558 _ACEOF | |
3559 rm -f conftest.$ac_objext | |
3560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3561 (eval $ac_compile) 2>conftest.er1 | |
3562 ac_status=$? | |
3563 grep -v '^ *+' conftest.er1 >conftest.err | |
3564 rm -f conftest.er1 | |
3565 cat conftest.err >&5 | |
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3567 (exit $ac_status); } && | |
3568 { ac_try='test -z "$ac_c_werror_flag" | |
3569 || test ! -s conftest.err' | |
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3571 (eval $ac_try) 2>&5 | |
3572 ac_status=$? | |
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3574 (exit $ac_status); }; } && | |
3575 { ac_try='test -s conftest.$ac_objext' | |
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3577 (eval $ac_try) 2>&5 | |
3578 ac_status=$? | |
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3580 (exit $ac_status); }; }; then | |
3581 : | |
3582 else | |
3583 echo "$as_me: failed program was:" >&5 | |
3584 sed 's/^/| /' conftest.$ac_ext >&5 | |
3585 | |
3586 continue | |
3587 fi | |
3588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
3589 cat >conftest.$ac_ext <<_ACEOF | |
3590 /* confdefs.h. */ | |
3591 _ACEOF | |
3592 cat confdefs.h >>conftest.$ac_ext | |
3593 cat >>conftest.$ac_ext <<_ACEOF | |
3594 /* end confdefs.h. */ | |
3595 $ac_declaration | |
3596 int | |
3597 main () | |
3598 { | |
3599 exit (42); | |
3600 ; | |
3601 return 0; | |
3602 } | |
3603 _ACEOF | |
3604 rm -f conftest.$ac_objext | |
3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | |
3606 (eval $ac_compile) 2>conftest.er1 | |
3607 ac_status=$? | |
3608 grep -v '^ *+' conftest.er1 >conftest.err | |
3609 rm -f conftest.er1 | |
3610 cat conftest.err >&5 | |
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3612 (exit $ac_status); } && | |
3613 { ac_try='test -z "$ac_c_werror_flag" | |
3614 || test ! -s conftest.err' | |
3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3616 (eval $ac_try) 2>&5 | |
3617 ac_status=$? | |
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3619 (exit $ac_status); }; } && | |
3620 { ac_try='test -s conftest.$ac_objext' | |
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | |
3622 (eval $ac_try) 2>&5 | |
3623 ac_status=$? | |
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
3625 (exit $ac_status); }; }; then | |
3626 break | |
3627 else | |
3628 echo "$as_me: failed program was:" >&5 | |
3629 sed 's/^/| /' conftest.$ac_ext >&5 | |
3630 | |
3631 fi | |
3632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
3633 done | |
3634 rm -f conftest* | |
3635 if test -n "$ac_declaration"; then | |
3636 echo '#ifdef __cplusplus' >>confdefs.h | |
3637 echo $ac_declaration >>confdefs.h | |
3638 echo '#endif' >>confdefs.h | |
3639 fi | |
3640 | |
3641 else | |
3642 echo "$as_me: failed program was:" >&5 | |
3643 sed 's/^/| /' conftest.$ac_ext >&5 | |
3644 | |
3645 fi | |
3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | |
3647 ac_ext=c | 4176 ac_ext=c |
3648 ac_cpp='$CPP $CPPFLAGS' | 4177 ac_cpp='$CPP $CPPFLAGS' |
3649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3651 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4180 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3687 ac_ext=c | 4216 ac_ext=c |
3688 ac_cpp='$CPP $CPPFLAGS' | 4217 ac_cpp='$CPP $CPPFLAGS' |
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4220 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3692 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4221 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3693 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 4222 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
3694 # On Suns, sometimes $CPP names a directory. | 4223 # On Suns, sometimes $CPP names a directory. |
3695 if test -n "$CPP" && test -d "$CPP"; then | 4224 if test -n "$CPP" && test -d "$CPP"; then |
3696 CPP= | 4225 CPP= |
3697 fi | 4226 fi |
3698 if test -z "$CPP"; then | 4227 if test -z "$CPP"; then |
3722 #else | 4251 #else |
3723 # include <assert.h> | 4252 # include <assert.h> |
3724 #endif | 4253 #endif |
3725 Syntax error | 4254 Syntax error |
3726 _ACEOF | 4255 _ACEOF |
3727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4256 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4257 case "(($ac_try" in |
4258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4259 *) ac_try_echo=$ac_try;; | |
4260 esac | |
4261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3729 ac_status=$? | 4263 ac_status=$? |
3730 grep -v '^ *+' conftest.er1 >conftest.err | 4264 grep -v '^ *+' conftest.er1 >conftest.err |
3731 rm -f conftest.er1 | 4265 rm -f conftest.er1 |
3732 cat conftest.err >&5 | 4266 cat conftest.err >&5 |
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3748 sed 's/^/| /' conftest.$ac_ext >&5 | 4282 sed 's/^/| /' conftest.$ac_ext >&5 |
3749 | 4283 |
3750 # Broken: fails on valid input. | 4284 # Broken: fails on valid input. |
3751 continue | 4285 continue |
3752 fi | 4286 fi |
4287 | |
3753 rm -f conftest.err conftest.$ac_ext | 4288 rm -f conftest.err conftest.$ac_ext |
3754 | 4289 |
3755 # OK, works on sane cases. Now check whether non-existent headers | 4290 # OK, works on sane cases. Now check whether nonexistent headers |
3756 # can be detected and how. | 4291 # can be detected and how. |
3757 cat >conftest.$ac_ext <<_ACEOF | 4292 cat >conftest.$ac_ext <<_ACEOF |
3758 /* confdefs.h. */ | 4293 /* confdefs.h. */ |
3759 _ACEOF | 4294 _ACEOF |
3760 cat confdefs.h >>conftest.$ac_ext | 4295 cat confdefs.h >>conftest.$ac_ext |
3761 cat >>conftest.$ac_ext <<_ACEOF | 4296 cat >>conftest.$ac_ext <<_ACEOF |
3762 /* end confdefs.h. */ | 4297 /* end confdefs.h. */ |
3763 #include <ac_nonexistent.h> | 4298 #include <ac_nonexistent.h> |
3764 _ACEOF | 4299 _ACEOF |
3765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4300 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3766 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4301 case "(($ac_try" in |
4302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4303 *) ac_try_echo=$ac_try;; | |
4304 esac | |
4305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3767 ac_status=$? | 4307 ac_status=$? |
3768 grep -v '^ *+' conftest.er1 >conftest.err | 4308 grep -v '^ *+' conftest.er1 >conftest.err |
3769 rm -f conftest.er1 | 4309 rm -f conftest.er1 |
3770 cat conftest.err >&5 | 4310 cat conftest.err >&5 |
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3788 | 4328 |
3789 # Passes both tests. | 4329 # Passes both tests. |
3790 ac_preproc_ok=: | 4330 ac_preproc_ok=: |
3791 break | 4331 break |
3792 fi | 4332 fi |
4333 | |
3793 rm -f conftest.err conftest.$ac_ext | 4334 rm -f conftest.err conftest.$ac_ext |
3794 | 4335 |
3795 done | 4336 done |
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3797 rm -f conftest.err conftest.$ac_ext | 4338 rm -f conftest.err conftest.$ac_ext |
3805 fi | 4346 fi |
3806 CPP=$ac_cv_prog_CPP | 4347 CPP=$ac_cv_prog_CPP |
3807 else | 4348 else |
3808 ac_cv_prog_CPP=$CPP | 4349 ac_cv_prog_CPP=$CPP |
3809 fi | 4350 fi |
3810 echo "$as_me:$LINENO: result: $CPP" >&5 | 4351 { echo "$as_me:$LINENO: result: $CPP" >&5 |
3811 echo "${ECHO_T}$CPP" >&6 | 4352 echo "${ECHO_T}$CPP" >&6; } |
3812 ac_preproc_ok=false | 4353 ac_preproc_ok=false |
3813 for ac_c_preproc_warn_flag in '' yes | 4354 for ac_c_preproc_warn_flag in '' yes |
3814 do | 4355 do |
3815 # Use a header file that comes with gcc, so configuring glibc | 4356 # Use a header file that comes with gcc, so configuring glibc |
3816 # with a fresh cross-compiler works. | 4357 # with a fresh cross-compiler works. |
3829 #else | 4370 #else |
3830 # include <assert.h> | 4371 # include <assert.h> |
3831 #endif | 4372 #endif |
3832 Syntax error | 4373 Syntax error |
3833 _ACEOF | 4374 _ACEOF |
3834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4375 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4376 case "(($ac_try" in |
4377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4378 *) ac_try_echo=$ac_try;; | |
4379 esac | |
4380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3836 ac_status=$? | 4382 ac_status=$? |
3837 grep -v '^ *+' conftest.er1 >conftest.err | 4383 grep -v '^ *+' conftest.er1 >conftest.err |
3838 rm -f conftest.er1 | 4384 rm -f conftest.er1 |
3839 cat conftest.err >&5 | 4385 cat conftest.err >&5 |
3840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3855 sed 's/^/| /' conftest.$ac_ext >&5 | 4401 sed 's/^/| /' conftest.$ac_ext >&5 |
3856 | 4402 |
3857 # Broken: fails on valid input. | 4403 # Broken: fails on valid input. |
3858 continue | 4404 continue |
3859 fi | 4405 fi |
4406 | |
3860 rm -f conftest.err conftest.$ac_ext | 4407 rm -f conftest.err conftest.$ac_ext |
3861 | 4408 |
3862 # OK, works on sane cases. Now check whether non-existent headers | 4409 # OK, works on sane cases. Now check whether nonexistent headers |
3863 # can be detected and how. | 4410 # can be detected and how. |
3864 cat >conftest.$ac_ext <<_ACEOF | 4411 cat >conftest.$ac_ext <<_ACEOF |
3865 /* confdefs.h. */ | 4412 /* confdefs.h. */ |
3866 _ACEOF | 4413 _ACEOF |
3867 cat confdefs.h >>conftest.$ac_ext | 4414 cat confdefs.h >>conftest.$ac_ext |
3868 cat >>conftest.$ac_ext <<_ACEOF | 4415 cat >>conftest.$ac_ext <<_ACEOF |
3869 /* end confdefs.h. */ | 4416 /* end confdefs.h. */ |
3870 #include <ac_nonexistent.h> | 4417 #include <ac_nonexistent.h> |
3871 _ACEOF | 4418 _ACEOF |
3872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4419 if { (ac_try="$ac_cpp conftest.$ac_ext" |
3873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4420 case "(($ac_try" in |
4421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4422 *) ac_try_echo=$ac_try;; | |
4423 esac | |
4424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
3874 ac_status=$? | 4426 ac_status=$? |
3875 grep -v '^ *+' conftest.er1 >conftest.err | 4427 grep -v '^ *+' conftest.er1 >conftest.err |
3876 rm -f conftest.er1 | 4428 rm -f conftest.er1 |
3877 cat conftest.err >&5 | 4429 cat conftest.err >&5 |
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3895 | 4447 |
3896 # Passes both tests. | 4448 # Passes both tests. |
3897 ac_preproc_ok=: | 4449 ac_preproc_ok=: |
3898 break | 4450 break |
3899 fi | 4451 fi |
4452 | |
3900 rm -f conftest.err conftest.$ac_ext | 4453 rm -f conftest.err conftest.$ac_ext |
3901 | 4454 |
3902 done | 4455 done |
3903 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3904 rm -f conftest.err conftest.$ac_ext | 4457 rm -f conftest.err conftest.$ac_ext |
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4472 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3920 | 4473 |
3921 | 4474 |
3922 echo "$as_me:$LINENO: checking for egrep" >&5 | 4475 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
3923 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 4476 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } |
3924 if test "${ac_cv_prog_egrep+set}" = set; then | 4477 if test "${ac_cv_path_GREP+set}" = set; then |
3925 echo $ECHO_N "(cached) $ECHO_C" >&6 | 4478 echo $ECHO_N "(cached) $ECHO_C" >&6 |
3926 else | 4479 else |
3927 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 4480 # Extract the first word of "grep ggrep" to use in msg output |
3928 then ac_cv_prog_egrep='grep -E' | 4481 if test -z "$GREP"; then |
3929 else ac_cv_prog_egrep='egrep' | 4482 set dummy grep ggrep; ac_prog_name=$2 |
4483 if test "${ac_cv_path_GREP+set}" = set; then | |
4484 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4485 else | |
4486 ac_path_GREP_found=false | |
4487 # Loop through the user's path and test for each of PROGNAME-LIST | |
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4489 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4490 do | |
4491 IFS=$as_save_IFS | |
4492 test -z "$as_dir" && as_dir=. | |
4493 for ac_prog in grep ggrep; do | |
4494 for ac_exec_ext in '' $ac_executable_extensions; do | |
4495 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
4496 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue | |
4497 # Check for GNU ac_path_GREP and select it if it is found. | |
4498 # Check for GNU $ac_path_GREP | |
4499 case `"$ac_path_GREP" --version 2>&1` in | |
4500 *GNU*) | |
4501 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
4502 *) | |
4503 ac_count=0 | |
4504 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
4505 while : | |
4506 do | |
4507 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4508 mv "conftest.tmp" "conftest.in" | |
4509 cp "conftest.in" "conftest.nl" | |
4510 echo 'GREP' >> "conftest.nl" | |
4511 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4513 ac_count=`expr $ac_count + 1` | |
4514 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
4515 # Best one so far, save it but keep looking for a better one | |
4516 ac_cv_path_GREP="$ac_path_GREP" | |
4517 ac_path_GREP_max=$ac_count | |
3930 fi | 4518 fi |
3931 fi | 4519 # 10*(2^10) chars as input seems more than enough |
3932 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 4520 test $ac_count -gt 10 && break |
3933 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 4521 done |
3934 EGREP=$ac_cv_prog_egrep | 4522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
3935 | 4523 esac |
3936 | 4524 |
3937 | 4525 |
3938 echo "$as_me:$LINENO: checking for AIX" >&5 | 4526 $ac_path_GREP_found && break 3 |
3939 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 | 4527 done |
4528 done | |
4529 | |
4530 done | |
4531 IFS=$as_save_IFS | |
4532 | |
4533 | |
4534 fi | |
4535 | |
4536 GREP="$ac_cv_path_GREP" | |
4537 if test -z "$GREP"; then | |
4538 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
4539 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4540 { (exit 1); exit 1; }; } | |
4541 fi | |
4542 | |
4543 else | |
4544 ac_cv_path_GREP=$GREP | |
4545 fi | |
4546 | |
4547 | |
4548 fi | |
4549 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 | |
4550 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } | |
4551 GREP="$ac_cv_path_GREP" | |
4552 | |
4553 | |
4554 { echo "$as_me:$LINENO: checking for egrep" >&5 | |
4555 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } | |
4556 if test "${ac_cv_path_EGREP+set}" = set; then | |
4557 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4558 else | |
4559 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
4560 then ac_cv_path_EGREP="$GREP -E" | |
4561 else | |
4562 # Extract the first word of "egrep" to use in msg output | |
4563 if test -z "$EGREP"; then | |
4564 set dummy egrep; ac_prog_name=$2 | |
4565 if test "${ac_cv_path_EGREP+set}" = set; then | |
4566 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
4567 else | |
4568 ac_path_EGREP_found=false | |
4569 # Loop through the user's path and test for each of PROGNAME-LIST | |
4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
4571 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
4572 do | |
4573 IFS=$as_save_IFS | |
4574 test -z "$as_dir" && as_dir=. | |
4575 for ac_prog in egrep; do | |
4576 for ac_exec_ext in '' $ac_executable_extensions; do | |
4577 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
4578 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue | |
4579 # Check for GNU ac_path_EGREP and select it if it is found. | |
4580 # Check for GNU $ac_path_EGREP | |
4581 case `"$ac_path_EGREP" --version 2>&1` in | |
4582 *GNU*) | |
4583 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
4584 *) | |
4585 ac_count=0 | |
4586 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" | |
4587 while : | |
4588 do | |
4589 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
4590 mv "conftest.tmp" "conftest.in" | |
4591 cp "conftest.in" "conftest.nl" | |
4592 echo 'EGREP' >> "conftest.nl" | |
4593 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
4594 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
4595 ac_count=`expr $ac_count + 1` | |
4596 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
4597 # Best one so far, save it but keep looking for a better one | |
4598 ac_cv_path_EGREP="$ac_path_EGREP" | |
4599 ac_path_EGREP_max=$ac_count | |
4600 fi | |
4601 # 10*(2^10) chars as input seems more than enough | |
4602 test $ac_count -gt 10 && break | |
4603 done | |
4604 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
4605 esac | |
4606 | |
4607 | |
4608 $ac_path_EGREP_found && break 3 | |
4609 done | |
4610 done | |
4611 | |
4612 done | |
4613 IFS=$as_save_IFS | |
4614 | |
4615 | |
4616 fi | |
4617 | |
4618 EGREP="$ac_cv_path_EGREP" | |
4619 if test -z "$EGREP"; then | |
4620 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 | |
4621 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} | |
4622 { (exit 1); exit 1; }; } | |
4623 fi | |
4624 | |
4625 else | |
4626 ac_cv_path_EGREP=$EGREP | |
4627 fi | |
4628 | |
4629 | |
4630 fi | |
4631 fi | |
4632 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 | |
4633 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } | |
4634 EGREP="$ac_cv_path_EGREP" | |
4635 | |
4636 | |
4637 | |
4638 { echo "$as_me:$LINENO: checking for AIX" >&5 | |
4639 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } | |
3940 cat >conftest.$ac_ext <<_ACEOF | 4640 cat >conftest.$ac_ext <<_ACEOF |
3941 /* confdefs.h. */ | 4641 /* confdefs.h. */ |
3942 _ACEOF | 4642 _ACEOF |
3943 cat confdefs.h >>conftest.$ac_ext | 4643 cat confdefs.h >>conftest.$ac_ext |
3944 cat >>conftest.$ac_ext <<_ACEOF | 4644 cat >>conftest.$ac_ext <<_ACEOF |
3948 #endif | 4648 #endif |
3949 | 4649 |
3950 _ACEOF | 4650 _ACEOF |
3951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3952 $EGREP "yes" >/dev/null 2>&1; then | 4652 $EGREP "yes" >/dev/null 2>&1; then |
3953 echo "$as_me:$LINENO: result: yes" >&5 | 4653 { echo "$as_me:$LINENO: result: yes" >&5 |
3954 echo "${ECHO_T}yes" >&6 | 4654 echo "${ECHO_T}yes" >&6; } |
3955 cat >>confdefs.h <<\_ACEOF | 4655 cat >>confdefs.h <<\_ACEOF |
3956 #define _ALL_SOURCE 1 | 4656 #define _ALL_SOURCE 1 |
3957 _ACEOF | 4657 _ACEOF |
3958 | 4658 |
3959 else | 4659 else |
3960 echo "$as_me:$LINENO: result: no" >&5 | 4660 { echo "$as_me:$LINENO: result: no" >&5 |
3961 echo "${ECHO_T}no" >&6 | 4661 echo "${ECHO_T}no" >&6; } |
3962 fi | 4662 fi |
3963 rm -f conftest* | 4663 rm -f conftest* |
3964 | 4664 |
3965 | 4665 |
3966 | 4666 |
3969 _ACEOF | 4669 _ACEOF |
3970 | 4670 |
3971 | 4671 |
3972 | 4672 |
3973 ### Use -Wno-pointer-sign if the compiler supports it | 4673 ### Use -Wno-pointer-sign if the compiler supports it |
3974 echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 | 4674 { echo "$as_me:$LINENO: checking whether gcc understands -Wno-pointer-sign" >&5 |
3975 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6 | 4675 echo $ECHO_N "checking whether gcc understands -Wno-pointer-sign... $ECHO_C" >&6; } |
3976 SAVE_CFLAGS="$CFLAGS" | 4676 SAVE_CFLAGS="$CFLAGS" |
3977 CFLAGS="$CFLAGS -Wno-pointer-sign" | 4677 CFLAGS="$CFLAGS -Wno-pointer-sign" |
3978 cat >conftest.$ac_ext <<_ACEOF | 4678 cat >conftest.$ac_ext <<_ACEOF |
3979 /* confdefs.h. */ | 4679 /* confdefs.h. */ |
3980 _ACEOF | 4680 _ACEOF |
3989 ; | 4689 ; |
3990 return 0; | 4690 return 0; |
3991 } | 4691 } |
3992 _ACEOF | 4692 _ACEOF |
3993 rm -f conftest.$ac_objext | 4693 rm -f conftest.$ac_objext |
3994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4694 if { (ac_try="$ac_compile" |
3995 (eval $ac_compile) 2>conftest.er1 | 4695 case "(($ac_try" in |
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4697 *) ac_try_echo=$ac_try;; | |
4698 esac | |
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4700 (eval "$ac_compile") 2>conftest.er1 | |
3996 ac_status=$? | 4701 ac_status=$? |
3997 grep -v '^ *+' conftest.er1 >conftest.err | 4702 grep -v '^ *+' conftest.er1 >conftest.err |
3998 rm -f conftest.er1 | 4703 rm -f conftest.er1 |
3999 cat conftest.err >&5 | 4704 cat conftest.err >&5 |
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4001 (exit $ac_status); } && | 4706 (exit $ac_status); } && |
4002 { ac_try='test -z "$ac_c_werror_flag" | 4707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4003 || test ! -s conftest.err' | 4708 { (case "(($ac_try" in |
4004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4005 (eval $ac_try) 2>&5 | 4710 *) ac_try_echo=$ac_try;; |
4711 esac | |
4712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4713 (eval "$ac_try") 2>&5 | |
4006 ac_status=$? | 4714 ac_status=$? |
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4008 (exit $ac_status); }; } && | 4716 (exit $ac_status); }; } && |
4009 { ac_try='test -s conftest.$ac_objext' | 4717 { ac_try='test -s conftest.$ac_objext' |
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 4718 { (case "(($ac_try" in |
4011 (eval $ac_try) 2>&5 | 4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4720 *) ac_try_echo=$ac_try;; | |
4721 esac | |
4722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4723 (eval "$ac_try") 2>&5 | |
4012 ac_status=$? | 4724 ac_status=$? |
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4014 (exit $ac_status); }; }; then | 4726 (exit $ac_status); }; }; then |
4015 has_option=yes | 4727 has_option=yes |
4016 else | 4728 else |
4017 echo "$as_me: failed program was:" >&5 | 4729 echo "$as_me: failed program was:" >&5 |
4018 sed 's/^/| /' conftest.$ac_ext >&5 | 4730 sed 's/^/| /' conftest.$ac_ext >&5 |
4019 | 4731 |
4020 has_option=no | 4732 has_option=no |
4021 fi | 4733 fi |
4022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 4734 |
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4023 if test $has_option = yes; then | 4736 if test $has_option = yes; then |
4024 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" | 4737 C_WARNINGS_SWITCH="-Wno-pointer-sign $C_WARNINGS_SWITCH" |
4025 fi | 4738 fi |
4026 echo "$as_me:$LINENO: result: $has_option" >&5 | 4739 { echo "$as_me:$LINENO: result: $has_option" >&5 |
4027 echo "${ECHO_T}$has_option" >&6 | 4740 echo "${ECHO_T}$has_option" >&6; } |
4028 CFLAGS="$SAVE_CFLAGS" | 4741 CFLAGS="$SAVE_CFLAGS" |
4029 unset has_option | 4742 unset has_option |
4030 unset SAVE_CFLAGS | 4743 unset SAVE_CFLAGS |
4031 | 4744 |
4032 #### Some other nice autoconf tests. | 4745 #### Some other nice autoconf tests. |
4033 | 4746 |
4034 echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 4747 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
4035 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 4748 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } |
4036 LN_S=$as_ln_s | 4749 LN_S=$as_ln_s |
4037 if test "$LN_S" = "ln -s"; then | 4750 if test "$LN_S" = "ln -s"; then |
4038 echo "$as_me:$LINENO: result: yes" >&5 | 4751 { echo "$as_me:$LINENO: result: yes" >&5 |
4039 echo "${ECHO_T}yes" >&6 | 4752 echo "${ECHO_T}yes" >&6; } |
4040 else | 4753 else |
4041 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 4754 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
4042 echo "${ECHO_T}no, using $LN_S" >&6 | 4755 echo "${ECHO_T}no, using $LN_S" >&6; } |
4043 fi | 4756 fi |
4044 | 4757 |
4045 ac_ext=c | 4758 ac_ext=c |
4046 ac_cpp='$CPP $CPPFLAGS' | 4759 ac_cpp='$CPP $CPPFLAGS' |
4047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4049 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4762 ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4050 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 4763 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
4051 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 4764 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } |
4052 # On Suns, sometimes $CPP names a directory. | 4765 # On Suns, sometimes $CPP names a directory. |
4053 if test -n "$CPP" && test -d "$CPP"; then | 4766 if test -n "$CPP" && test -d "$CPP"; then |
4054 CPP= | 4767 CPP= |
4055 fi | 4768 fi |
4056 if test -z "$CPP"; then | 4769 if test -z "$CPP"; then |
4080 #else | 4793 #else |
4081 # include <assert.h> | 4794 # include <assert.h> |
4082 #endif | 4795 #endif |
4083 Syntax error | 4796 Syntax error |
4084 _ACEOF | 4797 _ACEOF |
4085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4798 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4799 case "(($ac_try" in |
4800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4801 *) ac_try_echo=$ac_try;; | |
4802 esac | |
4803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4087 ac_status=$? | 4805 ac_status=$? |
4088 grep -v '^ *+' conftest.er1 >conftest.err | 4806 grep -v '^ *+' conftest.er1 >conftest.err |
4089 rm -f conftest.er1 | 4807 rm -f conftest.er1 |
4090 cat conftest.err >&5 | 4808 cat conftest.err >&5 |
4091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4106 sed 's/^/| /' conftest.$ac_ext >&5 | 4824 sed 's/^/| /' conftest.$ac_ext >&5 |
4107 | 4825 |
4108 # Broken: fails on valid input. | 4826 # Broken: fails on valid input. |
4109 continue | 4827 continue |
4110 fi | 4828 fi |
4829 | |
4111 rm -f conftest.err conftest.$ac_ext | 4830 rm -f conftest.err conftest.$ac_ext |
4112 | 4831 |
4113 # OK, works on sane cases. Now check whether non-existent headers | 4832 # OK, works on sane cases. Now check whether nonexistent headers |
4114 # can be detected and how. | 4833 # can be detected and how. |
4115 cat >conftest.$ac_ext <<_ACEOF | 4834 cat >conftest.$ac_ext <<_ACEOF |
4116 /* confdefs.h. */ | 4835 /* confdefs.h. */ |
4117 _ACEOF | 4836 _ACEOF |
4118 cat confdefs.h >>conftest.$ac_ext | 4837 cat confdefs.h >>conftest.$ac_ext |
4119 cat >>conftest.$ac_ext <<_ACEOF | 4838 cat >>conftest.$ac_ext <<_ACEOF |
4120 /* end confdefs.h. */ | 4839 /* end confdefs.h. */ |
4121 #include <ac_nonexistent.h> | 4840 #include <ac_nonexistent.h> |
4122 _ACEOF | 4841 _ACEOF |
4123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4842 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4843 case "(($ac_try" in |
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4845 *) ac_try_echo=$ac_try;; | |
4846 esac | |
4847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4125 ac_status=$? | 4849 ac_status=$? |
4126 grep -v '^ *+' conftest.er1 >conftest.err | 4850 grep -v '^ *+' conftest.er1 >conftest.err |
4127 rm -f conftest.er1 | 4851 rm -f conftest.er1 |
4128 cat conftest.err >&5 | 4852 cat conftest.err >&5 |
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4146 | 4870 |
4147 # Passes both tests. | 4871 # Passes both tests. |
4148 ac_preproc_ok=: | 4872 ac_preproc_ok=: |
4149 break | 4873 break |
4150 fi | 4874 fi |
4875 | |
4151 rm -f conftest.err conftest.$ac_ext | 4876 rm -f conftest.err conftest.$ac_ext |
4152 | 4877 |
4153 done | 4878 done |
4154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4879 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4155 rm -f conftest.err conftest.$ac_ext | 4880 rm -f conftest.err conftest.$ac_ext |
4163 fi | 4888 fi |
4164 CPP=$ac_cv_prog_CPP | 4889 CPP=$ac_cv_prog_CPP |
4165 else | 4890 else |
4166 ac_cv_prog_CPP=$CPP | 4891 ac_cv_prog_CPP=$CPP |
4167 fi | 4892 fi |
4168 echo "$as_me:$LINENO: result: $CPP" >&5 | 4893 { echo "$as_me:$LINENO: result: $CPP" >&5 |
4169 echo "${ECHO_T}$CPP" >&6 | 4894 echo "${ECHO_T}$CPP" >&6; } |
4170 ac_preproc_ok=false | 4895 ac_preproc_ok=false |
4171 for ac_c_preproc_warn_flag in '' yes | 4896 for ac_c_preproc_warn_flag in '' yes |
4172 do | 4897 do |
4173 # Use a header file that comes with gcc, so configuring glibc | 4898 # Use a header file that comes with gcc, so configuring glibc |
4174 # with a fresh cross-compiler works. | 4899 # with a fresh cross-compiler works. |
4187 #else | 4912 #else |
4188 # include <assert.h> | 4913 # include <assert.h> |
4189 #endif | 4914 #endif |
4190 Syntax error | 4915 Syntax error |
4191 _ACEOF | 4916 _ACEOF |
4192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4917 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4918 case "(($ac_try" in |
4919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4920 *) ac_try_echo=$ac_try;; | |
4921 esac | |
4922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4194 ac_status=$? | 4924 ac_status=$? |
4195 grep -v '^ *+' conftest.er1 >conftest.err | 4925 grep -v '^ *+' conftest.er1 >conftest.err |
4196 rm -f conftest.er1 | 4926 rm -f conftest.er1 |
4197 cat conftest.err >&5 | 4927 cat conftest.err >&5 |
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4213 sed 's/^/| /' conftest.$ac_ext >&5 | 4943 sed 's/^/| /' conftest.$ac_ext >&5 |
4214 | 4944 |
4215 # Broken: fails on valid input. | 4945 # Broken: fails on valid input. |
4216 continue | 4946 continue |
4217 fi | 4947 fi |
4948 | |
4218 rm -f conftest.err conftest.$ac_ext | 4949 rm -f conftest.err conftest.$ac_ext |
4219 | 4950 |
4220 # OK, works on sane cases. Now check whether non-existent headers | 4951 # OK, works on sane cases. Now check whether nonexistent headers |
4221 # can be detected and how. | 4952 # can be detected and how. |
4222 cat >conftest.$ac_ext <<_ACEOF | 4953 cat >conftest.$ac_ext <<_ACEOF |
4223 /* confdefs.h. */ | 4954 /* confdefs.h. */ |
4224 _ACEOF | 4955 _ACEOF |
4225 cat confdefs.h >>conftest.$ac_ext | 4956 cat confdefs.h >>conftest.$ac_ext |
4226 cat >>conftest.$ac_ext <<_ACEOF | 4957 cat >>conftest.$ac_ext <<_ACEOF |
4227 /* end confdefs.h. */ | 4958 /* end confdefs.h. */ |
4228 #include <ac_nonexistent.h> | 4959 #include <ac_nonexistent.h> |
4229 _ACEOF | 4960 _ACEOF |
4230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 4961 if { (ac_try="$ac_cpp conftest.$ac_ext" |
4231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 4962 case "(($ac_try" in |
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
4964 *) ac_try_echo=$ac_try;; | |
4965 esac | |
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
4967 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
4232 ac_status=$? | 4968 ac_status=$? |
4233 grep -v '^ *+' conftest.er1 >conftest.err | 4969 grep -v '^ *+' conftest.er1 >conftest.err |
4234 rm -f conftest.er1 | 4970 rm -f conftest.er1 |
4235 cat conftest.err >&5 | 4971 cat conftest.err >&5 |
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4253 | 4989 |
4254 # Passes both tests. | 4990 # Passes both tests. |
4255 ac_preproc_ok=: | 4991 ac_preproc_ok=: |
4256 break | 4992 break |
4257 fi | 4993 fi |
4994 | |
4258 rm -f conftest.err conftest.$ac_ext | 4995 rm -f conftest.err conftest.$ac_ext |
4259 | 4996 |
4260 done | 4997 done |
4261 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 4998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
4262 rm -f conftest.err conftest.$ac_ext | 4999 rm -f conftest.err conftest.$ac_ext |
4287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 5024 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
4288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 5025 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
4289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 5026 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
4290 # OS/2's system install, which has a completely different semantic | 5027 # OS/2's system install, which has a completely different semantic |
4291 # ./install, which can be erroneously created by make from ./install.sh. | 5028 # ./install, which can be erroneously created by make from ./install.sh. |
4292 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 5029 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
4293 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 5030 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } |
4294 if test -z "$INSTALL"; then | 5031 if test -z "$INSTALL"; then |
4295 if test "${ac_cv_path_install+set}" = set; then | 5032 if test "${ac_cv_path_install+set}" = set; then |
4296 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5033 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4297 else | 5034 else |
4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4310 # OSF1 and SCO ODT 3.0 have their own names for install. | 5047 # OSF1 and SCO ODT 3.0 have their own names for install. |
4311 # Don't use installbsd from OSF since it installs stuff as root | 5048 # Don't use installbsd from OSF since it installs stuff as root |
4312 # by default. | 5049 # by default. |
4313 for ac_prog in ginstall scoinst install; do | 5050 for ac_prog in ginstall scoinst install; do |
4314 for ac_exec_ext in '' $ac_executable_extensions; do | 5051 for ac_exec_ext in '' $ac_executable_extensions; do |
4315 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 5052 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then |
4316 if test $ac_prog = install && | 5053 if test $ac_prog = install && |
4317 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 5054 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
4318 # AIX install. It has an incompatible calling convention. | 5055 # AIX install. It has an incompatible calling convention. |
4319 : | 5056 : |
4320 elif test $ac_prog = install && | 5057 elif test $ac_prog = install && |
4329 done | 5066 done |
4330 done | 5067 done |
4331 ;; | 5068 ;; |
4332 esac | 5069 esac |
4333 done | 5070 done |
5071 IFS=$as_save_IFS | |
4334 | 5072 |
4335 | 5073 |
4336 fi | 5074 fi |
4337 if test "${ac_cv_path_install+set}" = set; then | 5075 if test "${ac_cv_path_install+set}" = set; then |
4338 INSTALL=$ac_cv_path_install | 5076 INSTALL=$ac_cv_path_install |
4339 else | 5077 else |
4340 # As a last resort, use the slow shell script. We don't cache a | 5078 # As a last resort, use the slow shell script. Don't cache a |
4341 # path for INSTALL within a source directory, because that will | 5079 # value for INSTALL within a source directory, because that will |
4342 # break other packages using the cache if that directory is | 5080 # break other packages using the cache if that directory is |
4343 # removed, or if the path is relative. | 5081 # removed, or if the value is a relative name. |
4344 INSTALL=$ac_install_sh | 5082 INSTALL=$ac_install_sh |
4345 fi | 5083 fi |
4346 fi | 5084 fi |
4347 echo "$as_me:$LINENO: result: $INSTALL" >&5 | 5085 { echo "$as_me:$LINENO: result: $INSTALL" >&5 |
4348 echo "${ECHO_T}$INSTALL" >&6 | 5086 echo "${ECHO_T}$INSTALL" >&6; } |
4349 | 5087 |
4350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 5088 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
4351 # It thinks the first close brace ends the variable substitution. | 5089 # It thinks the first close brace ends the variable substitution. |
4352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 5090 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
4353 | 5091 |
4357 | 5095 |
4358 if test "x$RANLIB" = x; then | 5096 if test "x$RANLIB" = x; then |
4359 if test -n "$ac_tool_prefix"; then | 5097 if test -n "$ac_tool_prefix"; then |
4360 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 5098 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
4361 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 5099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
4362 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4364 if test "${ac_cv_prog_RANLIB+set}" = set; then | 5102 if test "${ac_cv_prog_RANLIB+set}" = set; then |
4365 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5103 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4366 else | 5104 else |
4367 if test -n "$RANLIB"; then | 5105 if test -n "$RANLIB"; then |
4368 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 5106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
4371 for as_dir in $PATH | 5109 for as_dir in $PATH |
4372 do | 5110 do |
4373 IFS=$as_save_IFS | 5111 IFS=$as_save_IFS |
4374 test -z "$as_dir" && as_dir=. | 5112 test -z "$as_dir" && as_dir=. |
4375 for ac_exec_ext in '' $ac_executable_extensions; do | 5113 for ac_exec_ext in '' $ac_executable_extensions; do |
4376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4377 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 5115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
4378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4379 break 2 | 5117 break 2 |
4380 fi | 5118 fi |
4381 done | 5119 done |
4382 done | 5120 done |
5121 IFS=$as_save_IFS | |
4383 | 5122 |
4384 fi | 5123 fi |
4385 fi | 5124 fi |
4386 RANLIB=$ac_cv_prog_RANLIB | 5125 RANLIB=$ac_cv_prog_RANLIB |
4387 if test -n "$RANLIB"; then | 5126 if test -n "$RANLIB"; then |
4388 echo "$as_me:$LINENO: result: $RANLIB" >&5 | 5127 { echo "$as_me:$LINENO: result: $RANLIB" >&5 |
4389 echo "${ECHO_T}$RANLIB" >&6 | 5128 echo "${ECHO_T}$RANLIB" >&6; } |
4390 else | 5129 else |
4391 echo "$as_me:$LINENO: result: no" >&5 | 5130 { echo "$as_me:$LINENO: result: no" >&5 |
4392 echo "${ECHO_T}no" >&6 | 5131 echo "${ECHO_T}no" >&6; } |
4393 fi | 5132 fi |
5133 | |
4394 | 5134 |
4395 fi | 5135 fi |
4396 if test -z "$ac_cv_prog_RANLIB"; then | 5136 if test -z "$ac_cv_prog_RANLIB"; then |
4397 ac_ct_RANLIB=$RANLIB | 5137 ac_ct_RANLIB=$RANLIB |
4398 # Extract the first word of "ranlib", so it can be a program name with args. | 5138 # Extract the first word of "ranlib", so it can be a program name with args. |
4399 set dummy ranlib; ac_word=$2 | 5139 set dummy ranlib; ac_word=$2 |
4400 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5140 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4402 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 5142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
4403 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5143 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4404 else | 5144 else |
4405 if test -n "$ac_ct_RANLIB"; then | 5145 if test -n "$ac_ct_RANLIB"; then |
4406 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 5146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
4409 for as_dir in $PATH | 5149 for as_dir in $PATH |
4410 do | 5150 do |
4411 IFS=$as_save_IFS | 5151 IFS=$as_save_IFS |
4412 test -z "$as_dir" && as_dir=. | 5152 test -z "$as_dir" && as_dir=. |
4413 for ac_exec_ext in '' $ac_executable_extensions; do | 5153 for ac_exec_ext in '' $ac_executable_extensions; do |
4414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4415 ac_cv_prog_ac_ct_RANLIB="ranlib" | 5155 ac_cv_prog_ac_ct_RANLIB="ranlib" |
4416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4417 break 2 | 5157 break 2 |
4418 fi | 5158 fi |
4419 done | 5159 done |
4420 done | 5160 done |
4421 | 5161 IFS=$as_save_IFS |
4422 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 5162 |
4423 fi | 5163 fi |
4424 fi | 5164 fi |
4425 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 5165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
4426 if test -n "$ac_ct_RANLIB"; then | 5166 if test -n "$ac_ct_RANLIB"; then |
4427 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 5167 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
4428 echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 5168 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } |
4429 else | 5169 else |
4430 echo "$as_me:$LINENO: result: no" >&5 | 5170 { echo "$as_me:$LINENO: result: no" >&5 |
4431 echo "${ECHO_T}no" >&6 | 5171 echo "${ECHO_T}no" >&6; } |
4432 fi | 5172 fi |
4433 | 5173 |
4434 RANLIB=$ac_ct_RANLIB | 5174 if test "x$ac_ct_RANLIB" = x; then |
5175 RANLIB=":" | |
5176 else | |
5177 case $cross_compiling:$ac_tool_warned in | |
5178 yes:) | |
5179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools | |
5180 whose name does not start with the host triplet. If you think this | |
5181 configuration is useful to you, please write to autoconf@gnu.org." >&5 | |
5182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools | |
5183 whose name does not start with the host triplet. If you think this | |
5184 configuration is useful to you, please write to autoconf@gnu.org." >&2;} | |
5185 ac_tool_warned=yes ;; | |
5186 esac | |
5187 RANLIB=$ac_ct_RANLIB | |
5188 fi | |
4435 else | 5189 else |
4436 RANLIB="$ac_cv_prog_RANLIB" | 5190 RANLIB="$ac_cv_prog_RANLIB" |
4437 fi | 5191 fi |
4438 | 5192 |
4439 fi | 5193 fi |
4440 # Extract the first word of "install-info", so it can be a program name with args. | 5194 # Extract the first word of "install-info", so it can be a program name with args. |
4441 set dummy install-info; ac_word=$2 | 5195 set dummy install-info; ac_word=$2 |
4442 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4444 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5198 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
4445 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5199 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4446 else | 5200 else |
4447 case $INSTALL_INFO in | 5201 case $INSTALL_INFO in |
4448 [\\/]* | ?:[\\/]*) | 5202 [\\/]* | ?:[\\/]*) |
4453 for as_dir in $PATH | 5207 for as_dir in $PATH |
4454 do | 5208 do |
4455 IFS=$as_save_IFS | 5209 IFS=$as_save_IFS |
4456 test -z "$as_dir" && as_dir=. | 5210 test -z "$as_dir" && as_dir=. |
4457 for ac_exec_ext in '' $ac_executable_extensions; do | 5211 for ac_exec_ext in '' $ac_executable_extensions; do |
4458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4459 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5213 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
4460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4461 break 2 | 5215 break 2 |
4462 fi | 5216 fi |
4463 done | 5217 done |
4464 done | 5218 done |
5219 IFS=$as_save_IFS | |
4465 | 5220 |
4466 ;; | 5221 ;; |
4467 esac | 5222 esac |
4468 fi | 5223 fi |
4469 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5224 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
4470 | |
4471 if test -n "$INSTALL_INFO"; then | 5225 if test -n "$INSTALL_INFO"; then |
4472 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5226 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
4473 echo "${ECHO_T}$INSTALL_INFO" >&6 | 5227 echo "${ECHO_T}$INSTALL_INFO" >&6; } |
4474 else | 5228 else |
4475 echo "$as_me:$LINENO: result: no" >&5 | 5229 { echo "$as_me:$LINENO: result: no" >&5 |
4476 echo "${ECHO_T}no" >&6 | 5230 echo "${ECHO_T}no" >&6; } |
4477 fi | 5231 fi |
5232 | |
4478 | 5233 |
4479 # Extract the first word of "install-info", so it can be a program name with args. | 5234 # Extract the first word of "install-info", so it can be a program name with args. |
4480 set dummy install-info; ac_word=$2 | 5235 set dummy install-info; ac_word=$2 |
4481 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5236 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4483 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5238 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
4484 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5239 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4485 else | 5240 else |
4486 case $INSTALL_INFO in | 5241 case $INSTALL_INFO in |
4487 [\\/]* | ?:[\\/]*) | 5242 [\\/]* | ?:[\\/]*) |
4492 for as_dir in /usr/sbin | 5247 for as_dir in /usr/sbin |
4493 do | 5248 do |
4494 IFS=$as_save_IFS | 5249 IFS=$as_save_IFS |
4495 test -z "$as_dir" && as_dir=. | 5250 test -z "$as_dir" && as_dir=. |
4496 for ac_exec_ext in '' $ac_executable_extensions; do | 5251 for ac_exec_ext in '' $ac_executable_extensions; do |
4497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4498 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5253 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
4499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4500 break 2 | 5255 break 2 |
4501 fi | 5256 fi |
4502 done | 5257 done |
4503 done | 5258 done |
5259 IFS=$as_save_IFS | |
4504 | 5260 |
4505 ;; | 5261 ;; |
4506 esac | 5262 esac |
4507 fi | 5263 fi |
4508 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5264 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
4509 | |
4510 if test -n "$INSTALL_INFO"; then | 5265 if test -n "$INSTALL_INFO"; then |
4511 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5266 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
4512 echo "${ECHO_T}$INSTALL_INFO" >&6 | 5267 echo "${ECHO_T}$INSTALL_INFO" >&6; } |
4513 else | 5268 else |
4514 echo "$as_me:$LINENO: result: no" >&5 | 5269 { echo "$as_me:$LINENO: result: no" >&5 |
4515 echo "${ECHO_T}no" >&6 | 5270 echo "${ECHO_T}no" >&6; } |
4516 fi | 5271 fi |
5272 | |
4517 | 5273 |
4518 # Extract the first word of "install-info", so it can be a program name with args. | 5274 # Extract the first word of "install-info", so it can be a program name with args. |
4519 set dummy install-info; ac_word=$2 | 5275 set dummy install-info; ac_word=$2 |
4520 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5276 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4522 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then | 5278 if test "${ac_cv_path_INSTALL_INFO+set}" = set; then |
4523 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5279 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4524 else | 5280 else |
4525 case $INSTALL_INFO in | 5281 case $INSTALL_INFO in |
4526 [\\/]* | ?:[\\/]*) | 5282 [\\/]* | ?:[\\/]*) |
4531 for as_dir in /sbin | 5287 for as_dir in /sbin |
4532 do | 5288 do |
4533 IFS=$as_save_IFS | 5289 IFS=$as_save_IFS |
4534 test -z "$as_dir" && as_dir=. | 5290 test -z "$as_dir" && as_dir=. |
4535 for ac_exec_ext in '' $ac_executable_extensions; do | 5291 for ac_exec_ext in '' $ac_executable_extensions; do |
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4537 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" | 5293 ac_cv_path_INSTALL_INFO="$as_dir/$ac_word$ac_exec_ext" |
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4539 break 2 | 5295 break 2 |
4540 fi | 5296 fi |
4541 done | 5297 done |
4542 done | 5298 done |
5299 IFS=$as_save_IFS | |
4543 | 5300 |
4544 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" | 5301 test -z "$ac_cv_path_INSTALL_INFO" && ac_cv_path_INSTALL_INFO=":" |
4545 ;; | 5302 ;; |
4546 esac | 5303 esac |
4547 fi | 5304 fi |
4548 INSTALL_INFO=$ac_cv_path_INSTALL_INFO | 5305 INSTALL_INFO=$ac_cv_path_INSTALL_INFO |
4549 | |
4550 if test -n "$INSTALL_INFO"; then | 5306 if test -n "$INSTALL_INFO"; then |
4551 echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 | 5307 { echo "$as_me:$LINENO: result: $INSTALL_INFO" >&5 |
4552 echo "${ECHO_T}$INSTALL_INFO" >&6 | 5308 echo "${ECHO_T}$INSTALL_INFO" >&6; } |
4553 else | 5309 else |
4554 echo "$as_me:$LINENO: result: no" >&5 | 5310 { echo "$as_me:$LINENO: result: no" >&5 |
4555 echo "${ECHO_T}no" >&6 | 5311 echo "${ECHO_T}no" >&6; } |
4556 fi | 5312 fi |
5313 | |
4557 | 5314 |
4558 # Extract the first word of "gzip", so it can be a program name with args. | 5315 # Extract the first word of "gzip", so it can be a program name with args. |
4559 set dummy gzip; ac_word=$2 | 5316 set dummy gzip; ac_word=$2 |
4560 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 5317 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 5318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
4562 if test "${ac_cv_path_GZIP_PROG+set}" = set; then | 5319 if test "${ac_cv_path_GZIP_PROG+set}" = set; then |
4563 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5320 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4564 else | 5321 else |
4565 case $GZIP_PROG in | 5322 case $GZIP_PROG in |
4566 [\\/]* | ?:[\\/]*) | 5323 [\\/]* | ?:[\\/]*) |
4571 for as_dir in $PATH | 5328 for as_dir in $PATH |
4572 do | 5329 do |
4573 IFS=$as_save_IFS | 5330 IFS=$as_save_IFS |
4574 test -z "$as_dir" && as_dir=. | 5331 test -z "$as_dir" && as_dir=. |
4575 for ac_exec_ext in '' $ac_executable_extensions; do | 5332 for ac_exec_ext in '' $ac_executable_extensions; do |
4576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 5333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
4577 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" | 5334 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext" |
4578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4579 break 2 | 5336 break 2 |
4580 fi | 5337 fi |
4581 done | 5338 done |
4582 done | 5339 done |
5340 IFS=$as_save_IFS | |
4583 | 5341 |
4584 ;; | 5342 ;; |
4585 esac | 5343 esac |
4586 fi | 5344 fi |
4587 GZIP_PROG=$ac_cv_path_GZIP_PROG | 5345 GZIP_PROG=$ac_cv_path_GZIP_PROG |
4588 | |
4589 if test -n "$GZIP_PROG"; then | 5346 if test -n "$GZIP_PROG"; then |
4590 echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 | 5347 { echo "$as_me:$LINENO: result: $GZIP_PROG" >&5 |
4591 echo "${ECHO_T}$GZIP_PROG" >&6 | 5348 echo "${ECHO_T}$GZIP_PROG" >&6; } |
4592 else | 5349 else |
4593 echo "$as_me:$LINENO: result: no" >&5 | 5350 { echo "$as_me:$LINENO: result: no" >&5 |
4594 echo "${ECHO_T}no" >&6 | 5351 echo "${ECHO_T}no" >&6; } |
4595 fi | 5352 fi |
5353 | |
4596 | 5354 |
4597 | 5355 |
4598 | 5356 |
4599 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x | 5357 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x |
4600 then | 5358 then |
4612 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" | 5370 LDFLAGS="$LDFLAGS -Wl,-znocombreloc" |
4613 else | 5371 else |
4614 LDFLAGS="$LDFLAGS -znocombreloc" | 5372 LDFLAGS="$LDFLAGS -znocombreloc" |
4615 fi | 5373 fi |
4616 | 5374 |
4617 echo "$as_me:$LINENO: checking for -znocombreloc" >&5 | 5375 { echo "$as_me:$LINENO: checking for -znocombreloc" >&5 |
4618 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6 | 5376 echo $ECHO_N "checking for -znocombreloc... $ECHO_C" >&6; } |
4619 cat >conftest.$ac_ext <<_ACEOF | 5377 cat >conftest.$ac_ext <<_ACEOF |
4620 main(){return 0;} | 5378 main(){return 0;} |
4621 _ACEOF | 5379 _ACEOF |
4622 rm -f conftest.$ac_objext conftest$ac_exeext | 5380 rm -f conftest.$ac_objext conftest$ac_exeext |
4623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5381 if { (ac_try="$ac_link" |
4624 (eval $ac_link) 2>conftest.er1 | 5382 case "(($ac_try" in |
5383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5384 *) ac_try_echo=$ac_try;; | |
5385 esac | |
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5387 (eval "$ac_link") 2>conftest.er1 | |
4625 ac_status=$? | 5388 ac_status=$? |
4626 grep -v '^ *+' conftest.er1 >conftest.err | 5389 grep -v '^ *+' conftest.er1 >conftest.err |
4627 rm -f conftest.er1 | 5390 rm -f conftest.er1 |
4628 cat conftest.err >&5 | 5391 cat conftest.err >&5 |
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4630 (exit $ac_status); } && | 5393 (exit $ac_status); } && |
4631 { ac_try='test -z "$ac_c_werror_flag" | 5394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4632 || test ! -s conftest.err' | 5395 { (case "(($ac_try" in |
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4634 (eval $ac_try) 2>&5 | 5397 *) ac_try_echo=$ac_try;; |
5398 esac | |
5399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5400 (eval "$ac_try") 2>&5 | |
4635 ac_status=$? | 5401 ac_status=$? |
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4637 (exit $ac_status); }; } && | 5403 (exit $ac_status); }; } && |
4638 { ac_try='test -s conftest$ac_exeext' | 5404 { ac_try='test -s conftest$ac_exeext' |
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5405 { (case "(($ac_try" in |
4640 (eval $ac_try) 2>&5 | 5406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5407 *) ac_try_echo=$ac_try;; | |
5408 esac | |
5409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5410 (eval "$ac_try") 2>&5 | |
4641 ac_status=$? | 5411 ac_status=$? |
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4643 (exit $ac_status); }; }; then | 5413 (exit $ac_status); }; }; then |
4644 echo "$as_me:$LINENO: result: yes" >&5 | 5414 { echo "$as_me:$LINENO: result: yes" >&5 |
4645 echo "${ECHO_T}yes" >&6 | 5415 echo "${ECHO_T}yes" >&6; } |
4646 else | 5416 else |
4647 echo "$as_me: failed program was:" >&5 | 5417 echo "$as_me: failed program was:" >&5 |
4648 sed 's/^/| /' conftest.$ac_ext >&5 | 5418 sed 's/^/| /' conftest.$ac_ext >&5 |
4649 | 5419 |
4650 LDFLAGS=$late_LDFLAGS | 5420 LDFLAGS=$late_LDFLAGS |
4651 echo "$as_me:$LINENO: result: no" >&5 | 5421 { echo "$as_me:$LINENO: result: no" >&5 |
4652 echo "${ECHO_T}no" >&6 | 5422 echo "${ECHO_T}no" >&6; } |
4653 fi | 5423 fi |
4654 rm -f conftest.err conftest.$ac_objext \ | 5424 |
5425 rm -f core conftest.err conftest.$ac_objext \ | |
4655 conftest$ac_exeext conftest.$ac_ext | 5426 conftest$ac_exeext conftest.$ac_ext |
4656 | 5427 |
4657 #### Extract some information from the operating system and machine files. | 5428 #### Extract some information from the operating system and machine files. |
4658 | 5429 |
4659 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out | 5430 { echo "$as_me:$LINENO: checking the machine- and system-dependent files to find out |
4803 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" | 5574 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS" |
4804 fi | 5575 fi |
4805 | 5576 |
4806 | 5577 |
4807 | 5578 |
4808 # Check whether --enable-largefile or --disable-largefile was given. | 5579 # Check whether --enable-largefile was given. |
4809 if test "${enable_largefile+set}" = set; then | 5580 if test "${enable_largefile+set}" = set; then |
4810 enableval="$enable_largefile" | 5581 enableval=$enable_largefile; |
4811 | 5582 fi |
4812 fi; | 5583 |
4813 if test "$enable_largefile" != no; then | 5584 if test "$enable_largefile" != no; then |
4814 | 5585 |
4815 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 | 5586 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 |
4816 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 | 5587 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } |
4817 if test "${ac_cv_sys_largefile_CC+set}" = set; then | 5588 if test "${ac_cv_sys_largefile_CC+set}" = set; then |
4818 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5589 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4819 else | 5590 else |
4820 ac_cv_sys_largefile_CC=no | 5591 ac_cv_sys_largefile_CC=no |
4821 if test "$GCC" != yes; then | 5592 if test "$GCC" != yes; then |
4822 ac_save_CC=$CC | 5593 ac_save_CC=$CC |
4823 while :; do | 5594 while :; do |
4824 # IRIX 6.2 and later do not support large files by default, | 5595 # IRIX 6.2 and later do not support large files by default, |
4825 # so use the C compiler's -n32 option if that helps. | 5596 # so use the C compiler's -n32 option if that helps. |
4826 cat >conftest.$ac_ext <<_ACEOF | 5597 cat >conftest.$ac_ext <<_ACEOF |
4827 /* confdefs.h. */ | 5598 /* confdefs.h. */ |
4828 _ACEOF | 5599 _ACEOF |
4829 cat confdefs.h >>conftest.$ac_ext | 5600 cat confdefs.h >>conftest.$ac_ext |
4830 cat >>conftest.$ac_ext <<_ACEOF | 5601 cat >>conftest.$ac_ext <<_ACEOF |
4844 | 5615 |
4845 ; | 5616 ; |
4846 return 0; | 5617 return 0; |
4847 } | 5618 } |
4848 _ACEOF | 5619 _ACEOF |
4849 rm -f conftest.$ac_objext | 5620 rm -f conftest.$ac_objext |
4850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5621 if { (ac_try="$ac_compile" |
4851 (eval $ac_compile) 2>conftest.er1 | 5622 case "(($ac_try" in |
5623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5624 *) ac_try_echo=$ac_try;; | |
5625 esac | |
5626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5627 (eval "$ac_compile") 2>conftest.er1 | |
4852 ac_status=$? | 5628 ac_status=$? |
4853 grep -v '^ *+' conftest.er1 >conftest.err | 5629 grep -v '^ *+' conftest.er1 >conftest.err |
4854 rm -f conftest.er1 | 5630 rm -f conftest.er1 |
4855 cat conftest.err >&5 | 5631 cat conftest.err >&5 |
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4857 (exit $ac_status); } && | 5633 (exit $ac_status); } && |
4858 { ac_try='test -z "$ac_c_werror_flag" | 5634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4859 || test ! -s conftest.err' | 5635 { (case "(($ac_try" in |
4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4861 (eval $ac_try) 2>&5 | 5637 *) ac_try_echo=$ac_try;; |
5638 esac | |
5639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5640 (eval "$ac_try") 2>&5 | |
4862 ac_status=$? | 5641 ac_status=$? |
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4864 (exit $ac_status); }; } && | 5643 (exit $ac_status); }; } && |
4865 { ac_try='test -s conftest.$ac_objext' | 5644 { ac_try='test -s conftest.$ac_objext' |
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5645 { (case "(($ac_try" in |
4867 (eval $ac_try) 2>&5 | 5646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5647 *) ac_try_echo=$ac_try;; | |
5648 esac | |
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5650 (eval "$ac_try") 2>&5 | |
4868 ac_status=$? | 5651 ac_status=$? |
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4870 (exit $ac_status); }; }; then | 5653 (exit $ac_status); }; }; then |
4871 break | 5654 break |
4872 else | 5655 else |
4873 echo "$as_me: failed program was:" >&5 | 5656 echo "$as_me: failed program was:" >&5 |
4874 sed 's/^/| /' conftest.$ac_ext >&5 | 5657 sed 's/^/| /' conftest.$ac_ext >&5 |
4875 | 5658 |
4876 fi | 5659 |
4877 rm -f conftest.err conftest.$ac_objext | 5660 fi |
4878 CC="$CC -n32" | 5661 |
4879 rm -f conftest.$ac_objext | 5662 rm -f core conftest.err conftest.$ac_objext |
4880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5663 CC="$CC -n32" |
4881 (eval $ac_compile) 2>conftest.er1 | 5664 rm -f conftest.$ac_objext |
5665 if { (ac_try="$ac_compile" | |
5666 case "(($ac_try" in | |
5667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5668 *) ac_try_echo=$ac_try;; | |
5669 esac | |
5670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5671 (eval "$ac_compile") 2>conftest.er1 | |
4882 ac_status=$? | 5672 ac_status=$? |
4883 grep -v '^ *+' conftest.er1 >conftest.err | 5673 grep -v '^ *+' conftest.er1 >conftest.err |
4884 rm -f conftest.er1 | 5674 rm -f conftest.er1 |
4885 cat conftest.err >&5 | 5675 cat conftest.err >&5 |
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4887 (exit $ac_status); } && | 5677 (exit $ac_status); } && |
4888 { ac_try='test -z "$ac_c_werror_flag" | 5678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4889 || test ! -s conftest.err' | 5679 { (case "(($ac_try" in |
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4891 (eval $ac_try) 2>&5 | 5681 *) ac_try_echo=$ac_try;; |
5682 esac | |
5683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5684 (eval "$ac_try") 2>&5 | |
4892 ac_status=$? | 5685 ac_status=$? |
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4894 (exit $ac_status); }; } && | 5687 (exit $ac_status); }; } && |
4895 { ac_try='test -s conftest.$ac_objext' | 5688 { ac_try='test -s conftest.$ac_objext' |
4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5689 { (case "(($ac_try" in |
4897 (eval $ac_try) 2>&5 | 5690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5691 *) ac_try_echo=$ac_try;; | |
5692 esac | |
5693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5694 (eval "$ac_try") 2>&5 | |
4898 ac_status=$? | 5695 ac_status=$? |
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4900 (exit $ac_status); }; }; then | 5697 (exit $ac_status); }; }; then |
4901 ac_cv_sys_largefile_CC=' -n32'; break | 5698 ac_cv_sys_largefile_CC=' -n32'; break |
4902 else | 5699 else |
4903 echo "$as_me: failed program was:" >&5 | 5700 echo "$as_me: failed program was:" >&5 |
4904 sed 's/^/| /' conftest.$ac_ext >&5 | 5701 sed 's/^/| /' conftest.$ac_ext >&5 |
4905 | 5702 |
4906 fi | 5703 |
4907 rm -f conftest.err conftest.$ac_objext | 5704 fi |
5705 | |
5706 rm -f core conftest.err conftest.$ac_objext | |
4908 break | 5707 break |
4909 done | 5708 done |
4910 CC=$ac_save_CC | 5709 CC=$ac_save_CC |
4911 rm -f conftest.$ac_ext | 5710 rm -f conftest.$ac_ext |
4912 fi | 5711 fi |
4913 fi | 5712 fi |
4914 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 | 5713 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 |
4915 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 | 5714 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } |
4916 if test "$ac_cv_sys_largefile_CC" != no; then | 5715 if test "$ac_cv_sys_largefile_CC" != no; then |
4917 CC=$CC$ac_cv_sys_largefile_CC | 5716 CC=$CC$ac_cv_sys_largefile_CC |
4918 fi | 5717 fi |
4919 | 5718 |
4920 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 | 5719 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 |
4921 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 | 5720 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } |
4922 if test "${ac_cv_sys_file_offset_bits+set}" = set; then | 5721 if test "${ac_cv_sys_file_offset_bits+set}" = set; then |
4923 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5722 echo $ECHO_N "(cached) $ECHO_C" >&6 |
4924 else | 5723 else |
4925 while :; do | 5724 while :; do |
4926 ac_cv_sys_file_offset_bits=no | 5725 ac_cv_sys_file_offset_bits=no |
4946 ; | 5745 ; |
4947 return 0; | 5746 return 0; |
4948 } | 5747 } |
4949 _ACEOF | 5748 _ACEOF |
4950 rm -f conftest.$ac_objext | 5749 rm -f conftest.$ac_objext |
4951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5750 if { (ac_try="$ac_compile" |
4952 (eval $ac_compile) 2>conftest.er1 | 5751 case "(($ac_try" in |
5752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5753 *) ac_try_echo=$ac_try;; | |
5754 esac | |
5755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5756 (eval "$ac_compile") 2>conftest.er1 | |
4953 ac_status=$? | 5757 ac_status=$? |
4954 grep -v '^ *+' conftest.er1 >conftest.err | 5758 grep -v '^ *+' conftest.er1 >conftest.err |
4955 rm -f conftest.er1 | 5759 rm -f conftest.er1 |
4956 cat conftest.err >&5 | 5760 cat conftest.err >&5 |
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4958 (exit $ac_status); } && | 5762 (exit $ac_status); } && |
4959 { ac_try='test -z "$ac_c_werror_flag" | 5763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
4960 || test ! -s conftest.err' | 5764 { (case "(($ac_try" in |
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4962 (eval $ac_try) 2>&5 | 5766 *) ac_try_echo=$ac_try;; |
5767 esac | |
5768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5769 (eval "$ac_try") 2>&5 | |
4963 ac_status=$? | 5770 ac_status=$? |
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4965 (exit $ac_status); }; } && | 5772 (exit $ac_status); }; } && |
4966 { ac_try='test -s conftest.$ac_objext' | 5773 { ac_try='test -s conftest.$ac_objext' |
4967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5774 { (case "(($ac_try" in |
4968 (eval $ac_try) 2>&5 | 5775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5776 *) ac_try_echo=$ac_try;; | |
5777 esac | |
5778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5779 (eval "$ac_try") 2>&5 | |
4969 ac_status=$? | 5780 ac_status=$? |
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4971 (exit $ac_status); }; }; then | 5782 (exit $ac_status); }; }; then |
4972 break | 5783 break |
4973 else | 5784 else |
4974 echo "$as_me: failed program was:" >&5 | 5785 echo "$as_me: failed program was:" >&5 |
4975 sed 's/^/| /' conftest.$ac_ext >&5 | 5786 sed 's/^/| /' conftest.$ac_ext >&5 |
4976 | 5787 |
4977 fi | 5788 |
4978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5789 fi |
5790 | |
5791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
4979 cat >conftest.$ac_ext <<_ACEOF | 5792 cat >conftest.$ac_ext <<_ACEOF |
4980 /* confdefs.h. */ | 5793 /* confdefs.h. */ |
4981 _ACEOF | 5794 _ACEOF |
4982 cat confdefs.h >>conftest.$ac_ext | 5795 cat confdefs.h >>conftest.$ac_ext |
4983 cat >>conftest.$ac_ext <<_ACEOF | 5796 cat >>conftest.$ac_ext <<_ACEOF |
4999 ; | 5812 ; |
5000 return 0; | 5813 return 0; |
5001 } | 5814 } |
5002 _ACEOF | 5815 _ACEOF |
5003 rm -f conftest.$ac_objext | 5816 rm -f conftest.$ac_objext |
5004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5817 if { (ac_try="$ac_compile" |
5005 (eval $ac_compile) 2>conftest.er1 | 5818 case "(($ac_try" in |
5819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5820 *) ac_try_echo=$ac_try;; | |
5821 esac | |
5822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5823 (eval "$ac_compile") 2>conftest.er1 | |
5006 ac_status=$? | 5824 ac_status=$? |
5007 grep -v '^ *+' conftest.er1 >conftest.err | 5825 grep -v '^ *+' conftest.er1 >conftest.err |
5008 rm -f conftest.er1 | 5826 rm -f conftest.er1 |
5009 cat conftest.err >&5 | 5827 cat conftest.err >&5 |
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5011 (exit $ac_status); } && | 5829 (exit $ac_status); } && |
5012 { ac_try='test -z "$ac_c_werror_flag" | 5830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5013 || test ! -s conftest.err' | 5831 { (case "(($ac_try" in |
5014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5015 (eval $ac_try) 2>&5 | 5833 *) ac_try_echo=$ac_try;; |
5834 esac | |
5835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5836 (eval "$ac_try") 2>&5 | |
5016 ac_status=$? | 5837 ac_status=$? |
5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5018 (exit $ac_status); }; } && | 5839 (exit $ac_status); }; } && |
5019 { ac_try='test -s conftest.$ac_objext' | 5840 { ac_try='test -s conftest.$ac_objext' |
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5841 { (case "(($ac_try" in |
5021 (eval $ac_try) 2>&5 | 5842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5843 *) ac_try_echo=$ac_try;; | |
5844 esac | |
5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5846 (eval "$ac_try") 2>&5 | |
5022 ac_status=$? | 5847 ac_status=$? |
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5024 (exit $ac_status); }; }; then | 5849 (exit $ac_status); }; }; then |
5025 ac_cv_sys_file_offset_bits=64; break | 5850 ac_cv_sys_file_offset_bits=64; break |
5026 else | 5851 else |
5027 echo "$as_me: failed program was:" >&5 | 5852 echo "$as_me: failed program was:" >&5 |
5028 sed 's/^/| /' conftest.$ac_ext >&5 | 5853 sed 's/^/| /' conftest.$ac_ext >&5 |
5029 | 5854 |
5030 fi | 5855 |
5031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5856 fi |
5857 | |
5858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5032 break | 5859 break |
5033 done | 5860 done |
5034 fi | 5861 fi |
5035 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 | 5862 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 |
5036 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 | 5863 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } |
5037 if test "$ac_cv_sys_file_offset_bits" != no; then | 5864 if test "$ac_cv_sys_file_offset_bits" != no; then |
5038 | 5865 |
5039 cat >>confdefs.h <<_ACEOF | 5866 cat >>confdefs.h <<_ACEOF |
5040 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits | 5867 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits |
5041 _ACEOF | 5868 _ACEOF |
5042 | 5869 |
5043 fi | 5870 fi |
5044 rm -f conftest* | 5871 rm -f conftest* |
5045 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 | 5872 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 |
5046 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 | 5873 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } |
5047 if test "${ac_cv_sys_large_files+set}" = set; then | 5874 if test "${ac_cv_sys_large_files+set}" = set; then |
5048 echo $ECHO_N "(cached) $ECHO_C" >&6 | 5875 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5049 else | 5876 else |
5050 while :; do | 5877 while :; do |
5051 ac_cv_sys_large_files=no | 5878 ac_cv_sys_large_files=no |
5071 ; | 5898 ; |
5072 return 0; | 5899 return 0; |
5073 } | 5900 } |
5074 _ACEOF | 5901 _ACEOF |
5075 rm -f conftest.$ac_objext | 5902 rm -f conftest.$ac_objext |
5076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5903 if { (ac_try="$ac_compile" |
5077 (eval $ac_compile) 2>conftest.er1 | 5904 case "(($ac_try" in |
5905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5906 *) ac_try_echo=$ac_try;; | |
5907 esac | |
5908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5909 (eval "$ac_compile") 2>conftest.er1 | |
5078 ac_status=$? | 5910 ac_status=$? |
5079 grep -v '^ *+' conftest.er1 >conftest.err | 5911 grep -v '^ *+' conftest.er1 >conftest.err |
5080 rm -f conftest.er1 | 5912 rm -f conftest.er1 |
5081 cat conftest.err >&5 | 5913 cat conftest.err >&5 |
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5083 (exit $ac_status); } && | 5915 (exit $ac_status); } && |
5084 { ac_try='test -z "$ac_c_werror_flag" | 5916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5085 || test ! -s conftest.err' | 5917 { (case "(($ac_try" in |
5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5087 (eval $ac_try) 2>&5 | 5919 *) ac_try_echo=$ac_try;; |
5920 esac | |
5921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5922 (eval "$ac_try") 2>&5 | |
5088 ac_status=$? | 5923 ac_status=$? |
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5090 (exit $ac_status); }; } && | 5925 (exit $ac_status); }; } && |
5091 { ac_try='test -s conftest.$ac_objext' | 5926 { ac_try='test -s conftest.$ac_objext' |
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5927 { (case "(($ac_try" in |
5093 (eval $ac_try) 2>&5 | 5928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5929 *) ac_try_echo=$ac_try;; | |
5930 esac | |
5931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5932 (eval "$ac_try") 2>&5 | |
5094 ac_status=$? | 5933 ac_status=$? |
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5096 (exit $ac_status); }; }; then | 5935 (exit $ac_status); }; }; then |
5097 break | 5936 break |
5098 else | 5937 else |
5099 echo "$as_me: failed program was:" >&5 | 5938 echo "$as_me: failed program was:" >&5 |
5100 sed 's/^/| /' conftest.$ac_ext >&5 | 5939 sed 's/^/| /' conftest.$ac_ext >&5 |
5101 | 5940 |
5102 fi | 5941 |
5103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 5942 fi |
5943 | |
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5104 cat >conftest.$ac_ext <<_ACEOF | 5945 cat >conftest.$ac_ext <<_ACEOF |
5105 /* confdefs.h. */ | 5946 /* confdefs.h. */ |
5106 _ACEOF | 5947 _ACEOF |
5107 cat confdefs.h >>conftest.$ac_ext | 5948 cat confdefs.h >>conftest.$ac_ext |
5108 cat >>conftest.$ac_ext <<_ACEOF | 5949 cat >>conftest.$ac_ext <<_ACEOF |
5124 ; | 5965 ; |
5125 return 0; | 5966 return 0; |
5126 } | 5967 } |
5127 _ACEOF | 5968 _ACEOF |
5128 rm -f conftest.$ac_objext | 5969 rm -f conftest.$ac_objext |
5129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5970 if { (ac_try="$ac_compile" |
5130 (eval $ac_compile) 2>conftest.er1 | 5971 case "(($ac_try" in |
5972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
5973 *) ac_try_echo=$ac_try;; | |
5974 esac | |
5975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5976 (eval "$ac_compile") 2>conftest.er1 | |
5131 ac_status=$? | 5977 ac_status=$? |
5132 grep -v '^ *+' conftest.er1 >conftest.err | 5978 grep -v '^ *+' conftest.er1 >conftest.err |
5133 rm -f conftest.er1 | 5979 rm -f conftest.er1 |
5134 cat conftest.err >&5 | 5980 cat conftest.err >&5 |
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5136 (exit $ac_status); } && | 5982 (exit $ac_status); } && |
5137 { ac_try='test -z "$ac_c_werror_flag" | 5983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5138 || test ! -s conftest.err' | 5984 { (case "(($ac_try" in |
5139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5140 (eval $ac_try) 2>&5 | 5986 *) ac_try_echo=$ac_try;; |
5987 esac | |
5988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5989 (eval "$ac_try") 2>&5 | |
5141 ac_status=$? | 5990 ac_status=$? |
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5143 (exit $ac_status); }; } && | 5992 (exit $ac_status); }; } && |
5144 { ac_try='test -s conftest.$ac_objext' | 5993 { ac_try='test -s conftest.$ac_objext' |
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 5994 { (case "(($ac_try" in |
5146 (eval $ac_try) 2>&5 | 5995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5996 *) ac_try_echo=$ac_try;; | |
5997 esac | |
5998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
5999 (eval "$ac_try") 2>&5 | |
5147 ac_status=$? | 6000 ac_status=$? |
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5149 (exit $ac_status); }; }; then | 6002 (exit $ac_status); }; }; then |
5150 ac_cv_sys_large_files=1; break | 6003 ac_cv_sys_large_files=1; break |
5151 else | 6004 else |
5152 echo "$as_me: failed program was:" >&5 | 6005 echo "$as_me: failed program was:" >&5 |
5153 sed 's/^/| /' conftest.$ac_ext >&5 | 6006 sed 's/^/| /' conftest.$ac_ext >&5 |
5154 | 6007 |
5155 fi | 6008 |
5156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6009 fi |
6010 | |
6011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5157 break | 6012 break |
5158 done | 6013 done |
5159 fi | 6014 fi |
5160 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 | 6015 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 |
5161 echo "${ECHO_T}$ac_cv_sys_large_files" >&6 | 6016 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } |
5162 if test "$ac_cv_sys_large_files" != no; then | 6017 if test "$ac_cv_sys_large_files" != no; then |
5163 | 6018 |
5164 cat >>confdefs.h <<_ACEOF | 6019 cat >>confdefs.h <<_ACEOF |
5165 #define _LARGE_FILES $ac_cv_sys_large_files | 6020 #define _LARGE_FILES $ac_cv_sys_large_files |
5166 _ACEOF | 6021 _ACEOF |
5187 | 6042 |
5188 | 6043 |
5189 | 6044 |
5190 if test "${with_sound}" != "no"; then | 6045 if test "${with_sound}" != "no"; then |
5191 # Sound support for GNU/Linux and the free BSDs. | 6046 # Sound support for GNU/Linux and the free BSDs. |
5192 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 6047 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
5193 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 6048 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
5194 if test "${ac_cv_header_stdc+set}" = set; then | 6049 if test "${ac_cv_header_stdc+set}" = set; then |
5195 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6050 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5196 else | 6051 else |
5197 cat >conftest.$ac_ext <<_ACEOF | 6052 cat >conftest.$ac_ext <<_ACEOF |
5198 /* confdefs.h. */ | 6053 /* confdefs.h. */ |
5212 ; | 6067 ; |
5213 return 0; | 6068 return 0; |
5214 } | 6069 } |
5215 _ACEOF | 6070 _ACEOF |
5216 rm -f conftest.$ac_objext | 6071 rm -f conftest.$ac_objext |
5217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6072 if { (ac_try="$ac_compile" |
5218 (eval $ac_compile) 2>conftest.er1 | 6073 case "(($ac_try" in |
6074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6075 *) ac_try_echo=$ac_try;; | |
6076 esac | |
6077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6078 (eval "$ac_compile") 2>conftest.er1 | |
5219 ac_status=$? | 6079 ac_status=$? |
5220 grep -v '^ *+' conftest.er1 >conftest.err | 6080 grep -v '^ *+' conftest.er1 >conftest.err |
5221 rm -f conftest.er1 | 6081 rm -f conftest.er1 |
5222 cat conftest.err >&5 | 6082 cat conftest.err >&5 |
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5224 (exit $ac_status); } && | 6084 (exit $ac_status); } && |
5225 { ac_try='test -z "$ac_c_werror_flag" | 6085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5226 || test ! -s conftest.err' | 6086 { (case "(($ac_try" in |
5227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5228 (eval $ac_try) 2>&5 | 6088 *) ac_try_echo=$ac_try;; |
6089 esac | |
6090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6091 (eval "$ac_try") 2>&5 | |
5229 ac_status=$? | 6092 ac_status=$? |
5230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5231 (exit $ac_status); }; } && | 6094 (exit $ac_status); }; } && |
5232 { ac_try='test -s conftest.$ac_objext' | 6095 { ac_try='test -s conftest.$ac_objext' |
5233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6096 { (case "(($ac_try" in |
5234 (eval $ac_try) 2>&5 | 6097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6098 *) ac_try_echo=$ac_try;; | |
6099 esac | |
6100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6101 (eval "$ac_try") 2>&5 | |
5235 ac_status=$? | 6102 ac_status=$? |
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5237 (exit $ac_status); }; }; then | 6104 (exit $ac_status); }; }; then |
5238 ac_cv_header_stdc=yes | 6105 ac_cv_header_stdc=yes |
5239 else | 6106 else |
5240 echo "$as_me: failed program was:" >&5 | 6107 echo "$as_me: failed program was:" >&5 |
5241 sed 's/^/| /' conftest.$ac_ext >&5 | 6108 sed 's/^/| /' conftest.$ac_ext >&5 |
5242 | 6109 |
5243 ac_cv_header_stdc=no | 6110 ac_cv_header_stdc=no |
5244 fi | 6111 fi |
5245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6112 |
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
5246 | 6114 |
5247 if test $ac_cv_header_stdc = yes; then | 6115 if test $ac_cv_header_stdc = yes; then |
5248 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6116 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5249 cat >conftest.$ac_ext <<_ACEOF | 6117 cat >conftest.$ac_ext <<_ACEOF |
5250 /* confdefs.h. */ | 6118 /* confdefs.h. */ |
5296 _ACEOF | 6164 _ACEOF |
5297 cat confdefs.h >>conftest.$ac_ext | 6165 cat confdefs.h >>conftest.$ac_ext |
5298 cat >>conftest.$ac_ext <<_ACEOF | 6166 cat >>conftest.$ac_ext <<_ACEOF |
5299 /* end confdefs.h. */ | 6167 /* end confdefs.h. */ |
5300 #include <ctype.h> | 6168 #include <ctype.h> |
6169 #include <stdlib.h> | |
5301 #if ((' ' & 0x0FF) == 0x020) | 6170 #if ((' ' & 0x0FF) == 0x020) |
5302 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6171 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
5303 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 6172 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
5304 #else | 6173 #else |
5305 # define ISLOWER(c) \ | 6174 # define ISLOWER(c) \ |
5315 { | 6184 { |
5316 int i; | 6185 int i; |
5317 for (i = 0; i < 256; i++) | 6186 for (i = 0; i < 256; i++) |
5318 if (XOR (islower (i), ISLOWER (i)) | 6187 if (XOR (islower (i), ISLOWER (i)) |
5319 || toupper (i) != TOUPPER (i)) | 6188 || toupper (i) != TOUPPER (i)) |
5320 exit(2); | 6189 return 2; |
5321 exit (0); | 6190 return 0; |
5322 } | 6191 } |
5323 _ACEOF | 6192 _ACEOF |
5324 rm -f conftest$ac_exeext | 6193 rm -f conftest$ac_exeext |
5325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6194 if { (ac_try="$ac_link" |
5326 (eval $ac_link) 2>&5 | 6195 case "(($ac_try" in |
6196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6197 *) ac_try_echo=$ac_try;; | |
6198 esac | |
6199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6200 (eval "$ac_link") 2>&5 | |
5327 ac_status=$? | 6201 ac_status=$? |
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 6203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6204 { (case "(($ac_try" in |
5331 (eval $ac_try) 2>&5 | 6205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6206 *) ac_try_echo=$ac_try;; | |
6207 esac | |
6208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6209 (eval "$ac_try") 2>&5 | |
5332 ac_status=$? | 6210 ac_status=$? |
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5334 (exit $ac_status); }; }; then | 6212 (exit $ac_status); }; }; then |
5335 : | 6213 : |
5336 else | 6214 else |
5339 sed 's/^/| /' conftest.$ac_ext >&5 | 6217 sed 's/^/| /' conftest.$ac_ext >&5 |
5340 | 6218 |
5341 ( exit $ac_status ) | 6219 ( exit $ac_status ) |
5342 ac_cv_header_stdc=no | 6220 ac_cv_header_stdc=no |
5343 fi | 6221 fi |
5344 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 6222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5345 fi | 6223 fi |
5346 fi | 6224 |
5347 fi | 6225 |
5348 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 6226 fi |
5349 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 6227 fi |
6228 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
6229 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
5350 if test $ac_cv_header_stdc = yes; then | 6230 if test $ac_cv_header_stdc = yes; then |
5351 | 6231 |
5352 cat >>confdefs.h <<\_ACEOF | 6232 cat >>confdefs.h <<\_ACEOF |
5353 #define STDC_HEADERS 1 | 6233 #define STDC_HEADERS 1 |
5354 _ACEOF | 6234 _ACEOF |
5367 | 6247 |
5368 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 6248 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
5369 inttypes.h stdint.h unistd.h | 6249 inttypes.h stdint.h unistd.h |
5370 do | 6250 do |
5371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5372 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6252 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5374 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5375 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6255 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5376 else | 6256 else |
5377 cat >conftest.$ac_ext <<_ACEOF | 6257 cat >conftest.$ac_ext <<_ACEOF |
5378 /* confdefs.h. */ | 6258 /* confdefs.h. */ |
5379 _ACEOF | 6259 _ACEOF |
5383 $ac_includes_default | 6263 $ac_includes_default |
5384 | 6264 |
5385 #include <$ac_header> | 6265 #include <$ac_header> |
5386 _ACEOF | 6266 _ACEOF |
5387 rm -f conftest.$ac_objext | 6267 rm -f conftest.$ac_objext |
5388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6268 if { (ac_try="$ac_compile" |
5389 (eval $ac_compile) 2>conftest.er1 | 6269 case "(($ac_try" in |
6270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6271 *) ac_try_echo=$ac_try;; | |
6272 esac | |
6273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6274 (eval "$ac_compile") 2>conftest.er1 | |
5390 ac_status=$? | 6275 ac_status=$? |
5391 grep -v '^ *+' conftest.er1 >conftest.err | 6276 grep -v '^ *+' conftest.er1 >conftest.err |
5392 rm -f conftest.er1 | 6277 rm -f conftest.er1 |
5393 cat conftest.err >&5 | 6278 cat conftest.err >&5 |
5394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5395 (exit $ac_status); } && | 6280 (exit $ac_status); } && |
5396 { ac_try='test -z "$ac_c_werror_flag" | 6281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5397 || test ! -s conftest.err' | 6282 { (case "(($ac_try" in |
5398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5399 (eval $ac_try) 2>&5 | 6284 *) ac_try_echo=$ac_try;; |
6285 esac | |
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6287 (eval "$ac_try") 2>&5 | |
5400 ac_status=$? | 6288 ac_status=$? |
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5402 (exit $ac_status); }; } && | 6290 (exit $ac_status); }; } && |
5403 { ac_try='test -s conftest.$ac_objext' | 6291 { ac_try='test -s conftest.$ac_objext' |
5404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6292 { (case "(($ac_try" in |
5405 (eval $ac_try) 2>&5 | 6293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6294 *) ac_try_echo=$ac_try;; | |
6295 esac | |
6296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6297 (eval "$ac_try") 2>&5 | |
5406 ac_status=$? | 6298 ac_status=$? |
5407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5408 (exit $ac_status); }; }; then | 6300 (exit $ac_status); }; }; then |
5409 eval "$as_ac_Header=yes" | 6301 eval "$as_ac_Header=yes" |
5410 else | 6302 else |
5411 echo "$as_me: failed program was:" >&5 | 6303 echo "$as_me: failed program was:" >&5 |
5412 sed 's/^/| /' conftest.$ac_ext >&5 | 6304 sed 's/^/| /' conftest.$ac_ext >&5 |
5413 | 6305 |
5414 eval "$as_ac_Header=no" | 6306 eval "$as_ac_Header=no" |
5415 fi | 6307 fi |
5416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6308 |
5417 fi | 6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6310 fi |
5419 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6311 ac_res=`eval echo '${'$as_ac_Header'}'` |
6312 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
6313 echo "${ECHO_T}$ac_res" >&6; } | |
5420 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6314 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5421 cat >>confdefs.h <<_ACEOF | 6315 cat >>confdefs.h <<_ACEOF |
5422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5423 _ACEOF | 6317 _ACEOF |
5424 | 6318 |
5431 | 6325 |
5432 | 6326 |
5433 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 6327 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5434 do | 6328 do |
5435 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5436 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5437 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6331 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5439 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5440 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6334 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5441 fi | 6335 fi |
5442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6336 ac_res=`eval echo '${'$as_ac_Header'}'` |
5443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6337 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6338 echo "${ECHO_T}$ac_res" >&6; } | |
5444 else | 6339 else |
5445 # Is the header compilable? | 6340 # Is the header compilable? |
5446 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 6341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 6342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
5448 cat >conftest.$ac_ext <<_ACEOF | 6343 cat >conftest.$ac_ext <<_ACEOF |
5449 /* confdefs.h. */ | 6344 /* confdefs.h. */ |
5450 _ACEOF | 6345 _ACEOF |
5451 cat confdefs.h >>conftest.$ac_ext | 6346 cat confdefs.h >>conftest.$ac_ext |
5452 cat >>conftest.$ac_ext <<_ACEOF | 6347 cat >>conftest.$ac_ext <<_ACEOF |
5453 /* end confdefs.h. */ | 6348 /* end confdefs.h. */ |
5454 $ac_includes_default | 6349 $ac_includes_default |
5455 #include <$ac_header> | 6350 #include <$ac_header> |
5456 _ACEOF | 6351 _ACEOF |
5457 rm -f conftest.$ac_objext | 6352 rm -f conftest.$ac_objext |
5458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6353 if { (ac_try="$ac_compile" |
5459 (eval $ac_compile) 2>conftest.er1 | 6354 case "(($ac_try" in |
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6356 *) ac_try_echo=$ac_try;; | |
6357 esac | |
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6359 (eval "$ac_compile") 2>conftest.er1 | |
5460 ac_status=$? | 6360 ac_status=$? |
5461 grep -v '^ *+' conftest.er1 >conftest.err | 6361 grep -v '^ *+' conftest.er1 >conftest.err |
5462 rm -f conftest.er1 | 6362 rm -f conftest.er1 |
5463 cat conftest.err >&5 | 6363 cat conftest.err >&5 |
5464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5465 (exit $ac_status); } && | 6365 (exit $ac_status); } && |
5466 { ac_try='test -z "$ac_c_werror_flag" | 6366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5467 || test ! -s conftest.err' | 6367 { (case "(($ac_try" in |
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5469 (eval $ac_try) 2>&5 | 6369 *) ac_try_echo=$ac_try;; |
6370 esac | |
6371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6372 (eval "$ac_try") 2>&5 | |
5470 ac_status=$? | 6373 ac_status=$? |
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5472 (exit $ac_status); }; } && | 6375 (exit $ac_status); }; } && |
5473 { ac_try='test -s conftest.$ac_objext' | 6376 { ac_try='test -s conftest.$ac_objext' |
5474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6377 { (case "(($ac_try" in |
5475 (eval $ac_try) 2>&5 | 6378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6379 *) ac_try_echo=$ac_try;; | |
6380 esac | |
6381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6382 (eval "$ac_try") 2>&5 | |
5476 ac_status=$? | 6383 ac_status=$? |
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5478 (exit $ac_status); }; }; then | 6385 (exit $ac_status); }; }; then |
5479 ac_header_compiler=yes | 6386 ac_header_compiler=yes |
5480 else | 6387 else |
5481 echo "$as_me: failed program was:" >&5 | 6388 echo "$as_me: failed program was:" >&5 |
5482 sed 's/^/| /' conftest.$ac_ext >&5 | 6389 sed 's/^/| /' conftest.$ac_ext >&5 |
5483 | 6390 |
5484 ac_header_compiler=no | 6391 ac_header_compiler=no |
5485 fi | 6392 fi |
5486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6393 |
5487 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 6394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5488 echo "${ECHO_T}$ac_header_compiler" >&6 | 6395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6396 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
5489 | 6397 |
5490 # Is the header present? | 6398 # Is the header present? |
5491 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 6399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5492 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 6400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
5493 cat >conftest.$ac_ext <<_ACEOF | 6401 cat >conftest.$ac_ext <<_ACEOF |
5494 /* confdefs.h. */ | 6402 /* confdefs.h. */ |
5495 _ACEOF | 6403 _ACEOF |
5496 cat confdefs.h >>conftest.$ac_ext | 6404 cat confdefs.h >>conftest.$ac_ext |
5497 cat >>conftest.$ac_ext <<_ACEOF | 6405 cat >>conftest.$ac_ext <<_ACEOF |
5498 /* end confdefs.h. */ | 6406 /* end confdefs.h. */ |
5499 #include <$ac_header> | 6407 #include <$ac_header> |
5500 _ACEOF | 6408 _ACEOF |
5501 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6409 if { (ac_try="$ac_cpp conftest.$ac_ext" |
5502 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6410 case "(($ac_try" in |
6411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6412 *) ac_try_echo=$ac_try;; | |
6413 esac | |
6414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5503 ac_status=$? | 6416 ac_status=$? |
5504 grep -v '^ *+' conftest.er1 >conftest.err | 6417 grep -v '^ *+' conftest.er1 >conftest.err |
5505 rm -f conftest.er1 | 6418 rm -f conftest.er1 |
5506 cat conftest.err >&5 | 6419 cat conftest.err >&5 |
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5521 echo "$as_me: failed program was:" >&5 | 6434 echo "$as_me: failed program was:" >&5 |
5522 sed 's/^/| /' conftest.$ac_ext >&5 | 6435 sed 's/^/| /' conftest.$ac_ext >&5 |
5523 | 6436 |
5524 ac_header_preproc=no | 6437 ac_header_preproc=no |
5525 fi | 6438 fi |
6439 | |
5526 rm -f conftest.err conftest.$ac_ext | 6440 rm -f conftest.err conftest.$ac_ext |
5527 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5528 echo "${ECHO_T}$ac_header_preproc" >&6 | 6442 echo "${ECHO_T}$ac_header_preproc" >&6; } |
5529 | 6443 |
5530 # So? What about this header? | 6444 # So? What about this header? |
5531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 6445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5532 yes:no: ) | 6446 yes:no: ) |
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 6447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 6461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 6462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 6463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 6464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 6465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5552 ( | 6466 |
5553 cat <<\_ASBOX | |
5554 ## ------------------------------------------ ## | |
5555 ## Report this to the AC_PACKAGE_NAME lists. ## | |
5556 ## ------------------------------------------ ## | |
5557 _ASBOX | |
5558 ) | | |
5559 sed "s/^/$as_me: WARNING: /" >&2 | |
5560 ;; | 6467 ;; |
5561 esac | 6468 esac |
5562 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6469 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5564 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5565 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6472 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5566 else | 6473 else |
5567 eval "$as_ac_Header=\$ac_header_preproc" | 6474 eval "$as_ac_Header=\$ac_header_preproc" |
5568 fi | 6475 fi |
5569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6476 ac_res=`eval echo '${'$as_ac_Header'}'` |
5570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6477 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6478 echo "${ECHO_T}$ac_res" >&6; } | |
5571 | 6479 |
5572 fi | 6480 fi |
5573 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6481 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5574 cat >>confdefs.h <<_ACEOF | 6482 cat >>confdefs.h <<_ACEOF |
5575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5578 fi | 6486 fi |
5579 | 6487 |
5580 done | 6488 done |
5581 | 6489 |
5582 # Emulation library used on NetBSD. | 6490 # Emulation library used on NetBSD. |
5583 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 | 6491 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5 |
5584 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6 | 6492 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; } |
5585 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then | 6493 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then |
5586 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6494 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5587 else | 6495 else |
5588 ac_check_lib_save_LIBS=$LIBS | 6496 ac_check_lib_save_LIBS=$LIBS |
5589 LIBS="-lossaudio $LIBS" | 6497 LIBS="-lossaudio $LIBS" |
5592 _ACEOF | 6500 _ACEOF |
5593 cat confdefs.h >>conftest.$ac_ext | 6501 cat confdefs.h >>conftest.$ac_ext |
5594 cat >>conftest.$ac_ext <<_ACEOF | 6502 cat >>conftest.$ac_ext <<_ACEOF |
5595 /* end confdefs.h. */ | 6503 /* end confdefs.h. */ |
5596 | 6504 |
5597 /* Override any gcc2 internal prototype to avoid an error. */ | 6505 /* Override any GCC internal prototype to avoid an error. |
6506 Use char because int might match the return type of a GCC | |
6507 builtin and then its argument prototype would still apply. */ | |
5598 #ifdef __cplusplus | 6508 #ifdef __cplusplus |
5599 extern "C" | 6509 extern "C" |
5600 #endif | 6510 #endif |
5601 /* We use char because int might match the return type of a gcc2 | |
5602 builtin and then its argument prototype would still apply. */ | |
5603 char _oss_ioctl (); | 6511 char _oss_ioctl (); |
5604 int | 6512 int |
5605 main () | 6513 main () |
5606 { | 6514 { |
5607 _oss_ioctl (); | 6515 return _oss_ioctl (); |
5608 ; | 6516 ; |
5609 return 0; | 6517 return 0; |
5610 } | 6518 } |
5611 _ACEOF | 6519 _ACEOF |
5612 rm -f conftest.$ac_objext conftest$ac_exeext | 6520 rm -f conftest.$ac_objext conftest$ac_exeext |
5613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6521 if { (ac_try="$ac_link" |
5614 (eval $ac_link) 2>conftest.er1 | 6522 case "(($ac_try" in |
6523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6524 *) ac_try_echo=$ac_try;; | |
6525 esac | |
6526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6527 (eval "$ac_link") 2>conftest.er1 | |
5615 ac_status=$? | 6528 ac_status=$? |
5616 grep -v '^ *+' conftest.er1 >conftest.err | 6529 grep -v '^ *+' conftest.er1 >conftest.err |
5617 rm -f conftest.er1 | 6530 rm -f conftest.er1 |
5618 cat conftest.err >&5 | 6531 cat conftest.err >&5 |
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5620 (exit $ac_status); } && | 6533 (exit $ac_status); } && |
5621 { ac_try='test -z "$ac_c_werror_flag" | 6534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5622 || test ! -s conftest.err' | 6535 { (case "(($ac_try" in |
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5624 (eval $ac_try) 2>&5 | 6537 *) ac_try_echo=$ac_try;; |
6538 esac | |
6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6540 (eval "$ac_try") 2>&5 | |
5625 ac_status=$? | 6541 ac_status=$? |
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5627 (exit $ac_status); }; } && | 6543 (exit $ac_status); }; } && |
5628 { ac_try='test -s conftest$ac_exeext' | 6544 { ac_try='test -s conftest$ac_exeext' |
5629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6545 { (case "(($ac_try" in |
5630 (eval $ac_try) 2>&5 | 6546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6547 *) ac_try_echo=$ac_try;; | |
6548 esac | |
6549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6550 (eval "$ac_try") 2>&5 | |
5631 ac_status=$? | 6551 ac_status=$? |
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5633 (exit $ac_status); }; }; then | 6553 (exit $ac_status); }; }; then |
5634 ac_cv_lib_ossaudio__oss_ioctl=yes | 6554 ac_cv_lib_ossaudio__oss_ioctl=yes |
5635 else | 6555 else |
5636 echo "$as_me: failed program was:" >&5 | 6556 echo "$as_me: failed program was:" >&5 |
5637 sed 's/^/| /' conftest.$ac_ext >&5 | 6557 sed 's/^/| /' conftest.$ac_ext >&5 |
5638 | 6558 |
5639 ac_cv_lib_ossaudio__oss_ioctl=no | 6559 ac_cv_lib_ossaudio__oss_ioctl=no |
5640 fi | 6560 fi |
5641 rm -f conftest.err conftest.$ac_objext \ | 6561 |
6562 rm -f core conftest.err conftest.$ac_objext \ | |
5642 conftest$ac_exeext conftest.$ac_ext | 6563 conftest$ac_exeext conftest.$ac_ext |
5643 LIBS=$ac_check_lib_save_LIBS | 6564 LIBS=$ac_check_lib_save_LIBS |
5644 fi | 6565 fi |
5645 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 6566 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 |
5646 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6 | 6567 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; } |
5647 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then | 6568 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then |
5648 LIBSOUND=-lossaudio | 6569 LIBSOUND=-lossaudio |
5649 else | 6570 else |
5650 LIBSOUND= | 6571 LIBSOUND= |
5651 fi | 6572 fi |
5661 succeeded=no | 6582 succeeded=no |
5662 | 6583 |
5663 if test -z "$PKG_CONFIG"; then | 6584 if test -z "$PKG_CONFIG"; then |
5664 # Extract the first word of "pkg-config", so it can be a program name with args. | 6585 # Extract the first word of "pkg-config", so it can be a program name with args. |
5665 set dummy pkg-config; ac_word=$2 | 6586 set dummy pkg-config; ac_word=$2 |
5666 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 6587 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
5667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 6588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
5668 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 6589 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
5669 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6590 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5670 else | 6591 else |
5671 case $PKG_CONFIG in | 6592 case $PKG_CONFIG in |
5672 [\\/]* | ?:[\\/]*) | 6593 [\\/]* | ?:[\\/]*) |
5677 for as_dir in $PATH | 6598 for as_dir in $PATH |
5678 do | 6599 do |
5679 IFS=$as_save_IFS | 6600 IFS=$as_save_IFS |
5680 test -z "$as_dir" && as_dir=. | 6601 test -z "$as_dir" && as_dir=. |
5681 for ac_exec_ext in '' $ac_executable_extensions; do | 6602 for ac_exec_ext in '' $ac_executable_extensions; do |
5682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 6603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
5683 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 6604 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
5684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
5685 break 2 | 6606 break 2 |
5686 fi | 6607 fi |
5687 done | 6608 done |
5688 done | 6609 done |
6610 IFS=$as_save_IFS | |
5689 | 6611 |
5690 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 6612 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
5691 ;; | 6613 ;; |
5692 esac | 6614 esac |
5693 fi | 6615 fi |
5694 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 6616 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
5695 | |
5696 if test -n "$PKG_CONFIG"; then | 6617 if test -n "$PKG_CONFIG"; then |
5697 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 6618 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
5698 echo "${ECHO_T}$PKG_CONFIG" >&6 | 6619 echo "${ECHO_T}$PKG_CONFIG" >&6; } |
5699 else | 6620 else |
5700 echo "$as_me:$LINENO: result: no" >&5 | 6621 { echo "$as_me:$LINENO: result: no" >&5 |
5701 echo "${ECHO_T}no" >&6 | 6622 echo "${ECHO_T}no" >&6; } |
5702 fi | 6623 fi |
6624 | |
5703 | 6625 |
5704 fi | 6626 fi |
5705 | 6627 |
5706 if test "$PKG_CONFIG" = "no" ; then | 6628 if test "$PKG_CONFIG" = "no" ; then |
5707 HAVE_ALSA=no | 6629 HAVE_ALSA=no |
5708 else | 6630 else |
5709 PKG_CONFIG_MIN_VERSION=0.9.0 | 6631 PKG_CONFIG_MIN_VERSION=0.9.0 |
5710 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 6632 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
5711 echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 | 6633 { echo "$as_me:$LINENO: checking for $ALSA_MODULES" >&5 |
5712 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6 | 6634 echo $ECHO_N "checking for $ALSA_MODULES... $ECHO_C" >&6; } |
5713 | 6635 |
5714 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then | 6636 if $PKG_CONFIG --exists "$ALSA_MODULES" 2>&5; then |
5715 echo "$as_me:$LINENO: result: yes" >&5 | 6637 { echo "$as_me:$LINENO: result: yes" >&5 |
5716 echo "${ECHO_T}yes" >&6 | 6638 echo "${ECHO_T}yes" >&6; } |
5717 succeeded=yes | 6639 succeeded=yes |
5718 | 6640 |
5719 echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 | 6641 { echo "$as_me:$LINENO: checking ALSA_CFLAGS" >&5 |
5720 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6 | 6642 echo $ECHO_N "checking ALSA_CFLAGS... $ECHO_C" >&6; } |
5721 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` | 6643 ALSA_CFLAGS=`$PKG_CONFIG --cflags "$ALSA_MODULES"` |
5722 echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 | 6644 { echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 |
5723 echo "${ECHO_T}$ALSA_CFLAGS" >&6 | 6645 echo "${ECHO_T}$ALSA_CFLAGS" >&6; } |
5724 | 6646 |
5725 echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 | 6647 { echo "$as_me:$LINENO: checking ALSA_LIBS" >&5 |
5726 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6 | 6648 echo $ECHO_N "checking ALSA_LIBS... $ECHO_C" >&6; } |
5727 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` | 6649 ALSA_LIBS=`$PKG_CONFIG --libs "$ALSA_MODULES"` |
5728 echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 | 6650 { echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 |
5729 echo "${ECHO_T}$ALSA_LIBS" >&6 | 6651 echo "${ECHO_T}$ALSA_LIBS" >&6; } |
5730 else | 6652 else |
5731 echo "$as_me:$LINENO: result: no" >&5 | 6653 { echo "$as_me:$LINENO: result: no" >&5 |
5732 echo "${ECHO_T}no" >&6 | 6654 echo "${ECHO_T}no" >&6; } |
5733 ALSA_CFLAGS="" | 6655 ALSA_CFLAGS="" |
5734 ALSA_LIBS="" | 6656 ALSA_LIBS="" |
5735 ## If we have a custom action on failure, don't print errors, but | 6657 ## If we have a custom action on failure, don't print errors, but |
5736 ## do set a variable so people can do so. | 6658 ## do set a variable so people can do so. |
5737 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` | 6659 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$ALSA_MODULES"` |
5794 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ | 6716 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ |
5795 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6717 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
5796 sys/utsname.h pwd.h | 6718 sys/utsname.h pwd.h |
5797 do | 6719 do |
5798 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5799 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6721 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5800 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6722 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5802 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6724 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5803 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6725 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5804 fi | 6726 fi |
5805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6727 ac_res=`eval echo '${'$as_ac_Header'}'` |
5806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6728 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6729 echo "${ECHO_T}$ac_res" >&6; } | |
5807 else | 6730 else |
5808 # Is the header compilable? | 6731 # Is the header compilable? |
5809 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 6732 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 6733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
5811 cat >conftest.$ac_ext <<_ACEOF | 6734 cat >conftest.$ac_ext <<_ACEOF |
5812 /* confdefs.h. */ | 6735 /* confdefs.h. */ |
5813 _ACEOF | 6736 _ACEOF |
5814 cat confdefs.h >>conftest.$ac_ext | 6737 cat confdefs.h >>conftest.$ac_ext |
5815 cat >>conftest.$ac_ext <<_ACEOF | 6738 cat >>conftest.$ac_ext <<_ACEOF |
5816 /* end confdefs.h. */ | 6739 /* end confdefs.h. */ |
5817 $ac_includes_default | 6740 $ac_includes_default |
5818 #include <$ac_header> | 6741 #include <$ac_header> |
5819 _ACEOF | 6742 _ACEOF |
5820 rm -f conftest.$ac_objext | 6743 rm -f conftest.$ac_objext |
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6744 if { (ac_try="$ac_compile" |
5822 (eval $ac_compile) 2>conftest.er1 | 6745 case "(($ac_try" in |
6746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6747 *) ac_try_echo=$ac_try;; | |
6748 esac | |
6749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6750 (eval "$ac_compile") 2>conftest.er1 | |
5823 ac_status=$? | 6751 ac_status=$? |
5824 grep -v '^ *+' conftest.er1 >conftest.err | 6752 grep -v '^ *+' conftest.er1 >conftest.err |
5825 rm -f conftest.er1 | 6753 rm -f conftest.er1 |
5826 cat conftest.err >&5 | 6754 cat conftest.err >&5 |
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5828 (exit $ac_status); } && | 6756 (exit $ac_status); } && |
5829 { ac_try='test -z "$ac_c_werror_flag" | 6757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5830 || test ! -s conftest.err' | 6758 { (case "(($ac_try" in |
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5832 (eval $ac_try) 2>&5 | 6760 *) ac_try_echo=$ac_try;; |
6761 esac | |
6762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6763 (eval "$ac_try") 2>&5 | |
5833 ac_status=$? | 6764 ac_status=$? |
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5835 (exit $ac_status); }; } && | 6766 (exit $ac_status); }; } && |
5836 { ac_try='test -s conftest.$ac_objext' | 6767 { ac_try='test -s conftest.$ac_objext' |
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6768 { (case "(($ac_try" in |
5838 (eval $ac_try) 2>&5 | 6769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6770 *) ac_try_echo=$ac_try;; | |
6771 esac | |
6772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6773 (eval "$ac_try") 2>&5 | |
5839 ac_status=$? | 6774 ac_status=$? |
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5841 (exit $ac_status); }; }; then | 6776 (exit $ac_status); }; }; then |
5842 ac_header_compiler=yes | 6777 ac_header_compiler=yes |
5843 else | 6778 else |
5844 echo "$as_me: failed program was:" >&5 | 6779 echo "$as_me: failed program was:" >&5 |
5845 sed 's/^/| /' conftest.$ac_ext >&5 | 6780 sed 's/^/| /' conftest.$ac_ext >&5 |
5846 | 6781 |
5847 ac_header_compiler=no | 6782 ac_header_compiler=no |
5848 fi | 6783 fi |
5849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6784 |
5850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 6785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5851 echo "${ECHO_T}$ac_header_compiler" >&6 | 6786 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
6787 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
5852 | 6788 |
5853 # Is the header present? | 6789 # Is the header present? |
5854 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 6790 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 6791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
5856 cat >conftest.$ac_ext <<_ACEOF | 6792 cat >conftest.$ac_ext <<_ACEOF |
5857 /* confdefs.h. */ | 6793 /* confdefs.h. */ |
5858 _ACEOF | 6794 _ACEOF |
5859 cat confdefs.h >>conftest.$ac_ext | 6795 cat confdefs.h >>conftest.$ac_ext |
5860 cat >>conftest.$ac_ext <<_ACEOF | 6796 cat >>conftest.$ac_ext <<_ACEOF |
5861 /* end confdefs.h. */ | 6797 /* end confdefs.h. */ |
5862 #include <$ac_header> | 6798 #include <$ac_header> |
5863 _ACEOF | 6799 _ACEOF |
5864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6800 if { (ac_try="$ac_cpp conftest.$ac_ext" |
5865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6801 case "(($ac_try" in |
6802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6803 *) ac_try_echo=$ac_try;; | |
6804 esac | |
6805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
5866 ac_status=$? | 6807 ac_status=$? |
5867 grep -v '^ *+' conftest.er1 >conftest.err | 6808 grep -v '^ *+' conftest.er1 >conftest.err |
5868 rm -f conftest.er1 | 6809 rm -f conftest.er1 |
5869 cat conftest.err >&5 | 6810 cat conftest.err >&5 |
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5884 echo "$as_me: failed program was:" >&5 | 6825 echo "$as_me: failed program was:" >&5 |
5885 sed 's/^/| /' conftest.$ac_ext >&5 | 6826 sed 's/^/| /' conftest.$ac_ext >&5 |
5886 | 6827 |
5887 ac_header_preproc=no | 6828 ac_header_preproc=no |
5888 fi | 6829 fi |
6830 | |
5889 rm -f conftest.err conftest.$ac_ext | 6831 rm -f conftest.err conftest.$ac_ext |
5890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 6832 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5891 echo "${ECHO_T}$ac_header_preproc" >&6 | 6833 echo "${ECHO_T}$ac_header_preproc" >&6; } |
5892 | 6834 |
5893 # So? What about this header? | 6835 # So? What about this header? |
5894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 6836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
5895 yes:no: ) | 6837 yes:no: ) |
5896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 6838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 6852 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
5911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 6853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 6854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 6855 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
5914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 6856 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
5915 ( | 6857 |
5916 cat <<\_ASBOX | |
5917 ## ------------------------------------------ ## | |
5918 ## Report this to the AC_PACKAGE_NAME lists. ## | |
5919 ## ------------------------------------------ ## | |
5920 _ASBOX | |
5921 ) | | |
5922 sed "s/^/$as_me: WARNING: /" >&2 | |
5923 ;; | 6858 ;; |
5924 esac | 6859 esac |
5925 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6860 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5927 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6862 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5928 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6863 echo $ECHO_N "(cached) $ECHO_C" >&6 |
5929 else | 6864 else |
5930 eval "$as_ac_Header=\$ac_header_preproc" | 6865 eval "$as_ac_Header=\$ac_header_preproc" |
5931 fi | 6866 fi |
5932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 6867 ac_res=`eval echo '${'$as_ac_Header'}'` |
5933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 6868 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
6869 echo "${ECHO_T}$ac_res" >&6; } | |
5934 | 6870 |
5935 fi | 6871 fi |
5936 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 6872 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5937 cat >>confdefs.h <<_ACEOF | 6873 cat >>confdefs.h <<_ACEOF |
5938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5941 fi | 6877 fi |
5942 | 6878 |
5943 done | 6879 done |
5944 | 6880 |
5945 | 6881 |
5946 echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 | 6882 { echo "$as_me:$LINENO: checking if personality LINUX32 can be set" >&5 |
5947 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6 | 6883 echo $ECHO_N "checking if personality LINUX32 can be set... $ECHO_C" >&6; } |
5948 cat >conftest.$ac_ext <<_ACEOF | 6884 cat >conftest.$ac_ext <<_ACEOF |
5949 /* confdefs.h. */ | 6885 /* confdefs.h. */ |
5950 _ACEOF | 6886 _ACEOF |
5951 cat confdefs.h >>conftest.$ac_ext | 6887 cat confdefs.h >>conftest.$ac_ext |
5952 cat >>conftest.$ac_ext <<_ACEOF | 6888 cat >>conftest.$ac_ext <<_ACEOF |
5959 ; | 6895 ; |
5960 return 0; | 6896 return 0; |
5961 } | 6897 } |
5962 _ACEOF | 6898 _ACEOF |
5963 rm -f conftest.$ac_objext | 6899 rm -f conftest.$ac_objext |
5964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6900 if { (ac_try="$ac_compile" |
5965 (eval $ac_compile) 2>conftest.er1 | 6901 case "(($ac_try" in |
6902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6903 *) ac_try_echo=$ac_try;; | |
6904 esac | |
6905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6906 (eval "$ac_compile") 2>conftest.er1 | |
5966 ac_status=$? | 6907 ac_status=$? |
5967 grep -v '^ *+' conftest.er1 >conftest.err | 6908 grep -v '^ *+' conftest.er1 >conftest.err |
5968 rm -f conftest.er1 | 6909 rm -f conftest.er1 |
5969 cat conftest.err >&5 | 6910 cat conftest.err >&5 |
5970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5971 (exit $ac_status); } && | 6912 (exit $ac_status); } && |
5972 { ac_try='test -z "$ac_c_werror_flag" | 6913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
5973 || test ! -s conftest.err' | 6914 { (case "(($ac_try" in |
5974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
5975 (eval $ac_try) 2>&5 | 6916 *) ac_try_echo=$ac_try;; |
6917 esac | |
6918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6919 (eval "$ac_try") 2>&5 | |
5976 ac_status=$? | 6920 ac_status=$? |
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5978 (exit $ac_status); }; } && | 6922 (exit $ac_status); }; } && |
5979 { ac_try='test -s conftest.$ac_objext' | 6923 { ac_try='test -s conftest.$ac_objext' |
5980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 6924 { (case "(($ac_try" in |
5981 (eval $ac_try) 2>&5 | 6925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6926 *) ac_try_echo=$ac_try;; | |
6927 esac | |
6928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6929 (eval "$ac_try") 2>&5 | |
5982 ac_status=$? | 6930 ac_status=$? |
5983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5984 (exit $ac_status); }; }; then | 6932 (exit $ac_status); }; }; then |
5985 emacs_cv_personality_linux32=yes | 6933 emacs_cv_personality_linux32=yes |
5986 else | 6934 else |
5987 echo "$as_me: failed program was:" >&5 | 6935 echo "$as_me: failed program was:" >&5 |
5988 sed 's/^/| /' conftest.$ac_ext >&5 | 6936 sed 's/^/| /' conftest.$ac_ext >&5 |
5989 | 6937 |
5990 emacs_cv_personality_linux32=no | 6938 emacs_cv_personality_linux32=no |
5991 fi | 6939 fi |
5992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 6940 |
5993 echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 | 6941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5994 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6 | 6942 { echo "$as_me:$LINENO: result: $emacs_cv_personality_linux32" >&5 |
6943 echo "${ECHO_T}$emacs_cv_personality_linux32" >&6; } | |
5995 | 6944 |
5996 if test $emacs_cv_personality_linux32 = yes; then | 6945 if test $emacs_cv_personality_linux32 = yes; then |
5997 | 6946 |
5998 cat >>confdefs.h <<\_ACEOF | 6947 cat >>confdefs.h <<\_ACEOF |
5999 #define HAVE_PERSONALITY_LINUX32 1 | 6948 #define HAVE_PERSONALITY_LINUX32 1 |
6003 | 6952 |
6004 | 6953 |
6005 for ac_header in term.h | 6954 for ac_header in term.h |
6006 do | 6955 do |
6007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6008 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 6957 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 6958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6010 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 6959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6011 echo $ECHO_N "(cached) $ECHO_C" >&6 | 6960 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6012 else | 6961 else |
6013 cat >conftest.$ac_ext <<_ACEOF | 6962 cat >conftest.$ac_ext <<_ACEOF |
6014 /* confdefs.h. */ | 6963 /* confdefs.h. */ |
6015 _ACEOF | 6964 _ACEOF |
6016 cat confdefs.h >>conftest.$ac_ext | 6965 cat confdefs.h >>conftest.$ac_ext |
6017 cat >>conftest.$ac_ext <<_ACEOF | 6966 cat >>conftest.$ac_ext <<_ACEOF |
6018 /* end confdefs.h. */ | 6967 /* end confdefs.h. */ |
6019 #include <$ac_header> | 6968 #include <$ac_header> |
6020 _ACEOF | 6969 _ACEOF |
6021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 6970 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 6971 case "(($ac_try" in |
6972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
6973 *) ac_try_echo=$ac_try;; | |
6974 esac | |
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
6976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6023 ac_status=$? | 6977 ac_status=$? |
6024 grep -v '^ *+' conftest.er1 >conftest.err | 6978 grep -v '^ *+' conftest.er1 >conftest.err |
6025 rm -f conftest.er1 | 6979 rm -f conftest.er1 |
6026 cat conftest.err >&5 | 6980 cat conftest.err >&5 |
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6041 echo "$as_me: failed program was:" >&5 | 6995 echo "$as_me: failed program was:" >&5 |
6042 sed 's/^/| /' conftest.$ac_ext >&5 | 6996 sed 's/^/| /' conftest.$ac_ext >&5 |
6043 | 6997 |
6044 eval "$as_ac_Header=no" | 6998 eval "$as_ac_Header=no" |
6045 fi | 6999 fi |
7000 | |
6046 rm -f conftest.err conftest.$ac_ext | 7001 rm -f conftest.err conftest.$ac_ext |
6047 fi | 7002 fi |
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7003 ac_res=`eval echo '${'$as_ac_Header'}'` |
6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7004 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7005 echo "${ECHO_T}$ac_res" >&6; } | |
6050 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 7006 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6051 cat >>confdefs.h <<_ACEOF | 7007 cat >>confdefs.h <<_ACEOF |
6052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6053 _ACEOF | 7009 _ACEOF |
6054 | 7010 |
6055 fi | 7011 fi |
6056 | 7012 |
6057 done | 7013 done |
6058 | 7014 |
6059 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 7015 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
6060 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 7016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
6061 if test "${ac_cv_header_stdc+set}" = set; then | 7017 if test "${ac_cv_header_stdc+set}" = set; then |
6062 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7018 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6063 else | 7019 else |
6064 cat >conftest.$ac_ext <<_ACEOF | 7020 cat >conftest.$ac_ext <<_ACEOF |
6065 /* confdefs.h. */ | 7021 /* confdefs.h. */ |
6079 ; | 7035 ; |
6080 return 0; | 7036 return 0; |
6081 } | 7037 } |
6082 _ACEOF | 7038 _ACEOF |
6083 rm -f conftest.$ac_objext | 7039 rm -f conftest.$ac_objext |
6084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7040 if { (ac_try="$ac_compile" |
6085 (eval $ac_compile) 2>conftest.er1 | 7041 case "(($ac_try" in |
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7043 *) ac_try_echo=$ac_try;; | |
7044 esac | |
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7046 (eval "$ac_compile") 2>conftest.er1 | |
6086 ac_status=$? | 7047 ac_status=$? |
6087 grep -v '^ *+' conftest.er1 >conftest.err | 7048 grep -v '^ *+' conftest.er1 >conftest.err |
6088 rm -f conftest.er1 | 7049 rm -f conftest.er1 |
6089 cat conftest.err >&5 | 7050 cat conftest.err >&5 |
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6091 (exit $ac_status); } && | 7052 (exit $ac_status); } && |
6092 { ac_try='test -z "$ac_c_werror_flag" | 7053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6093 || test ! -s conftest.err' | 7054 { (case "(($ac_try" in |
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6095 (eval $ac_try) 2>&5 | 7056 *) ac_try_echo=$ac_try;; |
7057 esac | |
7058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7059 (eval "$ac_try") 2>&5 | |
6096 ac_status=$? | 7060 ac_status=$? |
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6098 (exit $ac_status); }; } && | 7062 (exit $ac_status); }; } && |
6099 { ac_try='test -s conftest.$ac_objext' | 7063 { ac_try='test -s conftest.$ac_objext' |
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7064 { (case "(($ac_try" in |
6101 (eval $ac_try) 2>&5 | 7065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7066 *) ac_try_echo=$ac_try;; | |
7067 esac | |
7068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7069 (eval "$ac_try") 2>&5 | |
6102 ac_status=$? | 7070 ac_status=$? |
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6104 (exit $ac_status); }; }; then | 7072 (exit $ac_status); }; }; then |
6105 ac_cv_header_stdc=yes | 7073 ac_cv_header_stdc=yes |
6106 else | 7074 else |
6107 echo "$as_me: failed program was:" >&5 | 7075 echo "$as_me: failed program was:" >&5 |
6108 sed 's/^/| /' conftest.$ac_ext >&5 | 7076 sed 's/^/| /' conftest.$ac_ext >&5 |
6109 | 7077 |
6110 ac_cv_header_stdc=no | 7078 ac_cv_header_stdc=no |
6111 fi | 7079 fi |
6112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7080 |
7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
6113 | 7082 |
6114 if test $ac_cv_header_stdc = yes; then | 7083 if test $ac_cv_header_stdc = yes; then |
6115 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 7084 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6116 cat >conftest.$ac_ext <<_ACEOF | 7085 cat >conftest.$ac_ext <<_ACEOF |
6117 /* confdefs.h. */ | 7086 /* confdefs.h. */ |
6163 _ACEOF | 7132 _ACEOF |
6164 cat confdefs.h >>conftest.$ac_ext | 7133 cat confdefs.h >>conftest.$ac_ext |
6165 cat >>conftest.$ac_ext <<_ACEOF | 7134 cat >>conftest.$ac_ext <<_ACEOF |
6166 /* end confdefs.h. */ | 7135 /* end confdefs.h. */ |
6167 #include <ctype.h> | 7136 #include <ctype.h> |
7137 #include <stdlib.h> | |
6168 #if ((' ' & 0x0FF) == 0x020) | 7138 #if ((' ' & 0x0FF) == 0x020) |
6169 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 7139 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6170 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 7140 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6171 #else | 7141 #else |
6172 # define ISLOWER(c) \ | 7142 # define ISLOWER(c) \ |
6182 { | 7152 { |
6183 int i; | 7153 int i; |
6184 for (i = 0; i < 256; i++) | 7154 for (i = 0; i < 256; i++) |
6185 if (XOR (islower (i), ISLOWER (i)) | 7155 if (XOR (islower (i), ISLOWER (i)) |
6186 || toupper (i) != TOUPPER (i)) | 7156 || toupper (i) != TOUPPER (i)) |
6187 exit(2); | 7157 return 2; |
6188 exit (0); | 7158 return 0; |
6189 } | 7159 } |
6190 _ACEOF | 7160 _ACEOF |
6191 rm -f conftest$ac_exeext | 7161 rm -f conftest$ac_exeext |
6192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7162 if { (ac_try="$ac_link" |
6193 (eval $ac_link) 2>&5 | 7163 case "(($ac_try" in |
7164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7165 *) ac_try_echo=$ac_try;; | |
7166 esac | |
7167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7168 (eval "$ac_link") 2>&5 | |
6194 ac_status=$? | 7169 ac_status=$? |
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 7171 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7172 { (case "(($ac_try" in |
6198 (eval $ac_try) 2>&5 | 7173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7174 *) ac_try_echo=$ac_try;; | |
7175 esac | |
7176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7177 (eval "$ac_try") 2>&5 | |
6199 ac_status=$? | 7178 ac_status=$? |
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6201 (exit $ac_status); }; }; then | 7180 (exit $ac_status); }; }; then |
6202 : | 7181 : |
6203 else | 7182 else |
6206 sed 's/^/| /' conftest.$ac_ext >&5 | 7185 sed 's/^/| /' conftest.$ac_ext >&5 |
6207 | 7186 |
6208 ( exit $ac_status ) | 7187 ( exit $ac_status ) |
6209 ac_cv_header_stdc=no | 7188 ac_cv_header_stdc=no |
6210 fi | 7189 fi |
6211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 7190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6212 fi | 7191 fi |
6213 fi | 7192 |
6214 fi | 7193 |
6215 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 7194 fi |
6216 echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 7195 fi |
7196 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | |
7197 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } | |
6217 if test $ac_cv_header_stdc = yes; then | 7198 if test $ac_cv_header_stdc = yes; then |
6218 | 7199 |
6219 cat >>confdefs.h <<\_ACEOF | 7200 cat >>confdefs.h <<\_ACEOF |
6220 #define STDC_HEADERS 1 | 7201 #define STDC_HEADERS 1 |
6221 _ACEOF | 7202 _ACEOF |
6222 | 7203 |
6223 fi | 7204 fi |
6224 | 7205 |
6225 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 7206 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
6226 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 7207 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
6227 if test "${ac_cv_header_time+set}" = set; then | 7208 if test "${ac_cv_header_time+set}" = set; then |
6228 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7209 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6229 else | 7210 else |
6230 cat >conftest.$ac_ext <<_ACEOF | 7211 cat >conftest.$ac_ext <<_ACEOF |
6231 /* confdefs.h. */ | 7212 /* confdefs.h. */ |
6245 ; | 7226 ; |
6246 return 0; | 7227 return 0; |
6247 } | 7228 } |
6248 _ACEOF | 7229 _ACEOF |
6249 rm -f conftest.$ac_objext | 7230 rm -f conftest.$ac_objext |
6250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7231 if { (ac_try="$ac_compile" |
6251 (eval $ac_compile) 2>conftest.er1 | 7232 case "(($ac_try" in |
7233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7234 *) ac_try_echo=$ac_try;; | |
7235 esac | |
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7237 (eval "$ac_compile") 2>conftest.er1 | |
6252 ac_status=$? | 7238 ac_status=$? |
6253 grep -v '^ *+' conftest.er1 >conftest.err | 7239 grep -v '^ *+' conftest.er1 >conftest.err |
6254 rm -f conftest.er1 | 7240 rm -f conftest.er1 |
6255 cat conftest.err >&5 | 7241 cat conftest.err >&5 |
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6257 (exit $ac_status); } && | 7243 (exit $ac_status); } && |
6258 { ac_try='test -z "$ac_c_werror_flag" | 7244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6259 || test ! -s conftest.err' | 7245 { (case "(($ac_try" in |
6260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6261 (eval $ac_try) 2>&5 | 7247 *) ac_try_echo=$ac_try;; |
7248 esac | |
7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7250 (eval "$ac_try") 2>&5 | |
6262 ac_status=$? | 7251 ac_status=$? |
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6264 (exit $ac_status); }; } && | 7253 (exit $ac_status); }; } && |
6265 { ac_try='test -s conftest.$ac_objext' | 7254 { ac_try='test -s conftest.$ac_objext' |
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7255 { (case "(($ac_try" in |
6267 (eval $ac_try) 2>&5 | 7256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7257 *) ac_try_echo=$ac_try;; | |
7258 esac | |
7259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7260 (eval "$ac_try") 2>&5 | |
6268 ac_status=$? | 7261 ac_status=$? |
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6270 (exit $ac_status); }; }; then | 7263 (exit $ac_status); }; }; then |
6271 ac_cv_header_time=yes | 7264 ac_cv_header_time=yes |
6272 else | 7265 else |
6273 echo "$as_me: failed program was:" >&5 | 7266 echo "$as_me: failed program was:" >&5 |
6274 sed 's/^/| /' conftest.$ac_ext >&5 | 7267 sed 's/^/| /' conftest.$ac_ext >&5 |
6275 | 7268 |
6276 ac_cv_header_time=no | 7269 ac_cv_header_time=no |
6277 fi | 7270 fi |
6278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7271 |
6279 fi | 7272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6280 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 7273 fi |
6281 echo "${ECHO_T}$ac_cv_header_time" >&6 | 7274 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
7275 echo "${ECHO_T}$ac_cv_header_time" >&6; } | |
6282 if test $ac_cv_header_time = yes; then | 7276 if test $ac_cv_header_time = yes; then |
6283 | 7277 |
6284 cat >>confdefs.h <<\_ACEOF | 7278 cat >>confdefs.h <<\_ACEOF |
6285 #define TIME_WITH_SYS_TIME 1 | 7279 #define TIME_WITH_SYS_TIME 1 |
6286 _ACEOF | 7280 _ACEOF |
6287 | 7281 |
6288 fi | 7282 fi |
6289 | 7283 |
6290 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 | 7284 { echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5 |
6291 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6 | 7285 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6; } |
6292 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then | 7286 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then |
6293 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7287 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6294 else | 7288 else |
6295 cat >conftest.$ac_ext <<_ACEOF | 7289 cat >conftest.$ac_ext <<_ACEOF |
6296 /* confdefs.h. */ | 7290 /* confdefs.h. */ |
6302 int | 7296 int |
6303 main () | 7297 main () |
6304 { | 7298 { |
6305 #ifndef sys_siglist | 7299 #ifndef sys_siglist |
6306 char *p = (char *) sys_siglist; | 7300 char *p = (char *) sys_siglist; |
7301 return !p; | |
6307 #endif | 7302 #endif |
6308 | 7303 |
6309 ; | 7304 ; |
6310 return 0; | 7305 return 0; |
6311 } | 7306 } |
6312 _ACEOF | 7307 _ACEOF |
6313 rm -f conftest.$ac_objext | 7308 rm -f conftest.$ac_objext |
6314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7309 if { (ac_try="$ac_compile" |
6315 (eval $ac_compile) 2>conftest.er1 | 7310 case "(($ac_try" in |
7311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7312 *) ac_try_echo=$ac_try;; | |
7313 esac | |
7314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7315 (eval "$ac_compile") 2>conftest.er1 | |
6316 ac_status=$? | 7316 ac_status=$? |
6317 grep -v '^ *+' conftest.er1 >conftest.err | 7317 grep -v '^ *+' conftest.er1 >conftest.err |
6318 rm -f conftest.er1 | 7318 rm -f conftest.er1 |
6319 cat conftest.err >&5 | 7319 cat conftest.err >&5 |
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6321 (exit $ac_status); } && | 7321 (exit $ac_status); } && |
6322 { ac_try='test -z "$ac_c_werror_flag" | 7322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6323 || test ! -s conftest.err' | 7323 { (case "(($ac_try" in |
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6325 (eval $ac_try) 2>&5 | 7325 *) ac_try_echo=$ac_try;; |
7326 esac | |
7327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7328 (eval "$ac_try") 2>&5 | |
6326 ac_status=$? | 7329 ac_status=$? |
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6328 (exit $ac_status); }; } && | 7331 (exit $ac_status); }; } && |
6329 { ac_try='test -s conftest.$ac_objext' | 7332 { ac_try='test -s conftest.$ac_objext' |
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7333 { (case "(($ac_try" in |
6331 (eval $ac_try) 2>&5 | 7334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7335 *) ac_try_echo=$ac_try;; | |
7336 esac | |
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7338 (eval "$ac_try") 2>&5 | |
6332 ac_status=$? | 7339 ac_status=$? |
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6334 (exit $ac_status); }; }; then | 7341 (exit $ac_status); }; }; then |
6335 ac_cv_have_decl_sys_siglist=yes | 7342 ac_cv_have_decl_sys_siglist=yes |
6336 else | 7343 else |
6337 echo "$as_me: failed program was:" >&5 | 7344 echo "$as_me: failed program was:" >&5 |
6338 sed 's/^/| /' conftest.$ac_ext >&5 | 7345 sed 's/^/| /' conftest.$ac_ext >&5 |
6339 | 7346 |
6340 ac_cv_have_decl_sys_siglist=no | 7347 ac_cv_have_decl_sys_siglist=no |
6341 fi | 7348 fi |
6342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7349 |
6343 fi | 7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6344 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 | 7351 fi |
6345 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6 | 7352 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5 |
7353 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6; } | |
6346 if test $ac_cv_have_decl_sys_siglist = yes; then | 7354 if test $ac_cv_have_decl_sys_siglist = yes; then |
6347 | 7355 |
6348 cat >>confdefs.h <<_ACEOF | 7356 cat >>confdefs.h <<_ACEOF |
6349 #define HAVE_DECL_SYS_SIGLIST 1 | 7357 #define HAVE_DECL_SYS_SIGLIST 1 |
6350 _ACEOF | 7358 _ACEOF |
6359 fi | 7367 fi |
6360 | 7368 |
6361 | 7369 |
6362 if test $ac_cv_have_decl_sys_siglist != yes; then | 7370 if test $ac_cv_have_decl_sys_siglist != yes; then |
6363 # For Tru64, at least: | 7371 # For Tru64, at least: |
6364 echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 | 7372 { echo "$as_me:$LINENO: checking whether __sys_siglist is declared" >&5 |
6365 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6 | 7373 echo $ECHO_N "checking whether __sys_siglist is declared... $ECHO_C" >&6; } |
6366 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then | 7374 if test "${ac_cv_have_decl___sys_siglist+set}" = set; then |
6367 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7375 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6368 else | 7376 else |
6369 cat >conftest.$ac_ext <<_ACEOF | 7377 cat >conftest.$ac_ext <<_ACEOF |
6370 /* confdefs.h. */ | 7378 /* confdefs.h. */ |
6376 int | 7384 int |
6377 main () | 7385 main () |
6378 { | 7386 { |
6379 #ifndef __sys_siglist | 7387 #ifndef __sys_siglist |
6380 char *p = (char *) __sys_siglist; | 7388 char *p = (char *) __sys_siglist; |
7389 return !p; | |
6381 #endif | 7390 #endif |
6382 | 7391 |
6383 ; | 7392 ; |
6384 return 0; | 7393 return 0; |
6385 } | 7394 } |
6386 _ACEOF | 7395 _ACEOF |
6387 rm -f conftest.$ac_objext | 7396 rm -f conftest.$ac_objext |
6388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7397 if { (ac_try="$ac_compile" |
6389 (eval $ac_compile) 2>conftest.er1 | 7398 case "(($ac_try" in |
7399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7400 *) ac_try_echo=$ac_try;; | |
7401 esac | |
7402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7403 (eval "$ac_compile") 2>conftest.er1 | |
6390 ac_status=$? | 7404 ac_status=$? |
6391 grep -v '^ *+' conftest.er1 >conftest.err | 7405 grep -v '^ *+' conftest.er1 >conftest.err |
6392 rm -f conftest.er1 | 7406 rm -f conftest.er1 |
6393 cat conftest.err >&5 | 7407 cat conftest.err >&5 |
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6395 (exit $ac_status); } && | 7409 (exit $ac_status); } && |
6396 { ac_try='test -z "$ac_c_werror_flag" | 7410 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6397 || test ! -s conftest.err' | 7411 { (case "(($ac_try" in |
6398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6399 (eval $ac_try) 2>&5 | 7413 *) ac_try_echo=$ac_try;; |
7414 esac | |
7415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7416 (eval "$ac_try") 2>&5 | |
6400 ac_status=$? | 7417 ac_status=$? |
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6402 (exit $ac_status); }; } && | 7419 (exit $ac_status); }; } && |
6403 { ac_try='test -s conftest.$ac_objext' | 7420 { ac_try='test -s conftest.$ac_objext' |
6404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7421 { (case "(($ac_try" in |
6405 (eval $ac_try) 2>&5 | 7422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7423 *) ac_try_echo=$ac_try;; | |
7424 esac | |
7425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7426 (eval "$ac_try") 2>&5 | |
6406 ac_status=$? | 7427 ac_status=$? |
6407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6408 (exit $ac_status); }; }; then | 7429 (exit $ac_status); }; }; then |
6409 ac_cv_have_decl___sys_siglist=yes | 7430 ac_cv_have_decl___sys_siglist=yes |
6410 else | 7431 else |
6411 echo "$as_me: failed program was:" >&5 | 7432 echo "$as_me: failed program was:" >&5 |
6412 sed 's/^/| /' conftest.$ac_ext >&5 | 7433 sed 's/^/| /' conftest.$ac_ext >&5 |
6413 | 7434 |
6414 ac_cv_have_decl___sys_siglist=no | 7435 ac_cv_have_decl___sys_siglist=no |
6415 fi | 7436 fi |
6416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7437 |
6417 fi | 7438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6418 echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 | 7439 fi |
6419 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6 | 7440 { echo "$as_me:$LINENO: result: $ac_cv_have_decl___sys_siglist" >&5 |
7441 echo "${ECHO_T}$ac_cv_have_decl___sys_siglist" >&6; } | |
6420 if test $ac_cv_have_decl___sys_siglist = yes; then | 7442 if test $ac_cv_have_decl___sys_siglist = yes; then |
6421 | 7443 |
6422 cat >>confdefs.h <<_ACEOF | 7444 cat >>confdefs.h <<_ACEOF |
6423 #define HAVE_DECL___SYS_SIGLIST 1 | 7445 #define HAVE_DECL___SYS_SIGLIST 1 |
6424 _ACEOF | 7446 _ACEOF |
6439 #define sys_siglist __sys_siglist | 7461 #define sys_siglist __sys_siglist |
6440 _ACEOF | 7462 _ACEOF |
6441 | 7463 |
6442 fi | 7464 fi |
6443 fi | 7465 fi |
6444 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 7466 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6445 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 7467 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
6446 if test "${ac_cv_header_sys_wait_h+set}" = set; then | 7468 if test "${ac_cv_header_sys_wait_h+set}" = set; then |
6447 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7469 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6448 else | 7470 else |
6449 cat >conftest.$ac_ext <<_ACEOF | 7471 cat >conftest.$ac_ext <<_ACEOF |
6450 /* confdefs.h. */ | 7472 /* confdefs.h. */ |
6453 cat >>conftest.$ac_ext <<_ACEOF | 7475 cat >>conftest.$ac_ext <<_ACEOF |
6454 /* end confdefs.h. */ | 7476 /* end confdefs.h. */ |
6455 #include <sys/types.h> | 7477 #include <sys/types.h> |
6456 #include <sys/wait.h> | 7478 #include <sys/wait.h> |
6457 #ifndef WEXITSTATUS | 7479 #ifndef WEXITSTATUS |
6458 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 7480 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
6459 #endif | 7481 #endif |
6460 #ifndef WIFEXITED | 7482 #ifndef WIFEXITED |
6461 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 7483 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
6462 #endif | 7484 #endif |
6463 | 7485 |
6470 ; | 7492 ; |
6471 return 0; | 7493 return 0; |
6472 } | 7494 } |
6473 _ACEOF | 7495 _ACEOF |
6474 rm -f conftest.$ac_objext | 7496 rm -f conftest.$ac_objext |
6475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7497 if { (ac_try="$ac_compile" |
6476 (eval $ac_compile) 2>conftest.er1 | 7498 case "(($ac_try" in |
7499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7500 *) ac_try_echo=$ac_try;; | |
7501 esac | |
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7503 (eval "$ac_compile") 2>conftest.er1 | |
6477 ac_status=$? | 7504 ac_status=$? |
6478 grep -v '^ *+' conftest.er1 >conftest.err | 7505 grep -v '^ *+' conftest.er1 >conftest.err |
6479 rm -f conftest.er1 | 7506 rm -f conftest.er1 |
6480 cat conftest.err >&5 | 7507 cat conftest.err >&5 |
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6482 (exit $ac_status); } && | 7509 (exit $ac_status); } && |
6483 { ac_try='test -z "$ac_c_werror_flag" | 7510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6484 || test ! -s conftest.err' | 7511 { (case "(($ac_try" in |
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6486 (eval $ac_try) 2>&5 | 7513 *) ac_try_echo=$ac_try;; |
7514 esac | |
7515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7516 (eval "$ac_try") 2>&5 | |
6487 ac_status=$? | 7517 ac_status=$? |
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6489 (exit $ac_status); }; } && | 7519 (exit $ac_status); }; } && |
6490 { ac_try='test -s conftest.$ac_objext' | 7520 { ac_try='test -s conftest.$ac_objext' |
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7521 { (case "(($ac_try" in |
6492 (eval $ac_try) 2>&5 | 7522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7523 *) ac_try_echo=$ac_try;; | |
7524 esac | |
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7526 (eval "$ac_try") 2>&5 | |
6493 ac_status=$? | 7527 ac_status=$? |
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6495 (exit $ac_status); }; }; then | 7529 (exit $ac_status); }; }; then |
6496 ac_cv_header_sys_wait_h=yes | 7530 ac_cv_header_sys_wait_h=yes |
6497 else | 7531 else |
6498 echo "$as_me: failed program was:" >&5 | 7532 echo "$as_me: failed program was:" >&5 |
6499 sed 's/^/| /' conftest.$ac_ext >&5 | 7533 sed 's/^/| /' conftest.$ac_ext >&5 |
6500 | 7534 |
6501 ac_cv_header_sys_wait_h=no | 7535 ac_cv_header_sys_wait_h=no |
6502 fi | 7536 fi |
6503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7537 |
6504 fi | 7538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6505 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 7539 fi |
6506 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 7540 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
7541 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } | |
6507 if test $ac_cv_header_sys_wait_h = yes; then | 7542 if test $ac_cv_header_sys_wait_h = yes; then |
6508 | 7543 |
6509 cat >>confdefs.h <<\_ACEOF | 7544 cat >>confdefs.h <<\_ACEOF |
6510 #define HAVE_SYS_WAIT_H 1 | 7545 #define HAVE_SYS_WAIT_H 1 |
6511 _ACEOF | 7546 _ACEOF |
6512 | 7547 |
6513 fi | 7548 fi |
6514 | 7549 |
6515 | 7550 |
6516 echo "$as_me:$LINENO: checking for struct utimbuf" >&5 | 7551 { echo "$as_me:$LINENO: checking for struct utimbuf" >&5 |
6517 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6 | 7552 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6; } |
6518 if test "${emacs_cv_struct_utimbuf+set}" = set; then | 7553 if test "${emacs_cv_struct_utimbuf+set}" = set; then |
6519 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7554 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6520 else | 7555 else |
6521 cat >conftest.$ac_ext <<_ACEOF | 7556 cat >conftest.$ac_ext <<_ACEOF |
6522 /* confdefs.h. */ | 7557 /* confdefs.h. */ |
6544 ; | 7579 ; |
6545 return 0; | 7580 return 0; |
6546 } | 7581 } |
6547 _ACEOF | 7582 _ACEOF |
6548 rm -f conftest.$ac_objext | 7583 rm -f conftest.$ac_objext |
6549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7584 if { (ac_try="$ac_compile" |
6550 (eval $ac_compile) 2>conftest.er1 | 7585 case "(($ac_try" in |
7586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7587 *) ac_try_echo=$ac_try;; | |
7588 esac | |
7589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7590 (eval "$ac_compile") 2>conftest.er1 | |
6551 ac_status=$? | 7591 ac_status=$? |
6552 grep -v '^ *+' conftest.er1 >conftest.err | 7592 grep -v '^ *+' conftest.er1 >conftest.err |
6553 rm -f conftest.er1 | 7593 rm -f conftest.er1 |
6554 cat conftest.err >&5 | 7594 cat conftest.err >&5 |
6555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6556 (exit $ac_status); } && | 7596 (exit $ac_status); } && |
6557 { ac_try='test -z "$ac_c_werror_flag" | 7597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6558 || test ! -s conftest.err' | 7598 { (case "(($ac_try" in |
6559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6560 (eval $ac_try) 2>&5 | 7600 *) ac_try_echo=$ac_try;; |
7601 esac | |
7602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7603 (eval "$ac_try") 2>&5 | |
6561 ac_status=$? | 7604 ac_status=$? |
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6563 (exit $ac_status); }; } && | 7606 (exit $ac_status); }; } && |
6564 { ac_try='test -s conftest.$ac_objext' | 7607 { ac_try='test -s conftest.$ac_objext' |
6565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7608 { (case "(($ac_try" in |
6566 (eval $ac_try) 2>&5 | 7609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7610 *) ac_try_echo=$ac_try;; | |
7611 esac | |
7612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7613 (eval "$ac_try") 2>&5 | |
6567 ac_status=$? | 7614 ac_status=$? |
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6569 (exit $ac_status); }; }; then | 7616 (exit $ac_status); }; }; then |
6570 emacs_cv_struct_utimbuf=yes | 7617 emacs_cv_struct_utimbuf=yes |
6571 else | 7618 else |
6572 echo "$as_me: failed program was:" >&5 | 7619 echo "$as_me: failed program was:" >&5 |
6573 sed 's/^/| /' conftest.$ac_ext >&5 | 7620 sed 's/^/| /' conftest.$ac_ext >&5 |
6574 | 7621 |
6575 emacs_cv_struct_utimbuf=no | 7622 emacs_cv_struct_utimbuf=no |
6576 fi | 7623 fi |
6577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7624 |
6578 fi | 7625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6579 echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 | 7626 fi |
6580 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6 | 7627 { echo "$as_me:$LINENO: result: $emacs_cv_struct_utimbuf" >&5 |
7628 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6; } | |
6581 if test $emacs_cv_struct_utimbuf = yes; then | 7629 if test $emacs_cv_struct_utimbuf = yes; then |
6582 | 7630 |
6583 cat >>confdefs.h <<\_ACEOF | 7631 cat >>confdefs.h <<\_ACEOF |
6584 #define HAVE_STRUCT_UTIMBUF 1 | 7632 #define HAVE_STRUCT_UTIMBUF 1 |
6585 _ACEOF | 7633 _ACEOF |
6586 | 7634 |
6587 fi | 7635 fi |
6588 | 7636 |
6589 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 7637 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
6590 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 7638 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
6591 if test "${ac_cv_type_signal+set}" = set; then | 7639 if test "${ac_cv_type_signal+set}" = set; then |
6592 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7640 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6593 else | 7641 else |
6594 cat >conftest.$ac_ext <<_ACEOF | 7642 cat >conftest.$ac_ext <<_ACEOF |
6595 /* confdefs.h. */ | 7643 /* confdefs.h. */ |
6597 cat confdefs.h >>conftest.$ac_ext | 7645 cat confdefs.h >>conftest.$ac_ext |
6598 cat >>conftest.$ac_ext <<_ACEOF | 7646 cat >>conftest.$ac_ext <<_ACEOF |
6599 /* end confdefs.h. */ | 7647 /* end confdefs.h. */ |
6600 #include <sys/types.h> | 7648 #include <sys/types.h> |
6601 #include <signal.h> | 7649 #include <signal.h> |
6602 #ifdef signal | |
6603 # undef signal | |
6604 #endif | |
6605 #ifdef __cplusplus | |
6606 extern "C" void (*signal (int, void (*)(int)))(int); | |
6607 #else | |
6608 void (*signal ()) (); | |
6609 #endif | |
6610 | 7650 |
6611 int | 7651 int |
6612 main () | 7652 main () |
6613 { | 7653 { |
6614 int i; | 7654 return *(signal (0, 0)) (0) == 1; |
6615 ; | 7655 ; |
6616 return 0; | 7656 return 0; |
6617 } | 7657 } |
6618 _ACEOF | 7658 _ACEOF |
6619 rm -f conftest.$ac_objext | 7659 rm -f conftest.$ac_objext |
6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7660 if { (ac_try="$ac_compile" |
6621 (eval $ac_compile) 2>conftest.er1 | 7661 case "(($ac_try" in |
7662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7663 *) ac_try_echo=$ac_try;; | |
7664 esac | |
7665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7666 (eval "$ac_compile") 2>conftest.er1 | |
6622 ac_status=$? | 7667 ac_status=$? |
6623 grep -v '^ *+' conftest.er1 >conftest.err | 7668 grep -v '^ *+' conftest.er1 >conftest.err |
6624 rm -f conftest.er1 | 7669 rm -f conftest.er1 |
6625 cat conftest.err >&5 | 7670 cat conftest.err >&5 |
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6627 (exit $ac_status); } && | 7672 (exit $ac_status); } && |
6628 { ac_try='test -z "$ac_c_werror_flag" | 7673 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6629 || test ! -s conftest.err' | 7674 { (case "(($ac_try" in |
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6631 (eval $ac_try) 2>&5 | 7676 *) ac_try_echo=$ac_try;; |
7677 esac | |
7678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7679 (eval "$ac_try") 2>&5 | |
6632 ac_status=$? | 7680 ac_status=$? |
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6634 (exit $ac_status); }; } && | 7682 (exit $ac_status); }; } && |
6635 { ac_try='test -s conftest.$ac_objext' | 7683 { ac_try='test -s conftest.$ac_objext' |
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7684 { (case "(($ac_try" in |
6637 (eval $ac_try) 2>&5 | 7685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7686 *) ac_try_echo=$ac_try;; | |
7687 esac | |
7688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7689 (eval "$ac_try") 2>&5 | |
6638 ac_status=$? | 7690 ac_status=$? |
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6640 (exit $ac_status); }; }; then | 7692 (exit $ac_status); }; }; then |
6641 ac_cv_type_signal=void | 7693 ac_cv_type_signal=int |
6642 else | 7694 else |
6643 echo "$as_me: failed program was:" >&5 | 7695 echo "$as_me: failed program was:" >&5 |
6644 sed 's/^/| /' conftest.$ac_ext >&5 | 7696 sed 's/^/| /' conftest.$ac_ext >&5 |
6645 | 7697 |
6646 ac_cv_type_signal=int | 7698 ac_cv_type_signal=void |
6647 fi | 7699 fi |
6648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7700 |
6649 fi | 7701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6650 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 7702 fi |
6651 echo "${ECHO_T}$ac_cv_type_signal" >&6 | 7703 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
7704 echo "${ECHO_T}$ac_cv_type_signal" >&6; } | |
6652 | 7705 |
6653 cat >>confdefs.h <<_ACEOF | 7706 cat >>confdefs.h <<_ACEOF |
6654 #define RETSIGTYPE $ac_cv_type_signal | 7707 #define RETSIGTYPE $ac_cv_type_signal |
6655 _ACEOF | 7708 _ACEOF |
6656 | 7709 |
6657 | 7710 |
6658 | 7711 |
6659 echo "$as_me:$LINENO: checking for speed_t" >&5 | 7712 { echo "$as_me:$LINENO: checking for speed_t" >&5 |
6660 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6 | 7713 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6; } |
6661 if test "${emacs_cv_speed_t+set}" = set; then | 7714 if test "${emacs_cv_speed_t+set}" = set; then |
6662 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7715 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6663 else | 7716 else |
6664 cat >conftest.$ac_ext <<_ACEOF | 7717 cat >conftest.$ac_ext <<_ACEOF |
6665 /* confdefs.h. */ | 7718 /* confdefs.h. */ |
6675 ; | 7728 ; |
6676 return 0; | 7729 return 0; |
6677 } | 7730 } |
6678 _ACEOF | 7731 _ACEOF |
6679 rm -f conftest.$ac_objext | 7732 rm -f conftest.$ac_objext |
6680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7733 if { (ac_try="$ac_compile" |
6681 (eval $ac_compile) 2>conftest.er1 | 7734 case "(($ac_try" in |
7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7736 *) ac_try_echo=$ac_try;; | |
7737 esac | |
7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7739 (eval "$ac_compile") 2>conftest.er1 | |
6682 ac_status=$? | 7740 ac_status=$? |
6683 grep -v '^ *+' conftest.er1 >conftest.err | 7741 grep -v '^ *+' conftest.er1 >conftest.err |
6684 rm -f conftest.er1 | 7742 rm -f conftest.er1 |
6685 cat conftest.err >&5 | 7743 cat conftest.err >&5 |
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6687 (exit $ac_status); } && | 7745 (exit $ac_status); } && |
6688 { ac_try='test -z "$ac_c_werror_flag" | 7746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6689 || test ! -s conftest.err' | 7747 { (case "(($ac_try" in |
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6691 (eval $ac_try) 2>&5 | 7749 *) ac_try_echo=$ac_try;; |
7750 esac | |
7751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7752 (eval "$ac_try") 2>&5 | |
6692 ac_status=$? | 7753 ac_status=$? |
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6694 (exit $ac_status); }; } && | 7755 (exit $ac_status); }; } && |
6695 { ac_try='test -s conftest.$ac_objext' | 7756 { ac_try='test -s conftest.$ac_objext' |
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7757 { (case "(($ac_try" in |
6697 (eval $ac_try) 2>&5 | 7758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7759 *) ac_try_echo=$ac_try;; | |
7760 esac | |
7761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7762 (eval "$ac_try") 2>&5 | |
6698 ac_status=$? | 7763 ac_status=$? |
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6700 (exit $ac_status); }; }; then | 7765 (exit $ac_status); }; }; then |
6701 emacs_cv_speed_t=yes | 7766 emacs_cv_speed_t=yes |
6702 else | 7767 else |
6703 echo "$as_me: failed program was:" >&5 | 7768 echo "$as_me: failed program was:" >&5 |
6704 sed 's/^/| /' conftest.$ac_ext >&5 | 7769 sed 's/^/| /' conftest.$ac_ext >&5 |
6705 | 7770 |
6706 emacs_cv_speed_t=no | 7771 emacs_cv_speed_t=no |
6707 fi | 7772 fi |
6708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7773 |
6709 fi | 7774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6710 echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 | 7775 fi |
6711 echo "${ECHO_T}$emacs_cv_speed_t" >&6 | 7776 { echo "$as_me:$LINENO: result: $emacs_cv_speed_t" >&5 |
7777 echo "${ECHO_T}$emacs_cv_speed_t" >&6; } | |
6712 if test $emacs_cv_speed_t = yes; then | 7778 if test $emacs_cv_speed_t = yes; then |
6713 | 7779 |
6714 cat >>confdefs.h <<\_ACEOF | 7780 cat >>confdefs.h <<\_ACEOF |
6715 #define HAVE_SPEED_T 1 | 7781 #define HAVE_SPEED_T 1 |
6716 _ACEOF | 7782 _ACEOF |
6717 | 7783 |
6718 fi | 7784 fi |
6719 | 7785 |
6720 echo "$as_me:$LINENO: checking for struct timeval" >&5 | 7786 { echo "$as_me:$LINENO: checking for struct timeval" >&5 |
6721 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 | 7787 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } |
6722 if test "${emacs_cv_struct_timeval+set}" = set; then | 7788 if test "${emacs_cv_struct_timeval+set}" = set; then |
6723 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7789 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6724 else | 7790 else |
6725 cat >conftest.$ac_ext <<_ACEOF | 7791 cat >conftest.$ac_ext <<_ACEOF |
6726 /* confdefs.h. */ | 7792 /* confdefs.h. */ |
6745 ; | 7811 ; |
6746 return 0; | 7812 return 0; |
6747 } | 7813 } |
6748 _ACEOF | 7814 _ACEOF |
6749 rm -f conftest.$ac_objext | 7815 rm -f conftest.$ac_objext |
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7816 if { (ac_try="$ac_compile" |
6751 (eval $ac_compile) 2>conftest.er1 | 7817 case "(($ac_try" in |
7818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7819 *) ac_try_echo=$ac_try;; | |
7820 esac | |
7821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7822 (eval "$ac_compile") 2>conftest.er1 | |
6752 ac_status=$? | 7823 ac_status=$? |
6753 grep -v '^ *+' conftest.er1 >conftest.err | 7824 grep -v '^ *+' conftest.er1 >conftest.err |
6754 rm -f conftest.er1 | 7825 rm -f conftest.er1 |
6755 cat conftest.err >&5 | 7826 cat conftest.err >&5 |
6756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6757 (exit $ac_status); } && | 7828 (exit $ac_status); } && |
6758 { ac_try='test -z "$ac_c_werror_flag" | 7829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6759 || test ! -s conftest.err' | 7830 { (case "(($ac_try" in |
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6761 (eval $ac_try) 2>&5 | 7832 *) ac_try_echo=$ac_try;; |
7833 esac | |
7834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7835 (eval "$ac_try") 2>&5 | |
6762 ac_status=$? | 7836 ac_status=$? |
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6764 (exit $ac_status); }; } && | 7838 (exit $ac_status); }; } && |
6765 { ac_try='test -s conftest.$ac_objext' | 7839 { ac_try='test -s conftest.$ac_objext' |
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7840 { (case "(($ac_try" in |
6767 (eval $ac_try) 2>&5 | 7841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7842 *) ac_try_echo=$ac_try;; | |
7843 esac | |
7844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7845 (eval "$ac_try") 2>&5 | |
6768 ac_status=$? | 7846 ac_status=$? |
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6770 (exit $ac_status); }; }; then | 7848 (exit $ac_status); }; }; then |
6771 emacs_cv_struct_timeval=yes | 7849 emacs_cv_struct_timeval=yes |
6772 else | 7850 else |
6773 echo "$as_me: failed program was:" >&5 | 7851 echo "$as_me: failed program was:" >&5 |
6774 sed 's/^/| /' conftest.$ac_ext >&5 | 7852 sed 's/^/| /' conftest.$ac_ext >&5 |
6775 | 7853 |
6776 emacs_cv_struct_timeval=no | 7854 emacs_cv_struct_timeval=no |
6777 fi | 7855 fi |
6778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7856 |
6779 fi | 7857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6780 echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 | 7858 fi |
6781 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6 | 7859 { echo "$as_me:$LINENO: result: $emacs_cv_struct_timeval" >&5 |
7860 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6; } | |
6782 HAVE_TIMEVAL=$emacs_cv_struct_timeval | 7861 HAVE_TIMEVAL=$emacs_cv_struct_timeval |
6783 if test $emacs_cv_struct_timeval = yes; then | 7862 if test $emacs_cv_struct_timeval = yes; then |
6784 | 7863 |
6785 cat >>confdefs.h <<\_ACEOF | 7864 cat >>confdefs.h <<\_ACEOF |
6786 #define HAVE_TIMEVAL 1 | 7865 #define HAVE_TIMEVAL 1 |
6787 _ACEOF | 7866 _ACEOF |
6788 | 7867 |
6789 fi | 7868 fi |
6790 | 7869 |
6791 echo "$as_me:$LINENO: checking for struct exception" >&5 | 7870 { echo "$as_me:$LINENO: checking for struct exception" >&5 |
6792 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6 | 7871 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6; } |
6793 if test "${emacs_cv_struct_exception+set}" = set; then | 7872 if test "${emacs_cv_struct_exception+set}" = set; then |
6794 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7873 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6795 else | 7874 else |
6796 cat >conftest.$ac_ext <<_ACEOF | 7875 cat >conftest.$ac_ext <<_ACEOF |
6797 /* confdefs.h. */ | 7876 /* confdefs.h. */ |
6807 ; | 7886 ; |
6808 return 0; | 7887 return 0; |
6809 } | 7888 } |
6810 _ACEOF | 7889 _ACEOF |
6811 rm -f conftest.$ac_objext | 7890 rm -f conftest.$ac_objext |
6812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7891 if { (ac_try="$ac_compile" |
6813 (eval $ac_compile) 2>conftest.er1 | 7892 case "(($ac_try" in |
7893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7894 *) ac_try_echo=$ac_try;; | |
7895 esac | |
7896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7897 (eval "$ac_compile") 2>conftest.er1 | |
6814 ac_status=$? | 7898 ac_status=$? |
6815 grep -v '^ *+' conftest.er1 >conftest.err | 7899 grep -v '^ *+' conftest.er1 >conftest.err |
6816 rm -f conftest.er1 | 7900 rm -f conftest.er1 |
6817 cat conftest.err >&5 | 7901 cat conftest.err >&5 |
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6819 (exit $ac_status); } && | 7903 (exit $ac_status); } && |
6820 { ac_try='test -z "$ac_c_werror_flag" | 7904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6821 || test ! -s conftest.err' | 7905 { (case "(($ac_try" in |
6822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6823 (eval $ac_try) 2>&5 | 7907 *) ac_try_echo=$ac_try;; |
7908 esac | |
7909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7910 (eval "$ac_try") 2>&5 | |
6824 ac_status=$? | 7911 ac_status=$? |
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6826 (exit $ac_status); }; } && | 7913 (exit $ac_status); }; } && |
6827 { ac_try='test -s conftest.$ac_objext' | 7914 { ac_try='test -s conftest.$ac_objext' |
6828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7915 { (case "(($ac_try" in |
6829 (eval $ac_try) 2>&5 | 7916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7917 *) ac_try_echo=$ac_try;; | |
7918 esac | |
7919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7920 (eval "$ac_try") 2>&5 | |
6830 ac_status=$? | 7921 ac_status=$? |
6831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6832 (exit $ac_status); }; }; then | 7923 (exit $ac_status); }; }; then |
6833 emacs_cv_struct_exception=yes | 7924 emacs_cv_struct_exception=yes |
6834 else | 7925 else |
6835 echo "$as_me: failed program was:" >&5 | 7926 echo "$as_me: failed program was:" >&5 |
6836 sed 's/^/| /' conftest.$ac_ext >&5 | 7927 sed 's/^/| /' conftest.$ac_ext >&5 |
6837 | 7928 |
6838 emacs_cv_struct_exception=no | 7929 emacs_cv_struct_exception=no |
6839 fi | 7930 fi |
6840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 7931 |
6841 fi | 7932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6842 echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 | 7933 fi |
6843 echo "${ECHO_T}$emacs_cv_struct_exception" >&6 | 7934 { echo "$as_me:$LINENO: result: $emacs_cv_struct_exception" >&5 |
7935 echo "${ECHO_T}$emacs_cv_struct_exception" >&6; } | |
6844 HAVE_EXCEPTION=$emacs_cv_struct_exception | 7936 HAVE_EXCEPTION=$emacs_cv_struct_exception |
6845 if test $emacs_cv_struct_exception != yes; then | 7937 if test $emacs_cv_struct_exception != yes; then |
6846 | 7938 |
6847 cat >>confdefs.h <<\_ACEOF | 7939 cat >>confdefs.h <<\_ACEOF |
6848 #define NO_MATHERR 1 | 7940 #define NO_MATHERR 1 |
6852 | 7944 |
6853 | 7945 |
6854 for ac_header in sys/socket.h | 7946 for ac_header in sys/socket.h |
6855 do | 7947 do |
6856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6857 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7949 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6858 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 7950 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 7951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6860 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 7952 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6861 echo $ECHO_N "(cached) $ECHO_C" >&6 | 7953 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6862 fi | 7954 fi |
6863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 7955 ac_res=`eval echo '${'$as_ac_Header'}'` |
6864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 7956 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
7957 echo "${ECHO_T}$ac_res" >&6; } | |
6865 else | 7958 else |
6866 # Is the header compilable? | 7959 # Is the header compilable? |
6867 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 7960 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
6868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 7961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
6869 cat >conftest.$ac_ext <<_ACEOF | 7962 cat >conftest.$ac_ext <<_ACEOF |
6870 /* confdefs.h. */ | 7963 /* confdefs.h. */ |
6871 _ACEOF | 7964 _ACEOF |
6872 cat confdefs.h >>conftest.$ac_ext | 7965 cat confdefs.h >>conftest.$ac_ext |
6873 cat >>conftest.$ac_ext <<_ACEOF | 7966 cat >>conftest.$ac_ext <<_ACEOF |
6874 /* end confdefs.h. */ | 7967 /* end confdefs.h. */ |
6875 $ac_includes_default | 7968 $ac_includes_default |
6876 #include <$ac_header> | 7969 #include <$ac_header> |
6877 _ACEOF | 7970 _ACEOF |
6878 rm -f conftest.$ac_objext | 7971 rm -f conftest.$ac_objext |
6879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7972 if { (ac_try="$ac_compile" |
6880 (eval $ac_compile) 2>conftest.er1 | 7973 case "(($ac_try" in |
7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
7975 *) ac_try_echo=$ac_try;; | |
7976 esac | |
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7978 (eval "$ac_compile") 2>conftest.er1 | |
6881 ac_status=$? | 7979 ac_status=$? |
6882 grep -v '^ *+' conftest.er1 >conftest.err | 7980 grep -v '^ *+' conftest.er1 >conftest.err |
6883 rm -f conftest.er1 | 7981 rm -f conftest.er1 |
6884 cat conftest.err >&5 | 7982 cat conftest.err >&5 |
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6886 (exit $ac_status); } && | 7984 (exit $ac_status); } && |
6887 { ac_try='test -z "$ac_c_werror_flag" | 7985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
6888 || test ! -s conftest.err' | 7986 { (case "(($ac_try" in |
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
6890 (eval $ac_try) 2>&5 | 7988 *) ac_try_echo=$ac_try;; |
7989 esac | |
7990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
7991 (eval "$ac_try") 2>&5 | |
6891 ac_status=$? | 7992 ac_status=$? |
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6893 (exit $ac_status); }; } && | 7994 (exit $ac_status); }; } && |
6894 { ac_try='test -s conftest.$ac_objext' | 7995 { ac_try='test -s conftest.$ac_objext' |
6895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 7996 { (case "(($ac_try" in |
6896 (eval $ac_try) 2>&5 | 7997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7998 *) ac_try_echo=$ac_try;; | |
7999 esac | |
8000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8001 (eval "$ac_try") 2>&5 | |
6897 ac_status=$? | 8002 ac_status=$? |
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6899 (exit $ac_status); }; }; then | 8004 (exit $ac_status); }; }; then |
6900 ac_header_compiler=yes | 8005 ac_header_compiler=yes |
6901 else | 8006 else |
6902 echo "$as_me: failed program was:" >&5 | 8007 echo "$as_me: failed program was:" >&5 |
6903 sed 's/^/| /' conftest.$ac_ext >&5 | 8008 sed 's/^/| /' conftest.$ac_ext >&5 |
6904 | 8009 |
6905 ac_header_compiler=no | 8010 ac_header_compiler=no |
6906 fi | 8011 fi |
6907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8012 |
6908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 8013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6909 echo "${ECHO_T}$ac_header_compiler" >&6 | 8014 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8015 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
6910 | 8016 |
6911 # Is the header present? | 8017 # Is the header present? |
6912 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 8018 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
6913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 8019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
6914 cat >conftest.$ac_ext <<_ACEOF | 8020 cat >conftest.$ac_ext <<_ACEOF |
6915 /* confdefs.h. */ | 8021 /* confdefs.h. */ |
6916 _ACEOF | 8022 _ACEOF |
6917 cat confdefs.h >>conftest.$ac_ext | 8023 cat confdefs.h >>conftest.$ac_ext |
6918 cat >>conftest.$ac_ext <<_ACEOF | 8024 cat >>conftest.$ac_ext <<_ACEOF |
6919 /* end confdefs.h. */ | 8025 /* end confdefs.h. */ |
6920 #include <$ac_header> | 8026 #include <$ac_header> |
6921 _ACEOF | 8027 _ACEOF |
6922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 8028 if { (ac_try="$ac_cpp conftest.$ac_ext" |
6923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 8029 case "(($ac_try" in |
8030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8031 *) ac_try_echo=$ac_try;; | |
8032 esac | |
8033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
6924 ac_status=$? | 8035 ac_status=$? |
6925 grep -v '^ *+' conftest.er1 >conftest.err | 8036 grep -v '^ *+' conftest.er1 >conftest.err |
6926 rm -f conftest.er1 | 8037 rm -f conftest.er1 |
6927 cat conftest.err >&5 | 8038 cat conftest.err >&5 |
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6942 echo "$as_me: failed program was:" >&5 | 8053 echo "$as_me: failed program was:" >&5 |
6943 sed 's/^/| /' conftest.$ac_ext >&5 | 8054 sed 's/^/| /' conftest.$ac_ext >&5 |
6944 | 8055 |
6945 ac_header_preproc=no | 8056 ac_header_preproc=no |
6946 fi | 8057 fi |
8058 | |
6947 rm -f conftest.err conftest.$ac_ext | 8059 rm -f conftest.err conftest.$ac_ext |
6948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 8060 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
6949 echo "${ECHO_T}$ac_header_preproc" >&6 | 8061 echo "${ECHO_T}$ac_header_preproc" >&6; } |
6950 | 8062 |
6951 # So? What about this header? | 8063 # So? What about this header? |
6952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 8064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
6953 yes:no: ) | 8065 yes:no: ) |
6954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 8066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
6968 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 8080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 8081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
6970 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 8082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6971 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 8083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
6972 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 8084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
6973 ( | 8085 |
6974 cat <<\_ASBOX | |
6975 ## ------------------------------------------ ## | |
6976 ## Report this to the AC_PACKAGE_NAME lists. ## | |
6977 ## ------------------------------------------ ## | |
6978 _ASBOX | |
6979 ) | | |
6980 sed "s/^/$as_me: WARNING: /" >&2 | |
6981 ;; | 8086 ;; |
6982 esac | 8087 esac |
6983 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 8088 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
6984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
6985 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
6986 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8091 echo $ECHO_N "(cached) $ECHO_C" >&6 |
6987 else | 8092 else |
6988 eval "$as_ac_Header=\$ac_header_preproc" | 8093 eval "$as_ac_Header=\$ac_header_preproc" |
6989 fi | 8094 fi |
6990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8095 ac_res=`eval echo '${'$as_ac_Header'}'` |
6991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8096 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8097 echo "${ECHO_T}$ac_res" >&6; } | |
6992 | 8098 |
6993 fi | 8099 fi |
6994 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8100 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
6995 cat >>confdefs.h <<_ACEOF | 8101 cat >>confdefs.h <<_ACEOF |
6996 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8102 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7002 | 8108 |
7003 | 8109 |
7004 for ac_header in net/if.h | 8110 for ac_header in net/if.h |
7005 do | 8111 do |
7006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 8112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7007 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 8113 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 8114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
7009 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 8115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7010 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8116 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7011 else | 8117 else |
7012 cat >conftest.$ac_ext <<_ACEOF | 8118 cat >conftest.$ac_ext <<_ACEOF |
7013 /* confdefs.h. */ | 8119 /* confdefs.h. */ |
7014 _ACEOF | 8120 _ACEOF |
7021 #endif | 8127 #endif |
7022 | 8128 |
7023 #include <$ac_header> | 8129 #include <$ac_header> |
7024 _ACEOF | 8130 _ACEOF |
7025 rm -f conftest.$ac_objext | 8131 rm -f conftest.$ac_objext |
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8132 if { (ac_try="$ac_compile" |
7027 (eval $ac_compile) 2>conftest.er1 | 8133 case "(($ac_try" in |
8134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8135 *) ac_try_echo=$ac_try;; | |
8136 esac | |
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8138 (eval "$ac_compile") 2>conftest.er1 | |
7028 ac_status=$? | 8139 ac_status=$? |
7029 grep -v '^ *+' conftest.er1 >conftest.err | 8140 grep -v '^ *+' conftest.er1 >conftest.err |
7030 rm -f conftest.er1 | 8141 rm -f conftest.er1 |
7031 cat conftest.err >&5 | 8142 cat conftest.err >&5 |
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7033 (exit $ac_status); } && | 8144 (exit $ac_status); } && |
7034 { ac_try='test -z "$ac_c_werror_flag" | 8145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7035 || test ! -s conftest.err' | 8146 { (case "(($ac_try" in |
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7037 (eval $ac_try) 2>&5 | 8148 *) ac_try_echo=$ac_try;; |
8149 esac | |
8150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8151 (eval "$ac_try") 2>&5 | |
7038 ac_status=$? | 8152 ac_status=$? |
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7040 (exit $ac_status); }; } && | 8154 (exit $ac_status); }; } && |
7041 { ac_try='test -s conftest.$ac_objext' | 8155 { ac_try='test -s conftest.$ac_objext' |
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8156 { (case "(($ac_try" in |
7043 (eval $ac_try) 2>&5 | 8157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8158 *) ac_try_echo=$ac_try;; | |
8159 esac | |
8160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8161 (eval "$ac_try") 2>&5 | |
7044 ac_status=$? | 8162 ac_status=$? |
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7046 (exit $ac_status); }; }; then | 8164 (exit $ac_status); }; }; then |
7047 eval "$as_ac_Header=yes" | 8165 eval "$as_ac_Header=yes" |
7048 else | 8166 else |
7049 echo "$as_me: failed program was:" >&5 | 8167 echo "$as_me: failed program was:" >&5 |
7050 sed 's/^/| /' conftest.$ac_ext >&5 | 8168 sed 's/^/| /' conftest.$ac_ext >&5 |
7051 | 8169 |
7052 eval "$as_ac_Header=no" | 8170 eval "$as_ac_Header=no" |
7053 fi | 8171 fi |
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8172 |
7055 fi | 8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 8174 fi |
7057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 8175 ac_res=`eval echo '${'$as_ac_Header'}'` |
8176 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
8177 echo "${ECHO_T}$ac_res" >&6; } | |
7058 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 8178 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
7059 cat >>confdefs.h <<_ACEOF | 8179 cat >>confdefs.h <<_ACEOF |
7060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 8180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7061 _ACEOF | 8181 _ACEOF |
7062 | 8182 |
7063 fi | 8183 fi |
7064 | 8184 |
7065 done | 8185 done |
7066 | 8186 |
7067 | 8187 |
7068 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 8188 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
7069 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 8189 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } |
7070 if test "${ac_cv_struct_tm+set}" = set; then | 8190 if test "${ac_cv_struct_tm+set}" = set; then |
7071 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8191 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7072 else | 8192 else |
7073 cat >conftest.$ac_ext <<_ACEOF | 8193 cat >conftest.$ac_ext <<_ACEOF |
7074 /* confdefs.h. */ | 8194 /* confdefs.h. */ |
7086 ; | 8206 ; |
7087 return 0; | 8207 return 0; |
7088 } | 8208 } |
7089 _ACEOF | 8209 _ACEOF |
7090 rm -f conftest.$ac_objext | 8210 rm -f conftest.$ac_objext |
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8211 if { (ac_try="$ac_compile" |
7092 (eval $ac_compile) 2>conftest.er1 | 8212 case "(($ac_try" in |
8213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8214 *) ac_try_echo=$ac_try;; | |
8215 esac | |
8216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8217 (eval "$ac_compile") 2>conftest.er1 | |
7093 ac_status=$? | 8218 ac_status=$? |
7094 grep -v '^ *+' conftest.er1 >conftest.err | 8219 grep -v '^ *+' conftest.er1 >conftest.err |
7095 rm -f conftest.er1 | 8220 rm -f conftest.er1 |
7096 cat conftest.err >&5 | 8221 cat conftest.err >&5 |
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7098 (exit $ac_status); } && | 8223 (exit $ac_status); } && |
7099 { ac_try='test -z "$ac_c_werror_flag" | 8224 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7100 || test ! -s conftest.err' | 8225 { (case "(($ac_try" in |
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7102 (eval $ac_try) 2>&5 | 8227 *) ac_try_echo=$ac_try;; |
8228 esac | |
8229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8230 (eval "$ac_try") 2>&5 | |
7103 ac_status=$? | 8231 ac_status=$? |
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7105 (exit $ac_status); }; } && | 8233 (exit $ac_status); }; } && |
7106 { ac_try='test -s conftest.$ac_objext' | 8234 { ac_try='test -s conftest.$ac_objext' |
7107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8235 { (case "(($ac_try" in |
7108 (eval $ac_try) 2>&5 | 8236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8237 *) ac_try_echo=$ac_try;; | |
8238 esac | |
8239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8240 (eval "$ac_try") 2>&5 | |
7109 ac_status=$? | 8241 ac_status=$? |
7110 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7111 (exit $ac_status); }; }; then | 8243 (exit $ac_status); }; }; then |
7112 ac_cv_struct_tm=time.h | 8244 ac_cv_struct_tm=time.h |
7113 else | 8245 else |
7114 echo "$as_me: failed program was:" >&5 | 8246 echo "$as_me: failed program was:" >&5 |
7115 sed 's/^/| /' conftest.$ac_ext >&5 | 8247 sed 's/^/| /' conftest.$ac_ext >&5 |
7116 | 8248 |
7117 ac_cv_struct_tm=sys/time.h | 8249 ac_cv_struct_tm=sys/time.h |
7118 fi | 8250 fi |
7119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8251 |
7120 fi | 8252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7121 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 8253 fi |
7122 echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 8254 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
8255 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } | |
7123 if test $ac_cv_struct_tm = sys/time.h; then | 8256 if test $ac_cv_struct_tm = sys/time.h; then |
7124 | 8257 |
7125 cat >>confdefs.h <<\_ACEOF | 8258 cat >>confdefs.h <<\_ACEOF |
7126 #define TM_IN_SYS_TIME 1 | 8259 #define TM_IN_SYS_TIME 1 |
7127 _ACEOF | 8260 _ACEOF |
7128 | 8261 |
7129 fi | 8262 fi |
7130 | 8263 |
7131 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 | 8264 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
7132 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 | 8265 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } |
7133 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then | 8266 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
7134 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8267 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7135 else | 8268 else |
7136 cat >conftest.$ac_ext <<_ACEOF | 8269 cat >conftest.$ac_ext <<_ACEOF |
7137 /* confdefs.h. */ | 8270 /* confdefs.h. */ |
7152 ; | 8285 ; |
7153 return 0; | 8286 return 0; |
7154 } | 8287 } |
7155 _ACEOF | 8288 _ACEOF |
7156 rm -f conftest.$ac_objext | 8289 rm -f conftest.$ac_objext |
7157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8290 if { (ac_try="$ac_compile" |
7158 (eval $ac_compile) 2>conftest.er1 | 8291 case "(($ac_try" in |
8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8293 *) ac_try_echo=$ac_try;; | |
8294 esac | |
8295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8296 (eval "$ac_compile") 2>conftest.er1 | |
7159 ac_status=$? | 8297 ac_status=$? |
7160 grep -v '^ *+' conftest.er1 >conftest.err | 8298 grep -v '^ *+' conftest.er1 >conftest.err |
7161 rm -f conftest.er1 | 8299 rm -f conftest.er1 |
7162 cat conftest.err >&5 | 8300 cat conftest.err >&5 |
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7164 (exit $ac_status); } && | 8302 (exit $ac_status); } && |
7165 { ac_try='test -z "$ac_c_werror_flag" | 8303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7166 || test ! -s conftest.err' | 8304 { (case "(($ac_try" in |
7167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7168 (eval $ac_try) 2>&5 | 8306 *) ac_try_echo=$ac_try;; |
8307 esac | |
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8309 (eval "$ac_try") 2>&5 | |
7169 ac_status=$? | 8310 ac_status=$? |
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7171 (exit $ac_status); }; } && | 8312 (exit $ac_status); }; } && |
7172 { ac_try='test -s conftest.$ac_objext' | 8313 { ac_try='test -s conftest.$ac_objext' |
7173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8314 { (case "(($ac_try" in |
7174 (eval $ac_try) 2>&5 | 8315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8316 *) ac_try_echo=$ac_try;; | |
8317 esac | |
8318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8319 (eval "$ac_try") 2>&5 | |
7175 ac_status=$? | 8320 ac_status=$? |
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7177 (exit $ac_status); }; }; then | 8322 (exit $ac_status); }; }; then |
7178 ac_cv_member_struct_tm_tm_zone=yes | 8323 ac_cv_member_struct_tm_tm_zone=yes |
7179 else | 8324 else |
7180 echo "$as_me: failed program was:" >&5 | 8325 echo "$as_me: failed program was:" >&5 |
7181 sed 's/^/| /' conftest.$ac_ext >&5 | 8326 sed 's/^/| /' conftest.$ac_ext >&5 |
7182 | 8327 |
7183 cat >conftest.$ac_ext <<_ACEOF | 8328 cat >conftest.$ac_ext <<_ACEOF |
7184 /* confdefs.h. */ | 8329 /* confdefs.h. */ |
7185 _ACEOF | 8330 _ACEOF |
7186 cat confdefs.h >>conftest.$ac_ext | 8331 cat confdefs.h >>conftest.$ac_ext |
7187 cat >>conftest.$ac_ext <<_ACEOF | 8332 cat >>conftest.$ac_ext <<_ACEOF |
7188 /* end confdefs.h. */ | 8333 /* end confdefs.h. */ |
7199 ; | 8344 ; |
7200 return 0; | 8345 return 0; |
7201 } | 8346 } |
7202 _ACEOF | 8347 _ACEOF |
7203 rm -f conftest.$ac_objext | 8348 rm -f conftest.$ac_objext |
7204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8349 if { (ac_try="$ac_compile" |
7205 (eval $ac_compile) 2>conftest.er1 | 8350 case "(($ac_try" in |
8351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8352 *) ac_try_echo=$ac_try;; | |
8353 esac | |
8354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8355 (eval "$ac_compile") 2>conftest.er1 | |
7206 ac_status=$? | 8356 ac_status=$? |
7207 grep -v '^ *+' conftest.er1 >conftest.err | 8357 grep -v '^ *+' conftest.er1 >conftest.err |
7208 rm -f conftest.er1 | 8358 rm -f conftest.er1 |
7209 cat conftest.err >&5 | 8359 cat conftest.err >&5 |
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7211 (exit $ac_status); } && | 8361 (exit $ac_status); } && |
7212 { ac_try='test -z "$ac_c_werror_flag" | 8362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7213 || test ! -s conftest.err' | 8363 { (case "(($ac_try" in |
7214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7215 (eval $ac_try) 2>&5 | 8365 *) ac_try_echo=$ac_try;; |
8366 esac | |
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8368 (eval "$ac_try") 2>&5 | |
7216 ac_status=$? | 8369 ac_status=$? |
7217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7218 (exit $ac_status); }; } && | 8371 (exit $ac_status); }; } && |
7219 { ac_try='test -s conftest.$ac_objext' | 8372 { ac_try='test -s conftest.$ac_objext' |
7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8373 { (case "(($ac_try" in |
7221 (eval $ac_try) 2>&5 | 8374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8375 *) ac_try_echo=$ac_try;; | |
8376 esac | |
8377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8378 (eval "$ac_try") 2>&5 | |
7222 ac_status=$? | 8379 ac_status=$? |
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7224 (exit $ac_status); }; }; then | 8381 (exit $ac_status); }; }; then |
7225 ac_cv_member_struct_tm_tm_zone=yes | 8382 ac_cv_member_struct_tm_tm_zone=yes |
7226 else | 8383 else |
7227 echo "$as_me: failed program was:" >&5 | 8384 echo "$as_me: failed program was:" >&5 |
7228 sed 's/^/| /' conftest.$ac_ext >&5 | 8385 sed 's/^/| /' conftest.$ac_ext >&5 |
7229 | 8386 |
7230 ac_cv_member_struct_tm_tm_zone=no | 8387 ac_cv_member_struct_tm_tm_zone=no |
7231 fi | 8388 fi |
7232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8389 |
7233 fi | 8390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8391 fi |
7235 fi | 8392 |
7236 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | 8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7237 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 | 8394 fi |
8395 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 | |
8396 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } | |
7238 if test $ac_cv_member_struct_tm_tm_zone = yes; then | 8397 if test $ac_cv_member_struct_tm_tm_zone = yes; then |
7239 | 8398 |
7240 cat >>confdefs.h <<_ACEOF | 8399 cat >>confdefs.h <<_ACEOF |
7241 #define HAVE_STRUCT_TM_TM_ZONE 1 | 8400 #define HAVE_STRUCT_TM_TM_ZONE 1 |
7242 _ACEOF | 8401 _ACEOF |
7249 cat >>confdefs.h <<\_ACEOF | 8408 cat >>confdefs.h <<\_ACEOF |
7250 #define HAVE_TM_ZONE 1 | 8409 #define HAVE_TM_ZONE 1 |
7251 _ACEOF | 8410 _ACEOF |
7252 | 8411 |
7253 else | 8412 else |
7254 echo "$as_me:$LINENO: checking for tzname" >&5 | 8413 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 |
7255 echo $ECHO_N "checking for tzname... $ECHO_C" >&6 | 8414 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } |
7256 if test "${ac_cv_var_tzname+set}" = set; then | 8415 if test "${ac_cv_have_decl_tzname+set}" = set; then |
7257 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8416 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7258 else | 8417 else |
7259 cat >conftest.$ac_ext <<_ACEOF | 8418 cat >conftest.$ac_ext <<_ACEOF |
7260 /* confdefs.h. */ | 8419 /* confdefs.h. */ |
7261 _ACEOF | 8420 _ACEOF |
7262 cat confdefs.h >>conftest.$ac_ext | 8421 cat confdefs.h >>conftest.$ac_ext |
7263 cat >>conftest.$ac_ext <<_ACEOF | 8422 cat >>conftest.$ac_ext <<_ACEOF |
7264 /* end confdefs.h. */ | 8423 /* end confdefs.h. */ |
7265 #include <time.h> | 8424 #include <time.h> |
7266 #ifndef tzname /* For SGI. */ | |
7267 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | |
7268 #endif | |
7269 | 8425 |
7270 int | 8426 int |
7271 main () | 8427 main () |
7272 { | 8428 { |
7273 atoi(*tzname); | 8429 #ifndef tzname |
8430 char *p = (char *) tzname; | |
8431 return !p; | |
8432 #endif | |
8433 | |
7274 ; | 8434 ; |
7275 return 0; | 8435 return 0; |
7276 } | 8436 } |
7277 _ACEOF | 8437 _ACEOF |
7278 rm -f conftest.$ac_objext conftest$ac_exeext | 8438 rm -f conftest.$ac_objext |
7279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 8439 if { (ac_try="$ac_compile" |
7280 (eval $ac_link) 2>conftest.er1 | 8440 case "(($ac_try" in |
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8442 *) ac_try_echo=$ac_try;; | |
8443 esac | |
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8445 (eval "$ac_compile") 2>conftest.er1 | |
7281 ac_status=$? | 8446 ac_status=$? |
7282 grep -v '^ *+' conftest.er1 >conftest.err | 8447 grep -v '^ *+' conftest.er1 >conftest.err |
7283 rm -f conftest.er1 | 8448 rm -f conftest.er1 |
7284 cat conftest.err >&5 | 8449 cat conftest.err >&5 |
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7286 (exit $ac_status); } && | 8451 (exit $ac_status); } && |
7287 { ac_try='test -z "$ac_c_werror_flag" | 8452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7288 || test ! -s conftest.err' | 8453 { (case "(($ac_try" in |
7289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7290 (eval $ac_try) 2>&5 | 8455 *) ac_try_echo=$ac_try;; |
8456 esac | |
8457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8458 (eval "$ac_try") 2>&5 | |
8459 ac_status=$? | |
8460 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8461 (exit $ac_status); }; } && | |
8462 { ac_try='test -s conftest.$ac_objext' | |
8463 { (case "(($ac_try" in | |
8464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8465 *) ac_try_echo=$ac_try;; | |
8466 esac | |
8467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8468 (eval "$ac_try") 2>&5 | |
8469 ac_status=$? | |
8470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8471 (exit $ac_status); }; }; then | |
8472 ac_cv_have_decl_tzname=yes | |
8473 else | |
8474 echo "$as_me: failed program was:" >&5 | |
8475 sed 's/^/| /' conftest.$ac_ext >&5 | |
8476 | |
8477 ac_cv_have_decl_tzname=no | |
8478 fi | |
8479 | |
8480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
8481 fi | |
8482 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 | |
8483 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } | |
8484 if test $ac_cv_have_decl_tzname = yes; then | |
8485 | |
8486 cat >>confdefs.h <<_ACEOF | |
8487 #define HAVE_DECL_TZNAME 1 | |
8488 _ACEOF | |
8489 | |
8490 | |
8491 else | |
8492 cat >>confdefs.h <<_ACEOF | |
8493 #define HAVE_DECL_TZNAME 0 | |
8494 _ACEOF | |
8495 | |
8496 | |
8497 fi | |
8498 | |
8499 | |
8500 { echo "$as_me:$LINENO: checking for tzname" >&5 | |
8501 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } | |
8502 if test "${ac_cv_var_tzname+set}" = set; then | |
8503 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
8504 else | |
8505 cat >conftest.$ac_ext <<_ACEOF | |
8506 /* confdefs.h. */ | |
8507 _ACEOF | |
8508 cat confdefs.h >>conftest.$ac_ext | |
8509 cat >>conftest.$ac_ext <<_ACEOF | |
8510 /* end confdefs.h. */ | |
8511 #include <time.h> | |
8512 #if !HAVE_DECL_TZNAME | |
8513 extern char *tzname[]; | |
8514 #endif | |
8515 | |
8516 int | |
8517 main () | |
8518 { | |
8519 return tzname[0][0]; | |
8520 ; | |
8521 return 0; | |
8522 } | |
8523 _ACEOF | |
8524 rm -f conftest.$ac_objext conftest$ac_exeext | |
8525 if { (ac_try="$ac_link" | |
8526 case "(($ac_try" in | |
8527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8528 *) ac_try_echo=$ac_try;; | |
8529 esac | |
8530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8531 (eval "$ac_link") 2>conftest.er1 | |
8532 ac_status=$? | |
8533 grep -v '^ *+' conftest.er1 >conftest.err | |
8534 rm -f conftest.er1 | |
8535 cat conftest.err >&5 | |
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
8537 (exit $ac_status); } && | |
8538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
8539 { (case "(($ac_try" in | |
8540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8541 *) ac_try_echo=$ac_try;; | |
8542 esac | |
8543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8544 (eval "$ac_try") 2>&5 | |
7291 ac_status=$? | 8545 ac_status=$? |
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7293 (exit $ac_status); }; } && | 8547 (exit $ac_status); }; } && |
7294 { ac_try='test -s conftest$ac_exeext' | 8548 { ac_try='test -s conftest$ac_exeext' |
7295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8549 { (case "(($ac_try" in |
7296 (eval $ac_try) 2>&5 | 8550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8551 *) ac_try_echo=$ac_try;; | |
8552 esac | |
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8554 (eval "$ac_try") 2>&5 | |
7297 ac_status=$? | 8555 ac_status=$? |
7298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7299 (exit $ac_status); }; }; then | 8557 (exit $ac_status); }; }; then |
7300 ac_cv_var_tzname=yes | 8558 ac_cv_var_tzname=yes |
7301 else | 8559 else |
7302 echo "$as_me: failed program was:" >&5 | 8560 echo "$as_me: failed program was:" >&5 |
7303 sed 's/^/| /' conftest.$ac_ext >&5 | 8561 sed 's/^/| /' conftest.$ac_ext >&5 |
7304 | 8562 |
7305 ac_cv_var_tzname=no | 8563 ac_cv_var_tzname=no |
7306 fi | 8564 fi |
7307 rm -f conftest.err conftest.$ac_objext \ | 8565 |
8566 rm -f core conftest.err conftest.$ac_objext \ | |
7308 conftest$ac_exeext conftest.$ac_ext | 8567 conftest$ac_exeext conftest.$ac_ext |
7309 fi | 8568 fi |
7310 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 | 8569 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
7311 echo "${ECHO_T}$ac_cv_var_tzname" >&6 | 8570 echo "${ECHO_T}$ac_cv_var_tzname" >&6; } |
7312 if test $ac_cv_var_tzname = yes; then | 8571 if test $ac_cv_var_tzname = yes; then |
7313 | 8572 |
7314 cat >>confdefs.h <<\_ACEOF | 8573 cat >>confdefs.h <<\_ACEOF |
7315 #define HAVE_TZNAME 1 | 8574 #define HAVE_TZNAME 1 |
7316 _ACEOF | 8575 _ACEOF |
7317 | 8576 |
7318 fi | 8577 fi |
7319 fi | 8578 fi |
7320 | 8579 |
7321 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 | 8580 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5 |
7322 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6 | 8581 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; } |
7323 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then | 8582 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then |
7324 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8583 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7325 else | 8584 else |
7326 cat >conftest.$ac_ext <<_ACEOF | 8585 cat >conftest.$ac_ext <<_ACEOF |
7327 /* confdefs.h. */ | 8586 /* confdefs.h. */ |
7340 ; | 8599 ; |
7341 return 0; | 8600 return 0; |
7342 } | 8601 } |
7343 _ACEOF | 8602 _ACEOF |
7344 rm -f conftest.$ac_objext | 8603 rm -f conftest.$ac_objext |
7345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8604 if { (ac_try="$ac_compile" |
7346 (eval $ac_compile) 2>conftest.er1 | 8605 case "(($ac_try" in |
8606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8607 *) ac_try_echo=$ac_try;; | |
8608 esac | |
8609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8610 (eval "$ac_compile") 2>conftest.er1 | |
7347 ac_status=$? | 8611 ac_status=$? |
7348 grep -v '^ *+' conftest.er1 >conftest.err | 8612 grep -v '^ *+' conftest.er1 >conftest.err |
7349 rm -f conftest.er1 | 8613 rm -f conftest.er1 |
7350 cat conftest.err >&5 | 8614 cat conftest.err >&5 |
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7352 (exit $ac_status); } && | 8616 (exit $ac_status); } && |
7353 { ac_try='test -z "$ac_c_werror_flag" | 8617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7354 || test ! -s conftest.err' | 8618 { (case "(($ac_try" in |
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7356 (eval $ac_try) 2>&5 | 8620 *) ac_try_echo=$ac_try;; |
8621 esac | |
8622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8623 (eval "$ac_try") 2>&5 | |
7357 ac_status=$? | 8624 ac_status=$? |
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7359 (exit $ac_status); }; } && | 8626 (exit $ac_status); }; } && |
7360 { ac_try='test -s conftest.$ac_objext' | 8627 { ac_try='test -s conftest.$ac_objext' |
7361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8628 { (case "(($ac_try" in |
7362 (eval $ac_try) 2>&5 | 8629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8630 *) ac_try_echo=$ac_try;; | |
8631 esac | |
8632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8633 (eval "$ac_try") 2>&5 | |
7363 ac_status=$? | 8634 ac_status=$? |
7364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7365 (exit $ac_status); }; }; then | 8636 (exit $ac_status); }; }; then |
7366 ac_cv_member_struct_tm_tm_gmtoff=yes | 8637 ac_cv_member_struct_tm_tm_gmtoff=yes |
7367 else | 8638 else |
7368 echo "$as_me: failed program was:" >&5 | 8639 echo "$as_me: failed program was:" >&5 |
7369 sed 's/^/| /' conftest.$ac_ext >&5 | 8640 sed 's/^/| /' conftest.$ac_ext >&5 |
7370 | 8641 |
7371 cat >conftest.$ac_ext <<_ACEOF | 8642 cat >conftest.$ac_ext <<_ACEOF |
7372 /* confdefs.h. */ | 8643 /* confdefs.h. */ |
7373 _ACEOF | 8644 _ACEOF |
7374 cat confdefs.h >>conftest.$ac_ext | 8645 cat confdefs.h >>conftest.$ac_ext |
7375 cat >>conftest.$ac_ext <<_ACEOF | 8646 cat >>conftest.$ac_ext <<_ACEOF |
7376 /* end confdefs.h. */ | 8647 /* end confdefs.h. */ |
7385 ; | 8656 ; |
7386 return 0; | 8657 return 0; |
7387 } | 8658 } |
7388 _ACEOF | 8659 _ACEOF |
7389 rm -f conftest.$ac_objext | 8660 rm -f conftest.$ac_objext |
7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8661 if { (ac_try="$ac_compile" |
7391 (eval $ac_compile) 2>conftest.er1 | 8662 case "(($ac_try" in |
8663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8664 *) ac_try_echo=$ac_try;; | |
8665 esac | |
8666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8667 (eval "$ac_compile") 2>conftest.er1 | |
7392 ac_status=$? | 8668 ac_status=$? |
7393 grep -v '^ *+' conftest.er1 >conftest.err | 8669 grep -v '^ *+' conftest.er1 >conftest.err |
7394 rm -f conftest.er1 | 8670 rm -f conftest.er1 |
7395 cat conftest.err >&5 | 8671 cat conftest.err >&5 |
7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7397 (exit $ac_status); } && | 8673 (exit $ac_status); } && |
7398 { ac_try='test -z "$ac_c_werror_flag" | 8674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7399 || test ! -s conftest.err' | 8675 { (case "(($ac_try" in |
7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7401 (eval $ac_try) 2>&5 | 8677 *) ac_try_echo=$ac_try;; |
8678 esac | |
8679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8680 (eval "$ac_try") 2>&5 | |
7402 ac_status=$? | 8681 ac_status=$? |
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7404 (exit $ac_status); }; } && | 8683 (exit $ac_status); }; } && |
7405 { ac_try='test -s conftest.$ac_objext' | 8684 { ac_try='test -s conftest.$ac_objext' |
7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8685 { (case "(($ac_try" in |
7407 (eval $ac_try) 2>&5 | 8686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8687 *) ac_try_echo=$ac_try;; | |
8688 esac | |
8689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8690 (eval "$ac_try") 2>&5 | |
7408 ac_status=$? | 8691 ac_status=$? |
7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7410 (exit $ac_status); }; }; then | 8693 (exit $ac_status); }; }; then |
7411 ac_cv_member_struct_tm_tm_gmtoff=yes | 8694 ac_cv_member_struct_tm_tm_gmtoff=yes |
7412 else | 8695 else |
7413 echo "$as_me: failed program was:" >&5 | 8696 echo "$as_me: failed program was:" >&5 |
7414 sed 's/^/| /' conftest.$ac_ext >&5 | 8697 sed 's/^/| /' conftest.$ac_ext >&5 |
7415 | 8698 |
7416 ac_cv_member_struct_tm_tm_gmtoff=no | 8699 ac_cv_member_struct_tm_tm_gmtoff=no |
7417 fi | 8700 fi |
7418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8701 |
7419 fi | 8702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8703 fi |
7421 fi | 8704 |
7422 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | 8705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7423 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6 | 8706 fi |
8707 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5 | |
8708 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; } | |
7424 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then | 8709 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then |
7425 | 8710 |
7426 cat >>confdefs.h <<\_ACEOF | 8711 cat >>confdefs.h <<\_ACEOF |
7427 #define HAVE_TM_GMTOFF 1 | 8712 #define HAVE_TM_GMTOFF 1 |
7428 _ACEOF | 8713 _ACEOF |
7429 | 8714 |
7430 fi | 8715 fi |
7431 | 8716 |
7432 echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 | 8717 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_flags" >&5 |
7433 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6 | 8718 echo $ECHO_N "checking for struct ifreq.ifr_flags... $ECHO_C" >&6; } |
7434 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then | 8719 if test "${ac_cv_member_struct_ifreq_ifr_flags+set}" = set; then |
7435 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8720 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7436 else | 8721 else |
7437 cat >conftest.$ac_ext <<_ACEOF | 8722 cat >conftest.$ac_ext <<_ACEOF |
7438 /* confdefs.h. */ | 8723 /* confdefs.h. */ |
7457 ; | 8742 ; |
7458 return 0; | 8743 return 0; |
7459 } | 8744 } |
7460 _ACEOF | 8745 _ACEOF |
7461 rm -f conftest.$ac_objext | 8746 rm -f conftest.$ac_objext |
7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8747 if { (ac_try="$ac_compile" |
7463 (eval $ac_compile) 2>conftest.er1 | 8748 case "(($ac_try" in |
8749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8750 *) ac_try_echo=$ac_try;; | |
8751 esac | |
8752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8753 (eval "$ac_compile") 2>conftest.er1 | |
7464 ac_status=$? | 8754 ac_status=$? |
7465 grep -v '^ *+' conftest.er1 >conftest.err | 8755 grep -v '^ *+' conftest.er1 >conftest.err |
7466 rm -f conftest.er1 | 8756 rm -f conftest.er1 |
7467 cat conftest.err >&5 | 8757 cat conftest.err >&5 |
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7469 (exit $ac_status); } && | 8759 (exit $ac_status); } && |
7470 { ac_try='test -z "$ac_c_werror_flag" | 8760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7471 || test ! -s conftest.err' | 8761 { (case "(($ac_try" in |
7472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7473 (eval $ac_try) 2>&5 | 8763 *) ac_try_echo=$ac_try;; |
8764 esac | |
8765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8766 (eval "$ac_try") 2>&5 | |
7474 ac_status=$? | 8767 ac_status=$? |
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7476 (exit $ac_status); }; } && | 8769 (exit $ac_status); }; } && |
7477 { ac_try='test -s conftest.$ac_objext' | 8770 { ac_try='test -s conftest.$ac_objext' |
7478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8771 { (case "(($ac_try" in |
7479 (eval $ac_try) 2>&5 | 8772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8773 *) ac_try_echo=$ac_try;; | |
8774 esac | |
8775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8776 (eval "$ac_try") 2>&5 | |
7480 ac_status=$? | 8777 ac_status=$? |
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7482 (exit $ac_status); }; }; then | 8779 (exit $ac_status); }; }; then |
7483 ac_cv_member_struct_ifreq_ifr_flags=yes | 8780 ac_cv_member_struct_ifreq_ifr_flags=yes |
7484 else | 8781 else |
7485 echo "$as_me: failed program was:" >&5 | 8782 echo "$as_me: failed program was:" >&5 |
7486 sed 's/^/| /' conftest.$ac_ext >&5 | 8783 sed 's/^/| /' conftest.$ac_ext >&5 |
7487 | 8784 |
7488 cat >conftest.$ac_ext <<_ACEOF | 8785 cat >conftest.$ac_ext <<_ACEOF |
7489 /* confdefs.h. */ | 8786 /* confdefs.h. */ |
7490 _ACEOF | 8787 _ACEOF |
7491 cat confdefs.h >>conftest.$ac_ext | 8788 cat confdefs.h >>conftest.$ac_ext |
7492 cat >>conftest.$ac_ext <<_ACEOF | 8789 cat >>conftest.$ac_ext <<_ACEOF |
7493 /* end confdefs.h. */ | 8790 /* end confdefs.h. */ |
7508 ; | 8805 ; |
7509 return 0; | 8806 return 0; |
7510 } | 8807 } |
7511 _ACEOF | 8808 _ACEOF |
7512 rm -f conftest.$ac_objext | 8809 rm -f conftest.$ac_objext |
7513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8810 if { (ac_try="$ac_compile" |
7514 (eval $ac_compile) 2>conftest.er1 | 8811 case "(($ac_try" in |
8812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8813 *) ac_try_echo=$ac_try;; | |
8814 esac | |
8815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8816 (eval "$ac_compile") 2>conftest.er1 | |
7515 ac_status=$? | 8817 ac_status=$? |
7516 grep -v '^ *+' conftest.er1 >conftest.err | 8818 grep -v '^ *+' conftest.er1 >conftest.err |
7517 rm -f conftest.er1 | 8819 rm -f conftest.er1 |
7518 cat conftest.err >&5 | 8820 cat conftest.err >&5 |
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7520 (exit $ac_status); } && | 8822 (exit $ac_status); } && |
7521 { ac_try='test -z "$ac_c_werror_flag" | 8823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7522 || test ! -s conftest.err' | 8824 { (case "(($ac_try" in |
7523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7524 (eval $ac_try) 2>&5 | 8826 *) ac_try_echo=$ac_try;; |
8827 esac | |
8828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8829 (eval "$ac_try") 2>&5 | |
7525 ac_status=$? | 8830 ac_status=$? |
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7527 (exit $ac_status); }; } && | 8832 (exit $ac_status); }; } && |
7528 { ac_try='test -s conftest.$ac_objext' | 8833 { ac_try='test -s conftest.$ac_objext' |
7529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8834 { (case "(($ac_try" in |
7530 (eval $ac_try) 2>&5 | 8835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8836 *) ac_try_echo=$ac_try;; | |
8837 esac | |
8838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8839 (eval "$ac_try") 2>&5 | |
7531 ac_status=$? | 8840 ac_status=$? |
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7533 (exit $ac_status); }; }; then | 8842 (exit $ac_status); }; }; then |
7534 ac_cv_member_struct_ifreq_ifr_flags=yes | 8843 ac_cv_member_struct_ifreq_ifr_flags=yes |
7535 else | 8844 else |
7536 echo "$as_me: failed program was:" >&5 | 8845 echo "$as_me: failed program was:" >&5 |
7537 sed 's/^/| /' conftest.$ac_ext >&5 | 8846 sed 's/^/| /' conftest.$ac_ext >&5 |
7538 | 8847 |
7539 ac_cv_member_struct_ifreq_ifr_flags=no | 8848 ac_cv_member_struct_ifreq_ifr_flags=no |
7540 fi | 8849 fi |
7541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8850 |
7542 fi | 8851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8852 fi |
7544 fi | 8853 |
7545 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | 8854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7546 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6 | 8855 fi |
8856 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_flags" >&5 | |
8857 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_flags" >&6; } | |
7547 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then | 8858 if test $ac_cv_member_struct_ifreq_ifr_flags = yes; then |
7548 | 8859 |
7549 cat >>confdefs.h <<_ACEOF | 8860 cat >>confdefs.h <<_ACEOF |
7550 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 | 8861 #define HAVE_STRUCT_IFREQ_IFR_FLAGS 1 |
7551 _ACEOF | 8862 _ACEOF |
7552 | 8863 |
7553 | 8864 |
7554 fi | 8865 fi |
7555 echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 | 8866 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_hwaddr" >&5 |
7556 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6 | 8867 echo $ECHO_N "checking for struct ifreq.ifr_hwaddr... $ECHO_C" >&6; } |
7557 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then | 8868 if test "${ac_cv_member_struct_ifreq_ifr_hwaddr+set}" = set; then |
7558 echo $ECHO_N "(cached) $ECHO_C" >&6 | 8869 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7559 else | 8870 else |
7560 cat >conftest.$ac_ext <<_ACEOF | 8871 cat >conftest.$ac_ext <<_ACEOF |
7561 /* confdefs.h. */ | 8872 /* confdefs.h. */ |
7580 ; | 8891 ; |
7581 return 0; | 8892 return 0; |
7582 } | 8893 } |
7583 _ACEOF | 8894 _ACEOF |
7584 rm -f conftest.$ac_objext | 8895 rm -f conftest.$ac_objext |
7585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8896 if { (ac_try="$ac_compile" |
7586 (eval $ac_compile) 2>conftest.er1 | 8897 case "(($ac_try" in |
8898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8899 *) ac_try_echo=$ac_try;; | |
8900 esac | |
8901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8902 (eval "$ac_compile") 2>conftest.er1 | |
7587 ac_status=$? | 8903 ac_status=$? |
7588 grep -v '^ *+' conftest.er1 >conftest.err | 8904 grep -v '^ *+' conftest.er1 >conftest.err |
7589 rm -f conftest.er1 | 8905 rm -f conftest.er1 |
7590 cat conftest.err >&5 | 8906 cat conftest.err >&5 |
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7592 (exit $ac_status); } && | 8908 (exit $ac_status); } && |
7593 { ac_try='test -z "$ac_c_werror_flag" | 8909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7594 || test ! -s conftest.err' | 8910 { (case "(($ac_try" in |
7595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7596 (eval $ac_try) 2>&5 | 8912 *) ac_try_echo=$ac_try;; |
8913 esac | |
8914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8915 (eval "$ac_try") 2>&5 | |
7597 ac_status=$? | 8916 ac_status=$? |
7598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7599 (exit $ac_status); }; } && | 8918 (exit $ac_status); }; } && |
7600 { ac_try='test -s conftest.$ac_objext' | 8919 { ac_try='test -s conftest.$ac_objext' |
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8920 { (case "(($ac_try" in |
7602 (eval $ac_try) 2>&5 | 8921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8922 *) ac_try_echo=$ac_try;; | |
8923 esac | |
8924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8925 (eval "$ac_try") 2>&5 | |
7603 ac_status=$? | 8926 ac_status=$? |
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7605 (exit $ac_status); }; }; then | 8928 (exit $ac_status); }; }; then |
7606 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | 8929 ac_cv_member_struct_ifreq_ifr_hwaddr=yes |
7607 else | 8930 else |
7608 echo "$as_me: failed program was:" >&5 | 8931 echo "$as_me: failed program was:" >&5 |
7609 sed 's/^/| /' conftest.$ac_ext >&5 | 8932 sed 's/^/| /' conftest.$ac_ext >&5 |
7610 | 8933 |
7611 cat >conftest.$ac_ext <<_ACEOF | 8934 cat >conftest.$ac_ext <<_ACEOF |
7612 /* confdefs.h. */ | 8935 /* confdefs.h. */ |
7613 _ACEOF | 8936 _ACEOF |
7614 cat confdefs.h >>conftest.$ac_ext | 8937 cat confdefs.h >>conftest.$ac_ext |
7615 cat >>conftest.$ac_ext <<_ACEOF | 8938 cat >>conftest.$ac_ext <<_ACEOF |
7616 /* end confdefs.h. */ | 8939 /* end confdefs.h. */ |
7631 ; | 8954 ; |
7632 return 0; | 8955 return 0; |
7633 } | 8956 } |
7634 _ACEOF | 8957 _ACEOF |
7635 rm -f conftest.$ac_objext | 8958 rm -f conftest.$ac_objext |
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 8959 if { (ac_try="$ac_compile" |
7637 (eval $ac_compile) 2>conftest.er1 | 8960 case "(($ac_try" in |
8961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
8962 *) ac_try_echo=$ac_try;; | |
8963 esac | |
8964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8965 (eval "$ac_compile") 2>conftest.er1 | |
7638 ac_status=$? | 8966 ac_status=$? |
7639 grep -v '^ *+' conftest.er1 >conftest.err | 8967 grep -v '^ *+' conftest.er1 >conftest.err |
7640 rm -f conftest.er1 | 8968 rm -f conftest.er1 |
7641 cat conftest.err >&5 | 8969 cat conftest.err >&5 |
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7643 (exit $ac_status); } && | 8971 (exit $ac_status); } && |
7644 { ac_try='test -z "$ac_c_werror_flag" | 8972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7645 || test ! -s conftest.err' | 8973 { (case "(($ac_try" in |
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7647 (eval $ac_try) 2>&5 | 8975 *) ac_try_echo=$ac_try;; |
8976 esac | |
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8978 (eval "$ac_try") 2>&5 | |
7648 ac_status=$? | 8979 ac_status=$? |
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7650 (exit $ac_status); }; } && | 8981 (exit $ac_status); }; } && |
7651 { ac_try='test -s conftest.$ac_objext' | 8982 { ac_try='test -s conftest.$ac_objext' |
7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 8983 { (case "(($ac_try" in |
7653 (eval $ac_try) 2>&5 | 8984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8985 *) ac_try_echo=$ac_try;; | |
8986 esac | |
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
8988 (eval "$ac_try") 2>&5 | |
7654 ac_status=$? | 8989 ac_status=$? |
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7656 (exit $ac_status); }; }; then | 8991 (exit $ac_status); }; }; then |
7657 ac_cv_member_struct_ifreq_ifr_hwaddr=yes | 8992 ac_cv_member_struct_ifreq_ifr_hwaddr=yes |
7658 else | 8993 else |
7659 echo "$as_me: failed program was:" >&5 | 8994 echo "$as_me: failed program was:" >&5 |
7660 sed 's/^/| /' conftest.$ac_ext >&5 | 8995 sed 's/^/| /' conftest.$ac_ext >&5 |
7661 | 8996 |
7662 ac_cv_member_struct_ifreq_ifr_hwaddr=no | 8997 ac_cv_member_struct_ifreq_ifr_hwaddr=no |
7663 fi | 8998 fi |
7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 8999 |
7665 fi | 9000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9001 fi |
7667 fi | 9002 |
7668 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | 9003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7669 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6 | 9004 fi |
9005 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_hwaddr" >&5 | |
9006 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_hwaddr" >&6; } | |
7670 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then | 9007 if test $ac_cv_member_struct_ifreq_ifr_hwaddr = yes; then |
7671 | 9008 |
7672 cat >>confdefs.h <<_ACEOF | 9009 cat >>confdefs.h <<_ACEOF |
7673 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 | 9010 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1 |
7674 _ACEOF | 9011 _ACEOF |
7675 | 9012 |
7676 | 9013 |
7677 fi | 9014 fi |
7678 echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 | 9015 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_netmask" >&5 |
7679 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6 | 9016 echo $ECHO_N "checking for struct ifreq.ifr_netmask... $ECHO_C" >&6; } |
7680 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then | 9017 if test "${ac_cv_member_struct_ifreq_ifr_netmask+set}" = set; then |
7681 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9018 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7682 else | 9019 else |
7683 cat >conftest.$ac_ext <<_ACEOF | 9020 cat >conftest.$ac_ext <<_ACEOF |
7684 /* confdefs.h. */ | 9021 /* confdefs.h. */ |
7703 ; | 9040 ; |
7704 return 0; | 9041 return 0; |
7705 } | 9042 } |
7706 _ACEOF | 9043 _ACEOF |
7707 rm -f conftest.$ac_objext | 9044 rm -f conftest.$ac_objext |
7708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9045 if { (ac_try="$ac_compile" |
7709 (eval $ac_compile) 2>conftest.er1 | 9046 case "(($ac_try" in |
9047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9048 *) ac_try_echo=$ac_try;; | |
9049 esac | |
9050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9051 (eval "$ac_compile") 2>conftest.er1 | |
7710 ac_status=$? | 9052 ac_status=$? |
7711 grep -v '^ *+' conftest.er1 >conftest.err | 9053 grep -v '^ *+' conftest.er1 >conftest.err |
7712 rm -f conftest.er1 | 9054 rm -f conftest.er1 |
7713 cat conftest.err >&5 | 9055 cat conftest.err >&5 |
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7715 (exit $ac_status); } && | 9057 (exit $ac_status); } && |
7716 { ac_try='test -z "$ac_c_werror_flag" | 9058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7717 || test ! -s conftest.err' | 9059 { (case "(($ac_try" in |
7718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7719 (eval $ac_try) 2>&5 | 9061 *) ac_try_echo=$ac_try;; |
9062 esac | |
9063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9064 (eval "$ac_try") 2>&5 | |
7720 ac_status=$? | 9065 ac_status=$? |
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7722 (exit $ac_status); }; } && | 9067 (exit $ac_status); }; } && |
7723 { ac_try='test -s conftest.$ac_objext' | 9068 { ac_try='test -s conftest.$ac_objext' |
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9069 { (case "(($ac_try" in |
7725 (eval $ac_try) 2>&5 | 9070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9071 *) ac_try_echo=$ac_try;; | |
9072 esac | |
9073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9074 (eval "$ac_try") 2>&5 | |
7726 ac_status=$? | 9075 ac_status=$? |
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7728 (exit $ac_status); }; }; then | 9077 (exit $ac_status); }; }; then |
7729 ac_cv_member_struct_ifreq_ifr_netmask=yes | 9078 ac_cv_member_struct_ifreq_ifr_netmask=yes |
7730 else | 9079 else |
7731 echo "$as_me: failed program was:" >&5 | 9080 echo "$as_me: failed program was:" >&5 |
7732 sed 's/^/| /' conftest.$ac_ext >&5 | 9081 sed 's/^/| /' conftest.$ac_ext >&5 |
7733 | 9082 |
7734 cat >conftest.$ac_ext <<_ACEOF | 9083 cat >conftest.$ac_ext <<_ACEOF |
7735 /* confdefs.h. */ | 9084 /* confdefs.h. */ |
7736 _ACEOF | 9085 _ACEOF |
7737 cat confdefs.h >>conftest.$ac_ext | 9086 cat confdefs.h >>conftest.$ac_ext |
7738 cat >>conftest.$ac_ext <<_ACEOF | 9087 cat >>conftest.$ac_ext <<_ACEOF |
7739 /* end confdefs.h. */ | 9088 /* end confdefs.h. */ |
7754 ; | 9103 ; |
7755 return 0; | 9104 return 0; |
7756 } | 9105 } |
7757 _ACEOF | 9106 _ACEOF |
7758 rm -f conftest.$ac_objext | 9107 rm -f conftest.$ac_objext |
7759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9108 if { (ac_try="$ac_compile" |
7760 (eval $ac_compile) 2>conftest.er1 | 9109 case "(($ac_try" in |
9110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9111 *) ac_try_echo=$ac_try;; | |
9112 esac | |
9113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9114 (eval "$ac_compile") 2>conftest.er1 | |
7761 ac_status=$? | 9115 ac_status=$? |
7762 grep -v '^ *+' conftest.er1 >conftest.err | 9116 grep -v '^ *+' conftest.er1 >conftest.err |
7763 rm -f conftest.er1 | 9117 rm -f conftest.er1 |
7764 cat conftest.err >&5 | 9118 cat conftest.err >&5 |
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7766 (exit $ac_status); } && | 9120 (exit $ac_status); } && |
7767 { ac_try='test -z "$ac_c_werror_flag" | 9121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7768 || test ! -s conftest.err' | 9122 { (case "(($ac_try" in |
7769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7770 (eval $ac_try) 2>&5 | 9124 *) ac_try_echo=$ac_try;; |
9125 esac | |
9126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9127 (eval "$ac_try") 2>&5 | |
7771 ac_status=$? | 9128 ac_status=$? |
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7773 (exit $ac_status); }; } && | 9130 (exit $ac_status); }; } && |
7774 { ac_try='test -s conftest.$ac_objext' | 9131 { ac_try='test -s conftest.$ac_objext' |
7775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9132 { (case "(($ac_try" in |
7776 (eval $ac_try) 2>&5 | 9133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9134 *) ac_try_echo=$ac_try;; | |
9135 esac | |
9136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9137 (eval "$ac_try") 2>&5 | |
7777 ac_status=$? | 9138 ac_status=$? |
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7779 (exit $ac_status); }; }; then | 9140 (exit $ac_status); }; }; then |
7780 ac_cv_member_struct_ifreq_ifr_netmask=yes | 9141 ac_cv_member_struct_ifreq_ifr_netmask=yes |
7781 else | 9142 else |
7782 echo "$as_me: failed program was:" >&5 | 9143 echo "$as_me: failed program was:" >&5 |
7783 sed 's/^/| /' conftest.$ac_ext >&5 | 9144 sed 's/^/| /' conftest.$ac_ext >&5 |
7784 | 9145 |
7785 ac_cv_member_struct_ifreq_ifr_netmask=no | 9146 ac_cv_member_struct_ifreq_ifr_netmask=no |
7786 fi | 9147 fi |
7787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9148 |
7788 fi | 9149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9150 fi |
7790 fi | 9151 |
7791 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | 9152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7792 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6 | 9153 fi |
9154 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_netmask" >&5 | |
9155 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_netmask" >&6; } | |
7793 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then | 9156 if test $ac_cv_member_struct_ifreq_ifr_netmask = yes; then |
7794 | 9157 |
7795 cat >>confdefs.h <<_ACEOF | 9158 cat >>confdefs.h <<_ACEOF |
7796 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 | 9159 #define HAVE_STRUCT_IFREQ_IFR_NETMASK 1 |
7797 _ACEOF | 9160 _ACEOF |
7798 | 9161 |
7799 | 9162 |
7800 fi | 9163 fi |
7801 echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 | 9164 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_broadaddr" >&5 |
7802 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6 | 9165 echo $ECHO_N "checking for struct ifreq.ifr_broadaddr... $ECHO_C" >&6; } |
7803 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then | 9166 if test "${ac_cv_member_struct_ifreq_ifr_broadaddr+set}" = set; then |
7804 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9167 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7805 else | 9168 else |
7806 cat >conftest.$ac_ext <<_ACEOF | 9169 cat >conftest.$ac_ext <<_ACEOF |
7807 /* confdefs.h. */ | 9170 /* confdefs.h. */ |
7826 ; | 9189 ; |
7827 return 0; | 9190 return 0; |
7828 } | 9191 } |
7829 _ACEOF | 9192 _ACEOF |
7830 rm -f conftest.$ac_objext | 9193 rm -f conftest.$ac_objext |
7831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9194 if { (ac_try="$ac_compile" |
7832 (eval $ac_compile) 2>conftest.er1 | 9195 case "(($ac_try" in |
9196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9197 *) ac_try_echo=$ac_try;; | |
9198 esac | |
9199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9200 (eval "$ac_compile") 2>conftest.er1 | |
7833 ac_status=$? | 9201 ac_status=$? |
7834 grep -v '^ *+' conftest.er1 >conftest.err | 9202 grep -v '^ *+' conftest.er1 >conftest.err |
7835 rm -f conftest.er1 | 9203 rm -f conftest.er1 |
7836 cat conftest.err >&5 | 9204 cat conftest.err >&5 |
7837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7838 (exit $ac_status); } && | 9206 (exit $ac_status); } && |
7839 { ac_try='test -z "$ac_c_werror_flag" | 9207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7840 || test ! -s conftest.err' | 9208 { (case "(($ac_try" in |
7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7842 (eval $ac_try) 2>&5 | 9210 *) ac_try_echo=$ac_try;; |
9211 esac | |
9212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9213 (eval "$ac_try") 2>&5 | |
7843 ac_status=$? | 9214 ac_status=$? |
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7845 (exit $ac_status); }; } && | 9216 (exit $ac_status); }; } && |
7846 { ac_try='test -s conftest.$ac_objext' | 9217 { ac_try='test -s conftest.$ac_objext' |
7847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9218 { (case "(($ac_try" in |
7848 (eval $ac_try) 2>&5 | 9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9220 *) ac_try_echo=$ac_try;; | |
9221 esac | |
9222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9223 (eval "$ac_try") 2>&5 | |
7849 ac_status=$? | 9224 ac_status=$? |
7850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7851 (exit $ac_status); }; }; then | 9226 (exit $ac_status); }; }; then |
7852 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | 9227 ac_cv_member_struct_ifreq_ifr_broadaddr=yes |
7853 else | 9228 else |
7854 echo "$as_me: failed program was:" >&5 | 9229 echo "$as_me: failed program was:" >&5 |
7855 sed 's/^/| /' conftest.$ac_ext >&5 | 9230 sed 's/^/| /' conftest.$ac_ext >&5 |
7856 | 9231 |
7857 cat >conftest.$ac_ext <<_ACEOF | 9232 cat >conftest.$ac_ext <<_ACEOF |
7858 /* confdefs.h. */ | 9233 /* confdefs.h. */ |
7859 _ACEOF | 9234 _ACEOF |
7860 cat confdefs.h >>conftest.$ac_ext | 9235 cat confdefs.h >>conftest.$ac_ext |
7861 cat >>conftest.$ac_ext <<_ACEOF | 9236 cat >>conftest.$ac_ext <<_ACEOF |
7862 /* end confdefs.h. */ | 9237 /* end confdefs.h. */ |
7877 ; | 9252 ; |
7878 return 0; | 9253 return 0; |
7879 } | 9254 } |
7880 _ACEOF | 9255 _ACEOF |
7881 rm -f conftest.$ac_objext | 9256 rm -f conftest.$ac_objext |
7882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9257 if { (ac_try="$ac_compile" |
7883 (eval $ac_compile) 2>conftest.er1 | 9258 case "(($ac_try" in |
9259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9260 *) ac_try_echo=$ac_try;; | |
9261 esac | |
9262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9263 (eval "$ac_compile") 2>conftest.er1 | |
7884 ac_status=$? | 9264 ac_status=$? |
7885 grep -v '^ *+' conftest.er1 >conftest.err | 9265 grep -v '^ *+' conftest.er1 >conftest.err |
7886 rm -f conftest.er1 | 9266 rm -f conftest.er1 |
7887 cat conftest.err >&5 | 9267 cat conftest.err >&5 |
7888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7889 (exit $ac_status); } && | 9269 (exit $ac_status); } && |
7890 { ac_try='test -z "$ac_c_werror_flag" | 9270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7891 || test ! -s conftest.err' | 9271 { (case "(($ac_try" in |
7892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7893 (eval $ac_try) 2>&5 | 9273 *) ac_try_echo=$ac_try;; |
9274 esac | |
9275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9276 (eval "$ac_try") 2>&5 | |
7894 ac_status=$? | 9277 ac_status=$? |
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7896 (exit $ac_status); }; } && | 9279 (exit $ac_status); }; } && |
7897 { ac_try='test -s conftest.$ac_objext' | 9280 { ac_try='test -s conftest.$ac_objext' |
7898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9281 { (case "(($ac_try" in |
7899 (eval $ac_try) 2>&5 | 9282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9283 *) ac_try_echo=$ac_try;; | |
9284 esac | |
9285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9286 (eval "$ac_try") 2>&5 | |
7900 ac_status=$? | 9287 ac_status=$? |
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7902 (exit $ac_status); }; }; then | 9289 (exit $ac_status); }; }; then |
7903 ac_cv_member_struct_ifreq_ifr_broadaddr=yes | 9290 ac_cv_member_struct_ifreq_ifr_broadaddr=yes |
7904 else | 9291 else |
7905 echo "$as_me: failed program was:" >&5 | 9292 echo "$as_me: failed program was:" >&5 |
7906 sed 's/^/| /' conftest.$ac_ext >&5 | 9293 sed 's/^/| /' conftest.$ac_ext >&5 |
7907 | 9294 |
7908 ac_cv_member_struct_ifreq_ifr_broadaddr=no | 9295 ac_cv_member_struct_ifreq_ifr_broadaddr=no |
7909 fi | 9296 fi |
7910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9297 |
7911 fi | 9298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9299 fi |
7913 fi | 9300 |
7914 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | 9301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7915 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6 | 9302 fi |
9303 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_broadaddr" >&5 | |
9304 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_broadaddr" >&6; } | |
7916 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then | 9305 if test $ac_cv_member_struct_ifreq_ifr_broadaddr = yes; then |
7917 | 9306 |
7918 cat >>confdefs.h <<_ACEOF | 9307 cat >>confdefs.h <<_ACEOF |
7919 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 | 9308 #define HAVE_STRUCT_IFREQ_IFR_BROADADDR 1 |
7920 _ACEOF | 9309 _ACEOF |
7921 | 9310 |
7922 | 9311 |
7923 fi | 9312 fi |
7924 echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 | 9313 { echo "$as_me:$LINENO: checking for struct ifreq.ifr_addr" >&5 |
7925 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6 | 9314 echo $ECHO_N "checking for struct ifreq.ifr_addr... $ECHO_C" >&6; } |
7926 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then | 9315 if test "${ac_cv_member_struct_ifreq_ifr_addr+set}" = set; then |
7927 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9316 echo $ECHO_N "(cached) $ECHO_C" >&6 |
7928 else | 9317 else |
7929 cat >conftest.$ac_ext <<_ACEOF | 9318 cat >conftest.$ac_ext <<_ACEOF |
7930 /* confdefs.h. */ | 9319 /* confdefs.h. */ |
7949 ; | 9338 ; |
7950 return 0; | 9339 return 0; |
7951 } | 9340 } |
7952 _ACEOF | 9341 _ACEOF |
7953 rm -f conftest.$ac_objext | 9342 rm -f conftest.$ac_objext |
7954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9343 if { (ac_try="$ac_compile" |
7955 (eval $ac_compile) 2>conftest.er1 | 9344 case "(($ac_try" in |
9345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9346 *) ac_try_echo=$ac_try;; | |
9347 esac | |
9348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9349 (eval "$ac_compile") 2>conftest.er1 | |
7956 ac_status=$? | 9350 ac_status=$? |
7957 grep -v '^ *+' conftest.er1 >conftest.err | 9351 grep -v '^ *+' conftest.er1 >conftest.err |
7958 rm -f conftest.er1 | 9352 rm -f conftest.er1 |
7959 cat conftest.err >&5 | 9353 cat conftest.err >&5 |
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7961 (exit $ac_status); } && | 9355 (exit $ac_status); } && |
7962 { ac_try='test -z "$ac_c_werror_flag" | 9356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
7963 || test ! -s conftest.err' | 9357 { (case "(($ac_try" in |
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
7965 (eval $ac_try) 2>&5 | 9359 *) ac_try_echo=$ac_try;; |
9360 esac | |
9361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9362 (eval "$ac_try") 2>&5 | |
7966 ac_status=$? | 9363 ac_status=$? |
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7968 (exit $ac_status); }; } && | 9365 (exit $ac_status); }; } && |
7969 { ac_try='test -s conftest.$ac_objext' | 9366 { ac_try='test -s conftest.$ac_objext' |
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9367 { (case "(($ac_try" in |
7971 (eval $ac_try) 2>&5 | 9368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9369 *) ac_try_echo=$ac_try;; | |
9370 esac | |
9371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9372 (eval "$ac_try") 2>&5 | |
7972 ac_status=$? | 9373 ac_status=$? |
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7974 (exit $ac_status); }; }; then | 9375 (exit $ac_status); }; }; then |
7975 ac_cv_member_struct_ifreq_ifr_addr=yes | 9376 ac_cv_member_struct_ifreq_ifr_addr=yes |
7976 else | 9377 else |
7977 echo "$as_me: failed program was:" >&5 | 9378 echo "$as_me: failed program was:" >&5 |
7978 sed 's/^/| /' conftest.$ac_ext >&5 | 9379 sed 's/^/| /' conftest.$ac_ext >&5 |
7979 | 9380 |
7980 cat >conftest.$ac_ext <<_ACEOF | 9381 cat >conftest.$ac_ext <<_ACEOF |
7981 /* confdefs.h. */ | 9382 /* confdefs.h. */ |
7982 _ACEOF | 9383 _ACEOF |
7983 cat confdefs.h >>conftest.$ac_ext | 9384 cat confdefs.h >>conftest.$ac_ext |
7984 cat >>conftest.$ac_ext <<_ACEOF | 9385 cat >>conftest.$ac_ext <<_ACEOF |
7985 /* end confdefs.h. */ | 9386 /* end confdefs.h. */ |
8000 ; | 9401 ; |
8001 return 0; | 9402 return 0; |
8002 } | 9403 } |
8003 _ACEOF | 9404 _ACEOF |
8004 rm -f conftest.$ac_objext | 9405 rm -f conftest.$ac_objext |
8005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9406 if { (ac_try="$ac_compile" |
8006 (eval $ac_compile) 2>conftest.er1 | 9407 case "(($ac_try" in |
9408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9409 *) ac_try_echo=$ac_try;; | |
9410 esac | |
9411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9412 (eval "$ac_compile") 2>conftest.er1 | |
8007 ac_status=$? | 9413 ac_status=$? |
8008 grep -v '^ *+' conftest.er1 >conftest.err | 9414 grep -v '^ *+' conftest.er1 >conftest.err |
8009 rm -f conftest.er1 | 9415 rm -f conftest.er1 |
8010 cat conftest.err >&5 | 9416 cat conftest.err >&5 |
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8012 (exit $ac_status); } && | 9418 (exit $ac_status); } && |
8013 { ac_try='test -z "$ac_c_werror_flag" | 9419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8014 || test ! -s conftest.err' | 9420 { (case "(($ac_try" in |
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8016 (eval $ac_try) 2>&5 | 9422 *) ac_try_echo=$ac_try;; |
9423 esac | |
9424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9425 (eval "$ac_try") 2>&5 | |
8017 ac_status=$? | 9426 ac_status=$? |
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8019 (exit $ac_status); }; } && | 9428 (exit $ac_status); }; } && |
8020 { ac_try='test -s conftest.$ac_objext' | 9429 { ac_try='test -s conftest.$ac_objext' |
8021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9430 { (case "(($ac_try" in |
8022 (eval $ac_try) 2>&5 | 9431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9432 *) ac_try_echo=$ac_try;; | |
9433 esac | |
9434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9435 (eval "$ac_try") 2>&5 | |
8023 ac_status=$? | 9436 ac_status=$? |
8024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8025 (exit $ac_status); }; }; then | 9438 (exit $ac_status); }; }; then |
8026 ac_cv_member_struct_ifreq_ifr_addr=yes | 9439 ac_cv_member_struct_ifreq_ifr_addr=yes |
8027 else | 9440 else |
8028 echo "$as_me: failed program was:" >&5 | 9441 echo "$as_me: failed program was:" >&5 |
8029 sed 's/^/| /' conftest.$ac_ext >&5 | 9442 sed 's/^/| /' conftest.$ac_ext >&5 |
8030 | 9443 |
8031 ac_cv_member_struct_ifreq_ifr_addr=no | 9444 ac_cv_member_struct_ifreq_ifr_addr=no |
8032 fi | 9445 fi |
8033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9446 |
8034 fi | 9447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9448 fi |
8036 fi | 9449 |
8037 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | 9450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8038 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6 | 9451 fi |
9452 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ifreq_ifr_addr" >&5 | |
9453 echo "${ECHO_T}$ac_cv_member_struct_ifreq_ifr_addr" >&6; } | |
8039 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then | 9454 if test $ac_cv_member_struct_ifreq_ifr_addr = yes; then |
8040 | 9455 |
8041 cat >>confdefs.h <<_ACEOF | 9456 cat >>confdefs.h <<_ACEOF |
8042 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 | 9457 #define HAVE_STRUCT_IFREQ_IFR_ADDR 1 |
8043 _ACEOF | 9458 _ACEOF |
8045 | 9460 |
8046 fi | 9461 fi |
8047 | 9462 |
8048 | 9463 |
8049 | 9464 |
8050 echo "$as_me:$LINENO: checking for function prototypes" >&5 | 9465 { echo "$as_me:$LINENO: checking for function prototypes" >&5 |
8051 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 | 9466 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } |
8052 if test "$ac_cv_prog_cc_stdc" != no; then | 9467 if test "$ac_cv_prog_cc_c89" != no; then |
8053 echo "$as_me:$LINENO: result: yes" >&5 | 9468 { echo "$as_me:$LINENO: result: yes" >&5 |
8054 echo "${ECHO_T}yes" >&6 | 9469 echo "${ECHO_T}yes" >&6; } |
8055 | 9470 |
8056 cat >>confdefs.h <<\_ACEOF | 9471 cat >>confdefs.h <<\_ACEOF |
8057 #define PROTOTYPES 1 | 9472 #define PROTOTYPES 1 |
8058 _ACEOF | 9473 _ACEOF |
8059 | 9474 |
8061 cat >>confdefs.h <<\_ACEOF | 9476 cat >>confdefs.h <<\_ACEOF |
8062 #define __PROTOTYPES 1 | 9477 #define __PROTOTYPES 1 |
8063 _ACEOF | 9478 _ACEOF |
8064 | 9479 |
8065 else | 9480 else |
8066 echo "$as_me:$LINENO: result: no" >&5 | 9481 { echo "$as_me:$LINENO: result: no" >&5 |
8067 echo "${ECHO_T}no" >&6 | 9482 echo "${ECHO_T}no" >&6; } |
8068 fi | 9483 fi |
8069 | 9484 |
8070 echo "$as_me:$LINENO: checking for working volatile" >&5 | 9485 { echo "$as_me:$LINENO: checking for working volatile" >&5 |
8071 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6 | 9486 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; } |
8072 if test "${ac_cv_c_volatile+set}" = set; then | 9487 if test "${ac_cv_c_volatile+set}" = set; then |
8073 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9488 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8074 else | 9489 else |
8075 cat >conftest.$ac_ext <<_ACEOF | 9490 cat >conftest.$ac_ext <<_ACEOF |
8076 /* confdefs.h. */ | 9491 /* confdefs.h. */ |
8082 int | 9497 int |
8083 main () | 9498 main () |
8084 { | 9499 { |
8085 | 9500 |
8086 volatile int x; | 9501 volatile int x; |
8087 int * volatile y; | 9502 int * volatile y = (int *) 0; |
9503 return !x && !y; | |
8088 ; | 9504 ; |
8089 return 0; | 9505 return 0; |
8090 } | 9506 } |
8091 _ACEOF | 9507 _ACEOF |
8092 rm -f conftest.$ac_objext | 9508 rm -f conftest.$ac_objext |
8093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9509 if { (ac_try="$ac_compile" |
8094 (eval $ac_compile) 2>conftest.er1 | 9510 case "(($ac_try" in |
9511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9512 *) ac_try_echo=$ac_try;; | |
9513 esac | |
9514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9515 (eval "$ac_compile") 2>conftest.er1 | |
8095 ac_status=$? | 9516 ac_status=$? |
8096 grep -v '^ *+' conftest.er1 >conftest.err | 9517 grep -v '^ *+' conftest.er1 >conftest.err |
8097 rm -f conftest.er1 | 9518 rm -f conftest.er1 |
8098 cat conftest.err >&5 | 9519 cat conftest.err >&5 |
8099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8100 (exit $ac_status); } && | 9521 (exit $ac_status); } && |
8101 { ac_try='test -z "$ac_c_werror_flag" | 9522 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8102 || test ! -s conftest.err' | 9523 { (case "(($ac_try" in |
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8104 (eval $ac_try) 2>&5 | 9525 *) ac_try_echo=$ac_try;; |
9526 esac | |
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9528 (eval "$ac_try") 2>&5 | |
8105 ac_status=$? | 9529 ac_status=$? |
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8107 (exit $ac_status); }; } && | 9531 (exit $ac_status); }; } && |
8108 { ac_try='test -s conftest.$ac_objext' | 9532 { ac_try='test -s conftest.$ac_objext' |
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9533 { (case "(($ac_try" in |
8110 (eval $ac_try) 2>&5 | 9534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9535 *) ac_try_echo=$ac_try;; | |
9536 esac | |
9537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9538 (eval "$ac_try") 2>&5 | |
8111 ac_status=$? | 9539 ac_status=$? |
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8113 (exit $ac_status); }; }; then | 9541 (exit $ac_status); }; }; then |
8114 ac_cv_c_volatile=yes | 9542 ac_cv_c_volatile=yes |
8115 else | 9543 else |
8116 echo "$as_me: failed program was:" >&5 | 9544 echo "$as_me: failed program was:" >&5 |
8117 sed 's/^/| /' conftest.$ac_ext >&5 | 9545 sed 's/^/| /' conftest.$ac_ext >&5 |
8118 | 9546 |
8119 ac_cv_c_volatile=no | 9547 ac_cv_c_volatile=no |
8120 fi | 9548 fi |
8121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9549 |
8122 fi | 9550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8123 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 | 9551 fi |
8124 echo "${ECHO_T}$ac_cv_c_volatile" >&6 | 9552 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5 |
9553 echo "${ECHO_T}$ac_cv_c_volatile" >&6; } | |
8125 if test $ac_cv_c_volatile = no; then | 9554 if test $ac_cv_c_volatile = no; then |
8126 | 9555 |
8127 cat >>confdefs.h <<\_ACEOF | 9556 cat >>confdefs.h <<\_ACEOF |
8128 #define volatile | 9557 #define volatile |
8129 _ACEOF | 9558 _ACEOF |
8130 | 9559 |
8131 fi | 9560 fi |
8132 | 9561 |
8133 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 9562 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
8134 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 9563 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
8135 if test "${ac_cv_c_const+set}" = set; then | 9564 if test "${ac_cv_c_const+set}" = set; then |
8136 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9565 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8137 else | 9566 else |
8138 cat >conftest.$ac_ext <<_ACEOF | 9567 cat >conftest.$ac_ext <<_ACEOF |
8139 /* confdefs.h. */ | 9568 /* confdefs.h. */ |
8169 { /* SCO 3.2v4 cc rejects this. */ | 9598 { /* SCO 3.2v4 cc rejects this. */ |
8170 char *t; | 9599 char *t; |
8171 char const *s = 0 ? (char *) 0 : (char const *) 0; | 9600 char const *s = 0 ? (char *) 0 : (char const *) 0; |
8172 | 9601 |
8173 *t++ = 0; | 9602 *t++ = 0; |
9603 if (s) return 0; | |
8174 } | 9604 } |
8175 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 9605 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
8176 int x[] = {25, 17}; | 9606 int x[] = {25, 17}; |
8177 const int *foo = &x[0]; | 9607 const int *foo = &x[0]; |
8178 ++foo; | 9608 ++foo; |
8187 struct s { int j; const int *ap[3]; }; | 9617 struct s { int j; const int *ap[3]; }; |
8188 struct s *b; b->j = 5; | 9618 struct s *b; b->j = 5; |
8189 } | 9619 } |
8190 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 9620 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
8191 const int foo = 10; | 9621 const int foo = 10; |
9622 if (!foo) return 0; | |
8192 } | 9623 } |
9624 return !x[0] && !zero.x; | |
8193 #endif | 9625 #endif |
8194 | 9626 |
8195 ; | 9627 ; |
8196 return 0; | 9628 return 0; |
8197 } | 9629 } |
8198 _ACEOF | 9630 _ACEOF |
8199 rm -f conftest.$ac_objext | 9631 rm -f conftest.$ac_objext |
8200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9632 if { (ac_try="$ac_compile" |
8201 (eval $ac_compile) 2>conftest.er1 | 9633 case "(($ac_try" in |
9634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9635 *) ac_try_echo=$ac_try;; | |
9636 esac | |
9637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9638 (eval "$ac_compile") 2>conftest.er1 | |
8202 ac_status=$? | 9639 ac_status=$? |
8203 grep -v '^ *+' conftest.er1 >conftest.err | 9640 grep -v '^ *+' conftest.er1 >conftest.err |
8204 rm -f conftest.er1 | 9641 rm -f conftest.er1 |
8205 cat conftest.err >&5 | 9642 cat conftest.err >&5 |
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8207 (exit $ac_status); } && | 9644 (exit $ac_status); } && |
8208 { ac_try='test -z "$ac_c_werror_flag" | 9645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8209 || test ! -s conftest.err' | 9646 { (case "(($ac_try" in |
8210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8211 (eval $ac_try) 2>&5 | 9648 *) ac_try_echo=$ac_try;; |
9649 esac | |
9650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9651 (eval "$ac_try") 2>&5 | |
8212 ac_status=$? | 9652 ac_status=$? |
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8214 (exit $ac_status); }; } && | 9654 (exit $ac_status); }; } && |
8215 { ac_try='test -s conftest.$ac_objext' | 9655 { ac_try='test -s conftest.$ac_objext' |
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9656 { (case "(($ac_try" in |
8217 (eval $ac_try) 2>&5 | 9657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9658 *) ac_try_echo=$ac_try;; | |
9659 esac | |
9660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9661 (eval "$ac_try") 2>&5 | |
8218 ac_status=$? | 9662 ac_status=$? |
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8220 (exit $ac_status); }; }; then | 9664 (exit $ac_status); }; }; then |
8221 ac_cv_c_const=yes | 9665 ac_cv_c_const=yes |
8222 else | 9666 else |
8223 echo "$as_me: failed program was:" >&5 | 9667 echo "$as_me: failed program was:" >&5 |
8224 sed 's/^/| /' conftest.$ac_ext >&5 | 9668 sed 's/^/| /' conftest.$ac_ext >&5 |
8225 | 9669 |
8226 ac_cv_c_const=no | 9670 ac_cv_c_const=no |
8227 fi | 9671 fi |
8228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9672 |
8229 fi | 9673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8230 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 9674 fi |
8231 echo "${ECHO_T}$ac_cv_c_const" >&6 | 9675 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
9676 echo "${ECHO_T}$ac_cv_c_const" >&6; } | |
8232 if test $ac_cv_c_const = no; then | 9677 if test $ac_cv_c_const = no; then |
8233 | 9678 |
8234 cat >>confdefs.h <<\_ACEOF | 9679 cat >>confdefs.h <<\_ACEOF |
8235 #define const | 9680 #define const |
8236 _ACEOF | 9681 _ACEOF |
8237 | 9682 |
8238 fi | 9683 fi |
8239 | 9684 |
8240 echo "$as_me:$LINENO: checking for void * support" >&5 | 9685 { echo "$as_me:$LINENO: checking for void * support" >&5 |
8241 echo $ECHO_N "checking for void * support... $ECHO_C" >&6 | 9686 echo $ECHO_N "checking for void * support... $ECHO_C" >&6; } |
8242 if test "${emacs_cv_void_star+set}" = set; then | 9687 if test "${emacs_cv_void_star+set}" = set; then |
8243 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9688 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8244 else | 9689 else |
8245 cat >conftest.$ac_ext <<_ACEOF | 9690 cat >conftest.$ac_ext <<_ACEOF |
8246 /* confdefs.h. */ | 9691 /* confdefs.h. */ |
8256 ; | 9701 ; |
8257 return 0; | 9702 return 0; |
8258 } | 9703 } |
8259 _ACEOF | 9704 _ACEOF |
8260 rm -f conftest.$ac_objext | 9705 rm -f conftest.$ac_objext |
8261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 9706 if { (ac_try="$ac_compile" |
8262 (eval $ac_compile) 2>conftest.er1 | 9707 case "(($ac_try" in |
9708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9709 *) ac_try_echo=$ac_try;; | |
9710 esac | |
9711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9712 (eval "$ac_compile") 2>conftest.er1 | |
8263 ac_status=$? | 9713 ac_status=$? |
8264 grep -v '^ *+' conftest.er1 >conftest.err | 9714 grep -v '^ *+' conftest.er1 >conftest.err |
8265 rm -f conftest.er1 | 9715 rm -f conftest.er1 |
8266 cat conftest.err >&5 | 9716 cat conftest.err >&5 |
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8268 (exit $ac_status); } && | 9718 (exit $ac_status); } && |
8269 { ac_try='test -z "$ac_c_werror_flag" | 9719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8270 || test ! -s conftest.err' | 9720 { (case "(($ac_try" in |
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8272 (eval $ac_try) 2>&5 | 9722 *) ac_try_echo=$ac_try;; |
9723 esac | |
9724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9725 (eval "$ac_try") 2>&5 | |
8273 ac_status=$? | 9726 ac_status=$? |
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8275 (exit $ac_status); }; } && | 9728 (exit $ac_status); }; } && |
8276 { ac_try='test -s conftest.$ac_objext' | 9729 { ac_try='test -s conftest.$ac_objext' |
8277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 9730 { (case "(($ac_try" in |
8278 (eval $ac_try) 2>&5 | 9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9732 *) ac_try_echo=$ac_try;; | |
9733 esac | |
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9735 (eval "$ac_try") 2>&5 | |
8279 ac_status=$? | 9736 ac_status=$? |
8280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8281 (exit $ac_status); }; }; then | 9738 (exit $ac_status); }; }; then |
8282 emacs_cv_void_star=yes | 9739 emacs_cv_void_star=yes |
8283 else | 9740 else |
8284 echo "$as_me: failed program was:" >&5 | 9741 echo "$as_me: failed program was:" >&5 |
8285 sed 's/^/| /' conftest.$ac_ext >&5 | 9742 sed 's/^/| /' conftest.$ac_ext >&5 |
8286 | 9743 |
8287 emacs_cv_void_star=no | 9744 emacs_cv_void_star=no |
8288 fi | 9745 fi |
8289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 9746 |
8290 fi | 9747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8291 echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 | 9748 fi |
8292 echo "${ECHO_T}$emacs_cv_void_star" >&6 | 9749 { echo "$as_me:$LINENO: result: $emacs_cv_void_star" >&5 |
9750 echo "${ECHO_T}$emacs_cv_void_star" >&6; } | |
8293 if test $emacs_cv_void_star = yes; then | 9751 if test $emacs_cv_void_star = yes; then |
8294 cat >>confdefs.h <<\_ACEOF | 9752 cat >>confdefs.h <<\_ACEOF |
8295 #define POINTER_TYPE void | 9753 #define POINTER_TYPE void |
8296 _ACEOF | 9754 _ACEOF |
8297 | 9755 |
8304 | 9762 |
8305 | 9763 |
8306 | 9764 |
8307 | 9765 |
8308 | 9766 |
8309 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 9767 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
8310 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 9768 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } |
8311 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` | 9769 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
8312 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then | 9770 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
8313 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9771 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8314 else | 9772 else |
8315 cat >conftest.make <<\_ACEOF | 9773 cat >conftest.make <<\_ACEOF |
9774 SHELL = /bin/sh | |
8316 all: | 9775 all: |
8317 @echo 'ac_maketemp="$(MAKE)"' | 9776 @echo '@@@%%%=$(MAKE)=@@@%%%' |
8318 _ACEOF | 9777 _ACEOF |
8319 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 9778 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
8320 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` | 9779 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
8321 if test -n "$ac_maketemp"; then | 9780 *@@@%%%=?*=@@@%%%*) |
8322 eval ac_cv_prog_make_${ac_make}_set=yes | 9781 eval ac_cv_prog_make_${ac_make}_set=yes;; |
8323 else | 9782 *) |
8324 eval ac_cv_prog_make_${ac_make}_set=no | 9783 eval ac_cv_prog_make_${ac_make}_set=no;; |
8325 fi | 9784 esac |
8326 rm -f conftest.make | 9785 rm -f conftest.make |
8327 fi | 9786 fi |
8328 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 9787 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
8329 echo "$as_me:$LINENO: result: yes" >&5 | 9788 { echo "$as_me:$LINENO: result: yes" >&5 |
8330 echo "${ECHO_T}yes" >&6 | 9789 echo "${ECHO_T}yes" >&6; } |
8331 SET_MAKE= | 9790 SET_MAKE= |
8332 else | 9791 else |
8333 echo "$as_me:$LINENO: result: no" >&5 | 9792 { echo "$as_me:$LINENO: result: no" >&5 |
8334 echo "${ECHO_T}no" >&6 | 9793 echo "${ECHO_T}no" >&6; } |
8335 SET_MAKE="MAKE=${MAKE-make}" | 9794 SET_MAKE="MAKE=${MAKE-make}" |
8336 fi | 9795 fi |
8337 | 9796 |
8338 | 9797 |
8339 echo "$as_me:$LINENO: checking for long file names" >&5 | 9798 { echo "$as_me:$LINENO: checking for long file names" >&5 |
8340 echo $ECHO_N "checking for long file names... $ECHO_C" >&6 | 9799 echo $ECHO_N "checking for long file names... $ECHO_C" >&6; } |
8341 if test "${ac_cv_sys_long_file_names+set}" = set; then | 9800 if test "${ac_cv_sys_long_file_names+set}" = set; then |
8342 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9801 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8343 else | 9802 else |
8344 ac_cv_sys_long_file_names=yes | 9803 ac_cv_sys_long_file_names=yes |
8345 # Test for long file names in all the places we know might matter: | 9804 # Test for long file names in all the places we know might matter: |
8346 # . the current directory, where building will happen | 9805 # . the current directory, where building will happen |
8347 # $prefix/lib where we will be installing things | 9806 # $prefix/lib where we will be installing things |
8348 # $exec_prefix/lib likewise | 9807 # $exec_prefix/lib likewise |
8349 # eval it to expand exec_prefix. | |
8350 # $TMPDIR if set, where it might want to write temporary files | 9808 # $TMPDIR if set, where it might want to write temporary files |
8351 # if $TMPDIR is not set: | |
8352 # /tmp where it might want to write temporary files | 9809 # /tmp where it might want to write temporary files |
8353 # /var/tmp likewise | 9810 # /var/tmp likewise |
8354 # /usr/tmp likewise | 9811 # /usr/tmp likewise |
8355 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then | 9812 for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do |
8356 ac_tmpdirs=$TMPDIR | 9813 # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib |
8357 else | 9814 # in the usual case where exec_prefix is '${prefix}'. |
8358 ac_tmpdirs='/tmp /var/tmp /usr/tmp' | 9815 case $ac_dir in #( |
8359 fi | 9816 . | /* | ?:[\\/]*) ;; #( |
8360 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do | 9817 *) continue;; |
8361 test -d $ac_dir || continue | 9818 esac |
8362 test -w $ac_dir || continue # It is less confusing to not echo anything here. | 9819 test -w "$ac_dir/." || continue # It is less confusing to not echo anything here. |
8363 ac_xdir=$ac_dir/cf$$ | 9820 ac_xdir=$ac_dir/cf$$ |
8364 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue | 9821 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue |
8365 ac_tf1=$ac_xdir/conftest9012345 | 9822 ac_tf1=$ac_xdir/conftest9012345 |
8366 ac_tf2=$ac_xdir/conftest9012346 | 9823 ac_tf2=$ac_xdir/conftest9012346 |
8367 (echo 1 >$ac_tf1) 2>/dev/null | 9824 touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" || |
8368 (echo 2 >$ac_tf2) 2>/dev/null | |
8369 ac_val=`cat $ac_tf1 2>/dev/null` | |
8370 if test ! -f $ac_tf1 || test "$ac_val" != 1; then | |
8371 ac_cv_sys_long_file_names=no | 9825 ac_cv_sys_long_file_names=no |
8372 rm -rf $ac_xdir 2>/dev/null | 9826 rm -f -r "$ac_xdir" 2>/dev/null |
8373 break | 9827 test $ac_cv_sys_long_file_names = no && break |
8374 fi | |
8375 rm -rf $ac_xdir 2>/dev/null | |
8376 done | 9828 done |
8377 fi | 9829 fi |
8378 echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 | 9830 { echo "$as_me:$LINENO: result: $ac_cv_sys_long_file_names" >&5 |
8379 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6 | 9831 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6; } |
8380 if test $ac_cv_sys_long_file_names = yes; then | 9832 if test $ac_cv_sys_long_file_names = yes; then |
8381 | 9833 |
8382 cat >>confdefs.h <<\_ACEOF | 9834 cat >>confdefs.h <<\_ACEOF |
8383 #define HAVE_LONG_FILE_NAMES 1 | 9835 #define HAVE_LONG_FILE_NAMES 1 |
8384 _ACEOF | 9836 _ACEOF |
8386 fi | 9838 fi |
8387 | 9839 |
8388 | 9840 |
8389 #### Choose a window system. | 9841 #### Choose a window system. |
8390 | 9842 |
8391 echo "$as_me:$LINENO: checking for X" >&5 | 9843 { echo "$as_me:$LINENO: checking for X" >&5 |
8392 echo $ECHO_N "checking for X... $ECHO_C" >&6 | 9844 echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
8393 | 9845 |
8394 | 9846 |
8395 # Check whether --with-x or --without-x was given. | 9847 # Check whether --with-x was given. |
8396 if test "${with_x+set}" = set; then | 9848 if test "${with_x+set}" = set; then |
8397 withval="$with_x" | 9849 withval=$with_x; |
8398 | 9850 fi |
8399 fi; | 9851 |
8400 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. | 9852 # $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
8401 if test "x$with_x" = xno; then | 9853 if test "x$with_x" = xno; then |
8402 # The user explicitly disabled X. | 9854 # The user explicitly disabled X. |
8403 have_x=disabled | 9855 have_x=disabled |
8404 else | 9856 else |
8405 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then | 9857 case $x_includes,$x_libraries in #( |
8406 # Both variables are already set. | 9858 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 |
8407 have_x=yes | 9859 echo "$as_me: error: Cannot use X directory names containing '" >&2;} |
8408 else | 9860 { (exit 1); exit 1; }; };; #( |
8409 if test "${ac_cv_have_x+set}" = set; then | 9861 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then |
8410 echo $ECHO_N "(cached) $ECHO_C" >&6 | 9862 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8411 else | 9863 else |
8412 # One or both of the vars are not set, and there is no cached value. | 9864 # One or both of the vars are not set, and there is no cached value. |
8413 ac_x_includes=no ac_x_libraries=no | 9865 ac_x_includes=no ac_x_libraries=no |
8414 rm -fr conftest.dir | 9866 rm -f -r conftest.dir |
8415 if mkdir conftest.dir; then | 9867 if mkdir conftest.dir; then |
8416 cd conftest.dir | 9868 cd conftest.dir |
8417 # Make sure to not put "make" in the Imakefile rules, since we grep it out. | |
8418 cat >Imakefile <<'_ACEOF' | 9869 cat >Imakefile <<'_ACEOF' |
8419 acfindx: | 9870 incroot: |
8420 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' | 9871 @echo incroot='${INCROOT}' |
8421 _ACEOF | 9872 usrlibdir: |
8422 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then | 9873 @echo usrlibdir='${USRLIBDIR}' |
9874 libdir: | |
9875 @echo libdir='${LIBDIR}' | |
9876 _ACEOF | |
9877 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | |
8423 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 9878 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
8424 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` | 9879 for ac_var in incroot usrlibdir libdir; do |
9880 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | |
9881 done | |
8425 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 9882 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
8426 for ac_extension in a so sl; do | 9883 for ac_extension in a so sl; do |
8427 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && | 9884 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && |
8428 test -f $ac_im_libdir/libX11.$ac_extension; then | 9885 test -f "$ac_im_libdir/libX11.$ac_extension"; then |
8429 ac_im_usrlibdir=$ac_im_libdir; break | 9886 ac_im_usrlibdir=$ac_im_libdir; break |
8430 fi | 9887 fi |
8431 done | 9888 done |
8432 # Screen out bogus values from the imake configuration. They are | 9889 # Screen out bogus values from the imake configuration. They are |
8433 # bogus both because they are the default anyway, and because | 9890 # bogus both because they are the default anyway, and because |
8434 # using them would break gcc on systems where it needs fixed includes. | 9891 # using them would break gcc on systems where it needs fixed includes. |
8435 case $ac_im_incroot in | 9892 case $ac_im_incroot in |
8436 /usr/include) ;; | 9893 /usr/include) ac_x_includes= ;; |
8437 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; | 9894 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
8438 esac | 9895 esac |
8439 case $ac_im_usrlibdir in | 9896 case $ac_im_usrlibdir in |
8440 /usr/lib | /lib) ;; | 9897 /usr/lib | /lib) ;; |
8441 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; | 9898 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
8442 esac | 9899 esac |
8443 fi | 9900 fi |
8444 cd .. | 9901 cd .. |
8445 rm -fr conftest.dir | 9902 rm -f -r conftest.dir |
8446 fi | 9903 fi |
8447 | 9904 |
8448 # Standard set of common directories for X headers. | 9905 # Standard set of common directories for X headers. |
8449 # Check X11 before X11Rn because it is often a symlink to the current release. | 9906 # Check X11 before X11Rn because it is often a symlink to the current release. |
8450 ac_x_header_dirs=' | 9907 ac_x_header_dirs=' |
8481 | 9938 |
8482 /usr/openwin/include | 9939 /usr/openwin/include |
8483 /usr/openwin/share/include' | 9940 /usr/openwin/share/include' |
8484 | 9941 |
8485 if test "$ac_x_includes" = no; then | 9942 if test "$ac_x_includes" = no; then |
8486 # Guess where to find include files, by looking for Intrinsic.h. | 9943 # Guess where to find include files, by looking for Xlib.h. |
8487 # First, try using that file with no special directory specified. | 9944 # First, try using that file with no special directory specified. |
8488 cat >conftest.$ac_ext <<_ACEOF | 9945 cat >conftest.$ac_ext <<_ACEOF |
8489 /* confdefs.h. */ | 9946 /* confdefs.h. */ |
8490 _ACEOF | 9947 _ACEOF |
8491 cat confdefs.h >>conftest.$ac_ext | 9948 cat confdefs.h >>conftest.$ac_ext |
8492 cat >>conftest.$ac_ext <<_ACEOF | 9949 cat >>conftest.$ac_ext <<_ACEOF |
8493 /* end confdefs.h. */ | 9950 /* end confdefs.h. */ |
8494 #include <X11/Intrinsic.h> | 9951 #include <X11/Xlib.h> |
8495 _ACEOF | 9952 _ACEOF |
8496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 9953 if { (ac_try="$ac_cpp conftest.$ac_ext" |
8497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 9954 case "(($ac_try" in |
9955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
9956 *) ac_try_echo=$ac_try;; | |
9957 esac | |
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
9959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8498 ac_status=$? | 9960 ac_status=$? |
8499 grep -v '^ *+' conftest.er1 >conftest.err | 9961 grep -v '^ *+' conftest.er1 >conftest.err |
8500 rm -f conftest.er1 | 9962 rm -f conftest.er1 |
8501 cat conftest.err >&5 | 9963 cat conftest.err >&5 |
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8516 else | 9978 else |
8517 echo "$as_me: failed program was:" >&5 | 9979 echo "$as_me: failed program was:" >&5 |
8518 sed 's/^/| /' conftest.$ac_ext >&5 | 9980 sed 's/^/| /' conftest.$ac_ext >&5 |
8519 | 9981 |
8520 for ac_dir in $ac_x_header_dirs; do | 9982 for ac_dir in $ac_x_header_dirs; do |
8521 if test -r "$ac_dir/X11/Intrinsic.h"; then | 9983 if test -r "$ac_dir/X11/Xlib.h"; then |
8522 ac_x_includes=$ac_dir | 9984 ac_x_includes=$ac_dir |
8523 break | 9985 break |
8524 fi | 9986 fi |
8525 done | 9987 done |
8526 fi | 9988 fi |
9989 | |
8527 rm -f conftest.err conftest.$ac_ext | 9990 rm -f conftest.err conftest.$ac_ext |
8528 fi # $ac_x_includes = no | 9991 fi # $ac_x_includes = no |
8529 | 9992 |
8530 if test "$ac_x_libraries" = no; then | 9993 if test "$ac_x_libraries" = no; then |
8531 # Check for the libraries. | 9994 # Check for the libraries. |
8537 /* confdefs.h. */ | 10000 /* confdefs.h. */ |
8538 _ACEOF | 10001 _ACEOF |
8539 cat confdefs.h >>conftest.$ac_ext | 10002 cat confdefs.h >>conftest.$ac_ext |
8540 cat >>conftest.$ac_ext <<_ACEOF | 10003 cat >>conftest.$ac_ext <<_ACEOF |
8541 /* end confdefs.h. */ | 10004 /* end confdefs.h. */ |
8542 #include <X11/Intrinsic.h> | 10005 #include <X11/Xlib.h> |
8543 int | 10006 int |
8544 main () | 10007 main () |
8545 { | 10008 { |
8546 XtMalloc (0) | 10009 XrmInitialize () |
8547 ; | 10010 ; |
8548 return 0; | 10011 return 0; |
8549 } | 10012 } |
8550 _ACEOF | 10013 _ACEOF |
8551 rm -f conftest.$ac_objext conftest$ac_exeext | 10014 rm -f conftest.$ac_objext conftest$ac_exeext |
8552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10015 if { (ac_try="$ac_link" |
8553 (eval $ac_link) 2>conftest.er1 | 10016 case "(($ac_try" in |
10017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10018 *) ac_try_echo=$ac_try;; | |
10019 esac | |
10020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10021 (eval "$ac_link") 2>conftest.er1 | |
8554 ac_status=$? | 10022 ac_status=$? |
8555 grep -v '^ *+' conftest.er1 >conftest.err | 10023 grep -v '^ *+' conftest.er1 >conftest.err |
8556 rm -f conftest.er1 | 10024 rm -f conftest.er1 |
8557 cat conftest.err >&5 | 10025 cat conftest.err >&5 |
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8559 (exit $ac_status); } && | 10027 (exit $ac_status); } && |
8560 { ac_try='test -z "$ac_c_werror_flag" | 10028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8561 || test ! -s conftest.err' | 10029 { (case "(($ac_try" in |
8562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8563 (eval $ac_try) 2>&5 | 10031 *) ac_try_echo=$ac_try;; |
10032 esac | |
10033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10034 (eval "$ac_try") 2>&5 | |
8564 ac_status=$? | 10035 ac_status=$? |
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8566 (exit $ac_status); }; } && | 10037 (exit $ac_status); }; } && |
8567 { ac_try='test -s conftest$ac_exeext' | 10038 { ac_try='test -s conftest$ac_exeext' |
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10039 { (case "(($ac_try" in |
8569 (eval $ac_try) 2>&5 | 10040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10041 *) ac_try_echo=$ac_try;; | |
10042 esac | |
10043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10044 (eval "$ac_try") 2>&5 | |
8570 ac_status=$? | 10045 ac_status=$? |
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8572 (exit $ac_status); }; }; then | 10047 (exit $ac_status); }; }; then |
8573 LIBS=$ac_save_LIBS | 10048 LIBS=$ac_save_LIBS |
8574 # We can link X programs with no special library path. | 10049 # We can link X programs with no special library path. |
8575 ac_x_libraries= | 10050 ac_x_libraries= |
8576 else | 10051 else |
8577 echo "$as_me: failed program was:" >&5 | 10052 echo "$as_me: failed program was:" >&5 |
8578 sed 's/^/| /' conftest.$ac_ext >&5 | 10053 sed 's/^/| /' conftest.$ac_ext >&5 |
8579 | 10054 |
8580 LIBS=$ac_save_LIBS | 10055 LIBS=$ac_save_LIBS |
8581 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` | 10056 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
8582 do | 10057 do |
8583 # Don't even attempt the hair of trying to link an X program! | 10058 # Don't even attempt the hair of trying to link an X program! |
8584 for ac_extension in a so sl; do | 10059 for ac_extension in a so sl; do |
8585 if test -r $ac_dir/libXt.$ac_extension; then | 10060 if test -r "$ac_dir/libXt.$ac_extension"; then |
8586 ac_x_libraries=$ac_dir | 10061 ac_x_libraries=$ac_dir |
8587 break 2 | 10062 break 2 |
8588 fi | 10063 fi |
8589 done | 10064 done |
8590 done | 10065 done |
8591 fi | 10066 fi |
8592 rm -f conftest.err conftest.$ac_objext \ | 10067 |
10068 rm -f core conftest.err conftest.$ac_objext \ | |
8593 conftest$ac_exeext conftest.$ac_ext | 10069 conftest$ac_exeext conftest.$ac_ext |
8594 fi # $ac_x_libraries = no | 10070 fi # $ac_x_libraries = no |
8595 | 10071 |
8596 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then | 10072 case $ac_x_includes,$ac_x_libraries in #( |
8597 # Didn't find X anywhere. Cache the known absence of X. | 10073 no,* | *,no | *\'*) |
8598 ac_cv_have_x="have_x=no" | 10074 # Didn't find X, or a directory has "'" in its name. |
8599 else | 10075 ac_cv_have_x="have_x=no";; #( |
8600 # Record where we found X for the cache. | 10076 *) |
8601 ac_cv_have_x="have_x=yes \ | 10077 # Record where we found X for the cache. |
8602 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" | 10078 ac_cv_have_x="have_x=yes\ |
8603 fi | 10079 ac_x_includes='$ac_x_includes'\ |
8604 fi | 10080 ac_x_libraries='$ac_x_libraries'" |
8605 | 10081 esac |
8606 fi | 10082 fi |
10083 ;; #( | |
10084 *) have_x=yes;; | |
10085 esac | |
8607 eval "$ac_cv_have_x" | 10086 eval "$ac_cv_have_x" |
8608 fi # $with_x != no | 10087 fi # $with_x != no |
8609 | 10088 |
8610 if test "$have_x" != yes; then | 10089 if test "$have_x" != yes; then |
8611 echo "$as_me:$LINENO: result: $have_x" >&5 | 10090 { echo "$as_me:$LINENO: result: $have_x" >&5 |
8612 echo "${ECHO_T}$have_x" >&6 | 10091 echo "${ECHO_T}$have_x" >&6; } |
8613 no_x=yes | 10092 no_x=yes |
8614 else | 10093 else |
8615 # If each of the values was on the command line, it overrides each guess. | 10094 # If each of the values was on the command line, it overrides each guess. |
8616 test "x$x_includes" = xNONE && x_includes=$ac_x_includes | 10095 test "x$x_includes" = xNONE && x_includes=$ac_x_includes |
8617 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries | 10096 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries |
8618 # Update the cache value to reflect the command line values. | 10097 # Update the cache value to reflect the command line values. |
8619 ac_cv_have_x="have_x=yes \ | 10098 ac_cv_have_x="have_x=yes\ |
8620 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" | 10099 ac_x_includes='$x_includes'\ |
8621 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 | 10100 ac_x_libraries='$x_libraries'" |
8622 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 | 10101 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
10102 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } | |
8623 fi | 10103 fi |
8624 | 10104 |
8625 if test "$no_x" = yes; then | 10105 if test "$no_x" = yes; then |
8626 window_system=none | 10106 window_system=none |
8627 else | 10107 else |
8677 fi | 10157 fi |
8678 | 10158 |
8679 HAVE_CARBON=no | 10159 HAVE_CARBON=no |
8680 if test "${with_carbon}" != no; then | 10160 if test "${with_carbon}" != no; then |
8681 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 10161 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
8682 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | 10162 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
8683 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 | 10163 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; } |
8684 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 10164 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
8685 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10165 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8686 fi | 10166 fi |
8687 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 10167 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
8688 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 | 10168 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; } |
8689 else | 10169 else |
8690 # Is the header compilable? | 10170 # Is the header compilable? |
8691 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 | 10171 { echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5 |
8692 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6 | 10172 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6; } |
8693 cat >conftest.$ac_ext <<_ACEOF | 10173 cat >conftest.$ac_ext <<_ACEOF |
8694 /* confdefs.h. */ | 10174 /* confdefs.h. */ |
8695 _ACEOF | 10175 _ACEOF |
8696 cat confdefs.h >>conftest.$ac_ext | 10176 cat confdefs.h >>conftest.$ac_ext |
8697 cat >>conftest.$ac_ext <<_ACEOF | 10177 cat >>conftest.$ac_ext <<_ACEOF |
8698 /* end confdefs.h. */ | 10178 /* end confdefs.h. */ |
8699 $ac_includes_default | 10179 $ac_includes_default |
8700 #include <Carbon/Carbon.h> | 10180 #include <Carbon/Carbon.h> |
8701 _ACEOF | 10181 _ACEOF |
8702 rm -f conftest.$ac_objext | 10182 rm -f conftest.$ac_objext |
8703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10183 if { (ac_try="$ac_compile" |
8704 (eval $ac_compile) 2>conftest.er1 | 10184 case "(($ac_try" in |
10185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10186 *) ac_try_echo=$ac_try;; | |
10187 esac | |
10188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10189 (eval "$ac_compile") 2>conftest.er1 | |
8705 ac_status=$? | 10190 ac_status=$? |
8706 grep -v '^ *+' conftest.er1 >conftest.err | 10191 grep -v '^ *+' conftest.er1 >conftest.err |
8707 rm -f conftest.er1 | 10192 rm -f conftest.er1 |
8708 cat conftest.err >&5 | 10193 cat conftest.err >&5 |
8709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8710 (exit $ac_status); } && | 10195 (exit $ac_status); } && |
8711 { ac_try='test -z "$ac_c_werror_flag" | 10196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8712 || test ! -s conftest.err' | 10197 { (case "(($ac_try" in |
8713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8714 (eval $ac_try) 2>&5 | 10199 *) ac_try_echo=$ac_try;; |
10200 esac | |
10201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10202 (eval "$ac_try") 2>&5 | |
8715 ac_status=$? | 10203 ac_status=$? |
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8717 (exit $ac_status); }; } && | 10205 (exit $ac_status); }; } && |
8718 { ac_try='test -s conftest.$ac_objext' | 10206 { ac_try='test -s conftest.$ac_objext' |
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10207 { (case "(($ac_try" in |
8720 (eval $ac_try) 2>&5 | 10208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10209 *) ac_try_echo=$ac_try;; | |
10210 esac | |
10211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10212 (eval "$ac_try") 2>&5 | |
8721 ac_status=$? | 10213 ac_status=$? |
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8723 (exit $ac_status); }; }; then | 10215 (exit $ac_status); }; }; then |
8724 ac_header_compiler=yes | 10216 ac_header_compiler=yes |
8725 else | 10217 else |
8726 echo "$as_me: failed program was:" >&5 | 10218 echo "$as_me: failed program was:" >&5 |
8727 sed 's/^/| /' conftest.$ac_ext >&5 | 10219 sed 's/^/| /' conftest.$ac_ext >&5 |
8728 | 10220 |
8729 ac_header_compiler=no | 10221 ac_header_compiler=no |
8730 fi | 10222 fi |
8731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 10223 |
8732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 10224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8733 echo "${ECHO_T}$ac_header_compiler" >&6 | 10225 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10226 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
8734 | 10227 |
8735 # Is the header present? | 10228 # Is the header present? |
8736 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 | 10229 { echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5 |
8737 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6 | 10230 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6; } |
8738 cat >conftest.$ac_ext <<_ACEOF | 10231 cat >conftest.$ac_ext <<_ACEOF |
8739 /* confdefs.h. */ | 10232 /* confdefs.h. */ |
8740 _ACEOF | 10233 _ACEOF |
8741 cat confdefs.h >>conftest.$ac_ext | 10234 cat confdefs.h >>conftest.$ac_ext |
8742 cat >>conftest.$ac_ext <<_ACEOF | 10235 cat >>conftest.$ac_ext <<_ACEOF |
8743 /* end confdefs.h. */ | 10236 /* end confdefs.h. */ |
8744 #include <Carbon/Carbon.h> | 10237 #include <Carbon/Carbon.h> |
8745 _ACEOF | 10238 _ACEOF |
8746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10239 if { (ac_try="$ac_cpp conftest.$ac_ext" |
8747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10240 case "(($ac_try" in |
10241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10242 *) ac_try_echo=$ac_try;; | |
10243 esac | |
10244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
8748 ac_status=$? | 10246 ac_status=$? |
8749 grep -v '^ *+' conftest.er1 >conftest.err | 10247 grep -v '^ *+' conftest.er1 >conftest.err |
8750 rm -f conftest.er1 | 10248 rm -f conftest.er1 |
8751 cat conftest.err >&5 | 10249 cat conftest.err >&5 |
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8766 echo "$as_me: failed program was:" >&5 | 10264 echo "$as_me: failed program was:" >&5 |
8767 sed 's/^/| /' conftest.$ac_ext >&5 | 10265 sed 's/^/| /' conftest.$ac_ext >&5 |
8768 | 10266 |
8769 ac_header_preproc=no | 10267 ac_header_preproc=no |
8770 fi | 10268 fi |
10269 | |
8771 rm -f conftest.err conftest.$ac_ext | 10270 rm -f conftest.err conftest.$ac_ext |
8772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 10271 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
8773 echo "${ECHO_T}$ac_header_preproc" >&6 | 10272 echo "${ECHO_T}$ac_header_preproc" >&6; } |
8774 | 10273 |
8775 # So? What about this header? | 10274 # So? What about this header? |
8776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 10275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
8777 yes:no: ) | 10276 yes:no: ) |
8778 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 10277 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8792 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} | 10291 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8793 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 | 10292 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5 |
8794 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} | 10293 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;} |
8795 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 | 10294 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5 |
8796 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} | 10295 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;} |
8797 ( | 10296 |
8798 cat <<\_ASBOX | |
8799 ## ------------------------------------------ ## | |
8800 ## Report this to the AC_PACKAGE_NAME lists. ## | |
8801 ## ------------------------------------------ ## | |
8802 _ASBOX | |
8803 ) | | |
8804 sed "s/^/$as_me: WARNING: /" >&2 | |
8805 ;; | 10297 ;; |
8806 esac | 10298 esac |
8807 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 | 10299 { echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5 |
8808 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6 | 10300 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6; } |
8809 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then | 10301 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then |
8810 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10302 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8811 else | 10303 else |
8812 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc | 10304 ac_cv_header_Carbon_Carbon_h=$ac_header_preproc |
8813 fi | 10305 fi |
8814 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 | 10306 { echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5 |
8815 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6 | 10307 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6; } |
8816 | 10308 |
8817 fi | 10309 fi |
8818 if test $ac_cv_header_Carbon_Carbon_h = yes; then | 10310 if test $ac_cv_header_Carbon_Carbon_h = yes; then |
8819 HAVE_CARBON=yes | 10311 HAVE_CARBON=yes |
8820 fi | 10312 fi |
8884 | 10376 |
8885 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 10377 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
8886 # Assume not, until told otherwise. | 10378 # Assume not, until told otherwise. |
8887 GNU_MALLOC=yes | 10379 GNU_MALLOC=yes |
8888 doug_lea_malloc=yes | 10380 doug_lea_malloc=yes |
8889 echo "$as_me:$LINENO: checking for malloc_get_state" >&5 | 10381 { echo "$as_me:$LINENO: checking for malloc_get_state" >&5 |
8890 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6 | 10382 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6; } |
8891 if test "${ac_cv_func_malloc_get_state+set}" = set; then | 10383 if test "${ac_cv_func_malloc_get_state+set}" = set; then |
8892 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10384 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8893 else | 10385 else |
8894 cat >conftest.$ac_ext <<_ACEOF | 10386 cat >conftest.$ac_ext <<_ACEOF |
8895 /* confdefs.h. */ | 10387 /* confdefs.h. */ |
8912 # include <assert.h> | 10404 # include <assert.h> |
8913 #endif | 10405 #endif |
8914 | 10406 |
8915 #undef malloc_get_state | 10407 #undef malloc_get_state |
8916 | 10408 |
8917 /* Override any gcc2 internal prototype to avoid an error. */ | 10409 /* Override any GCC internal prototype to avoid an error. |
10410 Use char because int might match the return type of a GCC | |
10411 builtin and then its argument prototype would still apply. */ | |
8918 #ifdef __cplusplus | 10412 #ifdef __cplusplus |
8919 extern "C" | 10413 extern "C" |
8920 { | |
8921 #endif | 10414 #endif |
8922 /* We use char because int might match the return type of a gcc2 | |
8923 builtin and then its argument prototype would still apply. */ | |
8924 char malloc_get_state (); | 10415 char malloc_get_state (); |
8925 /* The GNU C library defines this for functions which it implements | 10416 /* The GNU C library defines this for functions which it implements |
8926 to always fail with ENOSYS. Some functions are actually named | 10417 to always fail with ENOSYS. Some functions are actually named |
8927 something starting with __ and the normal name is an alias. */ | 10418 something starting with __ and the normal name is an alias. */ |
8928 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) | 10419 #if defined __stub_malloc_get_state || defined __stub___malloc_get_state |
8929 choke me | 10420 choke me |
8930 #else | |
8931 char (*f) () = malloc_get_state; | |
8932 #endif | |
8933 #ifdef __cplusplus | |
8934 } | |
8935 #endif | 10421 #endif |
8936 | 10422 |
8937 int | 10423 int |
8938 main () | 10424 main () |
8939 { | 10425 { |
8940 return f != malloc_get_state; | 10426 return malloc_get_state (); |
8941 ; | 10427 ; |
8942 return 0; | 10428 return 0; |
8943 } | 10429 } |
8944 _ACEOF | 10430 _ACEOF |
8945 rm -f conftest.$ac_objext conftest$ac_exeext | 10431 rm -f conftest.$ac_objext conftest$ac_exeext |
8946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10432 if { (ac_try="$ac_link" |
8947 (eval $ac_link) 2>conftest.er1 | 10433 case "(($ac_try" in |
10434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10435 *) ac_try_echo=$ac_try;; | |
10436 esac | |
10437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10438 (eval "$ac_link") 2>conftest.er1 | |
8948 ac_status=$? | 10439 ac_status=$? |
8949 grep -v '^ *+' conftest.er1 >conftest.err | 10440 grep -v '^ *+' conftest.er1 >conftest.err |
8950 rm -f conftest.er1 | 10441 rm -f conftest.er1 |
8951 cat conftest.err >&5 | 10442 cat conftest.err >&5 |
8952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8953 (exit $ac_status); } && | 10444 (exit $ac_status); } && |
8954 { ac_try='test -z "$ac_c_werror_flag" | 10445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
8955 || test ! -s conftest.err' | 10446 { (case "(($ac_try" in |
8956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8957 (eval $ac_try) 2>&5 | 10448 *) ac_try_echo=$ac_try;; |
10449 esac | |
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10451 (eval "$ac_try") 2>&5 | |
8958 ac_status=$? | 10452 ac_status=$? |
8959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8960 (exit $ac_status); }; } && | 10454 (exit $ac_status); }; } && |
8961 { ac_try='test -s conftest$ac_exeext' | 10455 { ac_try='test -s conftest$ac_exeext' |
8962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10456 { (case "(($ac_try" in |
8963 (eval $ac_try) 2>&5 | 10457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10458 *) ac_try_echo=$ac_try;; | |
10459 esac | |
10460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10461 (eval "$ac_try") 2>&5 | |
8964 ac_status=$? | 10462 ac_status=$? |
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8966 (exit $ac_status); }; }; then | 10464 (exit $ac_status); }; }; then |
8967 ac_cv_func_malloc_get_state=yes | 10465 ac_cv_func_malloc_get_state=yes |
8968 else | 10466 else |
8969 echo "$as_me: failed program was:" >&5 | 10467 echo "$as_me: failed program was:" >&5 |
8970 sed 's/^/| /' conftest.$ac_ext >&5 | 10468 sed 's/^/| /' conftest.$ac_ext >&5 |
8971 | 10469 |
8972 ac_cv_func_malloc_get_state=no | 10470 ac_cv_func_malloc_get_state=no |
8973 fi | 10471 fi |
8974 rm -f conftest.err conftest.$ac_objext \ | 10472 |
10473 rm -f core conftest.err conftest.$ac_objext \ | |
8975 conftest$ac_exeext conftest.$ac_ext | 10474 conftest$ac_exeext conftest.$ac_ext |
8976 fi | 10475 fi |
8977 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 | 10476 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_get_state" >&5 |
8978 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6 | 10477 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6; } |
8979 if test $ac_cv_func_malloc_get_state = yes; then | 10478 if test $ac_cv_func_malloc_get_state = yes; then |
8980 : | 10479 : |
8981 else | 10480 else |
8982 doug_lea_malloc=no | 10481 doug_lea_malloc=no |
8983 fi | 10482 fi |
8984 | 10483 |
8985 echo "$as_me:$LINENO: checking for malloc_set_state" >&5 | 10484 { echo "$as_me:$LINENO: checking for malloc_set_state" >&5 |
8986 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6 | 10485 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6; } |
8987 if test "${ac_cv_func_malloc_set_state+set}" = set; then | 10486 if test "${ac_cv_func_malloc_set_state+set}" = set; then |
8988 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10487 echo $ECHO_N "(cached) $ECHO_C" >&6 |
8989 else | 10488 else |
8990 cat >conftest.$ac_ext <<_ACEOF | 10489 cat >conftest.$ac_ext <<_ACEOF |
8991 /* confdefs.h. */ | 10490 /* confdefs.h. */ |
9008 # include <assert.h> | 10507 # include <assert.h> |
9009 #endif | 10508 #endif |
9010 | 10509 |
9011 #undef malloc_set_state | 10510 #undef malloc_set_state |
9012 | 10511 |
9013 /* Override any gcc2 internal prototype to avoid an error. */ | 10512 /* Override any GCC internal prototype to avoid an error. |
10513 Use char because int might match the return type of a GCC | |
10514 builtin and then its argument prototype would still apply. */ | |
9014 #ifdef __cplusplus | 10515 #ifdef __cplusplus |
9015 extern "C" | 10516 extern "C" |
9016 { | |
9017 #endif | 10517 #endif |
9018 /* We use char because int might match the return type of a gcc2 | |
9019 builtin and then its argument prototype would still apply. */ | |
9020 char malloc_set_state (); | 10518 char malloc_set_state (); |
9021 /* The GNU C library defines this for functions which it implements | 10519 /* The GNU C library defines this for functions which it implements |
9022 to always fail with ENOSYS. Some functions are actually named | 10520 to always fail with ENOSYS. Some functions are actually named |
9023 something starting with __ and the normal name is an alias. */ | 10521 something starting with __ and the normal name is an alias. */ |
9024 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) | 10522 #if defined __stub_malloc_set_state || defined __stub___malloc_set_state |
9025 choke me | 10523 choke me |
9026 #else | |
9027 char (*f) () = malloc_set_state; | |
9028 #endif | |
9029 #ifdef __cplusplus | |
9030 } | |
9031 #endif | 10524 #endif |
9032 | 10525 |
9033 int | 10526 int |
9034 main () | 10527 main () |
9035 { | 10528 { |
9036 return f != malloc_set_state; | 10529 return malloc_set_state (); |
9037 ; | 10530 ; |
9038 return 0; | 10531 return 0; |
9039 } | 10532 } |
9040 _ACEOF | 10533 _ACEOF |
9041 rm -f conftest.$ac_objext conftest$ac_exeext | 10534 rm -f conftest.$ac_objext conftest$ac_exeext |
9042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10535 if { (ac_try="$ac_link" |
9043 (eval $ac_link) 2>conftest.er1 | 10536 case "(($ac_try" in |
10537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10538 *) ac_try_echo=$ac_try;; | |
10539 esac | |
10540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10541 (eval "$ac_link") 2>conftest.er1 | |
9044 ac_status=$? | 10542 ac_status=$? |
9045 grep -v '^ *+' conftest.er1 >conftest.err | 10543 grep -v '^ *+' conftest.er1 >conftest.err |
9046 rm -f conftest.er1 | 10544 rm -f conftest.er1 |
9047 cat conftest.err >&5 | 10545 cat conftest.err >&5 |
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9049 (exit $ac_status); } && | 10547 (exit $ac_status); } && |
9050 { ac_try='test -z "$ac_c_werror_flag" | 10548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9051 || test ! -s conftest.err' | 10549 { (case "(($ac_try" in |
9052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9053 (eval $ac_try) 2>&5 | 10551 *) ac_try_echo=$ac_try;; |
10552 esac | |
10553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10554 (eval "$ac_try") 2>&5 | |
9054 ac_status=$? | 10555 ac_status=$? |
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9056 (exit $ac_status); }; } && | 10557 (exit $ac_status); }; } && |
9057 { ac_try='test -s conftest$ac_exeext' | 10558 { ac_try='test -s conftest$ac_exeext' |
9058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10559 { (case "(($ac_try" in |
9059 (eval $ac_try) 2>&5 | 10560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10561 *) ac_try_echo=$ac_try;; | |
10562 esac | |
10563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10564 (eval "$ac_try") 2>&5 | |
9060 ac_status=$? | 10565 ac_status=$? |
9061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9062 (exit $ac_status); }; }; then | 10567 (exit $ac_status); }; }; then |
9063 ac_cv_func_malloc_set_state=yes | 10568 ac_cv_func_malloc_set_state=yes |
9064 else | 10569 else |
9065 echo "$as_me: failed program was:" >&5 | 10570 echo "$as_me: failed program was:" >&5 |
9066 sed 's/^/| /' conftest.$ac_ext >&5 | 10571 sed 's/^/| /' conftest.$ac_ext >&5 |
9067 | 10572 |
9068 ac_cv_func_malloc_set_state=no | 10573 ac_cv_func_malloc_set_state=no |
9069 fi | 10574 fi |
9070 rm -f conftest.err conftest.$ac_objext \ | 10575 |
10576 rm -f core conftest.err conftest.$ac_objext \ | |
9071 conftest$ac_exeext conftest.$ac_ext | 10577 conftest$ac_exeext conftest.$ac_ext |
9072 fi | 10578 fi |
9073 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 | 10579 { echo "$as_me:$LINENO: result: $ac_cv_func_malloc_set_state" >&5 |
9074 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6 | 10580 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6; } |
9075 if test $ac_cv_func_malloc_set_state = yes; then | 10581 if test $ac_cv_func_malloc_set_state = yes; then |
9076 : | 10582 : |
9077 else | 10583 else |
9078 doug_lea_malloc=no | 10584 doug_lea_malloc=no |
9079 fi | 10585 fi |
9080 | 10586 |
9081 echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 | 10587 { echo "$as_me:$LINENO: checking whether __after_morecore_hook exists" >&5 |
9082 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6 | 10588 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6; } |
9083 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then | 10589 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then |
9084 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10590 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9085 else | 10591 else |
9086 cat >conftest.$ac_ext <<_ACEOF | 10592 cat >conftest.$ac_ext <<_ACEOF |
9087 /* confdefs.h. */ | 10593 /* confdefs.h. */ |
9097 ; | 10603 ; |
9098 return 0; | 10604 return 0; |
9099 } | 10605 } |
9100 _ACEOF | 10606 _ACEOF |
9101 rm -f conftest.$ac_objext conftest$ac_exeext | 10607 rm -f conftest.$ac_objext conftest$ac_exeext |
9102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10608 if { (ac_try="$ac_link" |
9103 (eval $ac_link) 2>conftest.er1 | 10609 case "(($ac_try" in |
10610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10611 *) ac_try_echo=$ac_try;; | |
10612 esac | |
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10614 (eval "$ac_link") 2>conftest.er1 | |
9104 ac_status=$? | 10615 ac_status=$? |
9105 grep -v '^ *+' conftest.er1 >conftest.err | 10616 grep -v '^ *+' conftest.er1 >conftest.err |
9106 rm -f conftest.er1 | 10617 rm -f conftest.er1 |
9107 cat conftest.err >&5 | 10618 cat conftest.err >&5 |
9108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9109 (exit $ac_status); } && | 10620 (exit $ac_status); } && |
9110 { ac_try='test -z "$ac_c_werror_flag" | 10621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9111 || test ! -s conftest.err' | 10622 { (case "(($ac_try" in |
9112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9113 (eval $ac_try) 2>&5 | 10624 *) ac_try_echo=$ac_try;; |
10625 esac | |
10626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10627 (eval "$ac_try") 2>&5 | |
9114 ac_status=$? | 10628 ac_status=$? |
9115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9116 (exit $ac_status); }; } && | 10630 (exit $ac_status); }; } && |
9117 { ac_try='test -s conftest$ac_exeext' | 10631 { ac_try='test -s conftest$ac_exeext' |
9118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10632 { (case "(($ac_try" in |
9119 (eval $ac_try) 2>&5 | 10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10634 *) ac_try_echo=$ac_try;; | |
10635 esac | |
10636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10637 (eval "$ac_try") 2>&5 | |
9120 ac_status=$? | 10638 ac_status=$? |
9121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9122 (exit $ac_status); }; }; then | 10640 (exit $ac_status); }; }; then |
9123 emacs_cv_var___after_morecore_hook=yes | 10641 emacs_cv_var___after_morecore_hook=yes |
9124 else | 10642 else |
9125 echo "$as_me: failed program was:" >&5 | 10643 echo "$as_me: failed program was:" >&5 |
9126 sed 's/^/| /' conftest.$ac_ext >&5 | 10644 sed 's/^/| /' conftest.$ac_ext >&5 |
9127 | 10645 |
9128 emacs_cv_var___after_morecore_hook=no | 10646 emacs_cv_var___after_morecore_hook=no |
9129 fi | 10647 fi |
9130 rm -f conftest.err conftest.$ac_objext \ | 10648 |
10649 rm -f core conftest.err conftest.$ac_objext \ | |
9131 conftest$ac_exeext conftest.$ac_ext | 10650 conftest$ac_exeext conftest.$ac_ext |
9132 fi | 10651 fi |
9133 echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 | 10652 { echo "$as_me:$LINENO: result: $emacs_cv_var___after_morecore_hook" >&5 |
9134 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6 | 10653 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6; } |
9135 if test $emacs_cv_var___after_morecore_hook = no; then | 10654 if test $emacs_cv_var___after_morecore_hook = no; then |
9136 doug_lea_malloc=no | 10655 doug_lea_malloc=no |
9137 fi | 10656 fi |
9138 if test "${system_malloc}" = "yes"; then | 10657 if test "${system_malloc}" = "yes"; then |
9139 GNU_MALLOC=no | 10658 GNU_MALLOC=no |
9160 | 10679 |
9161 | 10680 |
9162 for ac_header in stdlib.h unistd.h | 10681 for ac_header in stdlib.h unistd.h |
9163 do | 10682 do |
9164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
9165 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9166 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10685 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9168 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9169 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10688 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9170 fi | 10689 fi |
9171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10690 ac_res=`eval echo '${'$as_ac_Header'}'` |
9172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10691 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10692 echo "${ECHO_T}$ac_res" >&6; } | |
9173 else | 10693 else |
9174 # Is the header compilable? | 10694 # Is the header compilable? |
9175 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 10695 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9176 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 10696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9177 cat >conftest.$ac_ext <<_ACEOF | 10697 cat >conftest.$ac_ext <<_ACEOF |
9178 /* confdefs.h. */ | 10698 /* confdefs.h. */ |
9179 _ACEOF | 10699 _ACEOF |
9180 cat confdefs.h >>conftest.$ac_ext | 10700 cat confdefs.h >>conftest.$ac_ext |
9181 cat >>conftest.$ac_ext <<_ACEOF | 10701 cat >>conftest.$ac_ext <<_ACEOF |
9182 /* end confdefs.h. */ | 10702 /* end confdefs.h. */ |
9183 $ac_includes_default | 10703 $ac_includes_default |
9184 #include <$ac_header> | 10704 #include <$ac_header> |
9185 _ACEOF | 10705 _ACEOF |
9186 rm -f conftest.$ac_objext | 10706 rm -f conftest.$ac_objext |
9187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 10707 if { (ac_try="$ac_compile" |
9188 (eval $ac_compile) 2>conftest.er1 | 10708 case "(($ac_try" in |
10709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10710 *) ac_try_echo=$ac_try;; | |
10711 esac | |
10712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10713 (eval "$ac_compile") 2>conftest.er1 | |
9189 ac_status=$? | 10714 ac_status=$? |
9190 grep -v '^ *+' conftest.er1 >conftest.err | 10715 grep -v '^ *+' conftest.er1 >conftest.err |
9191 rm -f conftest.er1 | 10716 rm -f conftest.er1 |
9192 cat conftest.err >&5 | 10717 cat conftest.err >&5 |
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9194 (exit $ac_status); } && | 10719 (exit $ac_status); } && |
9195 { ac_try='test -z "$ac_c_werror_flag" | 10720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9196 || test ! -s conftest.err' | 10721 { (case "(($ac_try" in |
9197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9198 (eval $ac_try) 2>&5 | 10723 *) ac_try_echo=$ac_try;; |
10724 esac | |
10725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10726 (eval "$ac_try") 2>&5 | |
9199 ac_status=$? | 10727 ac_status=$? |
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9201 (exit $ac_status); }; } && | 10729 (exit $ac_status); }; } && |
9202 { ac_try='test -s conftest.$ac_objext' | 10730 { ac_try='test -s conftest.$ac_objext' |
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10731 { (case "(($ac_try" in |
9204 (eval $ac_try) 2>&5 | 10732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10733 *) ac_try_echo=$ac_try;; | |
10734 esac | |
10735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10736 (eval "$ac_try") 2>&5 | |
9205 ac_status=$? | 10737 ac_status=$? |
9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9207 (exit $ac_status); }; }; then | 10739 (exit $ac_status); }; }; then |
9208 ac_header_compiler=yes | 10740 ac_header_compiler=yes |
9209 else | 10741 else |
9210 echo "$as_me: failed program was:" >&5 | 10742 echo "$as_me: failed program was:" >&5 |
9211 sed 's/^/| /' conftest.$ac_ext >&5 | 10743 sed 's/^/| /' conftest.$ac_ext >&5 |
9212 | 10744 |
9213 ac_header_compiler=no | 10745 ac_header_compiler=no |
9214 fi | 10746 fi |
9215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 10747 |
9216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 10748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9217 echo "${ECHO_T}$ac_header_compiler" >&6 | 10749 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10750 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
9218 | 10751 |
9219 # Is the header present? | 10752 # Is the header present? |
9220 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 10753 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 10754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9222 cat >conftest.$ac_ext <<_ACEOF | 10755 cat >conftest.$ac_ext <<_ACEOF |
9223 /* confdefs.h. */ | 10756 /* confdefs.h. */ |
9224 _ACEOF | 10757 _ACEOF |
9225 cat confdefs.h >>conftest.$ac_ext | 10758 cat confdefs.h >>conftest.$ac_ext |
9226 cat >>conftest.$ac_ext <<_ACEOF | 10759 cat >>conftest.$ac_ext <<_ACEOF |
9227 /* end confdefs.h. */ | 10760 /* end confdefs.h. */ |
9228 #include <$ac_header> | 10761 #include <$ac_header> |
9229 _ACEOF | 10762 _ACEOF |
9230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 10763 if { (ac_try="$ac_cpp conftest.$ac_ext" |
9231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 10764 case "(($ac_try" in |
10765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10766 *) ac_try_echo=$ac_try;; | |
10767 esac | |
10768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
9232 ac_status=$? | 10770 ac_status=$? |
9233 grep -v '^ *+' conftest.er1 >conftest.err | 10771 grep -v '^ *+' conftest.er1 >conftest.err |
9234 rm -f conftest.er1 | 10772 rm -f conftest.er1 |
9235 cat conftest.err >&5 | 10773 cat conftest.err >&5 |
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9250 echo "$as_me: failed program was:" >&5 | 10788 echo "$as_me: failed program was:" >&5 |
9251 sed 's/^/| /' conftest.$ac_ext >&5 | 10789 sed 's/^/| /' conftest.$ac_ext >&5 |
9252 | 10790 |
9253 ac_header_preproc=no | 10791 ac_header_preproc=no |
9254 fi | 10792 fi |
10793 | |
9255 rm -f conftest.err conftest.$ac_ext | 10794 rm -f conftest.err conftest.$ac_ext |
9256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 10795 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
9257 echo "${ECHO_T}$ac_header_preproc" >&6 | 10796 echo "${ECHO_T}$ac_header_preproc" >&6; } |
9258 | 10797 |
9259 # So? What about this header? | 10798 # So? What about this header? |
9260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 10799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
9261 yes:no: ) | 10800 yes:no: ) |
9262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 10801 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9276 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 10815 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
9277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 10816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9278 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 10817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9279 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 10818 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9280 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 10819 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9281 ( | 10820 |
9282 cat <<\_ASBOX | |
9283 ## ------------------------------------------ ## | |
9284 ## Report this to the AC_PACKAGE_NAME lists. ## | |
9285 ## ------------------------------------------ ## | |
9286 _ASBOX | |
9287 ) | | |
9288 sed "s/^/$as_me: WARNING: /" >&2 | |
9289 ;; | 10821 ;; |
9290 esac | 10822 esac |
9291 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 10823 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 10824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9293 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 10825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9294 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10826 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9295 else | 10827 else |
9296 eval "$as_ac_Header=\$ac_header_preproc" | 10828 eval "$as_ac_Header=\$ac_header_preproc" |
9297 fi | 10829 fi |
9298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 10830 ac_res=`eval echo '${'$as_ac_Header'}'` |
9299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 10831 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10832 echo "${ECHO_T}$ac_res" >&6; } | |
9300 | 10833 |
9301 fi | 10834 fi |
9302 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 10835 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9303 cat >>confdefs.h <<_ACEOF | 10836 cat >>confdefs.h <<_ACEOF |
9304 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
9310 | 10843 |
9311 | 10844 |
9312 for ac_func in getpagesize | 10845 for ac_func in getpagesize |
9313 do | 10846 do |
9314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 10847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9315 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 10848 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 10849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9317 if eval "test \"\${$as_ac_var+set}\" = set"; then | 10850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
9318 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10851 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9319 else | 10852 else |
9320 cat >conftest.$ac_ext <<_ACEOF | 10853 cat >conftest.$ac_ext <<_ACEOF |
9321 /* confdefs.h. */ | 10854 /* confdefs.h. */ |
9322 _ACEOF | 10855 _ACEOF |
9338 # include <assert.h> | 10871 # include <assert.h> |
9339 #endif | 10872 #endif |
9340 | 10873 |
9341 #undef $ac_func | 10874 #undef $ac_func |
9342 | 10875 |
9343 /* Override any gcc2 internal prototype to avoid an error. */ | 10876 /* Override any GCC internal prototype to avoid an error. |
10877 Use char because int might match the return type of a GCC | |
10878 builtin and then its argument prototype would still apply. */ | |
9344 #ifdef __cplusplus | 10879 #ifdef __cplusplus |
9345 extern "C" | 10880 extern "C" |
9346 { | |
9347 #endif | 10881 #endif |
9348 /* We use char because int might match the return type of a gcc2 | |
9349 builtin and then its argument prototype would still apply. */ | |
9350 char $ac_func (); | 10882 char $ac_func (); |
9351 /* The GNU C library defines this for functions which it implements | 10883 /* The GNU C library defines this for functions which it implements |
9352 to always fail with ENOSYS. Some functions are actually named | 10884 to always fail with ENOSYS. Some functions are actually named |
9353 something starting with __ and the normal name is an alias. */ | 10885 something starting with __ and the normal name is an alias. */ |
9354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 10886 #if defined __stub_$ac_func || defined __stub___$ac_func |
9355 choke me | 10887 choke me |
9356 #else | |
9357 char (*f) () = $ac_func; | |
9358 #endif | |
9359 #ifdef __cplusplus | |
9360 } | |
9361 #endif | 10888 #endif |
9362 | 10889 |
9363 int | 10890 int |
9364 main () | 10891 main () |
9365 { | 10892 { |
9366 return f != $ac_func; | 10893 return $ac_func (); |
9367 ; | 10894 ; |
9368 return 0; | 10895 return 0; |
9369 } | 10896 } |
9370 _ACEOF | 10897 _ACEOF |
9371 rm -f conftest.$ac_objext conftest$ac_exeext | 10898 rm -f conftest.$ac_objext conftest$ac_exeext |
9372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 10899 if { (ac_try="$ac_link" |
9373 (eval $ac_link) 2>conftest.er1 | 10900 case "(($ac_try" in |
10901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
10902 *) ac_try_echo=$ac_try;; | |
10903 esac | |
10904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10905 (eval "$ac_link") 2>conftest.er1 | |
9374 ac_status=$? | 10906 ac_status=$? |
9375 grep -v '^ *+' conftest.er1 >conftest.err | 10907 grep -v '^ *+' conftest.er1 >conftest.err |
9376 rm -f conftest.er1 | 10908 rm -f conftest.er1 |
9377 cat conftest.err >&5 | 10909 cat conftest.err >&5 |
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9379 (exit $ac_status); } && | 10911 (exit $ac_status); } && |
9380 { ac_try='test -z "$ac_c_werror_flag" | 10912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9381 || test ! -s conftest.err' | 10913 { (case "(($ac_try" in |
9382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9383 (eval $ac_try) 2>&5 | 10915 *) ac_try_echo=$ac_try;; |
10916 esac | |
10917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10918 (eval "$ac_try") 2>&5 | |
9384 ac_status=$? | 10919 ac_status=$? |
9385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9386 (exit $ac_status); }; } && | 10921 (exit $ac_status); }; } && |
9387 { ac_try='test -s conftest$ac_exeext' | 10922 { ac_try='test -s conftest$ac_exeext' |
9388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 10923 { (case "(($ac_try" in |
9389 (eval $ac_try) 2>&5 | 10924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10925 *) ac_try_echo=$ac_try;; | |
10926 esac | |
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
10928 (eval "$ac_try") 2>&5 | |
9390 ac_status=$? | 10929 ac_status=$? |
9391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9392 (exit $ac_status); }; }; then | 10931 (exit $ac_status); }; }; then |
9393 eval "$as_ac_var=yes" | 10932 eval "$as_ac_var=yes" |
9394 else | 10933 else |
9395 echo "$as_me: failed program was:" >&5 | 10934 echo "$as_me: failed program was:" >&5 |
9396 sed 's/^/| /' conftest.$ac_ext >&5 | 10935 sed 's/^/| /' conftest.$ac_ext >&5 |
9397 | 10936 |
9398 eval "$as_ac_var=no" | 10937 eval "$as_ac_var=no" |
9399 fi | 10938 fi |
9400 rm -f conftest.err conftest.$ac_objext \ | 10939 |
10940 rm -f core conftest.err conftest.$ac_objext \ | |
9401 conftest$ac_exeext conftest.$ac_ext | 10941 conftest$ac_exeext conftest.$ac_ext |
9402 fi | 10942 fi |
9403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 10943 ac_res=`eval echo '${'$as_ac_var'}'` |
9404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 10944 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10945 echo "${ECHO_T}$ac_res" >&6; } | |
9405 if test `eval echo '${'$as_ac_var'}'` = yes; then | 10946 if test `eval echo '${'$as_ac_var'}'` = yes; then |
9406 cat >>confdefs.h <<_ACEOF | 10947 cat >>confdefs.h <<_ACEOF |
9407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 10948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
9408 _ACEOF | 10949 _ACEOF |
9409 | 10950 |
9410 fi | 10951 fi |
9411 done | 10952 done |
9412 | 10953 |
9413 echo "$as_me:$LINENO: checking for working mmap" >&5 | 10954 { echo "$as_me:$LINENO: checking for working mmap" >&5 |
9414 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 10955 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } |
9415 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 10956 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then |
9416 echo $ECHO_N "(cached) $ECHO_C" >&6 | 10957 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9417 else | 10958 else |
9418 if test "$cross_compiling" = yes; then | 10959 if test "$cross_compiling" = yes; then |
9419 ac_cv_func_mmap_fixed_mapped=no | 10960 ac_cv_func_mmap_fixed_mapped=no |
9504 pagesize = getpagesize (); | 11045 pagesize = getpagesize (); |
9505 | 11046 |
9506 /* First, make a file with some known garbage in it. */ | 11047 /* First, make a file with some known garbage in it. */ |
9507 data = (char *) malloc (pagesize); | 11048 data = (char *) malloc (pagesize); |
9508 if (!data) | 11049 if (!data) |
9509 exit (1); | 11050 return 1; |
9510 for (i = 0; i < pagesize; ++i) | 11051 for (i = 0; i < pagesize; ++i) |
9511 *(data + i) = rand (); | 11052 *(data + i) = rand (); |
9512 umask (0); | 11053 umask (0); |
9513 fd = creat ("conftest.mmap", 0600); | 11054 fd = creat ("conftest.mmap", 0600); |
9514 if (fd < 0) | 11055 if (fd < 0) |
9515 exit (1); | 11056 return 1; |
9516 if (write (fd, data, pagesize) != pagesize) | 11057 if (write (fd, data, pagesize) != pagesize) |
9517 exit (1); | 11058 return 1; |
9518 close (fd); | 11059 close (fd); |
9519 | 11060 |
9520 /* Next, try to mmap the file at a fixed address which already has | 11061 /* Next, try to mmap the file at a fixed address which already has |
9521 something else allocated at it. If we can, also make sure that | 11062 something else allocated at it. If we can, also make sure that |
9522 we see the same garbage. */ | 11063 we see the same garbage. */ |
9523 fd = open ("conftest.mmap", O_RDWR); | 11064 fd = open ("conftest.mmap", O_RDWR); |
9524 if (fd < 0) | 11065 if (fd < 0) |
9525 exit (1); | 11066 return 1; |
9526 data2 = (char *) malloc (2 * pagesize); | 11067 data2 = (char *) malloc (2 * pagesize); |
9527 if (!data2) | 11068 if (!data2) |
9528 exit (1); | 11069 return 1; |
9529 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1); | 11070 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); |
9530 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 11071 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, |
9531 MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 11072 MAP_PRIVATE | MAP_FIXED, fd, 0L)) |
9532 exit (1); | 11073 return 1; |
9533 for (i = 0; i < pagesize; ++i) | 11074 for (i = 0; i < pagesize; ++i) |
9534 if (*(data + i) != *(data2 + i)) | 11075 if (*(data + i) != *(data2 + i)) |
9535 exit (1); | 11076 return 1; |
9536 | 11077 |
9537 /* Finally, make sure that changes to the mapped area do not | 11078 /* Finally, make sure that changes to the mapped area do not |
9538 percolate back to the file as seen by read(). (This is a bug on | 11079 percolate back to the file as seen by read(). (This is a bug on |
9539 some variants of i386 svr4.0.) */ | 11080 some variants of i386 svr4.0.) */ |
9540 for (i = 0; i < pagesize; ++i) | 11081 for (i = 0; i < pagesize; ++i) |
9541 *(data2 + i) = *(data2 + i) + 1; | 11082 *(data2 + i) = *(data2 + i) + 1; |
9542 data3 = (char *) malloc (pagesize); | 11083 data3 = (char *) malloc (pagesize); |
9543 if (!data3) | 11084 if (!data3) |
9544 exit (1); | 11085 return 1; |
9545 if (read (fd, data3, pagesize) != pagesize) | 11086 if (read (fd, data3, pagesize) != pagesize) |
9546 exit (1); | 11087 return 1; |
9547 for (i = 0; i < pagesize; ++i) | 11088 for (i = 0; i < pagesize; ++i) |
9548 if (*(data + i) != *(data3 + i)) | 11089 if (*(data + i) != *(data3 + i)) |
9549 exit (1); | 11090 return 1; |
9550 close (fd); | 11091 close (fd); |
9551 exit (0); | 11092 return 0; |
9552 } | 11093 } |
9553 _ACEOF | 11094 _ACEOF |
9554 rm -f conftest$ac_exeext | 11095 rm -f conftest$ac_exeext |
9555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11096 if { (ac_try="$ac_link" |
9556 (eval $ac_link) 2>&5 | 11097 case "(($ac_try" in |
11098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11099 *) ac_try_echo=$ac_try;; | |
11100 esac | |
11101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11102 (eval "$ac_link") 2>&5 | |
9557 ac_status=$? | 11103 ac_status=$? |
9558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 11105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11106 { (case "(($ac_try" in |
9561 (eval $ac_try) 2>&5 | 11107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11108 *) ac_try_echo=$ac_try;; | |
11109 esac | |
11110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11111 (eval "$ac_try") 2>&5 | |
9562 ac_status=$? | 11112 ac_status=$? |
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9564 (exit $ac_status); }; }; then | 11114 (exit $ac_status); }; }; then |
9565 ac_cv_func_mmap_fixed_mapped=yes | 11115 ac_cv_func_mmap_fixed_mapped=yes |
9566 else | 11116 else |
9569 sed 's/^/| /' conftest.$ac_ext >&5 | 11119 sed 's/^/| /' conftest.$ac_ext >&5 |
9570 | 11120 |
9571 ( exit $ac_status ) | 11121 ( exit $ac_status ) |
9572 ac_cv_func_mmap_fixed_mapped=no | 11122 ac_cv_func_mmap_fixed_mapped=no |
9573 fi | 11123 fi |
9574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 11124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9575 fi | 11125 fi |
9576 fi | 11126 |
9577 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 11127 |
9578 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 11128 fi |
11129 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | |
11130 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } | |
9579 if test $ac_cv_func_mmap_fixed_mapped = yes; then | 11131 if test $ac_cv_func_mmap_fixed_mapped = yes; then |
9580 | 11132 |
9581 cat >>confdefs.h <<\_ACEOF | 11133 cat >>confdefs.h <<\_ACEOF |
9582 #define HAVE_MMAP 1 | 11134 #define HAVE_MMAP 1 |
9583 _ACEOF | 11135 _ACEOF |
9590 fi | 11142 fi |
9591 | 11143 |
9592 LIBS="$libsrc_libs $LIBS" | 11144 LIBS="$libsrc_libs $LIBS" |
9593 | 11145 |
9594 | 11146 |
9595 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 | 11147 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
9596 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 | 11148 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } |
9597 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then | 11149 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
9598 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9599 else | 11151 else |
9600 ac_check_lib_save_LIBS=$LIBS | 11152 ac_check_lib_save_LIBS=$LIBS |
9601 LIBS="-ldnet $LIBS" | 11153 LIBS="-ldnet $LIBS" |
9604 _ACEOF | 11156 _ACEOF |
9605 cat confdefs.h >>conftest.$ac_ext | 11157 cat confdefs.h >>conftest.$ac_ext |
9606 cat >>conftest.$ac_ext <<_ACEOF | 11158 cat >>conftest.$ac_ext <<_ACEOF |
9607 /* end confdefs.h. */ | 11159 /* end confdefs.h. */ |
9608 | 11160 |
9609 /* Override any gcc2 internal prototype to avoid an error. */ | 11161 /* Override any GCC internal prototype to avoid an error. |
11162 Use char because int might match the return type of a GCC | |
11163 builtin and then its argument prototype would still apply. */ | |
9610 #ifdef __cplusplus | 11164 #ifdef __cplusplus |
9611 extern "C" | 11165 extern "C" |
9612 #endif | 11166 #endif |
9613 /* We use char because int might match the return type of a gcc2 | |
9614 builtin and then its argument prototype would still apply. */ | |
9615 char dnet_ntoa (); | 11167 char dnet_ntoa (); |
9616 int | 11168 int |
9617 main () | 11169 main () |
9618 { | 11170 { |
9619 dnet_ntoa (); | 11171 return dnet_ntoa (); |
9620 ; | 11172 ; |
9621 return 0; | 11173 return 0; |
9622 } | 11174 } |
9623 _ACEOF | 11175 _ACEOF |
9624 rm -f conftest.$ac_objext conftest$ac_exeext | 11176 rm -f conftest.$ac_objext conftest$ac_exeext |
9625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11177 if { (ac_try="$ac_link" |
9626 (eval $ac_link) 2>conftest.er1 | 11178 case "(($ac_try" in |
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11180 *) ac_try_echo=$ac_try;; | |
11181 esac | |
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11183 (eval "$ac_link") 2>conftest.er1 | |
9627 ac_status=$? | 11184 ac_status=$? |
9628 grep -v '^ *+' conftest.er1 >conftest.err | 11185 grep -v '^ *+' conftest.er1 >conftest.err |
9629 rm -f conftest.er1 | 11186 rm -f conftest.er1 |
9630 cat conftest.err >&5 | 11187 cat conftest.err >&5 |
9631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9632 (exit $ac_status); } && | 11189 (exit $ac_status); } && |
9633 { ac_try='test -z "$ac_c_werror_flag" | 11190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9634 || test ! -s conftest.err' | 11191 { (case "(($ac_try" in |
9635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9636 (eval $ac_try) 2>&5 | 11193 *) ac_try_echo=$ac_try;; |
11194 esac | |
11195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11196 (eval "$ac_try") 2>&5 | |
9637 ac_status=$? | 11197 ac_status=$? |
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9639 (exit $ac_status); }; } && | 11199 (exit $ac_status); }; } && |
9640 { ac_try='test -s conftest$ac_exeext' | 11200 { ac_try='test -s conftest$ac_exeext' |
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11201 { (case "(($ac_try" in |
9642 (eval $ac_try) 2>&5 | 11202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11203 *) ac_try_echo=$ac_try;; | |
11204 esac | |
11205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11206 (eval "$ac_try") 2>&5 | |
9643 ac_status=$? | 11207 ac_status=$? |
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9645 (exit $ac_status); }; }; then | 11209 (exit $ac_status); }; }; then |
9646 ac_cv_lib_dnet_dnet_ntoa=yes | 11210 ac_cv_lib_dnet_dnet_ntoa=yes |
9647 else | 11211 else |
9648 echo "$as_me: failed program was:" >&5 | 11212 echo "$as_me: failed program was:" >&5 |
9649 sed 's/^/| /' conftest.$ac_ext >&5 | 11213 sed 's/^/| /' conftest.$ac_ext >&5 |
9650 | 11214 |
9651 ac_cv_lib_dnet_dnet_ntoa=no | 11215 ac_cv_lib_dnet_dnet_ntoa=no |
9652 fi | 11216 fi |
9653 rm -f conftest.err conftest.$ac_objext \ | 11217 |
11218 rm -f core conftest.err conftest.$ac_objext \ | |
9654 conftest$ac_exeext conftest.$ac_ext | 11219 conftest$ac_exeext conftest.$ac_ext |
9655 LIBS=$ac_check_lib_save_LIBS | 11220 LIBS=$ac_check_lib_save_LIBS |
9656 fi | 11221 fi |
9657 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 | 11222 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
9658 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 | 11223 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } |
9659 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then | 11224 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
9660 cat >>confdefs.h <<_ACEOF | 11225 cat >>confdefs.h <<_ACEOF |
9661 #define HAVE_LIBDNET 1 | 11226 #define HAVE_LIBDNET 1 |
9662 _ACEOF | 11227 _ACEOF |
9663 | 11228 |
9664 LIBS="-ldnet $LIBS" | 11229 LIBS="-ldnet $LIBS" |
9665 | 11230 |
9666 fi | 11231 fi |
9667 | 11232 |
9668 | 11233 |
9669 echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 | 11234 { echo "$as_me:$LINENO: checking for main in -lXbsd" >&5 |
9670 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6 | 11235 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6; } |
9671 if test "${ac_cv_lib_Xbsd_main+set}" = set; then | 11236 if test "${ac_cv_lib_Xbsd_main+set}" = set; then |
9672 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11237 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9673 else | 11238 else |
9674 ac_check_lib_save_LIBS=$LIBS | 11239 ac_check_lib_save_LIBS=$LIBS |
9675 LIBS="-lXbsd $LIBS" | 11240 LIBS="-lXbsd $LIBS" |
9682 | 11247 |
9683 | 11248 |
9684 int | 11249 int |
9685 main () | 11250 main () |
9686 { | 11251 { |
9687 main (); | 11252 return main (); |
9688 ; | 11253 ; |
9689 return 0; | 11254 return 0; |
9690 } | 11255 } |
9691 _ACEOF | 11256 _ACEOF |
9692 rm -f conftest.$ac_objext conftest$ac_exeext | 11257 rm -f conftest.$ac_objext conftest$ac_exeext |
9693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11258 if { (ac_try="$ac_link" |
9694 (eval $ac_link) 2>conftest.er1 | 11259 case "(($ac_try" in |
11260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11261 *) ac_try_echo=$ac_try;; | |
11262 esac | |
11263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11264 (eval "$ac_link") 2>conftest.er1 | |
9695 ac_status=$? | 11265 ac_status=$? |
9696 grep -v '^ *+' conftest.er1 >conftest.err | 11266 grep -v '^ *+' conftest.er1 >conftest.err |
9697 rm -f conftest.er1 | 11267 rm -f conftest.er1 |
9698 cat conftest.err >&5 | 11268 cat conftest.err >&5 |
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9700 (exit $ac_status); } && | 11270 (exit $ac_status); } && |
9701 { ac_try='test -z "$ac_c_werror_flag" | 11271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9702 || test ! -s conftest.err' | 11272 { (case "(($ac_try" in |
9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9704 (eval $ac_try) 2>&5 | 11274 *) ac_try_echo=$ac_try;; |
11275 esac | |
11276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11277 (eval "$ac_try") 2>&5 | |
9705 ac_status=$? | 11278 ac_status=$? |
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9707 (exit $ac_status); }; } && | 11280 (exit $ac_status); }; } && |
9708 { ac_try='test -s conftest$ac_exeext' | 11281 { ac_try='test -s conftest$ac_exeext' |
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11282 { (case "(($ac_try" in |
9710 (eval $ac_try) 2>&5 | 11283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11284 *) ac_try_echo=$ac_try;; | |
11285 esac | |
11286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11287 (eval "$ac_try") 2>&5 | |
9711 ac_status=$? | 11288 ac_status=$? |
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9713 (exit $ac_status); }; }; then | 11290 (exit $ac_status); }; }; then |
9714 ac_cv_lib_Xbsd_main=yes | 11291 ac_cv_lib_Xbsd_main=yes |
9715 else | 11292 else |
9716 echo "$as_me: failed program was:" >&5 | 11293 echo "$as_me: failed program was:" >&5 |
9717 sed 's/^/| /' conftest.$ac_ext >&5 | 11294 sed 's/^/| /' conftest.$ac_ext >&5 |
9718 | 11295 |
9719 ac_cv_lib_Xbsd_main=no | 11296 ac_cv_lib_Xbsd_main=no |
9720 fi | 11297 fi |
9721 rm -f conftest.err conftest.$ac_objext \ | 11298 |
11299 rm -f core conftest.err conftest.$ac_objext \ | |
9722 conftest$ac_exeext conftest.$ac_ext | 11300 conftest$ac_exeext conftest.$ac_ext |
9723 LIBS=$ac_check_lib_save_LIBS | 11301 LIBS=$ac_check_lib_save_LIBS |
9724 fi | 11302 fi |
9725 echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 | 11303 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xbsd_main" >&5 |
9726 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6 | 11304 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6; } |
9727 if test $ac_cv_lib_Xbsd_main = yes; then | 11305 if test $ac_cv_lib_Xbsd_main = yes; then |
9728 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" | 11306 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd" |
9729 fi | 11307 fi |
9730 | 11308 |
9731 | 11309 |
9732 | 11310 |
9733 echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 | 11311 { echo "$as_me:$LINENO: checking for cma_open in -lpthreads" >&5 |
9734 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6 | 11312 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6; } |
9735 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then | 11313 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then |
9736 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11314 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9737 else | 11315 else |
9738 ac_check_lib_save_LIBS=$LIBS | 11316 ac_check_lib_save_LIBS=$LIBS |
9739 LIBS="-lpthreads $LIBS" | 11317 LIBS="-lpthreads $LIBS" |
9742 _ACEOF | 11320 _ACEOF |
9743 cat confdefs.h >>conftest.$ac_ext | 11321 cat confdefs.h >>conftest.$ac_ext |
9744 cat >>conftest.$ac_ext <<_ACEOF | 11322 cat >>conftest.$ac_ext <<_ACEOF |
9745 /* end confdefs.h. */ | 11323 /* end confdefs.h. */ |
9746 | 11324 |
9747 /* Override any gcc2 internal prototype to avoid an error. */ | 11325 /* Override any GCC internal prototype to avoid an error. |
11326 Use char because int might match the return type of a GCC | |
11327 builtin and then its argument prototype would still apply. */ | |
9748 #ifdef __cplusplus | 11328 #ifdef __cplusplus |
9749 extern "C" | 11329 extern "C" |
9750 #endif | 11330 #endif |
9751 /* We use char because int might match the return type of a gcc2 | |
9752 builtin and then its argument prototype would still apply. */ | |
9753 char cma_open (); | 11331 char cma_open (); |
9754 int | 11332 int |
9755 main () | 11333 main () |
9756 { | 11334 { |
9757 cma_open (); | 11335 return cma_open (); |
9758 ; | 11336 ; |
9759 return 0; | 11337 return 0; |
9760 } | 11338 } |
9761 _ACEOF | 11339 _ACEOF |
9762 rm -f conftest.$ac_objext conftest$ac_exeext | 11340 rm -f conftest.$ac_objext conftest$ac_exeext |
9763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11341 if { (ac_try="$ac_link" |
9764 (eval $ac_link) 2>conftest.er1 | 11342 case "(($ac_try" in |
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11344 *) ac_try_echo=$ac_try;; | |
11345 esac | |
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11347 (eval "$ac_link") 2>conftest.er1 | |
9765 ac_status=$? | 11348 ac_status=$? |
9766 grep -v '^ *+' conftest.er1 >conftest.err | 11349 grep -v '^ *+' conftest.er1 >conftest.err |
9767 rm -f conftest.er1 | 11350 rm -f conftest.er1 |
9768 cat conftest.err >&5 | 11351 cat conftest.err >&5 |
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9770 (exit $ac_status); } && | 11353 (exit $ac_status); } && |
9771 { ac_try='test -z "$ac_c_werror_flag" | 11354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9772 || test ! -s conftest.err' | 11355 { (case "(($ac_try" in |
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9774 (eval $ac_try) 2>&5 | 11357 *) ac_try_echo=$ac_try;; |
11358 esac | |
11359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11360 (eval "$ac_try") 2>&5 | |
9775 ac_status=$? | 11361 ac_status=$? |
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9777 (exit $ac_status); }; } && | 11363 (exit $ac_status); }; } && |
9778 { ac_try='test -s conftest$ac_exeext' | 11364 { ac_try='test -s conftest$ac_exeext' |
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11365 { (case "(($ac_try" in |
9780 (eval $ac_try) 2>&5 | 11366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11367 *) ac_try_echo=$ac_try;; | |
11368 esac | |
11369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11370 (eval "$ac_try") 2>&5 | |
9781 ac_status=$? | 11371 ac_status=$? |
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9783 (exit $ac_status); }; }; then | 11373 (exit $ac_status); }; }; then |
9784 ac_cv_lib_pthreads_cma_open=yes | 11374 ac_cv_lib_pthreads_cma_open=yes |
9785 else | 11375 else |
9786 echo "$as_me: failed program was:" >&5 | 11376 echo "$as_me: failed program was:" >&5 |
9787 sed 's/^/| /' conftest.$ac_ext >&5 | 11377 sed 's/^/| /' conftest.$ac_ext >&5 |
9788 | 11378 |
9789 ac_cv_lib_pthreads_cma_open=no | 11379 ac_cv_lib_pthreads_cma_open=no |
9790 fi | 11380 fi |
9791 rm -f conftest.err conftest.$ac_objext \ | 11381 |
11382 rm -f core conftest.err conftest.$ac_objext \ | |
9792 conftest$ac_exeext conftest.$ac_ext | 11383 conftest$ac_exeext conftest.$ac_ext |
9793 LIBS=$ac_check_lib_save_LIBS | 11384 LIBS=$ac_check_lib_save_LIBS |
9794 fi | 11385 fi |
9795 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 | 11386 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_cma_open" >&5 |
9796 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6 | 11387 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6; } |
9797 if test $ac_cv_lib_pthreads_cma_open = yes; then | 11388 if test $ac_cv_lib_pthreads_cma_open = yes; then |
9798 cat >>confdefs.h <<_ACEOF | 11389 cat >>confdefs.h <<_ACEOF |
9799 #define HAVE_LIBPTHREADS 1 | 11390 #define HAVE_LIBPTHREADS 1 |
9800 _ACEOF | 11391 _ACEOF |
9801 | 11392 |
9802 LIBS="-lpthreads $LIBS" | 11393 LIBS="-lpthreads $LIBS" |
9803 | 11394 |
9804 fi | 11395 fi |
9805 | 11396 |
9806 | 11397 |
9807 echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 | 11398 { echo "$as_me:$LINENO: checking for XFree86 in /usr/X386" >&5 |
9808 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6 | 11399 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6; } |
9809 if test -d /usr/X386/include; then | 11400 if test -d /usr/X386/include; then |
9810 HAVE_XFREE386=yes | 11401 HAVE_XFREE386=yes |
9811 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 11402 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
9812 else | 11403 else |
9813 HAVE_XFREE386=no | 11404 HAVE_XFREE386=no |
9814 fi | 11405 fi |
9815 echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 | 11406 { echo "$as_me:$LINENO: result: $HAVE_XFREE386" >&5 |
9816 echo "${ECHO_T}$HAVE_XFREE386" >&6 | 11407 echo "${ECHO_T}$HAVE_XFREE386" >&6; } |
9817 | 11408 |
9818 | 11409 |
9819 case ${host_os} in | 11410 case ${host_os} in |
9820 aix*) | 11411 aix*) |
9821 echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 | 11412 { echo "$as_me:$LINENO: checking for -bbigtoc option" >&5 |
9822 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6 | 11413 echo $ECHO_N "checking for -bbigtoc option... $ECHO_C" >&6; } |
9823 if test "${gdb_cv_bigtoc+set}" = set; then | 11414 if test "${gdb_cv_bigtoc+set}" = set; then |
9824 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11415 echo $ECHO_N "(cached) $ECHO_C" >&6 |
9825 else | 11416 else |
9826 | 11417 |
9827 case $GCC in | 11418 case $GCC in |
9844 ; | 11435 ; |
9845 return 0; | 11436 return 0; |
9846 } | 11437 } |
9847 _ACEOF | 11438 _ACEOF |
9848 rm -f conftest.$ac_objext conftest$ac_exeext | 11439 rm -f conftest.$ac_objext conftest$ac_exeext |
9849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11440 if { (ac_try="$ac_link" |
9850 (eval $ac_link) 2>conftest.er1 | 11441 case "(($ac_try" in |
11442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11443 *) ac_try_echo=$ac_try;; | |
11444 esac | |
11445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11446 (eval "$ac_link") 2>conftest.er1 | |
9851 ac_status=$? | 11447 ac_status=$? |
9852 grep -v '^ *+' conftest.er1 >conftest.err | 11448 grep -v '^ *+' conftest.er1 >conftest.err |
9853 rm -f conftest.er1 | 11449 rm -f conftest.er1 |
9854 cat conftest.err >&5 | 11450 cat conftest.err >&5 |
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9856 (exit $ac_status); } && | 11452 (exit $ac_status); } && |
9857 { ac_try='test -z "$ac_c_werror_flag" | 11453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9858 || test ! -s conftest.err' | 11454 { (case "(($ac_try" in |
9859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9860 (eval $ac_try) 2>&5 | 11456 *) ac_try_echo=$ac_try;; |
11457 esac | |
11458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11459 (eval "$ac_try") 2>&5 | |
9861 ac_status=$? | 11460 ac_status=$? |
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9863 (exit $ac_status); }; } && | 11462 (exit $ac_status); }; } && |
9864 { ac_try='test -s conftest$ac_exeext' | 11463 { ac_try='test -s conftest$ac_exeext' |
9865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11464 { (case "(($ac_try" in |
9866 (eval $ac_try) 2>&5 | 11465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11466 *) ac_try_echo=$ac_try;; | |
11467 esac | |
11468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11469 (eval "$ac_try") 2>&5 | |
9867 ac_status=$? | 11470 ac_status=$? |
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9869 (exit $ac_status); }; }; then | 11472 (exit $ac_status); }; }; then |
9870 : | 11473 : |
9871 else | 11474 else |
9872 echo "$as_me: failed program was:" >&5 | 11475 echo "$as_me: failed program was:" >&5 |
9873 sed 's/^/| /' conftest.$ac_ext >&5 | 11476 sed 's/^/| /' conftest.$ac_ext >&5 |
9874 | 11477 |
9875 gdb_cv_bigtoc= | 11478 gdb_cv_bigtoc= |
9876 fi | 11479 fi |
9877 rm -f conftest.err conftest.$ac_objext \ | 11480 |
11481 rm -f core conftest.err conftest.$ac_objext \ | |
9878 conftest$ac_exeext conftest.$ac_ext | 11482 conftest$ac_exeext conftest.$ac_ext |
9879 | 11483 |
9880 fi | 11484 fi |
9881 echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 | 11485 { echo "$as_me:$LINENO: result: $gdb_cv_bigtoc" >&5 |
9882 echo "${ECHO_T}$gdb_cv_bigtoc" >&6 | 11486 echo "${ECHO_T}$gdb_cv_bigtoc" >&6; } |
9883 ;; | 11487 ;; |
9884 esac | 11488 esac |
9885 | 11489 |
9886 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets | 11490 # Change CFLAGS and CPPFLAGS temporarily so that C_SWITCH_X_SITE gets |
9887 # used for the tests that follow. We set them back to REAL_CFLAGS and | 11491 # used for the tests that follow. We set them back to REAL_CFLAGS and |
9904 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH | 11508 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH |
9905 export LD_RUN_PATH | 11509 export LD_RUN_PATH |
9906 fi | 11510 fi |
9907 | 11511 |
9908 if test "${opsys}" = "gnu-linux"; then | 11512 if test "${opsys}" = "gnu-linux"; then |
9909 echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 | 11513 { echo "$as_me:$LINENO: checking whether X on GNU/Linux needs -b to link" >&5 |
9910 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6 | 11514 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6; } |
9911 cat >conftest.$ac_ext <<_ACEOF | 11515 cat >conftest.$ac_ext <<_ACEOF |
9912 /* confdefs.h. */ | 11516 /* confdefs.h. */ |
9913 _ACEOF | 11517 _ACEOF |
9914 cat confdefs.h >>conftest.$ac_ext | 11518 cat confdefs.h >>conftest.$ac_ext |
9915 cat >>conftest.$ac_ext <<_ACEOF | 11519 cat >>conftest.$ac_ext <<_ACEOF |
9922 ; | 11526 ; |
9923 return 0; | 11527 return 0; |
9924 } | 11528 } |
9925 _ACEOF | 11529 _ACEOF |
9926 rm -f conftest.$ac_objext conftest$ac_exeext | 11530 rm -f conftest.$ac_objext conftest$ac_exeext |
9927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11531 if { (ac_try="$ac_link" |
9928 (eval $ac_link) 2>conftest.er1 | 11532 case "(($ac_try" in |
11533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11534 *) ac_try_echo=$ac_try;; | |
11535 esac | |
11536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11537 (eval "$ac_link") 2>conftest.er1 | |
9929 ac_status=$? | 11538 ac_status=$? |
9930 grep -v '^ *+' conftest.er1 >conftest.err | 11539 grep -v '^ *+' conftest.er1 >conftest.err |
9931 rm -f conftest.er1 | 11540 rm -f conftest.er1 |
9932 cat conftest.err >&5 | 11541 cat conftest.err >&5 |
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9934 (exit $ac_status); } && | 11543 (exit $ac_status); } && |
9935 { ac_try='test -z "$ac_c_werror_flag" | 11544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9936 || test ! -s conftest.err' | 11545 { (case "(($ac_try" in |
9937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9938 (eval $ac_try) 2>&5 | 11547 *) ac_try_echo=$ac_try;; |
11548 esac | |
11549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11550 (eval "$ac_try") 2>&5 | |
9939 ac_status=$? | 11551 ac_status=$? |
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9941 (exit $ac_status); }; } && | 11553 (exit $ac_status); }; } && |
9942 { ac_try='test -s conftest$ac_exeext' | 11554 { ac_try='test -s conftest$ac_exeext' |
9943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11555 { (case "(($ac_try" in |
9944 (eval $ac_try) 2>&5 | 11556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11557 *) ac_try_echo=$ac_try;; | |
11558 esac | |
11559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11560 (eval "$ac_try") 2>&5 | |
9945 ac_status=$? | 11561 ac_status=$? |
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9947 (exit $ac_status); }; }; then | 11563 (exit $ac_status); }; }; then |
9948 xlinux_first_failure=no | 11564 xlinux_first_failure=no |
9949 else | 11565 else |
9950 echo "$as_me: failed program was:" >&5 | 11566 echo "$as_me: failed program was:" >&5 |
9951 sed 's/^/| /' conftest.$ac_ext >&5 | 11567 sed 's/^/| /' conftest.$ac_ext >&5 |
9952 | 11568 |
9953 xlinux_first_failure=yes | 11569 xlinux_first_failure=yes |
9954 fi | 11570 fi |
9955 rm -f conftest.err conftest.$ac_objext \ | 11571 |
11572 rm -f core conftest.err conftest.$ac_objext \ | |
9956 conftest$ac_exeext conftest.$ac_ext | 11573 conftest$ac_exeext conftest.$ac_ext |
9957 if test "${xlinux_first_failure}" = "yes"; then | 11574 if test "${xlinux_first_failure}" = "yes"; then |
9958 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" | 11575 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE" |
9959 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" | 11576 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE" |
9960 OLD_CPPFLAGS="$CPPFLAGS" | 11577 OLD_CPPFLAGS="$CPPFLAGS" |
9977 ; | 11594 ; |
9978 return 0; | 11595 return 0; |
9979 } | 11596 } |
9980 _ACEOF | 11597 _ACEOF |
9981 rm -f conftest.$ac_objext conftest$ac_exeext | 11598 rm -f conftest.$ac_objext conftest$ac_exeext |
9982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11599 if { (ac_try="$ac_link" |
9983 (eval $ac_link) 2>conftest.er1 | 11600 case "(($ac_try" in |
11601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11602 *) ac_try_echo=$ac_try;; | |
11603 esac | |
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11605 (eval "$ac_link") 2>conftest.er1 | |
9984 ac_status=$? | 11606 ac_status=$? |
9985 grep -v '^ *+' conftest.er1 >conftest.err | 11607 grep -v '^ *+' conftest.er1 >conftest.err |
9986 rm -f conftest.er1 | 11608 rm -f conftest.er1 |
9987 cat conftest.err >&5 | 11609 cat conftest.err >&5 |
9988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9989 (exit $ac_status); } && | 11611 (exit $ac_status); } && |
9990 { ac_try='test -z "$ac_c_werror_flag" | 11612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
9991 || test ! -s conftest.err' | 11613 { (case "(($ac_try" in |
9992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9993 (eval $ac_try) 2>&5 | 11615 *) ac_try_echo=$ac_try;; |
11616 esac | |
11617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11618 (eval "$ac_try") 2>&5 | |
9994 ac_status=$? | 11619 ac_status=$? |
9995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9996 (exit $ac_status); }; } && | 11621 (exit $ac_status); }; } && |
9997 { ac_try='test -s conftest$ac_exeext' | 11622 { ac_try='test -s conftest$ac_exeext' |
9998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11623 { (case "(($ac_try" in |
9999 (eval $ac_try) 2>&5 | 11624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11625 *) ac_try_echo=$ac_try;; | |
11626 esac | |
11627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11628 (eval "$ac_try") 2>&5 | |
10000 ac_status=$? | 11629 ac_status=$? |
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10002 (exit $ac_status); }; }; then | 11631 (exit $ac_status); }; }; then |
10003 xlinux_second_failure=no | 11632 xlinux_second_failure=no |
10004 else | 11633 else |
10005 echo "$as_me: failed program was:" >&5 | 11634 echo "$as_me: failed program was:" >&5 |
10006 sed 's/^/| /' conftest.$ac_ext >&5 | 11635 sed 's/^/| /' conftest.$ac_ext >&5 |
10007 | 11636 |
10008 xlinux_second_failure=yes | 11637 xlinux_second_failure=yes |
10009 fi | 11638 fi |
10010 rm -f conftest.err conftest.$ac_objext \ | 11639 |
11640 rm -f core conftest.err conftest.$ac_objext \ | |
10011 conftest$ac_exeext conftest.$ac_ext | 11641 conftest$ac_exeext conftest.$ac_ext |
10012 if test "${xlinux_second_failure}" = "yes"; then | 11642 if test "${xlinux_second_failure}" = "yes"; then |
10013 # If we get the same failure with -b, there is no use adding -b. | 11643 # If we get the same failure with -b, there is no use adding -b. |
10014 # So take it out. This plays safe. | 11644 # So take it out. This plays safe. |
10015 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" | 11645 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE" |
10016 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" | 11646 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE" |
10017 CPPFLAGS="$OLD_CPPFLAGS" | 11647 CPPFLAGS="$OLD_CPPFLAGS" |
10018 LIBS="$OLD_LIBS" | 11648 LIBS="$OLD_LIBS" |
10019 echo "$as_me:$LINENO: result: no" >&5 | 11649 { echo "$as_me:$LINENO: result: no" >&5 |
10020 echo "${ECHO_T}no" >&6 | 11650 echo "${ECHO_T}no" >&6; } |
10021 else | 11651 else |
10022 echo "$as_me:$LINENO: result: yes" >&5 | 11652 { echo "$as_me:$LINENO: result: yes" >&5 |
10023 echo "${ECHO_T}yes" >&6 | 11653 echo "${ECHO_T}yes" >&6; } |
10024 fi | 11654 fi |
10025 else | 11655 else |
10026 echo "$as_me:$LINENO: result: no" >&5 | 11656 { echo "$as_me:$LINENO: result: no" >&5 |
10027 echo "${ECHO_T}no" >&6 | 11657 echo "${ECHO_T}no" >&6; } |
10028 fi | 11658 fi |
10029 fi | 11659 fi |
10030 | 11660 |
10031 # Reportedly, some broken Solaris systems have XKBlib.h but are missing | 11661 # Reportedly, some broken Solaris systems have XKBlib.h but are missing |
10032 # header files included from there. | 11662 # header files included from there. |
10033 echo "$as_me:$LINENO: checking for Xkb" >&5 | 11663 { echo "$as_me:$LINENO: checking for Xkb" >&5 |
10034 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6 | 11664 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6; } |
10035 cat >conftest.$ac_ext <<_ACEOF | 11665 cat >conftest.$ac_ext <<_ACEOF |
10036 /* confdefs.h. */ | 11666 /* confdefs.h. */ |
10037 _ACEOF | 11667 _ACEOF |
10038 cat confdefs.h >>conftest.$ac_ext | 11668 cat confdefs.h >>conftest.$ac_ext |
10039 cat >>conftest.$ac_ext <<_ACEOF | 11669 cat >>conftest.$ac_ext <<_ACEOF |
10047 ; | 11677 ; |
10048 return 0; | 11678 return 0; |
10049 } | 11679 } |
10050 _ACEOF | 11680 _ACEOF |
10051 rm -f conftest.$ac_objext conftest$ac_exeext | 11681 rm -f conftest.$ac_objext conftest$ac_exeext |
10052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11682 if { (ac_try="$ac_link" |
10053 (eval $ac_link) 2>conftest.er1 | 11683 case "(($ac_try" in |
11684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11685 *) ac_try_echo=$ac_try;; | |
11686 esac | |
11687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11688 (eval "$ac_link") 2>conftest.er1 | |
10054 ac_status=$? | 11689 ac_status=$? |
10055 grep -v '^ *+' conftest.er1 >conftest.err | 11690 grep -v '^ *+' conftest.er1 >conftest.err |
10056 rm -f conftest.er1 | 11691 rm -f conftest.er1 |
10057 cat conftest.err >&5 | 11692 cat conftest.err >&5 |
10058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10059 (exit $ac_status); } && | 11694 (exit $ac_status); } && |
10060 { ac_try='test -z "$ac_c_werror_flag" | 11695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10061 || test ! -s conftest.err' | 11696 { (case "(($ac_try" in |
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10063 (eval $ac_try) 2>&5 | 11698 *) ac_try_echo=$ac_try;; |
11699 esac | |
11700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11701 (eval "$ac_try") 2>&5 | |
10064 ac_status=$? | 11702 ac_status=$? |
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10066 (exit $ac_status); }; } && | 11704 (exit $ac_status); }; } && |
10067 { ac_try='test -s conftest$ac_exeext' | 11705 { ac_try='test -s conftest$ac_exeext' |
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11706 { (case "(($ac_try" in |
10069 (eval $ac_try) 2>&5 | 11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11708 *) ac_try_echo=$ac_try;; | |
11709 esac | |
11710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11711 (eval "$ac_try") 2>&5 | |
10070 ac_status=$? | 11712 ac_status=$? |
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10072 (exit $ac_status); }; }; then | 11714 (exit $ac_status); }; }; then |
10073 emacs_xkb=yes | 11715 emacs_xkb=yes |
10074 else | 11716 else |
10075 echo "$as_me: failed program was:" >&5 | 11717 echo "$as_me: failed program was:" >&5 |
10076 sed 's/^/| /' conftest.$ac_ext >&5 | 11718 sed 's/^/| /' conftest.$ac_ext >&5 |
10077 | 11719 |
10078 emacs_xkb=no | 11720 emacs_xkb=no |
10079 fi | 11721 fi |
10080 rm -f conftest.err conftest.$ac_objext \ | 11722 |
11723 rm -f core conftest.err conftest.$ac_objext \ | |
10081 conftest$ac_exeext conftest.$ac_ext | 11724 conftest$ac_exeext conftest.$ac_ext |
10082 echo "$as_me:$LINENO: result: $emacs_xkb" >&5 | 11725 { echo "$as_me:$LINENO: result: $emacs_xkb" >&5 |
10083 echo "${ECHO_T}$emacs_xkb" >&6 | 11726 echo "${ECHO_T}$emacs_xkb" >&6; } |
10084 if test $emacs_xkb = yes; then | 11727 if test $emacs_xkb = yes; then |
10085 | 11728 |
10086 cat >>confdefs.h <<\_ACEOF | 11729 cat >>confdefs.h <<\_ACEOF |
10087 #define HAVE_XKBGETKEYBOARD 1 | 11730 #define HAVE_XKBGETKEYBOARD 1 |
10088 _ACEOF | 11731 _ACEOF |
10095 | 11738 |
10096 for ac_func in XrmSetDatabase XScreenResourceString \ | 11739 for ac_func in XrmSetDatabase XScreenResourceString \ |
10097 XScreenNumberOfScreen XSetWMProtocols | 11740 XScreenNumberOfScreen XSetWMProtocols |
10098 do | 11741 do |
10099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10100 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 11743 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 11744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10102 if eval "test \"\${$as_ac_var+set}\" = set"; then | 11745 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10103 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11746 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10104 else | 11747 else |
10105 cat >conftest.$ac_ext <<_ACEOF | 11748 cat >conftest.$ac_ext <<_ACEOF |
10106 /* confdefs.h. */ | 11749 /* confdefs.h. */ |
10107 _ACEOF | 11750 _ACEOF |
10123 # include <assert.h> | 11766 # include <assert.h> |
10124 #endif | 11767 #endif |
10125 | 11768 |
10126 #undef $ac_func | 11769 #undef $ac_func |
10127 | 11770 |
10128 /* Override any gcc2 internal prototype to avoid an error. */ | 11771 /* Override any GCC internal prototype to avoid an error. |
11772 Use char because int might match the return type of a GCC | |
11773 builtin and then its argument prototype would still apply. */ | |
10129 #ifdef __cplusplus | 11774 #ifdef __cplusplus |
10130 extern "C" | 11775 extern "C" |
10131 { | |
10132 #endif | 11776 #endif |
10133 /* We use char because int might match the return type of a gcc2 | |
10134 builtin and then its argument prototype would still apply. */ | |
10135 char $ac_func (); | 11777 char $ac_func (); |
10136 /* The GNU C library defines this for functions which it implements | 11778 /* The GNU C library defines this for functions which it implements |
10137 to always fail with ENOSYS. Some functions are actually named | 11779 to always fail with ENOSYS. Some functions are actually named |
10138 something starting with __ and the normal name is an alias. */ | 11780 something starting with __ and the normal name is an alias. */ |
10139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 11781 #if defined __stub_$ac_func || defined __stub___$ac_func |
10140 choke me | 11782 choke me |
10141 #else | |
10142 char (*f) () = $ac_func; | |
10143 #endif | |
10144 #ifdef __cplusplus | |
10145 } | |
10146 #endif | 11783 #endif |
10147 | 11784 |
10148 int | 11785 int |
10149 main () | 11786 main () |
10150 { | 11787 { |
10151 return f != $ac_func; | 11788 return $ac_func (); |
10152 ; | 11789 ; |
10153 return 0; | 11790 return 0; |
10154 } | 11791 } |
10155 _ACEOF | 11792 _ACEOF |
10156 rm -f conftest.$ac_objext conftest$ac_exeext | 11793 rm -f conftest.$ac_objext conftest$ac_exeext |
10157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11794 if { (ac_try="$ac_link" |
10158 (eval $ac_link) 2>conftest.er1 | 11795 case "(($ac_try" in |
11796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11797 *) ac_try_echo=$ac_try;; | |
11798 esac | |
11799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11800 (eval "$ac_link") 2>conftest.er1 | |
10159 ac_status=$? | 11801 ac_status=$? |
10160 grep -v '^ *+' conftest.er1 >conftest.err | 11802 grep -v '^ *+' conftest.er1 >conftest.err |
10161 rm -f conftest.er1 | 11803 rm -f conftest.er1 |
10162 cat conftest.err >&5 | 11804 cat conftest.err >&5 |
10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10164 (exit $ac_status); } && | 11806 (exit $ac_status); } && |
10165 { ac_try='test -z "$ac_c_werror_flag" | 11807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10166 || test ! -s conftest.err' | 11808 { (case "(($ac_try" in |
10167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10168 (eval $ac_try) 2>&5 | 11810 *) ac_try_echo=$ac_try;; |
11811 esac | |
11812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11813 (eval "$ac_try") 2>&5 | |
10169 ac_status=$? | 11814 ac_status=$? |
10170 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10171 (exit $ac_status); }; } && | 11816 (exit $ac_status); }; } && |
10172 { ac_try='test -s conftest$ac_exeext' | 11817 { ac_try='test -s conftest$ac_exeext' |
10173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11818 { (case "(($ac_try" in |
10174 (eval $ac_try) 2>&5 | 11819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11820 *) ac_try_echo=$ac_try;; | |
11821 esac | |
11822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11823 (eval "$ac_try") 2>&5 | |
10175 ac_status=$? | 11824 ac_status=$? |
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10177 (exit $ac_status); }; }; then | 11826 (exit $ac_status); }; }; then |
10178 eval "$as_ac_var=yes" | 11827 eval "$as_ac_var=yes" |
10179 else | 11828 else |
10180 echo "$as_me: failed program was:" >&5 | 11829 echo "$as_me: failed program was:" >&5 |
10181 sed 's/^/| /' conftest.$ac_ext >&5 | 11830 sed 's/^/| /' conftest.$ac_ext >&5 |
10182 | 11831 |
10183 eval "$as_ac_var=no" | 11832 eval "$as_ac_var=no" |
10184 fi | 11833 fi |
10185 rm -f conftest.err conftest.$ac_objext \ | 11834 |
11835 rm -f core conftest.err conftest.$ac_objext \ | |
10186 conftest$ac_exeext conftest.$ac_ext | 11836 conftest$ac_exeext conftest.$ac_ext |
10187 fi | 11837 fi |
10188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 11838 ac_res=`eval echo '${'$as_ac_var'}'` |
10189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 11839 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11840 echo "${ECHO_T}$ac_res" >&6; } | |
10190 if test `eval echo '${'$as_ac_var'}'` = yes; then | 11841 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10191 cat >>confdefs.h <<_ACEOF | 11842 cat >>confdefs.h <<_ACEOF |
10192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10193 _ACEOF | 11844 _ACEOF |
10194 | 11845 |
10196 done | 11847 done |
10197 | 11848 |
10198 fi | 11849 fi |
10199 | 11850 |
10200 if test "${window_system}" = "x11"; then | 11851 if test "${window_system}" = "x11"; then |
10201 echo "$as_me:$LINENO: checking X11 version 6" >&5 | 11852 { echo "$as_me:$LINENO: checking X11 version 6" >&5 |
10202 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6 | 11853 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6; } |
10203 if test "${emacs_cv_x11_version_6+set}" = set; then | 11854 if test "${emacs_cv_x11_version_6+set}" = set; then |
10204 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11855 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10205 else | 11856 else |
10206 cat >conftest.$ac_ext <<_ACEOF | 11857 cat >conftest.$ac_ext <<_ACEOF |
10207 /* confdefs.h. */ | 11858 /* confdefs.h. */ |
10220 ; | 11871 ; |
10221 return 0; | 11872 return 0; |
10222 } | 11873 } |
10223 _ACEOF | 11874 _ACEOF |
10224 rm -f conftest.$ac_objext conftest$ac_exeext | 11875 rm -f conftest.$ac_objext conftest$ac_exeext |
10225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11876 if { (ac_try="$ac_link" |
10226 (eval $ac_link) 2>conftest.er1 | 11877 case "(($ac_try" in |
11878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11879 *) ac_try_echo=$ac_try;; | |
11880 esac | |
11881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11882 (eval "$ac_link") 2>conftest.er1 | |
10227 ac_status=$? | 11883 ac_status=$? |
10228 grep -v '^ *+' conftest.er1 >conftest.err | 11884 grep -v '^ *+' conftest.er1 >conftest.err |
10229 rm -f conftest.er1 | 11885 rm -f conftest.er1 |
10230 cat conftest.err >&5 | 11886 cat conftest.err >&5 |
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10232 (exit $ac_status); } && | 11888 (exit $ac_status); } && |
10233 { ac_try='test -z "$ac_c_werror_flag" | 11889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10234 || test ! -s conftest.err' | 11890 { (case "(($ac_try" in |
10235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10236 (eval $ac_try) 2>&5 | 11892 *) ac_try_echo=$ac_try;; |
11893 esac | |
11894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11895 (eval "$ac_try") 2>&5 | |
10237 ac_status=$? | 11896 ac_status=$? |
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10239 (exit $ac_status); }; } && | 11898 (exit $ac_status); }; } && |
10240 { ac_try='test -s conftest$ac_exeext' | 11899 { ac_try='test -s conftest$ac_exeext' |
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11900 { (case "(($ac_try" in |
10242 (eval $ac_try) 2>&5 | 11901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11902 *) ac_try_echo=$ac_try;; | |
11903 esac | |
11904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11905 (eval "$ac_try") 2>&5 | |
10243 ac_status=$? | 11906 ac_status=$? |
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10245 (exit $ac_status); }; }; then | 11908 (exit $ac_status); }; }; then |
10246 emacs_cv_x11_version_6=yes | 11909 emacs_cv_x11_version_6=yes |
10247 else | 11910 else |
10248 echo "$as_me: failed program was:" >&5 | 11911 echo "$as_me: failed program was:" >&5 |
10249 sed 's/^/| /' conftest.$ac_ext >&5 | 11912 sed 's/^/| /' conftest.$ac_ext >&5 |
10250 | 11913 |
10251 emacs_cv_x11_version_6=no | 11914 emacs_cv_x11_version_6=no |
10252 fi | 11915 fi |
10253 rm -f conftest.err conftest.$ac_objext \ | 11916 |
11917 rm -f core conftest.err conftest.$ac_objext \ | |
10254 conftest$ac_exeext conftest.$ac_ext | 11918 conftest$ac_exeext conftest.$ac_ext |
10255 fi | 11919 fi |
10256 | 11920 |
10257 if test $emacs_cv_x11_version_6 = yes; then | 11921 if test $emacs_cv_x11_version_6 = yes; then |
10258 echo "$as_me:$LINENO: result: 6 or newer" >&5 | 11922 { echo "$as_me:$LINENO: result: 6 or newer" >&5 |
10259 echo "${ECHO_T}6 or newer" >&6 | 11923 echo "${ECHO_T}6 or newer" >&6; } |
10260 | 11924 |
10261 cat >>confdefs.h <<\_ACEOF | 11925 cat >>confdefs.h <<\_ACEOF |
10262 #define HAVE_X11R6 1 | 11926 #define HAVE_X11R6 1 |
10263 _ACEOF | 11927 _ACEOF |
10264 | 11928 |
10265 else | 11929 else |
10266 echo "$as_me:$LINENO: result: before 6" >&5 | 11930 { echo "$as_me:$LINENO: result: before 6" >&5 |
10267 echo "${ECHO_T}before 6" >&6 | 11931 echo "${ECHO_T}before 6" >&6; } |
10268 fi | 11932 fi |
10269 fi | 11933 fi |
10270 | 11934 |
10271 if test "${window_system}" = "x11"; then | 11935 if test "${window_system}" = "x11"; then |
10272 echo "$as_me:$LINENO: checking X11 version 5" >&5 | 11936 { echo "$as_me:$LINENO: checking X11 version 5" >&5 |
10273 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6 | 11937 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6; } |
10274 if test "${emacs_cv_x11_version_5+set}" = set; then | 11938 if test "${emacs_cv_x11_version_5+set}" = set; then |
10275 echo $ECHO_N "(cached) $ECHO_C" >&6 | 11939 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10276 else | 11940 else |
10277 cat >conftest.$ac_ext <<_ACEOF | 11941 cat >conftest.$ac_ext <<_ACEOF |
10278 /* confdefs.h. */ | 11942 /* confdefs.h. */ |
10291 ; | 11955 ; |
10292 return 0; | 11956 return 0; |
10293 } | 11957 } |
10294 _ACEOF | 11958 _ACEOF |
10295 rm -f conftest.$ac_objext conftest$ac_exeext | 11959 rm -f conftest.$ac_objext conftest$ac_exeext |
10296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 11960 if { (ac_try="$ac_link" |
10297 (eval $ac_link) 2>conftest.er1 | 11961 case "(($ac_try" in |
11962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
11963 *) ac_try_echo=$ac_try;; | |
11964 esac | |
11965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11966 (eval "$ac_link") 2>conftest.er1 | |
10298 ac_status=$? | 11967 ac_status=$? |
10299 grep -v '^ *+' conftest.er1 >conftest.err | 11968 grep -v '^ *+' conftest.er1 >conftest.err |
10300 rm -f conftest.er1 | 11969 rm -f conftest.er1 |
10301 cat conftest.err >&5 | 11970 cat conftest.err >&5 |
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10303 (exit $ac_status); } && | 11972 (exit $ac_status); } && |
10304 { ac_try='test -z "$ac_c_werror_flag" | 11973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10305 || test ! -s conftest.err' | 11974 { (case "(($ac_try" in |
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10307 (eval $ac_try) 2>&5 | 11976 *) ac_try_echo=$ac_try;; |
11977 esac | |
11978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11979 (eval "$ac_try") 2>&5 | |
10308 ac_status=$? | 11980 ac_status=$? |
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10310 (exit $ac_status); }; } && | 11982 (exit $ac_status); }; } && |
10311 { ac_try='test -s conftest$ac_exeext' | 11983 { ac_try='test -s conftest$ac_exeext' |
10312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 11984 { (case "(($ac_try" in |
10313 (eval $ac_try) 2>&5 | 11985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11986 *) ac_try_echo=$ac_try;; | |
11987 esac | |
11988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
11989 (eval "$ac_try") 2>&5 | |
10314 ac_status=$? | 11990 ac_status=$? |
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10316 (exit $ac_status); }; }; then | 11992 (exit $ac_status); }; }; then |
10317 emacs_cv_x11_version_5=yes | 11993 emacs_cv_x11_version_5=yes |
10318 else | 11994 else |
10319 echo "$as_me: failed program was:" >&5 | 11995 echo "$as_me: failed program was:" >&5 |
10320 sed 's/^/| /' conftest.$ac_ext >&5 | 11996 sed 's/^/| /' conftest.$ac_ext >&5 |
10321 | 11997 |
10322 emacs_cv_x11_version_5=no | 11998 emacs_cv_x11_version_5=no |
10323 fi | 11999 fi |
10324 rm -f conftest.err conftest.$ac_objext \ | 12000 |
12001 rm -f core conftest.err conftest.$ac_objext \ | |
10325 conftest$ac_exeext conftest.$ac_ext | 12002 conftest$ac_exeext conftest.$ac_ext |
10326 fi | 12003 fi |
10327 | 12004 |
10328 if test $emacs_cv_x11_version_5 = yes; then | 12005 if test $emacs_cv_x11_version_5 = yes; then |
10329 echo "$as_me:$LINENO: result: 5 or newer" >&5 | 12006 { echo "$as_me:$LINENO: result: 5 or newer" >&5 |
10330 echo "${ECHO_T}5 or newer" >&6 | 12007 echo "${ECHO_T}5 or newer" >&6; } |
10331 HAVE_X11R5=yes | 12008 HAVE_X11R5=yes |
10332 | 12009 |
10333 cat >>confdefs.h <<\_ACEOF | 12010 cat >>confdefs.h <<\_ACEOF |
10334 #define HAVE_X11R5 1 | 12011 #define HAVE_X11R5 1 |
10335 _ACEOF | 12012 _ACEOF |
10336 | 12013 |
10337 else | 12014 else |
10338 HAVE_X11R5=no | 12015 HAVE_X11R5=no |
10339 echo "$as_me:$LINENO: result: before 5" >&5 | 12016 { echo "$as_me:$LINENO: result: before 5" >&5 |
10340 echo "${ECHO_T}before 5" >&6 | 12017 echo "${ECHO_T}before 5" >&6; } |
10341 fi | 12018 fi |
10342 fi | 12019 fi |
10343 | 12020 |
10344 HAVE_GTK=no | 12021 HAVE_GTK=no |
12022 if test "${with_gtk}" = "yes" && test "$USE_X_TOOLKIT" = "gtk"; then | |
12023 USE_X_TOOLKIT=none | |
12024 fi | |
10345 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then | 12025 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "gtk"; then |
10346 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then | 12026 if test "$USE_X_TOOLKIT" != "none" && test "$USE_X_TOOLKIT" != "maybe"; then |
10347 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5 | 12027 { { echo "$as_me:$LINENO: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&5 |
10348 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;} | 12028 echo "$as_me: error: Conflicting options, --with-gtk is incompatible with --with-x-toolkit=${with_x_toolkit}" >&2;} |
10349 { (exit 1); exit 1; }; }; | 12029 { (exit 1); exit 1; }; }; |
10359 succeeded=no | 12039 succeeded=no |
10360 | 12040 |
10361 if test -z "$PKG_CONFIG"; then | 12041 if test -z "$PKG_CONFIG"; then |
10362 # Extract the first word of "pkg-config", so it can be a program name with args. | 12042 # Extract the first word of "pkg-config", so it can be a program name with args. |
10363 set dummy pkg-config; ac_word=$2 | 12043 set dummy pkg-config; ac_word=$2 |
10364 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 12044 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
10365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 12045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
10366 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then | 12046 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then |
10367 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12047 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10368 else | 12048 else |
10369 case $PKG_CONFIG in | 12049 case $PKG_CONFIG in |
10370 [\\/]* | ?:[\\/]*) | 12050 [\\/]* | ?:[\\/]*) |
10375 for as_dir in $PATH | 12055 for as_dir in $PATH |
10376 do | 12056 do |
10377 IFS=$as_save_IFS | 12057 IFS=$as_save_IFS |
10378 test -z "$as_dir" && as_dir=. | 12058 test -z "$as_dir" && as_dir=. |
10379 for ac_exec_ext in '' $ac_executable_extensions; do | 12059 for ac_exec_ext in '' $ac_executable_extensions; do |
10380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 12060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
10381 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 12061 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
10382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 12062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
10383 break 2 | 12063 break 2 |
10384 fi | 12064 fi |
10385 done | 12065 done |
10386 done | 12066 done |
12067 IFS=$as_save_IFS | |
10387 | 12068 |
10388 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | 12069 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" |
10389 ;; | 12070 ;; |
10390 esac | 12071 esac |
10391 fi | 12072 fi |
10392 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 12073 PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
10393 | |
10394 if test -n "$PKG_CONFIG"; then | 12074 if test -n "$PKG_CONFIG"; then |
10395 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 | 12075 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 |
10396 echo "${ECHO_T}$PKG_CONFIG" >&6 | 12076 echo "${ECHO_T}$PKG_CONFIG" >&6; } |
10397 else | 12077 else |
10398 echo "$as_me:$LINENO: result: no" >&5 | 12078 { echo "$as_me:$LINENO: result: no" >&5 |
10399 echo "${ECHO_T}no" >&6 | 12079 echo "${ECHO_T}no" >&6; } |
10400 fi | 12080 fi |
12081 | |
10401 | 12082 |
10402 fi | 12083 fi |
10403 | 12084 |
10404 if test "$PKG_CONFIG" = "no" ; then | 12085 if test "$PKG_CONFIG" = "no" ; then |
10405 { { echo "$as_me:$LINENO: error: | 12086 { { echo "$as_me:$LINENO: error: |
10408 *** The pkg-config script could not be found. Make sure it is in your path, or give the full path to pkg-config with the PKG_CONFIG environment variable or --with-pkg-config-prog. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." >&2;} | 12089 *** The pkg-config script could not be found. Make sure it is in your path, or give the full path to pkg-config with the PKG_CONFIG environment variable or --with-pkg-config-prog. Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." >&2;} |
10409 { (exit 1); exit 1; }; } | 12090 { (exit 1); exit 1; }; } |
10410 else | 12091 else |
10411 PKG_CONFIG_MIN_VERSION=0.9.0 | 12092 PKG_CONFIG_MIN_VERSION=0.9.0 |
10412 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 12093 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
10413 echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 | 12094 { echo "$as_me:$LINENO: checking for $GTK_MODULES" >&5 |
10414 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6 | 12095 echo $ECHO_N "checking for $GTK_MODULES... $ECHO_C" >&6; } |
10415 | 12096 |
10416 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 12097 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then |
10417 echo "$as_me:$LINENO: result: yes" >&5 | 12098 { echo "$as_me:$LINENO: result: yes" >&5 |
10418 echo "${ECHO_T}yes" >&6 | 12099 echo "${ECHO_T}yes" >&6; } |
10419 succeeded=yes | 12100 succeeded=yes |
10420 | 12101 |
10421 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 | 12102 { echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5 |
10422 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6 | 12103 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6; } |
10423 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` | 12104 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"` |
10424 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 | 12105 { echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5 |
10425 echo "${ECHO_T}$GTK_CFLAGS" >&6 | 12106 echo "${ECHO_T}$GTK_CFLAGS" >&6; } |
10426 | 12107 |
10427 echo "$as_me:$LINENO: checking GTK_LIBS" >&5 | 12108 { echo "$as_me:$LINENO: checking GTK_LIBS" >&5 |
10428 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6 | 12109 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6; } |
10429 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` | 12110 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"` |
10430 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 | 12111 { echo "$as_me:$LINENO: result: $GTK_LIBS" >&5 |
10431 echo "${ECHO_T}$GTK_LIBS" >&6 | 12112 echo "${ECHO_T}$GTK_LIBS" >&6; } |
10432 else | 12113 else |
10433 echo "$as_me:$LINENO: result: no" >&5 | 12114 { echo "$as_me:$LINENO: result: no" >&5 |
10434 echo "${ECHO_T}no" >&6 | 12115 echo "${ECHO_T}no" >&6; } |
10435 GTK_CFLAGS="" | 12116 GTK_CFLAGS="" |
10436 GTK_LIBS="" | 12117 GTK_LIBS="" |
10437 ## If we have a custom action on failure, don't print errors, but | 12118 ## If we have a custom action on failure, don't print errors, but |
10438 ## do set a variable so people can do so. | 12119 ## do set a variable so people can do so. |
10439 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` | 12120 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` |
10459 | 12140 |
10460 | 12141 |
10461 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" | 12142 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $GTK_CFLAGS" |
10462 CFLAGS="$CFLAGS $GTK_CFLAGS" | 12143 CFLAGS="$CFLAGS $GTK_CFLAGS" |
10463 LIBS="$GTK_LIBS $LIBS" | 12144 LIBS="$GTK_LIBS $LIBS" |
10464 HAVE_GTK=yes | 12145 GTK_COMPILES=no |
10465 | 12146 |
10466 cat >>confdefs.h <<\_ACEOF | 12147 for ac_func in gtk_main |
10467 #define HAVE_GTK 1 | |
10468 _ACEOF | |
10469 | |
10470 USE_X_TOOLKIT=none | |
10471 | |
10472 if test "$with_toolkit_scroll_bars" != no; then | |
10473 with_toolkit_scroll_bars=yes | |
10474 fi | |
10475 | |
10476 HAVE_GTK_MULTIDISPLAY=no | |
10477 | |
10478 for ac_func in gdk_display_open | |
10479 do | 12148 do |
10480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10481 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12150 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10483 if eval "test \"\${$as_ac_var+set}\" = set"; then | 12152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10484 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12153 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10485 else | 12154 else |
10486 cat >conftest.$ac_ext <<_ACEOF | 12155 cat >conftest.$ac_ext <<_ACEOF |
10487 /* confdefs.h. */ | 12156 /* confdefs.h. */ |
10488 _ACEOF | 12157 _ACEOF |
10504 # include <assert.h> | 12173 # include <assert.h> |
10505 #endif | 12174 #endif |
10506 | 12175 |
10507 #undef $ac_func | 12176 #undef $ac_func |
10508 | 12177 |
10509 /* Override any gcc2 internal prototype to avoid an error. */ | 12178 /* Override any GCC internal prototype to avoid an error. |
12179 Use char because int might match the return type of a GCC | |
12180 builtin and then its argument prototype would still apply. */ | |
10510 #ifdef __cplusplus | 12181 #ifdef __cplusplus |
10511 extern "C" | 12182 extern "C" |
10512 { | |
10513 #endif | 12183 #endif |
10514 /* We use char because int might match the return type of a gcc2 | |
10515 builtin and then its argument prototype would still apply. */ | |
10516 char $ac_func (); | 12184 char $ac_func (); |
10517 /* The GNU C library defines this for functions which it implements | 12185 /* The GNU C library defines this for functions which it implements |
10518 to always fail with ENOSYS. Some functions are actually named | 12186 to always fail with ENOSYS. Some functions are actually named |
10519 something starting with __ and the normal name is an alias. */ | 12187 something starting with __ and the normal name is an alias. */ |
10520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12188 #if defined __stub_$ac_func || defined __stub___$ac_func |
10521 choke me | 12189 choke me |
10522 #else | |
10523 char (*f) () = $ac_func; | |
10524 #endif | |
10525 #ifdef __cplusplus | |
10526 } | |
10527 #endif | 12190 #endif |
10528 | 12191 |
10529 int | 12192 int |
10530 main () | 12193 main () |
10531 { | 12194 { |
10532 return f != $ac_func; | 12195 return $ac_func (); |
10533 ; | 12196 ; |
10534 return 0; | 12197 return 0; |
10535 } | 12198 } |
10536 _ACEOF | 12199 _ACEOF |
10537 rm -f conftest.$ac_objext conftest$ac_exeext | 12200 rm -f conftest.$ac_objext conftest$ac_exeext |
10538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12201 if { (ac_try="$ac_link" |
10539 (eval $ac_link) 2>conftest.er1 | 12202 case "(($ac_try" in |
12203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12204 *) ac_try_echo=$ac_try;; | |
12205 esac | |
12206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12207 (eval "$ac_link") 2>conftest.er1 | |
10540 ac_status=$? | 12208 ac_status=$? |
10541 grep -v '^ *+' conftest.er1 >conftest.err | 12209 grep -v '^ *+' conftest.er1 >conftest.err |
10542 rm -f conftest.er1 | 12210 rm -f conftest.er1 |
10543 cat conftest.err >&5 | 12211 cat conftest.err >&5 |
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10545 (exit $ac_status); } && | 12213 (exit $ac_status); } && |
10546 { ac_try='test -z "$ac_c_werror_flag" | 12214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10547 || test ! -s conftest.err' | 12215 { (case "(($ac_try" in |
10548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10549 (eval $ac_try) 2>&5 | 12217 *) ac_try_echo=$ac_try;; |
12218 esac | |
12219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12220 (eval "$ac_try") 2>&5 | |
10550 ac_status=$? | 12221 ac_status=$? |
10551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10552 (exit $ac_status); }; } && | 12223 (exit $ac_status); }; } && |
10553 { ac_try='test -s conftest$ac_exeext' | 12224 { ac_try='test -s conftest$ac_exeext' |
10554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12225 { (case "(($ac_try" in |
10555 (eval $ac_try) 2>&5 | 12226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12227 *) ac_try_echo=$ac_try;; | |
12228 esac | |
12229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12230 (eval "$ac_try") 2>&5 | |
10556 ac_status=$? | 12231 ac_status=$? |
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10558 (exit $ac_status); }; }; then | 12233 (exit $ac_status); }; }; then |
10559 eval "$as_ac_var=yes" | 12234 eval "$as_ac_var=yes" |
10560 else | 12235 else |
10561 echo "$as_me: failed program was:" >&5 | 12236 echo "$as_me: failed program was:" >&5 |
10562 sed 's/^/| /' conftest.$ac_ext >&5 | 12237 sed 's/^/| /' conftest.$ac_ext >&5 |
10563 | 12238 |
10564 eval "$as_ac_var=no" | 12239 eval "$as_ac_var=no" |
10565 fi | 12240 fi |
10566 rm -f conftest.err conftest.$ac_objext \ | 12241 |
12242 rm -f core conftest.err conftest.$ac_objext \ | |
10567 conftest$ac_exeext conftest.$ac_ext | 12243 conftest$ac_exeext conftest.$ac_ext |
10568 fi | 12244 fi |
10569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12245 ac_res=`eval echo '${'$as_ac_var'}'` |
10570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12246 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12247 echo "${ECHO_T}$ac_res" >&6; } | |
10571 if test `eval echo '${'$as_ac_var'}'` = yes; then | 12248 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10572 cat >>confdefs.h <<_ACEOF | 12249 cat >>confdefs.h <<_ACEOF |
10573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10574 _ACEOF | 12251 _ACEOF |
10575 HAVE_GTK_MULTIDISPLAY=yes | 12252 GTK_COMPILES=yes |
10576 fi | 12253 fi |
10577 done | 12254 done |
10578 | 12255 |
10579 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then | 12256 if test "${GTK_COMPILES}" != "yes"; then |
12257 { { echo "$as_me:$LINENO: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&5 | |
12258 echo "$as_me: error: Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" >&2;} | |
12259 { (exit 1); exit 1; }; }; | |
12260 fi | |
12261 | |
12262 HAVE_GTK=yes | |
10580 | 12263 |
10581 cat >>confdefs.h <<\_ACEOF | 12264 cat >>confdefs.h <<\_ACEOF |
10582 #define HAVE_GTK_MULTIDISPLAY 1 | 12265 #define HAVE_GTK 1 |
10583 _ACEOF | 12266 _ACEOF |
10584 | 12267 |
12268 USE_X_TOOLKIT=none | |
12269 | |
12270 if test "$with_toolkit_scroll_bars" != no; then | |
12271 with_toolkit_scroll_bars=yes | |
10585 fi | 12272 fi |
10586 HAVE_GTK_FILE_SELECTION=no | 12273 |
10587 | 12274 HAVE_GTK_MULTIDISPLAY=no |
10588 for ac_func in gtk_file_selection_new | 12275 |
12276 for ac_func in gdk_display_open | |
10589 do | 12277 do |
10590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10591 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12279 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10593 if eval "test \"\${$as_ac_var+set}\" = set"; then | 12281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10594 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12282 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10595 else | 12283 else |
10596 cat >conftest.$ac_ext <<_ACEOF | 12284 cat >conftest.$ac_ext <<_ACEOF |
10597 /* confdefs.h. */ | 12285 /* confdefs.h. */ |
10598 _ACEOF | 12286 _ACEOF |
10614 # include <assert.h> | 12302 # include <assert.h> |
10615 #endif | 12303 #endif |
10616 | 12304 |
10617 #undef $ac_func | 12305 #undef $ac_func |
10618 | 12306 |
10619 /* Override any gcc2 internal prototype to avoid an error. */ | 12307 /* Override any GCC internal prototype to avoid an error. |
12308 Use char because int might match the return type of a GCC | |
12309 builtin and then its argument prototype would still apply. */ | |
10620 #ifdef __cplusplus | 12310 #ifdef __cplusplus |
10621 extern "C" | 12311 extern "C" |
10622 { | |
10623 #endif | 12312 #endif |
10624 /* We use char because int might match the return type of a gcc2 | |
10625 builtin and then its argument prototype would still apply. */ | |
10626 char $ac_func (); | 12313 char $ac_func (); |
10627 /* The GNU C library defines this for functions which it implements | 12314 /* The GNU C library defines this for functions which it implements |
10628 to always fail with ENOSYS. Some functions are actually named | 12315 to always fail with ENOSYS. Some functions are actually named |
10629 something starting with __ and the normal name is an alias. */ | 12316 something starting with __ and the normal name is an alias. */ |
10630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12317 #if defined __stub_$ac_func || defined __stub___$ac_func |
10631 choke me | 12318 choke me |
10632 #else | |
10633 char (*f) () = $ac_func; | |
10634 #endif | |
10635 #ifdef __cplusplus | |
10636 } | |
10637 #endif | 12319 #endif |
10638 | 12320 |
10639 int | 12321 int |
10640 main () | 12322 main () |
10641 { | 12323 { |
10642 return f != $ac_func; | 12324 return $ac_func (); |
10643 ; | 12325 ; |
10644 return 0; | 12326 return 0; |
10645 } | 12327 } |
10646 _ACEOF | 12328 _ACEOF |
10647 rm -f conftest.$ac_objext conftest$ac_exeext | 12329 rm -f conftest.$ac_objext conftest$ac_exeext |
10648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12330 if { (ac_try="$ac_link" |
10649 (eval $ac_link) 2>conftest.er1 | 12331 case "(($ac_try" in |
12332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12333 *) ac_try_echo=$ac_try;; | |
12334 esac | |
12335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12336 (eval "$ac_link") 2>conftest.er1 | |
10650 ac_status=$? | 12337 ac_status=$? |
10651 grep -v '^ *+' conftest.er1 >conftest.err | 12338 grep -v '^ *+' conftest.er1 >conftest.err |
10652 rm -f conftest.er1 | 12339 rm -f conftest.er1 |
10653 cat conftest.err >&5 | 12340 cat conftest.err >&5 |
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10655 (exit $ac_status); } && | 12342 (exit $ac_status); } && |
10656 { ac_try='test -z "$ac_c_werror_flag" | 12343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10657 || test ! -s conftest.err' | 12344 { (case "(($ac_try" in |
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10659 (eval $ac_try) 2>&5 | 12346 *) ac_try_echo=$ac_try;; |
12347 esac | |
12348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12349 (eval "$ac_try") 2>&5 | |
10660 ac_status=$? | 12350 ac_status=$? |
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10662 (exit $ac_status); }; } && | 12352 (exit $ac_status); }; } && |
10663 { ac_try='test -s conftest$ac_exeext' | 12353 { ac_try='test -s conftest$ac_exeext' |
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12354 { (case "(($ac_try" in |
10665 (eval $ac_try) 2>&5 | 12355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12356 *) ac_try_echo=$ac_try;; | |
12357 esac | |
12358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12359 (eval "$ac_try") 2>&5 | |
10666 ac_status=$? | 12360 ac_status=$? |
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10668 (exit $ac_status); }; }; then | 12362 (exit $ac_status); }; }; then |
10669 eval "$as_ac_var=yes" | 12363 eval "$as_ac_var=yes" |
10670 else | 12364 else |
10671 echo "$as_me: failed program was:" >&5 | 12365 echo "$as_me: failed program was:" >&5 |
10672 sed 's/^/| /' conftest.$ac_ext >&5 | 12366 sed 's/^/| /' conftest.$ac_ext >&5 |
10673 | 12367 |
10674 eval "$as_ac_var=no" | 12368 eval "$as_ac_var=no" |
10675 fi | 12369 fi |
10676 rm -f conftest.err conftest.$ac_objext \ | 12370 |
12371 rm -f core conftest.err conftest.$ac_objext \ | |
10677 conftest$ac_exeext conftest.$ac_ext | 12372 conftest$ac_exeext conftest.$ac_ext |
10678 fi | 12373 fi |
10679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12374 ac_res=`eval echo '${'$as_ac_var'}'` |
10680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12375 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12376 echo "${ECHO_T}$ac_res" >&6; } | |
10681 if test `eval echo '${'$as_ac_var'}'` = yes; then | 12377 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10682 cat >>confdefs.h <<_ACEOF | 12378 cat >>confdefs.h <<_ACEOF |
10683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10684 _ACEOF | 12380 _ACEOF |
10685 HAVE_GTK_FILE_SELECTION=yes | 12381 HAVE_GTK_MULTIDISPLAY=yes |
10686 fi | 12382 fi |
10687 done | 12383 done |
10688 | 12384 |
10689 | 12385 if test "${HAVE_GTK_MULTIDISPLAY}" = "yes"; then |
10690 HAVE_GTK_FILE_CHOOSER=no | 12386 |
10691 | 12387 cat >>confdefs.h <<\_ACEOF |
10692 for ac_func in gtk_file_chooser_dialog_new | 12388 #define HAVE_GTK_MULTIDISPLAY 1 |
12389 _ACEOF | |
12390 | |
12391 fi | |
12392 HAVE_GTK_FILE_SELECTION=no | |
12393 | |
12394 for ac_func in gtk_file_selection_new | |
10693 do | 12395 do |
10694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 12396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10695 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 12397 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 12398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10697 if eval "test \"\${$as_ac_var+set}\" = set"; then | 12399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10698 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12400 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10699 else | 12401 else |
10700 cat >conftest.$ac_ext <<_ACEOF | 12402 cat >conftest.$ac_ext <<_ACEOF |
10701 /* confdefs.h. */ | 12403 /* confdefs.h. */ |
10702 _ACEOF | 12404 _ACEOF |
10718 # include <assert.h> | 12420 # include <assert.h> |
10719 #endif | 12421 #endif |
10720 | 12422 |
10721 #undef $ac_func | 12423 #undef $ac_func |
10722 | 12424 |
10723 /* Override any gcc2 internal prototype to avoid an error. */ | 12425 /* Override any GCC internal prototype to avoid an error. |
12426 Use char because int might match the return type of a GCC | |
12427 builtin and then its argument prototype would still apply. */ | |
10724 #ifdef __cplusplus | 12428 #ifdef __cplusplus |
10725 extern "C" | 12429 extern "C" |
10726 { | |
10727 #endif | 12430 #endif |
10728 /* We use char because int might match the return type of a gcc2 | |
10729 builtin and then its argument prototype would still apply. */ | |
10730 char $ac_func (); | 12431 char $ac_func (); |
10731 /* The GNU C library defines this for functions which it implements | 12432 /* The GNU C library defines this for functions which it implements |
10732 to always fail with ENOSYS. Some functions are actually named | 12433 to always fail with ENOSYS. Some functions are actually named |
10733 something starting with __ and the normal name is an alias. */ | 12434 something starting with __ and the normal name is an alias. */ |
10734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 12435 #if defined __stub_$ac_func || defined __stub___$ac_func |
10735 choke me | 12436 choke me |
10736 #else | |
10737 char (*f) () = $ac_func; | |
10738 #endif | |
10739 #ifdef __cplusplus | |
10740 } | |
10741 #endif | 12437 #endif |
10742 | 12438 |
10743 int | 12439 int |
10744 main () | 12440 main () |
10745 { | 12441 { |
10746 return f != $ac_func; | 12442 return $ac_func (); |
10747 ; | 12443 ; |
10748 return 0; | 12444 return 0; |
10749 } | 12445 } |
10750 _ACEOF | 12446 _ACEOF |
10751 rm -f conftest.$ac_objext conftest$ac_exeext | 12447 rm -f conftest.$ac_objext conftest$ac_exeext |
10752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12448 if { (ac_try="$ac_link" |
10753 (eval $ac_link) 2>conftest.er1 | 12449 case "(($ac_try" in |
12450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12451 *) ac_try_echo=$ac_try;; | |
12452 esac | |
12453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12454 (eval "$ac_link") 2>conftest.er1 | |
10754 ac_status=$? | 12455 ac_status=$? |
10755 grep -v '^ *+' conftest.er1 >conftest.err | 12456 grep -v '^ *+' conftest.er1 >conftest.err |
10756 rm -f conftest.er1 | 12457 rm -f conftest.er1 |
10757 cat conftest.err >&5 | 12458 cat conftest.err >&5 |
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10759 (exit $ac_status); } && | 12460 (exit $ac_status); } && |
10760 { ac_try='test -z "$ac_c_werror_flag" | 12461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10761 || test ! -s conftest.err' | 12462 { (case "(($ac_try" in |
10762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10763 (eval $ac_try) 2>&5 | 12464 *) ac_try_echo=$ac_try;; |
12465 esac | |
12466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12467 (eval "$ac_try") 2>&5 | |
10764 ac_status=$? | 12468 ac_status=$? |
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10766 (exit $ac_status); }; } && | 12470 (exit $ac_status); }; } && |
10767 { ac_try='test -s conftest$ac_exeext' | 12471 { ac_try='test -s conftest$ac_exeext' |
10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12472 { (case "(($ac_try" in |
10769 (eval $ac_try) 2>&5 | 12473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12474 *) ac_try_echo=$ac_try;; | |
12475 esac | |
12476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12477 (eval "$ac_try") 2>&5 | |
10770 ac_status=$? | 12478 ac_status=$? |
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10772 (exit $ac_status); }; }; then | 12480 (exit $ac_status); }; }; then |
10773 eval "$as_ac_var=yes" | 12481 eval "$as_ac_var=yes" |
10774 else | 12482 else |
10775 echo "$as_me: failed program was:" >&5 | 12483 echo "$as_me: failed program was:" >&5 |
10776 sed 's/^/| /' conftest.$ac_ext >&5 | 12484 sed 's/^/| /' conftest.$ac_ext >&5 |
10777 | 12485 |
10778 eval "$as_ac_var=no" | 12486 eval "$as_ac_var=no" |
10779 fi | 12487 fi |
10780 rm -f conftest.err conftest.$ac_objext \ | 12488 |
12489 rm -f core conftest.err conftest.$ac_objext \ | |
10781 conftest$ac_exeext conftest.$ac_ext | 12490 conftest$ac_exeext conftest.$ac_ext |
10782 fi | 12491 fi |
10783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 12492 ac_res=`eval echo '${'$as_ac_var'}'` |
10784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 12493 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12494 echo "${ECHO_T}$ac_res" >&6; } | |
10785 if test `eval echo '${'$as_ac_var'}'` = yes; then | 12495 if test `eval echo '${'$as_ac_var'}'` = yes; then |
10786 cat >>confdefs.h <<_ACEOF | 12496 cat >>confdefs.h <<_ACEOF |
10787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 12497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
10788 _ACEOF | 12498 _ACEOF |
12499 HAVE_GTK_FILE_SELECTION=yes | |
12500 fi | |
12501 done | |
12502 | |
12503 | |
12504 HAVE_GTK_FILE_CHOOSER=no | |
12505 | |
12506 for ac_func in gtk_file_chooser_dialog_new | |
12507 do | |
12508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
12509 { echo "$as_me:$LINENO: checking for $ac_func" >&5 | |
12510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } | |
12511 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then | |
12512 echo $ECHO_N "(cached) $ECHO_C" >&6 | |
12513 else | |
12514 cat >conftest.$ac_ext <<_ACEOF | |
12515 /* confdefs.h. */ | |
12516 _ACEOF | |
12517 cat confdefs.h >>conftest.$ac_ext | |
12518 cat >>conftest.$ac_ext <<_ACEOF | |
12519 /* end confdefs.h. */ | |
12520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. | |
12521 For example, HP-UX 11i <limits.h> declares gettimeofday. */ | |
12522 #define $ac_func innocuous_$ac_func | |
12523 | |
12524 /* System header to define __stub macros and hopefully few prototypes, | |
12525 which can conflict with char $ac_func (); below. | |
12526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
12527 <limits.h> exists even on freestanding compilers. */ | |
12528 | |
12529 #ifdef __STDC__ | |
12530 # include <limits.h> | |
12531 #else | |
12532 # include <assert.h> | |
12533 #endif | |
12534 | |
12535 #undef $ac_func | |
12536 | |
12537 /* Override any GCC internal prototype to avoid an error. | |
12538 Use char because int might match the return type of a GCC | |
12539 builtin and then its argument prototype would still apply. */ | |
12540 #ifdef __cplusplus | |
12541 extern "C" | |
12542 #endif | |
12543 char $ac_func (); | |
12544 /* The GNU C library defines this for functions which it implements | |
12545 to always fail with ENOSYS. Some functions are actually named | |
12546 something starting with __ and the normal name is an alias. */ | |
12547 #if defined __stub_$ac_func || defined __stub___$ac_func | |
12548 choke me | |
12549 #endif | |
12550 | |
12551 int | |
12552 main () | |
12553 { | |
12554 return $ac_func (); | |
12555 ; | |
12556 return 0; | |
12557 } | |
12558 _ACEOF | |
12559 rm -f conftest.$ac_objext conftest$ac_exeext | |
12560 if { (ac_try="$ac_link" | |
12561 case "(($ac_try" in | |
12562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12563 *) ac_try_echo=$ac_try;; | |
12564 esac | |
12565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12566 (eval "$ac_link") 2>conftest.er1 | |
12567 ac_status=$? | |
12568 grep -v '^ *+' conftest.er1 >conftest.err | |
12569 rm -f conftest.er1 | |
12570 cat conftest.err >&5 | |
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12572 (exit $ac_status); } && | |
12573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' | |
12574 { (case "(($ac_try" in | |
12575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12576 *) ac_try_echo=$ac_try;; | |
12577 esac | |
12578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12579 (eval "$ac_try") 2>&5 | |
12580 ac_status=$? | |
12581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12582 (exit $ac_status); }; } && | |
12583 { ac_try='test -s conftest$ac_exeext' | |
12584 { (case "(($ac_try" in | |
12585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12586 *) ac_try_echo=$ac_try;; | |
12587 esac | |
12588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12589 (eval "$ac_try") 2>&5 | |
12590 ac_status=$? | |
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12592 (exit $ac_status); }; }; then | |
12593 eval "$as_ac_var=yes" | |
12594 else | |
12595 echo "$as_me: failed program was:" >&5 | |
12596 sed 's/^/| /' conftest.$ac_ext >&5 | |
12597 | |
12598 eval "$as_ac_var=no" | |
12599 fi | |
12600 | |
12601 rm -f core conftest.err conftest.$ac_objext \ | |
12602 conftest$ac_exeext conftest.$ac_ext | |
12603 fi | |
12604 ac_res=`eval echo '${'$as_ac_var'}'` | |
12605 { echo "$as_me:$LINENO: result: $ac_res" >&5 | |
12606 echo "${ECHO_T}$ac_res" >&6; } | |
12607 if test `eval echo '${'$as_ac_var'}'` = yes; then | |
12608 cat >>confdefs.h <<_ACEOF | |
12609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | |
12610 _ACEOF | |
10789 HAVE_GTK_FILE_CHOOSER=yes | 12611 HAVE_GTK_FILE_CHOOSER=yes |
10790 fi | 12612 fi |
10791 done | 12613 done |
10792 | 12614 |
10793 | 12615 |
10804 HAVE_GTK_AND_PTHREAD=no | 12626 HAVE_GTK_AND_PTHREAD=no |
10805 | 12627 |
10806 for ac_header in pthread.h | 12628 for ac_header in pthread.h |
10807 do | 12629 do |
10808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 12630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10809 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10810 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 12632 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10812 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10813 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12635 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10814 fi | 12636 fi |
10815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12637 ac_res=`eval echo '${'$as_ac_Header'}'` |
10816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12638 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12639 echo "${ECHO_T}$ac_res" >&6; } | |
10817 else | 12640 else |
10818 # Is the header compilable? | 12641 # Is the header compilable? |
10819 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 12642 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 12643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10821 cat >conftest.$ac_ext <<_ACEOF | 12644 cat >conftest.$ac_ext <<_ACEOF |
10822 /* confdefs.h. */ | 12645 /* confdefs.h. */ |
10823 _ACEOF | 12646 _ACEOF |
10824 cat confdefs.h >>conftest.$ac_ext | 12647 cat confdefs.h >>conftest.$ac_ext |
10825 cat >>conftest.$ac_ext <<_ACEOF | 12648 cat >>conftest.$ac_ext <<_ACEOF |
10826 /* end confdefs.h. */ | 12649 /* end confdefs.h. */ |
10827 $ac_includes_default | 12650 $ac_includes_default |
10828 #include <$ac_header> | 12651 #include <$ac_header> |
10829 _ACEOF | 12652 _ACEOF |
10830 rm -f conftest.$ac_objext | 12653 rm -f conftest.$ac_objext |
10831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 12654 if { (ac_try="$ac_compile" |
10832 (eval $ac_compile) 2>conftest.er1 | 12655 case "(($ac_try" in |
12656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12657 *) ac_try_echo=$ac_try;; | |
12658 esac | |
12659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12660 (eval "$ac_compile") 2>conftest.er1 | |
10833 ac_status=$? | 12661 ac_status=$? |
10834 grep -v '^ *+' conftest.er1 >conftest.err | 12662 grep -v '^ *+' conftest.er1 >conftest.err |
10835 rm -f conftest.er1 | 12663 rm -f conftest.er1 |
10836 cat conftest.err >&5 | 12664 cat conftest.err >&5 |
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10838 (exit $ac_status); } && | 12666 (exit $ac_status); } && |
10839 { ac_try='test -z "$ac_c_werror_flag" | 12667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10840 || test ! -s conftest.err' | 12668 { (case "(($ac_try" in |
10841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10842 (eval $ac_try) 2>&5 | 12670 *) ac_try_echo=$ac_try;; |
12671 esac | |
12672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12673 (eval "$ac_try") 2>&5 | |
10843 ac_status=$? | 12674 ac_status=$? |
10844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10845 (exit $ac_status); }; } && | 12676 (exit $ac_status); }; } && |
10846 { ac_try='test -s conftest.$ac_objext' | 12677 { ac_try='test -s conftest.$ac_objext' |
10847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12678 { (case "(($ac_try" in |
10848 (eval $ac_try) 2>&5 | 12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12680 *) ac_try_echo=$ac_try;; | |
12681 esac | |
12682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12683 (eval "$ac_try") 2>&5 | |
10849 ac_status=$? | 12684 ac_status=$? |
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10851 (exit $ac_status); }; }; then | 12686 (exit $ac_status); }; }; then |
10852 ac_header_compiler=yes | 12687 ac_header_compiler=yes |
10853 else | 12688 else |
10854 echo "$as_me: failed program was:" >&5 | 12689 echo "$as_me: failed program was:" >&5 |
10855 sed 's/^/| /' conftest.$ac_ext >&5 | 12690 sed 's/^/| /' conftest.$ac_ext >&5 |
10856 | 12691 |
10857 ac_header_compiler=no | 12692 ac_header_compiler=no |
10858 fi | 12693 fi |
10859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 12694 |
10860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10861 echo "${ECHO_T}$ac_header_compiler" >&6 | 12696 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
12697 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
10862 | 12698 |
10863 # Is the header present? | 12699 # Is the header present? |
10864 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 12700 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 12701 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10866 cat >conftest.$ac_ext <<_ACEOF | 12702 cat >conftest.$ac_ext <<_ACEOF |
10867 /* confdefs.h. */ | 12703 /* confdefs.h. */ |
10868 _ACEOF | 12704 _ACEOF |
10869 cat confdefs.h >>conftest.$ac_ext | 12705 cat confdefs.h >>conftest.$ac_ext |
10870 cat >>conftest.$ac_ext <<_ACEOF | 12706 cat >>conftest.$ac_ext <<_ACEOF |
10871 /* end confdefs.h. */ | 12707 /* end confdefs.h. */ |
10872 #include <$ac_header> | 12708 #include <$ac_header> |
10873 _ACEOF | 12709 _ACEOF |
10874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 12710 if { (ac_try="$ac_cpp conftest.$ac_ext" |
10875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 12711 case "(($ac_try" in |
12712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12713 *) ac_try_echo=$ac_try;; | |
12714 esac | |
12715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
10876 ac_status=$? | 12717 ac_status=$? |
10877 grep -v '^ *+' conftest.er1 >conftest.err | 12718 grep -v '^ *+' conftest.er1 >conftest.err |
10878 rm -f conftest.er1 | 12719 rm -f conftest.er1 |
10879 cat conftest.err >&5 | 12720 cat conftest.err >&5 |
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10894 echo "$as_me: failed program was:" >&5 | 12735 echo "$as_me: failed program was:" >&5 |
10895 sed 's/^/| /' conftest.$ac_ext >&5 | 12736 sed 's/^/| /' conftest.$ac_ext >&5 |
10896 | 12737 |
10897 ac_header_preproc=no | 12738 ac_header_preproc=no |
10898 fi | 12739 fi |
12740 | |
10899 rm -f conftest.err conftest.$ac_ext | 12741 rm -f conftest.err conftest.$ac_ext |
10900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 12742 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
10901 echo "${ECHO_T}$ac_header_preproc" >&6 | 12743 echo "${ECHO_T}$ac_header_preproc" >&6; } |
10902 | 12744 |
10903 # So? What about this header? | 12745 # So? What about this header? |
10904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 12746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
10905 yes:no: ) | 12747 yes:no: ) |
10906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 12748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 12762 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 12763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 12764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 12765 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 12766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10925 ( | 12767 |
10926 cat <<\_ASBOX | |
10927 ## ------------------------------------------ ## | |
10928 ## Report this to the AC_PACKAGE_NAME lists. ## | |
10929 ## ------------------------------------------ ## | |
10930 _ASBOX | |
10931 ) | | |
10932 sed "s/^/$as_me: WARNING: /" >&2 | |
10933 ;; | 12768 ;; |
10934 esac | 12769 esac |
10935 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 12770 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 12771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10937 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 12772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10938 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12773 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10939 else | 12774 else |
10940 eval "$as_ac_Header=\$ac_header_preproc" | 12775 eval "$as_ac_Header=\$ac_header_preproc" |
10941 fi | 12776 fi |
10942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 12777 ac_res=`eval echo '${'$as_ac_Header'}'` |
10943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 12778 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
12779 echo "${ECHO_T}$ac_res" >&6; } | |
10944 | 12780 |
10945 fi | 12781 fi |
10946 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 12782 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
10947 cat >>confdefs.h <<_ACEOF | 12783 cat >>confdefs.h <<_ACEOF |
10948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 12784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10951 fi | 12787 fi |
10952 | 12788 |
10953 done | 12789 done |
10954 | 12790 |
10955 if test "$ac_cv_header_pthread_h"; then | 12791 if test "$ac_cv_header_pthread_h"; then |
10956 echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 | 12792 { echo "$as_me:$LINENO: checking for pthread_self in -lpthread" >&5 |
10957 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6 | 12793 echo $ECHO_N "checking for pthread_self in -lpthread... $ECHO_C" >&6; } |
10958 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then | 12794 if test "${ac_cv_lib_pthread_pthread_self+set}" = set; then |
10959 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12795 echo $ECHO_N "(cached) $ECHO_C" >&6 |
10960 else | 12796 else |
10961 ac_check_lib_save_LIBS=$LIBS | 12797 ac_check_lib_save_LIBS=$LIBS |
10962 LIBS="-lpthread $LIBS" | 12798 LIBS="-lpthread $LIBS" |
10965 _ACEOF | 12801 _ACEOF |
10966 cat confdefs.h >>conftest.$ac_ext | 12802 cat confdefs.h >>conftest.$ac_ext |
10967 cat >>conftest.$ac_ext <<_ACEOF | 12803 cat >>conftest.$ac_ext <<_ACEOF |
10968 /* end confdefs.h. */ | 12804 /* end confdefs.h. */ |
10969 | 12805 |
10970 /* Override any gcc2 internal prototype to avoid an error. */ | 12806 /* Override any GCC internal prototype to avoid an error. |
12807 Use char because int might match the return type of a GCC | |
12808 builtin and then its argument prototype would still apply. */ | |
10971 #ifdef __cplusplus | 12809 #ifdef __cplusplus |
10972 extern "C" | 12810 extern "C" |
10973 #endif | 12811 #endif |
10974 /* We use char because int might match the return type of a gcc2 | |
10975 builtin and then its argument prototype would still apply. */ | |
10976 char pthread_self (); | 12812 char pthread_self (); |
10977 int | 12813 int |
10978 main () | 12814 main () |
10979 { | 12815 { |
10980 pthread_self (); | 12816 return pthread_self (); |
10981 ; | 12817 ; |
10982 return 0; | 12818 return 0; |
10983 } | 12819 } |
10984 _ACEOF | 12820 _ACEOF |
10985 rm -f conftest.$ac_objext conftest$ac_exeext | 12821 rm -f conftest.$ac_objext conftest$ac_exeext |
10986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12822 if { (ac_try="$ac_link" |
10987 (eval $ac_link) 2>conftest.er1 | 12823 case "(($ac_try" in |
12824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12825 *) ac_try_echo=$ac_try;; | |
12826 esac | |
12827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12828 (eval "$ac_link") 2>conftest.er1 | |
10988 ac_status=$? | 12829 ac_status=$? |
10989 grep -v '^ *+' conftest.er1 >conftest.err | 12830 grep -v '^ *+' conftest.er1 >conftest.err |
10990 rm -f conftest.er1 | 12831 rm -f conftest.er1 |
10991 cat conftest.err >&5 | 12832 cat conftest.err >&5 |
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10993 (exit $ac_status); } && | 12834 (exit $ac_status); } && |
10994 { ac_try='test -z "$ac_c_werror_flag" | 12835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
10995 || test ! -s conftest.err' | 12836 { (case "(($ac_try" in |
10996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10997 (eval $ac_try) 2>&5 | 12838 *) ac_try_echo=$ac_try;; |
12839 esac | |
12840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12841 (eval "$ac_try") 2>&5 | |
10998 ac_status=$? | 12842 ac_status=$? |
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11000 (exit $ac_status); }; } && | 12844 (exit $ac_status); }; } && |
11001 { ac_try='test -s conftest$ac_exeext' | 12845 { ac_try='test -s conftest$ac_exeext' |
11002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12846 { (case "(($ac_try" in |
11003 (eval $ac_try) 2>&5 | 12847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12848 *) ac_try_echo=$ac_try;; | |
12849 esac | |
12850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12851 (eval "$ac_try") 2>&5 | |
11004 ac_status=$? | 12852 ac_status=$? |
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11006 (exit $ac_status); }; }; then | 12854 (exit $ac_status); }; }; then |
11007 ac_cv_lib_pthread_pthread_self=yes | 12855 ac_cv_lib_pthread_pthread_self=yes |
11008 else | 12856 else |
11009 echo "$as_me: failed program was:" >&5 | 12857 echo "$as_me: failed program was:" >&5 |
11010 sed 's/^/| /' conftest.$ac_ext >&5 | 12858 sed 's/^/| /' conftest.$ac_ext >&5 |
11011 | 12859 |
11012 ac_cv_lib_pthread_pthread_self=no | 12860 ac_cv_lib_pthread_pthread_self=no |
11013 fi | 12861 fi |
11014 rm -f conftest.err conftest.$ac_objext \ | 12862 |
12863 rm -f core conftest.err conftest.$ac_objext \ | |
11015 conftest$ac_exeext conftest.$ac_ext | 12864 conftest$ac_exeext conftest.$ac_ext |
11016 LIBS=$ac_check_lib_save_LIBS | 12865 LIBS=$ac_check_lib_save_LIBS |
11017 fi | 12866 fi |
11018 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 | 12867 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_self" >&5 |
11019 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6 | 12868 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_self" >&6; } |
11020 if test $ac_cv_lib_pthread_pthread_self = yes; then | 12869 if test $ac_cv_lib_pthread_pthread_self = yes; then |
11021 HAVE_GTK_AND_PTHREAD=yes | 12870 HAVE_GTK_AND_PTHREAD=yes |
11022 fi | 12871 fi |
11023 | 12872 |
11024 fi | 12873 fi |
11033 fi | 12882 fi |
11034 fi | 12883 fi |
11035 | 12884 |
11036 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 12885 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
11037 if test x"${HAVE_X11R5}" = xyes; then | 12886 if test x"${HAVE_X11R5}" = xyes; then |
11038 echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 | 12887 { echo "$as_me:$LINENO: checking X11 version 5 with Xaw" >&5 |
11039 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6 | 12888 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6; } |
11040 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then | 12889 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then |
11041 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12890 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11042 else | 12891 else |
11043 cat >conftest.$ac_ext <<_ACEOF | 12892 cat >conftest.$ac_ext <<_ACEOF |
11044 /* confdefs.h. */ | 12893 /* confdefs.h. */ |
11056 ; | 12905 ; |
11057 return 0; | 12906 return 0; |
11058 } | 12907 } |
11059 _ACEOF | 12908 _ACEOF |
11060 rm -f conftest.$ac_objext conftest$ac_exeext | 12909 rm -f conftest.$ac_objext conftest$ac_exeext |
11061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12910 if { (ac_try="$ac_link" |
11062 (eval $ac_link) 2>conftest.er1 | 12911 case "(($ac_try" in |
12912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12913 *) ac_try_echo=$ac_try;; | |
12914 esac | |
12915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12916 (eval "$ac_link") 2>conftest.er1 | |
11063 ac_status=$? | 12917 ac_status=$? |
11064 grep -v '^ *+' conftest.er1 >conftest.err | 12918 grep -v '^ *+' conftest.er1 >conftest.err |
11065 rm -f conftest.er1 | 12919 rm -f conftest.er1 |
11066 cat conftest.err >&5 | 12920 cat conftest.err >&5 |
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11068 (exit $ac_status); } && | 12922 (exit $ac_status); } && |
11069 { ac_try='test -z "$ac_c_werror_flag" | 12923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11070 || test ! -s conftest.err' | 12924 { (case "(($ac_try" in |
11071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11072 (eval $ac_try) 2>&5 | 12926 *) ac_try_echo=$ac_try;; |
12927 esac | |
12928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12929 (eval "$ac_try") 2>&5 | |
11073 ac_status=$? | 12930 ac_status=$? |
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11075 (exit $ac_status); }; } && | 12932 (exit $ac_status); }; } && |
11076 { ac_try='test -s conftest$ac_exeext' | 12933 { ac_try='test -s conftest$ac_exeext' |
11077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 12934 { (case "(($ac_try" in |
11078 (eval $ac_try) 2>&5 | 12935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12936 *) ac_try_echo=$ac_try;; | |
12937 esac | |
12938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
12939 (eval "$ac_try") 2>&5 | |
11079 ac_status=$? | 12940 ac_status=$? |
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11081 (exit $ac_status); }; }; then | 12942 (exit $ac_status); }; }; then |
11082 emacs_cv_x11_version_5_with_xaw=yes | 12943 emacs_cv_x11_version_5_with_xaw=yes |
11083 else | 12944 else |
11084 echo "$as_me: failed program was:" >&5 | 12945 echo "$as_me: failed program was:" >&5 |
11085 sed 's/^/| /' conftest.$ac_ext >&5 | 12946 sed 's/^/| /' conftest.$ac_ext >&5 |
11086 | 12947 |
11087 emacs_cv_x11_version_5_with_xaw=no | 12948 emacs_cv_x11_version_5_with_xaw=no |
11088 fi | 12949 fi |
11089 rm -f conftest.err conftest.$ac_objext \ | 12950 |
12951 rm -f core conftest.err conftest.$ac_objext \ | |
11090 conftest$ac_exeext conftest.$ac_ext | 12952 conftest$ac_exeext conftest.$ac_ext |
11091 fi | 12953 fi |
11092 | 12954 |
11093 if test $emacs_cv_x11_version_5_with_xaw = yes; then | 12955 if test $emacs_cv_x11_version_5_with_xaw = yes; then |
11094 echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 | 12956 { echo "$as_me:$LINENO: result: 5 or newer, with Xaw; use toolkit by default" >&5 |
11095 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6 | 12957 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6; } |
11096 USE_X_TOOLKIT=LUCID | 12958 USE_X_TOOLKIT=LUCID |
11097 else | 12959 else |
11098 echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 | 12960 { echo "$as_me:$LINENO: result: before 5 or no Xaw; do not use toolkit by default" >&5 |
11099 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6 | 12961 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6; } |
11100 USE_X_TOOLKIT=none | 12962 USE_X_TOOLKIT=none |
11101 fi | 12963 fi |
11102 else | 12964 else |
11103 USE_X_TOOLKIT=none | 12965 USE_X_TOOLKIT=none |
11104 fi | 12966 fi |
11105 fi | 12967 fi |
11106 | 12968 |
11107 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 12969 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
11108 | 12970 |
11109 if test "${USE_X_TOOLKIT}" != "none"; then | 12971 if test "${USE_X_TOOLKIT}" != "none"; then |
11110 echo "$as_me:$LINENO: checking X11 toolkit version" >&5 | 12972 { echo "$as_me:$LINENO: checking X11 toolkit version" >&5 |
11111 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6 | 12973 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6; } |
11112 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then | 12974 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then |
11113 echo $ECHO_N "(cached) $ECHO_C" >&6 | 12975 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11114 else | 12976 else |
11115 cat >conftest.$ac_ext <<_ACEOF | 12977 cat >conftest.$ac_ext <<_ACEOF |
11116 /* confdefs.h. */ | 12978 /* confdefs.h. */ |
11129 ; | 12991 ; |
11130 return 0; | 12992 return 0; |
11131 } | 12993 } |
11132 _ACEOF | 12994 _ACEOF |
11133 rm -f conftest.$ac_objext conftest$ac_exeext | 12995 rm -f conftest.$ac_objext conftest$ac_exeext |
11134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 12996 if { (ac_try="$ac_link" |
11135 (eval $ac_link) 2>conftest.er1 | 12997 case "(($ac_try" in |
12998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12999 *) ac_try_echo=$ac_try;; | |
13000 esac | |
13001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13002 (eval "$ac_link") 2>conftest.er1 | |
11136 ac_status=$? | 13003 ac_status=$? |
11137 grep -v '^ *+' conftest.er1 >conftest.err | 13004 grep -v '^ *+' conftest.er1 >conftest.err |
11138 rm -f conftest.er1 | 13005 rm -f conftest.er1 |
11139 cat conftest.err >&5 | 13006 cat conftest.err >&5 |
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11141 (exit $ac_status); } && | 13008 (exit $ac_status); } && |
11142 { ac_try='test -z "$ac_c_werror_flag" | 13009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11143 || test ! -s conftest.err' | 13010 { (case "(($ac_try" in |
11144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11145 (eval $ac_try) 2>&5 | 13012 *) ac_try_echo=$ac_try;; |
13013 esac | |
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13015 (eval "$ac_try") 2>&5 | |
11146 ac_status=$? | 13016 ac_status=$? |
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11148 (exit $ac_status); }; } && | 13018 (exit $ac_status); }; } && |
11149 { ac_try='test -s conftest$ac_exeext' | 13019 { ac_try='test -s conftest$ac_exeext' |
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13020 { (case "(($ac_try" in |
11151 (eval $ac_try) 2>&5 | 13021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13022 *) ac_try_echo=$ac_try;; | |
13023 esac | |
13024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13025 (eval "$ac_try") 2>&5 | |
11152 ac_status=$? | 13026 ac_status=$? |
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11154 (exit $ac_status); }; }; then | 13028 (exit $ac_status); }; }; then |
11155 emacs_cv_x11_toolkit_version_6=yes | 13029 emacs_cv_x11_toolkit_version_6=yes |
11156 else | 13030 else |
11157 echo "$as_me: failed program was:" >&5 | 13031 echo "$as_me: failed program was:" >&5 |
11158 sed 's/^/| /' conftest.$ac_ext >&5 | 13032 sed 's/^/| /' conftest.$ac_ext >&5 |
11159 | 13033 |
11160 emacs_cv_x11_toolkit_version_6=no | 13034 emacs_cv_x11_toolkit_version_6=no |
11161 fi | 13035 fi |
11162 rm -f conftest.err conftest.$ac_objext \ | 13036 |
13037 rm -f core conftest.err conftest.$ac_objext \ | |
11163 conftest$ac_exeext conftest.$ac_ext | 13038 conftest$ac_exeext conftest.$ac_ext |
11164 fi | 13039 fi |
11165 | 13040 |
11166 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 | 13041 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6 |
11167 if test $emacs_cv_x11_toolkit_version_6 = yes; then | 13042 if test $emacs_cv_x11_toolkit_version_6 = yes; then |
11168 echo "$as_me:$LINENO: result: 6 or newer" >&5 | 13043 { echo "$as_me:$LINENO: result: 6 or newer" >&5 |
11169 echo "${ECHO_T}6 or newer" >&6 | 13044 echo "${ECHO_T}6 or newer" >&6; } |
11170 | 13045 |
11171 cat >>confdefs.h <<\_ACEOF | 13046 cat >>confdefs.h <<\_ACEOF |
11172 #define HAVE_X11XTR6 1 | 13047 #define HAVE_X11XTR6 1 |
11173 _ACEOF | 13048 _ACEOF |
11174 | 13049 |
11175 else | 13050 else |
11176 echo "$as_me:$LINENO: result: before 6" >&5 | 13051 { echo "$as_me:$LINENO: result: before 6" >&5 |
11177 echo "${ECHO_T}before 6" >&6 | 13052 echo "${ECHO_T}before 6" >&6; } |
11178 fi | 13053 fi |
11179 | 13054 |
11180 OLDLIBS="$LIBS" | 13055 OLDLIBS="$LIBS" |
11181 if test x$HAVE_X11XTR6 = xyes; then | 13056 if test x$HAVE_X11XTR6 = xyes; then |
11182 LIBS="-lXt -lSM -lICE $LIBS" | 13057 LIBS="-lXt -lSM -lICE $LIBS" |
11183 else | 13058 else |
11184 LIBS="-lXt $LIBS" | 13059 LIBS="-lXt $LIBS" |
11185 fi | 13060 fi |
11186 | 13061 |
11187 echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 | 13062 { echo "$as_me:$LINENO: checking for XmuConvertStandardSelection in -lXmu" >&5 |
11188 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6 | 13063 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6; } |
11189 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then | 13064 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then |
11190 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13065 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11191 else | 13066 else |
11192 ac_check_lib_save_LIBS=$LIBS | 13067 ac_check_lib_save_LIBS=$LIBS |
11193 LIBS="-lXmu $LIBS" | 13068 LIBS="-lXmu $LIBS" |
11196 _ACEOF | 13071 _ACEOF |
11197 cat confdefs.h >>conftest.$ac_ext | 13072 cat confdefs.h >>conftest.$ac_ext |
11198 cat >>conftest.$ac_ext <<_ACEOF | 13073 cat >>conftest.$ac_ext <<_ACEOF |
11199 /* end confdefs.h. */ | 13074 /* end confdefs.h. */ |
11200 | 13075 |
11201 /* Override any gcc2 internal prototype to avoid an error. */ | 13076 /* Override any GCC internal prototype to avoid an error. |
13077 Use char because int might match the return type of a GCC | |
13078 builtin and then its argument prototype would still apply. */ | |
11202 #ifdef __cplusplus | 13079 #ifdef __cplusplus |
11203 extern "C" | 13080 extern "C" |
11204 #endif | 13081 #endif |
11205 /* We use char because int might match the return type of a gcc2 | |
11206 builtin and then its argument prototype would still apply. */ | |
11207 char XmuConvertStandardSelection (); | 13082 char XmuConvertStandardSelection (); |
11208 int | 13083 int |
11209 main () | 13084 main () |
11210 { | 13085 { |
11211 XmuConvertStandardSelection (); | 13086 return XmuConvertStandardSelection (); |
11212 ; | 13087 ; |
11213 return 0; | 13088 return 0; |
11214 } | 13089 } |
11215 _ACEOF | 13090 _ACEOF |
11216 rm -f conftest.$ac_objext conftest$ac_exeext | 13091 rm -f conftest.$ac_objext conftest$ac_exeext |
11217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13092 if { (ac_try="$ac_link" |
11218 (eval $ac_link) 2>conftest.er1 | 13093 case "(($ac_try" in |
13094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13095 *) ac_try_echo=$ac_try;; | |
13096 esac | |
13097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13098 (eval "$ac_link") 2>conftest.er1 | |
11219 ac_status=$? | 13099 ac_status=$? |
11220 grep -v '^ *+' conftest.er1 >conftest.err | 13100 grep -v '^ *+' conftest.er1 >conftest.err |
11221 rm -f conftest.er1 | 13101 rm -f conftest.er1 |
11222 cat conftest.err >&5 | 13102 cat conftest.err >&5 |
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11224 (exit $ac_status); } && | 13104 (exit $ac_status); } && |
11225 { ac_try='test -z "$ac_c_werror_flag" | 13105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11226 || test ! -s conftest.err' | 13106 { (case "(($ac_try" in |
11227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11228 (eval $ac_try) 2>&5 | 13108 *) ac_try_echo=$ac_try;; |
13109 esac | |
13110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13111 (eval "$ac_try") 2>&5 | |
11229 ac_status=$? | 13112 ac_status=$? |
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11231 (exit $ac_status); }; } && | 13114 (exit $ac_status); }; } && |
11232 { ac_try='test -s conftest$ac_exeext' | 13115 { ac_try='test -s conftest$ac_exeext' |
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13116 { (case "(($ac_try" in |
11234 (eval $ac_try) 2>&5 | 13117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13118 *) ac_try_echo=$ac_try;; | |
13119 esac | |
13120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13121 (eval "$ac_try") 2>&5 | |
11235 ac_status=$? | 13122 ac_status=$? |
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11237 (exit $ac_status); }; }; then | 13124 (exit $ac_status); }; }; then |
11238 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes | 13125 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes |
11239 else | 13126 else |
11240 echo "$as_me: failed program was:" >&5 | 13127 echo "$as_me: failed program was:" >&5 |
11241 sed 's/^/| /' conftest.$ac_ext >&5 | 13128 sed 's/^/| /' conftest.$ac_ext >&5 |
11242 | 13129 |
11243 ac_cv_lib_Xmu_XmuConvertStandardSelection=no | 13130 ac_cv_lib_Xmu_XmuConvertStandardSelection=no |
11244 fi | 13131 fi |
11245 rm -f conftest.err conftest.$ac_objext \ | 13132 |
13133 rm -f core conftest.err conftest.$ac_objext \ | |
11246 conftest$ac_exeext conftest.$ac_ext | 13134 conftest$ac_exeext conftest.$ac_ext |
11247 LIBS=$ac_check_lib_save_LIBS | 13135 LIBS=$ac_check_lib_save_LIBS |
11248 fi | 13136 fi |
11249 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 | 13137 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5 |
11250 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6 | 13138 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6; } |
11251 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then | 13139 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then |
11252 cat >>confdefs.h <<_ACEOF | 13140 cat >>confdefs.h <<_ACEOF |
11253 #define HAVE_LIBXMU 1 | 13141 #define HAVE_LIBXMU 1 |
11254 _ACEOF | 13142 _ACEOF |
11255 | 13143 |
11262 | 13150 |
11263 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. | 13151 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D. |
11264 if test "${HAVE_X11}" = "yes"; then | 13152 if test "${HAVE_X11}" = "yes"; then |
11265 if test "${USE_X_TOOLKIT}" != "none"; then | 13153 if test "${USE_X_TOOLKIT}" != "none"; then |
11266 | 13154 |
11267 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 | 13155 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5 |
11268 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6 | 13156 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; } |
11269 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then | 13157 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then |
11270 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13158 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11271 else | 13159 else |
11272 ac_check_lib_save_LIBS=$LIBS | 13160 ac_check_lib_save_LIBS=$LIBS |
11273 LIBS="-lXext $LIBS" | 13161 LIBS="-lXext $LIBS" |
11276 _ACEOF | 13164 _ACEOF |
11277 cat confdefs.h >>conftest.$ac_ext | 13165 cat confdefs.h >>conftest.$ac_ext |
11278 cat >>conftest.$ac_ext <<_ACEOF | 13166 cat >>conftest.$ac_ext <<_ACEOF |
11279 /* end confdefs.h. */ | 13167 /* end confdefs.h. */ |
11280 | 13168 |
11281 /* Override any gcc2 internal prototype to avoid an error. */ | 13169 /* Override any GCC internal prototype to avoid an error. |
13170 Use char because int might match the return type of a GCC | |
13171 builtin and then its argument prototype would still apply. */ | |
11282 #ifdef __cplusplus | 13172 #ifdef __cplusplus |
11283 extern "C" | 13173 extern "C" |
11284 #endif | 13174 #endif |
11285 /* We use char because int might match the return type of a gcc2 | |
11286 builtin and then its argument prototype would still apply. */ | |
11287 char XShapeQueryExtension (); | 13175 char XShapeQueryExtension (); |
11288 int | 13176 int |
11289 main () | 13177 main () |
11290 { | 13178 { |
11291 XShapeQueryExtension (); | 13179 return XShapeQueryExtension (); |
11292 ; | 13180 ; |
11293 return 0; | 13181 return 0; |
11294 } | 13182 } |
11295 _ACEOF | 13183 _ACEOF |
11296 rm -f conftest.$ac_objext conftest$ac_exeext | 13184 rm -f conftest.$ac_objext conftest$ac_exeext |
11297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13185 if { (ac_try="$ac_link" |
11298 (eval $ac_link) 2>conftest.er1 | 13186 case "(($ac_try" in |
13187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13188 *) ac_try_echo=$ac_try;; | |
13189 esac | |
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13191 (eval "$ac_link") 2>conftest.er1 | |
11299 ac_status=$? | 13192 ac_status=$? |
11300 grep -v '^ *+' conftest.er1 >conftest.err | 13193 grep -v '^ *+' conftest.er1 >conftest.err |
11301 rm -f conftest.er1 | 13194 rm -f conftest.er1 |
11302 cat conftest.err >&5 | 13195 cat conftest.err >&5 |
11303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11304 (exit $ac_status); } && | 13197 (exit $ac_status); } && |
11305 { ac_try='test -z "$ac_c_werror_flag" | 13198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11306 || test ! -s conftest.err' | 13199 { (case "(($ac_try" in |
11307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11308 (eval $ac_try) 2>&5 | 13201 *) ac_try_echo=$ac_try;; |
13202 esac | |
13203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13204 (eval "$ac_try") 2>&5 | |
11309 ac_status=$? | 13205 ac_status=$? |
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11311 (exit $ac_status); }; } && | 13207 (exit $ac_status); }; } && |
11312 { ac_try='test -s conftest$ac_exeext' | 13208 { ac_try='test -s conftest$ac_exeext' |
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13209 { (case "(($ac_try" in |
11314 (eval $ac_try) 2>&5 | 13210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13211 *) ac_try_echo=$ac_try;; | |
13212 esac | |
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13214 (eval "$ac_try") 2>&5 | |
11315 ac_status=$? | 13215 ac_status=$? |
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11317 (exit $ac_status); }; }; then | 13217 (exit $ac_status); }; }; then |
11318 ac_cv_lib_Xext_XShapeQueryExtension=yes | 13218 ac_cv_lib_Xext_XShapeQueryExtension=yes |
11319 else | 13219 else |
11320 echo "$as_me: failed program was:" >&5 | 13220 echo "$as_me: failed program was:" >&5 |
11321 sed 's/^/| /' conftest.$ac_ext >&5 | 13221 sed 's/^/| /' conftest.$ac_ext >&5 |
11322 | 13222 |
11323 ac_cv_lib_Xext_XShapeQueryExtension=no | 13223 ac_cv_lib_Xext_XShapeQueryExtension=no |
11324 fi | 13224 fi |
11325 rm -f conftest.err conftest.$ac_objext \ | 13225 |
13226 rm -f core conftest.err conftest.$ac_objext \ | |
11326 conftest$ac_exeext conftest.$ac_ext | 13227 conftest$ac_exeext conftest.$ac_ext |
11327 LIBS=$ac_check_lib_save_LIBS | 13228 LIBS=$ac_check_lib_save_LIBS |
11328 fi | 13229 fi |
11329 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 | 13230 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5 |
11330 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6 | 13231 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; } |
11331 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then | 13232 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then |
11332 cat >>confdefs.h <<_ACEOF | 13233 cat >>confdefs.h <<_ACEOF |
11333 #define HAVE_LIBXEXT 1 | 13234 #define HAVE_LIBXEXT 1 |
11334 _ACEOF | 13235 _ACEOF |
11335 | 13236 |
11339 | 13240 |
11340 fi | 13241 fi |
11341 fi | 13242 fi |
11342 | 13243 |
11343 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 13244 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
11344 echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 | 13245 { echo "$as_me:$LINENO: checking for Motif version 2.1" >&5 |
11345 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6 | 13246 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6; } |
11346 if test "${emacs_cv_motif_version_2_1+set}" = set; then | 13247 if test "${emacs_cv_motif_version_2_1+set}" = set; then |
11347 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13248 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11348 else | 13249 else |
11349 cat >conftest.$ac_ext <<_ACEOF | 13250 cat >conftest.$ac_ext <<_ACEOF |
11350 /* confdefs.h. */ | 13251 /* confdefs.h. */ |
11364 ; | 13265 ; |
11365 return 0; | 13266 return 0; |
11366 } | 13267 } |
11367 _ACEOF | 13268 _ACEOF |
11368 rm -f conftest.$ac_objext | 13269 rm -f conftest.$ac_objext |
11369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13270 if { (ac_try="$ac_compile" |
11370 (eval $ac_compile) 2>conftest.er1 | 13271 case "(($ac_try" in |
13272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13273 *) ac_try_echo=$ac_try;; | |
13274 esac | |
13275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13276 (eval "$ac_compile") 2>conftest.er1 | |
11371 ac_status=$? | 13277 ac_status=$? |
11372 grep -v '^ *+' conftest.er1 >conftest.err | 13278 grep -v '^ *+' conftest.er1 >conftest.err |
11373 rm -f conftest.er1 | 13279 rm -f conftest.er1 |
11374 cat conftest.err >&5 | 13280 cat conftest.err >&5 |
11375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11376 (exit $ac_status); } && | 13282 (exit $ac_status); } && |
11377 { ac_try='test -z "$ac_c_werror_flag" | 13283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11378 || test ! -s conftest.err' | 13284 { (case "(($ac_try" in |
11379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11380 (eval $ac_try) 2>&5 | 13286 *) ac_try_echo=$ac_try;; |
13287 esac | |
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13289 (eval "$ac_try") 2>&5 | |
11381 ac_status=$? | 13290 ac_status=$? |
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11383 (exit $ac_status); }; } && | 13292 (exit $ac_status); }; } && |
11384 { ac_try='test -s conftest.$ac_objext' | 13293 { ac_try='test -s conftest.$ac_objext' |
11385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13294 { (case "(($ac_try" in |
11386 (eval $ac_try) 2>&5 | 13295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13296 *) ac_try_echo=$ac_try;; | |
13297 esac | |
13298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13299 (eval "$ac_try") 2>&5 | |
11387 ac_status=$? | 13300 ac_status=$? |
11388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11389 (exit $ac_status); }; }; then | 13302 (exit $ac_status); }; }; then |
11390 emacs_cv_motif_version_2_1=yes | 13303 emacs_cv_motif_version_2_1=yes |
11391 else | 13304 else |
11392 echo "$as_me: failed program was:" >&5 | 13305 echo "$as_me: failed program was:" >&5 |
11393 sed 's/^/| /' conftest.$ac_ext >&5 | 13306 sed 's/^/| /' conftest.$ac_ext >&5 |
11394 | 13307 |
11395 emacs_cv_motif_version_2_1=no | 13308 emacs_cv_motif_version_2_1=no |
11396 fi | 13309 fi |
11397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13310 |
11398 fi | 13311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11399 echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 | 13312 fi |
11400 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6 | 13313 { echo "$as_me:$LINENO: result: $emacs_cv_motif_version_2_1" >&5 |
13314 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6; } | |
11401 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 | 13315 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1 |
11402 if test $emacs_cv_motif_version_2_1 = yes; then | 13316 if test $emacs_cv_motif_version_2_1 = yes; then |
11403 HAVE_LIBXP=no | 13317 HAVE_LIBXP=no |
11404 | 13318 |
11405 cat >>confdefs.h <<\_ACEOF | 13319 cat >>confdefs.h <<\_ACEOF |
11406 #define HAVE_MOTIF_2_1 1 | 13320 #define HAVE_MOTIF_2_1 1 |
11407 _ACEOF | 13321 _ACEOF |
11408 | 13322 |
11409 echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 | 13323 { echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5 |
11410 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6 | 13324 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6; } |
11411 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then | 13325 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then |
11412 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13326 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11413 else | 13327 else |
11414 ac_check_lib_save_LIBS=$LIBS | 13328 ac_check_lib_save_LIBS=$LIBS |
11415 LIBS="-lXp $LIBS" | 13329 LIBS="-lXp $LIBS" |
11418 _ACEOF | 13332 _ACEOF |
11419 cat confdefs.h >>conftest.$ac_ext | 13333 cat confdefs.h >>conftest.$ac_ext |
11420 cat >>conftest.$ac_ext <<_ACEOF | 13334 cat >>conftest.$ac_ext <<_ACEOF |
11421 /* end confdefs.h. */ | 13335 /* end confdefs.h. */ |
11422 | 13336 |
11423 /* Override any gcc2 internal prototype to avoid an error. */ | 13337 /* Override any GCC internal prototype to avoid an error. |
13338 Use char because int might match the return type of a GCC | |
13339 builtin and then its argument prototype would still apply. */ | |
11424 #ifdef __cplusplus | 13340 #ifdef __cplusplus |
11425 extern "C" | 13341 extern "C" |
11426 #endif | 13342 #endif |
11427 /* We use char because int might match the return type of a gcc2 | |
11428 builtin and then its argument prototype would still apply. */ | |
11429 char XpCreateContext (); | 13343 char XpCreateContext (); |
11430 int | 13344 int |
11431 main () | 13345 main () |
11432 { | 13346 { |
11433 XpCreateContext (); | 13347 return XpCreateContext (); |
11434 ; | 13348 ; |
11435 return 0; | 13349 return 0; |
11436 } | 13350 } |
11437 _ACEOF | 13351 _ACEOF |
11438 rm -f conftest.$ac_objext conftest$ac_exeext | 13352 rm -f conftest.$ac_objext conftest$ac_exeext |
11439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13353 if { (ac_try="$ac_link" |
11440 (eval $ac_link) 2>conftest.er1 | 13354 case "(($ac_try" in |
13355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13356 *) ac_try_echo=$ac_try;; | |
13357 esac | |
13358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13359 (eval "$ac_link") 2>conftest.er1 | |
11441 ac_status=$? | 13360 ac_status=$? |
11442 grep -v '^ *+' conftest.er1 >conftest.err | 13361 grep -v '^ *+' conftest.er1 >conftest.err |
11443 rm -f conftest.er1 | 13362 rm -f conftest.er1 |
11444 cat conftest.err >&5 | 13363 cat conftest.err >&5 |
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11446 (exit $ac_status); } && | 13365 (exit $ac_status); } && |
11447 { ac_try='test -z "$ac_c_werror_flag" | 13366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11448 || test ! -s conftest.err' | 13367 { (case "(($ac_try" in |
11449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11450 (eval $ac_try) 2>&5 | 13369 *) ac_try_echo=$ac_try;; |
13370 esac | |
13371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13372 (eval "$ac_try") 2>&5 | |
11451 ac_status=$? | 13373 ac_status=$? |
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11453 (exit $ac_status); }; } && | 13375 (exit $ac_status); }; } && |
11454 { ac_try='test -s conftest$ac_exeext' | 13376 { ac_try='test -s conftest$ac_exeext' |
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13377 { (case "(($ac_try" in |
11456 (eval $ac_try) 2>&5 | 13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13379 *) ac_try_echo=$ac_try;; | |
13380 esac | |
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13382 (eval "$ac_try") 2>&5 | |
11457 ac_status=$? | 13383 ac_status=$? |
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11459 (exit $ac_status); }; }; then | 13385 (exit $ac_status); }; }; then |
11460 ac_cv_lib_Xp_XpCreateContext=yes | 13386 ac_cv_lib_Xp_XpCreateContext=yes |
11461 else | 13387 else |
11462 echo "$as_me: failed program was:" >&5 | 13388 echo "$as_me: failed program was:" >&5 |
11463 sed 's/^/| /' conftest.$ac_ext >&5 | 13389 sed 's/^/| /' conftest.$ac_ext >&5 |
11464 | 13390 |
11465 ac_cv_lib_Xp_XpCreateContext=no | 13391 ac_cv_lib_Xp_XpCreateContext=no |
11466 fi | 13392 fi |
11467 rm -f conftest.err conftest.$ac_objext \ | 13393 |
13394 rm -f core conftest.err conftest.$ac_objext \ | |
11468 conftest$ac_exeext conftest.$ac_ext | 13395 conftest$ac_exeext conftest.$ac_ext |
11469 LIBS=$ac_check_lib_save_LIBS | 13396 LIBS=$ac_check_lib_save_LIBS |
11470 fi | 13397 fi |
11471 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 | 13398 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5 |
11472 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6 | 13399 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6; } |
11473 if test $ac_cv_lib_Xp_XpCreateContext = yes; then | 13400 if test $ac_cv_lib_Xp_XpCreateContext = yes; then |
11474 HAVE_LIBXP=yes | 13401 HAVE_LIBXP=yes |
11475 fi | 13402 fi |
11476 | 13403 |
11477 if test ${HAVE_LIBXP} = yes; then | 13404 if test ${HAVE_LIBXP} = yes; then |
11480 #define HAVE_LIBXP 1 | 13407 #define HAVE_LIBXP 1 |
11481 _ACEOF | 13408 _ACEOF |
11482 | 13409 |
11483 fi | 13410 fi |
11484 else | 13411 else |
11485 echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 | 13412 { echo "$as_me:$LINENO: checking for LessTif where some systems put it" >&5 |
11486 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6 | 13413 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6; } |
11487 if test "${emacs_cv_lesstif+set}" = set; then | 13414 if test "${emacs_cv_lesstif+set}" = set; then |
11488 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13415 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11489 else | 13416 else |
11490 # We put this in CFLAGS temporarily to precede other -I options | 13417 # We put this in CFLAGS temporarily to precede other -I options |
11491 # that might be in CFLAGS temporarily. | 13418 # that might be in CFLAGS temporarily. |
11508 ; | 13435 ; |
11509 return 0; | 13436 return 0; |
11510 } | 13437 } |
11511 _ACEOF | 13438 _ACEOF |
11512 rm -f conftest.$ac_objext | 13439 rm -f conftest.$ac_objext |
11513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13440 if { (ac_try="$ac_compile" |
11514 (eval $ac_compile) 2>conftest.er1 | 13441 case "(($ac_try" in |
13442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13443 *) ac_try_echo=$ac_try;; | |
13444 esac | |
13445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13446 (eval "$ac_compile") 2>conftest.er1 | |
11515 ac_status=$? | 13447 ac_status=$? |
11516 grep -v '^ *+' conftest.er1 >conftest.err | 13448 grep -v '^ *+' conftest.er1 >conftest.err |
11517 rm -f conftest.er1 | 13449 rm -f conftest.er1 |
11518 cat conftest.err >&5 | 13450 cat conftest.err >&5 |
11519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11520 (exit $ac_status); } && | 13452 (exit $ac_status); } && |
11521 { ac_try='test -z "$ac_c_werror_flag" | 13453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11522 || test ! -s conftest.err' | 13454 { (case "(($ac_try" in |
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11524 (eval $ac_try) 2>&5 | 13456 *) ac_try_echo=$ac_try;; |
13457 esac | |
13458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13459 (eval "$ac_try") 2>&5 | |
11525 ac_status=$? | 13460 ac_status=$? |
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11527 (exit $ac_status); }; } && | 13462 (exit $ac_status); }; } && |
11528 { ac_try='test -s conftest.$ac_objext' | 13463 { ac_try='test -s conftest.$ac_objext' |
11529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13464 { (case "(($ac_try" in |
11530 (eval $ac_try) 2>&5 | 13465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13466 *) ac_try_echo=$ac_try;; | |
13467 esac | |
13468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13469 (eval "$ac_try") 2>&5 | |
11531 ac_status=$? | 13470 ac_status=$? |
11532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11533 (exit $ac_status); }; }; then | 13472 (exit $ac_status); }; }; then |
11534 emacs_cv_lesstif=yes | 13473 emacs_cv_lesstif=yes |
11535 else | 13474 else |
11536 echo "$as_me: failed program was:" >&5 | 13475 echo "$as_me: failed program was:" >&5 |
11537 sed 's/^/| /' conftest.$ac_ext >&5 | 13476 sed 's/^/| /' conftest.$ac_ext >&5 |
11538 | 13477 |
11539 emacs_cv_lesstif=no | 13478 emacs_cv_lesstif=no |
11540 fi | 13479 fi |
11541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13480 |
11542 fi | 13481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11543 echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 | 13482 fi |
11544 echo "${ECHO_T}$emacs_cv_lesstif" >&6 | 13483 { echo "$as_me:$LINENO: result: $emacs_cv_lesstif" >&5 |
13484 echo "${ECHO_T}$emacs_cv_lesstif" >&6; } | |
11545 if test $emacs_cv_lesstif = yes; then | 13485 if test $emacs_cv_lesstif = yes; then |
11546 # Make sure this -I option remains in CPPFLAGS after it is set | 13486 # Make sure this -I option remains in CPPFLAGS after it is set |
11547 # back to REAL_CPPFLAGS. | 13487 # back to REAL_CPPFLAGS. |
11548 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not | 13488 # There is no need to change REAL_CFLAGS, because REAL_CFLAGS does not |
11549 # have those other -I options anyway. Ultimately, having this | 13489 # have those other -I options anyway. Ultimately, having this |
11559 | 13499 |
11560 ### Is -lXaw3d available? | 13500 ### Is -lXaw3d available? |
11561 HAVE_XAW3D=no | 13501 HAVE_XAW3D=no |
11562 if test "${HAVE_X11}" = "yes"; then | 13502 if test "${HAVE_X11}" = "yes"; then |
11563 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then | 13503 if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then |
11564 echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 | 13504 { echo "$as_me:$LINENO: checking for X11/Xaw3d/Scrollbar.h" >&5 |
11565 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6 | 13505 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6; } |
11566 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then | 13506 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then |
11567 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13507 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11568 else | 13508 else |
11569 cat >conftest.$ac_ext <<_ACEOF | 13509 cat >conftest.$ac_ext <<_ACEOF |
11570 /* confdefs.h. */ | 13510 /* confdefs.h. */ |
11572 cat confdefs.h >>conftest.$ac_ext | 13512 cat confdefs.h >>conftest.$ac_ext |
11573 cat >>conftest.$ac_ext <<_ACEOF | 13513 cat >>conftest.$ac_ext <<_ACEOF |
11574 /* end confdefs.h. */ | 13514 /* end confdefs.h. */ |
11575 #include <X11/Xaw3d/Scrollbar.h> | 13515 #include <X11/Xaw3d/Scrollbar.h> |
11576 _ACEOF | 13516 _ACEOF |
11577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 13517 if { (ac_try="$ac_cpp conftest.$ac_ext" |
11578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 13518 case "(($ac_try" in |
13519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13520 *) ac_try_echo=$ac_try;; | |
13521 esac | |
13522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
11579 ac_status=$? | 13524 ac_status=$? |
11580 grep -v '^ *+' conftest.er1 >conftest.err | 13525 grep -v '^ *+' conftest.er1 >conftest.err |
11581 rm -f conftest.er1 | 13526 rm -f conftest.er1 |
11582 cat conftest.err >&5 | 13527 cat conftest.err >&5 |
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11597 echo "$as_me: failed program was:" >&5 | 13542 echo "$as_me: failed program was:" >&5 |
11598 sed 's/^/| /' conftest.$ac_ext >&5 | 13543 sed 's/^/| /' conftest.$ac_ext >&5 |
11599 | 13544 |
11600 ac_cv_header_X11_Xaw3d_Scrollbar_h=no | 13545 ac_cv_header_X11_Xaw3d_Scrollbar_h=no |
11601 fi | 13546 fi |
13547 | |
11602 rm -f conftest.err conftest.$ac_ext | 13548 rm -f conftest.err conftest.$ac_ext |
11603 fi | 13549 fi |
11604 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 | 13550 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5 |
11605 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6 | 13551 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6; } |
11606 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then | 13552 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then |
11607 echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 13553 { echo "$as_me:$LINENO: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
11608 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6 | 13554 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6; } |
11609 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then | 13555 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then |
11610 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13556 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11611 else | 13557 else |
11612 ac_check_lib_save_LIBS=$LIBS | 13558 ac_check_lib_save_LIBS=$LIBS |
11613 LIBS="-lXaw3d $LIBS" | 13559 LIBS="-lXaw3d $LIBS" |
11616 _ACEOF | 13562 _ACEOF |
11617 cat confdefs.h >>conftest.$ac_ext | 13563 cat confdefs.h >>conftest.$ac_ext |
11618 cat >>conftest.$ac_ext <<_ACEOF | 13564 cat >>conftest.$ac_ext <<_ACEOF |
11619 /* end confdefs.h. */ | 13565 /* end confdefs.h. */ |
11620 | 13566 |
11621 /* Override any gcc2 internal prototype to avoid an error. */ | 13567 /* Override any GCC internal prototype to avoid an error. |
13568 Use char because int might match the return type of a GCC | |
13569 builtin and then its argument prototype would still apply. */ | |
11622 #ifdef __cplusplus | 13570 #ifdef __cplusplus |
11623 extern "C" | 13571 extern "C" |
11624 #endif | 13572 #endif |
11625 /* We use char because int might match the return type of a gcc2 | |
11626 builtin and then its argument prototype would still apply. */ | |
11627 char XawScrollbarSetThumb (); | 13573 char XawScrollbarSetThumb (); |
11628 int | 13574 int |
11629 main () | 13575 main () |
11630 { | 13576 { |
11631 XawScrollbarSetThumb (); | 13577 return XawScrollbarSetThumb (); |
11632 ; | 13578 ; |
11633 return 0; | 13579 return 0; |
11634 } | 13580 } |
11635 _ACEOF | 13581 _ACEOF |
11636 rm -f conftest.$ac_objext conftest$ac_exeext | 13582 rm -f conftest.$ac_objext conftest$ac_exeext |
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 13583 if { (ac_try="$ac_link" |
11638 (eval $ac_link) 2>conftest.er1 | 13584 case "(($ac_try" in |
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13586 *) ac_try_echo=$ac_try;; | |
13587 esac | |
13588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13589 (eval "$ac_link") 2>conftest.er1 | |
11639 ac_status=$? | 13590 ac_status=$? |
11640 grep -v '^ *+' conftest.er1 >conftest.err | 13591 grep -v '^ *+' conftest.er1 >conftest.err |
11641 rm -f conftest.er1 | 13592 rm -f conftest.er1 |
11642 cat conftest.err >&5 | 13593 cat conftest.err >&5 |
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11644 (exit $ac_status); } && | 13595 (exit $ac_status); } && |
11645 { ac_try='test -z "$ac_c_werror_flag" | 13596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11646 || test ! -s conftest.err' | 13597 { (case "(($ac_try" in |
11647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11648 (eval $ac_try) 2>&5 | 13599 *) ac_try_echo=$ac_try;; |
13600 esac | |
13601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13602 (eval "$ac_try") 2>&5 | |
11649 ac_status=$? | 13603 ac_status=$? |
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11651 (exit $ac_status); }; } && | 13605 (exit $ac_status); }; } && |
11652 { ac_try='test -s conftest$ac_exeext' | 13606 { ac_try='test -s conftest$ac_exeext' |
11653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13607 { (case "(($ac_try" in |
11654 (eval $ac_try) 2>&5 | 13608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13609 *) ac_try_echo=$ac_try;; | |
13610 esac | |
13611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13612 (eval "$ac_try") 2>&5 | |
11655 ac_status=$? | 13613 ac_status=$? |
11656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11657 (exit $ac_status); }; }; then | 13615 (exit $ac_status); }; }; then |
11658 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes | 13616 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes |
11659 else | 13617 else |
11660 echo "$as_me: failed program was:" >&5 | 13618 echo "$as_me: failed program was:" >&5 |
11661 sed 's/^/| /' conftest.$ac_ext >&5 | 13619 sed 's/^/| /' conftest.$ac_ext >&5 |
11662 | 13620 |
11663 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no | 13621 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no |
11664 fi | 13622 fi |
11665 rm -f conftest.err conftest.$ac_objext \ | 13623 |
13624 rm -f core conftest.err conftest.$ac_objext \ | |
11666 conftest$ac_exeext conftest.$ac_ext | 13625 conftest$ac_exeext conftest.$ac_ext |
11667 LIBS=$ac_check_lib_save_LIBS | 13626 LIBS=$ac_check_lib_save_LIBS |
11668 fi | 13627 fi |
11669 echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 | 13628 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5 |
11670 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6 | 13629 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6; } |
11671 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then | 13630 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then |
11672 HAVE_XAW3D=yes | 13631 HAVE_XAW3D=yes |
11673 fi | 13632 fi |
11674 | 13633 |
11675 fi | 13634 fi |
11735 ; | 13694 ; |
11736 return 0; | 13695 return 0; |
11737 } | 13696 } |
11738 _ACEOF | 13697 _ACEOF |
11739 rm -f conftest.$ac_objext | 13698 rm -f conftest.$ac_objext |
11740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13699 if { (ac_try="$ac_compile" |
11741 (eval $ac_compile) 2>conftest.er1 | 13700 case "(($ac_try" in |
13701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13702 *) ac_try_echo=$ac_try;; | |
13703 esac | |
13704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13705 (eval "$ac_compile") 2>conftest.er1 | |
11742 ac_status=$? | 13706 ac_status=$? |
11743 grep -v '^ *+' conftest.er1 >conftest.err | 13707 grep -v '^ *+' conftest.er1 >conftest.err |
11744 rm -f conftest.er1 | 13708 rm -f conftest.er1 |
11745 cat conftest.err >&5 | 13709 cat conftest.err >&5 |
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11747 (exit $ac_status); } && | 13711 (exit $ac_status); } && |
11748 { ac_try='test -z "$ac_c_werror_flag" | 13712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11749 || test ! -s conftest.err' | 13713 { (case "(($ac_try" in |
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11751 (eval $ac_try) 2>&5 | 13715 *) ac_try_echo=$ac_try;; |
13716 esac | |
13717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13718 (eval "$ac_try") 2>&5 | |
11752 ac_status=$? | 13719 ac_status=$? |
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11754 (exit $ac_status); }; } && | 13721 (exit $ac_status); }; } && |
11755 { ac_try='test -s conftest.$ac_objext' | 13722 { ac_try='test -s conftest.$ac_objext' |
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13723 { (case "(($ac_try" in |
11757 (eval $ac_try) 2>&5 | 13724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13725 *) ac_try_echo=$ac_try;; | |
13726 esac | |
13727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13728 (eval "$ac_try") 2>&5 | |
11758 ac_status=$? | 13729 ac_status=$? |
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11760 (exit $ac_status); }; }; then | 13731 (exit $ac_status); }; }; then |
11761 HAVE_XIM=yes | 13732 HAVE_XIM=yes |
11762 | 13733 |
11766 | 13737 |
11767 else | 13738 else |
11768 echo "$as_me: failed program was:" >&5 | 13739 echo "$as_me: failed program was:" >&5 |
11769 sed 's/^/| /' conftest.$ac_ext >&5 | 13740 sed 's/^/| /' conftest.$ac_ext >&5 |
11770 | 13741 |
11771 HAVE_XIM=no | 13742 HAVE_XIM=no |
11772 fi | 13743 fi |
11773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13744 |
13745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
11774 | 13746 |
11775 | 13747 |
11776 if test "${with_xim}" != "no"; then | 13748 if test "${with_xim}" != "no"; then |
11777 | 13749 |
11778 cat >>confdefs.h <<\_ACEOF | 13750 cat >>confdefs.h <<\_ACEOF |
11816 ; | 13788 ; |
11817 return 0; | 13789 return 0; |
11818 } | 13790 } |
11819 _ACEOF | 13791 _ACEOF |
11820 rm -f conftest.$ac_objext | 13792 rm -f conftest.$ac_objext |
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13793 if { (ac_try="$ac_compile" |
11822 (eval $ac_compile) 2>conftest.er1 | 13794 case "(($ac_try" in |
13795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13796 *) ac_try_echo=$ac_try;; | |
13797 esac | |
13798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13799 (eval "$ac_compile") 2>conftest.er1 | |
11823 ac_status=$? | 13800 ac_status=$? |
11824 grep -v '^ *+' conftest.er1 >conftest.err | 13801 grep -v '^ *+' conftest.er1 >conftest.err |
11825 rm -f conftest.er1 | 13802 rm -f conftest.er1 |
11826 cat conftest.err >&5 | 13803 cat conftest.err >&5 |
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11828 (exit $ac_status); } && | 13805 (exit $ac_status); } && |
11829 { ac_try='test -z "$ac_c_werror_flag" | 13806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11830 || test ! -s conftest.err' | 13807 { (case "(($ac_try" in |
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11832 (eval $ac_try) 2>&5 | 13809 *) ac_try_echo=$ac_try;; |
13810 esac | |
13811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13812 (eval "$ac_try") 2>&5 | |
11833 ac_status=$? | 13813 ac_status=$? |
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11835 (exit $ac_status); }; } && | 13815 (exit $ac_status); }; } && |
11836 { ac_try='test -s conftest.$ac_objext' | 13816 { ac_try='test -s conftest.$ac_objext' |
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13817 { (case "(($ac_try" in |
11838 (eval $ac_try) 2>&5 | 13818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13819 *) ac_try_echo=$ac_try;; | |
13820 esac | |
13821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13822 (eval "$ac_try") 2>&5 | |
11839 ac_status=$? | 13823 ac_status=$? |
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11841 (exit $ac_status); }; }; then | 13825 (exit $ac_status); }; }; then |
11842 emacs_cv_arg6_star=yes | 13826 emacs_cv_arg6_star=yes |
11843 else | 13827 else |
11844 echo "$as_me: failed program was:" >&5 | 13828 echo "$as_me: failed program was:" >&5 |
11845 sed 's/^/| /' conftest.$ac_ext >&5 | 13829 sed 's/^/| /' conftest.$ac_ext >&5 |
11846 | 13830 |
11847 fi | 13831 |
11848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13832 fi |
13833 | |
13834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
11849 | 13835 |
11850 if test "$emacs_cv_arg6_star" = yes; then | 13836 if test "$emacs_cv_arg6_star" = yes; then |
11851 cat >>confdefs.h <<\_ACEOF | 13837 cat >>confdefs.h <<\_ACEOF |
11852 #define XRegisterIMInstantiateCallback_arg6 XPointer* | 13838 #define XRegisterIMInstantiateCallback_arg6 XPointer* |
11853 _ACEOF | 13839 _ACEOF |
11864 ### Use -lXpm if available, unless `--with-xpm=no'. | 13850 ### Use -lXpm if available, unless `--with-xpm=no'. |
11865 HAVE_XPM=no | 13851 HAVE_XPM=no |
11866 if test "${HAVE_X11}" = "yes"; then | 13852 if test "${HAVE_X11}" = "yes"; then |
11867 if test "${with_xpm}" != "no"; then | 13853 if test "${with_xpm}" != "no"; then |
11868 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 13854 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
11869 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 13855 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
11870 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | 13856 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } |
11871 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 13857 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
11872 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13858 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11873 fi | 13859 fi |
11874 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 13860 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 |
11875 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 13861 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } |
11876 else | 13862 else |
11877 # Is the header compilable? | 13863 # Is the header compilable? |
11878 echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 | 13864 { echo "$as_me:$LINENO: checking X11/xpm.h usability" >&5 |
11879 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6 | 13865 echo $ECHO_N "checking X11/xpm.h usability... $ECHO_C" >&6; } |
11880 cat >conftest.$ac_ext <<_ACEOF | 13866 cat >conftest.$ac_ext <<_ACEOF |
11881 /* confdefs.h. */ | 13867 /* confdefs.h. */ |
11882 _ACEOF | 13868 _ACEOF |
11883 cat confdefs.h >>conftest.$ac_ext | 13869 cat confdefs.h >>conftest.$ac_ext |
11884 cat >>conftest.$ac_ext <<_ACEOF | 13870 cat >>conftest.$ac_ext <<_ACEOF |
11885 /* end confdefs.h. */ | 13871 /* end confdefs.h. */ |
11886 $ac_includes_default | 13872 $ac_includes_default |
11887 #include <X11/xpm.h> | 13873 #include <X11/xpm.h> |
11888 _ACEOF | 13874 _ACEOF |
11889 rm -f conftest.$ac_objext | 13875 rm -f conftest.$ac_objext |
11890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 13876 if { (ac_try="$ac_compile" |
11891 (eval $ac_compile) 2>conftest.er1 | 13877 case "(($ac_try" in |
13878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13879 *) ac_try_echo=$ac_try;; | |
13880 esac | |
13881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13882 (eval "$ac_compile") 2>conftest.er1 | |
11892 ac_status=$? | 13883 ac_status=$? |
11893 grep -v '^ *+' conftest.er1 >conftest.err | 13884 grep -v '^ *+' conftest.er1 >conftest.err |
11894 rm -f conftest.er1 | 13885 rm -f conftest.er1 |
11895 cat conftest.err >&5 | 13886 cat conftest.err >&5 |
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11897 (exit $ac_status); } && | 13888 (exit $ac_status); } && |
11898 { ac_try='test -z "$ac_c_werror_flag" | 13889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
11899 || test ! -s conftest.err' | 13890 { (case "(($ac_try" in |
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
11901 (eval $ac_try) 2>&5 | 13892 *) ac_try_echo=$ac_try;; |
13893 esac | |
13894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13895 (eval "$ac_try") 2>&5 | |
11902 ac_status=$? | 13896 ac_status=$? |
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11904 (exit $ac_status); }; } && | 13898 (exit $ac_status); }; } && |
11905 { ac_try='test -s conftest.$ac_objext' | 13899 { ac_try='test -s conftest.$ac_objext' |
11906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 13900 { (case "(($ac_try" in |
11907 (eval $ac_try) 2>&5 | 13901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13902 *) ac_try_echo=$ac_try;; | |
13903 esac | |
13904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13905 (eval "$ac_try") 2>&5 | |
11908 ac_status=$? | 13906 ac_status=$? |
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11910 (exit $ac_status); }; }; then | 13908 (exit $ac_status); }; }; then |
11911 ac_header_compiler=yes | 13909 ac_header_compiler=yes |
11912 else | 13910 else |
11913 echo "$as_me: failed program was:" >&5 | 13911 echo "$as_me: failed program was:" >&5 |
11914 sed 's/^/| /' conftest.$ac_ext >&5 | 13912 sed 's/^/| /' conftest.$ac_ext >&5 |
11915 | 13913 |
11916 ac_header_compiler=no | 13914 ac_header_compiler=no |
11917 fi | 13915 fi |
11918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 13916 |
11919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 13917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
11920 echo "${ECHO_T}$ac_header_compiler" >&6 | 13918 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
13919 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
11921 | 13920 |
11922 # Is the header present? | 13921 # Is the header present? |
11923 echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 | 13922 { echo "$as_me:$LINENO: checking X11/xpm.h presence" >&5 |
11924 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6 | 13923 echo $ECHO_N "checking X11/xpm.h presence... $ECHO_C" >&6; } |
11925 cat >conftest.$ac_ext <<_ACEOF | 13924 cat >conftest.$ac_ext <<_ACEOF |
11926 /* confdefs.h. */ | 13925 /* confdefs.h. */ |
11927 _ACEOF | 13926 _ACEOF |
11928 cat confdefs.h >>conftest.$ac_ext | 13927 cat confdefs.h >>conftest.$ac_ext |
11929 cat >>conftest.$ac_ext <<_ACEOF | 13928 cat >>conftest.$ac_ext <<_ACEOF |
11930 /* end confdefs.h. */ | 13929 /* end confdefs.h. */ |
11931 #include <X11/xpm.h> | 13930 #include <X11/xpm.h> |
11932 _ACEOF | 13931 _ACEOF |
11933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 13932 if { (ac_try="$ac_cpp conftest.$ac_ext" |
11934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 13933 case "(($ac_try" in |
13934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
13935 *) ac_try_echo=$ac_try;; | |
13936 esac | |
13937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
13938 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
11935 ac_status=$? | 13939 ac_status=$? |
11936 grep -v '^ *+' conftest.er1 >conftest.err | 13940 grep -v '^ *+' conftest.er1 >conftest.err |
11937 rm -f conftest.er1 | 13941 rm -f conftest.er1 |
11938 cat conftest.err >&5 | 13942 cat conftest.err >&5 |
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11953 echo "$as_me: failed program was:" >&5 | 13957 echo "$as_me: failed program was:" >&5 |
11954 sed 's/^/| /' conftest.$ac_ext >&5 | 13958 sed 's/^/| /' conftest.$ac_ext >&5 |
11955 | 13959 |
11956 ac_header_preproc=no | 13960 ac_header_preproc=no |
11957 fi | 13961 fi |
13962 | |
11958 rm -f conftest.err conftest.$ac_ext | 13963 rm -f conftest.err conftest.$ac_ext |
11959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 13964 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
11960 echo "${ECHO_T}$ac_header_preproc" >&6 | 13965 echo "${ECHO_T}$ac_header_preproc" >&6; } |
11961 | 13966 |
11962 # So? What about this header? | 13967 # So? What about this header? |
11963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 13968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
11964 yes:no: ) | 13969 yes:no: ) |
11965 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 13970 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
11979 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} | 13984 echo "$as_me: WARNING: X11/xpm.h: section \"Present But Cannot Be Compiled\"" >&2;} |
11980 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 | 13985 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&5 |
11981 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} | 13986 echo "$as_me: WARNING: X11/xpm.h: proceeding with the preprocessor's result" >&2;} |
11982 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 | 13987 { echo "$as_me:$LINENO: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&5 |
11983 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} | 13988 echo "$as_me: WARNING: X11/xpm.h: in the future, the compiler will take precedence" >&2;} |
11984 ( | 13989 |
11985 cat <<\_ASBOX | |
11986 ## ------------------------------------------ ## | |
11987 ## Report this to the AC_PACKAGE_NAME lists. ## | |
11988 ## ------------------------------------------ ## | |
11989 _ASBOX | |
11990 ) | | |
11991 sed "s/^/$as_me: WARNING: /" >&2 | |
11992 ;; | 13990 ;; |
11993 esac | 13991 esac |
11994 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 | 13992 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5 |
11995 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6 | 13993 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; } |
11996 if test "${ac_cv_header_X11_xpm_h+set}" = set; then | 13994 if test "${ac_cv_header_X11_xpm_h+set}" = set; then |
11997 echo $ECHO_N "(cached) $ECHO_C" >&6 | 13995 echo $ECHO_N "(cached) $ECHO_C" >&6 |
11998 else | 13996 else |
11999 ac_cv_header_X11_xpm_h=$ac_header_preproc | 13997 ac_cv_header_X11_xpm_h=$ac_header_preproc |
12000 fi | 13998 fi |
12001 echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 | 13999 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_xpm_h" >&5 |
12002 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6 | 14000 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6; } |
12003 | 14001 |
12004 fi | 14002 fi |
12005 if test $ac_cv_header_X11_xpm_h = yes; then | 14003 if test $ac_cv_header_X11_xpm_h = yes; then |
12006 echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 | 14004 { echo "$as_me:$LINENO: checking for XpmReadFileToPixmap in -lXpm" >&5 |
12007 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6 | 14005 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6; } |
12008 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then | 14006 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then |
12009 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14007 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12010 else | 14008 else |
12011 ac_check_lib_save_LIBS=$LIBS | 14009 ac_check_lib_save_LIBS=$LIBS |
12012 LIBS="-lXpm -lX11 $LIBS" | 14010 LIBS="-lXpm -lX11 $LIBS" |
12015 _ACEOF | 14013 _ACEOF |
12016 cat confdefs.h >>conftest.$ac_ext | 14014 cat confdefs.h >>conftest.$ac_ext |
12017 cat >>conftest.$ac_ext <<_ACEOF | 14015 cat >>conftest.$ac_ext <<_ACEOF |
12018 /* end confdefs.h. */ | 14016 /* end confdefs.h. */ |
12019 | 14017 |
12020 /* Override any gcc2 internal prototype to avoid an error. */ | 14018 /* Override any GCC internal prototype to avoid an error. |
14019 Use char because int might match the return type of a GCC | |
14020 builtin and then its argument prototype would still apply. */ | |
12021 #ifdef __cplusplus | 14021 #ifdef __cplusplus |
12022 extern "C" | 14022 extern "C" |
12023 #endif | 14023 #endif |
12024 /* We use char because int might match the return type of a gcc2 | |
12025 builtin and then its argument prototype would still apply. */ | |
12026 char XpmReadFileToPixmap (); | 14024 char XpmReadFileToPixmap (); |
12027 int | 14025 int |
12028 main () | 14026 main () |
12029 { | 14027 { |
12030 XpmReadFileToPixmap (); | 14028 return XpmReadFileToPixmap (); |
12031 ; | 14029 ; |
12032 return 0; | 14030 return 0; |
12033 } | 14031 } |
12034 _ACEOF | 14032 _ACEOF |
12035 rm -f conftest.$ac_objext conftest$ac_exeext | 14033 rm -f conftest.$ac_objext conftest$ac_exeext |
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14034 if { (ac_try="$ac_link" |
12037 (eval $ac_link) 2>conftest.er1 | 14035 case "(($ac_try" in |
14036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14037 *) ac_try_echo=$ac_try;; | |
14038 esac | |
14039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14040 (eval "$ac_link") 2>conftest.er1 | |
12038 ac_status=$? | 14041 ac_status=$? |
12039 grep -v '^ *+' conftest.er1 >conftest.err | 14042 grep -v '^ *+' conftest.er1 >conftest.err |
12040 rm -f conftest.er1 | 14043 rm -f conftest.er1 |
12041 cat conftest.err >&5 | 14044 cat conftest.err >&5 |
12042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12043 (exit $ac_status); } && | 14046 (exit $ac_status); } && |
12044 { ac_try='test -z "$ac_c_werror_flag" | 14047 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12045 || test ! -s conftest.err' | 14048 { (case "(($ac_try" in |
12046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12047 (eval $ac_try) 2>&5 | 14050 *) ac_try_echo=$ac_try;; |
14051 esac | |
14052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14053 (eval "$ac_try") 2>&5 | |
12048 ac_status=$? | 14054 ac_status=$? |
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12050 (exit $ac_status); }; } && | 14056 (exit $ac_status); }; } && |
12051 { ac_try='test -s conftest$ac_exeext' | 14057 { ac_try='test -s conftest$ac_exeext' |
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14058 { (case "(($ac_try" in |
12053 (eval $ac_try) 2>&5 | 14059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14060 *) ac_try_echo=$ac_try;; | |
14061 esac | |
14062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14063 (eval "$ac_try") 2>&5 | |
12054 ac_status=$? | 14064 ac_status=$? |
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12056 (exit $ac_status); }; }; then | 14066 (exit $ac_status); }; }; then |
12057 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes | 14067 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes |
12058 else | 14068 else |
12059 echo "$as_me: failed program was:" >&5 | 14069 echo "$as_me: failed program was:" >&5 |
12060 sed 's/^/| /' conftest.$ac_ext >&5 | 14070 sed 's/^/| /' conftest.$ac_ext >&5 |
12061 | 14071 |
12062 ac_cv_lib_Xpm_XpmReadFileToPixmap=no | 14072 ac_cv_lib_Xpm_XpmReadFileToPixmap=no |
12063 fi | 14073 fi |
12064 rm -f conftest.err conftest.$ac_objext \ | 14074 |
14075 rm -f core conftest.err conftest.$ac_objext \ | |
12065 conftest$ac_exeext conftest.$ac_ext | 14076 conftest$ac_exeext conftest.$ac_ext |
12066 LIBS=$ac_check_lib_save_LIBS | 14077 LIBS=$ac_check_lib_save_LIBS |
12067 fi | 14078 fi |
12068 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 | 14079 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5 |
12069 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6 | 14080 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6; } |
12070 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then | 14081 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then |
12071 HAVE_XPM=yes | 14082 HAVE_XPM=yes |
12072 fi | 14083 fi |
12073 | 14084 |
12074 fi | 14085 fi |
12075 | 14086 |
12076 | 14087 |
12077 if test "${HAVE_XPM}" = "yes"; then | 14088 if test "${HAVE_XPM}" = "yes"; then |
12078 echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 | 14089 { echo "$as_me:$LINENO: checking for XpmReturnAllocPixels preprocessor define" >&5 |
12079 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6 | 14090 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6; } |
12080 cat >conftest.$ac_ext <<_ACEOF | 14091 cat >conftest.$ac_ext <<_ACEOF |
12081 /* confdefs.h. */ | 14092 /* confdefs.h. */ |
12082 _ACEOF | 14093 _ACEOF |
12083 cat confdefs.h >>conftest.$ac_ext | 14094 cat confdefs.h >>conftest.$ac_ext |
12084 cat >>conftest.$ac_ext <<_ACEOF | 14095 cat >>conftest.$ac_ext <<_ACEOF |
12097 fi | 14108 fi |
12098 rm -f conftest* | 14109 rm -f conftest* |
12099 | 14110 |
12100 | 14111 |
12101 if test "${HAVE_XPM}" = "yes"; then | 14112 if test "${HAVE_XPM}" = "yes"; then |
12102 echo "$as_me:$LINENO: result: yes" >&5 | 14113 { echo "$as_me:$LINENO: result: yes" >&5 |
12103 echo "${ECHO_T}yes" >&6 | 14114 echo "${ECHO_T}yes" >&6; } |
12104 else | 14115 else |
12105 echo "$as_me:$LINENO: result: no" >&5 | 14116 { echo "$as_me:$LINENO: result: no" >&5 |
12106 echo "${ECHO_T}no" >&6 | 14117 echo "${ECHO_T}no" >&6; } |
12107 fi | 14118 fi |
12108 fi | 14119 fi |
12109 fi | 14120 fi |
12110 | 14121 |
12111 if test "${HAVE_XPM}" = "yes"; then | 14122 if test "${HAVE_XPM}" = "yes"; then |
12120 ### Use -ljpeg if available, unless `--with-jpeg=no'. | 14131 ### Use -ljpeg if available, unless `--with-jpeg=no'. |
12121 HAVE_JPEG=no | 14132 HAVE_JPEG=no |
12122 if test "${HAVE_X11}" = "yes"; then | 14133 if test "${HAVE_X11}" = "yes"; then |
12123 if test "${with_jpeg}" != "no"; then | 14134 if test "${with_jpeg}" != "no"; then |
12124 if test "${ac_cv_header_jerror_h+set}" = set; then | 14135 if test "${ac_cv_header_jerror_h+set}" = set; then |
12125 echo "$as_me:$LINENO: checking for jerror.h" >&5 | 14136 { echo "$as_me:$LINENO: checking for jerror.h" >&5 |
12126 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | 14137 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } |
12127 if test "${ac_cv_header_jerror_h+set}" = set; then | 14138 if test "${ac_cv_header_jerror_h+set}" = set; then |
12128 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14139 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12129 fi | 14140 fi |
12130 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 14141 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 |
12131 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 14142 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } |
12132 else | 14143 else |
12133 # Is the header compilable? | 14144 # Is the header compilable? |
12134 echo "$as_me:$LINENO: checking jerror.h usability" >&5 | 14145 { echo "$as_me:$LINENO: checking jerror.h usability" >&5 |
12135 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6 | 14146 echo $ECHO_N "checking jerror.h usability... $ECHO_C" >&6; } |
12136 cat >conftest.$ac_ext <<_ACEOF | 14147 cat >conftest.$ac_ext <<_ACEOF |
12137 /* confdefs.h. */ | 14148 /* confdefs.h. */ |
12138 _ACEOF | 14149 _ACEOF |
12139 cat confdefs.h >>conftest.$ac_ext | 14150 cat confdefs.h >>conftest.$ac_ext |
12140 cat >>conftest.$ac_ext <<_ACEOF | 14151 cat >>conftest.$ac_ext <<_ACEOF |
12141 /* end confdefs.h. */ | 14152 /* end confdefs.h. */ |
12142 $ac_includes_default | 14153 $ac_includes_default |
12143 #include <jerror.h> | 14154 #include <jerror.h> |
12144 _ACEOF | 14155 _ACEOF |
12145 rm -f conftest.$ac_objext | 14156 rm -f conftest.$ac_objext |
12146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14157 if { (ac_try="$ac_compile" |
12147 (eval $ac_compile) 2>conftest.er1 | 14158 case "(($ac_try" in |
14159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14160 *) ac_try_echo=$ac_try;; | |
14161 esac | |
14162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14163 (eval "$ac_compile") 2>conftest.er1 | |
12148 ac_status=$? | 14164 ac_status=$? |
12149 grep -v '^ *+' conftest.er1 >conftest.err | 14165 grep -v '^ *+' conftest.er1 >conftest.err |
12150 rm -f conftest.er1 | 14166 rm -f conftest.er1 |
12151 cat conftest.err >&5 | 14167 cat conftest.err >&5 |
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12153 (exit $ac_status); } && | 14169 (exit $ac_status); } && |
12154 { ac_try='test -z "$ac_c_werror_flag" | 14170 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12155 || test ! -s conftest.err' | 14171 { (case "(($ac_try" in |
12156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12157 (eval $ac_try) 2>&5 | 14173 *) ac_try_echo=$ac_try;; |
14174 esac | |
14175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14176 (eval "$ac_try") 2>&5 | |
12158 ac_status=$? | 14177 ac_status=$? |
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12160 (exit $ac_status); }; } && | 14179 (exit $ac_status); }; } && |
12161 { ac_try='test -s conftest.$ac_objext' | 14180 { ac_try='test -s conftest.$ac_objext' |
12162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14181 { (case "(($ac_try" in |
12163 (eval $ac_try) 2>&5 | 14182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14183 *) ac_try_echo=$ac_try;; | |
14184 esac | |
14185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14186 (eval "$ac_try") 2>&5 | |
12164 ac_status=$? | 14187 ac_status=$? |
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12166 (exit $ac_status); }; }; then | 14189 (exit $ac_status); }; }; then |
12167 ac_header_compiler=yes | 14190 ac_header_compiler=yes |
12168 else | 14191 else |
12169 echo "$as_me: failed program was:" >&5 | 14192 echo "$as_me: failed program was:" >&5 |
12170 sed 's/^/| /' conftest.$ac_ext >&5 | 14193 sed 's/^/| /' conftest.$ac_ext >&5 |
12171 | 14194 |
12172 ac_header_compiler=no | 14195 ac_header_compiler=no |
12173 fi | 14196 fi |
12174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14197 |
12175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12176 echo "${ECHO_T}$ac_header_compiler" >&6 | 14199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14200 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
12177 | 14201 |
12178 # Is the header present? | 14202 # Is the header present? |
12179 echo "$as_me:$LINENO: checking jerror.h presence" >&5 | 14203 { echo "$as_me:$LINENO: checking jerror.h presence" >&5 |
12180 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6 | 14204 echo $ECHO_N "checking jerror.h presence... $ECHO_C" >&6; } |
12181 cat >conftest.$ac_ext <<_ACEOF | 14205 cat >conftest.$ac_ext <<_ACEOF |
12182 /* confdefs.h. */ | 14206 /* confdefs.h. */ |
12183 _ACEOF | 14207 _ACEOF |
12184 cat confdefs.h >>conftest.$ac_ext | 14208 cat confdefs.h >>conftest.$ac_ext |
12185 cat >>conftest.$ac_ext <<_ACEOF | 14209 cat >>conftest.$ac_ext <<_ACEOF |
12186 /* end confdefs.h. */ | 14210 /* end confdefs.h. */ |
12187 #include <jerror.h> | 14211 #include <jerror.h> |
12188 _ACEOF | 14212 _ACEOF |
12189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14213 if { (ac_try="$ac_cpp conftest.$ac_ext" |
12190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14214 case "(($ac_try" in |
14215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14216 *) ac_try_echo=$ac_try;; | |
14217 esac | |
14218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12191 ac_status=$? | 14220 ac_status=$? |
12192 grep -v '^ *+' conftest.er1 >conftest.err | 14221 grep -v '^ *+' conftest.er1 >conftest.err |
12193 rm -f conftest.er1 | 14222 rm -f conftest.er1 |
12194 cat conftest.err >&5 | 14223 cat conftest.err >&5 |
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12209 echo "$as_me: failed program was:" >&5 | 14238 echo "$as_me: failed program was:" >&5 |
12210 sed 's/^/| /' conftest.$ac_ext >&5 | 14239 sed 's/^/| /' conftest.$ac_ext >&5 |
12211 | 14240 |
12212 ac_header_preproc=no | 14241 ac_header_preproc=no |
12213 fi | 14242 fi |
14243 | |
12214 rm -f conftest.err conftest.$ac_ext | 14244 rm -f conftest.err conftest.$ac_ext |
12215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12216 echo "${ECHO_T}$ac_header_preproc" >&6 | 14246 echo "${ECHO_T}$ac_header_preproc" >&6; } |
12217 | 14247 |
12218 # So? What about this header? | 14248 # So? What about this header? |
12219 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12220 yes:no: ) | 14250 yes:no: ) |
12221 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 14251 { echo "$as_me:$LINENO: WARNING: jerror.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12235 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} | 14265 echo "$as_me: WARNING: jerror.h: section \"Present But Cannot Be Compiled\"" >&2;} |
12236 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 | 14266 { echo "$as_me:$LINENO: WARNING: jerror.h: proceeding with the preprocessor's result" >&5 |
12237 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} | 14267 echo "$as_me: WARNING: jerror.h: proceeding with the preprocessor's result" >&2;} |
12238 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 | 14268 { echo "$as_me:$LINENO: WARNING: jerror.h: in the future, the compiler will take precedence" >&5 |
12239 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} | 14269 echo "$as_me: WARNING: jerror.h: in the future, the compiler will take precedence" >&2;} |
12240 ( | 14270 |
12241 cat <<\_ASBOX | |
12242 ## ------------------------------------------ ## | |
12243 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12244 ## ------------------------------------------ ## | |
12245 _ASBOX | |
12246 ) | | |
12247 sed "s/^/$as_me: WARNING: /" >&2 | |
12248 ;; | 14271 ;; |
12249 esac | 14272 esac |
12250 echo "$as_me:$LINENO: checking for jerror.h" >&5 | 14273 { echo "$as_me:$LINENO: checking for jerror.h" >&5 |
12251 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6 | 14274 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6; } |
12252 if test "${ac_cv_header_jerror_h+set}" = set; then | 14275 if test "${ac_cv_header_jerror_h+set}" = set; then |
12253 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14276 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12254 else | 14277 else |
12255 ac_cv_header_jerror_h=$ac_header_preproc | 14278 ac_cv_header_jerror_h=$ac_header_preproc |
12256 fi | 14279 fi |
12257 echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 | 14280 { echo "$as_me:$LINENO: result: $ac_cv_header_jerror_h" >&5 |
12258 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6 | 14281 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6; } |
12259 | 14282 |
12260 fi | 14283 fi |
12261 if test $ac_cv_header_jerror_h = yes; then | 14284 if test $ac_cv_header_jerror_h = yes; then |
12262 echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 | 14285 { echo "$as_me:$LINENO: checking for jpeg_destroy_compress in -ljpeg" >&5 |
12263 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6 | 14286 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6; } |
12264 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then | 14287 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then |
12265 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14288 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12266 else | 14289 else |
12267 ac_check_lib_save_LIBS=$LIBS | 14290 ac_check_lib_save_LIBS=$LIBS |
12268 LIBS="-ljpeg $LIBS" | 14291 LIBS="-ljpeg $LIBS" |
12271 _ACEOF | 14294 _ACEOF |
12272 cat confdefs.h >>conftest.$ac_ext | 14295 cat confdefs.h >>conftest.$ac_ext |
12273 cat >>conftest.$ac_ext <<_ACEOF | 14296 cat >>conftest.$ac_ext <<_ACEOF |
12274 /* end confdefs.h. */ | 14297 /* end confdefs.h. */ |
12275 | 14298 |
12276 /* Override any gcc2 internal prototype to avoid an error. */ | 14299 /* Override any GCC internal prototype to avoid an error. |
14300 Use char because int might match the return type of a GCC | |
14301 builtin and then its argument prototype would still apply. */ | |
12277 #ifdef __cplusplus | 14302 #ifdef __cplusplus |
12278 extern "C" | 14303 extern "C" |
12279 #endif | 14304 #endif |
12280 /* We use char because int might match the return type of a gcc2 | |
12281 builtin and then its argument prototype would still apply. */ | |
12282 char jpeg_destroy_compress (); | 14305 char jpeg_destroy_compress (); |
12283 int | 14306 int |
12284 main () | 14307 main () |
12285 { | 14308 { |
12286 jpeg_destroy_compress (); | 14309 return jpeg_destroy_compress (); |
12287 ; | 14310 ; |
12288 return 0; | 14311 return 0; |
12289 } | 14312 } |
12290 _ACEOF | 14313 _ACEOF |
12291 rm -f conftest.$ac_objext conftest$ac_exeext | 14314 rm -f conftest.$ac_objext conftest$ac_exeext |
12292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14315 if { (ac_try="$ac_link" |
12293 (eval $ac_link) 2>conftest.er1 | 14316 case "(($ac_try" in |
14317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14318 *) ac_try_echo=$ac_try;; | |
14319 esac | |
14320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14321 (eval "$ac_link") 2>conftest.er1 | |
12294 ac_status=$? | 14322 ac_status=$? |
12295 grep -v '^ *+' conftest.er1 >conftest.err | 14323 grep -v '^ *+' conftest.er1 >conftest.err |
12296 rm -f conftest.er1 | 14324 rm -f conftest.er1 |
12297 cat conftest.err >&5 | 14325 cat conftest.err >&5 |
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12299 (exit $ac_status); } && | 14327 (exit $ac_status); } && |
12300 { ac_try='test -z "$ac_c_werror_flag" | 14328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12301 || test ! -s conftest.err' | 14329 { (case "(($ac_try" in |
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12303 (eval $ac_try) 2>&5 | 14331 *) ac_try_echo=$ac_try;; |
14332 esac | |
14333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14334 (eval "$ac_try") 2>&5 | |
12304 ac_status=$? | 14335 ac_status=$? |
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12306 (exit $ac_status); }; } && | 14337 (exit $ac_status); }; } && |
12307 { ac_try='test -s conftest$ac_exeext' | 14338 { ac_try='test -s conftest$ac_exeext' |
12308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14339 { (case "(($ac_try" in |
12309 (eval $ac_try) 2>&5 | 14340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14341 *) ac_try_echo=$ac_try;; | |
14342 esac | |
14343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14344 (eval "$ac_try") 2>&5 | |
12310 ac_status=$? | 14345 ac_status=$? |
12311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12312 (exit $ac_status); }; }; then | 14347 (exit $ac_status); }; }; then |
12313 ac_cv_lib_jpeg_jpeg_destroy_compress=yes | 14348 ac_cv_lib_jpeg_jpeg_destroy_compress=yes |
12314 else | 14349 else |
12315 echo "$as_me: failed program was:" >&5 | 14350 echo "$as_me: failed program was:" >&5 |
12316 sed 's/^/| /' conftest.$ac_ext >&5 | 14351 sed 's/^/| /' conftest.$ac_ext >&5 |
12317 | 14352 |
12318 ac_cv_lib_jpeg_jpeg_destroy_compress=no | 14353 ac_cv_lib_jpeg_jpeg_destroy_compress=no |
12319 fi | 14354 fi |
12320 rm -f conftest.err conftest.$ac_objext \ | 14355 |
14356 rm -f core conftest.err conftest.$ac_objext \ | |
12321 conftest$ac_exeext conftest.$ac_ext | 14357 conftest$ac_exeext conftest.$ac_ext |
12322 LIBS=$ac_check_lib_save_LIBS | 14358 LIBS=$ac_check_lib_save_LIBS |
12323 fi | 14359 fi |
12324 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 | 14360 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5 |
12325 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6 | 14361 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6; } |
12326 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then | 14362 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then |
12327 HAVE_JPEG=yes | 14363 HAVE_JPEG=yes |
12328 fi | 14364 fi |
12329 | 14365 |
12330 fi | 14366 fi |
12373 | 14409 |
12374 | 14410 |
12375 for ac_header in png.h libpng/png.h | 14411 for ac_header in png.h libpng/png.h |
12376 do | 14412 do |
12377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 14413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12378 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14415 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12382 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14418 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12383 fi | 14419 fi |
12384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14420 ac_res=`eval echo '${'$as_ac_Header'}'` |
12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14421 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14422 echo "${ECHO_T}$ac_res" >&6; } | |
12386 else | 14423 else |
12387 # Is the header compilable? | 14424 # Is the header compilable? |
12388 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 14425 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
12389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 14426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
12390 cat >conftest.$ac_ext <<_ACEOF | 14427 cat >conftest.$ac_ext <<_ACEOF |
12391 /* confdefs.h. */ | 14428 /* confdefs.h. */ |
12392 _ACEOF | 14429 _ACEOF |
12393 cat confdefs.h >>conftest.$ac_ext | 14430 cat confdefs.h >>conftest.$ac_ext |
12394 cat >>conftest.$ac_ext <<_ACEOF | 14431 cat >>conftest.$ac_ext <<_ACEOF |
12395 /* end confdefs.h. */ | 14432 /* end confdefs.h. */ |
12396 $ac_includes_default | 14433 $ac_includes_default |
12397 #include <$ac_header> | 14434 #include <$ac_header> |
12398 _ACEOF | 14435 _ACEOF |
12399 rm -f conftest.$ac_objext | 14436 rm -f conftest.$ac_objext |
12400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14437 if { (ac_try="$ac_compile" |
12401 (eval $ac_compile) 2>conftest.er1 | 14438 case "(($ac_try" in |
14439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14440 *) ac_try_echo=$ac_try;; | |
14441 esac | |
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14443 (eval "$ac_compile") 2>conftest.er1 | |
12402 ac_status=$? | 14444 ac_status=$? |
12403 grep -v '^ *+' conftest.er1 >conftest.err | 14445 grep -v '^ *+' conftest.er1 >conftest.err |
12404 rm -f conftest.er1 | 14446 rm -f conftest.er1 |
12405 cat conftest.err >&5 | 14447 cat conftest.err >&5 |
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12407 (exit $ac_status); } && | 14449 (exit $ac_status); } && |
12408 { ac_try='test -z "$ac_c_werror_flag" | 14450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12409 || test ! -s conftest.err' | 14451 { (case "(($ac_try" in |
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12411 (eval $ac_try) 2>&5 | 14453 *) ac_try_echo=$ac_try;; |
14454 esac | |
14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14456 (eval "$ac_try") 2>&5 | |
12412 ac_status=$? | 14457 ac_status=$? |
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12414 (exit $ac_status); }; } && | 14459 (exit $ac_status); }; } && |
12415 { ac_try='test -s conftest.$ac_objext' | 14460 { ac_try='test -s conftest.$ac_objext' |
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14461 { (case "(($ac_try" in |
12417 (eval $ac_try) 2>&5 | 14462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14463 *) ac_try_echo=$ac_try;; | |
14464 esac | |
14465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14466 (eval "$ac_try") 2>&5 | |
12418 ac_status=$? | 14467 ac_status=$? |
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12420 (exit $ac_status); }; }; then | 14469 (exit $ac_status); }; }; then |
12421 ac_header_compiler=yes | 14470 ac_header_compiler=yes |
12422 else | 14471 else |
12423 echo "$as_me: failed program was:" >&5 | 14472 echo "$as_me: failed program was:" >&5 |
12424 sed 's/^/| /' conftest.$ac_ext >&5 | 14473 sed 's/^/| /' conftest.$ac_ext >&5 |
12425 | 14474 |
12426 ac_header_compiler=no | 14475 ac_header_compiler=no |
12427 fi | 14476 fi |
12428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14477 |
12429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12430 echo "${ECHO_T}$ac_header_compiler" >&6 | 14479 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14480 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
12431 | 14481 |
12432 # Is the header present? | 14482 # Is the header present? |
12433 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 14483 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
12434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 14484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
12435 cat >conftest.$ac_ext <<_ACEOF | 14485 cat >conftest.$ac_ext <<_ACEOF |
12436 /* confdefs.h. */ | 14486 /* confdefs.h. */ |
12437 _ACEOF | 14487 _ACEOF |
12438 cat confdefs.h >>conftest.$ac_ext | 14488 cat confdefs.h >>conftest.$ac_ext |
12439 cat >>conftest.$ac_ext <<_ACEOF | 14489 cat >>conftest.$ac_ext <<_ACEOF |
12440 /* end confdefs.h. */ | 14490 /* end confdefs.h. */ |
12441 #include <$ac_header> | 14491 #include <$ac_header> |
12442 _ACEOF | 14492 _ACEOF |
12443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14493 if { (ac_try="$ac_cpp conftest.$ac_ext" |
12444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14494 case "(($ac_try" in |
14495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14496 *) ac_try_echo=$ac_try;; | |
14497 esac | |
14498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12445 ac_status=$? | 14500 ac_status=$? |
12446 grep -v '^ *+' conftest.er1 >conftest.err | 14501 grep -v '^ *+' conftest.er1 >conftest.err |
12447 rm -f conftest.er1 | 14502 rm -f conftest.er1 |
12448 cat conftest.err >&5 | 14503 cat conftest.err >&5 |
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12463 echo "$as_me: failed program was:" >&5 | 14518 echo "$as_me: failed program was:" >&5 |
12464 sed 's/^/| /' conftest.$ac_ext >&5 | 14519 sed 's/^/| /' conftest.$ac_ext >&5 |
12465 | 14520 |
12466 ac_header_preproc=no | 14521 ac_header_preproc=no |
12467 fi | 14522 fi |
14523 | |
12468 rm -f conftest.err conftest.$ac_ext | 14524 rm -f conftest.err conftest.$ac_ext |
12469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14525 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12470 echo "${ECHO_T}$ac_header_preproc" >&6 | 14526 echo "${ECHO_T}$ac_header_preproc" >&6; } |
12471 | 14527 |
12472 # So? What about this header? | 14528 # So? What about this header? |
12473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12474 yes:no: ) | 14530 yes:no: ) |
12475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 14531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
12489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 14545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
12490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 14546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
12491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 14547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
12492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 14548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
12493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 14549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
12494 ( | 14550 |
12495 cat <<\_ASBOX | |
12496 ## ------------------------------------------ ## | |
12497 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12498 ## ------------------------------------------ ## | |
12499 _ASBOX | |
12500 ) | | |
12501 sed "s/^/$as_me: WARNING: /" >&2 | |
12502 ;; | 14551 ;; |
12503 esac | 14552 esac |
12504 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 14553 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
12505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 14554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
12506 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 14555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
12507 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14556 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12508 else | 14557 else |
12509 eval "$as_ac_Header=\$ac_header_preproc" | 14558 eval "$as_ac_Header=\$ac_header_preproc" |
12510 fi | 14559 fi |
12511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 14560 ac_res=`eval echo '${'$as_ac_Header'}'` |
12512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 14561 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
14562 echo "${ECHO_T}$ac_res" >&6; } | |
12513 | 14563 |
12514 fi | 14564 fi |
12515 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 14565 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
12516 cat >>confdefs.h <<_ACEOF | 14566 cat >>confdefs.h <<_ACEOF |
12517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 14567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
12520 fi | 14570 fi |
12521 | 14571 |
12522 done | 14572 done |
12523 | 14573 |
12524 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then | 14574 if test "$ac_cv_header_png_h" = yes || test "$ac_cv_header_libpng_png_h" = yes ; then |
12525 echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 | 14575 { echo "$as_me:$LINENO: checking for png_get_channels in -lpng" >&5 |
12526 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6 | 14576 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6; } |
12527 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then | 14577 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then |
12528 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14578 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12529 else | 14579 else |
12530 ac_check_lib_save_LIBS=$LIBS | 14580 ac_check_lib_save_LIBS=$LIBS |
12531 LIBS="-lpng -lz -lm $LIBS" | 14581 LIBS="-lpng -lz -lm $LIBS" |
12534 _ACEOF | 14584 _ACEOF |
12535 cat confdefs.h >>conftest.$ac_ext | 14585 cat confdefs.h >>conftest.$ac_ext |
12536 cat >>conftest.$ac_ext <<_ACEOF | 14586 cat >>conftest.$ac_ext <<_ACEOF |
12537 /* end confdefs.h. */ | 14587 /* end confdefs.h. */ |
12538 | 14588 |
12539 /* Override any gcc2 internal prototype to avoid an error. */ | 14589 /* Override any GCC internal prototype to avoid an error. |
14590 Use char because int might match the return type of a GCC | |
14591 builtin and then its argument prototype would still apply. */ | |
12540 #ifdef __cplusplus | 14592 #ifdef __cplusplus |
12541 extern "C" | 14593 extern "C" |
12542 #endif | 14594 #endif |
12543 /* We use char because int might match the return type of a gcc2 | |
12544 builtin and then its argument prototype would still apply. */ | |
12545 char png_get_channels (); | 14595 char png_get_channels (); |
12546 int | 14596 int |
12547 main () | 14597 main () |
12548 { | 14598 { |
12549 png_get_channels (); | 14599 return png_get_channels (); |
12550 ; | 14600 ; |
12551 return 0; | 14601 return 0; |
12552 } | 14602 } |
12553 _ACEOF | 14603 _ACEOF |
12554 rm -f conftest.$ac_objext conftest$ac_exeext | 14604 rm -f conftest.$ac_objext conftest$ac_exeext |
12555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14605 if { (ac_try="$ac_link" |
12556 (eval $ac_link) 2>conftest.er1 | 14606 case "(($ac_try" in |
14607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14608 *) ac_try_echo=$ac_try;; | |
14609 esac | |
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14611 (eval "$ac_link") 2>conftest.er1 | |
12557 ac_status=$? | 14612 ac_status=$? |
12558 grep -v '^ *+' conftest.er1 >conftest.err | 14613 grep -v '^ *+' conftest.er1 >conftest.err |
12559 rm -f conftest.er1 | 14614 rm -f conftest.er1 |
12560 cat conftest.err >&5 | 14615 cat conftest.err >&5 |
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12562 (exit $ac_status); } && | 14617 (exit $ac_status); } && |
12563 { ac_try='test -z "$ac_c_werror_flag" | 14618 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12564 || test ! -s conftest.err' | 14619 { (case "(($ac_try" in |
12565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12566 (eval $ac_try) 2>&5 | 14621 *) ac_try_echo=$ac_try;; |
14622 esac | |
14623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14624 (eval "$ac_try") 2>&5 | |
12567 ac_status=$? | 14625 ac_status=$? |
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12569 (exit $ac_status); }; } && | 14627 (exit $ac_status); }; } && |
12570 { ac_try='test -s conftest$ac_exeext' | 14628 { ac_try='test -s conftest$ac_exeext' |
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14629 { (case "(($ac_try" in |
12572 (eval $ac_try) 2>&5 | 14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14631 *) ac_try_echo=$ac_try;; | |
14632 esac | |
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14634 (eval "$ac_try") 2>&5 | |
12573 ac_status=$? | 14635 ac_status=$? |
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12575 (exit $ac_status); }; }; then | 14637 (exit $ac_status); }; }; then |
12576 ac_cv_lib_png_png_get_channels=yes | 14638 ac_cv_lib_png_png_get_channels=yes |
12577 else | 14639 else |
12578 echo "$as_me: failed program was:" >&5 | 14640 echo "$as_me: failed program was:" >&5 |
12579 sed 's/^/| /' conftest.$ac_ext >&5 | 14641 sed 's/^/| /' conftest.$ac_ext >&5 |
12580 | 14642 |
12581 ac_cv_lib_png_png_get_channels=no | 14643 ac_cv_lib_png_png_get_channels=no |
12582 fi | 14644 fi |
12583 rm -f conftest.err conftest.$ac_objext \ | 14645 |
14646 rm -f core conftest.err conftest.$ac_objext \ | |
12584 conftest$ac_exeext conftest.$ac_ext | 14647 conftest$ac_exeext conftest.$ac_ext |
12585 LIBS=$ac_check_lib_save_LIBS | 14648 LIBS=$ac_check_lib_save_LIBS |
12586 fi | 14649 fi |
12587 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 | 14650 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_get_channels" >&5 |
12588 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6 | 14651 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6; } |
12589 if test $ac_cv_lib_png_png_get_channels = yes; then | 14652 if test $ac_cv_lib_png_png_get_channels = yes; then |
12590 HAVE_PNG=yes | 14653 HAVE_PNG=yes |
12591 fi | 14654 fi |
12592 | 14655 |
12593 fi | 14656 fi |
12605 ### Use -ltiff if available, unless `--with-tiff=no'. | 14668 ### Use -ltiff if available, unless `--with-tiff=no'. |
12606 HAVE_TIFF=no | 14669 HAVE_TIFF=no |
12607 if test "${HAVE_X11}" = "yes"; then | 14670 if test "${HAVE_X11}" = "yes"; then |
12608 if test "${with_tiff}" != "no"; then | 14671 if test "${with_tiff}" != "no"; then |
12609 if test "${ac_cv_header_tiffio_h+set}" = set; then | 14672 if test "${ac_cv_header_tiffio_h+set}" = set; then |
12610 echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 14673 { echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
12611 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | 14674 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } |
12612 if test "${ac_cv_header_tiffio_h+set}" = set; then | 14675 if test "${ac_cv_header_tiffio_h+set}" = set; then |
12613 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14676 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12614 fi | 14677 fi |
12615 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 14678 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
12616 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 14679 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } |
12617 else | 14680 else |
12618 # Is the header compilable? | 14681 # Is the header compilable? |
12619 echo "$as_me:$LINENO: checking tiffio.h usability" >&5 | 14682 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5 |
12620 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6 | 14683 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; } |
12621 cat >conftest.$ac_ext <<_ACEOF | 14684 cat >conftest.$ac_ext <<_ACEOF |
12622 /* confdefs.h. */ | 14685 /* confdefs.h. */ |
12623 _ACEOF | 14686 _ACEOF |
12624 cat confdefs.h >>conftest.$ac_ext | 14687 cat confdefs.h >>conftest.$ac_ext |
12625 cat >>conftest.$ac_ext <<_ACEOF | 14688 cat >>conftest.$ac_ext <<_ACEOF |
12626 /* end confdefs.h. */ | 14689 /* end confdefs.h. */ |
12627 $ac_includes_default | 14690 $ac_includes_default |
12628 #include <tiffio.h> | 14691 #include <tiffio.h> |
12629 _ACEOF | 14692 _ACEOF |
12630 rm -f conftest.$ac_objext | 14693 rm -f conftest.$ac_objext |
12631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14694 if { (ac_try="$ac_compile" |
12632 (eval $ac_compile) 2>conftest.er1 | 14695 case "(($ac_try" in |
14696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14697 *) ac_try_echo=$ac_try;; | |
14698 esac | |
14699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14700 (eval "$ac_compile") 2>conftest.er1 | |
12633 ac_status=$? | 14701 ac_status=$? |
12634 grep -v '^ *+' conftest.er1 >conftest.err | 14702 grep -v '^ *+' conftest.er1 >conftest.err |
12635 rm -f conftest.er1 | 14703 rm -f conftest.er1 |
12636 cat conftest.err >&5 | 14704 cat conftest.err >&5 |
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12638 (exit $ac_status); } && | 14706 (exit $ac_status); } && |
12639 { ac_try='test -z "$ac_c_werror_flag" | 14707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12640 || test ! -s conftest.err' | 14708 { (case "(($ac_try" in |
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12642 (eval $ac_try) 2>&5 | 14710 *) ac_try_echo=$ac_try;; |
14711 esac | |
14712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14713 (eval "$ac_try") 2>&5 | |
12643 ac_status=$? | 14714 ac_status=$? |
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12645 (exit $ac_status); }; } && | 14716 (exit $ac_status); }; } && |
12646 { ac_try='test -s conftest.$ac_objext' | 14717 { ac_try='test -s conftest.$ac_objext' |
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14718 { (case "(($ac_try" in |
12648 (eval $ac_try) 2>&5 | 14719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14720 *) ac_try_echo=$ac_try;; | |
14721 esac | |
14722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14723 (eval "$ac_try") 2>&5 | |
12649 ac_status=$? | 14724 ac_status=$? |
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12651 (exit $ac_status); }; }; then | 14726 (exit $ac_status); }; }; then |
12652 ac_header_compiler=yes | 14727 ac_header_compiler=yes |
12653 else | 14728 else |
12654 echo "$as_me: failed program was:" >&5 | 14729 echo "$as_me: failed program was:" >&5 |
12655 sed 's/^/| /' conftest.$ac_ext >&5 | 14730 sed 's/^/| /' conftest.$ac_ext >&5 |
12656 | 14731 |
12657 ac_header_compiler=no | 14732 ac_header_compiler=no |
12658 fi | 14733 fi |
12659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14734 |
12660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12661 echo "${ECHO_T}$ac_header_compiler" >&6 | 14736 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14737 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
12662 | 14738 |
12663 # Is the header present? | 14739 # Is the header present? |
12664 echo "$as_me:$LINENO: checking tiffio.h presence" >&5 | 14740 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5 |
12665 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6 | 14741 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; } |
12666 cat >conftest.$ac_ext <<_ACEOF | 14742 cat >conftest.$ac_ext <<_ACEOF |
12667 /* confdefs.h. */ | 14743 /* confdefs.h. */ |
12668 _ACEOF | 14744 _ACEOF |
12669 cat confdefs.h >>conftest.$ac_ext | 14745 cat confdefs.h >>conftest.$ac_ext |
12670 cat >>conftest.$ac_ext <<_ACEOF | 14746 cat >>conftest.$ac_ext <<_ACEOF |
12671 /* end confdefs.h. */ | 14747 /* end confdefs.h. */ |
12672 #include <tiffio.h> | 14748 #include <tiffio.h> |
12673 _ACEOF | 14749 _ACEOF |
12674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 14750 if { (ac_try="$ac_cpp conftest.$ac_ext" |
12675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 14751 case "(($ac_try" in |
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14753 *) ac_try_echo=$ac_try;; | |
14754 esac | |
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12676 ac_status=$? | 14757 ac_status=$? |
12677 grep -v '^ *+' conftest.er1 >conftest.err | 14758 grep -v '^ *+' conftest.er1 >conftest.err |
12678 rm -f conftest.er1 | 14759 rm -f conftest.er1 |
12679 cat conftest.err >&5 | 14760 cat conftest.err >&5 |
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12694 echo "$as_me: failed program was:" >&5 | 14775 echo "$as_me: failed program was:" >&5 |
12695 sed 's/^/| /' conftest.$ac_ext >&5 | 14776 sed 's/^/| /' conftest.$ac_ext >&5 |
12696 | 14777 |
12697 ac_header_preproc=no | 14778 ac_header_preproc=no |
12698 fi | 14779 fi |
14780 | |
12699 rm -f conftest.err conftest.$ac_ext | 14781 rm -f conftest.err conftest.$ac_ext |
12700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 14782 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12701 echo "${ECHO_T}$ac_header_preproc" >&6 | 14783 echo "${ECHO_T}$ac_header_preproc" >&6; } |
12702 | 14784 |
12703 # So? What about this header? | 14785 # So? What about this header? |
12704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 14786 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12705 yes:no: ) | 14787 yes:no: ) |
12706 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 14788 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12720 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} | 14802 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;} |
12721 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 | 14803 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5 |
12722 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} | 14804 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;} |
12723 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 | 14805 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5 |
12724 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} | 14806 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;} |
12725 ( | 14807 |
12726 cat <<\_ASBOX | |
12727 ## ------------------------------------------ ## | |
12728 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12729 ## ------------------------------------------ ## | |
12730 _ASBOX | |
12731 ) | | |
12732 sed "s/^/$as_me: WARNING: /" >&2 | |
12733 ;; | 14808 ;; |
12734 esac | 14809 esac |
12735 echo "$as_me:$LINENO: checking for tiffio.h" >&5 | 14810 { echo "$as_me:$LINENO: checking for tiffio.h" >&5 |
12736 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6 | 14811 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; } |
12737 if test "${ac_cv_header_tiffio_h+set}" = set; then | 14812 if test "${ac_cv_header_tiffio_h+set}" = set; then |
12738 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14813 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12739 else | 14814 else |
12740 ac_cv_header_tiffio_h=$ac_header_preproc | 14815 ac_cv_header_tiffio_h=$ac_header_preproc |
12741 fi | 14816 fi |
12742 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 | 14817 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5 |
12743 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6 | 14818 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; } |
12744 | 14819 |
12745 fi | 14820 fi |
12746 if test $ac_cv_header_tiffio_h = yes; then | 14821 if test $ac_cv_header_tiffio_h = yes; then |
12747 tifflibs="-lz -lm" | 14822 tifflibs="-lz -lm" |
12748 # At least one tiff package requires the jpeg library. | 14823 # At least one tiff package requires the jpeg library. |
12749 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 14824 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
12750 echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 | 14825 { echo "$as_me:$LINENO: checking for TIFFGetVersion in -ltiff" >&5 |
12751 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6 | 14826 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6; } |
12752 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then | 14827 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then |
12753 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14828 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12754 else | 14829 else |
12755 ac_check_lib_save_LIBS=$LIBS | 14830 ac_check_lib_save_LIBS=$LIBS |
12756 LIBS="-ltiff $tifflibs $LIBS" | 14831 LIBS="-ltiff $tifflibs $LIBS" |
12759 _ACEOF | 14834 _ACEOF |
12760 cat confdefs.h >>conftest.$ac_ext | 14835 cat confdefs.h >>conftest.$ac_ext |
12761 cat >>conftest.$ac_ext <<_ACEOF | 14836 cat >>conftest.$ac_ext <<_ACEOF |
12762 /* end confdefs.h. */ | 14837 /* end confdefs.h. */ |
12763 | 14838 |
12764 /* Override any gcc2 internal prototype to avoid an error. */ | 14839 /* Override any GCC internal prototype to avoid an error. |
14840 Use char because int might match the return type of a GCC | |
14841 builtin and then its argument prototype would still apply. */ | |
12765 #ifdef __cplusplus | 14842 #ifdef __cplusplus |
12766 extern "C" | 14843 extern "C" |
12767 #endif | 14844 #endif |
12768 /* We use char because int might match the return type of a gcc2 | |
12769 builtin and then its argument prototype would still apply. */ | |
12770 char TIFFGetVersion (); | 14845 char TIFFGetVersion (); |
12771 int | 14846 int |
12772 main () | 14847 main () |
12773 { | 14848 { |
12774 TIFFGetVersion (); | 14849 return TIFFGetVersion (); |
12775 ; | 14850 ; |
12776 return 0; | 14851 return 0; |
12777 } | 14852 } |
12778 _ACEOF | 14853 _ACEOF |
12779 rm -f conftest.$ac_objext conftest$ac_exeext | 14854 rm -f conftest.$ac_objext conftest$ac_exeext |
12780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 14855 if { (ac_try="$ac_link" |
12781 (eval $ac_link) 2>conftest.er1 | 14856 case "(($ac_try" in |
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14858 *) ac_try_echo=$ac_try;; | |
14859 esac | |
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14861 (eval "$ac_link") 2>conftest.er1 | |
12782 ac_status=$? | 14862 ac_status=$? |
12783 grep -v '^ *+' conftest.er1 >conftest.err | 14863 grep -v '^ *+' conftest.er1 >conftest.err |
12784 rm -f conftest.er1 | 14864 rm -f conftest.er1 |
12785 cat conftest.err >&5 | 14865 cat conftest.err >&5 |
12786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12787 (exit $ac_status); } && | 14867 (exit $ac_status); } && |
12788 { ac_try='test -z "$ac_c_werror_flag" | 14868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12789 || test ! -s conftest.err' | 14869 { (case "(($ac_try" in |
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12791 (eval $ac_try) 2>&5 | 14871 *) ac_try_echo=$ac_try;; |
14872 esac | |
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14874 (eval "$ac_try") 2>&5 | |
12792 ac_status=$? | 14875 ac_status=$? |
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12794 (exit $ac_status); }; } && | 14877 (exit $ac_status); }; } && |
12795 { ac_try='test -s conftest$ac_exeext' | 14878 { ac_try='test -s conftest$ac_exeext' |
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14879 { (case "(($ac_try" in |
12797 (eval $ac_try) 2>&5 | 14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14881 *) ac_try_echo=$ac_try;; | |
14882 esac | |
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14884 (eval "$ac_try") 2>&5 | |
12798 ac_status=$? | 14885 ac_status=$? |
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12800 (exit $ac_status); }; }; then | 14887 (exit $ac_status); }; }; then |
12801 ac_cv_lib_tiff_TIFFGetVersion=yes | 14888 ac_cv_lib_tiff_TIFFGetVersion=yes |
12802 else | 14889 else |
12803 echo "$as_me: failed program was:" >&5 | 14890 echo "$as_me: failed program was:" >&5 |
12804 sed 's/^/| /' conftest.$ac_ext >&5 | 14891 sed 's/^/| /' conftest.$ac_ext >&5 |
12805 | 14892 |
12806 ac_cv_lib_tiff_TIFFGetVersion=no | 14893 ac_cv_lib_tiff_TIFFGetVersion=no |
12807 fi | 14894 fi |
12808 rm -f conftest.err conftest.$ac_objext \ | 14895 |
14896 rm -f core conftest.err conftest.$ac_objext \ | |
12809 conftest$ac_exeext conftest.$ac_ext | 14897 conftest$ac_exeext conftest.$ac_ext |
12810 LIBS=$ac_check_lib_save_LIBS | 14898 LIBS=$ac_check_lib_save_LIBS |
12811 fi | 14899 fi |
12812 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 | 14900 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5 |
12813 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6 | 14901 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6; } |
12814 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then | 14902 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then |
12815 HAVE_TIFF=yes | 14903 HAVE_TIFF=yes |
12816 fi | 14904 fi |
12817 | 14905 |
12818 fi | 14906 fi |
12832 ### Use -lgif if available, unless `--with-gif=no'. | 14920 ### Use -lgif if available, unless `--with-gif=no'. |
12833 HAVE_GIF=no | 14921 HAVE_GIF=no |
12834 if test "${HAVE_X11}" = "yes"; then | 14922 if test "${HAVE_X11}" = "yes"; then |
12835 if test "${with_gif}" != "no"; then | 14923 if test "${with_gif}" != "no"; then |
12836 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 14924 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
12837 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 14925 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
12838 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | 14926 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } |
12839 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 14927 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
12840 echo $ECHO_N "(cached) $ECHO_C" >&6 | 14928 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12841 fi | 14929 fi |
12842 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 14930 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 |
12843 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 14931 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } |
12844 else | 14932 else |
12845 # Is the header compilable? | 14933 # Is the header compilable? |
12846 echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 | 14934 { echo "$as_me:$LINENO: checking gif_lib.h usability" >&5 |
12847 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6 | 14935 echo $ECHO_N "checking gif_lib.h usability... $ECHO_C" >&6; } |
12848 cat >conftest.$ac_ext <<_ACEOF | 14936 cat >conftest.$ac_ext <<_ACEOF |
12849 /* confdefs.h. */ | 14937 /* confdefs.h. */ |
12850 _ACEOF | 14938 _ACEOF |
12851 cat confdefs.h >>conftest.$ac_ext | 14939 cat confdefs.h >>conftest.$ac_ext |
12852 cat >>conftest.$ac_ext <<_ACEOF | 14940 cat >>conftest.$ac_ext <<_ACEOF |
12853 /* end confdefs.h. */ | 14941 /* end confdefs.h. */ |
12854 $ac_includes_default | 14942 $ac_includes_default |
12855 #include <gif_lib.h> | 14943 #include <gif_lib.h> |
12856 _ACEOF | 14944 _ACEOF |
12857 rm -f conftest.$ac_objext | 14945 rm -f conftest.$ac_objext |
12858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 14946 if { (ac_try="$ac_compile" |
12859 (eval $ac_compile) 2>conftest.er1 | 14947 case "(($ac_try" in |
14948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
14949 *) ac_try_echo=$ac_try;; | |
14950 esac | |
14951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14952 (eval "$ac_compile") 2>conftest.er1 | |
12860 ac_status=$? | 14953 ac_status=$? |
12861 grep -v '^ *+' conftest.er1 >conftest.err | 14954 grep -v '^ *+' conftest.er1 >conftest.err |
12862 rm -f conftest.er1 | 14955 rm -f conftest.er1 |
12863 cat conftest.err >&5 | 14956 cat conftest.err >&5 |
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12865 (exit $ac_status); } && | 14958 (exit $ac_status); } && |
12866 { ac_try='test -z "$ac_c_werror_flag" | 14959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
12867 || test ! -s conftest.err' | 14960 { (case "(($ac_try" in |
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
12869 (eval $ac_try) 2>&5 | 14962 *) ac_try_echo=$ac_try;; |
14963 esac | |
14964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14965 (eval "$ac_try") 2>&5 | |
12870 ac_status=$? | 14966 ac_status=$? |
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12872 (exit $ac_status); }; } && | 14968 (exit $ac_status); }; } && |
12873 { ac_try='test -s conftest.$ac_objext' | 14969 { ac_try='test -s conftest.$ac_objext' |
12874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 14970 { (case "(($ac_try" in |
12875 (eval $ac_try) 2>&5 | 14971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14972 *) ac_try_echo=$ac_try;; | |
14973 esac | |
14974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
14975 (eval "$ac_try") 2>&5 | |
12876 ac_status=$? | 14976 ac_status=$? |
12877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12878 (exit $ac_status); }; }; then | 14978 (exit $ac_status); }; }; then |
12879 ac_header_compiler=yes | 14979 ac_header_compiler=yes |
12880 else | 14980 else |
12881 echo "$as_me: failed program was:" >&5 | 14981 echo "$as_me: failed program was:" >&5 |
12882 sed 's/^/| /' conftest.$ac_ext >&5 | 14982 sed 's/^/| /' conftest.$ac_ext >&5 |
12883 | 14983 |
12884 ac_header_compiler=no | 14984 ac_header_compiler=no |
12885 fi | 14985 fi |
12886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 14986 |
12887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 14987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
12888 echo "${ECHO_T}$ac_header_compiler" >&6 | 14988 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
14989 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
12889 | 14990 |
12890 # Is the header present? | 14991 # Is the header present? |
12891 echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 | 14992 { echo "$as_me:$LINENO: checking gif_lib.h presence" >&5 |
12892 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6 | 14993 echo $ECHO_N "checking gif_lib.h presence... $ECHO_C" >&6; } |
12893 cat >conftest.$ac_ext <<_ACEOF | 14994 cat >conftest.$ac_ext <<_ACEOF |
12894 /* confdefs.h. */ | 14995 /* confdefs.h. */ |
12895 _ACEOF | 14996 _ACEOF |
12896 cat confdefs.h >>conftest.$ac_ext | 14997 cat confdefs.h >>conftest.$ac_ext |
12897 cat >>conftest.$ac_ext <<_ACEOF | 14998 cat >>conftest.$ac_ext <<_ACEOF |
12898 /* end confdefs.h. */ | 14999 /* end confdefs.h. */ |
12899 #include <gif_lib.h> | 15000 #include <gif_lib.h> |
12900 _ACEOF | 15001 _ACEOF |
12901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15002 if { (ac_try="$ac_cpp conftest.$ac_ext" |
12902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15003 case "(($ac_try" in |
15004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15005 *) ac_try_echo=$ac_try;; | |
15006 esac | |
15007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15008 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
12903 ac_status=$? | 15009 ac_status=$? |
12904 grep -v '^ *+' conftest.er1 >conftest.err | 15010 grep -v '^ *+' conftest.er1 >conftest.err |
12905 rm -f conftest.er1 | 15011 rm -f conftest.er1 |
12906 cat conftest.err >&5 | 15012 cat conftest.err >&5 |
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12921 echo "$as_me: failed program was:" >&5 | 15027 echo "$as_me: failed program was:" >&5 |
12922 sed 's/^/| /' conftest.$ac_ext >&5 | 15028 sed 's/^/| /' conftest.$ac_ext >&5 |
12923 | 15029 |
12924 ac_header_preproc=no | 15030 ac_header_preproc=no |
12925 fi | 15031 fi |
15032 | |
12926 rm -f conftest.err conftest.$ac_ext | 15033 rm -f conftest.err conftest.$ac_ext |
12927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 15034 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
12928 echo "${ECHO_T}$ac_header_preproc" >&6 | 15035 echo "${ECHO_T}$ac_header_preproc" >&6; } |
12929 | 15036 |
12930 # So? What about this header? | 15037 # So? What about this header? |
12931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 15038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
12932 yes:no: ) | 15039 yes:no: ) |
12933 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 15040 { echo "$as_me:$LINENO: WARNING: gif_lib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
12947 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} | 15054 echo "$as_me: WARNING: gif_lib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
12948 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 | 15055 { echo "$as_me:$LINENO: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&5 |
12949 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} | 15056 echo "$as_me: WARNING: gif_lib.h: proceeding with the preprocessor's result" >&2;} |
12950 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 | 15057 { echo "$as_me:$LINENO: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&5 |
12951 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} | 15058 echo "$as_me: WARNING: gif_lib.h: in the future, the compiler will take precedence" >&2;} |
12952 ( | 15059 |
12953 cat <<\_ASBOX | |
12954 ## ------------------------------------------ ## | |
12955 ## Report this to the AC_PACKAGE_NAME lists. ## | |
12956 ## ------------------------------------------ ## | |
12957 _ASBOX | |
12958 ) | | |
12959 sed "s/^/$as_me: WARNING: /" >&2 | |
12960 ;; | 15060 ;; |
12961 esac | 15061 esac |
12962 echo "$as_me:$LINENO: checking for gif_lib.h" >&5 | 15062 { echo "$as_me:$LINENO: checking for gif_lib.h" >&5 |
12963 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6 | 15063 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6; } |
12964 if test "${ac_cv_header_gif_lib_h+set}" = set; then | 15064 if test "${ac_cv_header_gif_lib_h+set}" = set; then |
12965 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15065 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12966 else | 15066 else |
12967 ac_cv_header_gif_lib_h=$ac_header_preproc | 15067 ac_cv_header_gif_lib_h=$ac_header_preproc |
12968 fi | 15068 fi |
12969 echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 | 15069 { echo "$as_me:$LINENO: result: $ac_cv_header_gif_lib_h" >&5 |
12970 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6 | 15070 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6; } |
12971 | 15071 |
12972 fi | 15072 fi |
12973 if test $ac_cv_header_gif_lib_h = yes; then | 15073 if test $ac_cv_header_gif_lib_h = yes; then |
12974 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. | 15074 # EGifPutExtensionLast only exists from version libungif-4.1.0b1. |
12975 # Earlier versions can crash Emacs. | 15075 # Earlier versions can crash Emacs. |
12976 echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 | 15076 { echo "$as_me:$LINENO: checking for EGifPutExtensionLast in -lungif" >&5 |
12977 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6 | 15077 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6; } |
12978 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then | 15078 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then |
12979 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15079 echo $ECHO_N "(cached) $ECHO_C" >&6 |
12980 else | 15080 else |
12981 ac_check_lib_save_LIBS=$LIBS | 15081 ac_check_lib_save_LIBS=$LIBS |
12982 LIBS="-lungif $LIBS" | 15082 LIBS="-lungif $LIBS" |
12985 _ACEOF | 15085 _ACEOF |
12986 cat confdefs.h >>conftest.$ac_ext | 15086 cat confdefs.h >>conftest.$ac_ext |
12987 cat >>conftest.$ac_ext <<_ACEOF | 15087 cat >>conftest.$ac_ext <<_ACEOF |
12988 /* end confdefs.h. */ | 15088 /* end confdefs.h. */ |
12989 | 15089 |
12990 /* Override any gcc2 internal prototype to avoid an error. */ | 15090 /* Override any GCC internal prototype to avoid an error. |
15091 Use char because int might match the return type of a GCC | |
15092 builtin and then its argument prototype would still apply. */ | |
12991 #ifdef __cplusplus | 15093 #ifdef __cplusplus |
12992 extern "C" | 15094 extern "C" |
12993 #endif | 15095 #endif |
12994 /* We use char because int might match the return type of a gcc2 | |
12995 builtin and then its argument prototype would still apply. */ | |
12996 char EGifPutExtensionLast (); | 15096 char EGifPutExtensionLast (); |
12997 int | 15097 int |
12998 main () | 15098 main () |
12999 { | 15099 { |
13000 EGifPutExtensionLast (); | 15100 return EGifPutExtensionLast (); |
13001 ; | 15101 ; |
13002 return 0; | 15102 return 0; |
13003 } | 15103 } |
13004 _ACEOF | 15104 _ACEOF |
13005 rm -f conftest.$ac_objext conftest$ac_exeext | 15105 rm -f conftest.$ac_objext conftest$ac_exeext |
13006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15106 if { (ac_try="$ac_link" |
13007 (eval $ac_link) 2>conftest.er1 | 15107 case "(($ac_try" in |
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15109 *) ac_try_echo=$ac_try;; | |
15110 esac | |
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15112 (eval "$ac_link") 2>conftest.er1 | |
13008 ac_status=$? | 15113 ac_status=$? |
13009 grep -v '^ *+' conftest.er1 >conftest.err | 15114 grep -v '^ *+' conftest.er1 >conftest.err |
13010 rm -f conftest.er1 | 15115 rm -f conftest.er1 |
13011 cat conftest.err >&5 | 15116 cat conftest.err >&5 |
13012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13013 (exit $ac_status); } && | 15118 (exit $ac_status); } && |
13014 { ac_try='test -z "$ac_c_werror_flag" | 15119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13015 || test ! -s conftest.err' | 15120 { (case "(($ac_try" in |
13016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13017 (eval $ac_try) 2>&5 | 15122 *) ac_try_echo=$ac_try;; |
15123 esac | |
15124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15125 (eval "$ac_try") 2>&5 | |
13018 ac_status=$? | 15126 ac_status=$? |
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13020 (exit $ac_status); }; } && | 15128 (exit $ac_status); }; } && |
13021 { ac_try='test -s conftest$ac_exeext' | 15129 { ac_try='test -s conftest$ac_exeext' |
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15130 { (case "(($ac_try" in |
13023 (eval $ac_try) 2>&5 | 15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15132 *) ac_try_echo=$ac_try;; | |
15133 esac | |
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15135 (eval "$ac_try") 2>&5 | |
13024 ac_status=$? | 15136 ac_status=$? |
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13026 (exit $ac_status); }; }; then | 15138 (exit $ac_status); }; }; then |
13027 ac_cv_lib_ungif_EGifPutExtensionLast=yes | 15139 ac_cv_lib_ungif_EGifPutExtensionLast=yes |
13028 else | 15140 else |
13029 echo "$as_me: failed program was:" >&5 | 15141 echo "$as_me: failed program was:" >&5 |
13030 sed 's/^/| /' conftest.$ac_ext >&5 | 15142 sed 's/^/| /' conftest.$ac_ext >&5 |
13031 | 15143 |
13032 ac_cv_lib_ungif_EGifPutExtensionLast=no | 15144 ac_cv_lib_ungif_EGifPutExtensionLast=no |
13033 fi | 15145 fi |
13034 rm -f conftest.err conftest.$ac_objext \ | 15146 |
15147 rm -f core conftest.err conftest.$ac_objext \ | |
13035 conftest$ac_exeext conftest.$ac_ext | 15148 conftest$ac_exeext conftest.$ac_ext |
13036 LIBS=$ac_check_lib_save_LIBS | 15149 LIBS=$ac_check_lib_save_LIBS |
13037 fi | 15150 fi |
13038 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 | 15151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 |
13039 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6 | 15152 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } |
13040 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then | 15153 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then |
13041 HAVE_GIF=yes | 15154 HAVE_GIF=yes |
13042 fi | 15155 fi |
13043 | 15156 |
13044 fi | 15157 fi |
13054 | 15167 |
13055 fi | 15168 fi |
13056 fi | 15169 fi |
13057 | 15170 |
13058 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 15171 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
13059 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 15172 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
13060 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 | 15173 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } |
13061 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 15174 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
13062 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15175 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13063 fi | 15176 fi |
13064 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | 15177 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 |
13065 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 | 15178 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } |
13066 else | 15179 else |
13067 # Is the header compilable? | 15180 # Is the header compilable? |
13068 echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 | 15181 { echo "$as_me:$LINENO: checking malloc/malloc.h usability" >&5 |
13069 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6 | 15182 echo $ECHO_N "checking malloc/malloc.h usability... $ECHO_C" >&6; } |
13070 cat >conftest.$ac_ext <<_ACEOF | 15183 cat >conftest.$ac_ext <<_ACEOF |
13071 /* confdefs.h. */ | 15184 /* confdefs.h. */ |
13072 _ACEOF | 15185 _ACEOF |
13073 cat confdefs.h >>conftest.$ac_ext | 15186 cat confdefs.h >>conftest.$ac_ext |
13074 cat >>conftest.$ac_ext <<_ACEOF | 15187 cat >>conftest.$ac_ext <<_ACEOF |
13075 /* end confdefs.h. */ | 15188 /* end confdefs.h. */ |
13076 $ac_includes_default | 15189 $ac_includes_default |
13077 #include <malloc/malloc.h> | 15190 #include <malloc/malloc.h> |
13078 _ACEOF | 15191 _ACEOF |
13079 rm -f conftest.$ac_objext | 15192 rm -f conftest.$ac_objext |
13080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15193 if { (ac_try="$ac_compile" |
13081 (eval $ac_compile) 2>conftest.er1 | 15194 case "(($ac_try" in |
15195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15196 *) ac_try_echo=$ac_try;; | |
15197 esac | |
15198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15199 (eval "$ac_compile") 2>conftest.er1 | |
13082 ac_status=$? | 15200 ac_status=$? |
13083 grep -v '^ *+' conftest.er1 >conftest.err | 15201 grep -v '^ *+' conftest.er1 >conftest.err |
13084 rm -f conftest.er1 | 15202 rm -f conftest.er1 |
13085 cat conftest.err >&5 | 15203 cat conftest.err >&5 |
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13087 (exit $ac_status); } && | 15205 (exit $ac_status); } && |
13088 { ac_try='test -z "$ac_c_werror_flag" | 15206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13089 || test ! -s conftest.err' | 15207 { (case "(($ac_try" in |
13090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13091 (eval $ac_try) 2>&5 | 15209 *) ac_try_echo=$ac_try;; |
15210 esac | |
15211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15212 (eval "$ac_try") 2>&5 | |
13092 ac_status=$? | 15213 ac_status=$? |
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13094 (exit $ac_status); }; } && | 15215 (exit $ac_status); }; } && |
13095 { ac_try='test -s conftest.$ac_objext' | 15216 { ac_try='test -s conftest.$ac_objext' |
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15217 { (case "(($ac_try" in |
13097 (eval $ac_try) 2>&5 | 15218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15219 *) ac_try_echo=$ac_try;; | |
15220 esac | |
15221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15222 (eval "$ac_try") 2>&5 | |
13098 ac_status=$? | 15223 ac_status=$? |
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13100 (exit $ac_status); }; }; then | 15225 (exit $ac_status); }; }; then |
13101 ac_header_compiler=yes | 15226 ac_header_compiler=yes |
13102 else | 15227 else |
13103 echo "$as_me: failed program was:" >&5 | 15228 echo "$as_me: failed program was:" >&5 |
13104 sed 's/^/| /' conftest.$ac_ext >&5 | 15229 sed 's/^/| /' conftest.$ac_ext >&5 |
13105 | 15230 |
13106 ac_header_compiler=no | 15231 ac_header_compiler=no |
13107 fi | 15232 fi |
13108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 15233 |
13109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13110 echo "${ECHO_T}$ac_header_compiler" >&6 | 15235 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15236 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
13111 | 15237 |
13112 # Is the header present? | 15238 # Is the header present? |
13113 echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 | 15239 { echo "$as_me:$LINENO: checking malloc/malloc.h presence" >&5 |
13114 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6 | 15240 echo $ECHO_N "checking malloc/malloc.h presence... $ECHO_C" >&6; } |
13115 cat >conftest.$ac_ext <<_ACEOF | 15241 cat >conftest.$ac_ext <<_ACEOF |
13116 /* confdefs.h. */ | 15242 /* confdefs.h. */ |
13117 _ACEOF | 15243 _ACEOF |
13118 cat confdefs.h >>conftest.$ac_ext | 15244 cat confdefs.h >>conftest.$ac_ext |
13119 cat >>conftest.$ac_ext <<_ACEOF | 15245 cat >>conftest.$ac_ext <<_ACEOF |
13120 /* end confdefs.h. */ | 15246 /* end confdefs.h. */ |
13121 #include <malloc/malloc.h> | 15247 #include <malloc/malloc.h> |
13122 _ACEOF | 15248 _ACEOF |
13123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15249 if { (ac_try="$ac_cpp conftest.$ac_ext" |
13124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15250 case "(($ac_try" in |
15251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15252 *) ac_try_echo=$ac_try;; | |
15253 esac | |
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
13125 ac_status=$? | 15256 ac_status=$? |
13126 grep -v '^ *+' conftest.er1 >conftest.err | 15257 grep -v '^ *+' conftest.er1 >conftest.err |
13127 rm -f conftest.er1 | 15258 rm -f conftest.er1 |
13128 cat conftest.err >&5 | 15259 cat conftest.err >&5 |
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13143 echo "$as_me: failed program was:" >&5 | 15274 echo "$as_me: failed program was:" >&5 |
13144 sed 's/^/| /' conftest.$ac_ext >&5 | 15275 sed 's/^/| /' conftest.$ac_ext >&5 |
13145 | 15276 |
13146 ac_header_preproc=no | 15277 ac_header_preproc=no |
13147 fi | 15278 fi |
15279 | |
13148 rm -f conftest.err conftest.$ac_ext | 15280 rm -f conftest.err conftest.$ac_ext |
13149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 15281 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13150 echo "${ECHO_T}$ac_header_preproc" >&6 | 15282 echo "${ECHO_T}$ac_header_preproc" >&6; } |
13151 | 15283 |
13152 # So? What about this header? | 15284 # So? What about this header? |
13153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 15285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
13154 yes:no: ) | 15286 yes:no: ) |
13155 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 15287 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
13169 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} | 15301 echo "$as_me: WARNING: malloc/malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} |
13170 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 | 15302 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&5 |
13171 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} | 15303 echo "$as_me: WARNING: malloc/malloc.h: proceeding with the preprocessor's result" >&2;} |
13172 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 | 15304 { echo "$as_me:$LINENO: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&5 |
13173 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} | 15305 echo "$as_me: WARNING: malloc/malloc.h: in the future, the compiler will take precedence" >&2;} |
13174 ( | 15306 |
13175 cat <<\_ASBOX | |
13176 ## ------------------------------------------ ## | |
13177 ## Report this to the AC_PACKAGE_NAME lists. ## | |
13178 ## ------------------------------------------ ## | |
13179 _ASBOX | |
13180 ) | | |
13181 sed "s/^/$as_me: WARNING: /" >&2 | |
13182 ;; | 15307 ;; |
13183 esac | 15308 esac |
13184 echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 | 15309 { echo "$as_me:$LINENO: checking for malloc/malloc.h" >&5 |
13185 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6 | 15310 echo $ECHO_N "checking for malloc/malloc.h... $ECHO_C" >&6; } |
13186 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then | 15311 if test "${ac_cv_header_malloc_malloc_h+set}" = set; then |
13187 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15312 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13188 else | 15313 else |
13189 ac_cv_header_malloc_malloc_h=$ac_header_preproc | 15314 ac_cv_header_malloc_malloc_h=$ac_header_preproc |
13190 fi | 15315 fi |
13191 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 | 15316 { echo "$as_me:$LINENO: result: $ac_cv_header_malloc_malloc_h" >&5 |
13192 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6 | 15317 echo "${ECHO_T}$ac_cv_header_malloc_malloc_h" >&6; } |
13193 | 15318 |
13194 fi | 15319 fi |
13195 if test $ac_cv_header_malloc_malloc_h = yes; then | 15320 if test $ac_cv_header_malloc_malloc_h = yes; then |
13196 | 15321 |
13197 cat >>confdefs.h <<\_ACEOF | 15322 cat >>confdefs.h <<\_ACEOF |
13223 | 15348 |
13224 ### Use session management (-lSM -lICE) if available | 15349 ### Use session management (-lSM -lICE) if available |
13225 HAVE_X_SM=no | 15350 HAVE_X_SM=no |
13226 if test "${HAVE_X11}" = "yes"; then | 15351 if test "${HAVE_X11}" = "yes"; then |
13227 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 15352 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
13228 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 15353 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
13229 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 | 15354 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } |
13230 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 15355 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
13231 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15356 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13232 fi | 15357 fi |
13233 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 15358 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
13234 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 | 15359 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } |
13235 else | 15360 else |
13236 # Is the header compilable? | 15361 # Is the header compilable? |
13237 echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 | 15362 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h usability" >&5 |
13238 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6 | 15363 echo $ECHO_N "checking X11/SM/SMlib.h usability... $ECHO_C" >&6; } |
13239 cat >conftest.$ac_ext <<_ACEOF | 15364 cat >conftest.$ac_ext <<_ACEOF |
13240 /* confdefs.h. */ | 15365 /* confdefs.h. */ |
13241 _ACEOF | 15366 _ACEOF |
13242 cat confdefs.h >>conftest.$ac_ext | 15367 cat confdefs.h >>conftest.$ac_ext |
13243 cat >>conftest.$ac_ext <<_ACEOF | 15368 cat >>conftest.$ac_ext <<_ACEOF |
13244 /* end confdefs.h. */ | 15369 /* end confdefs.h. */ |
13245 $ac_includes_default | 15370 $ac_includes_default |
13246 #include <X11/SM/SMlib.h> | 15371 #include <X11/SM/SMlib.h> |
13247 _ACEOF | 15372 _ACEOF |
13248 rm -f conftest.$ac_objext | 15373 rm -f conftest.$ac_objext |
13249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 15374 if { (ac_try="$ac_compile" |
13250 (eval $ac_compile) 2>conftest.er1 | 15375 case "(($ac_try" in |
15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15377 *) ac_try_echo=$ac_try;; | |
15378 esac | |
15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15380 (eval "$ac_compile") 2>conftest.er1 | |
13251 ac_status=$? | 15381 ac_status=$? |
13252 grep -v '^ *+' conftest.er1 >conftest.err | 15382 grep -v '^ *+' conftest.er1 >conftest.err |
13253 rm -f conftest.er1 | 15383 rm -f conftest.er1 |
13254 cat conftest.err >&5 | 15384 cat conftest.err >&5 |
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13256 (exit $ac_status); } && | 15386 (exit $ac_status); } && |
13257 { ac_try='test -z "$ac_c_werror_flag" | 15387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13258 || test ! -s conftest.err' | 15388 { (case "(($ac_try" in |
13259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13260 (eval $ac_try) 2>&5 | 15390 *) ac_try_echo=$ac_try;; |
15391 esac | |
15392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15393 (eval "$ac_try") 2>&5 | |
13261 ac_status=$? | 15394 ac_status=$? |
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13263 (exit $ac_status); }; } && | 15396 (exit $ac_status); }; } && |
13264 { ac_try='test -s conftest.$ac_objext' | 15397 { ac_try='test -s conftest.$ac_objext' |
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15398 { (case "(($ac_try" in |
13266 (eval $ac_try) 2>&5 | 15399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15400 *) ac_try_echo=$ac_try;; | |
15401 esac | |
15402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15403 (eval "$ac_try") 2>&5 | |
13267 ac_status=$? | 15404 ac_status=$? |
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13269 (exit $ac_status); }; }; then | 15406 (exit $ac_status); }; }; then |
13270 ac_header_compiler=yes | 15407 ac_header_compiler=yes |
13271 else | 15408 else |
13272 echo "$as_me: failed program was:" >&5 | 15409 echo "$as_me: failed program was:" >&5 |
13273 sed 's/^/| /' conftest.$ac_ext >&5 | 15410 sed 's/^/| /' conftest.$ac_ext >&5 |
13274 | 15411 |
13275 ac_header_compiler=no | 15412 ac_header_compiler=no |
13276 fi | 15413 fi |
13277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 15414 |
13278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
13279 echo "${ECHO_T}$ac_header_compiler" >&6 | 15416 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
15417 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
13280 | 15418 |
13281 # Is the header present? | 15419 # Is the header present? |
13282 echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 | 15420 { echo "$as_me:$LINENO: checking X11/SM/SMlib.h presence" >&5 |
13283 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6 | 15421 echo $ECHO_N "checking X11/SM/SMlib.h presence... $ECHO_C" >&6; } |
13284 cat >conftest.$ac_ext <<_ACEOF | 15422 cat >conftest.$ac_ext <<_ACEOF |
13285 /* confdefs.h. */ | 15423 /* confdefs.h. */ |
13286 _ACEOF | 15424 _ACEOF |
13287 cat confdefs.h >>conftest.$ac_ext | 15425 cat confdefs.h >>conftest.$ac_ext |
13288 cat >>conftest.$ac_ext <<_ACEOF | 15426 cat >>conftest.$ac_ext <<_ACEOF |
13289 /* end confdefs.h. */ | 15427 /* end confdefs.h. */ |
13290 #include <X11/SM/SMlib.h> | 15428 #include <X11/SM/SMlib.h> |
13291 _ACEOF | 15429 _ACEOF |
13292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 15430 if { (ac_try="$ac_cpp conftest.$ac_ext" |
13293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 15431 case "(($ac_try" in |
15432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15433 *) ac_try_echo=$ac_try;; | |
15434 esac | |
15435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15436 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
13294 ac_status=$? | 15437 ac_status=$? |
13295 grep -v '^ *+' conftest.er1 >conftest.err | 15438 grep -v '^ *+' conftest.er1 >conftest.err |
13296 rm -f conftest.er1 | 15439 rm -f conftest.er1 |
13297 cat conftest.err >&5 | 15440 cat conftest.err >&5 |
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13312 echo "$as_me: failed program was:" >&5 | 15455 echo "$as_me: failed program was:" >&5 |
13313 sed 's/^/| /' conftest.$ac_ext >&5 | 15456 sed 's/^/| /' conftest.$ac_ext >&5 |
13314 | 15457 |
13315 ac_header_preproc=no | 15458 ac_header_preproc=no |
13316 fi | 15459 fi |
15460 | |
13317 rm -f conftest.err conftest.$ac_ext | 15461 rm -f conftest.err conftest.$ac_ext |
13318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 15462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
13319 echo "${ECHO_T}$ac_header_preproc" >&6 | 15463 echo "${ECHO_T}$ac_header_preproc" >&6; } |
13320 | 15464 |
13321 # So? What about this header? | 15465 # So? What about this header? |
13322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 15466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
13323 yes:no: ) | 15467 yes:no: ) |
13324 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 15468 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
13338 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} | 15482 echo "$as_me: WARNING: X11/SM/SMlib.h: section \"Present But Cannot Be Compiled\"" >&2;} |
13339 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 | 15483 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&5 |
13340 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} | 15484 echo "$as_me: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's result" >&2;} |
13341 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 | 15485 { echo "$as_me:$LINENO: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&5 |
13342 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} | 15486 echo "$as_me: WARNING: X11/SM/SMlib.h: in the future, the compiler will take precedence" >&2;} |
13343 ( | 15487 |
13344 cat <<\_ASBOX | |
13345 ## ------------------------------------------ ## | |
13346 ## Report this to the AC_PACKAGE_NAME lists. ## | |
13347 ## ------------------------------------------ ## | |
13348 _ASBOX | |
13349 ) | | |
13350 sed "s/^/$as_me: WARNING: /" >&2 | |
13351 ;; | 15488 ;; |
13352 esac | 15489 esac |
13353 echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 | 15490 { echo "$as_me:$LINENO: checking for X11/SM/SMlib.h" >&5 |
13354 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6 | 15491 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6; } |
13355 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then | 15492 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then |
13356 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15493 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13357 else | 15494 else |
13358 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc | 15495 ac_cv_header_X11_SM_SMlib_h=$ac_header_preproc |
13359 fi | 15496 fi |
13360 echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 | 15497 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_SM_SMlib_h" >&5 |
13361 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6 | 15498 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6; } |
13362 | 15499 |
13363 fi | 15500 fi |
13364 if test $ac_cv_header_X11_SM_SMlib_h = yes; then | 15501 if test $ac_cv_header_X11_SM_SMlib_h = yes; then |
13365 echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 | 15502 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5 |
13366 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6 | 15503 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; } |
13367 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then | 15504 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then |
13368 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15505 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13369 else | 15506 else |
13370 ac_check_lib_save_LIBS=$LIBS | 15507 ac_check_lib_save_LIBS=$LIBS |
13371 LIBS="-lSM -lICE $LIBS" | 15508 LIBS="-lSM -lICE $LIBS" |
13374 _ACEOF | 15511 _ACEOF |
13375 cat confdefs.h >>conftest.$ac_ext | 15512 cat confdefs.h >>conftest.$ac_ext |
13376 cat >>conftest.$ac_ext <<_ACEOF | 15513 cat >>conftest.$ac_ext <<_ACEOF |
13377 /* end confdefs.h. */ | 15514 /* end confdefs.h. */ |
13378 | 15515 |
13379 /* Override any gcc2 internal prototype to avoid an error. */ | 15516 /* Override any GCC internal prototype to avoid an error. |
15517 Use char because int might match the return type of a GCC | |
15518 builtin and then its argument prototype would still apply. */ | |
13380 #ifdef __cplusplus | 15519 #ifdef __cplusplus |
13381 extern "C" | 15520 extern "C" |
13382 #endif | 15521 #endif |
13383 /* We use char because int might match the return type of a gcc2 | |
13384 builtin and then its argument prototype would still apply. */ | |
13385 char SmcOpenConnection (); | 15522 char SmcOpenConnection (); |
13386 int | 15523 int |
13387 main () | 15524 main () |
13388 { | 15525 { |
13389 SmcOpenConnection (); | 15526 return SmcOpenConnection (); |
13390 ; | 15527 ; |
13391 return 0; | 15528 return 0; |
13392 } | 15529 } |
13393 _ACEOF | 15530 _ACEOF |
13394 rm -f conftest.$ac_objext conftest$ac_exeext | 15531 rm -f conftest.$ac_objext conftest$ac_exeext |
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15532 if { (ac_try="$ac_link" |
13396 (eval $ac_link) 2>conftest.er1 | 15533 case "(($ac_try" in |
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15535 *) ac_try_echo=$ac_try;; | |
15536 esac | |
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15538 (eval "$ac_link") 2>conftest.er1 | |
13397 ac_status=$? | 15539 ac_status=$? |
13398 grep -v '^ *+' conftest.er1 >conftest.err | 15540 grep -v '^ *+' conftest.er1 >conftest.err |
13399 rm -f conftest.er1 | 15541 rm -f conftest.er1 |
13400 cat conftest.err >&5 | 15542 cat conftest.err >&5 |
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13402 (exit $ac_status); } && | 15544 (exit $ac_status); } && |
13403 { ac_try='test -z "$ac_c_werror_flag" | 15545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13404 || test ! -s conftest.err' | 15546 { (case "(($ac_try" in |
13405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13406 (eval $ac_try) 2>&5 | 15548 *) ac_try_echo=$ac_try;; |
15549 esac | |
15550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15551 (eval "$ac_try") 2>&5 | |
13407 ac_status=$? | 15552 ac_status=$? |
13408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13409 (exit $ac_status); }; } && | 15554 (exit $ac_status); }; } && |
13410 { ac_try='test -s conftest$ac_exeext' | 15555 { ac_try='test -s conftest$ac_exeext' |
13411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15556 { (case "(($ac_try" in |
13412 (eval $ac_try) 2>&5 | 15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15558 *) ac_try_echo=$ac_try;; | |
15559 esac | |
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15561 (eval "$ac_try") 2>&5 | |
13413 ac_status=$? | 15562 ac_status=$? |
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13415 (exit $ac_status); }; }; then | 15564 (exit $ac_status); }; }; then |
13416 ac_cv_lib_SM_SmcOpenConnection=yes | 15565 ac_cv_lib_SM_SmcOpenConnection=yes |
13417 else | 15566 else |
13418 echo "$as_me: failed program was:" >&5 | 15567 echo "$as_me: failed program was:" >&5 |
13419 sed 's/^/| /' conftest.$ac_ext >&5 | 15568 sed 's/^/| /' conftest.$ac_ext >&5 |
13420 | 15569 |
13421 ac_cv_lib_SM_SmcOpenConnection=no | 15570 ac_cv_lib_SM_SmcOpenConnection=no |
13422 fi | 15571 fi |
13423 rm -f conftest.err conftest.$ac_objext \ | 15572 |
15573 rm -f core conftest.err conftest.$ac_objext \ | |
13424 conftest$ac_exeext conftest.$ac_ext | 15574 conftest$ac_exeext conftest.$ac_ext |
13425 LIBS=$ac_check_lib_save_LIBS | 15575 LIBS=$ac_check_lib_save_LIBS |
13426 fi | 15576 fi |
13427 echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 | 15577 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5 |
13428 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6 | 15578 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; } |
13429 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then | 15579 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then |
13430 HAVE_X_SM=yes | 15580 HAVE_X_SM=yes |
13431 fi | 15581 fi |
13432 | 15582 |
13433 fi | 15583 fi |
13446 esac | 15596 esac |
13447 fi | 15597 fi |
13448 fi | 15598 fi |
13449 | 15599 |
13450 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 15600 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
13451 echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 | 15601 { echo "$as_me:$LINENO: checking whether netdb declares h_errno" >&5 |
13452 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6 | 15602 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6; } |
13453 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then | 15603 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then |
13454 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15604 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13455 else | 15605 else |
13456 cat >conftest.$ac_ext <<_ACEOF | 15606 cat >conftest.$ac_ext <<_ACEOF |
13457 /* confdefs.h. */ | 15607 /* confdefs.h. */ |
13467 ; | 15617 ; |
13468 return 0; | 15618 return 0; |
13469 } | 15619 } |
13470 _ACEOF | 15620 _ACEOF |
13471 rm -f conftest.$ac_objext conftest$ac_exeext | 15621 rm -f conftest.$ac_objext conftest$ac_exeext |
13472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15622 if { (ac_try="$ac_link" |
13473 (eval $ac_link) 2>conftest.er1 | 15623 case "(($ac_try" in |
15624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15625 *) ac_try_echo=$ac_try;; | |
15626 esac | |
15627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15628 (eval "$ac_link") 2>conftest.er1 | |
13474 ac_status=$? | 15629 ac_status=$? |
13475 grep -v '^ *+' conftest.er1 >conftest.err | 15630 grep -v '^ *+' conftest.er1 >conftest.err |
13476 rm -f conftest.er1 | 15631 rm -f conftest.er1 |
13477 cat conftest.err >&5 | 15632 cat conftest.err >&5 |
13478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13479 (exit $ac_status); } && | 15634 (exit $ac_status); } && |
13480 { ac_try='test -z "$ac_c_werror_flag" | 15635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13481 || test ! -s conftest.err' | 15636 { (case "(($ac_try" in |
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13483 (eval $ac_try) 2>&5 | 15638 *) ac_try_echo=$ac_try;; |
15639 esac | |
15640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15641 (eval "$ac_try") 2>&5 | |
13484 ac_status=$? | 15642 ac_status=$? |
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13486 (exit $ac_status); }; } && | 15644 (exit $ac_status); }; } && |
13487 { ac_try='test -s conftest$ac_exeext' | 15645 { ac_try='test -s conftest$ac_exeext' |
13488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15646 { (case "(($ac_try" in |
13489 (eval $ac_try) 2>&5 | 15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15648 *) ac_try_echo=$ac_try;; | |
15649 esac | |
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15651 (eval "$ac_try") 2>&5 | |
13490 ac_status=$? | 15652 ac_status=$? |
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13492 (exit $ac_status); }; }; then | 15654 (exit $ac_status); }; }; then |
13493 emacs_cv_netdb_declares_h_errno=yes | 15655 emacs_cv_netdb_declares_h_errno=yes |
13494 else | 15656 else |
13495 echo "$as_me: failed program was:" >&5 | 15657 echo "$as_me: failed program was:" >&5 |
13496 sed 's/^/| /' conftest.$ac_ext >&5 | 15658 sed 's/^/| /' conftest.$ac_ext >&5 |
13497 | 15659 |
13498 emacs_cv_netdb_declares_h_errno=no | 15660 emacs_cv_netdb_declares_h_errno=no |
13499 fi | 15661 fi |
13500 rm -f conftest.err conftest.$ac_objext \ | 15662 |
15663 rm -f core conftest.err conftest.$ac_objext \ | |
13501 conftest$ac_exeext conftest.$ac_ext | 15664 conftest$ac_exeext conftest.$ac_ext |
13502 fi | 15665 fi |
13503 echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 | 15666 { echo "$as_me:$LINENO: result: $emacs_cv_netdb_declares_h_errno" >&5 |
13504 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6 | 15667 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6; } |
13505 if test $emacs_cv_netdb_declares_h_errno = yes; then | 15668 if test $emacs_cv_netdb_declares_h_errno = yes; then |
13506 | 15669 |
13507 cat >>confdefs.h <<\_ACEOF | 15670 cat >>confdefs.h <<\_ACEOF |
13508 #define HAVE_H_ERRNO 1 | 15671 #define HAVE_H_ERRNO 1 |
13509 _ACEOF | 15672 _ACEOF |
13510 | 15673 |
13511 fi | 15674 fi |
13512 | 15675 |
13513 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 15676 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13514 # for constant arguments. Useless! | 15677 # for constant arguments. Useless! |
13515 echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 15678 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
13516 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 15679 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } |
13517 if test "${ac_cv_working_alloca_h+set}" = set; then | 15680 if test "${ac_cv_working_alloca_h+set}" = set; then |
13518 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15681 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13519 else | 15682 else |
13520 cat >conftest.$ac_ext <<_ACEOF | 15683 cat >conftest.$ac_ext <<_ACEOF |
13521 /* confdefs.h. */ | 15684 /* confdefs.h. */ |
13526 #include <alloca.h> | 15689 #include <alloca.h> |
13527 int | 15690 int |
13528 main () | 15691 main () |
13529 { | 15692 { |
13530 char *p = (char *) alloca (2 * sizeof (int)); | 15693 char *p = (char *) alloca (2 * sizeof (int)); |
15694 if (p) return 0; | |
13531 ; | 15695 ; |
13532 return 0; | 15696 return 0; |
13533 } | 15697 } |
13534 _ACEOF | 15698 _ACEOF |
13535 rm -f conftest.$ac_objext conftest$ac_exeext | 15699 rm -f conftest.$ac_objext conftest$ac_exeext |
13536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15700 if { (ac_try="$ac_link" |
13537 (eval $ac_link) 2>conftest.er1 | 15701 case "(($ac_try" in |
15702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15703 *) ac_try_echo=$ac_try;; | |
15704 esac | |
15705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15706 (eval "$ac_link") 2>conftest.er1 | |
13538 ac_status=$? | 15707 ac_status=$? |
13539 grep -v '^ *+' conftest.er1 >conftest.err | 15708 grep -v '^ *+' conftest.er1 >conftest.err |
13540 rm -f conftest.er1 | 15709 rm -f conftest.er1 |
13541 cat conftest.err >&5 | 15710 cat conftest.err >&5 |
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13543 (exit $ac_status); } && | 15712 (exit $ac_status); } && |
13544 { ac_try='test -z "$ac_c_werror_flag" | 15713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13545 || test ! -s conftest.err' | 15714 { (case "(($ac_try" in |
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13547 (eval $ac_try) 2>&5 | 15716 *) ac_try_echo=$ac_try;; |
15717 esac | |
15718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15719 (eval "$ac_try") 2>&5 | |
13548 ac_status=$? | 15720 ac_status=$? |
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13550 (exit $ac_status); }; } && | 15722 (exit $ac_status); }; } && |
13551 { ac_try='test -s conftest$ac_exeext' | 15723 { ac_try='test -s conftest$ac_exeext' |
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15724 { (case "(($ac_try" in |
13553 (eval $ac_try) 2>&5 | 15725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15726 *) ac_try_echo=$ac_try;; | |
15727 esac | |
15728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15729 (eval "$ac_try") 2>&5 | |
13554 ac_status=$? | 15730 ac_status=$? |
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13556 (exit $ac_status); }; }; then | 15732 (exit $ac_status); }; }; then |
13557 ac_cv_working_alloca_h=yes | 15733 ac_cv_working_alloca_h=yes |
13558 else | 15734 else |
13559 echo "$as_me: failed program was:" >&5 | 15735 echo "$as_me: failed program was:" >&5 |
13560 sed 's/^/| /' conftest.$ac_ext >&5 | 15736 sed 's/^/| /' conftest.$ac_ext >&5 |
13561 | 15737 |
13562 ac_cv_working_alloca_h=no | 15738 ac_cv_working_alloca_h=no |
13563 fi | 15739 fi |
13564 rm -f conftest.err conftest.$ac_objext \ | 15740 |
15741 rm -f core conftest.err conftest.$ac_objext \ | |
13565 conftest$ac_exeext conftest.$ac_ext | 15742 conftest$ac_exeext conftest.$ac_ext |
13566 fi | 15743 fi |
13567 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 15744 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
13568 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 15745 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } |
13569 if test $ac_cv_working_alloca_h = yes; then | 15746 if test $ac_cv_working_alloca_h = yes; then |
13570 | 15747 |
13571 cat >>confdefs.h <<\_ACEOF | 15748 cat >>confdefs.h <<\_ACEOF |
13572 #define HAVE_ALLOCA_H 1 | 15749 #define HAVE_ALLOCA_H 1 |
13573 _ACEOF | 15750 _ACEOF |
13574 | 15751 |
13575 fi | 15752 fi |
13576 | 15753 |
13577 echo "$as_me:$LINENO: checking for alloca" >&5 | 15754 { echo "$as_me:$LINENO: checking for alloca" >&5 |
13578 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 15755 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } |
13579 if test "${ac_cv_func_alloca_works+set}" = set; then | 15756 if test "${ac_cv_func_alloca_works+set}" = set; then |
13580 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15757 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13581 else | 15758 else |
13582 cat >conftest.$ac_ext <<_ACEOF | 15759 cat >conftest.$ac_ext <<_ACEOF |
13583 /* confdefs.h. */ | 15760 /* confdefs.h. */ |
13608 | 15785 |
13609 int | 15786 int |
13610 main () | 15787 main () |
13611 { | 15788 { |
13612 char *p = (char *) alloca (1); | 15789 char *p = (char *) alloca (1); |
15790 if (p) return 0; | |
13613 ; | 15791 ; |
13614 return 0; | 15792 return 0; |
13615 } | 15793 } |
13616 _ACEOF | 15794 _ACEOF |
13617 rm -f conftest.$ac_objext conftest$ac_exeext | 15795 rm -f conftest.$ac_objext conftest$ac_exeext |
13618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15796 if { (ac_try="$ac_link" |
13619 (eval $ac_link) 2>conftest.er1 | 15797 case "(($ac_try" in |
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15799 *) ac_try_echo=$ac_try;; | |
15800 esac | |
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15802 (eval "$ac_link") 2>conftest.er1 | |
13620 ac_status=$? | 15803 ac_status=$? |
13621 grep -v '^ *+' conftest.er1 >conftest.err | 15804 grep -v '^ *+' conftest.er1 >conftest.err |
13622 rm -f conftest.er1 | 15805 rm -f conftest.er1 |
13623 cat conftest.err >&5 | 15806 cat conftest.err >&5 |
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13625 (exit $ac_status); } && | 15808 (exit $ac_status); } && |
13626 { ac_try='test -z "$ac_c_werror_flag" | 15809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13627 || test ! -s conftest.err' | 15810 { (case "(($ac_try" in |
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13629 (eval $ac_try) 2>&5 | 15812 *) ac_try_echo=$ac_try;; |
15813 esac | |
15814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15815 (eval "$ac_try") 2>&5 | |
13630 ac_status=$? | 15816 ac_status=$? |
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13632 (exit $ac_status); }; } && | 15818 (exit $ac_status); }; } && |
13633 { ac_try='test -s conftest$ac_exeext' | 15819 { ac_try='test -s conftest$ac_exeext' |
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15820 { (case "(($ac_try" in |
13635 (eval $ac_try) 2>&5 | 15821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15822 *) ac_try_echo=$ac_try;; | |
15823 esac | |
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15825 (eval "$ac_try") 2>&5 | |
13636 ac_status=$? | 15826 ac_status=$? |
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13638 (exit $ac_status); }; }; then | 15828 (exit $ac_status); }; }; then |
13639 ac_cv_func_alloca_works=yes | 15829 ac_cv_func_alloca_works=yes |
13640 else | 15830 else |
13641 echo "$as_me: failed program was:" >&5 | 15831 echo "$as_me: failed program was:" >&5 |
13642 sed 's/^/| /' conftest.$ac_ext >&5 | 15832 sed 's/^/| /' conftest.$ac_ext >&5 |
13643 | 15833 |
13644 ac_cv_func_alloca_works=no | 15834 ac_cv_func_alloca_works=no |
13645 fi | 15835 fi |
13646 rm -f conftest.err conftest.$ac_objext \ | 15836 |
15837 rm -f core conftest.err conftest.$ac_objext \ | |
13647 conftest$ac_exeext conftest.$ac_ext | 15838 conftest$ac_exeext conftest.$ac_ext |
13648 fi | 15839 fi |
13649 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 15840 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
13650 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 15841 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } |
13651 | 15842 |
13652 if test $ac_cv_func_alloca_works = yes; then | 15843 if test $ac_cv_func_alloca_works = yes; then |
13653 | 15844 |
13654 cat >>confdefs.h <<\_ACEOF | 15845 cat >>confdefs.h <<\_ACEOF |
13655 #define HAVE_ALLOCA 1 | 15846 #define HAVE_ALLOCA 1 |
13659 # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 15850 # The SVR3 libPW and SVR4 libucb both contain incompatible functions |
13660 # that cause trouble. Some versions do not even contain alloca or | 15851 # that cause trouble. Some versions do not even contain alloca or |
13661 # contain a buggy version. If you still want to use their alloca, | 15852 # contain a buggy version. If you still want to use their alloca, |
13662 # use ar to extract alloca.o from them instead of compiling alloca.c. | 15853 # use ar to extract alloca.o from them instead of compiling alloca.c. |
13663 | 15854 |
13664 ALLOCA=alloca.$ac_objext | 15855 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext |
13665 | 15856 |
13666 cat >>confdefs.h <<\_ACEOF | 15857 cat >>confdefs.h <<\_ACEOF |
13667 #define C_ALLOCA 1 | 15858 #define C_ALLOCA 1 |
13668 _ACEOF | 15859 _ACEOF |
13669 | 15860 |
13670 | 15861 |
13671 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 15862 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
13672 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 15863 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } |
13673 if test "${ac_cv_os_cray+set}" = set; then | 15864 if test "${ac_cv_os_cray+set}" = set; then |
13674 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15865 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13675 else | 15866 else |
13676 cat >conftest.$ac_ext <<_ACEOF | 15867 cat >conftest.$ac_ext <<_ACEOF |
13677 /* confdefs.h. */ | 15868 /* confdefs.h. */ |
13678 _ACEOF | 15869 _ACEOF |
13679 cat confdefs.h >>conftest.$ac_ext | 15870 cat confdefs.h >>conftest.$ac_ext |
13680 cat >>conftest.$ac_ext <<_ACEOF | 15871 cat >>conftest.$ac_ext <<_ACEOF |
13681 /* end confdefs.h. */ | 15872 /* end confdefs.h. */ |
13682 #if defined(CRAY) && ! defined(CRAY2) | 15873 #if defined CRAY && ! defined CRAY2 |
13683 webecray | 15874 webecray |
13684 #else | 15875 #else |
13685 wenotbecray | 15876 wenotbecray |
13686 #endif | 15877 #endif |
13687 | 15878 |
13693 ac_cv_os_cray=no | 15884 ac_cv_os_cray=no |
13694 fi | 15885 fi |
13695 rm -f conftest* | 15886 rm -f conftest* |
13696 | 15887 |
13697 fi | 15888 fi |
13698 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 15889 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
13699 echo "${ECHO_T}$ac_cv_os_cray" >&6 | 15890 echo "${ECHO_T}$ac_cv_os_cray" >&6; } |
13700 if test $ac_cv_os_cray = yes; then | 15891 if test $ac_cv_os_cray = yes; then |
13701 for ac_func in _getb67 GETB67 getb67; do | 15892 for ac_func in _getb67 GETB67 getb67; do |
13702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 15893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13703 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 15894 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
13704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 15895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
13705 if eval "test \"\${$as_ac_var+set}\" = set"; then | 15896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
13706 echo $ECHO_N "(cached) $ECHO_C" >&6 | 15897 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13707 else | 15898 else |
13708 cat >conftest.$ac_ext <<_ACEOF | 15899 cat >conftest.$ac_ext <<_ACEOF |
13709 /* confdefs.h. */ | 15900 /* confdefs.h. */ |
13710 _ACEOF | 15901 _ACEOF |
13726 # include <assert.h> | 15917 # include <assert.h> |
13727 #endif | 15918 #endif |
13728 | 15919 |
13729 #undef $ac_func | 15920 #undef $ac_func |
13730 | 15921 |
13731 /* Override any gcc2 internal prototype to avoid an error. */ | 15922 /* Override any GCC internal prototype to avoid an error. |
15923 Use char because int might match the return type of a GCC | |
15924 builtin and then its argument prototype would still apply. */ | |
13732 #ifdef __cplusplus | 15925 #ifdef __cplusplus |
13733 extern "C" | 15926 extern "C" |
13734 { | |
13735 #endif | 15927 #endif |
13736 /* We use char because int might match the return type of a gcc2 | |
13737 builtin and then its argument prototype would still apply. */ | |
13738 char $ac_func (); | 15928 char $ac_func (); |
13739 /* The GNU C library defines this for functions which it implements | 15929 /* The GNU C library defines this for functions which it implements |
13740 to always fail with ENOSYS. Some functions are actually named | 15930 to always fail with ENOSYS. Some functions are actually named |
13741 something starting with __ and the normal name is an alias. */ | 15931 something starting with __ and the normal name is an alias. */ |
13742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 15932 #if defined __stub_$ac_func || defined __stub___$ac_func |
13743 choke me | 15933 choke me |
13744 #else | |
13745 char (*f) () = $ac_func; | |
13746 #endif | |
13747 #ifdef __cplusplus | |
13748 } | |
13749 #endif | 15934 #endif |
13750 | 15935 |
13751 int | 15936 int |
13752 main () | 15937 main () |
13753 { | 15938 { |
13754 return f != $ac_func; | 15939 return $ac_func (); |
13755 ; | 15940 ; |
13756 return 0; | 15941 return 0; |
13757 } | 15942 } |
13758 _ACEOF | 15943 _ACEOF |
13759 rm -f conftest.$ac_objext conftest$ac_exeext | 15944 rm -f conftest.$ac_objext conftest$ac_exeext |
13760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 15945 if { (ac_try="$ac_link" |
13761 (eval $ac_link) 2>conftest.er1 | 15946 case "(($ac_try" in |
15947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
15948 *) ac_try_echo=$ac_try;; | |
15949 esac | |
15950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15951 (eval "$ac_link") 2>conftest.er1 | |
13762 ac_status=$? | 15952 ac_status=$? |
13763 grep -v '^ *+' conftest.er1 >conftest.err | 15953 grep -v '^ *+' conftest.er1 >conftest.err |
13764 rm -f conftest.er1 | 15954 rm -f conftest.er1 |
13765 cat conftest.err >&5 | 15955 cat conftest.err >&5 |
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13767 (exit $ac_status); } && | 15957 (exit $ac_status); } && |
13768 { ac_try='test -z "$ac_c_werror_flag" | 15958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13769 || test ! -s conftest.err' | 15959 { (case "(($ac_try" in |
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13771 (eval $ac_try) 2>&5 | 15961 *) ac_try_echo=$ac_try;; |
15962 esac | |
15963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15964 (eval "$ac_try") 2>&5 | |
13772 ac_status=$? | 15965 ac_status=$? |
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13774 (exit $ac_status); }; } && | 15967 (exit $ac_status); }; } && |
13775 { ac_try='test -s conftest$ac_exeext' | 15968 { ac_try='test -s conftest$ac_exeext' |
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 15969 { (case "(($ac_try" in |
13777 (eval $ac_try) 2>&5 | 15970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15971 *) ac_try_echo=$ac_try;; | |
15972 esac | |
15973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
15974 (eval "$ac_try") 2>&5 | |
13778 ac_status=$? | 15975 ac_status=$? |
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13780 (exit $ac_status); }; }; then | 15977 (exit $ac_status); }; }; then |
13781 eval "$as_ac_var=yes" | 15978 eval "$as_ac_var=yes" |
13782 else | 15979 else |
13783 echo "$as_me: failed program was:" >&5 | 15980 echo "$as_me: failed program was:" >&5 |
13784 sed 's/^/| /' conftest.$ac_ext >&5 | 15981 sed 's/^/| /' conftest.$ac_ext >&5 |
13785 | 15982 |
13786 eval "$as_ac_var=no" | 15983 eval "$as_ac_var=no" |
13787 fi | 15984 fi |
13788 rm -f conftest.err conftest.$ac_objext \ | 15985 |
15986 rm -f core conftest.err conftest.$ac_objext \ | |
13789 conftest$ac_exeext conftest.$ac_ext | 15987 conftest$ac_exeext conftest.$ac_ext |
13790 fi | 15988 fi |
13791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 15989 ac_res=`eval echo '${'$as_ac_var'}'` |
13792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 15990 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
15991 echo "${ECHO_T}$ac_res" >&6; } | |
13793 if test `eval echo '${'$as_ac_var'}'` = yes; then | 15992 if test `eval echo '${'$as_ac_var'}'` = yes; then |
13794 | 15993 |
13795 cat >>confdefs.h <<_ACEOF | 15994 cat >>confdefs.h <<_ACEOF |
13796 #define CRAY_STACKSEG_END $ac_func | 15995 #define CRAY_STACKSEG_END $ac_func |
13797 _ACEOF | 15996 _ACEOF |
13800 fi | 15999 fi |
13801 | 16000 |
13802 done | 16001 done |
13803 fi | 16002 fi |
13804 | 16003 |
13805 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 16004 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
13806 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 16005 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } |
13807 if test "${ac_cv_c_stack_direction+set}" = set; then | 16006 if test "${ac_cv_c_stack_direction+set}" = set; then |
13808 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16007 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13809 else | 16008 else |
13810 if test "$cross_compiling" = yes; then | 16009 if test "$cross_compiling" = yes; then |
13811 ac_cv_c_stack_direction=0 | 16010 ac_cv_c_stack_direction=0 |
13814 /* confdefs.h. */ | 16013 /* confdefs.h. */ |
13815 _ACEOF | 16014 _ACEOF |
13816 cat confdefs.h >>conftest.$ac_ext | 16015 cat confdefs.h >>conftest.$ac_ext |
13817 cat >>conftest.$ac_ext <<_ACEOF | 16016 cat >>conftest.$ac_ext <<_ACEOF |
13818 /* end confdefs.h. */ | 16017 /* end confdefs.h. */ |
16018 $ac_includes_default | |
13819 int | 16019 int |
13820 find_stack_direction () | 16020 find_stack_direction () |
13821 { | 16021 { |
13822 static char *addr = 0; | 16022 static char *addr = 0; |
13823 auto char dummy; | 16023 auto char dummy; |
13831 } | 16031 } |
13832 | 16032 |
13833 int | 16033 int |
13834 main () | 16034 main () |
13835 { | 16035 { |
13836 exit (find_stack_direction () < 0); | 16036 return find_stack_direction () < 0; |
13837 } | 16037 } |
13838 _ACEOF | 16038 _ACEOF |
13839 rm -f conftest$ac_exeext | 16039 rm -f conftest$ac_exeext |
13840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16040 if { (ac_try="$ac_link" |
13841 (eval $ac_link) 2>&5 | 16041 case "(($ac_try" in |
16042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16043 *) ac_try_echo=$ac_try;; | |
16044 esac | |
16045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16046 (eval "$ac_link") 2>&5 | |
13842 ac_status=$? | 16047 ac_status=$? |
13843 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 16049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16050 { (case "(($ac_try" in |
13846 (eval $ac_try) 2>&5 | 16051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16052 *) ac_try_echo=$ac_try;; | |
16053 esac | |
16054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16055 (eval "$ac_try") 2>&5 | |
13847 ac_status=$? | 16056 ac_status=$? |
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13849 (exit $ac_status); }; }; then | 16058 (exit $ac_status); }; }; then |
13850 ac_cv_c_stack_direction=1 | 16059 ac_cv_c_stack_direction=1 |
13851 else | 16060 else |
13854 sed 's/^/| /' conftest.$ac_ext >&5 | 16063 sed 's/^/| /' conftest.$ac_ext >&5 |
13855 | 16064 |
13856 ( exit $ac_status ) | 16065 ( exit $ac_status ) |
13857 ac_cv_c_stack_direction=-1 | 16066 ac_cv_c_stack_direction=-1 |
13858 fi | 16067 fi |
13859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 16068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
13860 fi | 16069 fi |
13861 fi | 16070 |
13862 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 16071 |
13863 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 16072 fi |
16073 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | |
16074 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } | |
13864 | 16075 |
13865 cat >>confdefs.h <<_ACEOF | 16076 cat >>confdefs.h <<_ACEOF |
13866 #define STACK_DIRECTION $ac_cv_c_stack_direction | 16077 #define STACK_DIRECTION $ac_cv_c_stack_direction |
13867 _ACEOF | 16078 _ACEOF |
13868 | 16079 |
13871 | 16082 |
13872 | 16083 |
13873 # fmod, logb, and frexp are found in -lm on most systems. | 16084 # fmod, logb, and frexp are found in -lm on most systems. |
13874 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 16085 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
13875 | 16086 |
13876 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 | 16087 { echo "$as_me:$LINENO: checking for sqrt in -lm" >&5 |
13877 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6 | 16088 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6; } |
13878 if test "${ac_cv_lib_m_sqrt+set}" = set; then | 16089 if test "${ac_cv_lib_m_sqrt+set}" = set; then |
13879 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16090 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13880 else | 16091 else |
13881 ac_check_lib_save_LIBS=$LIBS | 16092 ac_check_lib_save_LIBS=$LIBS |
13882 LIBS="-lm $LIBS" | 16093 LIBS="-lm $LIBS" |
13885 _ACEOF | 16096 _ACEOF |
13886 cat confdefs.h >>conftest.$ac_ext | 16097 cat confdefs.h >>conftest.$ac_ext |
13887 cat >>conftest.$ac_ext <<_ACEOF | 16098 cat >>conftest.$ac_ext <<_ACEOF |
13888 /* end confdefs.h. */ | 16099 /* end confdefs.h. */ |
13889 | 16100 |
13890 /* Override any gcc2 internal prototype to avoid an error. */ | 16101 /* Override any GCC internal prototype to avoid an error. |
16102 Use char because int might match the return type of a GCC | |
16103 builtin and then its argument prototype would still apply. */ | |
13891 #ifdef __cplusplus | 16104 #ifdef __cplusplus |
13892 extern "C" | 16105 extern "C" |
13893 #endif | 16106 #endif |
13894 /* We use char because int might match the return type of a gcc2 | |
13895 builtin and then its argument prototype would still apply. */ | |
13896 char sqrt (); | 16107 char sqrt (); |
13897 int | 16108 int |
13898 main () | 16109 main () |
13899 { | 16110 { |
13900 sqrt (); | 16111 return sqrt (); |
13901 ; | 16112 ; |
13902 return 0; | 16113 return 0; |
13903 } | 16114 } |
13904 _ACEOF | 16115 _ACEOF |
13905 rm -f conftest.$ac_objext conftest$ac_exeext | 16116 rm -f conftest.$ac_objext conftest$ac_exeext |
13906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16117 if { (ac_try="$ac_link" |
13907 (eval $ac_link) 2>conftest.er1 | 16118 case "(($ac_try" in |
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16120 *) ac_try_echo=$ac_try;; | |
16121 esac | |
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16123 (eval "$ac_link") 2>conftest.er1 | |
13908 ac_status=$? | 16124 ac_status=$? |
13909 grep -v '^ *+' conftest.er1 >conftest.err | 16125 grep -v '^ *+' conftest.er1 >conftest.err |
13910 rm -f conftest.er1 | 16126 rm -f conftest.er1 |
13911 cat conftest.err >&5 | 16127 cat conftest.err >&5 |
13912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13913 (exit $ac_status); } && | 16129 (exit $ac_status); } && |
13914 { ac_try='test -z "$ac_c_werror_flag" | 16130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13915 || test ! -s conftest.err' | 16131 { (case "(($ac_try" in |
13916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13917 (eval $ac_try) 2>&5 | 16133 *) ac_try_echo=$ac_try;; |
16134 esac | |
16135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16136 (eval "$ac_try") 2>&5 | |
13918 ac_status=$? | 16137 ac_status=$? |
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13920 (exit $ac_status); }; } && | 16139 (exit $ac_status); }; } && |
13921 { ac_try='test -s conftest$ac_exeext' | 16140 { ac_try='test -s conftest$ac_exeext' |
13922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16141 { (case "(($ac_try" in |
13923 (eval $ac_try) 2>&5 | 16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16143 *) ac_try_echo=$ac_try;; | |
16144 esac | |
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16146 (eval "$ac_try") 2>&5 | |
13924 ac_status=$? | 16147 ac_status=$? |
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13926 (exit $ac_status); }; }; then | 16149 (exit $ac_status); }; }; then |
13927 ac_cv_lib_m_sqrt=yes | 16150 ac_cv_lib_m_sqrt=yes |
13928 else | 16151 else |
13929 echo "$as_me: failed program was:" >&5 | 16152 echo "$as_me: failed program was:" >&5 |
13930 sed 's/^/| /' conftest.$ac_ext >&5 | 16153 sed 's/^/| /' conftest.$ac_ext >&5 |
13931 | 16154 |
13932 ac_cv_lib_m_sqrt=no | 16155 ac_cv_lib_m_sqrt=no |
13933 fi | 16156 fi |
13934 rm -f conftest.err conftest.$ac_objext \ | 16157 |
16158 rm -f core conftest.err conftest.$ac_objext \ | |
13935 conftest$ac_exeext conftest.$ac_ext | 16159 conftest$ac_exeext conftest.$ac_ext |
13936 LIBS=$ac_check_lib_save_LIBS | 16160 LIBS=$ac_check_lib_save_LIBS |
13937 fi | 16161 fi |
13938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 | 16162 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5 |
13939 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6 | 16163 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6; } |
13940 if test $ac_cv_lib_m_sqrt = yes; then | 16164 if test $ac_cv_lib_m_sqrt = yes; then |
13941 cat >>confdefs.h <<_ACEOF | 16165 cat >>confdefs.h <<_ACEOF |
13942 #define HAVE_LIBM 1 | 16166 #define HAVE_LIBM 1 |
13943 _ACEOF | 16167 _ACEOF |
13944 | 16168 |
13948 | 16172 |
13949 | 16173 |
13950 # Check for mail-locking functions in a "mail" library. Probably this should | 16174 # Check for mail-locking functions in a "mail" library. Probably this should |
13951 # have the same check as for liblockfile below. | 16175 # have the same check as for liblockfile below. |
13952 | 16176 |
13953 echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 | 16177 { echo "$as_me:$LINENO: checking for maillock in -lmail" >&5 |
13954 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6 | 16178 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6; } |
13955 if test "${ac_cv_lib_mail_maillock+set}" = set; then | 16179 if test "${ac_cv_lib_mail_maillock+set}" = set; then |
13956 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16180 echo $ECHO_N "(cached) $ECHO_C" >&6 |
13957 else | 16181 else |
13958 ac_check_lib_save_LIBS=$LIBS | 16182 ac_check_lib_save_LIBS=$LIBS |
13959 LIBS="-lmail $LIBS" | 16183 LIBS="-lmail $LIBS" |
13962 _ACEOF | 16186 _ACEOF |
13963 cat confdefs.h >>conftest.$ac_ext | 16187 cat confdefs.h >>conftest.$ac_ext |
13964 cat >>conftest.$ac_ext <<_ACEOF | 16188 cat >>conftest.$ac_ext <<_ACEOF |
13965 /* end confdefs.h. */ | 16189 /* end confdefs.h. */ |
13966 | 16190 |
13967 /* Override any gcc2 internal prototype to avoid an error. */ | 16191 /* Override any GCC internal prototype to avoid an error. |
16192 Use char because int might match the return type of a GCC | |
16193 builtin and then its argument prototype would still apply. */ | |
13968 #ifdef __cplusplus | 16194 #ifdef __cplusplus |
13969 extern "C" | 16195 extern "C" |
13970 #endif | 16196 #endif |
13971 /* We use char because int might match the return type of a gcc2 | |
13972 builtin and then its argument prototype would still apply. */ | |
13973 char maillock (); | 16197 char maillock (); |
13974 int | 16198 int |
13975 main () | 16199 main () |
13976 { | 16200 { |
13977 maillock (); | 16201 return maillock (); |
13978 ; | 16202 ; |
13979 return 0; | 16203 return 0; |
13980 } | 16204 } |
13981 _ACEOF | 16205 _ACEOF |
13982 rm -f conftest.$ac_objext conftest$ac_exeext | 16206 rm -f conftest.$ac_objext conftest$ac_exeext |
13983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16207 if { (ac_try="$ac_link" |
13984 (eval $ac_link) 2>conftest.er1 | 16208 case "(($ac_try" in |
16209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16210 *) ac_try_echo=$ac_try;; | |
16211 esac | |
16212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16213 (eval "$ac_link") 2>conftest.er1 | |
13985 ac_status=$? | 16214 ac_status=$? |
13986 grep -v '^ *+' conftest.er1 >conftest.err | 16215 grep -v '^ *+' conftest.er1 >conftest.err |
13987 rm -f conftest.er1 | 16216 rm -f conftest.er1 |
13988 cat conftest.err >&5 | 16217 cat conftest.err >&5 |
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13990 (exit $ac_status); } && | 16219 (exit $ac_status); } && |
13991 { ac_try='test -z "$ac_c_werror_flag" | 16220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
13992 || test ! -s conftest.err' | 16221 { (case "(($ac_try" in |
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
13994 (eval $ac_try) 2>&5 | 16223 *) ac_try_echo=$ac_try;; |
16224 esac | |
16225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16226 (eval "$ac_try") 2>&5 | |
13995 ac_status=$? | 16227 ac_status=$? |
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13997 (exit $ac_status); }; } && | 16229 (exit $ac_status); }; } && |
13998 { ac_try='test -s conftest$ac_exeext' | 16230 { ac_try='test -s conftest$ac_exeext' |
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16231 { (case "(($ac_try" in |
14000 (eval $ac_try) 2>&5 | 16232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16233 *) ac_try_echo=$ac_try;; | |
16234 esac | |
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16236 (eval "$ac_try") 2>&5 | |
14001 ac_status=$? | 16237 ac_status=$? |
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14003 (exit $ac_status); }; }; then | 16239 (exit $ac_status); }; }; then |
14004 ac_cv_lib_mail_maillock=yes | 16240 ac_cv_lib_mail_maillock=yes |
14005 else | 16241 else |
14006 echo "$as_me: failed program was:" >&5 | 16242 echo "$as_me: failed program was:" >&5 |
14007 sed 's/^/| /' conftest.$ac_ext >&5 | 16243 sed 's/^/| /' conftest.$ac_ext >&5 |
14008 | 16244 |
14009 ac_cv_lib_mail_maillock=no | 16245 ac_cv_lib_mail_maillock=no |
14010 fi | 16246 fi |
14011 rm -f conftest.err conftest.$ac_objext \ | 16247 |
16248 rm -f core conftest.err conftest.$ac_objext \ | |
14012 conftest$ac_exeext conftest.$ac_ext | 16249 conftest$ac_exeext conftest.$ac_ext |
14013 LIBS=$ac_check_lib_save_LIBS | 16250 LIBS=$ac_check_lib_save_LIBS |
14014 fi | 16251 fi |
14015 echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 | 16252 { echo "$as_me:$LINENO: result: $ac_cv_lib_mail_maillock" >&5 |
14016 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6 | 16253 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6; } |
14017 if test $ac_cv_lib_mail_maillock = yes; then | 16254 if test $ac_cv_lib_mail_maillock = yes; then |
14018 cat >>confdefs.h <<_ACEOF | 16255 cat >>confdefs.h <<_ACEOF |
14019 #define HAVE_LIBMAIL 1 | 16256 #define HAVE_LIBMAIL 1 |
14020 _ACEOF | 16257 _ACEOF |
14021 | 16258 |
14022 LIBS="-lmail $LIBS" | 16259 LIBS="-lmail $LIBS" |
14023 | 16260 |
14024 fi | 16261 fi |
14025 | 16262 |
14026 | 16263 |
14027 echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 | 16264 { echo "$as_me:$LINENO: checking for maillock in -llockfile" >&5 |
14028 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6 | 16265 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6; } |
14029 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then | 16266 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then |
14030 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16267 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14031 else | 16268 else |
14032 ac_check_lib_save_LIBS=$LIBS | 16269 ac_check_lib_save_LIBS=$LIBS |
14033 LIBS="-llockfile $LIBS" | 16270 LIBS="-llockfile $LIBS" |
14036 _ACEOF | 16273 _ACEOF |
14037 cat confdefs.h >>conftest.$ac_ext | 16274 cat confdefs.h >>conftest.$ac_ext |
14038 cat >>conftest.$ac_ext <<_ACEOF | 16275 cat >>conftest.$ac_ext <<_ACEOF |
14039 /* end confdefs.h. */ | 16276 /* end confdefs.h. */ |
14040 | 16277 |
14041 /* Override any gcc2 internal prototype to avoid an error. */ | 16278 /* Override any GCC internal prototype to avoid an error. |
16279 Use char because int might match the return type of a GCC | |
16280 builtin and then its argument prototype would still apply. */ | |
14042 #ifdef __cplusplus | 16281 #ifdef __cplusplus |
14043 extern "C" | 16282 extern "C" |
14044 #endif | 16283 #endif |
14045 /* We use char because int might match the return type of a gcc2 | |
14046 builtin and then its argument prototype would still apply. */ | |
14047 char maillock (); | 16284 char maillock (); |
14048 int | 16285 int |
14049 main () | 16286 main () |
14050 { | 16287 { |
14051 maillock (); | 16288 return maillock (); |
14052 ; | 16289 ; |
14053 return 0; | 16290 return 0; |
14054 } | 16291 } |
14055 _ACEOF | 16292 _ACEOF |
14056 rm -f conftest.$ac_objext conftest$ac_exeext | 16293 rm -f conftest.$ac_objext conftest$ac_exeext |
14057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16294 if { (ac_try="$ac_link" |
14058 (eval $ac_link) 2>conftest.er1 | 16295 case "(($ac_try" in |
16296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16297 *) ac_try_echo=$ac_try;; | |
16298 esac | |
16299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16300 (eval "$ac_link") 2>conftest.er1 | |
14059 ac_status=$? | 16301 ac_status=$? |
14060 grep -v '^ *+' conftest.er1 >conftest.err | 16302 grep -v '^ *+' conftest.er1 >conftest.err |
14061 rm -f conftest.er1 | 16303 rm -f conftest.er1 |
14062 cat conftest.err >&5 | 16304 cat conftest.err >&5 |
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14064 (exit $ac_status); } && | 16306 (exit $ac_status); } && |
14065 { ac_try='test -z "$ac_c_werror_flag" | 16307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14066 || test ! -s conftest.err' | 16308 { (case "(($ac_try" in |
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14068 (eval $ac_try) 2>&5 | 16310 *) ac_try_echo=$ac_try;; |
16311 esac | |
16312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16313 (eval "$ac_try") 2>&5 | |
14069 ac_status=$? | 16314 ac_status=$? |
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14071 (exit $ac_status); }; } && | 16316 (exit $ac_status); }; } && |
14072 { ac_try='test -s conftest$ac_exeext' | 16317 { ac_try='test -s conftest$ac_exeext' |
14073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16318 { (case "(($ac_try" in |
14074 (eval $ac_try) 2>&5 | 16319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16320 *) ac_try_echo=$ac_try;; | |
16321 esac | |
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16323 (eval "$ac_try") 2>&5 | |
14075 ac_status=$? | 16324 ac_status=$? |
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14077 (exit $ac_status); }; }; then | 16326 (exit $ac_status); }; }; then |
14078 ac_cv_lib_lockfile_maillock=yes | 16327 ac_cv_lib_lockfile_maillock=yes |
14079 else | 16328 else |
14080 echo "$as_me: failed program was:" >&5 | 16329 echo "$as_me: failed program was:" >&5 |
14081 sed 's/^/| /' conftest.$ac_ext >&5 | 16330 sed 's/^/| /' conftest.$ac_ext >&5 |
14082 | 16331 |
14083 ac_cv_lib_lockfile_maillock=no | 16332 ac_cv_lib_lockfile_maillock=no |
14084 fi | 16333 fi |
14085 rm -f conftest.err conftest.$ac_objext \ | 16334 |
16335 rm -f core conftest.err conftest.$ac_objext \ | |
14086 conftest$ac_exeext conftest.$ac_ext | 16336 conftest$ac_exeext conftest.$ac_ext |
14087 LIBS=$ac_check_lib_save_LIBS | 16337 LIBS=$ac_check_lib_save_LIBS |
14088 fi | 16338 fi |
14089 echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 | 16339 { echo "$as_me:$LINENO: result: $ac_cv_lib_lockfile_maillock" >&5 |
14090 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6 | 16340 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6; } |
14091 if test $ac_cv_lib_lockfile_maillock = yes; then | 16341 if test $ac_cv_lib_lockfile_maillock = yes; then |
14092 cat >>confdefs.h <<_ACEOF | 16342 cat >>confdefs.h <<_ACEOF |
14093 #define HAVE_LIBLOCKFILE 1 | 16343 #define HAVE_LIBLOCKFILE 1 |
14094 _ACEOF | 16344 _ACEOF |
14095 | 16345 |
14101 # locking (e.g. Debian). If we couldn't link against liblockfile | 16351 # locking (e.g. Debian). If we couldn't link against liblockfile |
14102 # (no liblockfile.a installed), ensure that we don't need to. | 16352 # (no liblockfile.a installed), ensure that we don't need to. |
14103 if test "$ac_cv_lib_lockfile_maillock" = no; then | 16353 if test "$ac_cv_lib_lockfile_maillock" = no; then |
14104 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 16354 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
14105 set dummy liblockfile.so; ac_word=$2 | 16355 set dummy liblockfile.so; ac_word=$2 |
14106 echo "$as_me:$LINENO: checking for $ac_word" >&5 | 16356 { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
14107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 16357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } |
14108 if test "${ac_cv_prog_liblockfile+set}" = set; then | 16358 if test "${ac_cv_prog_liblockfile+set}" = set; then |
14109 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16359 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14110 else | 16360 else |
14111 if test -n "$liblockfile"; then | 16361 if test -n "$liblockfile"; then |
14112 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 16362 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
14116 for as_dir in $as_dummy | 16366 for as_dir in $as_dummy |
14117 do | 16367 do |
14118 IFS=$as_save_IFS | 16368 IFS=$as_save_IFS |
14119 test -z "$as_dir" && as_dir=. | 16369 test -z "$as_dir" && as_dir=. |
14120 for ac_exec_ext in '' $ac_executable_extensions; do | 16370 for ac_exec_ext in '' $ac_executable_extensions; do |
14121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 16371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then |
14122 ac_cv_prog_liblockfile="yes" | 16372 ac_cv_prog_liblockfile="yes" |
14123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 16373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
14124 break 2 | 16374 break 2 |
14125 fi | 16375 fi |
14126 done | 16376 done |
14127 done | 16377 done |
16378 IFS=$as_save_IFS | |
14128 | 16379 |
14129 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" | 16380 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no" |
14130 fi | 16381 fi |
14131 fi | 16382 fi |
14132 liblockfile=$ac_cv_prog_liblockfile | 16383 liblockfile=$ac_cv_prog_liblockfile |
14133 if test -n "$liblockfile"; then | 16384 if test -n "$liblockfile"; then |
14134 echo "$as_me:$LINENO: result: $liblockfile" >&5 | 16385 { echo "$as_me:$LINENO: result: $liblockfile" >&5 |
14135 echo "${ECHO_T}$liblockfile" >&6 | 16386 echo "${ECHO_T}$liblockfile" >&6; } |
14136 else | 16387 else |
14137 echo "$as_me:$LINENO: result: no" >&5 | 16388 { echo "$as_me:$LINENO: result: no" >&5 |
14138 echo "${ECHO_T}no" >&6 | 16389 echo "${ECHO_T}no" >&6; } |
14139 fi | 16390 fi |
16391 | |
14140 | 16392 |
14141 if test $ac_cv_prog_liblockfile = yes; then | 16393 if test $ac_cv_prog_liblockfile = yes; then |
14142 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. | 16394 { { echo "$as_me:$LINENO: error: Shared liblockfile found but can't link against it. |
14143 This probably means that movemail could lose mail. | 16395 This probably means that movemail could lose mail. |
14144 There may be a \`development' package to install containing liblockfile." >&5 | 16396 There may be a \`development' package to install containing liblockfile." >&5 |
14151 fi | 16403 fi |
14152 | 16404 |
14153 for ac_func in touchlock | 16405 for ac_func in touchlock |
14154 do | 16406 do |
14155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14156 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 16408 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 16409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14158 if eval "test \"\${$as_ac_var+set}\" = set"; then | 16410 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14159 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16411 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14160 else | 16412 else |
14161 cat >conftest.$ac_ext <<_ACEOF | 16413 cat >conftest.$ac_ext <<_ACEOF |
14162 /* confdefs.h. */ | 16414 /* confdefs.h. */ |
14163 _ACEOF | 16415 _ACEOF |
14179 # include <assert.h> | 16431 # include <assert.h> |
14180 #endif | 16432 #endif |
14181 | 16433 |
14182 #undef $ac_func | 16434 #undef $ac_func |
14183 | 16435 |
14184 /* Override any gcc2 internal prototype to avoid an error. */ | 16436 /* Override any GCC internal prototype to avoid an error. |
16437 Use char because int might match the return type of a GCC | |
16438 builtin and then its argument prototype would still apply. */ | |
14185 #ifdef __cplusplus | 16439 #ifdef __cplusplus |
14186 extern "C" | 16440 extern "C" |
14187 { | |
14188 #endif | 16441 #endif |
14189 /* We use char because int might match the return type of a gcc2 | |
14190 builtin and then its argument prototype would still apply. */ | |
14191 char $ac_func (); | 16442 char $ac_func (); |
14192 /* The GNU C library defines this for functions which it implements | 16443 /* The GNU C library defines this for functions which it implements |
14193 to always fail with ENOSYS. Some functions are actually named | 16444 to always fail with ENOSYS. Some functions are actually named |
14194 something starting with __ and the normal name is an alias. */ | 16445 something starting with __ and the normal name is an alias. */ |
14195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 16446 #if defined __stub_$ac_func || defined __stub___$ac_func |
14196 choke me | 16447 choke me |
14197 #else | |
14198 char (*f) () = $ac_func; | |
14199 #endif | |
14200 #ifdef __cplusplus | |
14201 } | |
14202 #endif | 16448 #endif |
14203 | 16449 |
14204 int | 16450 int |
14205 main () | 16451 main () |
14206 { | 16452 { |
14207 return f != $ac_func; | 16453 return $ac_func (); |
14208 ; | 16454 ; |
14209 return 0; | 16455 return 0; |
14210 } | 16456 } |
14211 _ACEOF | 16457 _ACEOF |
14212 rm -f conftest.$ac_objext conftest$ac_exeext | 16458 rm -f conftest.$ac_objext conftest$ac_exeext |
14213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16459 if { (ac_try="$ac_link" |
14214 (eval $ac_link) 2>conftest.er1 | 16460 case "(($ac_try" in |
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16462 *) ac_try_echo=$ac_try;; | |
16463 esac | |
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16465 (eval "$ac_link") 2>conftest.er1 | |
14215 ac_status=$? | 16466 ac_status=$? |
14216 grep -v '^ *+' conftest.er1 >conftest.err | 16467 grep -v '^ *+' conftest.er1 >conftest.err |
14217 rm -f conftest.er1 | 16468 rm -f conftest.er1 |
14218 cat conftest.err >&5 | 16469 cat conftest.err >&5 |
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14220 (exit $ac_status); } && | 16471 (exit $ac_status); } && |
14221 { ac_try='test -z "$ac_c_werror_flag" | 16472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14222 || test ! -s conftest.err' | 16473 { (case "(($ac_try" in |
14223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14224 (eval $ac_try) 2>&5 | 16475 *) ac_try_echo=$ac_try;; |
16476 esac | |
16477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16478 (eval "$ac_try") 2>&5 | |
14225 ac_status=$? | 16479 ac_status=$? |
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14227 (exit $ac_status); }; } && | 16481 (exit $ac_status); }; } && |
14228 { ac_try='test -s conftest$ac_exeext' | 16482 { ac_try='test -s conftest$ac_exeext' |
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16483 { (case "(($ac_try" in |
14230 (eval $ac_try) 2>&5 | 16484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16485 *) ac_try_echo=$ac_try;; | |
16486 esac | |
16487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16488 (eval "$ac_try") 2>&5 | |
14231 ac_status=$? | 16489 ac_status=$? |
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14233 (exit $ac_status); }; }; then | 16491 (exit $ac_status); }; }; then |
14234 eval "$as_ac_var=yes" | 16492 eval "$as_ac_var=yes" |
14235 else | 16493 else |
14236 echo "$as_me: failed program was:" >&5 | 16494 echo "$as_me: failed program was:" >&5 |
14237 sed 's/^/| /' conftest.$ac_ext >&5 | 16495 sed 's/^/| /' conftest.$ac_ext >&5 |
14238 | 16496 |
14239 eval "$as_ac_var=no" | 16497 eval "$as_ac_var=no" |
14240 fi | 16498 fi |
14241 rm -f conftest.err conftest.$ac_objext \ | 16499 |
16500 rm -f core conftest.err conftest.$ac_objext \ | |
14242 conftest$ac_exeext conftest.$ac_ext | 16501 conftest$ac_exeext conftest.$ac_ext |
14243 fi | 16502 fi |
14244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 16503 ac_res=`eval echo '${'$as_ac_var'}'` |
14245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 16504 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16505 echo "${ECHO_T}$ac_res" >&6; } | |
14246 if test `eval echo '${'$as_ac_var'}'` = yes; then | 16506 if test `eval echo '${'$as_ac_var'}'` = yes; then |
14247 cat >>confdefs.h <<_ACEOF | 16507 cat >>confdefs.h <<_ACEOF |
14248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14249 _ACEOF | 16509 _ACEOF |
14250 | 16510 |
14253 | 16513 |
14254 | 16514 |
14255 for ac_header in maillock.h | 16515 for ac_header in maillock.h |
14256 do | 16516 do |
14257 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 16517 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14258 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14259 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16519 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 16520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14261 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16521 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14262 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16522 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14263 fi | 16523 fi |
14264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16524 ac_res=`eval echo '${'$as_ac_Header'}'` |
14265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 16525 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16526 echo "${ECHO_T}$ac_res" >&6; } | |
14266 else | 16527 else |
14267 # Is the header compilable? | 16528 # Is the header compilable? |
14268 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 16529 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14269 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 16530 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14270 cat >conftest.$ac_ext <<_ACEOF | 16531 cat >conftest.$ac_ext <<_ACEOF |
14271 /* confdefs.h. */ | 16532 /* confdefs.h. */ |
14272 _ACEOF | 16533 _ACEOF |
14273 cat confdefs.h >>conftest.$ac_ext | 16534 cat confdefs.h >>conftest.$ac_ext |
14274 cat >>conftest.$ac_ext <<_ACEOF | 16535 cat >>conftest.$ac_ext <<_ACEOF |
14275 /* end confdefs.h. */ | 16536 /* end confdefs.h. */ |
14276 $ac_includes_default | 16537 $ac_includes_default |
14277 #include <$ac_header> | 16538 #include <$ac_header> |
14278 _ACEOF | 16539 _ACEOF |
14279 rm -f conftest.$ac_objext | 16540 rm -f conftest.$ac_objext |
14280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16541 if { (ac_try="$ac_compile" |
14281 (eval $ac_compile) 2>conftest.er1 | 16542 case "(($ac_try" in |
16543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16544 *) ac_try_echo=$ac_try;; | |
16545 esac | |
16546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16547 (eval "$ac_compile") 2>conftest.er1 | |
14282 ac_status=$? | 16548 ac_status=$? |
14283 grep -v '^ *+' conftest.er1 >conftest.err | 16549 grep -v '^ *+' conftest.er1 >conftest.err |
14284 rm -f conftest.er1 | 16550 rm -f conftest.er1 |
14285 cat conftest.err >&5 | 16551 cat conftest.err >&5 |
14286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14287 (exit $ac_status); } && | 16553 (exit $ac_status); } && |
14288 { ac_try='test -z "$ac_c_werror_flag" | 16554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14289 || test ! -s conftest.err' | 16555 { (case "(($ac_try" in |
14290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14291 (eval $ac_try) 2>&5 | 16557 *) ac_try_echo=$ac_try;; |
16558 esac | |
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16560 (eval "$ac_try") 2>&5 | |
14292 ac_status=$? | 16561 ac_status=$? |
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14294 (exit $ac_status); }; } && | 16563 (exit $ac_status); }; } && |
14295 { ac_try='test -s conftest.$ac_objext' | 16564 { ac_try='test -s conftest.$ac_objext' |
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16565 { (case "(($ac_try" in |
14297 (eval $ac_try) 2>&5 | 16566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16567 *) ac_try_echo=$ac_try;; | |
16568 esac | |
16569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16570 (eval "$ac_try") 2>&5 | |
14298 ac_status=$? | 16571 ac_status=$? |
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14300 (exit $ac_status); }; }; then | 16573 (exit $ac_status); }; }; then |
14301 ac_header_compiler=yes | 16574 ac_header_compiler=yes |
14302 else | 16575 else |
14303 echo "$as_me: failed program was:" >&5 | 16576 echo "$as_me: failed program was:" >&5 |
14304 sed 's/^/| /' conftest.$ac_ext >&5 | 16577 sed 's/^/| /' conftest.$ac_ext >&5 |
14305 | 16578 |
14306 ac_header_compiler=no | 16579 ac_header_compiler=no |
14307 fi | 16580 fi |
14308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16581 |
14309 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14310 echo "${ECHO_T}$ac_header_compiler" >&6 | 16583 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16584 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14311 | 16585 |
14312 # Is the header present? | 16586 # Is the header present? |
14313 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 16587 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 16588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14315 cat >conftest.$ac_ext <<_ACEOF | 16589 cat >conftest.$ac_ext <<_ACEOF |
14316 /* confdefs.h. */ | 16590 /* confdefs.h. */ |
14317 _ACEOF | 16591 _ACEOF |
14318 cat confdefs.h >>conftest.$ac_ext | 16592 cat confdefs.h >>conftest.$ac_ext |
14319 cat >>conftest.$ac_ext <<_ACEOF | 16593 cat >>conftest.$ac_ext <<_ACEOF |
14320 /* end confdefs.h. */ | 16594 /* end confdefs.h. */ |
14321 #include <$ac_header> | 16595 #include <$ac_header> |
14322 _ACEOF | 16596 _ACEOF |
14323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16597 if { (ac_try="$ac_cpp conftest.$ac_ext" |
14324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16598 case "(($ac_try" in |
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16600 *) ac_try_echo=$ac_try;; | |
16601 esac | |
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14325 ac_status=$? | 16604 ac_status=$? |
14326 grep -v '^ *+' conftest.er1 >conftest.err | 16605 grep -v '^ *+' conftest.er1 >conftest.err |
14327 rm -f conftest.er1 | 16606 rm -f conftest.er1 |
14328 cat conftest.err >&5 | 16607 cat conftest.err >&5 |
14329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14343 echo "$as_me: failed program was:" >&5 | 16622 echo "$as_me: failed program was:" >&5 |
14344 sed 's/^/| /' conftest.$ac_ext >&5 | 16623 sed 's/^/| /' conftest.$ac_ext >&5 |
14345 | 16624 |
14346 ac_header_preproc=no | 16625 ac_header_preproc=no |
14347 fi | 16626 fi |
16627 | |
14348 rm -f conftest.err conftest.$ac_ext | 16628 rm -f conftest.err conftest.$ac_ext |
14349 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16629 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14350 echo "${ECHO_T}$ac_header_preproc" >&6 | 16630 echo "${ECHO_T}$ac_header_preproc" >&6; } |
14351 | 16631 |
14352 # So? What about this header? | 16632 # So? What about this header? |
14353 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14354 yes:no: ) | 16634 yes:no: ) |
14355 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 16635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14369 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 16649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 16650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 16651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14372 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 16652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14373 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 16653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14374 ( | 16654 |
14375 cat <<\_ASBOX | |
14376 ## ------------------------------------------ ## | |
14377 ## Report this to the AC_PACKAGE_NAME lists. ## | |
14378 ## ------------------------------------------ ## | |
14379 _ASBOX | |
14380 ) | | |
14381 sed "s/^/$as_me: WARNING: /" >&2 | |
14382 ;; | 16655 ;; |
14383 esac | 16656 esac |
14384 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16657 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 16658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14386 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14387 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16660 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14388 else | 16661 else |
14389 eval "$as_ac_Header=\$ac_header_preproc" | 16662 eval "$as_ac_Header=\$ac_header_preproc" |
14390 fi | 16663 fi |
14391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16664 ac_res=`eval echo '${'$as_ac_Header'}'` |
14392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 16665 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16666 echo "${ECHO_T}$ac_res" >&6; } | |
14393 | 16667 |
14394 fi | 16668 fi |
14395 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 16669 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14396 cat >>confdefs.h <<_ACEOF | 16670 cat >>confdefs.h <<_ACEOF |
14397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 16671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14480 sendto recvfrom getsockopt setsockopt getsockname getpeername \ | 16754 sendto recvfrom getsockopt setsockopt getsockname getpeername \ |
14481 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ | 16755 gai_strerror mkstemp getline getdelim mremap memmove fsync sync bzero \ |
14482 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign | 16756 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign |
14483 do | 16757 do |
14484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 16758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14485 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 16759 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 16760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14487 if eval "test \"\${$as_ac_var+set}\" = set"; then | 16761 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14488 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16762 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14489 else | 16763 else |
14490 cat >conftest.$ac_ext <<_ACEOF | 16764 cat >conftest.$ac_ext <<_ACEOF |
14491 /* confdefs.h. */ | 16765 /* confdefs.h. */ |
14492 _ACEOF | 16766 _ACEOF |
14508 # include <assert.h> | 16782 # include <assert.h> |
14509 #endif | 16783 #endif |
14510 | 16784 |
14511 #undef $ac_func | 16785 #undef $ac_func |
14512 | 16786 |
14513 /* Override any gcc2 internal prototype to avoid an error. */ | 16787 /* Override any GCC internal prototype to avoid an error. |
16788 Use char because int might match the return type of a GCC | |
16789 builtin and then its argument prototype would still apply. */ | |
14514 #ifdef __cplusplus | 16790 #ifdef __cplusplus |
14515 extern "C" | 16791 extern "C" |
14516 { | |
14517 #endif | 16792 #endif |
14518 /* We use char because int might match the return type of a gcc2 | |
14519 builtin and then its argument prototype would still apply. */ | |
14520 char $ac_func (); | 16793 char $ac_func (); |
14521 /* The GNU C library defines this for functions which it implements | 16794 /* The GNU C library defines this for functions which it implements |
14522 to always fail with ENOSYS. Some functions are actually named | 16795 to always fail with ENOSYS. Some functions are actually named |
14523 something starting with __ and the normal name is an alias. */ | 16796 something starting with __ and the normal name is an alias. */ |
14524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 16797 #if defined __stub_$ac_func || defined __stub___$ac_func |
14525 choke me | 16798 choke me |
14526 #else | |
14527 char (*f) () = $ac_func; | |
14528 #endif | |
14529 #ifdef __cplusplus | |
14530 } | |
14531 #endif | 16799 #endif |
14532 | 16800 |
14533 int | 16801 int |
14534 main () | 16802 main () |
14535 { | 16803 { |
14536 return f != $ac_func; | 16804 return $ac_func (); |
14537 ; | 16805 ; |
14538 return 0; | 16806 return 0; |
14539 } | 16807 } |
14540 _ACEOF | 16808 _ACEOF |
14541 rm -f conftest.$ac_objext conftest$ac_exeext | 16809 rm -f conftest.$ac_objext conftest$ac_exeext |
14542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 16810 if { (ac_try="$ac_link" |
14543 (eval $ac_link) 2>conftest.er1 | 16811 case "(($ac_try" in |
16812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16813 *) ac_try_echo=$ac_try;; | |
16814 esac | |
16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16816 (eval "$ac_link") 2>conftest.er1 | |
14544 ac_status=$? | 16817 ac_status=$? |
14545 grep -v '^ *+' conftest.er1 >conftest.err | 16818 grep -v '^ *+' conftest.er1 >conftest.err |
14546 rm -f conftest.er1 | 16819 rm -f conftest.er1 |
14547 cat conftest.err >&5 | 16820 cat conftest.err >&5 |
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14549 (exit $ac_status); } && | 16822 (exit $ac_status); } && |
14550 { ac_try='test -z "$ac_c_werror_flag" | 16823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14551 || test ! -s conftest.err' | 16824 { (case "(($ac_try" in |
14552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14553 (eval $ac_try) 2>&5 | 16826 *) ac_try_echo=$ac_try;; |
16827 esac | |
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16829 (eval "$ac_try") 2>&5 | |
14554 ac_status=$? | 16830 ac_status=$? |
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14556 (exit $ac_status); }; } && | 16832 (exit $ac_status); }; } && |
14557 { ac_try='test -s conftest$ac_exeext' | 16833 { ac_try='test -s conftest$ac_exeext' |
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16834 { (case "(($ac_try" in |
14559 (eval $ac_try) 2>&5 | 16835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16836 *) ac_try_echo=$ac_try;; | |
16837 esac | |
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16839 (eval "$ac_try") 2>&5 | |
14560 ac_status=$? | 16840 ac_status=$? |
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14562 (exit $ac_status); }; }; then | 16842 (exit $ac_status); }; }; then |
14563 eval "$as_ac_var=yes" | 16843 eval "$as_ac_var=yes" |
14564 else | 16844 else |
14565 echo "$as_me: failed program was:" >&5 | 16845 echo "$as_me: failed program was:" >&5 |
14566 sed 's/^/| /' conftest.$ac_ext >&5 | 16846 sed 's/^/| /' conftest.$ac_ext >&5 |
14567 | 16847 |
14568 eval "$as_ac_var=no" | 16848 eval "$as_ac_var=no" |
14569 fi | 16849 fi |
14570 rm -f conftest.err conftest.$ac_objext \ | 16850 |
16851 rm -f core conftest.err conftest.$ac_objext \ | |
14571 conftest$ac_exeext conftest.$ac_ext | 16852 conftest$ac_exeext conftest.$ac_ext |
14572 fi | 16853 fi |
14573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 16854 ac_res=`eval echo '${'$as_ac_var'}'` |
14574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 16855 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16856 echo "${ECHO_T}$ac_res" >&6; } | |
14575 if test `eval echo '${'$as_ac_var'}'` = yes; then | 16857 if test `eval echo '${'$as_ac_var'}'` = yes; then |
14576 cat >>confdefs.h <<_ACEOF | 16858 cat >>confdefs.h <<_ACEOF |
14577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 16859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14578 _ACEOF | 16860 _ACEOF |
14579 | 16861 |
14583 | 16865 |
14584 | 16866 |
14585 for ac_header in sys/un.h | 16867 for ac_header in sys/un.h |
14586 do | 16868 do |
14587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 16869 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14588 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14589 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 16871 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 16872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14591 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 16873 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14592 echo $ECHO_N "(cached) $ECHO_C" >&6 | 16874 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14593 fi | 16875 fi |
14594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 16876 ac_res=`eval echo '${'$as_ac_Header'}'` |
14595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 16877 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
16878 echo "${ECHO_T}$ac_res" >&6; } | |
14596 else | 16879 else |
14597 # Is the header compilable? | 16880 # Is the header compilable? |
14598 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 16881 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 16882 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14600 cat >conftest.$ac_ext <<_ACEOF | 16883 cat >conftest.$ac_ext <<_ACEOF |
14601 /* confdefs.h. */ | 16884 /* confdefs.h. */ |
14602 _ACEOF | 16885 _ACEOF |
14603 cat confdefs.h >>conftest.$ac_ext | 16886 cat confdefs.h >>conftest.$ac_ext |
14604 cat >>conftest.$ac_ext <<_ACEOF | 16887 cat >>conftest.$ac_ext <<_ACEOF |
14605 /* end confdefs.h. */ | 16888 /* end confdefs.h. */ |
14606 $ac_includes_default | 16889 $ac_includes_default |
14607 #include <$ac_header> | 16890 #include <$ac_header> |
14608 _ACEOF | 16891 _ACEOF |
14609 rm -f conftest.$ac_objext | 16892 rm -f conftest.$ac_objext |
14610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 16893 if { (ac_try="$ac_compile" |
14611 (eval $ac_compile) 2>conftest.er1 | 16894 case "(($ac_try" in |
16895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16896 *) ac_try_echo=$ac_try;; | |
16897 esac | |
16898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16899 (eval "$ac_compile") 2>conftest.er1 | |
14612 ac_status=$? | 16900 ac_status=$? |
14613 grep -v '^ *+' conftest.er1 >conftest.err | 16901 grep -v '^ *+' conftest.er1 >conftest.err |
14614 rm -f conftest.er1 | 16902 rm -f conftest.er1 |
14615 cat conftest.err >&5 | 16903 cat conftest.err >&5 |
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14617 (exit $ac_status); } && | 16905 (exit $ac_status); } && |
14618 { ac_try='test -z "$ac_c_werror_flag" | 16906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14619 || test ! -s conftest.err' | 16907 { (case "(($ac_try" in |
14620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14621 (eval $ac_try) 2>&5 | 16909 *) ac_try_echo=$ac_try;; |
16910 esac | |
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16912 (eval "$ac_try") 2>&5 | |
14622 ac_status=$? | 16913 ac_status=$? |
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14624 (exit $ac_status); }; } && | 16915 (exit $ac_status); }; } && |
14625 { ac_try='test -s conftest.$ac_objext' | 16916 { ac_try='test -s conftest.$ac_objext' |
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 16917 { (case "(($ac_try" in |
14627 (eval $ac_try) 2>&5 | 16918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16919 *) ac_try_echo=$ac_try;; | |
16920 esac | |
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16922 (eval "$ac_try") 2>&5 | |
14628 ac_status=$? | 16923 ac_status=$? |
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14630 (exit $ac_status); }; }; then | 16925 (exit $ac_status); }; }; then |
14631 ac_header_compiler=yes | 16926 ac_header_compiler=yes |
14632 else | 16927 else |
14633 echo "$as_me: failed program was:" >&5 | 16928 echo "$as_me: failed program was:" >&5 |
14634 sed 's/^/| /' conftest.$ac_ext >&5 | 16929 sed 's/^/| /' conftest.$ac_ext >&5 |
14635 | 16930 |
14636 ac_header_compiler=no | 16931 ac_header_compiler=no |
14637 fi | 16932 fi |
14638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 16933 |
14639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 16934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14640 echo "${ECHO_T}$ac_header_compiler" >&6 | 16935 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
16936 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14641 | 16937 |
14642 # Is the header present? | 16938 # Is the header present? |
14643 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 16939 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 16940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14645 cat >conftest.$ac_ext <<_ACEOF | 16941 cat >conftest.$ac_ext <<_ACEOF |
14646 /* confdefs.h. */ | 16942 /* confdefs.h. */ |
14647 _ACEOF | 16943 _ACEOF |
14648 cat confdefs.h >>conftest.$ac_ext | 16944 cat confdefs.h >>conftest.$ac_ext |
14649 cat >>conftest.$ac_ext <<_ACEOF | 16945 cat >>conftest.$ac_ext <<_ACEOF |
14650 /* end confdefs.h. */ | 16946 /* end confdefs.h. */ |
14651 #include <$ac_header> | 16947 #include <$ac_header> |
14652 _ACEOF | 16948 _ACEOF |
14653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 16949 if { (ac_try="$ac_cpp conftest.$ac_ext" |
14654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 16950 case "(($ac_try" in |
16951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
16952 *) ac_try_echo=$ac_try;; | |
16953 esac | |
16954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
16955 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14655 ac_status=$? | 16956 ac_status=$? |
14656 grep -v '^ *+' conftest.er1 >conftest.err | 16957 grep -v '^ *+' conftest.er1 >conftest.err |
14657 rm -f conftest.er1 | 16958 rm -f conftest.er1 |
14658 cat conftest.err >&5 | 16959 cat conftest.err >&5 |
14659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14673 echo "$as_me: failed program was:" >&5 | 16974 echo "$as_me: failed program was:" >&5 |
14674 sed 's/^/| /' conftest.$ac_ext >&5 | 16975 sed 's/^/| /' conftest.$ac_ext >&5 |
14675 | 16976 |
14676 ac_header_preproc=no | 16977 ac_header_preproc=no |
14677 fi | 16978 fi |
16979 | |
14678 rm -f conftest.err conftest.$ac_ext | 16980 rm -f conftest.err conftest.$ac_ext |
14679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 16981 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14680 echo "${ECHO_T}$ac_header_preproc" >&6 | 16982 echo "${ECHO_T}$ac_header_preproc" >&6; } |
14681 | 16983 |
14682 # So? What about this header? | 16984 # So? What about this header? |
14683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 16985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14684 yes:no: ) | 16986 yes:no: ) |
14685 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 16987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14699 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 17001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 17002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 17003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14702 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 17004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 17005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14704 ( | 17006 |
14705 cat <<\_ASBOX | |
14706 ## ------------------------------------------ ## | |
14707 ## Report this to the AC_PACKAGE_NAME lists. ## | |
14708 ## ------------------------------------------ ## | |
14709 _ASBOX | |
14710 ) | | |
14711 sed "s/^/$as_me: WARNING: /" >&2 | |
14712 ;; | 17007 ;; |
14713 esac | 17008 esac |
14714 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17009 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 17010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14716 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14717 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17012 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14718 else | 17013 else |
14719 eval "$as_ac_Header=\$ac_header_preproc" | 17014 eval "$as_ac_Header=\$ac_header_preproc" |
14720 fi | 17015 fi |
14721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 17016 ac_res=`eval echo '${'$as_ac_Header'}'` |
14722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17017 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17018 echo "${ECHO_T}$ac_res" >&6; } | |
14723 | 17019 |
14724 fi | 17020 fi |
14725 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 17021 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14726 cat >>confdefs.h <<_ACEOF | 17022 cat >>confdefs.h <<_ACEOF |
14727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14736 | 17032 |
14737 | 17033 |
14738 for ac_header in stdlib.h sys/time.h unistd.h | 17034 for ac_header in stdlib.h sys/time.h unistd.h |
14739 do | 17035 do |
14740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 17036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
14741 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17037 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14742 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17038 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 17039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14744 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14745 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17041 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14746 fi | 17042 fi |
14747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 17043 ac_res=`eval echo '${'$as_ac_Header'}'` |
14748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17044 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17045 echo "${ECHO_T}$ac_res" >&6; } | |
14749 else | 17046 else |
14750 # Is the header compilable? | 17047 # Is the header compilable? |
14751 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 17048 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
14752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 17049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
14753 cat >conftest.$ac_ext <<_ACEOF | 17050 cat >conftest.$ac_ext <<_ACEOF |
14754 /* confdefs.h. */ | 17051 /* confdefs.h. */ |
14755 _ACEOF | 17052 _ACEOF |
14756 cat confdefs.h >>conftest.$ac_ext | 17053 cat confdefs.h >>conftest.$ac_ext |
14757 cat >>conftest.$ac_ext <<_ACEOF | 17054 cat >>conftest.$ac_ext <<_ACEOF |
14758 /* end confdefs.h. */ | 17055 /* end confdefs.h. */ |
14759 $ac_includes_default | 17056 $ac_includes_default |
14760 #include <$ac_header> | 17057 #include <$ac_header> |
14761 _ACEOF | 17058 _ACEOF |
14762 rm -f conftest.$ac_objext | 17059 rm -f conftest.$ac_objext |
14763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 17060 if { (ac_try="$ac_compile" |
14764 (eval $ac_compile) 2>conftest.er1 | 17061 case "(($ac_try" in |
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17063 *) ac_try_echo=$ac_try;; | |
17064 esac | |
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17066 (eval "$ac_compile") 2>conftest.er1 | |
14765 ac_status=$? | 17067 ac_status=$? |
14766 grep -v '^ *+' conftest.er1 >conftest.err | 17068 grep -v '^ *+' conftest.er1 >conftest.err |
14767 rm -f conftest.er1 | 17069 rm -f conftest.er1 |
14768 cat conftest.err >&5 | 17070 cat conftest.err >&5 |
14769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14770 (exit $ac_status); } && | 17072 (exit $ac_status); } && |
14771 { ac_try='test -z "$ac_c_werror_flag" | 17073 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14772 || test ! -s conftest.err' | 17074 { (case "(($ac_try" in |
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14774 (eval $ac_try) 2>&5 | 17076 *) ac_try_echo=$ac_try;; |
17077 esac | |
17078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17079 (eval "$ac_try") 2>&5 | |
14775 ac_status=$? | 17080 ac_status=$? |
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14777 (exit $ac_status); }; } && | 17082 (exit $ac_status); }; } && |
14778 { ac_try='test -s conftest.$ac_objext' | 17083 { ac_try='test -s conftest.$ac_objext' |
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17084 { (case "(($ac_try" in |
14780 (eval $ac_try) 2>&5 | 17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17086 *) ac_try_echo=$ac_try;; | |
17087 esac | |
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17089 (eval "$ac_try") 2>&5 | |
14781 ac_status=$? | 17090 ac_status=$? |
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14783 (exit $ac_status); }; }; then | 17092 (exit $ac_status); }; }; then |
14784 ac_header_compiler=yes | 17093 ac_header_compiler=yes |
14785 else | 17094 else |
14786 echo "$as_me: failed program was:" >&5 | 17095 echo "$as_me: failed program was:" >&5 |
14787 sed 's/^/| /' conftest.$ac_ext >&5 | 17096 sed 's/^/| /' conftest.$ac_ext >&5 |
14788 | 17097 |
14789 ac_header_compiler=no | 17098 ac_header_compiler=no |
14790 fi | 17099 fi |
14791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 17100 |
14792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
14793 echo "${ECHO_T}$ac_header_compiler" >&6 | 17102 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
17103 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
14794 | 17104 |
14795 # Is the header present? | 17105 # Is the header present? |
14796 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 17106 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
14797 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 17107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
14798 cat >conftest.$ac_ext <<_ACEOF | 17108 cat >conftest.$ac_ext <<_ACEOF |
14799 /* confdefs.h. */ | 17109 /* confdefs.h. */ |
14800 _ACEOF | 17110 _ACEOF |
14801 cat confdefs.h >>conftest.$ac_ext | 17111 cat confdefs.h >>conftest.$ac_ext |
14802 cat >>conftest.$ac_ext <<_ACEOF | 17112 cat >>conftest.$ac_ext <<_ACEOF |
14803 /* end confdefs.h. */ | 17113 /* end confdefs.h. */ |
14804 #include <$ac_header> | 17114 #include <$ac_header> |
14805 _ACEOF | 17115 _ACEOF |
14806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 17116 if { (ac_try="$ac_cpp conftest.$ac_ext" |
14807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 17117 case "(($ac_try" in |
17118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17119 *) ac_try_echo=$ac_try;; | |
17120 esac | |
17121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
14808 ac_status=$? | 17123 ac_status=$? |
14809 grep -v '^ *+' conftest.er1 >conftest.err | 17124 grep -v '^ *+' conftest.er1 >conftest.err |
14810 rm -f conftest.er1 | 17125 rm -f conftest.er1 |
14811 cat conftest.err >&5 | 17126 cat conftest.err >&5 |
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14826 echo "$as_me: failed program was:" >&5 | 17141 echo "$as_me: failed program was:" >&5 |
14827 sed 's/^/| /' conftest.$ac_ext >&5 | 17142 sed 's/^/| /' conftest.$ac_ext >&5 |
14828 | 17143 |
14829 ac_header_preproc=no | 17144 ac_header_preproc=no |
14830 fi | 17145 fi |
17146 | |
14831 rm -f conftest.err conftest.$ac_ext | 17147 rm -f conftest.err conftest.$ac_ext |
14832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 17148 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
14833 echo "${ECHO_T}$ac_header_preproc" >&6 | 17149 echo "${ECHO_T}$ac_header_preproc" >&6; } |
14834 | 17150 |
14835 # So? What about this header? | 17151 # So? What about this header? |
14836 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 17152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
14837 yes:no: ) | 17153 yes:no: ) |
14838 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 17154 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
14852 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 17168 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
14853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 17169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
14854 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 17170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
14855 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 17171 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
14856 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 17172 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
14857 ( | 17173 |
14858 cat <<\_ASBOX | |
14859 ## ------------------------------------------ ## | |
14860 ## Report this to the AC_PACKAGE_NAME lists. ## | |
14861 ## ------------------------------------------ ## | |
14862 _ASBOX | |
14863 ) | | |
14864 sed "s/^/$as_me: WARNING: /" >&2 | |
14865 ;; | 17174 ;; |
14866 esac | 17175 esac |
14867 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 17176 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
14868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 17177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
14869 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 17178 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
14870 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17179 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14871 else | 17180 else |
14872 eval "$as_ac_Header=\$ac_header_preproc" | 17181 eval "$as_ac_Header=\$ac_header_preproc" |
14873 fi | 17182 fi |
14874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 17183 ac_res=`eval echo '${'$as_ac_Header'}'` |
14875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 17184 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17185 echo "${ECHO_T}$ac_res" >&6; } | |
14876 | 17186 |
14877 fi | 17187 fi |
14878 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 17188 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
14879 cat >>confdefs.h <<_ACEOF | 17189 cat >>confdefs.h <<_ACEOF |
14880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 17190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
14886 | 17196 |
14887 | 17197 |
14888 for ac_func in alarm | 17198 for ac_func in alarm |
14889 do | 17199 do |
14890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
14891 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 17201 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
14892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 17202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
14893 if eval "test \"\${$as_ac_var+set}\" = set"; then | 17203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
14894 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17204 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14895 else | 17205 else |
14896 cat >conftest.$ac_ext <<_ACEOF | 17206 cat >conftest.$ac_ext <<_ACEOF |
14897 /* confdefs.h. */ | 17207 /* confdefs.h. */ |
14898 _ACEOF | 17208 _ACEOF |
14914 # include <assert.h> | 17224 # include <assert.h> |
14915 #endif | 17225 #endif |
14916 | 17226 |
14917 #undef $ac_func | 17227 #undef $ac_func |
14918 | 17228 |
14919 /* Override any gcc2 internal prototype to avoid an error. */ | 17229 /* Override any GCC internal prototype to avoid an error. |
17230 Use char because int might match the return type of a GCC | |
17231 builtin and then its argument prototype would still apply. */ | |
14920 #ifdef __cplusplus | 17232 #ifdef __cplusplus |
14921 extern "C" | 17233 extern "C" |
14922 { | |
14923 #endif | 17234 #endif |
14924 /* We use char because int might match the return type of a gcc2 | |
14925 builtin and then its argument prototype would still apply. */ | |
14926 char $ac_func (); | 17235 char $ac_func (); |
14927 /* The GNU C library defines this for functions which it implements | 17236 /* The GNU C library defines this for functions which it implements |
14928 to always fail with ENOSYS. Some functions are actually named | 17237 to always fail with ENOSYS. Some functions are actually named |
14929 something starting with __ and the normal name is an alias. */ | 17238 something starting with __ and the normal name is an alias. */ |
14930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 17239 #if defined __stub_$ac_func || defined __stub___$ac_func |
14931 choke me | 17240 choke me |
14932 #else | |
14933 char (*f) () = $ac_func; | |
14934 #endif | |
14935 #ifdef __cplusplus | |
14936 } | |
14937 #endif | 17241 #endif |
14938 | 17242 |
14939 int | 17243 int |
14940 main () | 17244 main () |
14941 { | 17245 { |
14942 return f != $ac_func; | 17246 return $ac_func (); |
14943 ; | 17247 ; |
14944 return 0; | 17248 return 0; |
14945 } | 17249 } |
14946 _ACEOF | 17250 _ACEOF |
14947 rm -f conftest.$ac_objext conftest$ac_exeext | 17251 rm -f conftest.$ac_objext conftest$ac_exeext |
14948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17252 if { (ac_try="$ac_link" |
14949 (eval $ac_link) 2>conftest.er1 | 17253 case "(($ac_try" in |
17254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17255 *) ac_try_echo=$ac_try;; | |
17256 esac | |
17257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17258 (eval "$ac_link") 2>conftest.er1 | |
14950 ac_status=$? | 17259 ac_status=$? |
14951 grep -v '^ *+' conftest.er1 >conftest.err | 17260 grep -v '^ *+' conftest.er1 >conftest.err |
14952 rm -f conftest.er1 | 17261 rm -f conftest.er1 |
14953 cat conftest.err >&5 | 17262 cat conftest.err >&5 |
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14955 (exit $ac_status); } && | 17264 (exit $ac_status); } && |
14956 { ac_try='test -z "$ac_c_werror_flag" | 17265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
14957 || test ! -s conftest.err' | 17266 { (case "(($ac_try" in |
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
14959 (eval $ac_try) 2>&5 | 17268 *) ac_try_echo=$ac_try;; |
17269 esac | |
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17271 (eval "$ac_try") 2>&5 | |
14960 ac_status=$? | 17272 ac_status=$? |
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14962 (exit $ac_status); }; } && | 17274 (exit $ac_status); }; } && |
14963 { ac_try='test -s conftest$ac_exeext' | 17275 { ac_try='test -s conftest$ac_exeext' |
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17276 { (case "(($ac_try" in |
14965 (eval $ac_try) 2>&5 | 17277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17278 *) ac_try_echo=$ac_try;; | |
17279 esac | |
17280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17281 (eval "$ac_try") 2>&5 | |
14966 ac_status=$? | 17282 ac_status=$? |
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14968 (exit $ac_status); }; }; then | 17284 (exit $ac_status); }; }; then |
14969 eval "$as_ac_var=yes" | 17285 eval "$as_ac_var=yes" |
14970 else | 17286 else |
14971 echo "$as_me: failed program was:" >&5 | 17287 echo "$as_me: failed program was:" >&5 |
14972 sed 's/^/| /' conftest.$ac_ext >&5 | 17288 sed 's/^/| /' conftest.$ac_ext >&5 |
14973 | 17289 |
14974 eval "$as_ac_var=no" | 17290 eval "$as_ac_var=no" |
14975 fi | 17291 fi |
14976 rm -f conftest.err conftest.$ac_objext \ | 17292 |
17293 rm -f core conftest.err conftest.$ac_objext \ | |
14977 conftest$ac_exeext conftest.$ac_ext | 17294 conftest$ac_exeext conftest.$ac_ext |
14978 fi | 17295 fi |
14979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 17296 ac_res=`eval echo '${'$as_ac_var'}'` |
14980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 17297 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17298 echo "${ECHO_T}$ac_res" >&6; } | |
14981 if test `eval echo '${'$as_ac_var'}'` = yes; then | 17299 if test `eval echo '${'$as_ac_var'}'` = yes; then |
14982 cat >>confdefs.h <<_ACEOF | 17300 cat >>confdefs.h <<_ACEOF |
14983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
14984 _ACEOF | 17302 _ACEOF |
14985 | 17303 |
14986 fi | 17304 fi |
14987 done | 17305 done |
14988 | 17306 |
14989 echo "$as_me:$LINENO: checking for working mktime" >&5 | 17307 { echo "$as_me:$LINENO: checking for working mktime" >&5 |
14990 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6 | 17308 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; } |
14991 if test "${ac_cv_func_working_mktime+set}" = set; then | 17309 if test "${ac_cv_func_working_mktime+set}" = set; then |
14992 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17310 echo $ECHO_N "(cached) $ECHO_C" >&6 |
14993 else | 17311 else |
14994 if test "$cross_compiling" = yes; then | 17312 if test "$cross_compiling" = yes; then |
14995 ac_cv_func_working_mktime=no | 17313 ac_cv_func_working_mktime=no |
15035 (char *) 0, "TZ=GMT0", "TZ=JST-9", | 17353 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
15036 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 17354 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
15037 }; | 17355 }; |
15038 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 17356 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
15039 | 17357 |
15040 /* Fail if mktime fails to convert a date in the spring-forward gap. | 17358 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
15041 Based on a problem report from Andreas Jaeger. */ | 17359 Based on a problem report from Andreas Jaeger. */ |
15042 static void | 17360 static int |
15043 spring_forward_gap () | 17361 spring_forward_gap () |
15044 { | 17362 { |
15045 /* glibc (up to about 1998-10-07) failed this test. */ | 17363 /* glibc (up to about 1998-10-07) failed this test. */ |
15046 struct tm tm; | 17364 struct tm tm; |
15047 | 17365 |
15056 tm.tm_mday = 5; | 17374 tm.tm_mday = 5; |
15057 tm.tm_hour = 2; | 17375 tm.tm_hour = 2; |
15058 tm.tm_min = 0; | 17376 tm.tm_min = 0; |
15059 tm.tm_sec = 0; | 17377 tm.tm_sec = 0; |
15060 tm.tm_isdst = -1; | 17378 tm.tm_isdst = -1; |
15061 if (mktime (&tm) == (time_t)-1) | 17379 return mktime (&tm) != (time_t) -1; |
15062 exit (1); | |
15063 } | 17380 } |
15064 | 17381 |
15065 static void | 17382 static int |
15066 mktime_test1 (now) | 17383 mktime_test1 (now) |
15067 time_t now; | 17384 time_t now; |
15068 { | 17385 { |
15069 struct tm *lt; | 17386 struct tm *lt; |
15070 if ((lt = localtime (&now)) && mktime (lt) != now) | 17387 return ! (lt = localtime (&now)) || mktime (lt) == now; |
15071 exit (1); | |
15072 } | 17388 } |
15073 | 17389 |
15074 static void | 17390 static int |
15075 mktime_test (now) | 17391 mktime_test (now) |
15076 time_t now; | 17392 time_t now; |
15077 { | 17393 { |
15078 mktime_test1 (now); | 17394 return (mktime_test1 (now) |
15079 mktime_test1 ((time_t) (time_t_max - now)); | 17395 && mktime_test1 ((time_t) (time_t_max - now)) |
15080 mktime_test1 ((time_t) (time_t_min + now)); | 17396 && mktime_test1 ((time_t) (time_t_min + now))); |
15081 } | 17397 } |
15082 | 17398 |
15083 static void | 17399 static int |
15084 irix_6_4_bug () | 17400 irix_6_4_bug () |
15085 { | 17401 { |
15086 /* Based on code from Ariel Faigon. */ | 17402 /* Based on code from Ariel Faigon. */ |
15087 struct tm tm; | 17403 struct tm tm; |
15088 tm.tm_year = 96; | 17404 tm.tm_year = 96; |
15091 tm.tm_hour = 0; | 17407 tm.tm_hour = 0; |
15092 tm.tm_min = 0; | 17408 tm.tm_min = 0; |
15093 tm.tm_sec = 0; | 17409 tm.tm_sec = 0; |
15094 tm.tm_isdst = -1; | 17410 tm.tm_isdst = -1; |
15095 mktime (&tm); | 17411 mktime (&tm); |
15096 if (tm.tm_mon != 2 || tm.tm_mday != 31) | 17412 return tm.tm_mon == 2 && tm.tm_mday == 31; |
15097 exit (1); | |
15098 } | 17413 } |
15099 | 17414 |
15100 static void | 17415 static int |
15101 bigtime_test (j) | 17416 bigtime_test (j) |
15102 int j; | 17417 int j; |
15103 { | 17418 { |
15104 struct tm tm; | 17419 struct tm tm; |
15105 time_t now; | 17420 time_t now; |
15117 && lt->tm_sec == tm.tm_sec | 17432 && lt->tm_sec == tm.tm_sec |
15118 && lt->tm_yday == tm.tm_yday | 17433 && lt->tm_yday == tm.tm_yday |
15119 && lt->tm_wday == tm.tm_wday | 17434 && lt->tm_wday == tm.tm_wday |
15120 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) | 17435 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst) |
15121 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) | 17436 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst)))) |
15122 exit (1); | 17437 return 0; |
15123 } | 17438 } |
17439 return 1; | |
15124 } | 17440 } |
15125 | 17441 |
15126 int | 17442 int |
15127 main () | 17443 main () |
15128 { | 17444 { |
15145 { | 17461 { |
15146 if (tz_strings[i]) | 17462 if (tz_strings[i]) |
15147 putenv (tz_strings[i]); | 17463 putenv (tz_strings[i]); |
15148 | 17464 |
15149 for (t = 0; t <= time_t_max - delta; t += delta) | 17465 for (t = 0; t <= time_t_max - delta; t += delta) |
15150 mktime_test (t); | 17466 if (! mktime_test (t)) |
15151 mktime_test ((time_t) 1); | 17467 return 1; |
15152 mktime_test ((time_t) (60 * 60)); | 17468 if (! (mktime_test ((time_t) 1) |
15153 mktime_test ((time_t) (60 * 60 * 24)); | 17469 && mktime_test ((time_t) (60 * 60)) |
17470 && mktime_test ((time_t) (60 * 60 * 24)))) | |
17471 return 1; | |
15154 | 17472 |
15155 for (j = 1; 0 < j; j *= 2) | 17473 for (j = 1; 0 < j; j *= 2) |
15156 bigtime_test (j); | 17474 if (! bigtime_test (j)) |
15157 bigtime_test (j - 1); | 17475 return 1; |
17476 if (! bigtime_test (j - 1)) | |
17477 return 1; | |
15158 } | 17478 } |
15159 irix_6_4_bug (); | 17479 return ! (irix_6_4_bug () && spring_forward_gap ()); |
15160 spring_forward_gap (); | |
15161 exit (0); | |
15162 } | 17480 } |
15163 _ACEOF | 17481 _ACEOF |
15164 rm -f conftest$ac_exeext | 17482 rm -f conftest$ac_exeext |
15165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17483 if { (ac_try="$ac_link" |
15166 (eval $ac_link) 2>&5 | 17484 case "(($ac_try" in |
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17486 *) ac_try_echo=$ac_try;; | |
17487 esac | |
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17489 (eval "$ac_link") 2>&5 | |
15167 ac_status=$? | 17490 ac_status=$? |
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 17492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17493 { (case "(($ac_try" in |
15171 (eval $ac_try) 2>&5 | 17494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17495 *) ac_try_echo=$ac_try;; | |
17496 esac | |
17497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17498 (eval "$ac_try") 2>&5 | |
15172 ac_status=$? | 17499 ac_status=$? |
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15174 (exit $ac_status); }; }; then | 17501 (exit $ac_status); }; }; then |
15175 ac_cv_func_working_mktime=yes | 17502 ac_cv_func_working_mktime=yes |
15176 else | 17503 else |
15179 sed 's/^/| /' conftest.$ac_ext >&5 | 17506 sed 's/^/| /' conftest.$ac_ext >&5 |
15180 | 17507 |
15181 ( exit $ac_status ) | 17508 ( exit $ac_status ) |
15182 ac_cv_func_working_mktime=no | 17509 ac_cv_func_working_mktime=no |
15183 fi | 17510 fi |
15184 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 17511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
15185 fi | 17512 fi |
15186 fi | 17513 |
15187 echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | 17514 |
15188 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6 | 17515 fi |
17516 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5 | |
17517 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; } | |
15189 if test $ac_cv_func_working_mktime = no; then | 17518 if test $ac_cv_func_working_mktime = no; then |
15190 case $LIBOBJS in | 17519 case " $LIBOBJS " in |
15191 "mktime.$ac_objext" | \ | |
15192 *" mktime.$ac_objext" | \ | |
15193 "mktime.$ac_objext "* | \ | |
15194 *" mktime.$ac_objext "* ) ;; | 17520 *" mktime.$ac_objext "* ) ;; |
15195 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" ;; | 17521 *) LIBOBJS="$LIBOBJS mktime.$ac_objext" |
17522 ;; | |
15196 esac | 17523 esac |
15197 | 17524 |
15198 fi | 17525 fi |
15199 | 17526 |
15200 if test "$ac_cv_func_working_mktime" = no; then | 17527 if test "$ac_cv_func_working_mktime" = no; then |
15214 { (exit 1); exit 1; }; } | 17541 { (exit 1); exit 1; }; } |
15215 | 17542 |
15216 ac_save_LIBS=$LIBS | 17543 ac_save_LIBS=$LIBS |
15217 | 17544 |
15218 # Check for getloadavg, but be sure not to touch the cache variable. | 17545 # Check for getloadavg, but be sure not to touch the cache variable. |
15219 (echo "$as_me:$LINENO: checking for getloadavg" >&5 | 17546 ({ echo "$as_me:$LINENO: checking for getloadavg" >&5 |
15220 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6 | 17547 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6; } |
15221 if test "${ac_cv_func_getloadavg+set}" = set; then | 17548 if test "${ac_cv_func_getloadavg+set}" = set; then |
15222 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17549 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15223 else | 17550 else |
15224 cat >conftest.$ac_ext <<_ACEOF | 17551 cat >conftest.$ac_ext <<_ACEOF |
15225 /* confdefs.h. */ | 17552 /* confdefs.h. */ |
15242 # include <assert.h> | 17569 # include <assert.h> |
15243 #endif | 17570 #endif |
15244 | 17571 |
15245 #undef getloadavg | 17572 #undef getloadavg |
15246 | 17573 |
15247 /* Override any gcc2 internal prototype to avoid an error. */ | 17574 /* Override any GCC internal prototype to avoid an error. |
17575 Use char because int might match the return type of a GCC | |
17576 builtin and then its argument prototype would still apply. */ | |
15248 #ifdef __cplusplus | 17577 #ifdef __cplusplus |
15249 extern "C" | 17578 extern "C" |
15250 { | |
15251 #endif | 17579 #endif |
15252 /* We use char because int might match the return type of a gcc2 | |
15253 builtin and then its argument prototype would still apply. */ | |
15254 char getloadavg (); | 17580 char getloadavg (); |
15255 /* The GNU C library defines this for functions which it implements | 17581 /* The GNU C library defines this for functions which it implements |
15256 to always fail with ENOSYS. Some functions are actually named | 17582 to always fail with ENOSYS. Some functions are actually named |
15257 something starting with __ and the normal name is an alias. */ | 17583 something starting with __ and the normal name is an alias. */ |
15258 #if defined (__stub_getloadavg) || defined (__stub___getloadavg) | 17584 #if defined __stub_getloadavg || defined __stub___getloadavg |
15259 choke me | 17585 choke me |
15260 #else | |
15261 char (*f) () = getloadavg; | |
15262 #endif | |
15263 #ifdef __cplusplus | |
15264 } | |
15265 #endif | 17586 #endif |
15266 | 17587 |
15267 int | 17588 int |
15268 main () | 17589 main () |
15269 { | 17590 { |
15270 return f != getloadavg; | 17591 return getloadavg (); |
15271 ; | 17592 ; |
15272 return 0; | 17593 return 0; |
15273 } | 17594 } |
15274 _ACEOF | 17595 _ACEOF |
15275 rm -f conftest.$ac_objext conftest$ac_exeext | 17596 rm -f conftest.$ac_objext conftest$ac_exeext |
15276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17597 if { (ac_try="$ac_link" |
15277 (eval $ac_link) 2>conftest.er1 | 17598 case "(($ac_try" in |
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17600 *) ac_try_echo=$ac_try;; | |
17601 esac | |
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17603 (eval "$ac_link") 2>conftest.er1 | |
15278 ac_status=$? | 17604 ac_status=$? |
15279 grep -v '^ *+' conftest.er1 >conftest.err | 17605 grep -v '^ *+' conftest.er1 >conftest.err |
15280 rm -f conftest.er1 | 17606 rm -f conftest.er1 |
15281 cat conftest.err >&5 | 17607 cat conftest.err >&5 |
15282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15283 (exit $ac_status); } && | 17609 (exit $ac_status); } && |
15284 { ac_try='test -z "$ac_c_werror_flag" | 17610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15285 || test ! -s conftest.err' | 17611 { (case "(($ac_try" in |
15286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15287 (eval $ac_try) 2>&5 | 17613 *) ac_try_echo=$ac_try;; |
17614 esac | |
17615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17616 (eval "$ac_try") 2>&5 | |
15288 ac_status=$? | 17617 ac_status=$? |
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15290 (exit $ac_status); }; } && | 17619 (exit $ac_status); }; } && |
15291 { ac_try='test -s conftest$ac_exeext' | 17620 { ac_try='test -s conftest$ac_exeext' |
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17621 { (case "(($ac_try" in |
15293 (eval $ac_try) 2>&5 | 17622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17623 *) ac_try_echo=$ac_try;; | |
17624 esac | |
17625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17626 (eval "$ac_try") 2>&5 | |
15294 ac_status=$? | 17627 ac_status=$? |
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15296 (exit $ac_status); }; }; then | 17629 (exit $ac_status); }; }; then |
15297 ac_cv_func_getloadavg=yes | 17630 ac_cv_func_getloadavg=yes |
15298 else | 17631 else |
15299 echo "$as_me: failed program was:" >&5 | 17632 echo "$as_me: failed program was:" >&5 |
15300 sed 's/^/| /' conftest.$ac_ext >&5 | 17633 sed 's/^/| /' conftest.$ac_ext >&5 |
15301 | 17634 |
15302 ac_cv_func_getloadavg=no | 17635 ac_cv_func_getloadavg=no |
15303 fi | 17636 fi |
15304 rm -f conftest.err conftest.$ac_objext \ | 17637 |
17638 rm -f core conftest.err conftest.$ac_objext \ | |
15305 conftest$ac_exeext conftest.$ac_ext | 17639 conftest$ac_exeext conftest.$ac_ext |
15306 fi | 17640 fi |
15307 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 | 17641 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg" >&5 |
15308 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6 | 17642 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6; } |
15309 if test $ac_cv_func_getloadavg = yes; then | 17643 if test $ac_cv_func_getloadavg = yes; then |
15310 exit 0 | 17644 exit 0 |
15311 else | 17645 else |
15312 exit 1 | 17646 exit 1 |
15313 fi | 17647 fi |
15316 # On HPUX9, an unprivileged user can get load averages through this function. | 17650 # On HPUX9, an unprivileged user can get load averages through this function. |
15317 | 17651 |
15318 for ac_func in pstat_getdynamic | 17652 for ac_func in pstat_getdynamic |
15319 do | 17653 do |
15320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 17654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15321 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 17655 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
15322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 17656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
15323 if eval "test \"\${$as_ac_var+set}\" = set"; then | 17657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
15324 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17658 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15325 else | 17659 else |
15326 cat >conftest.$ac_ext <<_ACEOF | 17660 cat >conftest.$ac_ext <<_ACEOF |
15327 /* confdefs.h. */ | 17661 /* confdefs.h. */ |
15328 _ACEOF | 17662 _ACEOF |
15344 # include <assert.h> | 17678 # include <assert.h> |
15345 #endif | 17679 #endif |
15346 | 17680 |
15347 #undef $ac_func | 17681 #undef $ac_func |
15348 | 17682 |
15349 /* Override any gcc2 internal prototype to avoid an error. */ | 17683 /* Override any GCC internal prototype to avoid an error. |
17684 Use char because int might match the return type of a GCC | |
17685 builtin and then its argument prototype would still apply. */ | |
15350 #ifdef __cplusplus | 17686 #ifdef __cplusplus |
15351 extern "C" | 17687 extern "C" |
15352 { | |
15353 #endif | 17688 #endif |
15354 /* We use char because int might match the return type of a gcc2 | |
15355 builtin and then its argument prototype would still apply. */ | |
15356 char $ac_func (); | 17689 char $ac_func (); |
15357 /* The GNU C library defines this for functions which it implements | 17690 /* The GNU C library defines this for functions which it implements |
15358 to always fail with ENOSYS. Some functions are actually named | 17691 to always fail with ENOSYS. Some functions are actually named |
15359 something starting with __ and the normal name is an alias. */ | 17692 something starting with __ and the normal name is an alias. */ |
15360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 17693 #if defined __stub_$ac_func || defined __stub___$ac_func |
15361 choke me | 17694 choke me |
15362 #else | |
15363 char (*f) () = $ac_func; | |
15364 #endif | |
15365 #ifdef __cplusplus | |
15366 } | |
15367 #endif | 17695 #endif |
15368 | 17696 |
15369 int | 17697 int |
15370 main () | 17698 main () |
15371 { | 17699 { |
15372 return f != $ac_func; | 17700 return $ac_func (); |
15373 ; | 17701 ; |
15374 return 0; | 17702 return 0; |
15375 } | 17703 } |
15376 _ACEOF | 17704 _ACEOF |
15377 rm -f conftest.$ac_objext conftest$ac_exeext | 17705 rm -f conftest.$ac_objext conftest$ac_exeext |
15378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17706 if { (ac_try="$ac_link" |
15379 (eval $ac_link) 2>conftest.er1 | 17707 case "(($ac_try" in |
17708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17709 *) ac_try_echo=$ac_try;; | |
17710 esac | |
17711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17712 (eval "$ac_link") 2>conftest.er1 | |
15380 ac_status=$? | 17713 ac_status=$? |
15381 grep -v '^ *+' conftest.er1 >conftest.err | 17714 grep -v '^ *+' conftest.er1 >conftest.err |
15382 rm -f conftest.er1 | 17715 rm -f conftest.er1 |
15383 cat conftest.err >&5 | 17716 cat conftest.err >&5 |
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15385 (exit $ac_status); } && | 17718 (exit $ac_status); } && |
15386 { ac_try='test -z "$ac_c_werror_flag" | 17719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15387 || test ! -s conftest.err' | 17720 { (case "(($ac_try" in |
15388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15389 (eval $ac_try) 2>&5 | 17722 *) ac_try_echo=$ac_try;; |
17723 esac | |
17724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17725 (eval "$ac_try") 2>&5 | |
15390 ac_status=$? | 17726 ac_status=$? |
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15392 (exit $ac_status); }; } && | 17728 (exit $ac_status); }; } && |
15393 { ac_try='test -s conftest$ac_exeext' | 17729 { ac_try='test -s conftest$ac_exeext' |
15394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17730 { (case "(($ac_try" in |
15395 (eval $ac_try) 2>&5 | 17731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17732 *) ac_try_echo=$ac_try;; | |
17733 esac | |
17734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17735 (eval "$ac_try") 2>&5 | |
15396 ac_status=$? | 17736 ac_status=$? |
15397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15398 (exit $ac_status); }; }; then | 17738 (exit $ac_status); }; }; then |
15399 eval "$as_ac_var=yes" | 17739 eval "$as_ac_var=yes" |
15400 else | 17740 else |
15401 echo "$as_me: failed program was:" >&5 | 17741 echo "$as_me: failed program was:" >&5 |
15402 sed 's/^/| /' conftest.$ac_ext >&5 | 17742 sed 's/^/| /' conftest.$ac_ext >&5 |
15403 | 17743 |
15404 eval "$as_ac_var=no" | 17744 eval "$as_ac_var=no" |
15405 fi | 17745 fi |
15406 rm -f conftest.err conftest.$ac_objext \ | 17746 |
17747 rm -f core conftest.err conftest.$ac_objext \ | |
15407 conftest$ac_exeext conftest.$ac_ext | 17748 conftest$ac_exeext conftest.$ac_ext |
15408 fi | 17749 fi |
15409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 17750 ac_res=`eval echo '${'$as_ac_var'}'` |
15410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 17751 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
17752 echo "${ECHO_T}$ac_res" >&6; } | |
15411 if test `eval echo '${'$as_ac_var'}'` = yes; then | 17753 if test `eval echo '${'$as_ac_var'}'` = yes; then |
15412 cat >>confdefs.h <<_ACEOF | 17754 cat >>confdefs.h <<_ACEOF |
15413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 17755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15414 _ACEOF | 17756 _ACEOF |
15415 | 17757 |
15417 done | 17759 done |
15418 | 17760 |
15419 | 17761 |
15420 # Solaris has libkstat which does not require root. | 17762 # Solaris has libkstat which does not require root. |
15421 | 17763 |
15422 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 | 17764 { echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5 |
15423 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6 | 17765 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6; } |
15424 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then | 17766 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then |
15425 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17767 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15426 else | 17768 else |
15427 ac_check_lib_save_LIBS=$LIBS | 17769 ac_check_lib_save_LIBS=$LIBS |
15428 LIBS="-lkstat $LIBS" | 17770 LIBS="-lkstat $LIBS" |
15431 _ACEOF | 17773 _ACEOF |
15432 cat confdefs.h >>conftest.$ac_ext | 17774 cat confdefs.h >>conftest.$ac_ext |
15433 cat >>conftest.$ac_ext <<_ACEOF | 17775 cat >>conftest.$ac_ext <<_ACEOF |
15434 /* end confdefs.h. */ | 17776 /* end confdefs.h. */ |
15435 | 17777 |
15436 /* Override any gcc2 internal prototype to avoid an error. */ | 17778 /* Override any GCC internal prototype to avoid an error. |
17779 Use char because int might match the return type of a GCC | |
17780 builtin and then its argument prototype would still apply. */ | |
15437 #ifdef __cplusplus | 17781 #ifdef __cplusplus |
15438 extern "C" | 17782 extern "C" |
15439 #endif | 17783 #endif |
15440 /* We use char because int might match the return type of a gcc2 | |
15441 builtin and then its argument prototype would still apply. */ | |
15442 char kstat_open (); | 17784 char kstat_open (); |
15443 int | 17785 int |
15444 main () | 17786 main () |
15445 { | 17787 { |
15446 kstat_open (); | 17788 return kstat_open (); |
15447 ; | 17789 ; |
15448 return 0; | 17790 return 0; |
15449 } | 17791 } |
15450 _ACEOF | 17792 _ACEOF |
15451 rm -f conftest.$ac_objext conftest$ac_exeext | 17793 rm -f conftest.$ac_objext conftest$ac_exeext |
15452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17794 if { (ac_try="$ac_link" |
15453 (eval $ac_link) 2>conftest.er1 | 17795 case "(($ac_try" in |
17796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17797 *) ac_try_echo=$ac_try;; | |
17798 esac | |
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17800 (eval "$ac_link") 2>conftest.er1 | |
15454 ac_status=$? | 17801 ac_status=$? |
15455 grep -v '^ *+' conftest.er1 >conftest.err | 17802 grep -v '^ *+' conftest.er1 >conftest.err |
15456 rm -f conftest.er1 | 17803 rm -f conftest.er1 |
15457 cat conftest.err >&5 | 17804 cat conftest.err >&5 |
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15459 (exit $ac_status); } && | 17806 (exit $ac_status); } && |
15460 { ac_try='test -z "$ac_c_werror_flag" | 17807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15461 || test ! -s conftest.err' | 17808 { (case "(($ac_try" in |
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15463 (eval $ac_try) 2>&5 | 17810 *) ac_try_echo=$ac_try;; |
17811 esac | |
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17813 (eval "$ac_try") 2>&5 | |
15464 ac_status=$? | 17814 ac_status=$? |
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15466 (exit $ac_status); }; } && | 17816 (exit $ac_status); }; } && |
15467 { ac_try='test -s conftest$ac_exeext' | 17817 { ac_try='test -s conftest$ac_exeext' |
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17818 { (case "(($ac_try" in |
15469 (eval $ac_try) 2>&5 | 17819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17820 *) ac_try_echo=$ac_try;; | |
17821 esac | |
17822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17823 (eval "$ac_try") 2>&5 | |
15470 ac_status=$? | 17824 ac_status=$? |
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15472 (exit $ac_status); }; }; then | 17826 (exit $ac_status); }; }; then |
15473 ac_cv_lib_kstat_kstat_open=yes | 17827 ac_cv_lib_kstat_kstat_open=yes |
15474 else | 17828 else |
15475 echo "$as_me: failed program was:" >&5 | 17829 echo "$as_me: failed program was:" >&5 |
15476 sed 's/^/| /' conftest.$ac_ext >&5 | 17830 sed 's/^/| /' conftest.$ac_ext >&5 |
15477 | 17831 |
15478 ac_cv_lib_kstat_kstat_open=no | 17832 ac_cv_lib_kstat_kstat_open=no |
15479 fi | 17833 fi |
15480 rm -f conftest.err conftest.$ac_objext \ | 17834 |
17835 rm -f core conftest.err conftest.$ac_objext \ | |
15481 conftest$ac_exeext conftest.$ac_ext | 17836 conftest$ac_exeext conftest.$ac_ext |
15482 LIBS=$ac_check_lib_save_LIBS | 17837 LIBS=$ac_check_lib_save_LIBS |
15483 fi | 17838 fi |
15484 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 | 17839 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5 |
15485 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6 | 17840 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6; } |
15486 if test $ac_cv_lib_kstat_kstat_open = yes; then | 17841 if test $ac_cv_lib_kstat_kstat_open = yes; then |
15487 cat >>confdefs.h <<_ACEOF | 17842 cat >>confdefs.h <<_ACEOF |
15488 #define HAVE_LIBKSTAT 1 | 17843 #define HAVE_LIBKSTAT 1 |
15489 _ACEOF | 17844 _ACEOF |
15490 | 17845 |
15497 # Some systems with -lutil have (and need) -lkvm as well, some do not. | 17852 # Some systems with -lutil have (and need) -lkvm as well, some do not. |
15498 # On Solaris, -lkvm requires nlist from -lelf, so check that first | 17853 # On Solaris, -lkvm requires nlist from -lelf, so check that first |
15499 # to get the right answer into the cache. | 17854 # to get the right answer into the cache. |
15500 # For kstat on solaris, we need libelf to force the definition of SVR4 below. | 17855 # For kstat on solaris, we need libelf to force the definition of SVR4 below. |
15501 if test $ac_have_func = no; then | 17856 if test $ac_have_func = no; then |
15502 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 17857 { echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 |
15503 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 17858 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6; } |
15504 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 17859 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then |
15505 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17860 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15506 else | 17861 else |
15507 ac_check_lib_save_LIBS=$LIBS | 17862 ac_check_lib_save_LIBS=$LIBS |
15508 LIBS="-lelf $LIBS" | 17863 LIBS="-lelf $LIBS" |
15511 _ACEOF | 17866 _ACEOF |
15512 cat confdefs.h >>conftest.$ac_ext | 17867 cat confdefs.h >>conftest.$ac_ext |
15513 cat >>conftest.$ac_ext <<_ACEOF | 17868 cat >>conftest.$ac_ext <<_ACEOF |
15514 /* end confdefs.h. */ | 17869 /* end confdefs.h. */ |
15515 | 17870 |
15516 /* Override any gcc2 internal prototype to avoid an error. */ | 17871 /* Override any GCC internal prototype to avoid an error. |
17872 Use char because int might match the return type of a GCC | |
17873 builtin and then its argument prototype would still apply. */ | |
15517 #ifdef __cplusplus | 17874 #ifdef __cplusplus |
15518 extern "C" | 17875 extern "C" |
15519 #endif | 17876 #endif |
15520 /* We use char because int might match the return type of a gcc2 | |
15521 builtin and then its argument prototype would still apply. */ | |
15522 char elf_begin (); | 17877 char elf_begin (); |
15523 int | 17878 int |
15524 main () | 17879 main () |
15525 { | 17880 { |
15526 elf_begin (); | 17881 return elf_begin (); |
15527 ; | 17882 ; |
15528 return 0; | 17883 return 0; |
15529 } | 17884 } |
15530 _ACEOF | 17885 _ACEOF |
15531 rm -f conftest.$ac_objext conftest$ac_exeext | 17886 rm -f conftest.$ac_objext conftest$ac_exeext |
15532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17887 if { (ac_try="$ac_link" |
15533 (eval $ac_link) 2>conftest.er1 | 17888 case "(($ac_try" in |
17889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17890 *) ac_try_echo=$ac_try;; | |
17891 esac | |
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17893 (eval "$ac_link") 2>conftest.er1 | |
15534 ac_status=$? | 17894 ac_status=$? |
15535 grep -v '^ *+' conftest.er1 >conftest.err | 17895 grep -v '^ *+' conftest.er1 >conftest.err |
15536 rm -f conftest.er1 | 17896 rm -f conftest.er1 |
15537 cat conftest.err >&5 | 17897 cat conftest.err >&5 |
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15539 (exit $ac_status); } && | 17899 (exit $ac_status); } && |
15540 { ac_try='test -z "$ac_c_werror_flag" | 17900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15541 || test ! -s conftest.err' | 17901 { (case "(($ac_try" in |
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15543 (eval $ac_try) 2>&5 | 17903 *) ac_try_echo=$ac_try;; |
17904 esac | |
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17906 (eval "$ac_try") 2>&5 | |
15544 ac_status=$? | 17907 ac_status=$? |
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15546 (exit $ac_status); }; } && | 17909 (exit $ac_status); }; } && |
15547 { ac_try='test -s conftest$ac_exeext' | 17910 { ac_try='test -s conftest$ac_exeext' |
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17911 { (case "(($ac_try" in |
15549 (eval $ac_try) 2>&5 | 17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17913 *) ac_try_echo=$ac_try;; | |
17914 esac | |
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17916 (eval "$ac_try") 2>&5 | |
15550 ac_status=$? | 17917 ac_status=$? |
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15552 (exit $ac_status); }; }; then | 17919 (exit $ac_status); }; }; then |
15553 ac_cv_lib_elf_elf_begin=yes | 17920 ac_cv_lib_elf_elf_begin=yes |
15554 else | 17921 else |
15555 echo "$as_me: failed program was:" >&5 | 17922 echo "$as_me: failed program was:" >&5 |
15556 sed 's/^/| /' conftest.$ac_ext >&5 | 17923 sed 's/^/| /' conftest.$ac_ext >&5 |
15557 | 17924 |
15558 ac_cv_lib_elf_elf_begin=no | 17925 ac_cv_lib_elf_elf_begin=no |
15559 fi | 17926 fi |
15560 rm -f conftest.err conftest.$ac_objext \ | 17927 |
17928 rm -f core conftest.err conftest.$ac_objext \ | |
15561 conftest$ac_exeext conftest.$ac_ext | 17929 conftest$ac_exeext conftest.$ac_ext |
15562 LIBS=$ac_check_lib_save_LIBS | 17930 LIBS=$ac_check_lib_save_LIBS |
15563 fi | 17931 fi |
15564 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 17932 { echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 |
15565 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 17933 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6; } |
15566 if test $ac_cv_lib_elf_elf_begin = yes; then | 17934 if test $ac_cv_lib_elf_elf_begin = yes; then |
15567 LIBS="-lelf $LIBS" | 17935 LIBS="-lelf $LIBS" |
15568 fi | 17936 fi |
15569 | 17937 |
15570 fi | 17938 fi |
15571 if test $ac_have_func = no; then | 17939 if test $ac_have_func = no; then |
15572 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 | 17940 { echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5 |
15573 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6 | 17941 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6; } |
15574 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then | 17942 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then |
15575 echo $ECHO_N "(cached) $ECHO_C" >&6 | 17943 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15576 else | 17944 else |
15577 ac_check_lib_save_LIBS=$LIBS | 17945 ac_check_lib_save_LIBS=$LIBS |
15578 LIBS="-lkvm $LIBS" | 17946 LIBS="-lkvm $LIBS" |
15581 _ACEOF | 17949 _ACEOF |
15582 cat confdefs.h >>conftest.$ac_ext | 17950 cat confdefs.h >>conftest.$ac_ext |
15583 cat >>conftest.$ac_ext <<_ACEOF | 17951 cat >>conftest.$ac_ext <<_ACEOF |
15584 /* end confdefs.h. */ | 17952 /* end confdefs.h. */ |
15585 | 17953 |
15586 /* Override any gcc2 internal prototype to avoid an error. */ | 17954 /* Override any GCC internal prototype to avoid an error. |
17955 Use char because int might match the return type of a GCC | |
17956 builtin and then its argument prototype would still apply. */ | |
15587 #ifdef __cplusplus | 17957 #ifdef __cplusplus |
15588 extern "C" | 17958 extern "C" |
15589 #endif | 17959 #endif |
15590 /* We use char because int might match the return type of a gcc2 | |
15591 builtin and then its argument prototype would still apply. */ | |
15592 char kvm_open (); | 17960 char kvm_open (); |
15593 int | 17961 int |
15594 main () | 17962 main () |
15595 { | 17963 { |
15596 kvm_open (); | 17964 return kvm_open (); |
15597 ; | 17965 ; |
15598 return 0; | 17966 return 0; |
15599 } | 17967 } |
15600 _ACEOF | 17968 _ACEOF |
15601 rm -f conftest.$ac_objext conftest$ac_exeext | 17969 rm -f conftest.$ac_objext conftest$ac_exeext |
15602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 17970 if { (ac_try="$ac_link" |
15603 (eval $ac_link) 2>conftest.er1 | 17971 case "(($ac_try" in |
17972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
17973 *) ac_try_echo=$ac_try;; | |
17974 esac | |
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17976 (eval "$ac_link") 2>conftest.er1 | |
15604 ac_status=$? | 17977 ac_status=$? |
15605 grep -v '^ *+' conftest.er1 >conftest.err | 17978 grep -v '^ *+' conftest.er1 >conftest.err |
15606 rm -f conftest.er1 | 17979 rm -f conftest.er1 |
15607 cat conftest.err >&5 | 17980 cat conftest.err >&5 |
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15609 (exit $ac_status); } && | 17982 (exit $ac_status); } && |
15610 { ac_try='test -z "$ac_c_werror_flag" | 17983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15611 || test ! -s conftest.err' | 17984 { (case "(($ac_try" in |
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15613 (eval $ac_try) 2>&5 | 17986 *) ac_try_echo=$ac_try;; |
17987 esac | |
17988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17989 (eval "$ac_try") 2>&5 | |
15614 ac_status=$? | 17990 ac_status=$? |
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15616 (exit $ac_status); }; } && | 17992 (exit $ac_status); }; } && |
15617 { ac_try='test -s conftest$ac_exeext' | 17993 { ac_try='test -s conftest$ac_exeext' |
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 17994 { (case "(($ac_try" in |
15619 (eval $ac_try) 2>&5 | 17995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17996 *) ac_try_echo=$ac_try;; | |
17997 esac | |
17998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
17999 (eval "$ac_try") 2>&5 | |
15620 ac_status=$? | 18000 ac_status=$? |
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15622 (exit $ac_status); }; }; then | 18002 (exit $ac_status); }; }; then |
15623 ac_cv_lib_kvm_kvm_open=yes | 18003 ac_cv_lib_kvm_kvm_open=yes |
15624 else | 18004 else |
15625 echo "$as_me: failed program was:" >&5 | 18005 echo "$as_me: failed program was:" >&5 |
15626 sed 's/^/| /' conftest.$ac_ext >&5 | 18006 sed 's/^/| /' conftest.$ac_ext >&5 |
15627 | 18007 |
15628 ac_cv_lib_kvm_kvm_open=no | 18008 ac_cv_lib_kvm_kvm_open=no |
15629 fi | 18009 fi |
15630 rm -f conftest.err conftest.$ac_objext \ | 18010 |
18011 rm -f core conftest.err conftest.$ac_objext \ | |
15631 conftest$ac_exeext conftest.$ac_ext | 18012 conftest$ac_exeext conftest.$ac_ext |
15632 LIBS=$ac_check_lib_save_LIBS | 18013 LIBS=$ac_check_lib_save_LIBS |
15633 fi | 18014 fi |
15634 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 | 18015 { echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5 |
15635 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6 | 18016 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6; } |
15636 if test $ac_cv_lib_kvm_kvm_open = yes; then | 18017 if test $ac_cv_lib_kvm_kvm_open = yes; then |
15637 LIBS="-lkvm $LIBS" | 18018 LIBS="-lkvm $LIBS" |
15638 fi | 18019 fi |
15639 | 18020 |
15640 # Check for the 4.4BSD definition of getloadavg. | 18021 # Check for the 4.4BSD definition of getloadavg. |
15641 echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 | 18022 { echo "$as_me:$LINENO: checking for getloadavg in -lutil" >&5 |
15642 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6 | 18023 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6; } |
15643 if test "${ac_cv_lib_util_getloadavg+set}" = set; then | 18024 if test "${ac_cv_lib_util_getloadavg+set}" = set; then |
15644 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18025 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15645 else | 18026 else |
15646 ac_check_lib_save_LIBS=$LIBS | 18027 ac_check_lib_save_LIBS=$LIBS |
15647 LIBS="-lutil $LIBS" | 18028 LIBS="-lutil $LIBS" |
15650 _ACEOF | 18031 _ACEOF |
15651 cat confdefs.h >>conftest.$ac_ext | 18032 cat confdefs.h >>conftest.$ac_ext |
15652 cat >>conftest.$ac_ext <<_ACEOF | 18033 cat >>conftest.$ac_ext <<_ACEOF |
15653 /* end confdefs.h. */ | 18034 /* end confdefs.h. */ |
15654 | 18035 |
15655 /* Override any gcc2 internal prototype to avoid an error. */ | 18036 /* Override any GCC internal prototype to avoid an error. |
18037 Use char because int might match the return type of a GCC | |
18038 builtin and then its argument prototype would still apply. */ | |
15656 #ifdef __cplusplus | 18039 #ifdef __cplusplus |
15657 extern "C" | 18040 extern "C" |
15658 #endif | 18041 #endif |
15659 /* We use char because int might match the return type of a gcc2 | |
15660 builtin and then its argument prototype would still apply. */ | |
15661 char getloadavg (); | 18042 char getloadavg (); |
15662 int | 18043 int |
15663 main () | 18044 main () |
15664 { | 18045 { |
15665 getloadavg (); | 18046 return getloadavg (); |
15666 ; | 18047 ; |
15667 return 0; | 18048 return 0; |
15668 } | 18049 } |
15669 _ACEOF | 18050 _ACEOF |
15670 rm -f conftest.$ac_objext conftest$ac_exeext | 18051 rm -f conftest.$ac_objext conftest$ac_exeext |
15671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18052 if { (ac_try="$ac_link" |
15672 (eval $ac_link) 2>conftest.er1 | 18053 case "(($ac_try" in |
18054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18055 *) ac_try_echo=$ac_try;; | |
18056 esac | |
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18058 (eval "$ac_link") 2>conftest.er1 | |
15673 ac_status=$? | 18059 ac_status=$? |
15674 grep -v '^ *+' conftest.er1 >conftest.err | 18060 grep -v '^ *+' conftest.er1 >conftest.err |
15675 rm -f conftest.er1 | 18061 rm -f conftest.er1 |
15676 cat conftest.err >&5 | 18062 cat conftest.err >&5 |
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15678 (exit $ac_status); } && | 18064 (exit $ac_status); } && |
15679 { ac_try='test -z "$ac_c_werror_flag" | 18065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15680 || test ! -s conftest.err' | 18066 { (case "(($ac_try" in |
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15682 (eval $ac_try) 2>&5 | 18068 *) ac_try_echo=$ac_try;; |
18069 esac | |
18070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18071 (eval "$ac_try") 2>&5 | |
15683 ac_status=$? | 18072 ac_status=$? |
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15685 (exit $ac_status); }; } && | 18074 (exit $ac_status); }; } && |
15686 { ac_try='test -s conftest$ac_exeext' | 18075 { ac_try='test -s conftest$ac_exeext' |
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18076 { (case "(($ac_try" in |
15688 (eval $ac_try) 2>&5 | 18077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18078 *) ac_try_echo=$ac_try;; | |
18079 esac | |
18080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18081 (eval "$ac_try") 2>&5 | |
15689 ac_status=$? | 18082 ac_status=$? |
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15691 (exit $ac_status); }; }; then | 18084 (exit $ac_status); }; }; then |
15692 ac_cv_lib_util_getloadavg=yes | 18085 ac_cv_lib_util_getloadavg=yes |
15693 else | 18086 else |
15694 echo "$as_me: failed program was:" >&5 | 18087 echo "$as_me: failed program was:" >&5 |
15695 sed 's/^/| /' conftest.$ac_ext >&5 | 18088 sed 's/^/| /' conftest.$ac_ext >&5 |
15696 | 18089 |
15697 ac_cv_lib_util_getloadavg=no | 18090 ac_cv_lib_util_getloadavg=no |
15698 fi | 18091 fi |
15699 rm -f conftest.err conftest.$ac_objext \ | 18092 |
18093 rm -f core conftest.err conftest.$ac_objext \ | |
15700 conftest$ac_exeext conftest.$ac_ext | 18094 conftest$ac_exeext conftest.$ac_ext |
15701 LIBS=$ac_check_lib_save_LIBS | 18095 LIBS=$ac_check_lib_save_LIBS |
15702 fi | 18096 fi |
15703 echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 | 18097 { echo "$as_me:$LINENO: result: $ac_cv_lib_util_getloadavg" >&5 |
15704 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6 | 18098 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6; } |
15705 if test $ac_cv_lib_util_getloadavg = yes; then | 18099 if test $ac_cv_lib_util_getloadavg = yes; then |
15706 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes | 18100 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes |
15707 fi | 18101 fi |
15708 | 18102 |
15709 fi | 18103 fi |
15711 if test $ac_have_func = no; then | 18105 if test $ac_have_func = no; then |
15712 # There is a commonly available library for RS/6000 AIX. | 18106 # There is a commonly available library for RS/6000 AIX. |
15713 # Since it is not a standard part of AIX, it might be installed locally. | 18107 # Since it is not a standard part of AIX, it might be installed locally. |
15714 ac_getloadavg_LIBS=$LIBS | 18108 ac_getloadavg_LIBS=$LIBS |
15715 LIBS="-L/usr/local/lib $LIBS" | 18109 LIBS="-L/usr/local/lib $LIBS" |
15716 echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 | 18110 { echo "$as_me:$LINENO: checking for getloadavg in -lgetloadavg" >&5 |
15717 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6 | 18111 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6; } |
15718 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then | 18112 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then |
15719 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18113 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15720 else | 18114 else |
15721 ac_check_lib_save_LIBS=$LIBS | 18115 ac_check_lib_save_LIBS=$LIBS |
15722 LIBS="-lgetloadavg $LIBS" | 18116 LIBS="-lgetloadavg $LIBS" |
15725 _ACEOF | 18119 _ACEOF |
15726 cat confdefs.h >>conftest.$ac_ext | 18120 cat confdefs.h >>conftest.$ac_ext |
15727 cat >>conftest.$ac_ext <<_ACEOF | 18121 cat >>conftest.$ac_ext <<_ACEOF |
15728 /* end confdefs.h. */ | 18122 /* end confdefs.h. */ |
15729 | 18123 |
15730 /* Override any gcc2 internal prototype to avoid an error. */ | 18124 /* Override any GCC internal prototype to avoid an error. |
18125 Use char because int might match the return type of a GCC | |
18126 builtin and then its argument prototype would still apply. */ | |
15731 #ifdef __cplusplus | 18127 #ifdef __cplusplus |
15732 extern "C" | 18128 extern "C" |
15733 #endif | 18129 #endif |
15734 /* We use char because int might match the return type of a gcc2 | |
15735 builtin and then its argument prototype would still apply. */ | |
15736 char getloadavg (); | 18130 char getloadavg (); |
15737 int | 18131 int |
15738 main () | 18132 main () |
15739 { | 18133 { |
15740 getloadavg (); | 18134 return getloadavg (); |
15741 ; | 18135 ; |
15742 return 0; | 18136 return 0; |
15743 } | 18137 } |
15744 _ACEOF | 18138 _ACEOF |
15745 rm -f conftest.$ac_objext conftest$ac_exeext | 18139 rm -f conftest.$ac_objext conftest$ac_exeext |
15746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18140 if { (ac_try="$ac_link" |
15747 (eval $ac_link) 2>conftest.er1 | 18141 case "(($ac_try" in |
18142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18143 *) ac_try_echo=$ac_try;; | |
18144 esac | |
18145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18146 (eval "$ac_link") 2>conftest.er1 | |
15748 ac_status=$? | 18147 ac_status=$? |
15749 grep -v '^ *+' conftest.er1 >conftest.err | 18148 grep -v '^ *+' conftest.er1 >conftest.err |
15750 rm -f conftest.er1 | 18149 rm -f conftest.er1 |
15751 cat conftest.err >&5 | 18150 cat conftest.err >&5 |
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15753 (exit $ac_status); } && | 18152 (exit $ac_status); } && |
15754 { ac_try='test -z "$ac_c_werror_flag" | 18153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15755 || test ! -s conftest.err' | 18154 { (case "(($ac_try" in |
15756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15757 (eval $ac_try) 2>&5 | 18156 *) ac_try_echo=$ac_try;; |
18157 esac | |
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18159 (eval "$ac_try") 2>&5 | |
15758 ac_status=$? | 18160 ac_status=$? |
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15760 (exit $ac_status); }; } && | 18162 (exit $ac_status); }; } && |
15761 { ac_try='test -s conftest$ac_exeext' | 18163 { ac_try='test -s conftest$ac_exeext' |
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18164 { (case "(($ac_try" in |
15763 (eval $ac_try) 2>&5 | 18165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18166 *) ac_try_echo=$ac_try;; | |
18167 esac | |
18168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18169 (eval "$ac_try") 2>&5 | |
15764 ac_status=$? | 18170 ac_status=$? |
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15766 (exit $ac_status); }; }; then | 18172 (exit $ac_status); }; }; then |
15767 ac_cv_lib_getloadavg_getloadavg=yes | 18173 ac_cv_lib_getloadavg_getloadavg=yes |
15768 else | 18174 else |
15769 echo "$as_me: failed program was:" >&5 | 18175 echo "$as_me: failed program was:" >&5 |
15770 sed 's/^/| /' conftest.$ac_ext >&5 | 18176 sed 's/^/| /' conftest.$ac_ext >&5 |
15771 | 18177 |
15772 ac_cv_lib_getloadavg_getloadavg=no | 18178 ac_cv_lib_getloadavg_getloadavg=no |
15773 fi | 18179 fi |
15774 rm -f conftest.err conftest.$ac_objext \ | 18180 |
18181 rm -f core conftest.err conftest.$ac_objext \ | |
15775 conftest$ac_exeext conftest.$ac_ext | 18182 conftest$ac_exeext conftest.$ac_ext |
15776 LIBS=$ac_check_lib_save_LIBS | 18183 LIBS=$ac_check_lib_save_LIBS |
15777 fi | 18184 fi |
15778 echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 | 18185 { echo "$as_me:$LINENO: result: $ac_cv_lib_getloadavg_getloadavg" >&5 |
15779 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6 | 18186 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6; } |
15780 if test $ac_cv_lib_getloadavg_getloadavg = yes; then | 18187 if test $ac_cv_lib_getloadavg_getloadavg = yes; then |
15781 LIBS="-lgetloadavg $LIBS" | 18188 LIBS="-lgetloadavg $LIBS" |
15782 else | 18189 else |
15783 LIBS=$ac_getloadavg_LIBS | 18190 LIBS=$ac_getloadavg_LIBS |
15784 fi | 18191 fi |
15789 # otherwise set up the replacement function. | 18196 # otherwise set up the replacement function. |
15790 | 18197 |
15791 for ac_func in getloadavg | 18198 for ac_func in getloadavg |
15792 do | 18199 do |
15793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
15794 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18201 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
15795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 18202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
15796 if eval "test \"\${$as_ac_var+set}\" = set"; then | 18203 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
15797 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18204 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15798 else | 18205 else |
15799 cat >conftest.$ac_ext <<_ACEOF | 18206 cat >conftest.$ac_ext <<_ACEOF |
15800 /* confdefs.h. */ | 18207 /* confdefs.h. */ |
15801 _ACEOF | 18208 _ACEOF |
15817 # include <assert.h> | 18224 # include <assert.h> |
15818 #endif | 18225 #endif |
15819 | 18226 |
15820 #undef $ac_func | 18227 #undef $ac_func |
15821 | 18228 |
15822 /* Override any gcc2 internal prototype to avoid an error. */ | 18229 /* Override any GCC internal prototype to avoid an error. |
18230 Use char because int might match the return type of a GCC | |
18231 builtin and then its argument prototype would still apply. */ | |
15823 #ifdef __cplusplus | 18232 #ifdef __cplusplus |
15824 extern "C" | 18233 extern "C" |
15825 { | |
15826 #endif | 18234 #endif |
15827 /* We use char because int might match the return type of a gcc2 | |
15828 builtin and then its argument prototype would still apply. */ | |
15829 char $ac_func (); | 18235 char $ac_func (); |
15830 /* The GNU C library defines this for functions which it implements | 18236 /* The GNU C library defines this for functions which it implements |
15831 to always fail with ENOSYS. Some functions are actually named | 18237 to always fail with ENOSYS. Some functions are actually named |
15832 something starting with __ and the normal name is an alias. */ | 18238 something starting with __ and the normal name is an alias. */ |
15833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 18239 #if defined __stub_$ac_func || defined __stub___$ac_func |
15834 choke me | 18240 choke me |
15835 #else | |
15836 char (*f) () = $ac_func; | |
15837 #endif | |
15838 #ifdef __cplusplus | |
15839 } | |
15840 #endif | 18241 #endif |
15841 | 18242 |
15842 int | 18243 int |
15843 main () | 18244 main () |
15844 { | 18245 { |
15845 return f != $ac_func; | 18246 return $ac_func (); |
15846 ; | 18247 ; |
15847 return 0; | 18248 return 0; |
15848 } | 18249 } |
15849 _ACEOF | 18250 _ACEOF |
15850 rm -f conftest.$ac_objext conftest$ac_exeext | 18251 rm -f conftest.$ac_objext conftest$ac_exeext |
15851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18252 if { (ac_try="$ac_link" |
15852 (eval $ac_link) 2>conftest.er1 | 18253 case "(($ac_try" in |
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18255 *) ac_try_echo=$ac_try;; | |
18256 esac | |
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18258 (eval "$ac_link") 2>conftest.er1 | |
15853 ac_status=$? | 18259 ac_status=$? |
15854 grep -v '^ *+' conftest.er1 >conftest.err | 18260 grep -v '^ *+' conftest.er1 >conftest.err |
15855 rm -f conftest.er1 | 18261 rm -f conftest.er1 |
15856 cat conftest.err >&5 | 18262 cat conftest.err >&5 |
15857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15858 (exit $ac_status); } && | 18264 (exit $ac_status); } && |
15859 { ac_try='test -z "$ac_c_werror_flag" | 18265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15860 || test ! -s conftest.err' | 18266 { (case "(($ac_try" in |
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15862 (eval $ac_try) 2>&5 | 18268 *) ac_try_echo=$ac_try;; |
18269 esac | |
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18271 (eval "$ac_try") 2>&5 | |
15863 ac_status=$? | 18272 ac_status=$? |
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15865 (exit $ac_status); }; } && | 18274 (exit $ac_status); }; } && |
15866 { ac_try='test -s conftest$ac_exeext' | 18275 { ac_try='test -s conftest$ac_exeext' |
15867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18276 { (case "(($ac_try" in |
15868 (eval $ac_try) 2>&5 | 18277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18278 *) ac_try_echo=$ac_try;; | |
18279 esac | |
18280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18281 (eval "$ac_try") 2>&5 | |
15869 ac_status=$? | 18282 ac_status=$? |
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15871 (exit $ac_status); }; }; then | 18284 (exit $ac_status); }; }; then |
15872 eval "$as_ac_var=yes" | 18285 eval "$as_ac_var=yes" |
15873 else | 18286 else |
15874 echo "$as_me: failed program was:" >&5 | 18287 echo "$as_me: failed program was:" >&5 |
15875 sed 's/^/| /' conftest.$ac_ext >&5 | 18288 sed 's/^/| /' conftest.$ac_ext >&5 |
15876 | 18289 |
15877 eval "$as_ac_var=no" | 18290 eval "$as_ac_var=no" |
15878 fi | 18291 fi |
15879 rm -f conftest.err conftest.$ac_objext \ | 18292 |
18293 rm -f core conftest.err conftest.$ac_objext \ | |
15880 conftest$ac_exeext conftest.$ac_ext | 18294 conftest$ac_exeext conftest.$ac_ext |
15881 fi | 18295 fi |
15882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 18296 ac_res=`eval echo '${'$as_ac_var'}'` |
15883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 18297 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18298 echo "${ECHO_T}$ac_res" >&6; } | |
15884 if test `eval echo '${'$as_ac_var'}'` = yes; then | 18299 if test `eval echo '${'$as_ac_var'}'` = yes; then |
15885 cat >>confdefs.h <<_ACEOF | 18300 cat >>confdefs.h <<_ACEOF |
15886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
15887 _ACEOF | 18302 _ACEOF |
15888 | 18303 |
15889 else | 18304 else |
15890 case $LIBOBJS in | 18305 case " $LIBOBJS " in |
15891 "getloadavg.$ac_objext" | \ | |
15892 *" getloadavg.$ac_objext" | \ | |
15893 "getloadavg.$ac_objext "* | \ | |
15894 *" getloadavg.$ac_objext "* ) ;; | 18306 *" getloadavg.$ac_objext "* ) ;; |
15895 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" ;; | 18307 *) LIBOBJS="$LIBOBJS getloadavg.$ac_objext" |
18308 ;; | |
15896 esac | 18309 esac |
15897 | 18310 |
15898 | 18311 |
15899 cat >>confdefs.h <<\_ACEOF | 18312 cat >>confdefs.h <<\_ACEOF |
15900 #define C_GETLOADAVG 1 | 18313 #define C_GETLOADAVG 1 |
15901 _ACEOF | 18314 _ACEOF |
15902 | 18315 |
15903 # Figure out what our getloadavg.c needs. | 18316 # Figure out what our getloadavg.c needs. |
15904 ac_have_func=no | 18317 ac_have_func=no |
15905 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 18318 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
15906 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 18319 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
15907 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | 18320 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } |
15908 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 18321 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
15909 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18322 echo $ECHO_N "(cached) $ECHO_C" >&6 |
15910 fi | 18323 fi |
15911 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 18324 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
15912 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 18325 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } |
15913 else | 18326 else |
15914 # Is the header compilable? | 18327 # Is the header compilable? |
15915 echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 | 18328 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h usability" >&5 |
15916 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6 | 18329 echo $ECHO_N "checking sys/dg_sys_info.h usability... $ECHO_C" >&6; } |
15917 cat >conftest.$ac_ext <<_ACEOF | 18330 cat >conftest.$ac_ext <<_ACEOF |
15918 /* confdefs.h. */ | 18331 /* confdefs.h. */ |
15919 _ACEOF | 18332 _ACEOF |
15920 cat confdefs.h >>conftest.$ac_ext | 18333 cat confdefs.h >>conftest.$ac_ext |
15921 cat >>conftest.$ac_ext <<_ACEOF | 18334 cat >>conftest.$ac_ext <<_ACEOF |
15922 /* end confdefs.h. */ | 18335 /* end confdefs.h. */ |
15923 $ac_includes_default | 18336 $ac_includes_default |
15924 #include <sys/dg_sys_info.h> | 18337 #include <sys/dg_sys_info.h> |
15925 _ACEOF | 18338 _ACEOF |
15926 rm -f conftest.$ac_objext | 18339 rm -f conftest.$ac_objext |
15927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18340 if { (ac_try="$ac_compile" |
15928 (eval $ac_compile) 2>conftest.er1 | 18341 case "(($ac_try" in |
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18343 *) ac_try_echo=$ac_try;; | |
18344 esac | |
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18346 (eval "$ac_compile") 2>conftest.er1 | |
15929 ac_status=$? | 18347 ac_status=$? |
15930 grep -v '^ *+' conftest.er1 >conftest.err | 18348 grep -v '^ *+' conftest.er1 >conftest.err |
15931 rm -f conftest.er1 | 18349 rm -f conftest.er1 |
15932 cat conftest.err >&5 | 18350 cat conftest.err >&5 |
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15934 (exit $ac_status); } && | 18352 (exit $ac_status); } && |
15935 { ac_try='test -z "$ac_c_werror_flag" | 18353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
15936 || test ! -s conftest.err' | 18354 { (case "(($ac_try" in |
15937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
15938 (eval $ac_try) 2>&5 | 18356 *) ac_try_echo=$ac_try;; |
18357 esac | |
18358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18359 (eval "$ac_try") 2>&5 | |
15939 ac_status=$? | 18360 ac_status=$? |
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15941 (exit $ac_status); }; } && | 18362 (exit $ac_status); }; } && |
15942 { ac_try='test -s conftest.$ac_objext' | 18363 { ac_try='test -s conftest.$ac_objext' |
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18364 { (case "(($ac_try" in |
15944 (eval $ac_try) 2>&5 | 18365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18366 *) ac_try_echo=$ac_try;; | |
18367 esac | |
18368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18369 (eval "$ac_try") 2>&5 | |
15945 ac_status=$? | 18370 ac_status=$? |
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15947 (exit $ac_status); }; }; then | 18372 (exit $ac_status); }; }; then |
15948 ac_header_compiler=yes | 18373 ac_header_compiler=yes |
15949 else | 18374 else |
15950 echo "$as_me: failed program was:" >&5 | 18375 echo "$as_me: failed program was:" >&5 |
15951 sed 's/^/| /' conftest.$ac_ext >&5 | 18376 sed 's/^/| /' conftest.$ac_ext >&5 |
15952 | 18377 |
15953 ac_header_compiler=no | 18378 ac_header_compiler=no |
15954 fi | 18379 fi |
15955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18380 |
15956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
15957 echo "${ECHO_T}$ac_header_compiler" >&6 | 18382 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18383 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
15958 | 18384 |
15959 # Is the header present? | 18385 # Is the header present? |
15960 echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 | 18386 { echo "$as_me:$LINENO: checking sys/dg_sys_info.h presence" >&5 |
15961 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6 | 18387 echo $ECHO_N "checking sys/dg_sys_info.h presence... $ECHO_C" >&6; } |
15962 cat >conftest.$ac_ext <<_ACEOF | 18388 cat >conftest.$ac_ext <<_ACEOF |
15963 /* confdefs.h. */ | 18389 /* confdefs.h. */ |
15964 _ACEOF | 18390 _ACEOF |
15965 cat confdefs.h >>conftest.$ac_ext | 18391 cat confdefs.h >>conftest.$ac_ext |
15966 cat >>conftest.$ac_ext <<_ACEOF | 18392 cat >>conftest.$ac_ext <<_ACEOF |
15967 /* end confdefs.h. */ | 18393 /* end confdefs.h. */ |
15968 #include <sys/dg_sys_info.h> | 18394 #include <sys/dg_sys_info.h> |
15969 _ACEOF | 18395 _ACEOF |
15970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 18396 if { (ac_try="$ac_cpp conftest.$ac_ext" |
15971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 18397 case "(($ac_try" in |
18398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18399 *) ac_try_echo=$ac_try;; | |
18400 esac | |
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18402 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
15972 ac_status=$? | 18403 ac_status=$? |
15973 grep -v '^ *+' conftest.er1 >conftest.err | 18404 grep -v '^ *+' conftest.er1 >conftest.err |
15974 rm -f conftest.er1 | 18405 rm -f conftest.er1 |
15975 cat conftest.err >&5 | 18406 cat conftest.err >&5 |
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15990 echo "$as_me: failed program was:" >&5 | 18421 echo "$as_me: failed program was:" >&5 |
15991 sed 's/^/| /' conftest.$ac_ext >&5 | 18422 sed 's/^/| /' conftest.$ac_ext >&5 |
15992 | 18423 |
15993 ac_header_preproc=no | 18424 ac_header_preproc=no |
15994 fi | 18425 fi |
18426 | |
15995 rm -f conftest.err conftest.$ac_ext | 18427 rm -f conftest.err conftest.$ac_ext |
15996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 18428 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
15997 echo "${ECHO_T}$ac_header_preproc" >&6 | 18429 echo "${ECHO_T}$ac_header_preproc" >&6; } |
15998 | 18430 |
15999 # So? What about this header? | 18431 # So? What about this header? |
16000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 18432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16001 yes:no: ) | 18433 yes:no: ) |
16002 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 18434 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
16016 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} | 18448 echo "$as_me: WARNING: sys/dg_sys_info.h: section \"Present But Cannot Be Compiled\"" >&2;} |
16017 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 | 18449 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&5 |
16018 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} | 18450 echo "$as_me: WARNING: sys/dg_sys_info.h: proceeding with the preprocessor's result" >&2;} |
16019 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 | 18451 { echo "$as_me:$LINENO: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&5 |
16020 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} | 18452 echo "$as_me: WARNING: sys/dg_sys_info.h: in the future, the compiler will take precedence" >&2;} |
16021 ( | 18453 |
16022 cat <<\_ASBOX | |
16023 ## ------------------------------------------ ## | |
16024 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16025 ## ------------------------------------------ ## | |
16026 _ASBOX | |
16027 ) | | |
16028 sed "s/^/$as_me: WARNING: /" >&2 | |
16029 ;; | 18454 ;; |
16030 esac | 18455 esac |
16031 echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 | 18456 { echo "$as_me:$LINENO: checking for sys/dg_sys_info.h" >&5 |
16032 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6 | 18457 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6; } |
16033 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then | 18458 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then |
16034 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18459 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16035 else | 18460 else |
16036 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc | 18461 ac_cv_header_sys_dg_sys_info_h=$ac_header_preproc |
16037 fi | 18462 fi |
16038 echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 | 18463 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_dg_sys_info_h" >&5 |
16039 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6 | 18464 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6; } |
16040 | 18465 |
16041 fi | 18466 fi |
16042 if test $ac_cv_header_sys_dg_sys_info_h = yes; then | 18467 if test $ac_cv_header_sys_dg_sys_info_h = yes; then |
16043 ac_have_func=yes | 18468 ac_have_func=yes |
16044 | 18469 |
16045 cat >>confdefs.h <<\_ACEOF | 18470 cat >>confdefs.h <<\_ACEOF |
16046 #define DGUX 1 | 18471 #define DGUX 1 |
16047 _ACEOF | 18472 _ACEOF |
16048 | 18473 |
16049 | 18474 |
16050 echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 | 18475 { echo "$as_me:$LINENO: checking for dg_sys_info in -ldgc" >&5 |
16051 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6 | 18476 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6; } |
16052 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then | 18477 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then |
16053 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18478 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16054 else | 18479 else |
16055 ac_check_lib_save_LIBS=$LIBS | 18480 ac_check_lib_save_LIBS=$LIBS |
16056 LIBS="-ldgc $LIBS" | 18481 LIBS="-ldgc $LIBS" |
16059 _ACEOF | 18484 _ACEOF |
16060 cat confdefs.h >>conftest.$ac_ext | 18485 cat confdefs.h >>conftest.$ac_ext |
16061 cat >>conftest.$ac_ext <<_ACEOF | 18486 cat >>conftest.$ac_ext <<_ACEOF |
16062 /* end confdefs.h. */ | 18487 /* end confdefs.h. */ |
16063 | 18488 |
16064 /* Override any gcc2 internal prototype to avoid an error. */ | 18489 /* Override any GCC internal prototype to avoid an error. |
18490 Use char because int might match the return type of a GCC | |
18491 builtin and then its argument prototype would still apply. */ | |
16065 #ifdef __cplusplus | 18492 #ifdef __cplusplus |
16066 extern "C" | 18493 extern "C" |
16067 #endif | 18494 #endif |
16068 /* We use char because int might match the return type of a gcc2 | |
16069 builtin and then its argument prototype would still apply. */ | |
16070 char dg_sys_info (); | 18495 char dg_sys_info (); |
16071 int | 18496 int |
16072 main () | 18497 main () |
16073 { | 18498 { |
16074 dg_sys_info (); | 18499 return dg_sys_info (); |
16075 ; | 18500 ; |
16076 return 0; | 18501 return 0; |
16077 } | 18502 } |
16078 _ACEOF | 18503 _ACEOF |
16079 rm -f conftest.$ac_objext conftest$ac_exeext | 18504 rm -f conftest.$ac_objext conftest$ac_exeext |
16080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18505 if { (ac_try="$ac_link" |
16081 (eval $ac_link) 2>conftest.er1 | 18506 case "(($ac_try" in |
18507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18508 *) ac_try_echo=$ac_try;; | |
18509 esac | |
18510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18511 (eval "$ac_link") 2>conftest.er1 | |
16082 ac_status=$? | 18512 ac_status=$? |
16083 grep -v '^ *+' conftest.er1 >conftest.err | 18513 grep -v '^ *+' conftest.er1 >conftest.err |
16084 rm -f conftest.er1 | 18514 rm -f conftest.er1 |
16085 cat conftest.err >&5 | 18515 cat conftest.err >&5 |
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16087 (exit $ac_status); } && | 18517 (exit $ac_status); } && |
16088 { ac_try='test -z "$ac_c_werror_flag" | 18518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16089 || test ! -s conftest.err' | 18519 { (case "(($ac_try" in |
16090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16091 (eval $ac_try) 2>&5 | 18521 *) ac_try_echo=$ac_try;; |
18522 esac | |
18523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18524 (eval "$ac_try") 2>&5 | |
16092 ac_status=$? | 18525 ac_status=$? |
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16094 (exit $ac_status); }; } && | 18527 (exit $ac_status); }; } && |
16095 { ac_try='test -s conftest$ac_exeext' | 18528 { ac_try='test -s conftest$ac_exeext' |
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18529 { (case "(($ac_try" in |
16097 (eval $ac_try) 2>&5 | 18530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18531 *) ac_try_echo=$ac_try;; | |
18532 esac | |
18533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18534 (eval "$ac_try") 2>&5 | |
16098 ac_status=$? | 18535 ac_status=$? |
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16100 (exit $ac_status); }; }; then | 18537 (exit $ac_status); }; }; then |
16101 ac_cv_lib_dgc_dg_sys_info=yes | 18538 ac_cv_lib_dgc_dg_sys_info=yes |
16102 else | 18539 else |
16103 echo "$as_me: failed program was:" >&5 | 18540 echo "$as_me: failed program was:" >&5 |
16104 sed 's/^/| /' conftest.$ac_ext >&5 | 18541 sed 's/^/| /' conftest.$ac_ext >&5 |
16105 | 18542 |
16106 ac_cv_lib_dgc_dg_sys_info=no | 18543 ac_cv_lib_dgc_dg_sys_info=no |
16107 fi | 18544 fi |
16108 rm -f conftest.err conftest.$ac_objext \ | 18545 |
18546 rm -f core conftest.err conftest.$ac_objext \ | |
16109 conftest$ac_exeext conftest.$ac_ext | 18547 conftest$ac_exeext conftest.$ac_ext |
16110 LIBS=$ac_check_lib_save_LIBS | 18548 LIBS=$ac_check_lib_save_LIBS |
16111 fi | 18549 fi |
16112 echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 | 18550 { echo "$as_me:$LINENO: result: $ac_cv_lib_dgc_dg_sys_info" >&5 |
16113 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6 | 18551 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6; } |
16114 if test $ac_cv_lib_dgc_dg_sys_info = yes; then | 18552 if test $ac_cv_lib_dgc_dg_sys_info = yes; then |
16115 cat >>confdefs.h <<_ACEOF | 18553 cat >>confdefs.h <<_ACEOF |
16116 #define HAVE_LIBDGC 1 | 18554 #define HAVE_LIBDGC 1 |
16117 _ACEOF | 18555 _ACEOF |
16118 | 18556 |
16123 fi | 18561 fi |
16124 | 18562 |
16125 | 18563 |
16126 | 18564 |
16127 if test "${ac_cv_header_locale_h+set}" = set; then | 18565 if test "${ac_cv_header_locale_h+set}" = set; then |
16128 echo "$as_me:$LINENO: checking for locale.h" >&5 | 18566 { echo "$as_me:$LINENO: checking for locale.h" >&5 |
16129 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | 18567 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } |
16130 if test "${ac_cv_header_locale_h+set}" = set; then | 18568 if test "${ac_cv_header_locale_h+set}" = set; then |
16131 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18569 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16132 fi | 18570 fi |
16133 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 18571 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 |
16134 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 18572 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } |
16135 else | 18573 else |
16136 # Is the header compilable? | 18574 # Is the header compilable? |
16137 echo "$as_me:$LINENO: checking locale.h usability" >&5 | 18575 { echo "$as_me:$LINENO: checking locale.h usability" >&5 |
16138 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6 | 18576 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6; } |
16139 cat >conftest.$ac_ext <<_ACEOF | 18577 cat >conftest.$ac_ext <<_ACEOF |
16140 /* confdefs.h. */ | 18578 /* confdefs.h. */ |
16141 _ACEOF | 18579 _ACEOF |
16142 cat confdefs.h >>conftest.$ac_ext | 18580 cat confdefs.h >>conftest.$ac_ext |
16143 cat >>conftest.$ac_ext <<_ACEOF | 18581 cat >>conftest.$ac_ext <<_ACEOF |
16144 /* end confdefs.h. */ | 18582 /* end confdefs.h. */ |
16145 $ac_includes_default | 18583 $ac_includes_default |
16146 #include <locale.h> | 18584 #include <locale.h> |
16147 _ACEOF | 18585 _ACEOF |
16148 rm -f conftest.$ac_objext | 18586 rm -f conftest.$ac_objext |
16149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18587 if { (ac_try="$ac_compile" |
16150 (eval $ac_compile) 2>conftest.er1 | 18588 case "(($ac_try" in |
18589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18590 *) ac_try_echo=$ac_try;; | |
18591 esac | |
18592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18593 (eval "$ac_compile") 2>conftest.er1 | |
16151 ac_status=$? | 18594 ac_status=$? |
16152 grep -v '^ *+' conftest.er1 >conftest.err | 18595 grep -v '^ *+' conftest.er1 >conftest.err |
16153 rm -f conftest.er1 | 18596 rm -f conftest.er1 |
16154 cat conftest.err >&5 | 18597 cat conftest.err >&5 |
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16156 (exit $ac_status); } && | 18599 (exit $ac_status); } && |
16157 { ac_try='test -z "$ac_c_werror_flag" | 18600 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16158 || test ! -s conftest.err' | 18601 { (case "(($ac_try" in |
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16160 (eval $ac_try) 2>&5 | 18603 *) ac_try_echo=$ac_try;; |
18604 esac | |
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18606 (eval "$ac_try") 2>&5 | |
16161 ac_status=$? | 18607 ac_status=$? |
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16163 (exit $ac_status); }; } && | 18609 (exit $ac_status); }; } && |
16164 { ac_try='test -s conftest.$ac_objext' | 18610 { ac_try='test -s conftest.$ac_objext' |
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18611 { (case "(($ac_try" in |
16166 (eval $ac_try) 2>&5 | 18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18613 *) ac_try_echo=$ac_try;; | |
18614 esac | |
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18616 (eval "$ac_try") 2>&5 | |
16167 ac_status=$? | 18617 ac_status=$? |
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16169 (exit $ac_status); }; }; then | 18619 (exit $ac_status); }; }; then |
16170 ac_header_compiler=yes | 18620 ac_header_compiler=yes |
16171 else | 18621 else |
16172 echo "$as_me: failed program was:" >&5 | 18622 echo "$as_me: failed program was:" >&5 |
16173 sed 's/^/| /' conftest.$ac_ext >&5 | 18623 sed 's/^/| /' conftest.$ac_ext >&5 |
16174 | 18624 |
16175 ac_header_compiler=no | 18625 ac_header_compiler=no |
16176 fi | 18626 fi |
16177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18627 |
16178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16179 echo "${ECHO_T}$ac_header_compiler" >&6 | 18629 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18630 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16180 | 18631 |
16181 # Is the header present? | 18632 # Is the header present? |
16182 echo "$as_me:$LINENO: checking locale.h presence" >&5 | 18633 { echo "$as_me:$LINENO: checking locale.h presence" >&5 |
16183 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6 | 18634 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6; } |
16184 cat >conftest.$ac_ext <<_ACEOF | 18635 cat >conftest.$ac_ext <<_ACEOF |
16185 /* confdefs.h. */ | 18636 /* confdefs.h. */ |
16186 _ACEOF | 18637 _ACEOF |
16187 cat confdefs.h >>conftest.$ac_ext | 18638 cat confdefs.h >>conftest.$ac_ext |
16188 cat >>conftest.$ac_ext <<_ACEOF | 18639 cat >>conftest.$ac_ext <<_ACEOF |
16189 /* end confdefs.h. */ | 18640 /* end confdefs.h. */ |
16190 #include <locale.h> | 18641 #include <locale.h> |
16191 _ACEOF | 18642 _ACEOF |
16192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 18643 if { (ac_try="$ac_cpp conftest.$ac_ext" |
16193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 18644 case "(($ac_try" in |
18645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18646 *) ac_try_echo=$ac_try;; | |
18647 esac | |
18648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18649 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16194 ac_status=$? | 18650 ac_status=$? |
16195 grep -v '^ *+' conftest.er1 >conftest.err | 18651 grep -v '^ *+' conftest.er1 >conftest.err |
16196 rm -f conftest.er1 | 18652 rm -f conftest.er1 |
16197 cat conftest.err >&5 | 18653 cat conftest.err >&5 |
16198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16212 echo "$as_me: failed program was:" >&5 | 18668 echo "$as_me: failed program was:" >&5 |
16213 sed 's/^/| /' conftest.$ac_ext >&5 | 18669 sed 's/^/| /' conftest.$ac_ext >&5 |
16214 | 18670 |
16215 ac_header_preproc=no | 18671 ac_header_preproc=no |
16216 fi | 18672 fi |
18673 | |
16217 rm -f conftest.err conftest.$ac_ext | 18674 rm -f conftest.err conftest.$ac_ext |
16218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 18675 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16219 echo "${ECHO_T}$ac_header_preproc" >&6 | 18676 echo "${ECHO_T}$ac_header_preproc" >&6; } |
16220 | 18677 |
16221 # So? What about this header? | 18678 # So? What about this header? |
16222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 18679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16223 yes:no: ) | 18680 yes:no: ) |
16224 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 18681 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
16238 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} | 18695 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;} |
16239 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 | 18696 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5 |
16240 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} | 18697 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;} |
16241 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 | 18698 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5 |
16242 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} | 18699 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;} |
16243 ( | 18700 |
16244 cat <<\_ASBOX | |
16245 ## ------------------------------------------ ## | |
16246 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16247 ## ------------------------------------------ ## | |
16248 _ASBOX | |
16249 ) | | |
16250 sed "s/^/$as_me: WARNING: /" >&2 | |
16251 ;; | 18701 ;; |
16252 esac | 18702 esac |
16253 echo "$as_me:$LINENO: checking for locale.h" >&5 | 18703 { echo "$as_me:$LINENO: checking for locale.h" >&5 |
16254 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6 | 18704 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6; } |
16255 if test "${ac_cv_header_locale_h+set}" = set; then | 18705 if test "${ac_cv_header_locale_h+set}" = set; then |
16256 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18706 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16257 else | 18707 else |
16258 ac_cv_header_locale_h=$ac_header_preproc | 18708 ac_cv_header_locale_h=$ac_header_preproc |
16259 fi | 18709 fi |
16260 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 | 18710 { echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5 |
16261 echo "${ECHO_T}$ac_cv_header_locale_h" >&6 | 18711 echo "${ECHO_T}$ac_cv_header_locale_h" >&6; } |
16262 | 18712 |
16263 fi | 18713 fi |
16264 | 18714 |
16265 | 18715 |
16266 | 18716 |
16267 for ac_func in setlocale | 18717 for ac_func in setlocale |
16268 do | 18718 do |
16269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 18719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16270 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 18720 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
16271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 18721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
16272 if eval "test \"\${$as_ac_var+set}\" = set"; then | 18722 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
16273 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18723 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16274 else | 18724 else |
16275 cat >conftest.$ac_ext <<_ACEOF | 18725 cat >conftest.$ac_ext <<_ACEOF |
16276 /* confdefs.h. */ | 18726 /* confdefs.h. */ |
16277 _ACEOF | 18727 _ACEOF |
16293 # include <assert.h> | 18743 # include <assert.h> |
16294 #endif | 18744 #endif |
16295 | 18745 |
16296 #undef $ac_func | 18746 #undef $ac_func |
16297 | 18747 |
16298 /* Override any gcc2 internal prototype to avoid an error. */ | 18748 /* Override any GCC internal prototype to avoid an error. |
18749 Use char because int might match the return type of a GCC | |
18750 builtin and then its argument prototype would still apply. */ | |
16299 #ifdef __cplusplus | 18751 #ifdef __cplusplus |
16300 extern "C" | 18752 extern "C" |
16301 { | |
16302 #endif | 18753 #endif |
16303 /* We use char because int might match the return type of a gcc2 | |
16304 builtin and then its argument prototype would still apply. */ | |
16305 char $ac_func (); | 18754 char $ac_func (); |
16306 /* The GNU C library defines this for functions which it implements | 18755 /* The GNU C library defines this for functions which it implements |
16307 to always fail with ENOSYS. Some functions are actually named | 18756 to always fail with ENOSYS. Some functions are actually named |
16308 something starting with __ and the normal name is an alias. */ | 18757 something starting with __ and the normal name is an alias. */ |
16309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 18758 #if defined __stub_$ac_func || defined __stub___$ac_func |
16310 choke me | 18759 choke me |
16311 #else | |
16312 char (*f) () = $ac_func; | |
16313 #endif | |
16314 #ifdef __cplusplus | |
16315 } | |
16316 #endif | 18760 #endif |
16317 | 18761 |
16318 int | 18762 int |
16319 main () | 18763 main () |
16320 { | 18764 { |
16321 return f != $ac_func; | 18765 return $ac_func (); |
16322 ; | 18766 ; |
16323 return 0; | 18767 return 0; |
16324 } | 18768 } |
16325 _ACEOF | 18769 _ACEOF |
16326 rm -f conftest.$ac_objext conftest$ac_exeext | 18770 rm -f conftest.$ac_objext conftest$ac_exeext |
16327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 18771 if { (ac_try="$ac_link" |
16328 (eval $ac_link) 2>conftest.er1 | 18772 case "(($ac_try" in |
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18774 *) ac_try_echo=$ac_try;; | |
18775 esac | |
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18777 (eval "$ac_link") 2>conftest.er1 | |
16329 ac_status=$? | 18778 ac_status=$? |
16330 grep -v '^ *+' conftest.er1 >conftest.err | 18779 grep -v '^ *+' conftest.er1 >conftest.err |
16331 rm -f conftest.er1 | 18780 rm -f conftest.er1 |
16332 cat conftest.err >&5 | 18781 cat conftest.err >&5 |
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16334 (exit $ac_status); } && | 18783 (exit $ac_status); } && |
16335 { ac_try='test -z "$ac_c_werror_flag" | 18784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16336 || test ! -s conftest.err' | 18785 { (case "(($ac_try" in |
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16338 (eval $ac_try) 2>&5 | 18787 *) ac_try_echo=$ac_try;; |
18788 esac | |
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18790 (eval "$ac_try") 2>&5 | |
16339 ac_status=$? | 18791 ac_status=$? |
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16341 (exit $ac_status); }; } && | 18793 (exit $ac_status); }; } && |
16342 { ac_try='test -s conftest$ac_exeext' | 18794 { ac_try='test -s conftest$ac_exeext' |
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18795 { (case "(($ac_try" in |
16344 (eval $ac_try) 2>&5 | 18796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18797 *) ac_try_echo=$ac_try;; | |
18798 esac | |
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18800 (eval "$ac_try") 2>&5 | |
16345 ac_status=$? | 18801 ac_status=$? |
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16347 (exit $ac_status); }; }; then | 18803 (exit $ac_status); }; }; then |
16348 eval "$as_ac_var=yes" | 18804 eval "$as_ac_var=yes" |
16349 else | 18805 else |
16350 echo "$as_me: failed program was:" >&5 | 18806 echo "$as_me: failed program was:" >&5 |
16351 sed 's/^/| /' conftest.$ac_ext >&5 | 18807 sed 's/^/| /' conftest.$ac_ext >&5 |
16352 | 18808 |
16353 eval "$as_ac_var=no" | 18809 eval "$as_ac_var=no" |
16354 fi | 18810 fi |
16355 rm -f conftest.err conftest.$ac_objext \ | 18811 |
18812 rm -f core conftest.err conftest.$ac_objext \ | |
16356 conftest$ac_exeext conftest.$ac_ext | 18813 conftest$ac_exeext conftest.$ac_ext |
16357 fi | 18814 fi |
16358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 18815 ac_res=`eval echo '${'$as_ac_var'}'` |
16359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 18816 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
18817 echo "${ECHO_T}$ac_res" >&6; } | |
16360 if test `eval echo '${'$as_ac_var'}'` = yes; then | 18818 if test `eval echo '${'$as_ac_var'}'` = yes; then |
16361 cat >>confdefs.h <<_ACEOF | 18819 cat >>confdefs.h <<_ACEOF |
16362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 18820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16363 _ACEOF | 18821 _ACEOF |
16364 | 18822 |
16378 | 18836 |
16379 fi | 18837 fi |
16380 | 18838 |
16381 if test $ac_have_func = no; then | 18839 if test $ac_have_func = no; then |
16382 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 18840 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
16383 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 18841 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
16384 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | 18842 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } |
16385 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 18843 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
16386 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18844 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16387 fi | 18845 fi |
16388 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 18846 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
16389 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 18847 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } |
16390 else | 18848 else |
16391 # Is the header compilable? | 18849 # Is the header compilable? |
16392 echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 | 18850 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h usability" >&5 |
16393 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6 | 18851 echo $ECHO_N "checking inq_stats/cpustats.h usability... $ECHO_C" >&6; } |
16394 cat >conftest.$ac_ext <<_ACEOF | 18852 cat >conftest.$ac_ext <<_ACEOF |
16395 /* confdefs.h. */ | 18853 /* confdefs.h. */ |
16396 _ACEOF | 18854 _ACEOF |
16397 cat confdefs.h >>conftest.$ac_ext | 18855 cat confdefs.h >>conftest.$ac_ext |
16398 cat >>conftest.$ac_ext <<_ACEOF | 18856 cat >>conftest.$ac_ext <<_ACEOF |
16399 /* end confdefs.h. */ | 18857 /* end confdefs.h. */ |
16400 $ac_includes_default | 18858 $ac_includes_default |
16401 #include <inq_stats/cpustats.h> | 18859 #include <inq_stats/cpustats.h> |
16402 _ACEOF | 18860 _ACEOF |
16403 rm -f conftest.$ac_objext | 18861 rm -f conftest.$ac_objext |
16404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 18862 if { (ac_try="$ac_compile" |
16405 (eval $ac_compile) 2>conftest.er1 | 18863 case "(($ac_try" in |
18864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18865 *) ac_try_echo=$ac_try;; | |
18866 esac | |
18867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18868 (eval "$ac_compile") 2>conftest.er1 | |
16406 ac_status=$? | 18869 ac_status=$? |
16407 grep -v '^ *+' conftest.er1 >conftest.err | 18870 grep -v '^ *+' conftest.er1 >conftest.err |
16408 rm -f conftest.er1 | 18871 rm -f conftest.er1 |
16409 cat conftest.err >&5 | 18872 cat conftest.err >&5 |
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16411 (exit $ac_status); } && | 18874 (exit $ac_status); } && |
16412 { ac_try='test -z "$ac_c_werror_flag" | 18875 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16413 || test ! -s conftest.err' | 18876 { (case "(($ac_try" in |
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16415 (eval $ac_try) 2>&5 | 18878 *) ac_try_echo=$ac_try;; |
18879 esac | |
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18881 (eval "$ac_try") 2>&5 | |
16416 ac_status=$? | 18882 ac_status=$? |
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16418 (exit $ac_status); }; } && | 18884 (exit $ac_status); }; } && |
16419 { ac_try='test -s conftest.$ac_objext' | 18885 { ac_try='test -s conftest.$ac_objext' |
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 18886 { (case "(($ac_try" in |
16421 (eval $ac_try) 2>&5 | 18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18888 *) ac_try_echo=$ac_try;; | |
18889 esac | |
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18891 (eval "$ac_try") 2>&5 | |
16422 ac_status=$? | 18892 ac_status=$? |
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16424 (exit $ac_status); }; }; then | 18894 (exit $ac_status); }; }; then |
16425 ac_header_compiler=yes | 18895 ac_header_compiler=yes |
16426 else | 18896 else |
16427 echo "$as_me: failed program was:" >&5 | 18897 echo "$as_me: failed program was:" >&5 |
16428 sed 's/^/| /' conftest.$ac_ext >&5 | 18898 sed 's/^/| /' conftest.$ac_ext >&5 |
16429 | 18899 |
16430 ac_header_compiler=no | 18900 ac_header_compiler=no |
16431 fi | 18901 fi |
16432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 18902 |
16433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 18903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16434 echo "${ECHO_T}$ac_header_compiler" >&6 | 18904 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
18905 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16435 | 18906 |
16436 # Is the header present? | 18907 # Is the header present? |
16437 echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 | 18908 { echo "$as_me:$LINENO: checking inq_stats/cpustats.h presence" >&5 |
16438 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6 | 18909 echo $ECHO_N "checking inq_stats/cpustats.h presence... $ECHO_C" >&6; } |
16439 cat >conftest.$ac_ext <<_ACEOF | 18910 cat >conftest.$ac_ext <<_ACEOF |
16440 /* confdefs.h. */ | 18911 /* confdefs.h. */ |
16441 _ACEOF | 18912 _ACEOF |
16442 cat confdefs.h >>conftest.$ac_ext | 18913 cat confdefs.h >>conftest.$ac_ext |
16443 cat >>conftest.$ac_ext <<_ACEOF | 18914 cat >>conftest.$ac_ext <<_ACEOF |
16444 /* end confdefs.h. */ | 18915 /* end confdefs.h. */ |
16445 #include <inq_stats/cpustats.h> | 18916 #include <inq_stats/cpustats.h> |
16446 _ACEOF | 18917 _ACEOF |
16447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 18918 if { (ac_try="$ac_cpp conftest.$ac_ext" |
16448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 18919 case "(($ac_try" in |
18920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
18921 *) ac_try_echo=$ac_try;; | |
18922 esac | |
18923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
18924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16449 ac_status=$? | 18925 ac_status=$? |
16450 grep -v '^ *+' conftest.er1 >conftest.err | 18926 grep -v '^ *+' conftest.er1 >conftest.err |
16451 rm -f conftest.er1 | 18927 rm -f conftest.er1 |
16452 cat conftest.err >&5 | 18928 cat conftest.err >&5 |
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 18929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16467 echo "$as_me: failed program was:" >&5 | 18943 echo "$as_me: failed program was:" >&5 |
16468 sed 's/^/| /' conftest.$ac_ext >&5 | 18944 sed 's/^/| /' conftest.$ac_ext >&5 |
16469 | 18945 |
16470 ac_header_preproc=no | 18946 ac_header_preproc=no |
16471 fi | 18947 fi |
18948 | |
16472 rm -f conftest.err conftest.$ac_ext | 18949 rm -f conftest.err conftest.$ac_ext |
16473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 18950 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16474 echo "${ECHO_T}$ac_header_preproc" >&6 | 18951 echo "${ECHO_T}$ac_header_preproc" >&6; } |
16475 | 18952 |
16476 # So? What about this header? | 18953 # So? What about this header? |
16477 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 18954 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16478 yes:no: ) | 18955 yes:no: ) |
16479 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 18956 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
16493 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | 18970 echo "$as_me: WARNING: inq_stats/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} |
16494 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 | 18971 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&5 |
16495 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} | 18972 echo "$as_me: WARNING: inq_stats/cpustats.h: proceeding with the preprocessor's result" >&2;} |
16496 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 | 18973 { echo "$as_me:$LINENO: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&5 |
16497 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} | 18974 echo "$as_me: WARNING: inq_stats/cpustats.h: in the future, the compiler will take precedence" >&2;} |
16498 ( | 18975 |
16499 cat <<\_ASBOX | |
16500 ## ------------------------------------------ ## | |
16501 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16502 ## ------------------------------------------ ## | |
16503 _ASBOX | |
16504 ) | | |
16505 sed "s/^/$as_me: WARNING: /" >&2 | |
16506 ;; | 18976 ;; |
16507 esac | 18977 esac |
16508 echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 | 18978 { echo "$as_me:$LINENO: checking for inq_stats/cpustats.h" >&5 |
16509 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6 | 18979 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6; } |
16510 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then | 18980 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then |
16511 echo $ECHO_N "(cached) $ECHO_C" >&6 | 18981 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16512 else | 18982 else |
16513 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc | 18983 ac_cv_header_inq_stats_cpustats_h=$ac_header_preproc |
16514 fi | 18984 fi |
16515 echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 | 18985 { echo "$as_me:$LINENO: result: $ac_cv_header_inq_stats_cpustats_h" >&5 |
16516 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6 | 18986 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6; } |
16517 | 18987 |
16518 fi | 18988 fi |
16519 if test $ac_cv_header_inq_stats_cpustats_h = yes; then | 18989 if test $ac_cv_header_inq_stats_cpustats_h = yes; then |
16520 ac_have_func=yes | 18990 ac_have_func=yes |
16521 | 18991 |
16533 | 19003 |
16534 fi | 19004 fi |
16535 | 19005 |
16536 if test $ac_have_func = no; then | 19006 if test $ac_have_func = no; then |
16537 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 19007 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
16538 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 19008 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
16539 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | 19009 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } |
16540 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 19010 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
16541 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19011 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16542 fi | 19012 fi |
16543 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 19013 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 |
16544 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 19014 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } |
16545 else | 19015 else |
16546 # Is the header compilable? | 19016 # Is the header compilable? |
16547 echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 | 19017 { echo "$as_me:$LINENO: checking sys/cpustats.h usability" >&5 |
16548 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6 | 19018 echo $ECHO_N "checking sys/cpustats.h usability... $ECHO_C" >&6; } |
16549 cat >conftest.$ac_ext <<_ACEOF | 19019 cat >conftest.$ac_ext <<_ACEOF |
16550 /* confdefs.h. */ | 19020 /* confdefs.h. */ |
16551 _ACEOF | 19021 _ACEOF |
16552 cat confdefs.h >>conftest.$ac_ext | 19022 cat confdefs.h >>conftest.$ac_ext |
16553 cat >>conftest.$ac_ext <<_ACEOF | 19023 cat >>conftest.$ac_ext <<_ACEOF |
16554 /* end confdefs.h. */ | 19024 /* end confdefs.h. */ |
16555 $ac_includes_default | 19025 $ac_includes_default |
16556 #include <sys/cpustats.h> | 19026 #include <sys/cpustats.h> |
16557 _ACEOF | 19027 _ACEOF |
16558 rm -f conftest.$ac_objext | 19028 rm -f conftest.$ac_objext |
16559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19029 if { (ac_try="$ac_compile" |
16560 (eval $ac_compile) 2>conftest.er1 | 19030 case "(($ac_try" in |
19031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19032 *) ac_try_echo=$ac_try;; | |
19033 esac | |
19034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19035 (eval "$ac_compile") 2>conftest.er1 | |
16561 ac_status=$? | 19036 ac_status=$? |
16562 grep -v '^ *+' conftest.er1 >conftest.err | 19037 grep -v '^ *+' conftest.er1 >conftest.err |
16563 rm -f conftest.er1 | 19038 rm -f conftest.er1 |
16564 cat conftest.err >&5 | 19039 cat conftest.err >&5 |
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16566 (exit $ac_status); } && | 19041 (exit $ac_status); } && |
16567 { ac_try='test -z "$ac_c_werror_flag" | 19042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16568 || test ! -s conftest.err' | 19043 { (case "(($ac_try" in |
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16570 (eval $ac_try) 2>&5 | 19045 *) ac_try_echo=$ac_try;; |
19046 esac | |
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19048 (eval "$ac_try") 2>&5 | |
16571 ac_status=$? | 19049 ac_status=$? |
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16573 (exit $ac_status); }; } && | 19051 (exit $ac_status); }; } && |
16574 { ac_try='test -s conftest.$ac_objext' | 19052 { ac_try='test -s conftest.$ac_objext' |
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19053 { (case "(($ac_try" in |
16576 (eval $ac_try) 2>&5 | 19054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19055 *) ac_try_echo=$ac_try;; | |
19056 esac | |
19057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19058 (eval "$ac_try") 2>&5 | |
16577 ac_status=$? | 19059 ac_status=$? |
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16579 (exit $ac_status); }; }; then | 19061 (exit $ac_status); }; }; then |
16580 ac_header_compiler=yes | 19062 ac_header_compiler=yes |
16581 else | 19063 else |
16582 echo "$as_me: failed program was:" >&5 | 19064 echo "$as_me: failed program was:" >&5 |
16583 sed 's/^/| /' conftest.$ac_ext >&5 | 19065 sed 's/^/| /' conftest.$ac_ext >&5 |
16584 | 19066 |
16585 ac_header_compiler=no | 19067 ac_header_compiler=no |
16586 fi | 19068 fi |
16587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19069 |
16588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16589 echo "${ECHO_T}$ac_header_compiler" >&6 | 19071 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19072 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16590 | 19073 |
16591 # Is the header present? | 19074 # Is the header present? |
16592 echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 | 19075 { echo "$as_me:$LINENO: checking sys/cpustats.h presence" >&5 |
16593 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6 | 19076 echo $ECHO_N "checking sys/cpustats.h presence... $ECHO_C" >&6; } |
16594 cat >conftest.$ac_ext <<_ACEOF | 19077 cat >conftest.$ac_ext <<_ACEOF |
16595 /* confdefs.h. */ | 19078 /* confdefs.h. */ |
16596 _ACEOF | 19079 _ACEOF |
16597 cat confdefs.h >>conftest.$ac_ext | 19080 cat confdefs.h >>conftest.$ac_ext |
16598 cat >>conftest.$ac_ext <<_ACEOF | 19081 cat >>conftest.$ac_ext <<_ACEOF |
16599 /* end confdefs.h. */ | 19082 /* end confdefs.h. */ |
16600 #include <sys/cpustats.h> | 19083 #include <sys/cpustats.h> |
16601 _ACEOF | 19084 _ACEOF |
16602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19085 if { (ac_try="$ac_cpp conftest.$ac_ext" |
16603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19086 case "(($ac_try" in |
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19088 *) ac_try_echo=$ac_try;; | |
19089 esac | |
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16604 ac_status=$? | 19092 ac_status=$? |
16605 grep -v '^ *+' conftest.er1 >conftest.err | 19093 grep -v '^ *+' conftest.er1 >conftest.err |
16606 rm -f conftest.er1 | 19094 rm -f conftest.er1 |
16607 cat conftest.err >&5 | 19095 cat conftest.err >&5 |
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16622 echo "$as_me: failed program was:" >&5 | 19110 echo "$as_me: failed program was:" >&5 |
16623 sed 's/^/| /' conftest.$ac_ext >&5 | 19111 sed 's/^/| /' conftest.$ac_ext >&5 |
16624 | 19112 |
16625 ac_header_preproc=no | 19113 ac_header_preproc=no |
16626 fi | 19114 fi |
19115 | |
16627 rm -f conftest.err conftest.$ac_ext | 19116 rm -f conftest.err conftest.$ac_ext |
16628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19117 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16629 echo "${ECHO_T}$ac_header_preproc" >&6 | 19118 echo "${ECHO_T}$ac_header_preproc" >&6; } |
16630 | 19119 |
16631 # So? What about this header? | 19120 # So? What about this header? |
16632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16633 yes:no: ) | 19122 yes:no: ) |
16634 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 19123 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
16648 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} | 19137 echo "$as_me: WARNING: sys/cpustats.h: section \"Present But Cannot Be Compiled\"" >&2;} |
16649 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 | 19138 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&5 |
16650 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} | 19139 echo "$as_me: WARNING: sys/cpustats.h: proceeding with the preprocessor's result" >&2;} |
16651 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 | 19140 { echo "$as_me:$LINENO: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&5 |
16652 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} | 19141 echo "$as_me: WARNING: sys/cpustats.h: in the future, the compiler will take precedence" >&2;} |
16653 ( | 19142 |
16654 cat <<\_ASBOX | |
16655 ## ------------------------------------------ ## | |
16656 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16657 ## ------------------------------------------ ## | |
16658 _ASBOX | |
16659 ) | | |
16660 sed "s/^/$as_me: WARNING: /" >&2 | |
16661 ;; | 19143 ;; |
16662 esac | 19144 esac |
16663 echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 | 19145 { echo "$as_me:$LINENO: checking for sys/cpustats.h" >&5 |
16664 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6 | 19146 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6; } |
16665 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then | 19147 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then |
16666 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19148 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16667 else | 19149 else |
16668 ac_cv_header_sys_cpustats_h=$ac_header_preproc | 19150 ac_cv_header_sys_cpustats_h=$ac_header_preproc |
16669 fi | 19151 fi |
16670 echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 | 19152 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_cpustats_h" >&5 |
16671 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6 | 19153 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6; } |
16672 | 19154 |
16673 fi | 19155 fi |
16674 if test $ac_cv_header_sys_cpustats_h = yes; then | 19156 if test $ac_cv_header_sys_cpustats_h = yes; then |
16675 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF | 19157 ac_have_func=yes; cat >>confdefs.h <<\_ACEOF |
16676 #define UMAX 1 | 19158 #define UMAX 1 |
16684 if test $ac_have_func = no; then | 19166 if test $ac_have_func = no; then |
16685 | 19167 |
16686 for ac_header in mach/mach.h | 19168 for ac_header in mach/mach.h |
16687 do | 19169 do |
16688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16689 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16690 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19172 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16692 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16693 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19175 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16694 fi | 19176 fi |
16695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19177 ac_res=`eval echo '${'$as_ac_Header'}'` |
16696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19178 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19179 echo "${ECHO_T}$ac_res" >&6; } | |
16697 else | 19180 else |
16698 # Is the header compilable? | 19181 # Is the header compilable? |
16699 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19182 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
16701 cat >conftest.$ac_ext <<_ACEOF | 19184 cat >conftest.$ac_ext <<_ACEOF |
16702 /* confdefs.h. */ | 19185 /* confdefs.h. */ |
16703 _ACEOF | 19186 _ACEOF |
16704 cat confdefs.h >>conftest.$ac_ext | 19187 cat confdefs.h >>conftest.$ac_ext |
16705 cat >>conftest.$ac_ext <<_ACEOF | 19188 cat >>conftest.$ac_ext <<_ACEOF |
16706 /* end confdefs.h. */ | 19189 /* end confdefs.h. */ |
16707 $ac_includes_default | 19190 $ac_includes_default |
16708 #include <$ac_header> | 19191 #include <$ac_header> |
16709 _ACEOF | 19192 _ACEOF |
16710 rm -f conftest.$ac_objext | 19193 rm -f conftest.$ac_objext |
16711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19194 if { (ac_try="$ac_compile" |
16712 (eval $ac_compile) 2>conftest.er1 | 19195 case "(($ac_try" in |
19196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19197 *) ac_try_echo=$ac_try;; | |
19198 esac | |
19199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19200 (eval "$ac_compile") 2>conftest.er1 | |
16713 ac_status=$? | 19201 ac_status=$? |
16714 grep -v '^ *+' conftest.er1 >conftest.err | 19202 grep -v '^ *+' conftest.er1 >conftest.err |
16715 rm -f conftest.er1 | 19203 rm -f conftest.er1 |
16716 cat conftest.err >&5 | 19204 cat conftest.err >&5 |
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16718 (exit $ac_status); } && | 19206 (exit $ac_status); } && |
16719 { ac_try='test -z "$ac_c_werror_flag" | 19207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16720 || test ! -s conftest.err' | 19208 { (case "(($ac_try" in |
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16722 (eval $ac_try) 2>&5 | 19210 *) ac_try_echo=$ac_try;; |
19211 esac | |
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19213 (eval "$ac_try") 2>&5 | |
16723 ac_status=$? | 19214 ac_status=$? |
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16725 (exit $ac_status); }; } && | 19216 (exit $ac_status); }; } && |
16726 { ac_try='test -s conftest.$ac_objext' | 19217 { ac_try='test -s conftest.$ac_objext' |
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19218 { (case "(($ac_try" in |
16728 (eval $ac_try) 2>&5 | 19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19220 *) ac_try_echo=$ac_try;; | |
19221 esac | |
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19223 (eval "$ac_try") 2>&5 | |
16729 ac_status=$? | 19224 ac_status=$? |
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16731 (exit $ac_status); }; }; then | 19226 (exit $ac_status); }; }; then |
16732 ac_header_compiler=yes | 19227 ac_header_compiler=yes |
16733 else | 19228 else |
16734 echo "$as_me: failed program was:" >&5 | 19229 echo "$as_me: failed program was:" >&5 |
16735 sed 's/^/| /' conftest.$ac_ext >&5 | 19230 sed 's/^/| /' conftest.$ac_ext >&5 |
16736 | 19231 |
16737 ac_header_compiler=no | 19232 ac_header_compiler=no |
16738 fi | 19233 fi |
16739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19234 |
16740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16741 echo "${ECHO_T}$ac_header_compiler" >&6 | 19236 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19237 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16742 | 19238 |
16743 # Is the header present? | 19239 # Is the header present? |
16744 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19240 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 19241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
16746 cat >conftest.$ac_ext <<_ACEOF | 19242 cat >conftest.$ac_ext <<_ACEOF |
16747 /* confdefs.h. */ | 19243 /* confdefs.h. */ |
16748 _ACEOF | 19244 _ACEOF |
16749 cat confdefs.h >>conftest.$ac_ext | 19245 cat confdefs.h >>conftest.$ac_ext |
16750 cat >>conftest.$ac_ext <<_ACEOF | 19246 cat >>conftest.$ac_ext <<_ACEOF |
16751 /* end confdefs.h. */ | 19247 /* end confdefs.h. */ |
16752 #include <$ac_header> | 19248 #include <$ac_header> |
16753 _ACEOF | 19249 _ACEOF |
16754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19250 if { (ac_try="$ac_cpp conftest.$ac_ext" |
16755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19251 case "(($ac_try" in |
19252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19253 *) ac_try_echo=$ac_try;; | |
19254 esac | |
19255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19256 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16756 ac_status=$? | 19257 ac_status=$? |
16757 grep -v '^ *+' conftest.er1 >conftest.err | 19258 grep -v '^ *+' conftest.er1 >conftest.err |
16758 rm -f conftest.er1 | 19259 rm -f conftest.er1 |
16759 cat conftest.err >&5 | 19260 cat conftest.err >&5 |
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16774 echo "$as_me: failed program was:" >&5 | 19275 echo "$as_me: failed program was:" >&5 |
16775 sed 's/^/| /' conftest.$ac_ext >&5 | 19276 sed 's/^/| /' conftest.$ac_ext >&5 |
16776 | 19277 |
16777 ac_header_preproc=no | 19278 ac_header_preproc=no |
16778 fi | 19279 fi |
19280 | |
16779 rm -f conftest.err conftest.$ac_ext | 19281 rm -f conftest.err conftest.$ac_ext |
16780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19282 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16781 echo "${ECHO_T}$ac_header_preproc" >&6 | 19283 echo "${ECHO_T}$ac_header_preproc" >&6; } |
16782 | 19284 |
16783 # So? What about this header? | 19285 # So? What about this header? |
16784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16785 yes:no: ) | 19287 yes:no: ) |
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 19288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16800 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 19302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 19303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16805 ( | 19307 |
16806 cat <<\_ASBOX | |
16807 ## ------------------------------------------ ## | |
16808 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16809 ## ------------------------------------------ ## | |
16810 _ASBOX | |
16811 ) | | |
16812 sed "s/^/$as_me: WARNING: /" >&2 | |
16813 ;; | 19308 ;; |
16814 esac | 19309 esac |
16815 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19310 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16817 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16818 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19313 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16819 else | 19314 else |
16820 eval "$as_ac_Header=\$ac_header_preproc" | 19315 eval "$as_ac_Header=\$ac_header_preproc" |
16821 fi | 19316 fi |
16822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19317 ac_res=`eval echo '${'$as_ac_Header'}'` |
16823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19318 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19319 echo "${ECHO_T}$ac_res" >&6; } | |
16824 | 19320 |
16825 fi | 19321 fi |
16826 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19322 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16827 cat >>confdefs.h <<_ACEOF | 19323 cat >>confdefs.h <<_ACEOF |
16828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 19324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16836 | 19332 |
16837 | 19333 |
16838 for ac_header in nlist.h | 19334 for ac_header in nlist.h |
16839 do | 19335 do |
16840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
16841 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16842 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19338 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16844 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16845 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19341 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16846 fi | 19342 fi |
16847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19343 ac_res=`eval echo '${'$as_ac_Header'}'` |
16848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19344 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19345 echo "${ECHO_T}$ac_res" >&6; } | |
16849 else | 19346 else |
16850 # Is the header compilable? | 19347 # Is the header compilable? |
16851 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19348 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
16852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
16853 cat >conftest.$ac_ext <<_ACEOF | 19350 cat >conftest.$ac_ext <<_ACEOF |
16854 /* confdefs.h. */ | 19351 /* confdefs.h. */ |
16855 _ACEOF | 19352 _ACEOF |
16856 cat confdefs.h >>conftest.$ac_ext | 19353 cat confdefs.h >>conftest.$ac_ext |
16857 cat >>conftest.$ac_ext <<_ACEOF | 19354 cat >>conftest.$ac_ext <<_ACEOF |
16858 /* end confdefs.h. */ | 19355 /* end confdefs.h. */ |
16859 $ac_includes_default | 19356 $ac_includes_default |
16860 #include <$ac_header> | 19357 #include <$ac_header> |
16861 _ACEOF | 19358 _ACEOF |
16862 rm -f conftest.$ac_objext | 19359 rm -f conftest.$ac_objext |
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19360 if { (ac_try="$ac_compile" |
16864 (eval $ac_compile) 2>conftest.er1 | 19361 case "(($ac_try" in |
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19363 *) ac_try_echo=$ac_try;; | |
19364 esac | |
19365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19366 (eval "$ac_compile") 2>conftest.er1 | |
16865 ac_status=$? | 19367 ac_status=$? |
16866 grep -v '^ *+' conftest.er1 >conftest.err | 19368 grep -v '^ *+' conftest.er1 >conftest.err |
16867 rm -f conftest.er1 | 19369 rm -f conftest.er1 |
16868 cat conftest.err >&5 | 19370 cat conftest.err >&5 |
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16870 (exit $ac_status); } && | 19372 (exit $ac_status); } && |
16871 { ac_try='test -z "$ac_c_werror_flag" | 19373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
16872 || test ! -s conftest.err' | 19374 { (case "(($ac_try" in |
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
16874 (eval $ac_try) 2>&5 | 19376 *) ac_try_echo=$ac_try;; |
19377 esac | |
19378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19379 (eval "$ac_try") 2>&5 | |
16875 ac_status=$? | 19380 ac_status=$? |
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16877 (exit $ac_status); }; } && | 19382 (exit $ac_status); }; } && |
16878 { ac_try='test -s conftest.$ac_objext' | 19383 { ac_try='test -s conftest.$ac_objext' |
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19384 { (case "(($ac_try" in |
16880 (eval $ac_try) 2>&5 | 19385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19386 *) ac_try_echo=$ac_try;; | |
19387 esac | |
19388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19389 (eval "$ac_try") 2>&5 | |
16881 ac_status=$? | 19390 ac_status=$? |
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16883 (exit $ac_status); }; }; then | 19392 (exit $ac_status); }; }; then |
16884 ac_header_compiler=yes | 19393 ac_header_compiler=yes |
16885 else | 19394 else |
16886 echo "$as_me: failed program was:" >&5 | 19395 echo "$as_me: failed program was:" >&5 |
16887 sed 's/^/| /' conftest.$ac_ext >&5 | 19396 sed 's/^/| /' conftest.$ac_ext >&5 |
16888 | 19397 |
16889 ac_header_compiler=no | 19398 ac_header_compiler=no |
16890 fi | 19399 fi |
16891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19400 |
16892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 19401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
16893 echo "${ECHO_T}$ac_header_compiler" >&6 | 19402 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19403 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
16894 | 19404 |
16895 # Is the header present? | 19405 # Is the header present? |
16896 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 19406 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
16897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 19407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
16898 cat >conftest.$ac_ext <<_ACEOF | 19408 cat >conftest.$ac_ext <<_ACEOF |
16899 /* confdefs.h. */ | 19409 /* confdefs.h. */ |
16900 _ACEOF | 19410 _ACEOF |
16901 cat confdefs.h >>conftest.$ac_ext | 19411 cat confdefs.h >>conftest.$ac_ext |
16902 cat >>conftest.$ac_ext <<_ACEOF | 19412 cat >>conftest.$ac_ext <<_ACEOF |
16903 /* end confdefs.h. */ | 19413 /* end confdefs.h. */ |
16904 #include <$ac_header> | 19414 #include <$ac_header> |
16905 _ACEOF | 19415 _ACEOF |
16906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 19416 if { (ac_try="$ac_cpp conftest.$ac_ext" |
16907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 19417 case "(($ac_try" in |
19418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19419 *) ac_try_echo=$ac_try;; | |
19420 esac | |
19421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
16908 ac_status=$? | 19423 ac_status=$? |
16909 grep -v '^ *+' conftest.er1 >conftest.err | 19424 grep -v '^ *+' conftest.er1 >conftest.err |
16910 rm -f conftest.er1 | 19425 rm -f conftest.er1 |
16911 cat conftest.err >&5 | 19426 cat conftest.err >&5 |
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16926 echo "$as_me: failed program was:" >&5 | 19441 echo "$as_me: failed program was:" >&5 |
16927 sed 's/^/| /' conftest.$ac_ext >&5 | 19442 sed 's/^/| /' conftest.$ac_ext >&5 |
16928 | 19443 |
16929 ac_header_preproc=no | 19444 ac_header_preproc=no |
16930 fi | 19445 fi |
19446 | |
16931 rm -f conftest.err conftest.$ac_ext | 19447 rm -f conftest.err conftest.$ac_ext |
16932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 19448 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
16933 echo "${ECHO_T}$ac_header_preproc" >&6 | 19449 echo "${ECHO_T}$ac_header_preproc" >&6; } |
16934 | 19450 |
16935 # So? What about this header? | 19451 # So? What about this header? |
16936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 19452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
16937 yes:no: ) | 19453 yes:no: ) |
16938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 19454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
16952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 19468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
16953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 19469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
16954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 19470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
16955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 19471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
16956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 19472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
16957 ( | 19473 |
16958 cat <<\_ASBOX | |
16959 ## ------------------------------------------ ## | |
16960 ## Report this to the AC_PACKAGE_NAME lists. ## | |
16961 ## ------------------------------------------ ## | |
16962 _ASBOX | |
16963 ) | | |
16964 sed "s/^/$as_me: WARNING: /" >&2 | |
16965 ;; | 19474 ;; |
16966 esac | 19475 esac |
16967 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19476 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
16968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
16969 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
16970 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19479 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16971 else | 19480 else |
16972 eval "$as_ac_Header=\$ac_header_preproc" | 19481 eval "$as_ac_Header=\$ac_header_preproc" |
16973 fi | 19482 fi |
16974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19483 ac_res=`eval echo '${'$as_ac_Header'}'` |
16975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19484 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19485 echo "${ECHO_T}$ac_res" >&6; } | |
16976 | 19486 |
16977 fi | 19487 fi |
16978 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 19488 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
16979 cat >>confdefs.h <<_ACEOF | 19489 cat >>confdefs.h <<_ACEOF |
16980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 19490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
16981 _ACEOF | 19491 _ACEOF |
16982 echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 | 19492 { echo "$as_me:$LINENO: checking for struct nlist.n_un.n_name" >&5 |
16983 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6 | 19493 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6; } |
16984 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then | 19494 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then |
16985 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19495 echo $ECHO_N "(cached) $ECHO_C" >&6 |
16986 else | 19496 else |
16987 cat >conftest.$ac_ext <<_ACEOF | 19497 cat >conftest.$ac_ext <<_ACEOF |
16988 /* confdefs.h. */ | 19498 /* confdefs.h. */ |
17001 ; | 19511 ; |
17002 return 0; | 19512 return 0; |
17003 } | 19513 } |
17004 _ACEOF | 19514 _ACEOF |
17005 rm -f conftest.$ac_objext | 19515 rm -f conftest.$ac_objext |
17006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19516 if { (ac_try="$ac_compile" |
17007 (eval $ac_compile) 2>conftest.er1 | 19517 case "(($ac_try" in |
19518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19519 *) ac_try_echo=$ac_try;; | |
19520 esac | |
19521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19522 (eval "$ac_compile") 2>conftest.er1 | |
17008 ac_status=$? | 19523 ac_status=$? |
17009 grep -v '^ *+' conftest.er1 >conftest.err | 19524 grep -v '^ *+' conftest.er1 >conftest.err |
17010 rm -f conftest.er1 | 19525 rm -f conftest.er1 |
17011 cat conftest.err >&5 | 19526 cat conftest.err >&5 |
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17013 (exit $ac_status); } && | 19528 (exit $ac_status); } && |
17014 { ac_try='test -z "$ac_c_werror_flag" | 19529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17015 || test ! -s conftest.err' | 19530 { (case "(($ac_try" in |
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17017 (eval $ac_try) 2>&5 | 19532 *) ac_try_echo=$ac_try;; |
19533 esac | |
19534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19535 (eval "$ac_try") 2>&5 | |
17018 ac_status=$? | 19536 ac_status=$? |
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17020 (exit $ac_status); }; } && | 19538 (exit $ac_status); }; } && |
17021 { ac_try='test -s conftest.$ac_objext' | 19539 { ac_try='test -s conftest.$ac_objext' |
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19540 { (case "(($ac_try" in |
17023 (eval $ac_try) 2>&5 | 19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19542 *) ac_try_echo=$ac_try;; | |
19543 esac | |
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19545 (eval "$ac_try") 2>&5 | |
17024 ac_status=$? | 19546 ac_status=$? |
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17026 (exit $ac_status); }; }; then | 19548 (exit $ac_status); }; }; then |
17027 ac_cv_member_struct_nlist_n_un_n_name=yes | 19549 ac_cv_member_struct_nlist_n_un_n_name=yes |
17028 else | 19550 else |
17029 echo "$as_me: failed program was:" >&5 | 19551 echo "$as_me: failed program was:" >&5 |
17030 sed 's/^/| /' conftest.$ac_ext >&5 | 19552 sed 's/^/| /' conftest.$ac_ext >&5 |
17031 | 19553 |
17032 cat >conftest.$ac_ext <<_ACEOF | 19554 cat >conftest.$ac_ext <<_ACEOF |
17033 /* confdefs.h. */ | 19555 /* confdefs.h. */ |
17034 _ACEOF | 19556 _ACEOF |
17035 cat confdefs.h >>conftest.$ac_ext | 19557 cat confdefs.h >>conftest.$ac_ext |
17036 cat >>conftest.$ac_ext <<_ACEOF | 19558 cat >>conftest.$ac_ext <<_ACEOF |
17037 /* end confdefs.h. */ | 19559 /* end confdefs.h. */ |
17046 ; | 19568 ; |
17047 return 0; | 19569 return 0; |
17048 } | 19570 } |
17049 _ACEOF | 19571 _ACEOF |
17050 rm -f conftest.$ac_objext | 19572 rm -f conftest.$ac_objext |
17051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19573 if { (ac_try="$ac_compile" |
17052 (eval $ac_compile) 2>conftest.er1 | 19574 case "(($ac_try" in |
19575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19576 *) ac_try_echo=$ac_try;; | |
19577 esac | |
19578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19579 (eval "$ac_compile") 2>conftest.er1 | |
17053 ac_status=$? | 19580 ac_status=$? |
17054 grep -v '^ *+' conftest.er1 >conftest.err | 19581 grep -v '^ *+' conftest.er1 >conftest.err |
17055 rm -f conftest.er1 | 19582 rm -f conftest.er1 |
17056 cat conftest.err >&5 | 19583 cat conftest.err >&5 |
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17058 (exit $ac_status); } && | 19585 (exit $ac_status); } && |
17059 { ac_try='test -z "$ac_c_werror_flag" | 19586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17060 || test ! -s conftest.err' | 19587 { (case "(($ac_try" in |
17061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17062 (eval $ac_try) 2>&5 | 19589 *) ac_try_echo=$ac_try;; |
19590 esac | |
19591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19592 (eval "$ac_try") 2>&5 | |
17063 ac_status=$? | 19593 ac_status=$? |
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17065 (exit $ac_status); }; } && | 19595 (exit $ac_status); }; } && |
17066 { ac_try='test -s conftest.$ac_objext' | 19596 { ac_try='test -s conftest.$ac_objext' |
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19597 { (case "(($ac_try" in |
17068 (eval $ac_try) 2>&5 | 19598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19599 *) ac_try_echo=$ac_try;; | |
19600 esac | |
19601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19602 (eval "$ac_try") 2>&5 | |
17069 ac_status=$? | 19603 ac_status=$? |
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17071 (exit $ac_status); }; }; then | 19605 (exit $ac_status); }; }; then |
17072 ac_cv_member_struct_nlist_n_un_n_name=yes | 19606 ac_cv_member_struct_nlist_n_un_n_name=yes |
17073 else | 19607 else |
17074 echo "$as_me: failed program was:" >&5 | 19608 echo "$as_me: failed program was:" >&5 |
17075 sed 's/^/| /' conftest.$ac_ext >&5 | 19609 sed 's/^/| /' conftest.$ac_ext >&5 |
17076 | 19610 |
17077 ac_cv_member_struct_nlist_n_un_n_name=no | 19611 ac_cv_member_struct_nlist_n_un_n_name=no |
17078 fi | 19612 fi |
17079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19613 |
17080 fi | 19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19615 fi |
17082 fi | 19616 |
17083 echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | 19617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17084 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6 | 19618 fi |
19619 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5 | |
19620 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6; } | |
17085 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then | 19621 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then |
17086 | 19622 |
17087 cat >>confdefs.h <<_ACEOF | 19623 cat >>confdefs.h <<_ACEOF |
17088 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 | 19624 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1 |
17089 _ACEOF | 19625 _ACEOF |
17103 fi | 19639 fi |
17104 done | 19640 done |
17105 | 19641 |
17106 | 19642 |
17107 # Some definitions of getloadavg require that the program be installed setgid. | 19643 # Some definitions of getloadavg require that the program be installed setgid. |
17108 echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 | 19644 { echo "$as_me:$LINENO: checking whether getloadavg requires setgid" >&5 |
17109 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6 | 19645 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6; } |
17110 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then | 19646 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then |
17111 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19647 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17112 else | 19648 else |
17113 cat >conftest.$ac_ext <<_ACEOF | 19649 cat >conftest.$ac_ext <<_ACEOF |
17114 /* confdefs.h. */ | 19650 /* confdefs.h. */ |
17128 ac_cv_func_getloadavg_setgid=no | 19664 ac_cv_func_getloadavg_setgid=no |
17129 fi | 19665 fi |
17130 rm -f conftest* | 19666 rm -f conftest* |
17131 | 19667 |
17132 fi | 19668 fi |
17133 echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 | 19669 { echo "$as_me:$LINENO: result: $ac_cv_func_getloadavg_setgid" >&5 |
17134 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6 | 19670 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6; } |
17135 if test $ac_cv_func_getloadavg_setgid = yes; then | 19671 if test $ac_cv_func_getloadavg_setgid = yes; then |
17136 NEED_SETGID=true | 19672 NEED_SETGID=true |
17137 | 19673 |
17138 cat >>confdefs.h <<\_ACEOF | 19674 cat >>confdefs.h <<\_ACEOF |
17139 #define GETLOADAVG_PRIVILEGED 1 | 19675 #define GETLOADAVG_PRIVILEGED 1 |
17142 else | 19678 else |
17143 NEED_SETGID=false | 19679 NEED_SETGID=false |
17144 fi | 19680 fi |
17145 | 19681 |
17146 if test $ac_cv_func_getloadavg_setgid = yes; then | 19682 if test $ac_cv_func_getloadavg_setgid = yes; then |
17147 echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 | 19683 { echo "$as_me:$LINENO: checking group of /dev/kmem" >&5 |
17148 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6 | 19684 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6; } |
17149 if test "${ac_cv_group_kmem+set}" = set; then | 19685 if test "${ac_cv_group_kmem+set}" = set; then |
17150 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19686 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17151 else | 19687 else |
17152 # On Solaris, /dev/kmem is a symlink. Get info on the real file. | 19688 # On Solaris, /dev/kmem is a symlink. Get info on the real file. |
17153 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` | 19689 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null` |
17157 | sed -ne 's/[ ][ ]*/ /g; | 19693 | sed -ne 's/[ ][ ]*/ /g; |
17158 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; | 19694 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/; |
17159 / /s/.* //;p;'` | 19695 / /s/.* //;p;'` |
17160 | 19696 |
17161 fi | 19697 fi |
17162 echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 | 19698 { echo "$as_me:$LINENO: result: $ac_cv_group_kmem" >&5 |
17163 echo "${ECHO_T}$ac_cv_group_kmem" >&6 | 19699 echo "${ECHO_T}$ac_cv_group_kmem" >&6; } |
17164 KMEM_GROUP=$ac_cv_group_kmem | 19700 KMEM_GROUP=$ac_cv_group_kmem |
17165 fi | 19701 fi |
17166 if test "x$ac_save_LIBS" = x; then | 19702 if test "x$ac_save_LIBS" = x; then |
17167 GETLOADAVG_LIBS=$LIBS | 19703 GETLOADAVG_LIBS=$LIBS |
17168 else | 19704 else |
17170 fi | 19706 fi |
17171 LIBS=$ac_save_LIBS | 19707 LIBS=$ac_save_LIBS |
17172 | 19708 |
17173 | 19709 |
17174 | 19710 |
17175 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 | 19711 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
17176 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 | 19712 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; } |
17177 if test "${ac_cv_sys_largefile_source+set}" = set; then | 19713 if test "${ac_cv_sys_largefile_source+set}" = set; then |
17178 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19714 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17179 else | 19715 else |
17180 while :; do | 19716 while :; do |
17181 ac_cv_sys_largefile_source=no | 19717 ac_cv_sys_largefile_source=no |
17193 ; | 19729 ; |
17194 return 0; | 19730 return 0; |
17195 } | 19731 } |
17196 _ACEOF | 19732 _ACEOF |
17197 rm -f conftest.$ac_objext | 19733 rm -f conftest.$ac_objext |
17198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19734 if { (ac_try="$ac_compile" |
17199 (eval $ac_compile) 2>conftest.er1 | 19735 case "(($ac_try" in |
19736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19737 *) ac_try_echo=$ac_try;; | |
19738 esac | |
19739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19740 (eval "$ac_compile") 2>conftest.er1 | |
17200 ac_status=$? | 19741 ac_status=$? |
17201 grep -v '^ *+' conftest.er1 >conftest.err | 19742 grep -v '^ *+' conftest.er1 >conftest.err |
17202 rm -f conftest.er1 | 19743 rm -f conftest.er1 |
17203 cat conftest.err >&5 | 19744 cat conftest.err >&5 |
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17205 (exit $ac_status); } && | 19746 (exit $ac_status); } && |
17206 { ac_try='test -z "$ac_c_werror_flag" | 19747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17207 || test ! -s conftest.err' | 19748 { (case "(($ac_try" in |
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17209 (eval $ac_try) 2>&5 | 19750 *) ac_try_echo=$ac_try;; |
19751 esac | |
19752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19753 (eval "$ac_try") 2>&5 | |
17210 ac_status=$? | 19754 ac_status=$? |
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17212 (exit $ac_status); }; } && | 19756 (exit $ac_status); }; } && |
17213 { ac_try='test -s conftest.$ac_objext' | 19757 { ac_try='test -s conftest.$ac_objext' |
17214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19758 { (case "(($ac_try" in |
17215 (eval $ac_try) 2>&5 | 19759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19760 *) ac_try_echo=$ac_try;; | |
19761 esac | |
19762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19763 (eval "$ac_try") 2>&5 | |
17216 ac_status=$? | 19764 ac_status=$? |
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17218 (exit $ac_status); }; }; then | 19766 (exit $ac_status); }; }; then |
17219 break | 19767 break |
17220 else | 19768 else |
17221 echo "$as_me: failed program was:" >&5 | 19769 echo "$as_me: failed program was:" >&5 |
17222 sed 's/^/| /' conftest.$ac_ext >&5 | 19770 sed 's/^/| /' conftest.$ac_ext >&5 |
17223 | 19771 |
17224 fi | 19772 |
17225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19773 fi |
19774 | |
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17226 cat >conftest.$ac_ext <<_ACEOF | 19776 cat >conftest.$ac_ext <<_ACEOF |
17227 /* confdefs.h. */ | 19777 /* confdefs.h. */ |
17228 _ACEOF | 19778 _ACEOF |
17229 cat confdefs.h >>conftest.$ac_ext | 19779 cat confdefs.h >>conftest.$ac_ext |
17230 cat >>conftest.$ac_ext <<_ACEOF | 19780 cat >>conftest.$ac_ext <<_ACEOF |
17238 ; | 19788 ; |
17239 return 0; | 19789 return 0; |
17240 } | 19790 } |
17241 _ACEOF | 19791 _ACEOF |
17242 rm -f conftest.$ac_objext | 19792 rm -f conftest.$ac_objext |
17243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19793 if { (ac_try="$ac_compile" |
17244 (eval $ac_compile) 2>conftest.er1 | 19794 case "(($ac_try" in |
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19796 *) ac_try_echo=$ac_try;; | |
19797 esac | |
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19799 (eval "$ac_compile") 2>conftest.er1 | |
17245 ac_status=$? | 19800 ac_status=$? |
17246 grep -v '^ *+' conftest.er1 >conftest.err | 19801 grep -v '^ *+' conftest.er1 >conftest.err |
17247 rm -f conftest.er1 | 19802 rm -f conftest.er1 |
17248 cat conftest.err >&5 | 19803 cat conftest.err >&5 |
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17250 (exit $ac_status); } && | 19805 (exit $ac_status); } && |
17251 { ac_try='test -z "$ac_c_werror_flag" | 19806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17252 || test ! -s conftest.err' | 19807 { (case "(($ac_try" in |
17253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17254 (eval $ac_try) 2>&5 | 19809 *) ac_try_echo=$ac_try;; |
19810 esac | |
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19812 (eval "$ac_try") 2>&5 | |
17255 ac_status=$? | 19813 ac_status=$? |
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17257 (exit $ac_status); }; } && | 19815 (exit $ac_status); }; } && |
17258 { ac_try='test -s conftest.$ac_objext' | 19816 { ac_try='test -s conftest.$ac_objext' |
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19817 { (case "(($ac_try" in |
17260 (eval $ac_try) 2>&5 | 19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19819 *) ac_try_echo=$ac_try;; | |
19820 esac | |
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19822 (eval "$ac_try") 2>&5 | |
17261 ac_status=$? | 19823 ac_status=$? |
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17263 (exit $ac_status); }; }; then | 19825 (exit $ac_status); }; }; then |
17264 ac_cv_sys_largefile_source=1; break | 19826 ac_cv_sys_largefile_source=1; break |
17265 else | 19827 else |
17266 echo "$as_me: failed program was:" >&5 | 19828 echo "$as_me: failed program was:" >&5 |
17267 sed 's/^/| /' conftest.$ac_ext >&5 | 19829 sed 's/^/| /' conftest.$ac_ext >&5 |
17268 | 19830 |
17269 fi | 19831 |
17270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 19832 fi |
19833 | |
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
17271 break | 19835 break |
17272 done | 19836 done |
17273 fi | 19837 fi |
17274 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 | 19838 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 |
17275 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 | 19839 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; } |
17276 if test "$ac_cv_sys_largefile_source" != no; then | 19840 if test "$ac_cv_sys_largefile_source" != no; then |
17277 | 19841 |
17278 cat >>confdefs.h <<_ACEOF | 19842 cat >>confdefs.h <<_ACEOF |
17279 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source | 19843 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source |
17280 _ACEOF | 19844 _ACEOF |
17283 rm -f conftest* | 19847 rm -f conftest* |
17284 | 19848 |
17285 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug | 19849 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug |
17286 # in glibc 2.1.3, but that breaks too many other things. | 19850 # in glibc 2.1.3, but that breaks too many other things. |
17287 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. | 19851 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc. |
17288 echo "$as_me:$LINENO: checking for fseeko" >&5 | 19852 { echo "$as_me:$LINENO: checking for fseeko" >&5 |
17289 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 | 19853 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; } |
17290 if test "${ac_cv_func_fseeko+set}" = set; then | 19854 if test "${ac_cv_func_fseeko+set}" = set; then |
17291 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19855 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17292 else | 19856 else |
17293 cat >conftest.$ac_ext <<_ACEOF | 19857 cat >conftest.$ac_ext <<_ACEOF |
17294 /* confdefs.h. */ | 19858 /* confdefs.h. */ |
17304 ; | 19868 ; |
17305 return 0; | 19869 return 0; |
17306 } | 19870 } |
17307 _ACEOF | 19871 _ACEOF |
17308 rm -f conftest.$ac_objext conftest$ac_exeext | 19872 rm -f conftest.$ac_objext conftest$ac_exeext |
17309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 19873 if { (ac_try="$ac_link" |
17310 (eval $ac_link) 2>conftest.er1 | 19874 case "(($ac_try" in |
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19876 *) ac_try_echo=$ac_try;; | |
19877 esac | |
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19879 (eval "$ac_link") 2>conftest.er1 | |
17311 ac_status=$? | 19880 ac_status=$? |
17312 grep -v '^ *+' conftest.er1 >conftest.err | 19881 grep -v '^ *+' conftest.er1 >conftest.err |
17313 rm -f conftest.er1 | 19882 rm -f conftest.er1 |
17314 cat conftest.err >&5 | 19883 cat conftest.err >&5 |
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17316 (exit $ac_status); } && | 19885 (exit $ac_status); } && |
17317 { ac_try='test -z "$ac_c_werror_flag" | 19886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17318 || test ! -s conftest.err' | 19887 { (case "(($ac_try" in |
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17320 (eval $ac_try) 2>&5 | 19889 *) ac_try_echo=$ac_try;; |
19890 esac | |
19891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19892 (eval "$ac_try") 2>&5 | |
17321 ac_status=$? | 19893 ac_status=$? |
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17323 (exit $ac_status); }; } && | 19895 (exit $ac_status); }; } && |
17324 { ac_try='test -s conftest$ac_exeext' | 19896 { ac_try='test -s conftest$ac_exeext' |
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19897 { (case "(($ac_try" in |
17326 (eval $ac_try) 2>&5 | 19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19899 *) ac_try_echo=$ac_try;; | |
19900 esac | |
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19902 (eval "$ac_try") 2>&5 | |
17327 ac_status=$? | 19903 ac_status=$? |
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17329 (exit $ac_status); }; }; then | 19905 (exit $ac_status); }; }; then |
17330 ac_cv_func_fseeko=yes | 19906 ac_cv_func_fseeko=yes |
17331 else | 19907 else |
17332 echo "$as_me: failed program was:" >&5 | 19908 echo "$as_me: failed program was:" >&5 |
17333 sed 's/^/| /' conftest.$ac_ext >&5 | 19909 sed 's/^/| /' conftest.$ac_ext >&5 |
17334 | 19910 |
17335 ac_cv_func_fseeko=no | 19911 ac_cv_func_fseeko=no |
17336 fi | 19912 fi |
17337 rm -f conftest.err conftest.$ac_objext \ | 19913 |
19914 rm -f core conftest.err conftest.$ac_objext \ | |
17338 conftest$ac_exeext conftest.$ac_ext | 19915 conftest$ac_exeext conftest.$ac_ext |
17339 fi | 19916 fi |
17340 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 | 19917 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 |
17341 echo "${ECHO_T}$ac_cv_func_fseeko" >&6 | 19918 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; } |
17342 if test $ac_cv_func_fseeko = yes; then | 19919 if test $ac_cv_func_fseeko = yes; then |
17343 | 19920 |
17344 cat >>confdefs.h <<\_ACEOF | 19921 cat >>confdefs.h <<\_ACEOF |
17345 #define HAVE_FSEEKO 1 | 19922 #define HAVE_FSEEKO 1 |
17346 _ACEOF | 19923 _ACEOF |
17373 GETOPT_H= | 19950 GETOPT_H= |
17374 | 19951 |
17375 for ac_header in getopt.h | 19952 for ac_header in getopt.h |
17376 do | 19953 do |
17377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 19954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
17378 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17379 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 19956 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 19957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17381 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 19958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17382 echo $ECHO_N "(cached) $ECHO_C" >&6 | 19959 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17383 fi | 19960 fi |
17384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 19961 ac_res=`eval echo '${'$as_ac_Header'}'` |
17385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 19962 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
19963 echo "${ECHO_T}$ac_res" >&6; } | |
17386 else | 19964 else |
17387 # Is the header compilable? | 19965 # Is the header compilable? |
17388 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 19966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
17389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 19967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
17390 cat >conftest.$ac_ext <<_ACEOF | 19968 cat >conftest.$ac_ext <<_ACEOF |
17391 /* confdefs.h. */ | 19969 /* confdefs.h. */ |
17392 _ACEOF | 19970 _ACEOF |
17393 cat confdefs.h >>conftest.$ac_ext | 19971 cat confdefs.h >>conftest.$ac_ext |
17394 cat >>conftest.$ac_ext <<_ACEOF | 19972 cat >>conftest.$ac_ext <<_ACEOF |
17395 /* end confdefs.h. */ | 19973 /* end confdefs.h. */ |
17396 $ac_includes_default | 19974 $ac_includes_default |
17397 #include <$ac_header> | 19975 #include <$ac_header> |
17398 _ACEOF | 19976 _ACEOF |
17399 rm -f conftest.$ac_objext | 19977 rm -f conftest.$ac_objext |
17400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 19978 if { (ac_try="$ac_compile" |
17401 (eval $ac_compile) 2>conftest.er1 | 19979 case "(($ac_try" in |
19980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
19981 *) ac_try_echo=$ac_try;; | |
19982 esac | |
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19984 (eval "$ac_compile") 2>conftest.er1 | |
17402 ac_status=$? | 19985 ac_status=$? |
17403 grep -v '^ *+' conftest.er1 >conftest.err | 19986 grep -v '^ *+' conftest.er1 >conftest.err |
17404 rm -f conftest.er1 | 19987 rm -f conftest.er1 |
17405 cat conftest.err >&5 | 19988 cat conftest.err >&5 |
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17407 (exit $ac_status); } && | 19990 (exit $ac_status); } && |
17408 { ac_try='test -z "$ac_c_werror_flag" | 19991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17409 || test ! -s conftest.err' | 19992 { (case "(($ac_try" in |
17410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 19993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17411 (eval $ac_try) 2>&5 | 19994 *) ac_try_echo=$ac_try;; |
19995 esac | |
19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
19997 (eval "$ac_try") 2>&5 | |
17412 ac_status=$? | 19998 ac_status=$? |
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17414 (exit $ac_status); }; } && | 20000 (exit $ac_status); }; } && |
17415 { ac_try='test -s conftest.$ac_objext' | 20001 { ac_try='test -s conftest.$ac_objext' |
17416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20002 { (case "(($ac_try" in |
17417 (eval $ac_try) 2>&5 | 20003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20004 *) ac_try_echo=$ac_try;; | |
20005 esac | |
20006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20007 (eval "$ac_try") 2>&5 | |
17418 ac_status=$? | 20008 ac_status=$? |
17419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17420 (exit $ac_status); }; }; then | 20010 (exit $ac_status); }; }; then |
17421 ac_header_compiler=yes | 20011 ac_header_compiler=yes |
17422 else | 20012 else |
17423 echo "$as_me: failed program was:" >&5 | 20013 echo "$as_me: failed program was:" >&5 |
17424 sed 's/^/| /' conftest.$ac_ext >&5 | 20014 sed 's/^/| /' conftest.$ac_ext >&5 |
17425 | 20015 |
17426 ac_header_compiler=no | 20016 ac_header_compiler=no |
17427 fi | 20017 fi |
17428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20018 |
17429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17430 echo "${ECHO_T}$ac_header_compiler" >&6 | 20020 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
20021 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
17431 | 20022 |
17432 # Is the header present? | 20023 # Is the header present? |
17433 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 20024 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
17434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 20025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
17435 cat >conftest.$ac_ext <<_ACEOF | 20026 cat >conftest.$ac_ext <<_ACEOF |
17436 /* confdefs.h. */ | 20027 /* confdefs.h. */ |
17437 _ACEOF | 20028 _ACEOF |
17438 cat confdefs.h >>conftest.$ac_ext | 20029 cat confdefs.h >>conftest.$ac_ext |
17439 cat >>conftest.$ac_ext <<_ACEOF | 20030 cat >>conftest.$ac_ext <<_ACEOF |
17440 /* end confdefs.h. */ | 20031 /* end confdefs.h. */ |
17441 #include <$ac_header> | 20032 #include <$ac_header> |
17442 _ACEOF | 20033 _ACEOF |
17443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 20034 if { (ac_try="$ac_cpp conftest.$ac_ext" |
17444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 20035 case "(($ac_try" in |
20036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20037 *) ac_try_echo=$ac_try;; | |
20038 esac | |
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
17445 ac_status=$? | 20041 ac_status=$? |
17446 grep -v '^ *+' conftest.er1 >conftest.err | 20042 grep -v '^ *+' conftest.er1 >conftest.err |
17447 rm -f conftest.er1 | 20043 rm -f conftest.er1 |
17448 cat conftest.err >&5 | 20044 cat conftest.err >&5 |
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17463 echo "$as_me: failed program was:" >&5 | 20059 echo "$as_me: failed program was:" >&5 |
17464 sed 's/^/| /' conftest.$ac_ext >&5 | 20060 sed 's/^/| /' conftest.$ac_ext >&5 |
17465 | 20061 |
17466 ac_header_preproc=no | 20062 ac_header_preproc=no |
17467 fi | 20063 fi |
20064 | |
17468 rm -f conftest.err conftest.$ac_ext | 20065 rm -f conftest.err conftest.$ac_ext |
17469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 20066 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
17470 echo "${ECHO_T}$ac_header_preproc" >&6 | 20067 echo "${ECHO_T}$ac_header_preproc" >&6; } |
17471 | 20068 |
17472 # So? What about this header? | 20069 # So? What about this header? |
17473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 20070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
17474 yes:no: ) | 20071 yes:no: ) |
17475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 20072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
17489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 20086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
17490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 20087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
17491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 20088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
17492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 20089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
17493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 20090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
17494 ( | 20091 |
17495 cat <<\_ASBOX | |
17496 ## ------------------------------------------ ## | |
17497 ## Report this to the AC_PACKAGE_NAME lists. ## | |
17498 ## ------------------------------------------ ## | |
17499 _ASBOX | |
17500 ) | | |
17501 sed "s/^/$as_me: WARNING: /" >&2 | |
17502 ;; | 20092 ;; |
17503 esac | 20093 esac |
17504 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 20094 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
17505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 20095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
17506 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 20096 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
17507 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20097 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17508 else | 20098 else |
17509 eval "$as_ac_Header=\$ac_header_preproc" | 20099 eval "$as_ac_Header=\$ac_header_preproc" |
17510 fi | 20100 fi |
17511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 20101 ac_res=`eval echo '${'$as_ac_Header'}'` |
17512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 20102 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20103 echo "${ECHO_T}$ac_res" >&6; } | |
17513 | 20104 |
17514 fi | 20105 fi |
17515 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 20106 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
17516 cat >>confdefs.h <<_ACEOF | 20107 cat >>confdefs.h <<_ACEOF |
17517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 20108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
17526 if test -z "$GETOPT_H"; then | 20117 if test -z "$GETOPT_H"; then |
17527 | 20118 |
17528 for ac_func in getopt_long_only | 20119 for ac_func in getopt_long_only |
17529 do | 20120 do |
17530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 20121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17531 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 20122 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
17532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 20123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
17533 if eval "test \"\${$as_ac_var+set}\" = set"; then | 20124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
17534 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20125 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17535 else | 20126 else |
17536 cat >conftest.$ac_ext <<_ACEOF | 20127 cat >conftest.$ac_ext <<_ACEOF |
17537 /* confdefs.h. */ | 20128 /* confdefs.h. */ |
17538 _ACEOF | 20129 _ACEOF |
17554 # include <assert.h> | 20145 # include <assert.h> |
17555 #endif | 20146 #endif |
17556 | 20147 |
17557 #undef $ac_func | 20148 #undef $ac_func |
17558 | 20149 |
17559 /* Override any gcc2 internal prototype to avoid an error. */ | 20150 /* Override any GCC internal prototype to avoid an error. |
20151 Use char because int might match the return type of a GCC | |
20152 builtin and then its argument prototype would still apply. */ | |
17560 #ifdef __cplusplus | 20153 #ifdef __cplusplus |
17561 extern "C" | 20154 extern "C" |
17562 { | |
17563 #endif | 20155 #endif |
17564 /* We use char because int might match the return type of a gcc2 | |
17565 builtin and then its argument prototype would still apply. */ | |
17566 char $ac_func (); | 20156 char $ac_func (); |
17567 /* The GNU C library defines this for functions which it implements | 20157 /* The GNU C library defines this for functions which it implements |
17568 to always fail with ENOSYS. Some functions are actually named | 20158 to always fail with ENOSYS. Some functions are actually named |
17569 something starting with __ and the normal name is an alias. */ | 20159 something starting with __ and the normal name is an alias. */ |
17570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 20160 #if defined __stub_$ac_func || defined __stub___$ac_func |
17571 choke me | 20161 choke me |
17572 #else | |
17573 char (*f) () = $ac_func; | |
17574 #endif | |
17575 #ifdef __cplusplus | |
17576 } | |
17577 #endif | 20162 #endif |
17578 | 20163 |
17579 int | 20164 int |
17580 main () | 20165 main () |
17581 { | 20166 { |
17582 return f != $ac_func; | 20167 return $ac_func (); |
17583 ; | 20168 ; |
17584 return 0; | 20169 return 0; |
17585 } | 20170 } |
17586 _ACEOF | 20171 _ACEOF |
17587 rm -f conftest.$ac_objext conftest$ac_exeext | 20172 rm -f conftest.$ac_objext conftest$ac_exeext |
17588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20173 if { (ac_try="$ac_link" |
17589 (eval $ac_link) 2>conftest.er1 | 20174 case "(($ac_try" in |
20175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20176 *) ac_try_echo=$ac_try;; | |
20177 esac | |
20178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20179 (eval "$ac_link") 2>conftest.er1 | |
17590 ac_status=$? | 20180 ac_status=$? |
17591 grep -v '^ *+' conftest.er1 >conftest.err | 20181 grep -v '^ *+' conftest.er1 >conftest.err |
17592 rm -f conftest.er1 | 20182 rm -f conftest.er1 |
17593 cat conftest.err >&5 | 20183 cat conftest.err >&5 |
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17595 (exit $ac_status); } && | 20185 (exit $ac_status); } && |
17596 { ac_try='test -z "$ac_c_werror_flag" | 20186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17597 || test ! -s conftest.err' | 20187 { (case "(($ac_try" in |
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17599 (eval $ac_try) 2>&5 | 20189 *) ac_try_echo=$ac_try;; |
20190 esac | |
20191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20192 (eval "$ac_try") 2>&5 | |
17600 ac_status=$? | 20193 ac_status=$? |
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17602 (exit $ac_status); }; } && | 20195 (exit $ac_status); }; } && |
17603 { ac_try='test -s conftest$ac_exeext' | 20196 { ac_try='test -s conftest$ac_exeext' |
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20197 { (case "(($ac_try" in |
17605 (eval $ac_try) 2>&5 | 20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20199 *) ac_try_echo=$ac_try;; | |
20200 esac | |
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20202 (eval "$ac_try") 2>&5 | |
17606 ac_status=$? | 20203 ac_status=$? |
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17608 (exit $ac_status); }; }; then | 20205 (exit $ac_status); }; }; then |
17609 eval "$as_ac_var=yes" | 20206 eval "$as_ac_var=yes" |
17610 else | 20207 else |
17611 echo "$as_me: failed program was:" >&5 | 20208 echo "$as_me: failed program was:" >&5 |
17612 sed 's/^/| /' conftest.$ac_ext >&5 | 20209 sed 's/^/| /' conftest.$ac_ext >&5 |
17613 | 20210 |
17614 eval "$as_ac_var=no" | 20211 eval "$as_ac_var=no" |
17615 fi | 20212 fi |
17616 rm -f conftest.err conftest.$ac_objext \ | 20213 |
20214 rm -f core conftest.err conftest.$ac_objext \ | |
17617 conftest$ac_exeext conftest.$ac_ext | 20215 conftest$ac_exeext conftest.$ac_ext |
17618 fi | 20216 fi |
17619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 20217 ac_res=`eval echo '${'$as_ac_var'}'` |
17620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 20218 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20219 echo "${ECHO_T}$ac_res" >&6; } | |
17621 if test `eval echo '${'$as_ac_var'}'` = yes; then | 20220 if test `eval echo '${'$as_ac_var'}'` = yes; then |
17622 cat >>confdefs.h <<_ACEOF | 20221 cat >>confdefs.h <<_ACEOF |
17623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 20222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17624 _ACEOF | 20223 _ACEOF |
17625 | 20224 |
17629 done | 20228 done |
17630 | 20229 |
17631 fi | 20230 fi |
17632 | 20231 |
17633 if test -z "$GETOPT_H"; then | 20232 if test -z "$GETOPT_H"; then |
17634 echo "$as_me:$LINENO: checking whether optreset is declared" >&5 | 20233 { echo "$as_me:$LINENO: checking whether optreset is declared" >&5 |
17635 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6 | 20234 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6; } |
17636 if test "${ac_cv_have_decl_optreset+set}" = set; then | 20235 if test "${ac_cv_have_decl_optreset+set}" = set; then |
17637 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20236 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17638 else | 20237 else |
17639 cat >conftest.$ac_ext <<_ACEOF | 20238 cat >conftest.$ac_ext <<_ACEOF |
17640 /* confdefs.h. */ | 20239 /* confdefs.h. */ |
17647 int | 20246 int |
17648 main () | 20247 main () |
17649 { | 20248 { |
17650 #ifndef optreset | 20249 #ifndef optreset |
17651 char *p = (char *) optreset; | 20250 char *p = (char *) optreset; |
20251 return !p; | |
17652 #endif | 20252 #endif |
17653 | 20253 |
17654 ; | 20254 ; |
17655 return 0; | 20255 return 0; |
17656 } | 20256 } |
17657 _ACEOF | 20257 _ACEOF |
17658 rm -f conftest.$ac_objext | 20258 rm -f conftest.$ac_objext |
17659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20259 if { (ac_try="$ac_compile" |
17660 (eval $ac_compile) 2>conftest.er1 | 20260 case "(($ac_try" in |
20261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20262 *) ac_try_echo=$ac_try;; | |
20263 esac | |
20264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20265 (eval "$ac_compile") 2>conftest.er1 | |
17661 ac_status=$? | 20266 ac_status=$? |
17662 grep -v '^ *+' conftest.er1 >conftest.err | 20267 grep -v '^ *+' conftest.er1 >conftest.err |
17663 rm -f conftest.er1 | 20268 rm -f conftest.er1 |
17664 cat conftest.err >&5 | 20269 cat conftest.err >&5 |
17665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17666 (exit $ac_status); } && | 20271 (exit $ac_status); } && |
17667 { ac_try='test -z "$ac_c_werror_flag" | 20272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17668 || test ! -s conftest.err' | 20273 { (case "(($ac_try" in |
17669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17670 (eval $ac_try) 2>&5 | 20275 *) ac_try_echo=$ac_try;; |
20276 esac | |
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20278 (eval "$ac_try") 2>&5 | |
17671 ac_status=$? | 20279 ac_status=$? |
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17673 (exit $ac_status); }; } && | 20281 (exit $ac_status); }; } && |
17674 { ac_try='test -s conftest.$ac_objext' | 20282 { ac_try='test -s conftest.$ac_objext' |
17675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20283 { (case "(($ac_try" in |
17676 (eval $ac_try) 2>&5 | 20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20285 *) ac_try_echo=$ac_try;; | |
20286 esac | |
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20288 (eval "$ac_try") 2>&5 | |
17677 ac_status=$? | 20289 ac_status=$? |
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17679 (exit $ac_status); }; }; then | 20291 (exit $ac_status); }; }; then |
17680 ac_cv_have_decl_optreset=yes | 20292 ac_cv_have_decl_optreset=yes |
17681 else | 20293 else |
17682 echo "$as_me: failed program was:" >&5 | 20294 echo "$as_me: failed program was:" >&5 |
17683 sed 's/^/| /' conftest.$ac_ext >&5 | 20295 sed 's/^/| /' conftest.$ac_ext >&5 |
17684 | 20296 |
17685 ac_cv_have_decl_optreset=no | 20297 ac_cv_have_decl_optreset=no |
17686 fi | 20298 fi |
17687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20299 |
17688 fi | 20300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17689 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 | 20301 fi |
17690 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6 | 20302 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5 |
20303 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6; } | |
17691 if test $ac_cv_have_decl_optreset = yes; then | 20304 if test $ac_cv_have_decl_optreset = yes; then |
17692 GETOPT_H=getopt.h | 20305 GETOPT_H=getopt.h |
17693 fi | 20306 fi |
17694 | 20307 |
17695 fi | 20308 fi |
17696 | 20309 |
17697 if test -z "$GETOPT_H"; then | 20310 if test -z "$GETOPT_H"; then |
17698 echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 | 20311 { echo "$as_me:$LINENO: checking for working GNU getopt function" >&5 |
17699 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6 | 20312 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6; } |
17700 if test "${gl_cv_func_gnu_getopt+set}" = set; then | 20313 if test "${gl_cv_func_gnu_getopt+set}" = set; then |
17701 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20314 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17702 else | 20315 else |
17703 if test "$cross_compiling" = yes; then | 20316 if test "$cross_compiling" = yes; then |
17704 echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 | 20317 { echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5 |
17705 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6 | 20318 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6; } |
17706 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then | 20319 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then |
17707 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20320 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17708 else | 20321 else |
17709 cat >conftest.$ac_ext <<_ACEOF | 20322 cat >conftest.$ac_ext <<_ACEOF |
17710 /* confdefs.h. */ | 20323 /* confdefs.h. */ |
17717 int | 20330 int |
17718 main () | 20331 main () |
17719 { | 20332 { |
17720 #ifndef getopt_clip | 20333 #ifndef getopt_clip |
17721 char *p = (char *) getopt_clip; | 20334 char *p = (char *) getopt_clip; |
20335 return !p; | |
17722 #endif | 20336 #endif |
17723 | 20337 |
17724 ; | 20338 ; |
17725 return 0; | 20339 return 0; |
17726 } | 20340 } |
17727 _ACEOF | 20341 _ACEOF |
17728 rm -f conftest.$ac_objext | 20342 rm -f conftest.$ac_objext |
17729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20343 if { (ac_try="$ac_compile" |
17730 (eval $ac_compile) 2>conftest.er1 | 20344 case "(($ac_try" in |
20345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20346 *) ac_try_echo=$ac_try;; | |
20347 esac | |
20348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20349 (eval "$ac_compile") 2>conftest.er1 | |
17731 ac_status=$? | 20350 ac_status=$? |
17732 grep -v '^ *+' conftest.er1 >conftest.err | 20351 grep -v '^ *+' conftest.er1 >conftest.err |
17733 rm -f conftest.er1 | 20352 rm -f conftest.er1 |
17734 cat conftest.err >&5 | 20353 cat conftest.err >&5 |
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17736 (exit $ac_status); } && | 20355 (exit $ac_status); } && |
17737 { ac_try='test -z "$ac_c_werror_flag" | 20356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17738 || test ! -s conftest.err' | 20357 { (case "(($ac_try" in |
17739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17740 (eval $ac_try) 2>&5 | 20359 *) ac_try_echo=$ac_try;; |
20360 esac | |
20361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20362 (eval "$ac_try") 2>&5 | |
17741 ac_status=$? | 20363 ac_status=$? |
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17743 (exit $ac_status); }; } && | 20365 (exit $ac_status); }; } && |
17744 { ac_try='test -s conftest.$ac_objext' | 20366 { ac_try='test -s conftest.$ac_objext' |
17745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20367 { (case "(($ac_try" in |
17746 (eval $ac_try) 2>&5 | 20368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20369 *) ac_try_echo=$ac_try;; | |
20370 esac | |
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20372 (eval "$ac_try") 2>&5 | |
17747 ac_status=$? | 20373 ac_status=$? |
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17749 (exit $ac_status); }; }; then | 20375 (exit $ac_status); }; }; then |
17750 ac_cv_have_decl_getopt_clip=yes | 20376 ac_cv_have_decl_getopt_clip=yes |
17751 else | 20377 else |
17752 echo "$as_me: failed program was:" >&5 | 20378 echo "$as_me: failed program was:" >&5 |
17753 sed 's/^/| /' conftest.$ac_ext >&5 | 20379 sed 's/^/| /' conftest.$ac_ext >&5 |
17754 | 20380 |
17755 ac_cv_have_decl_getopt_clip=no | 20381 ac_cv_have_decl_getopt_clip=no |
17756 fi | 20382 fi |
17757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20383 |
17758 fi | 20384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17759 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 | 20385 fi |
17760 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6 | 20386 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5 |
20387 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6; } | |
17761 if test $ac_cv_have_decl_getopt_clip = yes; then | 20388 if test $ac_cv_have_decl_getopt_clip = yes; then |
17762 gl_cv_func_gnu_getopt=no | 20389 gl_cv_func_gnu_getopt=no |
17763 else | 20390 else |
17764 gl_cv_func_gnu_getopt=yes | 20391 gl_cv_func_gnu_getopt=yes |
17765 fi | 20392 fi |
17785 ; | 20412 ; |
17786 return 0; | 20413 return 0; |
17787 } | 20414 } |
17788 _ACEOF | 20415 _ACEOF |
17789 rm -f conftest$ac_exeext | 20416 rm -f conftest$ac_exeext |
17790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20417 if { (ac_try="$ac_link" |
17791 (eval $ac_link) 2>&5 | 20418 case "(($ac_try" in |
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20420 *) ac_try_echo=$ac_try;; | |
20421 esac | |
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20423 (eval "$ac_link") 2>&5 | |
17792 ac_status=$? | 20424 ac_status=$? |
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 20426 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20427 { (case "(($ac_try" in |
17796 (eval $ac_try) 2>&5 | 20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20429 *) ac_try_echo=$ac_try;; | |
20430 esac | |
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20432 (eval "$ac_try") 2>&5 | |
17797 ac_status=$? | 20433 ac_status=$? |
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17799 (exit $ac_status); }; }; then | 20435 (exit $ac_status); }; }; then |
17800 gl_cv_func_gnu_getopt=yes | 20436 gl_cv_func_gnu_getopt=yes |
17801 else | 20437 else |
17804 sed 's/^/| /' conftest.$ac_ext >&5 | 20440 sed 's/^/| /' conftest.$ac_ext >&5 |
17805 | 20441 |
17806 ( exit $ac_status ) | 20442 ( exit $ac_status ) |
17807 gl_cv_func_gnu_getopt=no | 20443 gl_cv_func_gnu_getopt=no |
17808 fi | 20444 fi |
17809 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 20445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
17810 fi | 20446 fi |
17811 fi | 20447 |
17812 echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | 20448 |
17813 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6 | 20449 fi |
20450 { echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5 | |
20451 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6; } | |
17814 if test "$gl_cv_func_gnu_getopt" = "no"; then | 20452 if test "$gl_cv_func_gnu_getopt" = "no"; then |
17815 GETOPT_H=getopt.h | 20453 GETOPT_H=getopt.h |
17816 fi | 20454 fi |
17817 fi | 20455 fi |
17818 | 20456 |
17835 fi | 20473 fi |
17836 | 20474 |
17837 | 20475 |
17838 | 20476 |
17839 | 20477 |
17840 echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 | 20478 { echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 |
17841 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6 | 20479 echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } |
17842 if test "${ac_cv_func_getpgrp_void+set}" = set; then | 20480 if test "${ac_cv_func_getpgrp_void+set}" = set; then |
17843 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20481 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17844 else | 20482 else |
17845 # Use it with a single arg. | 20483 # Use it with a single arg. |
17846 cat >conftest.$ac_ext <<_ACEOF | 20484 cat >conftest.$ac_ext <<_ACEOF |
17857 ; | 20495 ; |
17858 return 0; | 20496 return 0; |
17859 } | 20497 } |
17860 _ACEOF | 20498 _ACEOF |
17861 rm -f conftest.$ac_objext | 20499 rm -f conftest.$ac_objext |
17862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 20500 if { (ac_try="$ac_compile" |
17863 (eval $ac_compile) 2>conftest.er1 | 20501 case "(($ac_try" in |
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20503 *) ac_try_echo=$ac_try;; | |
20504 esac | |
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20506 (eval "$ac_compile") 2>conftest.er1 | |
17864 ac_status=$? | 20507 ac_status=$? |
17865 grep -v '^ *+' conftest.er1 >conftest.err | 20508 grep -v '^ *+' conftest.er1 >conftest.err |
17866 rm -f conftest.er1 | 20509 rm -f conftest.er1 |
17867 cat conftest.err >&5 | 20510 cat conftest.err >&5 |
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17869 (exit $ac_status); } && | 20512 (exit $ac_status); } && |
17870 { ac_try='test -z "$ac_c_werror_flag" | 20513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17871 || test ! -s conftest.err' | 20514 { (case "(($ac_try" in |
17872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17873 (eval $ac_try) 2>&5 | 20516 *) ac_try_echo=$ac_try;; |
20517 esac | |
20518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20519 (eval "$ac_try") 2>&5 | |
17874 ac_status=$? | 20520 ac_status=$? |
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17876 (exit $ac_status); }; } && | 20522 (exit $ac_status); }; } && |
17877 { ac_try='test -s conftest.$ac_objext' | 20523 { ac_try='test -s conftest.$ac_objext' |
17878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20524 { (case "(($ac_try" in |
17879 (eval $ac_try) 2>&5 | 20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20526 *) ac_try_echo=$ac_try;; | |
20527 esac | |
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20529 (eval "$ac_try") 2>&5 | |
17880 ac_status=$? | 20530 ac_status=$? |
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17882 (exit $ac_status); }; }; then | 20532 (exit $ac_status); }; }; then |
17883 ac_cv_func_getpgrp_void=no | 20533 ac_cv_func_getpgrp_void=no |
17884 else | 20534 else |
17885 echo "$as_me: failed program was:" >&5 | 20535 echo "$as_me: failed program was:" >&5 |
17886 sed 's/^/| /' conftest.$ac_ext >&5 | 20536 sed 's/^/| /' conftest.$ac_ext >&5 |
17887 | 20537 |
17888 ac_cv_func_getpgrp_void=yes | 20538 ac_cv_func_getpgrp_void=yes |
17889 fi | 20539 fi |
17890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 20540 |
17891 | 20541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
17892 fi | 20542 |
17893 echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 | 20543 fi |
17894 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 | 20544 { echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 |
20545 echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } | |
17895 if test $ac_cv_func_getpgrp_void = yes; then | 20546 if test $ac_cv_func_getpgrp_void = yes; then |
17896 | 20547 |
17897 cat >>confdefs.h <<\_ACEOF | 20548 cat >>confdefs.h <<\_ACEOF |
17898 #define GETPGRP_VOID 1 | 20549 #define GETPGRP_VOID 1 |
17899 _ACEOF | 20550 _ACEOF |
17903 | 20554 |
17904 | 20555 |
17905 for ac_func in strftime | 20556 for ac_func in strftime |
17906 do | 20557 do |
17907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 20558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
17908 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 20559 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
17909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 20560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
17910 if eval "test \"\${$as_ac_var+set}\" = set"; then | 20561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
17911 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20562 echo $ECHO_N "(cached) $ECHO_C" >&6 |
17912 else | 20563 else |
17913 cat >conftest.$ac_ext <<_ACEOF | 20564 cat >conftest.$ac_ext <<_ACEOF |
17914 /* confdefs.h. */ | 20565 /* confdefs.h. */ |
17915 _ACEOF | 20566 _ACEOF |
17931 # include <assert.h> | 20582 # include <assert.h> |
17932 #endif | 20583 #endif |
17933 | 20584 |
17934 #undef $ac_func | 20585 #undef $ac_func |
17935 | 20586 |
17936 /* Override any gcc2 internal prototype to avoid an error. */ | 20587 /* Override any GCC internal prototype to avoid an error. |
20588 Use char because int might match the return type of a GCC | |
20589 builtin and then its argument prototype would still apply. */ | |
17937 #ifdef __cplusplus | 20590 #ifdef __cplusplus |
17938 extern "C" | 20591 extern "C" |
17939 { | |
17940 #endif | 20592 #endif |
17941 /* We use char because int might match the return type of a gcc2 | |
17942 builtin and then its argument prototype would still apply. */ | |
17943 char $ac_func (); | 20593 char $ac_func (); |
17944 /* The GNU C library defines this for functions which it implements | 20594 /* The GNU C library defines this for functions which it implements |
17945 to always fail with ENOSYS. Some functions are actually named | 20595 to always fail with ENOSYS. Some functions are actually named |
17946 something starting with __ and the normal name is an alias. */ | 20596 something starting with __ and the normal name is an alias. */ |
17947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 20597 #if defined __stub_$ac_func || defined __stub___$ac_func |
17948 choke me | 20598 choke me |
17949 #else | |
17950 char (*f) () = $ac_func; | |
17951 #endif | |
17952 #ifdef __cplusplus | |
17953 } | |
17954 #endif | 20599 #endif |
17955 | 20600 |
17956 int | 20601 int |
17957 main () | 20602 main () |
17958 { | 20603 { |
17959 return f != $ac_func; | 20604 return $ac_func (); |
17960 ; | 20605 ; |
17961 return 0; | 20606 return 0; |
17962 } | 20607 } |
17963 _ACEOF | 20608 _ACEOF |
17964 rm -f conftest.$ac_objext conftest$ac_exeext | 20609 rm -f conftest.$ac_objext conftest$ac_exeext |
17965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20610 if { (ac_try="$ac_link" |
17966 (eval $ac_link) 2>conftest.er1 | 20611 case "(($ac_try" in |
20612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20613 *) ac_try_echo=$ac_try;; | |
20614 esac | |
20615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20616 (eval "$ac_link") 2>conftest.er1 | |
17967 ac_status=$? | 20617 ac_status=$? |
17968 grep -v '^ *+' conftest.er1 >conftest.err | 20618 grep -v '^ *+' conftest.er1 >conftest.err |
17969 rm -f conftest.er1 | 20619 rm -f conftest.er1 |
17970 cat conftest.err >&5 | 20620 cat conftest.err >&5 |
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17972 (exit $ac_status); } && | 20622 (exit $ac_status); } && |
17973 { ac_try='test -z "$ac_c_werror_flag" | 20623 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
17974 || test ! -s conftest.err' | 20624 { (case "(($ac_try" in |
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
17976 (eval $ac_try) 2>&5 | 20626 *) ac_try_echo=$ac_try;; |
20627 esac | |
20628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20629 (eval "$ac_try") 2>&5 | |
17977 ac_status=$? | 20630 ac_status=$? |
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17979 (exit $ac_status); }; } && | 20632 (exit $ac_status); }; } && |
17980 { ac_try='test -s conftest$ac_exeext' | 20633 { ac_try='test -s conftest$ac_exeext' |
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20634 { (case "(($ac_try" in |
17982 (eval $ac_try) 2>&5 | 20635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20636 *) ac_try_echo=$ac_try;; | |
20637 esac | |
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20639 (eval "$ac_try") 2>&5 | |
17983 ac_status=$? | 20640 ac_status=$? |
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17985 (exit $ac_status); }; }; then | 20642 (exit $ac_status); }; }; then |
17986 eval "$as_ac_var=yes" | 20643 eval "$as_ac_var=yes" |
17987 else | 20644 else |
17988 echo "$as_me: failed program was:" >&5 | 20645 echo "$as_me: failed program was:" >&5 |
17989 sed 's/^/| /' conftest.$ac_ext >&5 | 20646 sed 's/^/| /' conftest.$ac_ext >&5 |
17990 | 20647 |
17991 eval "$as_ac_var=no" | 20648 eval "$as_ac_var=no" |
17992 fi | 20649 fi |
17993 rm -f conftest.err conftest.$ac_objext \ | 20650 |
20651 rm -f core conftest.err conftest.$ac_objext \ | |
17994 conftest$ac_exeext conftest.$ac_ext | 20652 conftest$ac_exeext conftest.$ac_ext |
17995 fi | 20653 fi |
17996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 20654 ac_res=`eval echo '${'$as_ac_var'}'` |
17997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 20655 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20656 echo "${ECHO_T}$ac_res" >&6; } | |
17998 if test `eval echo '${'$as_ac_var'}'` = yes; then | 20657 if test `eval echo '${'$as_ac_var'}'` = yes; then |
17999 cat >>confdefs.h <<_ACEOF | 20658 cat >>confdefs.h <<_ACEOF |
18000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 20659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
18001 _ACEOF | 20660 _ACEOF |
18002 | 20661 |
18003 else | 20662 else |
18004 # strftime is in -lintl on SCO UNIX. | 20663 # strftime is in -lintl on SCO UNIX. |
18005 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 | 20664 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 |
18006 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 | 20665 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } |
18007 if test "${ac_cv_lib_intl_strftime+set}" = set; then | 20666 if test "${ac_cv_lib_intl_strftime+set}" = set; then |
18008 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20667 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18009 else | 20668 else |
18010 ac_check_lib_save_LIBS=$LIBS | 20669 ac_check_lib_save_LIBS=$LIBS |
18011 LIBS="-lintl $LIBS" | 20670 LIBS="-lintl $LIBS" |
18014 _ACEOF | 20673 _ACEOF |
18015 cat confdefs.h >>conftest.$ac_ext | 20674 cat confdefs.h >>conftest.$ac_ext |
18016 cat >>conftest.$ac_ext <<_ACEOF | 20675 cat >>conftest.$ac_ext <<_ACEOF |
18017 /* end confdefs.h. */ | 20676 /* end confdefs.h. */ |
18018 | 20677 |
18019 /* Override any gcc2 internal prototype to avoid an error. */ | 20678 /* Override any GCC internal prototype to avoid an error. |
20679 Use char because int might match the return type of a GCC | |
20680 builtin and then its argument prototype would still apply. */ | |
18020 #ifdef __cplusplus | 20681 #ifdef __cplusplus |
18021 extern "C" | 20682 extern "C" |
18022 #endif | 20683 #endif |
18023 /* We use char because int might match the return type of a gcc2 | |
18024 builtin and then its argument prototype would still apply. */ | |
18025 char strftime (); | 20684 char strftime (); |
18026 int | 20685 int |
18027 main () | 20686 main () |
18028 { | 20687 { |
18029 strftime (); | 20688 return strftime (); |
18030 ; | 20689 ; |
18031 return 0; | 20690 return 0; |
18032 } | 20691 } |
18033 _ACEOF | 20692 _ACEOF |
18034 rm -f conftest.$ac_objext conftest$ac_exeext | 20693 rm -f conftest.$ac_objext conftest$ac_exeext |
18035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20694 if { (ac_try="$ac_link" |
18036 (eval $ac_link) 2>conftest.er1 | 20695 case "(($ac_try" in |
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20697 *) ac_try_echo=$ac_try;; | |
20698 esac | |
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20700 (eval "$ac_link") 2>conftest.er1 | |
18037 ac_status=$? | 20701 ac_status=$? |
18038 grep -v '^ *+' conftest.er1 >conftest.err | 20702 grep -v '^ *+' conftest.er1 >conftest.err |
18039 rm -f conftest.er1 | 20703 rm -f conftest.er1 |
18040 cat conftest.err >&5 | 20704 cat conftest.err >&5 |
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18042 (exit $ac_status); } && | 20706 (exit $ac_status); } && |
18043 { ac_try='test -z "$ac_c_werror_flag" | 20707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18044 || test ! -s conftest.err' | 20708 { (case "(($ac_try" in |
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18046 (eval $ac_try) 2>&5 | 20710 *) ac_try_echo=$ac_try;; |
20711 esac | |
20712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20713 (eval "$ac_try") 2>&5 | |
18047 ac_status=$? | 20714 ac_status=$? |
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18049 (exit $ac_status); }; } && | 20716 (exit $ac_status); }; } && |
18050 { ac_try='test -s conftest$ac_exeext' | 20717 { ac_try='test -s conftest$ac_exeext' |
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20718 { (case "(($ac_try" in |
18052 (eval $ac_try) 2>&5 | 20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20720 *) ac_try_echo=$ac_try;; | |
20721 esac | |
20722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20723 (eval "$ac_try") 2>&5 | |
18053 ac_status=$? | 20724 ac_status=$? |
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18055 (exit $ac_status); }; }; then | 20726 (exit $ac_status); }; }; then |
18056 ac_cv_lib_intl_strftime=yes | 20727 ac_cv_lib_intl_strftime=yes |
18057 else | 20728 else |
18058 echo "$as_me: failed program was:" >&5 | 20729 echo "$as_me: failed program was:" >&5 |
18059 sed 's/^/| /' conftest.$ac_ext >&5 | 20730 sed 's/^/| /' conftest.$ac_ext >&5 |
18060 | 20731 |
18061 ac_cv_lib_intl_strftime=no | 20732 ac_cv_lib_intl_strftime=no |
18062 fi | 20733 fi |
18063 rm -f conftest.err conftest.$ac_objext \ | 20734 |
20735 rm -f core conftest.err conftest.$ac_objext \ | |
18064 conftest$ac_exeext conftest.$ac_ext | 20736 conftest$ac_exeext conftest.$ac_ext |
18065 LIBS=$ac_check_lib_save_LIBS | 20737 LIBS=$ac_check_lib_save_LIBS |
18066 fi | 20738 fi |
18067 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 | 20739 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 |
18068 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 | 20740 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } |
18069 if test $ac_cv_lib_intl_strftime = yes; then | 20741 if test $ac_cv_lib_intl_strftime = yes; then |
18070 cat >>confdefs.h <<\_ACEOF | 20742 cat >>confdefs.h <<\_ACEOF |
18071 #define HAVE_STRFTIME 1 | 20743 #define HAVE_STRFTIME 1 |
18072 _ACEOF | 20744 _ACEOF |
18073 | 20745 |
18081 # UNIX98 PTYs. | 20753 # UNIX98 PTYs. |
18082 | 20754 |
18083 for ac_func in grantpt | 20755 for ac_func in grantpt |
18084 do | 20756 do |
18085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 20757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18086 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 20758 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 20759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
18088 if eval "test \"\${$as_ac_var+set}\" = set"; then | 20760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
18089 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20761 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18090 else | 20762 else |
18091 cat >conftest.$ac_ext <<_ACEOF | 20763 cat >conftest.$ac_ext <<_ACEOF |
18092 /* confdefs.h. */ | 20764 /* confdefs.h. */ |
18093 _ACEOF | 20765 _ACEOF |
18109 # include <assert.h> | 20781 # include <assert.h> |
18110 #endif | 20782 #endif |
18111 | 20783 |
18112 #undef $ac_func | 20784 #undef $ac_func |
18113 | 20785 |
18114 /* Override any gcc2 internal prototype to avoid an error. */ | 20786 /* Override any GCC internal prototype to avoid an error. |
20787 Use char because int might match the return type of a GCC | |
20788 builtin and then its argument prototype would still apply. */ | |
18115 #ifdef __cplusplus | 20789 #ifdef __cplusplus |
18116 extern "C" | 20790 extern "C" |
18117 { | |
18118 #endif | 20791 #endif |
18119 /* We use char because int might match the return type of a gcc2 | |
18120 builtin and then its argument prototype would still apply. */ | |
18121 char $ac_func (); | 20792 char $ac_func (); |
18122 /* The GNU C library defines this for functions which it implements | 20793 /* The GNU C library defines this for functions which it implements |
18123 to always fail with ENOSYS. Some functions are actually named | 20794 to always fail with ENOSYS. Some functions are actually named |
18124 something starting with __ and the normal name is an alias. */ | 20795 something starting with __ and the normal name is an alias. */ |
18125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 20796 #if defined __stub_$ac_func || defined __stub___$ac_func |
18126 choke me | 20797 choke me |
18127 #else | |
18128 char (*f) () = $ac_func; | |
18129 #endif | |
18130 #ifdef __cplusplus | |
18131 } | |
18132 #endif | 20798 #endif |
18133 | 20799 |
18134 int | 20800 int |
18135 main () | 20801 main () |
18136 { | 20802 { |
18137 return f != $ac_func; | 20803 return $ac_func (); |
18138 ; | 20804 ; |
18139 return 0; | 20805 return 0; |
18140 } | 20806 } |
18141 _ACEOF | 20807 _ACEOF |
18142 rm -f conftest.$ac_objext conftest$ac_exeext | 20808 rm -f conftest.$ac_objext conftest$ac_exeext |
18143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20809 if { (ac_try="$ac_link" |
18144 (eval $ac_link) 2>conftest.er1 | 20810 case "(($ac_try" in |
20811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20812 *) ac_try_echo=$ac_try;; | |
20813 esac | |
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20815 (eval "$ac_link") 2>conftest.er1 | |
18145 ac_status=$? | 20816 ac_status=$? |
18146 grep -v '^ *+' conftest.er1 >conftest.err | 20817 grep -v '^ *+' conftest.er1 >conftest.err |
18147 rm -f conftest.er1 | 20818 rm -f conftest.er1 |
18148 cat conftest.err >&5 | 20819 cat conftest.err >&5 |
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18150 (exit $ac_status); } && | 20821 (exit $ac_status); } && |
18151 { ac_try='test -z "$ac_c_werror_flag" | 20822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18152 || test ! -s conftest.err' | 20823 { (case "(($ac_try" in |
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18154 (eval $ac_try) 2>&5 | 20825 *) ac_try_echo=$ac_try;; |
20826 esac | |
20827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20828 (eval "$ac_try") 2>&5 | |
18155 ac_status=$? | 20829 ac_status=$? |
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18157 (exit $ac_status); }; } && | 20831 (exit $ac_status); }; } && |
18158 { ac_try='test -s conftest$ac_exeext' | 20832 { ac_try='test -s conftest$ac_exeext' |
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20833 { (case "(($ac_try" in |
18160 (eval $ac_try) 2>&5 | 20834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20835 *) ac_try_echo=$ac_try;; | |
20836 esac | |
20837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20838 (eval "$ac_try") 2>&5 | |
18161 ac_status=$? | 20839 ac_status=$? |
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18163 (exit $ac_status); }; }; then | 20841 (exit $ac_status); }; }; then |
18164 eval "$as_ac_var=yes" | 20842 eval "$as_ac_var=yes" |
18165 else | 20843 else |
18166 echo "$as_me: failed program was:" >&5 | 20844 echo "$as_me: failed program was:" >&5 |
18167 sed 's/^/| /' conftest.$ac_ext >&5 | 20845 sed 's/^/| /' conftest.$ac_ext >&5 |
18168 | 20846 |
18169 eval "$as_ac_var=no" | 20847 eval "$as_ac_var=no" |
18170 fi | 20848 fi |
18171 rm -f conftest.err conftest.$ac_objext \ | 20849 |
20850 rm -f core conftest.err conftest.$ac_objext \ | |
18172 conftest$ac_exeext conftest.$ac_ext | 20851 conftest$ac_exeext conftest.$ac_ext |
18173 fi | 20852 fi |
18174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 20853 ac_res=`eval echo '${'$as_ac_var'}'` |
18175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 20854 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20855 echo "${ECHO_T}$ac_res" >&6; } | |
18176 if test `eval echo '${'$as_ac_var'}'` = yes; then | 20856 if test `eval echo '${'$as_ac_var'}'` = yes; then |
18177 cat >>confdefs.h <<_ACEOF | 20857 cat >>confdefs.h <<_ACEOF |
18178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 20858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
18179 _ACEOF | 20859 _ACEOF |
18180 | 20860 |
18185 # PTY-related GNU extensions. | 20865 # PTY-related GNU extensions. |
18186 | 20866 |
18187 for ac_func in getpt | 20867 for ac_func in getpt |
18188 do | 20868 do |
18189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 20869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
18190 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 20870 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
18191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 20871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
18192 if eval "test \"\${$as_ac_var+set}\" = set"; then | 20872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
18193 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20873 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18194 else | 20874 else |
18195 cat >conftest.$ac_ext <<_ACEOF | 20875 cat >conftest.$ac_ext <<_ACEOF |
18196 /* confdefs.h. */ | 20876 /* confdefs.h. */ |
18197 _ACEOF | 20877 _ACEOF |
18213 # include <assert.h> | 20893 # include <assert.h> |
18214 #endif | 20894 #endif |
18215 | 20895 |
18216 #undef $ac_func | 20896 #undef $ac_func |
18217 | 20897 |
18218 /* Override any gcc2 internal prototype to avoid an error. */ | 20898 /* Override any GCC internal prototype to avoid an error. |
20899 Use char because int might match the return type of a GCC | |
20900 builtin and then its argument prototype would still apply. */ | |
18219 #ifdef __cplusplus | 20901 #ifdef __cplusplus |
18220 extern "C" | 20902 extern "C" |
18221 { | |
18222 #endif | 20903 #endif |
18223 /* We use char because int might match the return type of a gcc2 | |
18224 builtin and then its argument prototype would still apply. */ | |
18225 char $ac_func (); | 20904 char $ac_func (); |
18226 /* The GNU C library defines this for functions which it implements | 20905 /* The GNU C library defines this for functions which it implements |
18227 to always fail with ENOSYS. Some functions are actually named | 20906 to always fail with ENOSYS. Some functions are actually named |
18228 something starting with __ and the normal name is an alias. */ | 20907 something starting with __ and the normal name is an alias. */ |
18229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 20908 #if defined __stub_$ac_func || defined __stub___$ac_func |
18230 choke me | 20909 choke me |
18231 #else | |
18232 char (*f) () = $ac_func; | |
18233 #endif | |
18234 #ifdef __cplusplus | |
18235 } | |
18236 #endif | 20910 #endif |
18237 | 20911 |
18238 int | 20912 int |
18239 main () | 20913 main () |
18240 { | 20914 { |
18241 return f != $ac_func; | 20915 return $ac_func (); |
18242 ; | 20916 ; |
18243 return 0; | 20917 return 0; |
18244 } | 20918 } |
18245 _ACEOF | 20919 _ACEOF |
18246 rm -f conftest.$ac_objext conftest$ac_exeext | 20920 rm -f conftest.$ac_objext conftest$ac_exeext |
18247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 20921 if { (ac_try="$ac_link" |
18248 (eval $ac_link) 2>conftest.er1 | 20922 case "(($ac_try" in |
20923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
20924 *) ac_try_echo=$ac_try;; | |
20925 esac | |
20926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20927 (eval "$ac_link") 2>conftest.er1 | |
18249 ac_status=$? | 20928 ac_status=$? |
18250 grep -v '^ *+' conftest.er1 >conftest.err | 20929 grep -v '^ *+' conftest.er1 >conftest.err |
18251 rm -f conftest.er1 | 20930 rm -f conftest.er1 |
18252 cat conftest.err >&5 | 20931 cat conftest.err >&5 |
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18254 (exit $ac_status); } && | 20933 (exit $ac_status); } && |
18255 { ac_try='test -z "$ac_c_werror_flag" | 20934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18256 || test ! -s conftest.err' | 20935 { (case "(($ac_try" in |
18257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18258 (eval $ac_try) 2>&5 | 20937 *) ac_try_echo=$ac_try;; |
20938 esac | |
20939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20940 (eval "$ac_try") 2>&5 | |
18259 ac_status=$? | 20941 ac_status=$? |
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18261 (exit $ac_status); }; } && | 20943 (exit $ac_status); }; } && |
18262 { ac_try='test -s conftest$ac_exeext' | 20944 { ac_try='test -s conftest$ac_exeext' |
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 20945 { (case "(($ac_try" in |
18264 (eval $ac_try) 2>&5 | 20946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20947 *) ac_try_echo=$ac_try;; | |
20948 esac | |
20949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
20950 (eval "$ac_try") 2>&5 | |
18265 ac_status=$? | 20951 ac_status=$? |
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18267 (exit $ac_status); }; }; then | 20953 (exit $ac_status); }; }; then |
18268 eval "$as_ac_var=yes" | 20954 eval "$as_ac_var=yes" |
18269 else | 20955 else |
18270 echo "$as_me: failed program was:" >&5 | 20956 echo "$as_me: failed program was:" >&5 |
18271 sed 's/^/| /' conftest.$ac_ext >&5 | 20957 sed 's/^/| /' conftest.$ac_ext >&5 |
18272 | 20958 |
18273 eval "$as_ac_var=no" | 20959 eval "$as_ac_var=no" |
18274 fi | 20960 fi |
18275 rm -f conftest.err conftest.$ac_objext \ | 20961 |
20962 rm -f core conftest.err conftest.$ac_objext \ | |
18276 conftest$ac_exeext conftest.$ac_ext | 20963 conftest$ac_exeext conftest.$ac_ext |
18277 fi | 20964 fi |
18278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 20965 ac_res=`eval echo '${'$as_ac_var'}'` |
18279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 20966 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
20967 echo "${ECHO_T}$ac_res" >&6; } | |
18280 if test `eval echo '${'$as_ac_var'}'` = yes; then | 20968 if test `eval echo '${'$as_ac_var'}'` = yes; then |
18281 cat >>confdefs.h <<_ACEOF | 20969 cat >>confdefs.h <<_ACEOF |
18282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 20970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
18283 _ACEOF | 20971 _ACEOF |
18284 | 20972 |
18289 # Check this now, so that we will NOT find the above functions in ncurses. | 20977 # Check this now, so that we will NOT find the above functions in ncurses. |
18290 # That is because we have not set up to link ncurses in lib-src. | 20978 # That is because we have not set up to link ncurses in lib-src. |
18291 # It's better to believe a function is not available | 20979 # It's better to believe a function is not available |
18292 # than to expect to find it in ncurses. | 20980 # than to expect to find it in ncurses. |
18293 | 20981 |
18294 echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 | 20982 { echo "$as_me:$LINENO: checking for tparm in -lncurses" >&5 |
18295 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6 | 20983 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6; } |
18296 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then | 20984 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then |
18297 echo $ECHO_N "(cached) $ECHO_C" >&6 | 20985 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18298 else | 20986 else |
18299 ac_check_lib_save_LIBS=$LIBS | 20987 ac_check_lib_save_LIBS=$LIBS |
18300 LIBS="-lncurses $LIBS" | 20988 LIBS="-lncurses $LIBS" |
18303 _ACEOF | 20991 _ACEOF |
18304 cat confdefs.h >>conftest.$ac_ext | 20992 cat confdefs.h >>conftest.$ac_ext |
18305 cat >>conftest.$ac_ext <<_ACEOF | 20993 cat >>conftest.$ac_ext <<_ACEOF |
18306 /* end confdefs.h. */ | 20994 /* end confdefs.h. */ |
18307 | 20995 |
18308 /* Override any gcc2 internal prototype to avoid an error. */ | 20996 /* Override any GCC internal prototype to avoid an error. |
20997 Use char because int might match the return type of a GCC | |
20998 builtin and then its argument prototype would still apply. */ | |
18309 #ifdef __cplusplus | 20999 #ifdef __cplusplus |
18310 extern "C" | 21000 extern "C" |
18311 #endif | 21001 #endif |
18312 /* We use char because int might match the return type of a gcc2 | |
18313 builtin and then its argument prototype would still apply. */ | |
18314 char tparm (); | 21002 char tparm (); |
18315 int | 21003 int |
18316 main () | 21004 main () |
18317 { | 21005 { |
18318 tparm (); | 21006 return tparm (); |
18319 ; | 21007 ; |
18320 return 0; | 21008 return 0; |
18321 } | 21009 } |
18322 _ACEOF | 21010 _ACEOF |
18323 rm -f conftest.$ac_objext conftest$ac_exeext | 21011 rm -f conftest.$ac_objext conftest$ac_exeext |
18324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21012 if { (ac_try="$ac_link" |
18325 (eval $ac_link) 2>conftest.er1 | 21013 case "(($ac_try" in |
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21015 *) ac_try_echo=$ac_try;; | |
21016 esac | |
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21018 (eval "$ac_link") 2>conftest.er1 | |
18326 ac_status=$? | 21019 ac_status=$? |
18327 grep -v '^ *+' conftest.er1 >conftest.err | 21020 grep -v '^ *+' conftest.er1 >conftest.err |
18328 rm -f conftest.er1 | 21021 rm -f conftest.er1 |
18329 cat conftest.err >&5 | 21022 cat conftest.err >&5 |
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18331 (exit $ac_status); } && | 21024 (exit $ac_status); } && |
18332 { ac_try='test -z "$ac_c_werror_flag" | 21025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18333 || test ! -s conftest.err' | 21026 { (case "(($ac_try" in |
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18335 (eval $ac_try) 2>&5 | 21028 *) ac_try_echo=$ac_try;; |
21029 esac | |
21030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21031 (eval "$ac_try") 2>&5 | |
18336 ac_status=$? | 21032 ac_status=$? |
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18338 (exit $ac_status); }; } && | 21034 (exit $ac_status); }; } && |
18339 { ac_try='test -s conftest$ac_exeext' | 21035 { ac_try='test -s conftest$ac_exeext' |
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21036 { (case "(($ac_try" in |
18341 (eval $ac_try) 2>&5 | 21037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21038 *) ac_try_echo=$ac_try;; | |
21039 esac | |
21040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21041 (eval "$ac_try") 2>&5 | |
18342 ac_status=$? | 21042 ac_status=$? |
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18344 (exit $ac_status); }; }; then | 21044 (exit $ac_status); }; }; then |
18345 ac_cv_lib_ncurses_tparm=yes | 21045 ac_cv_lib_ncurses_tparm=yes |
18346 else | 21046 else |
18347 echo "$as_me: failed program was:" >&5 | 21047 echo "$as_me: failed program was:" >&5 |
18348 sed 's/^/| /' conftest.$ac_ext >&5 | 21048 sed 's/^/| /' conftest.$ac_ext >&5 |
18349 | 21049 |
18350 ac_cv_lib_ncurses_tparm=no | 21050 ac_cv_lib_ncurses_tparm=no |
18351 fi | 21051 fi |
18352 rm -f conftest.err conftest.$ac_objext \ | 21052 |
21053 rm -f core conftest.err conftest.$ac_objext \ | |
18353 conftest$ac_exeext conftest.$ac_ext | 21054 conftest$ac_exeext conftest.$ac_ext |
18354 LIBS=$ac_check_lib_save_LIBS | 21055 LIBS=$ac_check_lib_save_LIBS |
18355 fi | 21056 fi |
18356 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 | 21057 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tparm" >&5 |
18357 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6 | 21058 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6; } |
18358 if test $ac_cv_lib_ncurses_tparm = yes; then | 21059 if test $ac_cv_lib_ncurses_tparm = yes; then |
18359 cat >>confdefs.h <<_ACEOF | 21060 cat >>confdefs.h <<_ACEOF |
18360 #define HAVE_LIBNCURSES 1 | 21061 #define HAVE_LIBNCURSES 1 |
18361 _ACEOF | 21062 _ACEOF |
18362 | 21063 |
18367 | 21068 |
18368 # Do we need the Hesiod library to provide the support routines? | 21069 # Do we need the Hesiod library to provide the support routines? |
18369 if test "$with_hesiod" = yes ; then | 21070 if test "$with_hesiod" = yes ; then |
18370 # Don't set $LIBS here -- see comments above. | 21071 # Don't set $LIBS here -- see comments above. |
18371 resolv=no | 21072 resolv=no |
18372 echo "$as_me:$LINENO: checking for res_send" >&5 | 21073 { echo "$as_me:$LINENO: checking for res_send" >&5 |
18373 echo $ECHO_N "checking for res_send... $ECHO_C" >&6 | 21074 echo $ECHO_N "checking for res_send... $ECHO_C" >&6; } |
18374 if test "${ac_cv_func_res_send+set}" = set; then | 21075 if test "${ac_cv_func_res_send+set}" = set; then |
18375 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21076 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18376 else | 21077 else |
18377 cat >conftest.$ac_ext <<_ACEOF | 21078 cat >conftest.$ac_ext <<_ACEOF |
18378 /* confdefs.h. */ | 21079 /* confdefs.h. */ |
18395 # include <assert.h> | 21096 # include <assert.h> |
18396 #endif | 21097 #endif |
18397 | 21098 |
18398 #undef res_send | 21099 #undef res_send |
18399 | 21100 |
18400 /* Override any gcc2 internal prototype to avoid an error. */ | 21101 /* Override any GCC internal prototype to avoid an error. |
21102 Use char because int might match the return type of a GCC | |
21103 builtin and then its argument prototype would still apply. */ | |
18401 #ifdef __cplusplus | 21104 #ifdef __cplusplus |
18402 extern "C" | 21105 extern "C" |
18403 { | |
18404 #endif | 21106 #endif |
18405 /* We use char because int might match the return type of a gcc2 | |
18406 builtin and then its argument prototype would still apply. */ | |
18407 char res_send (); | 21107 char res_send (); |
18408 /* The GNU C library defines this for functions which it implements | 21108 /* The GNU C library defines this for functions which it implements |
18409 to always fail with ENOSYS. Some functions are actually named | 21109 to always fail with ENOSYS. Some functions are actually named |
18410 something starting with __ and the normal name is an alias. */ | 21110 something starting with __ and the normal name is an alias. */ |
18411 #if defined (__stub_res_send) || defined (__stub___res_send) | 21111 #if defined __stub_res_send || defined __stub___res_send |
18412 choke me | 21112 choke me |
18413 #else | |
18414 char (*f) () = res_send; | |
18415 #endif | |
18416 #ifdef __cplusplus | |
18417 } | |
18418 #endif | 21113 #endif |
18419 | 21114 |
18420 int | 21115 int |
18421 main () | 21116 main () |
18422 { | 21117 { |
18423 return f != res_send; | 21118 return res_send (); |
18424 ; | 21119 ; |
18425 return 0; | 21120 return 0; |
18426 } | 21121 } |
18427 _ACEOF | 21122 _ACEOF |
18428 rm -f conftest.$ac_objext conftest$ac_exeext | 21123 rm -f conftest.$ac_objext conftest$ac_exeext |
18429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21124 if { (ac_try="$ac_link" |
18430 (eval $ac_link) 2>conftest.er1 | 21125 case "(($ac_try" in |
21126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21127 *) ac_try_echo=$ac_try;; | |
21128 esac | |
21129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21130 (eval "$ac_link") 2>conftest.er1 | |
18431 ac_status=$? | 21131 ac_status=$? |
18432 grep -v '^ *+' conftest.er1 >conftest.err | 21132 grep -v '^ *+' conftest.er1 >conftest.err |
18433 rm -f conftest.er1 | 21133 rm -f conftest.er1 |
18434 cat conftest.err >&5 | 21134 cat conftest.err >&5 |
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18436 (exit $ac_status); } && | 21136 (exit $ac_status); } && |
18437 { ac_try='test -z "$ac_c_werror_flag" | 21137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18438 || test ! -s conftest.err' | 21138 { (case "(($ac_try" in |
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18440 (eval $ac_try) 2>&5 | 21140 *) ac_try_echo=$ac_try;; |
21141 esac | |
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21143 (eval "$ac_try") 2>&5 | |
18441 ac_status=$? | 21144 ac_status=$? |
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18443 (exit $ac_status); }; } && | 21146 (exit $ac_status); }; } && |
18444 { ac_try='test -s conftest$ac_exeext' | 21147 { ac_try='test -s conftest$ac_exeext' |
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21148 { (case "(($ac_try" in |
18446 (eval $ac_try) 2>&5 | 21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21150 *) ac_try_echo=$ac_try;; | |
21151 esac | |
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21153 (eval "$ac_try") 2>&5 | |
18447 ac_status=$? | 21154 ac_status=$? |
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18449 (exit $ac_status); }; }; then | 21156 (exit $ac_status); }; }; then |
18450 ac_cv_func_res_send=yes | 21157 ac_cv_func_res_send=yes |
18451 else | 21158 else |
18452 echo "$as_me: failed program was:" >&5 | 21159 echo "$as_me: failed program was:" >&5 |
18453 sed 's/^/| /' conftest.$ac_ext >&5 | 21160 sed 's/^/| /' conftest.$ac_ext >&5 |
18454 | 21161 |
18455 ac_cv_func_res_send=no | 21162 ac_cv_func_res_send=no |
18456 fi | 21163 fi |
18457 rm -f conftest.err conftest.$ac_objext \ | 21164 |
21165 rm -f core conftest.err conftest.$ac_objext \ | |
18458 conftest$ac_exeext conftest.$ac_ext | 21166 conftest$ac_exeext conftest.$ac_ext |
18459 fi | 21167 fi |
18460 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 | 21168 { echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5 |
18461 echo "${ECHO_T}$ac_cv_func_res_send" >&6 | 21169 echo "${ECHO_T}$ac_cv_func_res_send" >&6; } |
18462 if test $ac_cv_func_res_send = yes; then | 21170 if test $ac_cv_func_res_send = yes; then |
18463 : | 21171 : |
18464 else | 21172 else |
18465 echo "$as_me:$LINENO: checking for __res_send" >&5 | 21173 { echo "$as_me:$LINENO: checking for __res_send" >&5 |
18466 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6 | 21174 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6; } |
18467 if test "${ac_cv_func___res_send+set}" = set; then | 21175 if test "${ac_cv_func___res_send+set}" = set; then |
18468 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21176 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18469 else | 21177 else |
18470 cat >conftest.$ac_ext <<_ACEOF | 21178 cat >conftest.$ac_ext <<_ACEOF |
18471 /* confdefs.h. */ | 21179 /* confdefs.h. */ |
18488 # include <assert.h> | 21196 # include <assert.h> |
18489 #endif | 21197 #endif |
18490 | 21198 |
18491 #undef __res_send | 21199 #undef __res_send |
18492 | 21200 |
18493 /* Override any gcc2 internal prototype to avoid an error. */ | 21201 /* Override any GCC internal prototype to avoid an error. |
21202 Use char because int might match the return type of a GCC | |
21203 builtin and then its argument prototype would still apply. */ | |
18494 #ifdef __cplusplus | 21204 #ifdef __cplusplus |
18495 extern "C" | 21205 extern "C" |
18496 { | |
18497 #endif | 21206 #endif |
18498 /* We use char because int might match the return type of a gcc2 | |
18499 builtin and then its argument prototype would still apply. */ | |
18500 char __res_send (); | 21207 char __res_send (); |
18501 /* The GNU C library defines this for functions which it implements | 21208 /* The GNU C library defines this for functions which it implements |
18502 to always fail with ENOSYS. Some functions are actually named | 21209 to always fail with ENOSYS. Some functions are actually named |
18503 something starting with __ and the normal name is an alias. */ | 21210 something starting with __ and the normal name is an alias. */ |
18504 #if defined (__stub___res_send) || defined (__stub_____res_send) | 21211 #if defined __stub___res_send || defined __stub_____res_send |
18505 choke me | 21212 choke me |
18506 #else | |
18507 char (*f) () = __res_send; | |
18508 #endif | |
18509 #ifdef __cplusplus | |
18510 } | |
18511 #endif | 21213 #endif |
18512 | 21214 |
18513 int | 21215 int |
18514 main () | 21216 main () |
18515 { | 21217 { |
18516 return f != __res_send; | 21218 return __res_send (); |
18517 ; | 21219 ; |
18518 return 0; | 21220 return 0; |
18519 } | 21221 } |
18520 _ACEOF | 21222 _ACEOF |
18521 rm -f conftest.$ac_objext conftest$ac_exeext | 21223 rm -f conftest.$ac_objext conftest$ac_exeext |
18522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21224 if { (ac_try="$ac_link" |
18523 (eval $ac_link) 2>conftest.er1 | 21225 case "(($ac_try" in |
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21227 *) ac_try_echo=$ac_try;; | |
21228 esac | |
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21230 (eval "$ac_link") 2>conftest.er1 | |
18524 ac_status=$? | 21231 ac_status=$? |
18525 grep -v '^ *+' conftest.er1 >conftest.err | 21232 grep -v '^ *+' conftest.er1 >conftest.err |
18526 rm -f conftest.er1 | 21233 rm -f conftest.er1 |
18527 cat conftest.err >&5 | 21234 cat conftest.err >&5 |
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18529 (exit $ac_status); } && | 21236 (exit $ac_status); } && |
18530 { ac_try='test -z "$ac_c_werror_flag" | 21237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18531 || test ! -s conftest.err' | 21238 { (case "(($ac_try" in |
18532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18533 (eval $ac_try) 2>&5 | 21240 *) ac_try_echo=$ac_try;; |
21241 esac | |
21242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21243 (eval "$ac_try") 2>&5 | |
18534 ac_status=$? | 21244 ac_status=$? |
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18536 (exit $ac_status); }; } && | 21246 (exit $ac_status); }; } && |
18537 { ac_try='test -s conftest$ac_exeext' | 21247 { ac_try='test -s conftest$ac_exeext' |
18538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21248 { (case "(($ac_try" in |
18539 (eval $ac_try) 2>&5 | 21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21250 *) ac_try_echo=$ac_try;; | |
21251 esac | |
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21253 (eval "$ac_try") 2>&5 | |
18540 ac_status=$? | 21254 ac_status=$? |
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18542 (exit $ac_status); }; }; then | 21256 (exit $ac_status); }; }; then |
18543 ac_cv_func___res_send=yes | 21257 ac_cv_func___res_send=yes |
18544 else | 21258 else |
18545 echo "$as_me: failed program was:" >&5 | 21259 echo "$as_me: failed program was:" >&5 |
18546 sed 's/^/| /' conftest.$ac_ext >&5 | 21260 sed 's/^/| /' conftest.$ac_ext >&5 |
18547 | 21261 |
18548 ac_cv_func___res_send=no | 21262 ac_cv_func___res_send=no |
18549 fi | 21263 fi |
18550 rm -f conftest.err conftest.$ac_objext \ | 21264 |
21265 rm -f core conftest.err conftest.$ac_objext \ | |
18551 conftest$ac_exeext conftest.$ac_ext | 21266 conftest$ac_exeext conftest.$ac_ext |
18552 fi | 21267 fi |
18553 echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 | 21268 { echo "$as_me:$LINENO: result: $ac_cv_func___res_send" >&5 |
18554 echo "${ECHO_T}$ac_cv_func___res_send" >&6 | 21269 echo "${ECHO_T}$ac_cv_func___res_send" >&6; } |
18555 if test $ac_cv_func___res_send = yes; then | 21270 if test $ac_cv_func___res_send = yes; then |
18556 : | 21271 : |
18557 else | 21272 else |
18558 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 | 21273 { echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5 |
18559 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6 | 21274 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6; } |
18560 if test "${ac_cv_lib_resolv_res_send+set}" = set; then | 21275 if test "${ac_cv_lib_resolv_res_send+set}" = set; then |
18561 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21276 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18562 else | 21277 else |
18563 ac_check_lib_save_LIBS=$LIBS | 21278 ac_check_lib_save_LIBS=$LIBS |
18564 LIBS="-lresolv $LIBS" | 21279 LIBS="-lresolv $LIBS" |
18567 _ACEOF | 21282 _ACEOF |
18568 cat confdefs.h >>conftest.$ac_ext | 21283 cat confdefs.h >>conftest.$ac_ext |
18569 cat >>conftest.$ac_ext <<_ACEOF | 21284 cat >>conftest.$ac_ext <<_ACEOF |
18570 /* end confdefs.h. */ | 21285 /* end confdefs.h. */ |
18571 | 21286 |
18572 /* Override any gcc2 internal prototype to avoid an error. */ | 21287 /* Override any GCC internal prototype to avoid an error. |
21288 Use char because int might match the return type of a GCC | |
21289 builtin and then its argument prototype would still apply. */ | |
18573 #ifdef __cplusplus | 21290 #ifdef __cplusplus |
18574 extern "C" | 21291 extern "C" |
18575 #endif | 21292 #endif |
18576 /* We use char because int might match the return type of a gcc2 | |
18577 builtin and then its argument prototype would still apply. */ | |
18578 char res_send (); | 21293 char res_send (); |
18579 int | 21294 int |
18580 main () | 21295 main () |
18581 { | 21296 { |
18582 res_send (); | 21297 return res_send (); |
18583 ; | 21298 ; |
18584 return 0; | 21299 return 0; |
18585 } | 21300 } |
18586 _ACEOF | 21301 _ACEOF |
18587 rm -f conftest.$ac_objext conftest$ac_exeext | 21302 rm -f conftest.$ac_objext conftest$ac_exeext |
18588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21303 if { (ac_try="$ac_link" |
18589 (eval $ac_link) 2>conftest.er1 | 21304 case "(($ac_try" in |
21305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21306 *) ac_try_echo=$ac_try;; | |
21307 esac | |
21308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21309 (eval "$ac_link") 2>conftest.er1 | |
18590 ac_status=$? | 21310 ac_status=$? |
18591 grep -v '^ *+' conftest.er1 >conftest.err | 21311 grep -v '^ *+' conftest.er1 >conftest.err |
18592 rm -f conftest.er1 | 21312 rm -f conftest.er1 |
18593 cat conftest.err >&5 | 21313 cat conftest.err >&5 |
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18595 (exit $ac_status); } && | 21315 (exit $ac_status); } && |
18596 { ac_try='test -z "$ac_c_werror_flag" | 21316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18597 || test ! -s conftest.err' | 21317 { (case "(($ac_try" in |
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18599 (eval $ac_try) 2>&5 | 21319 *) ac_try_echo=$ac_try;; |
21320 esac | |
21321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21322 (eval "$ac_try") 2>&5 | |
18600 ac_status=$? | 21323 ac_status=$? |
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18602 (exit $ac_status); }; } && | 21325 (exit $ac_status); }; } && |
18603 { ac_try='test -s conftest$ac_exeext' | 21326 { ac_try='test -s conftest$ac_exeext' |
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21327 { (case "(($ac_try" in |
18605 (eval $ac_try) 2>&5 | 21328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21329 *) ac_try_echo=$ac_try;; | |
21330 esac | |
21331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21332 (eval "$ac_try") 2>&5 | |
18606 ac_status=$? | 21333 ac_status=$? |
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18608 (exit $ac_status); }; }; then | 21335 (exit $ac_status); }; }; then |
18609 ac_cv_lib_resolv_res_send=yes | 21336 ac_cv_lib_resolv_res_send=yes |
18610 else | 21337 else |
18611 echo "$as_me: failed program was:" >&5 | 21338 echo "$as_me: failed program was:" >&5 |
18612 sed 's/^/| /' conftest.$ac_ext >&5 | 21339 sed 's/^/| /' conftest.$ac_ext >&5 |
18613 | 21340 |
18614 ac_cv_lib_resolv_res_send=no | 21341 ac_cv_lib_resolv_res_send=no |
18615 fi | 21342 fi |
18616 rm -f conftest.err conftest.$ac_objext \ | 21343 |
21344 rm -f core conftest.err conftest.$ac_objext \ | |
18617 conftest$ac_exeext conftest.$ac_ext | 21345 conftest$ac_exeext conftest.$ac_ext |
18618 LIBS=$ac_check_lib_save_LIBS | 21346 LIBS=$ac_check_lib_save_LIBS |
18619 fi | 21347 fi |
18620 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 | 21348 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5 |
18621 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6 | 21349 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6; } |
18622 if test $ac_cv_lib_resolv_res_send = yes; then | 21350 if test $ac_cv_lib_resolv_res_send = yes; then |
18623 resolv=yes | 21351 resolv=yes |
18624 else | 21352 else |
18625 echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 | 21353 { echo "$as_me:$LINENO: checking for __res_send in -lresolv" >&5 |
18626 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6 | 21354 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6; } |
18627 if test "${ac_cv_lib_resolv___res_send+set}" = set; then | 21355 if test "${ac_cv_lib_resolv___res_send+set}" = set; then |
18628 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21356 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18629 else | 21357 else |
18630 ac_check_lib_save_LIBS=$LIBS | 21358 ac_check_lib_save_LIBS=$LIBS |
18631 LIBS="-lresolv $LIBS" | 21359 LIBS="-lresolv $LIBS" |
18634 _ACEOF | 21362 _ACEOF |
18635 cat confdefs.h >>conftest.$ac_ext | 21363 cat confdefs.h >>conftest.$ac_ext |
18636 cat >>conftest.$ac_ext <<_ACEOF | 21364 cat >>conftest.$ac_ext <<_ACEOF |
18637 /* end confdefs.h. */ | 21365 /* end confdefs.h. */ |
18638 | 21366 |
18639 /* Override any gcc2 internal prototype to avoid an error. */ | 21367 /* Override any GCC internal prototype to avoid an error. |
21368 Use char because int might match the return type of a GCC | |
21369 builtin and then its argument prototype would still apply. */ | |
18640 #ifdef __cplusplus | 21370 #ifdef __cplusplus |
18641 extern "C" | 21371 extern "C" |
18642 #endif | 21372 #endif |
18643 /* We use char because int might match the return type of a gcc2 | |
18644 builtin and then its argument prototype would still apply. */ | |
18645 char __res_send (); | 21373 char __res_send (); |
18646 int | 21374 int |
18647 main () | 21375 main () |
18648 { | 21376 { |
18649 __res_send (); | 21377 return __res_send (); |
18650 ; | 21378 ; |
18651 return 0; | 21379 return 0; |
18652 } | 21380 } |
18653 _ACEOF | 21381 _ACEOF |
18654 rm -f conftest.$ac_objext conftest$ac_exeext | 21382 rm -f conftest.$ac_objext conftest$ac_exeext |
18655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21383 if { (ac_try="$ac_link" |
18656 (eval $ac_link) 2>conftest.er1 | 21384 case "(($ac_try" in |
21385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21386 *) ac_try_echo=$ac_try;; | |
21387 esac | |
21388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21389 (eval "$ac_link") 2>conftest.er1 | |
18657 ac_status=$? | 21390 ac_status=$? |
18658 grep -v '^ *+' conftest.er1 >conftest.err | 21391 grep -v '^ *+' conftest.er1 >conftest.err |
18659 rm -f conftest.er1 | 21392 rm -f conftest.er1 |
18660 cat conftest.err >&5 | 21393 cat conftest.err >&5 |
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18662 (exit $ac_status); } && | 21395 (exit $ac_status); } && |
18663 { ac_try='test -z "$ac_c_werror_flag" | 21396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18664 || test ! -s conftest.err' | 21397 { (case "(($ac_try" in |
18665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18666 (eval $ac_try) 2>&5 | 21399 *) ac_try_echo=$ac_try;; |
21400 esac | |
21401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21402 (eval "$ac_try") 2>&5 | |
18667 ac_status=$? | 21403 ac_status=$? |
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18669 (exit $ac_status); }; } && | 21405 (exit $ac_status); }; } && |
18670 { ac_try='test -s conftest$ac_exeext' | 21406 { ac_try='test -s conftest$ac_exeext' |
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21407 { (case "(($ac_try" in |
18672 (eval $ac_try) 2>&5 | 21408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21409 *) ac_try_echo=$ac_try;; | |
21410 esac | |
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21412 (eval "$ac_try") 2>&5 | |
18673 ac_status=$? | 21413 ac_status=$? |
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18675 (exit $ac_status); }; }; then | 21415 (exit $ac_status); }; }; then |
18676 ac_cv_lib_resolv___res_send=yes | 21416 ac_cv_lib_resolv___res_send=yes |
18677 else | 21417 else |
18678 echo "$as_me: failed program was:" >&5 | 21418 echo "$as_me: failed program was:" >&5 |
18679 sed 's/^/| /' conftest.$ac_ext >&5 | 21419 sed 's/^/| /' conftest.$ac_ext >&5 |
18680 | 21420 |
18681 ac_cv_lib_resolv___res_send=no | 21421 ac_cv_lib_resolv___res_send=no |
18682 fi | 21422 fi |
18683 rm -f conftest.err conftest.$ac_objext \ | 21423 |
21424 rm -f core conftest.err conftest.$ac_objext \ | |
18684 conftest$ac_exeext conftest.$ac_ext | 21425 conftest$ac_exeext conftest.$ac_ext |
18685 LIBS=$ac_check_lib_save_LIBS | 21426 LIBS=$ac_check_lib_save_LIBS |
18686 fi | 21427 fi |
18687 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 | 21428 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___res_send" >&5 |
18688 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6 | 21429 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6; } |
18689 if test $ac_cv_lib_resolv___res_send = yes; then | 21430 if test $ac_cv_lib_resolv___res_send = yes; then |
18690 resolv=yes | 21431 resolv=yes |
18691 fi | 21432 fi |
18692 | 21433 |
18693 fi | 21434 fi |
18704 _ACEOF | 21445 _ACEOF |
18705 | 21446 |
18706 else | 21447 else |
18707 RESOLVLIB= | 21448 RESOLVLIB= |
18708 fi | 21449 fi |
18709 echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 | 21450 { echo "$as_me:$LINENO: checking for hes_getmailhost" >&5 |
18710 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6 | 21451 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6; } |
18711 if test "${ac_cv_func_hes_getmailhost+set}" = set; then | 21452 if test "${ac_cv_func_hes_getmailhost+set}" = set; then |
18712 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21453 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18713 else | 21454 else |
18714 cat >conftest.$ac_ext <<_ACEOF | 21455 cat >conftest.$ac_ext <<_ACEOF |
18715 /* confdefs.h. */ | 21456 /* confdefs.h. */ |
18732 # include <assert.h> | 21473 # include <assert.h> |
18733 #endif | 21474 #endif |
18734 | 21475 |
18735 #undef hes_getmailhost | 21476 #undef hes_getmailhost |
18736 | 21477 |
18737 /* Override any gcc2 internal prototype to avoid an error. */ | 21478 /* Override any GCC internal prototype to avoid an error. |
21479 Use char because int might match the return type of a GCC | |
21480 builtin and then its argument prototype would still apply. */ | |
18738 #ifdef __cplusplus | 21481 #ifdef __cplusplus |
18739 extern "C" | 21482 extern "C" |
18740 { | |
18741 #endif | 21483 #endif |
18742 /* We use char because int might match the return type of a gcc2 | |
18743 builtin and then its argument prototype would still apply. */ | |
18744 char hes_getmailhost (); | 21484 char hes_getmailhost (); |
18745 /* The GNU C library defines this for functions which it implements | 21485 /* The GNU C library defines this for functions which it implements |
18746 to always fail with ENOSYS. Some functions are actually named | 21486 to always fail with ENOSYS. Some functions are actually named |
18747 something starting with __ and the normal name is an alias. */ | 21487 something starting with __ and the normal name is an alias. */ |
18748 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost) | 21488 #if defined __stub_hes_getmailhost || defined __stub___hes_getmailhost |
18749 choke me | 21489 choke me |
18750 #else | |
18751 char (*f) () = hes_getmailhost; | |
18752 #endif | |
18753 #ifdef __cplusplus | |
18754 } | |
18755 #endif | 21490 #endif |
18756 | 21491 |
18757 int | 21492 int |
18758 main () | 21493 main () |
18759 { | 21494 { |
18760 return f != hes_getmailhost; | 21495 return hes_getmailhost (); |
18761 ; | 21496 ; |
18762 return 0; | 21497 return 0; |
18763 } | 21498 } |
18764 _ACEOF | 21499 _ACEOF |
18765 rm -f conftest.$ac_objext conftest$ac_exeext | 21500 rm -f conftest.$ac_objext conftest$ac_exeext |
18766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21501 if { (ac_try="$ac_link" |
18767 (eval $ac_link) 2>conftest.er1 | 21502 case "(($ac_try" in |
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21504 *) ac_try_echo=$ac_try;; | |
21505 esac | |
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21507 (eval "$ac_link") 2>conftest.er1 | |
18768 ac_status=$? | 21508 ac_status=$? |
18769 grep -v '^ *+' conftest.er1 >conftest.err | 21509 grep -v '^ *+' conftest.er1 >conftest.err |
18770 rm -f conftest.er1 | 21510 rm -f conftest.er1 |
18771 cat conftest.err >&5 | 21511 cat conftest.err >&5 |
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18773 (exit $ac_status); } && | 21513 (exit $ac_status); } && |
18774 { ac_try='test -z "$ac_c_werror_flag" | 21514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18775 || test ! -s conftest.err' | 21515 { (case "(($ac_try" in |
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18777 (eval $ac_try) 2>&5 | 21517 *) ac_try_echo=$ac_try;; |
21518 esac | |
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21520 (eval "$ac_try") 2>&5 | |
18778 ac_status=$? | 21521 ac_status=$? |
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18780 (exit $ac_status); }; } && | 21523 (exit $ac_status); }; } && |
18781 { ac_try='test -s conftest$ac_exeext' | 21524 { ac_try='test -s conftest$ac_exeext' |
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21525 { (case "(($ac_try" in |
18783 (eval $ac_try) 2>&5 | 21526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21527 *) ac_try_echo=$ac_try;; | |
21528 esac | |
21529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21530 (eval "$ac_try") 2>&5 | |
18784 ac_status=$? | 21531 ac_status=$? |
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18786 (exit $ac_status); }; }; then | 21533 (exit $ac_status); }; }; then |
18787 ac_cv_func_hes_getmailhost=yes | 21534 ac_cv_func_hes_getmailhost=yes |
18788 else | 21535 else |
18789 echo "$as_me: failed program was:" >&5 | 21536 echo "$as_me: failed program was:" >&5 |
18790 sed 's/^/| /' conftest.$ac_ext >&5 | 21537 sed 's/^/| /' conftest.$ac_ext >&5 |
18791 | 21538 |
18792 ac_cv_func_hes_getmailhost=no | 21539 ac_cv_func_hes_getmailhost=no |
18793 fi | 21540 fi |
18794 rm -f conftest.err conftest.$ac_objext \ | 21541 |
21542 rm -f core conftest.err conftest.$ac_objext \ | |
18795 conftest$ac_exeext conftest.$ac_ext | 21543 conftest$ac_exeext conftest.$ac_ext |
18796 fi | 21544 fi |
18797 echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 | 21545 { echo "$as_me:$LINENO: result: $ac_cv_func_hes_getmailhost" >&5 |
18798 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6 | 21546 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6; } |
18799 if test $ac_cv_func_hes_getmailhost = yes; then | 21547 if test $ac_cv_func_hes_getmailhost = yes; then |
18800 : | 21548 : |
18801 else | 21549 else |
18802 echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 | 21550 { echo "$as_me:$LINENO: checking for hes_getmailhost in -lhesiod" >&5 |
18803 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6 | 21551 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6; } |
18804 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then | 21552 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then |
18805 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21553 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18806 else | 21554 else |
18807 ac_check_lib_save_LIBS=$LIBS | 21555 ac_check_lib_save_LIBS=$LIBS |
18808 LIBS="-lhesiod $RESOLVLIB $LIBS" | 21556 LIBS="-lhesiod $RESOLVLIB $LIBS" |
18811 _ACEOF | 21559 _ACEOF |
18812 cat confdefs.h >>conftest.$ac_ext | 21560 cat confdefs.h >>conftest.$ac_ext |
18813 cat >>conftest.$ac_ext <<_ACEOF | 21561 cat >>conftest.$ac_ext <<_ACEOF |
18814 /* end confdefs.h. */ | 21562 /* end confdefs.h. */ |
18815 | 21563 |
18816 /* Override any gcc2 internal prototype to avoid an error. */ | 21564 /* Override any GCC internal prototype to avoid an error. |
21565 Use char because int might match the return type of a GCC | |
21566 builtin and then its argument prototype would still apply. */ | |
18817 #ifdef __cplusplus | 21567 #ifdef __cplusplus |
18818 extern "C" | 21568 extern "C" |
18819 #endif | 21569 #endif |
18820 /* We use char because int might match the return type of a gcc2 | |
18821 builtin and then its argument prototype would still apply. */ | |
18822 char hes_getmailhost (); | 21570 char hes_getmailhost (); |
18823 int | 21571 int |
18824 main () | 21572 main () |
18825 { | 21573 { |
18826 hes_getmailhost (); | 21574 return hes_getmailhost (); |
18827 ; | 21575 ; |
18828 return 0; | 21576 return 0; |
18829 } | 21577 } |
18830 _ACEOF | 21578 _ACEOF |
18831 rm -f conftest.$ac_objext conftest$ac_exeext | 21579 rm -f conftest.$ac_objext conftest$ac_exeext |
18832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21580 if { (ac_try="$ac_link" |
18833 (eval $ac_link) 2>conftest.er1 | 21581 case "(($ac_try" in |
21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21583 *) ac_try_echo=$ac_try;; | |
21584 esac | |
21585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21586 (eval "$ac_link") 2>conftest.er1 | |
18834 ac_status=$? | 21587 ac_status=$? |
18835 grep -v '^ *+' conftest.er1 >conftest.err | 21588 grep -v '^ *+' conftest.er1 >conftest.err |
18836 rm -f conftest.er1 | 21589 rm -f conftest.er1 |
18837 cat conftest.err >&5 | 21590 cat conftest.err >&5 |
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18839 (exit $ac_status); } && | 21592 (exit $ac_status); } && |
18840 { ac_try='test -z "$ac_c_werror_flag" | 21593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18841 || test ! -s conftest.err' | 21594 { (case "(($ac_try" in |
18842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18843 (eval $ac_try) 2>&5 | 21596 *) ac_try_echo=$ac_try;; |
21597 esac | |
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21599 (eval "$ac_try") 2>&5 | |
18844 ac_status=$? | 21600 ac_status=$? |
18845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18846 (exit $ac_status); }; } && | 21602 (exit $ac_status); }; } && |
18847 { ac_try='test -s conftest$ac_exeext' | 21603 { ac_try='test -s conftest$ac_exeext' |
18848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21604 { (case "(($ac_try" in |
18849 (eval $ac_try) 2>&5 | 21605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21606 *) ac_try_echo=$ac_try;; | |
21607 esac | |
21608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21609 (eval "$ac_try") 2>&5 | |
18850 ac_status=$? | 21610 ac_status=$? |
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18852 (exit $ac_status); }; }; then | 21612 (exit $ac_status); }; }; then |
18853 ac_cv_lib_hesiod_hes_getmailhost=yes | 21613 ac_cv_lib_hesiod_hes_getmailhost=yes |
18854 else | 21614 else |
18855 echo "$as_me: failed program was:" >&5 | 21615 echo "$as_me: failed program was:" >&5 |
18856 sed 's/^/| /' conftest.$ac_ext >&5 | 21616 sed 's/^/| /' conftest.$ac_ext >&5 |
18857 | 21617 |
18858 ac_cv_lib_hesiod_hes_getmailhost=no | 21618 ac_cv_lib_hesiod_hes_getmailhost=no |
18859 fi | 21619 fi |
18860 rm -f conftest.err conftest.$ac_objext \ | 21620 |
21621 rm -f core conftest.err conftest.$ac_objext \ | |
18861 conftest$ac_exeext conftest.$ac_ext | 21622 conftest$ac_exeext conftest.$ac_ext |
18862 LIBS=$ac_check_lib_save_LIBS | 21623 LIBS=$ac_check_lib_save_LIBS |
18863 fi | 21624 fi |
18864 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 | 21625 { echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5 |
18865 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6 | 21626 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6; } |
18866 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then | 21627 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then |
18867 | 21628 |
18868 cat >>confdefs.h <<\_ACEOF | 21629 cat >>confdefs.h <<\_ACEOF |
18869 #define HAVE_LIBHESIOD 1 | 21630 #define HAVE_LIBHESIOD 1 |
18870 _ACEOF | 21631 _ACEOF |
18878 fi | 21639 fi |
18879 | 21640 |
18880 # These tell us which Kerberos-related libraries to use. | 21641 # These tell us which Kerberos-related libraries to use. |
18881 if test "${with_kerberos+set}" = set; then | 21642 if test "${with_kerberos+set}" = set; then |
18882 | 21643 |
18883 echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 | 21644 { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 |
18884 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6 | 21645 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } |
18885 if test "${ac_cv_lib_com_err_com_err+set}" = set; then | 21646 if test "${ac_cv_lib_com_err_com_err+set}" = set; then |
18886 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21647 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18887 else | 21648 else |
18888 ac_check_lib_save_LIBS=$LIBS | 21649 ac_check_lib_save_LIBS=$LIBS |
18889 LIBS="-lcom_err $LIBS" | 21650 LIBS="-lcom_err $LIBS" |
18892 _ACEOF | 21653 _ACEOF |
18893 cat confdefs.h >>conftest.$ac_ext | 21654 cat confdefs.h >>conftest.$ac_ext |
18894 cat >>conftest.$ac_ext <<_ACEOF | 21655 cat >>conftest.$ac_ext <<_ACEOF |
18895 /* end confdefs.h. */ | 21656 /* end confdefs.h. */ |
18896 | 21657 |
18897 /* Override any gcc2 internal prototype to avoid an error. */ | 21658 /* Override any GCC internal prototype to avoid an error. |
21659 Use char because int might match the return type of a GCC | |
21660 builtin and then its argument prototype would still apply. */ | |
18898 #ifdef __cplusplus | 21661 #ifdef __cplusplus |
18899 extern "C" | 21662 extern "C" |
18900 #endif | 21663 #endif |
18901 /* We use char because int might match the return type of a gcc2 | |
18902 builtin and then its argument prototype would still apply. */ | |
18903 char com_err (); | 21664 char com_err (); |
18904 int | 21665 int |
18905 main () | 21666 main () |
18906 { | 21667 { |
18907 com_err (); | 21668 return com_err (); |
18908 ; | 21669 ; |
18909 return 0; | 21670 return 0; |
18910 } | 21671 } |
18911 _ACEOF | 21672 _ACEOF |
18912 rm -f conftest.$ac_objext conftest$ac_exeext | 21673 rm -f conftest.$ac_objext conftest$ac_exeext |
18913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21674 if { (ac_try="$ac_link" |
18914 (eval $ac_link) 2>conftest.er1 | 21675 case "(($ac_try" in |
21676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21677 *) ac_try_echo=$ac_try;; | |
21678 esac | |
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21680 (eval "$ac_link") 2>conftest.er1 | |
18915 ac_status=$? | 21681 ac_status=$? |
18916 grep -v '^ *+' conftest.er1 >conftest.err | 21682 grep -v '^ *+' conftest.er1 >conftest.err |
18917 rm -f conftest.er1 | 21683 rm -f conftest.er1 |
18918 cat conftest.err >&5 | 21684 cat conftest.err >&5 |
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18920 (exit $ac_status); } && | 21686 (exit $ac_status); } && |
18921 { ac_try='test -z "$ac_c_werror_flag" | 21687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18922 || test ! -s conftest.err' | 21688 { (case "(($ac_try" in |
18923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18924 (eval $ac_try) 2>&5 | 21690 *) ac_try_echo=$ac_try;; |
21691 esac | |
21692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21693 (eval "$ac_try") 2>&5 | |
18925 ac_status=$? | 21694 ac_status=$? |
18926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18927 (exit $ac_status); }; } && | 21696 (exit $ac_status); }; } && |
18928 { ac_try='test -s conftest$ac_exeext' | 21697 { ac_try='test -s conftest$ac_exeext' |
18929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21698 { (case "(($ac_try" in |
18930 (eval $ac_try) 2>&5 | 21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21700 *) ac_try_echo=$ac_try;; | |
21701 esac | |
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21703 (eval "$ac_try") 2>&5 | |
18931 ac_status=$? | 21704 ac_status=$? |
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18933 (exit $ac_status); }; }; then | 21706 (exit $ac_status); }; }; then |
18934 ac_cv_lib_com_err_com_err=yes | 21707 ac_cv_lib_com_err_com_err=yes |
18935 else | 21708 else |
18936 echo "$as_me: failed program was:" >&5 | 21709 echo "$as_me: failed program was:" >&5 |
18937 sed 's/^/| /' conftest.$ac_ext >&5 | 21710 sed 's/^/| /' conftest.$ac_ext >&5 |
18938 | 21711 |
18939 ac_cv_lib_com_err_com_err=no | 21712 ac_cv_lib_com_err_com_err=no |
18940 fi | 21713 fi |
18941 rm -f conftest.err conftest.$ac_objext \ | 21714 |
21715 rm -f core conftest.err conftest.$ac_objext \ | |
18942 conftest$ac_exeext conftest.$ac_ext | 21716 conftest$ac_exeext conftest.$ac_ext |
18943 LIBS=$ac_check_lib_save_LIBS | 21717 LIBS=$ac_check_lib_save_LIBS |
18944 fi | 21718 fi |
18945 echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 | 21719 { echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 |
18946 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6 | 21720 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } |
18947 if test $ac_cv_lib_com_err_com_err = yes; then | 21721 if test $ac_cv_lib_com_err_com_err = yes; then |
18948 cat >>confdefs.h <<_ACEOF | 21722 cat >>confdefs.h <<_ACEOF |
18949 #define HAVE_LIBCOM_ERR 1 | 21723 #define HAVE_LIBCOM_ERR 1 |
18950 _ACEOF | 21724 _ACEOF |
18951 | 21725 |
18952 LIBS="-lcom_err $LIBS" | 21726 LIBS="-lcom_err $LIBS" |
18953 | 21727 |
18954 fi | 21728 fi |
18955 | 21729 |
18956 | 21730 |
18957 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 21731 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
18958 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6 | 21732 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6; } |
18959 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then | 21733 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then |
18960 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21734 echo $ECHO_N "(cached) $ECHO_C" >&6 |
18961 else | 21735 else |
18962 ac_check_lib_save_LIBS=$LIBS | 21736 ac_check_lib_save_LIBS=$LIBS |
18963 LIBS="-lk5crypto $LIBS" | 21737 LIBS="-lk5crypto $LIBS" |
18966 _ACEOF | 21740 _ACEOF |
18967 cat confdefs.h >>conftest.$ac_ext | 21741 cat confdefs.h >>conftest.$ac_ext |
18968 cat >>conftest.$ac_ext <<_ACEOF | 21742 cat >>conftest.$ac_ext <<_ACEOF |
18969 /* end confdefs.h. */ | 21743 /* end confdefs.h. */ |
18970 | 21744 |
18971 /* Override any gcc2 internal prototype to avoid an error. */ | 21745 /* Override any GCC internal prototype to avoid an error. |
21746 Use char because int might match the return type of a GCC | |
21747 builtin and then its argument prototype would still apply. */ | |
18972 #ifdef __cplusplus | 21748 #ifdef __cplusplus |
18973 extern "C" | 21749 extern "C" |
18974 #endif | 21750 #endif |
18975 /* We use char because int might match the return type of a gcc2 | |
18976 builtin and then its argument prototype would still apply. */ | |
18977 char mit_des_cbc_encrypt (); | 21751 char mit_des_cbc_encrypt (); |
18978 int | 21752 int |
18979 main () | 21753 main () |
18980 { | 21754 { |
18981 mit_des_cbc_encrypt (); | 21755 return mit_des_cbc_encrypt (); |
18982 ; | 21756 ; |
18983 return 0; | 21757 return 0; |
18984 } | 21758 } |
18985 _ACEOF | 21759 _ACEOF |
18986 rm -f conftest.$ac_objext conftest$ac_exeext | 21760 rm -f conftest.$ac_objext conftest$ac_exeext |
18987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21761 if { (ac_try="$ac_link" |
18988 (eval $ac_link) 2>conftest.er1 | 21762 case "(($ac_try" in |
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21764 *) ac_try_echo=$ac_try;; | |
21765 esac | |
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21767 (eval "$ac_link") 2>conftest.er1 | |
18989 ac_status=$? | 21768 ac_status=$? |
18990 grep -v '^ *+' conftest.er1 >conftest.err | 21769 grep -v '^ *+' conftest.er1 >conftest.err |
18991 rm -f conftest.er1 | 21770 rm -f conftest.er1 |
18992 cat conftest.err >&5 | 21771 cat conftest.err >&5 |
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18994 (exit $ac_status); } && | 21773 (exit $ac_status); } && |
18995 { ac_try='test -z "$ac_c_werror_flag" | 21774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
18996 || test ! -s conftest.err' | 21775 { (case "(($ac_try" in |
18997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
18998 (eval $ac_try) 2>&5 | 21777 *) ac_try_echo=$ac_try;; |
21778 esac | |
21779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21780 (eval "$ac_try") 2>&5 | |
18999 ac_status=$? | 21781 ac_status=$? |
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19001 (exit $ac_status); }; } && | 21783 (exit $ac_status); }; } && |
19002 { ac_try='test -s conftest$ac_exeext' | 21784 { ac_try='test -s conftest$ac_exeext' |
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21785 { (case "(($ac_try" in |
19004 (eval $ac_try) 2>&5 | 21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21787 *) ac_try_echo=$ac_try;; | |
21788 esac | |
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21790 (eval "$ac_try") 2>&5 | |
19005 ac_status=$? | 21791 ac_status=$? |
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19007 (exit $ac_status); }; }; then | 21793 (exit $ac_status); }; }; then |
19008 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes | 21794 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes |
19009 else | 21795 else |
19010 echo "$as_me: failed program was:" >&5 | 21796 echo "$as_me: failed program was:" >&5 |
19011 sed 's/^/| /' conftest.$ac_ext >&5 | 21797 sed 's/^/| /' conftest.$ac_ext >&5 |
19012 | 21798 |
19013 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no | 21799 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no |
19014 fi | 21800 fi |
19015 rm -f conftest.err conftest.$ac_objext \ | 21801 |
21802 rm -f core conftest.err conftest.$ac_objext \ | |
19016 conftest$ac_exeext conftest.$ac_ext | 21803 conftest$ac_exeext conftest.$ac_ext |
19017 LIBS=$ac_check_lib_save_LIBS | 21804 LIBS=$ac_check_lib_save_LIBS |
19018 fi | 21805 fi |
19019 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 | 21806 { echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5 |
19020 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6 | 21807 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6; } |
19021 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then | 21808 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then |
19022 cat >>confdefs.h <<_ACEOF | 21809 cat >>confdefs.h <<_ACEOF |
19023 #define HAVE_LIBK5CRYPTO 1 | 21810 #define HAVE_LIBK5CRYPTO 1 |
19024 _ACEOF | 21811 _ACEOF |
19025 | 21812 |
19026 LIBS="-lk5crypto $LIBS" | 21813 LIBS="-lk5crypto $LIBS" |
19027 | 21814 |
19028 fi | 21815 fi |
19029 | 21816 |
19030 | 21817 |
19031 echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 21818 { echo "$as_me:$LINENO: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
19032 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6 | 21819 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6; } |
19033 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then | 21820 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then |
19034 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21821 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19035 else | 21822 else |
19036 ac_check_lib_save_LIBS=$LIBS | 21823 ac_check_lib_save_LIBS=$LIBS |
19037 LIBS="-lcrypto $LIBS" | 21824 LIBS="-lcrypto $LIBS" |
19040 _ACEOF | 21827 _ACEOF |
19041 cat confdefs.h >>conftest.$ac_ext | 21828 cat confdefs.h >>conftest.$ac_ext |
19042 cat >>conftest.$ac_ext <<_ACEOF | 21829 cat >>conftest.$ac_ext <<_ACEOF |
19043 /* end confdefs.h. */ | 21830 /* end confdefs.h. */ |
19044 | 21831 |
19045 /* Override any gcc2 internal prototype to avoid an error. */ | 21832 /* Override any GCC internal prototype to avoid an error. |
21833 Use char because int might match the return type of a GCC | |
21834 builtin and then its argument prototype would still apply. */ | |
19046 #ifdef __cplusplus | 21835 #ifdef __cplusplus |
19047 extern "C" | 21836 extern "C" |
19048 #endif | 21837 #endif |
19049 /* We use char because int might match the return type of a gcc2 | |
19050 builtin and then its argument prototype would still apply. */ | |
19051 char mit_des_cbc_encrypt (); | 21838 char mit_des_cbc_encrypt (); |
19052 int | 21839 int |
19053 main () | 21840 main () |
19054 { | 21841 { |
19055 mit_des_cbc_encrypt (); | 21842 return mit_des_cbc_encrypt (); |
19056 ; | 21843 ; |
19057 return 0; | 21844 return 0; |
19058 } | 21845 } |
19059 _ACEOF | 21846 _ACEOF |
19060 rm -f conftest.$ac_objext conftest$ac_exeext | 21847 rm -f conftest.$ac_objext conftest$ac_exeext |
19061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21848 if { (ac_try="$ac_link" |
19062 (eval $ac_link) 2>conftest.er1 | 21849 case "(($ac_try" in |
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21851 *) ac_try_echo=$ac_try;; | |
21852 esac | |
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21854 (eval "$ac_link") 2>conftest.er1 | |
19063 ac_status=$? | 21855 ac_status=$? |
19064 grep -v '^ *+' conftest.er1 >conftest.err | 21856 grep -v '^ *+' conftest.er1 >conftest.err |
19065 rm -f conftest.er1 | 21857 rm -f conftest.er1 |
19066 cat conftest.err >&5 | 21858 cat conftest.err >&5 |
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19068 (exit $ac_status); } && | 21860 (exit $ac_status); } && |
19069 { ac_try='test -z "$ac_c_werror_flag" | 21861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19070 || test ! -s conftest.err' | 21862 { (case "(($ac_try" in |
19071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19072 (eval $ac_try) 2>&5 | 21864 *) ac_try_echo=$ac_try;; |
21865 esac | |
21866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21867 (eval "$ac_try") 2>&5 | |
19073 ac_status=$? | 21868 ac_status=$? |
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19075 (exit $ac_status); }; } && | 21870 (exit $ac_status); }; } && |
19076 { ac_try='test -s conftest$ac_exeext' | 21871 { ac_try='test -s conftest$ac_exeext' |
19077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21872 { (case "(($ac_try" in |
19078 (eval $ac_try) 2>&5 | 21873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21874 *) ac_try_echo=$ac_try;; | |
21875 esac | |
21876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21877 (eval "$ac_try") 2>&5 | |
19079 ac_status=$? | 21878 ac_status=$? |
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19081 (exit $ac_status); }; }; then | 21880 (exit $ac_status); }; }; then |
19082 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes | 21881 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes |
19083 else | 21882 else |
19084 echo "$as_me: failed program was:" >&5 | 21883 echo "$as_me: failed program was:" >&5 |
19085 sed 's/^/| /' conftest.$ac_ext >&5 | 21884 sed 's/^/| /' conftest.$ac_ext >&5 |
19086 | 21885 |
19087 ac_cv_lib_crypto_mit_des_cbc_encrypt=no | 21886 ac_cv_lib_crypto_mit_des_cbc_encrypt=no |
19088 fi | 21887 fi |
19089 rm -f conftest.err conftest.$ac_objext \ | 21888 |
21889 rm -f core conftest.err conftest.$ac_objext \ | |
19090 conftest$ac_exeext conftest.$ac_ext | 21890 conftest$ac_exeext conftest.$ac_ext |
19091 LIBS=$ac_check_lib_save_LIBS | 21891 LIBS=$ac_check_lib_save_LIBS |
19092 fi | 21892 fi |
19093 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 | 21893 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5 |
19094 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6 | 21894 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6; } |
19095 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then | 21895 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then |
19096 cat >>confdefs.h <<_ACEOF | 21896 cat >>confdefs.h <<_ACEOF |
19097 #define HAVE_LIBCRYPTO 1 | 21897 #define HAVE_LIBCRYPTO 1 |
19098 _ACEOF | 21898 _ACEOF |
19099 | 21899 |
19100 LIBS="-lcrypto $LIBS" | 21900 LIBS="-lcrypto $LIBS" |
19101 | 21901 |
19102 fi | 21902 fi |
19103 | 21903 |
19104 | 21904 |
19105 echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 | 21905 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5 |
19106 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6 | 21906 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; } |
19107 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then | 21907 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then |
19108 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21908 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19109 else | 21909 else |
19110 ac_check_lib_save_LIBS=$LIBS | 21910 ac_check_lib_save_LIBS=$LIBS |
19111 LIBS="-lkrb5 $LIBS" | 21911 LIBS="-lkrb5 $LIBS" |
19114 _ACEOF | 21914 _ACEOF |
19115 cat confdefs.h >>conftest.$ac_ext | 21915 cat confdefs.h >>conftest.$ac_ext |
19116 cat >>conftest.$ac_ext <<_ACEOF | 21916 cat >>conftest.$ac_ext <<_ACEOF |
19117 /* end confdefs.h. */ | 21917 /* end confdefs.h. */ |
19118 | 21918 |
19119 /* Override any gcc2 internal prototype to avoid an error. */ | 21919 /* Override any GCC internal prototype to avoid an error. |
21920 Use char because int might match the return type of a GCC | |
21921 builtin and then its argument prototype would still apply. */ | |
19120 #ifdef __cplusplus | 21922 #ifdef __cplusplus |
19121 extern "C" | 21923 extern "C" |
19122 #endif | 21924 #endif |
19123 /* We use char because int might match the return type of a gcc2 | |
19124 builtin and then its argument prototype would still apply. */ | |
19125 char krb5_init_context (); | 21925 char krb5_init_context (); |
19126 int | 21926 int |
19127 main () | 21927 main () |
19128 { | 21928 { |
19129 krb5_init_context (); | 21929 return krb5_init_context (); |
19130 ; | 21930 ; |
19131 return 0; | 21931 return 0; |
19132 } | 21932 } |
19133 _ACEOF | 21933 _ACEOF |
19134 rm -f conftest.$ac_objext conftest$ac_exeext | 21934 rm -f conftest.$ac_objext conftest$ac_exeext |
19135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 21935 if { (ac_try="$ac_link" |
19136 (eval $ac_link) 2>conftest.er1 | 21936 case "(($ac_try" in |
21937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
21938 *) ac_try_echo=$ac_try;; | |
21939 esac | |
21940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21941 (eval "$ac_link") 2>conftest.er1 | |
19137 ac_status=$? | 21942 ac_status=$? |
19138 grep -v '^ *+' conftest.er1 >conftest.err | 21943 grep -v '^ *+' conftest.er1 >conftest.err |
19139 rm -f conftest.er1 | 21944 rm -f conftest.er1 |
19140 cat conftest.err >&5 | 21945 cat conftest.err >&5 |
19141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19142 (exit $ac_status); } && | 21947 (exit $ac_status); } && |
19143 { ac_try='test -z "$ac_c_werror_flag" | 21948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19144 || test ! -s conftest.err' | 21949 { (case "(($ac_try" in |
19145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19146 (eval $ac_try) 2>&5 | 21951 *) ac_try_echo=$ac_try;; |
21952 esac | |
21953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21954 (eval "$ac_try") 2>&5 | |
19147 ac_status=$? | 21955 ac_status=$? |
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19149 (exit $ac_status); }; } && | 21957 (exit $ac_status); }; } && |
19150 { ac_try='test -s conftest$ac_exeext' | 21958 { ac_try='test -s conftest$ac_exeext' |
19151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 21959 { (case "(($ac_try" in |
19152 (eval $ac_try) 2>&5 | 21960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21961 *) ac_try_echo=$ac_try;; | |
21962 esac | |
21963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
21964 (eval "$ac_try") 2>&5 | |
19153 ac_status=$? | 21965 ac_status=$? |
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 21966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19155 (exit $ac_status); }; }; then | 21967 (exit $ac_status); }; }; then |
19156 ac_cv_lib_krb5_krb5_init_context=yes | 21968 ac_cv_lib_krb5_krb5_init_context=yes |
19157 else | 21969 else |
19158 echo "$as_me: failed program was:" >&5 | 21970 echo "$as_me: failed program was:" >&5 |
19159 sed 's/^/| /' conftest.$ac_ext >&5 | 21971 sed 's/^/| /' conftest.$ac_ext >&5 |
19160 | 21972 |
19161 ac_cv_lib_krb5_krb5_init_context=no | 21973 ac_cv_lib_krb5_krb5_init_context=no |
19162 fi | 21974 fi |
19163 rm -f conftest.err conftest.$ac_objext \ | 21975 |
21976 rm -f core conftest.err conftest.$ac_objext \ | |
19164 conftest$ac_exeext conftest.$ac_ext | 21977 conftest$ac_exeext conftest.$ac_ext |
19165 LIBS=$ac_check_lib_save_LIBS | 21978 LIBS=$ac_check_lib_save_LIBS |
19166 fi | 21979 fi |
19167 echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 | 21980 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_init_context" >&5 |
19168 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6 | 21981 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6; } |
19169 if test $ac_cv_lib_krb5_krb5_init_context = yes; then | 21982 if test $ac_cv_lib_krb5_krb5_init_context = yes; then |
19170 cat >>confdefs.h <<_ACEOF | 21983 cat >>confdefs.h <<_ACEOF |
19171 #define HAVE_LIBKRB5 1 | 21984 #define HAVE_LIBKRB5 1 |
19172 _ACEOF | 21985 _ACEOF |
19173 | 21986 |
19175 | 21988 |
19176 fi | 21989 fi |
19177 | 21990 |
19178 if test "${with_kerberos5+set}" != set; then | 21991 if test "${with_kerberos5+set}" != set; then |
19179 | 21992 |
19180 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 | 21993 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5 |
19181 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6 | 21994 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; } |
19182 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then | 21995 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then |
19183 echo $ECHO_N "(cached) $ECHO_C" >&6 | 21996 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19184 else | 21997 else |
19185 ac_check_lib_save_LIBS=$LIBS | 21998 ac_check_lib_save_LIBS=$LIBS |
19186 LIBS="-ldes425 $LIBS" | 21999 LIBS="-ldes425 $LIBS" |
19189 _ACEOF | 22002 _ACEOF |
19190 cat confdefs.h >>conftest.$ac_ext | 22003 cat confdefs.h >>conftest.$ac_ext |
19191 cat >>conftest.$ac_ext <<_ACEOF | 22004 cat >>conftest.$ac_ext <<_ACEOF |
19192 /* end confdefs.h. */ | 22005 /* end confdefs.h. */ |
19193 | 22006 |
19194 /* Override any gcc2 internal prototype to avoid an error. */ | 22007 /* Override any GCC internal prototype to avoid an error. |
22008 Use char because int might match the return type of a GCC | |
22009 builtin and then its argument prototype would still apply. */ | |
19195 #ifdef __cplusplus | 22010 #ifdef __cplusplus |
19196 extern "C" | 22011 extern "C" |
19197 #endif | 22012 #endif |
19198 /* We use char because int might match the return type of a gcc2 | |
19199 builtin and then its argument prototype would still apply. */ | |
19200 char des_cbc_encrypt (); | 22013 char des_cbc_encrypt (); |
19201 int | 22014 int |
19202 main () | 22015 main () |
19203 { | 22016 { |
19204 des_cbc_encrypt (); | 22017 return des_cbc_encrypt (); |
19205 ; | 22018 ; |
19206 return 0; | 22019 return 0; |
19207 } | 22020 } |
19208 _ACEOF | 22021 _ACEOF |
19209 rm -f conftest.$ac_objext conftest$ac_exeext | 22022 rm -f conftest.$ac_objext conftest$ac_exeext |
19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22023 if { (ac_try="$ac_link" |
19211 (eval $ac_link) 2>conftest.er1 | 22024 case "(($ac_try" in |
22025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22026 *) ac_try_echo=$ac_try;; | |
22027 esac | |
22028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22029 (eval "$ac_link") 2>conftest.er1 | |
19212 ac_status=$? | 22030 ac_status=$? |
19213 grep -v '^ *+' conftest.er1 >conftest.err | 22031 grep -v '^ *+' conftest.er1 >conftest.err |
19214 rm -f conftest.er1 | 22032 rm -f conftest.er1 |
19215 cat conftest.err >&5 | 22033 cat conftest.err >&5 |
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19217 (exit $ac_status); } && | 22035 (exit $ac_status); } && |
19218 { ac_try='test -z "$ac_c_werror_flag" | 22036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19219 || test ! -s conftest.err' | 22037 { (case "(($ac_try" in |
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19221 (eval $ac_try) 2>&5 | 22039 *) ac_try_echo=$ac_try;; |
22040 esac | |
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22042 (eval "$ac_try") 2>&5 | |
19222 ac_status=$? | 22043 ac_status=$? |
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19224 (exit $ac_status); }; } && | 22045 (exit $ac_status); }; } && |
19225 { ac_try='test -s conftest$ac_exeext' | 22046 { ac_try='test -s conftest$ac_exeext' |
19226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22047 { (case "(($ac_try" in |
19227 (eval $ac_try) 2>&5 | 22048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22049 *) ac_try_echo=$ac_try;; | |
22050 esac | |
22051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22052 (eval "$ac_try") 2>&5 | |
19228 ac_status=$? | 22053 ac_status=$? |
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19230 (exit $ac_status); }; }; then | 22055 (exit $ac_status); }; }; then |
19231 ac_cv_lib_des425_des_cbc_encrypt=yes | 22056 ac_cv_lib_des425_des_cbc_encrypt=yes |
19232 else | 22057 else |
19233 echo "$as_me: failed program was:" >&5 | 22058 echo "$as_me: failed program was:" >&5 |
19234 sed 's/^/| /' conftest.$ac_ext >&5 | 22059 sed 's/^/| /' conftest.$ac_ext >&5 |
19235 | 22060 |
19236 ac_cv_lib_des425_des_cbc_encrypt=no | 22061 ac_cv_lib_des425_des_cbc_encrypt=no |
19237 fi | 22062 fi |
19238 rm -f conftest.err conftest.$ac_objext \ | 22063 |
22064 rm -f core conftest.err conftest.$ac_objext \ | |
19239 conftest$ac_exeext conftest.$ac_ext | 22065 conftest$ac_exeext conftest.$ac_ext |
19240 LIBS=$ac_check_lib_save_LIBS | 22066 LIBS=$ac_check_lib_save_LIBS |
19241 fi | 22067 fi |
19242 echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 | 22068 { echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5 |
19243 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6 | 22069 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; } |
19244 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then | 22070 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then |
19245 cat >>confdefs.h <<_ACEOF | 22071 cat >>confdefs.h <<_ACEOF |
19246 #define HAVE_LIBDES425 1 | 22072 #define HAVE_LIBDES425 1 |
19247 _ACEOF | 22073 _ACEOF |
19248 | 22074 |
19249 LIBS="-ldes425 $LIBS" | 22075 LIBS="-ldes425 $LIBS" |
19250 | 22076 |
19251 else | 22077 else |
19252 | 22078 |
19253 echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 | 22079 { echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes" >&5 |
19254 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6 | 22080 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6; } |
19255 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then | 22081 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then |
19256 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22082 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19257 else | 22083 else |
19258 ac_check_lib_save_LIBS=$LIBS | 22084 ac_check_lib_save_LIBS=$LIBS |
19259 LIBS="-ldes $LIBS" | 22085 LIBS="-ldes $LIBS" |
19262 _ACEOF | 22088 _ACEOF |
19263 cat confdefs.h >>conftest.$ac_ext | 22089 cat confdefs.h >>conftest.$ac_ext |
19264 cat >>conftest.$ac_ext <<_ACEOF | 22090 cat >>conftest.$ac_ext <<_ACEOF |
19265 /* end confdefs.h. */ | 22091 /* end confdefs.h. */ |
19266 | 22092 |
19267 /* Override any gcc2 internal prototype to avoid an error. */ | 22093 /* Override any GCC internal prototype to avoid an error. |
22094 Use char because int might match the return type of a GCC | |
22095 builtin and then its argument prototype would still apply. */ | |
19268 #ifdef __cplusplus | 22096 #ifdef __cplusplus |
19269 extern "C" | 22097 extern "C" |
19270 #endif | 22098 #endif |
19271 /* We use char because int might match the return type of a gcc2 | |
19272 builtin and then its argument prototype would still apply. */ | |
19273 char des_cbc_encrypt (); | 22099 char des_cbc_encrypt (); |
19274 int | 22100 int |
19275 main () | 22101 main () |
19276 { | 22102 { |
19277 des_cbc_encrypt (); | 22103 return des_cbc_encrypt (); |
19278 ; | 22104 ; |
19279 return 0; | 22105 return 0; |
19280 } | 22106 } |
19281 _ACEOF | 22107 _ACEOF |
19282 rm -f conftest.$ac_objext conftest$ac_exeext | 22108 rm -f conftest.$ac_objext conftest$ac_exeext |
19283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22109 if { (ac_try="$ac_link" |
19284 (eval $ac_link) 2>conftest.er1 | 22110 case "(($ac_try" in |
22111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22112 *) ac_try_echo=$ac_try;; | |
22113 esac | |
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22115 (eval "$ac_link") 2>conftest.er1 | |
19285 ac_status=$? | 22116 ac_status=$? |
19286 grep -v '^ *+' conftest.er1 >conftest.err | 22117 grep -v '^ *+' conftest.er1 >conftest.err |
19287 rm -f conftest.er1 | 22118 rm -f conftest.er1 |
19288 cat conftest.err >&5 | 22119 cat conftest.err >&5 |
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19290 (exit $ac_status); } && | 22121 (exit $ac_status); } && |
19291 { ac_try='test -z "$ac_c_werror_flag" | 22122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19292 || test ! -s conftest.err' | 22123 { (case "(($ac_try" in |
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19294 (eval $ac_try) 2>&5 | 22125 *) ac_try_echo=$ac_try;; |
22126 esac | |
22127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22128 (eval "$ac_try") 2>&5 | |
19295 ac_status=$? | 22129 ac_status=$? |
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19297 (exit $ac_status); }; } && | 22131 (exit $ac_status); }; } && |
19298 { ac_try='test -s conftest$ac_exeext' | 22132 { ac_try='test -s conftest$ac_exeext' |
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22133 { (case "(($ac_try" in |
19300 (eval $ac_try) 2>&5 | 22134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22135 *) ac_try_echo=$ac_try;; | |
22136 esac | |
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22138 (eval "$ac_try") 2>&5 | |
19301 ac_status=$? | 22139 ac_status=$? |
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19303 (exit $ac_status); }; }; then | 22141 (exit $ac_status); }; }; then |
19304 ac_cv_lib_des_des_cbc_encrypt=yes | 22142 ac_cv_lib_des_des_cbc_encrypt=yes |
19305 else | 22143 else |
19306 echo "$as_me: failed program was:" >&5 | 22144 echo "$as_me: failed program was:" >&5 |
19307 sed 's/^/| /' conftest.$ac_ext >&5 | 22145 sed 's/^/| /' conftest.$ac_ext >&5 |
19308 | 22146 |
19309 ac_cv_lib_des_des_cbc_encrypt=no | 22147 ac_cv_lib_des_des_cbc_encrypt=no |
19310 fi | 22148 fi |
19311 rm -f conftest.err conftest.$ac_objext \ | 22149 |
22150 rm -f core conftest.err conftest.$ac_objext \ | |
19312 conftest$ac_exeext conftest.$ac_ext | 22151 conftest$ac_exeext conftest.$ac_ext |
19313 LIBS=$ac_check_lib_save_LIBS | 22152 LIBS=$ac_check_lib_save_LIBS |
19314 fi | 22153 fi |
19315 echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 | 22154 { echo "$as_me:$LINENO: result: $ac_cv_lib_des_des_cbc_encrypt" >&5 |
19316 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6 | 22155 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6; } |
19317 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then | 22156 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then |
19318 cat >>confdefs.h <<_ACEOF | 22157 cat >>confdefs.h <<_ACEOF |
19319 #define HAVE_LIBDES 1 | 22158 #define HAVE_LIBDES 1 |
19320 _ACEOF | 22159 _ACEOF |
19321 | 22160 |
19324 fi | 22163 fi |
19325 | 22164 |
19326 fi | 22165 fi |
19327 | 22166 |
19328 | 22167 |
19329 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 | 22168 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb4" >&5 |
19330 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6 | 22169 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6; } |
19331 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then | 22170 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then |
19332 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22171 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19333 else | 22172 else |
19334 ac_check_lib_save_LIBS=$LIBS | 22173 ac_check_lib_save_LIBS=$LIBS |
19335 LIBS="-lkrb4 $LIBS" | 22174 LIBS="-lkrb4 $LIBS" |
19338 _ACEOF | 22177 _ACEOF |
19339 cat confdefs.h >>conftest.$ac_ext | 22178 cat confdefs.h >>conftest.$ac_ext |
19340 cat >>conftest.$ac_ext <<_ACEOF | 22179 cat >>conftest.$ac_ext <<_ACEOF |
19341 /* end confdefs.h. */ | 22180 /* end confdefs.h. */ |
19342 | 22181 |
19343 /* Override any gcc2 internal prototype to avoid an error. */ | 22182 /* Override any GCC internal prototype to avoid an error. |
22183 Use char because int might match the return type of a GCC | |
22184 builtin and then its argument prototype would still apply. */ | |
19344 #ifdef __cplusplus | 22185 #ifdef __cplusplus |
19345 extern "C" | 22186 extern "C" |
19346 #endif | 22187 #endif |
19347 /* We use char because int might match the return type of a gcc2 | |
19348 builtin and then its argument prototype would still apply. */ | |
19349 char krb_get_cred (); | 22188 char krb_get_cred (); |
19350 int | 22189 int |
19351 main () | 22190 main () |
19352 { | 22191 { |
19353 krb_get_cred (); | 22192 return krb_get_cred (); |
19354 ; | 22193 ; |
19355 return 0; | 22194 return 0; |
19356 } | 22195 } |
19357 _ACEOF | 22196 _ACEOF |
19358 rm -f conftest.$ac_objext conftest$ac_exeext | 22197 rm -f conftest.$ac_objext conftest$ac_exeext |
19359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22198 if { (ac_try="$ac_link" |
19360 (eval $ac_link) 2>conftest.er1 | 22199 case "(($ac_try" in |
22200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22201 *) ac_try_echo=$ac_try;; | |
22202 esac | |
22203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22204 (eval "$ac_link") 2>conftest.er1 | |
19361 ac_status=$? | 22205 ac_status=$? |
19362 grep -v '^ *+' conftest.er1 >conftest.err | 22206 grep -v '^ *+' conftest.er1 >conftest.err |
19363 rm -f conftest.er1 | 22207 rm -f conftest.er1 |
19364 cat conftest.err >&5 | 22208 cat conftest.err >&5 |
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19366 (exit $ac_status); } && | 22210 (exit $ac_status); } && |
19367 { ac_try='test -z "$ac_c_werror_flag" | 22211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19368 || test ! -s conftest.err' | 22212 { (case "(($ac_try" in |
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19370 (eval $ac_try) 2>&5 | 22214 *) ac_try_echo=$ac_try;; |
22215 esac | |
22216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22217 (eval "$ac_try") 2>&5 | |
19371 ac_status=$? | 22218 ac_status=$? |
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19373 (exit $ac_status); }; } && | 22220 (exit $ac_status); }; } && |
19374 { ac_try='test -s conftest$ac_exeext' | 22221 { ac_try='test -s conftest$ac_exeext' |
19375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22222 { (case "(($ac_try" in |
19376 (eval $ac_try) 2>&5 | 22223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22224 *) ac_try_echo=$ac_try;; | |
22225 esac | |
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22227 (eval "$ac_try") 2>&5 | |
19377 ac_status=$? | 22228 ac_status=$? |
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19379 (exit $ac_status); }; }; then | 22230 (exit $ac_status); }; }; then |
19380 ac_cv_lib_krb4_krb_get_cred=yes | 22231 ac_cv_lib_krb4_krb_get_cred=yes |
19381 else | 22232 else |
19382 echo "$as_me: failed program was:" >&5 | 22233 echo "$as_me: failed program was:" >&5 |
19383 sed 's/^/| /' conftest.$ac_ext >&5 | 22234 sed 's/^/| /' conftest.$ac_ext >&5 |
19384 | 22235 |
19385 ac_cv_lib_krb4_krb_get_cred=no | 22236 ac_cv_lib_krb4_krb_get_cred=no |
19386 fi | 22237 fi |
19387 rm -f conftest.err conftest.$ac_objext \ | 22238 |
22239 rm -f core conftest.err conftest.$ac_objext \ | |
19388 conftest$ac_exeext conftest.$ac_ext | 22240 conftest$ac_exeext conftest.$ac_ext |
19389 LIBS=$ac_check_lib_save_LIBS | 22241 LIBS=$ac_check_lib_save_LIBS |
19390 fi | 22242 fi |
19391 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 | 22243 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_get_cred" >&5 |
19392 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6 | 22244 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6; } |
19393 if test $ac_cv_lib_krb4_krb_get_cred = yes; then | 22245 if test $ac_cv_lib_krb4_krb_get_cred = yes; then |
19394 cat >>confdefs.h <<_ACEOF | 22246 cat >>confdefs.h <<_ACEOF |
19395 #define HAVE_LIBKRB4 1 | 22247 #define HAVE_LIBKRB4 1 |
19396 _ACEOF | 22248 _ACEOF |
19397 | 22249 |
19398 LIBS="-lkrb4 $LIBS" | 22250 LIBS="-lkrb4 $LIBS" |
19399 | 22251 |
19400 else | 22252 else |
19401 | 22253 |
19402 echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 | 22254 { echo "$as_me:$LINENO: checking for krb_get_cred in -lkrb" >&5 |
19403 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6 | 22255 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6; } |
19404 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then | 22256 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then |
19405 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22257 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19406 else | 22258 else |
19407 ac_check_lib_save_LIBS=$LIBS | 22259 ac_check_lib_save_LIBS=$LIBS |
19408 LIBS="-lkrb $LIBS" | 22260 LIBS="-lkrb $LIBS" |
19411 _ACEOF | 22263 _ACEOF |
19412 cat confdefs.h >>conftest.$ac_ext | 22264 cat confdefs.h >>conftest.$ac_ext |
19413 cat >>conftest.$ac_ext <<_ACEOF | 22265 cat >>conftest.$ac_ext <<_ACEOF |
19414 /* end confdefs.h. */ | 22266 /* end confdefs.h. */ |
19415 | 22267 |
19416 /* Override any gcc2 internal prototype to avoid an error. */ | 22268 /* Override any GCC internal prototype to avoid an error. |
22269 Use char because int might match the return type of a GCC | |
22270 builtin and then its argument prototype would still apply. */ | |
19417 #ifdef __cplusplus | 22271 #ifdef __cplusplus |
19418 extern "C" | 22272 extern "C" |
19419 #endif | 22273 #endif |
19420 /* We use char because int might match the return type of a gcc2 | |
19421 builtin and then its argument prototype would still apply. */ | |
19422 char krb_get_cred (); | 22274 char krb_get_cred (); |
19423 int | 22275 int |
19424 main () | 22276 main () |
19425 { | 22277 { |
19426 krb_get_cred (); | 22278 return krb_get_cred (); |
19427 ; | 22279 ; |
19428 return 0; | 22280 return 0; |
19429 } | 22281 } |
19430 _ACEOF | 22282 _ACEOF |
19431 rm -f conftest.$ac_objext conftest$ac_exeext | 22283 rm -f conftest.$ac_objext conftest$ac_exeext |
19432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 22284 if { (ac_try="$ac_link" |
19433 (eval $ac_link) 2>conftest.er1 | 22285 case "(($ac_try" in |
22286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22287 *) ac_try_echo=$ac_try;; | |
22288 esac | |
22289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22290 (eval "$ac_link") 2>conftest.er1 | |
19434 ac_status=$? | 22291 ac_status=$? |
19435 grep -v '^ *+' conftest.er1 >conftest.err | 22292 grep -v '^ *+' conftest.er1 >conftest.err |
19436 rm -f conftest.er1 | 22293 rm -f conftest.er1 |
19437 cat conftest.err >&5 | 22294 cat conftest.err >&5 |
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19439 (exit $ac_status); } && | 22296 (exit $ac_status); } && |
19440 { ac_try='test -z "$ac_c_werror_flag" | 22297 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19441 || test ! -s conftest.err' | 22298 { (case "(($ac_try" in |
19442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19443 (eval $ac_try) 2>&5 | 22300 *) ac_try_echo=$ac_try;; |
22301 esac | |
22302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22303 (eval "$ac_try") 2>&5 | |
19444 ac_status=$? | 22304 ac_status=$? |
19445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19446 (exit $ac_status); }; } && | 22306 (exit $ac_status); }; } && |
19447 { ac_try='test -s conftest$ac_exeext' | 22307 { ac_try='test -s conftest$ac_exeext' |
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22308 { (case "(($ac_try" in |
19449 (eval $ac_try) 2>&5 | 22309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22310 *) ac_try_echo=$ac_try;; | |
22311 esac | |
22312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22313 (eval "$ac_try") 2>&5 | |
19450 ac_status=$? | 22314 ac_status=$? |
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19452 (exit $ac_status); }; }; then | 22316 (exit $ac_status); }; }; then |
19453 ac_cv_lib_krb_krb_get_cred=yes | 22317 ac_cv_lib_krb_krb_get_cred=yes |
19454 else | 22318 else |
19455 echo "$as_me: failed program was:" >&5 | 22319 echo "$as_me: failed program was:" >&5 |
19456 sed 's/^/| /' conftest.$ac_ext >&5 | 22320 sed 's/^/| /' conftest.$ac_ext >&5 |
19457 | 22321 |
19458 ac_cv_lib_krb_krb_get_cred=no | 22322 ac_cv_lib_krb_krb_get_cred=no |
19459 fi | 22323 fi |
19460 rm -f conftest.err conftest.$ac_objext \ | 22324 |
22325 rm -f core conftest.err conftest.$ac_objext \ | |
19461 conftest$ac_exeext conftest.$ac_ext | 22326 conftest$ac_exeext conftest.$ac_ext |
19462 LIBS=$ac_check_lib_save_LIBS | 22327 LIBS=$ac_check_lib_save_LIBS |
19463 fi | 22328 fi |
19464 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 | 22329 { echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_get_cred" >&5 |
19465 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6 | 22330 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6; } |
19466 if test $ac_cv_lib_krb_krb_get_cred = yes; then | 22331 if test $ac_cv_lib_krb_krb_get_cred = yes; then |
19467 cat >>confdefs.h <<_ACEOF | 22332 cat >>confdefs.h <<_ACEOF |
19468 #define HAVE_LIBKRB 1 | 22333 #define HAVE_LIBKRB 1 |
19469 _ACEOF | 22334 _ACEOF |
19470 | 22335 |
19479 if test "${with_kerberos5+set}" = set; then | 22344 if test "${with_kerberos5+set}" = set; then |
19480 | 22345 |
19481 for ac_header in krb5.h | 22346 for ac_header in krb5.h |
19482 do | 22347 do |
19483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 22348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19484 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19485 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22350 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19487 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19488 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22353 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19489 fi | 22354 fi |
19490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22355 ac_res=`eval echo '${'$as_ac_Header'}'` |
19491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22356 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22357 echo "${ECHO_T}$ac_res" >&6; } | |
19492 else | 22358 else |
19493 # Is the header compilable? | 22359 # Is the header compilable? |
19494 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 22360 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 22361 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19496 cat >conftest.$ac_ext <<_ACEOF | 22362 cat >conftest.$ac_ext <<_ACEOF |
19497 /* confdefs.h. */ | 22363 /* confdefs.h. */ |
19498 _ACEOF | 22364 _ACEOF |
19499 cat confdefs.h >>conftest.$ac_ext | 22365 cat confdefs.h >>conftest.$ac_ext |
19500 cat >>conftest.$ac_ext <<_ACEOF | 22366 cat >>conftest.$ac_ext <<_ACEOF |
19501 /* end confdefs.h. */ | 22367 /* end confdefs.h. */ |
19502 $ac_includes_default | 22368 $ac_includes_default |
19503 #include <$ac_header> | 22369 #include <$ac_header> |
19504 _ACEOF | 22370 _ACEOF |
19505 rm -f conftest.$ac_objext | 22371 rm -f conftest.$ac_objext |
19506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22372 if { (ac_try="$ac_compile" |
19507 (eval $ac_compile) 2>conftest.er1 | 22373 case "(($ac_try" in |
22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22375 *) ac_try_echo=$ac_try;; | |
22376 esac | |
22377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22378 (eval "$ac_compile") 2>conftest.er1 | |
19508 ac_status=$? | 22379 ac_status=$? |
19509 grep -v '^ *+' conftest.er1 >conftest.err | 22380 grep -v '^ *+' conftest.er1 >conftest.err |
19510 rm -f conftest.er1 | 22381 rm -f conftest.er1 |
19511 cat conftest.err >&5 | 22382 cat conftest.err >&5 |
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19513 (exit $ac_status); } && | 22384 (exit $ac_status); } && |
19514 { ac_try='test -z "$ac_c_werror_flag" | 22385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19515 || test ! -s conftest.err' | 22386 { (case "(($ac_try" in |
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19517 (eval $ac_try) 2>&5 | 22388 *) ac_try_echo=$ac_try;; |
22389 esac | |
22390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22391 (eval "$ac_try") 2>&5 | |
19518 ac_status=$? | 22392 ac_status=$? |
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19520 (exit $ac_status); }; } && | 22394 (exit $ac_status); }; } && |
19521 { ac_try='test -s conftest.$ac_objext' | 22395 { ac_try='test -s conftest.$ac_objext' |
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22396 { (case "(($ac_try" in |
19523 (eval $ac_try) 2>&5 | 22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22398 *) ac_try_echo=$ac_try;; | |
22399 esac | |
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22401 (eval "$ac_try") 2>&5 | |
19524 ac_status=$? | 22402 ac_status=$? |
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19526 (exit $ac_status); }; }; then | 22404 (exit $ac_status); }; }; then |
19527 ac_header_compiler=yes | 22405 ac_header_compiler=yes |
19528 else | 22406 else |
19529 echo "$as_me: failed program was:" >&5 | 22407 echo "$as_me: failed program was:" >&5 |
19530 sed 's/^/| /' conftest.$ac_ext >&5 | 22408 sed 's/^/| /' conftest.$ac_ext >&5 |
19531 | 22409 |
19532 ac_header_compiler=no | 22410 ac_header_compiler=no |
19533 fi | 22411 fi |
19534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22412 |
19535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 22413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19536 echo "${ECHO_T}$ac_header_compiler" >&6 | 22414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22415 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19537 | 22416 |
19538 # Is the header present? | 22417 # Is the header present? |
19539 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 22418 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 22419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19541 cat >conftest.$ac_ext <<_ACEOF | 22420 cat >conftest.$ac_ext <<_ACEOF |
19542 /* confdefs.h. */ | 22421 /* confdefs.h. */ |
19543 _ACEOF | 22422 _ACEOF |
19544 cat confdefs.h >>conftest.$ac_ext | 22423 cat confdefs.h >>conftest.$ac_ext |
19545 cat >>conftest.$ac_ext <<_ACEOF | 22424 cat >>conftest.$ac_ext <<_ACEOF |
19546 /* end confdefs.h. */ | 22425 /* end confdefs.h. */ |
19547 #include <$ac_header> | 22426 #include <$ac_header> |
19548 _ACEOF | 22427 _ACEOF |
19549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 22428 if { (ac_try="$ac_cpp conftest.$ac_ext" |
19550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 22429 case "(($ac_try" in |
22430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22431 *) ac_try_echo=$ac_try;; | |
22432 esac | |
22433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19551 ac_status=$? | 22435 ac_status=$? |
19552 grep -v '^ *+' conftest.er1 >conftest.err | 22436 grep -v '^ *+' conftest.er1 >conftest.err |
19553 rm -f conftest.er1 | 22437 rm -f conftest.er1 |
19554 cat conftest.err >&5 | 22438 cat conftest.err >&5 |
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19569 echo "$as_me: failed program was:" >&5 | 22453 echo "$as_me: failed program was:" >&5 |
19570 sed 's/^/| /' conftest.$ac_ext >&5 | 22454 sed 's/^/| /' conftest.$ac_ext >&5 |
19571 | 22455 |
19572 ac_header_preproc=no | 22456 ac_header_preproc=no |
19573 fi | 22457 fi |
22458 | |
19574 rm -f conftest.err conftest.$ac_ext | 22459 rm -f conftest.err conftest.$ac_ext |
19575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 22460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19576 echo "${ECHO_T}$ac_header_preproc" >&6 | 22461 echo "${ECHO_T}$ac_header_preproc" >&6; } |
19577 | 22462 |
19578 # So? What about this header? | 22463 # So? What about this header? |
19579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 22464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19580 yes:no: ) | 22465 yes:no: ) |
19581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 22466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 22480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 22481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 22482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 22483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 22484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19600 ( | 22485 |
19601 cat <<\_ASBOX | |
19602 ## ------------------------------------------ ## | |
19603 ## Report this to the AC_PACKAGE_NAME lists. ## | |
19604 ## ------------------------------------------ ## | |
19605 _ASBOX | |
19606 ) | | |
19607 sed "s/^/$as_me: WARNING: /" >&2 | |
19608 ;; | 22486 ;; |
19609 esac | 22487 esac |
19610 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22488 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19612 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19613 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22491 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19614 else | 22492 else |
19615 eval "$as_ac_Header=\$ac_header_preproc" | 22493 eval "$as_ac_Header=\$ac_header_preproc" |
19616 fi | 22494 fi |
19617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22495 ac_res=`eval echo '${'$as_ac_Header'}'` |
19618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22496 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22497 echo "${ECHO_T}$ac_res" >&6; } | |
19619 | 22498 |
19620 fi | 22499 fi |
19621 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 22500 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19622 cat >>confdefs.h <<_ACEOF | 22501 cat >>confdefs.h <<_ACEOF |
19623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 22502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19630 else | 22509 else |
19631 | 22510 |
19632 for ac_header in des.h | 22511 for ac_header in des.h |
19633 do | 22512 do |
19634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 22513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19635 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19636 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22515 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19638 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19639 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22518 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19640 fi | 22519 fi |
19641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22520 ac_res=`eval echo '${'$as_ac_Header'}'` |
19642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22521 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22522 echo "${ECHO_T}$ac_res" >&6; } | |
19643 else | 22523 else |
19644 # Is the header compilable? | 22524 # Is the header compilable? |
19645 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 22525 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 22526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19647 cat >conftest.$ac_ext <<_ACEOF | 22527 cat >conftest.$ac_ext <<_ACEOF |
19648 /* confdefs.h. */ | 22528 /* confdefs.h. */ |
19649 _ACEOF | 22529 _ACEOF |
19650 cat confdefs.h >>conftest.$ac_ext | 22530 cat confdefs.h >>conftest.$ac_ext |
19651 cat >>conftest.$ac_ext <<_ACEOF | 22531 cat >>conftest.$ac_ext <<_ACEOF |
19652 /* end confdefs.h. */ | 22532 /* end confdefs.h. */ |
19653 $ac_includes_default | 22533 $ac_includes_default |
19654 #include <$ac_header> | 22534 #include <$ac_header> |
19655 _ACEOF | 22535 _ACEOF |
19656 rm -f conftest.$ac_objext | 22536 rm -f conftest.$ac_objext |
19657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22537 if { (ac_try="$ac_compile" |
19658 (eval $ac_compile) 2>conftest.er1 | 22538 case "(($ac_try" in |
22539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22540 *) ac_try_echo=$ac_try;; | |
22541 esac | |
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22543 (eval "$ac_compile") 2>conftest.er1 | |
19659 ac_status=$? | 22544 ac_status=$? |
19660 grep -v '^ *+' conftest.er1 >conftest.err | 22545 grep -v '^ *+' conftest.er1 >conftest.err |
19661 rm -f conftest.er1 | 22546 rm -f conftest.er1 |
19662 cat conftest.err >&5 | 22547 cat conftest.err >&5 |
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19664 (exit $ac_status); } && | 22549 (exit $ac_status); } && |
19665 { ac_try='test -z "$ac_c_werror_flag" | 22550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19666 || test ! -s conftest.err' | 22551 { (case "(($ac_try" in |
19667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19668 (eval $ac_try) 2>&5 | 22553 *) ac_try_echo=$ac_try;; |
22554 esac | |
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22556 (eval "$ac_try") 2>&5 | |
19669 ac_status=$? | 22557 ac_status=$? |
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19671 (exit $ac_status); }; } && | 22559 (exit $ac_status); }; } && |
19672 { ac_try='test -s conftest.$ac_objext' | 22560 { ac_try='test -s conftest.$ac_objext' |
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22561 { (case "(($ac_try" in |
19674 (eval $ac_try) 2>&5 | 22562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22563 *) ac_try_echo=$ac_try;; | |
22564 esac | |
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22566 (eval "$ac_try") 2>&5 | |
19675 ac_status=$? | 22567 ac_status=$? |
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19677 (exit $ac_status); }; }; then | 22569 (exit $ac_status); }; }; then |
19678 ac_header_compiler=yes | 22570 ac_header_compiler=yes |
19679 else | 22571 else |
19680 echo "$as_me: failed program was:" >&5 | 22572 echo "$as_me: failed program was:" >&5 |
19681 sed 's/^/| /' conftest.$ac_ext >&5 | 22573 sed 's/^/| /' conftest.$ac_ext >&5 |
19682 | 22574 |
19683 ac_header_compiler=no | 22575 ac_header_compiler=no |
19684 fi | 22576 fi |
19685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22577 |
19686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 22578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19687 echo "${ECHO_T}$ac_header_compiler" >&6 | 22579 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22580 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19688 | 22581 |
19689 # Is the header present? | 22582 # Is the header present? |
19690 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 22583 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 22584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19692 cat >conftest.$ac_ext <<_ACEOF | 22585 cat >conftest.$ac_ext <<_ACEOF |
19693 /* confdefs.h. */ | 22586 /* confdefs.h. */ |
19694 _ACEOF | 22587 _ACEOF |
19695 cat confdefs.h >>conftest.$ac_ext | 22588 cat confdefs.h >>conftest.$ac_ext |
19696 cat >>conftest.$ac_ext <<_ACEOF | 22589 cat >>conftest.$ac_ext <<_ACEOF |
19697 /* end confdefs.h. */ | 22590 /* end confdefs.h. */ |
19698 #include <$ac_header> | 22591 #include <$ac_header> |
19699 _ACEOF | 22592 _ACEOF |
19700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 22593 if { (ac_try="$ac_cpp conftest.$ac_ext" |
19701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 22594 case "(($ac_try" in |
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22596 *) ac_try_echo=$ac_try;; | |
22597 esac | |
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19702 ac_status=$? | 22600 ac_status=$? |
19703 grep -v '^ *+' conftest.er1 >conftest.err | 22601 grep -v '^ *+' conftest.er1 >conftest.err |
19704 rm -f conftest.er1 | 22602 rm -f conftest.er1 |
19705 cat conftest.err >&5 | 22603 cat conftest.err >&5 |
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19720 echo "$as_me: failed program was:" >&5 | 22618 echo "$as_me: failed program was:" >&5 |
19721 sed 's/^/| /' conftest.$ac_ext >&5 | 22619 sed 's/^/| /' conftest.$ac_ext >&5 |
19722 | 22620 |
19723 ac_header_preproc=no | 22621 ac_header_preproc=no |
19724 fi | 22622 fi |
22623 | |
19725 rm -f conftest.err conftest.$ac_ext | 22624 rm -f conftest.err conftest.$ac_ext |
19726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 22625 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19727 echo "${ECHO_T}$ac_header_preproc" >&6 | 22626 echo "${ECHO_T}$ac_header_preproc" >&6; } |
19728 | 22627 |
19729 # So? What about this header? | 22628 # So? What about this header? |
19730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 22629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19731 yes:no: ) | 22630 yes:no: ) |
19732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 22631 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 22645 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 22646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 22647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 22648 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 22649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19751 ( | 22650 |
19752 cat <<\_ASBOX | |
19753 ## ------------------------------------------ ## | |
19754 ## Report this to the AC_PACKAGE_NAME lists. ## | |
19755 ## ------------------------------------------ ## | |
19756 _ASBOX | |
19757 ) | | |
19758 sed "s/^/$as_me: WARNING: /" >&2 | |
19759 ;; | 22651 ;; |
19760 esac | 22652 esac |
19761 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22653 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19763 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19764 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22656 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19765 else | 22657 else |
19766 eval "$as_ac_Header=\$ac_header_preproc" | 22658 eval "$as_ac_Header=\$ac_header_preproc" |
19767 fi | 22659 fi |
19768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22660 ac_res=`eval echo '${'$as_ac_Header'}'` |
19769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22661 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22662 echo "${ECHO_T}$ac_res" >&6; } | |
19770 | 22663 |
19771 fi | 22664 fi |
19772 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 22665 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19773 cat >>confdefs.h <<_ACEOF | 22666 cat >>confdefs.h <<_ACEOF |
19774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 22667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19777 else | 22670 else |
19778 | 22671 |
19779 for ac_header in kerberosIV/des.h | 22672 for ac_header in kerberosIV/des.h |
19780 do | 22673 do |
19781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 22674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19782 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19783 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22676 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19785 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19786 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22679 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19787 fi | 22680 fi |
19788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22681 ac_res=`eval echo '${'$as_ac_Header'}'` |
19789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22682 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22683 echo "${ECHO_T}$ac_res" >&6; } | |
19790 else | 22684 else |
19791 # Is the header compilable? | 22685 # Is the header compilable? |
19792 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 22686 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 22687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19794 cat >conftest.$ac_ext <<_ACEOF | 22688 cat >conftest.$ac_ext <<_ACEOF |
19795 /* confdefs.h. */ | 22689 /* confdefs.h. */ |
19796 _ACEOF | 22690 _ACEOF |
19797 cat confdefs.h >>conftest.$ac_ext | 22691 cat confdefs.h >>conftest.$ac_ext |
19798 cat >>conftest.$ac_ext <<_ACEOF | 22692 cat >>conftest.$ac_ext <<_ACEOF |
19799 /* end confdefs.h. */ | 22693 /* end confdefs.h. */ |
19800 $ac_includes_default | 22694 $ac_includes_default |
19801 #include <$ac_header> | 22695 #include <$ac_header> |
19802 _ACEOF | 22696 _ACEOF |
19803 rm -f conftest.$ac_objext | 22697 rm -f conftest.$ac_objext |
19804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22698 if { (ac_try="$ac_compile" |
19805 (eval $ac_compile) 2>conftest.er1 | 22699 case "(($ac_try" in |
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22701 *) ac_try_echo=$ac_try;; | |
22702 esac | |
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22704 (eval "$ac_compile") 2>conftest.er1 | |
19806 ac_status=$? | 22705 ac_status=$? |
19807 grep -v '^ *+' conftest.er1 >conftest.err | 22706 grep -v '^ *+' conftest.er1 >conftest.err |
19808 rm -f conftest.er1 | 22707 rm -f conftest.er1 |
19809 cat conftest.err >&5 | 22708 cat conftest.err >&5 |
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19811 (exit $ac_status); } && | 22710 (exit $ac_status); } && |
19812 { ac_try='test -z "$ac_c_werror_flag" | 22711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19813 || test ! -s conftest.err' | 22712 { (case "(($ac_try" in |
19814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19815 (eval $ac_try) 2>&5 | 22714 *) ac_try_echo=$ac_try;; |
22715 esac | |
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22717 (eval "$ac_try") 2>&5 | |
19816 ac_status=$? | 22718 ac_status=$? |
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19818 (exit $ac_status); }; } && | 22720 (exit $ac_status); }; } && |
19819 { ac_try='test -s conftest.$ac_objext' | 22721 { ac_try='test -s conftest.$ac_objext' |
19820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22722 { (case "(($ac_try" in |
19821 (eval $ac_try) 2>&5 | 22723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22724 *) ac_try_echo=$ac_try;; | |
22725 esac | |
22726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22727 (eval "$ac_try") 2>&5 | |
19822 ac_status=$? | 22728 ac_status=$? |
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19824 (exit $ac_status); }; }; then | 22730 (exit $ac_status); }; }; then |
19825 ac_header_compiler=yes | 22731 ac_header_compiler=yes |
19826 else | 22732 else |
19827 echo "$as_me: failed program was:" >&5 | 22733 echo "$as_me: failed program was:" >&5 |
19828 sed 's/^/| /' conftest.$ac_ext >&5 | 22734 sed 's/^/| /' conftest.$ac_ext >&5 |
19829 | 22735 |
19830 ac_header_compiler=no | 22736 ac_header_compiler=no |
19831 fi | 22737 fi |
19832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22738 |
19833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19834 echo "${ECHO_T}$ac_header_compiler" >&6 | 22740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22741 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19835 | 22742 |
19836 # Is the header present? | 22743 # Is the header present? |
19837 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 22744 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 22745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19839 cat >conftest.$ac_ext <<_ACEOF | 22746 cat >conftest.$ac_ext <<_ACEOF |
19840 /* confdefs.h. */ | 22747 /* confdefs.h. */ |
19841 _ACEOF | 22748 _ACEOF |
19842 cat confdefs.h >>conftest.$ac_ext | 22749 cat confdefs.h >>conftest.$ac_ext |
19843 cat >>conftest.$ac_ext <<_ACEOF | 22750 cat >>conftest.$ac_ext <<_ACEOF |
19844 /* end confdefs.h. */ | 22751 /* end confdefs.h. */ |
19845 #include <$ac_header> | 22752 #include <$ac_header> |
19846 _ACEOF | 22753 _ACEOF |
19847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 22754 if { (ac_try="$ac_cpp conftest.$ac_ext" |
19848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 22755 case "(($ac_try" in |
22756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22757 *) ac_try_echo=$ac_try;; | |
22758 esac | |
22759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19849 ac_status=$? | 22761 ac_status=$? |
19850 grep -v '^ *+' conftest.er1 >conftest.err | 22762 grep -v '^ *+' conftest.er1 >conftest.err |
19851 rm -f conftest.er1 | 22763 rm -f conftest.er1 |
19852 cat conftest.err >&5 | 22764 cat conftest.err >&5 |
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19867 echo "$as_me: failed program was:" >&5 | 22779 echo "$as_me: failed program was:" >&5 |
19868 sed 's/^/| /' conftest.$ac_ext >&5 | 22780 sed 's/^/| /' conftest.$ac_ext >&5 |
19869 | 22781 |
19870 ac_header_preproc=no | 22782 ac_header_preproc=no |
19871 fi | 22783 fi |
22784 | |
19872 rm -f conftest.err conftest.$ac_ext | 22785 rm -f conftest.err conftest.$ac_ext |
19873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 22786 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19874 echo "${ECHO_T}$ac_header_preproc" >&6 | 22787 echo "${ECHO_T}$ac_header_preproc" >&6; } |
19875 | 22788 |
19876 # So? What about this header? | 22789 # So? What about this header? |
19877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 22790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19878 yes:no: ) | 22791 yes:no: ) |
19879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 22792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 22806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 22807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 22808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 22809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 22810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19898 ( | 22811 |
19899 cat <<\_ASBOX | |
19900 ## ------------------------------------------ ## | |
19901 ## Report this to the AC_PACKAGE_NAME lists. ## | |
19902 ## ------------------------------------------ ## | |
19903 _ASBOX | |
19904 ) | | |
19905 sed "s/^/$as_me: WARNING: /" >&2 | |
19906 ;; | 22812 ;; |
19907 esac | 22813 esac |
19908 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22814 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19910 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22816 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19911 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22817 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19912 else | 22818 else |
19913 eval "$as_ac_Header=\$ac_header_preproc" | 22819 eval "$as_ac_Header=\$ac_header_preproc" |
19914 fi | 22820 fi |
19915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22821 ac_res=`eval echo '${'$as_ac_Header'}'` |
19916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22822 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22823 echo "${ECHO_T}$ac_res" >&6; } | |
19917 | 22824 |
19918 fi | 22825 fi |
19919 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 22826 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19920 cat >>confdefs.h <<_ACEOF | 22827 cat >>confdefs.h <<_ACEOF |
19921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 22828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19924 else | 22831 else |
19925 | 22832 |
19926 for ac_header in kerberos/des.h | 22833 for ac_header in kerberos/des.h |
19927 do | 22834 do |
19928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 22835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19929 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19930 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22837 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
19932 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
19933 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22840 echo $ECHO_N "(cached) $ECHO_C" >&6 |
19934 fi | 22841 fi |
19935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22842 ac_res=`eval echo '${'$as_ac_Header'}'` |
19936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22843 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22844 echo "${ECHO_T}$ac_res" >&6; } | |
19937 else | 22845 else |
19938 # Is the header compilable? | 22846 # Is the header compilable? |
19939 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 22847 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19940 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 22848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
19941 cat >conftest.$ac_ext <<_ACEOF | 22849 cat >conftest.$ac_ext <<_ACEOF |
19942 /* confdefs.h. */ | 22850 /* confdefs.h. */ |
19943 _ACEOF | 22851 _ACEOF |
19944 cat confdefs.h >>conftest.$ac_ext | 22852 cat confdefs.h >>conftest.$ac_ext |
19945 cat >>conftest.$ac_ext <<_ACEOF | 22853 cat >>conftest.$ac_ext <<_ACEOF |
19946 /* end confdefs.h. */ | 22854 /* end confdefs.h. */ |
19947 $ac_includes_default | 22855 $ac_includes_default |
19948 #include <$ac_header> | 22856 #include <$ac_header> |
19949 _ACEOF | 22857 _ACEOF |
19950 rm -f conftest.$ac_objext | 22858 rm -f conftest.$ac_objext |
19951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 22859 if { (ac_try="$ac_compile" |
19952 (eval $ac_compile) 2>conftest.er1 | 22860 case "(($ac_try" in |
22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22862 *) ac_try_echo=$ac_try;; | |
22863 esac | |
22864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22865 (eval "$ac_compile") 2>conftest.er1 | |
19953 ac_status=$? | 22866 ac_status=$? |
19954 grep -v '^ *+' conftest.er1 >conftest.err | 22867 grep -v '^ *+' conftest.er1 >conftest.err |
19955 rm -f conftest.er1 | 22868 rm -f conftest.er1 |
19956 cat conftest.err >&5 | 22869 cat conftest.err >&5 |
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19958 (exit $ac_status); } && | 22871 (exit $ac_status); } && |
19959 { ac_try='test -z "$ac_c_werror_flag" | 22872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
19960 || test ! -s conftest.err' | 22873 { (case "(($ac_try" in |
19961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
19962 (eval $ac_try) 2>&5 | 22875 *) ac_try_echo=$ac_try;; |
22876 esac | |
22877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22878 (eval "$ac_try") 2>&5 | |
19963 ac_status=$? | 22879 ac_status=$? |
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19965 (exit $ac_status); }; } && | 22881 (exit $ac_status); }; } && |
19966 { ac_try='test -s conftest.$ac_objext' | 22882 { ac_try='test -s conftest.$ac_objext' |
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 22883 { (case "(($ac_try" in |
19968 (eval $ac_try) 2>&5 | 22884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22885 *) ac_try_echo=$ac_try;; | |
22886 esac | |
22887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22888 (eval "$ac_try") 2>&5 | |
19969 ac_status=$? | 22889 ac_status=$? |
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19971 (exit $ac_status); }; }; then | 22891 (exit $ac_status); }; }; then |
19972 ac_header_compiler=yes | 22892 ac_header_compiler=yes |
19973 else | 22893 else |
19974 echo "$as_me: failed program was:" >&5 | 22894 echo "$as_me: failed program was:" >&5 |
19975 sed 's/^/| /' conftest.$ac_ext >&5 | 22895 sed 's/^/| /' conftest.$ac_ext >&5 |
19976 | 22896 |
19977 ac_header_compiler=no | 22897 ac_header_compiler=no |
19978 fi | 22898 fi |
19979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 22899 |
19980 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 22900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
19981 echo "${ECHO_T}$ac_header_compiler" >&6 | 22901 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
22902 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
19982 | 22903 |
19983 # Is the header present? | 22904 # Is the header present? |
19984 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 22905 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19985 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 22906 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
19986 cat >conftest.$ac_ext <<_ACEOF | 22907 cat >conftest.$ac_ext <<_ACEOF |
19987 /* confdefs.h. */ | 22908 /* confdefs.h. */ |
19988 _ACEOF | 22909 _ACEOF |
19989 cat confdefs.h >>conftest.$ac_ext | 22910 cat confdefs.h >>conftest.$ac_ext |
19990 cat >>conftest.$ac_ext <<_ACEOF | 22911 cat >>conftest.$ac_ext <<_ACEOF |
19991 /* end confdefs.h. */ | 22912 /* end confdefs.h. */ |
19992 #include <$ac_header> | 22913 #include <$ac_header> |
19993 _ACEOF | 22914 _ACEOF |
19994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 22915 if { (ac_try="$ac_cpp conftest.$ac_ext" |
19995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 22916 case "(($ac_try" in |
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
22918 *) ac_try_echo=$ac_try;; | |
22919 esac | |
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
22921 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
19996 ac_status=$? | 22922 ac_status=$? |
19997 grep -v '^ *+' conftest.er1 >conftest.err | 22923 grep -v '^ *+' conftest.er1 >conftest.err |
19998 rm -f conftest.er1 | 22924 rm -f conftest.er1 |
19999 cat conftest.err >&5 | 22925 cat conftest.err >&5 |
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 22926 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20014 echo "$as_me: failed program was:" >&5 | 22940 echo "$as_me: failed program was:" >&5 |
20015 sed 's/^/| /' conftest.$ac_ext >&5 | 22941 sed 's/^/| /' conftest.$ac_ext >&5 |
20016 | 22942 |
20017 ac_header_preproc=no | 22943 ac_header_preproc=no |
20018 fi | 22944 fi |
22945 | |
20019 rm -f conftest.err conftest.$ac_ext | 22946 rm -f conftest.err conftest.$ac_ext |
20020 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 22947 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20021 echo "${ECHO_T}$ac_header_preproc" >&6 | 22948 echo "${ECHO_T}$ac_header_preproc" >&6; } |
20022 | 22949 |
20023 # So? What about this header? | 22950 # So? What about this header? |
20024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 22951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20025 yes:no: ) | 22952 yes:no: ) |
20026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 22953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 22967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 22968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 22969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 22970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 22971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20045 ( | 22972 |
20046 cat <<\_ASBOX | |
20047 ## ------------------------------------------ ## | |
20048 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20049 ## ------------------------------------------ ## | |
20050 _ASBOX | |
20051 ) | | |
20052 sed "s/^/$as_me: WARNING: /" >&2 | |
20053 ;; | 22973 ;; |
20054 esac | 22974 esac |
20055 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 22975 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 22976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20057 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 22977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20058 echo $ECHO_N "(cached) $ECHO_C" >&6 | 22978 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20059 else | 22979 else |
20060 eval "$as_ac_Header=\$ac_header_preproc" | 22980 eval "$as_ac_Header=\$ac_header_preproc" |
20061 fi | 22981 fi |
20062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 22982 ac_res=`eval echo '${'$as_ac_Header'}'` |
20063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 22983 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
22984 echo "${ECHO_T}$ac_res" >&6; } | |
20064 | 22985 |
20065 fi | 22986 fi |
20066 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 22987 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20067 cat >>confdefs.h <<_ACEOF | 22988 cat >>confdefs.h <<_ACEOF |
20068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 22989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20082 | 23003 |
20083 | 23004 |
20084 for ac_header in krb.h | 23005 for ac_header in krb.h |
20085 do | 23006 do |
20086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 23007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20087 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23008 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20088 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23009 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20090 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23011 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20091 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23012 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20092 fi | 23013 fi |
20093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23014 ac_res=`eval echo '${'$as_ac_Header'}'` |
20094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23015 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23016 echo "${ECHO_T}$ac_res" >&6; } | |
20095 else | 23017 else |
20096 # Is the header compilable? | 23018 # Is the header compilable? |
20097 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 23019 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 23020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20099 cat >conftest.$ac_ext <<_ACEOF | 23021 cat >conftest.$ac_ext <<_ACEOF |
20100 /* confdefs.h. */ | 23022 /* confdefs.h. */ |
20101 _ACEOF | 23023 _ACEOF |
20102 cat confdefs.h >>conftest.$ac_ext | 23024 cat confdefs.h >>conftest.$ac_ext |
20103 cat >>conftest.$ac_ext <<_ACEOF | 23025 cat >>conftest.$ac_ext <<_ACEOF |
20104 /* end confdefs.h. */ | 23026 /* end confdefs.h. */ |
20105 $ac_includes_default | 23027 $ac_includes_default |
20106 #include <$ac_header> | 23028 #include <$ac_header> |
20107 _ACEOF | 23029 _ACEOF |
20108 rm -f conftest.$ac_objext | 23030 rm -f conftest.$ac_objext |
20109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23031 if { (ac_try="$ac_compile" |
20110 (eval $ac_compile) 2>conftest.er1 | 23032 case "(($ac_try" in |
23033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23034 *) ac_try_echo=$ac_try;; | |
23035 esac | |
23036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23037 (eval "$ac_compile") 2>conftest.er1 | |
20111 ac_status=$? | 23038 ac_status=$? |
20112 grep -v '^ *+' conftest.er1 >conftest.err | 23039 grep -v '^ *+' conftest.er1 >conftest.err |
20113 rm -f conftest.er1 | 23040 rm -f conftest.er1 |
20114 cat conftest.err >&5 | 23041 cat conftest.err >&5 |
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20116 (exit $ac_status); } && | 23043 (exit $ac_status); } && |
20117 { ac_try='test -z "$ac_c_werror_flag" | 23044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20118 || test ! -s conftest.err' | 23045 { (case "(($ac_try" in |
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20120 (eval $ac_try) 2>&5 | 23047 *) ac_try_echo=$ac_try;; |
23048 esac | |
23049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23050 (eval "$ac_try") 2>&5 | |
20121 ac_status=$? | 23051 ac_status=$? |
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20123 (exit $ac_status); }; } && | 23053 (exit $ac_status); }; } && |
20124 { ac_try='test -s conftest.$ac_objext' | 23054 { ac_try='test -s conftest.$ac_objext' |
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23055 { (case "(($ac_try" in |
20126 (eval $ac_try) 2>&5 | 23056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23057 *) ac_try_echo=$ac_try;; | |
23058 esac | |
23059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23060 (eval "$ac_try") 2>&5 | |
20127 ac_status=$? | 23061 ac_status=$? |
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20129 (exit $ac_status); }; }; then | 23063 (exit $ac_status); }; }; then |
20130 ac_header_compiler=yes | 23064 ac_header_compiler=yes |
20131 else | 23065 else |
20132 echo "$as_me: failed program was:" >&5 | 23066 echo "$as_me: failed program was:" >&5 |
20133 sed 's/^/| /' conftest.$ac_ext >&5 | 23067 sed 's/^/| /' conftest.$ac_ext >&5 |
20134 | 23068 |
20135 ac_header_compiler=no | 23069 ac_header_compiler=no |
20136 fi | 23070 fi |
20137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23071 |
20138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 23072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20139 echo "${ECHO_T}$ac_header_compiler" >&6 | 23073 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23074 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
20140 | 23075 |
20141 # Is the header present? | 23076 # Is the header present? |
20142 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 23077 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 23078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20144 cat >conftest.$ac_ext <<_ACEOF | 23079 cat >conftest.$ac_ext <<_ACEOF |
20145 /* confdefs.h. */ | 23080 /* confdefs.h. */ |
20146 _ACEOF | 23081 _ACEOF |
20147 cat confdefs.h >>conftest.$ac_ext | 23082 cat confdefs.h >>conftest.$ac_ext |
20148 cat >>conftest.$ac_ext <<_ACEOF | 23083 cat >>conftest.$ac_ext <<_ACEOF |
20149 /* end confdefs.h. */ | 23084 /* end confdefs.h. */ |
20150 #include <$ac_header> | 23085 #include <$ac_header> |
20151 _ACEOF | 23086 _ACEOF |
20152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 23087 if { (ac_try="$ac_cpp conftest.$ac_ext" |
20153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 23088 case "(($ac_try" in |
23089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23090 *) ac_try_echo=$ac_try;; | |
23091 esac | |
23092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20154 ac_status=$? | 23094 ac_status=$? |
20155 grep -v '^ *+' conftest.er1 >conftest.err | 23095 grep -v '^ *+' conftest.er1 >conftest.err |
20156 rm -f conftest.er1 | 23096 rm -f conftest.er1 |
20157 cat conftest.err >&5 | 23097 cat conftest.err >&5 |
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20172 echo "$as_me: failed program was:" >&5 | 23112 echo "$as_me: failed program was:" >&5 |
20173 sed 's/^/| /' conftest.$ac_ext >&5 | 23113 sed 's/^/| /' conftest.$ac_ext >&5 |
20174 | 23114 |
20175 ac_header_preproc=no | 23115 ac_header_preproc=no |
20176 fi | 23116 fi |
23117 | |
20177 rm -f conftest.err conftest.$ac_ext | 23118 rm -f conftest.err conftest.$ac_ext |
20178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 23119 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20179 echo "${ECHO_T}$ac_header_preproc" >&6 | 23120 echo "${ECHO_T}$ac_header_preproc" >&6; } |
20180 | 23121 |
20181 # So? What about this header? | 23122 # So? What about this header? |
20182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 23123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20183 yes:no: ) | 23124 yes:no: ) |
20184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 23125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 23139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 23140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 23141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 23142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20203 ( | 23144 |
20204 cat <<\_ASBOX | |
20205 ## ------------------------------------------ ## | |
20206 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20207 ## ------------------------------------------ ## | |
20208 _ASBOX | |
20209 ) | | |
20210 sed "s/^/$as_me: WARNING: /" >&2 | |
20211 ;; | 23145 ;; |
20212 esac | 23146 esac |
20213 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23147 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20215 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20216 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23150 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20217 else | 23151 else |
20218 eval "$as_ac_Header=\$ac_header_preproc" | 23152 eval "$as_ac_Header=\$ac_header_preproc" |
20219 fi | 23153 fi |
20220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23154 ac_res=`eval echo '${'$as_ac_Header'}'` |
20221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23155 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23156 echo "${ECHO_T}$ac_res" >&6; } | |
20222 | 23157 |
20223 fi | 23158 fi |
20224 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 23159 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20225 cat >>confdefs.h <<_ACEOF | 23160 cat >>confdefs.h <<_ACEOF |
20226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 23161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20229 else | 23164 else |
20230 | 23165 |
20231 for ac_header in kerberosIV/krb.h | 23166 for ac_header in kerberosIV/krb.h |
20232 do | 23167 do |
20233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 23168 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20234 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20235 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23170 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20237 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23172 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20238 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23173 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20239 fi | 23174 fi |
20240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23175 ac_res=`eval echo '${'$as_ac_Header'}'` |
20241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23176 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23177 echo "${ECHO_T}$ac_res" >&6; } | |
20242 else | 23178 else |
20243 # Is the header compilable? | 23179 # Is the header compilable? |
20244 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 23180 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 23181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20246 cat >conftest.$ac_ext <<_ACEOF | 23182 cat >conftest.$ac_ext <<_ACEOF |
20247 /* confdefs.h. */ | 23183 /* confdefs.h. */ |
20248 _ACEOF | 23184 _ACEOF |
20249 cat confdefs.h >>conftest.$ac_ext | 23185 cat confdefs.h >>conftest.$ac_ext |
20250 cat >>conftest.$ac_ext <<_ACEOF | 23186 cat >>conftest.$ac_ext <<_ACEOF |
20251 /* end confdefs.h. */ | 23187 /* end confdefs.h. */ |
20252 $ac_includes_default | 23188 $ac_includes_default |
20253 #include <$ac_header> | 23189 #include <$ac_header> |
20254 _ACEOF | 23190 _ACEOF |
20255 rm -f conftest.$ac_objext | 23191 rm -f conftest.$ac_objext |
20256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23192 if { (ac_try="$ac_compile" |
20257 (eval $ac_compile) 2>conftest.er1 | 23193 case "(($ac_try" in |
23194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23195 *) ac_try_echo=$ac_try;; | |
23196 esac | |
23197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23198 (eval "$ac_compile") 2>conftest.er1 | |
20258 ac_status=$? | 23199 ac_status=$? |
20259 grep -v '^ *+' conftest.er1 >conftest.err | 23200 grep -v '^ *+' conftest.er1 >conftest.err |
20260 rm -f conftest.er1 | 23201 rm -f conftest.er1 |
20261 cat conftest.err >&5 | 23202 cat conftest.err >&5 |
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20263 (exit $ac_status); } && | 23204 (exit $ac_status); } && |
20264 { ac_try='test -z "$ac_c_werror_flag" | 23205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20265 || test ! -s conftest.err' | 23206 { (case "(($ac_try" in |
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20267 (eval $ac_try) 2>&5 | 23208 *) ac_try_echo=$ac_try;; |
23209 esac | |
23210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23211 (eval "$ac_try") 2>&5 | |
20268 ac_status=$? | 23212 ac_status=$? |
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20270 (exit $ac_status); }; } && | 23214 (exit $ac_status); }; } && |
20271 { ac_try='test -s conftest.$ac_objext' | 23215 { ac_try='test -s conftest.$ac_objext' |
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23216 { (case "(($ac_try" in |
20273 (eval $ac_try) 2>&5 | 23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23218 *) ac_try_echo=$ac_try;; | |
23219 esac | |
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23221 (eval "$ac_try") 2>&5 | |
20274 ac_status=$? | 23222 ac_status=$? |
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20276 (exit $ac_status); }; }; then | 23224 (exit $ac_status); }; }; then |
20277 ac_header_compiler=yes | 23225 ac_header_compiler=yes |
20278 else | 23226 else |
20279 echo "$as_me: failed program was:" >&5 | 23227 echo "$as_me: failed program was:" >&5 |
20280 sed 's/^/| /' conftest.$ac_ext >&5 | 23228 sed 's/^/| /' conftest.$ac_ext >&5 |
20281 | 23229 |
20282 ac_header_compiler=no | 23230 ac_header_compiler=no |
20283 fi | 23231 fi |
20284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23232 |
20285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20286 echo "${ECHO_T}$ac_header_compiler" >&6 | 23234 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23235 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
20287 | 23236 |
20288 # Is the header present? | 23237 # Is the header present? |
20289 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 23238 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 23239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20291 cat >conftest.$ac_ext <<_ACEOF | 23240 cat >conftest.$ac_ext <<_ACEOF |
20292 /* confdefs.h. */ | 23241 /* confdefs.h. */ |
20293 _ACEOF | 23242 _ACEOF |
20294 cat confdefs.h >>conftest.$ac_ext | 23243 cat confdefs.h >>conftest.$ac_ext |
20295 cat >>conftest.$ac_ext <<_ACEOF | 23244 cat >>conftest.$ac_ext <<_ACEOF |
20296 /* end confdefs.h. */ | 23245 /* end confdefs.h. */ |
20297 #include <$ac_header> | 23246 #include <$ac_header> |
20298 _ACEOF | 23247 _ACEOF |
20299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 23248 if { (ac_try="$ac_cpp conftest.$ac_ext" |
20300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 23249 case "(($ac_try" in |
23250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23251 *) ac_try_echo=$ac_try;; | |
23252 esac | |
23253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23254 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20301 ac_status=$? | 23255 ac_status=$? |
20302 grep -v '^ *+' conftest.er1 >conftest.err | 23256 grep -v '^ *+' conftest.er1 >conftest.err |
20303 rm -f conftest.er1 | 23257 rm -f conftest.er1 |
20304 cat conftest.err >&5 | 23258 cat conftest.err >&5 |
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20319 echo "$as_me: failed program was:" >&5 | 23273 echo "$as_me: failed program was:" >&5 |
20320 sed 's/^/| /' conftest.$ac_ext >&5 | 23274 sed 's/^/| /' conftest.$ac_ext >&5 |
20321 | 23275 |
20322 ac_header_preproc=no | 23276 ac_header_preproc=no |
20323 fi | 23277 fi |
23278 | |
20324 rm -f conftest.err conftest.$ac_ext | 23279 rm -f conftest.err conftest.$ac_ext |
20325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 23280 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20326 echo "${ECHO_T}$ac_header_preproc" >&6 | 23281 echo "${ECHO_T}$ac_header_preproc" >&6; } |
20327 | 23282 |
20328 # So? What about this header? | 23283 # So? What about this header? |
20329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 23284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20330 yes:no: ) | 23285 yes:no: ) |
20331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 23286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 23300 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 23301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 23302 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 23303 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23304 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20350 ( | 23305 |
20351 cat <<\_ASBOX | |
20352 ## ------------------------------------------ ## | |
20353 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20354 ## ------------------------------------------ ## | |
20355 _ASBOX | |
20356 ) | | |
20357 sed "s/^/$as_me: WARNING: /" >&2 | |
20358 ;; | 23306 ;; |
20359 esac | 23307 esac |
20360 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23308 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20362 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20363 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23311 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20364 else | 23312 else |
20365 eval "$as_ac_Header=\$ac_header_preproc" | 23313 eval "$as_ac_Header=\$ac_header_preproc" |
20366 fi | 23314 fi |
20367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23315 ac_res=`eval echo '${'$as_ac_Header'}'` |
20368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23316 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23317 echo "${ECHO_T}$ac_res" >&6; } | |
20369 | 23318 |
20370 fi | 23319 fi |
20371 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 23320 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20372 cat >>confdefs.h <<_ACEOF | 23321 cat >>confdefs.h <<_ACEOF |
20373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 23322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20376 else | 23325 else |
20377 | 23326 |
20378 for ac_header in kerberos/krb.h | 23327 for ac_header in kerberos/krb.h |
20379 do | 23328 do |
20380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 23329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20381 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20382 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23331 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20384 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20385 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23334 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20386 fi | 23335 fi |
20387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23336 ac_res=`eval echo '${'$as_ac_Header'}'` |
20388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23337 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23338 echo "${ECHO_T}$ac_res" >&6; } | |
20389 else | 23339 else |
20390 # Is the header compilable? | 23340 # Is the header compilable? |
20391 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 23341 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20392 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 23342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20393 cat >conftest.$ac_ext <<_ACEOF | 23343 cat >conftest.$ac_ext <<_ACEOF |
20394 /* confdefs.h. */ | 23344 /* confdefs.h. */ |
20395 _ACEOF | 23345 _ACEOF |
20396 cat confdefs.h >>conftest.$ac_ext | 23346 cat confdefs.h >>conftest.$ac_ext |
20397 cat >>conftest.$ac_ext <<_ACEOF | 23347 cat >>conftest.$ac_ext <<_ACEOF |
20398 /* end confdefs.h. */ | 23348 /* end confdefs.h. */ |
20399 $ac_includes_default | 23349 $ac_includes_default |
20400 #include <$ac_header> | 23350 #include <$ac_header> |
20401 _ACEOF | 23351 _ACEOF |
20402 rm -f conftest.$ac_objext | 23352 rm -f conftest.$ac_objext |
20403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23353 if { (ac_try="$ac_compile" |
20404 (eval $ac_compile) 2>conftest.er1 | 23354 case "(($ac_try" in |
23355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23356 *) ac_try_echo=$ac_try;; | |
23357 esac | |
23358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23359 (eval "$ac_compile") 2>conftest.er1 | |
20405 ac_status=$? | 23360 ac_status=$? |
20406 grep -v '^ *+' conftest.er1 >conftest.err | 23361 grep -v '^ *+' conftest.er1 >conftest.err |
20407 rm -f conftest.er1 | 23362 rm -f conftest.er1 |
20408 cat conftest.err >&5 | 23363 cat conftest.err >&5 |
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20410 (exit $ac_status); } && | 23365 (exit $ac_status); } && |
20411 { ac_try='test -z "$ac_c_werror_flag" | 23366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20412 || test ! -s conftest.err' | 23367 { (case "(($ac_try" in |
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20414 (eval $ac_try) 2>&5 | 23369 *) ac_try_echo=$ac_try;; |
23370 esac | |
23371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23372 (eval "$ac_try") 2>&5 | |
20415 ac_status=$? | 23373 ac_status=$? |
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20417 (exit $ac_status); }; } && | 23375 (exit $ac_status); }; } && |
20418 { ac_try='test -s conftest.$ac_objext' | 23376 { ac_try='test -s conftest.$ac_objext' |
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23377 { (case "(($ac_try" in |
20420 (eval $ac_try) 2>&5 | 23378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23379 *) ac_try_echo=$ac_try;; | |
23380 esac | |
23381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23382 (eval "$ac_try") 2>&5 | |
20421 ac_status=$? | 23383 ac_status=$? |
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20423 (exit $ac_status); }; }; then | 23385 (exit $ac_status); }; }; then |
20424 ac_header_compiler=yes | 23386 ac_header_compiler=yes |
20425 else | 23387 else |
20426 echo "$as_me: failed program was:" >&5 | 23388 echo "$as_me: failed program was:" >&5 |
20427 sed 's/^/| /' conftest.$ac_ext >&5 | 23389 sed 's/^/| /' conftest.$ac_ext >&5 |
20428 | 23390 |
20429 ac_header_compiler=no | 23391 ac_header_compiler=no |
20430 fi | 23392 fi |
20431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23393 |
20432 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20433 echo "${ECHO_T}$ac_header_compiler" >&6 | 23395 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23396 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
20434 | 23397 |
20435 # Is the header present? | 23398 # Is the header present? |
20436 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 23399 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20437 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 23400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20438 cat >conftest.$ac_ext <<_ACEOF | 23401 cat >conftest.$ac_ext <<_ACEOF |
20439 /* confdefs.h. */ | 23402 /* confdefs.h. */ |
20440 _ACEOF | 23403 _ACEOF |
20441 cat confdefs.h >>conftest.$ac_ext | 23404 cat confdefs.h >>conftest.$ac_ext |
20442 cat >>conftest.$ac_ext <<_ACEOF | 23405 cat >>conftest.$ac_ext <<_ACEOF |
20443 /* end confdefs.h. */ | 23406 /* end confdefs.h. */ |
20444 #include <$ac_header> | 23407 #include <$ac_header> |
20445 _ACEOF | 23408 _ACEOF |
20446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 23409 if { (ac_try="$ac_cpp conftest.$ac_ext" |
20447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 23410 case "(($ac_try" in |
23411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23412 *) ac_try_echo=$ac_try;; | |
23413 esac | |
23414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20448 ac_status=$? | 23416 ac_status=$? |
20449 grep -v '^ *+' conftest.er1 >conftest.err | 23417 grep -v '^ *+' conftest.er1 >conftest.err |
20450 rm -f conftest.er1 | 23418 rm -f conftest.er1 |
20451 cat conftest.err >&5 | 23419 cat conftest.err >&5 |
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20466 echo "$as_me: failed program was:" >&5 | 23434 echo "$as_me: failed program was:" >&5 |
20467 sed 's/^/| /' conftest.$ac_ext >&5 | 23435 sed 's/^/| /' conftest.$ac_ext >&5 |
20468 | 23436 |
20469 ac_header_preproc=no | 23437 ac_header_preproc=no |
20470 fi | 23438 fi |
23439 | |
20471 rm -f conftest.err conftest.$ac_ext | 23440 rm -f conftest.err conftest.$ac_ext |
20472 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 23441 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20473 echo "${ECHO_T}$ac_header_preproc" >&6 | 23442 echo "${ECHO_T}$ac_header_preproc" >&6; } |
20474 | 23443 |
20475 # So? What about this header? | 23444 # So? What about this header? |
20476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 23445 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20477 yes:no: ) | 23446 yes:no: ) |
20478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 23447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 23461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 23462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 23463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 23464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20497 ( | 23466 |
20498 cat <<\_ASBOX | |
20499 ## ------------------------------------------ ## | |
20500 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20501 ## ------------------------------------------ ## | |
20502 _ASBOX | |
20503 ) | | |
20504 sed "s/^/$as_me: WARNING: /" >&2 | |
20505 ;; | 23467 ;; |
20506 esac | 23468 esac |
20507 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23469 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20509 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20510 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23472 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20511 else | 23473 else |
20512 eval "$as_ac_Header=\$ac_header_preproc" | 23474 eval "$as_ac_Header=\$ac_header_preproc" |
20513 fi | 23475 fi |
20514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23476 ac_res=`eval echo '${'$as_ac_Header'}'` |
20515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23477 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23478 echo "${ECHO_T}$ac_res" >&6; } | |
20516 | 23479 |
20517 fi | 23480 fi |
20518 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 23481 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20519 cat >>confdefs.h <<_ACEOF | 23482 cat >>confdefs.h <<_ACEOF |
20520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 23483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20535 fi | 23498 fi |
20536 | 23499 |
20537 for ac_header in com_err.h | 23500 for ac_header in com_err.h |
20538 do | 23501 do |
20539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 23502 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
20540 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20541 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23504 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20543 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20544 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23507 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20545 fi | 23508 fi |
20546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23509 ac_res=`eval echo '${'$as_ac_Header'}'` |
20547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23510 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23511 echo "${ECHO_T}$ac_res" >&6; } | |
20548 else | 23512 else |
20549 # Is the header compilable? | 23513 # Is the header compilable? |
20550 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 23514 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
20551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 23515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
20552 cat >conftest.$ac_ext <<_ACEOF | 23516 cat >conftest.$ac_ext <<_ACEOF |
20553 /* confdefs.h. */ | 23517 /* confdefs.h. */ |
20554 _ACEOF | 23518 _ACEOF |
20555 cat confdefs.h >>conftest.$ac_ext | 23519 cat confdefs.h >>conftest.$ac_ext |
20556 cat >>conftest.$ac_ext <<_ACEOF | 23520 cat >>conftest.$ac_ext <<_ACEOF |
20557 /* end confdefs.h. */ | 23521 /* end confdefs.h. */ |
20558 $ac_includes_default | 23522 $ac_includes_default |
20559 #include <$ac_header> | 23523 #include <$ac_header> |
20560 _ACEOF | 23524 _ACEOF |
20561 rm -f conftest.$ac_objext | 23525 rm -f conftest.$ac_objext |
20562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23526 if { (ac_try="$ac_compile" |
20563 (eval $ac_compile) 2>conftest.er1 | 23527 case "(($ac_try" in |
23528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23529 *) ac_try_echo=$ac_try;; | |
23530 esac | |
23531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23532 (eval "$ac_compile") 2>conftest.er1 | |
20564 ac_status=$? | 23533 ac_status=$? |
20565 grep -v '^ *+' conftest.er1 >conftest.err | 23534 grep -v '^ *+' conftest.er1 >conftest.err |
20566 rm -f conftest.er1 | 23535 rm -f conftest.er1 |
20567 cat conftest.err >&5 | 23536 cat conftest.err >&5 |
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20569 (exit $ac_status); } && | 23538 (exit $ac_status); } && |
20570 { ac_try='test -z "$ac_c_werror_flag" | 23539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20571 || test ! -s conftest.err' | 23540 { (case "(($ac_try" in |
20572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20573 (eval $ac_try) 2>&5 | 23542 *) ac_try_echo=$ac_try;; |
23543 esac | |
23544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23545 (eval "$ac_try") 2>&5 | |
20574 ac_status=$? | 23546 ac_status=$? |
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20576 (exit $ac_status); }; } && | 23548 (exit $ac_status); }; } && |
20577 { ac_try='test -s conftest.$ac_objext' | 23549 { ac_try='test -s conftest.$ac_objext' |
20578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23550 { (case "(($ac_try" in |
20579 (eval $ac_try) 2>&5 | 23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23552 *) ac_try_echo=$ac_try;; | |
23553 esac | |
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23555 (eval "$ac_try") 2>&5 | |
20580 ac_status=$? | 23556 ac_status=$? |
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20582 (exit $ac_status); }; }; then | 23558 (exit $ac_status); }; }; then |
20583 ac_header_compiler=yes | 23559 ac_header_compiler=yes |
20584 else | 23560 else |
20585 echo "$as_me: failed program was:" >&5 | 23561 echo "$as_me: failed program was:" >&5 |
20586 sed 's/^/| /' conftest.$ac_ext >&5 | 23562 sed 's/^/| /' conftest.$ac_ext >&5 |
20587 | 23563 |
20588 ac_header_compiler=no | 23564 ac_header_compiler=no |
20589 fi | 23565 fi |
20590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 23566 |
20591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
20592 echo "${ECHO_T}$ac_header_compiler" >&6 | 23568 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
23569 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
20593 | 23570 |
20594 # Is the header present? | 23571 # Is the header present? |
20595 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 23572 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
20596 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 23573 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
20597 cat >conftest.$ac_ext <<_ACEOF | 23574 cat >conftest.$ac_ext <<_ACEOF |
20598 /* confdefs.h. */ | 23575 /* confdefs.h. */ |
20599 _ACEOF | 23576 _ACEOF |
20600 cat confdefs.h >>conftest.$ac_ext | 23577 cat confdefs.h >>conftest.$ac_ext |
20601 cat >>conftest.$ac_ext <<_ACEOF | 23578 cat >>conftest.$ac_ext <<_ACEOF |
20602 /* end confdefs.h. */ | 23579 /* end confdefs.h. */ |
20603 #include <$ac_header> | 23580 #include <$ac_header> |
20604 _ACEOF | 23581 _ACEOF |
20605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 23582 if { (ac_try="$ac_cpp conftest.$ac_ext" |
20606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 23583 case "(($ac_try" in |
23584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23585 *) ac_try_echo=$ac_try;; | |
23586 esac | |
23587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
20607 ac_status=$? | 23589 ac_status=$? |
20608 grep -v '^ *+' conftest.er1 >conftest.err | 23590 grep -v '^ *+' conftest.er1 >conftest.err |
20609 rm -f conftest.er1 | 23591 rm -f conftest.er1 |
20610 cat conftest.err >&5 | 23592 cat conftest.err >&5 |
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20625 echo "$as_me: failed program was:" >&5 | 23607 echo "$as_me: failed program was:" >&5 |
20626 sed 's/^/| /' conftest.$ac_ext >&5 | 23608 sed 's/^/| /' conftest.$ac_ext >&5 |
20627 | 23609 |
20628 ac_header_preproc=no | 23610 ac_header_preproc=no |
20629 fi | 23611 fi |
23612 | |
20630 rm -f conftest.err conftest.$ac_ext | 23613 rm -f conftest.err conftest.$ac_ext |
20631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 23614 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
20632 echo "${ECHO_T}$ac_header_preproc" >&6 | 23615 echo "${ECHO_T}$ac_header_preproc" >&6; } |
20633 | 23616 |
20634 # So? What about this header? | 23617 # So? What about this header? |
20635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 23618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
20636 yes:no: ) | 23619 yes:no: ) |
20637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 23620 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
20651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 23634 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
20652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 23635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
20653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 23636 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
20654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 23637 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
20655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 23638 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
20656 ( | 23639 |
20657 cat <<\_ASBOX | |
20658 ## ------------------------------------------ ## | |
20659 ## Report this to the AC_PACKAGE_NAME lists. ## | |
20660 ## ------------------------------------------ ## | |
20661 _ASBOX | |
20662 ) | | |
20663 sed "s/^/$as_me: WARNING: /" >&2 | |
20664 ;; | 23640 ;; |
20665 esac | 23641 esac |
20666 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 23642 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
20667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 23643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
20668 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 23644 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
20669 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23645 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20670 else | 23646 else |
20671 eval "$as_ac_Header=\$ac_header_preproc" | 23647 eval "$as_ac_Header=\$ac_header_preproc" |
20672 fi | 23648 fi |
20673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 23649 ac_res=`eval echo '${'$as_ac_Header'}'` |
20674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 23650 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23651 echo "${ECHO_T}$ac_res" >&6; } | |
20675 | 23652 |
20676 fi | 23653 fi |
20677 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 23654 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
20678 cat >>confdefs.h <<_ACEOF | 23655 cat >>confdefs.h <<_ACEOF |
20679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 23656 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
20686 fi | 23663 fi |
20687 | 23664 |
20688 # Solaris requires -lintl if you want strerror (which calls dgettext) | 23665 # Solaris requires -lintl if you want strerror (which calls dgettext) |
20689 # to return localized messages. | 23666 # to return localized messages. |
20690 | 23667 |
20691 echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 | 23668 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 |
20692 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 | 23669 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } |
20693 if test "${ac_cv_lib_intl_dgettext+set}" = set; then | 23670 if test "${ac_cv_lib_intl_dgettext+set}" = set; then |
20694 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23671 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20695 else | 23672 else |
20696 ac_check_lib_save_LIBS=$LIBS | 23673 ac_check_lib_save_LIBS=$LIBS |
20697 LIBS="-lintl $LIBS" | 23674 LIBS="-lintl $LIBS" |
20700 _ACEOF | 23677 _ACEOF |
20701 cat confdefs.h >>conftest.$ac_ext | 23678 cat confdefs.h >>conftest.$ac_ext |
20702 cat >>conftest.$ac_ext <<_ACEOF | 23679 cat >>conftest.$ac_ext <<_ACEOF |
20703 /* end confdefs.h. */ | 23680 /* end confdefs.h. */ |
20704 | 23681 |
20705 /* Override any gcc2 internal prototype to avoid an error. */ | 23682 /* Override any GCC internal prototype to avoid an error. |
23683 Use char because int might match the return type of a GCC | |
23684 builtin and then its argument prototype would still apply. */ | |
20706 #ifdef __cplusplus | 23685 #ifdef __cplusplus |
20707 extern "C" | 23686 extern "C" |
20708 #endif | 23687 #endif |
20709 /* We use char because int might match the return type of a gcc2 | |
20710 builtin and then its argument prototype would still apply. */ | |
20711 char dgettext (); | 23688 char dgettext (); |
20712 int | 23689 int |
20713 main () | 23690 main () |
20714 { | 23691 { |
20715 dgettext (); | 23692 return dgettext (); |
20716 ; | 23693 ; |
20717 return 0; | 23694 return 0; |
20718 } | 23695 } |
20719 _ACEOF | 23696 _ACEOF |
20720 rm -f conftest.$ac_objext conftest$ac_exeext | 23697 rm -f conftest.$ac_objext conftest$ac_exeext |
20721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23698 if { (ac_try="$ac_link" |
20722 (eval $ac_link) 2>conftest.er1 | 23699 case "(($ac_try" in |
23700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23701 *) ac_try_echo=$ac_try;; | |
23702 esac | |
23703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23704 (eval "$ac_link") 2>conftest.er1 | |
20723 ac_status=$? | 23705 ac_status=$? |
20724 grep -v '^ *+' conftest.er1 >conftest.err | 23706 grep -v '^ *+' conftest.er1 >conftest.err |
20725 rm -f conftest.er1 | 23707 rm -f conftest.er1 |
20726 cat conftest.err >&5 | 23708 cat conftest.err >&5 |
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20728 (exit $ac_status); } && | 23710 (exit $ac_status); } && |
20729 { ac_try='test -z "$ac_c_werror_flag" | 23711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20730 || test ! -s conftest.err' | 23712 { (case "(($ac_try" in |
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20732 (eval $ac_try) 2>&5 | 23714 *) ac_try_echo=$ac_try;; |
23715 esac | |
23716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23717 (eval "$ac_try") 2>&5 | |
20733 ac_status=$? | 23718 ac_status=$? |
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20735 (exit $ac_status); }; } && | 23720 (exit $ac_status); }; } && |
20736 { ac_try='test -s conftest$ac_exeext' | 23721 { ac_try='test -s conftest$ac_exeext' |
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23722 { (case "(($ac_try" in |
20738 (eval $ac_try) 2>&5 | 23723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23724 *) ac_try_echo=$ac_try;; | |
23725 esac | |
23726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23727 (eval "$ac_try") 2>&5 | |
20739 ac_status=$? | 23728 ac_status=$? |
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20741 (exit $ac_status); }; }; then | 23730 (exit $ac_status); }; }; then |
20742 ac_cv_lib_intl_dgettext=yes | 23731 ac_cv_lib_intl_dgettext=yes |
20743 else | 23732 else |
20744 echo "$as_me: failed program was:" >&5 | 23733 echo "$as_me: failed program was:" >&5 |
20745 sed 's/^/| /' conftest.$ac_ext >&5 | 23734 sed 's/^/| /' conftest.$ac_ext >&5 |
20746 | 23735 |
20747 ac_cv_lib_intl_dgettext=no | 23736 ac_cv_lib_intl_dgettext=no |
20748 fi | 23737 fi |
20749 rm -f conftest.err conftest.$ac_objext \ | 23738 |
23739 rm -f core conftest.err conftest.$ac_objext \ | |
20750 conftest$ac_exeext conftest.$ac_ext | 23740 conftest$ac_exeext conftest.$ac_ext |
20751 LIBS=$ac_check_lib_save_LIBS | 23741 LIBS=$ac_check_lib_save_LIBS |
20752 fi | 23742 fi |
20753 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 | 23743 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 |
20754 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 | 23744 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } |
20755 if test $ac_cv_lib_intl_dgettext = yes; then | 23745 if test $ac_cv_lib_intl_dgettext = yes; then |
20756 cat >>confdefs.h <<_ACEOF | 23746 cat >>confdefs.h <<_ACEOF |
20757 #define HAVE_LIBINTL 1 | 23747 #define HAVE_LIBINTL 1 |
20758 _ACEOF | 23748 _ACEOF |
20759 | 23749 |
20760 LIBS="-lintl $LIBS" | 23750 LIBS="-lintl $LIBS" |
20761 | 23751 |
20762 fi | 23752 fi |
20763 | 23753 |
20764 | 23754 |
20765 echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 | 23755 { echo "$as_me:$LINENO: checking whether localtime caches TZ" >&5 |
20766 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6 | 23756 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6; } |
20767 if test "${emacs_cv_localtime_cache+set}" = set; then | 23757 if test "${emacs_cv_localtime_cache+set}" = set; then |
20768 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23758 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20769 else | 23759 else |
20770 if test x$ac_cv_func_tzset = xyes; then | 23760 if test x$ac_cv_func_tzset = xyes; then |
20771 if test "$cross_compiling" = yes; then | 23761 if test "$cross_compiling" = yes; then |
20807 exit (1); | 23797 exit (1); |
20808 exit (0); | 23798 exit (0); |
20809 } | 23799 } |
20810 _ACEOF | 23800 _ACEOF |
20811 rm -f conftest$ac_exeext | 23801 rm -f conftest$ac_exeext |
20812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23802 if { (ac_try="$ac_link" |
20813 (eval $ac_link) 2>&5 | 23803 case "(($ac_try" in |
23804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23805 *) ac_try_echo=$ac_try;; | |
23806 esac | |
23807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23808 (eval "$ac_link") 2>&5 | |
20814 ac_status=$? | 23809 ac_status=$? |
20815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 23811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23812 { (case "(($ac_try" in |
20818 (eval $ac_try) 2>&5 | 23813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23814 *) ac_try_echo=$ac_try;; | |
23815 esac | |
23816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23817 (eval "$ac_try") 2>&5 | |
20819 ac_status=$? | 23818 ac_status=$? |
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20821 (exit $ac_status); }; }; then | 23820 (exit $ac_status); }; }; then |
20822 emacs_cv_localtime_cache=no | 23821 emacs_cv_localtime_cache=no |
20823 else | 23822 else |
20826 sed 's/^/| /' conftest.$ac_ext >&5 | 23825 sed 's/^/| /' conftest.$ac_ext >&5 |
20827 | 23826 |
20828 ( exit $ac_status ) | 23827 ( exit $ac_status ) |
20829 emacs_cv_localtime_cache=yes | 23828 emacs_cv_localtime_cache=yes |
20830 fi | 23829 fi |
20831 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 23830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
20832 fi | 23831 fi |
23832 | |
23833 | |
20833 else | 23834 else |
20834 # If we lack tzset, report that localtime does not cache TZ, | 23835 # If we lack tzset, report that localtime does not cache TZ, |
20835 # since we can't invalidate the cache if we don't have tzset. | 23836 # since we can't invalidate the cache if we don't have tzset. |
20836 emacs_cv_localtime_cache=no | 23837 emacs_cv_localtime_cache=no |
20837 fi | 23838 fi |
20838 fi | 23839 fi |
20839 echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 | 23840 { echo "$as_me:$LINENO: result: $emacs_cv_localtime_cache" >&5 |
20840 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6 | 23841 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6; } |
20841 if test $emacs_cv_localtime_cache = yes; then | 23842 if test $emacs_cv_localtime_cache = yes; then |
20842 | 23843 |
20843 cat >>confdefs.h <<\_ACEOF | 23844 cat >>confdefs.h <<\_ACEOF |
20844 #define LOCALTIME_CACHE 1 | 23845 #define LOCALTIME_CACHE 1 |
20845 _ACEOF | 23846 _ACEOF |
20849 if test "x$HAVE_TIMEVAL" = xyes; then | 23850 if test "x$HAVE_TIMEVAL" = xyes; then |
20850 | 23851 |
20851 for ac_func in gettimeofday | 23852 for ac_func in gettimeofday |
20852 do | 23853 do |
20853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 23854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
20854 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 23855 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
20855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 23856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
20856 if eval "test \"\${$as_ac_var+set}\" = set"; then | 23857 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
20857 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23858 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20858 else | 23859 else |
20859 cat >conftest.$ac_ext <<_ACEOF | 23860 cat >conftest.$ac_ext <<_ACEOF |
20860 /* confdefs.h. */ | 23861 /* confdefs.h. */ |
20861 _ACEOF | 23862 _ACEOF |
20877 # include <assert.h> | 23878 # include <assert.h> |
20878 #endif | 23879 #endif |
20879 | 23880 |
20880 #undef $ac_func | 23881 #undef $ac_func |
20881 | 23882 |
20882 /* Override any gcc2 internal prototype to avoid an error. */ | 23883 /* Override any GCC internal prototype to avoid an error. |
23884 Use char because int might match the return type of a GCC | |
23885 builtin and then its argument prototype would still apply. */ | |
20883 #ifdef __cplusplus | 23886 #ifdef __cplusplus |
20884 extern "C" | 23887 extern "C" |
20885 { | |
20886 #endif | 23888 #endif |
20887 /* We use char because int might match the return type of a gcc2 | |
20888 builtin and then its argument prototype would still apply. */ | |
20889 char $ac_func (); | 23889 char $ac_func (); |
20890 /* The GNU C library defines this for functions which it implements | 23890 /* The GNU C library defines this for functions which it implements |
20891 to always fail with ENOSYS. Some functions are actually named | 23891 to always fail with ENOSYS. Some functions are actually named |
20892 something starting with __ and the normal name is an alias. */ | 23892 something starting with __ and the normal name is an alias. */ |
20893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 23893 #if defined __stub_$ac_func || defined __stub___$ac_func |
20894 choke me | 23894 choke me |
20895 #else | |
20896 char (*f) () = $ac_func; | |
20897 #endif | |
20898 #ifdef __cplusplus | |
20899 } | |
20900 #endif | 23895 #endif |
20901 | 23896 |
20902 int | 23897 int |
20903 main () | 23898 main () |
20904 { | 23899 { |
20905 return f != $ac_func; | 23900 return $ac_func (); |
20906 ; | 23901 ; |
20907 return 0; | 23902 return 0; |
20908 } | 23903 } |
20909 _ACEOF | 23904 _ACEOF |
20910 rm -f conftest.$ac_objext conftest$ac_exeext | 23905 rm -f conftest.$ac_objext conftest$ac_exeext |
20911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 23906 if { (ac_try="$ac_link" |
20912 (eval $ac_link) 2>conftest.er1 | 23907 case "(($ac_try" in |
23908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23909 *) ac_try_echo=$ac_try;; | |
23910 esac | |
23911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23912 (eval "$ac_link") 2>conftest.er1 | |
20913 ac_status=$? | 23913 ac_status=$? |
20914 grep -v '^ *+' conftest.er1 >conftest.err | 23914 grep -v '^ *+' conftest.er1 >conftest.err |
20915 rm -f conftest.er1 | 23915 rm -f conftest.er1 |
20916 cat conftest.err >&5 | 23916 cat conftest.err >&5 |
20917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20918 (exit $ac_status); } && | 23918 (exit $ac_status); } && |
20919 { ac_try='test -z "$ac_c_werror_flag" | 23919 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20920 || test ! -s conftest.err' | 23920 { (case "(($ac_try" in |
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20922 (eval $ac_try) 2>&5 | 23922 *) ac_try_echo=$ac_try;; |
23923 esac | |
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23925 (eval "$ac_try") 2>&5 | |
20923 ac_status=$? | 23926 ac_status=$? |
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20925 (exit $ac_status); }; } && | 23928 (exit $ac_status); }; } && |
20926 { ac_try='test -s conftest$ac_exeext' | 23929 { ac_try='test -s conftest$ac_exeext' |
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 23930 { (case "(($ac_try" in |
20928 (eval $ac_try) 2>&5 | 23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
23932 *) ac_try_echo=$ac_try;; | |
23933 esac | |
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
23935 (eval "$ac_try") 2>&5 | |
20929 ac_status=$? | 23936 ac_status=$? |
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20931 (exit $ac_status); }; }; then | 23938 (exit $ac_status); }; }; then |
20932 eval "$as_ac_var=yes" | 23939 eval "$as_ac_var=yes" |
20933 else | 23940 else |
20934 echo "$as_me: failed program was:" >&5 | 23941 echo "$as_me: failed program was:" >&5 |
20935 sed 's/^/| /' conftest.$ac_ext >&5 | 23942 sed 's/^/| /' conftest.$ac_ext >&5 |
20936 | 23943 |
20937 eval "$as_ac_var=no" | 23944 eval "$as_ac_var=no" |
20938 fi | 23945 fi |
20939 rm -f conftest.err conftest.$ac_objext \ | 23946 |
23947 rm -f core conftest.err conftest.$ac_objext \ | |
20940 conftest$ac_exeext conftest.$ac_ext | 23948 conftest$ac_exeext conftest.$ac_ext |
20941 fi | 23949 fi |
20942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 23950 ac_res=`eval echo '${'$as_ac_var'}'` |
20943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 23951 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
23952 echo "${ECHO_T}$ac_res" >&6; } | |
20944 if test `eval echo '${'$as_ac_var'}'` = yes; then | 23953 if test `eval echo '${'$as_ac_var'}'` = yes; then |
20945 cat >>confdefs.h <<_ACEOF | 23954 cat >>confdefs.h <<_ACEOF |
20946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 23955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20947 _ACEOF | 23956 _ACEOF |
20948 | 23957 |
20949 fi | 23958 fi |
20950 done | 23959 done |
20951 | 23960 |
20952 if test $ac_cv_func_gettimeofday = yes; then | 23961 if test $ac_cv_func_gettimeofday = yes; then |
20953 echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 | 23962 { echo "$as_me:$LINENO: checking whether gettimeofday can accept two arguments" >&5 |
20954 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6 | 23963 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6; } |
20955 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then | 23964 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then |
20956 echo $ECHO_N "(cached) $ECHO_C" >&6 | 23965 echo $ECHO_N "(cached) $ECHO_C" >&6 |
20957 else | 23966 else |
20958 cat >conftest.$ac_ext <<_ACEOF | 23967 cat >conftest.$ac_ext <<_ACEOF |
20959 /* confdefs.h. */ | 23968 /* confdefs.h. */ |
20980 ; | 23989 ; |
20981 return 0; | 23990 return 0; |
20982 } | 23991 } |
20983 _ACEOF | 23992 _ACEOF |
20984 rm -f conftest.$ac_objext | 23993 rm -f conftest.$ac_objext |
20985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 23994 if { (ac_try="$ac_compile" |
20986 (eval $ac_compile) 2>conftest.er1 | 23995 case "(($ac_try" in |
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
23997 *) ac_try_echo=$ac_try;; | |
23998 esac | |
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24000 (eval "$ac_compile") 2>conftest.er1 | |
20987 ac_status=$? | 24001 ac_status=$? |
20988 grep -v '^ *+' conftest.er1 >conftest.err | 24002 grep -v '^ *+' conftest.er1 >conftest.err |
20989 rm -f conftest.er1 | 24003 rm -f conftest.er1 |
20990 cat conftest.err >&5 | 24004 cat conftest.err >&5 |
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20992 (exit $ac_status); } && | 24006 (exit $ac_status); } && |
20993 { ac_try='test -z "$ac_c_werror_flag" | 24007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
20994 || test ! -s conftest.err' | 24008 { (case "(($ac_try" in |
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
20996 (eval $ac_try) 2>&5 | 24010 *) ac_try_echo=$ac_try;; |
24011 esac | |
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24013 (eval "$ac_try") 2>&5 | |
20997 ac_status=$? | 24014 ac_status=$? |
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20999 (exit $ac_status); }; } && | 24016 (exit $ac_status); }; } && |
21000 { ac_try='test -s conftest.$ac_objext' | 24017 { ac_try='test -s conftest.$ac_objext' |
21001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24018 { (case "(($ac_try" in |
21002 (eval $ac_try) 2>&5 | 24019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24020 *) ac_try_echo=$ac_try;; | |
24021 esac | |
24022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24023 (eval "$ac_try") 2>&5 | |
21003 ac_status=$? | 24024 ac_status=$? |
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21005 (exit $ac_status); }; }; then | 24026 (exit $ac_status); }; }; then |
21006 emacs_cv_gettimeofday_two_arguments=yes | 24027 emacs_cv_gettimeofday_two_arguments=yes |
21007 else | 24028 else |
21008 echo "$as_me: failed program was:" >&5 | 24029 echo "$as_me: failed program was:" >&5 |
21009 sed 's/^/| /' conftest.$ac_ext >&5 | 24030 sed 's/^/| /' conftest.$ac_ext >&5 |
21010 | 24031 |
21011 emacs_cv_gettimeofday_two_arguments=no | 24032 emacs_cv_gettimeofday_two_arguments=no |
21012 fi | 24033 fi |
21013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24034 |
21014 fi | 24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21015 echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 | 24036 fi |
21016 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6 | 24037 { echo "$as_me:$LINENO: result: $emacs_cv_gettimeofday_two_arguments" >&5 |
24038 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6; } | |
21017 if test $emacs_cv_gettimeofday_two_arguments = no; then | 24039 if test $emacs_cv_gettimeofday_two_arguments = no; then |
21018 | 24040 |
21019 cat >>confdefs.h <<\_ACEOF | 24041 cat >>confdefs.h <<\_ACEOF |
21020 #define GETTIMEOFDAY_ONE_ARGUMENT 1 | 24042 #define GETTIMEOFDAY_ONE_ARGUMENT 1 |
21021 _ACEOF | 24043 _ACEOF |
21023 fi | 24045 fi |
21024 fi | 24046 fi |
21025 fi | 24047 fi |
21026 | 24048 |
21027 ok_so_far=yes | 24049 ok_so_far=yes |
21028 echo "$as_me:$LINENO: checking for socket" >&5 | 24050 { echo "$as_me:$LINENO: checking for socket" >&5 |
21029 echo $ECHO_N "checking for socket... $ECHO_C" >&6 | 24051 echo $ECHO_N "checking for socket... $ECHO_C" >&6; } |
21030 if test "${ac_cv_func_socket+set}" = set; then | 24052 if test "${ac_cv_func_socket+set}" = set; then |
21031 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24053 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21032 else | 24054 else |
21033 cat >conftest.$ac_ext <<_ACEOF | 24055 cat >conftest.$ac_ext <<_ACEOF |
21034 /* confdefs.h. */ | 24056 /* confdefs.h. */ |
21051 # include <assert.h> | 24073 # include <assert.h> |
21052 #endif | 24074 #endif |
21053 | 24075 |
21054 #undef socket | 24076 #undef socket |
21055 | 24077 |
21056 /* Override any gcc2 internal prototype to avoid an error. */ | 24078 /* Override any GCC internal prototype to avoid an error. |
24079 Use char because int might match the return type of a GCC | |
24080 builtin and then its argument prototype would still apply. */ | |
21057 #ifdef __cplusplus | 24081 #ifdef __cplusplus |
21058 extern "C" | 24082 extern "C" |
21059 { | |
21060 #endif | 24083 #endif |
21061 /* We use char because int might match the return type of a gcc2 | |
21062 builtin and then its argument prototype would still apply. */ | |
21063 char socket (); | 24084 char socket (); |
21064 /* The GNU C library defines this for functions which it implements | 24085 /* The GNU C library defines this for functions which it implements |
21065 to always fail with ENOSYS. Some functions are actually named | 24086 to always fail with ENOSYS. Some functions are actually named |
21066 something starting with __ and the normal name is an alias. */ | 24087 something starting with __ and the normal name is an alias. */ |
21067 #if defined (__stub_socket) || defined (__stub___socket) | 24088 #if defined __stub_socket || defined __stub___socket |
21068 choke me | 24089 choke me |
21069 #else | |
21070 char (*f) () = socket; | |
21071 #endif | |
21072 #ifdef __cplusplus | |
21073 } | |
21074 #endif | 24090 #endif |
21075 | 24091 |
21076 int | 24092 int |
21077 main () | 24093 main () |
21078 { | 24094 { |
21079 return f != socket; | 24095 return socket (); |
21080 ; | 24096 ; |
21081 return 0; | 24097 return 0; |
21082 } | 24098 } |
21083 _ACEOF | 24099 _ACEOF |
21084 rm -f conftest.$ac_objext conftest$ac_exeext | 24100 rm -f conftest.$ac_objext conftest$ac_exeext |
21085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24101 if { (ac_try="$ac_link" |
21086 (eval $ac_link) 2>conftest.er1 | 24102 case "(($ac_try" in |
24103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24104 *) ac_try_echo=$ac_try;; | |
24105 esac | |
24106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24107 (eval "$ac_link") 2>conftest.er1 | |
21087 ac_status=$? | 24108 ac_status=$? |
21088 grep -v '^ *+' conftest.er1 >conftest.err | 24109 grep -v '^ *+' conftest.er1 >conftest.err |
21089 rm -f conftest.er1 | 24110 rm -f conftest.er1 |
21090 cat conftest.err >&5 | 24111 cat conftest.err >&5 |
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21092 (exit $ac_status); } && | 24113 (exit $ac_status); } && |
21093 { ac_try='test -z "$ac_c_werror_flag" | 24114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21094 || test ! -s conftest.err' | 24115 { (case "(($ac_try" in |
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21096 (eval $ac_try) 2>&5 | 24117 *) ac_try_echo=$ac_try;; |
24118 esac | |
24119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24120 (eval "$ac_try") 2>&5 | |
21097 ac_status=$? | 24121 ac_status=$? |
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21099 (exit $ac_status); }; } && | 24123 (exit $ac_status); }; } && |
21100 { ac_try='test -s conftest$ac_exeext' | 24124 { ac_try='test -s conftest$ac_exeext' |
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24125 { (case "(($ac_try" in |
21102 (eval $ac_try) 2>&5 | 24126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24127 *) ac_try_echo=$ac_try;; | |
24128 esac | |
24129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24130 (eval "$ac_try") 2>&5 | |
21103 ac_status=$? | 24131 ac_status=$? |
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21105 (exit $ac_status); }; }; then | 24133 (exit $ac_status); }; }; then |
21106 ac_cv_func_socket=yes | 24134 ac_cv_func_socket=yes |
21107 else | 24135 else |
21108 echo "$as_me: failed program was:" >&5 | 24136 echo "$as_me: failed program was:" >&5 |
21109 sed 's/^/| /' conftest.$ac_ext >&5 | 24137 sed 's/^/| /' conftest.$ac_ext >&5 |
21110 | 24138 |
21111 ac_cv_func_socket=no | 24139 ac_cv_func_socket=no |
21112 fi | 24140 fi |
21113 rm -f conftest.err conftest.$ac_objext \ | 24141 |
24142 rm -f core conftest.err conftest.$ac_objext \ | |
21114 conftest$ac_exeext conftest.$ac_ext | 24143 conftest$ac_exeext conftest.$ac_ext |
21115 fi | 24144 fi |
21116 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 | 24145 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 |
21117 echo "${ECHO_T}$ac_cv_func_socket" >&6 | 24146 echo "${ECHO_T}$ac_cv_func_socket" >&6; } |
21118 if test $ac_cv_func_socket = yes; then | 24147 if test $ac_cv_func_socket = yes; then |
21119 : | 24148 : |
21120 else | 24149 else |
21121 ok_so_far=no | 24150 ok_so_far=no |
21122 fi | 24151 fi |
21123 | 24152 |
21124 if test $ok_so_far = yes; then | 24153 if test $ok_so_far = yes; then |
21125 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 24154 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
21126 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 24155 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
21127 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 24156 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } |
21128 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 24157 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
21129 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24158 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21130 fi | 24159 fi |
21131 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 24160 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 |
21132 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 24161 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } |
21133 else | 24162 else |
21134 # Is the header compilable? | 24163 # Is the header compilable? |
21135 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 | 24164 { echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 |
21136 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 | 24165 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6; } |
21137 cat >conftest.$ac_ext <<_ACEOF | 24166 cat >conftest.$ac_ext <<_ACEOF |
21138 /* confdefs.h. */ | 24167 /* confdefs.h. */ |
21139 _ACEOF | 24168 _ACEOF |
21140 cat confdefs.h >>conftest.$ac_ext | 24169 cat confdefs.h >>conftest.$ac_ext |
21141 cat >>conftest.$ac_ext <<_ACEOF | 24170 cat >>conftest.$ac_ext <<_ACEOF |
21142 /* end confdefs.h. */ | 24171 /* end confdefs.h. */ |
21143 $ac_includes_default | 24172 $ac_includes_default |
21144 #include <netinet/in.h> | 24173 #include <netinet/in.h> |
21145 _ACEOF | 24174 _ACEOF |
21146 rm -f conftest.$ac_objext | 24175 rm -f conftest.$ac_objext |
21147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24176 if { (ac_try="$ac_compile" |
21148 (eval $ac_compile) 2>conftest.er1 | 24177 case "(($ac_try" in |
24178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24179 *) ac_try_echo=$ac_try;; | |
24180 esac | |
24181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24182 (eval "$ac_compile") 2>conftest.er1 | |
21149 ac_status=$? | 24183 ac_status=$? |
21150 grep -v '^ *+' conftest.er1 >conftest.err | 24184 grep -v '^ *+' conftest.er1 >conftest.err |
21151 rm -f conftest.er1 | 24185 rm -f conftest.er1 |
21152 cat conftest.err >&5 | 24186 cat conftest.err >&5 |
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21154 (exit $ac_status); } && | 24188 (exit $ac_status); } && |
21155 { ac_try='test -z "$ac_c_werror_flag" | 24189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21156 || test ! -s conftest.err' | 24190 { (case "(($ac_try" in |
21157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21158 (eval $ac_try) 2>&5 | 24192 *) ac_try_echo=$ac_try;; |
24193 esac | |
24194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24195 (eval "$ac_try") 2>&5 | |
21159 ac_status=$? | 24196 ac_status=$? |
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21161 (exit $ac_status); }; } && | 24198 (exit $ac_status); }; } && |
21162 { ac_try='test -s conftest.$ac_objext' | 24199 { ac_try='test -s conftest.$ac_objext' |
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24200 { (case "(($ac_try" in |
21164 (eval $ac_try) 2>&5 | 24201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24202 *) ac_try_echo=$ac_try;; | |
24203 esac | |
24204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24205 (eval "$ac_try") 2>&5 | |
21165 ac_status=$? | 24206 ac_status=$? |
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21167 (exit $ac_status); }; }; then | 24208 (exit $ac_status); }; }; then |
21168 ac_header_compiler=yes | 24209 ac_header_compiler=yes |
21169 else | 24210 else |
21170 echo "$as_me: failed program was:" >&5 | 24211 echo "$as_me: failed program was:" >&5 |
21171 sed 's/^/| /' conftest.$ac_ext >&5 | 24212 sed 's/^/| /' conftest.$ac_ext >&5 |
21172 | 24213 |
21173 ac_header_compiler=no | 24214 ac_header_compiler=no |
21174 fi | 24215 fi |
21175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24216 |
21176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 24217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21177 echo "${ECHO_T}$ac_header_compiler" >&6 | 24218 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24219 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
21178 | 24220 |
21179 # Is the header present? | 24221 # Is the header present? |
21180 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 | 24222 { echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 |
21181 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 | 24223 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6; } |
21182 cat >conftest.$ac_ext <<_ACEOF | 24224 cat >conftest.$ac_ext <<_ACEOF |
21183 /* confdefs.h. */ | 24225 /* confdefs.h. */ |
21184 _ACEOF | 24226 _ACEOF |
21185 cat confdefs.h >>conftest.$ac_ext | 24227 cat confdefs.h >>conftest.$ac_ext |
21186 cat >>conftest.$ac_ext <<_ACEOF | 24228 cat >>conftest.$ac_ext <<_ACEOF |
21187 /* end confdefs.h. */ | 24229 /* end confdefs.h. */ |
21188 #include <netinet/in.h> | 24230 #include <netinet/in.h> |
21189 _ACEOF | 24231 _ACEOF |
21190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 24232 if { (ac_try="$ac_cpp conftest.$ac_ext" |
21191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 24233 case "(($ac_try" in |
24234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24235 *) ac_try_echo=$ac_try;; | |
24236 esac | |
24237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
21192 ac_status=$? | 24239 ac_status=$? |
21193 grep -v '^ *+' conftest.er1 >conftest.err | 24240 grep -v '^ *+' conftest.er1 >conftest.err |
21194 rm -f conftest.er1 | 24241 rm -f conftest.er1 |
21195 cat conftest.err >&5 | 24242 cat conftest.err >&5 |
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21210 echo "$as_me: failed program was:" >&5 | 24257 echo "$as_me: failed program was:" >&5 |
21211 sed 's/^/| /' conftest.$ac_ext >&5 | 24258 sed 's/^/| /' conftest.$ac_ext >&5 |
21212 | 24259 |
21213 ac_header_preproc=no | 24260 ac_header_preproc=no |
21214 fi | 24261 fi |
24262 | |
21215 rm -f conftest.err conftest.$ac_ext | 24263 rm -f conftest.err conftest.$ac_ext |
21216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 24264 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21217 echo "${ECHO_T}$ac_header_preproc" >&6 | 24265 echo "${ECHO_T}$ac_header_preproc" >&6; } |
21218 | 24266 |
21219 # So? What about this header? | 24267 # So? What about this header? |
21220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 24268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21221 yes:no: ) | 24269 yes:no: ) |
21222 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 24270 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
21236 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} | 24284 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} |
21237 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 | 24285 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 |
21238 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} | 24286 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} |
21239 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 | 24287 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 |
21240 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} | 24288 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} |
21241 ( | 24289 |
21242 cat <<\_ASBOX | |
21243 ## ------------------------------------------ ## | |
21244 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21245 ## ------------------------------------------ ## | |
21246 _ASBOX | |
21247 ) | | |
21248 sed "s/^/$as_me: WARNING: /" >&2 | |
21249 ;; | 24290 ;; |
21250 esac | 24291 esac |
21251 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 | 24292 { echo "$as_me:$LINENO: checking for netinet/in.h" >&5 |
21252 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 | 24293 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6; } |
21253 if test "${ac_cv_header_netinet_in_h+set}" = set; then | 24294 if test "${ac_cv_header_netinet_in_h+set}" = set; then |
21254 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24295 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21255 else | 24296 else |
21256 ac_cv_header_netinet_in_h=$ac_header_preproc | 24297 ac_cv_header_netinet_in_h=$ac_header_preproc |
21257 fi | 24298 fi |
21258 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 | 24299 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 |
21259 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 | 24300 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6; } |
21260 | 24301 |
21261 fi | 24302 fi |
21262 if test $ac_cv_header_netinet_in_h = yes; then | 24303 if test $ac_cv_header_netinet_in_h = yes; then |
21263 : | 24304 : |
21264 else | 24305 else |
21267 | 24308 |
21268 | 24309 |
21269 fi | 24310 fi |
21270 if test $ok_so_far = yes; then | 24311 if test $ok_so_far = yes; then |
21271 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 24312 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
21272 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 24313 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
21273 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 24314 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } |
21274 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 24315 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
21275 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24316 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21276 fi | 24317 fi |
21277 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 24318 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 |
21278 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 24319 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } |
21279 else | 24320 else |
21280 # Is the header compilable? | 24321 # Is the header compilable? |
21281 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 | 24322 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 |
21282 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 | 24323 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } |
21283 cat >conftest.$ac_ext <<_ACEOF | 24324 cat >conftest.$ac_ext <<_ACEOF |
21284 /* confdefs.h. */ | 24325 /* confdefs.h. */ |
21285 _ACEOF | 24326 _ACEOF |
21286 cat confdefs.h >>conftest.$ac_ext | 24327 cat confdefs.h >>conftest.$ac_ext |
21287 cat >>conftest.$ac_ext <<_ACEOF | 24328 cat >>conftest.$ac_ext <<_ACEOF |
21288 /* end confdefs.h. */ | 24329 /* end confdefs.h. */ |
21289 $ac_includes_default | 24330 $ac_includes_default |
21290 #include <arpa/inet.h> | 24331 #include <arpa/inet.h> |
21291 _ACEOF | 24332 _ACEOF |
21292 rm -f conftest.$ac_objext | 24333 rm -f conftest.$ac_objext |
21293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24334 if { (ac_try="$ac_compile" |
21294 (eval $ac_compile) 2>conftest.er1 | 24335 case "(($ac_try" in |
24336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24337 *) ac_try_echo=$ac_try;; | |
24338 esac | |
24339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24340 (eval "$ac_compile") 2>conftest.er1 | |
21295 ac_status=$? | 24341 ac_status=$? |
21296 grep -v '^ *+' conftest.er1 >conftest.err | 24342 grep -v '^ *+' conftest.er1 >conftest.err |
21297 rm -f conftest.er1 | 24343 rm -f conftest.er1 |
21298 cat conftest.err >&5 | 24344 cat conftest.err >&5 |
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21300 (exit $ac_status); } && | 24346 (exit $ac_status); } && |
21301 { ac_try='test -z "$ac_c_werror_flag" | 24347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21302 || test ! -s conftest.err' | 24348 { (case "(($ac_try" in |
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21304 (eval $ac_try) 2>&5 | 24350 *) ac_try_echo=$ac_try;; |
24351 esac | |
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24353 (eval "$ac_try") 2>&5 | |
21305 ac_status=$? | 24354 ac_status=$? |
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21307 (exit $ac_status); }; } && | 24356 (exit $ac_status); }; } && |
21308 { ac_try='test -s conftest.$ac_objext' | 24357 { ac_try='test -s conftest.$ac_objext' |
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24358 { (case "(($ac_try" in |
21310 (eval $ac_try) 2>&5 | 24359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24360 *) ac_try_echo=$ac_try;; | |
24361 esac | |
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24363 (eval "$ac_try") 2>&5 | |
21311 ac_status=$? | 24364 ac_status=$? |
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21313 (exit $ac_status); }; }; then | 24366 (exit $ac_status); }; }; then |
21314 ac_header_compiler=yes | 24367 ac_header_compiler=yes |
21315 else | 24368 else |
21316 echo "$as_me: failed program was:" >&5 | 24369 echo "$as_me: failed program was:" >&5 |
21317 sed 's/^/| /' conftest.$ac_ext >&5 | 24370 sed 's/^/| /' conftest.$ac_ext >&5 |
21318 | 24371 |
21319 ac_header_compiler=no | 24372 ac_header_compiler=no |
21320 fi | 24373 fi |
21321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24374 |
21322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 24375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21323 echo "${ECHO_T}$ac_header_compiler" >&6 | 24376 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24377 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
21324 | 24378 |
21325 # Is the header present? | 24379 # Is the header present? |
21326 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 | 24380 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 |
21327 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 | 24381 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } |
21328 cat >conftest.$ac_ext <<_ACEOF | 24382 cat >conftest.$ac_ext <<_ACEOF |
21329 /* confdefs.h. */ | 24383 /* confdefs.h. */ |
21330 _ACEOF | 24384 _ACEOF |
21331 cat confdefs.h >>conftest.$ac_ext | 24385 cat confdefs.h >>conftest.$ac_ext |
21332 cat >>conftest.$ac_ext <<_ACEOF | 24386 cat >>conftest.$ac_ext <<_ACEOF |
21333 /* end confdefs.h. */ | 24387 /* end confdefs.h. */ |
21334 #include <arpa/inet.h> | 24388 #include <arpa/inet.h> |
21335 _ACEOF | 24389 _ACEOF |
21336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 24390 if { (ac_try="$ac_cpp conftest.$ac_ext" |
21337 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 24391 case "(($ac_try" in |
24392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24393 *) ac_try_echo=$ac_try;; | |
24394 esac | |
24395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
21338 ac_status=$? | 24397 ac_status=$? |
21339 grep -v '^ *+' conftest.er1 >conftest.err | 24398 grep -v '^ *+' conftest.er1 >conftest.err |
21340 rm -f conftest.er1 | 24399 rm -f conftest.er1 |
21341 cat conftest.err >&5 | 24400 cat conftest.err >&5 |
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21356 echo "$as_me: failed program was:" >&5 | 24415 echo "$as_me: failed program was:" >&5 |
21357 sed 's/^/| /' conftest.$ac_ext >&5 | 24416 sed 's/^/| /' conftest.$ac_ext >&5 |
21358 | 24417 |
21359 ac_header_preproc=no | 24418 ac_header_preproc=no |
21360 fi | 24419 fi |
24420 | |
21361 rm -f conftest.err conftest.$ac_ext | 24421 rm -f conftest.err conftest.$ac_ext |
21362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 24422 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21363 echo "${ECHO_T}$ac_header_preproc" >&6 | 24423 echo "${ECHO_T}$ac_header_preproc" >&6; } |
21364 | 24424 |
21365 # So? What about this header? | 24425 # So? What about this header? |
21366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 24426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21367 yes:no: ) | 24427 yes:no: ) |
21368 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 | 24428 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
21382 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} | 24442 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} |
21383 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 | 24443 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 |
21384 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} | 24444 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} |
21385 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 | 24445 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 |
21386 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} | 24446 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} |
21387 ( | 24447 |
21388 cat <<\_ASBOX | |
21389 ## ------------------------------------------ ## | |
21390 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21391 ## ------------------------------------------ ## | |
21392 _ASBOX | |
21393 ) | | |
21394 sed "s/^/$as_me: WARNING: /" >&2 | |
21395 ;; | 24448 ;; |
21396 esac | 24449 esac |
21397 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 | 24450 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 |
21398 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 | 24451 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } |
21399 if test "${ac_cv_header_arpa_inet_h+set}" = set; then | 24452 if test "${ac_cv_header_arpa_inet_h+set}" = set; then |
21400 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24453 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21401 else | 24454 else |
21402 ac_cv_header_arpa_inet_h=$ac_header_preproc | 24455 ac_cv_header_arpa_inet_h=$ac_header_preproc |
21403 fi | 24456 fi |
21404 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 | 24457 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 |
21405 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 | 24458 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } |
21406 | 24459 |
21407 fi | 24460 fi |
21408 if test $ac_cv_header_arpa_inet_h = yes; then | 24461 if test $ac_cv_header_arpa_inet_h = yes; then |
21409 : | 24462 : |
21410 else | 24463 else |
21423 | 24476 |
21424 | 24477 |
21425 for ac_header in sys/ioctl.h | 24478 for ac_header in sys/ioctl.h |
21426 do | 24479 do |
21427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 24480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21428 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24481 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21429 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 24482 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 24483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
21431 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21432 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24485 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21433 fi | 24486 fi |
21434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 24487 ac_res=`eval echo '${'$as_ac_Header'}'` |
21435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 24488 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24489 echo "${ECHO_T}$ac_res" >&6; } | |
21436 else | 24490 else |
21437 # Is the header compilable? | 24491 # Is the header compilable? |
21438 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 24492 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
21439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 24493 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
21440 cat >conftest.$ac_ext <<_ACEOF | 24494 cat >conftest.$ac_ext <<_ACEOF |
21441 /* confdefs.h. */ | 24495 /* confdefs.h. */ |
21442 _ACEOF | 24496 _ACEOF |
21443 cat confdefs.h >>conftest.$ac_ext | 24497 cat confdefs.h >>conftest.$ac_ext |
21444 cat >>conftest.$ac_ext <<_ACEOF | 24498 cat >>conftest.$ac_ext <<_ACEOF |
21445 /* end confdefs.h. */ | 24499 /* end confdefs.h. */ |
21446 $ac_includes_default | 24500 $ac_includes_default |
21447 #include <$ac_header> | 24501 #include <$ac_header> |
21448 _ACEOF | 24502 _ACEOF |
21449 rm -f conftest.$ac_objext | 24503 rm -f conftest.$ac_objext |
21450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24504 if { (ac_try="$ac_compile" |
21451 (eval $ac_compile) 2>conftest.er1 | 24505 case "(($ac_try" in |
24506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24507 *) ac_try_echo=$ac_try;; | |
24508 esac | |
24509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24510 (eval "$ac_compile") 2>conftest.er1 | |
21452 ac_status=$? | 24511 ac_status=$? |
21453 grep -v '^ *+' conftest.er1 >conftest.err | 24512 grep -v '^ *+' conftest.er1 >conftest.err |
21454 rm -f conftest.er1 | 24513 rm -f conftest.er1 |
21455 cat conftest.err >&5 | 24514 cat conftest.err >&5 |
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21457 (exit $ac_status); } && | 24516 (exit $ac_status); } && |
21458 { ac_try='test -z "$ac_c_werror_flag" | 24517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21459 || test ! -s conftest.err' | 24518 { (case "(($ac_try" in |
21460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21461 (eval $ac_try) 2>&5 | 24520 *) ac_try_echo=$ac_try;; |
24521 esac | |
24522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24523 (eval "$ac_try") 2>&5 | |
21462 ac_status=$? | 24524 ac_status=$? |
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21464 (exit $ac_status); }; } && | 24526 (exit $ac_status); }; } && |
21465 { ac_try='test -s conftest.$ac_objext' | 24527 { ac_try='test -s conftest.$ac_objext' |
21466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24528 { (case "(($ac_try" in |
21467 (eval $ac_try) 2>&5 | 24529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24530 *) ac_try_echo=$ac_try;; | |
24531 esac | |
24532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24533 (eval "$ac_try") 2>&5 | |
21468 ac_status=$? | 24534 ac_status=$? |
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21470 (exit $ac_status); }; }; then | 24536 (exit $ac_status); }; }; then |
21471 ac_header_compiler=yes | 24537 ac_header_compiler=yes |
21472 else | 24538 else |
21473 echo "$as_me: failed program was:" >&5 | 24539 echo "$as_me: failed program was:" >&5 |
21474 sed 's/^/| /' conftest.$ac_ext >&5 | 24540 sed 's/^/| /' conftest.$ac_ext >&5 |
21475 | 24541 |
21476 ac_header_compiler=no | 24542 ac_header_compiler=no |
21477 fi | 24543 fi |
21478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24544 |
21479 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 24545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21480 echo "${ECHO_T}$ac_header_compiler" >&6 | 24546 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24547 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
21481 | 24548 |
21482 # Is the header present? | 24549 # Is the header present? |
21483 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 24550 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
21484 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 24551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
21485 cat >conftest.$ac_ext <<_ACEOF | 24552 cat >conftest.$ac_ext <<_ACEOF |
21486 /* confdefs.h. */ | 24553 /* confdefs.h. */ |
21487 _ACEOF | 24554 _ACEOF |
21488 cat confdefs.h >>conftest.$ac_ext | 24555 cat confdefs.h >>conftest.$ac_ext |
21489 cat >>conftest.$ac_ext <<_ACEOF | 24556 cat >>conftest.$ac_ext <<_ACEOF |
21490 /* end confdefs.h. */ | 24557 /* end confdefs.h. */ |
21491 #include <$ac_header> | 24558 #include <$ac_header> |
21492 _ACEOF | 24559 _ACEOF |
21493 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 24560 if { (ac_try="$ac_cpp conftest.$ac_ext" |
21494 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 24561 case "(($ac_try" in |
24562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24563 *) ac_try_echo=$ac_try;; | |
24564 esac | |
24565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24566 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
21495 ac_status=$? | 24567 ac_status=$? |
21496 grep -v '^ *+' conftest.er1 >conftest.err | 24568 grep -v '^ *+' conftest.er1 >conftest.err |
21497 rm -f conftest.er1 | 24569 rm -f conftest.er1 |
21498 cat conftest.err >&5 | 24570 cat conftest.err >&5 |
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21513 echo "$as_me: failed program was:" >&5 | 24585 echo "$as_me: failed program was:" >&5 |
21514 sed 's/^/| /' conftest.$ac_ext >&5 | 24586 sed 's/^/| /' conftest.$ac_ext >&5 |
21515 | 24587 |
21516 ac_header_preproc=no | 24588 ac_header_preproc=no |
21517 fi | 24589 fi |
24590 | |
21518 rm -f conftest.err conftest.$ac_ext | 24591 rm -f conftest.err conftest.$ac_ext |
21519 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 24592 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21520 echo "${ECHO_T}$ac_header_preproc" >&6 | 24593 echo "${ECHO_T}$ac_header_preproc" >&6; } |
21521 | 24594 |
21522 # So? What about this header? | 24595 # So? What about this header? |
21523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 24596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21524 yes:no: ) | 24597 yes:no: ) |
21525 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 24598 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
21539 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 24612 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
21540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 24613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
21541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 24614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
21542 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 24615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
21543 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 24616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21544 ( | 24617 |
21545 cat <<\_ASBOX | |
21546 ## ------------------------------------------ ## | |
21547 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21548 ## ------------------------------------------ ## | |
21549 _ASBOX | |
21550 ) | | |
21551 sed "s/^/$as_me: WARNING: /" >&2 | |
21552 ;; | 24618 ;; |
21553 esac | 24619 esac |
21554 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 24620 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 24621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
21556 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24622 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21557 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24623 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21558 else | 24624 else |
21559 eval "$as_ac_Header=\$ac_header_preproc" | 24625 eval "$as_ac_Header=\$ac_header_preproc" |
21560 fi | 24626 fi |
21561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 24627 ac_res=`eval echo '${'$as_ac_Header'}'` |
21562 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 24628 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24629 echo "${ECHO_T}$ac_res" >&6; } | |
21563 | 24630 |
21564 fi | 24631 fi |
21565 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 24632 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
21566 cat >>confdefs.h <<_ACEOF | 24633 cat >>confdefs.h <<_ACEOF |
21567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 24634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21578 #define HAVE_AIX_SMT_EXP 1 | 24645 #define HAVE_AIX_SMT_EXP 1 |
21579 _ACEOF | 24646 _ACEOF |
21580 | 24647 |
21581 fi | 24648 fi |
21582 | 24649 |
21583 echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 | 24650 { echo "$as_me:$LINENO: checking whether system supports dynamic ptys" >&5 |
21584 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6 | 24651 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6; } |
21585 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 24652 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
21586 echo "$as_me:$LINENO: result: yes" >&5 | 24653 { echo "$as_me:$LINENO: result: yes" >&5 |
21587 echo "${ECHO_T}yes" >&6 | 24654 echo "${ECHO_T}yes" >&6; } |
21588 | 24655 |
21589 cat >>confdefs.h <<\_ACEOF | 24656 cat >>confdefs.h <<\_ACEOF |
21590 #define HAVE_DEV_PTMX 1 | 24657 #define HAVE_DEV_PTMX 1 |
21591 _ACEOF | 24658 _ACEOF |
21592 | 24659 |
21593 else | 24660 else |
21594 echo "$as_me:$LINENO: result: no" >&5 | 24661 { echo "$as_me:$LINENO: result: no" >&5 |
21595 echo "${ECHO_T}no" >&6 | 24662 echo "${ECHO_T}no" >&6; } |
21596 fi | 24663 fi |
21597 | 24664 |
21598 echo "$as_me:$LINENO: checking for pid_t" >&5 | 24665 { echo "$as_me:$LINENO: checking for pid_t" >&5 |
21599 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 24666 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } |
21600 if test "${ac_cv_type_pid_t+set}" = set; then | 24667 if test "${ac_cv_type_pid_t+set}" = set; then |
21601 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24668 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21602 else | 24669 else |
21603 cat >conftest.$ac_ext <<_ACEOF | 24670 cat >conftest.$ac_ext <<_ACEOF |
21604 /* confdefs.h. */ | 24671 /* confdefs.h. */ |
21605 _ACEOF | 24672 _ACEOF |
21606 cat confdefs.h >>conftest.$ac_ext | 24673 cat confdefs.h >>conftest.$ac_ext |
21607 cat >>conftest.$ac_ext <<_ACEOF | 24674 cat >>conftest.$ac_ext <<_ACEOF |
21608 /* end confdefs.h. */ | 24675 /* end confdefs.h. */ |
21609 $ac_includes_default | 24676 $ac_includes_default |
24677 typedef pid_t ac__type_new_; | |
21610 int | 24678 int |
21611 main () | 24679 main () |
21612 { | 24680 { |
21613 if ((pid_t *) 0) | 24681 if ((ac__type_new_ *) 0) |
21614 return 0; | 24682 return 0; |
21615 if (sizeof (pid_t)) | 24683 if (sizeof (ac__type_new_)) |
21616 return 0; | 24684 return 0; |
21617 ; | 24685 ; |
21618 return 0; | 24686 return 0; |
21619 } | 24687 } |
21620 _ACEOF | 24688 _ACEOF |
21621 rm -f conftest.$ac_objext | 24689 rm -f conftest.$ac_objext |
21622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24690 if { (ac_try="$ac_compile" |
21623 (eval $ac_compile) 2>conftest.er1 | 24691 case "(($ac_try" in |
24692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24693 *) ac_try_echo=$ac_try;; | |
24694 esac | |
24695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24696 (eval "$ac_compile") 2>conftest.er1 | |
21624 ac_status=$? | 24697 ac_status=$? |
21625 grep -v '^ *+' conftest.er1 >conftest.err | 24698 grep -v '^ *+' conftest.er1 >conftest.err |
21626 rm -f conftest.er1 | 24699 rm -f conftest.er1 |
21627 cat conftest.err >&5 | 24700 cat conftest.err >&5 |
21628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21629 (exit $ac_status); } && | 24702 (exit $ac_status); } && |
21630 { ac_try='test -z "$ac_c_werror_flag" | 24703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21631 || test ! -s conftest.err' | 24704 { (case "(($ac_try" in |
21632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21633 (eval $ac_try) 2>&5 | 24706 *) ac_try_echo=$ac_try;; |
24707 esac | |
24708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24709 (eval "$ac_try") 2>&5 | |
21634 ac_status=$? | 24710 ac_status=$? |
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21636 (exit $ac_status); }; } && | 24712 (exit $ac_status); }; } && |
21637 { ac_try='test -s conftest.$ac_objext' | 24713 { ac_try='test -s conftest.$ac_objext' |
21638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24714 { (case "(($ac_try" in |
21639 (eval $ac_try) 2>&5 | 24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24716 *) ac_try_echo=$ac_try;; | |
24717 esac | |
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24719 (eval "$ac_try") 2>&5 | |
21640 ac_status=$? | 24720 ac_status=$? |
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21642 (exit $ac_status); }; }; then | 24722 (exit $ac_status); }; }; then |
21643 ac_cv_type_pid_t=yes | 24723 ac_cv_type_pid_t=yes |
21644 else | 24724 else |
21645 echo "$as_me: failed program was:" >&5 | 24725 echo "$as_me: failed program was:" >&5 |
21646 sed 's/^/| /' conftest.$ac_ext >&5 | 24726 sed 's/^/| /' conftest.$ac_ext >&5 |
21647 | 24727 |
21648 ac_cv_type_pid_t=no | 24728 ac_cv_type_pid_t=no |
21649 fi | 24729 fi |
21650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24730 |
21651 fi | 24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21652 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 24732 fi |
21653 echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 24733 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 |
24734 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } | |
21654 if test $ac_cv_type_pid_t = yes; then | 24735 if test $ac_cv_type_pid_t = yes; then |
21655 : | 24736 : |
21656 else | 24737 else |
21657 | 24738 |
21658 cat >>confdefs.h <<_ACEOF | 24739 cat >>confdefs.h <<_ACEOF |
21660 _ACEOF | 24741 _ACEOF |
21661 | 24742 |
21662 fi | 24743 fi |
21663 | 24744 |
21664 | 24745 |
21665 | 24746 for ac_header in vfork.h |
21666 for ac_header in unistd.h vfork.h | |
21667 do | 24747 do |
21668 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 24748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
21669 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21670 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 24750 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 24751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
21672 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21673 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24753 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21674 fi | 24754 fi |
21675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 24755 ac_res=`eval echo '${'$as_ac_Header'}'` |
21676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 24756 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24757 echo "${ECHO_T}$ac_res" >&6; } | |
21677 else | 24758 else |
21678 # Is the header compilable? | 24759 # Is the header compilable? |
21679 echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 24760 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
21680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 24761 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
21681 cat >conftest.$ac_ext <<_ACEOF | 24762 cat >conftest.$ac_ext <<_ACEOF |
21682 /* confdefs.h. */ | 24763 /* confdefs.h. */ |
21683 _ACEOF | 24764 _ACEOF |
21684 cat confdefs.h >>conftest.$ac_ext | 24765 cat confdefs.h >>conftest.$ac_ext |
21685 cat >>conftest.$ac_ext <<_ACEOF | 24766 cat >>conftest.$ac_ext <<_ACEOF |
21686 /* end confdefs.h. */ | 24767 /* end confdefs.h. */ |
21687 $ac_includes_default | 24768 $ac_includes_default |
21688 #include <$ac_header> | 24769 #include <$ac_header> |
21689 _ACEOF | 24770 _ACEOF |
21690 rm -f conftest.$ac_objext | 24771 rm -f conftest.$ac_objext |
21691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 24772 if { (ac_try="$ac_compile" |
21692 (eval $ac_compile) 2>conftest.er1 | 24773 case "(($ac_try" in |
24774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24775 *) ac_try_echo=$ac_try;; | |
24776 esac | |
24777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24778 (eval "$ac_compile") 2>conftest.er1 | |
21693 ac_status=$? | 24779 ac_status=$? |
21694 grep -v '^ *+' conftest.er1 >conftest.err | 24780 grep -v '^ *+' conftest.er1 >conftest.err |
21695 rm -f conftest.er1 | 24781 rm -f conftest.er1 |
21696 cat conftest.err >&5 | 24782 cat conftest.err >&5 |
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21698 (exit $ac_status); } && | 24784 (exit $ac_status); } && |
21699 { ac_try='test -z "$ac_c_werror_flag" | 24785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21700 || test ! -s conftest.err' | 24786 { (case "(($ac_try" in |
21701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21702 (eval $ac_try) 2>&5 | 24788 *) ac_try_echo=$ac_try;; |
24789 esac | |
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24791 (eval "$ac_try") 2>&5 | |
21703 ac_status=$? | 24792 ac_status=$? |
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21705 (exit $ac_status); }; } && | 24794 (exit $ac_status); }; } && |
21706 { ac_try='test -s conftest.$ac_objext' | 24795 { ac_try='test -s conftest.$ac_objext' |
21707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24796 { (case "(($ac_try" in |
21708 (eval $ac_try) 2>&5 | 24797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24798 *) ac_try_echo=$ac_try;; | |
24799 esac | |
24800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24801 (eval "$ac_try") 2>&5 | |
21709 ac_status=$? | 24802 ac_status=$? |
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21711 (exit $ac_status); }; }; then | 24804 (exit $ac_status); }; }; then |
21712 ac_header_compiler=yes | 24805 ac_header_compiler=yes |
21713 else | 24806 else |
21714 echo "$as_me: failed program was:" >&5 | 24807 echo "$as_me: failed program was:" >&5 |
21715 sed 's/^/| /' conftest.$ac_ext >&5 | 24808 sed 's/^/| /' conftest.$ac_ext >&5 |
21716 | 24809 |
21717 ac_header_compiler=no | 24810 ac_header_compiler=no |
21718 fi | 24811 fi |
21719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 24812 |
21720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 24813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
21721 echo "${ECHO_T}$ac_header_compiler" >&6 | 24814 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
24815 echo "${ECHO_T}$ac_header_compiler" >&6; } | |
21722 | 24816 |
21723 # Is the header present? | 24817 # Is the header present? |
21724 echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 24818 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
21725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 24819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
21726 cat >conftest.$ac_ext <<_ACEOF | 24820 cat >conftest.$ac_ext <<_ACEOF |
21727 /* confdefs.h. */ | 24821 /* confdefs.h. */ |
21728 _ACEOF | 24822 _ACEOF |
21729 cat confdefs.h >>conftest.$ac_ext | 24823 cat confdefs.h >>conftest.$ac_ext |
21730 cat >>conftest.$ac_ext <<_ACEOF | 24824 cat >>conftest.$ac_ext <<_ACEOF |
21731 /* end confdefs.h. */ | 24825 /* end confdefs.h. */ |
21732 #include <$ac_header> | 24826 #include <$ac_header> |
21733 _ACEOF | 24827 _ACEOF |
21734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 24828 if { (ac_try="$ac_cpp conftest.$ac_ext" |
21735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 24829 case "(($ac_try" in |
24830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24831 *) ac_try_echo=$ac_try;; | |
24832 esac | |
24833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |
21736 ac_status=$? | 24835 ac_status=$? |
21737 grep -v '^ *+' conftest.er1 >conftest.err | 24836 grep -v '^ *+' conftest.er1 >conftest.err |
21738 rm -f conftest.er1 | 24837 rm -f conftest.er1 |
21739 cat conftest.err >&5 | 24838 cat conftest.err >&5 |
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21754 echo "$as_me: failed program was:" >&5 | 24853 echo "$as_me: failed program was:" >&5 |
21755 sed 's/^/| /' conftest.$ac_ext >&5 | 24854 sed 's/^/| /' conftest.$ac_ext >&5 |
21756 | 24855 |
21757 ac_header_preproc=no | 24856 ac_header_preproc=no |
21758 fi | 24857 fi |
24858 | |
21759 rm -f conftest.err conftest.$ac_ext | 24859 rm -f conftest.err conftest.$ac_ext |
21760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 24860 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
21761 echo "${ECHO_T}$ac_header_preproc" >&6 | 24861 echo "${ECHO_T}$ac_header_preproc" >&6; } |
21762 | 24862 |
21763 # So? What about this header? | 24863 # So? What about this header? |
21764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | 24864 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
21765 yes:no: ) | 24865 yes:no: ) |
21766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 24866 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
21780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} | 24880 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
21781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 24881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
21782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 24882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
21783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 | 24883 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
21784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} | 24884 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
21785 ( | 24885 |
21786 cat <<\_ASBOX | |
21787 ## ------------------------------------------ ## | |
21788 ## Report this to the AC_PACKAGE_NAME lists. ## | |
21789 ## ------------------------------------------ ## | |
21790 _ASBOX | |
21791 ) | | |
21792 sed "s/^/$as_me: WARNING: /" >&2 | |
21793 ;; | 24886 ;; |
21794 esac | 24887 esac |
21795 echo "$as_me:$LINENO: checking for $ac_header" >&5 | 24888 { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
21796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 24889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
21797 if eval "test \"\${$as_ac_Header+set}\" = set"; then | 24890 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
21798 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24891 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21799 else | 24892 else |
21800 eval "$as_ac_Header=\$ac_header_preproc" | 24893 eval "$as_ac_Header=\$ac_header_preproc" |
21801 fi | 24894 fi |
21802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 24895 ac_res=`eval echo '${'$as_ac_Header'}'` |
21803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 24896 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
24897 echo "${ECHO_T}$ac_res" >&6; } | |
21804 | 24898 |
21805 fi | 24899 fi |
21806 if test `eval echo '${'$as_ac_Header'}'` = yes; then | 24900 if test `eval echo '${'$as_ac_Header'}'` = yes; then |
21807 cat >>confdefs.h <<_ACEOF | 24901 cat >>confdefs.h <<_ACEOF |
21808 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 24902 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
21815 | 24909 |
21816 | 24910 |
21817 for ac_func in fork vfork | 24911 for ac_func in fork vfork |
21818 do | 24912 do |
21819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 24913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
21820 echo "$as_me:$LINENO: checking for $ac_func" >&5 | 24914 { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
21821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 24915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
21822 if eval "test \"\${$as_ac_var+set}\" = set"; then | 24916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
21823 echo $ECHO_N "(cached) $ECHO_C" >&6 | 24917 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21824 else | 24918 else |
21825 cat >conftest.$ac_ext <<_ACEOF | 24919 cat >conftest.$ac_ext <<_ACEOF |
21826 /* confdefs.h. */ | 24920 /* confdefs.h. */ |
21827 _ACEOF | 24921 _ACEOF |
21843 # include <assert.h> | 24937 # include <assert.h> |
21844 #endif | 24938 #endif |
21845 | 24939 |
21846 #undef $ac_func | 24940 #undef $ac_func |
21847 | 24941 |
21848 /* Override any gcc2 internal prototype to avoid an error. */ | 24942 /* Override any GCC internal prototype to avoid an error. |
24943 Use char because int might match the return type of a GCC | |
24944 builtin and then its argument prototype would still apply. */ | |
21849 #ifdef __cplusplus | 24945 #ifdef __cplusplus |
21850 extern "C" | 24946 extern "C" |
21851 { | |
21852 #endif | 24947 #endif |
21853 /* We use char because int might match the return type of a gcc2 | |
21854 builtin and then its argument prototype would still apply. */ | |
21855 char $ac_func (); | 24948 char $ac_func (); |
21856 /* The GNU C library defines this for functions which it implements | 24949 /* The GNU C library defines this for functions which it implements |
21857 to always fail with ENOSYS. Some functions are actually named | 24950 to always fail with ENOSYS. Some functions are actually named |
21858 something starting with __ and the normal name is an alias. */ | 24951 something starting with __ and the normal name is an alias. */ |
21859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 24952 #if defined __stub_$ac_func || defined __stub___$ac_func |
21860 choke me | 24953 choke me |
21861 #else | |
21862 char (*f) () = $ac_func; | |
21863 #endif | |
21864 #ifdef __cplusplus | |
21865 } | |
21866 #endif | 24954 #endif |
21867 | 24955 |
21868 int | 24956 int |
21869 main () | 24957 main () |
21870 { | 24958 { |
21871 return f != $ac_func; | 24959 return $ac_func (); |
21872 ; | 24960 ; |
21873 return 0; | 24961 return 0; |
21874 } | 24962 } |
21875 _ACEOF | 24963 _ACEOF |
21876 rm -f conftest.$ac_objext conftest$ac_exeext | 24964 rm -f conftest.$ac_objext conftest$ac_exeext |
21877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 24965 if { (ac_try="$ac_link" |
21878 (eval $ac_link) 2>conftest.er1 | 24966 case "(($ac_try" in |
24967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
24968 *) ac_try_echo=$ac_try;; | |
24969 esac | |
24970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24971 (eval "$ac_link") 2>conftest.er1 | |
21879 ac_status=$? | 24972 ac_status=$? |
21880 grep -v '^ *+' conftest.er1 >conftest.err | 24973 grep -v '^ *+' conftest.er1 >conftest.err |
21881 rm -f conftest.er1 | 24974 rm -f conftest.er1 |
21882 cat conftest.err >&5 | 24975 cat conftest.err >&5 |
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21884 (exit $ac_status); } && | 24977 (exit $ac_status); } && |
21885 { ac_try='test -z "$ac_c_werror_flag" | 24978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
21886 || test ! -s conftest.err' | 24979 { (case "(($ac_try" in |
21887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
21888 (eval $ac_try) 2>&5 | 24981 *) ac_try_echo=$ac_try;; |
24982 esac | |
24983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24984 (eval "$ac_try") 2>&5 | |
21889 ac_status=$? | 24985 ac_status=$? |
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21891 (exit $ac_status); }; } && | 24987 (exit $ac_status); }; } && |
21892 { ac_try='test -s conftest$ac_exeext' | 24988 { ac_try='test -s conftest$ac_exeext' |
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 24989 { (case "(($ac_try" in |
21894 (eval $ac_try) 2>&5 | 24990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
24991 *) ac_try_echo=$ac_try;; | |
24992 esac | |
24993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
24994 (eval "$ac_try") 2>&5 | |
21895 ac_status=$? | 24995 ac_status=$? |
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21897 (exit $ac_status); }; }; then | 24997 (exit $ac_status); }; }; then |
21898 eval "$as_ac_var=yes" | 24998 eval "$as_ac_var=yes" |
21899 else | 24999 else |
21900 echo "$as_me: failed program was:" >&5 | 25000 echo "$as_me: failed program was:" >&5 |
21901 sed 's/^/| /' conftest.$ac_ext >&5 | 25001 sed 's/^/| /' conftest.$ac_ext >&5 |
21902 | 25002 |
21903 eval "$as_ac_var=no" | 25003 eval "$as_ac_var=no" |
21904 fi | 25004 fi |
21905 rm -f conftest.err conftest.$ac_objext \ | 25005 |
25006 rm -f core conftest.err conftest.$ac_objext \ | |
21906 conftest$ac_exeext conftest.$ac_ext | 25007 conftest$ac_exeext conftest.$ac_ext |
21907 fi | 25008 fi |
21908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 25009 ac_res=`eval echo '${'$as_ac_var'}'` |
21909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 25010 { echo "$as_me:$LINENO: result: $ac_res" >&5 |
25011 echo "${ECHO_T}$ac_res" >&6; } | |
21910 if test `eval echo '${'$as_ac_var'}'` = yes; then | 25012 if test `eval echo '${'$as_ac_var'}'` = yes; then |
21911 cat >>confdefs.h <<_ACEOF | 25013 cat >>confdefs.h <<_ACEOF |
21912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 25014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
21913 _ACEOF | 25015 _ACEOF |
21914 | 25016 |
21915 fi | 25017 fi |
21916 done | 25018 done |
21917 | 25019 |
21918 if test "x$ac_cv_func_fork" = xyes; then | 25020 if test "x$ac_cv_func_fork" = xyes; then |
21919 echo "$as_me:$LINENO: checking for working fork" >&5 | 25021 { echo "$as_me:$LINENO: checking for working fork" >&5 |
21920 echo $ECHO_N "checking for working fork... $ECHO_C" >&6 | 25022 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; } |
21921 if test "${ac_cv_func_fork_works+set}" = set; then | 25023 if test "${ac_cv_func_fork_works+set}" = set; then |
21922 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25024 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21923 else | 25025 else |
21924 if test "$cross_compiling" = yes; then | 25026 if test "$cross_compiling" = yes; then |
21925 ac_cv_func_fork_works=cross | 25027 ac_cv_func_fork_works=cross |
21926 else | 25028 else |
21927 cat >conftest.$ac_ext <<_ACEOF | 25029 cat >conftest.$ac_ext <<_ACEOF |
21928 /* By Ruediger Kuhlmann. */ | 25030 /* confdefs.h. */ |
21929 #include <sys/types.h> | 25031 _ACEOF |
21930 #if HAVE_UNISTD_H | 25032 cat confdefs.h >>conftest.$ac_ext |
21931 # include <unistd.h> | 25033 cat >>conftest.$ac_ext <<_ACEOF |
21932 #endif | 25034 /* end confdefs.h. */ |
21933 /* Some systems only have a dummy stub for fork() */ | 25035 $ac_includes_default |
21934 int main () | 25036 int |
21935 { | 25037 main () |
21936 if (fork() < 0) | 25038 { |
21937 exit (1); | 25039 |
21938 exit (0); | 25040 /* By Ruediger Kuhlmann. */ |
21939 } | 25041 return fork () < 0; |
25042 | |
25043 ; | |
25044 return 0; | |
25045 } | |
21940 _ACEOF | 25046 _ACEOF |
21941 rm -f conftest$ac_exeext | 25047 rm -f conftest$ac_exeext |
21942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25048 if { (ac_try="$ac_link" |
21943 (eval $ac_link) 2>&5 | 25049 case "(($ac_try" in |
25050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25051 *) ac_try_echo=$ac_try;; | |
25052 esac | |
25053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25054 (eval "$ac_link") 2>&5 | |
21944 ac_status=$? | 25055 ac_status=$? |
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 25057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25058 { (case "(($ac_try" in |
21948 (eval $ac_try) 2>&5 | 25059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25060 *) ac_try_echo=$ac_try;; | |
25061 esac | |
25062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25063 (eval "$ac_try") 2>&5 | |
21949 ac_status=$? | 25064 ac_status=$? |
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21951 (exit $ac_status); }; }; then | 25066 (exit $ac_status); }; }; then |
21952 ac_cv_func_fork_works=yes | 25067 ac_cv_func_fork_works=yes |
21953 else | 25068 else |
21956 sed 's/^/| /' conftest.$ac_ext >&5 | 25071 sed 's/^/| /' conftest.$ac_ext >&5 |
21957 | 25072 |
21958 ( exit $ac_status ) | 25073 ( exit $ac_status ) |
21959 ac_cv_func_fork_works=no | 25074 ac_cv_func_fork_works=no |
21960 fi | 25075 fi |
21961 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 25076 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
21962 fi | 25077 fi |
21963 fi | 25078 |
21964 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | 25079 |
21965 echo "${ECHO_T}$ac_cv_func_fork_works" >&6 | 25080 fi |
25081 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 | |
25082 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; } | |
21966 | 25083 |
21967 else | 25084 else |
21968 ac_cv_func_fork_works=$ac_cv_func_fork | 25085 ac_cv_func_fork_works=$ac_cv_func_fork |
21969 fi | 25086 fi |
21970 if test "x$ac_cv_func_fork_works" = xcross; then | 25087 if test "x$ac_cv_func_fork_works" = xcross; then |
21980 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 | 25097 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 |
21981 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} | 25098 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} |
21982 fi | 25099 fi |
21983 ac_cv_func_vfork_works=$ac_cv_func_vfork | 25100 ac_cv_func_vfork_works=$ac_cv_func_vfork |
21984 if test "x$ac_cv_func_vfork" = xyes; then | 25101 if test "x$ac_cv_func_vfork" = xyes; then |
21985 echo "$as_me:$LINENO: checking for working vfork" >&5 | 25102 { echo "$as_me:$LINENO: checking for working vfork" >&5 |
21986 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6 | 25103 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; } |
21987 if test "${ac_cv_func_vfork_works+set}" = set; then | 25104 if test "${ac_cv_func_vfork_works+set}" = set; then |
21988 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25105 echo $ECHO_N "(cached) $ECHO_C" >&6 |
21989 else | 25106 else |
21990 if test "$cross_compiling" = yes; then | 25107 if test "$cross_compiling" = yes; then |
21991 ac_cv_func_vfork_works=cross | 25108 ac_cv_func_vfork_works=cross |
21995 _ACEOF | 25112 _ACEOF |
21996 cat confdefs.h >>conftest.$ac_ext | 25113 cat confdefs.h >>conftest.$ac_ext |
21997 cat >>conftest.$ac_ext <<_ACEOF | 25114 cat >>conftest.$ac_ext <<_ACEOF |
21998 /* end confdefs.h. */ | 25115 /* end confdefs.h. */ |
21999 /* Thanks to Paul Eggert for this test. */ | 25116 /* Thanks to Paul Eggert for this test. */ |
22000 #include <stdio.h> | 25117 $ac_includes_default |
22001 #include <stdlib.h> | |
22002 #include <sys/types.h> | |
22003 #include <sys/stat.h> | |
22004 #include <sys/wait.h> | 25118 #include <sys/wait.h> |
22005 #if HAVE_UNISTD_H | |
22006 # include <unistd.h> | |
22007 #endif | |
22008 #if HAVE_VFORK_H | 25119 #if HAVE_VFORK_H |
22009 # include <vfork.h> | 25120 # include <vfork.h> |
22010 #endif | 25121 #endif |
22011 /* On some sparc systems, changes by the child to local and incoming | 25122 /* On some sparc systems, changes by the child to local and incoming |
22012 argument registers are propagated back to the parent. The compiler | 25123 argument registers are propagated back to the parent. The compiler |
22074 int status; | 25185 int status; |
22075 struct stat st; | 25186 struct stat st; |
22076 | 25187 |
22077 while (wait(&status) != child) | 25188 while (wait(&status) != child) |
22078 ; | 25189 ; |
22079 exit( | 25190 return ( |
22080 /* Was there some problem with vforking? */ | 25191 /* Was there some problem with vforking? */ |
22081 child < 0 | 25192 child < 0 |
22082 | 25193 |
22083 /* Did the child fail? (This shouldn't happen.) */ | 25194 /* Did the child fail? (This shouldn't happen.) */ |
22084 || status | 25195 || status |
22091 ); | 25202 ); |
22092 } | 25203 } |
22093 } | 25204 } |
22094 _ACEOF | 25205 _ACEOF |
22095 rm -f conftest$ac_exeext | 25206 rm -f conftest$ac_exeext |
22096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25207 if { (ac_try="$ac_link" |
22097 (eval $ac_link) 2>&5 | 25208 case "(($ac_try" in |
25209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25210 *) ac_try_echo=$ac_try;; | |
25211 esac | |
25212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25213 (eval "$ac_link") 2>&5 | |
22098 ac_status=$? | 25214 ac_status=$? |
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 25216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
22101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25217 { (case "(($ac_try" in |
22102 (eval $ac_try) 2>&5 | 25218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25219 *) ac_try_echo=$ac_try;; | |
25220 esac | |
25221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25222 (eval "$ac_try") 2>&5 | |
22103 ac_status=$? | 25223 ac_status=$? |
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22105 (exit $ac_status); }; }; then | 25225 (exit $ac_status); }; }; then |
22106 ac_cv_func_vfork_works=yes | 25226 ac_cv_func_vfork_works=yes |
22107 else | 25227 else |
22110 sed 's/^/| /' conftest.$ac_ext >&5 | 25230 sed 's/^/| /' conftest.$ac_ext >&5 |
22111 | 25231 |
22112 ( exit $ac_status ) | 25232 ( exit $ac_status ) |
22113 ac_cv_func_vfork_works=no | 25233 ac_cv_func_vfork_works=no |
22114 fi | 25234 fi |
22115 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 25235 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
22116 fi | 25236 fi |
22117 fi | 25237 |
22118 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | 25238 |
22119 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6 | 25239 fi |
25240 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 | |
25241 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; } | |
22120 | 25242 |
22121 fi; | 25243 fi; |
22122 if test "x$ac_cv_func_fork_works" = xcross; then | 25244 if test "x$ac_cv_func_fork_works" = xcross; then |
22123 ac_cv_func_vfork_works=$ac_cv_func_vfork | 25245 ac_cv_func_vfork_works=$ac_cv_func_vfork |
22124 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 | 25246 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 |
22145 _ACEOF | 25267 _ACEOF |
22146 | 25268 |
22147 fi | 25269 fi |
22148 | 25270 |
22149 | 25271 |
22150 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 | 25272 { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 |
22151 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 | 25273 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } |
22152 if test "${emacs_cv_langinfo_codeset+set}" = set; then | 25274 if test "${emacs_cv_langinfo_codeset+set}" = set; then |
22153 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25275 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22154 else | 25276 else |
22155 cat >conftest.$ac_ext <<_ACEOF | 25277 cat >conftest.$ac_ext <<_ACEOF |
22156 /* confdefs.h. */ | 25278 /* confdefs.h. */ |
22166 ; | 25288 ; |
22167 return 0; | 25289 return 0; |
22168 } | 25290 } |
22169 _ACEOF | 25291 _ACEOF |
22170 rm -f conftest.$ac_objext conftest$ac_exeext | 25292 rm -f conftest.$ac_objext conftest$ac_exeext |
22171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 25293 if { (ac_try="$ac_link" |
22172 (eval $ac_link) 2>conftest.er1 | 25294 case "(($ac_try" in |
25295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25296 *) ac_try_echo=$ac_try;; | |
25297 esac | |
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25299 (eval "$ac_link") 2>conftest.er1 | |
22173 ac_status=$? | 25300 ac_status=$? |
22174 grep -v '^ *+' conftest.er1 >conftest.err | 25301 grep -v '^ *+' conftest.er1 >conftest.err |
22175 rm -f conftest.er1 | 25302 rm -f conftest.er1 |
22176 cat conftest.err >&5 | 25303 cat conftest.err >&5 |
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22178 (exit $ac_status); } && | 25305 (exit $ac_status); } && |
22179 { ac_try='test -z "$ac_c_werror_flag" | 25306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
22180 || test ! -s conftest.err' | 25307 { (case "(($ac_try" in |
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22182 (eval $ac_try) 2>&5 | 25309 *) ac_try_echo=$ac_try;; |
25310 esac | |
25311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25312 (eval "$ac_try") 2>&5 | |
22183 ac_status=$? | 25313 ac_status=$? |
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22185 (exit $ac_status); }; } && | 25315 (exit $ac_status); }; } && |
22186 { ac_try='test -s conftest$ac_exeext' | 25316 { ac_try='test -s conftest$ac_exeext' |
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25317 { (case "(($ac_try" in |
22188 (eval $ac_try) 2>&5 | 25318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25319 *) ac_try_echo=$ac_try;; | |
25320 esac | |
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25322 (eval "$ac_try") 2>&5 | |
22189 ac_status=$? | 25323 ac_status=$? |
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22191 (exit $ac_status); }; }; then | 25325 (exit $ac_status); }; }; then |
22192 emacs_cv_langinfo_codeset=yes | 25326 emacs_cv_langinfo_codeset=yes |
22193 else | 25327 else |
22194 echo "$as_me: failed program was:" >&5 | 25328 echo "$as_me: failed program was:" >&5 |
22195 sed 's/^/| /' conftest.$ac_ext >&5 | 25329 sed 's/^/| /' conftest.$ac_ext >&5 |
22196 | 25330 |
22197 emacs_cv_langinfo_codeset=no | 25331 emacs_cv_langinfo_codeset=no |
22198 fi | 25332 fi |
22199 rm -f conftest.err conftest.$ac_objext \ | 25333 |
25334 rm -f core conftest.err conftest.$ac_objext \ | |
22200 conftest$ac_exeext conftest.$ac_ext | 25335 conftest$ac_exeext conftest.$ac_ext |
22201 | 25336 |
22202 fi | 25337 fi |
22203 echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 | 25338 { echo "$as_me:$LINENO: result: $emacs_cv_langinfo_codeset" >&5 |
22204 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6 | 25339 echo "${ECHO_T}$emacs_cv_langinfo_codeset" >&6; } |
22205 if test $emacs_cv_langinfo_codeset = yes; then | 25340 if test $emacs_cv_langinfo_codeset = yes; then |
22206 | 25341 |
22207 cat >>confdefs.h <<\_ACEOF | 25342 cat >>confdefs.h <<\_ACEOF |
22208 #define HAVE_LANGINFO_CODESET 1 | 25343 #define HAVE_LANGINFO_CODESET 1 |
22209 _ACEOF | 25344 _ACEOF |
22210 | 25345 |
22211 fi | 25346 fi |
22212 | 25347 |
22213 echo "$as_me:$LINENO: checking for size_t" >&5 | 25348 { echo "$as_me:$LINENO: checking for size_t" >&5 |
22214 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 25349 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } |
22215 if test "${ac_cv_type_size_t+set}" = set; then | 25350 if test "${ac_cv_type_size_t+set}" = set; then |
22216 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25351 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22217 else | 25352 else |
22218 cat >conftest.$ac_ext <<_ACEOF | 25353 cat >conftest.$ac_ext <<_ACEOF |
22219 /* confdefs.h. */ | 25354 /* confdefs.h. */ |
22220 _ACEOF | 25355 _ACEOF |
22221 cat confdefs.h >>conftest.$ac_ext | 25356 cat confdefs.h >>conftest.$ac_ext |
22222 cat >>conftest.$ac_ext <<_ACEOF | 25357 cat >>conftest.$ac_ext <<_ACEOF |
22223 /* end confdefs.h. */ | 25358 /* end confdefs.h. */ |
22224 $ac_includes_default | 25359 $ac_includes_default |
25360 typedef size_t ac__type_new_; | |
22225 int | 25361 int |
22226 main () | 25362 main () |
22227 { | 25363 { |
22228 if ((size_t *) 0) | 25364 if ((ac__type_new_ *) 0) |
22229 return 0; | 25365 return 0; |
22230 if (sizeof (size_t)) | 25366 if (sizeof (ac__type_new_)) |
22231 return 0; | 25367 return 0; |
22232 ; | 25368 ; |
22233 return 0; | 25369 return 0; |
22234 } | 25370 } |
22235 _ACEOF | 25371 _ACEOF |
22236 rm -f conftest.$ac_objext | 25372 rm -f conftest.$ac_objext |
22237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25373 if { (ac_try="$ac_compile" |
22238 (eval $ac_compile) 2>conftest.er1 | 25374 case "(($ac_try" in |
25375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25376 *) ac_try_echo=$ac_try;; | |
25377 esac | |
25378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25379 (eval "$ac_compile") 2>conftest.er1 | |
22239 ac_status=$? | 25380 ac_status=$? |
22240 grep -v '^ *+' conftest.er1 >conftest.err | 25381 grep -v '^ *+' conftest.er1 >conftest.err |
22241 rm -f conftest.er1 | 25382 rm -f conftest.er1 |
22242 cat conftest.err >&5 | 25383 cat conftest.err >&5 |
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22244 (exit $ac_status); } && | 25385 (exit $ac_status); } && |
22245 { ac_try='test -z "$ac_c_werror_flag" | 25386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
22246 || test ! -s conftest.err' | 25387 { (case "(($ac_try" in |
22247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22248 (eval $ac_try) 2>&5 | 25389 *) ac_try_echo=$ac_try;; |
25390 esac | |
25391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25392 (eval "$ac_try") 2>&5 | |
22249 ac_status=$? | 25393 ac_status=$? |
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22251 (exit $ac_status); }; } && | 25395 (exit $ac_status); }; } && |
22252 { ac_try='test -s conftest.$ac_objext' | 25396 { ac_try='test -s conftest.$ac_objext' |
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25397 { (case "(($ac_try" in |
22254 (eval $ac_try) 2>&5 | 25398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25399 *) ac_try_echo=$ac_try;; | |
25400 esac | |
25401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25402 (eval "$ac_try") 2>&5 | |
22255 ac_status=$? | 25403 ac_status=$? |
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22257 (exit $ac_status); }; }; then | 25405 (exit $ac_status); }; }; then |
22258 ac_cv_type_size_t=yes | 25406 ac_cv_type_size_t=yes |
22259 else | 25407 else |
22260 echo "$as_me: failed program was:" >&5 | 25408 echo "$as_me: failed program was:" >&5 |
22261 sed 's/^/| /' conftest.$ac_ext >&5 | 25409 sed 's/^/| /' conftest.$ac_ext >&5 |
22262 | 25410 |
22263 ac_cv_type_size_t=no | 25411 ac_cv_type_size_t=no |
22264 fi | 25412 fi |
22265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25413 |
22266 fi | 25414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22267 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 25415 fi |
22268 echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 25416 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 |
25417 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } | |
22269 if test $ac_cv_type_size_t = yes; then | 25418 if test $ac_cv_type_size_t = yes; then |
22270 | 25419 |
22271 cat >>confdefs.h <<_ACEOF | 25420 cat >>confdefs.h <<_ACEOF |
22272 #define HAVE_SIZE_T 1 | 25421 #define HAVE_SIZE_T 1 |
22273 _ACEOF | 25422 _ACEOF |
22274 | 25423 |
22275 | 25424 |
22276 fi | 25425 fi |
22277 | 25426 |
22278 | 25427 |
22279 echo "$as_me:$LINENO: checking for mbstate_t" >&5 | 25428 { echo "$as_me:$LINENO: checking for mbstate_t" >&5 |
22280 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 | 25429 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; } |
22281 if test "${ac_cv_type_mbstate_t+set}" = set; then | 25430 if test "${ac_cv_type_mbstate_t+set}" = set; then |
22282 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25431 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22283 else | 25432 else |
22284 cat >conftest.$ac_ext <<_ACEOF | 25433 cat >conftest.$ac_ext <<_ACEOF |
22285 /* confdefs.h. */ | 25434 /* confdefs.h. */ |
22296 ; | 25445 ; |
22297 return 0; | 25446 return 0; |
22298 } | 25447 } |
22299 _ACEOF | 25448 _ACEOF |
22300 rm -f conftest.$ac_objext | 25449 rm -f conftest.$ac_objext |
22301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25450 if { (ac_try="$ac_compile" |
22302 (eval $ac_compile) 2>conftest.er1 | 25451 case "(($ac_try" in |
25452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25453 *) ac_try_echo=$ac_try;; | |
25454 esac | |
25455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25456 (eval "$ac_compile") 2>conftest.er1 | |
22303 ac_status=$? | 25457 ac_status=$? |
22304 grep -v '^ *+' conftest.er1 >conftest.err | 25458 grep -v '^ *+' conftest.er1 >conftest.err |
22305 rm -f conftest.er1 | 25459 rm -f conftest.er1 |
22306 cat conftest.err >&5 | 25460 cat conftest.err >&5 |
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22308 (exit $ac_status); } && | 25462 (exit $ac_status); } && |
22309 { ac_try='test -z "$ac_c_werror_flag" | 25463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
22310 || test ! -s conftest.err' | 25464 { (case "(($ac_try" in |
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22312 (eval $ac_try) 2>&5 | 25466 *) ac_try_echo=$ac_try;; |
25467 esac | |
25468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25469 (eval "$ac_try") 2>&5 | |
22313 ac_status=$? | 25470 ac_status=$? |
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22315 (exit $ac_status); }; } && | 25472 (exit $ac_status); }; } && |
22316 { ac_try='test -s conftest.$ac_objext' | 25473 { ac_try='test -s conftest.$ac_objext' |
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25474 { (case "(($ac_try" in |
22318 (eval $ac_try) 2>&5 | 25475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25476 *) ac_try_echo=$ac_try;; | |
25477 esac | |
25478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25479 (eval "$ac_try") 2>&5 | |
22319 ac_status=$? | 25480 ac_status=$? |
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22321 (exit $ac_status); }; }; then | 25482 (exit $ac_status); }; }; then |
22322 ac_cv_type_mbstate_t=yes | 25483 ac_cv_type_mbstate_t=yes |
22323 else | 25484 else |
22324 echo "$as_me: failed program was:" >&5 | 25485 echo "$as_me: failed program was:" >&5 |
22325 sed 's/^/| /' conftest.$ac_ext >&5 | 25486 sed 's/^/| /' conftest.$ac_ext >&5 |
22326 | 25487 |
22327 ac_cv_type_mbstate_t=no | 25488 ac_cv_type_mbstate_t=no |
22328 fi | 25489 fi |
22329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25490 |
22330 fi | 25491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22331 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 | 25492 fi |
22332 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6 | 25493 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5 |
25494 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; } | |
22333 if test $ac_cv_type_mbstate_t = yes; then | 25495 if test $ac_cv_type_mbstate_t = yes; then |
22334 | 25496 |
22335 cat >>confdefs.h <<\_ACEOF | 25497 cat >>confdefs.h <<\_ACEOF |
22336 #define HAVE_MBSTATE_T 1 | 25498 #define HAVE_MBSTATE_T 1 |
22337 _ACEOF | 25499 _ACEOF |
22342 #define mbstate_t int | 25504 #define mbstate_t int |
22343 _ACEOF | 25505 _ACEOF |
22344 | 25506 |
22345 fi | 25507 fi |
22346 | 25508 |
22347 echo "$as_me:$LINENO: checking for C restrict keyword" >&5 | 25509 { echo "$as_me:$LINENO: checking for C restrict keyword" >&5 |
22348 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6 | 25510 echo $ECHO_N "checking for C restrict keyword... $ECHO_C" >&6; } |
22349 if test "${emacs_cv_c_restrict+set}" = set; then | 25511 if test "${emacs_cv_c_restrict+set}" = set; then |
22350 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25512 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22351 else | 25513 else |
22352 cat >conftest.$ac_ext <<_ACEOF | 25514 cat >conftest.$ac_ext <<_ACEOF |
22353 /* confdefs.h. */ | 25515 /* confdefs.h. */ |
22363 ; | 25525 ; |
22364 return 0; | 25526 return 0; |
22365 } | 25527 } |
22366 _ACEOF | 25528 _ACEOF |
22367 rm -f conftest.$ac_objext | 25529 rm -f conftest.$ac_objext |
22368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25530 if { (ac_try="$ac_compile" |
22369 (eval $ac_compile) 2>conftest.er1 | 25531 case "(($ac_try" in |
25532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25533 *) ac_try_echo=$ac_try;; | |
25534 esac | |
25535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25536 (eval "$ac_compile") 2>conftest.er1 | |
22370 ac_status=$? | 25537 ac_status=$? |
22371 grep -v '^ *+' conftest.er1 >conftest.err | 25538 grep -v '^ *+' conftest.er1 >conftest.err |
22372 rm -f conftest.er1 | 25539 rm -f conftest.er1 |
22373 cat conftest.err >&5 | 25540 cat conftest.err >&5 |
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22375 (exit $ac_status); } && | 25542 (exit $ac_status); } && |
22376 { ac_try='test -z "$ac_c_werror_flag" | 25543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
22377 || test ! -s conftest.err' | 25544 { (case "(($ac_try" in |
22378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22379 (eval $ac_try) 2>&5 | 25546 *) ac_try_echo=$ac_try;; |
25547 esac | |
25548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25549 (eval "$ac_try") 2>&5 | |
22380 ac_status=$? | 25550 ac_status=$? |
22381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22382 (exit $ac_status); }; } && | 25552 (exit $ac_status); }; } && |
22383 { ac_try='test -s conftest.$ac_objext' | 25553 { ac_try='test -s conftest.$ac_objext' |
22384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25554 { (case "(($ac_try" in |
22385 (eval $ac_try) 2>&5 | 25555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25556 *) ac_try_echo=$ac_try;; | |
25557 esac | |
25558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25559 (eval "$ac_try") 2>&5 | |
22386 ac_status=$? | 25560 ac_status=$? |
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22388 (exit $ac_status); }; }; then | 25562 (exit $ac_status); }; }; then |
22389 emacs_cv_c_restrict=yes | 25563 emacs_cv_c_restrict=yes |
22390 else | 25564 else |
22391 echo "$as_me: failed program was:" >&5 | 25565 echo "$as_me: failed program was:" >&5 |
22392 sed 's/^/| /' conftest.$ac_ext >&5 | 25566 sed 's/^/| /' conftest.$ac_ext >&5 |
22393 | 25567 |
22394 cat >conftest.$ac_ext <<_ACEOF | 25568 cat >conftest.$ac_ext <<_ACEOF |
22395 /* confdefs.h. */ | 25569 /* confdefs.h. */ |
22396 _ACEOF | 25570 _ACEOF |
22397 cat confdefs.h >>conftest.$ac_ext | 25571 cat confdefs.h >>conftest.$ac_ext |
22398 cat >>conftest.$ac_ext <<_ACEOF | 25572 cat >>conftest.$ac_ext <<_ACEOF |
22399 /* end confdefs.h. */ | 25573 /* end confdefs.h. */ |
22405 ; | 25579 ; |
22406 return 0; | 25580 return 0; |
22407 } | 25581 } |
22408 _ACEOF | 25582 _ACEOF |
22409 rm -f conftest.$ac_objext | 25583 rm -f conftest.$ac_objext |
22410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25584 if { (ac_try="$ac_compile" |
22411 (eval $ac_compile) 2>conftest.er1 | 25585 case "(($ac_try" in |
25586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25587 *) ac_try_echo=$ac_try;; | |
25588 esac | |
25589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25590 (eval "$ac_compile") 2>conftest.er1 | |
22412 ac_status=$? | 25591 ac_status=$? |
22413 grep -v '^ *+' conftest.er1 >conftest.err | 25592 grep -v '^ *+' conftest.er1 >conftest.err |
22414 rm -f conftest.er1 | 25593 rm -f conftest.er1 |
22415 cat conftest.err >&5 | 25594 cat conftest.err >&5 |
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22417 (exit $ac_status); } && | 25596 (exit $ac_status); } && |
22418 { ac_try='test -z "$ac_c_werror_flag" | 25597 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
22419 || test ! -s conftest.err' | 25598 { (case "(($ac_try" in |
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22421 (eval $ac_try) 2>&5 | 25600 *) ac_try_echo=$ac_try;; |
25601 esac | |
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25603 (eval "$ac_try") 2>&5 | |
22422 ac_status=$? | 25604 ac_status=$? |
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22424 (exit $ac_status); }; } && | 25606 (exit $ac_status); }; } && |
22425 { ac_try='test -s conftest.$ac_objext' | 25607 { ac_try='test -s conftest.$ac_objext' |
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25608 { (case "(($ac_try" in |
22427 (eval $ac_try) 2>&5 | 25609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25610 *) ac_try_echo=$ac_try;; | |
25611 esac | |
25612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25613 (eval "$ac_try") 2>&5 | |
22428 ac_status=$? | 25614 ac_status=$? |
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22430 (exit $ac_status); }; }; then | 25616 (exit $ac_status); }; }; then |
22431 emacs_cv_c_restrict=__restrict | 25617 emacs_cv_c_restrict=__restrict |
22432 else | 25618 else |
22433 echo "$as_me: failed program was:" >&5 | 25619 echo "$as_me: failed program was:" >&5 |
22434 sed 's/^/| /' conftest.$ac_ext >&5 | 25620 sed 's/^/| /' conftest.$ac_ext >&5 |
22435 | 25621 |
22436 emacs_cv_c_restrict=no | 25622 emacs_cv_c_restrict=no |
22437 fi | 25623 fi |
22438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25624 |
22439 fi | 25625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25626 fi |
22441 fi | 25627 |
22442 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 | 25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22443 echo "${ECHO_T}$emacs_cv_c_restrict" >&6 | 25629 fi |
25630 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict" >&5 | |
25631 echo "${ECHO_T}$emacs_cv_c_restrict" >&6; } | |
22444 case "$emacs_cv_c_restrict" in | 25632 case "$emacs_cv_c_restrict" in |
22445 yes) emacs_restrict=restrict;; | 25633 yes) emacs_restrict=restrict;; |
22446 no) emacs_restrict="";; | 25634 no) emacs_restrict="";; |
22447 *) emacs_restrict="$emacs_cv_c_restrict";; | 25635 *) emacs_restrict="$emacs_cv_c_restrict";; |
22448 esac | 25636 esac |
22452 #define __restrict $emacs_restrict | 25640 #define __restrict $emacs_restrict |
22453 _ACEOF | 25641 _ACEOF |
22454 | 25642 |
22455 fi | 25643 fi |
22456 | 25644 |
22457 echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 | 25645 { echo "$as_me:$LINENO: checking for C restricted array declarations" >&5 |
22458 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6 | 25646 echo $ECHO_N "checking for C restricted array declarations... $ECHO_C" >&6; } |
22459 if test "${emacs_cv_c_restrict_arr+set}" = set; then | 25647 if test "${emacs_cv_c_restrict_arr+set}" = set; then |
22460 echo $ECHO_N "(cached) $ECHO_C" >&6 | 25648 echo $ECHO_N "(cached) $ECHO_C" >&6 |
22461 else | 25649 else |
22462 cat >conftest.$ac_ext <<_ACEOF | 25650 cat >conftest.$ac_ext <<_ACEOF |
22463 /* confdefs.h. */ | 25651 /* confdefs.h. */ |
22473 ; | 25661 ; |
22474 return 0; | 25662 return 0; |
22475 } | 25663 } |
22476 _ACEOF | 25664 _ACEOF |
22477 rm -f conftest.$ac_objext | 25665 rm -f conftest.$ac_objext |
22478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 25666 if { (ac_try="$ac_compile" |
22479 (eval $ac_compile) 2>conftest.er1 | 25667 case "(($ac_try" in |
25668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
25669 *) ac_try_echo=$ac_try;; | |
25670 esac | |
25671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25672 (eval "$ac_compile") 2>conftest.er1 | |
22480 ac_status=$? | 25673 ac_status=$? |
22481 grep -v '^ *+' conftest.er1 >conftest.err | 25674 grep -v '^ *+' conftest.er1 >conftest.err |
22482 rm -f conftest.er1 | 25675 rm -f conftest.er1 |
22483 cat conftest.err >&5 | 25676 cat conftest.err >&5 |
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22485 (exit $ac_status); } && | 25678 (exit $ac_status); } && |
22486 { ac_try='test -z "$ac_c_werror_flag" | 25679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' |
22487 || test ! -s conftest.err' | 25680 { (case "(($ac_try" in |
22488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
22489 (eval $ac_try) 2>&5 | 25682 *) ac_try_echo=$ac_try;; |
25683 esac | |
25684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25685 (eval "$ac_try") 2>&5 | |
22490 ac_status=$? | 25686 ac_status=$? |
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22492 (exit $ac_status); }; } && | 25688 (exit $ac_status); }; } && |
22493 { ac_try='test -s conftest.$ac_objext' | 25689 { ac_try='test -s conftest.$ac_objext' |
22494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 25690 { (case "(($ac_try" in |
22495 (eval $ac_try) 2>&5 | 25691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
25692 *) ac_try_echo=$ac_try;; | |
25693 esac | |
25694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |
25695 (eval "$ac_try") 2>&5 | |
22496 ac_status=$? | 25696 ac_status=$? |
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
22498 (exit $ac_status); }; }; then | 25698 (exit $ac_status); }; }; then |
22499 emacs_cv_c_restrict_arr=yes | 25699 emacs_cv_c_restrict_arr=yes |
22500 else | 25700 else |
22501 echo "$as_me: failed program was:" >&5 | 25701 echo "$as_me: failed program was:" >&5 |
22502 sed 's/^/| /' conftest.$ac_ext >&5 | 25702 sed 's/^/| /' conftest.$ac_ext >&5 |
22503 | 25703 |
22504 emacs_cv_c_restrict_arr=no | 25704 emacs_cv_c_restrict_arr=no |
22505 fi | 25705 fi |
22506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext | 25706 |
22507 fi | 25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
22508 echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 | 25708 fi |
22509 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6 | 25709 { echo "$as_me:$LINENO: result: $emacs_cv_c_restrict_arr" >&5 |
25710 echo "${ECHO_T}$emacs_cv_c_restrict_arr" >&6; } | |
22510 if test "$emacs_cv_c_restrict_arr" = yes; then | 25711 if test "$emacs_cv_c_restrict_arr" = yes; then |
22511 | 25712 |
22512 cat >>confdefs.h <<\_ACEOF | 25713 cat >>confdefs.h <<\_ACEOF |
22513 #define __restrict_arr __restrict | 25714 #define __restrict_arr __restrict |
22514 _ACEOF | 25715 _ACEOF |
22736 CPP_NEED_TRADITIONAL=yes | 25937 CPP_NEED_TRADITIONAL=yes |
22737 fi | 25938 fi |
22738 rm -f conftest* | 25939 rm -f conftest* |
22739 | 25940 |
22740 | 25941 |
22741 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" | 25942 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" |
22742 ac_config_commands="$ac_config_commands default" | 25943 |
25944 ac_config_commands="$ac_config_commands default" | |
25945 | |
22743 cat >confcache <<\_ACEOF | 25946 cat >confcache <<\_ACEOF |
22744 # This file is a shell script that caches the results of configure | 25947 # This file is a shell script that caches the results of configure |
22745 # tests run on this system so they can be shared between configure | 25948 # tests run on this system so they can be shared between configure |
22746 # scripts and configure runs, see configure's option --config-cache. | 25949 # scripts and configure runs, see configure's option --config-cache. |
22747 # It is not useful on other systems. If it contains results you don't | 25950 # It is not useful on other systems. If it contains results you don't |
22756 | 25959 |
22757 _ACEOF | 25960 _ACEOF |
22758 | 25961 |
22759 # The following way of writing the cache mishandles newlines in values, | 25962 # The following way of writing the cache mishandles newlines in values, |
22760 # but we know of no workaround that is simple, portable, and efficient. | 25963 # but we know of no workaround that is simple, portable, and efficient. |
22761 # So, don't put newlines in cache variables' values. | 25964 # So, we kill variables containing newlines. |
22762 # Ultrix sh set writes to stderr and can't be redirected directly, | 25965 # Ultrix sh set writes to stderr and can't be redirected directly, |
22763 # and sets the high bit in the cache file unless we assign to the vars. | 25966 # and sets the high bit in the cache file unless we assign to the vars. |
22764 { | 25967 ( |
25968 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
25969 eval ac_val=\$$ac_var | |
25970 case $ac_val in #( | |
25971 *${as_nl}*) | |
25972 case $ac_var in #( | |
25973 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 | |
25974 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; | |
25975 esac | |
25976 case $ac_var in #( | |
25977 _ | IFS | as_nl) ;; #( | |
25978 *) $as_unset $ac_var ;; | |
25979 esac ;; | |
25980 esac | |
25981 done | |
25982 | |
22765 (set) 2>&1 | | 25983 (set) 2>&1 | |
22766 case `(ac_space=' '; set | grep ac_space) 2>&1` in | 25984 case $as_nl`(ac_space=' '; set) 2>&1` in #( |
22767 *ac_space=\ *) | 25985 *${as_nl}ac_space=\ *) |
22768 # `set' does not quote correctly, so add quotes (double-quote | 25986 # `set' does not quote correctly, so add quotes (double-quote |
22769 # substitution turns \\\\ into \\, and sed turns \\ into \). | 25987 # substitution turns \\\\ into \\, and sed turns \\ into \). |
22770 sed -n \ | 25988 sed -n \ |
22771 "s/'/'\\\\''/g; | 25989 "s/'/'\\\\''/g; |
22772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 25990 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
22773 ;; | 25991 ;; #( |
22774 *) | 25992 *) |
22775 # `set' quotes correctly as required by POSIX, so do not add quotes. | 25993 # `set' quotes correctly as required by POSIX, so do not add quotes. |
22776 sed -n \ | 25994 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
22777 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
22778 ;; | 25995 ;; |
22779 esac; | 25996 esac | |
22780 } | | 25997 sort |
25998 ) | | |
22781 sed ' | 25999 sed ' |
26000 /^ac_cv_env_/b end | |
22782 t clear | 26001 t clear |
22783 : clear | 26002 :clear |
22784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 26003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
22785 t end | 26004 t end |
22786 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 26005 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
22787 : end' >>confcache | 26006 :end' >>confcache |
22788 if diff $cache_file confcache >/dev/null 2>&1; then :; else | 26007 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
22789 if test -w $cache_file; then | 26008 if test -w "$cache_file"; then |
22790 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 26009 test "x$cache_file" != "x/dev/null" && |
26010 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 | |
26011 echo "$as_me: updating cache $cache_file" >&6;} | |
22791 cat confcache >$cache_file | 26012 cat confcache >$cache_file |
22792 else | 26013 else |
22793 echo "not updating unwritable cache $cache_file" | 26014 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 |
26015 echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
22794 fi | 26016 fi |
22795 fi | 26017 fi |
22796 rm -f confcache | 26018 rm -f confcache |
22797 | 26019 |
22798 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 26020 test "x$prefix" = xNONE && prefix=$ac_default_prefix |
22799 # Let make expand exec_prefix. | 26021 # Let make expand exec_prefix. |
22800 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 26022 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
22801 | |
22802 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
22803 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
22804 # trailing colons and then remove the whole line if VPATH becomes empty | |
22805 # (actually we leave an empty line to preserve line numbers). | |
22806 if test "x$srcdir" = x.; then | |
22807 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
22808 s/:*\$(srcdir):*/:/; | |
22809 s/:*\${srcdir}:*/:/; | |
22810 s/:*@srcdir@:*/:/; | |
22811 s/^\([^=]*=[ ]*\):*/\1/; | |
22812 s/:*$//; | |
22813 s/^[^=]*=[ ]*$//; | |
22814 }' | |
22815 fi | |
22816 | 26023 |
22817 DEFS=-DHAVE_CONFIG_H | 26024 DEFS=-DHAVE_CONFIG_H |
22818 | 26025 |
22819 ac_libobjs= | 26026 ac_libobjs= |
22820 ac_ltlibobjs= | 26027 ac_ltlibobjs= |
22821 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 26028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
22822 # 1. Remove the extension, and $U if already installed. | 26029 # 1. Remove the extension, and $U if already installed. |
22823 ac_i=`echo "$ac_i" | | 26030 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
22824 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 26031 ac_i=`echo "$ac_i" | sed "$ac_script"` |
22825 # 2. Add them. | 26032 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
22826 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 26033 # will be set to the directory where LIBOBJS objects are built. |
22827 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 26034 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
26035 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' | |
22828 done | 26036 done |
22829 LIBOBJS=$ac_libobjs | 26037 LIBOBJS=$ac_libobjs |
22830 | 26038 |
22831 LTLIBOBJS=$ac_ltlibobjs | 26039 LTLIBOBJS=$ac_ltlibobjs |
22832 | 26040 |
22860 emulate sh | 26068 emulate sh |
22861 NULLCMD=: | 26069 NULLCMD=: |
22862 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 26070 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
22863 # is contrary to our usage. Disable this feature. | 26071 # is contrary to our usage. Disable this feature. |
22864 alias -g '${1+"$@"}'='"$@"' | 26072 alias -g '${1+"$@"}'='"$@"' |
22865 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 26073 setopt NO_GLOB_SUBST |
22866 set -o posix | 26074 else |
22867 fi | 26075 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac |
26076 fi | |
26077 BIN_SH=xpg4; export BIN_SH # for Tru64 | |
22868 DUALCASE=1; export DUALCASE # for MKS sh | 26078 DUALCASE=1; export DUALCASE # for MKS sh |
22869 | 26079 |
22870 # Support unset when possible. | 26080 |
22871 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 26081 # PATH needs CR |
22872 as_unset=unset | |
22873 else | |
22874 as_unset=false | |
22875 fi | |
22876 | |
22877 | |
22878 # Work around bugs in pre-3.0 UWIN ksh. | |
22879 $as_unset ENV MAIL MAILPATH | |
22880 PS1='$ ' | |
22881 PS2='> ' | |
22882 PS4='+ ' | |
22883 | |
22884 # NLS nuisances. | |
22885 for as_var in \ | |
22886 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
22887 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
22888 LC_TELEPHONE LC_TIME | |
22889 do | |
22890 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
22891 eval $as_var=C; export $as_var | |
22892 else | |
22893 $as_unset $as_var | |
22894 fi | |
22895 done | |
22896 | |
22897 # Required to use basename. | |
22898 if expr a : '\(a\)' >/dev/null 2>&1; then | |
22899 as_expr=expr | |
22900 else | |
22901 as_expr=false | |
22902 fi | |
22903 | |
22904 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | |
22905 as_basename=basename | |
22906 else | |
22907 as_basename=false | |
22908 fi | |
22909 | |
22910 | |
22911 # Name of the executable. | |
22912 as_me=`$as_basename "$0" || | |
22913 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
22914 X"$0" : 'X\(//\)$' \| \ | |
22915 X"$0" : 'X\(/\)$' \| \ | |
22916 . : '\(.\)' 2>/dev/null || | |
22917 echo X/"$0" | | |
22918 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | |
22919 /^X\/\(\/\/\)$/{ s//\1/; q; } | |
22920 /^X\/\(\/\).*/{ s//\1/; q; } | |
22921 s/.*/./; q'` | |
22922 | |
22923 | |
22924 # PATH needs CR, and LINENO needs CR and PATH. | |
22925 # Avoid depending upon Character Ranges. | 26082 # Avoid depending upon Character Ranges. |
22926 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 26083 as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
22927 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 26084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
22928 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 26085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
22929 as_cr_digits='0123456789' | 26086 as_cr_digits='0123456789' |
22940 PATH_SEPARATOR=: | 26097 PATH_SEPARATOR=: |
22941 fi | 26098 fi |
22942 rm -f conf$$.sh | 26099 rm -f conf$$.sh |
22943 fi | 26100 fi |
22944 | 26101 |
22945 | 26102 # Support unset when possible. |
22946 as_lineno_1=$LINENO | 26103 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
22947 as_lineno_2=$LINENO | 26104 as_unset=unset |
22948 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 26105 else |
22949 test "x$as_lineno_1" != "x$as_lineno_2" && | 26106 as_unset=false |
22950 test "x$as_lineno_3" = "x$as_lineno_2" || { | 26107 fi |
22951 # Find who we are. Look in the path if we contain no path at all | 26108 |
22952 # relative or not. | 26109 |
22953 case $0 in | 26110 # IFS |
22954 *[\\/]* ) as_myself=$0 ;; | 26111 # We need space, tab and new line, in precisely that order. Quoting is |
22955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26112 # there to prevent editors from complaining about space-tab. |
26113 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
26114 # splitting by setting IFS to empty value.) | |
26115 as_nl=' | |
26116 ' | |
26117 IFS=" "" $as_nl" | |
26118 | |
26119 # Find who we are. Look in the path if we contain no directory separator. | |
26120 case $0 in | |
26121 *[\\/]* ) as_myself=$0 ;; | |
26122 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
22956 for as_dir in $PATH | 26123 for as_dir in $PATH |
22957 do | 26124 do |
22958 IFS=$as_save_IFS | 26125 IFS=$as_save_IFS |
22959 test -z "$as_dir" && as_dir=. | 26126 test -z "$as_dir" && as_dir=. |
22960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 26127 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
22961 done | 26128 done |
22962 | 26129 IFS=$as_save_IFS |
22963 ;; | 26130 |
22964 esac | 26131 ;; |
22965 # We did not find ourselves, most probably we were run as `sh COMMAND' | 26132 esac |
22966 # in which case we are not to be found in the path. | 26133 # We did not find ourselves, most probably we were run as `sh COMMAND' |
22967 if test "x$as_myself" = x; then | 26134 # in which case we are not to be found in the path. |
22968 as_myself=$0 | 26135 if test "x$as_myself" = x; then |
26136 as_myself=$0 | |
26137 fi | |
26138 if test ! -f "$as_myself"; then | |
26139 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
26140 { (exit 1); exit 1; } | |
26141 fi | |
26142 | |
26143 # Work around bugs in pre-3.0 UWIN ksh. | |
26144 for as_var in ENV MAIL MAILPATH | |
26145 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
26146 done | |
26147 PS1='$ ' | |
26148 PS2='> ' | |
26149 PS4='+ ' | |
26150 | |
26151 # NLS nuisances. | |
26152 for as_var in \ | |
26153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | |
26154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | |
26155 LC_TELEPHONE LC_TIME | |
26156 do | |
26157 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then | |
26158 eval $as_var=C; export $as_var | |
26159 else | |
26160 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | |
22969 fi | 26161 fi |
22970 if test ! -f "$as_myself"; then | 26162 done |
22971 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 26163 |
22972 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 26164 # Required to use basename. |
22973 { (exit 1); exit 1; }; } | 26165 if expr a : '\(a\)' >/dev/null 2>&1 && |
22974 fi | 26166 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
22975 case $CONFIG_SHELL in | 26167 as_expr=expr |
22976 '') | 26168 else |
22977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 26169 as_expr=false |
22978 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 26170 fi |
22979 do | 26171 |
22980 IFS=$as_save_IFS | 26172 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
22981 test -z "$as_dir" && as_dir=. | 26173 as_basename=basename |
22982 for as_base in sh bash ksh sh5; do | 26174 else |
22983 case $as_dir in | 26175 as_basename=false |
22984 /*) | 26176 fi |
22985 if ("$as_dir/$as_base" -c ' | 26177 |
26178 | |
26179 # Name of the executable. | |
26180 as_me=`$as_basename -- "$0" || | |
26181 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
26182 X"$0" : 'X\(//\)$' \| \ | |
26183 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
26184 echo X/"$0" | | |
26185 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
26186 s//\1/ | |
26187 q | |
26188 } | |
26189 /^X\/\(\/\/\)$/{ | |
26190 s//\1/ | |
26191 q | |
26192 } | |
26193 /^X\/\(\/\).*/{ | |
26194 s//\1/ | |
26195 q | |
26196 } | |
26197 s/.*/./; q'` | |
26198 | |
26199 # CDPATH. | |
26200 $as_unset CDPATH | |
26201 | |
26202 | |
26203 | |
22986 as_lineno_1=$LINENO | 26204 as_lineno_1=$LINENO |
22987 as_lineno_2=$LINENO | 26205 as_lineno_2=$LINENO |
22988 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | |
22989 test "x$as_lineno_1" != "x$as_lineno_2" && | 26206 test "x$as_lineno_1" != "x$as_lineno_2" && |
22990 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then | 26207 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
22991 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | |
22992 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | |
22993 CONFIG_SHELL=$as_dir/$as_base | |
22994 export CONFIG_SHELL | |
22995 exec "$CONFIG_SHELL" "$0" ${1+"$@"} | |
22996 fi;; | |
22997 esac | |
22998 done | |
22999 done | |
23000 ;; | |
23001 esac | |
23002 | 26208 |
23003 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 26209 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
23004 # uniformly replaced by the line number. The first 'sed' inserts a | 26210 # uniformly replaced by the line number. The first 'sed' inserts a |
23005 # line-number line before each line; the second 'sed' does the real | 26211 # line-number line after each line using $LINENO; the second 'sed' |
23006 # work. The second script uses 'N' to pair each line-number line | 26212 # does the real work. The second script uses 'N' to pair each |
23007 # with the numbered line, and appends trailing '-' during | 26213 # line-number line with the line containing $LINENO, and appends |
23008 # substitution so that $LINENO is not a special case at line end. | 26214 # trailing '-' during substitution so that $LINENO is not a special |
26215 # case at line end. | |
23009 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 26216 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
23010 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) | 26217 # scripts with optimization help from Paolo Bonzini. Blame Lee |
23011 sed '=' <$as_myself | | 26218 # E. McMahon (1931-1989) for sed's syntax. :-) |
26219 sed -n ' | |
26220 p | |
26221 /[$]LINENO/= | |
26222 ' <$as_myself | | |
23012 sed ' | 26223 sed ' |
26224 s/[$]LINENO.*/&-/ | |
26225 t lineno | |
26226 b | |
26227 :lineno | |
23013 N | 26228 N |
23014 s,$,-, | 26229 :loop |
23015 : loop | 26230 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
23016 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | |
23017 t loop | 26231 t loop |
23018 s,-$,, | 26232 s/-\n.*// |
23019 s,^['$as_cr_digits']*\n,, | |
23020 ' >$as_me.lineno && | 26233 ' >$as_me.lineno && |
23021 chmod +x $as_me.lineno || | 26234 chmod +x "$as_me.lineno" || |
23022 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 26235 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
23023 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | |
23024 { (exit 1); exit 1; }; } | 26236 { (exit 1); exit 1; }; } |
23025 | 26237 |
23026 # Don't try to exec as it changes $[0], causing all sort of problems | 26238 # Don't try to exec as it changes $[0], causing all sort of problems |
23027 # (the dirname of $[0] is not the place where we might find the | 26239 # (the dirname of $[0] is not the place where we might find the |
23028 # original and so on. Autoconf is especially sensible to this). | 26240 # original and so on. Autoconf is especially sensitive to this). |
23029 . ./$as_me.lineno | 26241 . "./$as_me.lineno" |
23030 # Exit status is that of the last command. | 26242 # Exit status is that of the last command. |
23031 exit | 26243 exit |
23032 } | 26244 } |
23033 | 26245 |
23034 | 26246 |
23035 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 26247 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
23036 *c*,-n*) ECHO_N= ECHO_C=' | 26248 as_dirname=dirname |
23037 ' ECHO_T=' ' ;; | 26249 else |
23038 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 26250 as_dirname=false |
23039 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | 26251 fi |
23040 esac | 26252 |
23041 | 26253 ECHO_C= ECHO_N= ECHO_T= |
23042 if expr a : '\(a\)' >/dev/null 2>&1; then | 26254 case `echo -n x` in |
26255 -n*) | |
26256 case `echo 'x\c'` in | |
26257 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
26258 *) ECHO_C='\c';; | |
26259 esac;; | |
26260 *) | |
26261 ECHO_N='-n';; | |
26262 esac | |
26263 | |
26264 if expr a : '\(a\)' >/dev/null 2>&1 && | |
26265 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
23043 as_expr=expr | 26266 as_expr=expr |
23044 else | 26267 else |
23045 as_expr=false | 26268 as_expr=false |
23046 fi | 26269 fi |
23047 | 26270 |
23048 rm -f conf$$ conf$$.exe conf$$.file | 26271 rm -f conf$$ conf$$.exe conf$$.file |
26272 if test -d conf$$.dir; then | |
26273 rm -f conf$$.dir/conf$$.file | |
26274 else | |
26275 rm -f conf$$.dir | |
26276 mkdir conf$$.dir | |
26277 fi | |
23049 echo >conf$$.file | 26278 echo >conf$$.file |
23050 if ln -s conf$$.file conf$$ 2>/dev/null; then | 26279 if ln -s conf$$.file conf$$ 2>/dev/null; then |
23051 # We could just check for DJGPP; but this test a) works b) is more generic | 26280 as_ln_s='ln -s' |
23052 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 26281 # ... but there are two gotchas: |
23053 if test -f conf$$.exe; then | 26282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
23054 # Don't use ln at all; we don't have any links | 26283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
26284 # In both cases, we have to default to `cp -p'. | |
26285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
23055 as_ln_s='cp -p' | 26286 as_ln_s='cp -p' |
23056 else | |
23057 as_ln_s='ln -s' | |
23058 fi | |
23059 elif ln conf$$.file conf$$ 2>/dev/null; then | 26287 elif ln conf$$.file conf$$ 2>/dev/null; then |
23060 as_ln_s=ln | 26288 as_ln_s=ln |
23061 else | 26289 else |
23062 as_ln_s='cp -p' | 26290 as_ln_s='cp -p' |
23063 fi | 26291 fi |
23064 rm -f conf$$ conf$$.exe conf$$.file | 26292 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
26293 rmdir conf$$.dir 2>/dev/null | |
23065 | 26294 |
23066 if mkdir -p . 2>/dev/null; then | 26295 if mkdir -p . 2>/dev/null; then |
23067 as_mkdir_p=: | 26296 as_mkdir_p=: |
23068 else | 26297 else |
23069 test -d ./-p && rmdir ./-p | 26298 test -d ./-p && rmdir ./-p |
23070 as_mkdir_p=false | 26299 as_mkdir_p=false |
23071 fi | 26300 fi |
23072 | 26301 |
23073 as_executable_p="test -f" | 26302 # Find out whether ``test -x'' works. Don't use a zero-byte file, as |
26303 # systems may use methods other than mode bits to determine executability. | |
26304 cat >conf$$.file <<_ASEOF | |
26305 #! /bin/sh | |
26306 exit 0 | |
26307 _ASEOF | |
26308 chmod +x conf$$.file | |
26309 if test -x conf$$.file >/dev/null 2>&1; then | |
26310 as_executable_p="test -x" | |
26311 else | |
26312 as_executable_p=: | |
26313 fi | |
26314 rm -f conf$$.file | |
23074 | 26315 |
23075 # Sed expression to map a string onto a valid CPP name. | 26316 # Sed expression to map a string onto a valid CPP name. |
23076 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 26317 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
23077 | 26318 |
23078 # Sed expression to map a string onto a valid variable name. | 26319 # Sed expression to map a string onto a valid variable name. |
23079 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 26320 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
23080 | 26321 |
23081 | 26322 |
23082 # IFS | |
23083 # We need space, tab and new line, in precisely that order. | |
23084 as_nl=' | |
23085 ' | |
23086 IFS=" $as_nl" | |
23087 | |
23088 # CDPATH. | |
23089 $as_unset CDPATH | |
23090 | |
23091 exec 6>&1 | 26323 exec 6>&1 |
23092 | 26324 |
23093 # Open the log real soon, to keep \$[0] and so on meaningful, and to | 26325 # Save the log message, to keep $[0] and so on meaningful, and to |
23094 # report actual input values of CONFIG_FILES etc. instead of their | 26326 # report actual input values of CONFIG_FILES etc. instead of their |
23095 # values after options handling. Logging --version etc. is OK. | 26327 # values after options handling. |
23096 exec 5>>config.log | 26328 ac_log=" |
23097 { | |
23098 echo | |
23099 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
23100 ## Running $as_me. ## | |
23101 _ASBOX | |
23102 } >&5 | |
23103 cat >&5 <<_CSEOF | |
23104 | |
23105 This file was extended by $as_me, which was | 26329 This file was extended by $as_me, which was |
23106 generated by GNU Autoconf 2.59. Invocation command line was | 26330 generated by GNU Autoconf 2.60. Invocation command line was |
23107 | 26331 |
23108 CONFIG_FILES = $CONFIG_FILES | 26332 CONFIG_FILES = $CONFIG_FILES |
23109 CONFIG_HEADERS = $CONFIG_HEADERS | 26333 CONFIG_HEADERS = $CONFIG_HEADERS |
23110 CONFIG_LINKS = $CONFIG_LINKS | 26334 CONFIG_LINKS = $CONFIG_LINKS |
23111 CONFIG_COMMANDS = $CONFIG_COMMANDS | 26335 CONFIG_COMMANDS = $CONFIG_COMMANDS |
23112 $ $0 $@ | 26336 $ $0 $@ |
23113 | 26337 |
23114 _CSEOF | 26338 on `(hostname || uname -n) 2>/dev/null | sed 1q` |
23115 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 26339 " |
23116 echo >&5 | 26340 |
23117 _ACEOF | 26341 _ACEOF |
23118 | 26342 |
26343 cat >>$CONFIG_STATUS <<_ACEOF | |
23119 # Files that config.status was made for. | 26344 # Files that config.status was made for. |
23120 if test -n "$ac_config_files"; then | 26345 config_files="$ac_config_files" |
23121 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 26346 config_headers="$ac_config_headers" |
23122 fi | 26347 config_commands="$ac_config_commands" |
23123 | 26348 |
23124 if test -n "$ac_config_headers"; then | 26349 _ACEOF |
23125 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
23126 fi | |
23127 | |
23128 if test -n "$ac_config_links"; then | |
23129 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
23130 fi | |
23131 | |
23132 if test -n "$ac_config_commands"; then | |
23133 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
23134 fi | |
23135 | 26350 |
23136 cat >>$CONFIG_STATUS <<\_ACEOF | 26351 cat >>$CONFIG_STATUS <<\_ACEOF |
23137 | |
23138 ac_cs_usage="\ | 26352 ac_cs_usage="\ |
23139 \`$as_me' instantiates files from templates according to the | 26353 \`$as_me' instantiates files from templates according to the |
23140 current configuration. | 26354 current configuration. |
23141 | 26355 |
23142 Usage: $0 [OPTIONS] [FILE]... | 26356 Usage: $0 [OPTIONS] [FILE]... |
23159 | 26373 |
23160 Configuration commands: | 26374 Configuration commands: |
23161 $config_commands | 26375 $config_commands |
23162 | 26376 |
23163 Report bugs to <bug-autoconf@gnu.org>." | 26377 Report bugs to <bug-autoconf@gnu.org>." |
23164 _ACEOF | 26378 |
23165 | 26379 _ACEOF |
23166 cat >>$CONFIG_STATUS <<_ACEOF | 26380 cat >>$CONFIG_STATUS <<_ACEOF |
23167 ac_cs_version="\\ | 26381 ac_cs_version="\\ |
23168 config.status | 26382 config.status |
23169 configured by $0, generated by GNU Autoconf 2.59, | 26383 configured by $0, generated by GNU Autoconf 2.60, |
23170 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 26384 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
23171 | 26385 |
23172 Copyright (C) 2003 Free Software Foundation, Inc. | 26386 Copyright (C) 2006 Free Software Foundation, Inc. |
23173 This config.status script is free software; the Free Software Foundation | 26387 This config.status script is free software; the Free Software Foundation |
23174 gives unlimited permission to copy, distribute and modify it." | 26388 gives unlimited permission to copy, distribute and modify it." |
23175 srcdir=$srcdir | 26389 |
23176 INSTALL="$INSTALL" | 26390 ac_pwd='$ac_pwd' |
26391 srcdir='$srcdir' | |
26392 INSTALL='$INSTALL' | |
23177 _ACEOF | 26393 _ACEOF |
23178 | 26394 |
23179 cat >>$CONFIG_STATUS <<\_ACEOF | 26395 cat >>$CONFIG_STATUS <<\_ACEOF |
23180 # If no file are specified by the user, then we need to provide default | 26396 # If no file are specified by the user, then we need to provide default |
23181 # value. By we need to know if files were specified by the user. | 26397 # value. By we need to know if files were specified by the user. |
23182 ac_need_defaults=: | 26398 ac_need_defaults=: |
23183 while test $# != 0 | 26399 while test $# != 0 |
23184 do | 26400 do |
23185 case $1 in | 26401 case $1 in |
23186 --*=*) | 26402 --*=*) |
23187 ac_option=`expr "x$1" : 'x\([^=]*\)='` | 26403 ac_option=`expr "X$1" : 'X\([^=]*\)='` |
23188 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 26404 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
23189 ac_shift=: | 26405 ac_shift=: |
23190 ;; | 26406 ;; |
23191 -*) | 26407 *) |
23192 ac_option=$1 | 26408 ac_option=$1 |
23193 ac_optarg=$2 | 26409 ac_optarg=$2 |
23194 ac_shift=shift | 26410 ac_shift=shift |
23195 ;; | 26411 ;; |
23196 *) # This is not an option, so the user has probably given explicit | |
23197 # arguments. | |
23198 ac_option=$1 | |
23199 ac_need_defaults=false;; | |
23200 esac | 26412 esac |
23201 | 26413 |
23202 case $ac_option in | 26414 case $ac_option in |
23203 # Handling of the options. | 26415 # Handling of the options. |
23204 _ACEOF | |
23205 cat >>$CONFIG_STATUS <<\_ACEOF | |
23206 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 26416 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
23207 ac_cs_recheck=: ;; | 26417 ac_cs_recheck=: ;; |
23208 --version | --vers* | -V ) | 26418 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
23209 echo "$ac_cs_version"; exit 0 ;; | 26419 echo "$ac_cs_version"; exit ;; |
23210 --he | --h) | 26420 --debug | --debu | --deb | --de | --d | -d ) |
23211 # Conflict between --help and --header | |
23212 { { echo "$as_me:$LINENO: error: ambiguous option: $1 | |
23213 Try \`$0 --help' for more information." >&5 | |
23214 echo "$as_me: error: ambiguous option: $1 | |
23215 Try \`$0 --help' for more information." >&2;} | |
23216 { (exit 1); exit 1; }; };; | |
23217 --help | --hel | -h ) | |
23218 echo "$ac_cs_usage"; exit 0 ;; | |
23219 --debug | --d* | -d ) | |
23220 debug=: ;; | 26421 debug=: ;; |
23221 --file | --fil | --fi | --f ) | 26422 --file | --fil | --fi | --f ) |
23222 $ac_shift | 26423 $ac_shift |
23223 CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 26424 CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
23224 ac_need_defaults=false;; | 26425 ac_need_defaults=false;; |
23225 --header | --heade | --head | --hea ) | 26426 --header | --heade | --head | --hea ) |
23226 $ac_shift | 26427 $ac_shift |
23227 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 26428 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
23228 ac_need_defaults=false;; | 26429 ac_need_defaults=false;; |
26430 --he | --h) | |
26431 # Conflict between --help and --header | |
26432 { echo "$as_me: error: ambiguous option: $1 | |
26433 Try \`$0 --help' for more information." >&2 | |
26434 { (exit 1); exit 1; }; };; | |
26435 --help | --hel | -h ) | |
26436 echo "$ac_cs_usage"; exit ;; | |
23229 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 26437 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
23230 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 26438 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
23231 ac_cs_silent=: ;; | 26439 ac_cs_silent=: ;; |
23232 | 26440 |
23233 # This is an error. | 26441 # This is an error. |
23234 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 26442 -*) { echo "$as_me: error: unrecognized option: $1 |
23235 Try \`$0 --help' for more information." >&5 | 26443 Try \`$0 --help' for more information." >&2 |
23236 echo "$as_me: error: unrecognized option: $1 | |
23237 Try \`$0 --help' for more information." >&2;} | |
23238 { (exit 1); exit 1; }; } ;; | 26444 { (exit 1); exit 1; }; } ;; |
23239 | 26445 |
23240 *) ac_config_targets="$ac_config_targets $1" ;; | 26446 *) ac_config_targets="$ac_config_targets $1" |
26447 ac_need_defaults=false ;; | |
23241 | 26448 |
23242 esac | 26449 esac |
23243 shift | 26450 shift |
23244 done | 26451 done |
23245 | 26452 |
23251 fi | 26458 fi |
23252 | 26459 |
23253 _ACEOF | 26460 _ACEOF |
23254 cat >>$CONFIG_STATUS <<_ACEOF | 26461 cat >>$CONFIG_STATUS <<_ACEOF |
23255 if \$ac_cs_recheck; then | 26462 if \$ac_cs_recheck; then |
23256 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 26463 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 |
23257 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 26464 CONFIG_SHELL=$SHELL |
23258 fi | 26465 export CONFIG_SHELL |
23259 | 26466 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
23260 _ACEOF | 26467 fi |
23261 | 26468 |
26469 _ACEOF | |
26470 cat >>$CONFIG_STATUS <<\_ACEOF | |
26471 exec 5>>config.log | |
26472 { | |
26473 echo | |
26474 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
26475 ## Running $as_me. ## | |
26476 _ASBOX | |
26477 echo "$ac_log" | |
26478 } >&5 | |
26479 | |
26480 _ACEOF | |
23262 cat >>$CONFIG_STATUS <<_ACEOF | 26481 cat >>$CONFIG_STATUS <<_ACEOF |
23263 # | 26482 # |
23264 # INIT-COMMANDS section. | 26483 # INIT-COMMANDS |
23265 # | 26484 # |
23266 | |
23267 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" | 26485 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS" |
23268 | 26486 |
23269 _ACEOF | 26487 _ACEOF |
23270 | 26488 |
23271 | |
23272 | |
23273 cat >>$CONFIG_STATUS <<\_ACEOF | 26489 cat >>$CONFIG_STATUS <<\_ACEOF |
26490 | |
26491 # Handling of arguments. | |
23274 for ac_config_target in $ac_config_targets | 26492 for ac_config_target in $ac_config_targets |
23275 do | 26493 do |
23276 case "$ac_config_target" in | 26494 case $ac_config_target in |
23277 # Handling of arguments. | 26495 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; |
23278 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 26496 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
23279 "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; | 26497 "lib-src/Makefile.c") CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;; |
23280 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; | 26498 "oldXMenu/Makefile") CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;; |
23281 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; | 26499 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; |
23282 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 26500 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
23283 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; | 26501 "src/Makefile.c") CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;; |
23284 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 26502 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
23285 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; | 26503 "lispref/Makefile") CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;; |
23286 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; | 26504 "lispintro/Makefile") CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;; |
23287 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 26505 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
23288 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 26506 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
23289 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;; | 26507 |
23290 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 26508 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
23291 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 26509 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
23292 { (exit 1); exit 1; }; };; | 26510 { (exit 1); exit 1; }; };; |
23293 esac | 26511 esac |
23294 done | 26512 done |
26513 | |
23295 | 26514 |
23296 # If the user did not use the arguments to specify the items to instantiate, | 26515 # If the user did not use the arguments to specify the items to instantiate, |
23297 # then the envvar interface is used. Set only those that are not. | 26516 # then the envvar interface is used. Set only those that are not. |
23298 # We use the long form for the default assignment because of an extremely | 26517 # We use the long form for the default assignment because of an extremely |
23299 # bizarre bug on SunOS 4.1.3. | 26518 # bizarre bug on SunOS 4.1.3. |
23302 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 26521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
23303 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 26522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
23304 fi | 26523 fi |
23305 | 26524 |
23306 # Have a temporary directory for convenience. Make it in the build tree | 26525 # Have a temporary directory for convenience. Make it in the build tree |
23307 # simply because there is no reason to put it here, and in addition, | 26526 # simply because there is no reason against having it here, and in addition, |
23308 # creating and moving files from /tmp can sometimes cause problems. | 26527 # creating and moving files from /tmp can sometimes cause problems. |
23309 # Create a temporary directory, and hook for its removal unless debugging. | 26528 # Hook for its removal unless debugging. |
26529 # Note that there is a small window in which the directory will not be cleaned: | |
26530 # after its creation but before its name has been assigned to `$tmp'. | |
23310 $debug || | 26531 $debug || |
23311 { | 26532 { |
23312 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 26533 tmp= |
26534 trap 'exit_status=$? | |
26535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status | |
26536 ' 0 | |
23313 trap '{ (exit 1); exit 1; }' 1 2 13 15 | 26537 trap '{ (exit 1); exit 1; }' 1 2 13 15 |
23314 } | 26538 } |
23315 | |
23316 # Create a (secure) tmp directory for tmp files. | 26539 # Create a (secure) tmp directory for tmp files. |
23317 | 26540 |
23318 { | 26541 { |
23319 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 26542 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
23320 test -n "$tmp" && test -d "$tmp" | 26543 test -n "$tmp" && test -d "$tmp" |
23321 } || | 26544 } || |
23322 { | 26545 { |
23323 tmp=./confstat$$-$RANDOM | 26546 tmp=./conf$$-$RANDOM |
23324 (umask 077 && mkdir $tmp) | 26547 (umask 077 && mkdir "$tmp") |
23325 } || | 26548 } || |
23326 { | 26549 { |
23327 echo "$me: cannot create a temporary directory in ." >&2 | 26550 echo "$me: cannot create a temporary directory in ." >&2 |
23328 { (exit 1); exit 1; } | 26551 { (exit 1); exit 1; } |
23329 } | 26552 } |
23330 | 26553 |
23331 _ACEOF | |
23332 | |
23333 cat >>$CONFIG_STATUS <<_ACEOF | |
23334 | |
23335 # | 26554 # |
23336 # CONFIG_FILES section. | 26555 # Set up the sed scripts for CONFIG_FILES section. |
23337 # | 26556 # |
23338 | 26557 |
23339 # No need to generate the scripts if there are no CONFIG_FILES. | 26558 # No need to generate the scripts if there are no CONFIG_FILES. |
23340 # This happens for instance when ./config.status config.h | 26559 # This happens for instance when ./config.status config.h |
23341 if test -n "\$CONFIG_FILES"; then | 26560 if test -n "$CONFIG_FILES"; then |
23342 # Protect against being on the right side of a sed subst in config.status. | 26561 |
23343 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 26562 _ACEOF |
23344 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 26563 |
23345 s,@SHELL@,$SHELL,;t t | 26564 |
23346 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 26565 |
23347 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 26566 ac_delim='%!_!# ' |
23348 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 26567 for ac_last_try in false false false false false :; do |
23349 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 26568 cat >conf$$subs.sed <<_ACEOF |
23350 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 26569 SHELL!$SHELL$ac_delim |
23351 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 26570 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim |
23352 s,@exec_prefix@,$exec_prefix,;t t | 26571 PACKAGE_NAME!$PACKAGE_NAME$ac_delim |
23353 s,@prefix@,$prefix,;t t | 26572 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim |
23354 s,@program_transform_name@,$program_transform_name,;t t | 26573 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim |
23355 s,@bindir@,$bindir,;t t | 26574 PACKAGE_STRING!$PACKAGE_STRING$ac_delim |
23356 s,@sbindir@,$sbindir,;t t | 26575 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim |
23357 s,@libexecdir@,$libexecdir,;t t | 26576 exec_prefix!$exec_prefix$ac_delim |
23358 s,@datadir@,$datadir,;t t | 26577 prefix!$prefix$ac_delim |
23359 s,@sysconfdir@,$sysconfdir,;t t | 26578 program_transform_name!$program_transform_name$ac_delim |
23360 s,@sharedstatedir@,$sharedstatedir,;t t | 26579 bindir!$bindir$ac_delim |
23361 s,@localstatedir@,$localstatedir,;t t | 26580 sbindir!$sbindir$ac_delim |
23362 s,@libdir@,$libdir,;t t | 26581 libexecdir!$libexecdir$ac_delim |
23363 s,@includedir@,$includedir,;t t | 26582 datarootdir!$datarootdir$ac_delim |
23364 s,@oldincludedir@,$oldincludedir,;t t | 26583 datadir!$datadir$ac_delim |
23365 s,@infodir@,$infodir,;t t | 26584 sysconfdir!$sysconfdir$ac_delim |
23366 s,@mandir@,$mandir,;t t | 26585 sharedstatedir!$sharedstatedir$ac_delim |
23367 s,@build_alias@,$build_alias,;t t | 26586 localstatedir!$localstatedir$ac_delim |
23368 s,@host_alias@,$host_alias,;t t | 26587 includedir!$includedir$ac_delim |
23369 s,@target_alias@,$target_alias,;t t | 26588 oldincludedir!$oldincludedir$ac_delim |
23370 s,@DEFS@,$DEFS,;t t | 26589 docdir!$docdir$ac_delim |
23371 s,@ECHO_C@,$ECHO_C,;t t | 26590 infodir!$infodir$ac_delim |
23372 s,@ECHO_N@,$ECHO_N,;t t | 26591 htmldir!$htmldir$ac_delim |
23373 s,@ECHO_T@,$ECHO_T,;t t | 26592 dvidir!$dvidir$ac_delim |
23374 s,@LIBS@,$LIBS,;t t | 26593 pdfdir!$pdfdir$ac_delim |
23375 s,@MAINT@,$MAINT,;t t | 26594 psdir!$psdir$ac_delim |
23376 s,@build@,$build,;t t | 26595 libdir!$libdir$ac_delim |
23377 s,@build_cpu@,$build_cpu,;t t | 26596 localedir!$localedir$ac_delim |
23378 s,@build_vendor@,$build_vendor,;t t | 26597 mandir!$mandir$ac_delim |
23379 s,@build_os@,$build_os,;t t | 26598 DEFS!$DEFS$ac_delim |
23380 s,@host@,$host,;t t | 26599 ECHO_C!$ECHO_C$ac_delim |
23381 s,@host_cpu@,$host_cpu,;t t | 26600 ECHO_N!$ECHO_N$ac_delim |
23382 s,@host_vendor@,$host_vendor,;t t | 26601 ECHO_T!$ECHO_T$ac_delim |
23383 s,@host_os@,$host_os,;t t | 26602 LIBS!$LIBS$ac_delim |
23384 s,@CC@,$CC,;t t | 26603 build_alias!$build_alias$ac_delim |
23385 s,@CFLAGS@,$CFLAGS,;t t | 26604 host_alias!$host_alias$ac_delim |
23386 s,@LDFLAGS@,$LDFLAGS,;t t | 26605 target_alias!$target_alias$ac_delim |
23387 s,@CPPFLAGS@,$CPPFLAGS,;t t | 26606 MAINT!$MAINT$ac_delim |
23388 s,@ac_ct_CC@,$ac_ct_CC,;t t | 26607 build!$build$ac_delim |
23389 s,@EXEEXT@,$EXEEXT,;t t | 26608 build_cpu!$build_cpu$ac_delim |
23390 s,@OBJEXT@,$OBJEXT,;t t | 26609 build_vendor!$build_vendor$ac_delim |
23391 s,@CPP@,$CPP,;t t | 26610 build_os!$build_os$ac_delim |
23392 s,@EGREP@,$EGREP,;t t | 26611 host!$host$ac_delim |
23393 s,@LN_S@,$LN_S,;t t | 26612 host_cpu!$host_cpu$ac_delim |
23394 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 26613 host_vendor!$host_vendor$ac_delim |
23395 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 26614 host_os!$host_os$ac_delim |
23396 s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 26615 CC!$CC$ac_delim |
23397 s,@RANLIB@,$RANLIB,;t t | 26616 CFLAGS!$CFLAGS$ac_delim |
23398 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 26617 LDFLAGS!$LDFLAGS$ac_delim |
23399 s,@INSTALL_INFO@,$INSTALL_INFO,;t t | 26618 CPPFLAGS!$CPPFLAGS$ac_delim |
23400 s,@GZIP_PROG@,$GZIP_PROG,;t t | 26619 ac_ct_CC!$ac_ct_CC$ac_delim |
23401 s,@LIBSOUND@,$LIBSOUND,;t t | 26620 EXEEXT!$EXEEXT$ac_delim |
23402 s,@PKG_CONFIG@,$PKG_CONFIG,;t t | 26621 OBJEXT!$OBJEXT$ac_delim |
23403 s,@ALSA_CFLAGS@,$ALSA_CFLAGS,;t t | 26622 CPP!$CPP$ac_delim |
23404 s,@ALSA_LIBS@,$ALSA_LIBS,;t t | 26623 GREP!$GREP$ac_delim |
23405 s,@CFLAGS_SOUND@,$CFLAGS_SOUND,;t t | 26624 EGREP!$EGREP$ac_delim |
23406 s,@SET_MAKE@,$SET_MAKE,;t t | 26625 LN_S!$LN_S$ac_delim |
23407 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t | 26626 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim |
23408 s,@GTK_LIBS@,$GTK_LIBS,;t t | 26627 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
23409 s,@ALLOCA@,$ALLOCA,;t t | 26628 INSTALL_DATA!$INSTALL_DATA$ac_delim |
23410 s,@liblockfile@,$liblockfile,;t t | 26629 RANLIB!$RANLIB$ac_delim |
23411 s,@LIBOBJS@,$LIBOBJS,;t t | 26630 INSTALL_INFO!$INSTALL_INFO$ac_delim |
23412 s,@NEED_SETGID@,$NEED_SETGID,;t t | 26631 GZIP_PROG!$GZIP_PROG$ac_delim |
23413 s,@KMEM_GROUP@,$KMEM_GROUP,;t t | 26632 LIBSOUND!$LIBSOUND$ac_delim |
23414 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t | 26633 PKG_CONFIG!$PKG_CONFIG$ac_delim |
23415 s,@GETOPT_H@,$GETOPT_H,;t t | 26634 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim |
23416 s,@GETOPTOBJS@,$GETOPTOBJS,;t t | 26635 ALSA_LIBS!$ALSA_LIBS$ac_delim |
23417 s,@version@,$version,;t t | 26636 CFLAGS_SOUND!$CFLAGS_SOUND$ac_delim |
23418 s,@configuration@,$configuration,;t t | 26637 SET_MAKE!$SET_MAKE$ac_delim |
23419 s,@canonical@,$canonical,;t t | 26638 XMKMF!$XMKMF$ac_delim |
23420 s,@srcdir@,$srcdir,;t t | 26639 GTK_CFLAGS!$GTK_CFLAGS$ac_delim |
23421 s,@lispdir@,$lispdir,;t t | 26640 GTK_LIBS!$GTK_LIBS$ac_delim |
23422 s,@locallisppath@,$locallisppath,;t t | 26641 ALLOCA!$ALLOCA$ac_delim |
23423 s,@lisppath@,$lisppath,;t t | 26642 liblockfile!$liblockfile$ac_delim |
23424 s,@x_default_search_path@,$x_default_search_path,;t t | 26643 LIBOBJS!$LIBOBJS$ac_delim |
23425 s,@etcdir@,$etcdir,;t t | 26644 NEED_SETGID!$NEED_SETGID$ac_delim |
23426 s,@archlibdir@,$archlibdir,;t t | 26645 KMEM_GROUP!$KMEM_GROUP$ac_delim |
23427 s,@docdir@,$docdir,;t t | 26646 GETLOADAVG_LIBS!$GETLOADAVG_LIBS$ac_delim |
23428 s,@bitmapdir@,$bitmapdir,;t t | 26647 GETOPT_H!$GETOPT_H$ac_delim |
23429 s,@gamedir@,$gamedir,;t t | 26648 GETOPTOBJS!$GETOPTOBJS$ac_delim |
23430 s,@gameuser@,$gameuser,;t t | 26649 version!$version$ac_delim |
23431 s,@c_switch_system@,$c_switch_system,;t t | 26650 configuration!$configuration$ac_delim |
23432 s,@c_switch_machine@,$c_switch_machine,;t t | 26651 canonical!$canonical$ac_delim |
23433 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t | 26652 srcdir!$srcdir$ac_delim |
23434 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t | 26653 lispdir!$lispdir$ac_delim |
23435 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t | 26654 locallisppath!$locallisppath$ac_delim |
23436 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t | 26655 lisppath!$lisppath$ac_delim |
23437 s,@machfile@,$machfile,;t t | 26656 x_default_search_path!$x_default_search_path$ac_delim |
23438 s,@opsysfile@,$opsysfile,;t t | 26657 etcdir!$etcdir$ac_delim |
23439 s,@carbon_appdir@,$carbon_appdir,;t t | 26658 archlibdir!$archlibdir$ac_delim |
23440 s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 26659 bitmapdir!$bitmapdir$ac_delim |
23441 CEOF | 26660 gamedir!$gamedir$ac_delim |
23442 | 26661 gameuser!$gameuser$ac_delim |
23443 _ACEOF | 26662 c_switch_system!$c_switch_system$ac_delim |
23444 | 26663 c_switch_machine!$c_switch_machine$ac_delim |
23445 cat >>$CONFIG_STATUS <<\_ACEOF | 26664 LD_SWITCH_X_SITE!$LD_SWITCH_X_SITE$ac_delim |
23446 # Split the substitutions into bite-sized pieces for seds with | 26665 LD_SWITCH_X_SITE_AUX!$LD_SWITCH_X_SITE_AUX$ac_delim |
23447 # small command number limits, like on Digital OSF/1 and HP-UX. | 26666 _ACEOF |
23448 ac_max_sed_lines=48 | 26667 |
23449 ac_sed_frag=1 # Number of current file. | 26668 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
23450 ac_beg=1 # First line for current file. | 26669 break |
23451 ac_end=$ac_max_sed_lines # Line after last line for current file. | 26670 elif $ac_last_try; then |
23452 ac_more_lines=: | 26671 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
23453 ac_sed_cmds= | 26672 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
23454 while $ac_more_lines; do | 26673 { (exit 1); exit 1; }; } |
23455 if test $ac_beg -gt 1; then | 26674 else |
23456 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 26675 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
23457 else | 26676 fi |
23458 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 26677 done |
26678 | |
26679 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
26680 if test -n "$ac_eof"; then | |
26681 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
26682 ac_eof=`expr $ac_eof + 1` | |
26683 fi | |
26684 | |
26685 cat >>$CONFIG_STATUS <<_ACEOF | |
26686 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof | |
26687 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
26688 _ACEOF | |
26689 sed ' | |
26690 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
26691 s/^/s,@/; s/!/@,|#_!!_#|/ | |
26692 :n | |
26693 t n | |
26694 s/'"$ac_delim"'$/,g/; t | |
26695 s/$/\\/; p | |
26696 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
26697 ' >>$CONFIG_STATUS <conf$$subs.sed | |
26698 rm -f conf$$subs.sed | |
26699 cat >>$CONFIG_STATUS <<_ACEOF | |
26700 CEOF$ac_eof | |
26701 _ACEOF | |
26702 | |
26703 | |
26704 ac_delim='%!_!# ' | |
26705 for ac_last_try in false false false false false :; do | |
26706 cat >conf$$subs.sed <<_ACEOF | |
26707 C_SWITCH_X_SITE!$C_SWITCH_X_SITE$ac_delim | |
26708 X_TOOLKIT_TYPE!$X_TOOLKIT_TYPE$ac_delim | |
26709 machfile!$machfile$ac_delim | |
26710 opsysfile!$opsysfile$ac_delim | |
26711 carbon_appdir!$carbon_appdir$ac_delim | |
26712 LTLIBOBJS!$LTLIBOBJS$ac_delim | |
26713 _ACEOF | |
26714 | |
26715 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 6; then | |
26716 break | |
26717 elif $ac_last_try; then | |
26718 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 | |
26719 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} | |
26720 { (exit 1); exit 1; }; } | |
26721 else | |
26722 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
26723 fi | |
26724 done | |
26725 | |
26726 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` | |
26727 if test -n "$ac_eof"; then | |
26728 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` | |
26729 ac_eof=`expr $ac_eof + 1` | |
26730 fi | |
26731 | |
26732 cat >>$CONFIG_STATUS <<_ACEOF | |
26733 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof | |
26734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end | |
26735 _ACEOF | |
26736 sed ' | |
26737 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g | |
26738 s/^/s,@/; s/!/@,|#_!!_#|/ | |
26739 :n | |
26740 t n | |
26741 s/'"$ac_delim"'$/,g/; t | |
26742 s/$/\\/; p | |
26743 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n | |
26744 ' >>$CONFIG_STATUS <conf$$subs.sed | |
26745 rm -f conf$$subs.sed | |
26746 cat >>$CONFIG_STATUS <<_ACEOF | |
26747 :end | |
26748 s/|#_!!_#|//g | |
26749 CEOF$ac_eof | |
26750 _ACEOF | |
26751 | |
26752 | |
26753 # VPATH may cause trouble with some makes, so we remove $(srcdir), | |
26754 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
26755 # trailing colons and then remove the whole line if VPATH becomes empty | |
26756 # (actually we leave an empty line to preserve line numbers). | |
26757 if test "x$srcdir" = x.; then | |
26758 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | |
26759 s/:*\$(srcdir):*/:/ | |
26760 s/:*\${srcdir}:*/:/ | |
26761 s/:*@srcdir@:*/:/ | |
26762 s/^\([^=]*=[ ]*\):*/\1/ | |
26763 s/:*$// | |
26764 s/^[^=]*=[ ]*$// | |
26765 }' | |
26766 fi | |
26767 | |
26768 cat >>$CONFIG_STATUS <<\_ACEOF | |
26769 fi # test -n "$CONFIG_FILES" | |
26770 | |
26771 | |
26772 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS | |
26773 do | |
26774 case $ac_tag in | |
26775 :[FHLC]) ac_mode=$ac_tag; continue;; | |
26776 esac | |
26777 case $ac_mode$ac_tag in | |
26778 :[FHL]*:*);; | |
26779 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 | |
26780 echo "$as_me: error: Invalid tag $ac_tag." >&2;} | |
26781 { (exit 1); exit 1; }; };; | |
26782 :[FH]-) ac_tag=-:-;; | |
26783 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
26784 esac | |
26785 ac_save_IFS=$IFS | |
26786 IFS=: | |
26787 set x $ac_tag | |
26788 IFS=$ac_save_IFS | |
26789 shift | |
26790 ac_file=$1 | |
26791 shift | |
26792 | |
26793 case $ac_mode in | |
26794 :L) ac_source=$1;; | |
26795 :[FH]) | |
26796 ac_file_inputs= | |
26797 for ac_f | |
26798 do | |
26799 case $ac_f in | |
26800 -) ac_f="$tmp/stdin";; | |
26801 *) # Look for the file first in the build tree, then in the source tree | |
26802 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
26803 # because $ac_f cannot contain `:'. | |
26804 test -f "$ac_f" || | |
26805 case $ac_f in | |
26806 [\\/$]*) false;; | |
26807 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
26808 esac || | |
26809 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 | |
26810 echo "$as_me: error: cannot find input file: $ac_f" >&2;} | |
26811 { (exit 1); exit 1; }; };; | |
26812 esac | |
26813 ac_file_inputs="$ac_file_inputs $ac_f" | |
26814 done | |
26815 | |
26816 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
26817 # use $as_me), people would be surprised to read: | |
26818 # /* config.h. Generated by config.status. */ | |
26819 configure_input="Generated from "`IFS=: | |
26820 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." | |
26821 if test x"$ac_file" != x-; then | |
26822 configure_input="$ac_file. $configure_input" | |
26823 { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
26824 echo "$as_me: creating $ac_file" >&6;} | |
23459 fi | 26825 fi |
23460 if test ! -s $tmp/subs.frag; then | 26826 |
23461 ac_more_lines=false | 26827 case $ac_tag in |
23462 else | 26828 *:-:* | *:-) cat >"$tmp/stdin";; |
23463 # The purpose of the label and of the branching condition is to | 26829 esac |
23464 # speed up the sed processing (if there are no `@' at all, there | 26830 ;; |
23465 # is no need to browse any of the substitutions). | |
23466 # These are the two extra sed commands mentioned above. | |
23467 (echo ':t | |
23468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
23469 if test -z "$ac_sed_cmds"; then | |
23470 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
23471 else | |
23472 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
23473 fi | |
23474 ac_sed_frag=`expr $ac_sed_frag + 1` | |
23475 ac_beg=$ac_end | |
23476 ac_end=`expr $ac_end + $ac_max_sed_lines` | |
23477 fi | |
23478 done | |
23479 if test -z "$ac_sed_cmds"; then | |
23480 ac_sed_cmds=cat | |
23481 fi | |
23482 fi # test -n "$CONFIG_FILES" | |
23483 | |
23484 _ACEOF | |
23485 cat >>$CONFIG_STATUS <<\_ACEOF | |
23486 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | |
23487 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
23488 case $ac_file in | |
23489 - | *:- | *:-:* ) # input from stdin | |
23490 cat >$tmp/stdin | |
23491 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
23492 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
23493 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
23494 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
23495 * ) ac_file_in=$ac_file.in ;; | |
23496 esac | 26831 esac |
23497 | 26832 |
23498 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 26833 ac_dir=`$as_dirname -- "$ac_file" || |
23499 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
23500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 26834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23501 X"$ac_file" : 'X\(//\)[^/]' \| \ | 26835 X"$ac_file" : 'X\(//\)[^/]' \| \ |
23502 X"$ac_file" : 'X\(//\)$' \| \ | 26836 X"$ac_file" : 'X\(//\)$' \| \ |
23503 X"$ac_file" : 'X\(/\)' \| \ | 26837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
23504 . : '\(.\)' 2>/dev/null || | |
23505 echo X"$ac_file" | | 26838 echo X"$ac_file" | |
23506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 26839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23507 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 26840 s//\1/ |
23508 /^X\(\/\/\)$/{ s//\1/; q; } | 26841 q |
23509 /^X\(\/\).*/{ s//\1/; q; } | 26842 } |
23510 s/.*/./; q'` | 26843 /^X\(\/\/\)[^/].*/{ |
23511 { if $as_mkdir_p; then | 26844 s//\1/ |
23512 mkdir -p "$ac_dir" | 26845 q |
23513 else | 26846 } |
23514 as_dir="$ac_dir" | 26847 /^X\(\/\/\)$/{ |
26848 s//\1/ | |
26849 q | |
26850 } | |
26851 /^X\(\/\).*/{ | |
26852 s//\1/ | |
26853 q | |
26854 } | |
26855 s/.*/./; q'` | |
26856 { as_dir="$ac_dir" | |
26857 case $as_dir in #( | |
26858 -*) as_dir=./$as_dir;; | |
26859 esac | |
26860 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { | |
23515 as_dirs= | 26861 as_dirs= |
23516 while test ! -d "$as_dir"; do | 26862 while :; do |
23517 as_dirs="$as_dir $as_dirs" | 26863 case $as_dir in #( |
23518 as_dir=`(dirname "$as_dir") 2>/dev/null || | 26864 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( |
26865 *) as_qdir=$as_dir;; | |
26866 esac | |
26867 as_dirs="'$as_qdir' $as_dirs" | |
26868 as_dir=`$as_dirname -- "$as_dir" || | |
23519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 26869 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23520 X"$as_dir" : 'X\(//\)[^/]' \| \ | 26870 X"$as_dir" : 'X\(//\)[^/]' \| \ |
23521 X"$as_dir" : 'X\(//\)$' \| \ | 26871 X"$as_dir" : 'X\(//\)$' \| \ |
23522 X"$as_dir" : 'X\(/\)' \| \ | 26872 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
23523 . : '\(.\)' 2>/dev/null || | |
23524 echo X"$as_dir" | | 26873 echo X"$as_dir" | |
23525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 26874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
23526 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 26875 s//\1/ |
23527 /^X\(\/\/\)$/{ s//\1/; q; } | 26876 q |
23528 /^X\(\/\).*/{ s//\1/; q; } | 26877 } |
23529 s/.*/./; q'` | 26878 /^X\(\/\/\)[^/].*/{ |
26879 s//\1/ | |
26880 q | |
26881 } | |
26882 /^X\(\/\/\)$/{ | |
26883 s//\1/ | |
26884 q | |
26885 } | |
26886 /^X\(\/\).*/{ | |
26887 s//\1/ | |
26888 q | |
26889 } | |
26890 s/.*/./; q'` | |
26891 test -d "$as_dir" && break | |
23530 done | 26892 done |
23531 test ! -n "$as_dirs" || mkdir $as_dirs | 26893 test -z "$as_dirs" || eval "mkdir $as_dirs" |
23532 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 26894 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 |
23533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 26895 echo "$as_me: error: cannot create directory $as_dir" >&2;} |
23534 { (exit 1); exit 1; }; }; } | 26896 { (exit 1); exit 1; }; }; } |
23535 | |
23536 ac_builddir=. | 26897 ac_builddir=. |
23537 | 26898 |
23538 if test "$ac_dir" != .; then | 26899 case "$ac_dir" in |
26900 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
26901 *) | |
23539 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 26902 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
23540 # A "../" for each directory in $ac_dir_suffix. | 26903 # A ".." for each directory in $ac_dir_suffix. |
23541 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 26904 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` |
23542 else | 26905 case $ac_top_builddir_sub in |
23543 ac_dir_suffix= ac_top_builddir= | 26906 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
23544 fi | 26907 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
26908 esac ;; | |
26909 esac | |
26910 ac_abs_top_builddir=$ac_pwd | |
26911 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
26912 # for backward compatibility: | |
26913 ac_top_builddir=$ac_top_build_prefix | |
23545 | 26914 |
23546 case $srcdir in | 26915 case $srcdir in |
23547 .) # No --srcdir option. We are building in place. | 26916 .) # We are building in place. |
23548 ac_srcdir=. | 26917 ac_srcdir=. |
23549 if test -z "$ac_top_builddir"; then | 26918 ac_top_srcdir=$ac_top_builddir_sub |
23550 ac_top_srcdir=. | 26919 ac_abs_top_srcdir=$ac_pwd ;; |
23551 else | 26920 [\\/]* | ?:[\\/]* ) # Absolute name. |
23552 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
23553 fi ;; | |
23554 [\\/]* | ?:[\\/]* ) # Absolute path. | |
23555 ac_srcdir=$srcdir$ac_dir_suffix; | 26921 ac_srcdir=$srcdir$ac_dir_suffix; |
23556 ac_top_srcdir=$srcdir ;; | 26922 ac_top_srcdir=$srcdir |
23557 *) # Relative path. | 26923 ac_abs_top_srcdir=$srcdir ;; |
23558 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 26924 *) # Relative name. |
23559 ac_top_srcdir=$ac_top_builddir$srcdir ;; | 26925 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
23560 esac | 26926 ac_top_srcdir=$ac_top_build_prefix$srcdir |
23561 | 26927 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
23562 # Do not use `cd foo && pwd` to compute absolute paths, because | 26928 esac |
23563 # the directories may not exist. | 26929 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
23564 case `pwd` in | 26930 |
23565 .) ac_abs_builddir="$ac_dir";; | 26931 |
23566 *) | 26932 case $ac_mode in |
23567 case "$ac_dir" in | 26933 :F) |
23568 .) ac_abs_builddir=`pwd`;; | 26934 # |
23569 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | 26935 # CONFIG_FILE |
23570 *) ac_abs_builddir=`pwd`/"$ac_dir";; | 26936 # |
23571 esac;; | |
23572 esac | |
23573 case $ac_abs_builddir in | |
23574 .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
23575 *) | |
23576 case ${ac_top_builddir}. in | |
23577 .) ac_abs_top_builddir=$ac_abs_builddir;; | |
23578 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
23579 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
23580 esac;; | |
23581 esac | |
23582 case $ac_abs_builddir in | |
23583 .) ac_abs_srcdir=$ac_srcdir;; | |
23584 *) | |
23585 case $ac_srcdir in | |
23586 .) ac_abs_srcdir=$ac_abs_builddir;; | |
23587 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
23588 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
23589 esac;; | |
23590 esac | |
23591 case $ac_abs_builddir in | |
23592 .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
23593 *) | |
23594 case $ac_top_srcdir in | |
23595 .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
23596 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
23597 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
23598 esac;; | |
23599 esac | |
23600 | |
23601 | 26937 |
23602 case $INSTALL in | 26938 case $INSTALL in |
23603 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 26939 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
23604 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 26940 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
23605 esac | 26941 esac |
23606 | 26942 _ACEOF |
23607 if test x"$ac_file" != x-; then | 26943 |
23608 { echo "$as_me:$LINENO: creating $ac_file" >&5 | 26944 cat >>$CONFIG_STATUS <<\_ACEOF |
23609 echo "$as_me: creating $ac_file" >&6;} | 26945 # If the template does not know about datarootdir, expand it. |
23610 rm -f "$ac_file" | 26946 # FIXME: This hack should be removed a few years after 2.60. |
23611 fi | 26947 ac_datarootdir_hack=; ac_datarootdir_seen= |
23612 # Let's still pretend it is `configure' which instantiates (i.e., don't | 26948 |
23613 # use $as_me), people would be surprised to read: | 26949 case `sed -n '/datarootdir/ { |
23614 # /* config.h. Generated by config.status. */ | 26950 p |
23615 if test x"$ac_file" = x-; then | 26951 q |
23616 configure_input= | 26952 } |
23617 else | 26953 /@datadir@/p |
23618 configure_input="$ac_file. " | 26954 /@docdir@/p |
23619 fi | 26955 /@infodir@/p |
23620 configure_input=$configure_input"Generated from `echo $ac_file_in | | 26956 /@localedir@/p |
23621 sed 's,.*/,,'` by configure." | 26957 /@mandir@/p |
23622 | 26958 ' $ac_file_inputs` in |
23623 # First look for the input files in the build tree, otherwise in the | 26959 *datarootdir*) ac_datarootdir_seen=yes;; |
23624 # src tree. | 26960 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
23625 ac_file_inputs=`IFS=: | 26961 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
23626 for f in $ac_file_in; do | 26962 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
23627 case $f in | 26963 _ACEOF |
23628 -) echo $tmp/stdin ;; | 26964 cat >>$CONFIG_STATUS <<_ACEOF |
23629 [\\/$]*) | 26965 ac_datarootdir_hack=' |
23630 # Absolute (can't be DOS-style, as IFS=:) | 26966 s&@datadir@&$datadir&g |
23631 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 26967 s&@docdir@&$docdir&g |
23632 echo "$as_me: error: cannot find input file: $f" >&2;} | 26968 s&@infodir@&$infodir&g |
23633 { (exit 1); exit 1; }; } | 26969 s&@localedir@&$localedir&g |
23634 echo "$f";; | 26970 s&@mandir@&$mandir&g |
23635 *) # Relative | 26971 s&\\\${datarootdir}&$datarootdir&g' ;; |
23636 if test -f "$f"; then | 26972 esac |
23637 # Build tree | 26973 _ACEOF |
23638 echo "$f" | 26974 |
23639 elif test -f "$srcdir/$f"; then | 26975 # Neutralize VPATH when `$srcdir' = `.'. |
23640 # Source tree | 26976 # Shell code in configure.ac might set extrasub. |
23641 echo "$srcdir/$f" | 26977 # FIXME: do we really want to maintain this feature? |
23642 else | |
23643 # /dev/null tree | |
23644 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
23645 echo "$as_me: error: cannot find input file: $f" >&2;} | |
23646 { (exit 1); exit 1; }; } | |
23647 fi;; | |
23648 esac | |
23649 done` || { (exit 1); exit 1; } | |
23650 _ACEOF | |
23651 cat >>$CONFIG_STATUS <<_ACEOF | 26978 cat >>$CONFIG_STATUS <<_ACEOF |
23652 sed "$ac_vpsub | 26979 sed "$ac_vpsub |
23653 $extrasub | 26980 $extrasub |
23654 _ACEOF | 26981 _ACEOF |
23655 cat >>$CONFIG_STATUS <<\_ACEOF | 26982 cat >>$CONFIG_STATUS <<\_ACEOF |
23656 :t | 26983 :t |
23657 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 26984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
23658 s,@configure_input@,$configure_input,;t t | 26985 s&@configure_input@&$configure_input&;t t |
23659 s,@srcdir@,$ac_srcdir,;t t | 26986 s&@top_builddir@&$ac_top_builddir_sub&;t t |
23660 s,@abs_srcdir@,$ac_abs_srcdir,;t t | 26987 s&@srcdir@&$ac_srcdir&;t t |
23661 s,@top_srcdir@,$ac_top_srcdir,;t t | 26988 s&@abs_srcdir@&$ac_abs_srcdir&;t t |
23662 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 26989 s&@top_srcdir@&$ac_top_srcdir&;t t |
23663 s,@builddir@,$ac_builddir,;t t | 26990 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
23664 s,@abs_builddir@,$ac_abs_builddir,;t t | 26991 s&@builddir@&$ac_builddir&;t t |
23665 s,@top_builddir@,$ac_top_builddir,;t t | 26992 s&@abs_builddir@&$ac_abs_builddir&;t t |
23666 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 26993 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
23667 s,@INSTALL@,$ac_INSTALL,;t t | 26994 s&@INSTALL@&$ac_INSTALL&;t t |
23668 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 26995 $ac_datarootdir_hack |
23669 rm -f $tmp/stdin | 26996 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
23670 if test x"$ac_file" != x-; then | 26997 |
23671 mv $tmp/out $ac_file | 26998 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
23672 else | 26999 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
23673 cat $tmp/out | 27000 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
23674 rm -f $tmp/out | 27001 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
23675 fi | 27002 which seems to be undefined. Please make sure it is defined." >&5 |
23676 | 27003 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
23677 done | 27004 which seems to be undefined. Please make sure it is defined." >&2;} |
23678 _ACEOF | 27005 |
23679 cat >>$CONFIG_STATUS <<\_ACEOF | 27006 rm -f "$tmp/stdin" |
23680 | 27007 case $ac_file in |
23681 # | 27008 -) cat "$tmp/out"; rm -f "$tmp/out";; |
23682 # CONFIG_HEADER section. | 27009 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; |
23683 # | 27010 esac |
23684 | 27011 ;; |
23685 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 27012 :H) |
23686 # NAME is the cpp macro being defined and VALUE is the value it is being given. | 27013 # |
23687 # | 27014 # CONFIG_HEADER |
23688 # ac_d sets the value in "#define NAME VALUE" lines. | 27015 # |
23689 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' | 27016 _ACEOF |
23690 ac_dB='[ ].*$,\1#\2' | 27017 |
27018 # Transform confdefs.h into a sed script `conftest.defines', that | |
27019 # substitutes the proper values into config.h.in to produce config.h. | |
27020 rm -f conftest.defines conftest.tail | |
27021 # First, append a space to every undef/define line, to ease matching. | |
27022 echo 's/$/ /' >conftest.defines | |
27023 # Then, protect against being on the right side of a sed subst, or in | |
27024 # an unquoted here document, in config.status. If some macros were | |
27025 # called several times there might be several #defines for the same | |
27026 # symbol, which is useless. But do not sort them, since the last | |
27027 # AC_DEFINE must be honored. | |
27028 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | |
27029 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where | |
27030 # NAME is the cpp macro being defined, VALUE is the value it is being given. | |
27031 # PARAMS is the parameter list in the macro definition--in most cases, it's | |
27032 # just an empty string. | |
27033 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' | |
27034 ac_dB='\\)[ (].*,\\1define\\2' | |
23691 ac_dC=' ' | 27035 ac_dC=' ' |
23692 ac_dD=',;t' | 27036 ac_dD=' ,' |
23693 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 27037 |
23694 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | 27038 uniq confdefs.h | |
23695 ac_uB='$,\1#\2define\3' | 27039 sed -n ' |
23696 ac_uC=' ' | 27040 t rset |
23697 ac_uD=',;t' | 27041 :rset |
23698 | 27042 s/^[ ]*#[ ]*define[ ][ ]*// |
23699 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 27043 t ok |
23700 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 27044 d |
23701 case $ac_file in | 27045 :ok |
23702 - | *:- | *:-:* ) # input from stdin | 27046 s/[\\&,]/\\&/g |
23703 cat >$tmp/stdin | 27047 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p |
23704 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 27048 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p |
23705 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 27049 ' >>conftest.defines |
23706 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 27050 |
23707 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 27051 # Remove the space that was appended to ease matching. |
23708 * ) ac_file_in=$ac_file.in ;; | 27052 # Then replace #undef with comments. This is necessary, for |
23709 esac | |
23710 | |
23711 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | |
23712 echo "$as_me: creating $ac_file" >&6;} | |
23713 | |
23714 # First look for the input files in the build tree, otherwise in the | |
23715 # src tree. | |
23716 ac_file_inputs=`IFS=: | |
23717 for f in $ac_file_in; do | |
23718 case $f in | |
23719 -) echo $tmp/stdin ;; | |
23720 [\\/$]*) | |
23721 # Absolute (can't be DOS-style, as IFS=:) | |
23722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
23723 echo "$as_me: error: cannot find input file: $f" >&2;} | |
23724 { (exit 1); exit 1; }; } | |
23725 # Do quote $f, to prevent DOS paths from being IFS'd. | |
23726 echo "$f";; | |
23727 *) # Relative | |
23728 if test -f "$f"; then | |
23729 # Build tree | |
23730 echo "$f" | |
23731 elif test -f "$srcdir/$f"; then | |
23732 # Source tree | |
23733 echo "$srcdir/$f" | |
23734 else | |
23735 # /dev/null tree | |
23736 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | |
23737 echo "$as_me: error: cannot find input file: $f" >&2;} | |
23738 { (exit 1); exit 1; }; } | |
23739 fi;; | |
23740 esac | |
23741 done` || { (exit 1); exit 1; } | |
23742 # Remove the trailing spaces. | |
23743 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
23744 | |
23745 _ACEOF | |
23746 | |
23747 # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
23748 # `conftest.undefs', that substitutes the proper values into | |
23749 # config.h.in to produce config.h. The first handles `#define' | |
23750 # templates, and the second `#undef' templates. | |
23751 # And first: Protect against being on the right side of a sed subst in | |
23752 # config.status. Protect against being in an unquoted here document | |
23753 # in config.status. | |
23754 rm -f conftest.defines conftest.undefs | |
23755 # Using a here document instead of a string reduces the quoting nightmare. | |
23756 # Putting comments in sed scripts is not portable. | |
23757 # | |
23758 # `end' is used to avoid that the second main sed command (meant for | |
23759 # 0-ary CPP macros) applies to n-ary macro definitions. | |
23760 # See the Autoconf documentation for `clear'. | |
23761 cat >confdef2sed.sed <<\_ACEOF | |
23762 s/[\\&,]/\\&/g | |
23763 s,[\\$`],\\&,g | |
23764 t clear | |
23765 : clear | |
23766 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | |
23767 t end | |
23768 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
23769 : end | |
23770 _ACEOF | |
23771 # If some macros were called several times there might be several times | |
23772 # the same #defines, which is useless. Nevertheless, we may not want to | |
23773 # sort them, since we want the *last* AC-DEFINE to be honored. | |
23774 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
23775 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
23776 rm -f confdef2sed.sed | |
23777 | |
23778 # This sed command replaces #undef with comments. This is necessary, for | |
23779 # example, in the case of _POSIX_SOURCE, which is predefined and required | 27053 # example, in the case of _POSIX_SOURCE, which is predefined and required |
23780 # on some systems where configure will not decide to define it. | 27054 # on some systems where configure will not decide to define it. |
23781 cat >>conftest.undefs <<\_ACEOF | 27055 # (The regexp can be short, since the line contains either #define or #undef.) |
23782 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 27056 echo 's/ $// |
23783 _ACEOF | 27057 s,^[ #]*u.*,/* & */,' >>conftest.defines |
23784 | 27058 |
23785 # Break up conftest.defines because some shells have a limit on the size | 27059 # Break up conftest.defines: |
23786 # of here documents, and old seds have small limits too (100 cmds). | 27060 ac_max_sed_lines=50 |
23787 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 27061 |
23788 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 27062 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" |
23789 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 27063 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" |
23790 echo ' :' >>$CONFIG_STATUS | 27064 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" |
23791 rm -f conftest.tail | 27065 # et cetera. |
23792 while grep . conftest.defines >/dev/null | 27066 ac_in='$ac_file_inputs' |
27067 ac_out='"$tmp/out1"' | |
27068 ac_nxt='"$tmp/out2"' | |
27069 | |
27070 while : | |
23793 do | 27071 do |
23794 # Write a limited-size here document to $tmp/defines.sed. | 27072 # Write a here document: |
23795 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 27073 cat >>$CONFIG_STATUS <<_ACEOF |
23796 # Speed up: don't consider the non `#define' lines. | 27074 # First, check the format of the line: |
23797 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | 27075 cat >"\$tmp/defines.sed" <<\\CEOF |
23798 # Work around the forget-to-reset-the-flag bug. | 27076 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def |
23799 echo 't clr' >>$CONFIG_STATUS | 27077 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def |
23800 echo ': clr' >>$CONFIG_STATUS | 27078 b |
23801 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 27079 :def |
27080 _ACEOF | |
27081 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS | |
23802 echo 'CEOF | 27082 echo 'CEOF |
23803 sed -f $tmp/defines.sed $tmp/in >$tmp/out | 27083 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS |
23804 rm -f $tmp/in | 27084 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in |
23805 mv $tmp/out $tmp/in | 27085 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail |
23806 ' >>$CONFIG_STATUS | 27086 grep . conftest.tail >/dev/null || break |
23807 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
23808 rm -f conftest.defines | 27087 rm -f conftest.defines |
23809 mv conftest.tail conftest.defines | 27088 mv conftest.tail conftest.defines |
23810 done | 27089 done |
23811 rm -f conftest.defines | 27090 rm -f conftest.defines conftest.tail |
23812 echo ' fi # grep' >>$CONFIG_STATUS | 27091 |
23813 echo >>$CONFIG_STATUS | 27092 echo "ac_result=$ac_in" >>$CONFIG_STATUS |
23814 | |
23815 # Break up conftest.undefs because some shells have a limit on the size | |
23816 # of here documents, and old seds have small limits too (100 cmds). | |
23817 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
23818 rm -f conftest.tail | |
23819 while grep . conftest.undefs >/dev/null | |
23820 do | |
23821 # Write a limited-size here document to $tmp/undefs.sed. | |
23822 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
23823 # Speed up: don't consider the non `#undef' | |
23824 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
23825 # Work around the forget-to-reset-the-flag bug. | |
23826 echo 't clr' >>$CONFIG_STATUS | |
23827 echo ': clr' >>$CONFIG_STATUS | |
23828 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
23829 echo 'CEOF | |
23830 sed -f $tmp/undefs.sed $tmp/in >$tmp/out | |
23831 rm -f $tmp/in | |
23832 mv $tmp/out $tmp/in | |
23833 ' >>$CONFIG_STATUS | |
23834 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
23835 rm -f conftest.undefs | |
23836 mv conftest.tail conftest.undefs | |
23837 done | |
23838 rm -f conftest.undefs | |
23839 | |
23840 cat >>$CONFIG_STATUS <<\_ACEOF | 27093 cat >>$CONFIG_STATUS <<\_ACEOF |
23841 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
23842 # use $as_me), people would be surprised to read: | |
23843 # /* config.h. Generated by config.status. */ | |
23844 if test x"$ac_file" = x-; then | |
23845 echo "/* Generated by configure. */" >$tmp/config.h | |
23846 else | |
23847 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h | |
23848 fi | |
23849 cat $tmp/in >>$tmp/config.h | |
23850 rm -f $tmp/in | |
23851 if test x"$ac_file" != x-; then | 27094 if test x"$ac_file" != x-; then |
23852 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 27095 echo "/* $configure_input */" >"$tmp/config.h" |
27096 cat "$ac_result" >>"$tmp/config.h" | |
27097 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then | |
23853 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 27098 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
23854 echo "$as_me: $ac_file is unchanged" >&6;} | 27099 echo "$as_me: $ac_file is unchanged" >&6;} |
23855 else | 27100 else |
23856 ac_dir=`(dirname "$ac_file") 2>/dev/null || | |
23857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23858 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
23859 X"$ac_file" : 'X\(//\)$' \| \ | |
23860 X"$ac_file" : 'X\(/\)' \| \ | |
23861 . : '\(.\)' 2>/dev/null || | |
23862 echo X"$ac_file" | | |
23863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
23864 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
23865 /^X\(\/\/\)$/{ s//\1/; q; } | |
23866 /^X\(\/\).*/{ s//\1/; q; } | |
23867 s/.*/./; q'` | |
23868 { if $as_mkdir_p; then | |
23869 mkdir -p "$ac_dir" | |
23870 else | |
23871 as_dir="$ac_dir" | |
23872 as_dirs= | |
23873 while test ! -d "$as_dir"; do | |
23874 as_dirs="$as_dir $as_dirs" | |
23875 as_dir=`(dirname "$as_dir") 2>/dev/null || | |
23876 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23877 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
23878 X"$as_dir" : 'X\(//\)$' \| \ | |
23879 X"$as_dir" : 'X\(/\)' \| \ | |
23880 . : '\(.\)' 2>/dev/null || | |
23881 echo X"$as_dir" | | |
23882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
23883 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
23884 /^X\(\/\/\)$/{ s//\1/; q; } | |
23885 /^X\(\/\).*/{ s//\1/; q; } | |
23886 s/.*/./; q'` | |
23887 done | |
23888 test ! -n "$as_dirs" || mkdir $as_dirs | |
23889 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
23890 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
23891 { (exit 1); exit 1; }; }; } | |
23892 | |
23893 rm -f $ac_file | 27101 rm -f $ac_file |
23894 mv $tmp/config.h $ac_file | 27102 mv "$tmp/config.h" $ac_file |
23895 fi | 27103 fi |
23896 else | 27104 else |
23897 cat $tmp/config.h | 27105 echo "/* $configure_input */" |
23898 rm -f $tmp/config.h | 27106 cat "$ac_result" |
23899 fi | 27107 fi |
23900 done | 27108 rm -f "$tmp/out12" |
23901 _ACEOF | 27109 ;; |
23902 cat >>$CONFIG_STATUS <<\_ACEOF | 27110 |
23903 | 27111 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 |
23904 # | 27112 echo "$as_me: executing $ac_file commands" >&6;} |
23905 # CONFIG_COMMANDS section. | 27113 ;; |
23906 # | 27114 esac |
23907 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 27115 |
23908 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 27116 |
23909 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 27117 case $ac_file$ac_mode in |
23910 ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 27118 "default":C) |
23911 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23912 X"$ac_dest" : 'X\(//\)[^/]' \| \ | |
23913 X"$ac_dest" : 'X\(//\)$' \| \ | |
23914 X"$ac_dest" : 'X\(/\)' \| \ | |
23915 . : '\(.\)' 2>/dev/null || | |
23916 echo X"$ac_dest" | | |
23917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
23918 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
23919 /^X\(\/\/\)$/{ s//\1/; q; } | |
23920 /^X\(\/\).*/{ s//\1/; q; } | |
23921 s/.*/./; q'` | |
23922 { if $as_mkdir_p; then | |
23923 mkdir -p "$ac_dir" | |
23924 else | |
23925 as_dir="$ac_dir" | |
23926 as_dirs= | |
23927 while test ! -d "$as_dir"; do | |
23928 as_dirs="$as_dir $as_dirs" | |
23929 as_dir=`(dirname "$as_dir") 2>/dev/null || | |
23930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
23931 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
23932 X"$as_dir" : 'X\(//\)$' \| \ | |
23933 X"$as_dir" : 'X\(/\)' \| \ | |
23934 . : '\(.\)' 2>/dev/null || | |
23935 echo X"$as_dir" | | |
23936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
23937 /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
23938 /^X\(\/\/\)$/{ s//\1/; q; } | |
23939 /^X\(\/\).*/{ s//\1/; q; } | |
23940 s/.*/./; q'` | |
23941 done | |
23942 test ! -n "$as_dirs" || mkdir $as_dirs | |
23943 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | |
23944 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | |
23945 { (exit 1); exit 1; }; }; } | |
23946 | |
23947 ac_builddir=. | |
23948 | |
23949 if test "$ac_dir" != .; then | |
23950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | |
23951 # A "../" for each directory in $ac_dir_suffix. | |
23952 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | |
23953 else | |
23954 ac_dir_suffix= ac_top_builddir= | |
23955 fi | |
23956 | |
23957 case $srcdir in | |
23958 .) # No --srcdir option. We are building in place. | |
23959 ac_srcdir=. | |
23960 if test -z "$ac_top_builddir"; then | |
23961 ac_top_srcdir=. | |
23962 else | |
23963 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | |
23964 fi ;; | |
23965 [\\/]* | ?:[\\/]* ) # Absolute path. | |
23966 ac_srcdir=$srcdir$ac_dir_suffix; | |
23967 ac_top_srcdir=$srcdir ;; | |
23968 *) # Relative path. | |
23969 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | |
23970 ac_top_srcdir=$ac_top_builddir$srcdir ;; | |
23971 esac | |
23972 | |
23973 # Do not use `cd foo && pwd` to compute absolute paths, because | |
23974 # the directories may not exist. | |
23975 case `pwd` in | |
23976 .) ac_abs_builddir="$ac_dir";; | |
23977 *) | |
23978 case "$ac_dir" in | |
23979 .) ac_abs_builddir=`pwd`;; | |
23980 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; | |
23981 *) ac_abs_builddir=`pwd`/"$ac_dir";; | |
23982 esac;; | |
23983 esac | |
23984 case $ac_abs_builddir in | |
23985 .) ac_abs_top_builddir=${ac_top_builddir}.;; | |
23986 *) | |
23987 case ${ac_top_builddir}. in | |
23988 .) ac_abs_top_builddir=$ac_abs_builddir;; | |
23989 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; | |
23990 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; | |
23991 esac;; | |
23992 esac | |
23993 case $ac_abs_builddir in | |
23994 .) ac_abs_srcdir=$ac_srcdir;; | |
23995 *) | |
23996 case $ac_srcdir in | |
23997 .) ac_abs_srcdir=$ac_abs_builddir;; | |
23998 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; | |
23999 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; | |
24000 esac;; | |
24001 esac | |
24002 case $ac_abs_builddir in | |
24003 .) ac_abs_top_srcdir=$ac_top_srcdir;; | |
24004 *) | |
24005 case $ac_top_srcdir in | |
24006 .) ac_abs_top_srcdir=$ac_abs_builddir;; | |
24007 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; | |
24008 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; | |
24009 esac;; | |
24010 esac | |
24011 | |
24012 | |
24013 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | |
24014 echo "$as_me: executing $ac_dest commands" >&6;} | |
24015 case $ac_dest in | |
24016 default ) | |
24017 | 27119 |
24018 ### Make the necessary directories, if they don't exist. | 27120 ### Make the necessary directories, if they don't exist. |
24019 for dir in etc lisp ; do | 27121 for dir in etc lisp ; do |
24020 test -d ${dir} || mkdir ${dir} | 27122 test -d ${dir} || mkdir ${dir} |
24021 done | 27123 done |
24084 | 27186 |
24085 # This is how we know whether to re-run configure in certain cases. | 27187 # This is how we know whether to re-run configure in certain cases. |
24086 touch src/config.stamp | 27188 touch src/config.stamp |
24087 | 27189 |
24088 ;; | 27190 ;; |
27191 | |
24089 esac | 27192 esac |
24090 done | 27193 done # for ac_tag |
24091 _ACEOF | 27194 |
24092 | |
24093 cat >>$CONFIG_STATUS <<\_ACEOF | |
24094 | 27195 |
24095 { (exit 0); exit 0; } | 27196 { (exit 0); exit 0; } |
24096 _ACEOF | 27197 _ACEOF |
24097 chmod +x $CONFIG_STATUS | 27198 chmod +x $CONFIG_STATUS |
24098 ac_clean_files=$ac_clean_files_save | 27199 ac_clean_files=$ac_clean_files_save |